MultiMerkleDistributorV2

Verified contract

Active on Ethereum with 464 txns
Deployed by via 0xdc9a49e9 at 19922126
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $22,823.13
ERC-20
Value $3,894.2
ERC-20
Value $2,556.76
ERC-20
Value $2,150.73
ERC-20
Value $25.8
ERC-20
Value $0
0xc61c22aa0e10f6477d6f478e63ce3d4eafd0f1bdc7af362e425009edbe19f220
0x83ef0d570330f11383cc60fe4180234f85423086e46984234f9a64e8af5806ce
0xffd0b22428150899ee9f958f46be64dc5711542cbf2f20adf791d76962d8b2ee
0xb3485f6062c907264f1dae2cc00f79841fcd0ff56c77c5a6325771fb26beb75d
0xff88db228f3aebcbc62ffae683eba62c9e823f425e43ab304d8c3780d730bb5b
0xde9f27d07780b2bdc3cfa2e3d39a72934277ffd4b02054c957f8d56e98e9b08c
0xa6cc4b845c3c02d5f15ecdd57ef227d73a7ff56b847c27a8f637f59a868327b1
0x2da99cdb4267dd0b9c47e1e4358e0f4d41adeb4f484e678a9279b5fcbfecacd6
From
0xc6cd3df63426b71c6dc36516bd73ada71f82046be3ed1d70ce714f91cc195dcc
0x0a63c52e9ee15e65ef8252193ddd4dd16e9938e82ca8e90dbb92a2896e523db2

Functions
Getter at block 21228105
lootCreator(view returns (address)
0x10785c34c1d26508acdebd8201c9ad8d2e774a85
owner(view returns (address)
0x0792dcb7080466e4bbc678bdb873fe7d969832b8
pendingOwner(view returns (address)
0x0000000000000000000000000000000000000000
questBoard(view returns (address)
0xaa1698f0a51e6d00f5533cc3e5d36010ee4558c6
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 MultiMerkleDistributorV2ClaimParams[] claims
emergencyUpdateQuestPeriod(uint256 questIDuint256 perioduint256 addedRewardAmountbytes32 merkleRootreturns (bool)
fixQuestPeriod(uint256 questIDuint256 perioduint256 newTotalRewardAmountreturns (bool)
multiClaim(address accountstruct MultiMerkleDistributorV2ClaimParams[] claims
recoverERC20(address tokenreturns (bool)
renounceOwnership(
setLootCreator(address _lootCreator
transferOwnership(address newOwner
updateQuestPeriod(uint256 questIDuint256 perioduint256 totalAmountbytes32 merkleRootreturns (bool)
Events
Claimed(uint256 indexed questIDuint256 indexed perioduint256 indexuint256 amountaddress rewardTokenaddress indexed account
LootCreatorUpdated(address indexed oldCreatoraddress indexed newCreator
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
AddressEmptyCode(address target
AddressInsufficientBalance(address account
AddressZero(
AlreadyClaimed(
CallerNotAllowed(
CallerNotPendingOwner(
CannotBeOwner(
CannotRecoverToken(
EmptyMerkleRoot(
EmptyParameters(
FailedInnerCall(
IncorrectPeriod(
IncorrectQuestID(
IncorrectRewardAmount(
InvalidProof(
MerkleRootNotUpdated(
NullAmount(
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account
PeriodAlreadyUpdated(
PeriodNotClosed(
PeriodNotListed(
QuestAlreadyListed(
QuestNotListed(
ReentrancyGuardReentrantCall(
SafeERC20FailedOperation(address token
TokenNotWhitelisted(