RtlolPackFunctions
Verified contract
Active on
Ethereum with 1,468 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x82f9…f27f
0x64b3…7433
0x8696…e7f5
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
(#155127) | UNI-V3-POS | ERC-721 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21264695 | 16 days ago | | | 0 | 0.00036563369 | |
| 21240904 | 20 days ago | | | 0 | 0.0022148397 | |
| 21203150 | 25 days ago | | | 0 | 0.00077193079 | |
| 20554355 | 4 months ago | | | 0 | 0.00021384196 | |
| 20196043 | 5 months ago | | | 0 | 0.00031244975 | |
| 19909281 | 7 months ago | | | 0 | 0.00056598908 | |
| 19880866 | 7 months ago | | | 0 | 0.00049703940 | |
| 19737716 | 8 months ago | | | 0 | 0.0010363848 | |
| 19723955 | 8 months ago | | | 0 | 0.00079041585 | |
| 19715854 | 8 months ago | | | 0 | 0.00074042512 |
ABI
ABI objects
Getter at block 21382376
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
EDITOR_ROLE() view returns (bytes32)
0x21d1167972f621f75904fb065136bc8b53c7ba1c60ccd3a7758fbee465851e9c
POINT_COST_DECIMALS() view returns (uint256)
1000000000000000000
cardsContract() view returns (address)
0x8696da4eaaf7aa015afd1cec08d15b1c3433e7f5
packsContract() view returns (address)
0x64b3e851f32972fb07d8988f61374346d1117433
treasury() view returns (address)
0x82f9d5fe6c46990f3c2536e83b2b4e1c0a91f27f
verifier() view returns (address)
0x535bd10bb584aa630866aaad839446460669dce3
Read-only
checkMerkleProof(address user, uint256 first, uint256 last, bytes32 merkleRoot, bytes32[] merkleProof) pure returns (bool)
checkSigniture(bytes message, bytes sig) view returns (bool _success)
getRoleAdmin(bytes32 role) view returns (bytes32)
getWinningTicketIndex(bytes randSig, uint256 lotteryId, uint256 ticketCount, uint256 prizePosition, bytes32 merkleRoot) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
lotteryResults(uint256) view returns (bytes32 lotteryHash, uint256 blockNumber)
rainbowPools(address) view returns (bool)
supportsInterface(bytes4 interfaceId) view returns (bool)
unicornPools(address) view returns (bool)
State-modifying
Events addRainbowPool(address _rainbowPool)
addUnicornPool(address _unicornPool)
bulkClaimPacks(bytes[] sig, uint256[] transactionId, uint256[][] _packType, uint256[][] _amount)
buyPacks(uint256[] _packType, uint256[] _amount) payable
claimPacks(bytes sig, uint256 transactionId, uint256[] _packType, uint256[] _amount)
grantRole(bytes32 role, address account)
lockPoints(uint256 rainbows, uint256 unicorns, address[] _rainbowPools, address[] _unicornPools)
openPacks(uint256[][] _cardId, uint256[][] _amount, bytes[] sig, uint256[] _salt, uint256[] _packId)
removeRainbowPool(address _rainbowPool)
removeUnicornPool(address _unicornPool)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
runLottery(uint256 id, bytes32 lotteryHash)
setCardsContract(address _cardsContract)
setPacksContract(address _packsContract)
setVerifierAddress(address _verifier)
unlockPoints(uint256 rainbows, uint256 unicorns, address _rainbowPool, address _unicornPool, bytes sig, uint256 transactionId, uint256 expiryTime)
withdrawEth(uint256 _amount)
LotteryRun(uint256 id, bytes32 lotteryHash, uint256 blockNumber)
PackOpened(uint256 packTokenId)
PacksClaimed(uint256 transactionId)
PointsLocked(address owner, uint256 rainbows, uint256 unicorns)
PointsUnlocked(address owner, uint256 rainbows, uint256 unicorns, uint256 transactionId)
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 _packsContract, address _contractOwner, address _verifier, address _treasury)
This contract contains no fallback and receive objects.
This contract contains no error objects.