CollectionV2

Verified contract

Active on Ethereum with 113 txns
Deployed by via 0x8ae6c0ba at 13194334
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"

0x0d78e44eed5f4584985db0e399af0a0494573b5dae0f9dda2d18ae259cb80249
0x2873af9902c47416c4baae89ba511f9673ddebd47f708d1324dd2787c239ea1d
0x15398a78f5d2515552c86063f0fa938db58169e7cc91a1c215fdaa01cf6b388f
0x1e1d29afad0af32a1ad49dc4e52f7021b941c93bc1a97e16a1959dbc277c22e4
0xe4ac3da95454157ae8d59723801d888658ef6d1dd72d8dc4a3c165c593f98931
0xae9d3b244903e758c2f813bfb5cae4053e0915eb526ad956bc29144c28687361
0xb6e107b3eb491a6eb1f65bc7dc9b1446e353642c7fb93111a2ac496bf2bca4ce
0xf5120d2d20fc497d7a985a9ab5ef10e43db811eb804a698d5965d87e39455c98
0x3b983a8d5df4dab586088f1f93f07b27a7ccf8f54b4b6efff1cc4034add57711
0x2f4fb4de38269a77fff17220c6dbfa0f4dcc5196d333c41590832c623e05b0ba

Functions
Getter at block 21211656
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MINTER_ROLE(view returns (bytes32)
0x9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6
amount(view returns (uint256)
30000000000000000000000000
available(view returns (uint256)
391
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)
109
startTime(view returns (uint256)
1640624400
stone(view returns (address)
0xedfe9ac42a511e1c523e067db8345711419d4f14
token(view returns (address)
0xbbc2ae13b23d715c30720f079fcd9b4a74093505
total(view returns (uint256)
500
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.