@1delta/margin-fetcher 5.0.120 → 5.0.121
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.js +26 -1
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -91977,6 +91977,12 @@ function isSyntheticQuoteUnit(mint) {
|
|
|
91977
91977
|
return !!mint && mint !== WSOL && /1{16,}/.test(mint);
|
|
91978
91978
|
}
|
|
91979
91979
|
var EXPONENT_MATURED_REASON = "This PT has matured \u2014 it is redeemed at par through the Exponent vault (merge / redeem), which is not built in this API yet";
|
|
91980
|
+
var SPL_STAKE_POOL_OPEN = {
|
|
91981
|
+
verbs: ["deposit", "withdraw", "request-withdraw", "claim"],
|
|
91982
|
+
nativeDeposit: true,
|
|
91983
|
+
nativeWithdraw: true,
|
|
91984
|
+
requires: { withdraw: SHARES, "request-withdraw": SHARES }
|
|
91985
|
+
};
|
|
91980
91986
|
var SVM_EARN_VAULT_BUILDERS = {
|
|
91981
91987
|
// jl tokens: a pay-asset conversion on deposit, none on withdraw; the
|
|
91982
91988
|
// withdraw takes assets (or shares with isShares)
|
|
@@ -92126,6 +92132,21 @@ var SVM_EARN_VAULT_BUILDERS = {
|
|
|
92126
92132
|
],
|
|
92127
92133
|
nativeDeposit: true,
|
|
92128
92134
|
requires: { "request-withdraw": SHARES }
|
|
92135
|
+
},
|
|
92136
|
+
// SPL stake-pool LSTs (calldata-sdk-sol `ComposerStakePoolActions`): SOL /
|
|
92137
|
+
// wSOL in through the pool's own DepositSol, at NAV. Out: the instant
|
|
92138
|
+
// WithdrawSol from the reserve (by SHARES, capped by it) where the pool
|
|
92139
|
+
// lets holders take it, and on EVERY pool the unstake — WithdrawStake into
|
|
92140
|
+
// a wallet-owned stake account, deactivating (`request-withdraw`, by
|
|
92141
|
+
// SHARES) — then `claim` once the epoch has turned (pays SOL).
|
|
92142
|
+
"lst:Jito": SPL_STAKE_POOL_OPEN,
|
|
92143
|
+
"lst:SolBlaze": SPL_STAKE_POOL_OPEN,
|
|
92144
|
+
// BNSOL: the pool's SOL withdraw authority is its manager (a Binance key),
|
|
92145
|
+
// so the instant leg is closed to holders — the unstake is the pool-side exit
|
|
92146
|
+
"lst:Binance": {
|
|
92147
|
+
verbs: ["deposit", "request-withdraw", "claim"],
|
|
92148
|
+
nativeDeposit: true,
|
|
92149
|
+
requires: { "request-withdraw": SHARES }
|
|
92129
92150
|
}
|
|
92130
92151
|
};
|
|
92131
92152
|
var SVM_EARN_MINT_BUILDERS = {
|
|
@@ -92145,7 +92166,11 @@ var SVM_EARN_MINT_BUILDERS = {
|
|
|
92145
92166
|
// Sanctum INF
|
|
92146
92167
|
"5oVNBeEEQvYi1cX3ir8Dx5n1P7pdxydbGF2X4TxVusJm": "savings:Sanctum",
|
|
92147
92168
|
// Renzo ezSOL (Jito Restaking VRT)
|
|
92148
|
-
ezSoL6fY1PVdJcJsUpe5CM3xkfmy3zoVCABybm5WtiC: "lst:Renzo"
|
|
92169
|
+
ezSoL6fY1PVdJcJsUpe5CM3xkfmy3zoVCABybm5WtiC: "lst:Renzo",
|
|
92170
|
+
// SPL stake-pool LSTs (margin-fetcher-sol `SPL_STAKE_POOL_LSTS`)
|
|
92171
|
+
J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn: "lst:Jito",
|
|
92172
|
+
bSo13r4TkiE4KumL71LsHTPpL2euBYLFx6h9HP3piy1: "lst:SolBlaze",
|
|
92173
|
+
BNso1VUJnh4zcfpZa6986Ea66P6TCp59hvtNJ8b1X85: "lst:Binance"
|
|
92149
92174
|
};
|
|
92150
92175
|
var ROSTER_BRAND_BUILDERS = /* @__PURE__ */ new Set([
|
|
92151
92176
|
"savings:Nest",
|