CollectionV2

Verified contract

Active on Ethereum with 510 txns
Deployed by via 0x6fbe1c8d at 13418174
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
ERC-20
Value $10.93
0x2ebf5d867bb137151000b025f1c948ec57f7742685d22d4b99f480d64de579b8
0xd8a5cd80e282f30b99447c4ca5f279236f235b7fb6b95ce082eab378c7071e4e
0x297df668755c1960b49a89efcd00403f7186f9483c139b1cda3f0728d6cf4100
0x579f991e896e8f7152cb91e4823981dc537d7db9295e117adf3baae9bbf78c41
0x8a9cb9198832871e29badd23927f38b846f8d5d719d94b3896ec7dbca62b247a
0x4ef57f2c2db5a1b925552039e91b70fd6c170c8e7c79ce78babb42da07b9533e
0xcee78feefacbdcbc9dc7de7a91deef2a86a005c6e4561240455ee72bc1554570
0x40ec616faf567c1f9f518df9b31901ea8d00ced93949871be0e6198968bb5bce
0x3e288c2026629f6a3510b001e4a9aa79480424a2862f17ed5ed3bc285a5f751d
0x9a25c347ec677dc9481a262a792d3df6bbdccc01f0f05cbf3919e5cd94f636fe

Functions
Getter at block 21192543
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MINTER_ROLE(view returns (bytes32)
0x9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6
amount(view returns (uint256)
14000000000000000000000000
available(view returns (uint256)
1676
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)
824
startTime(view returns (uint256)
1640624400
stone(view returns (address)
0xedfe9ac42a511e1c523e067db8345711419d4f14
token(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
total(view returns (uint256)
2500
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.