Choose the integration
User flow
Before enabling writes
- Verify the pinned chain, addresses, token relationships and decimals.
- Check wallet balances, allowance and gas; quote immediately before signing.
- Require explicit nonzero minimum output. Stop on rejected signatures.
Read-only deposit quote
This example quotes 100 USDT. Run it withviem after verifying the execution profile.
- Quote output and
minSharesOutuse raw EarnUSDT units. - Pass the computed minimum to the selected Router deposit method.
- Refresh a stale quote before submission; a successful quote describes the observed state.
Reconciliation
Cautions
- Partial redemptions return unfilled EarnUSDT; reconcile receipt and indexed request.
- EarnUSDT → seCDV → USDT requires both valuation steps; use the boundary equations.
- Claim readiness depends on funding and FIFO reservations. Keep refreshing pending requests.
- Existing QA-compatible integrations retain their legacy contract.