CollectionV2

Verified contract

Active on Ethereum with 673 txns
Deployed by via 0xe58c0ec5 at 13418178
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 $11.98
0xf1c90fe10527229479a7e230ab8ab635e5ebcc9e87b7f70cba7b9d62eec846e7
0x4faa6272cb182908c264e5f0d564fb365e7f6d200d852bf8c2b8998ad67b0460
0xe909ee59bf3801d5c01ab112c5bab29677418d469a14cab2c0a1d77e99c4330e
0xb9c2b95eeb517f6bff4a96e58f0530123e770adee8e846c9bd8f1edd04abc5f2
0xe2c81820d27b98bf8496820b82e1ec29e3e085b19f2660adefa3d8acad16180e
0x347fd69071d3fdb72fcc55ba9aec1fd565b2c170e608c75df2ffddb73d258bc7
0xb67e3ce7786388e6aa2ccecbae5c7f64683a6875c22752c8c7eb6388ec92e1fc
0xe27238c4ac693127ee9cbf064d2293f489b7dbcdb748e15cff800ccfb2e82ece
0x635a3858fdfd0a55b5dad418ddf0a3af5be126b59509464716a5952a39eac288
0xcab81bec1f2a53bfdaffaeaf076bc18f90226de5ceb525c2abfb3165bf6d0403

Functions
Getter at block 20923479
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MINTER_ROLE(view returns (bytes32)
0x9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6
amount(view returns (uint256)
2000000000000000000000000
available(view returns (uint256)
13947
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)
1053
startTime(view returns (uint256)
1640624400
stone(view returns (address)
0xedfe9ac42a511e1c523e067db8345711419d4f14
token(view returns (address)
0xbbc2ae13b23d715c30720f079fcd9b4a74093505
total(view returns (uint256)
15000
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.