@meterio/sumer-js 0.2.30 → 0.2.32
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/browser/sumer.min.js +10 -10
- package/dist/nodejs/abi.d.ts +175 -214
- package/dist/nodejs/abi.js +8098 -8853
- package/dist/nodejs/abi.js.map +1 -1
- package/dist/nodejs/constants/arbitrum.d.ts +4 -4
- package/dist/nodejs/constants/arbitrum.js +12 -12
- package/dist/nodejs/constants/arbitrum.js.map +1 -1
- package/dist/nodejs/constants/basemain.d.ts +4 -4
- package/dist/nodejs/constants/basemain.js +12 -12
- package/dist/nodejs/constants/basemain.js.map +1 -1
- package/dist/nodejs/constants/basetest.d.ts +4 -4
- package/dist/nodejs/constants/basetest.js +9 -9
- package/dist/nodejs/constants/basetest.js.map +1 -1
- package/dist/nodejs/constants/ethereum.d.ts +5 -4
- package/dist/nodejs/constants/ethereum.js +14 -13
- package/dist/nodejs/constants/ethereum.js.map +1 -1
- package/dist/nodejs/constants/metermain.d.ts +4 -4
- package/dist/nodejs/constants/metermain.js +9 -9
- package/dist/nodejs/constants/metermain.js.map +1 -1
- package/dist/nodejs/constants/metertest.d.ts +5 -5
- package/dist/nodejs/constants/metertest.js +46 -47
- package/dist/nodejs/constants/metertest.js.map +1 -1
- package/dist/nodejs/constants/sepolia.d.ts +28 -4
- package/dist/nodejs/constants/sepolia.js +68 -16
- package/dist/nodejs/constants/sepolia.js.map +1 -1
- package/dist/nodejs/errorABIs.js +141 -658
- package/dist/nodejs/errorABIs.js.map +1 -1
- package/dist/nodejs/errors.d.ts +48 -20
- package/dist/nodejs/errors.js +48 -20
- package/dist/nodejs/errors.js.map +1 -1
- package/dist/nodejs/index.d.ts +175 -214
- package/dist/nodejs/typechain/@chainlink/contracts/index.d.ts +2 -0
- package/dist/nodejs/typechain/@chainlink/contracts/index.js +3 -0
- package/dist/nodejs/typechain/@chainlink/contracts/index.js.map +1 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/index.d.ts +2 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/index.js +3 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/index.js.map +1 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/index.d.ts +2 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/index.js +3 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/index.js.map +1 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.d.ts +103 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.js +3 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.js.map +1 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/interfaces/index.d.ts +1 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/interfaces/index.js +3 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/interfaces/index.js.map +1 -0
- package/dist/nodejs/typechain/@chainlink/index.d.ts +2 -0
- package/dist/nodejs/typechain/@chainlink/index.js +3 -0
- package/dist/nodejs/typechain/@chainlink/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/CToken/CErc20.d.ts +12 -10
- package/dist/nodejs/typechain/contracts/CToken/CEther.d.ts +12 -10
- package/dist/nodejs/typechain/contracts/CToken/CToken.d.ts +9 -1
- package/dist/nodejs/typechain/contracts/CToken/CTokenStorage.d.ts +12 -411
- package/dist/nodejs/typechain/contracts/CToken/SuErc20.d.ts +12 -10
- package/dist/nodejs/typechain/contracts/Comptroller/CompoundLens.d.ts +17 -1
- package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.d.ts +358 -709
- package/dist/nodejs/typechain/contracts/Comptroller/ComptrollerStorage.d.ts +163 -207
- package/dist/nodejs/typechain/contracts/Comptroller/RedemptionManager.d.ts +1 -3
- package/dist/nodejs/typechain/contracts/Comptroller/index.d.ts +0 -1
- package/dist/nodejs/typechain/contracts/Interfaces/ICToken.d.ts +4 -407
- package/dist/nodejs/typechain/contracts/Interfaces/ICompLogic.d.ts +1 -19
- package/dist/nodejs/typechain/contracts/Interfaces/IComptroller.d.ts +122 -130
- package/dist/nodejs/typechain/contracts/Interfaces/IPMarket.d.ts +488 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPMarket.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPMarket.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPPrincipalToken.d.ts +193 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPPrincipalToken.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPPrincipalToken.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPYieldToken.d.ts +365 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPYieldToken.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPYieldToken.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPendlePtOracle.d.ts +65 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPendlePtOracle.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPendlePtOracle.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IStandardizedYield.d.ts +365 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IStandardizedYield.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IStandardizedYield.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/index.d.ts +5 -1
- package/dist/nodejs/typechain/contracts/Oracle/FeedPriceOracle.d.ts +321 -138
- package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/PriceAdapter.d.ts +25 -0
- package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/PriceAdapter.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/PriceAdapter.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/PriceOracle.d.ts +37 -0
- package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/PriceOracle.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/PriceOracle.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/IStETH.d.ts +33 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/IStETH.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/IStETH.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter.d.ts +25 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/IWstMTRG.d.ts +25 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/IWstMTRG.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/IWstMTRG.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter.d.ts +25 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +6 -4
- package/dist/nodejs/typechain/contracts/Timelock.d.ts +14 -4
- package/dist/nodejs/typechain/factories/@chainlink/contracts/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/index.js +31 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/index.js +31 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/index.js +31 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory.d.ts +93 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory.js +131 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/interfaces/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/interfaces/index.js +9 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/interfaces/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/index.js +31 -0
- package/dist/nodejs/typechain/factories/@chainlink/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +29 -29
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +37 -36
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +29 -29
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +37 -36
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.d.ts +2 -357
- package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js +2 -445
- package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +28 -20
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +36 -25
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +29 -33
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +37 -41
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.d.ts +9 -21
- package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.js +11 -26
- package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +31 -21
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +40 -26
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.d.ts +107 -221
- package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.js +117 -265
- package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +299 -1054
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +380 -1375
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +9 -25
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +11 -31
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/index.d.ts +0 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/index.js +1 -3
- package/dist/nodejs/typechain/factories/contracts/Comptroller/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.d.ts +0 -365
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.js +0 -456
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.d.ts +0 -28
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js +0 -37
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.d.ts +108 -222
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js +135 -287
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPMarket__factory.d.ts +543 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPMarket__factory.js +712 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPMarket__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPPrincipalToken__factory.d.ts +265 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPPrincipalToken__factory.js +356 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPPrincipalToken__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPYieldToken__factory.d.ts +473 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPYieldToken__factory.js +624 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPYieldToken__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPendlePtOracle__factory.d.ts +51 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPendlePtOracle__factory.js +78 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPendlePtOracle__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IStandardizedYield__factory.d.ts +493 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IStandardizedYield__factory.js +652 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IStandardizedYield__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/index.d.ts +5 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js +11 -3
- package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.d.ts +398 -102
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js +494 -110
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/PriceAdapter__factory.d.ts +17 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/PriceAdapter__factory.js +33 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/PriceAdapter__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/PriceOracle__factory.d.ts +45 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/PriceOracle__factory.js +71 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/PriceOracle__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/index.js +11 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/IStETH__factory.d.ts +31 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/IStETH__factory.js +52 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/IStETH__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.d.ts +44 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.js +69 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/index.js +11 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/IWstMTRG__factory.d.ts +17 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/IWstMTRG__factory.js +33 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/IWstMTRG__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.d.ts +44 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.js +69 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/index.js +11 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +3 -4
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +4 -9
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.d.ts +9 -21
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js +11 -26
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.d.ts +29 -25
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js +37 -31
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/index.js +2 -1
- package/dist/nodejs/typechain/factories/index.js.map +1 -1
- package/dist/nodejs/typechain/hardhat.d.ts +178 -70
- package/dist/nodejs/typechain/index.d.ts +26 -14
- package/dist/nodejs/typechain/index.js +25 -14
- package/dist/nodejs/typechain/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -84,14 +84,39 @@ export declare class IComptroller__factory {
|
|
|
84
84
|
}, {
|
|
85
85
|
readonly inputs: readonly [{
|
|
86
86
|
readonly internalType: "uint8";
|
|
87
|
-
readonly name: "";
|
|
87
|
+
readonly name: "groupId";
|
|
88
88
|
readonly type: "uint8";
|
|
89
89
|
}];
|
|
90
|
-
readonly name: "
|
|
90
|
+
readonly name: "assetGroup";
|
|
91
91
|
readonly outputs: readonly [{
|
|
92
|
-
readonly
|
|
92
|
+
readonly components: readonly [{
|
|
93
|
+
readonly internalType: "uint8";
|
|
94
|
+
readonly name: "groupId";
|
|
95
|
+
readonly type: "uint8";
|
|
96
|
+
}, {
|
|
97
|
+
readonly internalType: "uint16";
|
|
98
|
+
readonly name: "intraCRatePercent";
|
|
99
|
+
readonly type: "uint16";
|
|
100
|
+
}, {
|
|
101
|
+
readonly internalType: "uint16";
|
|
102
|
+
readonly name: "intraMintRatePercent";
|
|
103
|
+
readonly type: "uint16";
|
|
104
|
+
}, {
|
|
105
|
+
readonly internalType: "uint16";
|
|
106
|
+
readonly name: "intraSuRatePercent";
|
|
107
|
+
readonly type: "uint16";
|
|
108
|
+
}, {
|
|
109
|
+
readonly internalType: "uint16";
|
|
110
|
+
readonly name: "interCRatePercent";
|
|
111
|
+
readonly type: "uint16";
|
|
112
|
+
}, {
|
|
113
|
+
readonly internalType: "uint16";
|
|
114
|
+
readonly name: "interSuRatePercent";
|
|
115
|
+
readonly type: "uint16";
|
|
116
|
+
}];
|
|
117
|
+
readonly internalType: "struct CompactAssetGroup";
|
|
93
118
|
readonly name: "";
|
|
94
|
-
readonly type: "
|
|
119
|
+
readonly type: "tuple";
|
|
95
120
|
}];
|
|
96
121
|
readonly stateMutability: "view";
|
|
97
122
|
readonly type: "function";
|
|
@@ -113,34 +138,6 @@ export declare class IComptroller__factory {
|
|
|
113
138
|
readonly outputs: readonly [];
|
|
114
139
|
readonly stateMutability: "nonpayable";
|
|
115
140
|
readonly type: "function";
|
|
116
|
-
}, {
|
|
117
|
-
readonly inputs: readonly [{
|
|
118
|
-
readonly internalType: "address";
|
|
119
|
-
readonly name: "cToken";
|
|
120
|
-
readonly type: "address";
|
|
121
|
-
}];
|
|
122
|
-
readonly name: "borrowCaps";
|
|
123
|
-
readonly outputs: readonly [{
|
|
124
|
-
readonly internalType: "uint256";
|
|
125
|
-
readonly name: "";
|
|
126
|
-
readonly type: "uint256";
|
|
127
|
-
}];
|
|
128
|
-
readonly stateMutability: "view";
|
|
129
|
-
readonly type: "function";
|
|
130
|
-
}, {
|
|
131
|
-
readonly inputs: readonly [{
|
|
132
|
-
readonly internalType: "address";
|
|
133
|
-
readonly name: "cToken";
|
|
134
|
-
readonly type: "address";
|
|
135
|
-
}];
|
|
136
|
-
readonly name: "borrowGuardianPaused";
|
|
137
|
-
readonly outputs: readonly [{
|
|
138
|
-
readonly internalType: "bool";
|
|
139
|
-
readonly name: "";
|
|
140
|
-
readonly type: "bool";
|
|
141
|
-
}];
|
|
142
|
-
readonly stateMutability: "view";
|
|
143
|
-
readonly type: "function";
|
|
144
141
|
}, {
|
|
145
142
|
readonly inputs: readonly [{
|
|
146
143
|
readonly internalType: "address";
|
|
@@ -161,20 +158,10 @@ export declare class IComptroller__factory {
|
|
|
161
158
|
readonly name: "";
|
|
162
159
|
readonly type: "address";
|
|
163
160
|
}];
|
|
164
|
-
readonly name: "
|
|
161
|
+
readonly name: "claimSumer";
|
|
165
162
|
readonly outputs: readonly [];
|
|
166
163
|
readonly stateMutability: "nonpayable";
|
|
167
164
|
readonly type: "function";
|
|
168
|
-
}, {
|
|
169
|
-
readonly inputs: readonly [];
|
|
170
|
-
readonly name: "closeFactorMantissa";
|
|
171
|
-
readonly outputs: readonly [{
|
|
172
|
-
readonly internalType: "uint256";
|
|
173
|
-
readonly name: "";
|
|
174
|
-
readonly type: "uint256";
|
|
175
|
-
}];
|
|
176
|
-
readonly stateMutability: "view";
|
|
177
|
-
readonly type: "function";
|
|
178
165
|
}, {
|
|
179
166
|
readonly inputs: readonly [{
|
|
180
167
|
readonly internalType: "address";
|
|
@@ -196,11 +183,7 @@ export declare class IComptroller__factory {
|
|
|
196
183
|
readonly type: "address[]";
|
|
197
184
|
}];
|
|
198
185
|
readonly name: "enterMarkets";
|
|
199
|
-
readonly outputs: readonly [
|
|
200
|
-
readonly internalType: "uint256[]";
|
|
201
|
-
readonly name: "";
|
|
202
|
-
readonly type: "uint256[]";
|
|
203
|
-
}];
|
|
186
|
+
readonly outputs: readonly [];
|
|
204
187
|
readonly stateMutability: "nonpayable";
|
|
205
188
|
readonly type: "function";
|
|
206
189
|
}, {
|
|
@@ -210,78 +193,9 @@ export declare class IComptroller__factory {
|
|
|
210
193
|
readonly type: "address";
|
|
211
194
|
}];
|
|
212
195
|
readonly name: "exitMarket";
|
|
213
|
-
readonly outputs: readonly [
|
|
214
|
-
readonly internalType: "uint256";
|
|
215
|
-
readonly name: "";
|
|
216
|
-
readonly type: "uint256";
|
|
217
|
-
}];
|
|
196
|
+
readonly outputs: readonly [];
|
|
218
197
|
readonly stateMutability: "nonpayable";
|
|
219
198
|
readonly type: "function";
|
|
220
|
-
}, {
|
|
221
|
-
readonly inputs: readonly [{
|
|
222
|
-
readonly internalType: "address";
|
|
223
|
-
readonly name: "";
|
|
224
|
-
readonly type: "address";
|
|
225
|
-
}];
|
|
226
|
-
readonly name: "getAccountLiquidity";
|
|
227
|
-
readonly outputs: readonly [{
|
|
228
|
-
readonly internalType: "uint256";
|
|
229
|
-
readonly name: "";
|
|
230
|
-
readonly type: "uint256";
|
|
231
|
-
}, {
|
|
232
|
-
readonly internalType: "uint256";
|
|
233
|
-
readonly name: "";
|
|
234
|
-
readonly type: "uint256";
|
|
235
|
-
}, {
|
|
236
|
-
readonly internalType: "uint256";
|
|
237
|
-
readonly name: "";
|
|
238
|
-
readonly type: "uint256";
|
|
239
|
-
}];
|
|
240
|
-
readonly stateMutability: "view";
|
|
241
|
-
readonly type: "function";
|
|
242
|
-
}, {
|
|
243
|
-
readonly inputs: readonly [];
|
|
244
|
-
readonly name: "getAllAssetGroup";
|
|
245
|
-
readonly outputs: readonly [{
|
|
246
|
-
readonly components: readonly [{
|
|
247
|
-
readonly internalType: "uint8";
|
|
248
|
-
readonly name: "groupId";
|
|
249
|
-
readonly type: "uint8";
|
|
250
|
-
}, {
|
|
251
|
-
readonly internalType: "string";
|
|
252
|
-
readonly name: "groupName";
|
|
253
|
-
readonly type: "string";
|
|
254
|
-
}, {
|
|
255
|
-
readonly internalType: "uint256";
|
|
256
|
-
readonly name: "intraCRateMantissa";
|
|
257
|
-
readonly type: "uint256";
|
|
258
|
-
}, {
|
|
259
|
-
readonly internalType: "uint256";
|
|
260
|
-
readonly name: "intraMintRateMantissa";
|
|
261
|
-
readonly type: "uint256";
|
|
262
|
-
}, {
|
|
263
|
-
readonly internalType: "uint256";
|
|
264
|
-
readonly name: "intraSuRateMantissa";
|
|
265
|
-
readonly type: "uint256";
|
|
266
|
-
}, {
|
|
267
|
-
readonly internalType: "uint256";
|
|
268
|
-
readonly name: "interCRateMantissa";
|
|
269
|
-
readonly type: "uint256";
|
|
270
|
-
}, {
|
|
271
|
-
readonly internalType: "uint256";
|
|
272
|
-
readonly name: "interSuRateMantissa";
|
|
273
|
-
readonly type: "uint256";
|
|
274
|
-
}, {
|
|
275
|
-
readonly internalType: "bool";
|
|
276
|
-
readonly name: "exist";
|
|
277
|
-
readonly type: "bool";
|
|
278
|
-
}];
|
|
279
|
-
readonly internalType: "struct IComptroller.AssetGroup[]";
|
|
280
|
-
readonly name: "";
|
|
281
|
-
readonly type: "tuple[]";
|
|
282
|
-
}];
|
|
283
|
-
readonly stateMutability: "view";
|
|
284
|
-
readonly type: "function";
|
|
285
199
|
}, {
|
|
286
200
|
readonly inputs: readonly [];
|
|
287
201
|
readonly name: "getAllMarkets";
|
|
@@ -292,63 +206,6 @@ export declare class IComptroller__factory {
|
|
|
292
206
|
}];
|
|
293
207
|
readonly stateMutability: "view";
|
|
294
208
|
readonly type: "function";
|
|
295
|
-
}, {
|
|
296
|
-
readonly inputs: readonly [{
|
|
297
|
-
readonly internalType: "uint8";
|
|
298
|
-
readonly name: "groupId";
|
|
299
|
-
readonly type: "uint8";
|
|
300
|
-
}];
|
|
301
|
-
readonly name: "getAssetGroup";
|
|
302
|
-
readonly outputs: readonly [{
|
|
303
|
-
readonly components: readonly [{
|
|
304
|
-
readonly internalType: "uint8";
|
|
305
|
-
readonly name: "groupId";
|
|
306
|
-
readonly type: "uint8";
|
|
307
|
-
}, {
|
|
308
|
-
readonly internalType: "string";
|
|
309
|
-
readonly name: "groupName";
|
|
310
|
-
readonly type: "string";
|
|
311
|
-
}, {
|
|
312
|
-
readonly internalType: "uint256";
|
|
313
|
-
readonly name: "intraCRateMantissa";
|
|
314
|
-
readonly type: "uint256";
|
|
315
|
-
}, {
|
|
316
|
-
readonly internalType: "uint256";
|
|
317
|
-
readonly name: "intraMintRateMantissa";
|
|
318
|
-
readonly type: "uint256";
|
|
319
|
-
}, {
|
|
320
|
-
readonly internalType: "uint256";
|
|
321
|
-
readonly name: "intraSuRateMantissa";
|
|
322
|
-
readonly type: "uint256";
|
|
323
|
-
}, {
|
|
324
|
-
readonly internalType: "uint256";
|
|
325
|
-
readonly name: "interCRateMantissa";
|
|
326
|
-
readonly type: "uint256";
|
|
327
|
-
}, {
|
|
328
|
-
readonly internalType: "uint256";
|
|
329
|
-
readonly name: "interSuRateMantissa";
|
|
330
|
-
readonly type: "uint256";
|
|
331
|
-
}, {
|
|
332
|
-
readonly internalType: "bool";
|
|
333
|
-
readonly name: "exist";
|
|
334
|
-
readonly type: "bool";
|
|
335
|
-
}];
|
|
336
|
-
readonly internalType: "struct IComptroller.AssetGroup";
|
|
337
|
-
readonly name: "";
|
|
338
|
-
readonly type: "tuple";
|
|
339
|
-
}];
|
|
340
|
-
readonly stateMutability: "view";
|
|
341
|
-
readonly type: "function";
|
|
342
|
-
}, {
|
|
343
|
-
readonly inputs: readonly [];
|
|
344
|
-
readonly name: "getAssetGroupNum";
|
|
345
|
-
readonly outputs: readonly [{
|
|
346
|
-
readonly internalType: "uint8";
|
|
347
|
-
readonly name: "";
|
|
348
|
-
readonly type: "uint8";
|
|
349
|
-
}];
|
|
350
|
-
readonly stateMutability: "view";
|
|
351
|
-
readonly type: "function";
|
|
352
209
|
}, {
|
|
353
210
|
readonly inputs: readonly [{
|
|
354
211
|
readonly internalType: "address";
|
|
@@ -363,34 +220,6 @@ export declare class IComptroller__factory {
|
|
|
363
220
|
}];
|
|
364
221
|
readonly stateMutability: "view";
|
|
365
222
|
readonly type: "function";
|
|
366
|
-
}, {
|
|
367
|
-
readonly inputs: readonly [{
|
|
368
|
-
readonly internalType: "address";
|
|
369
|
-
readonly name: "collateralToken";
|
|
370
|
-
readonly type: "address";
|
|
371
|
-
}, {
|
|
372
|
-
readonly internalType: "address";
|
|
373
|
-
readonly name: "liabilityToken";
|
|
374
|
-
readonly type: "address";
|
|
375
|
-
}];
|
|
376
|
-
readonly name: "getCollateralRate";
|
|
377
|
-
readonly outputs: readonly [{
|
|
378
|
-
readonly internalType: "uint256";
|
|
379
|
-
readonly name: "";
|
|
380
|
-
readonly type: "uint256";
|
|
381
|
-
}];
|
|
382
|
-
readonly stateMutability: "view";
|
|
383
|
-
readonly type: "function";
|
|
384
|
-
}, {
|
|
385
|
-
readonly inputs: readonly [];
|
|
386
|
-
readonly name: "getCompAddress";
|
|
387
|
-
readonly outputs: readonly [{
|
|
388
|
-
readonly internalType: "address";
|
|
389
|
-
readonly name: "";
|
|
390
|
-
readonly type: "address";
|
|
391
|
-
}];
|
|
392
|
-
readonly stateMutability: "view";
|
|
393
|
-
readonly type: "function";
|
|
394
223
|
}, {
|
|
395
224
|
readonly inputs: readonly [{
|
|
396
225
|
readonly internalType: "address";
|
|
@@ -418,10 +247,6 @@ export declare class IComptroller__factory {
|
|
|
418
247
|
readonly internalType: "uint256";
|
|
419
248
|
readonly name: "";
|
|
420
249
|
readonly type: "uint256";
|
|
421
|
-
}, {
|
|
422
|
-
readonly internalType: "uint256";
|
|
423
|
-
readonly name: "";
|
|
424
|
-
readonly type: "uint256";
|
|
425
250
|
}];
|
|
426
251
|
readonly stateMutability: "view";
|
|
427
252
|
readonly type: "function";
|
|
@@ -439,6 +264,37 @@ export declare class IComptroller__factory {
|
|
|
439
264
|
}];
|
|
440
265
|
readonly stateMutability: "view";
|
|
441
266
|
readonly type: "function";
|
|
267
|
+
}, {
|
|
268
|
+
readonly inputs: readonly [];
|
|
269
|
+
readonly name: "globalConfig";
|
|
270
|
+
readonly outputs: readonly [{
|
|
271
|
+
readonly components: readonly [{
|
|
272
|
+
readonly internalType: "uint16";
|
|
273
|
+
readonly name: "closeFactorPercent";
|
|
274
|
+
readonly type: "uint16";
|
|
275
|
+
}, {
|
|
276
|
+
readonly internalType: "uint32";
|
|
277
|
+
readonly name: "minCloseValue";
|
|
278
|
+
readonly type: "uint32";
|
|
279
|
+
}, {
|
|
280
|
+
readonly internalType: "uint32";
|
|
281
|
+
readonly name: "minSuBorrowValue";
|
|
282
|
+
readonly type: "uint32";
|
|
283
|
+
}, {
|
|
284
|
+
readonly internalType: "uint32";
|
|
285
|
+
readonly name: "minWaitBeforeLiquidatable";
|
|
286
|
+
readonly type: "uint32";
|
|
287
|
+
}, {
|
|
288
|
+
readonly internalType: "uint8";
|
|
289
|
+
readonly name: "largestGroupId";
|
|
290
|
+
readonly type: "uint8";
|
|
291
|
+
}];
|
|
292
|
+
readonly internalType: "struct GlobalConfig";
|
|
293
|
+
readonly name: "";
|
|
294
|
+
readonly type: "tuple";
|
|
295
|
+
}];
|
|
296
|
+
readonly stateMutability: "view";
|
|
297
|
+
readonly type: "function";
|
|
442
298
|
}, {
|
|
443
299
|
readonly inputs: readonly [];
|
|
444
300
|
readonly name: "isComptroller";
|
|
@@ -491,33 +347,63 @@ export declare class IComptroller__factory {
|
|
|
491
347
|
readonly type: "function";
|
|
492
348
|
}, {
|
|
493
349
|
readonly inputs: readonly [];
|
|
494
|
-
readonly name: "
|
|
350
|
+
readonly name: "liquidationIncentive";
|
|
495
351
|
readonly outputs: readonly [{
|
|
496
|
-
readonly
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
352
|
+
readonly components: readonly [{
|
|
353
|
+
readonly internalType: "uint16";
|
|
354
|
+
readonly name: "heteroPercent";
|
|
355
|
+
readonly type: "uint16";
|
|
356
|
+
}, {
|
|
357
|
+
readonly internalType: "uint16";
|
|
358
|
+
readonly name: "homoPercent";
|
|
359
|
+
readonly type: "uint16";
|
|
360
|
+
}, {
|
|
361
|
+
readonly internalType: "uint16";
|
|
362
|
+
readonly name: "sutokenPercent";
|
|
363
|
+
readonly type: "uint16";
|
|
364
|
+
}];
|
|
365
|
+
readonly internalType: "struct LiquidationIncentive";
|
|
505
366
|
readonly name: "";
|
|
506
|
-
readonly type: "
|
|
367
|
+
readonly type: "tuple";
|
|
507
368
|
}];
|
|
508
369
|
readonly stateMutability: "view";
|
|
509
370
|
readonly type: "function";
|
|
510
371
|
}, {
|
|
511
372
|
readonly inputs: readonly [{
|
|
512
373
|
readonly internalType: "address";
|
|
513
|
-
readonly name: "
|
|
374
|
+
readonly name: "cToken";
|
|
514
375
|
readonly type: "address";
|
|
515
376
|
}];
|
|
516
|
-
readonly name: "
|
|
377
|
+
readonly name: "marketConfig";
|
|
517
378
|
readonly outputs: readonly [{
|
|
518
|
-
readonly
|
|
379
|
+
readonly components: readonly [{
|
|
380
|
+
readonly internalType: "bool";
|
|
381
|
+
readonly name: "mintPaused";
|
|
382
|
+
readonly type: "bool";
|
|
383
|
+
}, {
|
|
384
|
+
readonly internalType: "bool";
|
|
385
|
+
readonly name: "borrowPaused";
|
|
386
|
+
readonly type: "bool";
|
|
387
|
+
}, {
|
|
388
|
+
readonly internalType: "bool";
|
|
389
|
+
readonly name: "transferPaused";
|
|
390
|
+
readonly type: "bool";
|
|
391
|
+
}, {
|
|
392
|
+
readonly internalType: "bool";
|
|
393
|
+
readonly name: "seizePaused";
|
|
394
|
+
readonly type: "bool";
|
|
395
|
+
}, {
|
|
396
|
+
readonly internalType: "uint120";
|
|
397
|
+
readonly name: "borrowCap";
|
|
398
|
+
readonly type: "uint120";
|
|
399
|
+
}, {
|
|
400
|
+
readonly internalType: "uint120";
|
|
401
|
+
readonly name: "supplyCap";
|
|
402
|
+
readonly type: "uint120";
|
|
403
|
+
}];
|
|
404
|
+
readonly internalType: "struct MarketConfig";
|
|
519
405
|
readonly name: "";
|
|
520
|
-
readonly type: "
|
|
406
|
+
readonly type: "tuple";
|
|
521
407
|
}];
|
|
522
408
|
readonly stateMutability: "view";
|
|
523
409
|
readonly type: "function";
|