Skip to content

Birdmannn/auction_sc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

209a852 · Oct 6, 2024

History

10 Commits
Oct 2, 2024
Oct 3, 2024
Oct 3, 2024
Oct 2, 2024
Oct 6, 2024
Oct 2, 2024
Oct 2, 2024

Repository files navigation

Project Title

Auction Starknet Smart Contract

Deployment Details

class_hash: 0x2fd82ed922855defe0fd54e07048ff0bf95fa50ea6660761c44029dba17e568

Interact with the Smart Contract

Interact with the Smart Contract on Starkscan!

0x0034d2b3bd8ff85077c14883b1322e5b6706f7ee8aa92e8cf9b2fa06554fa102

Contract Interface

These are the list of functions to interact with

    fn register_item(ref self: TContractState, item_name: ByteArray);
    fn unregister_item(ref self: TContractState, item_name: ByteArray);
    fn bid(ref self: TContractState, item_name: ByteArray, amount: u32);
    fn get_highest_bidder(self: @TContractState, item_name: ByteArray) -> u32;
    fn is_registered(self: @TContractState, item_name: ByteArray) -> bool;
    fn get_registered_items(self: @TContractState) -> Array<(ByteArray, u32)>;
    fn get_registered_item(self: @TContractState, item_name: ByteArray) -> (ByteArray, u32);
    fn get_item_count(self: @TContractState) -> u64;

About

Interact with an Auction Smart Contract

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages