MultiMerkleDistributor

Verified contract

Active on Ethereum with 113 txns
Deployed by via 0xeab2972e at 16613286
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $7,272.27
ERC-20
Value $5,876.02
ERC-20
Value $3,607.88
ERC-20
Value $1,113.25
ERC-20
Value $301.5
ERC-20
Value $268.94
ERC-20
Value $37.6
ERC-20
Value $3.17
ERC-20
Value $1.08
ERC-20
--
0x5933d122ebc9c2ca88280d37e42da5a49a9bf5afb4b54f60f30451c8f1097f20
From
0x121fc3cbd722eb9ff27e5c9782124b0d855228a5884c3779d327019f55df1ee5
0x7b12d4e614a426bcd9bee722020735dcf822c6ee20294887f29cd39044a0fa56
0x4afd987d5b98b8f006cd2cf6b2c685840dde415063ef7f555c5c6c2151cb7e3c
0xc6c48d120dc78fdfeaa6c43e3b860253f1308eaf24cf31e7b14d957d26bde384
From
0x828c983ad1a71a32b08d89a76566e9fb16a21403669a20853794e59e1e6a0bc6
0xa4da6285e6091dcfb7158675f2bc9c6124b1d8aacc5631f24c4e84460a299ef6
0xc6126788704ee7b71bed3ac3c3d5ab69f968d7026d2c8b14da8bd70f71bebae1
0x8913b66ca58371e01ff96b1326d6582bfe9dcea6c5a805130e6357b21bb869c8
0xdd471cd2422c7a27ea14dd73c27ea78496dcabb9db3dcfb28ad9b1050975577c

Functions
Getter at block 21301474
owner(view returns (address)
0x0792dcb7080466e4bbc678bdb873fe7d969832b8
pendingOwner(view returns (address)
0x0000000000000000000000000000000000000000
questBoard(view returns (address)
0x602e94d90f34126f31444d001732a1974378d9fc
Read-only
getClosedPeriodsByQuests(uint256 questIDview returns (uint256[])
isClaimed(uint256 questIDuint256 perioduint256 indexview returns (bool)
questClosedPeriods(uint256uint256view returns (uint256)
questMerkleRootPerPeriod(uint256uint256view returns (bytes32)
questRewardToken(uint256view returns (address)
questRewardsPerPeriod(uint256uint256view returns (uint256)
rewardTokens(addressview returns (bool)
State-modifying
acceptOwnership(
addQuest(uint256 questIDaddress tokenreturns (bool)
addQuestPeriod(uint256 questIDuint256 perioduint256 totalRewardAmountreturns (bool)
claim(uint256 questIDuint256 perioduint256 indexaddress accountuint256 amountbytes32[] merkleProof
claimQuest(address accountuint256 questIDstruct MultiMerkleDistributorClaimParams[] claims
emergencyUpdateQuestPeriod(uint256 questIDuint256 perioduint256 addedRewardAmountbytes32 merkleRootreturns (bool)
fixQuestPeriod(uint256 questIDuint256 perioduint256 newTotalRewardAmountreturns (bool)
multiClaim(address accountstruct MultiMerkleDistributorClaimParams[] claims
recoverERC20(address tokenreturns (bool)
renounceOwnership(
transferOwnership(address newOwner
updateQuestPeriod(uint256 questIDuint256 perioduint256 totalAmountbytes32 merkleRootreturns (bool)
Events
Claimed(uint256 indexed questIDuint256 indexed perioduint256 indexuint256 amountaddress rewardTokenaddress indexed account
NewPendingOwner(address indexed previousPendingOwneraddress indexed newPendingOwner
NewQuest(uint256 indexed questIDaddress rewardToken
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
QuestPeriodUpdated(uint256 indexed questIDuint256 indexed periodbytes32 merkleRoot
Constructor
constructor(address _questBoard
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AlreadyClaimed(
CallerNotAllowed(
CallerNotPendingOwner(
CannotBeOwner(
CannotRecoverToken(
EmptyMerkleRoot(
EmptyParameters(
IncorrectPeriod(
IncorrectQuestID(
IncorrectRewardAmount(
InvalidProof(
MerkleRootNotUpdated(
NullAmount(
PeriodAlreadyUpdated(
PeriodNotClosed(
PeriodNotListed(
QuestAlreadyListed(
QuestNotListed(
TokenNotWhitelisted(
ZeroAddress(