RtlolPackFunctions

Verified contract

Active on Ethereum with 1,468 txns
Deployed by via 0x6a55441e at 16630474
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
)
ERC-721
--
0x4c742b513ad2f09e0b0d684ed3e63b0560edf93427e8e66d5d2bcd9587bb107c
0x42ffcdce82cddcbcd2dc3ed08daa575c5b114d925019050ac3780f646ebc941e
0x901624058ef3392d2bcbd351e029f7035836d202fcaa0ae555641dfd64674b4b
0x246e7238291a64d551e5a82ff0a15b15b32bca9d820db4239d9052e28a2db047
0x1f051baaf01d8161d345565928fdce168efe6f3ed26d04baf45ffd5993f2b290
0xaea361e0361806f12844270adfef0741c54d12100289fcd32a3171d720efee90
0x5d84ceb0fa8f80445eec8fc092475a0e779cd626995d3cff4e76fa553f565c22
0xad71750e8c19d202e4b7b3d4f0010d8a82d0c20225a9b3314c33ce0d48f15507
0x4aae45edcc20d9f550760eb9edd35c36aefb4e44b47305d598f55cc7800afce5
0x24e89c0b721bbef064e1a2ac70cb1f8429c60139cd3911f58a0ad5b08077f95e

Functions
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 useruint256 firstuint256 lastbytes32 merkleRootbytes32[] merkleProofpure returns (bool)
checkSigniture(bytes messagebytes sigview returns (bool _success)
getRoleAdmin(bytes32 roleview returns (bytes32)
getWinningTicketIndex(bytes randSiguint256 lotteryIduint256 ticketCountuint256 prizePositionbytes32 merkleRootview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
lotteryResults(uint256view returns (bytes32 lotteryHashuint256 blockNumber)
rainbowPools(addressview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
unicornPools(addressview returns (bool)
State-modifying
addRainbowPool(address _rainbowPool
addUnicornPool(address _unicornPool
bulkClaimPacks(bytes[] siguint256[] transactionIduint256[][] _packTypeuint256[][] _amount
buyPacks(uint256[] _packTypeuint256[] _amountpayable 
claimPacks(bytes siguint256 transactionIduint256[] _packTypeuint256[] _amount
grantRole(bytes32 roleaddress account
lockPoints(uint256 rainbowsuint256 unicornsaddress[] _rainbowPoolsaddress[] _unicornPools
openPacks(uint256[][] _cardIduint256[][] _amountbytes[] siguint256[] _saltuint256[] _packId
removeRainbowPool(address _rainbowPool
removeUnicornPool(address _unicornPool
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
runLottery(uint256 idbytes32 lotteryHash
setCardsContract(address _cardsContract
setPacksContract(address _packsContract
setVerifierAddress(address _verifier
unlockPoints(uint256 rainbowsuint256 unicornsaddress _rainbowPooladdress _unicornPoolbytes siguint256 transactionIduint256 expiryTime
withdrawEth(uint256 _amount
Events
LotteryRun(uint256 idbytes32 lotteryHashuint256 blockNumber
PackOpened(uint256 packTokenId
PacksClaimed(uint256 transactionId
PointsLocked(address owneruint256 rainbowsuint256 unicorns
PointsUnlocked(address owneruint256 rainbowsuint256 unicornsuint256 transactionId
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Constructor
constructor(address _packsContractaddress _contractOwneraddress _verifieraddress _treasury
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.