@1delta/margin-fetcher 0.0.231 → 0.0.233
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/abis/silo-v2/InterestRateModelV2.d.ts +52 -0
- package/dist/abis/silo-v2/InterestRateModelV2.d.ts.map +1 -0
- package/dist/index.js +471 -69
- package/dist/index.js.map +1 -1
- package/dist/lending/margin/e-mode/index.d.ts +10 -1
- package/dist/lending/margin/e-mode/index.d.ts.map +1 -1
- package/dist/lending/public-data/fetchLender.d.ts.map +1 -1
- package/dist/lending/public-data/fetchLenderAll.d.ts.map +1 -1
- package/dist/lending/public-data/fetchLenderExt.d.ts.map +1 -1
- package/dist/lending/public-data/silo-v2/irmRates.d.ts +38 -0
- package/dist/lending/public-data/silo-v2/irmRates.d.ts.map +1 -0
- package/dist/lending/public-data/silo-v2/publicCallBuild.d.ts +15 -13
- package/dist/lending/public-data/silo-v2/publicCallBuild.d.ts.map +1 -1
- package/dist/lending/public-data/silo-v2/publicCallParse.d.ts.map +1 -1
- package/dist/lending/public-data/silo-v3/publicCallBuild.d.ts +10 -7
- package/dist/lending/public-data/silo-v3/publicCallBuild.d.ts.map +1 -1
- package/dist/lending/public-data/silo-v3/publicCallParse.d.ts.map +1 -1
- package/dist/lending/user-data/abis.d.ts.map +1 -1
- package/dist/lending/user-data/fetch-balances/parse.d.ts.map +1 -1
- package/dist/lending/user-data/fetch-balances/prepare.d.ts.map +1 -1
- package/dist/lending/user-data/silo-v2/userCallParse.d.ts.map +1 -1
- package/dist/lending/user-data/silo-v3/userCallBuild.d.ts +5 -0
- package/dist/lending/user-data/silo-v3/userCallBuild.d.ts.map +1 -0
- package/dist/lending/user-data/silo-v3/userCallParse.d.ts +30 -0
- package/dist/lending/user-data/silo-v3/userCallParse.d.ts.map +1 -0
- package/dist/lending/user-data/with-permissions/evaluate.d.ts +2 -0
- package/dist/lending/user-data/with-permissions/evaluate.d.ts.map +1 -1
- package/dist/lending/user-data/with-permissions/types.d.ts +2 -0
- package/dist/lending/user-data/with-permissions/types.d.ts.map +1 -1
- package/dist/prices/oracle-prices/fetchers/compoundV2.d.ts +2 -0
- package/dist/prices/oracle-prices/fetchers/compoundV2.d.ts.map +1 -1
- package/dist/types/lenderTypes.d.ts +6 -0
- package/dist/types/lenderTypes.d.ts.map +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Minimal ABI for Silo V2 (and V3 — identical shape) InterestRateModelV2.
|
|
3
|
+
*
|
|
4
|
+
* Only `getConfig(silo)` is needed for reserve-data rate derivation.
|
|
5
|
+
* Keeping this local avoids pulling in the full `@1delta/irm-sdk` just
|
|
6
|
+
* for a single ABI entry.
|
|
7
|
+
*/
|
|
8
|
+
export declare const InterestRateModelV2Abi: readonly [{
|
|
9
|
+
readonly type: "function";
|
|
10
|
+
readonly name: "getConfig";
|
|
11
|
+
readonly stateMutability: "view";
|
|
12
|
+
readonly inputs: readonly [{
|
|
13
|
+
readonly name: "_silo";
|
|
14
|
+
readonly type: "address";
|
|
15
|
+
}];
|
|
16
|
+
readonly outputs: readonly [{
|
|
17
|
+
readonly name: "";
|
|
18
|
+
readonly type: "tuple";
|
|
19
|
+
readonly components: readonly [{
|
|
20
|
+
readonly name: "uopt";
|
|
21
|
+
readonly type: "int256";
|
|
22
|
+
}, {
|
|
23
|
+
readonly name: "ucrit";
|
|
24
|
+
readonly type: "int256";
|
|
25
|
+
}, {
|
|
26
|
+
readonly name: "ulow";
|
|
27
|
+
readonly type: "int256";
|
|
28
|
+
}, {
|
|
29
|
+
readonly name: "klin";
|
|
30
|
+
readonly type: "int256";
|
|
31
|
+
}, {
|
|
32
|
+
readonly name: "ki";
|
|
33
|
+
readonly type: "int256";
|
|
34
|
+
}, {
|
|
35
|
+
readonly name: "kcrit";
|
|
36
|
+
readonly type: "int256";
|
|
37
|
+
}, {
|
|
38
|
+
readonly name: "klow";
|
|
39
|
+
readonly type: "int256";
|
|
40
|
+
}, {
|
|
41
|
+
readonly name: "beta";
|
|
42
|
+
readonly type: "int256";
|
|
43
|
+
}, {
|
|
44
|
+
readonly name: "ri";
|
|
45
|
+
readonly type: "int256";
|
|
46
|
+
}, {
|
|
47
|
+
readonly name: "Tcrit";
|
|
48
|
+
readonly type: "int256";
|
|
49
|
+
}];
|
|
50
|
+
}];
|
|
51
|
+
}];
|
|
52
|
+
//# sourceMappingURL=InterestRateModelV2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InterestRateModelV2.d.ts","sourceRoot":"","sources":["../../../src/abis/silo-v2/InterestRateModelV2.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyBzB,CAAA"}
|