EeseeMining
EeseeMining
Claim
Claim: {rewardID} - RewardID the tokens are claimed for. {balance} - Amount of tokens to claim. {merkleProof} - Merkle proof to verify claim.
ESE
ESE token.
rewardID
Current reward ID.
rewardRoot
Maps {rewardID} to its merkle root.
isClaimed
Has address claimed reward for {rewardID}.
MERKLE_ROOT_UPDATER_ROLE
Merkle root updater role in {accessManager}.
RewardAdded
RewardClaimed
InvalidMerkleProof
AlreadyClaimed
InvalidESE
MerkleRootNotExists
claimRewards
Claims rewards for multiple {rewardID}s. Emits {RewardClaimed} event for each reward claimed.
Parameters
addReward
Adds new merkle root and advances to the next {rewardID}. Emits {RewardAdded} event.
Parameters
getRewards
Verifies {claims} and returns rewards to be claimed from {claims}.
Parameters
Return Values
verifyClaim
Verifies {claim} for {claimer}.
Parameters
Return Values
Inherited from EeseeRoleHandler
Inherited from ERC2771Context
isTrustedForwarder
Last updated