@varla/sdk 2.12.0 → 2.13.1
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/AGENTS.md +10 -10
- package/CHANGELOG.md +15 -0
- package/dist/abi/full/VarlaOracle.d.ts +72 -0
- package/dist/abi/full/VarlaOracle.d.ts.map +1 -1
- package/dist/abi/full/VarlaOracle.js +93 -0
- package/dist/abi/full/VarlaOracle.js.map +1 -1
- package/dist/abi/subsets/VarlaOracle.registry.d.ts +42 -0
- package/dist/abi/subsets/VarlaOracle.registry.d.ts.map +1 -1
- package/dist/abi/subsets/VarlaOracle.registry.js +54 -0
- package/dist/abi/subsets/VarlaOracle.registry.js.map +1 -1
- package/dist/addresses/index.d.ts +1 -1
- package/dist/addresses/index.d.ts.map +1 -1
- package/dist/addresses/index.js +1 -1
- package/dist/addresses/index.js.map +1 -1
- package/dist/addresses/polygon.d.ts.map +1 -1
- package/dist/addresses/polygon.js +12 -10
- package/dist/addresses/polygon.js.map +1 -1
- package/dist/addresses/polygonProxy.d.ts +3 -0
- package/dist/addresses/polygonProxy.d.ts.map +1 -0
- package/dist/addresses/polygonProxy.js +15 -0
- package/dist/addresses/polygonProxy.js.map +1 -0
- package/dist/contracts.d.ts +11 -3
- package/dist/contracts.d.ts.map +1 -1
- package/dist/contracts.js +20 -10
- package/dist/contracts.js.map +1 -1
- package/dist/generated.d.ts +115 -1
- package/dist/generated.d.ts.map +1 -1
- package/dist/generated.js +1 -1
- package/dist/generated.js.map +1 -1
- package/dist/types.d.ts +7 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/views/admin.d.ts +25 -0
- package/dist/views/admin.d.ts.map +1 -1
- package/dist/views/admin.js +62 -1
- package/dist/views/admin.js.map +1 -1
- package/package.json +1 -1
- package/src/abi/full/VarlaOracle.ts +93 -0
- package/src/abi/subsets/VarlaOracle.registry.ts +54 -0
- package/src/addresses/index.ts +1 -1
- package/src/addresses/polygon.json +10 -10
- package/src/addresses/polygon.ts +13 -11
- package/src/addresses/polygonProxy.ts +18 -0
- package/src/contracts.ts +30 -10
- package/src/generated.ts +1 -1
- package/src/types.ts +8 -0
- package/src/views/admin.ts +84 -1
package/dist/generated.d.ts
CHANGED
|
@@ -1429,6 +1429,18 @@ export declare const abis: {
|
|
|
1429
1429
|
}];
|
|
1430
1430
|
readonly name: "InvalidMaxStaleness";
|
|
1431
1431
|
readonly type: "error";
|
|
1432
|
+
}, {
|
|
1433
|
+
readonly inputs: readonly [{
|
|
1434
|
+
readonly internalType: "uint256";
|
|
1435
|
+
readonly name: "value";
|
|
1436
|
+
readonly type: "uint256";
|
|
1437
|
+
}, {
|
|
1438
|
+
readonly internalType: "uint256";
|
|
1439
|
+
readonly name: "floor";
|
|
1440
|
+
readonly type: "uint256";
|
|
1441
|
+
}];
|
|
1442
|
+
readonly name: "InvalidMinLiquidity";
|
|
1443
|
+
readonly type: "error";
|
|
1432
1444
|
}, {
|
|
1433
1445
|
readonly inputs: readonly [{
|
|
1434
1446
|
readonly internalType: "uint256";
|
|
@@ -1602,6 +1614,21 @@ export declare const abis: {
|
|
|
1602
1614
|
}];
|
|
1603
1615
|
readonly name: "LowLiquidityConfigUpdated";
|
|
1604
1616
|
readonly type: "event";
|
|
1617
|
+
}, {
|
|
1618
|
+
readonly anonymous: false;
|
|
1619
|
+
readonly inputs: readonly [{
|
|
1620
|
+
readonly indexed: false;
|
|
1621
|
+
readonly internalType: "bool";
|
|
1622
|
+
readonly name: "oldValue";
|
|
1623
|
+
readonly type: "bool";
|
|
1624
|
+
}, {
|
|
1625
|
+
readonly indexed: false;
|
|
1626
|
+
readonly internalType: "bool";
|
|
1627
|
+
readonly name: "newValue";
|
|
1628
|
+
readonly type: "bool";
|
|
1629
|
+
}];
|
|
1630
|
+
readonly name: "LowLiquidityGraceBlocksLiquidationUpdated";
|
|
1631
|
+
readonly type: "event";
|
|
1605
1632
|
}, {
|
|
1606
1633
|
readonly anonymous: false;
|
|
1607
1634
|
readonly inputs: readonly [{
|
|
@@ -1637,6 +1664,21 @@ export declare const abis: {
|
|
|
1637
1664
|
}];
|
|
1638
1665
|
readonly name: "MaxStalenessUpdated";
|
|
1639
1666
|
readonly type: "event";
|
|
1667
|
+
}, {
|
|
1668
|
+
readonly anonymous: false;
|
|
1669
|
+
readonly inputs: readonly [{
|
|
1670
|
+
readonly indexed: false;
|
|
1671
|
+
readonly internalType: "uint256";
|
|
1672
|
+
readonly name: "oldMinLiquidity";
|
|
1673
|
+
readonly type: "uint256";
|
|
1674
|
+
}, {
|
|
1675
|
+
readonly indexed: false;
|
|
1676
|
+
readonly internalType: "uint256";
|
|
1677
|
+
readonly name: "newMinLiquidity";
|
|
1678
|
+
readonly type: "uint256";
|
|
1679
|
+
}];
|
|
1680
|
+
readonly name: "MinLiquidityUpdated";
|
|
1681
|
+
readonly type: "event";
|
|
1640
1682
|
}, {
|
|
1641
1683
|
readonly anonymous: false;
|
|
1642
1684
|
readonly inputs: readonly [{
|
|
@@ -2676,6 +2718,16 @@ export declare const abis: {
|
|
|
2676
2718
|
}];
|
|
2677
2719
|
readonly stateMutability: "view";
|
|
2678
2720
|
readonly type: "function";
|
|
2721
|
+
}, {
|
|
2722
|
+
readonly inputs: readonly [];
|
|
2723
|
+
readonly name: "lowLiquidityGraceBlocksLiquidation";
|
|
2724
|
+
readonly outputs: readonly [{
|
|
2725
|
+
readonly internalType: "bool";
|
|
2726
|
+
readonly name: "";
|
|
2727
|
+
readonly type: "bool";
|
|
2728
|
+
}];
|
|
2729
|
+
readonly stateMutability: "view";
|
|
2730
|
+
readonly type: "function";
|
|
2679
2731
|
}, {
|
|
2680
2732
|
readonly inputs: readonly [];
|
|
2681
2733
|
readonly name: "maxStaleness";
|
|
@@ -2776,6 +2828,16 @@ export declare const abis: {
|
|
|
2776
2828
|
readonly outputs: readonly [];
|
|
2777
2829
|
readonly stateMutability: "nonpayable";
|
|
2778
2830
|
readonly type: "function";
|
|
2831
|
+
}, {
|
|
2832
|
+
readonly inputs: readonly [{
|
|
2833
|
+
readonly internalType: "bool";
|
|
2834
|
+
readonly name: "shouldBlock";
|
|
2835
|
+
readonly type: "bool";
|
|
2836
|
+
}];
|
|
2837
|
+
readonly name: "setLowLiquidityGraceBlocksLiquidation";
|
|
2838
|
+
readonly outputs: readonly [];
|
|
2839
|
+
readonly stateMutability: "nonpayable";
|
|
2840
|
+
readonly type: "function";
|
|
2779
2841
|
}, {
|
|
2780
2842
|
readonly inputs: readonly [{
|
|
2781
2843
|
readonly internalType: "uint256";
|
|
@@ -2786,6 +2848,16 @@ export declare const abis: {
|
|
|
2786
2848
|
readonly outputs: readonly [];
|
|
2787
2849
|
readonly stateMutability: "nonpayable";
|
|
2788
2850
|
readonly type: "function";
|
|
2851
|
+
}, {
|
|
2852
|
+
readonly inputs: readonly [{
|
|
2853
|
+
readonly internalType: "uint256";
|
|
2854
|
+
readonly name: "newMinLiquidity";
|
|
2855
|
+
readonly type: "uint256";
|
|
2856
|
+
}];
|
|
2857
|
+
readonly name: "setMinLiquidity";
|
|
2858
|
+
readonly outputs: readonly [];
|
|
2859
|
+
readonly stateMutability: "nonpayable";
|
|
2860
|
+
readonly type: "function";
|
|
2789
2861
|
}, {
|
|
2790
2862
|
readonly inputs: readonly [{
|
|
2791
2863
|
readonly internalType: "uint256";
|
|
@@ -9953,6 +10025,18 @@ export declare const abis: {
|
|
|
9953
10025
|
}];
|
|
9954
10026
|
readonly name: "InvalidMaxStaleness";
|
|
9955
10027
|
readonly type: "error";
|
|
10028
|
+
}, {
|
|
10029
|
+
readonly inputs: readonly [{
|
|
10030
|
+
readonly internalType: "uint256";
|
|
10031
|
+
readonly name: "value";
|
|
10032
|
+
readonly type: "uint256";
|
|
10033
|
+
}, {
|
|
10034
|
+
readonly internalType: "uint256";
|
|
10035
|
+
readonly name: "floor";
|
|
10036
|
+
readonly type: "uint256";
|
|
10037
|
+
}];
|
|
10038
|
+
readonly name: "InvalidMinLiquidity";
|
|
10039
|
+
readonly type: "error";
|
|
9956
10040
|
}, {
|
|
9957
10041
|
readonly inputs: readonly [{
|
|
9958
10042
|
readonly internalType: "uint256";
|
|
@@ -10126,6 +10210,21 @@ export declare const abis: {
|
|
|
10126
10210
|
}];
|
|
10127
10211
|
readonly name: "LowLiquidityConfigUpdated";
|
|
10128
10212
|
readonly type: "event";
|
|
10213
|
+
}, {
|
|
10214
|
+
readonly anonymous: false;
|
|
10215
|
+
readonly inputs: readonly [{
|
|
10216
|
+
readonly indexed: false;
|
|
10217
|
+
readonly internalType: "bool";
|
|
10218
|
+
readonly name: "oldValue";
|
|
10219
|
+
readonly type: "bool";
|
|
10220
|
+
}, {
|
|
10221
|
+
readonly indexed: false;
|
|
10222
|
+
readonly internalType: "bool";
|
|
10223
|
+
readonly name: "newValue";
|
|
10224
|
+
readonly type: "bool";
|
|
10225
|
+
}];
|
|
10226
|
+
readonly name: "LowLiquidityGraceBlocksLiquidationUpdated";
|
|
10227
|
+
readonly type: "event";
|
|
10129
10228
|
}, {
|
|
10130
10229
|
readonly anonymous: false;
|
|
10131
10230
|
readonly inputs: readonly [{
|
|
@@ -10161,6 +10260,21 @@ export declare const abis: {
|
|
|
10161
10260
|
}];
|
|
10162
10261
|
readonly name: "MaxStalenessUpdated";
|
|
10163
10262
|
readonly type: "event";
|
|
10263
|
+
}, {
|
|
10264
|
+
readonly anonymous: false;
|
|
10265
|
+
readonly inputs: readonly [{
|
|
10266
|
+
readonly indexed: false;
|
|
10267
|
+
readonly internalType: "uint256";
|
|
10268
|
+
readonly name: "oldMinLiquidity";
|
|
10269
|
+
readonly type: "uint256";
|
|
10270
|
+
}, {
|
|
10271
|
+
readonly indexed: false;
|
|
10272
|
+
readonly internalType: "uint256";
|
|
10273
|
+
readonly name: "newMinLiquidity";
|
|
10274
|
+
readonly type: "uint256";
|
|
10275
|
+
}];
|
|
10276
|
+
readonly name: "MinLiquidityUpdated";
|
|
10277
|
+
readonly type: "event";
|
|
10164
10278
|
}, {
|
|
10165
10279
|
readonly anonymous: false;
|
|
10166
10280
|
readonly inputs: readonly [{
|
|
@@ -10508,6 +10622,6 @@ export declare const abis: {
|
|
|
10508
10622
|
};
|
|
10509
10623
|
export declare const addresses: {
|
|
10510
10624
|
readonly polygon: import("./types.js").AddressBook;
|
|
10511
|
-
readonly
|
|
10625
|
+
readonly polygonProxy: import("./types.js").AddressBook;
|
|
10512
10626
|
};
|
|
10513
10627
|
//# sourceMappingURL=generated.d.ts.map
|
package/dist/generated.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generated.d.ts","sourceRoot":"","sources":["../src/generated.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBP,CAAC;AAEX,eAAO,MAAM,SAAS;;;CAGZ,CAAC"}
|
package/dist/generated.js
CHANGED
package/dist/generated.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generated.js","sourceRoot":"","sources":["../src/generated.ts"],"names":[],"mappings":"AAAA,mEAAmE;AACnE,wBAAwB;AAExB,OAAO,KAAK,IAAI,MAAM,gBAAgB,CAAC;AACvC,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,uBAAuB,EAAE,IAAI,CAAC,uBAAuB;IACrD,sBAAsB,EAAE,IAAI,CAAC,sBAAsB;IACnD,eAAe,EAAE,IAAI,CAAC,eAAe;IACrC,aAAa,EAAE,IAAI,CAAC,aAAa;IACjC,aAAa,EAAE,IAAI,CAAC,aAAa;IACjC,6BAA6B,EAAE,IAAI,CAAC,6BAA6B;IACjE,mBAAmB,EAAE,IAAI,CAAC,mBAAmB;IAC7C,mBAAmB,EAAE,IAAI,CAAC,mBAAmB;IAC7C,wBAAwB,EAAE,IAAI,CAAC,wBAAwB;IACvD,0BAA0B,EAAE,IAAI,CAAC,0BAA0B;IAC3D,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;IACvC,wBAAwB,EAAE,IAAI,CAAC,wBAAwB;IACvD,iCAAiC,EAAE,IAAI,CAAC,iCAAiC;IACzE,oCAAoC,EAAE,IAAI,CAAC,oCAAoC;IAC/E,wBAAwB,EAAE,IAAI,CAAC,wBAAwB;CAC/C,CAAC;AAEX,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,OAAO,EAAE,UAAU,CAAC,OAAO;IAC3B,
|
|
1
|
+
{"version":3,"file":"generated.js","sourceRoot":"","sources":["../src/generated.ts"],"names":[],"mappings":"AAAA,mEAAmE;AACnE,wBAAwB;AAExB,OAAO,KAAK,IAAI,MAAM,gBAAgB,CAAC;AACvC,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,uBAAuB,EAAE,IAAI,CAAC,uBAAuB;IACrD,sBAAsB,EAAE,IAAI,CAAC,sBAAsB;IACnD,eAAe,EAAE,IAAI,CAAC,eAAe;IACrC,aAAa,EAAE,IAAI,CAAC,aAAa;IACjC,aAAa,EAAE,IAAI,CAAC,aAAa;IACjC,6BAA6B,EAAE,IAAI,CAAC,6BAA6B;IACjE,mBAAmB,EAAE,IAAI,CAAC,mBAAmB;IAC7C,mBAAmB,EAAE,IAAI,CAAC,mBAAmB;IAC7C,wBAAwB,EAAE,IAAI,CAAC,wBAAwB;IACvD,0BAA0B,EAAE,IAAI,CAAC,0BAA0B;IAC3D,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;IACvC,wBAAwB,EAAE,IAAI,CAAC,wBAAwB;IACvD,iCAAiC,EAAE,IAAI,CAAC,iCAAiC;IACzE,oCAAoC,EAAE,IAAI,CAAC,oCAAoC;IAC/E,wBAAwB,EAAE,IAAI,CAAC,wBAAwB;CAC/C,CAAC;AAEX,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,OAAO,EAAE,UAAU,CAAC,OAAO;IAC3B,YAAY,EAAE,UAAU,CAAC,YAAY;CAC7B,CAAC"}
|
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
export type ChainKey = "polygon" | "bsc";
|
|
2
|
+
/**
|
|
3
|
+
* Deployment mode.
|
|
4
|
+
*
|
|
5
|
+
* - `"immutable"` — contracts deployed directly (dev/testing, default)
|
|
6
|
+
* - `"proxy"` — contracts behind TransparentUpgradeableProxy (production/TVL)
|
|
7
|
+
*/
|
|
8
|
+
export type DeployMode = "immutable" | "proxy";
|
|
2
9
|
/**
|
|
3
10
|
* Minimal address book for off-chain services.
|
|
4
11
|
*
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG,SAAS,GAAG,KAAK,CAAC;AAEzC;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB,aAAa,EAAE,KAAK,MAAM,EAAE,CAAC;IAC7B,MAAM,EAAE,KAAK,MAAM,EAAE,CAAC;IACtB,IAAI,EAAE,KAAK,MAAM,EAAE,CAAC;IACpB,IAAI,EAAE,KAAK,MAAM,EAAE,CAAC;IAGpB,mBAAmB,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;IACpC,oBAAoB,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;IACrC,UAAU,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;IAE3B,UAAU,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;IAC3B,eAAe,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;IAChC,iBAAiB,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;IAClC,OAAO,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;IAExB,oBAAoB,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;IACrC,mBAAmB,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;IACpC,gCAAgC,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;CAClD,CAAC"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG,SAAS,GAAG,KAAK,CAAC;AAEzC;;;;;GAKG;AACH,MAAM,MAAM,UAAU,GAAG,WAAW,GAAG,OAAO,CAAC;AAE/C;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB,aAAa,EAAE,KAAK,MAAM,EAAE,CAAC;IAC7B,MAAM,EAAE,KAAK,MAAM,EAAE,CAAC;IACtB,IAAI,EAAE,KAAK,MAAM,EAAE,CAAC;IACpB,IAAI,EAAE,KAAK,MAAM,EAAE,CAAC;IAGpB,mBAAmB,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;IACpC,oBAAoB,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;IACrC,UAAU,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;IAE3B,UAAU,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;IAC3B,eAAe,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;IAChC,iBAAiB,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;IAClC,OAAO,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;IAExB,oBAAoB,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;IACrC,mBAAmB,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;IACpC,gCAAgC,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;CAClD,CAAC"}
|
package/dist/views/admin.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type Address, type PublicClient } from "viem";
|
|
2
|
+
import type { DeployMode } from "../types.js";
|
|
2
3
|
type StrategyLike = {
|
|
3
4
|
read: {
|
|
4
5
|
pool: () => Promise<Address>;
|
|
@@ -13608,5 +13609,29 @@ type ProxyAdminLike = {
|
|
|
13608
13609
|
export declare function readProxyAdminPaused(params: {
|
|
13609
13610
|
proxyAdmin: ProxyAdminLike;
|
|
13610
13611
|
}): Promise<boolean>;
|
|
13612
|
+
export type ProxyInfo = {
|
|
13613
|
+
isProxy: boolean;
|
|
13614
|
+
implementation?: Address;
|
|
13615
|
+
proxyAdmin?: Address;
|
|
13616
|
+
};
|
|
13617
|
+
/**
|
|
13618
|
+
* Detect whether a contract address is behind an EIP-1967 transparent proxy.
|
|
13619
|
+
*
|
|
13620
|
+
* Returns `"proxy"` if the EIP-1967 implementation slot is non-zero,
|
|
13621
|
+
* `"immutable"` otherwise.
|
|
13622
|
+
*/
|
|
13623
|
+
export declare function readDeploymentMode(params: {
|
|
13624
|
+
client: PublicClient;
|
|
13625
|
+
address: Address;
|
|
13626
|
+
}): Promise<DeployMode>;
|
|
13627
|
+
/**
|
|
13628
|
+
* Read EIP-1967 proxy details (implementation + admin addresses).
|
|
13629
|
+
*
|
|
13630
|
+
* If the address is not a proxy, returns `{ isProxy: false }`.
|
|
13631
|
+
*/
|
|
13632
|
+
export declare function readProxyInfo(params: {
|
|
13633
|
+
client: PublicClient;
|
|
13634
|
+
address: Address;
|
|
13635
|
+
}): Promise<ProxyInfo>;
|
|
13611
13636
|
export {};
|
|
13612
13637
|
//# sourceMappingURL=admin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../../src/views/admin.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,OAAO,EAAe,KAAK,YAAY,EAAE,MAAM,MAAM,CAAC;AAIpE,KAAK,YAAY,GAAG;IAClB,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;QAC7B,aAAa,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;KACvC,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,kBAAkB,EAAE,MAAM,CAAC;CAC5B,CAAC;AA4BF,KAAK,QAAQ,GAAG;IACd,IAAI,EAAE;QACJ,oBAAoB,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;KAC9C,CAAC;CACH,CAAC;AAGF,wBAAsB,8BAA8B,CAAC,MAAM,EAAE;IAC3D,QAAQ,EAAE,YAAY,CAAC;CACxB,GAAG,OAAO,CAAC;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,UAAU,EAAE,kBAAkB,CA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AAC;IACrB,OAAO,EAAE,OAAO,CAAC;CAClB,GAAG,OAAO,CAAC,UAAU,CAAC,CAOtB;AAED;;;;GAIG;AAEH,wBAAsB,aAAa,CAAC,MAAM,EAAE;IAC1C,MAAM,EAAE,YAAY,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;CAClB,GAAG,OAAO,CAAC,SAAS,CAAC,CAsBrB"}
|
package/dist/views/admin.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Note: explicit .js extension is required for Node ESM resolution.
|
|
2
|
-
import { getContract } from "viem";
|
|
2
|
+
import { getAddress, getContract } from "viem";
|
|
3
3
|
import { abis } from "../generated.js";
|
|
4
4
|
function normalizeRateParams(raw) {
|
|
5
5
|
const r = raw;
|
|
@@ -47,4 +47,65 @@ export async function getInterestRateStrategyFromPool(params) {
|
|
|
47
47
|
export async function readProxyAdminPaused(params) {
|
|
48
48
|
return params.proxyAdmin.read.paused();
|
|
49
49
|
}
|
|
50
|
+
// ---------------------------------------------------------------------------
|
|
51
|
+
// Proxy detection — EIP-1967
|
|
52
|
+
// ---------------------------------------------------------------------------
|
|
53
|
+
/**
|
|
54
|
+
* EIP-1967 implementation storage slot.
|
|
55
|
+
* `bytes32(uint256(keccak256("eip1967.proxy.implementation")) - 1)`
|
|
56
|
+
*/
|
|
57
|
+
const EIP1967_IMPL_SLOT = "0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc";
|
|
58
|
+
/**
|
|
59
|
+
* EIP-1967 admin storage slot.
|
|
60
|
+
* `bytes32(uint256(keccak256("eip1967.proxy.admin")) - 1)`
|
|
61
|
+
*/
|
|
62
|
+
const EIP1967_ADMIN_SLOT = "0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103";
|
|
63
|
+
function slotToAddress(raw) {
|
|
64
|
+
if (!raw || raw === "0x" || BigInt(raw) === 0n)
|
|
65
|
+
return undefined;
|
|
66
|
+
// Slot value is 32 bytes, address is the lower 20 bytes.
|
|
67
|
+
return getAddress(`0x${raw.slice(-40)}`);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Detect whether a contract address is behind an EIP-1967 transparent proxy.
|
|
71
|
+
*
|
|
72
|
+
* Returns `"proxy"` if the EIP-1967 implementation slot is non-zero,
|
|
73
|
+
* `"immutable"` otherwise.
|
|
74
|
+
*/
|
|
75
|
+
// wraps: eth_getStorageAt (EIP-1967 implementation slot)
|
|
76
|
+
export async function readDeploymentMode(params) {
|
|
77
|
+
const raw = await params.client.getStorageAt({
|
|
78
|
+
address: params.address,
|
|
79
|
+
slot: EIP1967_IMPL_SLOT,
|
|
80
|
+
});
|
|
81
|
+
const impl = slotToAddress(raw);
|
|
82
|
+
return impl ? "proxy" : "immutable";
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Read EIP-1967 proxy details (implementation + admin addresses).
|
|
86
|
+
*
|
|
87
|
+
* If the address is not a proxy, returns `{ isProxy: false }`.
|
|
88
|
+
*/
|
|
89
|
+
// wraps: eth_getStorageAt (EIP-1967 implementation + admin slots)
|
|
90
|
+
export async function readProxyInfo(params) {
|
|
91
|
+
const [implRaw, adminRaw] = await Promise.all([
|
|
92
|
+
params.client.getStorageAt({
|
|
93
|
+
address: params.address,
|
|
94
|
+
slot: EIP1967_IMPL_SLOT,
|
|
95
|
+
}),
|
|
96
|
+
params.client.getStorageAt({
|
|
97
|
+
address: params.address,
|
|
98
|
+
slot: EIP1967_ADMIN_SLOT,
|
|
99
|
+
}),
|
|
100
|
+
]);
|
|
101
|
+
const implementation = slotToAddress(implRaw);
|
|
102
|
+
const proxyAdmin = slotToAddress(adminRaw);
|
|
103
|
+
if (!implementation)
|
|
104
|
+
return { isProxy: false };
|
|
105
|
+
return {
|
|
106
|
+
isProxy: true,
|
|
107
|
+
implementation,
|
|
108
|
+
proxyAdmin,
|
|
109
|
+
};
|
|
110
|
+
}
|
|
50
111
|
//# sourceMappingURL=admin.js.map
|
package/dist/views/admin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"admin.js","sourceRoot":"","sources":["../../src/views/admin.ts"],"names":[],"mappings":"AAAA,oEAAoE;AAEpE,OAAO,EAAgB,WAAW,EAAqB,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"admin.js","sourceRoot":"","sources":["../../src/views/admin.ts"],"names":[],"mappings":"AAAA,oEAAoE;AAEpE,OAAO,EAAgB,UAAU,EAAE,WAAW,EAAqB,MAAM,MAAM,CAAC;AAEhF,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAiBvC,SAAS,mBAAmB,CAAC,GAAY;IACvC,MAAM,CAAC,GAAQ,GAAU,CAAC;IAC1B,MAAM,iBAAiB,GAAG,CAAC,CAAC,iBAAiB,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IACtD,MAAM,sBAAsB,GAAG,CAAC,CAAC,sBAAsB,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IAChE,MAAM,kBAAkB,GAAG,CAAC,CAAC,kBAAkB,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IACxD,MAAM,kBAAkB,GAAG,CAAC,CAAC,kBAAkB,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IAExD,MAAM,KAAK,GAAG,CAAC,CAAU,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,CAAY,CAAC,CAAC;IAElF,MAAM,CAAC,GAAG,KAAK,CAAC,iBAAiB,CAAC,CAAC;IACnC,MAAM,CAAC,GAAG,KAAK,CAAC,sBAAsB,CAAC,CAAC;IACxC,MAAM,EAAE,GAAG,KAAK,CAAC,kBAAkB,CAAC,CAAC;IACrC,MAAM,EAAE,GAAG,KAAK,CAAC,kBAAkB,CAAC,CAAC;IAErC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,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AC;IAE3C,IAAI,CAAC,cAAc;QAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IAE/C,OAAO;QACL,OAAO,EAAE,IAAI;QACb,cAAc;QACd,UAAU;KACX,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -170,6 +170,22 @@ export const VARLAORACLE_ABI = [
|
|
|
170
170
|
"name": "InvalidMaxStaleness",
|
|
171
171
|
"type": "error"
|
|
172
172
|
},
|
|
173
|
+
{
|
|
174
|
+
"inputs": [
|
|
175
|
+
{
|
|
176
|
+
"internalType": "uint256",
|
|
177
|
+
"name": "value",
|
|
178
|
+
"type": "uint256"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"internalType": "uint256",
|
|
182
|
+
"name": "floor",
|
|
183
|
+
"type": "uint256"
|
|
184
|
+
}
|
|
185
|
+
],
|
|
186
|
+
"name": "InvalidMinLiquidity",
|
|
187
|
+
"type": "error"
|
|
188
|
+
},
|
|
173
189
|
{
|
|
174
190
|
"inputs": [
|
|
175
191
|
{
|
|
@@ -396,6 +412,25 @@ export const VARLAORACLE_ABI = [
|
|
|
396
412
|
"name": "LowLiquidityConfigUpdated",
|
|
397
413
|
"type": "event"
|
|
398
414
|
},
|
|
415
|
+
{
|
|
416
|
+
"anonymous": false,
|
|
417
|
+
"inputs": [
|
|
418
|
+
{
|
|
419
|
+
"indexed": false,
|
|
420
|
+
"internalType": "bool",
|
|
421
|
+
"name": "oldValue",
|
|
422
|
+
"type": "bool"
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"indexed": false,
|
|
426
|
+
"internalType": "bool",
|
|
427
|
+
"name": "newValue",
|
|
428
|
+
"type": "bool"
|
|
429
|
+
}
|
|
430
|
+
],
|
|
431
|
+
"name": "LowLiquidityGraceBlocksLiquidationUpdated",
|
|
432
|
+
"type": "event"
|
|
433
|
+
},
|
|
399
434
|
{
|
|
400
435
|
"anonymous": false,
|
|
401
436
|
"inputs": [
|
|
@@ -440,6 +475,25 @@ export const VARLAORACLE_ABI = [
|
|
|
440
475
|
"name": "MaxStalenessUpdated",
|
|
441
476
|
"type": "event"
|
|
442
477
|
},
|
|
478
|
+
{
|
|
479
|
+
"anonymous": false,
|
|
480
|
+
"inputs": [
|
|
481
|
+
{
|
|
482
|
+
"indexed": false,
|
|
483
|
+
"internalType": "uint256",
|
|
484
|
+
"name": "oldMinLiquidity",
|
|
485
|
+
"type": "uint256"
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
"indexed": false,
|
|
489
|
+
"internalType": "uint256",
|
|
490
|
+
"name": "newMinLiquidity",
|
|
491
|
+
"type": "uint256"
|
|
492
|
+
}
|
|
493
|
+
],
|
|
494
|
+
"name": "MinLiquidityUpdated",
|
|
495
|
+
"type": "event"
|
|
496
|
+
},
|
|
443
497
|
{
|
|
444
498
|
"anonymous": false,
|
|
445
499
|
"inputs": [
|
|
@@ -1800,6 +1854,19 @@ export const VARLAORACLE_ABI = [
|
|
|
1800
1854
|
"stateMutability": "view",
|
|
1801
1855
|
"type": "function"
|
|
1802
1856
|
},
|
|
1857
|
+
{
|
|
1858
|
+
"inputs": [],
|
|
1859
|
+
"name": "lowLiquidityGraceBlocksLiquidation",
|
|
1860
|
+
"outputs": [
|
|
1861
|
+
{
|
|
1862
|
+
"internalType": "bool",
|
|
1863
|
+
"name": "",
|
|
1864
|
+
"type": "bool"
|
|
1865
|
+
}
|
|
1866
|
+
],
|
|
1867
|
+
"stateMutability": "view",
|
|
1868
|
+
"type": "function"
|
|
1869
|
+
},
|
|
1803
1870
|
{
|
|
1804
1871
|
"inputs": [],
|
|
1805
1872
|
"name": "maxStaleness",
|
|
@@ -1929,6 +1996,19 @@ export const VARLAORACLE_ABI = [
|
|
|
1929
1996
|
"stateMutability": "nonpayable",
|
|
1930
1997
|
"type": "function"
|
|
1931
1998
|
},
|
|
1999
|
+
{
|
|
2000
|
+
"inputs": [
|
|
2001
|
+
{
|
|
2002
|
+
"internalType": "bool",
|
|
2003
|
+
"name": "shouldBlock",
|
|
2004
|
+
"type": "bool"
|
|
2005
|
+
}
|
|
2006
|
+
],
|
|
2007
|
+
"name": "setLowLiquidityGraceBlocksLiquidation",
|
|
2008
|
+
"outputs": [],
|
|
2009
|
+
"stateMutability": "nonpayable",
|
|
2010
|
+
"type": "function"
|
|
2011
|
+
},
|
|
1932
2012
|
{
|
|
1933
2013
|
"inputs": [
|
|
1934
2014
|
{
|
|
@@ -1942,6 +2022,19 @@ export const VARLAORACLE_ABI = [
|
|
|
1942
2022
|
"stateMutability": "nonpayable",
|
|
1943
2023
|
"type": "function"
|
|
1944
2024
|
},
|
|
2025
|
+
{
|
|
2026
|
+
"inputs": [
|
|
2027
|
+
{
|
|
2028
|
+
"internalType": "uint256",
|
|
2029
|
+
"name": "newMinLiquidity",
|
|
2030
|
+
"type": "uint256"
|
|
2031
|
+
}
|
|
2032
|
+
],
|
|
2033
|
+
"name": "setMinLiquidity",
|
|
2034
|
+
"outputs": [],
|
|
2035
|
+
"stateMutability": "nonpayable",
|
|
2036
|
+
"type": "function"
|
|
2037
|
+
},
|
|
1945
2038
|
{
|
|
1946
2039
|
"inputs": [
|
|
1947
2040
|
{
|