CollectionV2

Verified contract

Active on Ethereum with 2 txns
Deployed by via 0x48383f88 at 18771271
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"

0xb8efc54c6550ee51f03bc7ed7741cf6adae81ee8da3368a2473de52d1de25115
0x66b9ec809df7d355ba6ba82370eab3eb37eb9f52c71453d1af25f5c29cad6661

Functions
Getter at block 21402019
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MINTER_ROLE(view returns (bytes32)
0x9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6
OPERATOR_FILTER_REGISTRY(view returns (address)
0x000000000000aaeb6d7670e522a718067333cd4e
amount(view returns (uint256)
99
available(view returns (uint256)
500
cType(view returns (uint8)
0
endTime(view returns (uint256)
1686325543
ernTreasure(view returns (address)
0xb9d5c93ec9aba93180ddd00a628e8facc3103039
facAddress(view returns (address)
0x2791eb71c88a36dcbcf3aa772aaf4e4122cb716c
 
getCardPrice(view returns (uint256)
 
getTokenPrice(view returns (uint256)
isOperatorFilterRegistryRevoked(view returns (bool)
false
moneyHand(view returns (address)
0xfbbb0db0b33dc38c65443e4f3aeae2b79a0d35f6
owner(view returns (address)
0xb9d5c93ec9aba93180ddd00a628e8facc3103039
percent(view returns (uint256)
900000000000000000
sold(view returns (uint256)
0
startTime(view returns (uint256)
1686325542
stone(view returns (address)
0x0000000000000000000000000000000000000000
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
renounceOwnership(
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
safeBatchTransferFrom(address fromaddress touint256[] idsuint256[] amountsbytes data
safeTransferFrom(address fromaddress touint256 tokenIduint256 amountbytes data
setAmount(uint256 _newAmount
setApprovalForAll(address operatorbool approved
setEndTime(uint256 _endTime
setOperatorFilterEnabled(bool value
setStarTime(uint256 _starTime
transferOwnership(address newOwner
Events
ApprovalForAll(address indexed accountaddress indexed operatorbool approved
NewEndTime(uint256 endTime
NewStartTime(uint256 startTime
NewUsdAmount(uint256 amount
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
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
AlreadyRevoked(
OnlyOwner(
OperatorNotAllowed(address operator