@perena/vault-sdk 1.0.31 → 1.0.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -29
- package/dist/index.d.ts +5179 -6253
- package/dist/index.js +5748 -6661
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -604,35 +604,36 @@ const [queue] = await client.pda.deriveWithdrawalQueuePda(
|
|
|
604
604
|
|
|
605
605
|
All builders are on `client.tx`:
|
|
606
606
|
|
|
607
|
-
| Builder
|
|
608
|
-
|
|
|
609
|
-
| `createVault`
|
|
610
|
-
| `createAssetHolding`
|
|
611
|
-
| `removeAssetHolding`
|
|
612
|
-
| `updateConsensusSigners`
|
|
613
|
-
| `createTrancheState`
|
|
614
|
-
| `setVaultConfig`
|
|
615
|
-
| `updateTrancheConfig`
|
|
616
|
-
| `activateCircuitBreaker`
|
|
617
|
-
| `disableCircuitBreaker`
|
|
618
|
-
| `updateConsensusOracle`
|
|
619
|
-
| `executeDeposit`
|
|
620
|
-
| `executeTrancheDeposit`
|
|
621
|
-
| `executeTrancheWithdraw`
|
|
622
|
-
| `requestJuniorTrancheWithdraw`
|
|
623
|
-
| `cancelJuniorTrancheWithdraw`
|
|
624
|
-
| `fulfillJuniorTrancheWithdraw`
|
|
625
|
-
| `executeWithdraw`
|
|
626
|
-
| `managerWithdrawAsset`
|
|
627
|
-
| `
|
|
628
|
-
| `
|
|
629
|
-
| `
|
|
630
|
-
| `
|
|
631
|
-
| `
|
|
632
|
-
| `
|
|
633
|
-
| `
|
|
634
|
-
| `
|
|
635
|
-
| `
|
|
607
|
+
| Builder | Program instruction | Typical signer |
|
|
608
|
+
| ------------------------------- | ----------------------------------------------------- | --------------------- |
|
|
609
|
+
| `createVault` | `create_vault` | Curator |
|
|
610
|
+
| `createAssetHolding` | `create_asset_holding` | HW manager |
|
|
611
|
+
| `removeAssetHolding` | `remove_asset_holding` | HW manager |
|
|
612
|
+
| `updateConsensusSigners` | `update_consensus_signers` | Curator |
|
|
613
|
+
| `createTrancheState` | `create_tranche_state` | Curator |
|
|
614
|
+
| `setVaultConfig` | `set_vault_config` | Curator |
|
|
615
|
+
| `updateTrancheConfig` | `update_tranche_config` | Curator |
|
|
616
|
+
| `activateCircuitBreaker` | `activate_circuit_breaker` | CB trigger or curator |
|
|
617
|
+
| `disableCircuitBreaker` | `disable_circuit_breaker` | Curator |
|
|
618
|
+
| `updateConsensusOracle` | `update_consensus_oracle` | Consensus signer |
|
|
619
|
+
| `executeDeposit` | `execute_deposit` | User |
|
|
620
|
+
| `executeTrancheDeposit` | `execute_tranche_deposit` | User |
|
|
621
|
+
| `executeTrancheWithdraw` | `execute_tranche_withdraw` | User |
|
|
622
|
+
| `requestJuniorTrancheWithdraw` | `request_junior_tranche_withdraw` | Owner |
|
|
623
|
+
| `cancelJuniorTrancheWithdraw` | `cancel_junior_tranche_withdraw` | Owner |
|
|
624
|
+
| `fulfillJuniorTrancheWithdraw` | `fulfill_junior_tranche_withdraw` | Fulfiller |
|
|
625
|
+
| `executeWithdraw` | `execute_withdraw` / `execute_withdraw_from_external` | User |
|
|
626
|
+
| `managerWithdrawAsset` | `manager_withdraw_asset` | HW manager |
|
|
627
|
+
| `setManagerWithdrawDestination` | `set_manager_withdraw_destination` | Curator |
|
|
628
|
+
| `managerRedepositAsset` | `manager_redeposit_asset` | HW manager |
|
|
629
|
+
| `protocolInteraction` | `protocol_interaction` | HW manager |
|
|
630
|
+
| `jupiterSwap` | `jupiter_swap` | HW manager |
|
|
631
|
+
| `setExternalLiquidity` | `set_external_liquidity` | HW manager |
|
|
632
|
+
| `setAssetPriceOracle` | `set_asset_price_oracle` | Curator |
|
|
633
|
+
| `updateAssetPrice` | `update_asset_price` | Oracle keeper |
|
|
634
|
+
| `vaultReallocation` | `vault_reallocation` | HW manager |
|
|
635
|
+
| `withdrawProtocolFees` | `withdraw_protocol_fees` | Curator |
|
|
636
|
+
| `withdrawTrancheFees` | `withdraw_tranche_fees` | Curator |
|
|
636
637
|
|
|
637
638
|
Argument shapes for each builder: [`src/client/builders/args.ts`](src/client/builders/args.ts).
|
|
638
639
|
|