@1delta/data-sdk 0.0.48 → 0.0.49
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/aave.d.ts +11 -0
- package/package.json +1 -1
package/dist/lending/aave.d.ts
CHANGED
|
@@ -15,6 +15,17 @@ export type AavePoolsType = {
|
|
|
15
15
|
[chainId: string]: {
|
|
16
16
|
pool: string;
|
|
17
17
|
protocolDataProvider: string;
|
|
18
|
+
/**
|
|
19
|
+
* Highest ACTIVE e-mode category id on this deployment — the pool
|
|
20
|
+
* exposes no count getter, so the number is probed on-chain by
|
|
21
|
+
* `lender-metadata`'s daily `update:dataset` run and read back here.
|
|
22
|
+
* Consumers fetch ids `0..eModeCount`. Categories are contiguous
|
|
23
|
+
* from 1 on every deployment observed, so a count is enough.
|
|
24
|
+
*
|
|
25
|
+
* ABSENT means "not probed" — fall back to a conservative default,
|
|
26
|
+
* never to 0, or the deployment loses its e-modes silently.
|
|
27
|
+
*/
|
|
28
|
+
eModeCount?: number;
|
|
18
29
|
};
|
|
19
30
|
};
|
|
20
31
|
};
|