View Functions
getMinBidAmount
Retrieve the minimum bid token amount accepted by the curator.
function getMinBidAmount(address wallet, address token) external view returns (uint256)
Parameterss | Type | Description |
---|---|---|
wallet | address | An EVM-compatible address, namely Tako account |
token | address | The accepted token address |
getDisableAcceptType
Retrieve whether the curator accepts a certain bidType.
function getDisableAcceptType(address wallet, BidType bidType) external view returns (bool)
Parameters | Type | Description |
---|---|---|
wallet | address | An EVM-compatible address, namely Tako account |
bidType | BidType | Go to the page “Enums and Functions” for more details |
isBidTokenWhitelisted
Retrieve whether the token accepts a certain bidType.
function isBidTokenWhitelisted(address token) external view returns (bool)
Parameters | Type | Description |
---|---|---|
token | address | The contract address of the token |
isRelayerWhitelisted
function isRelayerWhitelisted(address wallet) external view returns (bool)
Parameters | Type | Description |
---|---|---|
wallet | address | The address of relayer |
isGovernance
Verify if the address has governance privileges
function isGovernance(address wallet) external view returns (bool)
Parameters | Type | Description |
---|---|---|
wallet | address | The address of governance |
getContentByIndex
Get bid content by bid index.
function getContentByIndex(uint256 index) external view returns (Content memory)
Parameters | Type | Description |
---|---|---|
index | uint256 | The index of content (not Momoka) |
getMomokaContentByIndex
Get bid content by bid index.
function getMomokaContentByIndex(uint256 index) external view returns (MomokaContent memory)
Parameters | Type | Description |
---|---|---|
index | uint256 | The index of content |
getBidCounter
Get the quantity of the bid (not Momoka).
function getBidCounter() external view returns (uint256)
getMomokaBidCunter
Get the quantity of the Momoka bid.
function getMomokaBidCunter() external view returns (uint256)
Last updated