CollectionV2

Verified contract

Active on Ethereum with 49 txns
Deployed by via 0xe9c88185 at 13302757
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"

0xfedcc32acb75890bdb4aee0f3fa3469ff1270441d35312eeadc9848c1ae1dbbe
0xec69dce9720dbe3ebaf7b3e8f9b35aedaf3bf84d5e594e6356477f21f8eddaf6
0xc301249e26d2ffb926966770d463f5b6e3c890a4798c6b6da42ccd8656bb6f87
0x764f8916ec6d38b71ed0b26c505d461526bf91865ead2478886306652d398882
0x2753b82fbdfefac69ac761a63af5dbf8c1a20087f2ef46a71d629b9c6cd24d53
0x7b6cc787a651a527fb80a52dc2a74379ecbe69550282004f3ac205415291298c
0x5d3b6b565858ea23c4c12497009c99928b19126069875d12e61a7765856e06ca
0x7beef1e4b939e681bcdcd1ab906125688f5df3b11196f557069fc9beb1fe6a13
0x2eb3dbb362b4bf59242244c0e78a5a64d9112f10c202f50b26b297df9b979d02
0xae8a296375c1943bf21d18d3d51a0e1c8718cf4450e84cd7d73f60cb36895820

Functions
Getter at block 21178002
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MINTER_ROLE(view returns (bytes32)
0x9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6
amount(view returns (uint256)
20000000000000000000000000
available(view returns (uint256)
26
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)
74
startTime(view returns (uint256)
1640624400
stone(view returns (address)
0xedfe9ac42a511e1c523e067db8345711419d4f14
token(view returns (address)
0xbbc2ae13b23d715c30720f079fcd9b4a74093505
total(view returns (uint256)
100
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.