Storage and types overview
token_t
status_auction_t
auction_t
Field | Type | Description |
---|---|---|
status | Status of auction | |
token | FA1.2/FA2/TEZ token | |
end_time | timestamp | Time when auction will be finished |
current_bidder | address | Address of a user who made current bid |
current_bid | nat | Current bid |
amt | nat | Amount of tokens that that were put up for auction |
fees_t
Field | Type | Hint | Description |
---|---|---|---|
dev_fee_f | nat | Float value multiplied by 1e+18 | Fee that goes to the devs fund and can be withdrawn by an administrator |
bid_fee_f | nat | Float value multiplied by 1e+18 | Fee in QuipuSwap Governance token that applies on each bid for all auctions |
storage_t - main contract storage
Field | Type | Hint | Description |
---|---|---|---|
auctions | big_map(nat, auction_t) | Mapping of auction IDs' to auctions | |
dev_fee_balances_f | big_map(token_t, nat) | Float value multiplied by 1e+18 | Mapping of tokens to their balances that can be withdrawn by an administrator |
public_fee_balances_f | big_map(token_t, nat) | Float value multiplied by 1e+18 | Mapping of tokens to their balances for which auction can be launched (except of whitelisted tokens) |
whitelist | set(token_t) | A set of tokens for which an auction can't be started. Can be updated by an administrator | |
quipu_token | QuipuSwap Governance token address and ID | ||
fees | Fees that applies to each received token | ||
baker | option(key_hash) | Baker for whom all TEZ tokens on the contract were delegated. Can be changed by an administrator | |
admin | address | Administrator of the contract | |
pending_admin | option(address) | Pending administrator that should accept his new administrator role (if he is not | |
dex_core | address | DexCore contract address | |
bid_fee_balance_f | nat | Float value multiplied by 1e+18 | Bid fee balance in QuipuSwap Governance token that were withdrawn from each bid. Can be burned by an administrator |
auctions_count | nat | Number of auctions created by all users | |
auction_duration | nat | Duration of each auction that will be created. Can be changed by an administrator | |
min_bid | nat | Minimum possible bid in time of auction launch. Can be changed by an administrator |
full_storage_t - storage root
Field | Type | Description |
---|---|---|
storage | Actual storage of the contract | |
auction_lambdas | big_map(nat, bytes) | Contract's lambda-methods |
metadata | big_map(string, bytes) | Contract's metadata according to TZIP-016 |
Last updated