Mobile requirements
- Use the hosted API for state and action quotes.
- Use SDK readiness helpers.
- Do not scan chain history from the device.
- Rebuild expired quotes.
- Handle chain switching explicitly.
- Treat typed API error codes as product states.
Suggested screen states
| State | Behavior |
|---|---|
| Loading | Fetch health, vault, config, and position |
| Read-only | Show product if display readiness is true |
| Deposit unavailable | Show reason from readiness code |
| Approval required | Present approval as step 1 of 2 |
| Deposit | Present deposit as step 2 of 2 |
| Queued redeem pending | Show cancel if request is cancelable |
| Queued redeem claimable | Show claim as primary action |