@0dotxyz/p0-ts-sdk 2.6.0-alpha.3 → 2.6.0
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/dist/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/vendor.cjs +5 -5
- package/dist/vendor.cjs.map +1 -1
- package/dist/vendor.d.cts +8 -9
- package/dist/vendor.d.ts +8 -9
- package/dist/vendor.js +5 -5
- package/dist/vendor.js.map +1 -1
- package/package.json +3 -3
package/dist/vendor.d.cts
CHANGED
|
@@ -26903,11 +26903,10 @@ declare function makeUpdateJupLendRate({ lendingState }: MakeUpdateJupLendRatePa
|
|
|
26903
26903
|
|
|
26904
26904
|
/**
|
|
26905
26905
|
* Gamma Protocol vault program — LP vaults with instant deposits, escrow
|
|
26906
|
-
* withdrawals.
|
|
26907
|
-
*
|
|
26908
|
-
*
|
|
26909
|
-
*
|
|
26910
|
-
* under this program, so all PDAs and instruction targets must derive from it.
|
|
26906
|
+
* withdrawals. The production P0 vaults live under the upstream Gamma
|
|
26907
|
+
* program; the on-chain vault, withdrawal-policy, deposit-receipt and
|
|
26908
|
+
* withdraw-receipt accounts all live under this program, so all PDAs and
|
|
26909
|
+
* instruction targets must derive from it.
|
|
26911
26910
|
*/
|
|
26912
26911
|
declare const GAMMA_VAULT_PROGRAM_ID: PublicKey;
|
|
26913
26912
|
declare const SEED_WITHDRAWAL_POLICY = "withdrawal_policy";
|
|
@@ -26923,7 +26922,7 @@ declare const SEED_WITHDRAW_RECEIPT = "withdraw_receipt";
|
|
|
26923
26922
|
* IDL can be found at `target/idl/gamma_vault.json`.
|
|
26924
26923
|
*/
|
|
26925
26924
|
type GammaVault = {
|
|
26926
|
-
"address": "
|
|
26925
|
+
"address": "GaMmanX9i4jGmqDZZD2tbD6B2v9p21btenPneMXnTczV";
|
|
26927
26926
|
"metadata": {
|
|
26928
26927
|
"name": "gammaVault";
|
|
26929
26928
|
"version": "2.2.0";
|
|
@@ -28267,7 +28266,7 @@ type GammaVault = {
|
|
|
28267
28266
|
"upgrade-authority check below cannot be satisfied with an unrelated",
|
|
28268
28267
|
"program's ProgramData."
|
|
28269
28268
|
];
|
|
28270
|
-
"address": "
|
|
28269
|
+
"address": "GaMmanX9i4jGmqDZZD2tbD6B2v9p21btenPneMXnTczV";
|
|
28271
28270
|
},
|
|
28272
28271
|
{
|
|
28273
28272
|
"name": "programData";
|
|
@@ -28648,7 +28647,7 @@ type GammaVault = {
|
|
|
28648
28647
|
},
|
|
28649
28648
|
{
|
|
28650
28649
|
"name": "program";
|
|
28651
|
-
"address": "
|
|
28650
|
+
"address": "GaMmanX9i4jGmqDZZD2tbD6B2v9p21btenPneMXnTczV";
|
|
28652
28651
|
},
|
|
28653
28652
|
{
|
|
28654
28653
|
"name": "programData";
|
|
@@ -29460,7 +29459,7 @@ type GammaVault = {
|
|
|
29460
29459
|
"upgrade-authority check below cannot be satisfied with an unrelated",
|
|
29461
29460
|
"program's ProgramData."
|
|
29462
29461
|
];
|
|
29463
|
-
"address": "
|
|
29462
|
+
"address": "GaMmanX9i4jGmqDZZD2tbD6B2v9p21btenPneMXnTczV";
|
|
29464
29463
|
},
|
|
29465
29464
|
{
|
|
29466
29465
|
"name": "programData";
|
package/dist/vendor.d.ts
CHANGED
|
@@ -26903,11 +26903,10 @@ declare function makeUpdateJupLendRate({ lendingState }: MakeUpdateJupLendRatePa
|
|
|
26903
26903
|
|
|
26904
26904
|
/**
|
|
26905
26905
|
* Gamma Protocol vault program — LP vaults with instant deposits, escrow
|
|
26906
|
-
* withdrawals.
|
|
26907
|
-
*
|
|
26908
|
-
*
|
|
26909
|
-
*
|
|
26910
|
-
* under this program, so all PDAs and instruction targets must derive from it.
|
|
26906
|
+
* withdrawals. The production P0 vaults live under the upstream Gamma
|
|
26907
|
+
* program; the on-chain vault, withdrawal-policy, deposit-receipt and
|
|
26908
|
+
* withdraw-receipt accounts all live under this program, so all PDAs and
|
|
26909
|
+
* instruction targets must derive from it.
|
|
26911
26910
|
*/
|
|
26912
26911
|
declare const GAMMA_VAULT_PROGRAM_ID: PublicKey;
|
|
26913
26912
|
declare const SEED_WITHDRAWAL_POLICY = "withdrawal_policy";
|
|
@@ -26923,7 +26922,7 @@ declare const SEED_WITHDRAW_RECEIPT = "withdraw_receipt";
|
|
|
26923
26922
|
* IDL can be found at `target/idl/gamma_vault.json`.
|
|
26924
26923
|
*/
|
|
26925
26924
|
type GammaVault = {
|
|
26926
|
-
"address": "
|
|
26925
|
+
"address": "GaMmanX9i4jGmqDZZD2tbD6B2v9p21btenPneMXnTczV";
|
|
26927
26926
|
"metadata": {
|
|
26928
26927
|
"name": "gammaVault";
|
|
26929
26928
|
"version": "2.2.0";
|
|
@@ -28267,7 +28266,7 @@ type GammaVault = {
|
|
|
28267
28266
|
"upgrade-authority check below cannot be satisfied with an unrelated",
|
|
28268
28267
|
"program's ProgramData."
|
|
28269
28268
|
];
|
|
28270
|
-
"address": "
|
|
28269
|
+
"address": "GaMmanX9i4jGmqDZZD2tbD6B2v9p21btenPneMXnTczV";
|
|
28271
28270
|
},
|
|
28272
28271
|
{
|
|
28273
28272
|
"name": "programData";
|
|
@@ -28648,7 +28647,7 @@ type GammaVault = {
|
|
|
28648
28647
|
},
|
|
28649
28648
|
{
|
|
28650
28649
|
"name": "program";
|
|
28651
|
-
"address": "
|
|
28650
|
+
"address": "GaMmanX9i4jGmqDZZD2tbD6B2v9p21btenPneMXnTczV";
|
|
28652
28651
|
},
|
|
28653
28652
|
{
|
|
28654
28653
|
"name": "programData";
|
|
@@ -29460,7 +29459,7 @@ type GammaVault = {
|
|
|
29460
29459
|
"upgrade-authority check below cannot be satisfied with an unrelated",
|
|
29461
29460
|
"program's ProgramData."
|
|
29462
29461
|
];
|
|
29463
|
-
"address": "
|
|
29462
|
+
"address": "GaMmanX9i4jGmqDZZD2tbD6B2v9p21btenPneMXnTczV";
|
|
29464
29463
|
},
|
|
29465
29464
|
{
|
|
29466
29465
|
"name": "programData";
|
package/dist/vendor.js
CHANGED
|
@@ -45753,7 +45753,7 @@ async function resolveExponentWrapperMergeContext(params) {
|
|
|
45753
45753
|
};
|
|
45754
45754
|
}
|
|
45755
45755
|
var GAMMA_VAULT_PROGRAM_ID = new PublicKey(
|
|
45756
|
-
"
|
|
45756
|
+
"GaMmanX9i4jGmqDZZD2tbD6B2v9p21btenPneMXnTczV"
|
|
45757
45757
|
);
|
|
45758
45758
|
var SEED_WITHDRAWAL_POLICY = "withdrawal_policy";
|
|
45759
45759
|
var SEED_DEPOSIT_POLICY = "deposit_policy";
|
|
@@ -45763,7 +45763,7 @@ var SEED_WITHDRAW_RECEIPT = "withdraw_receipt";
|
|
|
45763
45763
|
|
|
45764
45764
|
// src/vendor/gamma/idl/gamma-idl-2.json
|
|
45765
45765
|
var gamma_idl_2_default = {
|
|
45766
|
-
address: "
|
|
45766
|
+
address: "GaMmanX9i4jGmqDZZD2tbD6B2v9p21btenPneMXnTczV",
|
|
45767
45767
|
metadata: {
|
|
45768
45768
|
name: "gamma_vault",
|
|
45769
45769
|
version: "2.2.0",
|
|
@@ -47107,7 +47107,7 @@ var gamma_idl_2_default = {
|
|
|
47107
47107
|
"upgrade-authority check below cannot be satisfied with an unrelated",
|
|
47108
47108
|
"program's ProgramData."
|
|
47109
47109
|
],
|
|
47110
|
-
address: "
|
|
47110
|
+
address: "GaMmanX9i4jGmqDZZD2tbD6B2v9p21btenPneMXnTczV"
|
|
47111
47111
|
},
|
|
47112
47112
|
{
|
|
47113
47113
|
name: "program_data",
|
|
@@ -47488,7 +47488,7 @@ var gamma_idl_2_default = {
|
|
|
47488
47488
|
},
|
|
47489
47489
|
{
|
|
47490
47490
|
name: "program",
|
|
47491
|
-
address: "
|
|
47491
|
+
address: "GaMmanX9i4jGmqDZZD2tbD6B2v9p21btenPneMXnTczV"
|
|
47492
47492
|
},
|
|
47493
47493
|
{
|
|
47494
47494
|
name: "program_data"
|
|
@@ -48300,7 +48300,7 @@ var gamma_idl_2_default = {
|
|
|
48300
48300
|
"upgrade-authority check below cannot be satisfied with an unrelated",
|
|
48301
48301
|
"program's ProgramData."
|
|
48302
48302
|
],
|
|
48303
|
-
address: "
|
|
48303
|
+
address: "GaMmanX9i4jGmqDZZD2tbD6B2v9p21btenPneMXnTczV"
|
|
48304
48304
|
},
|
|
48305
48305
|
{
|
|
48306
48306
|
name: "program_data",
|