CollectionV2

Verified contract

Active on Ethereum with 245 txns
Deployed by via 0xf9b2b4b5 at 13194338
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot

No balances found for "CollectionV2"

0xb82bdc8906e2b099561949bd713a9d8812dee6b5be2981195d96be122a1a4459
0xe133d7bef7a0505da80c108e344468e0cef000a40ad7893457bc31228e30b136
0x42a35bb636ac68f8e8bf2b7865661a1e3c027592ccfb409776e9a549c453b84b
0x487408ef09124442b12f006cea15bd4b907f53c691868586032dab0fe96c25d2
0xa226bbbbf047ed43273d6ec8eba0090a0e30f91c17b4934c6afa0510a3b5d5db
0x410f18812ce547eb218f084fb50aed67f1358b2c1791b74c3f98d19df5648610
0xe576b04c5e953d3b62559bc8a39096641c11651aaff4e8a26c4e691eb46da61b
0xe853d4c6e988d0c88338f6a0e952448d74617afe719bc9c515efcfa8e5456f27
0x87171cb1382340be99079e6695a406f39c1ec4c169b58e0e2fc2f84d204787c3
0xbc688655bd9b07423711d5ee57128145f89ccd3bb38150011b9059b53863ba63

Functions
Getter at block 21218031
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MINTER_ROLE(view returns (bytes32)
0x9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6
amount(view returns (uint256)
2000000000000000000000000
available(view returns (uint256)
3548
cType(view returns (uint8)
0
endTime(view returns (uint256)
1640970000
ernTreasure(view returns (address)
0xfbc3b76a206f03f1edbf411f280444cd3fd9c7c8
facAddress(view returns (address)
0xa49c0d9a786e659a0557281b4fa72cf8cf08f6cf
 
getCardPrice(view returns (uint256)
 
getTokenPrice(view returns (uint256)
moneyHand(view returns (address)
0xfbbb0db0b33dc38c65443e4f3aeae2b79a0d35f6
percent(view returns (uint256)
900000000000000000
sold(view returns (uint256)
452
startTime(view returns (uint256)
1640624400
stone(view returns (address)
0xedfe9ac42a511e1c523e067db8345711419d4f14
token(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
total(view returns (uint256)
4000
Read-only
balanceOf(address accountuint256 idview returns (uint256)
balanceOfBatch(address[] accountsuint256[] idsview returns (uint256[])
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
isApprovedForAll(address accountaddress operatorview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
uri(uint256view returns (string)
State-modifying
addExternalAddresses(address _tokenaddress _stoneaddress _treasuryaddress _moneyHandler
buy(address buyeruint256 _id
grantRole(bytes32 roleaddress account
mint(address touint256 _id
mintBatch(address touint256[] idsuint256[] amount_
recoverToken(address _token
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
safeBatchTransferFrom(address fromaddress touint256[] idsuint256[] amountsbytes data
safeTransferFrom(address fromaddress touint256 iduint256 amountbytes data
setAmount(uint256 _newAmount
setApprovalForAll(address operatorbool approved
setEndTime(uint256 _endTime
setStarTime(uint256 _starTime
Events
ApprovalForAll(address indexed accountaddress indexed operatorbool approved
NewEndTime(uint256 endTime
NewStartTime(uint256 startTime
NewUsdAmount(uint256 amount
PaymentShared(address accountuint256 amount
PaymentTreasure(address accountuint256 amount
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SetAddresses(address tokenaddress stoneaddress treasuryaddress moneyHandler
Sold(address indexed operatoraddress indexed touint256 indexed iduint256 amount
SoldWithStones(address buyeruint256 amount
TransferBatch(address indexed operatoraddress indexed fromaddress indexed touint256[] idsuint256[] values
TransferSingle(address indexed operatoraddress indexed fromaddress indexed touint256 iduint256 value
URI(string valueuint256 indexed id
Constructor
constructor(struct CollectionData collecData
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.