@0dotxyz/p0-ts-sdk 2.5.0 → 2.6.0-alpha.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 +4110 -436
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +117 -2
- package/dist/index.d.ts +117 -2
- package/dist/index.js +4101 -437
- package/dist/index.js.map +1 -1
- package/dist/types-DLZaKA17.d.cts +88 -0
- package/dist/types-DLZaKA17.d.ts +88 -0
- package/dist/vendor.cjs +3389 -0
- package/dist/vendor.cjs.map +1 -1
- package/dist/vendor.d.cts +3318 -2
- package/dist/vendor.d.ts +3318 -2
- package/dist/vendor.js +3374 -1
- package/dist/vendor.js.map +1 -1
- package/package.json +1 -1
- package/dist/index-BDDVBMdM.d.cts +0 -48
- package/dist/index-BDDVBMdM.d.ts +0 -48
package/dist/vendor.d.cts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as _solana_web3_js from '@solana/web3.js';
|
|
2
2
|
import { PublicKey, TransactionInstruction, Connection, Transaction, Commitment, AccountInfo, AccountMeta as AccountMeta$1, Signer, AddressLookupTableAccount } from '@solana/web3.js';
|
|
3
3
|
import BigNumber$1 from 'bignumber.js';
|
|
4
|
-
|
|
4
|
+
import { G as GammaLpVaultRaw, a as GammaWithdrawReceiptRaw } from './types-DLZaKA17.cjs';
|
|
5
|
+
export { b as CrossbarSimulatePayload, C as CurrentResult, F as FeedResponse, O as OracleSubmission, P as PullFeedAccountData, S as SWITCHBOARD_ONDEMANDE_PRICE_PRECISION, d as decodeSwitchboardPullFeedData, g as getSwitchboardProgram, s as switchboardAccountCoder } from './types-DLZaKA17.cjs';
|
|
5
6
|
import { Program, BorshCoder, Address } from '@coral-xyz/anchor';
|
|
6
7
|
import { K as KaminoReserve, a as KaminoObligation, j as KaminoObligationJSON, i as KaminoReserveJSON, t as KaminoBorrowRateCurvePoint, u as KaminoFarmRewardInfo, b as KaminoFarmState, k as KaminoFarmStateJSON, H as HistoricalOracleData, v as HistoricalIndexData, P as PoolBalance, I as InsuranceFund, F as FeeStructureJSON, O as OracleGuardRailsJSON, w as FeeStructure, x as OracleGuardRails, S as SpotPosition, e as DriftUserStats, o as DriftUserStatsJSON, c as DriftUser, m as DriftUserJSON, D as DriftSpotMarket, l as DriftSpotMarketJSON, d as DriftRewards, n as DriftRewardsJSON, y as DriftSpotBalanceType, J as JupLendingState, p as JupLendingStateJSON, f as JupTokenReserve, q as JupTokenReserveJSON, g as JupLendingRewardsRateModel, r as JupLendingRewardsRateModelJSON, h as JupRateModel, s as JupRateModelJSON } from './dto-rate-model.types-IT8wckYH.cjs';
|
|
7
8
|
export { ab as FeeTier, ac as FeeTierJSON, ak as HistoricalIndexDataJSON, aj as HistoricalOracleDataJSON, am as InsuranceFundJSON, C as KaminoBorrowRateCurve, T as KaminoBorrowRateCurveJSON, U as KaminoBorrowRateCurvePointJSON, a5 as KaminoFarmRewardInfoJSON, a1 as KaminoFarmTokenInfo, a4 as KaminoFarmTokenInfoJSON, Z as KaminoObligationCollateral, $ as KaminoObligationCollateralJSON, _ as KaminoObligationLiquidity, a0 as KaminoObligationLiquidityJSON, M as KaminoPythConfiguration, Y as KaminoPythConfigurationJSON, A as KaminoReserveCollateral, Q as KaminoReserveCollateralJSON, B as KaminoReserveConfig, R as KaminoReserveConfigJSON, z as KaminoReserveLiquidity, N as KaminoReserveLiquidityJSON, E as KaminoReserveTokenInfo, V as KaminoReserveTokenInfoJSON, a3 as KaminoRewardCurvePoint, a7 as KaminoRewardCurvePointJSON, a2 as KaminoRewardScheduleCurve, a6 as KaminoRewardScheduleCurveJSON, G as KaminoScopeConfiguration, W as KaminoScopeConfigurationJSON, L as KaminoSwitchboardConfiguration, X as KaminoSwitchboardConfigurationJSON, ad as OrderFillerRewardStructure, ae as OrderFillerRewardStructureJSON, al as PoolBalanceJSON, af as PriceDivergenceGuardRails, ag as PriceDivergenceGuardRailsJSON, an as SpotBalanceType, ao as SpotPositionJSON, a9 as UserFeesFields, a8 as UserFeesJSON, ah as ValidityGuardRails, ai as ValidityGuardRailsJSON, aa as isSpotBalanceTypeVariant } from './dto-rate-model.types-IT8wckYH.cjs';
|
|
@@ -26900,6 +26901,3321 @@ type MakeUpdateJupLendRateParams = {
|
|
|
26900
26901
|
};
|
|
26901
26902
|
declare function makeUpdateJupLendRate({ lendingState }: MakeUpdateJupLendRateParams): _solana_web3_js.TransactionInstruction;
|
|
26902
26903
|
|
|
26904
|
+
/**
|
|
26905
|
+
* Gamma Protocol vault program — LP vaults with instant deposits, escrow
|
|
26906
|
+
* withdrawals. This is P0's deployment, which owns the live vaults; the
|
|
26907
|
+
* upstream Gamma IDL is published under a different address
|
|
26908
|
+
* (`GaMmanX9i4jGmqDZZD2tbD6B2v9p21btenPneMXnTczV`), but the on-chain vault,
|
|
26909
|
+
* withdrawal-policy, deposit-receipt and withdraw-receipt accounts all live
|
|
26910
|
+
* under this program, so all PDAs and instruction targets must derive from it.
|
|
26911
|
+
*/
|
|
26912
|
+
declare const GAMMA_VAULT_PROGRAM_ID: PublicKey;
|
|
26913
|
+
declare const SEED_WITHDRAWAL_POLICY = "withdrawal_policy";
|
|
26914
|
+
declare const SEED_DEPOSIT_RECEIPT = "deposit_receipt";
|
|
26915
|
+
declare const SEED_WITHDRAW_ESCROW = "withdraw_escrow";
|
|
26916
|
+
declare const SEED_WITHDRAW_RECEIPT = "withdraw_receipt";
|
|
26917
|
+
|
|
26918
|
+
/**
|
|
26919
|
+
* Program IDL in camelCase format in order to be used in JS/TS.
|
|
26920
|
+
*
|
|
26921
|
+
* Note that this is only a type helper and is not the actual IDL. The original
|
|
26922
|
+
* IDL can be found at `target/idl/gamma_vault.json`.
|
|
26923
|
+
*/
|
|
26924
|
+
type GammaVault = {
|
|
26925
|
+
"address": "GaMmanX9i4jGmqDZZD2tbD6B2v9p21btenPneMXnTczV";
|
|
26926
|
+
"metadata": {
|
|
26927
|
+
"name": "gammaVault";
|
|
26928
|
+
"version": "2.0.0";
|
|
26929
|
+
"spec": "0.1.0";
|
|
26930
|
+
"description": "Gamma Protocol vault program — LP vaults with instant deposits, escrow withdrawals, and performance fees";
|
|
26931
|
+
};
|
|
26932
|
+
"instructions": [
|
|
26933
|
+
{
|
|
26934
|
+
"name": "assessFees";
|
|
26935
|
+
"docs": [
|
|
26936
|
+
"Assess scheduled performance fees (keeper)."
|
|
26937
|
+
];
|
|
26938
|
+
"discriminator": [
|
|
26939
|
+
224,
|
|
26940
|
+
15,
|
|
26941
|
+
195,
|
|
26942
|
+
19,
|
|
26943
|
+
125,
|
|
26944
|
+
145,
|
|
26945
|
+
2,
|
|
26946
|
+
100
|
|
26947
|
+
];
|
|
26948
|
+
"accounts": [
|
|
26949
|
+
{
|
|
26950
|
+
"name": "fundAuthority";
|
|
26951
|
+
"signer": true;
|
|
26952
|
+
"relations": [
|
|
26953
|
+
"lpVault"
|
|
26954
|
+
];
|
|
26955
|
+
},
|
|
26956
|
+
{
|
|
26957
|
+
"name": "lpVault";
|
|
26958
|
+
"writable": true;
|
|
26959
|
+
},
|
|
26960
|
+
{
|
|
26961
|
+
"name": "sharesMint";
|
|
26962
|
+
"writable": true;
|
|
26963
|
+
"relations": [
|
|
26964
|
+
"lpVault"
|
|
26965
|
+
];
|
|
26966
|
+
},
|
|
26967
|
+
{
|
|
26968
|
+
"name": "feeRecipientAccount";
|
|
26969
|
+
"writable": true;
|
|
26970
|
+
},
|
|
26971
|
+
{
|
|
26972
|
+
"name": "tokenProgram";
|
|
26973
|
+
}
|
|
26974
|
+
];
|
|
26975
|
+
"args": [];
|
|
26976
|
+
},
|
|
26977
|
+
{
|
|
26978
|
+
"name": "closeDepositReceipt";
|
|
26979
|
+
"docs": [
|
|
26980
|
+
"Close a deposit receipt and reclaim rent."
|
|
26981
|
+
];
|
|
26982
|
+
"discriminator": [
|
|
26983
|
+
216,
|
|
26984
|
+
104,
|
|
26985
|
+
127,
|
|
26986
|
+
60,
|
|
26987
|
+
88,
|
|
26988
|
+
217,
|
|
26989
|
+
184,
|
|
26990
|
+
15
|
|
26991
|
+
];
|
|
26992
|
+
"accounts": [
|
|
26993
|
+
{
|
|
26994
|
+
"name": "user";
|
|
26995
|
+
"docs": [
|
|
26996
|
+
"User who owns the deposit receipt."
|
|
26997
|
+
];
|
|
26998
|
+
"writable": true;
|
|
26999
|
+
"signer": true;
|
|
27000
|
+
},
|
|
27001
|
+
{
|
|
27002
|
+
"name": "lpVault";
|
|
27003
|
+
"docs": [
|
|
27004
|
+
"The vault this receipt is associated with."
|
|
27005
|
+
];
|
|
27006
|
+
},
|
|
27007
|
+
{
|
|
27008
|
+
"name": "depositReceipt";
|
|
27009
|
+
"docs": [
|
|
27010
|
+
"Deposit receipt to close. Rent is returned to user."
|
|
27011
|
+
];
|
|
27012
|
+
"writable": true;
|
|
27013
|
+
"pda": {
|
|
27014
|
+
"seeds": [
|
|
27015
|
+
{
|
|
27016
|
+
"kind": "const";
|
|
27017
|
+
"value": [
|
|
27018
|
+
100,
|
|
27019
|
+
101,
|
|
27020
|
+
112,
|
|
27021
|
+
111,
|
|
27022
|
+
115,
|
|
27023
|
+
105,
|
|
27024
|
+
116,
|
|
27025
|
+
95,
|
|
27026
|
+
114,
|
|
27027
|
+
101,
|
|
27028
|
+
99,
|
|
27029
|
+
101,
|
|
27030
|
+
105,
|
|
27031
|
+
112,
|
|
27032
|
+
116
|
|
27033
|
+
];
|
|
27034
|
+
},
|
|
27035
|
+
{
|
|
27036
|
+
"kind": "account";
|
|
27037
|
+
"path": "user";
|
|
27038
|
+
},
|
|
27039
|
+
{
|
|
27040
|
+
"kind": "account";
|
|
27041
|
+
"path": "lpVault";
|
|
27042
|
+
}
|
|
27043
|
+
];
|
|
27044
|
+
};
|
|
27045
|
+
}
|
|
27046
|
+
];
|
|
27047
|
+
"args": [];
|
|
27048
|
+
},
|
|
27049
|
+
{
|
|
27050
|
+
"name": "completeWithdrawal";
|
|
27051
|
+
"docs": [
|
|
27052
|
+
"User claims their withdrawal from escrow.",
|
|
27053
|
+
"Burns shares and transfers assets to user's wallet."
|
|
27054
|
+
];
|
|
27055
|
+
"discriminator": [
|
|
27056
|
+
107,
|
|
27057
|
+
98,
|
|
27058
|
+
134,
|
|
27059
|
+
131,
|
|
27060
|
+
74,
|
|
27061
|
+
120,
|
|
27062
|
+
174,
|
|
27063
|
+
121
|
|
27064
|
+
];
|
|
27065
|
+
"accounts": [
|
|
27066
|
+
{
|
|
27067
|
+
"name": "user";
|
|
27068
|
+
"docs": [
|
|
27069
|
+
"User claiming the withdrawal."
|
|
27070
|
+
];
|
|
27071
|
+
"writable": true;
|
|
27072
|
+
"signer": true;
|
|
27073
|
+
},
|
|
27074
|
+
{
|
|
27075
|
+
"name": "lpVault";
|
|
27076
|
+
"docs": [
|
|
27077
|
+
"LpVault (needed for shares_mint validation)."
|
|
27078
|
+
];
|
|
27079
|
+
},
|
|
27080
|
+
{
|
|
27081
|
+
"name": "assetsMint";
|
|
27082
|
+
"docs": [
|
|
27083
|
+
"Mint of the vault assets."
|
|
27084
|
+
];
|
|
27085
|
+
"relations": [
|
|
27086
|
+
"lpVault"
|
|
27087
|
+
];
|
|
27088
|
+
},
|
|
27089
|
+
{
|
|
27090
|
+
"name": "sharesMint";
|
|
27091
|
+
"docs": [
|
|
27092
|
+
"Mint for vault shares."
|
|
27093
|
+
];
|
|
27094
|
+
"writable": true;
|
|
27095
|
+
"relations": [
|
|
27096
|
+
"lpVault"
|
|
27097
|
+
];
|
|
27098
|
+
},
|
|
27099
|
+
{
|
|
27100
|
+
"name": "userAssetAta";
|
|
27101
|
+
"docs": [
|
|
27102
|
+
"User's asset token account (destination for claimed assets)."
|
|
27103
|
+
];
|
|
27104
|
+
"writable": true;
|
|
27105
|
+
"pda": {
|
|
27106
|
+
"seeds": [
|
|
27107
|
+
{
|
|
27108
|
+
"kind": "account";
|
|
27109
|
+
"path": "user";
|
|
27110
|
+
},
|
|
27111
|
+
{
|
|
27112
|
+
"kind": "account";
|
|
27113
|
+
"path": "tokenProgram";
|
|
27114
|
+
},
|
|
27115
|
+
{
|
|
27116
|
+
"kind": "account";
|
|
27117
|
+
"path": "assetsMint";
|
|
27118
|
+
}
|
|
27119
|
+
];
|
|
27120
|
+
"program": {
|
|
27121
|
+
"kind": "const";
|
|
27122
|
+
"value": [
|
|
27123
|
+
140,
|
|
27124
|
+
151,
|
|
27125
|
+
37,
|
|
27126
|
+
143,
|
|
27127
|
+
78,
|
|
27128
|
+
36,
|
|
27129
|
+
137,
|
|
27130
|
+
241,
|
|
27131
|
+
187,
|
|
27132
|
+
61,
|
|
27133
|
+
16,
|
|
27134
|
+
41,
|
|
27135
|
+
20,
|
|
27136
|
+
142,
|
|
27137
|
+
13,
|
|
27138
|
+
131,
|
|
27139
|
+
11,
|
|
27140
|
+
90,
|
|
27141
|
+
19,
|
|
27142
|
+
153,
|
|
27143
|
+
218,
|
|
27144
|
+
255,
|
|
27145
|
+
16,
|
|
27146
|
+
132,
|
|
27147
|
+
4,
|
|
27148
|
+
142,
|
|
27149
|
+
123,
|
|
27150
|
+
216,
|
|
27151
|
+
219,
|
|
27152
|
+
233,
|
|
27153
|
+
248,
|
|
27154
|
+
89
|
|
27155
|
+
];
|
|
27156
|
+
};
|
|
27157
|
+
};
|
|
27158
|
+
},
|
|
27159
|
+
{
|
|
27160
|
+
"name": "withdrawEscrow";
|
|
27161
|
+
"docs": [
|
|
27162
|
+
"User's withdraw escrow."
|
|
27163
|
+
];
|
|
27164
|
+
"writable": true;
|
|
27165
|
+
"pda": {
|
|
27166
|
+
"seeds": [
|
|
27167
|
+
{
|
|
27168
|
+
"kind": "const";
|
|
27169
|
+
"value": [
|
|
27170
|
+
119,
|
|
27171
|
+
105,
|
|
27172
|
+
116,
|
|
27173
|
+
104,
|
|
27174
|
+
100,
|
|
27175
|
+
114,
|
|
27176
|
+
97,
|
|
27177
|
+
119,
|
|
27178
|
+
95,
|
|
27179
|
+
101,
|
|
27180
|
+
115,
|
|
27181
|
+
99,
|
|
27182
|
+
114,
|
|
27183
|
+
111,
|
|
27184
|
+
119
|
|
27185
|
+
];
|
|
27186
|
+
},
|
|
27187
|
+
{
|
|
27188
|
+
"kind": "account";
|
|
27189
|
+
"path": "user";
|
|
27190
|
+
},
|
|
27191
|
+
{
|
|
27192
|
+
"kind": "account";
|
|
27193
|
+
"path": "lpVault";
|
|
27194
|
+
}
|
|
27195
|
+
];
|
|
27196
|
+
};
|
|
27197
|
+
},
|
|
27198
|
+
{
|
|
27199
|
+
"name": "escrowAssetsAccount";
|
|
27200
|
+
"docs": [
|
|
27201
|
+
"Escrow's asset token account (source of assets)."
|
|
27202
|
+
];
|
|
27203
|
+
"writable": true;
|
|
27204
|
+
"relations": [
|
|
27205
|
+
"withdrawEscrow"
|
|
27206
|
+
];
|
|
27207
|
+
},
|
|
27208
|
+
{
|
|
27209
|
+
"name": "escrowSharesAccount";
|
|
27210
|
+
"docs": [
|
|
27211
|
+
"Escrow's share token account (shares to burn)."
|
|
27212
|
+
];
|
|
27213
|
+
"writable": true;
|
|
27214
|
+
"relations": [
|
|
27215
|
+
"withdrawEscrow"
|
|
27216
|
+
];
|
|
27217
|
+
},
|
|
27218
|
+
{
|
|
27219
|
+
"name": "withdrawReceipt";
|
|
27220
|
+
"docs": [
|
|
27221
|
+
"User's withdraw receipt."
|
|
27222
|
+
];
|
|
27223
|
+
"writable": true;
|
|
27224
|
+
"pda": {
|
|
27225
|
+
"seeds": [
|
|
27226
|
+
{
|
|
27227
|
+
"kind": "const";
|
|
27228
|
+
"value": [
|
|
27229
|
+
119,
|
|
27230
|
+
105,
|
|
27231
|
+
116,
|
|
27232
|
+
104,
|
|
27233
|
+
100,
|
|
27234
|
+
114,
|
|
27235
|
+
97,
|
|
27236
|
+
119,
|
|
27237
|
+
95,
|
|
27238
|
+
114,
|
|
27239
|
+
101,
|
|
27240
|
+
99,
|
|
27241
|
+
101,
|
|
27242
|
+
105,
|
|
27243
|
+
112,
|
|
27244
|
+
116
|
|
27245
|
+
];
|
|
27246
|
+
},
|
|
27247
|
+
{
|
|
27248
|
+
"kind": "account";
|
|
27249
|
+
"path": "user";
|
|
27250
|
+
},
|
|
27251
|
+
{
|
|
27252
|
+
"kind": "account";
|
|
27253
|
+
"path": "lpVault";
|
|
27254
|
+
}
|
|
27255
|
+
];
|
|
27256
|
+
};
|
|
27257
|
+
},
|
|
27258
|
+
{
|
|
27259
|
+
"name": "systemProgram";
|
|
27260
|
+
"docs": [
|
|
27261
|
+
"System program."
|
|
27262
|
+
];
|
|
27263
|
+
"address": "11111111111111111111111111111111";
|
|
27264
|
+
},
|
|
27265
|
+
{
|
|
27266
|
+
"name": "tokenProgram";
|
|
27267
|
+
"docs": [
|
|
27268
|
+
"Token program."
|
|
27269
|
+
];
|
|
27270
|
+
},
|
|
27271
|
+
{
|
|
27272
|
+
"name": "associatedTokenProgram";
|
|
27273
|
+
"docs": [
|
|
27274
|
+
"Associated token program."
|
|
27275
|
+
];
|
|
27276
|
+
"address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL";
|
|
27277
|
+
}
|
|
27278
|
+
];
|
|
27279
|
+
"args": [];
|
|
27280
|
+
},
|
|
27281
|
+
{
|
|
27282
|
+
"name": "deposit";
|
|
27283
|
+
"docs": [
|
|
27284
|
+
"Deposit assets and receive shares instantly.",
|
|
27285
|
+
"Requires NAV to be fresh (within nav_max_staleness)."
|
|
27286
|
+
];
|
|
27287
|
+
"discriminator": [
|
|
27288
|
+
242,
|
|
27289
|
+
35,
|
|
27290
|
+
198,
|
|
27291
|
+
137,
|
|
27292
|
+
82,
|
|
27293
|
+
225,
|
|
27294
|
+
242,
|
|
27295
|
+
182
|
|
27296
|
+
];
|
|
27297
|
+
"accounts": [
|
|
27298
|
+
{
|
|
27299
|
+
"name": "user";
|
|
27300
|
+
"docs": [
|
|
27301
|
+
"User depositing into the vault."
|
|
27302
|
+
];
|
|
27303
|
+
"writable": true;
|
|
27304
|
+
"signer": true;
|
|
27305
|
+
},
|
|
27306
|
+
{
|
|
27307
|
+
"name": "lpVault";
|
|
27308
|
+
"docs": [
|
|
27309
|
+
"LpVault to deposit into."
|
|
27310
|
+
];
|
|
27311
|
+
"writable": true;
|
|
27312
|
+
"relations": [
|
|
27313
|
+
"withdrawalPolicy"
|
|
27314
|
+
];
|
|
27315
|
+
},
|
|
27316
|
+
{
|
|
27317
|
+
"name": "withdrawalPolicy";
|
|
27318
|
+
"docs": [
|
|
27319
|
+
"Withdrawal policy for net capacity accounting. Deposits offset usage."
|
|
27320
|
+
];
|
|
27321
|
+
"writable": true;
|
|
27322
|
+
"pda": {
|
|
27323
|
+
"seeds": [
|
|
27324
|
+
{
|
|
27325
|
+
"kind": "const";
|
|
27326
|
+
"value": [
|
|
27327
|
+
119,
|
|
27328
|
+
105,
|
|
27329
|
+
116,
|
|
27330
|
+
104,
|
|
27331
|
+
100,
|
|
27332
|
+
114,
|
|
27333
|
+
97,
|
|
27334
|
+
119,
|
|
27335
|
+
97,
|
|
27336
|
+
108,
|
|
27337
|
+
95,
|
|
27338
|
+
112,
|
|
27339
|
+
111,
|
|
27340
|
+
108,
|
|
27341
|
+
105,
|
|
27342
|
+
99,
|
|
27343
|
+
121
|
|
27344
|
+
];
|
|
27345
|
+
},
|
|
27346
|
+
{
|
|
27347
|
+
"kind": "account";
|
|
27348
|
+
"path": "lpVault";
|
|
27349
|
+
}
|
|
27350
|
+
];
|
|
27351
|
+
};
|
|
27352
|
+
},
|
|
27353
|
+
{
|
|
27354
|
+
"name": "assetsAccount";
|
|
27355
|
+
"docs": [
|
|
27356
|
+
"Token account for vault assets."
|
|
27357
|
+
];
|
|
27358
|
+
"writable": true;
|
|
27359
|
+
"relations": [
|
|
27360
|
+
"lpVault"
|
|
27361
|
+
];
|
|
27362
|
+
},
|
|
27363
|
+
{
|
|
27364
|
+
"name": "userAssetAta";
|
|
27365
|
+
"docs": [
|
|
27366
|
+
"User's asset token account (source of deposit)."
|
|
27367
|
+
];
|
|
27368
|
+
"writable": true;
|
|
27369
|
+
"pda": {
|
|
27370
|
+
"seeds": [
|
|
27371
|
+
{
|
|
27372
|
+
"kind": "account";
|
|
27373
|
+
"path": "user";
|
|
27374
|
+
},
|
|
27375
|
+
{
|
|
27376
|
+
"kind": "account";
|
|
27377
|
+
"path": "tokenProgram";
|
|
27378
|
+
},
|
|
27379
|
+
{
|
|
27380
|
+
"kind": "account";
|
|
27381
|
+
"path": "assetsMint";
|
|
27382
|
+
}
|
|
27383
|
+
];
|
|
27384
|
+
"program": {
|
|
27385
|
+
"kind": "const";
|
|
27386
|
+
"value": [
|
|
27387
|
+
140,
|
|
27388
|
+
151,
|
|
27389
|
+
37,
|
|
27390
|
+
143,
|
|
27391
|
+
78,
|
|
27392
|
+
36,
|
|
27393
|
+
137,
|
|
27394
|
+
241,
|
|
27395
|
+
187,
|
|
27396
|
+
61,
|
|
27397
|
+
16,
|
|
27398
|
+
41,
|
|
27399
|
+
20,
|
|
27400
|
+
142,
|
|
27401
|
+
13,
|
|
27402
|
+
131,
|
|
27403
|
+
11,
|
|
27404
|
+
90,
|
|
27405
|
+
19,
|
|
27406
|
+
153,
|
|
27407
|
+
218,
|
|
27408
|
+
255,
|
|
27409
|
+
16,
|
|
27410
|
+
132,
|
|
27411
|
+
4,
|
|
27412
|
+
142,
|
|
27413
|
+
123,
|
|
27414
|
+
216,
|
|
27415
|
+
219,
|
|
27416
|
+
233,
|
|
27417
|
+
248,
|
|
27418
|
+
89
|
|
27419
|
+
];
|
|
27420
|
+
};
|
|
27421
|
+
};
|
|
27422
|
+
},
|
|
27423
|
+
{
|
|
27424
|
+
"name": "userShareAta";
|
|
27425
|
+
"docs": [
|
|
27426
|
+
"User's share token account (destination for minted shares)."
|
|
27427
|
+
];
|
|
27428
|
+
"writable": true;
|
|
27429
|
+
"pda": {
|
|
27430
|
+
"seeds": [
|
|
27431
|
+
{
|
|
27432
|
+
"kind": "account";
|
|
27433
|
+
"path": "user";
|
|
27434
|
+
},
|
|
27435
|
+
{
|
|
27436
|
+
"kind": "account";
|
|
27437
|
+
"path": "tokenProgram";
|
|
27438
|
+
},
|
|
27439
|
+
{
|
|
27440
|
+
"kind": "account";
|
|
27441
|
+
"path": "sharesMint";
|
|
27442
|
+
}
|
|
27443
|
+
];
|
|
27444
|
+
"program": {
|
|
27445
|
+
"kind": "const";
|
|
27446
|
+
"value": [
|
|
27447
|
+
140,
|
|
27448
|
+
151,
|
|
27449
|
+
37,
|
|
27450
|
+
143,
|
|
27451
|
+
78,
|
|
27452
|
+
36,
|
|
27453
|
+
137,
|
|
27454
|
+
241,
|
|
27455
|
+
187,
|
|
27456
|
+
61,
|
|
27457
|
+
16,
|
|
27458
|
+
41,
|
|
27459
|
+
20,
|
|
27460
|
+
142,
|
|
27461
|
+
13,
|
|
27462
|
+
131,
|
|
27463
|
+
11,
|
|
27464
|
+
90,
|
|
27465
|
+
19,
|
|
27466
|
+
153,
|
|
27467
|
+
218,
|
|
27468
|
+
255,
|
|
27469
|
+
16,
|
|
27470
|
+
132,
|
|
27471
|
+
4,
|
|
27472
|
+
142,
|
|
27473
|
+
123,
|
|
27474
|
+
216,
|
|
27475
|
+
219,
|
|
27476
|
+
233,
|
|
27477
|
+
248,
|
|
27478
|
+
89
|
|
27479
|
+
];
|
|
27480
|
+
};
|
|
27481
|
+
};
|
|
27482
|
+
},
|
|
27483
|
+
{
|
|
27484
|
+
"name": "depositReceipt";
|
|
27485
|
+
"docs": [
|
|
27486
|
+
"Deposit receipt account",
|
|
27487
|
+
"Derived from user pubkey and lp_vault pubkey."
|
|
27488
|
+
];
|
|
27489
|
+
"writable": true;
|
|
27490
|
+
"pda": {
|
|
27491
|
+
"seeds": [
|
|
27492
|
+
{
|
|
27493
|
+
"kind": "const";
|
|
27494
|
+
"value": [
|
|
27495
|
+
100,
|
|
27496
|
+
101,
|
|
27497
|
+
112,
|
|
27498
|
+
111,
|
|
27499
|
+
115,
|
|
27500
|
+
105,
|
|
27501
|
+
116,
|
|
27502
|
+
95,
|
|
27503
|
+
114,
|
|
27504
|
+
101,
|
|
27505
|
+
99,
|
|
27506
|
+
101,
|
|
27507
|
+
105,
|
|
27508
|
+
112,
|
|
27509
|
+
116
|
|
27510
|
+
];
|
|
27511
|
+
},
|
|
27512
|
+
{
|
|
27513
|
+
"kind": "account";
|
|
27514
|
+
"path": "user";
|
|
27515
|
+
},
|
|
27516
|
+
{
|
|
27517
|
+
"kind": "account";
|
|
27518
|
+
"path": "lpVault";
|
|
27519
|
+
}
|
|
27520
|
+
];
|
|
27521
|
+
};
|
|
27522
|
+
},
|
|
27523
|
+
{
|
|
27524
|
+
"name": "assetsMint";
|
|
27525
|
+
"docs": [
|
|
27526
|
+
"Mint of the vault assets."
|
|
27527
|
+
];
|
|
27528
|
+
"relations": [
|
|
27529
|
+
"lpVault"
|
|
27530
|
+
];
|
|
27531
|
+
},
|
|
27532
|
+
{
|
|
27533
|
+
"name": "sharesMint";
|
|
27534
|
+
"docs": [
|
|
27535
|
+
"Mint for vault shares."
|
|
27536
|
+
];
|
|
27537
|
+
"writable": true;
|
|
27538
|
+
"relations": [
|
|
27539
|
+
"lpVault"
|
|
27540
|
+
];
|
|
27541
|
+
},
|
|
27542
|
+
{
|
|
27543
|
+
"name": "systemProgram";
|
|
27544
|
+
"docs": [
|
|
27545
|
+
"System program."
|
|
27546
|
+
];
|
|
27547
|
+
"address": "11111111111111111111111111111111";
|
|
27548
|
+
},
|
|
27549
|
+
{
|
|
27550
|
+
"name": "tokenProgram";
|
|
27551
|
+
"docs": [
|
|
27552
|
+
"Token program."
|
|
27553
|
+
];
|
|
27554
|
+
},
|
|
27555
|
+
{
|
|
27556
|
+
"name": "associatedTokenProgram";
|
|
27557
|
+
"docs": [
|
|
27558
|
+
"Associated token program."
|
|
27559
|
+
];
|
|
27560
|
+
"address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL";
|
|
27561
|
+
}
|
|
27562
|
+
];
|
|
27563
|
+
"args": [
|
|
27564
|
+
{
|
|
27565
|
+
"name": "amount";
|
|
27566
|
+
"type": "u64";
|
|
27567
|
+
}
|
|
27568
|
+
];
|
|
27569
|
+
},
|
|
27570
|
+
{
|
|
27571
|
+
"name": "fulfillWithdrawal";
|
|
27572
|
+
"docs": [
|
|
27573
|
+
"Fulfill pending withdrawals by transferring assets to user's escrow.",
|
|
27574
|
+
"Called by keeper when liquidity is available."
|
|
27575
|
+
];
|
|
27576
|
+
"discriminator": [
|
|
27577
|
+
57,
|
|
27578
|
+
37,
|
|
27579
|
+
123,
|
|
27580
|
+
221,
|
|
27581
|
+
103,
|
|
27582
|
+
93,
|
|
27583
|
+
162,
|
|
27584
|
+
176
|
|
27585
|
+
];
|
|
27586
|
+
"accounts": [
|
|
27587
|
+
{
|
|
27588
|
+
"name": "signer";
|
|
27589
|
+
"docs": [
|
|
27590
|
+
"Keeper signer. Must be the vault's fund_authority or keeper_authority."
|
|
27591
|
+
];
|
|
27592
|
+
"writable": true;
|
|
27593
|
+
"signer": true;
|
|
27594
|
+
},
|
|
27595
|
+
{
|
|
27596
|
+
"name": "user";
|
|
27597
|
+
},
|
|
27598
|
+
{
|
|
27599
|
+
"name": "lpVault";
|
|
27600
|
+
"docs": [
|
|
27601
|
+
"LpVault."
|
|
27602
|
+
];
|
|
27603
|
+
"writable": true;
|
|
27604
|
+
"relations": [
|
|
27605
|
+
"withdrawalPolicy"
|
|
27606
|
+
];
|
|
27607
|
+
},
|
|
27608
|
+
{
|
|
27609
|
+
"name": "withdrawalPolicy";
|
|
27610
|
+
"docs": [
|
|
27611
|
+
"Withdrawal policy used to retain the configured base-asset fee."
|
|
27612
|
+
];
|
|
27613
|
+
"writable": true;
|
|
27614
|
+
"pda": {
|
|
27615
|
+
"seeds": [
|
|
27616
|
+
{
|
|
27617
|
+
"kind": "const";
|
|
27618
|
+
"value": [
|
|
27619
|
+
119,
|
|
27620
|
+
105,
|
|
27621
|
+
116,
|
|
27622
|
+
104,
|
|
27623
|
+
100,
|
|
27624
|
+
114,
|
|
27625
|
+
97,
|
|
27626
|
+
119,
|
|
27627
|
+
97,
|
|
27628
|
+
108,
|
|
27629
|
+
95,
|
|
27630
|
+
112,
|
|
27631
|
+
111,
|
|
27632
|
+
108,
|
|
27633
|
+
105,
|
|
27634
|
+
99,
|
|
27635
|
+
121
|
|
27636
|
+
];
|
|
27637
|
+
},
|
|
27638
|
+
{
|
|
27639
|
+
"kind": "account";
|
|
27640
|
+
"path": "lpVault";
|
|
27641
|
+
}
|
|
27642
|
+
];
|
|
27643
|
+
};
|
|
27644
|
+
},
|
|
27645
|
+
{
|
|
27646
|
+
"name": "assetsAccount";
|
|
27647
|
+
"docs": [
|
|
27648
|
+
"Vault's asset token account."
|
|
27649
|
+
];
|
|
27650
|
+
"writable": true;
|
|
27651
|
+
"relations": [
|
|
27652
|
+
"lpVault"
|
|
27653
|
+
];
|
|
27654
|
+
},
|
|
27655
|
+
{
|
|
27656
|
+
"name": "assetsMint";
|
|
27657
|
+
"docs": [
|
|
27658
|
+
"Mint of the vault assets."
|
|
27659
|
+
];
|
|
27660
|
+
"relations": [
|
|
27661
|
+
"lpVault"
|
|
27662
|
+
];
|
|
27663
|
+
},
|
|
27664
|
+
{
|
|
27665
|
+
"name": "sharesMint";
|
|
27666
|
+
"docs": [
|
|
27667
|
+
"Mint for vault shares."
|
|
27668
|
+
];
|
|
27669
|
+
"relations": [
|
|
27670
|
+
"lpVault"
|
|
27671
|
+
];
|
|
27672
|
+
},
|
|
27673
|
+
{
|
|
27674
|
+
"name": "withdrawEscrow";
|
|
27675
|
+
"docs": [
|
|
27676
|
+
"User's withdraw escrow."
|
|
27677
|
+
];
|
|
27678
|
+
"pda": {
|
|
27679
|
+
"seeds": [
|
|
27680
|
+
{
|
|
27681
|
+
"kind": "const";
|
|
27682
|
+
"value": [
|
|
27683
|
+
119,
|
|
27684
|
+
105,
|
|
27685
|
+
116,
|
|
27686
|
+
104,
|
|
27687
|
+
100,
|
|
27688
|
+
114,
|
|
27689
|
+
97,
|
|
27690
|
+
119,
|
|
27691
|
+
95,
|
|
27692
|
+
101,
|
|
27693
|
+
115,
|
|
27694
|
+
99,
|
|
27695
|
+
114,
|
|
27696
|
+
111,
|
|
27697
|
+
119
|
|
27698
|
+
];
|
|
27699
|
+
},
|
|
27700
|
+
{
|
|
27701
|
+
"kind": "account";
|
|
27702
|
+
"path": "user";
|
|
27703
|
+
},
|
|
27704
|
+
{
|
|
27705
|
+
"kind": "account";
|
|
27706
|
+
"path": "lpVault";
|
|
27707
|
+
}
|
|
27708
|
+
];
|
|
27709
|
+
};
|
|
27710
|
+
},
|
|
27711
|
+
{
|
|
27712
|
+
"name": "escrowAssetsAccount";
|
|
27713
|
+
"docs": [
|
|
27714
|
+
"Escrow's asset token account (destination for assets)."
|
|
27715
|
+
];
|
|
27716
|
+
"writable": true;
|
|
27717
|
+
"relations": [
|
|
27718
|
+
"withdrawEscrow"
|
|
27719
|
+
];
|
|
27720
|
+
},
|
|
27721
|
+
{
|
|
27722
|
+
"name": "withdrawReceipt";
|
|
27723
|
+
"docs": [
|
|
27724
|
+
"User's withdraw receipt."
|
|
27725
|
+
];
|
|
27726
|
+
"writable": true;
|
|
27727
|
+
"pda": {
|
|
27728
|
+
"seeds": [
|
|
27729
|
+
{
|
|
27730
|
+
"kind": "const";
|
|
27731
|
+
"value": [
|
|
27732
|
+
119,
|
|
27733
|
+
105,
|
|
27734
|
+
116,
|
|
27735
|
+
104,
|
|
27736
|
+
100,
|
|
27737
|
+
114,
|
|
27738
|
+
97,
|
|
27739
|
+
119,
|
|
27740
|
+
95,
|
|
27741
|
+
114,
|
|
27742
|
+
101,
|
|
27743
|
+
99,
|
|
27744
|
+
101,
|
|
27745
|
+
105,
|
|
27746
|
+
112,
|
|
27747
|
+
116
|
|
27748
|
+
];
|
|
27749
|
+
},
|
|
27750
|
+
{
|
|
27751
|
+
"kind": "account";
|
|
27752
|
+
"path": "user";
|
|
27753
|
+
},
|
|
27754
|
+
{
|
|
27755
|
+
"kind": "account";
|
|
27756
|
+
"path": "lpVault";
|
|
27757
|
+
}
|
|
27758
|
+
];
|
|
27759
|
+
};
|
|
27760
|
+
},
|
|
27761
|
+
{
|
|
27762
|
+
"name": "tokenProgram";
|
|
27763
|
+
"docs": [
|
|
27764
|
+
"Token program."
|
|
27765
|
+
];
|
|
27766
|
+
}
|
|
27767
|
+
];
|
|
27768
|
+
"args": [];
|
|
27769
|
+
},
|
|
27770
|
+
{
|
|
27771
|
+
"name": "initGlobalConfig";
|
|
27772
|
+
"discriminator": [
|
|
27773
|
+
140,
|
|
27774
|
+
136,
|
|
27775
|
+
214,
|
|
27776
|
+
48,
|
|
27777
|
+
87,
|
|
27778
|
+
0,
|
|
27779
|
+
120,
|
|
27780
|
+
255
|
|
27781
|
+
];
|
|
27782
|
+
"accounts": [
|
|
27783
|
+
{
|
|
27784
|
+
"name": "signer";
|
|
27785
|
+
"docs": [
|
|
27786
|
+
"Signer initializing the GlobalConfig. MUST be the program's",
|
|
27787
|
+
"BPFLoaderUpgradeable upgrade authority (proven by the constraints on",
|
|
27788
|
+
"`program` + `program_data` below). Becomes the super_admin; the only",
|
|
27789
|
+
"later rotation path is `update_admin_authorities`, which is likewise",
|
|
27790
|
+
"gated on the upgrade authority. On a fresh deploy, call init BEFORE",
|
|
27791
|
+
"finalizing the program (a finalized/`--final` program has no upgrade",
|
|
27792
|
+
"authority → init AND rotation impossible) and while a plain deployer",
|
|
27793
|
+
"keypair (not a multisig PDA) still holds it."
|
|
27794
|
+
];
|
|
27795
|
+
"writable": true;
|
|
27796
|
+
"signer": true;
|
|
27797
|
+
},
|
|
27798
|
+
{
|
|
27799
|
+
"name": "globalConfig";
|
|
27800
|
+
"docs": [
|
|
27801
|
+
"Global config account. Derived with a single str."
|
|
27802
|
+
];
|
|
27803
|
+
"writable": true;
|
|
27804
|
+
"pda": {
|
|
27805
|
+
"seeds": [
|
|
27806
|
+
{
|
|
27807
|
+
"kind": "const";
|
|
27808
|
+
"value": [
|
|
27809
|
+
103,
|
|
27810
|
+
108,
|
|
27811
|
+
111,
|
|
27812
|
+
98,
|
|
27813
|
+
97,
|
|
27814
|
+
108,
|
|
27815
|
+
95,
|
|
27816
|
+
99,
|
|
27817
|
+
111,
|
|
27818
|
+
110,
|
|
27819
|
+
102,
|
|
27820
|
+
105,
|
|
27821
|
+
103
|
|
27822
|
+
];
|
|
27823
|
+
}
|
|
27824
|
+
];
|
|
27825
|
+
};
|
|
27826
|
+
},
|
|
27827
|
+
{
|
|
27828
|
+
"name": "program";
|
|
27829
|
+
"docs": [
|
|
27830
|
+
"This program's own account; ties `program_data` to this program so the",
|
|
27831
|
+
"upgrade-authority check below cannot be satisfied with an unrelated",
|
|
27832
|
+
"program's ProgramData."
|
|
27833
|
+
];
|
|
27834
|
+
"address": "GaMmanX9i4jGmqDZZD2tbD6B2v9p21btenPneMXnTczV";
|
|
27835
|
+
},
|
|
27836
|
+
{
|
|
27837
|
+
"name": "programData";
|
|
27838
|
+
"docs": [
|
|
27839
|
+
"ProgramData account holding the program's upgrade authority. Gate: the",
|
|
27840
|
+
"signer must equal the upgrade authority. `programdata_address()` returns",
|
|
27841
|
+
"`Ok(None)` for a non-upgradeable load and a revoked authority is `None`,",
|
|
27842
|
+
"so a `None` on either side fails closed."
|
|
27843
|
+
];
|
|
27844
|
+
},
|
|
27845
|
+
{
|
|
27846
|
+
"name": "systemProgram";
|
|
27847
|
+
"docs": [
|
|
27848
|
+
"System program."
|
|
27849
|
+
];
|
|
27850
|
+
"address": "11111111111111111111111111111111";
|
|
27851
|
+
}
|
|
27852
|
+
];
|
|
27853
|
+
"args": [
|
|
27854
|
+
{
|
|
27855
|
+
"name": "createAuthority";
|
|
27856
|
+
"type": "pubkey";
|
|
27857
|
+
}
|
|
27858
|
+
];
|
|
27859
|
+
},
|
|
27860
|
+
{
|
|
27861
|
+
"name": "initLpVault";
|
|
27862
|
+
"discriminator": [
|
|
27863
|
+
40,
|
|
27864
|
+
247,
|
|
27865
|
+
24,
|
|
27866
|
+
8,
|
|
27867
|
+
152,
|
|
27868
|
+
98,
|
|
27869
|
+
18,
|
|
27870
|
+
220
|
|
27871
|
+
];
|
|
27872
|
+
"accounts": [
|
|
27873
|
+
{
|
|
27874
|
+
"name": "signer";
|
|
27875
|
+
"docs": [
|
|
27876
|
+
"User creating the vault."
|
|
27877
|
+
];
|
|
27878
|
+
"writable": true;
|
|
27879
|
+
"signer": true;
|
|
27880
|
+
},
|
|
27881
|
+
{
|
|
27882
|
+
"name": "lpVault";
|
|
27883
|
+
"docs": [
|
|
27884
|
+
"Lp vault being created."
|
|
27885
|
+
];
|
|
27886
|
+
"writable": true;
|
|
27887
|
+
"pda": {
|
|
27888
|
+
"seeds": [
|
|
27889
|
+
{
|
|
27890
|
+
"kind": "arg";
|
|
27891
|
+
"path": "vaultName";
|
|
27892
|
+
},
|
|
27893
|
+
{
|
|
27894
|
+
"kind": "const";
|
|
27895
|
+
"value": [
|
|
27896
|
+
118,
|
|
27897
|
+
97,
|
|
27898
|
+
117,
|
|
27899
|
+
108,
|
|
27900
|
+
116
|
|
27901
|
+
];
|
|
27902
|
+
},
|
|
27903
|
+
{
|
|
27904
|
+
"kind": "account";
|
|
27905
|
+
"path": "assetsMint";
|
|
27906
|
+
}
|
|
27907
|
+
];
|
|
27908
|
+
};
|
|
27909
|
+
},
|
|
27910
|
+
{
|
|
27911
|
+
"name": "globalConfig";
|
|
27912
|
+
"pda": {
|
|
27913
|
+
"seeds": [
|
|
27914
|
+
{
|
|
27915
|
+
"kind": "const";
|
|
27916
|
+
"value": [
|
|
27917
|
+
103,
|
|
27918
|
+
108,
|
|
27919
|
+
111,
|
|
27920
|
+
98,
|
|
27921
|
+
97,
|
|
27922
|
+
108,
|
|
27923
|
+
95,
|
|
27924
|
+
99,
|
|
27925
|
+
111,
|
|
27926
|
+
110,
|
|
27927
|
+
102,
|
|
27928
|
+
105,
|
|
27929
|
+
103
|
|
27930
|
+
];
|
|
27931
|
+
}
|
|
27932
|
+
];
|
|
27933
|
+
};
|
|
27934
|
+
},
|
|
27935
|
+
{
|
|
27936
|
+
"name": "sharesMint";
|
|
27937
|
+
"docs": [
|
|
27938
|
+
"Mint for shares, minted on deposit."
|
|
27939
|
+
];
|
|
27940
|
+
"writable": true;
|
|
27941
|
+
"pda": {
|
|
27942
|
+
"seeds": [
|
|
27943
|
+
{
|
|
27944
|
+
"kind": "const";
|
|
27945
|
+
"value": [
|
|
27946
|
+
115,
|
|
27947
|
+
104,
|
|
27948
|
+
97,
|
|
27949
|
+
114,
|
|
27950
|
+
101,
|
|
27951
|
+
115
|
|
27952
|
+
];
|
|
27953
|
+
},
|
|
27954
|
+
{
|
|
27955
|
+
"kind": "account";
|
|
27956
|
+
"path": "lpVault";
|
|
27957
|
+
}
|
|
27958
|
+
];
|
|
27959
|
+
};
|
|
27960
|
+
},
|
|
27961
|
+
{
|
|
27962
|
+
"name": "assetsMint";
|
|
27963
|
+
"docs": [
|
|
27964
|
+
"Mint of the assets, USDC, maybe configurable."
|
|
27965
|
+
];
|
|
27966
|
+
},
|
|
27967
|
+
{
|
|
27968
|
+
"name": "assetsAccount";
|
|
27969
|
+
"docs": [
|
|
27970
|
+
"Token account for main asset."
|
|
27971
|
+
];
|
|
27972
|
+
"writable": true;
|
|
27973
|
+
"pda": {
|
|
27974
|
+
"seeds": [
|
|
27975
|
+
{
|
|
27976
|
+
"kind": "const";
|
|
27977
|
+
"value": [
|
|
27978
|
+
109,
|
|
27979
|
+
97,
|
|
27980
|
+
105,
|
|
27981
|
+
110,
|
|
27982
|
+
95,
|
|
27983
|
+
97,
|
|
27984
|
+
115,
|
|
27985
|
+
115,
|
|
27986
|
+
101,
|
|
27987
|
+
116,
|
|
27988
|
+
115
|
|
27989
|
+
];
|
|
27990
|
+
},
|
|
27991
|
+
{
|
|
27992
|
+
"kind": "account";
|
|
27993
|
+
"path": "lpVault";
|
|
27994
|
+
}
|
|
27995
|
+
];
|
|
27996
|
+
};
|
|
27997
|
+
},
|
|
27998
|
+
{
|
|
27999
|
+
"name": "pendingSharesAccount";
|
|
28000
|
+
"docs": [
|
|
28001
|
+
"Token account where shares are held during queued (illiquid) withdrawals."
|
|
28002
|
+
];
|
|
28003
|
+
"writable": true;
|
|
28004
|
+
"pda": {
|
|
28005
|
+
"seeds": [
|
|
28006
|
+
{
|
|
28007
|
+
"kind": "const";
|
|
28008
|
+
"value": [
|
|
28009
|
+
112,
|
|
28010
|
+
101,
|
|
28011
|
+
110,
|
|
28012
|
+
100,
|
|
28013
|
+
105,
|
|
28014
|
+
110,
|
|
28015
|
+
103,
|
|
28016
|
+
95,
|
|
28017
|
+
115,
|
|
28018
|
+
104,
|
|
28019
|
+
97,
|
|
28020
|
+
114,
|
|
28021
|
+
101,
|
|
28022
|
+
115
|
|
28023
|
+
];
|
|
28024
|
+
},
|
|
28025
|
+
{
|
|
28026
|
+
"kind": "account";
|
|
28027
|
+
"path": "lpVault";
|
|
28028
|
+
}
|
|
28029
|
+
];
|
|
28030
|
+
};
|
|
28031
|
+
},
|
|
28032
|
+
{
|
|
28033
|
+
"name": "withdrawalPolicy";
|
|
28034
|
+
"docs": [
|
|
28035
|
+
"Withdrawal policy PDA for retained fees and net outflow caps."
|
|
28036
|
+
];
|
|
28037
|
+
"writable": true;
|
|
28038
|
+
"pda": {
|
|
28039
|
+
"seeds": [
|
|
28040
|
+
{
|
|
28041
|
+
"kind": "const";
|
|
28042
|
+
"value": [
|
|
28043
|
+
119,
|
|
28044
|
+
105,
|
|
28045
|
+
116,
|
|
28046
|
+
104,
|
|
28047
|
+
100,
|
|
28048
|
+
114,
|
|
28049
|
+
97,
|
|
28050
|
+
119,
|
|
28051
|
+
97,
|
|
28052
|
+
108,
|
|
28053
|
+
95,
|
|
28054
|
+
112,
|
|
28055
|
+
111,
|
|
28056
|
+
108,
|
|
28057
|
+
105,
|
|
28058
|
+
99,
|
|
28059
|
+
121
|
|
28060
|
+
];
|
|
28061
|
+
},
|
|
28062
|
+
{
|
|
28063
|
+
"kind": "account";
|
|
28064
|
+
"path": "lpVault";
|
|
28065
|
+
}
|
|
28066
|
+
];
|
|
28067
|
+
};
|
|
28068
|
+
},
|
|
28069
|
+
{
|
|
28070
|
+
"name": "feeRecipientAccount";
|
|
28071
|
+
"docs": [
|
|
28072
|
+
"Optional fee recipient token account (shares mint).",
|
|
28073
|
+
"Required when initializing with performance_fee_bps > 0."
|
|
28074
|
+
];
|
|
28075
|
+
"optional": true;
|
|
28076
|
+
},
|
|
28077
|
+
{
|
|
28078
|
+
"name": "systemProgram";
|
|
28079
|
+
"docs": [
|
|
28080
|
+
"System program."
|
|
28081
|
+
];
|
|
28082
|
+
"address": "11111111111111111111111111111111";
|
|
28083
|
+
},
|
|
28084
|
+
{
|
|
28085
|
+
"name": "tokenProgram";
|
|
28086
|
+
"docs": [
|
|
28087
|
+
"Can either be spl-token or token-2022."
|
|
28088
|
+
];
|
|
28089
|
+
}
|
|
28090
|
+
];
|
|
28091
|
+
"args": [
|
|
28092
|
+
{
|
|
28093
|
+
"name": "fundAuthority";
|
|
28094
|
+
"type": "pubkey";
|
|
28095
|
+
},
|
|
28096
|
+
{
|
|
28097
|
+
"name": "navMaxStaleness";
|
|
28098
|
+
"type": "u64";
|
|
28099
|
+
},
|
|
28100
|
+
{
|
|
28101
|
+
"name": "vaultName";
|
|
28102
|
+
"type": "string";
|
|
28103
|
+
},
|
|
28104
|
+
{
|
|
28105
|
+
"name": "decimals";
|
|
28106
|
+
"type": "u8";
|
|
28107
|
+
},
|
|
28108
|
+
{
|
|
28109
|
+
"name": "performanceFeeBps";
|
|
28110
|
+
"type": "u16";
|
|
28111
|
+
},
|
|
28112
|
+
{
|
|
28113
|
+
"name": "assessmentIntervalSecs";
|
|
28114
|
+
"type": "i64";
|
|
28115
|
+
},
|
|
28116
|
+
{
|
|
28117
|
+
"name": "keeperAuthority";
|
|
28118
|
+
"type": {
|
|
28119
|
+
"option": "pubkey";
|
|
28120
|
+
};
|
|
28121
|
+
}
|
|
28122
|
+
];
|
|
28123
|
+
},
|
|
28124
|
+
{
|
|
28125
|
+
"name": "setFeeConfig";
|
|
28126
|
+
"docs": [
|
|
28127
|
+
"Configure or disable performance fee settings."
|
|
28128
|
+
];
|
|
28129
|
+
"discriminator": [
|
|
28130
|
+
221,
|
|
28131
|
+
222,
|
|
28132
|
+
52,
|
|
28133
|
+
206,
|
|
28134
|
+
114,
|
|
28135
|
+
198,
|
|
28136
|
+
64,
|
|
28137
|
+
91
|
|
28138
|
+
];
|
|
28139
|
+
"accounts": [
|
|
28140
|
+
{
|
|
28141
|
+
"name": "fundAuthority";
|
|
28142
|
+
"docs": [
|
|
28143
|
+
"Operator / fund authority."
|
|
28144
|
+
];
|
|
28145
|
+
"signer": true;
|
|
28146
|
+
"relations": [
|
|
28147
|
+
"lpVault"
|
|
28148
|
+
];
|
|
28149
|
+
},
|
|
28150
|
+
{
|
|
28151
|
+
"name": "lpVault";
|
|
28152
|
+
"writable": true;
|
|
28153
|
+
},
|
|
28154
|
+
{
|
|
28155
|
+
"name": "sharesMint";
|
|
28156
|
+
"writable": true;
|
|
28157
|
+
"relations": [
|
|
28158
|
+
"lpVault"
|
|
28159
|
+
];
|
|
28160
|
+
},
|
|
28161
|
+
{
|
|
28162
|
+
"name": "feeRecipientAccount";
|
|
28163
|
+
"docs": [
|
|
28164
|
+
"Token account that will receive fee shares.",
|
|
28165
|
+
"Required when enabling fees (performance_fee_bps > 0) or when",
|
|
28166
|
+
"mid-window settlement is needed (accrued fees must be settled",
|
|
28167
|
+
"to the old recipient before changing config).",
|
|
28168
|
+
"Omit when disabling with no accrued fees.",
|
|
28169
|
+
"Mutable because it may be the destination of a MintTo CPI during mid-window settlement."
|
|
28170
|
+
];
|
|
28171
|
+
"writable": true;
|
|
28172
|
+
"optional": true;
|
|
28173
|
+
},
|
|
28174
|
+
{
|
|
28175
|
+
"name": "tokenProgram";
|
|
28176
|
+
}
|
|
28177
|
+
];
|
|
28178
|
+
"args": [
|
|
28179
|
+
{
|
|
28180
|
+
"name": "performanceFeeBps";
|
|
28181
|
+
"type": "u16";
|
|
28182
|
+
},
|
|
28183
|
+
{
|
|
28184
|
+
"name": "assessmentIntervalSecs";
|
|
28185
|
+
"type": "i64";
|
|
28186
|
+
}
|
|
28187
|
+
];
|
|
28188
|
+
},
|
|
28189
|
+
{
|
|
28190
|
+
"name": "setKeeperAuthority";
|
|
28191
|
+
"docs": [
|
|
28192
|
+
"Set or remove the keeper authority on a vault.",
|
|
28193
|
+
"When set, this key can call fulfill_withdrawal in addition to fund_authority."
|
|
28194
|
+
];
|
|
28195
|
+
"discriminator": [
|
|
28196
|
+
29,
|
|
28197
|
+
124,
|
|
28198
|
+
191,
|
|
28199
|
+
114,
|
|
28200
|
+
184,
|
|
28201
|
+
243,
|
|
28202
|
+
33,
|
|
28203
|
+
155
|
|
28204
|
+
];
|
|
28205
|
+
"accounts": [
|
|
28206
|
+
{
|
|
28207
|
+
"name": "fundAuthority";
|
|
28208
|
+
"docs": [
|
|
28209
|
+
"Fund authority — only they can change keeper authority."
|
|
28210
|
+
];
|
|
28211
|
+
"signer": true;
|
|
28212
|
+
"relations": [
|
|
28213
|
+
"lpVault"
|
|
28214
|
+
];
|
|
28215
|
+
},
|
|
28216
|
+
{
|
|
28217
|
+
"name": "payer";
|
|
28218
|
+
"docs": [
|
|
28219
|
+
"Payer for any reallocation rent."
|
|
28220
|
+
];
|
|
28221
|
+
"writable": true;
|
|
28222
|
+
"signer": true;
|
|
28223
|
+
},
|
|
28224
|
+
{
|
|
28225
|
+
"name": "lpVault";
|
|
28226
|
+
"writable": true;
|
|
28227
|
+
},
|
|
28228
|
+
{
|
|
28229
|
+
"name": "systemProgram";
|
|
28230
|
+
"address": "11111111111111111111111111111111";
|
|
28231
|
+
}
|
|
28232
|
+
];
|
|
28233
|
+
"args": [
|
|
28234
|
+
{
|
|
28235
|
+
"name": "keeperAuthority";
|
|
28236
|
+
"type": "pubkey";
|
|
28237
|
+
}
|
|
28238
|
+
];
|
|
28239
|
+
},
|
|
28240
|
+
{
|
|
28241
|
+
"name": "setMetadata";
|
|
28242
|
+
"discriminator": [
|
|
28243
|
+
78,
|
|
28244
|
+
157,
|
|
28245
|
+
75,
|
|
28246
|
+
242,
|
|
28247
|
+
151,
|
|
28248
|
+
20,
|
|
28249
|
+
121,
|
|
28250
|
+
144
|
|
28251
|
+
];
|
|
28252
|
+
"accounts": [
|
|
28253
|
+
{
|
|
28254
|
+
"name": "fundAuthority";
|
|
28255
|
+
"docs": [
|
|
28256
|
+
"Fund authority - only they can set metadata."
|
|
28257
|
+
];
|
|
28258
|
+
"writable": true;
|
|
28259
|
+
"signer": true;
|
|
28260
|
+
"relations": [
|
|
28261
|
+
"lpVault"
|
|
28262
|
+
];
|
|
28263
|
+
},
|
|
28264
|
+
{
|
|
28265
|
+
"name": "lpVault";
|
|
28266
|
+
"docs": [
|
|
28267
|
+
"LpVault that owns the shares_mint."
|
|
28268
|
+
];
|
|
28269
|
+
},
|
|
28270
|
+
{
|
|
28271
|
+
"name": "sharesMint";
|
|
28272
|
+
"docs": [
|
|
28273
|
+
"Shares mint for which we're setting metadata."
|
|
28274
|
+
];
|
|
28275
|
+
"writable": true;
|
|
28276
|
+
"relations": [
|
|
28277
|
+
"lpVault"
|
|
28278
|
+
];
|
|
28279
|
+
},
|
|
28280
|
+
{
|
|
28281
|
+
"name": "metadataAccount";
|
|
28282
|
+
"docs": [
|
|
28283
|
+
"Seeds: [\"metadata\", token_metadata_program_id, mint]"
|
|
28284
|
+
];
|
|
28285
|
+
"writable": true;
|
|
28286
|
+
"pda": {
|
|
28287
|
+
"seeds": [
|
|
28288
|
+
{
|
|
28289
|
+
"kind": "const";
|
|
28290
|
+
"value": [
|
|
28291
|
+
109,
|
|
28292
|
+
101,
|
|
28293
|
+
116,
|
|
28294
|
+
97,
|
|
28295
|
+
100,
|
|
28296
|
+
97,
|
|
28297
|
+
116,
|
|
28298
|
+
97
|
|
28299
|
+
];
|
|
28300
|
+
},
|
|
28301
|
+
{
|
|
28302
|
+
"kind": "const";
|
|
28303
|
+
"value": [
|
|
28304
|
+
11,
|
|
28305
|
+
112,
|
|
28306
|
+
101,
|
|
28307
|
+
177,
|
|
28308
|
+
227,
|
|
28309
|
+
209,
|
|
28310
|
+
124,
|
|
28311
|
+
69,
|
|
28312
|
+
56,
|
|
28313
|
+
157,
|
|
28314
|
+
82,
|
|
28315
|
+
127,
|
|
28316
|
+
107,
|
|
28317
|
+
4,
|
|
28318
|
+
195,
|
|
28319
|
+
205,
|
|
28320
|
+
88,
|
|
28321
|
+
184,
|
|
28322
|
+
108,
|
|
28323
|
+
115,
|
|
28324
|
+
26,
|
|
28325
|
+
160,
|
|
28326
|
+
253,
|
|
28327
|
+
181,
|
|
28328
|
+
73,
|
|
28329
|
+
182,
|
|
28330
|
+
209,
|
|
28331
|
+
188,
|
|
28332
|
+
3,
|
|
28333
|
+
248,
|
|
28334
|
+
41,
|
|
28335
|
+
70
|
|
28336
|
+
];
|
|
28337
|
+
},
|
|
28338
|
+
{
|
|
28339
|
+
"kind": "account";
|
|
28340
|
+
"path": "sharesMint";
|
|
28341
|
+
}
|
|
28342
|
+
];
|
|
28343
|
+
"program": {
|
|
28344
|
+
"kind": "const";
|
|
28345
|
+
"value": [
|
|
28346
|
+
11,
|
|
28347
|
+
112,
|
|
28348
|
+
101,
|
|
28349
|
+
177,
|
|
28350
|
+
227,
|
|
28351
|
+
209,
|
|
28352
|
+
124,
|
|
28353
|
+
69,
|
|
28354
|
+
56,
|
|
28355
|
+
157,
|
|
28356
|
+
82,
|
|
28357
|
+
127,
|
|
28358
|
+
107,
|
|
28359
|
+
4,
|
|
28360
|
+
195,
|
|
28361
|
+
205,
|
|
28362
|
+
88,
|
|
28363
|
+
184,
|
|
28364
|
+
108,
|
|
28365
|
+
115,
|
|
28366
|
+
26,
|
|
28367
|
+
160,
|
|
28368
|
+
253,
|
|
28369
|
+
181,
|
|
28370
|
+
73,
|
|
28371
|
+
182,
|
|
28372
|
+
209,
|
|
28373
|
+
188,
|
|
28374
|
+
3,
|
|
28375
|
+
248,
|
|
28376
|
+
41,
|
|
28377
|
+
70
|
|
28378
|
+
];
|
|
28379
|
+
};
|
|
28380
|
+
};
|
|
28381
|
+
},
|
|
28382
|
+
{
|
|
28383
|
+
"name": "tokenMetadataProgram";
|
|
28384
|
+
"address": "metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s";
|
|
28385
|
+
},
|
|
28386
|
+
{
|
|
28387
|
+
"name": "systemProgram";
|
|
28388
|
+
"docs": [
|
|
28389
|
+
"System program."
|
|
28390
|
+
];
|
|
28391
|
+
"address": "11111111111111111111111111111111";
|
|
28392
|
+
},
|
|
28393
|
+
{
|
|
28394
|
+
"name": "rent";
|
|
28395
|
+
"docs": [
|
|
28396
|
+
"Rent sysvar."
|
|
28397
|
+
];
|
|
28398
|
+
"address": "SysvarRent111111111111111111111111111111111";
|
|
28399
|
+
}
|
|
28400
|
+
];
|
|
28401
|
+
"args": [
|
|
28402
|
+
{
|
|
28403
|
+
"name": "name";
|
|
28404
|
+
"type": "string";
|
|
28405
|
+
},
|
|
28406
|
+
{
|
|
28407
|
+
"name": "symbol";
|
|
28408
|
+
"type": "string";
|
|
28409
|
+
},
|
|
28410
|
+
{
|
|
28411
|
+
"name": "uri";
|
|
28412
|
+
"type": "string";
|
|
28413
|
+
}
|
|
28414
|
+
];
|
|
28415
|
+
},
|
|
28416
|
+
{
|
|
28417
|
+
"name": "setWithdrawalPolicy";
|
|
28418
|
+
"docs": [
|
|
28419
|
+
"Configure retained withdrawal fees and net withdrawal caps."
|
|
28420
|
+
];
|
|
28421
|
+
"discriminator": [
|
|
28422
|
+
3,
|
|
28423
|
+
223,
|
|
28424
|
+
67,
|
|
28425
|
+
81,
|
|
28426
|
+
69,
|
|
28427
|
+
30,
|
|
28428
|
+
203,
|
|
28429
|
+
150
|
|
28430
|
+
];
|
|
28431
|
+
"accounts": [
|
|
28432
|
+
{
|
|
28433
|
+
"name": "fundAuthority";
|
|
28434
|
+
"docs": [
|
|
28435
|
+
"Fund authority for the vault."
|
|
28436
|
+
];
|
|
28437
|
+
"signer": true;
|
|
28438
|
+
"relations": [
|
|
28439
|
+
"lpVault"
|
|
28440
|
+
];
|
|
28441
|
+
},
|
|
28442
|
+
{
|
|
28443
|
+
"name": "payer";
|
|
28444
|
+
"docs": [
|
|
28445
|
+
"Payer for creating the policy account on existing vaults."
|
|
28446
|
+
];
|
|
28447
|
+
"writable": true;
|
|
28448
|
+
"signer": true;
|
|
28449
|
+
},
|
|
28450
|
+
{
|
|
28451
|
+
"name": "lpVault";
|
|
28452
|
+
},
|
|
28453
|
+
{
|
|
28454
|
+
"name": "withdrawalPolicy";
|
|
28455
|
+
"writable": true;
|
|
28456
|
+
"pda": {
|
|
28457
|
+
"seeds": [
|
|
28458
|
+
{
|
|
28459
|
+
"kind": "const";
|
|
28460
|
+
"value": [
|
|
28461
|
+
119,
|
|
28462
|
+
105,
|
|
28463
|
+
116,
|
|
28464
|
+
104,
|
|
28465
|
+
100,
|
|
28466
|
+
114,
|
|
28467
|
+
97,
|
|
28468
|
+
119,
|
|
28469
|
+
97,
|
|
28470
|
+
108,
|
|
28471
|
+
95,
|
|
28472
|
+
112,
|
|
28473
|
+
111,
|
|
28474
|
+
108,
|
|
28475
|
+
105,
|
|
28476
|
+
99,
|
|
28477
|
+
121
|
|
28478
|
+
];
|
|
28479
|
+
},
|
|
28480
|
+
{
|
|
28481
|
+
"kind": "account";
|
|
28482
|
+
"path": "lpVault";
|
|
28483
|
+
}
|
|
28484
|
+
];
|
|
28485
|
+
};
|
|
28486
|
+
},
|
|
28487
|
+
{
|
|
28488
|
+
"name": "systemProgram";
|
|
28489
|
+
"address": "11111111111111111111111111111111";
|
|
28490
|
+
}
|
|
28491
|
+
];
|
|
28492
|
+
"args": [
|
|
28493
|
+
{
|
|
28494
|
+
"name": "withdrawalFeeBps";
|
|
28495
|
+
"type": "u16";
|
|
28496
|
+
},
|
|
28497
|
+
{
|
|
28498
|
+
"name": "hourlyWithdrawalCapBps";
|
|
28499
|
+
"type": "u16";
|
|
28500
|
+
},
|
|
28501
|
+
{
|
|
28502
|
+
"name": "dailyWithdrawalCapBps";
|
|
28503
|
+
"type": "u16";
|
|
28504
|
+
}
|
|
28505
|
+
];
|
|
28506
|
+
},
|
|
28507
|
+
{
|
|
28508
|
+
"name": "updateAdminAuthorities";
|
|
28509
|
+
"docs": [
|
|
28510
|
+
"Rotate super_admin, create_authority, and permissioned_creation",
|
|
28511
|
+
"atomically. Recovery instruction gated on the program's",
|
|
28512
|
+
"BPFLoaderUpgradeable upgrade authority (NOT the current super_admin),",
|
|
28513
|
+
"so a compromised or lost super_admin can be replaced."
|
|
28514
|
+
];
|
|
28515
|
+
"discriminator": [
|
|
28516
|
+
41,
|
|
28517
|
+
241,
|
|
28518
|
+
142,
|
|
28519
|
+
184,
|
|
28520
|
+
75,
|
|
28521
|
+
212,
|
|
28522
|
+
72,
|
|
28523
|
+
171
|
|
28524
|
+
];
|
|
28525
|
+
"accounts": [
|
|
28526
|
+
{
|
|
28527
|
+
"name": "signer";
|
|
28528
|
+
"docs": [
|
|
28529
|
+
"Signer rotating the authorities. MUST be the program's",
|
|
28530
|
+
"BPFLoaderUpgradeable upgrade authority (proven by the constraints on",
|
|
28531
|
+
"`program` + `program_data` below)."
|
|
28532
|
+
];
|
|
28533
|
+
"signer": true;
|
|
28534
|
+
},
|
|
28535
|
+
{
|
|
28536
|
+
"name": "globalConfig";
|
|
28537
|
+
"docs": [
|
|
28538
|
+
"The global config account being rotated. Unique in the program.",
|
|
28539
|
+
"Deliberately no `has_one = super_admin`: see the struct docs."
|
|
28540
|
+
];
|
|
28541
|
+
"writable": true;
|
|
28542
|
+
"pda": {
|
|
28543
|
+
"seeds": [
|
|
28544
|
+
{
|
|
28545
|
+
"kind": "const";
|
|
28546
|
+
"value": [
|
|
28547
|
+
103,
|
|
28548
|
+
108,
|
|
28549
|
+
111,
|
|
28550
|
+
98,
|
|
28551
|
+
97,
|
|
28552
|
+
108,
|
|
28553
|
+
95,
|
|
28554
|
+
99,
|
|
28555
|
+
111,
|
|
28556
|
+
110,
|
|
28557
|
+
102,
|
|
28558
|
+
105,
|
|
28559
|
+
103
|
|
28560
|
+
];
|
|
28561
|
+
}
|
|
28562
|
+
];
|
|
28563
|
+
};
|
|
28564
|
+
},
|
|
28565
|
+
{
|
|
28566
|
+
"name": "program";
|
|
28567
|
+
"docs": [
|
|
28568
|
+
"This program's own account; ties `program_data` to this program so the",
|
|
28569
|
+
"upgrade-authority check below cannot be satisfied with an unrelated",
|
|
28570
|
+
"program's ProgramData."
|
|
28571
|
+
];
|
|
28572
|
+
"address": "GaMmanX9i4jGmqDZZD2tbD6B2v9p21btenPneMXnTczV";
|
|
28573
|
+
},
|
|
28574
|
+
{
|
|
28575
|
+
"name": "programData";
|
|
28576
|
+
"docs": [
|
|
28577
|
+
"ProgramData account holding the program's upgrade authority. Gate: the",
|
|
28578
|
+
"signer must equal the upgrade authority. `programdata_address()` returns",
|
|
28579
|
+
"`Ok(None)` for a non-upgradeable load and a revoked authority is `None`,",
|
|
28580
|
+
"so a `None` on either side fails closed."
|
|
28581
|
+
];
|
|
28582
|
+
}
|
|
28583
|
+
];
|
|
28584
|
+
"args": [
|
|
28585
|
+
{
|
|
28586
|
+
"name": "newSuperAdmin";
|
|
28587
|
+
"type": "pubkey";
|
|
28588
|
+
},
|
|
28589
|
+
{
|
|
28590
|
+
"name": "newCreateAuthority";
|
|
28591
|
+
"type": "pubkey";
|
|
28592
|
+
},
|
|
28593
|
+
{
|
|
28594
|
+
"name": "newPermissionedCreation";
|
|
28595
|
+
"type": "bool";
|
|
28596
|
+
}
|
|
28597
|
+
];
|
|
28598
|
+
},
|
|
28599
|
+
{
|
|
28600
|
+
"name": "updateGlobalConfig";
|
|
28601
|
+
"discriminator": [
|
|
28602
|
+
164,
|
|
28603
|
+
84,
|
|
28604
|
+
130,
|
|
28605
|
+
189,
|
|
28606
|
+
111,
|
|
28607
|
+
58,
|
|
28608
|
+
250,
|
|
28609
|
+
200
|
|
28610
|
+
];
|
|
28611
|
+
"accounts": [
|
|
28612
|
+
{
|
|
28613
|
+
"name": "superAdmin";
|
|
28614
|
+
"docs": [
|
|
28615
|
+
"The signer must be the global_config super_admin."
|
|
28616
|
+
];
|
|
28617
|
+
"writable": true;
|
|
28618
|
+
"signer": true;
|
|
28619
|
+
"relations": [
|
|
28620
|
+
"globalConfig"
|
|
28621
|
+
];
|
|
28622
|
+
},
|
|
28623
|
+
{
|
|
28624
|
+
"name": "globalConfig";
|
|
28625
|
+
"docs": [
|
|
28626
|
+
"The global config account. Unique in the program."
|
|
28627
|
+
];
|
|
28628
|
+
"writable": true;
|
|
28629
|
+
"pda": {
|
|
28630
|
+
"seeds": [
|
|
28631
|
+
{
|
|
28632
|
+
"kind": "const";
|
|
28633
|
+
"value": [
|
|
28634
|
+
103,
|
|
28635
|
+
108,
|
|
28636
|
+
111,
|
|
28637
|
+
98,
|
|
28638
|
+
97,
|
|
28639
|
+
108,
|
|
28640
|
+
95,
|
|
28641
|
+
99,
|
|
28642
|
+
111,
|
|
28643
|
+
110,
|
|
28644
|
+
102,
|
|
28645
|
+
105,
|
|
28646
|
+
103
|
|
28647
|
+
];
|
|
28648
|
+
}
|
|
28649
|
+
];
|
|
28650
|
+
};
|
|
28651
|
+
}
|
|
28652
|
+
];
|
|
28653
|
+
"args": [
|
|
28654
|
+
{
|
|
28655
|
+
"name": "newCreateAuthority";
|
|
28656
|
+
"type": "pubkey";
|
|
28657
|
+
},
|
|
28658
|
+
{
|
|
28659
|
+
"name": "isCreationPermissioned";
|
|
28660
|
+
"type": "bool";
|
|
28661
|
+
}
|
|
28662
|
+
];
|
|
28663
|
+
},
|
|
28664
|
+
{
|
|
28665
|
+
"name": "updateNav";
|
|
28666
|
+
"docs": [
|
|
28667
|
+
"Update the vault's NAV. Called by fund_authority (operator)."
|
|
28668
|
+
];
|
|
28669
|
+
"discriminator": [
|
|
28670
|
+
56,
|
|
28671
|
+
16,
|
|
28672
|
+
234,
|
|
28673
|
+
109,
|
|
28674
|
+
155,
|
|
28675
|
+
165,
|
|
28676
|
+
5,
|
|
28677
|
+
0
|
|
28678
|
+
];
|
|
28679
|
+
"accounts": [
|
|
28680
|
+
{
|
|
28681
|
+
"name": "fundAuthority";
|
|
28682
|
+
"docs": [
|
|
28683
|
+
"Fund authority - only they can update NAV."
|
|
28684
|
+
];
|
|
28685
|
+
"signer": true;
|
|
28686
|
+
"relations": [
|
|
28687
|
+
"lpVault"
|
|
28688
|
+
];
|
|
28689
|
+
},
|
|
28690
|
+
{
|
|
28691
|
+
"name": "lpVault";
|
|
28692
|
+
"writable": true;
|
|
28693
|
+
},
|
|
28694
|
+
{
|
|
28695
|
+
"name": "sharesMint";
|
|
28696
|
+
"relations": [
|
|
28697
|
+
"lpVault"
|
|
28698
|
+
];
|
|
28699
|
+
}
|
|
28700
|
+
];
|
|
28701
|
+
"args": [
|
|
28702
|
+
{
|
|
28703
|
+
"name": "newNav";
|
|
28704
|
+
"type": "u64";
|
|
28705
|
+
}
|
|
28706
|
+
];
|
|
28707
|
+
},
|
|
28708
|
+
{
|
|
28709
|
+
"name": "updateNavMaxStaleness";
|
|
28710
|
+
"docs": [
|
|
28711
|
+
"Update the NAV max staleness window on a vault."
|
|
28712
|
+
];
|
|
28713
|
+
"discriminator": [
|
|
28714
|
+
212,
|
|
28715
|
+
225,
|
|
28716
|
+
120,
|
|
28717
|
+
109,
|
|
28718
|
+
83,
|
|
28719
|
+
96,
|
|
28720
|
+
40,
|
|
28721
|
+
17
|
|
28722
|
+
];
|
|
28723
|
+
"accounts": [
|
|
28724
|
+
{
|
|
28725
|
+
"name": "fundAuthority";
|
|
28726
|
+
"docs": [
|
|
28727
|
+
"Fund authority — only they can change vault config."
|
|
28728
|
+
];
|
|
28729
|
+
"signer": true;
|
|
28730
|
+
"relations": [
|
|
28731
|
+
"lpVault"
|
|
28732
|
+
];
|
|
28733
|
+
},
|
|
28734
|
+
{
|
|
28735
|
+
"name": "lpVault";
|
|
28736
|
+
"writable": true;
|
|
28737
|
+
}
|
|
28738
|
+
];
|
|
28739
|
+
"args": [
|
|
28740
|
+
{
|
|
28741
|
+
"name": "navMaxStaleness";
|
|
28742
|
+
"type": "u64";
|
|
28743
|
+
}
|
|
28744
|
+
];
|
|
28745
|
+
},
|
|
28746
|
+
{
|
|
28747
|
+
"name": "withdraw";
|
|
28748
|
+
"docs": [
|
|
28749
|
+
"Withdraw shares for assets.",
|
|
28750
|
+
"If vault has sufficient liquidity: instant withdrawal.",
|
|
28751
|
+
"If illiquid: creates WithdrawReceipt, shares go to pending account."
|
|
28752
|
+
];
|
|
28753
|
+
"discriminator": [
|
|
28754
|
+
183,
|
|
28755
|
+
18,
|
|
28756
|
+
70,
|
|
28757
|
+
156,
|
|
28758
|
+
148,
|
|
28759
|
+
109,
|
|
28760
|
+
161,
|
|
28761
|
+
34
|
|
28762
|
+
];
|
|
28763
|
+
"accounts": [
|
|
28764
|
+
{
|
|
28765
|
+
"name": "user";
|
|
28766
|
+
"docs": [
|
|
28767
|
+
"User withdrawing from the vault."
|
|
28768
|
+
];
|
|
28769
|
+
"writable": true;
|
|
28770
|
+
"signer": true;
|
|
28771
|
+
},
|
|
28772
|
+
{
|
|
28773
|
+
"name": "lpVault";
|
|
28774
|
+
"docs": [
|
|
28775
|
+
"LpVault to withdraw from."
|
|
28776
|
+
];
|
|
28777
|
+
"writable": true;
|
|
28778
|
+
"relations": [
|
|
28779
|
+
"withdrawalPolicy"
|
|
28780
|
+
];
|
|
28781
|
+
},
|
|
28782
|
+
{
|
|
28783
|
+
"name": "withdrawalPolicy";
|
|
28784
|
+
"docs": [
|
|
28785
|
+
"Withdrawal policy for retained asset fees and net withdrawal caps."
|
|
28786
|
+
];
|
|
28787
|
+
"writable": true;
|
|
28788
|
+
"pda": {
|
|
28789
|
+
"seeds": [
|
|
28790
|
+
{
|
|
28791
|
+
"kind": "const";
|
|
28792
|
+
"value": [
|
|
28793
|
+
119,
|
|
28794
|
+
105,
|
|
28795
|
+
116,
|
|
28796
|
+
104,
|
|
28797
|
+
100,
|
|
28798
|
+
114,
|
|
28799
|
+
97,
|
|
28800
|
+
119,
|
|
28801
|
+
97,
|
|
28802
|
+
108,
|
|
28803
|
+
95,
|
|
28804
|
+
112,
|
|
28805
|
+
111,
|
|
28806
|
+
108,
|
|
28807
|
+
105,
|
|
28808
|
+
99,
|
|
28809
|
+
121
|
|
28810
|
+
];
|
|
28811
|
+
},
|
|
28812
|
+
{
|
|
28813
|
+
"kind": "account";
|
|
28814
|
+
"path": "lpVault";
|
|
28815
|
+
}
|
|
28816
|
+
];
|
|
28817
|
+
};
|
|
28818
|
+
},
|
|
28819
|
+
{
|
|
28820
|
+
"name": "assetsAccount";
|
|
28821
|
+
"docs": [
|
|
28822
|
+
"Token account for vault assets."
|
|
28823
|
+
];
|
|
28824
|
+
"writable": true;
|
|
28825
|
+
"relations": [
|
|
28826
|
+
"lpVault"
|
|
28827
|
+
];
|
|
28828
|
+
},
|
|
28829
|
+
{
|
|
28830
|
+
"name": "userShareAta";
|
|
28831
|
+
"docs": [
|
|
28832
|
+
"User's share token account (source of shares)."
|
|
28833
|
+
];
|
|
28834
|
+
"writable": true;
|
|
28835
|
+
"pda": {
|
|
28836
|
+
"seeds": [
|
|
28837
|
+
{
|
|
28838
|
+
"kind": "account";
|
|
28839
|
+
"path": "user";
|
|
28840
|
+
},
|
|
28841
|
+
{
|
|
28842
|
+
"kind": "account";
|
|
28843
|
+
"path": "tokenProgram";
|
|
28844
|
+
},
|
|
28845
|
+
{
|
|
28846
|
+
"kind": "account";
|
|
28847
|
+
"path": "sharesMint";
|
|
28848
|
+
}
|
|
28849
|
+
];
|
|
28850
|
+
"program": {
|
|
28851
|
+
"kind": "const";
|
|
28852
|
+
"value": [
|
|
28853
|
+
140,
|
|
28854
|
+
151,
|
|
28855
|
+
37,
|
|
28856
|
+
143,
|
|
28857
|
+
78,
|
|
28858
|
+
36,
|
|
28859
|
+
137,
|
|
28860
|
+
241,
|
|
28861
|
+
187,
|
|
28862
|
+
61,
|
|
28863
|
+
16,
|
|
28864
|
+
41,
|
|
28865
|
+
20,
|
|
28866
|
+
142,
|
|
28867
|
+
13,
|
|
28868
|
+
131,
|
|
28869
|
+
11,
|
|
28870
|
+
90,
|
|
28871
|
+
19,
|
|
28872
|
+
153,
|
|
28873
|
+
218,
|
|
28874
|
+
255,
|
|
28875
|
+
16,
|
|
28876
|
+
132,
|
|
28877
|
+
4,
|
|
28878
|
+
142,
|
|
28879
|
+
123,
|
|
28880
|
+
216,
|
|
28881
|
+
219,
|
|
28882
|
+
233,
|
|
28883
|
+
248,
|
|
28884
|
+
89
|
|
28885
|
+
];
|
|
28886
|
+
};
|
|
28887
|
+
};
|
|
28888
|
+
},
|
|
28889
|
+
{
|
|
28890
|
+
"name": "assetsMint";
|
|
28891
|
+
"docs": [
|
|
28892
|
+
"Mint of the vault assets."
|
|
28893
|
+
];
|
|
28894
|
+
"relations": [
|
|
28895
|
+
"lpVault"
|
|
28896
|
+
];
|
|
28897
|
+
},
|
|
28898
|
+
{
|
|
28899
|
+
"name": "sharesMint";
|
|
28900
|
+
"docs": [
|
|
28901
|
+
"Mint for vault shares (mutable for fee mint CPI)."
|
|
28902
|
+
];
|
|
28903
|
+
"writable": true;
|
|
28904
|
+
"relations": [
|
|
28905
|
+
"lpVault"
|
|
28906
|
+
];
|
|
28907
|
+
},
|
|
28908
|
+
{
|
|
28909
|
+
"name": "feeRecipientAccount";
|
|
28910
|
+
"docs": [
|
|
28911
|
+
"Token account that receives fee shares on withdrawal.",
|
|
28912
|
+
"Required when `has_fee_config()` is true; omit otherwise.",
|
|
28913
|
+
"Mutable because it is the destination of a MintTo CPI."
|
|
28914
|
+
];
|
|
28915
|
+
"writable": true;
|
|
28916
|
+
"optional": true;
|
|
28917
|
+
},
|
|
28918
|
+
{
|
|
28919
|
+
"name": "withdrawEscrow";
|
|
28920
|
+
"docs": [
|
|
28921
|
+
"Withdraw escrow - holds assets and shares until user claims."
|
|
28922
|
+
];
|
|
28923
|
+
"writable": true;
|
|
28924
|
+
"pda": {
|
|
28925
|
+
"seeds": [
|
|
28926
|
+
{
|
|
28927
|
+
"kind": "const";
|
|
28928
|
+
"value": [
|
|
28929
|
+
119,
|
|
28930
|
+
105,
|
|
28931
|
+
116,
|
|
28932
|
+
104,
|
|
28933
|
+
100,
|
|
28934
|
+
114,
|
|
28935
|
+
97,
|
|
28936
|
+
119,
|
|
28937
|
+
95,
|
|
28938
|
+
101,
|
|
28939
|
+
115,
|
|
28940
|
+
99,
|
|
28941
|
+
114,
|
|
28942
|
+
111,
|
|
28943
|
+
119
|
|
28944
|
+
];
|
|
28945
|
+
},
|
|
28946
|
+
{
|
|
28947
|
+
"kind": "account";
|
|
28948
|
+
"path": "user";
|
|
28949
|
+
},
|
|
28950
|
+
{
|
|
28951
|
+
"kind": "account";
|
|
28952
|
+
"path": "lpVault";
|
|
28953
|
+
}
|
|
28954
|
+
];
|
|
28955
|
+
};
|
|
28956
|
+
},
|
|
28957
|
+
{
|
|
28958
|
+
"name": "escrowAssetsAccount";
|
|
28959
|
+
"docs": [
|
|
28960
|
+
"Escrow's asset token account (holds USDC for user to claim)."
|
|
28961
|
+
];
|
|
28962
|
+
"writable": true;
|
|
28963
|
+
"pda": {
|
|
28964
|
+
"seeds": [
|
|
28965
|
+
{
|
|
28966
|
+
"kind": "account";
|
|
28967
|
+
"path": "withdrawEscrow";
|
|
28968
|
+
},
|
|
28969
|
+
{
|
|
28970
|
+
"kind": "account";
|
|
28971
|
+
"path": "tokenProgram";
|
|
28972
|
+
},
|
|
28973
|
+
{
|
|
28974
|
+
"kind": "account";
|
|
28975
|
+
"path": "assetsMint";
|
|
28976
|
+
}
|
|
28977
|
+
];
|
|
28978
|
+
"program": {
|
|
28979
|
+
"kind": "const";
|
|
28980
|
+
"value": [
|
|
28981
|
+
140,
|
|
28982
|
+
151,
|
|
28983
|
+
37,
|
|
28984
|
+
143,
|
|
28985
|
+
78,
|
|
28986
|
+
36,
|
|
28987
|
+
137,
|
|
28988
|
+
241,
|
|
28989
|
+
187,
|
|
28990
|
+
61,
|
|
28991
|
+
16,
|
|
28992
|
+
41,
|
|
28993
|
+
20,
|
|
28994
|
+
142,
|
|
28995
|
+
13,
|
|
28996
|
+
131,
|
|
28997
|
+
11,
|
|
28998
|
+
90,
|
|
28999
|
+
19,
|
|
29000
|
+
153,
|
|
29001
|
+
218,
|
|
29002
|
+
255,
|
|
29003
|
+
16,
|
|
29004
|
+
132,
|
|
29005
|
+
4,
|
|
29006
|
+
142,
|
|
29007
|
+
123,
|
|
29008
|
+
216,
|
|
29009
|
+
219,
|
|
29010
|
+
233,
|
|
29011
|
+
248,
|
|
29012
|
+
89
|
|
29013
|
+
];
|
|
29014
|
+
};
|
|
29015
|
+
};
|
|
29016
|
+
},
|
|
29017
|
+
{
|
|
29018
|
+
"name": "escrowSharesAccount";
|
|
29019
|
+
"docs": [
|
|
29020
|
+
"Escrow's share token account (holds shares until burned on claim)."
|
|
29021
|
+
];
|
|
29022
|
+
"writable": true;
|
|
29023
|
+
"pda": {
|
|
29024
|
+
"seeds": [
|
|
29025
|
+
{
|
|
29026
|
+
"kind": "account";
|
|
29027
|
+
"path": "withdrawEscrow";
|
|
29028
|
+
},
|
|
29029
|
+
{
|
|
29030
|
+
"kind": "account";
|
|
29031
|
+
"path": "tokenProgram";
|
|
29032
|
+
},
|
|
29033
|
+
{
|
|
29034
|
+
"kind": "account";
|
|
29035
|
+
"path": "sharesMint";
|
|
29036
|
+
}
|
|
29037
|
+
];
|
|
29038
|
+
"program": {
|
|
29039
|
+
"kind": "const";
|
|
29040
|
+
"value": [
|
|
29041
|
+
140,
|
|
29042
|
+
151,
|
|
29043
|
+
37,
|
|
29044
|
+
143,
|
|
29045
|
+
78,
|
|
29046
|
+
36,
|
|
29047
|
+
137,
|
|
29048
|
+
241,
|
|
29049
|
+
187,
|
|
29050
|
+
61,
|
|
29051
|
+
16,
|
|
29052
|
+
41,
|
|
29053
|
+
20,
|
|
29054
|
+
142,
|
|
29055
|
+
13,
|
|
29056
|
+
131,
|
|
29057
|
+
11,
|
|
29058
|
+
90,
|
|
29059
|
+
19,
|
|
29060
|
+
153,
|
|
29061
|
+
218,
|
|
29062
|
+
255,
|
|
29063
|
+
16,
|
|
29064
|
+
132,
|
|
29065
|
+
4,
|
|
29066
|
+
142,
|
|
29067
|
+
123,
|
|
29068
|
+
216,
|
|
29069
|
+
219,
|
|
29070
|
+
233,
|
|
29071
|
+
248,
|
|
29072
|
+
89
|
|
29073
|
+
];
|
|
29074
|
+
};
|
|
29075
|
+
};
|
|
29076
|
+
},
|
|
29077
|
+
{
|
|
29078
|
+
"name": "withdrawReceipt";
|
|
29079
|
+
"docs": [
|
|
29080
|
+
"Withdraw receipt - tracks pending and claimable amounts (accumulates)."
|
|
29081
|
+
];
|
|
29082
|
+
"writable": true;
|
|
29083
|
+
"pda": {
|
|
29084
|
+
"seeds": [
|
|
29085
|
+
{
|
|
29086
|
+
"kind": "const";
|
|
29087
|
+
"value": [
|
|
29088
|
+
119,
|
|
29089
|
+
105,
|
|
29090
|
+
116,
|
|
29091
|
+
104,
|
|
29092
|
+
100,
|
|
29093
|
+
114,
|
|
29094
|
+
97,
|
|
29095
|
+
119,
|
|
29096
|
+
95,
|
|
29097
|
+
114,
|
|
29098
|
+
101,
|
|
29099
|
+
99,
|
|
29100
|
+
101,
|
|
29101
|
+
105,
|
|
29102
|
+
112,
|
|
29103
|
+
116
|
|
29104
|
+
];
|
|
29105
|
+
},
|
|
29106
|
+
{
|
|
29107
|
+
"kind": "account";
|
|
29108
|
+
"path": "user";
|
|
29109
|
+
},
|
|
29110
|
+
{
|
|
29111
|
+
"kind": "account";
|
|
29112
|
+
"path": "lpVault";
|
|
29113
|
+
}
|
|
29114
|
+
];
|
|
29115
|
+
};
|
|
29116
|
+
},
|
|
29117
|
+
{
|
|
29118
|
+
"name": "systemProgram";
|
|
29119
|
+
"docs": [
|
|
29120
|
+
"System program."
|
|
29121
|
+
];
|
|
29122
|
+
"address": "11111111111111111111111111111111";
|
|
29123
|
+
},
|
|
29124
|
+
{
|
|
29125
|
+
"name": "tokenProgram";
|
|
29126
|
+
"docs": [
|
|
29127
|
+
"Token program."
|
|
29128
|
+
];
|
|
29129
|
+
},
|
|
29130
|
+
{
|
|
29131
|
+
"name": "associatedTokenProgram";
|
|
29132
|
+
"docs": [
|
|
29133
|
+
"Associated token program."
|
|
29134
|
+
];
|
|
29135
|
+
"address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL";
|
|
29136
|
+
}
|
|
29137
|
+
];
|
|
29138
|
+
"args": [
|
|
29139
|
+
{
|
|
29140
|
+
"name": "sharesAmount";
|
|
29141
|
+
"type": "u64";
|
|
29142
|
+
}
|
|
29143
|
+
];
|
|
29144
|
+
},
|
|
29145
|
+
{
|
|
29146
|
+
"name": "withdrawAssets";
|
|
29147
|
+
"docs": [
|
|
29148
|
+
"Withdraw assets from vault to operator wallet for investment."
|
|
29149
|
+
];
|
|
29150
|
+
"discriminator": [
|
|
29151
|
+
202,
|
|
29152
|
+
105,
|
|
29153
|
+
54,
|
|
29154
|
+
155,
|
|
29155
|
+
56,
|
|
29156
|
+
33,
|
|
29157
|
+
207,
|
|
29158
|
+
254
|
|
29159
|
+
];
|
|
29160
|
+
"accounts": [
|
|
29161
|
+
{
|
|
29162
|
+
"name": "fundAuthority";
|
|
29163
|
+
"writable": true;
|
|
29164
|
+
"signer": true;
|
|
29165
|
+
"relations": [
|
|
29166
|
+
"lpVault"
|
|
29167
|
+
];
|
|
29168
|
+
},
|
|
29169
|
+
{
|
|
29170
|
+
"name": "lpVault";
|
|
29171
|
+
},
|
|
29172
|
+
{
|
|
29173
|
+
"name": "assetsAccount";
|
|
29174
|
+
"writable": true;
|
|
29175
|
+
"relations": [
|
|
29176
|
+
"lpVault"
|
|
29177
|
+
];
|
|
29178
|
+
},
|
|
29179
|
+
{
|
|
29180
|
+
"name": "authorityAssetAta";
|
|
29181
|
+
"writable": true;
|
|
29182
|
+
"pda": {
|
|
29183
|
+
"seeds": [
|
|
29184
|
+
{
|
|
29185
|
+
"kind": "account";
|
|
29186
|
+
"path": "fundAuthority";
|
|
29187
|
+
},
|
|
29188
|
+
{
|
|
29189
|
+
"kind": "account";
|
|
29190
|
+
"path": "tokenProgram";
|
|
29191
|
+
},
|
|
29192
|
+
{
|
|
29193
|
+
"kind": "account";
|
|
29194
|
+
"path": "assetsMint";
|
|
29195
|
+
}
|
|
29196
|
+
];
|
|
29197
|
+
"program": {
|
|
29198
|
+
"kind": "const";
|
|
29199
|
+
"value": [
|
|
29200
|
+
140,
|
|
29201
|
+
151,
|
|
29202
|
+
37,
|
|
29203
|
+
143,
|
|
29204
|
+
78,
|
|
29205
|
+
36,
|
|
29206
|
+
137,
|
|
29207
|
+
241,
|
|
29208
|
+
187,
|
|
29209
|
+
61,
|
|
29210
|
+
16,
|
|
29211
|
+
41,
|
|
29212
|
+
20,
|
|
29213
|
+
142,
|
|
29214
|
+
13,
|
|
29215
|
+
131,
|
|
29216
|
+
11,
|
|
29217
|
+
90,
|
|
29218
|
+
19,
|
|
29219
|
+
153,
|
|
29220
|
+
218,
|
|
29221
|
+
255,
|
|
29222
|
+
16,
|
|
29223
|
+
132,
|
|
29224
|
+
4,
|
|
29225
|
+
142,
|
|
29226
|
+
123,
|
|
29227
|
+
216,
|
|
29228
|
+
219,
|
|
29229
|
+
233,
|
|
29230
|
+
248,
|
|
29231
|
+
89
|
|
29232
|
+
];
|
|
29233
|
+
};
|
|
29234
|
+
};
|
|
29235
|
+
},
|
|
29236
|
+
{
|
|
29237
|
+
"name": "assetsMint";
|
|
29238
|
+
"relations": [
|
|
29239
|
+
"lpVault"
|
|
29240
|
+
];
|
|
29241
|
+
},
|
|
29242
|
+
{
|
|
29243
|
+
"name": "systemProgram";
|
|
29244
|
+
"address": "11111111111111111111111111111111";
|
|
29245
|
+
},
|
|
29246
|
+
{
|
|
29247
|
+
"name": "tokenProgram";
|
|
29248
|
+
},
|
|
29249
|
+
{
|
|
29250
|
+
"name": "associatedTokenProgram";
|
|
29251
|
+
"address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL";
|
|
29252
|
+
}
|
|
29253
|
+
];
|
|
29254
|
+
"args": [
|
|
29255
|
+
{
|
|
29256
|
+
"name": "amount";
|
|
29257
|
+
"type": "u64";
|
|
29258
|
+
}
|
|
29259
|
+
];
|
|
29260
|
+
}
|
|
29261
|
+
];
|
|
29262
|
+
"accounts": [
|
|
29263
|
+
{
|
|
29264
|
+
"name": "depositReceipt";
|
|
29265
|
+
"discriminator": [
|
|
29266
|
+
64,
|
|
29267
|
+
175,
|
|
29268
|
+
24,
|
|
29269
|
+
183,
|
|
29270
|
+
138,
|
|
29271
|
+
109,
|
|
29272
|
+
70,
|
|
29273
|
+
78
|
|
29274
|
+
];
|
|
29275
|
+
},
|
|
29276
|
+
{
|
|
29277
|
+
"name": "globalConfig";
|
|
29278
|
+
"discriminator": [
|
|
29279
|
+
149,
|
|
29280
|
+
8,
|
|
29281
|
+
156,
|
|
29282
|
+
202,
|
|
29283
|
+
160,
|
|
29284
|
+
252,
|
|
29285
|
+
176,
|
|
29286
|
+
217
|
|
29287
|
+
];
|
|
29288
|
+
},
|
|
29289
|
+
{
|
|
29290
|
+
"name": "lpVault";
|
|
29291
|
+
"discriminator": [
|
|
29292
|
+
189,
|
|
29293
|
+
45,
|
|
29294
|
+
167,
|
|
29295
|
+
23,
|
|
29296
|
+
91,
|
|
29297
|
+
118,
|
|
29298
|
+
105,
|
|
29299
|
+
190
|
|
29300
|
+
];
|
|
29301
|
+
},
|
|
29302
|
+
{
|
|
29303
|
+
"name": "withdrawEscrow";
|
|
29304
|
+
"discriminator": [
|
|
29305
|
+
161,
|
|
29306
|
+
63,
|
|
29307
|
+
221,
|
|
29308
|
+
55,
|
|
29309
|
+
116,
|
|
29310
|
+
204,
|
|
29311
|
+
131,
|
|
29312
|
+
11
|
|
29313
|
+
];
|
|
29314
|
+
},
|
|
29315
|
+
{
|
|
29316
|
+
"name": "withdrawReceipt";
|
|
29317
|
+
"discriminator": [
|
|
29318
|
+
132,
|
|
29319
|
+
238,
|
|
29320
|
+
44,
|
|
29321
|
+
182,
|
|
29322
|
+
207,
|
|
29323
|
+
9,
|
|
29324
|
+
124,
|
|
29325
|
+
140
|
|
29326
|
+
];
|
|
29327
|
+
},
|
|
29328
|
+
{
|
|
29329
|
+
"name": "withdrawalPolicy";
|
|
29330
|
+
"discriminator": [
|
|
29331
|
+
52,
|
|
29332
|
+
231,
|
|
29333
|
+
68,
|
|
29334
|
+
59,
|
|
29335
|
+
247,
|
|
29336
|
+
250,
|
|
29337
|
+
119,
|
|
29338
|
+
244
|
|
29339
|
+
];
|
|
29340
|
+
}
|
|
29341
|
+
];
|
|
29342
|
+
"events": [
|
|
29343
|
+
{
|
|
29344
|
+
"name": "adminAuthoritiesUpdated";
|
|
29345
|
+
"discriminator": [
|
|
29346
|
+
1,
|
|
29347
|
+
164,
|
|
29348
|
+
87,
|
|
29349
|
+
62,
|
|
29350
|
+
157,
|
|
29351
|
+
85,
|
|
29352
|
+
1,
|
|
29353
|
+
113
|
|
29354
|
+
];
|
|
29355
|
+
},
|
|
29356
|
+
{
|
|
29357
|
+
"name": "feeConfigUpdated";
|
|
29358
|
+
"discriminator": [
|
|
29359
|
+
45,
|
|
29360
|
+
50,
|
|
29361
|
+
42,
|
|
29362
|
+
173,
|
|
29363
|
+
193,
|
|
29364
|
+
67,
|
|
29365
|
+
52,
|
|
29366
|
+
244
|
|
29367
|
+
];
|
|
29368
|
+
},
|
|
29369
|
+
{
|
|
29370
|
+
"name": "feesAssessed";
|
|
29371
|
+
"discriminator": [
|
|
29372
|
+
210,
|
|
29373
|
+
177,
|
|
29374
|
+
59,
|
|
29375
|
+
191,
|
|
29376
|
+
116,
|
|
29377
|
+
251,
|
|
29378
|
+
25,
|
|
29379
|
+
131
|
|
29380
|
+
];
|
|
29381
|
+
},
|
|
29382
|
+
{
|
|
29383
|
+
"name": "withdrawalFeeRetained";
|
|
29384
|
+
"discriminator": [
|
|
29385
|
+
105,
|
|
29386
|
+
104,
|
|
29387
|
+
190,
|
|
29388
|
+
198,
|
|
29389
|
+
168,
|
|
29390
|
+
231,
|
|
29391
|
+
18,
|
|
29392
|
+
182
|
|
29393
|
+
];
|
|
29394
|
+
},
|
|
29395
|
+
{
|
|
29396
|
+
"name": "withdrawalFeesSettled";
|
|
29397
|
+
"discriminator": [
|
|
29398
|
+
106,
|
|
29399
|
+
253,
|
|
29400
|
+
199,
|
|
29401
|
+
177,
|
|
29402
|
+
101,
|
|
29403
|
+
104,
|
|
29404
|
+
38,
|
|
29405
|
+
219
|
|
29406
|
+
];
|
|
29407
|
+
},
|
|
29408
|
+
{
|
|
29409
|
+
"name": "withdrawalPolicyUpdated";
|
|
29410
|
+
"discriminator": [
|
|
29411
|
+
252,
|
|
29412
|
+
196,
|
|
29413
|
+
144,
|
|
29414
|
+
224,
|
|
29415
|
+
210,
|
|
29416
|
+
3,
|
|
29417
|
+
71,
|
|
29418
|
+
66
|
|
29419
|
+
];
|
|
29420
|
+
}
|
|
29421
|
+
];
|
|
29422
|
+
"errors": [
|
|
29423
|
+
{
|
|
29424
|
+
"code": 6000;
|
|
29425
|
+
"name": "arithmeticError";
|
|
29426
|
+
"msg": "Arithmetic error!";
|
|
29427
|
+
},
|
|
29428
|
+
{
|
|
29429
|
+
"code": 6001;
|
|
29430
|
+
"name": "obsoleteVaultData";
|
|
29431
|
+
"msg": "LpVault data is outdated!";
|
|
29432
|
+
},
|
|
29433
|
+
{
|
|
29434
|
+
"code": 6002;
|
|
29435
|
+
"name": "staleNav";
|
|
29436
|
+
"msg": "NAV is stale - operator must update NAV before this operation!";
|
|
29437
|
+
},
|
|
29438
|
+
{
|
|
29439
|
+
"code": 6003;
|
|
29440
|
+
"name": "unauthorized";
|
|
29441
|
+
"msg": "Signer is not an authority!";
|
|
29442
|
+
},
|
|
29443
|
+
{
|
|
29444
|
+
"code": 6004;
|
|
29445
|
+
"name": "invalidMint";
|
|
29446
|
+
"msg": "Invalid mint extension!";
|
|
29447
|
+
},
|
|
29448
|
+
{
|
|
29449
|
+
"code": 6005;
|
|
29450
|
+
"name": "nameTooLong";
|
|
29451
|
+
"msg": "LP Vault name is too long!";
|
|
29452
|
+
},
|
|
29453
|
+
{
|
|
29454
|
+
"code": 6006;
|
|
29455
|
+
"name": "blockedDeposit";
|
|
29456
|
+
"msg": "Deposits are blocked - NAV is zero!";
|
|
29457
|
+
},
|
|
29458
|
+
{
|
|
29459
|
+
"code": 6007;
|
|
29460
|
+
"name": "insufficientLiquidity";
|
|
29461
|
+
"msg": "Insufficient liquid assets for instant withdrawal!";
|
|
29462
|
+
},
|
|
29463
|
+
{
|
|
29464
|
+
"code": 6008;
|
|
29465
|
+
"name": "invalidShareAmount";
|
|
29466
|
+
"msg": "Invalid share amount!";
|
|
29467
|
+
},
|
|
29468
|
+
{
|
|
29469
|
+
"code": 6009;
|
|
29470
|
+
"name": "invalidDepositAmount";
|
|
29471
|
+
"msg": "Invalid deposit amount!";
|
|
29472
|
+
},
|
|
29473
|
+
{
|
|
29474
|
+
"code": 6010;
|
|
29475
|
+
"name": "noPendingWithdrawal";
|
|
29476
|
+
"msg": "No pending withdrawal to fulfill!";
|
|
29477
|
+
},
|
|
29478
|
+
{
|
|
29479
|
+
"code": 6011;
|
|
29480
|
+
"name": "noClaimableAssets";
|
|
29481
|
+
"msg": "No claimable assets to withdraw!";
|
|
29482
|
+
},
|
|
29483
|
+
{
|
|
29484
|
+
"code": 6012;
|
|
29485
|
+
"name": "feeRecipientNotConfigured";
|
|
29486
|
+
"msg": "Fee recipient is not configured!";
|
|
29487
|
+
},
|
|
29488
|
+
{
|
|
29489
|
+
"code": 6013;
|
|
29490
|
+
"name": "invalidPerformanceFeeBps";
|
|
29491
|
+
"msg": "Invalid performance fee - must be <= MAX_PERFORMANCE_FEE_BPS!";
|
|
29492
|
+
},
|
|
29493
|
+
{
|
|
29494
|
+
"code": 6014;
|
|
29495
|
+
"name": "invalidFeeRecipient";
|
|
29496
|
+
"msg": "Invalid fee recipient account!";
|
|
29497
|
+
},
|
|
29498
|
+
{
|
|
29499
|
+
"code": 6015;
|
|
29500
|
+
"name": "assessmentTooEarly";
|
|
29501
|
+
"msg": "Assessment interval has not elapsed!";
|
|
29502
|
+
},
|
|
29503
|
+
{
|
|
29504
|
+
"code": 6016;
|
|
29505
|
+
"name": "invalidAssessmentInterval";
|
|
29506
|
+
"msg": "Invalid assessment interval!";
|
|
29507
|
+
},
|
|
29508
|
+
{
|
|
29509
|
+
"code": 6017;
|
|
29510
|
+
"name": "navUpdateTooLarge";
|
|
29511
|
+
"msg": "NAV update would change share price by more than the allowed maximum!";
|
|
29512
|
+
},
|
|
29513
|
+
{
|
|
29514
|
+
"code": 6018;
|
|
29515
|
+
"name": "invalidWithdrawalFeeBps";
|
|
29516
|
+
"msg": "Invalid withdrawal fee - must be <= MAX_WITHDRAWAL_FEE_BPS!";
|
|
29517
|
+
},
|
|
29518
|
+
{
|
|
29519
|
+
"code": 6019;
|
|
29520
|
+
"name": "invalidWithdrawalCapBps";
|
|
29521
|
+
"msg": "Invalid withdrawal cap - must be <= 10000 bps!";
|
|
29522
|
+
},
|
|
29523
|
+
{
|
|
29524
|
+
"code": 6020;
|
|
29525
|
+
"name": "hourlyWithdrawalCapExceeded";
|
|
29526
|
+
"msg": "Withdrawal exceeds hourly vault capacity!";
|
|
29527
|
+
},
|
|
29528
|
+
{
|
|
29529
|
+
"code": 6021;
|
|
29530
|
+
"name": "dailyWithdrawalCapExceeded";
|
|
29531
|
+
"msg": "Withdrawal exceeds daily vault capacity!";
|
|
29532
|
+
},
|
|
29533
|
+
{
|
|
29534
|
+
"code": 6022;
|
|
29535
|
+
"name": "invalidWithdrawalPolicy";
|
|
29536
|
+
"msg": "Invalid withdrawal policy account!";
|
|
29537
|
+
},
|
|
29538
|
+
{
|
|
29539
|
+
"code": 6023;
|
|
29540
|
+
"name": "invalidAuthority";
|
|
29541
|
+
"msg": "New authority cannot be the default (all-zeros) pubkey!";
|
|
29542
|
+
}
|
|
29543
|
+
];
|
|
29544
|
+
"types": [
|
|
29545
|
+
{
|
|
29546
|
+
"name": "adminAuthoritiesUpdated";
|
|
29547
|
+
"type": {
|
|
29548
|
+
"kind": "struct";
|
|
29549
|
+
"fields": [
|
|
29550
|
+
{
|
|
29551
|
+
"name": "oldSuperAdmin";
|
|
29552
|
+
"type": "pubkey";
|
|
29553
|
+
},
|
|
29554
|
+
{
|
|
29555
|
+
"name": "newSuperAdmin";
|
|
29556
|
+
"type": "pubkey";
|
|
29557
|
+
},
|
|
29558
|
+
{
|
|
29559
|
+
"name": "oldCreateAuthority";
|
|
29560
|
+
"type": "pubkey";
|
|
29561
|
+
},
|
|
29562
|
+
{
|
|
29563
|
+
"name": "newCreateAuthority";
|
|
29564
|
+
"type": "pubkey";
|
|
29565
|
+
},
|
|
29566
|
+
{
|
|
29567
|
+
"name": "oldPermissionedCreation";
|
|
29568
|
+
"type": "bool";
|
|
29569
|
+
},
|
|
29570
|
+
{
|
|
29571
|
+
"name": "newPermissionedCreation";
|
|
29572
|
+
"type": "bool";
|
|
29573
|
+
}
|
|
29574
|
+
];
|
|
29575
|
+
};
|
|
29576
|
+
},
|
|
29577
|
+
{
|
|
29578
|
+
"name": "depositReceipt";
|
|
29579
|
+
"type": {
|
|
29580
|
+
"kind": "struct";
|
|
29581
|
+
"fields": [
|
|
29582
|
+
{
|
|
29583
|
+
"name": "bump";
|
|
29584
|
+
"docs": [
|
|
29585
|
+
"PDA bump seed."
|
|
29586
|
+
];
|
|
29587
|
+
"type": "u8";
|
|
29588
|
+
}
|
|
29589
|
+
];
|
|
29590
|
+
};
|
|
29591
|
+
},
|
|
29592
|
+
{
|
|
29593
|
+
"name": "feeConfigUpdated";
|
|
29594
|
+
"type": {
|
|
29595
|
+
"kind": "struct";
|
|
29596
|
+
"fields": [
|
|
29597
|
+
{
|
|
29598
|
+
"name": "vault";
|
|
29599
|
+
"type": "pubkey";
|
|
29600
|
+
},
|
|
29601
|
+
{
|
|
29602
|
+
"name": "oldFeeRecipient";
|
|
29603
|
+
"type": "pubkey";
|
|
29604
|
+
},
|
|
29605
|
+
{
|
|
29606
|
+
"name": "newFeeRecipient";
|
|
29607
|
+
"type": "pubkey";
|
|
29608
|
+
},
|
|
29609
|
+
{
|
|
29610
|
+
"name": "oldFeeBps";
|
|
29611
|
+
"type": "u16";
|
|
29612
|
+
},
|
|
29613
|
+
{
|
|
29614
|
+
"name": "newFeeBps";
|
|
29615
|
+
"type": "u16";
|
|
29616
|
+
},
|
|
29617
|
+
{
|
|
29618
|
+
"name": "assessmentIntervalSecs";
|
|
29619
|
+
"type": "i64";
|
|
29620
|
+
}
|
|
29621
|
+
];
|
|
29622
|
+
};
|
|
29623
|
+
},
|
|
29624
|
+
{
|
|
29625
|
+
"name": "feesAssessed";
|
|
29626
|
+
"type": {
|
|
29627
|
+
"kind": "struct";
|
|
29628
|
+
"fields": [
|
|
29629
|
+
{
|
|
29630
|
+
"name": "vault";
|
|
29631
|
+
"type": "pubkey";
|
|
29632
|
+
},
|
|
29633
|
+
{
|
|
29634
|
+
"name": "profitAssets";
|
|
29635
|
+
"type": "u64";
|
|
29636
|
+
},
|
|
29637
|
+
{
|
|
29638
|
+
"name": "feeAssets";
|
|
29639
|
+
"type": "u64";
|
|
29640
|
+
},
|
|
29641
|
+
{
|
|
29642
|
+
"name": "feeSharesMinted";
|
|
29643
|
+
"type": "u64";
|
|
29644
|
+
},
|
|
29645
|
+
{
|
|
29646
|
+
"name": "newPps";
|
|
29647
|
+
"type": "u64";
|
|
29648
|
+
},
|
|
29649
|
+
{
|
|
29650
|
+
"name": "checkpointPps";
|
|
29651
|
+
"type": "u64";
|
|
29652
|
+
},
|
|
29653
|
+
{
|
|
29654
|
+
"name": "timestamp";
|
|
29655
|
+
"type": "i64";
|
|
29656
|
+
}
|
|
29657
|
+
];
|
|
29658
|
+
};
|
|
29659
|
+
},
|
|
29660
|
+
{
|
|
29661
|
+
"name": "globalConfig";
|
|
29662
|
+
"type": {
|
|
29663
|
+
"kind": "struct";
|
|
29664
|
+
"fields": [
|
|
29665
|
+
{
|
|
29666
|
+
"name": "superAdmin";
|
|
29667
|
+
"docs": [
|
|
29668
|
+
"Key with the ability to update the GlobalConfig. Rotatable only via",
|
|
29669
|
+
"`update_admin_authorities` (gated on the program upgrade authority)."
|
|
29670
|
+
];
|
|
29671
|
+
"type": "pubkey";
|
|
29672
|
+
},
|
|
29673
|
+
{
|
|
29674
|
+
"name": "permissionedCreation";
|
|
29675
|
+
"docs": [
|
|
29676
|
+
"When true InitializeLpVault requires create_authority to be a signer"
|
|
29677
|
+
];
|
|
29678
|
+
"type": "bool";
|
|
29679
|
+
},
|
|
29680
|
+
{
|
|
29681
|
+
"name": "createAuthority";
|
|
29682
|
+
"docs": [
|
|
29683
|
+
"The key with authority to call `InitializeLpVault`"
|
|
29684
|
+
];
|
|
29685
|
+
"type": "pubkey";
|
|
29686
|
+
},
|
|
29687
|
+
{
|
|
29688
|
+
"name": "bump";
|
|
29689
|
+
"docs": [
|
|
29690
|
+
"Bump for increased efficiency."
|
|
29691
|
+
];
|
|
29692
|
+
"type": "u8";
|
|
29693
|
+
}
|
|
29694
|
+
];
|
|
29695
|
+
};
|
|
29696
|
+
},
|
|
29697
|
+
{
|
|
29698
|
+
"name": "lpVault";
|
|
29699
|
+
"type": {
|
|
29700
|
+
"kind": "struct";
|
|
29701
|
+
"fields": [
|
|
29702
|
+
{
|
|
29703
|
+
"name": "assetsAccount";
|
|
29704
|
+
"docs": [
|
|
29705
|
+
"USDC TokenAccount where users deposit, funds agent operations."
|
|
29706
|
+
];
|
|
29707
|
+
"type": "pubkey";
|
|
29708
|
+
},
|
|
29709
|
+
{
|
|
29710
|
+
"name": "pendingSharesAccount";
|
|
29711
|
+
"docs": [
|
|
29712
|
+
"TokenAccount where shares are held during queued (illiquid) withdrawals."
|
|
29713
|
+
];
|
|
29714
|
+
"type": "pubkey";
|
|
29715
|
+
},
|
|
29716
|
+
{
|
|
29717
|
+
"name": "sharesMint";
|
|
29718
|
+
"docs": [
|
|
29719
|
+
"Derived mint (created on initialize) that represents LP tokens or shares."
|
|
29720
|
+
];
|
|
29721
|
+
"type": "pubkey";
|
|
29722
|
+
},
|
|
29723
|
+
{
|
|
29724
|
+
"name": "assetsMint";
|
|
29725
|
+
"docs": [
|
|
29726
|
+
"Mint corresponding to the asset, most of the time USDC."
|
|
29727
|
+
];
|
|
29728
|
+
"type": "pubkey";
|
|
29729
|
+
},
|
|
29730
|
+
{
|
|
29731
|
+
"name": "fundAuthority";
|
|
29732
|
+
"docs": [
|
|
29733
|
+
"Pubkey authorized to withdraw assets from assets_account and update NAV."
|
|
29734
|
+
];
|
|
29735
|
+
"type": "pubkey";
|
|
29736
|
+
},
|
|
29737
|
+
{
|
|
29738
|
+
"name": "nav";
|
|
29739
|
+
"docs": [
|
|
29740
|
+
"Current Net Asset Value (total vault value in asset decimals)."
|
|
29741
|
+
];
|
|
29742
|
+
"type": "u64";
|
|
29743
|
+
},
|
|
29744
|
+
{
|
|
29745
|
+
"name": "totalShares";
|
|
29746
|
+
"docs": [
|
|
29747
|
+
"Total shares outstanding (cached for efficiency). May temporarily diverge",
|
|
29748
|
+
"from shares_mint.supply during the escrow withdrawal flow (between",
|
|
29749
|
+
"fulfill_withdrawal and complete_withdrawal)."
|
|
29750
|
+
];
|
|
29751
|
+
"type": "u64";
|
|
29752
|
+
},
|
|
29753
|
+
{
|
|
29754
|
+
"name": "navUpdatedAt";
|
|
29755
|
+
"docs": [
|
|
29756
|
+
"Timestamp for when NAV was last updated."
|
|
29757
|
+
];
|
|
29758
|
+
"type": "i64";
|
|
29759
|
+
},
|
|
29760
|
+
{
|
|
29761
|
+
"name": "navMaxStaleness";
|
|
29762
|
+
"docs": [
|
|
29763
|
+
"Maximum NAV staleness for user operations (in seconds).",
|
|
29764
|
+
"Deposits and withdrawals fail if NAV is older than this."
|
|
29765
|
+
];
|
|
29766
|
+
"type": "u64";
|
|
29767
|
+
},
|
|
29768
|
+
{
|
|
29769
|
+
"name": "bump";
|
|
29770
|
+
"docs": [
|
|
29771
|
+
"PDA derivation bump, stored for CU saving purposes."
|
|
29772
|
+
];
|
|
29773
|
+
"type": "u8";
|
|
29774
|
+
},
|
|
29775
|
+
{
|
|
29776
|
+
"name": "vaultName";
|
|
29777
|
+
"type": "string";
|
|
29778
|
+
},
|
|
29779
|
+
{
|
|
29780
|
+
"name": "pendingWithdrawalValue";
|
|
29781
|
+
"docs": [
|
|
29782
|
+
"Total value of pending withdrawals awaiting liquidity.",
|
|
29783
|
+
"When a withdrawal cannot be fulfilled instantly due to insufficient",
|
|
29784
|
+
"liquid assets, the value is tracked here. This is approximate — the",
|
|
29785
|
+
"value recorded at withdrawal time may differ from the value at",
|
|
29786
|
+
"fulfillment time (recomputed at current NAV). Used for operator",
|
|
29787
|
+
"visibility only, not for critical calculations."
|
|
29788
|
+
];
|
|
29789
|
+
"type": "u64";
|
|
29790
|
+
},
|
|
29791
|
+
{
|
|
29792
|
+
"name": "feeRecipient";
|
|
29793
|
+
"docs": [
|
|
29794
|
+
"Shares token account that receives fee shares. Pubkey::default() = disabled."
|
|
29795
|
+
];
|
|
29796
|
+
"type": "pubkey";
|
|
29797
|
+
},
|
|
29798
|
+
{
|
|
29799
|
+
"name": "performanceFeeBps";
|
|
29800
|
+
"docs": [
|
|
29801
|
+
"Performance fee rate in basis points (2000 = 20%). 0 = disabled."
|
|
29802
|
+
];
|
|
29803
|
+
"type": "u16";
|
|
29804
|
+
},
|
|
29805
|
+
{
|
|
29806
|
+
"name": "assessmentIntervalSecs";
|
|
29807
|
+
"docs": [
|
|
29808
|
+
"How often scheduled fees are assessed (seconds). E.g., 86400 = 24h."
|
|
29809
|
+
];
|
|
29810
|
+
"type": "i64";
|
|
29811
|
+
},
|
|
29812
|
+
{
|
|
29813
|
+
"name": "lastAssessmentTimestamp";
|
|
29814
|
+
"docs": [
|
|
29815
|
+
"Unix timestamp of last fee event (scheduled or withdrawal-triggered)."
|
|
29816
|
+
];
|
|
29817
|
+
"type": "i64";
|
|
29818
|
+
},
|
|
29819
|
+
{
|
|
29820
|
+
"name": "pricePerShareAtLastAssessment";
|
|
29821
|
+
"docs": [
|
|
29822
|
+
"PPS at last fee event, scaled by PRICE_SCALE. High-water mark for fees."
|
|
29823
|
+
];
|
|
29824
|
+
"type": "u64";
|
|
29825
|
+
},
|
|
29826
|
+
{
|
|
29827
|
+
"name": "keeperAuthority";
|
|
29828
|
+
"docs": [
|
|
29829
|
+
"Optional keeper authority. When set (non-default), this key can call",
|
|
29830
|
+
"fulfill_withdrawal in addition to fund_authority. Allows the keeper",
|
|
29831
|
+
"process to use a separate key from the agent/fund_authority.",
|
|
29832
|
+
"Pubkey::default() = not set (only fund_authority can fulfill)."
|
|
29833
|
+
];
|
|
29834
|
+
"type": "pubkey";
|
|
29835
|
+
}
|
|
29836
|
+
];
|
|
29837
|
+
};
|
|
29838
|
+
},
|
|
29839
|
+
{
|
|
29840
|
+
"name": "withdrawEscrow";
|
|
29841
|
+
"docs": [
|
|
29842
|
+
"Escrow account that holds assets and shares for a pending withdrawal.",
|
|
29843
|
+
"Each user has one escrow per vault, derived as PDA from [WITHDRAW_ESCROW_SEED, user, vault]."
|
|
29844
|
+
];
|
|
29845
|
+
"type": {
|
|
29846
|
+
"kind": "struct";
|
|
29847
|
+
"fields": [
|
|
29848
|
+
{
|
|
29849
|
+
"name": "user";
|
|
29850
|
+
"docs": [
|
|
29851
|
+
"User who owns this escrow."
|
|
29852
|
+
];
|
|
29853
|
+
"type": "pubkey";
|
|
29854
|
+
},
|
|
29855
|
+
{
|
|
29856
|
+
"name": "lpVault";
|
|
29857
|
+
"docs": [
|
|
29858
|
+
"The vault this escrow is associated with."
|
|
29859
|
+
];
|
|
29860
|
+
"type": "pubkey";
|
|
29861
|
+
},
|
|
29862
|
+
{
|
|
29863
|
+
"name": "escrowAssetsAccount";
|
|
29864
|
+
"docs": [
|
|
29865
|
+
"Token account holding escrowed assets (USDC)."
|
|
29866
|
+
];
|
|
29867
|
+
"type": "pubkey";
|
|
29868
|
+
},
|
|
29869
|
+
{
|
|
29870
|
+
"name": "escrowSharesAccount";
|
|
29871
|
+
"docs": [
|
|
29872
|
+
"Token account holding escrowed shares (for burning on claim)."
|
|
29873
|
+
];
|
|
29874
|
+
"type": "pubkey";
|
|
29875
|
+
},
|
|
29876
|
+
{
|
|
29877
|
+
"name": "bump";
|
|
29878
|
+
"docs": [
|
|
29879
|
+
"PDA derivation bump."
|
|
29880
|
+
];
|
|
29881
|
+
"type": "u8";
|
|
29882
|
+
}
|
|
29883
|
+
];
|
|
29884
|
+
};
|
|
29885
|
+
},
|
|
29886
|
+
{
|
|
29887
|
+
"name": "withdrawReceipt";
|
|
29888
|
+
"type": {
|
|
29889
|
+
"kind": "struct";
|
|
29890
|
+
"fields": [
|
|
29891
|
+
{
|
|
29892
|
+
"name": "user";
|
|
29893
|
+
"docs": [
|
|
29894
|
+
"User requesting withdrawal."
|
|
29895
|
+
];
|
|
29896
|
+
"type": "pubkey";
|
|
29897
|
+
},
|
|
29898
|
+
{
|
|
29899
|
+
"name": "lpVault";
|
|
29900
|
+
"docs": [
|
|
29901
|
+
"Vault where the user has invested."
|
|
29902
|
+
];
|
|
29903
|
+
"type": "pubkey";
|
|
29904
|
+
},
|
|
29905
|
+
{
|
|
29906
|
+
"name": "pendingShares";
|
|
29907
|
+
"docs": [
|
|
29908
|
+
"Shares waiting for liquidity (keeper needs to fulfill these).",
|
|
29909
|
+
"These shares are held in the escrow_shares_account."
|
|
29910
|
+
];
|
|
29911
|
+
"type": "u64";
|
|
29912
|
+
},
|
|
29913
|
+
{
|
|
29914
|
+
"name": "claimableShares";
|
|
29915
|
+
"docs": [
|
|
29916
|
+
"Shares that have been fulfilled and are ready to claim.",
|
|
29917
|
+
"These shares are also in escrow_shares_account, waiting to be burned on claim."
|
|
29918
|
+
];
|
|
29919
|
+
"type": "u64";
|
|
29920
|
+
},
|
|
29921
|
+
{
|
|
29922
|
+
"name": "claimableAssets";
|
|
29923
|
+
"docs": [
|
|
29924
|
+
"Asset value ready to claim (held in escrow_assets_account)."
|
|
29925
|
+
];
|
|
29926
|
+
"type": "u64";
|
|
29927
|
+
},
|
|
29928
|
+
{
|
|
29929
|
+
"name": "oldestPendingAt";
|
|
29930
|
+
"docs": [
|
|
29931
|
+
"Timestamp of the earliest pending withdrawal (for NAV staleness checks)."
|
|
29932
|
+
];
|
|
29933
|
+
"type": "i64";
|
|
29934
|
+
},
|
|
29935
|
+
{
|
|
29936
|
+
"name": "bump";
|
|
29937
|
+
"docs": [
|
|
29938
|
+
"PDA derivation bump, stored for CU saving purposes."
|
|
29939
|
+
];
|
|
29940
|
+
"type": "u8";
|
|
29941
|
+
}
|
|
29942
|
+
];
|
|
29943
|
+
};
|
|
29944
|
+
},
|
|
29945
|
+
{
|
|
29946
|
+
"name": "withdrawalFeeRetained";
|
|
29947
|
+
"type": {
|
|
29948
|
+
"kind": "struct";
|
|
29949
|
+
"fields": [
|
|
29950
|
+
{
|
|
29951
|
+
"name": "vault";
|
|
29952
|
+
"type": "pubkey";
|
|
29953
|
+
},
|
|
29954
|
+
{
|
|
29955
|
+
"name": "user";
|
|
29956
|
+
"type": "pubkey";
|
|
29957
|
+
},
|
|
29958
|
+
{
|
|
29959
|
+
"name": "grossAssets";
|
|
29960
|
+
"type": "u64";
|
|
29961
|
+
},
|
|
29962
|
+
{
|
|
29963
|
+
"name": "feeAssets";
|
|
29964
|
+
"type": "u64";
|
|
29965
|
+
},
|
|
29966
|
+
{
|
|
29967
|
+
"name": "netAssets";
|
|
29968
|
+
"type": "u64";
|
|
29969
|
+
},
|
|
29970
|
+
{
|
|
29971
|
+
"name": "withdrawalFeeBps";
|
|
29972
|
+
"type": "u16";
|
|
29973
|
+
},
|
|
29974
|
+
{
|
|
29975
|
+
"name": "timestamp";
|
|
29976
|
+
"type": "i64";
|
|
29977
|
+
}
|
|
29978
|
+
];
|
|
29979
|
+
};
|
|
29980
|
+
},
|
|
29981
|
+
{
|
|
29982
|
+
"name": "withdrawalFeesSettled";
|
|
29983
|
+
"type": {
|
|
29984
|
+
"kind": "struct";
|
|
29985
|
+
"fields": [
|
|
29986
|
+
{
|
|
29987
|
+
"name": "vault";
|
|
29988
|
+
"type": "pubkey";
|
|
29989
|
+
},
|
|
29990
|
+
{
|
|
29991
|
+
"name": "user";
|
|
29992
|
+
"type": "pubkey";
|
|
29993
|
+
},
|
|
29994
|
+
{
|
|
29995
|
+
"name": "sharesWithdrawn";
|
|
29996
|
+
"type": "u64";
|
|
29997
|
+
},
|
|
29998
|
+
{
|
|
29999
|
+
"name": "assetValue";
|
|
30000
|
+
"type": "u64";
|
|
30001
|
+
},
|
|
30002
|
+
{
|
|
30003
|
+
"name": "feeSharesMinted";
|
|
30004
|
+
"type": "u64";
|
|
30005
|
+
},
|
|
30006
|
+
{
|
|
30007
|
+
"name": "prorationElapsed";
|
|
30008
|
+
"type": "i64";
|
|
30009
|
+
},
|
|
30010
|
+
{
|
|
30011
|
+
"name": "prorationInterval";
|
|
30012
|
+
"type": "i64";
|
|
30013
|
+
},
|
|
30014
|
+
{
|
|
30015
|
+
"name": "ppsAfterFees";
|
|
30016
|
+
"type": "u64";
|
|
30017
|
+
}
|
|
30018
|
+
];
|
|
30019
|
+
};
|
|
30020
|
+
},
|
|
30021
|
+
{
|
|
30022
|
+
"name": "withdrawalPolicy";
|
|
30023
|
+
"type": {
|
|
30024
|
+
"kind": "struct";
|
|
30025
|
+
"fields": [
|
|
30026
|
+
{
|
|
30027
|
+
"name": "lpVault";
|
|
30028
|
+
"docs": [
|
|
30029
|
+
"Vault this policy belongs to."
|
|
30030
|
+
];
|
|
30031
|
+
"type": "pubkey";
|
|
30032
|
+
},
|
|
30033
|
+
{
|
|
30034
|
+
"name": "withdrawalFeeBps";
|
|
30035
|
+
"docs": [
|
|
30036
|
+
"Base-asset fee retained in the vault on withdrawal. 30 = 0.30%."
|
|
30037
|
+
];
|
|
30038
|
+
"type": "u16";
|
|
30039
|
+
},
|
|
30040
|
+
{
|
|
30041
|
+
"name": "hourlyWithdrawalCapBps";
|
|
30042
|
+
"docs": [
|
|
30043
|
+
"Max net withdrawal accepted per hour as bps of current NAV. 0 = disabled."
|
|
30044
|
+
];
|
|
30045
|
+
"type": "u16";
|
|
30046
|
+
},
|
|
30047
|
+
{
|
|
30048
|
+
"name": "dailyWithdrawalCapBps";
|
|
30049
|
+
"docs": [
|
|
30050
|
+
"Max net withdrawal accepted per day as bps of current NAV. 0 = disabled."
|
|
30051
|
+
];
|
|
30052
|
+
"type": "u16";
|
|
30053
|
+
},
|
|
30054
|
+
{
|
|
30055
|
+
"name": "hourlyWithdrawnAssets";
|
|
30056
|
+
"docs": [
|
|
30057
|
+
"Net withdrawn assets counted in the current hourly window."
|
|
30058
|
+
];
|
|
30059
|
+
"type": "u64";
|
|
30060
|
+
},
|
|
30061
|
+
{
|
|
30062
|
+
"name": "dailyWithdrawnAssets";
|
|
30063
|
+
"docs": [
|
|
30064
|
+
"Net withdrawn assets counted in the current daily window."
|
|
30065
|
+
];
|
|
30066
|
+
"type": "u64";
|
|
30067
|
+
},
|
|
30068
|
+
{
|
|
30069
|
+
"name": "hourlyWindowStart";
|
|
30070
|
+
"docs": [
|
|
30071
|
+
"Start timestamp for the current hourly cap window."
|
|
30072
|
+
];
|
|
30073
|
+
"type": "i64";
|
|
30074
|
+
},
|
|
30075
|
+
{
|
|
30076
|
+
"name": "dailyWindowStart";
|
|
30077
|
+
"docs": [
|
|
30078
|
+
"Start timestamp for the current daily cap window."
|
|
30079
|
+
];
|
|
30080
|
+
"type": "i64";
|
|
30081
|
+
},
|
|
30082
|
+
{
|
|
30083
|
+
"name": "bump";
|
|
30084
|
+
"docs": [
|
|
30085
|
+
"PDA derivation bump."
|
|
30086
|
+
];
|
|
30087
|
+
"type": "u8";
|
|
30088
|
+
}
|
|
30089
|
+
];
|
|
30090
|
+
};
|
|
30091
|
+
},
|
|
30092
|
+
{
|
|
30093
|
+
"name": "withdrawalPolicyUpdated";
|
|
30094
|
+
"type": {
|
|
30095
|
+
"kind": "struct";
|
|
30096
|
+
"fields": [
|
|
30097
|
+
{
|
|
30098
|
+
"name": "vault";
|
|
30099
|
+
"type": "pubkey";
|
|
30100
|
+
},
|
|
30101
|
+
{
|
|
30102
|
+
"name": "withdrawalFeeBps";
|
|
30103
|
+
"type": "u16";
|
|
30104
|
+
},
|
|
30105
|
+
{
|
|
30106
|
+
"name": "hourlyWithdrawalCapBps";
|
|
30107
|
+
"type": "u16";
|
|
30108
|
+
},
|
|
30109
|
+
{
|
|
30110
|
+
"name": "dailyWithdrawalCapBps";
|
|
30111
|
+
"type": "u16";
|
|
30112
|
+
},
|
|
30113
|
+
{
|
|
30114
|
+
"name": "timestamp";
|
|
30115
|
+
"type": "i64";
|
|
30116
|
+
}
|
|
30117
|
+
];
|
|
30118
|
+
};
|
|
30119
|
+
}
|
|
30120
|
+
];
|
|
30121
|
+
};
|
|
30122
|
+
|
|
30123
|
+
declare const GAMMA_VAULT_IDL: GammaVault;
|
|
30124
|
+
type GammaVaultIdlType = GammaVault;
|
|
30125
|
+
|
|
30126
|
+
/**
|
|
30127
|
+
* Derive the WithdrawalPolicy PDA for a vault.
|
|
30128
|
+
* Seeds: ["withdrawal_policy", lpVault]
|
|
30129
|
+
*/
|
|
30130
|
+
declare function deriveGammaWithdrawalPolicy(lpVault: PublicKey, programId?: PublicKey): [PublicKey, number];
|
|
30131
|
+
/**
|
|
30132
|
+
* Derive the per-user DepositReceipt PDA for a vault.
|
|
30133
|
+
* Seeds: ["deposit_receipt", user, lpVault]
|
|
30134
|
+
*/
|
|
30135
|
+
declare function deriveGammaDepositReceipt(user: PublicKey, lpVault: PublicKey, programId?: PublicKey): [PublicKey, number];
|
|
30136
|
+
/**
|
|
30137
|
+
* Derive the per-user WithdrawEscrow PDA for a vault.
|
|
30138
|
+
* Seeds: ["withdraw_escrow", user, lpVault]
|
|
30139
|
+
*/
|
|
30140
|
+
declare function deriveGammaWithdrawEscrow(user: PublicKey, lpVault: PublicKey, programId?: PublicKey): [PublicKey, number];
|
|
30141
|
+
/**
|
|
30142
|
+
* Derive the per-user WithdrawReceipt PDA for a vault.
|
|
30143
|
+
* Seeds: ["withdraw_receipt", user, lpVault]
|
|
30144
|
+
*/
|
|
30145
|
+
declare function deriveGammaWithdrawReceipt(user: PublicKey, lpVault: PublicKey, programId?: PublicKey): [PublicKey, number];
|
|
30146
|
+
/**
|
|
30147
|
+
* Associated token account derivation matching the Gamma program's ATA seeds
|
|
30148
|
+
* (`[owner, tokenProgram, mint]`). `allowOwnerOffCurve` is enabled since owners
|
|
30149
|
+
* are frequently PDAs (escrow, fee recipient).
|
|
30150
|
+
*/
|
|
30151
|
+
declare function deriveGammaAta(mint: PublicKey, owner: PublicKey, tokenProgram?: PublicKey): PublicKey;
|
|
30152
|
+
|
|
30153
|
+
/** Decode a Gamma `LpVault` account from raw buffer data. */
|
|
30154
|
+
declare function decodeGammaLpVaultData(data: Buffer, pubkey: PublicKey): GammaLpVaultRaw;
|
|
30155
|
+
/** Decode a Gamma `WithdrawReceipt` account from raw buffer data. */
|
|
30156
|
+
declare function decodeGammaWithdrawReceiptData(data: Buffer, pubkey: PublicKey): GammaWithdrawReceiptRaw;
|
|
30157
|
+
|
|
30158
|
+
interface GammaDepositAccounts {
|
|
30159
|
+
user: PublicKey;
|
|
30160
|
+
lpVault: PublicKey;
|
|
30161
|
+
withdrawalPolicy: PublicKey;
|
|
30162
|
+
assetsAccount: PublicKey;
|
|
30163
|
+
userAssetAta: PublicKey;
|
|
30164
|
+
userShareAta: PublicKey;
|
|
30165
|
+
depositReceipt: PublicKey;
|
|
30166
|
+
assetsMint: PublicKey;
|
|
30167
|
+
sharesMint: PublicKey;
|
|
30168
|
+
tokenProgram?: PublicKey;
|
|
30169
|
+
associatedTokenProgram?: PublicKey;
|
|
30170
|
+
}
|
|
30171
|
+
/**
|
|
30172
|
+
* Deposit `amount` (raw base units of the vault's asset mint) into a Gamma LP
|
|
30173
|
+
* vault. Instant deposit: user receives vault shares in the same transaction.
|
|
30174
|
+
* The program creates `user_share_ata` and `deposit_receipt` if needed.
|
|
30175
|
+
*/
|
|
30176
|
+
declare function makeGammaDepositIx(accounts: GammaDepositAccounts, amount: BN): TransactionInstruction;
|
|
30177
|
+
interface GammaWithdrawAccounts {
|
|
30178
|
+
user: PublicKey;
|
|
30179
|
+
lpVault: PublicKey;
|
|
30180
|
+
withdrawalPolicy: PublicKey;
|
|
30181
|
+
assetsAccount: PublicKey;
|
|
30182
|
+
userShareAta: PublicKey;
|
|
30183
|
+
assetsMint: PublicKey;
|
|
30184
|
+
sharesMint: PublicKey;
|
|
30185
|
+
feeRecipientAccount: PublicKey;
|
|
30186
|
+
withdrawEscrow: PublicKey;
|
|
30187
|
+
escrowAssetsAccount: PublicKey;
|
|
30188
|
+
escrowSharesAccount: PublicKey;
|
|
30189
|
+
withdrawReceipt: PublicKey;
|
|
30190
|
+
tokenProgram?: PublicKey;
|
|
30191
|
+
associatedTokenProgram?: PublicKey;
|
|
30192
|
+
}
|
|
30193
|
+
/**
|
|
30194
|
+
* Initiate a withdrawal of `sharesAmount` (raw base units of the vault's share
|
|
30195
|
+
* mint) from a Gamma LP vault. Shares are escrowed and a WithdrawReceipt is
|
|
30196
|
+
* created/updated; assets become claimable via {@link makeGammaCompleteWithdrawalIx}
|
|
30197
|
+
* once the withdrawal is fulfilled by a keeper.
|
|
30198
|
+
*/
|
|
30199
|
+
declare function makeGammaWithdrawIx(accounts: GammaWithdrawAccounts, sharesAmount: BN): TransactionInstruction;
|
|
30200
|
+
interface GammaCompleteWithdrawalAccounts {
|
|
30201
|
+
user: PublicKey;
|
|
30202
|
+
lpVault: PublicKey;
|
|
30203
|
+
assetsMint: PublicKey;
|
|
30204
|
+
sharesMint: PublicKey;
|
|
30205
|
+
userAssetAta: PublicKey;
|
|
30206
|
+
withdrawEscrow: PublicKey;
|
|
30207
|
+
escrowAssetsAccount: PublicKey;
|
|
30208
|
+
escrowSharesAccount: PublicKey;
|
|
30209
|
+
withdrawReceipt: PublicKey;
|
|
30210
|
+
tokenProgram?: PublicKey;
|
|
30211
|
+
associatedTokenProgram?: PublicKey;
|
|
30212
|
+
}
|
|
30213
|
+
/**
|
|
30214
|
+
* Claim the assets from a fulfilled Gamma withdrawal. Transfers the claimable
|
|
30215
|
+
* assets from the escrow to the user's asset ATA (created if needed).
|
|
30216
|
+
*/
|
|
30217
|
+
declare function makeGammaCompleteWithdrawalIx(accounts: GammaCompleteWithdrawalAccounts): TransactionInstruction;
|
|
30218
|
+
|
|
26903
30219
|
/** Number of slots that can pass before a publisher's price is no longer included in the aggregate. */
|
|
26904
30220
|
declare const MAX_SLOT_DIFFERENCE = 25;
|
|
26905
30221
|
interface Price {
|
|
@@ -29830,4 +33146,4 @@ declare function makeExponentClmmTradePtIx(accounts: ExponentClmmTradePtAccounts
|
|
|
29830
33146
|
priceSpotLimit: null;
|
|
29831
33147
|
}): TransactionInstruction;
|
|
29832
33148
|
|
|
29833
|
-
export { ACCOUNT_SIZE, ACCOUNT_TYPE_SIZE, ASSOCIATED_TOKEN_PROGRAM_ID, type Account, AccountLayout, type AccountMeta, AccountState, AccountType, type ApproveInstructionData, type Base, type BigFractionBytesFields, type BorrowRateCurveFields, type ClientRequest, type CloseAccountInstructionData, ConnectionClosed, CorpAction, type CurvePointFields, DEFAULT_RECENT_SLOT_DURATION_MS, DRIFT_IDL, DRIFT_PROGRAM_ID, type DriftIdlType, type DriftInterestRateCurvePoint, DriftRewards, DriftRewardsJSON, DriftSpotBalanceType, DriftSpotMarket, DriftSpotMarketJSON, type DriftSpotMarketRaw, type DriftState, type DriftStateJSON, DriftUser, DriftUserJSON, type DriftUserRaw, DriftUserStats, DriftUserStatsJSON, EXPONENT_CLMM_IDL, EXPONENT_CLMM_PROGRAM_ID, EXPONENT_CORE_IDL, EXPONENT_CORE_PROGRAM_ID, EXPONENT_EVENT_AUTHORITY_SEED, EXPONENT_GENERIC_SY_PROGRAM_ID, EXPONENT_JITO_RESTAKING_SY_PROGRAM_ID, EXPONENT_KAMINO_SY_PROGRAM_ID, EXPONENT_MARGINFI_SY_PROGRAM_ID, EXPONENT_NUMBER_DENOM, EXPONENT_ORDERBOOK_PROGRAM_ID, EXPONENT_PERENA_SY_PROGRAM_ID, EXPONENT_VAULTS_PROGRAM_ID, type Ema, ErrorResponse, type ExponentClmmTradePtAccounts, type ExponentClmmTradePtContext, type ExponentCpiInterfaceContext, type ExponentMarketThree, type ExponentMarketThreeCpiAccounts, type ExponentMarketTwo, type ExponentMarketTwoCpiAccounts, type ExponentMergeAccounts, type ExponentMergeContext, type ExponentStripAccounts, type ExponentStripContext, ExponentSwapDirection, type ExponentTradePtAccounts, type ExponentTradePtContext, type ExponentVault, type ExponentWrapperMergeAccounts, type ExponentWrapperMergeContext, ExtensionType, FARMS_PROGRAM_ID, type FarmStateRaw, FeeStructure, FeeStructureJSON, HistoricalIndexData, HistoricalOracleData, type InitializeAccountInstructionData, type Instruction, InsuranceFund, JUP_EXCHANGE_PRICES_PRECISION, JUP_LEND_IDL, JUP_LEND_PROGRAM_ID, JUP_LIQUIDITY_IDL, JUP_LIQUIDITY_PROGRAM_ID, JUP_MAX_REWARDS_RATE, JUP_REWARDS_PROGRAM_ID, JUP_SECONDS_PER_YEAR, type JupLendIdlType, type JupLendInterestRateCurvePoint, type JupLendRewardsResult, JupLendingRewardsRateModel, JupLendingRewardsRateModelJSON, type JupLendingRewardsRateModelRaw, JupLendingState, JupLendingStateJSON, type JupLendingStateRaw, type JupLiquidityIdlType, JupRateModel, JupRateModelJSON, type JupRateModelRaw, JupTokenReserve, JupTokenReserveJSON, type JupTokenReserveRaw, KFARMS_IDL, KLEND_ACCOUNT_CODER, KLEND_IDL, KLEND_PROGRAM_ID, KaminoBorrowRateCurvePoint, KaminoFarmRewardInfo, KaminoFarmState, KaminoFarmStateJSON, KaminoObligation, KaminoObligationJSON, KaminoReserve, type KaminoReserveCurveData, KaminoReserveJSON, type KfarmsIdlType, type KlendIdlType, type KlendInterestRateCurvePoint, LENGTH_SIZE, type LastUpdateFields, MAX_SLOT_DIFFERENCE, MEMO_PROGRAM_ID, MINT_SIZE, MULTISIG_SIZE, type Mint, MintLayout, type Multisig, MultisigLayout, NATIVE_MINT, ONE, ONE_HUNDRED_PCT_IN_BPS, ONE_YEAR, type ObligationCollateralFields, type ObligationLiquidityFields, type ObligationOrderFields, type ObligationRaw, OracleGuardRails, OracleGuardRailsJSON, PERCENTAGE_PRECISION, PERCENTAGE_PRECISION_EXP, type PlatformFee, PoolBalance, type Price, type PriceComponent, type PriceData, type PriceHeuristicFields, PriceStatus, PriceType, type Pubkey, type PythConfigurationFields, type QuoteSwapStreamResponse, type QuoteUpdateParams, REFRESH_OBLIGATION_DISCRIMINATOR, type RawAccount, type RawMint, type RawMultisig, type RefreshObligationAccounts, type RequestData, type ReserveCollateralFields, type ReserveConfigFields, type ReserveFeesFields, type ReserveLiquidityFields, type ReserveRaw, type ResolveExponentClmmTradePtContextParams, type ResolveExponentMergeContextParams, type ResolveExponentStripContextParams, type ResolveExponentTradePtContextParams, type ResolveExponentWrapperMergeContextParams, type ResponseData, type ResponseError, type ResponseSuccess, type ResponseWithStream, type RewardInfoFields, type RewardPerTimeUnitPointFields, type RewardScheduleCurveFields, type RoutePlanStep, SEED_BASE_REFERRER_STATE, SEED_BASE_REFERRER_TOKEN_STATE, SEED_BASE_SHORT_URL, SEED_BASE_USER_METADATA, SEED_DRIFT_SIGNER, SEED_DRIFT_STATE, SEED_FEE_RECEIVER, SEED_F_TOKEN_MINT, SEED_LENDING, SEED_LENDING_ADMIN, SEED_LENDING_MARKET_AUTH, SEED_LENDING_REWARDS_RATE_MODEL, SEED_LIQUIDITY, SEED_RATE_MODEL, SEED_RESERVE, SEED_RESERVE_COLL_MINT, SEED_RESERVE_COLL_SUPPLY, SEED_RESERVE_LIQ_SUPPLY, SEED_SPOT_MARKET, SEED_SPOT_MARKET_VAULT, SEED_USER, SEED_USER_CLAIM, SEED_USER_STATE, SEED_USER_STATS, SEED_USER_SUPPLY_POSITION, SLOTS_PER_DAY, SLOTS_PER_HOUR, SLOTS_PER_MINUTE, SLOTS_PER_SECOND, SLOTS_PER_YEAR, SPOT_MARKET_RATE_PRECISION, SPOT_MARKET_RATE_PRECISION_EXP, SPOT_MARKET_UTILIZATION_PRECISION, SPOT_MARKET_UTILIZATION_PRECISION_EXP, type ScopeConfigurationFields, type SerializedInstruction, type SerializedSwapRoute, type ServerMessage, SinglePoolInstruction, SplAccountType, SpotPosition, type StakeAccount, type StopStreamRequest, type StopStreamResponse, type StreamData, type StreamDataPayload, type StreamEnd, StreamError, type StreamStart, SwapMode, type SwapParams, type SwapQuoteRequest, type SwapQuotes, type SwapRoute, SwapVersion, type SwitchboardConfigurationFields, type SyncNativeInstructionData, TEN, TOKEN_2022_PROGRAM_ID, TOKEN_PROGRAM_ID, TYPE_SIZE, type TitanGatewayQuoteParams, type TitanGatewayQuoteResponse, type TitanProxyExactOutResponse, type TitanProxySwapQuoteResponse, type TitanSwapQuoteResult, type TitanTemplateLut, type TitanTransactionTemplate, TokenAccountNotFoundError, TokenError, type TokenInfoFields$1 as TokenInfoFields, TokenInstruction, TokenInvalidAccountError, TokenInvalidAccountOwnerError, TokenInvalidAccountSizeError, TokenInvalidInstructionDataError, TokenInvalidInstructionKeysError, TokenInvalidInstructionProgramError, TokenInvalidInstructionTypeError, TokenInvalidMintError, TokenInvalidOwnerError, TokenOwnerOffCurveError, TokenUnsupportedInstructionError, type TransactionParams, type TransactionTemplate, type TransactionTemplateLut, type TransferCheckedInstructionData, type Uint64, V1Client, type WithdrawalCapsFields, ZERO, addSigners, approveInstructionData, buildSwapQuoteResult, buildTitanTemplate, calculateAPYFromAPR, calculateDriftBorrowAPR, calculateDriftBorrowAPY, calculateDriftBorrowRate, calculateDriftDepositRate, calculateDriftInterestRate, calculateDriftLendingAPR, calculateDriftLendingAPY, calculateDriftUtilization, calculateJupLendBorrowRate, calculateJupLendLiquiditySupplyRate, calculateJupLendNewExchangePrice, calculateJupLendRewardsRate, calculateJupLendRewardsRateForExchangePrice, calculateJupLendSupplyAPY, calculateJupLendSupplyRate, calculateJupLendTotalAssets, calculateKaminoEstimatedBorrowRate, calculateKaminoEstimatedSupplyRate, calculateKaminoSupplyAPY, calculateRewardApy, calculateSlotAdjustmentFactor, calculateUtilizationRatio, closeAccountInstructionData, createAccountIx, createApproveInstruction, createAssociatedTokenAccountIdempotentInstruction, createAssociatedTokenAccountInstruction, createCloseAccountInstruction, createInitializeAccountInstruction, createMemoInstruction, createPoolOnrampIx, createSyncNativeInstruction, createTransferCheckedInstruction, decodeDriftSpotMarketData, decodeDriftStateData, decodeDriftUserData, decodeDriftUserStatsData, decodeExponentMarketThree, decodeExponentMarketTwo, decodeExponentMarketVault, decodeExponentVault, decodeFarmDataRaw, decodeJupLendingRewardsRateModelData, decodeJupLendingStateData, decodeJupRateModelData, decodeJupTokenReserveData, decodeKlendObligationData, decodeKlendReserveData, deriveBaseObligation, deriveDriftSigner, deriveDriftSpotMarket, deriveDriftSpotMarketVault, deriveDriftState, deriveDriftUser, deriveDriftUserStats, deriveExponentClmmEventAuthority, deriveExponentEventAuthority, deriveFeeReceiver, deriveJupLendClaimAccount, deriveJupLendFTokenMint, deriveJupLendLending, deriveJupLendLendingAdmin, deriveJupLendLendingPdas, deriveJupLendLendingRewardsRateModel, deriveJupLendLiquidity, deriveJupLendLiquiditySupplyPositionPda, deriveJupLendLiquidityVaultAta, deriveJupLendRateModel, deriveJupLendTokenReserve, deriveLendingMarketAuthority, deriveObligation, deriveReferrerState, deriveReferrerTokenState, deriveReserveCollateralMint, deriveReserveCollateralSupply, deriveReserveLiquiditySupply, deriveShortUrl, deriveUserMetadata, deriveUserState, deserializeSerializedInstruction, deserializeTitanWireInstruction, driftRewardsRawToDto, driftSpotMarketRawToDto, driftStateRawToDto, driftUserRawToDto, driftUserStatsRawToDto, dtoToDriftRewardsRaw, dtoToDriftSpotMarketRaw, dtoToDriftStateRaw, dtoToDriftUserRaw, dtoToDriftUserStatsRaw, dtoToJupLendingRewardsRateModelRaw, dtoToJupLendingStateRaw, dtoToJupRateModelRaw, dtoToJupTokenReserveRaw, dtoToKaminoFarmState, dtoToKaminoObligation, dtoToKaminoReserve, encodeTitanTemplate, exponentBuyPtArgs, exponentClmmBuyPtArgs, exponentNumberToBigNumber, fetchExponentMarketThree, fetchExponentMarketTwo, fetchExponentVault, fetchExponentVaultFromMarket, fetchTitanQuoteSwapV3, findMplMetadataAddress, findPoolAddress, findPoolMintAddress, findPoolMintAddressByVoteAccount, findPoolMintAuthorityAddress, findPoolMplAuthorityAddress, findPoolOnRampAddress, findPoolStakeAddress, findPoolStakeAuthorityAddress, generateDriftReserveCurve, generateJupLendSupplyCurve, generateKaminoReserveCurve, getAccount, getAccountLen, getAllDerivedDriftAccounts, getAllDerivedJupLendAccounts, getAllDerivedKaminoAccounts, getAllRequiredMarkets, getAssociatedTokenAddressSync, getDriftRewards, getDriftTokenAmount, getFixedHostInterestRate, getJupLendRewards, getKaminoBorrowRate, getKaminoTotalSupply, getMinimumBalanceForRentExemptAccount, getMinimumBalanceForRentExemptAccountWithExtensions, getMint, getMintDecimals, getMultipleAccounts, getProtocolTakeRatePct, getReserveRewardsApy, getRewardPerTimeUnitSecond, getStakeAccount, initializeAccountInstructionData, initializeStakedPoolIxs, initializeStakedPoolTx, instructionToTitanWire, interpolateLinear, isJitoDontFront, jupLendingRewardsRateModelRawToDto, jupLendingStateRawToDto, jupRateModelRawToDto, jupTokenReserveRawToDto, kaminoFarmStateToDto, kaminoObligationToDto, kaminoReserveToDto, layout, lutToTitanWire, makeExponentClmmTradePtIx, makeExponentMergeIx, makeExponentStripIx, makeExponentTradePtIx, makeExponentWrapperMergeIx, makeRefreshObligationIx, makeRefreshReservesBatchIx, makeRefreshingIxs, makeSplStakePoolUpdateBalanceIx, makeUpdateJupLendRate, makeUpdateJupLendRateIx, makeUpdateSpotMarketCumulativeInterestIx, makeUpdateSpotMarketIx, parsePriceData, parsePriceInfo, replenishPoolIx, resolveExponentClmmTradePtContext, resolveExponentMergeContext, resolveExponentStripContext, resolveExponentTradePtContext, resolveExponentWrapperMergeContext, resolveLookupTables, scaledSupplies, selectBestRoute, selectGatewayRoute, slotAdjustmentFactor, syncNativeInstructionData, transferCheckedInstructionData, truncateBorrowCurve, unpackAccount };
|
|
33149
|
+
export { ACCOUNT_SIZE, ACCOUNT_TYPE_SIZE, ASSOCIATED_TOKEN_PROGRAM_ID, type Account, AccountLayout, type AccountMeta, AccountState, AccountType, type ApproveInstructionData, type Base, type BigFractionBytesFields, type BorrowRateCurveFields, type ClientRequest, type CloseAccountInstructionData, ConnectionClosed, CorpAction, type CurvePointFields, DEFAULT_RECENT_SLOT_DURATION_MS, DRIFT_IDL, DRIFT_PROGRAM_ID, type DriftIdlType, type DriftInterestRateCurvePoint, DriftRewards, DriftRewardsJSON, DriftSpotBalanceType, DriftSpotMarket, DriftSpotMarketJSON, type DriftSpotMarketRaw, type DriftState, type DriftStateJSON, DriftUser, DriftUserJSON, type DriftUserRaw, DriftUserStats, DriftUserStatsJSON, EXPONENT_CLMM_IDL, EXPONENT_CLMM_PROGRAM_ID, EXPONENT_CORE_IDL, EXPONENT_CORE_PROGRAM_ID, EXPONENT_EVENT_AUTHORITY_SEED, EXPONENT_GENERIC_SY_PROGRAM_ID, EXPONENT_JITO_RESTAKING_SY_PROGRAM_ID, EXPONENT_KAMINO_SY_PROGRAM_ID, EXPONENT_MARGINFI_SY_PROGRAM_ID, EXPONENT_NUMBER_DENOM, EXPONENT_ORDERBOOK_PROGRAM_ID, EXPONENT_PERENA_SY_PROGRAM_ID, EXPONENT_VAULTS_PROGRAM_ID, type Ema, ErrorResponse, type ExponentClmmTradePtAccounts, type ExponentClmmTradePtContext, type ExponentCpiInterfaceContext, type ExponentMarketThree, type ExponentMarketThreeCpiAccounts, type ExponentMarketTwo, type ExponentMarketTwoCpiAccounts, type ExponentMergeAccounts, type ExponentMergeContext, type ExponentStripAccounts, type ExponentStripContext, ExponentSwapDirection, type ExponentTradePtAccounts, type ExponentTradePtContext, type ExponentVault, type ExponentWrapperMergeAccounts, type ExponentWrapperMergeContext, ExtensionType, FARMS_PROGRAM_ID, type FarmStateRaw, FeeStructure, FeeStructureJSON, GAMMA_VAULT_IDL, GAMMA_VAULT_PROGRAM_ID, type GammaCompleteWithdrawalAccounts, type GammaDepositAccounts, GammaLpVaultRaw, type GammaVaultIdlType, type GammaWithdrawAccounts, GammaWithdrawReceiptRaw, HistoricalIndexData, HistoricalOracleData, type InitializeAccountInstructionData, type Instruction, InsuranceFund, JUP_EXCHANGE_PRICES_PRECISION, JUP_LEND_IDL, JUP_LEND_PROGRAM_ID, JUP_LIQUIDITY_IDL, JUP_LIQUIDITY_PROGRAM_ID, JUP_MAX_REWARDS_RATE, JUP_REWARDS_PROGRAM_ID, JUP_SECONDS_PER_YEAR, type JupLendIdlType, type JupLendInterestRateCurvePoint, type JupLendRewardsResult, JupLendingRewardsRateModel, JupLendingRewardsRateModelJSON, type JupLendingRewardsRateModelRaw, JupLendingState, JupLendingStateJSON, type JupLendingStateRaw, type JupLiquidityIdlType, JupRateModel, JupRateModelJSON, type JupRateModelRaw, JupTokenReserve, JupTokenReserveJSON, type JupTokenReserveRaw, KFARMS_IDL, KLEND_ACCOUNT_CODER, KLEND_IDL, KLEND_PROGRAM_ID, KaminoBorrowRateCurvePoint, KaminoFarmRewardInfo, KaminoFarmState, KaminoFarmStateJSON, KaminoObligation, KaminoObligationJSON, KaminoReserve, type KaminoReserveCurveData, KaminoReserveJSON, type KfarmsIdlType, type KlendIdlType, type KlendInterestRateCurvePoint, LENGTH_SIZE, type LastUpdateFields, MAX_SLOT_DIFFERENCE, MEMO_PROGRAM_ID, MINT_SIZE, MULTISIG_SIZE, type Mint, MintLayout, type Multisig, MultisigLayout, NATIVE_MINT, ONE, ONE_HUNDRED_PCT_IN_BPS, ONE_YEAR, type ObligationCollateralFields, type ObligationLiquidityFields, type ObligationOrderFields, type ObligationRaw, OracleGuardRails, OracleGuardRailsJSON, PERCENTAGE_PRECISION, PERCENTAGE_PRECISION_EXP, type PlatformFee, PoolBalance, type Price, type PriceComponent, type PriceData, type PriceHeuristicFields, PriceStatus, PriceType, type Pubkey, type PythConfigurationFields, type QuoteSwapStreamResponse, type QuoteUpdateParams, REFRESH_OBLIGATION_DISCRIMINATOR, type RawAccount, type RawMint, type RawMultisig, type RefreshObligationAccounts, type RequestData, type ReserveCollateralFields, type ReserveConfigFields, type ReserveFeesFields, type ReserveLiquidityFields, type ReserveRaw, type ResolveExponentClmmTradePtContextParams, type ResolveExponentMergeContextParams, type ResolveExponentStripContextParams, type ResolveExponentTradePtContextParams, type ResolveExponentWrapperMergeContextParams, type ResponseData, type ResponseError, type ResponseSuccess, type ResponseWithStream, type RewardInfoFields, type RewardPerTimeUnitPointFields, type RewardScheduleCurveFields, type RoutePlanStep, SEED_BASE_REFERRER_STATE, SEED_BASE_REFERRER_TOKEN_STATE, SEED_BASE_SHORT_URL, SEED_BASE_USER_METADATA, SEED_DEPOSIT_RECEIPT, SEED_DRIFT_SIGNER, SEED_DRIFT_STATE, SEED_FEE_RECEIVER, SEED_F_TOKEN_MINT, SEED_LENDING, SEED_LENDING_ADMIN, SEED_LENDING_MARKET_AUTH, SEED_LENDING_REWARDS_RATE_MODEL, SEED_LIQUIDITY, SEED_RATE_MODEL, SEED_RESERVE, SEED_RESERVE_COLL_MINT, SEED_RESERVE_COLL_SUPPLY, SEED_RESERVE_LIQ_SUPPLY, SEED_SPOT_MARKET, SEED_SPOT_MARKET_VAULT, SEED_USER, SEED_USER_CLAIM, SEED_USER_STATE, SEED_USER_STATS, SEED_USER_SUPPLY_POSITION, SEED_WITHDRAWAL_POLICY, SEED_WITHDRAW_ESCROW, SEED_WITHDRAW_RECEIPT, SLOTS_PER_DAY, SLOTS_PER_HOUR, SLOTS_PER_MINUTE, SLOTS_PER_SECOND, SLOTS_PER_YEAR, SPOT_MARKET_RATE_PRECISION, SPOT_MARKET_RATE_PRECISION_EXP, SPOT_MARKET_UTILIZATION_PRECISION, SPOT_MARKET_UTILIZATION_PRECISION_EXP, type ScopeConfigurationFields, type SerializedInstruction, type SerializedSwapRoute, type ServerMessage, SinglePoolInstruction, SplAccountType, SpotPosition, type StakeAccount, type StopStreamRequest, type StopStreamResponse, type StreamData, type StreamDataPayload, type StreamEnd, StreamError, type StreamStart, SwapMode, type SwapParams, type SwapQuoteRequest, type SwapQuotes, type SwapRoute, SwapVersion, type SwitchboardConfigurationFields, type SyncNativeInstructionData, TEN, TOKEN_2022_PROGRAM_ID, TOKEN_PROGRAM_ID, TYPE_SIZE, type TitanGatewayQuoteParams, type TitanGatewayQuoteResponse, type TitanProxyExactOutResponse, type TitanProxySwapQuoteResponse, type TitanSwapQuoteResult, type TitanTemplateLut, type TitanTransactionTemplate, TokenAccountNotFoundError, TokenError, type TokenInfoFields$1 as TokenInfoFields, TokenInstruction, TokenInvalidAccountError, TokenInvalidAccountOwnerError, TokenInvalidAccountSizeError, TokenInvalidInstructionDataError, TokenInvalidInstructionKeysError, TokenInvalidInstructionProgramError, TokenInvalidInstructionTypeError, TokenInvalidMintError, TokenInvalidOwnerError, TokenOwnerOffCurveError, TokenUnsupportedInstructionError, type TransactionParams, type TransactionTemplate, type TransactionTemplateLut, type TransferCheckedInstructionData, type Uint64, V1Client, type WithdrawalCapsFields, ZERO, addSigners, approveInstructionData, buildSwapQuoteResult, buildTitanTemplate, calculateAPYFromAPR, calculateDriftBorrowAPR, calculateDriftBorrowAPY, calculateDriftBorrowRate, calculateDriftDepositRate, calculateDriftInterestRate, calculateDriftLendingAPR, calculateDriftLendingAPY, calculateDriftUtilization, calculateJupLendBorrowRate, calculateJupLendLiquiditySupplyRate, calculateJupLendNewExchangePrice, calculateJupLendRewardsRate, calculateJupLendRewardsRateForExchangePrice, calculateJupLendSupplyAPY, calculateJupLendSupplyRate, calculateJupLendTotalAssets, calculateKaminoEstimatedBorrowRate, calculateKaminoEstimatedSupplyRate, calculateKaminoSupplyAPY, calculateRewardApy, calculateSlotAdjustmentFactor, calculateUtilizationRatio, closeAccountInstructionData, createAccountIx, createApproveInstruction, createAssociatedTokenAccountIdempotentInstruction, createAssociatedTokenAccountInstruction, createCloseAccountInstruction, createInitializeAccountInstruction, createMemoInstruction, createPoolOnrampIx, createSyncNativeInstruction, createTransferCheckedInstruction, decodeDriftSpotMarketData, decodeDriftStateData, decodeDriftUserData, decodeDriftUserStatsData, decodeExponentMarketThree, decodeExponentMarketTwo, decodeExponentMarketVault, decodeExponentVault, decodeFarmDataRaw, decodeGammaLpVaultData, decodeGammaWithdrawReceiptData, decodeJupLendingRewardsRateModelData, decodeJupLendingStateData, decodeJupRateModelData, decodeJupTokenReserveData, decodeKlendObligationData, decodeKlendReserveData, deriveBaseObligation, deriveDriftSigner, deriveDriftSpotMarket, deriveDriftSpotMarketVault, deriveDriftState, deriveDriftUser, deriveDriftUserStats, deriveExponentClmmEventAuthority, deriveExponentEventAuthority, deriveFeeReceiver, deriveGammaAta, deriveGammaDepositReceipt, deriveGammaWithdrawEscrow, deriveGammaWithdrawReceipt, deriveGammaWithdrawalPolicy, deriveJupLendClaimAccount, deriveJupLendFTokenMint, deriveJupLendLending, deriveJupLendLendingAdmin, deriveJupLendLendingPdas, deriveJupLendLendingRewardsRateModel, deriveJupLendLiquidity, deriveJupLendLiquiditySupplyPositionPda, deriveJupLendLiquidityVaultAta, deriveJupLendRateModel, deriveJupLendTokenReserve, deriveLendingMarketAuthority, deriveObligation, deriveReferrerState, deriveReferrerTokenState, deriveReserveCollateralMint, deriveReserveCollateralSupply, deriveReserveLiquiditySupply, deriveShortUrl, deriveUserMetadata, deriveUserState, deserializeSerializedInstruction, deserializeTitanWireInstruction, driftRewardsRawToDto, driftSpotMarketRawToDto, driftStateRawToDto, driftUserRawToDto, driftUserStatsRawToDto, dtoToDriftRewardsRaw, dtoToDriftSpotMarketRaw, dtoToDriftStateRaw, dtoToDriftUserRaw, dtoToDriftUserStatsRaw, dtoToJupLendingRewardsRateModelRaw, dtoToJupLendingStateRaw, dtoToJupRateModelRaw, dtoToJupTokenReserveRaw, dtoToKaminoFarmState, dtoToKaminoObligation, dtoToKaminoReserve, encodeTitanTemplate, exponentBuyPtArgs, exponentClmmBuyPtArgs, exponentNumberToBigNumber, fetchExponentMarketThree, fetchExponentMarketTwo, fetchExponentVault, fetchExponentVaultFromMarket, fetchTitanQuoteSwapV3, findMplMetadataAddress, findPoolAddress, findPoolMintAddress, findPoolMintAddressByVoteAccount, findPoolMintAuthorityAddress, findPoolMplAuthorityAddress, findPoolOnRampAddress, findPoolStakeAddress, findPoolStakeAuthorityAddress, generateDriftReserveCurve, generateJupLendSupplyCurve, generateKaminoReserveCurve, getAccount, getAccountLen, getAllDerivedDriftAccounts, getAllDerivedJupLendAccounts, getAllDerivedKaminoAccounts, getAllRequiredMarkets, getAssociatedTokenAddressSync, getDriftRewards, getDriftTokenAmount, getFixedHostInterestRate, getJupLendRewards, getKaminoBorrowRate, getKaminoTotalSupply, getMinimumBalanceForRentExemptAccount, getMinimumBalanceForRentExemptAccountWithExtensions, getMint, getMintDecimals, getMultipleAccounts, getProtocolTakeRatePct, getReserveRewardsApy, getRewardPerTimeUnitSecond, getStakeAccount, initializeAccountInstructionData, initializeStakedPoolIxs, initializeStakedPoolTx, instructionToTitanWire, interpolateLinear, isJitoDontFront, jupLendingRewardsRateModelRawToDto, jupLendingStateRawToDto, jupRateModelRawToDto, jupTokenReserveRawToDto, kaminoFarmStateToDto, kaminoObligationToDto, kaminoReserveToDto, layout, lutToTitanWire, makeExponentClmmTradePtIx, makeExponentMergeIx, makeExponentStripIx, makeExponentTradePtIx, makeExponentWrapperMergeIx, makeGammaCompleteWithdrawalIx, makeGammaDepositIx, makeGammaWithdrawIx, makeRefreshObligationIx, makeRefreshReservesBatchIx, makeRefreshingIxs, makeSplStakePoolUpdateBalanceIx, makeUpdateJupLendRate, makeUpdateJupLendRateIx, makeUpdateSpotMarketCumulativeInterestIx, makeUpdateSpotMarketIx, parsePriceData, parsePriceInfo, replenishPoolIx, resolveExponentClmmTradePtContext, resolveExponentMergeContext, resolveExponentStripContext, resolveExponentTradePtContext, resolveExponentWrapperMergeContext, resolveLookupTables, scaledSupplies, selectBestRoute, selectGatewayRoute, slotAdjustmentFactor, syncNativeInstructionData, transferCheckedInstructionData, truncateBorrowCurve, unpackAccount };
|