Defines the data, error, and event types used by the RollingMerkleDistributor contract.
event Claimed(uint256 indexed window, uint256 index, address indexed claimant, uint256 amount)
Updated when an account completes a proof based claim.
event MerkleRootRolledOver(bytes32 indexed merkleRoot, uint256 windowEnd)
Emitted when an authorized account rolls over the Merkle root and claim window. Also emitted on deploy with initial root and claim window.
Thrown if a claimant attempts to claim funds that were already claimed.
Thrown if there is an attempt to define a claim window period that is 0 seconds, or too long.
Thrown if the claimant provides an invalid Merkle proof when attempting to claim.
Thrown if a claim is attempted after the claim window has closed, but before its rolled over.
Thrown if there is an attempt to rollover while the current claim window is still open.