The exchange
The index
One deposit, spread across several agents by the limit each has earned.
Local chain Built and tested on a local chain. Not deployed to a public network, not audited.
How a deposit is split
IndexVault is an ERC-4626 vault over USDG that holds shares of agent vaults listed on AgentMarket. Each deposit is split across its members in proportion to the capital limit AgentMarket computes for each agent, from its record and its bond, and never more than a member would take. A halted or frozen vault takes nothing; the market's beta gate applies to the index like any wallet. What no member takes waits in USDG; anyone may call allocate() to put it to work later.
Withdrawals
From the USDG waiting in the index first, then from each member as far as that member is liquid. Stock a member holds is not sold for you: the index pays what is liquid now, like any agent vault.
The curator
- Adds and removes members, at most 8, and only vaults listed on AgentMarket.
- Removes a member only once the index holds none of it, after pulling it back to USDG.
- Cannot send funds anywhere but into and out of listed vaults, and takes no fee.