Expand description
Managed vaults: read vaults, their settlement history and a holder’s position, create a vault, and queue deposits and withdrawals. Every write is EIP-712 signed in the Hypercall domain by the owner or holder it names.
Deposits and withdrawals queue and fill at the next keeper settlement, at
the vault’s NAV. Poll HypercallClient::get_vault_holder for the fill.
Structs§
- Create
Vault POST /v1/vaults, signed by the owner.- Create
Vault Response POST /v1/vaultsresponse: the derived account and the owner’sVaultManagercalldata.- Vault
- One vault, from the engine snapshot.
- Vault
Cancel POST /v1/vaults/:id/cancel, signed by the holder.- Vault
Close POST /v1/vaults/:id/close, signed by the owner.- Vault
Config Params - A vault’s owner-signed terms.
- Vault
Deposit POST /v1/vaults/:id/deposit, signed by the holder.- Vault
Fill - Vault
History Page - Vault
Holder - One holder’s shares and queued requests.
- Vault
Metadata - Vault
Page - A page of history: older than
before_seq, at mostlimitsettlements. - Vault
Queued Request - Vault
Request Response - A queued deposit, withdrawal or cancel.
- Vault
Settlement - Vault
Settlements Page - Vault
Status Change - One status transition (pause, resume, freeze, close).
- Vault
Status Changes Page - Vault
Withdraw POST /v1/vaults/:id/withdraw, signed by the holder.