Skip to main content

Deposit Phase Lifecycle

A deposit phase is an epoch. It lets a pool collect accepted assets during an onchain window, issue receipt balances, and later settle those receipts into claims or refunds.

Token List

The first token in the epoch token list is the distribution token. The remaining tokens are deposit assets.

For the live genesis phase, CAV is the distribution token and ETH, USDC, and USDT are deposit assets. Mainnet-specific addresses and verification steps live under Mainnet.

Lifecycle

Prepared

The owner prepares an epoch by setting the distribution token, deposit assets, and duration.

Started

Deposits are open until the onchain end time. Clients should read depositability from contract state.

Depositing

Users deposit accepted assets. The protocol records those amounts in User Deposits and gives the depositor an onchain receipt balance for that asset and epoch.

Ended

New deposits close when the phase reaches its end time. The phase then waits for post-phase operations.

Sealed

Seal snapshots final deposit amounts and prices. After seal, clients can preview claimable distribution amounts from sealed epoch values.

Settled

Settlement moves deposited assets into reserves, funds claimable distribution balances, and marks the epoch as settled. After settlement, depositors can claim.

Refundable

Refunds are only available if the contract enters a refund state. A phase that is refundable is not claimable. Refunds and claims consume the same receipt balances.