TranchedSale
Verified contract
Active on
Ethereum with 1,660 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x5789…47c4
Balances ($0.00)
No balances found for "TranchedSale"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20773613 | 3 months ago | | | 0.05 | 0.00015467216 | |
| 20773613 | 3 months ago | | | 0.05 | 0.00015467216 | |
| 20771896 | 3 months ago | | | 0.1 | 0.00067730798 | |
| 20771519 | 3 months ago | | | 0 | 0.00059365526 | |
| 20771497 | 3 months ago | | | 0.1 | 0.00069564261 | |
| 20771497 | 3 months ago | | | 0.1 | 0.00069590699 | |
| 20771490 | 3 months ago | | | 0 | 0.0011548495 | |
| 20771468 | 3 months ago | | | 0.1 | 0.00073569750 | |
| 20771468 | 3 months ago | | | 0.1 | 0.00073569750 | |
| 20771468 | 3 months ago | | | 0.1 | 0.00073569750 |
ABI
ABI objects
Getter at block 21333363
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
TRANCHE_OPS() view returns (bytes32)
0x67c6738d4432721512a2acdbfb84d41061cdf053cc8440c4aae3ad196c09b87f
allocator() view returns (address)
0x4e412d4ec5ab5d0140b526bfd9e1b0e0738cd189
currentTranche() view returns (uint64)
0
eip712Domain() view returns (bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
(fields=0x0f, name=TranchedSale, version=1, chainId=1, verifyingContract=0xc15568330926e2a6f1519992b0364ca00faf6a7a, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
nft() view returns (address)
0xe41af8c3f0decf206c3afb9dbf2e7643f349e0b9
treasury() view returns (address)
0x5789d634b3bba3f68958f21975c2eec8d91847c4
Read-only
allocationUsed(uint32 nonce) view returns (bool)
getAllocationTypedDataHash(struct ITranchedSaleAllocation allo) view returns (bytes32)
getPrice(uint64 qty, uint64 trancheId) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getTranche(uint64 id) view returns (struct ITranchedSaleTranche)
hasRole(bytes32 role, address account) view returns (bool)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events grantRole(bytes32 role, address account)
grantTrancheOpsRole(address user)
mint(uint64 qty, address to, uint64 trancheId, uint32 nonce, bytes signature) payable
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
revokeTrancheOpsRole(address user)
setAllocator(address _allocator)
setCurrentTranche(uint64 id)
setNft(address _nft)
setTranche(uint64 id, struct ITranchedSaleTranche tranche)
setTreasury(address _treasury)
withdraw()
EIP712DomainChanged()
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
constructor(address _nft, address _treasury, address _owner, address _allocator)
This contract contains no fallback and receive objects.
AllocationUsed()
ExceedsAllocationQty()
ForgedSignature()
IncorrectValue()
InvalidQuantity()
InvalidShortString()
NonExistantTranche()
StringTooLong(string str)
TrancheNotYetOpen()
TransferFailed()
ZeroAddressNotAllowed()