Mandates
A mandate is the boundary the owner signs once. It decides what an agent may do, how much it may spend and for how long.
- Action: SWAP or TRANSFER.
- Target: one venue or one recipient.
- Per-action cap and total budget.
- Expiry: 1 hour, 6 hours, 24 hours, 3 days or 7 days.
Amounts are USDC with 6 decimals, stored as integers. 2.5 USDC is 2500000. The per-action cap cannot exceed the total budget, and no amount may be above 10000 USDC.
Status is ACTIVE, REVOKED or EXPIRED, calculated on read. Only the owner can revoke. POST /api/mandates/{id}/revoke is the reference route.
