Ellipsis Finance
Search…
MerkleDistributor
This contract is used to handle the weekly distribution of EPS to veCRV holders within the Curve DAO.
Each week a new snapshot is generated according to a publicly available script on Github. The proposalAuthority (the Ellipsis team) submits the hash of the proof on-chain, and then the reviewAuthority (the Curve team) accepts or rejects it. Once the proof is accepted, the receivers may begin to claim immediately.
You can view source for MerkleDistributor on Github.
1
claim(uint merkleIndex, uint index, uint amount, bytes32[] merkleProof)
Copied!
Submit a proof to claim an airdrop.
  • merkleIndex: Index of the merkle root within merkleRoots to claim against.
  • index: Index of the claim within the merkle hash.
  • amount: Amount of tokens being claimed. Must be the full amount received in the airdrop.
  • merkleProof: Proof to validate the claim.
Proofs are available on Github.
1
isClaimed(uint256 merkleIndex, uint256 index)
Copied!
Check the status of a claim.
1
proposalAuthority() returns (address)
Copied!
Address that may propose a new merkle hash each week.
1
reviewAuthority() returns (address)
Copied!
Address that can approve or reject the proposed merkle hash.
1
merkleRoots(uint256 i) returns (bytes32)
Copied!
Array of active merkle hashes that may be claimed against.
1
pendingMerkleRoot() returns (bytes32)
Copied!
The current proposed merkle hash, awaiting approval.
1
lastRoot() returns (uint256)
Copied!
Timestamp that the last merkle hash was proposed at. A new hash may only be added at minimum once per week.
Last modified 7mo ago
Copy link