@1delta/data-sdk 0.0.63 → 0.0.65
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/lending/alchemix.d.ts +4 -3
- package/dist/lending/cooler.d.ts +4 -5
- package/dist/lending/curvance.d.ts +2 -1
- package/dist/lending/dolomite.d.ts +4 -0
- package/dist/lending/inverse.d.ts +5 -0
- package/dist/lending/resupply.d.ts +3 -2
- package/dist/lending/ripe.d.ts +2 -2
- package/package.json +1 -1
|
@@ -37,9 +37,10 @@ export declare const alchemixConfig: () => AlchemixConfigType;
|
|
|
37
37
|
export declare const alchemixBaseKey: (lender: string) => string;
|
|
38
38
|
/**
|
|
39
39
|
* Deployment roster for the Alchemix lender on a chain. Published metadata
|
|
40
|
-
* wins
|
|
41
|
-
*
|
|
42
|
-
*
|
|
40
|
+
* (`config/alchemix.json`) wins whole when its `markets` is non-empty — no
|
|
41
|
+
* merge, so a published chain lists EVERY Alchemist on it; the built-in rows
|
|
42
|
+
* are the fallback (the Curvance/Ripe pattern). Accepts the bare key or a
|
|
43
|
+
* per-market key.
|
|
43
44
|
*/
|
|
44
45
|
export declare const alchemixConfigFor: (lender: string, chainId: string | number) => AlchemixConfigChain | undefined;
|
|
45
46
|
/** All markets on a chain, or `[]`. */
|
package/dist/lending/cooler.d.ts
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* collateral → USDS debt at a protocol-set rate, positions keyed by account
|
|
4
4
|
* address on ONE monolithic contract. `COOLER` is both the dispatch key and
|
|
5
5
|
* the market key — there is exactly one market and no roster to curate, so
|
|
6
|
-
* this module follows the Curvance built-in-seed pattern: published
|
|
7
|
-
*
|
|
6
|
+
* this module follows the Curvance built-in-seed pattern: the published
|
|
7
|
+
* `config/cooler.json` row wins, the built-in Ethereum row is the fallback,
|
|
8
8
|
* and there is NO `coolerMarkets` registry slot.
|
|
9
9
|
*
|
|
10
10
|
* Address provenance: every address verified on-chain 2026-08-19 against the
|
|
@@ -52,9 +52,8 @@ export declare const COOLER_ETHEREUM_CONFIG: CoolerConfigChain;
|
|
|
52
52
|
export declare const coolerConfig: () => CoolerConfigType;
|
|
53
53
|
/**
|
|
54
54
|
* Deployment config for the Cooler lender on a chain. Published metadata
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
* is a single immutable policy set).
|
|
55
|
+
* (`config/cooler.json`, published 2026-10-21) wins whole — no field merge;
|
|
56
|
+
* the built-in Ethereum row is the fallback for a failed fetch.
|
|
58
57
|
*/
|
|
59
58
|
export declare const coolerConfigFor: (lender: string, chainId: string | number) => CoolerConfigChain | undefined;
|
|
60
59
|
/**
|
|
@@ -65,7 +65,8 @@ export type CurvanceConfigType = {
|
|
|
65
65
|
* Built-in Monad deployment seed for Curvance.
|
|
66
66
|
*
|
|
67
67
|
* Same arrangement as Resupply: a published `config/curvance.json` still WINS
|
|
68
|
-
* (see `curvanceConfigFor
|
|
68
|
+
* (see `curvanceConfigFor`; published 2026-10-21 as a copy of this row, and
|
|
69
|
+
* the place to add a Position Manager), but the provider is live without it
|
|
69
70
|
* because `centralRegistry` is an immutable protocol singleton and the whole
|
|
70
71
|
* market roster is discovered from it at runtime.
|
|
71
72
|
*
|
|
@@ -110,6 +110,10 @@ export declare const dolomiteConfigs: () => DolomiteConfigsType;
|
|
|
110
110
|
* 8453, 42161, 57073, 80094). Probed 2026-09-18 on Arbitrum: all three are
|
|
111
111
|
* `getIsGlobalOperator == true` and `isTokenConverterTrusted == true` on every
|
|
112
112
|
* live isolation factory.
|
|
113
|
+
*
|
|
114
|
+
* Fallback only: lender-metadata writes all three per chain into
|
|
115
|
+
* `config/dolomite-margin.json` (from the modules deployments file), and the
|
|
116
|
+
* config's address wins in `dolomiteRouters`.
|
|
113
117
|
*/
|
|
114
118
|
export declare const DOLOMITE_ROUTER_DEFAULTS: {
|
|
115
119
|
readonly depositWithdrawalRouter: "0xf8b2c637A68cF6A17b1DF9F8992EeBeFf63d2dFf";
|
|
@@ -8,6 +8,11 @@ export type InverseConfigChain = {
|
|
|
8
8
|
oracle: string;
|
|
9
9
|
/** BorrowController v4 (contract-caller allowlist; EOAs bypass). */
|
|
10
10
|
borrowController: string;
|
|
11
|
+
/** Inverse's ALE (Accelerated Leverage Engine) — the one contract the
|
|
12
|
+
* BorrowController allowlists, so the only loop route. Absent ⇒ the
|
|
13
|
+
* calldata-sdk constant (`InverseAle.ALE_MAINNET`). Inverse REPLACES it
|
|
14
|
+
* from time to time (the 0x39D1… one was de-listed by 2026-10). */
|
|
15
|
+
ale?: string;
|
|
11
16
|
/** Debt decimals (18). */
|
|
12
17
|
debtDecimals?: number;
|
|
13
18
|
/** The Curve tricrypto pool that IS the DBR market (TriDBR: DOLA/DBR/INV).
|
|
@@ -52,8 +52,9 @@ export type ResupplyConfigType = {
|
|
|
52
52
|
* `resupplyConfigFor`). The fallback exists because these are immutable
|
|
53
53
|
* protocol singletons — `RouterSwapper` even hardcodes the registry address in
|
|
54
54
|
* its own bytecode — and because the whole market roster is discovered from
|
|
55
|
-
* `registry` at runtime.
|
|
56
|
-
*
|
|
55
|
+
* `registry` at runtime. Since 2026-10-21 lender-metadata regenerates
|
|
56
|
+
* `config/resupply.json` daily from the registry (swappers included), so a
|
|
57
|
+
* redeploy lands as a metadata publish; this seed is the fallback.
|
|
57
58
|
*
|
|
58
59
|
* Verified on-chain 2026-08-04 (block ~25,683,400). Deliberately NOT taken
|
|
59
60
|
* from the docs' `faq/contract-addresses` page or the repo's
|
package/dist/lending/ripe.d.ts
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* The asset roster is NOT seeded either: `MissionControl.numAssets()` /
|
|
15
15
|
* `assets(i)` enumerate it on chain, and per-asset terms change by governance.
|
|
16
16
|
*
|
|
17
|
-
* Follows the Cooler/Curvance built-in-seed pattern: published
|
|
18
|
-
*
|
|
17
|
+
* Follows the Cooler/Curvance built-in-seed pattern: the published
|
|
18
|
+
* `config/ripe.json` row wins whole, the built-in rows are the fallback. Addresses
|
|
19
19
|
* verified on chain 2026-10-14 (RipeHq registry walk) — see RIPE.md.
|
|
20
20
|
*/
|
|
21
21
|
export interface RipeConfigChain {
|