@1delta/margin-fetcher 5.0.142 → 5.0.143
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 +33 -1
- package/dist/index.js +290 -56
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -8882,6 +8882,14 @@ interface LstShareToken extends VaultClassificationFields {
|
|
|
8882
8882
|
* publishes none.
|
|
8883
8883
|
*/
|
|
8884
8884
|
withdrawFeeBps?: number;
|
|
8885
|
+
/**
|
|
8886
|
+
* Share of staking rewards the protocol keeps, PERCENT (`10` = 10 %) — the
|
|
8887
|
+
* savings `fee` field under the same name, so the term sheet reads one
|
|
8888
|
+
* field. Already netted out of the exchange rate. Absent means not read.
|
|
8889
|
+
*/
|
|
8890
|
+
fee?: number;
|
|
8891
|
+
/** The whole fee schedule was read (registry `feeScheduleCheckedAt`). */
|
|
8892
|
+
feeScheduleComplete?: boolean;
|
|
8885
8893
|
/**
|
|
8886
8894
|
* **Every way out, enumerated** — see `VaultExitRoute`.
|
|
8887
8895
|
*
|
|
@@ -9606,7 +9614,11 @@ type FeeWhen = Open<'entry' | 'ongoing' | 'exit' | 'late' | 'liquidation' | 'per
|
|
|
9606
9614
|
*/
|
|
9607
9615
|
interface FeeTerm {
|
|
9608
9616
|
/** Stable slug — the join key for UI copy and filtering. */
|
|
9609
|
-
id: Open<'origination' | 'late-penalty' | 'early-repay-penalty' | 'early-repay-discount' | 'continuous' | 'settlement' | 'instant-exit'
|
|
9617
|
+
id: Open<'origination' | 'late-penalty' | 'early-repay-penalty' | 'early-repay-discount' | 'continuous' | 'settlement' | 'instant-exit'
|
|
9618
|
+
/** Exit fee on the QUEUED leg of a two-legged exit (Nest's `queuedFeeBps`). */
|
|
9619
|
+
| 'queued-exit'
|
|
9620
|
+
/** Entry fee taken from the deposit (Saturn's sUSDat, Concrete). */
|
|
9621
|
+
| 'deposit' | 'performance'
|
|
9610
9622
|
/** Charged on ASSETS and ongoing, not on yield — so it is owed in a flat
|
|
9611
9623
|
* year, which a performance fee is not. */
|
|
9612
9624
|
| 'management' | 'reserve-factor' | 'gas-compensation' | 'redemption' | 'claim' | 'liquidation-bonus'>;
|
|
@@ -10912,6 +10924,18 @@ interface SavingsVault extends VaultClassificationFields {
|
|
|
10912
10924
|
* on-chain (Superform SuperVaults).
|
|
10913
10925
|
*/
|
|
10914
10926
|
fee?: number;
|
|
10927
|
+
/**
|
|
10928
|
+
* Management fee on ASSETS, in PERCENT per year (`1` = 1 % p.a.). Owed in a
|
|
10929
|
+
* flat year, which a performance fee is not. Already netted out of the share
|
|
10930
|
+
* price and `supplyRate`. Absent means not read, not free.
|
|
10931
|
+
*/
|
|
10932
|
+
managementFee?: number;
|
|
10933
|
+
/**
|
|
10934
|
+
* The vault's whole fee schedule was read (registry `feeScheduleCheckedAt`)
|
|
10935
|
+
* and every fee it can charge is on this row, so missing fee fields mean
|
|
10936
|
+
* FREE rather than "not published". Only emitted when true.
|
|
10937
|
+
*/
|
|
10938
|
+
feeScheduleComplete?: boolean;
|
|
10915
10939
|
/**
|
|
10916
10940
|
* Seconds a FRESH deposit earns nothing before the rate applies.
|
|
10917
10941
|
*
|
|
@@ -16222,6 +16246,14 @@ interface VaultTermInput {
|
|
|
16222
16246
|
withdrawalMode?: string;
|
|
16223
16247
|
withdrawalCooldownSeconds?: number;
|
|
16224
16248
|
withdrawFeeBps?: number;
|
|
16249
|
+
/** ENTRY fee in basis points, taken from the deposit. */
|
|
16250
|
+
depositFeeBps?: number;
|
|
16251
|
+
/**
|
|
16252
|
+
* The vault's whole fee schedule was read and every fee it can charge is on
|
|
16253
|
+
* the row, so an empty fee list means FREE rather than "not published".
|
|
16254
|
+
* Set only by a registry entry that records the check.
|
|
16255
|
+
*/
|
|
16256
|
+
feeScheduleComplete?: boolean;
|
|
16225
16257
|
/**
|
|
16226
16258
|
* The row's per-leg exit routes, passed straight through to
|
|
16227
16259
|
* `SupplyExitTerms.routes`. Present on every vault row; when a row predates
|