AtomicClaim
Wrapper contract to allow Orgs to claim and reconcile base token rewards in one transaction.
function atomicClaimAndReconcile(contract Entity _entity, contract RollingMerkleDistributor _distributor, uint256 _index, uint256 _amount, bytes32[] _merkleProof) external nonpayable
Simple wrapper method that allows anyone to make a base token rewards claim on behalf of an entity, then perform a reconcile balance operation to include the claimed funds in the Entity's internal balance.
Name | Type | Description |
---|---|---|
_entity | contract Entity | The entity which has a claimable reward. |
_distributor | contract RollingMerkleDistributor | The Merkle distributor from which the rewards claim will be made. |
_index | uint256 | The Merkle distributor claim index. |
_amount | uint256 | The claimable amount in the Merkle distributor for the entity. |
_merkleProof | bytes32[] | The claim proof for this entity, index, and amount. |
Last modified 4mo ago