IndexedEx agent checklist
Goal
Run pre-flight checks before any IndexedEx write.
Inspect
Confirm chain, addresses, and prerequisites before acting.
Pre-flight (mandatory)
- Plugins:
foundry-agentinstalled;indexedex-opsloaded - Network:
cast chain-idmatches address table (e.g. 84532 Base Sepolia) - Addresses: from
indexedex-networks-addressesor user-provided deployment JSON — not invented - Registry:
isVault(vault)true when acting on a vault - Token meta: decimals + balances for user
- Allowance path: ERC20 approve and/or Permit2 configured
- Preview: preview/query or fork dry-run when available
- User confirmation: print chain, contracts, amounts, minOut; wait for OK
- Broadcast:
cast sendor forge script - Verify: receipt status + re-read balances / shares
- Report: tx hash + explorer link
Stop conditions
- Missing address table for network
isVaultfalse- Preview reverts without understood reason
- User did not confirm write