Reward Claim Contract
Last updated
The source code for the reward claim contract can be found on GitHub.
The easiest way to claim rewards is via the staking UI at stake.espresso.network. See Delegate $ESP Tokens for a walkthrough.
The reward claim contract is how validators and delegators receive the ESP rewards they have earned by securing the Espresso Network. Rewards are accumulated off-chain on Espresso (see Staking Rewards Calculation) and minted to the claimer's wallet when they submit a valid claim on Ethereum.
To claim, a user submits their total lifetime rewards earned along with a Merkle proof from the Espresso query service. The contract checks the proof against the authRoot published by the Light Client Contract, and if it is valid mints the difference between the user's lifetime rewards and what they have already claimed.
Because the contract tracks lifetime rewards rather than per-claim amounts, users can claim as often or as rarely as they like.
As a defense-in-depth measure, the RewardClaim contract caps the total amount of ESP that can be minted across all claimers within a daily period. The cap is intended to be set well above expected legitimate claim demand, while still bounding the maximum damage if a bug in proof verification or claim validation were ever exploited. Governance can adjust the limit subject to the contract’s configured maximum.
For the current RewardClaim deployments on Mainnet and Decaf Testnet, see Networks.
Last updated

