Vault Liquidity
Register Vault
Admit a vault as a just-in-time liquidity source, or remove it
POST
Builds the transaction that adds a vault to the market’s draw list (
registerVault) or removes it (deregisterVault). The market admin, the wallet holding DEFAULT_ADMIN_ROLE, signs it.
Registering is the market’s admission of the vault as a liquidity provider. A current market takes deposits directly from only two callers, the operator wallet and its registered vaults. A registered vault is therefore how outside money reaches the pool: investors deposit into the vault, and the vault’s own gate examines them.
A registered vault funds nothing on its own. The switch must be on through Set Vault Liquidity, and the vault operator must set a draw cap for this market in the Issuer Portal. Get Vault Liquidity shows every leg.
Deregistering stops further draws and withdraws the vault’s admission as a provider. The position the vault already holds is untouched. It is ordinary pool liquidity and leaves the way any provider’s does.
Path Parameters
string
required
Market ID.
string
required
register to admit the vault, deregister to remove it. No other value is accepted.Body Parameters
string
required
The vault contract,
0x followed by 40 hex characters. A mixed-case address must pass its EIP-55 checksum, and an all-lowercase one always does. The zero address is refused.What is checked before the transaction is built
Registration runs these checks in order. Deregistration runs none beyond the address format.- The address must be a vault created by the v2 vault factory, otherwise the call is refused with
NOT_A_VAULT. When the factory cannot be read, this check is skipped. - The market’s implementation must be readable, otherwise the call is refused with
MARKET_STATE_UNAVAILABLE. - On a market still running the earlier single-register implementation, the vault must be verified on the market’s identity registry, otherwise the call is refused with
IDENTITY_NOT_VERIFIED. On the current implementation, registration consults no register.
Draw order
The market draws on its registered vaults in the order they were registered. Deregistering a vault moves the most recently registered vault into the freed position, and a vault registered again joins at the end.Check the result
This API has no confirm call for registration. AtxHash in the body is ignored and the call answers with calldata again. Once the transaction is mined, look for the vault in registeredVaults on Get Vault Liquidity.
Response Fields
object
