RewardCovenant distributes variable-amount rewards per event. The authority controls the exact amount per reward, bounded by maxRewardAmount.
Contract path: contracts/core/distribution/RewardCovenant.cash
Parameters
| Parameter | Type | Description |
|---|---|---|
vaultId | bytes32 | Links to source vault |
authorityHash | bytes20 | Issues all rewards |
maxRewardAmount | int | Upper bound per single reward |
totalPool | int | Total reward budget |
startTimestamp | int | When rewards open. 0 = immediate. |
endTimestamp | int | When rewards close. 0 = no expiry. |
NFT State (40 bytes)
Functions
reward(sig authSig, pubkey authPubkey, bytes20 recipientHash, int rewardAmount)
Authority-only. Issues rewardAmount (must satisfy 0 < rewardAmount <= maxRewardAmount) to recipientHash. Auto-completes when totalDistributed >= totalPool.

