TreasureMarketplace
Verified contract
Implementation
Active on
Ethereum with 63 txns
Storage
Map
Table
Raw
Constants and immutables
10
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
Balances ($0.00)
No balances found for "TreasureMarketplace"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 16495445 | 2 years ago | | | 0 | 0.00071633734 | |
| 16147672 | 2 years ago | | | 0 | 0.0015694604 | |
| 16147671 | 2 years ago | | | 0 | 0.0016522689 | |
| 16147667 | 2 years ago | | | 0 | 0.0016179788 | |
| 16147664 | 2 years ago | | | 0 | 0.0016132985 | |
| 16147656 | 2 years ago | | | 0 | 0.0018640123 | |
| 16079292 | 2 years ago | | | 0 | 0.00054687162 | |
| 15025578 | 2 years ago | | | 0 | 0.00064677780 | |
| 14933485 | 2 years ago | | | 0 | 0.0014678161 | |
| 14928561 | 2 years ago | | | 0 | 0.0021136839 |
ABI
ABI objects
Getter at block 21283057
BASIS_POINTS() view returns (uint256)
10000
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MAX_COLLECTION_FEE() view returns (uint256)
2000
MAX_FEE() view returns (uint256)
1500
MIN_PRICE() view returns (uint256)
1000000000
TREASURE_MARKETPLACE_ADMIN_ROLE() view returns (bytes32)
0x34d5e892b0a7ec1561fc4a5fdcb31b798cf623590906b938d356c9619e539958
areBidsActive() view returns (bool)
false
fee() view returns (uint256)
0
feeReceipient() view returns (address)
0x0000000000000000000000000000000000000000
feeWithCollectionOwner() view returns (uint256)
0
paused() view returns (bool)
false
paymentToken() view returns (address)
0x0000000000000000000000000000000000000000
weth() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
collectionBids(address, address) view returns (uint64 quantity, uint128 pricePerItem, uint64 expirationTime, address paymentTokenAddress)
collectionToCollectionOwnerFee(address) view returns (uint32 fee, address recipient)
collectionToPaymentToken(address) view returns (address)
getPaymentTokenForCollection(address _collection) view returns (address)
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
listings(address, uint256, address) view returns (uint64 quantity, uint128 pricePerItem, uint64 expirationTime, address paymentTokenAddress)
supportsInterface(bytes4 interfaceId) view returns (bool)
tokenApprovals(address) view returns (uint8)
tokenBids(address, uint256, address) view returns (uint64 quantity, uint128 pricePerItem, uint64 expirationTime, address paymentTokenAddress)
State-modifying
Events acceptCollectionBid(struct AcceptBidParams _acceptBidParams)
acceptTokenBid(struct AcceptBidParams _acceptBidParams)
buyItems(struct BuyItemParams[] _buyItemParams) payable
cancelListing(address _nftAddress, uint256 _tokenId)
cancelManyBids(struct CancelBidParams[] _cancelBidParams)
createListing(address _nftAddress, uint256 _tokenId, uint64 _quantity, uint128 _pricePerItem, uint64 _expirationTime, address _paymentToken)
createOrUpdateCollectionBid(address _nftAddress, uint64 _quantity, uint128 _pricePerItem, uint64 _expirationTime, address _paymentToken)
createOrUpdateListing(address _nftAddress, uint256 _tokenId, uint64 _quantity, uint128 _pricePerItem, uint64 _expirationTime, address _paymentToken)
createOrUpdateTokenBid(address _nftAddress, uint256 _tokenId, uint64 _quantity, uint128 _pricePerItem, uint64 _expirationTime, address _paymentToken)
grantRole(bytes32 role, address account)
initialize(uint256 _initialFee, address _initialFeeRecipient, address _initialPaymentToken)
pause()
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setCollectionOwnerFee(address _collectionAddress, struct TreasureMarketplaceCollectionOwnerFee _collectionOwnerFee)
setFee(uint256 _newFee, uint256 _newFeeWithCollectionOwner)
setFeeRecipient(address _newFeeRecipient)
setTokenApprovalStatus(address _nft, uint8 _status, address _paymentToken)
setWeth(address _wethAddress)
toggleAreBidsActive()
unpause()
updateListing(address _nftAddress, uint256 _tokenId, uint64 _newQuantity, uint128 _newPricePerItem, uint64 _newExpirationTime, address _paymentToken)
BidAccepted(address seller, address bidder, address nftAddress, uint256 tokenId, uint64 quantity, uint128 pricePerItem, address paymentToken, uint8 bidType)
CollectionBidCancelled(address bidder, address nftAddress)
CollectionBidCreatedOrUpdated(address bidder, address nftAddress, uint64 quantity, uint128 pricePerItem, uint64 expirationTime, address paymentToken)
ItemCanceled(address indexed seller, address indexed nftAddress, uint256 indexed tokenId)
ItemListed(address seller, address nftAddress, uint256 tokenId, uint64 quantity, uint128 pricePerItem, uint64 expirationTime, address paymentToken)
ItemSold(address seller, address buyer, address nftAddress, uint256 tokenId, uint64 quantity, uint128 pricePerItem, address paymentToken)
ItemUpdated(address seller, address nftAddress, uint256 tokenId, uint64 quantity, uint128 pricePerItem, uint64 expirationTime, address paymentToken)
Paused(address account)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
TokenApprovalStatusUpdated(address nft, uint8 status, address paymentToken)
TokenBidCancelled(address bidder, address nftAddress, uint256 tokenId)
TokenBidCreatedOrUpdated(address bidder, address nftAddress, uint256 tokenId, uint64 quantity, uint128 pricePerItem, uint64 expirationTime, address paymentToken)
Unpaused(address account)
UpdateCollectionOwnerFee(address _collection, address _recipient, uint256 _fee)
UpdateFee(uint256 fee)
UpdateFeeRecipient(address feeRecipient)
UpdateFeeWithCollectionOwner(uint256 fee)
constructor()
This contract contains no fallback and receive objects.
This contract contains no error objects.