@1delta/data-sdk 0.0.64 → 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.
@@ -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; the built-in rows are the fallback (the Curvance/Ripe pattern), so the
41
- * provider works with no `config/alchemix.json` publish. Accepts the bare key
42
- * or a per-market key.
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 `[]`. */
@@ -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 metadata
7
- * wins if it ever exists, the built-in Ethereum row is the working fallback,
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
- * wins; the built-in Ethereum row is the fallback so the provider works
56
- * with no `config/cooler.json` publish (none is planned — the deployment
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`), but the provider is live with nothing to publish
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";
@@ -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. So the integration is live with nothing to publish,
56
- * and publishing later is a pure override.
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
@@ -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 metadata wins
18
- * if it ever exists, the built-in rows are the working fallback. Addresses
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 {
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.0.64",
7
+ "version": "0.0.65",
8
8
  "description": "Hold and initialize lending protocol data across a stack",
9
9
  "files": [
10
10
  "dist"