TransparentUpgradeableProxy
Verified contract
Proxy
Active on
Ethereum with 3,242 txns
Unified storage
Map
Table
Raw
Constants and immutables
2
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
0xb0c7…ac9a
2 additional
variables
Balances ($0.00)
No balances found for "TransparentUpgradeableProxy"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21069773 | a month ago | | | 0 | 0.00040064861 | |
| 21033677 | a month ago | | | 0 | 0.00040023383 | |
| 20903703 | 2 months ago | | | 0 | 0.00073084190 | |
| 20894340 | 2 months ago | | | 0 | 0.0010344660 | |
| 20818639 | 2 months ago | | | 0 | 0.0016645211 | |
| 20815219 | 2 months ago | | | 0 | 0.0018671666 | |
| 20734993 | 2 months ago | | | 0 | 0.00049557870 | |
| 20733989 | 3 months ago | | | 0 | 0.00023771442 | |
| 20717672 | 3 months ago | | | 0 | 0.00017551112 | |
| 20395008 | 4 months ago | | | 0 | 0.00014060464 |
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)
true
fee() view returns (uint256)
500
feeReceipient() view returns (address)
0xb2f011fd7f663c37b2936e3bd921d3accb90b416
feeWithCollectionOwner() view returns (uint256)
250
paused() view returns (bool)
false
paymentToken() view returns (address)
0xb0c7a3ba49c7a6eaba6cd4a96c55a1391070ac9a
weth() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
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 admin() returns (address)
changeAdmin(address newAdmin)
implementation() returns (address)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
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)
AdminChanged(address previousAdmin, address newAdmin)
Upgraded(address indexed implementation)
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(address initialLogic, address initialAdmin, bytes _data)
fallback()
receive()
This contract contains no error objects.