@perena/vault-sdk 1.0.50 → 1.0.53
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.d.ts +324 -5
- package/dist/index.js +1465 -902
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -927,6 +927,184 @@ type Bankineco = {
|
|
|
927
927
|
}
|
|
928
928
|
];
|
|
929
929
|
},
|
|
930
|
+
{
|
|
931
|
+
name: "depositCuratorFees";
|
|
932
|
+
discriminator: [180, 215, 34, 119, 191, 100, 32, 220];
|
|
933
|
+
accounts: [
|
|
934
|
+
{
|
|
935
|
+
name: "curator";
|
|
936
|
+
docs: [
|
|
937
|
+
"May also be a curator PDA signing through CPI (for example Squads)."
|
|
938
|
+
];
|
|
939
|
+
writable: true;
|
|
940
|
+
signer: true;
|
|
941
|
+
},
|
|
942
|
+
{
|
|
943
|
+
name: "vault";
|
|
944
|
+
writable: true;
|
|
945
|
+
},
|
|
946
|
+
{
|
|
947
|
+
name: "vaultOracle";
|
|
948
|
+
writable: true;
|
|
949
|
+
},
|
|
950
|
+
{
|
|
951
|
+
name: "shareMint";
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
name: "vaultTrancheState";
|
|
955
|
+
writable: true;
|
|
956
|
+
optional: true;
|
|
957
|
+
},
|
|
958
|
+
{
|
|
959
|
+
name: "juniorTrancheShareMint";
|
|
960
|
+
optional: true;
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
name: "seniorTrancheShareMint";
|
|
964
|
+
optional: true;
|
|
965
|
+
},
|
|
966
|
+
{
|
|
967
|
+
name: "usdcMint";
|
|
968
|
+
address: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v";
|
|
969
|
+
},
|
|
970
|
+
{
|
|
971
|
+
name: "curatorUsdcAta";
|
|
972
|
+
writable: true;
|
|
973
|
+
pda: {
|
|
974
|
+
seeds: [
|
|
975
|
+
{
|
|
976
|
+
kind: "account";
|
|
977
|
+
path: "curator";
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
kind: "account";
|
|
981
|
+
path: "tokenProgram";
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
kind: "account";
|
|
985
|
+
path: "usdcMint";
|
|
986
|
+
}
|
|
987
|
+
];
|
|
988
|
+
program: {
|
|
989
|
+
kind: "const";
|
|
990
|
+
value: [
|
|
991
|
+
140,
|
|
992
|
+
151,
|
|
993
|
+
37,
|
|
994
|
+
143,
|
|
995
|
+
78,
|
|
996
|
+
36,
|
|
997
|
+
137,
|
|
998
|
+
241,
|
|
999
|
+
187,
|
|
1000
|
+
61,
|
|
1001
|
+
16,
|
|
1002
|
+
41,
|
|
1003
|
+
20,
|
|
1004
|
+
142,
|
|
1005
|
+
13,
|
|
1006
|
+
131,
|
|
1007
|
+
11,
|
|
1008
|
+
90,
|
|
1009
|
+
19,
|
|
1010
|
+
153,
|
|
1011
|
+
218,
|
|
1012
|
+
255,
|
|
1013
|
+
16,
|
|
1014
|
+
132,
|
|
1015
|
+
4,
|
|
1016
|
+
142,
|
|
1017
|
+
123,
|
|
1018
|
+
216,
|
|
1019
|
+
219,
|
|
1020
|
+
233,
|
|
1021
|
+
248,
|
|
1022
|
+
89
|
|
1023
|
+
];
|
|
1024
|
+
};
|
|
1025
|
+
};
|
|
1026
|
+
},
|
|
1027
|
+
{
|
|
1028
|
+
name: "vaultUsdcAta";
|
|
1029
|
+
writable: true;
|
|
1030
|
+
pda: {
|
|
1031
|
+
seeds: [
|
|
1032
|
+
{
|
|
1033
|
+
kind: "account";
|
|
1034
|
+
path: "vault";
|
|
1035
|
+
},
|
|
1036
|
+
{
|
|
1037
|
+
kind: "account";
|
|
1038
|
+
path: "tokenProgram";
|
|
1039
|
+
},
|
|
1040
|
+
{
|
|
1041
|
+
kind: "account";
|
|
1042
|
+
path: "usdcMint";
|
|
1043
|
+
}
|
|
1044
|
+
];
|
|
1045
|
+
program: {
|
|
1046
|
+
kind: "const";
|
|
1047
|
+
value: [
|
|
1048
|
+
140,
|
|
1049
|
+
151,
|
|
1050
|
+
37,
|
|
1051
|
+
143,
|
|
1052
|
+
78,
|
|
1053
|
+
36,
|
|
1054
|
+
137,
|
|
1055
|
+
241,
|
|
1056
|
+
187,
|
|
1057
|
+
61,
|
|
1058
|
+
16,
|
|
1059
|
+
41,
|
|
1060
|
+
20,
|
|
1061
|
+
142,
|
|
1062
|
+
13,
|
|
1063
|
+
131,
|
|
1064
|
+
11,
|
|
1065
|
+
90,
|
|
1066
|
+
19,
|
|
1067
|
+
153,
|
|
1068
|
+
218,
|
|
1069
|
+
255,
|
|
1070
|
+
16,
|
|
1071
|
+
132,
|
|
1072
|
+
4,
|
|
1073
|
+
142,
|
|
1074
|
+
123,
|
|
1075
|
+
216,
|
|
1076
|
+
219,
|
|
1077
|
+
233,
|
|
1078
|
+
248,
|
|
1079
|
+
89
|
|
1080
|
+
];
|
|
1081
|
+
};
|
|
1082
|
+
};
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
name: "tokenProgram";
|
|
1086
|
+
address: "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
|
|
1087
|
+
},
|
|
1088
|
+
{
|
|
1089
|
+
name: "associatedTokenProgram";
|
|
1090
|
+
address: "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL";
|
|
1091
|
+
},
|
|
1092
|
+
{
|
|
1093
|
+
name: "systemProgram";
|
|
1094
|
+
address: "11111111111111111111111111111111";
|
|
1095
|
+
}
|
|
1096
|
+
];
|
|
1097
|
+
args: [
|
|
1098
|
+
{
|
|
1099
|
+
name: "args";
|
|
1100
|
+
type: {
|
|
1101
|
+
defined: {
|
|
1102
|
+
name: "depositCuratorFeesArgs";
|
|
1103
|
+
};
|
|
1104
|
+
};
|
|
1105
|
+
}
|
|
1106
|
+
];
|
|
1107
|
+
},
|
|
930
1108
|
{
|
|
931
1109
|
name: "disableCircuitBreaker";
|
|
932
1110
|
discriminator: [200, 37, 34, 37, 19, 156, 178, 253];
|
|
@@ -6485,6 +6663,10 @@ type Bankineco = {
|
|
|
6485
6663
|
}
|
|
6486
6664
|
];
|
|
6487
6665
|
events: [
|
|
6666
|
+
{
|
|
6667
|
+
name: "curatorFeesDeposited";
|
|
6668
|
+
discriminator: [61, 40, 69, 224, 253, 73, 224, 46];
|
|
6669
|
+
},
|
|
6488
6670
|
{
|
|
6489
6671
|
name: "incentiveClaimed";
|
|
6490
6672
|
discriminator: [93, 82, 106, 244, 88, 183, 241, 75];
|
|
@@ -6523,6 +6705,11 @@ type Bankineco = {
|
|
|
6523
6705
|
}
|
|
6524
6706
|
];
|
|
6525
6707
|
errors: [
|
|
6708
|
+
{
|
|
6709
|
+
code: 13048;
|
|
6710
|
+
name: "minimumCuratorFeeSharesNotMet";
|
|
6711
|
+
msg: "Deposited USDC credits fewer curator shares than the requested minimum";
|
|
6712
|
+
},
|
|
6526
6713
|
{
|
|
6527
6714
|
code: 14001;
|
|
6528
6715
|
name: "unauthorized";
|
|
@@ -7097,6 +7284,56 @@ type Bankineco = {
|
|
|
7097
7284
|
];
|
|
7098
7285
|
};
|
|
7099
7286
|
},
|
|
7287
|
+
{
|
|
7288
|
+
name: "curatorFeesDeposited";
|
|
7289
|
+
type: {
|
|
7290
|
+
kind: "struct";
|
|
7291
|
+
fields: [
|
|
7292
|
+
{
|
|
7293
|
+
name: "vault";
|
|
7294
|
+
type: "pubkey";
|
|
7295
|
+
},
|
|
7296
|
+
{
|
|
7297
|
+
name: "curator";
|
|
7298
|
+
type: "pubkey";
|
|
7299
|
+
},
|
|
7300
|
+
{
|
|
7301
|
+
name: "usdcAmount";
|
|
7302
|
+
type: "u64";
|
|
7303
|
+
},
|
|
7304
|
+
{
|
|
7305
|
+
name: "accountingAmount";
|
|
7306
|
+
type: "u64";
|
|
7307
|
+
},
|
|
7308
|
+
{
|
|
7309
|
+
name: "curatorShares";
|
|
7310
|
+
type: "u64";
|
|
7311
|
+
}
|
|
7312
|
+
];
|
|
7313
|
+
};
|
|
7314
|
+
},
|
|
7315
|
+
{
|
|
7316
|
+
name: "depositCuratorFeesArgs";
|
|
7317
|
+
type: {
|
|
7318
|
+
kind: "struct";
|
|
7319
|
+
fields: [
|
|
7320
|
+
{
|
|
7321
|
+
name: "amount";
|
|
7322
|
+
docs: [
|
|
7323
|
+
"USDC atomic units transferred from the curator (six decimals)."
|
|
7324
|
+
];
|
|
7325
|
+
type: "u64";
|
|
7326
|
+
},
|
|
7327
|
+
{
|
|
7328
|
+
name: "minSharesOut";
|
|
7329
|
+
docs: [
|
|
7330
|
+
"Minimum newly credited curator shares; checked at execution-time NAV."
|
|
7331
|
+
];
|
|
7332
|
+
type: "u64";
|
|
7333
|
+
}
|
|
7334
|
+
];
|
|
7335
|
+
};
|
|
7336
|
+
},
|
|
7100
7337
|
{
|
|
7101
7338
|
name: "externalLiquiditySlot";
|
|
7102
7339
|
serialization: "bytemuck";
|
|
@@ -11658,6 +11895,36 @@ declare class DistributeIncentiveV3Builder extends DistributeIncentiveBuilder {
|
|
|
11658
11895
|
protected deriveIxArgs(args: DistributeIncentiveV3TxArgs): Promise<DistributeIncentiveV3IxArgs>;
|
|
11659
11896
|
}
|
|
11660
11897
|
|
|
11898
|
+
interface DepositCuratorFeesTxArgs {
|
|
11899
|
+
curator: Address;
|
|
11900
|
+
vault: Address;
|
|
11901
|
+
/** USDC atomic units (six decimals). Credits pending curator fee shares. */
|
|
11902
|
+
amount: bigint;
|
|
11903
|
+
/** Minimum new atomic share credit at execution-time NAV. Defaults to zero. */
|
|
11904
|
+
minSharesOut?: bigint;
|
|
11905
|
+
}
|
|
11906
|
+
interface DepositCuratorFeesIxArgs extends DepositCuratorFeesTxArgs {
|
|
11907
|
+
vaultOracle: Address;
|
|
11908
|
+
shareMint: Address;
|
|
11909
|
+
vaultTrancheState: Address | null;
|
|
11910
|
+
juniorTrancheShareMint: Address | null;
|
|
11911
|
+
seniorTrancheShareMint: Address | null;
|
|
11912
|
+
curatorUsdcAta: Address;
|
|
11913
|
+
vaultUsdcAta: Address;
|
|
11914
|
+
}
|
|
11915
|
+
/** Deposit USDC backing as unminted curator shares available to all incentives. */
|
|
11916
|
+
declare class DepositCuratorFeesBuilder extends VaultBuilderBase<DepositCuratorFeesIxArgs, DepositCuratorFeesTxArgs> {
|
|
11917
|
+
getIx(args: DepositCuratorFeesIxArgs): Promise<_solana_kit.Instruction<string, readonly (_solana_kit.AccountLookupMeta<string, string> | _solana_kit.AccountMeta<string>)[]>>;
|
|
11918
|
+
protected deriveIxArgs(args: DepositCuratorFeesTxArgs): Promise<DepositCuratorFeesIxArgs>;
|
|
11919
|
+
protected buildPlanExtras(args: DepositCuratorFeesIxArgs): Promise<{
|
|
11920
|
+
postSuccessCacheInvalidations: {
|
|
11921
|
+
vaultPda: Address;
|
|
11922
|
+
vaultOraclePda: Address;
|
|
11923
|
+
vaultTrancheStatePda: Address | undefined;
|
|
11924
|
+
}[];
|
|
11925
|
+
}>;
|
|
11926
|
+
}
|
|
11927
|
+
|
|
11661
11928
|
declare class CancelJuniorTrancheWithdrawBuilder extends VaultBuilderBase<CancelJuniorTrancheWithdrawIxArgs, CancelJuniorTrancheWithdrawTxArgs> {
|
|
11662
11929
|
getIx(args: CancelJuniorTrancheWithdrawIxArgs): Promise<_solana_kit.Instruction<string, readonly (_solana_kit.AccountLookupMeta<string, string> | _solana_kit.AccountMeta<string>)[]>>;
|
|
11663
11930
|
protected deriveIxArgs(txArgs: CancelJuniorTrancheWithdrawTxArgs): Promise<CancelJuniorTrancheWithdrawIxArgs>;
|
|
@@ -12187,6 +12454,7 @@ declare class VaultReallocationBuilder extends VaultBuilderBase<VaultReallocatio
|
|
|
12187
12454
|
}
|
|
12188
12455
|
|
|
12189
12456
|
declare class TransactionClient {
|
|
12457
|
+
readonly depositCuratorFees: DepositCuratorFeesBuilder;
|
|
12190
12458
|
readonly createIncentiveV3: CreateIncentiveV3Builder;
|
|
12191
12459
|
readonly addIncentiveRecipientV3: AddIncentiveRecipientV3Builder;
|
|
12192
12460
|
readonly setIncentiveLimitsV3: SetIncentiveLimitsV3Builder;
|
|
@@ -12768,7 +13036,9 @@ declare function getTotalYield(accountNames: string[], start?: Date, end?: Date)
|
|
|
12768
13036
|
/** Sum only confirmed-payment-adjusted yield that remains receivable. */
|
|
12769
13037
|
declare function getTotalOutstandingYield(accountNames: string[], start?: Date, end?: Date): Promise<number>;
|
|
12770
13038
|
/** Sum the complete current value of APR and NAV accounts in tracker base units. */
|
|
12771
|
-
declare function getTotalTrackedValue(accountNames: string[], start?: Date, end?: Date
|
|
13039
|
+
declare function getTotalTrackedValue(accountNames: string[], start?: Date, end?: Date,
|
|
13040
|
+
/** Observe each account's contribution from the same read used in the total. */
|
|
13041
|
+
onAccountValue?: (accountName: string, value: TrackedAccountValue) => void): Promise<{
|
|
12772
13042
|
totalValue: number;
|
|
12773
13043
|
principal: number;
|
|
12774
13044
|
outstandingYield: number;
|
|
@@ -12994,6 +13264,16 @@ interface ManagerWalletBalanceSource {
|
|
|
12994
13264
|
/** Missing mints have zero balance; failed reads must throw. Amounts are raw units. */
|
|
12995
13265
|
fetchBalances(manager: Address, mints: Address[]): Promise<Map<string, bigint>>;
|
|
12996
13266
|
}
|
|
13267
|
+
/** Base assets held by the explicitly configured MPC wallet for one vault. */
|
|
13268
|
+
interface MpcWalletBalances {
|
|
13269
|
+
wallet: Address;
|
|
13270
|
+
tokens: Map<string, bigint>;
|
|
13271
|
+
marginfi: Map<string, bigint>;
|
|
13272
|
+
}
|
|
13273
|
+
interface MpcWalletBalanceSource {
|
|
13274
|
+
/** Unconfigured vaults return undefined; failed or incomplete reads must throw. */
|
|
13275
|
+
fetchBalances(vault: Address, manager: Address, mints: Address[]): Promise<MpcWalletBalances | undefined>;
|
|
13276
|
+
}
|
|
12997
13277
|
/**
|
|
12998
13278
|
* One account's accrual snapshot consumed by the oracle. Amounts are
|
|
12999
13279
|
* **UI amounts** (token units, not base units); callers convert with
|
|
@@ -13073,6 +13353,8 @@ interface ConsensusOracleDeps {
|
|
|
13073
13353
|
externalPositions?: ExternalPositionProvider;
|
|
13074
13354
|
/** Optional NAV-drop recovery source; configured by the live runtime. */
|
|
13075
13355
|
managerWalletBalances?: ManagerWalletBalanceSource;
|
|
13356
|
+
/** MPC base tokens and Marginfi deposits, subject to the same NAV gate. */
|
|
13357
|
+
mpcWalletBalances?: MpcWalletBalanceSource;
|
|
13076
13358
|
/** Optional; omitted ⇒ no yield accrual is folded in. */
|
|
13077
13359
|
yieldTracker?: YieldTracker;
|
|
13078
13360
|
clock?: Clock;
|
|
@@ -13104,9 +13386,13 @@ interface HoldingUpdatePreview {
|
|
|
13104
13386
|
trackedValueAmount: bigint;
|
|
13105
13387
|
/** Manager base tokens admitted by the ±0.05% NAV reconciliation (base units). */
|
|
13106
13388
|
managerWalletAmount?: bigint;
|
|
13107
|
-
/**
|
|
13389
|
+
/** MPC base tokens admitted by the same reconciliation (base units). */
|
|
13390
|
+
mpcWalletAmount?: bigint;
|
|
13391
|
+
/** MPC Marginfi base-asset deposits admitted by reconciliation (base units). */
|
|
13392
|
+
mpcMarginfiAmount?: bigint;
|
|
13393
|
+
/** Withdrawn nPERENA retained until the wallet NAV rule matches proceeds. */
|
|
13108
13394
|
pendingNestAmount?: bigint;
|
|
13109
|
-
/**
|
|
13395
|
+
/** LP + tracked value + pending Nest + manager tokens + MPC tokens/deposits. */
|
|
13110
13396
|
externalAmount: bigint;
|
|
13111
13397
|
}
|
|
13112
13398
|
interface VaultOracleResult {
|
|
@@ -13243,6 +13529,8 @@ interface RealizedApySimulation {
|
|
|
13243
13529
|
priorTs: bigint;
|
|
13244
13530
|
timestampSource: "apy.max_apy_anchor.timestamp" | "apy.max_apy_anchor.previous_timestamp" | "legacy fixed-APY anchor (initialization)" | "current share-price observation (initialization)";
|
|
13245
13531
|
checkpointTs: bigint;
|
|
13532
|
+
/** Older than 14 days, so a newer checkpoint supplies a shorter window. */
|
|
13533
|
+
ignoredPreviousCheckpointTs?: bigint;
|
|
13246
13534
|
nowTs: bigint;
|
|
13247
13535
|
elapsedSecs: bigint;
|
|
13248
13536
|
/** Signed annualized growth, in millionths of a basis point, truncated. */
|
|
@@ -13505,16 +13793,19 @@ interface ManagerWalletReconciliation {
|
|
|
13505
13793
|
previousNav: bigint;
|
|
13506
13794
|
candidateNav: bigint;
|
|
13507
13795
|
adjustedNav?: bigint;
|
|
13796
|
+
/** Diagnostic candidate only; never publish this unless accepted is true. */
|
|
13797
|
+
walletUpdates?: HoldingUpdatePreview[];
|
|
13508
13798
|
}
|
|
13509
13799
|
/**
|
|
13510
13800
|
* Rebuild from sourced external amounts every pass. Never carry forward a prior
|
|
13511
13801
|
* wallet attribution or cap/select wallet balances to make the NAV fit.
|
|
13512
13802
|
*/
|
|
13513
|
-
declare function reconcileManagerWalletBalances({ vault, vaultState, updates, source, log, }: {
|
|
13803
|
+
declare function reconcileManagerWalletBalances({ vault, vaultState, updates, source, mpcSource, log, }: {
|
|
13514
13804
|
vault: Address;
|
|
13515
13805
|
vaultState: DecodedVault;
|
|
13516
13806
|
updates: HoldingUpdatePreview[];
|
|
13517
13807
|
source?: ManagerWalletBalanceSource;
|
|
13808
|
+
mpcSource?: MpcWalletBalanceSource;
|
|
13518
13809
|
log?: (message: string) => void;
|
|
13519
13810
|
}): Promise<ManagerWalletReconciliation>;
|
|
13520
13811
|
/** The vault fields whose changes would invalidate a wallet reconciliation. */
|
|
@@ -13750,6 +14041,20 @@ declare class RpcManagerWalletBalanceSource implements ManagerWalletBalanceSourc
|
|
|
13750
14041
|
fetchBalances(manager: Address, mints: Address[]): Promise<Map<string, bigint>>;
|
|
13751
14042
|
}
|
|
13752
14043
|
|
|
14044
|
+
interface MpcWalletConfig {
|
|
14045
|
+
vault: Address;
|
|
14046
|
+
manager: Address;
|
|
14047
|
+
wallet: Address;
|
|
14048
|
+
}
|
|
14049
|
+
/** Explicit custody bindings, never inferred dynamically from arbitrary transfers. */
|
|
14050
|
+
declare class RpcMpcWalletBalanceSource implements MpcWalletBalanceSource {
|
|
14051
|
+
private readonly connection;
|
|
14052
|
+
private readonly bindings;
|
|
14053
|
+
private readonly tokens;
|
|
14054
|
+
constructor(connection: Connection, bindings: readonly MpcWalletConfig[]);
|
|
14055
|
+
fetchBalances(vault: Address, manager: Address, mints: Address[]): Promise<MpcWalletBalances | undefined>;
|
|
14056
|
+
}
|
|
14057
|
+
|
|
13753
14058
|
/**
|
|
13754
14059
|
* Aggregation of {@link ExternalPositionProvider}s plus a trivial static
|
|
13755
14060
|
* provider. Concrete live-LP providers (Kamino, Marginfi) wrap protocol SDKs,
|
|
@@ -13881,6 +14186,7 @@ declare class MockYieldTracker implements YieldTracker {
|
|
|
13881
14186
|
*/
|
|
13882
14187
|
|
|
13883
14188
|
declare const MAX_APY_ANCHOR_WINDOW_SECS = 604800n;
|
|
14189
|
+
declare const MAX_APY_PREVIOUS_ANCHOR_AGE_SECS: bigint;
|
|
13884
14190
|
interface SimulateSettlementArgs {
|
|
13885
14191
|
vault: DecodedVault;
|
|
13886
14192
|
oracleData: readonly number[];
|
|
@@ -13893,6 +14199,19 @@ interface SimulateSettlementArgs {
|
|
|
13893
14199
|
physicalJuniorSupply?: bigint;
|
|
13894
14200
|
physicalSeniorSupply?: bigint;
|
|
13895
14201
|
}
|
|
14202
|
+
/**
|
|
14203
|
+
* Check the reports actually published on chain, without overlaying a proposed
|
|
14204
|
+
* report. A crank must wait until every submitted balance has reached consensus
|
|
14205
|
+
* and its aggregate is reflected in the holdings. Otherwise it can settle the
|
|
14206
|
+
* old holdings and change the NAV baseline before the second signer reports.
|
|
14207
|
+
*/
|
|
14208
|
+
declare function publishedConsensusBlockers(args: {
|
|
14209
|
+
vault: DecodedVault;
|
|
14210
|
+
oracleData: readonly number[];
|
|
14211
|
+
updates: readonly HoldingUpdatePreview[];
|
|
14212
|
+
signer: Address;
|
|
14213
|
+
nowTs: bigint;
|
|
14214
|
+
}): string[];
|
|
13896
14215
|
/** Replay consensus aggregation and NAV settlement without sending a transaction. */
|
|
13897
14216
|
declare function simulateConsensusOracleSettlement(args: SimulateSettlementArgs): SettlementSimulation;
|
|
13898
14217
|
/** Exact bigint port of common::utils::number::apply_effective_apy. */
|
|
@@ -14316,4 +14635,4 @@ declare function decodeNestDepositRequest(args: {
|
|
|
14316
14635
|
txBase64: string;
|
|
14317
14636
|
}): Promise<NestDepositPlan>;
|
|
14318
14637
|
|
|
14319
|
-
export { ASSET_DECIMALS, ASSET_REBALANCE_COOLDOWN_SECS, type AccountBalanceResponse, AccountClient, type AccountYieldResponse, ActivateCircuitBreakerBuilder, type ActivateCircuitBreakerIxArgs, type ActivateCircuitBreakerTxArgs, type AddAprCashflowUpdateParams, type AddCashflowUpdateParams, type AddIncentiveRecipientArgs, AddIncentiveRecipientBuilder, type AddIncentiveRecipientIxArgs, AddIncentiveRecipientV3Builder, type AddIncentiveRecipientV3IxArgs, type AddIncentiveRecipientV3TxArgs, type AddNavCashflowUpdateParams, type AprAccountBalanceResponse, type AprAccountYieldResponse, type AssetPriceOracleConfigIxArgs, type AssetPriceOracleConfigTxArgs, type AssetPriceRefreshTarget, type AssetRefreshResult, type AssetType, BALANCE_CHANGE_BASELINE_MAX_AGE_SECS, type Bankineco, type BasicAuthCredentials, type Bigintish, type BuildMarginfiWithdrawInteractionArgs, CONSENSUS_ORACLE_VARIANT, type CancelIncentiveProposalArgs, CancelIncentiveProposalBuilder, CancelJuniorTrancheWithdrawBuilder, type CancelJuniorTrancheWithdrawIxArgs, type CancelJuniorTrancheWithdrawTxArgs, ClaimIncentiveBuilder, type ClaimIncentiveIxArgs, type ClaimIncentiveTxArgs, ClaimIncentiveV3Builder, type ClaimIncentiveV3IxArgs, type ClaimIncentiveV3TxArgs, type Clock, type CollectSamplesOptions, type ConsensusAssetUpdate, type ConsensusHoldingEntry, type ConsensusHoldingSimulation, type ConsensusOracleDeps, type ConsensusOracleHoldingConfig, ConsensusOracleService, type ConsensusOracleTarget, CrankNavBuilder, type CrankNavIxArgs, type CrankNavTxArgs, CrankPerformanceFeesBuilder, type CrankPerformanceFeesIxArgs, type CrankPerformanceFeesTxArgs, type CreateAccountParams, CreateAssetHoldingBuilder, type CreateAssetHoldingIxArgs, type CreateAssetHoldingTxArgs, CreateIncentiveBuilder, type CreateIncentiveIxArgs, type CreateIncentiveTxArgs, CreateIncentiveV3Builder, type CreateIncentiveV3IxArgs, type CreateIncentiveV3TxArgs, type CreateTokenMintIxs, CreateTrancheStateBuilder, type CreateTrancheStateIxArgs, type CreateTrancheStateTxArgs, CreateVaultBuilder, type CreateVaultClientOptions, type CreateVaultIxArgs, type CreateVaultParams, type CreateVaultTxArgs, type CreateYieldPaymentParams, DEFAULT_CU_PRICE_MICRO_LAMPORTS, DEFAULT_JUNIOR_EARLY_UNSTAKE_FEE_BPS, DEFAULT_JUNIOR_STANDARD_UNSTAKE_FEE_BPS, DEFAULT_JUNIOR_WITHDRAWAL_LOCKUP_SECS, DEFAULT_MAX_ACCEPTABLE_APY_BPS, DEFAULT_MAX_ACCOUNTS, DEFAULT_MINTS, DEFAULT_MIN_AMOUNT_UI, DEFAULT_ORACLE_STALENESS_THRESHOLD_SECS, DEFAULT_PRICE_ORACLE_ACCOUNT, DEFAULT_PRICE_STALENESS_SECS, DEFAULT_PRICE_STALENESS_THRESHOLD_SECS, DEFAULT_REBALANCE_BAND_BPS, DEFAULT_SLIPPAGE_BPS, DEFAULT_TARGET_LOCAL_BPS, DEFAULT_TARGET_LOCAL_USDC_TVL_BPS, DEFAULT_VAULT_ID, type DecodedHolding, type DecodedVault, type DecodedVaultTrancheState, type DeleteAccountParams, DisableCircuitBreakerBuilder, type DisableCircuitBreakerIxArgs, type DisableCircuitBreakerTxArgs, DistributeIncentiveBuilder, type DistributeIncentiveIxArgs, type DistributeIncentiveTxArgs, DistributeIncentiveV3Builder, type DistributeIncentiveV3IxArgs, type DistributeIncentiveV3TxArgs, EXTERNAL_POSITION_SAMPLES, ExecuteDepositBuilder, type ExecuteDepositIxArgs, type ExecuteDepositTxArgs, ExecuteShareSwapBuilder, type ExecuteShareSwapIxArgs, type ExecuteShareSwapTxArgs, ExecuteTrancheDepositBuilder, type ExecuteTrancheDepositIxArgs, type ExecuteTrancheDepositTxArgs, ExecuteTrancheWithdrawBuilder, type ExecuteTrancheWithdrawIxArgs, type ExecuteTrancheWithdrawTxArgs, ExecuteWithdrawBuilder, type ExecuteWithdrawIxArgs, type ExecuteWithdrawTxArgs, type ExternalLiquidityIntegrityOptions, type ExternalLiquidityIntegrityResult, ExternalLiquidityIntegrityService, type ExternalLiquidityIntegritySummary, type ExternalLiquiditySlot, type ExternalLiquiditySourceArgs, type ExternalPosition, type ExternalPositionContext, type ExternalPositionProvider, type ExternalPositionRef, ExternalPositionRegistry, FEE_VAULT_CACHE_CATEGORY, type FeeVaultAccountData, type FetchNestTokenPriceOptions, FulfillJuniorTrancheWithdrawBuilder, type FulfillJuniorTrancheWithdrawIxArgs, type FulfillJuniorTrancheWithdrawTxArgs, type FulfillSummary, type HoldingNavContribution, type HoldingUpdatePreview, IDL, IDLE_RESERVE_FLOOR_BPS, IDLE_RESERVE_TARGET_BPS, type IdleLiquidityOptions, type IdleLiquidityResult, IdleLiquidityService, type IdleLiquidityStatus, type IncentiveRecipient, type IncentiveTotals, type IncentiveUsdUpdateArgs, type IncentiveV3OracleState, type IncentiveV3Recipient, type IncentiveV3Totals, InitializeVaultRolesBuilder, type InitializeVaultRolesIxArgs, type InitializeVaultRolesTxArgs, type JuniorWithdrawalMode, JupiterPriceSource, type JupiterPriceSourceOptions, JupiterSwapBuilder, type JupiterSwapIxArgs, type JupiterSwapTxArgs, KaminoPositionProvider, LIVE_ORACLE_VARIANTS, LIVE_PRICE_REFRESH_INTERVAL_SECS, LOCAL_PROTOCOL_ADMIN, LargeBalanceChangeError, type LargeBalanceChangeViolation, type LiveConsensusOracleDepsOptions, LivePriceSource, type LivePriceSourceOptions, MANAGER_WALLET_NAV_DROP_TRIGGER_BPS, MANAGER_WALLET_NAV_TOLERANCE_BPS, MAX_APY_ANCHOR_WINDOW_SECS, MAX_BALANCE_CHANGE_BPS, MAX_CONSENSUS_SIGNERS, MAX_INCENTIVE_RECIPIENTS, MAX_INCENTIVE_REPORT_TTL, MAX_MANAGER_WITHDRAW_DESTINATIONS, MAX_PRICE_STALENESS_THRESHOLD_SECS, MIN_EXTERNAL_POSITION_SAMPLES, ManagerRedepositAssetBuilder, type ManagerRedepositAssetIxArgs, type ManagerRedepositAssetTxArgs, type ManagerWalletBalanceSource, type ManagerWalletReconciliation, ManagerWithdrawAssetBuilder, type ManagerWithdrawAssetIxArgs, type ManagerWithdrawAssetTxArgs, MarginfiPositionProvider, type MaxApyAnchorSnapshot, type MintConfig, type MintIdentifier, type MintInfo, MintRegistry, type MintRegistryOptions, type MockYieldAccountConfig, MockYieldTracker, type MockYieldTrackerOptions, NEST_API_BASE_URL, NEST_RWA_SHARE_MINT, NEST_VAULT_SLUG, type NavAccountBalanceResponse, type NavAccountValueResponse, type NavCrankBlocker, type NavCrankBlockerReason, type NavCrankReadiness, type NavCrankResult, type NavPriceConfig, type NavYieldAccount, NestApiError, type NestApiOptions, type NestDepositPlan, NestPriceSource, type NestPriceSourceOptions, type NestRedemptionQuote, type NestRedemptionStatus, ORACLE_ENTRIES_OFFSET, ORACLE_ENTRY_SIZE, ORACLE_SETTLED_NAV_TS_OFFSET, OracleService, PRICE_ORACLE_TYPES_BY_INDEX, PROGRAM_FEE_EXEMPT_OWNER_WHITELIST, PROTOCOL_ADMIN, PROTOCOL_FEE_RECIPIENT, PdaClient, type PendingConsensusSignerSet, type PreparedDirectTransaction, type PreparedSquadsTransaction, type PreparedVaultTransaction, type PriceOracleTypeArgs, type PriceSource, ProtocolInteractionBuilder, type ProtocolInteractionIxArgs, type ProtocolInteractionTxArgs, type QuoteFeeUnit, REPORTABLE_ORACLE_VARIANTS, type RealizedApySimulation, type RefreshLiveOraclePricesParams, RemoveAssetHoldingBuilder, type RemoveAssetHoldingIxArgs, type RemoveAssetHoldingTxArgs, ReportIncentiveV3Builder, type ReportIncentiveV3IxArgs, type ReportIncentiveV3TxArgs, RequestJuniorTrancheWithdrawBuilder, type RequestJuniorTrancheWithdrawIxArgs, type RequestJuniorTrancheWithdrawTxArgs, type ResolveExternalWithdrawArgs, type ResolvedExternalWithdraw, type ResolvedSquadsWalletRoute, type RollingLimitConfig, type RollingRebalanceLimitConfig, RpcManagerWalletBalanceSource, type RunLiveConsensusOracleOptions, type RunOptions, type RunSummary, SHARE_DECIMALS, SYSTEM_PROGRAM, SetAssetPriceOracleBuilder, type SetAssetPriceOracleIxArgs, type SetAssetPriceOracleTxArgs, SetExternalLiquidityBuilder, type SetExternalLiquidityIxArgs, type SetExternalLiquidityTxArgs, type SetIncentiveLimitsArgs, SetIncentiveLimitsBuilder, type SetIncentiveLimitsV3Args, SetIncentiveLimitsV3Builder, SetManagerWithdrawDestinationBuilder, type SetManagerWithdrawDestinationIxArgs, type SetManagerWithdrawDestinationTxArgs, SetProtocolFeeBuilder, type SetProtocolFeeIxArgs, type SetProtocolFeeTxArgs, SetVaultConfigBuilder, type SetVaultConfigIxArgs, type SetVaultConfigTxArgs, SettleIncentiveV3Builder, type SettleIncentiveV3IxArgs, type SettleIncentiveV3TxArgs, type SettleVaultParams, type SettleVaultResult, type SettlementSimulation, type SettlementSimulationSnapshot, type SimulateDryRunSettlementParams, type SimulateSettlementArgs, type SimulatedShareClass, SquadsProposalExecutionSimulationError, type SquadsProposalUpload, type SquadsWalletRouteConfig, type StaleBalanceChangeBypass, StaticPositionProvider, SubmitIncentiveBuilder, type SubmitIncentiveIxArgs, type SubmitIncentiveTxArgs, TOKEN_PROGRAM, TOKEN_PROGRAM_ID, type TimelockSettlementKind, type TimelockSettlementOptions, type TimelockSettlementRecord, TimelockSettlementService, type TimelockSettlementSummary, type TrackedAccountValue, type TrancheKindArgs, type TransactionBuilder, TransactionClient, USDC_MINT, USD_STAR_JUNIOR_MINT, USD_STAR_MINT, USD_STAR_PRINCIPAL_MINT, type UpdateAccountParams, UpdateAssetPriceBuilder, type UpdateAssetPriceIxArgs, type UpdateAssetPriceTxArgs, UpdateConsensusOracleBuilder, type UpdateConsensusOracleIxArgs, type UpdateConsensusOracleTxArgs, UpdateConsensusSignersBuilder, type UpdateConsensusSignersIxArgs, type UpdateConsensusSignersTxArgs, type UpdateDynamicAprParams, UpdateTrancheConfigBuilder, type UpdateTrancheConfigIxArgs, type UpdateTrancheConfigTxArgs, VAULT_CACHE_CATEGORY, VAULT_CREATOR_WHITELIST, VAULT_ENVIRONMENTS, VAULT_ORACLE_CACHE_CATEGORY, VAULT_PROGRAM_ID, VAULT_PROGRAM_IDS, VAULT_PROGRAM_PUBLIC_KEY, VAULT_ROLE_UPDATE_TIMELOCK_SECS, VAULT_TRANCHE_STATE_CACHE_CATEGORY, VAULT_TRANCHE_WITHDRAWAL_QUEUE_CACHE_CATEGORY, type Vault, type VaultAccountData, VaultBuilderBase, type VaultBuilderContext, type VaultCacheInvalidation, VaultClient, type VaultClientBundle, type VaultEnv, type VaultIncentiveAccount, type VaultIncentiveAccountData, type VaultIncentiveV3Account, type VaultIncentiveV3AccountData, type VaultOracleAccountData, type VaultOracleResult, type VaultPricingInputs, type VaultQuote, type VaultQuoteArgs, VaultQuoteClient, type VaultQuoteDirection, type VaultQuoteShareClass, VaultReallocationBuilder, type VaultReallocationIxArgs, type VaultReallocationTxArgs, type VaultTrancheStateAccountData, type VaultTrancheWithdrawalQueueAccountData, type VaultTransactionPlan, WITHDRAWABLE_RESERVE_FLOOR_BPS, type WithdrawProtocolFeesIxArgs, type WithdrawProtocolFeesTxArgs, WithdrawalQueueService, type WithdrawalQueueSnapshot, type YieldAccount, type YieldAccountSnapshot, type YieldCalculationLog, type YieldCashflow, type YieldPaymentResponse, type YieldPaymentSnapshot, type YieldTracker, type YieldValuationModel, accountingUnitPriceToUsd, addCashflowUpdate, applyEffectiveApy, assertNoLargeBalanceChanges, assertNoUnconfirmedYieldPayments, buildHoldingUpdate, buildMarginfiWithdrawInteraction, buildNestDepositRequest, buildNestWithdrawalRequest, buildUpdates, candidateGrossNav, coerceBool, collectSamples, confirmYieldPayment, createAccount, createLiveConsensusOracleDeps, createRpcFromConnection, createTokenMint, createTokenMintIxs, createVaultClient, createYieldPayment, dateToStr, decodeNestDepositRequest, decodeNestWithdrawalRequest, decodePendingConsensusSigners, defaultKeypairPath, deleteAccount, discoverVaultsForSigner, fetchExternalPositions, fetchNestRedemptionQuote, fetchNestRedemptionStatus, fetchNestTokenPrice, fetchReceiptMints, filterTargetHoldings, findLargeBalanceChanges, findSquadsWalletRoute, formatSettlementSimulation, fromUiAmount, gatherPricingInputs, getAccount, getAccounts, getAprYield, getBalance, getCashflows, getIncentiveRecipientShareAtas, getIncentiveRecipients, getIncentiveReportRecipients, getIncentiveTotals, getIncentiveV3OracleState, getIncentiveV3RecipientShareAtas, getIncentiveV3Recipients, getIncentiveV3Totals, getNavValue, getRpcUrl, getTotalOutstandingYield, getTotalTrackedValue, getTotalYield, getTrackedValue, getVaultProgramId, getYield, getYieldPayments, indexConfigByMint, isNavAccountBalance, isNavAccountValue, isNavYieldAccount, isVaultEnv, keypairAddress, loadKeypair, logProspectiveApy, makeProvider, managerReconciliationStateKey, mintTokensTo, mints, mostFrequent, parseExternalLiquidityRefs, planRebalance, prepareSquadsProposalUpload, prepareVaultTransaction, previousPhysicalNav, priceInAccountingUnit, readI64LE, readSplMintSupply, reconcileManagerWalletBalances, refreshLiveOraclePrices, resolveExternalWithdraw, resolveKeypairPath, resolveSquadsWalletRoute, resolveTrackedAmounts, roundToNextUtcMidnight, runLiveConsensusOracle, selectReportableHoldings, settleVault, signerInOracleData, simulateConsensusOracleSettlement, simulateDryRunSettlement, simulateSquadsProposalExecution, sumPositionsByMint, systemClock, toBigInt, toUiAmount, toWeb3AccountMeta, trackedValueFromResponse, updateAccount, updateDynamicApr, validateSquadsWalletRoutes, variantName, vaultAuthorityForWallet, withDiscoveredYieldAccounts };
|
|
14638
|
+
export { ASSET_DECIMALS, ASSET_REBALANCE_COOLDOWN_SECS, type AccountBalanceResponse, AccountClient, type AccountYieldResponse, ActivateCircuitBreakerBuilder, type ActivateCircuitBreakerIxArgs, type ActivateCircuitBreakerTxArgs, type AddAprCashflowUpdateParams, type AddCashflowUpdateParams, type AddIncentiveRecipientArgs, AddIncentiveRecipientBuilder, type AddIncentiveRecipientIxArgs, AddIncentiveRecipientV3Builder, type AddIncentiveRecipientV3IxArgs, type AddIncentiveRecipientV3TxArgs, type AddNavCashflowUpdateParams, type AprAccountBalanceResponse, type AprAccountYieldResponse, type AssetPriceOracleConfigIxArgs, type AssetPriceOracleConfigTxArgs, type AssetPriceRefreshTarget, type AssetRefreshResult, type AssetType, BALANCE_CHANGE_BASELINE_MAX_AGE_SECS, type Bankineco, type BasicAuthCredentials, type Bigintish, type BuildMarginfiWithdrawInteractionArgs, CONSENSUS_ORACLE_VARIANT, type CancelIncentiveProposalArgs, CancelIncentiveProposalBuilder, CancelJuniorTrancheWithdrawBuilder, type CancelJuniorTrancheWithdrawIxArgs, type CancelJuniorTrancheWithdrawTxArgs, ClaimIncentiveBuilder, type ClaimIncentiveIxArgs, type ClaimIncentiveTxArgs, ClaimIncentiveV3Builder, type ClaimIncentiveV3IxArgs, type ClaimIncentiveV3TxArgs, type Clock, type CollectSamplesOptions, type ConsensusAssetUpdate, type ConsensusHoldingEntry, type ConsensusHoldingSimulation, type ConsensusOracleDeps, type ConsensusOracleHoldingConfig, ConsensusOracleService, type ConsensusOracleTarget, CrankNavBuilder, type CrankNavIxArgs, type CrankNavTxArgs, CrankPerformanceFeesBuilder, type CrankPerformanceFeesIxArgs, type CrankPerformanceFeesTxArgs, type CreateAccountParams, CreateAssetHoldingBuilder, type CreateAssetHoldingIxArgs, type CreateAssetHoldingTxArgs, CreateIncentiveBuilder, type CreateIncentiveIxArgs, type CreateIncentiveTxArgs, CreateIncentiveV3Builder, type CreateIncentiveV3IxArgs, type CreateIncentiveV3TxArgs, type CreateTokenMintIxs, CreateTrancheStateBuilder, type CreateTrancheStateIxArgs, type CreateTrancheStateTxArgs, CreateVaultBuilder, type CreateVaultClientOptions, type CreateVaultIxArgs, type CreateVaultParams, type CreateVaultTxArgs, type CreateYieldPaymentParams, DEFAULT_CU_PRICE_MICRO_LAMPORTS, DEFAULT_JUNIOR_EARLY_UNSTAKE_FEE_BPS, DEFAULT_JUNIOR_STANDARD_UNSTAKE_FEE_BPS, DEFAULT_JUNIOR_WITHDRAWAL_LOCKUP_SECS, DEFAULT_MAX_ACCEPTABLE_APY_BPS, DEFAULT_MAX_ACCOUNTS, DEFAULT_MINTS, DEFAULT_MIN_AMOUNT_UI, DEFAULT_ORACLE_STALENESS_THRESHOLD_SECS, DEFAULT_PRICE_ORACLE_ACCOUNT, DEFAULT_PRICE_STALENESS_SECS, DEFAULT_PRICE_STALENESS_THRESHOLD_SECS, DEFAULT_REBALANCE_BAND_BPS, DEFAULT_SLIPPAGE_BPS, DEFAULT_TARGET_LOCAL_BPS, DEFAULT_TARGET_LOCAL_USDC_TVL_BPS, DEFAULT_VAULT_ID, type DecodedHolding, type DecodedVault, type DecodedVaultTrancheState, type DeleteAccountParams, DepositCuratorFeesBuilder, type DepositCuratorFeesIxArgs, type DepositCuratorFeesTxArgs, DisableCircuitBreakerBuilder, type DisableCircuitBreakerIxArgs, type DisableCircuitBreakerTxArgs, DistributeIncentiveBuilder, type DistributeIncentiveIxArgs, type DistributeIncentiveTxArgs, DistributeIncentiveV3Builder, type DistributeIncentiveV3IxArgs, type DistributeIncentiveV3TxArgs, EXTERNAL_POSITION_SAMPLES, ExecuteDepositBuilder, type ExecuteDepositIxArgs, type ExecuteDepositTxArgs, ExecuteShareSwapBuilder, type ExecuteShareSwapIxArgs, type ExecuteShareSwapTxArgs, ExecuteTrancheDepositBuilder, type ExecuteTrancheDepositIxArgs, type ExecuteTrancheDepositTxArgs, ExecuteTrancheWithdrawBuilder, type ExecuteTrancheWithdrawIxArgs, type ExecuteTrancheWithdrawTxArgs, ExecuteWithdrawBuilder, type ExecuteWithdrawIxArgs, type ExecuteWithdrawTxArgs, type ExternalLiquidityIntegrityOptions, type ExternalLiquidityIntegrityResult, ExternalLiquidityIntegrityService, type ExternalLiquidityIntegritySummary, type ExternalLiquiditySlot, type ExternalLiquiditySourceArgs, type ExternalPosition, type ExternalPositionContext, type ExternalPositionProvider, type ExternalPositionRef, ExternalPositionRegistry, FEE_VAULT_CACHE_CATEGORY, type FeeVaultAccountData, type FetchNestTokenPriceOptions, FulfillJuniorTrancheWithdrawBuilder, type FulfillJuniorTrancheWithdrawIxArgs, type FulfillJuniorTrancheWithdrawTxArgs, type FulfillSummary, type HoldingNavContribution, type HoldingUpdatePreview, IDL, IDLE_RESERVE_FLOOR_BPS, IDLE_RESERVE_TARGET_BPS, type IdleLiquidityOptions, type IdleLiquidityResult, IdleLiquidityService, type IdleLiquidityStatus, type IncentiveRecipient, type IncentiveTotals, type IncentiveUsdUpdateArgs, type IncentiveV3OracleState, type IncentiveV3Recipient, type IncentiveV3Totals, InitializeVaultRolesBuilder, type InitializeVaultRolesIxArgs, type InitializeVaultRolesTxArgs, type JuniorWithdrawalMode, JupiterPriceSource, type JupiterPriceSourceOptions, JupiterSwapBuilder, type JupiterSwapIxArgs, type JupiterSwapTxArgs, KaminoPositionProvider, LIVE_ORACLE_VARIANTS, LIVE_PRICE_REFRESH_INTERVAL_SECS, LOCAL_PROTOCOL_ADMIN, LargeBalanceChangeError, type LargeBalanceChangeViolation, type LiveConsensusOracleDepsOptions, LivePriceSource, type LivePriceSourceOptions, MANAGER_WALLET_NAV_DROP_TRIGGER_BPS, MANAGER_WALLET_NAV_TOLERANCE_BPS, MAX_APY_ANCHOR_WINDOW_SECS, MAX_APY_PREVIOUS_ANCHOR_AGE_SECS, MAX_BALANCE_CHANGE_BPS, MAX_CONSENSUS_SIGNERS, MAX_INCENTIVE_RECIPIENTS, MAX_INCENTIVE_REPORT_TTL, MAX_MANAGER_WITHDRAW_DESTINATIONS, MAX_PRICE_STALENESS_THRESHOLD_SECS, MIN_EXTERNAL_POSITION_SAMPLES, ManagerRedepositAssetBuilder, type ManagerRedepositAssetIxArgs, type ManagerRedepositAssetTxArgs, type ManagerWalletBalanceSource, type ManagerWalletReconciliation, ManagerWithdrawAssetBuilder, type ManagerWithdrawAssetIxArgs, type ManagerWithdrawAssetTxArgs, MarginfiPositionProvider, type MaxApyAnchorSnapshot, type MintConfig, type MintIdentifier, type MintInfo, MintRegistry, type MintRegistryOptions, type MockYieldAccountConfig, MockYieldTracker, type MockYieldTrackerOptions, type MpcWalletBalanceSource, type MpcWalletBalances, type MpcWalletConfig, NEST_API_BASE_URL, NEST_RWA_SHARE_MINT, NEST_VAULT_SLUG, type NavAccountBalanceResponse, type NavAccountValueResponse, type NavCrankBlocker, type NavCrankBlockerReason, type NavCrankReadiness, type NavCrankResult, type NavPriceConfig, type NavYieldAccount, NestApiError, type NestApiOptions, type NestDepositPlan, NestPriceSource, type NestPriceSourceOptions, type NestRedemptionQuote, type NestRedemptionStatus, ORACLE_ENTRIES_OFFSET, ORACLE_ENTRY_SIZE, ORACLE_SETTLED_NAV_TS_OFFSET, OracleService, PRICE_ORACLE_TYPES_BY_INDEX, PROGRAM_FEE_EXEMPT_OWNER_WHITELIST, PROTOCOL_ADMIN, PROTOCOL_FEE_RECIPIENT, PdaClient, type PendingConsensusSignerSet, type PreparedDirectTransaction, type PreparedSquadsTransaction, type PreparedVaultTransaction, type PriceOracleTypeArgs, type PriceSource, ProtocolInteractionBuilder, type ProtocolInteractionIxArgs, type ProtocolInteractionTxArgs, type QuoteFeeUnit, REPORTABLE_ORACLE_VARIANTS, type RealizedApySimulation, type RefreshLiveOraclePricesParams, RemoveAssetHoldingBuilder, type RemoveAssetHoldingIxArgs, type RemoveAssetHoldingTxArgs, ReportIncentiveV3Builder, type ReportIncentiveV3IxArgs, type ReportIncentiveV3TxArgs, RequestJuniorTrancheWithdrawBuilder, type RequestJuniorTrancheWithdrawIxArgs, type RequestJuniorTrancheWithdrawTxArgs, type ResolveExternalWithdrawArgs, type ResolvedExternalWithdraw, type ResolvedSquadsWalletRoute, type RollingLimitConfig, type RollingRebalanceLimitConfig, RpcManagerWalletBalanceSource, RpcMpcWalletBalanceSource, type RunLiveConsensusOracleOptions, type RunOptions, type RunSummary, SHARE_DECIMALS, SYSTEM_PROGRAM, SetAssetPriceOracleBuilder, type SetAssetPriceOracleIxArgs, type SetAssetPriceOracleTxArgs, SetExternalLiquidityBuilder, type SetExternalLiquidityIxArgs, type SetExternalLiquidityTxArgs, type SetIncentiveLimitsArgs, SetIncentiveLimitsBuilder, type SetIncentiveLimitsV3Args, SetIncentiveLimitsV3Builder, SetManagerWithdrawDestinationBuilder, type SetManagerWithdrawDestinationIxArgs, type SetManagerWithdrawDestinationTxArgs, SetProtocolFeeBuilder, type SetProtocolFeeIxArgs, type SetProtocolFeeTxArgs, SetVaultConfigBuilder, type SetVaultConfigIxArgs, type SetVaultConfigTxArgs, SettleIncentiveV3Builder, type SettleIncentiveV3IxArgs, type SettleIncentiveV3TxArgs, type SettleVaultParams, type SettleVaultResult, type SettlementSimulation, type SettlementSimulationSnapshot, type SimulateDryRunSettlementParams, type SimulateSettlementArgs, type SimulatedShareClass, SquadsProposalExecutionSimulationError, type SquadsProposalUpload, type SquadsWalletRouteConfig, type StaleBalanceChangeBypass, StaticPositionProvider, SubmitIncentiveBuilder, type SubmitIncentiveIxArgs, type SubmitIncentiveTxArgs, TOKEN_PROGRAM, TOKEN_PROGRAM_ID, type TimelockSettlementKind, type TimelockSettlementOptions, type TimelockSettlementRecord, TimelockSettlementService, type TimelockSettlementSummary, type TrackedAccountValue, type TrancheKindArgs, type TransactionBuilder, TransactionClient, USDC_MINT, USD_STAR_JUNIOR_MINT, USD_STAR_MINT, USD_STAR_PRINCIPAL_MINT, type UpdateAccountParams, UpdateAssetPriceBuilder, type UpdateAssetPriceIxArgs, type UpdateAssetPriceTxArgs, UpdateConsensusOracleBuilder, type UpdateConsensusOracleIxArgs, type UpdateConsensusOracleTxArgs, UpdateConsensusSignersBuilder, type UpdateConsensusSignersIxArgs, type UpdateConsensusSignersTxArgs, type UpdateDynamicAprParams, UpdateTrancheConfigBuilder, type UpdateTrancheConfigIxArgs, type UpdateTrancheConfigTxArgs, VAULT_CACHE_CATEGORY, VAULT_CREATOR_WHITELIST, VAULT_ENVIRONMENTS, VAULT_ORACLE_CACHE_CATEGORY, VAULT_PROGRAM_ID, VAULT_PROGRAM_IDS, VAULT_PROGRAM_PUBLIC_KEY, VAULT_ROLE_UPDATE_TIMELOCK_SECS, VAULT_TRANCHE_STATE_CACHE_CATEGORY, VAULT_TRANCHE_WITHDRAWAL_QUEUE_CACHE_CATEGORY, type Vault, type VaultAccountData, VaultBuilderBase, type VaultBuilderContext, type VaultCacheInvalidation, VaultClient, type VaultClientBundle, type VaultEnv, type VaultIncentiveAccount, type VaultIncentiveAccountData, type VaultIncentiveV3Account, type VaultIncentiveV3AccountData, type VaultOracleAccountData, type VaultOracleResult, type VaultPricingInputs, type VaultQuote, type VaultQuoteArgs, VaultQuoteClient, type VaultQuoteDirection, type VaultQuoteShareClass, VaultReallocationBuilder, type VaultReallocationIxArgs, type VaultReallocationTxArgs, type VaultTrancheStateAccountData, type VaultTrancheWithdrawalQueueAccountData, type VaultTransactionPlan, WITHDRAWABLE_RESERVE_FLOOR_BPS, type WithdrawProtocolFeesIxArgs, type WithdrawProtocolFeesTxArgs, WithdrawalQueueService, type WithdrawalQueueSnapshot, type YieldAccount, type YieldAccountSnapshot, type YieldCalculationLog, type YieldCashflow, type YieldPaymentResponse, type YieldPaymentSnapshot, type YieldTracker, type YieldValuationModel, accountingUnitPriceToUsd, addCashflowUpdate, applyEffectiveApy, assertNoLargeBalanceChanges, assertNoUnconfirmedYieldPayments, buildHoldingUpdate, buildMarginfiWithdrawInteraction, buildNestDepositRequest, buildNestWithdrawalRequest, buildUpdates, candidateGrossNav, coerceBool, collectSamples, confirmYieldPayment, createAccount, createLiveConsensusOracleDeps, createRpcFromConnection, createTokenMint, createTokenMintIxs, createVaultClient, createYieldPayment, dateToStr, decodeNestDepositRequest, decodeNestWithdrawalRequest, decodePendingConsensusSigners, defaultKeypairPath, deleteAccount, discoverVaultsForSigner, fetchExternalPositions, fetchNestRedemptionQuote, fetchNestRedemptionStatus, fetchNestTokenPrice, fetchReceiptMints, filterTargetHoldings, findLargeBalanceChanges, findSquadsWalletRoute, formatSettlementSimulation, fromUiAmount, gatherPricingInputs, getAccount, getAccounts, getAprYield, getBalance, getCashflows, getIncentiveRecipientShareAtas, getIncentiveRecipients, getIncentiveReportRecipients, getIncentiveTotals, getIncentiveV3OracleState, getIncentiveV3RecipientShareAtas, getIncentiveV3Recipients, getIncentiveV3Totals, getNavValue, getRpcUrl, getTotalOutstandingYield, getTotalTrackedValue, getTotalYield, getTrackedValue, getVaultProgramId, getYield, getYieldPayments, indexConfigByMint, isNavAccountBalance, isNavAccountValue, isNavYieldAccount, isVaultEnv, keypairAddress, loadKeypair, logProspectiveApy, makeProvider, managerReconciliationStateKey, mintTokensTo, mints, mostFrequent, parseExternalLiquidityRefs, planRebalance, prepareSquadsProposalUpload, prepareVaultTransaction, previousPhysicalNav, priceInAccountingUnit, publishedConsensusBlockers, readI64LE, readSplMintSupply, reconcileManagerWalletBalances, refreshLiveOraclePrices, resolveExternalWithdraw, resolveKeypairPath, resolveSquadsWalletRoute, resolveTrackedAmounts, roundToNextUtcMidnight, runLiveConsensusOracle, selectReportableHoldings, settleVault, signerInOracleData, simulateConsensusOracleSettlement, simulateDryRunSettlement, simulateSquadsProposalExecution, sumPositionsByMint, systemClock, toBigInt, toUiAmount, toWeb3AccountMeta, trackedValueFromResponse, updateAccount, updateDynamicApr, validateSquadsWalletRoutes, variantName, vaultAuthorityForWallet, withDiscoveredYieldAccounts };
|