@meterio/sumer-js 0.2.29 → 0.2.31
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 +9208 -9987
- 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 +25 -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/ITimelock.d.ts +1 -15
- 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 +30 -30
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +38 -37
- 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 +30 -34
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +38 -42
- 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/ICErc20__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICErc20__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICErc20__factory.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/ITimelock__factory.d.ts +0 -18
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ITimelock__factory.js +0 -24
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ITimelock__factory.js.map +1 -1
- 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
|
@@ -1,120 +1,86 @@
|
|
|
1
1
|
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
2
|
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
3
|
+
export type GlobalConfigStruct = {
|
|
4
|
+
closeFactorPercent: BigNumberish;
|
|
5
|
+
minCloseValue: BigNumberish;
|
|
6
|
+
minSuBorrowValue: BigNumberish;
|
|
7
|
+
minWaitBeforeLiquidatable: BigNumberish;
|
|
8
|
+
largestGroupId: BigNumberish;
|
|
9
|
+
};
|
|
10
|
+
export type GlobalConfigStructOutput = [
|
|
11
|
+
closeFactorPercent: bigint,
|
|
12
|
+
minCloseValue: bigint,
|
|
13
|
+
minSuBorrowValue: bigint,
|
|
14
|
+
minWaitBeforeLiquidatable: bigint,
|
|
15
|
+
largestGroupId: bigint
|
|
16
|
+
] & {
|
|
17
|
+
closeFactorPercent: bigint;
|
|
18
|
+
minCloseValue: bigint;
|
|
19
|
+
minSuBorrowValue: bigint;
|
|
20
|
+
minWaitBeforeLiquidatable: bigint;
|
|
21
|
+
largestGroupId: bigint;
|
|
22
|
+
};
|
|
23
|
+
export type LiquidationIncentiveStruct = {
|
|
24
|
+
heteroPercent: BigNumberish;
|
|
25
|
+
homoPercent: BigNumberish;
|
|
26
|
+
sutokenPercent: BigNumberish;
|
|
27
|
+
};
|
|
28
|
+
export type LiquidationIncentiveStructOutput = [
|
|
29
|
+
heteroPercent: bigint,
|
|
30
|
+
homoPercent: bigint,
|
|
31
|
+
sutokenPercent: bigint
|
|
32
|
+
] & {
|
|
33
|
+
heteroPercent: bigint;
|
|
34
|
+
homoPercent: bigint;
|
|
35
|
+
sutokenPercent: bigint;
|
|
36
|
+
};
|
|
34
37
|
export interface ComptrollerInterface extends Interface {
|
|
35
|
-
getFunction(nameOrSignature: "
|
|
36
|
-
getEvent(nameOrSignatureOrTopic: "
|
|
37
|
-
encodeFunctionData(functionFragment: "CAPPER_ROLE", values?: undefined): string;
|
|
38
|
-
encodeFunctionData(functionFragment: "COMP_LOGIC", values?: undefined): string;
|
|
38
|
+
getFunction(nameOrSignature: "DEFAULT_ADMIN_ROLE" | "PAUSER_ROLE" | "_pause" | "_setCaps" | "_setGlobalConfig" | "_setGovTokenAddress" | "_setLiquidationIncentive" | "_setPauseGuardian" | "_setPriceOracle" | "_setTimelock" | "_supportMarket" | "accountAssets" | "allMarkets" | "assetGroup" | "borrowAllowed" | "borrowVerify" | "compLogic" | "enterMarkets" | "exitMarket" | "getAllMarkets" | "getAssetsIn" | "getHypotheticalAccountLiquidity" | "getRoleAdmin" | "getUnderlyingPriceNormalized" | "globalConfig" | "governanceToken" | "grantRole" | "hasRole" | "initialize" | "isComptroller" | "isListed" | "lastBorrowedAt" | "liquidateBorrowAllowed" | "liquidationIncentive" | "marketConfig" | "markets" | "mintAllowed" | "oracle" | "pauseGuardian" | "redeemAllowed" | "redemptionManager" | "removeAssetGroup" | "renounceRole" | "repayBorrowAllowed" | "revokeRole" | "seizeAllowed" | "setAssetGroup" | "supportsInterface" | "timelock" | "transferAllowed"): FunctionFragment;
|
|
39
|
+
getEvent(nameOrSignatureOrTopic: "Initialized" | "MarketEntered" | "MarketExited" | "MarketListed" | "NewAssetGroup" | "NewCap" | "NewDependencies" | "NewGlobalConfig" | "NewLiquidationIncentive" | "NewPause" | "NewPauseGuardian" | "NewPriceOracle" | "NewTimelock" | "RemoveAssetGroup" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked"): EventFragment;
|
|
39
40
|
encodeFunctionData(functionFragment: "DEFAULT_ADMIN_ROLE", values?: undefined): string;
|
|
40
41
|
encodeFunctionData(functionFragment: "PAUSER_ROLE", values?: undefined): string;
|
|
41
|
-
encodeFunctionData(functionFragment: "
|
|
42
|
-
encodeFunctionData(functionFragment: "
|
|
43
|
-
encodeFunctionData(functionFragment: "
|
|
44
|
-
encodeFunctionData(functionFragment: "
|
|
45
|
-
encodeFunctionData(functionFragment: "
|
|
46
|
-
encodeFunctionData(functionFragment: "_setBorrowPaused", values: [AddressLike, boolean]): string;
|
|
47
|
-
encodeFunctionData(functionFragment: "_setCloseFactor", values: [BigNumberish]): string;
|
|
48
|
-
encodeFunctionData(functionFragment: "_setLiquidationIncentive", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
49
|
-
encodeFunctionData(functionFragment: "_setMarketBorrowCaps", values: [AddressLike[], BigNumberish[]]): string;
|
|
50
|
-
encodeFunctionData(functionFragment: "_setMaxSupply", values: [AddressLike[], BigNumberish[]]): string;
|
|
51
|
-
encodeFunctionData(functionFragment: "_setMintPaused", values: [AddressLike, boolean]): string;
|
|
42
|
+
encodeFunctionData(functionFragment: "_pause", values: [AddressLike, boolean, boolean, boolean, boolean]): string;
|
|
43
|
+
encodeFunctionData(functionFragment: "_setCaps", values: [AddressLike[], BigNumberish[], BigNumberish[]]): string;
|
|
44
|
+
encodeFunctionData(functionFragment: "_setGlobalConfig", values: [GlobalConfigStruct]): string;
|
|
45
|
+
encodeFunctionData(functionFragment: "_setGovTokenAddress", values: [AddressLike]): string;
|
|
46
|
+
encodeFunctionData(functionFragment: "_setLiquidationIncentive", values: [LiquidationIncentiveStruct]): string;
|
|
52
47
|
encodeFunctionData(functionFragment: "_setPauseGuardian", values: [AddressLike]): string;
|
|
53
48
|
encodeFunctionData(functionFragment: "_setPriceOracle", values: [AddressLike]): string;
|
|
54
|
-
encodeFunctionData(functionFragment: "
|
|
55
|
-
encodeFunctionData(functionFragment: "_setSeizePaused", values: [boolean]): string;
|
|
56
|
-
encodeFunctionData(functionFragment: "_setTransferPaused", values: [boolean]): string;
|
|
49
|
+
encodeFunctionData(functionFragment: "_setTimelock", values: [AddressLike]): string;
|
|
57
50
|
encodeFunctionData(functionFragment: "_supportMarket", values: [AddressLike, BigNumberish, BigNumberish, BigNumberish]): string;
|
|
58
51
|
encodeFunctionData(functionFragment: "accountAssets", values: [AddressLike, BigNumberish]): string;
|
|
59
|
-
encodeFunctionData(functionFragment: "accountLiquidity", values?: undefined): string;
|
|
60
52
|
encodeFunctionData(functionFragment: "allMarkets", values: [BigNumberish]): string;
|
|
61
|
-
encodeFunctionData(functionFragment: "
|
|
53
|
+
encodeFunctionData(functionFragment: "assetGroup", values: [BigNumberish]): string;
|
|
62
54
|
encodeFunctionData(functionFragment: "borrowAllowed", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
63
|
-
encodeFunctionData(functionFragment: "borrowCapGuardian", values?: undefined): string;
|
|
64
|
-
encodeFunctionData(functionFragment: "borrowCaps", values: [AddressLike]): string;
|
|
65
|
-
encodeFunctionData(functionFragment: "borrowGuardianPaused", values: [AddressLike]): string;
|
|
66
55
|
encodeFunctionData(functionFragment: "borrowVerify", values: [AddressLike, BigNumberish]): string;
|
|
67
|
-
encodeFunctionData(functionFragment: "checkMembership", values: [AddressLike, AddressLike]): string;
|
|
68
|
-
encodeFunctionData(functionFragment: "cleanAssetGroup", values?: undefined): string;
|
|
69
|
-
encodeFunctionData(functionFragment: "closeFactorMantissa", values?: undefined): string;
|
|
70
56
|
encodeFunctionData(functionFragment: "compLogic", values?: undefined): string;
|
|
71
57
|
encodeFunctionData(functionFragment: "enterMarkets", values: [AddressLike[]]): string;
|
|
72
|
-
encodeFunctionData(functionFragment: "enterMarketsForAll", values: [AddressLike[]]): string;
|
|
73
58
|
encodeFunctionData(functionFragment: "exitMarket", values: [AddressLike]): string;
|
|
74
|
-
encodeFunctionData(functionFragment: "getAccountLiquidity", values: [AddressLike]): string;
|
|
75
|
-
encodeFunctionData(functionFragment: "getAccountSafeLimit", values: [AddressLike, AddressLike, BigNumberish, BigNumberish]): string;
|
|
76
|
-
encodeFunctionData(functionFragment: "getAllAssetGroup", values?: undefined): string;
|
|
77
59
|
encodeFunctionData(functionFragment: "getAllMarkets", values?: undefined): string;
|
|
78
|
-
encodeFunctionData(functionFragment: "getAssetGroup", values: [BigNumberish]): string;
|
|
79
|
-
encodeFunctionData(functionFragment: "getAssetGroupByIndex", values: [BigNumberish]): string;
|
|
80
|
-
encodeFunctionData(functionFragment: "getAssetGroupNum", values?: undefined): string;
|
|
81
60
|
encodeFunctionData(functionFragment: "getAssetsIn", values: [AddressLike]): string;
|
|
82
|
-
encodeFunctionData(functionFragment: "getCollateralRate", values: [AddressLike, AddressLike]): string;
|
|
83
|
-
encodeFunctionData(functionFragment: "getCompAddress", values?: undefined): string;
|
|
84
61
|
encodeFunctionData(functionFragment: "getHypotheticalAccountLiquidity", values: [AddressLike, AddressLike, BigNumberish, BigNumberish]): string;
|
|
85
62
|
encodeFunctionData(functionFragment: "getRoleAdmin", values: [BytesLike]): string;
|
|
86
|
-
encodeFunctionData(functionFragment: "getRoleMember", values: [BytesLike, BigNumberish]): string;
|
|
87
|
-
encodeFunctionData(functionFragment: "getRoleMemberCount", values: [BytesLike]): string;
|
|
88
63
|
encodeFunctionData(functionFragment: "getUnderlyingPriceNormalized", values: [AddressLike]): string;
|
|
64
|
+
encodeFunctionData(functionFragment: "globalConfig", values?: undefined): string;
|
|
89
65
|
encodeFunctionData(functionFragment: "governanceToken", values?: undefined): string;
|
|
90
66
|
encodeFunctionData(functionFragment: "grantRole", values: [BytesLike, AddressLike]): string;
|
|
91
67
|
encodeFunctionData(functionFragment: "hasRole", values: [BytesLike, AddressLike]): string;
|
|
92
|
-
encodeFunctionData(functionFragment: "heteroLiquidationIncentiveMantissa", values?: undefined): string;
|
|
93
|
-
encodeFunctionData(functionFragment: "homoLiquidationIncentiveMantissa", values?: undefined): string;
|
|
94
68
|
encodeFunctionData(functionFragment: "initialize", values: [
|
|
95
69
|
AddressLike,
|
|
96
70
|
AddressLike,
|
|
97
71
|
AddressLike,
|
|
98
72
|
AddressLike,
|
|
99
73
|
AddressLike,
|
|
100
|
-
|
|
101
|
-
BigNumberish,
|
|
102
|
-
BigNumberish,
|
|
103
|
-
BigNumberish
|
|
74
|
+
AddressLike
|
|
104
75
|
]): string;
|
|
105
76
|
encodeFunctionData(functionFragment: "isComptroller", values?: undefined): string;
|
|
106
77
|
encodeFunctionData(functionFragment: "isListed", values: [AddressLike]): string;
|
|
107
78
|
encodeFunctionData(functionFragment: "lastBorrowedAt", values: [AddressLike]): string;
|
|
108
79
|
encodeFunctionData(functionFragment: "liquidateBorrowAllowed", values: [AddressLike, AddressLike, AddressLike, AddressLike, BigNumberish]): string;
|
|
109
|
-
encodeFunctionData(functionFragment: "
|
|
110
|
-
encodeFunctionData(functionFragment: "
|
|
80
|
+
encodeFunctionData(functionFragment: "liquidationIncentive", values?: undefined): string;
|
|
81
|
+
encodeFunctionData(functionFragment: "marketConfig", values: [AddressLike]): string;
|
|
111
82
|
encodeFunctionData(functionFragment: "markets", values: [AddressLike]): string;
|
|
112
|
-
encodeFunctionData(functionFragment: "maxSupply", values: [AddressLike]): string;
|
|
113
|
-
encodeFunctionData(functionFragment: "minCloseValue", values?: undefined): string;
|
|
114
|
-
encodeFunctionData(functionFragment: "minSuBorrowValue", values?: undefined): string;
|
|
115
|
-
encodeFunctionData(functionFragment: "minWaitBeforeLiquidatable", values?: undefined): string;
|
|
116
83
|
encodeFunctionData(functionFragment: "mintAllowed", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
117
|
-
encodeFunctionData(functionFragment: "mintGuardianPaused", values: [AddressLike]): string;
|
|
118
84
|
encodeFunctionData(functionFragment: "oracle", values?: undefined): string;
|
|
119
85
|
encodeFunctionData(functionFragment: "pauseGuardian", values?: undefined): string;
|
|
120
86
|
encodeFunctionData(functionFragment: "redeemAllowed", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
@@ -124,102 +90,54 @@ export interface ComptrollerInterface extends Interface {
|
|
|
124
90
|
encodeFunctionData(functionFragment: "repayBorrowAllowed", values: [AddressLike, AddressLike, AddressLike, BigNumberish]): string;
|
|
125
91
|
encodeFunctionData(functionFragment: "revokeRole", values: [BytesLike, AddressLike]): string;
|
|
126
92
|
encodeFunctionData(functionFragment: "seizeAllowed", values: [AddressLike, AddressLike, AddressLike, AddressLike, BigNumberish]): string;
|
|
127
|
-
encodeFunctionData(functionFragment: "seizeGuardianPaused", values?: undefined): string;
|
|
128
|
-
encodeFunctionData(functionFragment: "setAccountLiquidity", values: [AddressLike]): string;
|
|
129
93
|
encodeFunctionData(functionFragment: "setAssetGroup", values: [
|
|
130
94
|
BigNumberish,
|
|
131
|
-
string,
|
|
132
95
|
BigNumberish,
|
|
133
96
|
BigNumberish,
|
|
134
97
|
BigNumberish,
|
|
135
98
|
BigNumberish,
|
|
136
99
|
BigNumberish
|
|
137
100
|
]): string;
|
|
138
|
-
encodeFunctionData(functionFragment: "setCompLogic", values: [AddressLike]): string;
|
|
139
|
-
encodeFunctionData(functionFragment: "setCompSpeed", values: [AddressLike, BigNumberish, BigNumberish]): string;
|
|
140
|
-
encodeFunctionData(functionFragment: "setGovTokenAddress", values: [AddressLike]): string;
|
|
141
|
-
encodeFunctionData(functionFragment: "setMinCloseValue", values: [BigNumberish]): string;
|
|
142
|
-
encodeFunctionData(functionFragment: "setMinSuBorrowValue", values: [BigNumberish]): string;
|
|
143
|
-
encodeFunctionData(functionFragment: "setMinWaitBeforeLiquidatable", values: [BigNumberish]): string;
|
|
144
|
-
encodeFunctionData(functionFragment: "setRedemptionManager", values: [AddressLike]): string;
|
|
145
|
-
encodeFunctionData(functionFragment: "setTimelock", values: [AddressLike]): string;
|
|
146
|
-
encodeFunctionData(functionFragment: "suTokenRateMantissa", values?: undefined): string;
|
|
147
101
|
encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string;
|
|
148
|
-
encodeFunctionData(functionFragment: "sutokenLiquidationIncentiveMantissa", values?: undefined): string;
|
|
149
102
|
encodeFunctionData(functionFragment: "timelock", values?: undefined): string;
|
|
150
103
|
encodeFunctionData(functionFragment: "transferAllowed", values: [AddressLike, AddressLike, AddressLike, BigNumberish]): string;
|
|
151
|
-
encodeFunctionData(functionFragment: "transferGuardianPaused", values?: undefined): string;
|
|
152
|
-
decodeFunctionResult(functionFragment: "CAPPER_ROLE", data: BytesLike): Result;
|
|
153
|
-
decodeFunctionResult(functionFragment: "COMP_LOGIC", data: BytesLike): Result;
|
|
154
104
|
decodeFunctionResult(functionFragment: "DEFAULT_ADMIN_ROLE", data: BytesLike): Result;
|
|
155
105
|
decodeFunctionResult(functionFragment: "PAUSER_ROLE", data: BytesLike): Result;
|
|
156
|
-
decodeFunctionResult(functionFragment: "
|
|
157
|
-
decodeFunctionResult(functionFragment: "
|
|
158
|
-
decodeFunctionResult(functionFragment: "
|
|
159
|
-
decodeFunctionResult(functionFragment: "
|
|
160
|
-
decodeFunctionResult(functionFragment: "_setBorrowCapGuardian", data: BytesLike): Result;
|
|
161
|
-
decodeFunctionResult(functionFragment: "_setBorrowPaused", data: BytesLike): Result;
|
|
162
|
-
decodeFunctionResult(functionFragment: "_setCloseFactor", data: BytesLike): Result;
|
|
106
|
+
decodeFunctionResult(functionFragment: "_pause", data: BytesLike): Result;
|
|
107
|
+
decodeFunctionResult(functionFragment: "_setCaps", data: BytesLike): Result;
|
|
108
|
+
decodeFunctionResult(functionFragment: "_setGlobalConfig", data: BytesLike): Result;
|
|
109
|
+
decodeFunctionResult(functionFragment: "_setGovTokenAddress", data: BytesLike): Result;
|
|
163
110
|
decodeFunctionResult(functionFragment: "_setLiquidationIncentive", data: BytesLike): Result;
|
|
164
|
-
decodeFunctionResult(functionFragment: "_setMarketBorrowCaps", data: BytesLike): Result;
|
|
165
|
-
decodeFunctionResult(functionFragment: "_setMaxSupply", data: BytesLike): Result;
|
|
166
|
-
decodeFunctionResult(functionFragment: "_setMintPaused", data: BytesLike): Result;
|
|
167
111
|
decodeFunctionResult(functionFragment: "_setPauseGuardian", data: BytesLike): Result;
|
|
168
112
|
decodeFunctionResult(functionFragment: "_setPriceOracle", data: BytesLike): Result;
|
|
169
|
-
decodeFunctionResult(functionFragment: "
|
|
170
|
-
decodeFunctionResult(functionFragment: "_setSeizePaused", data: BytesLike): Result;
|
|
171
|
-
decodeFunctionResult(functionFragment: "_setTransferPaused", data: BytesLike): Result;
|
|
113
|
+
decodeFunctionResult(functionFragment: "_setTimelock", data: BytesLike): Result;
|
|
172
114
|
decodeFunctionResult(functionFragment: "_supportMarket", data: BytesLike): Result;
|
|
173
115
|
decodeFunctionResult(functionFragment: "accountAssets", data: BytesLike): Result;
|
|
174
|
-
decodeFunctionResult(functionFragment: "accountLiquidity", data: BytesLike): Result;
|
|
175
116
|
decodeFunctionResult(functionFragment: "allMarkets", data: BytesLike): Result;
|
|
176
|
-
decodeFunctionResult(functionFragment: "
|
|
117
|
+
decodeFunctionResult(functionFragment: "assetGroup", data: BytesLike): Result;
|
|
177
118
|
decodeFunctionResult(functionFragment: "borrowAllowed", data: BytesLike): Result;
|
|
178
|
-
decodeFunctionResult(functionFragment: "borrowCapGuardian", data: BytesLike): Result;
|
|
179
|
-
decodeFunctionResult(functionFragment: "borrowCaps", data: BytesLike): Result;
|
|
180
|
-
decodeFunctionResult(functionFragment: "borrowGuardianPaused", data: BytesLike): Result;
|
|
181
119
|
decodeFunctionResult(functionFragment: "borrowVerify", data: BytesLike): Result;
|
|
182
|
-
decodeFunctionResult(functionFragment: "checkMembership", data: BytesLike): Result;
|
|
183
|
-
decodeFunctionResult(functionFragment: "cleanAssetGroup", data: BytesLike): Result;
|
|
184
|
-
decodeFunctionResult(functionFragment: "closeFactorMantissa", data: BytesLike): Result;
|
|
185
120
|
decodeFunctionResult(functionFragment: "compLogic", data: BytesLike): Result;
|
|
186
121
|
decodeFunctionResult(functionFragment: "enterMarkets", data: BytesLike): Result;
|
|
187
|
-
decodeFunctionResult(functionFragment: "enterMarketsForAll", data: BytesLike): Result;
|
|
188
122
|
decodeFunctionResult(functionFragment: "exitMarket", data: BytesLike): Result;
|
|
189
|
-
decodeFunctionResult(functionFragment: "getAccountLiquidity", data: BytesLike): Result;
|
|
190
|
-
decodeFunctionResult(functionFragment: "getAccountSafeLimit", data: BytesLike): Result;
|
|
191
|
-
decodeFunctionResult(functionFragment: "getAllAssetGroup", data: BytesLike): Result;
|
|
192
123
|
decodeFunctionResult(functionFragment: "getAllMarkets", data: BytesLike): Result;
|
|
193
|
-
decodeFunctionResult(functionFragment: "getAssetGroup", data: BytesLike): Result;
|
|
194
|
-
decodeFunctionResult(functionFragment: "getAssetGroupByIndex", data: BytesLike): Result;
|
|
195
|
-
decodeFunctionResult(functionFragment: "getAssetGroupNum", data: BytesLike): Result;
|
|
196
124
|
decodeFunctionResult(functionFragment: "getAssetsIn", data: BytesLike): Result;
|
|
197
|
-
decodeFunctionResult(functionFragment: "getCollateralRate", data: BytesLike): Result;
|
|
198
|
-
decodeFunctionResult(functionFragment: "getCompAddress", data: BytesLike): Result;
|
|
199
125
|
decodeFunctionResult(functionFragment: "getHypotheticalAccountLiquidity", data: BytesLike): Result;
|
|
200
126
|
decodeFunctionResult(functionFragment: "getRoleAdmin", data: BytesLike): Result;
|
|
201
|
-
decodeFunctionResult(functionFragment: "getRoleMember", data: BytesLike): Result;
|
|
202
|
-
decodeFunctionResult(functionFragment: "getRoleMemberCount", data: BytesLike): Result;
|
|
203
127
|
decodeFunctionResult(functionFragment: "getUnderlyingPriceNormalized", data: BytesLike): Result;
|
|
128
|
+
decodeFunctionResult(functionFragment: "globalConfig", data: BytesLike): Result;
|
|
204
129
|
decodeFunctionResult(functionFragment: "governanceToken", data: BytesLike): Result;
|
|
205
130
|
decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result;
|
|
206
131
|
decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result;
|
|
207
|
-
decodeFunctionResult(functionFragment: "heteroLiquidationIncentiveMantissa", data: BytesLike): Result;
|
|
208
|
-
decodeFunctionResult(functionFragment: "homoLiquidationIncentiveMantissa", data: BytesLike): Result;
|
|
209
132
|
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
|
|
210
133
|
decodeFunctionResult(functionFragment: "isComptroller", data: BytesLike): Result;
|
|
211
134
|
decodeFunctionResult(functionFragment: "isListed", data: BytesLike): Result;
|
|
212
135
|
decodeFunctionResult(functionFragment: "lastBorrowedAt", data: BytesLike): Result;
|
|
213
136
|
decodeFunctionResult(functionFragment: "liquidateBorrowAllowed", data: BytesLike): Result;
|
|
214
|
-
decodeFunctionResult(functionFragment: "
|
|
215
|
-
decodeFunctionResult(functionFragment: "
|
|
137
|
+
decodeFunctionResult(functionFragment: "liquidationIncentive", data: BytesLike): Result;
|
|
138
|
+
decodeFunctionResult(functionFragment: "marketConfig", data: BytesLike): Result;
|
|
216
139
|
decodeFunctionResult(functionFragment: "markets", data: BytesLike): Result;
|
|
217
|
-
decodeFunctionResult(functionFragment: "maxSupply", data: BytesLike): Result;
|
|
218
|
-
decodeFunctionResult(functionFragment: "minCloseValue", data: BytesLike): Result;
|
|
219
|
-
decodeFunctionResult(functionFragment: "minSuBorrowValue", data: BytesLike): Result;
|
|
220
|
-
decodeFunctionResult(functionFragment: "minWaitBeforeLiquidatable", data: BytesLike): Result;
|
|
221
140
|
decodeFunctionResult(functionFragment: "mintAllowed", data: BytesLike): Result;
|
|
222
|
-
decodeFunctionResult(functionFragment: "mintGuardianPaused", data: BytesLike): Result;
|
|
223
141
|
decodeFunctionResult(functionFragment: "oracle", data: BytesLike): Result;
|
|
224
142
|
decodeFunctionResult(functionFragment: "pauseGuardian", data: BytesLike): Result;
|
|
225
143
|
decodeFunctionResult(functionFragment: "redeemAllowed", data: BytesLike): Result;
|
|
@@ -229,44 +147,10 @@ export interface ComptrollerInterface extends Interface {
|
|
|
229
147
|
decodeFunctionResult(functionFragment: "repayBorrowAllowed", data: BytesLike): Result;
|
|
230
148
|
decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result;
|
|
231
149
|
decodeFunctionResult(functionFragment: "seizeAllowed", data: BytesLike): Result;
|
|
232
|
-
decodeFunctionResult(functionFragment: "seizeGuardianPaused", data: BytesLike): Result;
|
|
233
|
-
decodeFunctionResult(functionFragment: "setAccountLiquidity", data: BytesLike): Result;
|
|
234
150
|
decodeFunctionResult(functionFragment: "setAssetGroup", data: BytesLike): Result;
|
|
235
|
-
decodeFunctionResult(functionFragment: "setCompLogic", data: BytesLike): Result;
|
|
236
|
-
decodeFunctionResult(functionFragment: "setCompSpeed", data: BytesLike): Result;
|
|
237
|
-
decodeFunctionResult(functionFragment: "setGovTokenAddress", data: BytesLike): Result;
|
|
238
|
-
decodeFunctionResult(functionFragment: "setMinCloseValue", data: BytesLike): Result;
|
|
239
|
-
decodeFunctionResult(functionFragment: "setMinSuBorrowValue", data: BytesLike): Result;
|
|
240
|
-
decodeFunctionResult(functionFragment: "setMinWaitBeforeLiquidatable", data: BytesLike): Result;
|
|
241
|
-
decodeFunctionResult(functionFragment: "setRedemptionManager", data: BytesLike): Result;
|
|
242
|
-
decodeFunctionResult(functionFragment: "setTimelock", data: BytesLike): Result;
|
|
243
|
-
decodeFunctionResult(functionFragment: "suTokenRateMantissa", data: BytesLike): Result;
|
|
244
151
|
decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result;
|
|
245
|
-
decodeFunctionResult(functionFragment: "sutokenLiquidationIncentiveMantissa", data: BytesLike): Result;
|
|
246
152
|
decodeFunctionResult(functionFragment: "timelock", data: BytesLike): Result;
|
|
247
153
|
decodeFunctionResult(functionFragment: "transferAllowed", data: BytesLike): Result;
|
|
248
|
-
decodeFunctionResult(functionFragment: "transferGuardianPaused", data: BytesLike): Result;
|
|
249
|
-
}
|
|
250
|
-
export declare namespace ActionPausedEvent {
|
|
251
|
-
type InputTuple = [
|
|
252
|
-
cToken: AddressLike,
|
|
253
|
-
action: string,
|
|
254
|
-
pauseState: boolean
|
|
255
|
-
];
|
|
256
|
-
type OutputTuple = [
|
|
257
|
-
cToken: string,
|
|
258
|
-
action: string,
|
|
259
|
-
pauseState: boolean
|
|
260
|
-
];
|
|
261
|
-
interface OutputObject {
|
|
262
|
-
cToken: string;
|
|
263
|
-
action: string;
|
|
264
|
-
pauseState: boolean;
|
|
265
|
-
}
|
|
266
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
267
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
268
|
-
type Log = TypedEventLog<Event>;
|
|
269
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
270
154
|
}
|
|
271
155
|
export declare namespace InitializedEvent {
|
|
272
156
|
type InputTuple = [version: BigNumberish];
|
|
@@ -314,108 +198,93 @@ export declare namespace MarketListedEvent {
|
|
|
314
198
|
type Log = TypedEventLog<Event>;
|
|
315
199
|
type LogDescription = TypedLogDescription<Event>;
|
|
316
200
|
}
|
|
317
|
-
export declare namespace NewAccountLiquidityEvent {
|
|
318
|
-
type InputTuple = [oldAddress: AddressLike, newAddress: AddressLike];
|
|
319
|
-
type OutputTuple = [oldAddress: string, newAddress: string];
|
|
320
|
-
interface OutputObject {
|
|
321
|
-
oldAddress: string;
|
|
322
|
-
newAddress: string;
|
|
323
|
-
}
|
|
324
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
325
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
326
|
-
type Log = TypedEventLog<Event>;
|
|
327
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
328
|
-
}
|
|
329
201
|
export declare namespace NewAssetGroupEvent {
|
|
330
202
|
type InputTuple = [
|
|
331
203
|
groupId: BigNumberish,
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
interSuRateMantissa: BigNumberish,
|
|
338
|
-
assetsGroupNum: BigNumberish
|
|
204
|
+
intraCRatePercent: BigNumberish,
|
|
205
|
+
intraMintRatePercent: BigNumberish,
|
|
206
|
+
intraSuRatePercent: BigNumberish,
|
|
207
|
+
interCRatePercent: BigNumberish,
|
|
208
|
+
interSuRatePercent: BigNumberish
|
|
339
209
|
];
|
|
340
210
|
type OutputTuple = [
|
|
341
211
|
groupId: bigint,
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
interSuRateMantissa: bigint,
|
|
348
|
-
assetsGroupNum: bigint
|
|
212
|
+
intraCRatePercent: bigint,
|
|
213
|
+
intraMintRatePercent: bigint,
|
|
214
|
+
intraSuRatePercent: bigint,
|
|
215
|
+
interCRatePercent: bigint,
|
|
216
|
+
interSuRatePercent: bigint
|
|
349
217
|
];
|
|
350
218
|
interface OutputObject {
|
|
351
219
|
groupId: bigint;
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
interSuRateMantissa: bigint;
|
|
358
|
-
assetsGroupNum: bigint;
|
|
220
|
+
intraCRatePercent: bigint;
|
|
221
|
+
intraMintRatePercent: bigint;
|
|
222
|
+
intraSuRatePercent: bigint;
|
|
223
|
+
interCRatePercent: bigint;
|
|
224
|
+
interSuRatePercent: bigint;
|
|
359
225
|
}
|
|
360
226
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
361
227
|
type Filter = TypedDeferredTopicFilter<Event>;
|
|
362
228
|
type Log = TypedEventLog<Event>;
|
|
363
229
|
type LogDescription = TypedLogDescription<Event>;
|
|
364
230
|
}
|
|
365
|
-
export declare namespace
|
|
366
|
-
type InputTuple = [
|
|
367
|
-
|
|
231
|
+
export declare namespace NewCapEvent {
|
|
232
|
+
type InputTuple = [
|
|
233
|
+
cToken: AddressLike,
|
|
234
|
+
borrowCap: BigNumberish,
|
|
235
|
+
supplyCap: BigNumberish
|
|
236
|
+
];
|
|
237
|
+
type OutputTuple = [
|
|
238
|
+
cToken: string,
|
|
239
|
+
borrowCap: bigint,
|
|
240
|
+
supplyCap: bigint
|
|
241
|
+
];
|
|
368
242
|
interface OutputObject {
|
|
369
243
|
cToken: string;
|
|
370
|
-
|
|
244
|
+
borrowCap: bigint;
|
|
245
|
+
supplyCap: bigint;
|
|
371
246
|
}
|
|
372
247
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
373
248
|
type Filter = TypedDeferredTopicFilter<Event>;
|
|
374
249
|
type Log = TypedEventLog<Event>;
|
|
375
250
|
type LogDescription = TypedLogDescription<Event>;
|
|
376
251
|
}
|
|
377
|
-
export declare namespace
|
|
252
|
+
export declare namespace NewDependenciesEvent {
|
|
378
253
|
type InputTuple = [
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
];
|
|
382
|
-
type OutputTuple = [
|
|
383
|
-
oldBorrowCapGuardian: string,
|
|
384
|
-
newBorrowCapGuardian: string
|
|
254
|
+
compLogic: AddressLike,
|
|
255
|
+
redemptionManager: AddressLike
|
|
385
256
|
];
|
|
257
|
+
type OutputTuple = [compLogic: string, redemptionManager: string];
|
|
386
258
|
interface OutputObject {
|
|
387
|
-
|
|
388
|
-
|
|
259
|
+
compLogic: string;
|
|
260
|
+
redemptionManager: string;
|
|
389
261
|
}
|
|
390
262
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
391
263
|
type Filter = TypedDeferredTopicFilter<Event>;
|
|
392
264
|
type Log = TypedEventLog<Event>;
|
|
393
265
|
type LogDescription = TypedLogDescription<Event>;
|
|
394
266
|
}
|
|
395
|
-
export declare namespace
|
|
267
|
+
export declare namespace NewGlobalConfigEvent {
|
|
396
268
|
type InputTuple = [
|
|
397
|
-
|
|
398
|
-
|
|
269
|
+
closeFactorPercent: BigNumberish,
|
|
270
|
+
minCloseValue: BigNumberish,
|
|
271
|
+
minSuBorrowValue: BigNumberish,
|
|
272
|
+
minWaitBeforeLiquidatable: BigNumberish,
|
|
273
|
+
largestGroupId: BigNumberish
|
|
399
274
|
];
|
|
400
275
|
type OutputTuple = [
|
|
401
|
-
|
|
402
|
-
|
|
276
|
+
closeFactorPercent: bigint,
|
|
277
|
+
minCloseValue: bigint,
|
|
278
|
+
minSuBorrowValue: bigint,
|
|
279
|
+
minWaitBeforeLiquidatable: bigint,
|
|
280
|
+
largestGroupId: bigint
|
|
403
281
|
];
|
|
404
282
|
interface OutputObject {
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
type Log = TypedEventLog<Event>;
|
|
411
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
412
|
-
}
|
|
413
|
-
export declare namespace NewCompLogicEvent {
|
|
414
|
-
type InputTuple = [oldAddress: AddressLike, newAddress: AddressLike];
|
|
415
|
-
type OutputTuple = [oldAddress: string, newAddress: string];
|
|
416
|
-
interface OutputObject {
|
|
417
|
-
oldAddress: string;
|
|
418
|
-
newAddress: string;
|
|
283
|
+
closeFactorPercent: bigint;
|
|
284
|
+
minCloseValue: bigint;
|
|
285
|
+
minSuBorrowValue: bigint;
|
|
286
|
+
minWaitBeforeLiquidatable: bigint;
|
|
287
|
+
largestGroupId: bigint;
|
|
419
288
|
}
|
|
420
289
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
421
290
|
type Filter = TypedDeferredTopicFilter<Event>;
|
|
@@ -424,64 +293,46 @@ export declare namespace NewCompLogicEvent {
|
|
|
424
293
|
}
|
|
425
294
|
export declare namespace NewLiquidationIncentiveEvent {
|
|
426
295
|
type InputTuple = [
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
newHomoIncentive: BigNumberish,
|
|
431
|
-
oldSutokenIncentive: BigNumberish,
|
|
432
|
-
newSutokenIncentive: BigNumberish
|
|
296
|
+
heteroPercent: BigNumberish,
|
|
297
|
+
homoPercent: BigNumberish,
|
|
298
|
+
sutokenPercent: BigNumberish
|
|
433
299
|
];
|
|
434
300
|
type OutputTuple = [
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
newHomoIncentive: bigint,
|
|
439
|
-
oldSutokenIncentive: bigint,
|
|
440
|
-
newSutokenIncentive: bigint
|
|
301
|
+
heteroPercent: bigint,
|
|
302
|
+
homoPercent: bigint,
|
|
303
|
+
sutokenPercent: bigint
|
|
441
304
|
];
|
|
442
305
|
interface OutputObject {
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
newHomoIncentive: bigint;
|
|
447
|
-
oldSutokenIncentive: bigint;
|
|
448
|
-
newSutokenIncentive: bigint;
|
|
449
|
-
}
|
|
450
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
451
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
452
|
-
type Log = TypedEventLog<Event>;
|
|
453
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
454
|
-
}
|
|
455
|
-
export declare namespace NewMinCloseValueEvent {
|
|
456
|
-
type InputTuple = [oldValue: BigNumberish, newValue: BigNumberish];
|
|
457
|
-
type OutputTuple = [oldValue: bigint, newValue: bigint];
|
|
458
|
-
interface OutputObject {
|
|
459
|
-
oldValue: bigint;
|
|
460
|
-
newValue: bigint;
|
|
461
|
-
}
|
|
462
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
463
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
464
|
-
type Log = TypedEventLog<Event>;
|
|
465
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
466
|
-
}
|
|
467
|
-
export declare namespace NewMinSuBorrowValueEvent {
|
|
468
|
-
type InputTuple = [oldValue: BigNumberish, newValue: BigNumberish];
|
|
469
|
-
type OutputTuple = [oldValue: bigint, newValue: bigint];
|
|
470
|
-
interface OutputObject {
|
|
471
|
-
oldValue: bigint;
|
|
472
|
-
newValue: bigint;
|
|
306
|
+
heteroPercent: bigint;
|
|
307
|
+
homoPercent: bigint;
|
|
308
|
+
sutokenPercent: bigint;
|
|
473
309
|
}
|
|
474
310
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
475
311
|
type Filter = TypedDeferredTopicFilter<Event>;
|
|
476
312
|
type Log = TypedEventLog<Event>;
|
|
477
313
|
type LogDescription = TypedLogDescription<Event>;
|
|
478
314
|
}
|
|
479
|
-
export declare namespace
|
|
480
|
-
type InputTuple = [
|
|
481
|
-
|
|
315
|
+
export declare namespace NewPauseEvent {
|
|
316
|
+
type InputTuple = [
|
|
317
|
+
ctoken: AddressLike,
|
|
318
|
+
mintPaused: boolean,
|
|
319
|
+
borrowPaused: boolean,
|
|
320
|
+
transferPaused: boolean,
|
|
321
|
+
seizePaused: boolean
|
|
322
|
+
];
|
|
323
|
+
type OutputTuple = [
|
|
324
|
+
ctoken: string,
|
|
325
|
+
mintPaused: boolean,
|
|
326
|
+
borrowPaused: boolean,
|
|
327
|
+
transferPaused: boolean,
|
|
328
|
+
seizePaused: boolean
|
|
329
|
+
];
|
|
482
330
|
interface OutputObject {
|
|
483
|
-
|
|
484
|
-
|
|
331
|
+
ctoken: string;
|
|
332
|
+
mintPaused: boolean;
|
|
333
|
+
borrowPaused: boolean;
|
|
334
|
+
transferPaused: boolean;
|
|
335
|
+
seizePaused: boolean;
|
|
485
336
|
}
|
|
486
337
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
487
338
|
type Filter = TypedDeferredTopicFilter<Event>;
|
|
@@ -507,26 +358,21 @@ export declare namespace NewPauseGuardianEvent {
|
|
|
507
358
|
type LogDescription = TypedLogDescription<Event>;
|
|
508
359
|
}
|
|
509
360
|
export declare namespace NewPriceOracleEvent {
|
|
510
|
-
type InputTuple = [
|
|
511
|
-
|
|
512
|
-
newPriceOracle: AddressLike
|
|
513
|
-
];
|
|
514
|
-
type OutputTuple = [oldPriceOracle: string, newPriceOracle: string];
|
|
361
|
+
type InputTuple = [priceOracle: AddressLike];
|
|
362
|
+
type OutputTuple = [priceOracle: string];
|
|
515
363
|
interface OutputObject {
|
|
516
|
-
|
|
517
|
-
newPriceOracle: string;
|
|
364
|
+
priceOracle: string;
|
|
518
365
|
}
|
|
519
366
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
520
367
|
type Filter = TypedDeferredTopicFilter<Event>;
|
|
521
368
|
type Log = TypedEventLog<Event>;
|
|
522
369
|
type LogDescription = TypedLogDescription<Event>;
|
|
523
370
|
}
|
|
524
|
-
export declare namespace
|
|
525
|
-
type InputTuple = [
|
|
526
|
-
type OutputTuple = [
|
|
371
|
+
export declare namespace NewTimelockEvent {
|
|
372
|
+
type InputTuple = [timelock: AddressLike];
|
|
373
|
+
type OutputTuple = [timelock: string];
|
|
527
374
|
interface OutputObject {
|
|
528
|
-
|
|
529
|
-
newAddress: string;
|
|
375
|
+
timelock: string;
|
|
530
376
|
}
|
|
531
377
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
532
378
|
type Filter = TypedDeferredTopicFilter<Event>;
|
|
@@ -534,14 +380,10 @@ export declare namespace NewRedemptionManagerEvent {
|
|
|
534
380
|
type LogDescription = TypedLogDescription<Event>;
|
|
535
381
|
}
|
|
536
382
|
export declare namespace RemoveAssetGroupEvent {
|
|
537
|
-
type InputTuple = [
|
|
538
|
-
|
|
539
|
-
equalAssetsGroupNum: BigNumberish
|
|
540
|
-
];
|
|
541
|
-
type OutputTuple = [groupId: bigint, equalAssetsGroupNum: bigint];
|
|
383
|
+
type InputTuple = [groupId: BigNumberish];
|
|
384
|
+
type OutputTuple = [groupId: bigint];
|
|
542
385
|
interface OutputObject {
|
|
543
386
|
groupId: bigint;
|
|
544
|
-
equalAssetsGroupNum: bigint;
|
|
545
387
|
}
|
|
546
388
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
547
389
|
type Filter = TypedDeferredTopicFilter<Event>;
|
|
@@ -603,18 +445,6 @@ export declare namespace RoleRevokedEvent {
|
|
|
603
445
|
type Log = TypedEventLog<Event>;
|
|
604
446
|
type LogDescription = TypedLogDescription<Event>;
|
|
605
447
|
}
|
|
606
|
-
export declare namespace SetMaxSupplyEvent {
|
|
607
|
-
type InputTuple = [cToken: AddressLike, amount: BigNumberish];
|
|
608
|
-
type OutputTuple = [cToken: string, amount: bigint];
|
|
609
|
-
interface OutputObject {
|
|
610
|
-
cToken: string;
|
|
611
|
-
amount: bigint;
|
|
612
|
-
}
|
|
613
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
614
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
615
|
-
type Log = TypedEventLog<Event>;
|
|
616
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
617
|
-
}
|
|
618
448
|
export interface Comptroller extends BaseContract {
|
|
619
449
|
connect(runner?: ContractRunner | null): Comptroller;
|
|
620
450
|
waitForDeployment(): Promise<this>;
|
|
@@ -628,79 +458,53 @@ export interface Comptroller extends BaseContract {
|
|
|
628
458
|
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
629
459
|
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
630
460
|
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
631
|
-
CAPPER_ROLE: TypedContractMethod<[], [string], "view">;
|
|
632
|
-
COMP_LOGIC: TypedContractMethod<[], [string], "view">;
|
|
633
461
|
DEFAULT_ADMIN_ROLE: TypedContractMethod<[], [string], "view">;
|
|
634
462
|
PAUSER_ROLE: TypedContractMethod<[], [string], "view">;
|
|
635
|
-
|
|
636
|
-
_getBorrowCapGuardian: TypedContractMethod<[], [string], "view">;
|
|
637
|
-
_getPauseGuardian: TypedContractMethod<[], [string], "view">;
|
|
638
|
-
_mintGuardianPaused: TypedContractMethod<[], [boolean], "view">;
|
|
639
|
-
_setBorrowCapGuardian: TypedContractMethod<[
|
|
640
|
-
newBorrowCapGuardian: AddressLike
|
|
641
|
-
], [
|
|
642
|
-
void
|
|
643
|
-
], "nonpayable">;
|
|
644
|
-
_setBorrowPaused: TypedContractMethod<[
|
|
463
|
+
_pause: TypedContractMethod<[
|
|
645
464
|
cToken: AddressLike,
|
|
646
|
-
|
|
465
|
+
mintPaused: boolean,
|
|
466
|
+
borrowPaused: boolean,
|
|
467
|
+
transferPaused: boolean,
|
|
468
|
+
seizePaused: boolean
|
|
647
469
|
], [
|
|
648
|
-
|
|
649
|
-
], "nonpayable">;
|
|
650
|
-
_setCloseFactor: TypedContractMethod<[
|
|
651
|
-
newCloseFactorMantissa: BigNumberish
|
|
652
|
-
], [
|
|
653
|
-
bigint
|
|
470
|
+
void
|
|
654
471
|
], "nonpayable">;
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
472
|
+
_setCaps: TypedContractMethod<[
|
|
473
|
+
cTokens: AddressLike[],
|
|
474
|
+
borrowCaps: BigNumberish[],
|
|
475
|
+
supplyCaps: BigNumberish[]
|
|
659
476
|
], [
|
|
660
|
-
|
|
477
|
+
void
|
|
661
478
|
], "nonpayable">;
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
newBorrowCaps: BigNumberish[]
|
|
479
|
+
_setGlobalConfig: TypedContractMethod<[
|
|
480
|
+
globalConfig_: GlobalConfigStruct
|
|
665
481
|
], [
|
|
666
482
|
void
|
|
667
483
|
], "nonpayable">;
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
newMaxSupplys: BigNumberish[]
|
|
484
|
+
_setGovTokenAddress: TypedContractMethod<[
|
|
485
|
+
_governanceToken: AddressLike
|
|
671
486
|
], [
|
|
672
|
-
|
|
487
|
+
void
|
|
673
488
|
], "nonpayable">;
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
state: boolean
|
|
489
|
+
_setLiquidationIncentive: TypedContractMethod<[
|
|
490
|
+
liquidationIncentive_: LiquidationIncentiveStruct
|
|
677
491
|
], [
|
|
678
|
-
|
|
492
|
+
void
|
|
679
493
|
], "nonpayable">;
|
|
680
494
|
_setPauseGuardian: TypedContractMethod<[
|
|
681
495
|
newPauseGuardian: AddressLike
|
|
682
496
|
], [
|
|
683
|
-
|
|
497
|
+
void
|
|
684
498
|
], "nonpayable">;
|
|
685
499
|
_setPriceOracle: TypedContractMethod<[
|
|
686
|
-
|
|
500
|
+
_oracle: AddressLike
|
|
687
501
|
], [
|
|
688
|
-
|
|
689
|
-
], "nonpayable">;
|
|
690
|
-
_setProtocolPaused: TypedContractMethod<[
|
|
691
|
-
state: boolean
|
|
692
|
-
], [
|
|
693
|
-
boolean
|
|
694
|
-
], "nonpayable">;
|
|
695
|
-
_setSeizePaused: TypedContractMethod<[
|
|
696
|
-
state: boolean
|
|
697
|
-
], [
|
|
698
|
-
boolean
|
|
502
|
+
void
|
|
699
503
|
], "nonpayable">;
|
|
700
|
-
|
|
701
|
-
|
|
504
|
+
_setTimelock: TypedContractMethod<[
|
|
505
|
+
_timelock: AddressLike
|
|
702
506
|
], [
|
|
703
|
-
|
|
507
|
+
void
|
|
704
508
|
], "nonpayable">;
|
|
705
509
|
_supportMarket: TypedContractMethod<[
|
|
706
510
|
cToken: AddressLike,
|
|
@@ -708,7 +512,7 @@ export interface Comptroller extends BaseContract {
|
|
|
708
512
|
borrowCap: BigNumberish,
|
|
709
513
|
supplyCap: BigNumberish
|
|
710
514
|
], [
|
|
711
|
-
|
|
515
|
+
void
|
|
712
516
|
], "nonpayable">;
|
|
713
517
|
accountAssets: TypedContractMethod<[
|
|
714
518
|
arg0: AddressLike,
|
|
@@ -716,12 +520,25 @@ export interface Comptroller extends BaseContract {
|
|
|
716
520
|
], [
|
|
717
521
|
string
|
|
718
522
|
], "view">;
|
|
719
|
-
accountLiquidity: TypedContractMethod<[], [string], "view">;
|
|
720
523
|
allMarkets: TypedContractMethod<[arg0: BigNumberish], [string], "view">;
|
|
721
|
-
|
|
524
|
+
assetGroup: TypedContractMethod<[
|
|
722
525
|
arg0: BigNumberish
|
|
723
526
|
], [
|
|
724
|
-
|
|
527
|
+
[
|
|
528
|
+
bigint,
|
|
529
|
+
bigint,
|
|
530
|
+
bigint,
|
|
531
|
+
bigint,
|
|
532
|
+
bigint,
|
|
533
|
+
bigint
|
|
534
|
+
] & {
|
|
535
|
+
groupId: bigint;
|
|
536
|
+
intraCRatePercent: bigint;
|
|
537
|
+
intraMintRatePercent: bigint;
|
|
538
|
+
intraSuRatePercent: bigint;
|
|
539
|
+
interCRatePercent: bigint;
|
|
540
|
+
interSuRatePercent: bigint;
|
|
541
|
+
}
|
|
725
542
|
], "view">;
|
|
726
543
|
borrowAllowed: TypedContractMethod<[
|
|
727
544
|
cToken: AddressLike,
|
|
@@ -730,101 +547,55 @@ export interface Comptroller extends BaseContract {
|
|
|
730
547
|
], [
|
|
731
548
|
void
|
|
732
549
|
], "nonpayable">;
|
|
733
|
-
borrowCapGuardian: TypedContractMethod<[], [string], "view">;
|
|
734
|
-
borrowCaps: TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
|
|
735
|
-
borrowGuardianPaused: TypedContractMethod<[
|
|
736
|
-
arg0: AddressLike
|
|
737
|
-
], [
|
|
738
|
-
boolean
|
|
739
|
-
], "view">;
|
|
740
550
|
borrowVerify: TypedContractMethod<[
|
|
741
551
|
borrower: AddressLike,
|
|
742
552
|
borrowAmount: BigNumberish
|
|
743
553
|
], [
|
|
744
554
|
void
|
|
745
555
|
], "nonpayable">;
|
|
746
|
-
checkMembership: TypedContractMethod<[
|
|
747
|
-
account: AddressLike,
|
|
748
|
-
cToken: AddressLike
|
|
749
|
-
], [
|
|
750
|
-
boolean
|
|
751
|
-
], "view">;
|
|
752
|
-
cleanAssetGroup: TypedContractMethod<[], [void], "nonpayable">;
|
|
753
|
-
closeFactorMantissa: TypedContractMethod<[], [bigint], "view">;
|
|
754
556
|
compLogic: TypedContractMethod<[], [string], "view">;
|
|
755
557
|
enterMarkets: TypedContractMethod<[
|
|
756
558
|
cTokens: AddressLike[]
|
|
757
|
-
], [
|
|
758
|
-
bigint[]
|
|
759
|
-
], "nonpayable">;
|
|
760
|
-
enterMarketsForAll: TypedContractMethod<[
|
|
761
|
-
accounts: AddressLike[]
|
|
762
559
|
], [
|
|
763
560
|
void
|
|
764
561
|
], "nonpayable">;
|
|
765
562
|
exitMarket: TypedContractMethod<[
|
|
766
563
|
cTokenAddress: AddressLike
|
|
767
564
|
], [
|
|
768
|
-
|
|
565
|
+
void
|
|
769
566
|
], "nonpayable">;
|
|
770
|
-
getAccountLiquidity: TypedContractMethod<[
|
|
771
|
-
account: AddressLike
|
|
772
|
-
], [
|
|
773
|
-
[bigint, bigint, bigint]
|
|
774
|
-
], "view">;
|
|
775
|
-
getAccountSafeLimit: TypedContractMethod<[
|
|
776
|
-
account: AddressLike,
|
|
777
|
-
cTokenTarget: AddressLike,
|
|
778
|
-
intraSafeLimitMantissa: BigNumberish,
|
|
779
|
-
interSafeLimitMantissa: BigNumberish
|
|
780
|
-
], [
|
|
781
|
-
bigint
|
|
782
|
-
], "view">;
|
|
783
|
-
getAllAssetGroup: TypedContractMethod<[
|
|
784
|
-
], [
|
|
785
|
-
IComptroller.AssetGroupStructOutput[]
|
|
786
|
-
], "view">;
|
|
787
567
|
getAllMarkets: TypedContractMethod<[], [string[]], "view">;
|
|
788
|
-
getAssetGroup: TypedContractMethod<[
|
|
789
|
-
groupId: BigNumberish
|
|
790
|
-
], [
|
|
791
|
-
IComptroller.AssetGroupStructOutput
|
|
792
|
-
], "view">;
|
|
793
|
-
getAssetGroupByIndex: TypedContractMethod<[
|
|
794
|
-
groupIndex: BigNumberish
|
|
795
|
-
], [
|
|
796
|
-
IComptroller.AssetGroupStructOutput
|
|
797
|
-
], "view">;
|
|
798
|
-
getAssetGroupNum: TypedContractMethod<[], [bigint], "view">;
|
|
799
568
|
getAssetsIn: TypedContractMethod<[account: AddressLike], [string[]], "view">;
|
|
800
|
-
getCollateralRate: TypedContractMethod<[
|
|
801
|
-
collateralToken: AddressLike,
|
|
802
|
-
liabilityToken: AddressLike
|
|
803
|
-
], [
|
|
804
|
-
bigint
|
|
805
|
-
], "view">;
|
|
806
|
-
getCompAddress: TypedContractMethod<[], [string], "view">;
|
|
807
569
|
getHypotheticalAccountLiquidity: TypedContractMethod<[
|
|
808
570
|
account: AddressLike,
|
|
809
571
|
cTokenModify: AddressLike,
|
|
810
572
|
redeemTokens: BigNumberish,
|
|
811
573
|
borrowAmount: BigNumberish
|
|
812
574
|
], [
|
|
813
|
-
[bigint, bigint
|
|
575
|
+
[bigint, bigint]
|
|
814
576
|
], "view">;
|
|
815
577
|
getRoleAdmin: TypedContractMethod<[role: BytesLike], [string], "view">;
|
|
816
|
-
getRoleMember: TypedContractMethod<[
|
|
817
|
-
role: BytesLike,
|
|
818
|
-
index: BigNumberish
|
|
819
|
-
], [
|
|
820
|
-
string
|
|
821
|
-
], "view">;
|
|
822
|
-
getRoleMemberCount: TypedContractMethod<[role: BytesLike], [bigint], "view">;
|
|
823
578
|
getUnderlyingPriceNormalized: TypedContractMethod<[
|
|
824
579
|
cToken: AddressLike
|
|
825
580
|
], [
|
|
826
581
|
bigint
|
|
827
582
|
], "view">;
|
|
583
|
+
globalConfig: TypedContractMethod<[
|
|
584
|
+
], [
|
|
585
|
+
[
|
|
586
|
+
bigint,
|
|
587
|
+
bigint,
|
|
588
|
+
bigint,
|
|
589
|
+
bigint,
|
|
590
|
+
bigint
|
|
591
|
+
] & {
|
|
592
|
+
closeFactorPercent: bigint;
|
|
593
|
+
minCloseValue: bigint;
|
|
594
|
+
minSuBorrowValue: bigint;
|
|
595
|
+
minWaitBeforeLiquidatable: bigint;
|
|
596
|
+
largestGroupId: bigint;
|
|
597
|
+
}
|
|
598
|
+
], "view">;
|
|
828
599
|
governanceToken: TypedContractMethod<[], [string], "view">;
|
|
829
600
|
grantRole: TypedContractMethod<[
|
|
830
601
|
role: BytesLike,
|
|
@@ -838,18 +609,13 @@ export interface Comptroller extends BaseContract {
|
|
|
838
609
|
], [
|
|
839
610
|
boolean
|
|
840
611
|
], "view">;
|
|
841
|
-
heteroLiquidationIncentiveMantissa: TypedContractMethod<[], [bigint], "view">;
|
|
842
|
-
homoLiquidationIncentiveMantissa: TypedContractMethod<[], [bigint], "view">;
|
|
843
612
|
initialize: TypedContractMethod<[
|
|
844
613
|
_admin: AddressLike,
|
|
845
|
-
_oracle: AddressLike,
|
|
846
614
|
_gov: AddressLike,
|
|
847
615
|
_compLogic: AddressLike,
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
_homoLiquidationIncentiveMantissa: BigNumberish,
|
|
852
|
-
_sutokenLiquidationIncentiveMantissa: BigNumberish
|
|
616
|
+
_redemptionManager: AddressLike,
|
|
617
|
+
_timelock: AddressLike,
|
|
618
|
+
_oracle: AddressLike
|
|
853
619
|
], [
|
|
854
620
|
void
|
|
855
621
|
], "nonpayable">;
|
|
@@ -865,11 +631,37 @@ export interface Comptroller extends BaseContract {
|
|
|
865
631
|
], [
|
|
866
632
|
void
|
|
867
633
|
], "view">;
|
|
868
|
-
|
|
634
|
+
liquidationIncentive: TypedContractMethod<[
|
|
869
635
|
], [
|
|
870
|
-
[
|
|
636
|
+
[
|
|
637
|
+
bigint,
|
|
638
|
+
bigint,
|
|
639
|
+
bigint
|
|
640
|
+
] & {
|
|
641
|
+
heteroPercent: bigint;
|
|
642
|
+
homoPercent: bigint;
|
|
643
|
+
sutokenPercent: bigint;
|
|
644
|
+
}
|
|
645
|
+
], "view">;
|
|
646
|
+
marketConfig: TypedContractMethod<[
|
|
647
|
+
arg0: AddressLike
|
|
648
|
+
], [
|
|
649
|
+
[
|
|
650
|
+
boolean,
|
|
651
|
+
boolean,
|
|
652
|
+
boolean,
|
|
653
|
+
boolean,
|
|
654
|
+
bigint,
|
|
655
|
+
bigint
|
|
656
|
+
] & {
|
|
657
|
+
mintPaused: boolean;
|
|
658
|
+
borrowPaused: boolean;
|
|
659
|
+
transferPaused: boolean;
|
|
660
|
+
seizePaused: boolean;
|
|
661
|
+
borrowCap: bigint;
|
|
662
|
+
supplyCap: bigint;
|
|
663
|
+
}
|
|
871
664
|
], "view">;
|
|
872
|
-
marketGroupId: TypedContractMethod<[asset: AddressLike], [bigint], "view">;
|
|
873
665
|
markets: TypedContractMethod<[
|
|
874
666
|
arg0: AddressLike
|
|
875
667
|
], [
|
|
@@ -883,10 +675,6 @@ export interface Comptroller extends BaseContract {
|
|
|
883
675
|
isComped: boolean;
|
|
884
676
|
}
|
|
885
677
|
], "view">;
|
|
886
|
-
maxSupply: TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
|
|
887
|
-
minCloseValue: TypedContractMethod<[], [bigint], "view">;
|
|
888
|
-
minSuBorrowValue: TypedContractMethod<[], [bigint], "view">;
|
|
889
|
-
minWaitBeforeLiquidatable: TypedContractMethod<[], [bigint], "view">;
|
|
890
678
|
mintAllowed: TypedContractMethod<[
|
|
891
679
|
cToken: AddressLike,
|
|
892
680
|
minter: AddressLike,
|
|
@@ -894,11 +682,6 @@ export interface Comptroller extends BaseContract {
|
|
|
894
682
|
], [
|
|
895
683
|
void
|
|
896
684
|
], "nonpayable">;
|
|
897
|
-
mintGuardianPaused: TypedContractMethod<[
|
|
898
|
-
arg0: AddressLike
|
|
899
|
-
], [
|
|
900
|
-
boolean
|
|
901
|
-
], "view">;
|
|
902
685
|
oracle: TypedContractMethod<[], [string], "view">;
|
|
903
686
|
pauseGuardian: TypedContractMethod<[], [string], "view">;
|
|
904
687
|
redeemAllowed: TypedContractMethod<[
|
|
@@ -912,7 +695,7 @@ export interface Comptroller extends BaseContract {
|
|
|
912
695
|
removeAssetGroup: TypedContractMethod<[
|
|
913
696
|
groupId: BigNumberish
|
|
914
697
|
], [
|
|
915
|
-
|
|
698
|
+
void
|
|
916
699
|
], "nonpayable">;
|
|
917
700
|
renounceRole: TypedContractMethod<[
|
|
918
701
|
role: BytesLike,
|
|
@@ -943,75 +726,21 @@ export interface Comptroller extends BaseContract {
|
|
|
943
726
|
], [
|
|
944
727
|
void
|
|
945
728
|
], "nonpayable">;
|
|
946
|
-
seizeGuardianPaused: TypedContractMethod<[], [boolean], "view">;
|
|
947
|
-
setAccountLiquidity: TypedContractMethod<[
|
|
948
|
-
_accountLiquidity: AddressLike
|
|
949
|
-
], [
|
|
950
|
-
void
|
|
951
|
-
], "nonpayable">;
|
|
952
729
|
setAssetGroup: TypedContractMethod<[
|
|
953
730
|
groupId: BigNumberish,
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
interSuRateMantissa: BigNumberish
|
|
960
|
-
], [
|
|
961
|
-
bigint
|
|
962
|
-
], "nonpayable">;
|
|
963
|
-
setCompLogic: TypedContractMethod<[
|
|
964
|
-
_compLogic: AddressLike
|
|
965
|
-
], [
|
|
966
|
-
void
|
|
967
|
-
], "nonpayable">;
|
|
968
|
-
setCompSpeed: TypedContractMethod<[
|
|
969
|
-
cToken: AddressLike,
|
|
970
|
-
supplySpeed: BigNumberish,
|
|
971
|
-
borrowSpeed: BigNumberish
|
|
972
|
-
], [
|
|
973
|
-
void
|
|
974
|
-
], "nonpayable">;
|
|
975
|
-
setGovTokenAddress: TypedContractMethod<[
|
|
976
|
-
_governanceToken: AddressLike
|
|
731
|
+
intraCRatePercent: BigNumberish,
|
|
732
|
+
intraMintRatePercent: BigNumberish,
|
|
733
|
+
intraSuRatePercent: BigNumberish,
|
|
734
|
+
interCRatePercent: BigNumberish,
|
|
735
|
+
interSuRatePercent: BigNumberish
|
|
977
736
|
], [
|
|
978
737
|
void
|
|
979
738
|
], "nonpayable">;
|
|
980
|
-
setMinCloseValue: TypedContractMethod<[
|
|
981
|
-
_minCloseValue: BigNumberish
|
|
982
|
-
], [
|
|
983
|
-
void
|
|
984
|
-
], "nonpayable">;
|
|
985
|
-
setMinSuBorrowValue: TypedContractMethod<[
|
|
986
|
-
_minSuBorrowValue: BigNumberish
|
|
987
|
-
], [
|
|
988
|
-
void
|
|
989
|
-
], "nonpayable">;
|
|
990
|
-
setMinWaitBeforeLiquidatable: TypedContractMethod<[
|
|
991
|
-
_minWaitBeforeLiquidatable: BigNumberish
|
|
992
|
-
], [
|
|
993
|
-
void
|
|
994
|
-
], "nonpayable">;
|
|
995
|
-
setRedemptionManager: TypedContractMethod<[
|
|
996
|
-
_redemptionManager: AddressLike
|
|
997
|
-
], [
|
|
998
|
-
void
|
|
999
|
-
], "nonpayable">;
|
|
1000
|
-
setTimelock: TypedContractMethod<[
|
|
1001
|
-
_timelock: AddressLike
|
|
1002
|
-
], [
|
|
1003
|
-
void
|
|
1004
|
-
], "nonpayable">;
|
|
1005
|
-
suTokenRateMantissa: TypedContractMethod<[], [bigint], "view">;
|
|
1006
739
|
supportsInterface: TypedContractMethod<[
|
|
1007
740
|
interfaceId: BytesLike
|
|
1008
741
|
], [
|
|
1009
742
|
boolean
|
|
1010
743
|
], "view">;
|
|
1011
|
-
sutokenLiquidationIncentiveMantissa: TypedContractMethod<[
|
|
1012
|
-
], [
|
|
1013
|
-
bigint
|
|
1014
|
-
], "view">;
|
|
1015
744
|
timelock: TypedContractMethod<[], [string], "view">;
|
|
1016
745
|
transferAllowed: TypedContractMethod<[
|
|
1017
746
|
cToken: AddressLike,
|
|
@@ -1021,73 +750,46 @@ export interface Comptroller extends BaseContract {
|
|
|
1021
750
|
], [
|
|
1022
751
|
void
|
|
1023
752
|
], "nonpayable">;
|
|
1024
|
-
transferGuardianPaused: TypedContractMethod<[], [boolean], "view">;
|
|
1025
753
|
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
1026
|
-
getFunction(nameOrSignature: "CAPPER_ROLE"): TypedContractMethod<[], [string], "view">;
|
|
1027
|
-
getFunction(nameOrSignature: "COMP_LOGIC"): TypedContractMethod<[], [string], "view">;
|
|
1028
754
|
getFunction(nameOrSignature: "DEFAULT_ADMIN_ROLE"): TypedContractMethod<[], [string], "view">;
|
|
1029
755
|
getFunction(nameOrSignature: "PAUSER_ROLE"): TypedContractMethod<[], [string], "view">;
|
|
1030
|
-
getFunction(nameOrSignature: "
|
|
1031
|
-
getFunction(nameOrSignature: "_getBorrowCapGuardian"): TypedContractMethod<[], [string], "view">;
|
|
1032
|
-
getFunction(nameOrSignature: "_getPauseGuardian"): TypedContractMethod<[], [string], "view">;
|
|
1033
|
-
getFunction(nameOrSignature: "_mintGuardianPaused"): TypedContractMethod<[], [boolean], "view">;
|
|
1034
|
-
getFunction(nameOrSignature: "_setBorrowCapGuardian"): TypedContractMethod<[
|
|
1035
|
-
newBorrowCapGuardian: AddressLike
|
|
1036
|
-
], [
|
|
1037
|
-
void
|
|
1038
|
-
], "nonpayable">;
|
|
1039
|
-
getFunction(nameOrSignature: "_setBorrowPaused"): TypedContractMethod<[
|
|
756
|
+
getFunction(nameOrSignature: "_pause"): TypedContractMethod<[
|
|
1040
757
|
cToken: AddressLike,
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
boolean
|
|
1044
|
-
|
|
1045
|
-
getFunction(nameOrSignature: "_setCloseFactor"): TypedContractMethod<[
|
|
1046
|
-
newCloseFactorMantissa: BigNumberish
|
|
1047
|
-
], [
|
|
1048
|
-
bigint
|
|
1049
|
-
], "nonpayable">;
|
|
1050
|
-
getFunction(nameOrSignature: "_setLiquidationIncentive"): TypedContractMethod<[
|
|
1051
|
-
newHeteroLiquidationIncentiveMantissa: BigNumberish,
|
|
1052
|
-
newHomoLiquidationIncentiveMantissa: BigNumberish,
|
|
1053
|
-
newSutokenLiquidationIncentiveMantissa: BigNumberish
|
|
1054
|
-
], [
|
|
1055
|
-
bigint
|
|
1056
|
-
], "nonpayable">;
|
|
1057
|
-
getFunction(nameOrSignature: "_setMarketBorrowCaps"): TypedContractMethod<[
|
|
1058
|
-
cTokens: AddressLike[],
|
|
1059
|
-
newBorrowCaps: BigNumberish[]
|
|
758
|
+
mintPaused: boolean,
|
|
759
|
+
borrowPaused: boolean,
|
|
760
|
+
transferPaused: boolean,
|
|
761
|
+
seizePaused: boolean
|
|
1060
762
|
], [
|
|
1061
763
|
void
|
|
1062
764
|
], "nonpayable">;
|
|
1063
|
-
getFunction(nameOrSignature: "
|
|
765
|
+
getFunction(nameOrSignature: "_setCaps"): TypedContractMethod<[
|
|
1064
766
|
cTokens: AddressLike[],
|
|
1065
|
-
|
|
767
|
+
borrowCaps: BigNumberish[],
|
|
768
|
+
supplyCaps: BigNumberish[]
|
|
1066
769
|
], [
|
|
1067
|
-
|
|
770
|
+
void
|
|
1068
771
|
], "nonpayable">;
|
|
1069
|
-
getFunction(nameOrSignature: "
|
|
1070
|
-
|
|
1071
|
-
state: boolean
|
|
772
|
+
getFunction(nameOrSignature: "_setGlobalConfig"): TypedContractMethod<[
|
|
773
|
+
globalConfig_: GlobalConfigStruct
|
|
1072
774
|
], [
|
|
1073
|
-
|
|
775
|
+
void
|
|
1074
776
|
], "nonpayable">;
|
|
1075
|
-
getFunction(nameOrSignature: "
|
|
1076
|
-
|
|
777
|
+
getFunction(nameOrSignature: "_setGovTokenAddress"): TypedContractMethod<[_governanceToken: AddressLike], [void], "nonpayable">;
|
|
778
|
+
getFunction(nameOrSignature: "_setLiquidationIncentive"): TypedContractMethod<[
|
|
779
|
+
liquidationIncentive_: LiquidationIncentiveStruct
|
|
1077
780
|
], [
|
|
1078
|
-
|
|
781
|
+
void
|
|
1079
782
|
], "nonpayable">;
|
|
1080
|
-
getFunction(nameOrSignature: "
|
|
1081
|
-
getFunction(nameOrSignature: "
|
|
1082
|
-
getFunction(nameOrSignature: "
|
|
1083
|
-
getFunction(nameOrSignature: "_setTransferPaused"): TypedContractMethod<[state: boolean], [boolean], "nonpayable">;
|
|
783
|
+
getFunction(nameOrSignature: "_setPauseGuardian"): TypedContractMethod<[newPauseGuardian: AddressLike], [void], "nonpayable">;
|
|
784
|
+
getFunction(nameOrSignature: "_setPriceOracle"): TypedContractMethod<[_oracle: AddressLike], [void], "nonpayable">;
|
|
785
|
+
getFunction(nameOrSignature: "_setTimelock"): TypedContractMethod<[_timelock: AddressLike], [void], "nonpayable">;
|
|
1084
786
|
getFunction(nameOrSignature: "_supportMarket"): TypedContractMethod<[
|
|
1085
787
|
cToken: AddressLike,
|
|
1086
788
|
groupId: BigNumberish,
|
|
1087
789
|
borrowCap: BigNumberish,
|
|
1088
790
|
supplyCap: BigNumberish
|
|
1089
791
|
], [
|
|
1090
|
-
|
|
792
|
+
void
|
|
1091
793
|
], "nonpayable">;
|
|
1092
794
|
getFunction(nameOrSignature: "accountAssets"): TypedContractMethod<[
|
|
1093
795
|
arg0: AddressLike,
|
|
@@ -1095,9 +797,26 @@ export interface Comptroller extends BaseContract {
|
|
|
1095
797
|
], [
|
|
1096
798
|
string
|
|
1097
799
|
], "view">;
|
|
1098
|
-
getFunction(nameOrSignature: "accountLiquidity"): TypedContractMethod<[], [string], "view">;
|
|
1099
800
|
getFunction(nameOrSignature: "allMarkets"): TypedContractMethod<[arg0: BigNumberish], [string], "view">;
|
|
1100
|
-
getFunction(nameOrSignature: "
|
|
801
|
+
getFunction(nameOrSignature: "assetGroup"): TypedContractMethod<[
|
|
802
|
+
arg0: BigNumberish
|
|
803
|
+
], [
|
|
804
|
+
[
|
|
805
|
+
bigint,
|
|
806
|
+
bigint,
|
|
807
|
+
bigint,
|
|
808
|
+
bigint,
|
|
809
|
+
bigint,
|
|
810
|
+
bigint
|
|
811
|
+
] & {
|
|
812
|
+
groupId: bigint;
|
|
813
|
+
intraCRatePercent: bigint;
|
|
814
|
+
intraMintRatePercent: bigint;
|
|
815
|
+
intraSuRatePercent: bigint;
|
|
816
|
+
interCRatePercent: bigint;
|
|
817
|
+
interSuRatePercent: bigint;
|
|
818
|
+
}
|
|
819
|
+
], "view">;
|
|
1101
820
|
getFunction(nameOrSignature: "borrowAllowed"): TypedContractMethod<[
|
|
1102
821
|
cToken: AddressLike,
|
|
1103
822
|
borrower: AddressLike,
|
|
@@ -1105,78 +824,43 @@ export interface Comptroller extends BaseContract {
|
|
|
1105
824
|
], [
|
|
1106
825
|
void
|
|
1107
826
|
], "nonpayable">;
|
|
1108
|
-
getFunction(nameOrSignature: "borrowCapGuardian"): TypedContractMethod<[], [string], "view">;
|
|
1109
|
-
getFunction(nameOrSignature: "borrowCaps"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
|
|
1110
|
-
getFunction(nameOrSignature: "borrowGuardianPaused"): TypedContractMethod<[arg0: AddressLike], [boolean], "view">;
|
|
1111
827
|
getFunction(nameOrSignature: "borrowVerify"): TypedContractMethod<[
|
|
1112
828
|
borrower: AddressLike,
|
|
1113
829
|
borrowAmount: BigNumberish
|
|
1114
830
|
], [
|
|
1115
831
|
void
|
|
1116
832
|
], "nonpayable">;
|
|
1117
|
-
getFunction(nameOrSignature: "checkMembership"): TypedContractMethod<[
|
|
1118
|
-
account: AddressLike,
|
|
1119
|
-
cToken: AddressLike
|
|
1120
|
-
], [
|
|
1121
|
-
boolean
|
|
1122
|
-
], "view">;
|
|
1123
|
-
getFunction(nameOrSignature: "cleanAssetGroup"): TypedContractMethod<[], [void], "nonpayable">;
|
|
1124
|
-
getFunction(nameOrSignature: "closeFactorMantissa"): TypedContractMethod<[], [bigint], "view">;
|
|
1125
833
|
getFunction(nameOrSignature: "compLogic"): TypedContractMethod<[], [string], "view">;
|
|
1126
|
-
getFunction(nameOrSignature: "enterMarkets"): TypedContractMethod<[cTokens: AddressLike[]], [
|
|
1127
|
-
getFunction(nameOrSignature: "
|
|
1128
|
-
getFunction(nameOrSignature: "exitMarket"): TypedContractMethod<[cTokenAddress: AddressLike], [bigint], "nonpayable">;
|
|
1129
|
-
getFunction(nameOrSignature: "getAccountLiquidity"): TypedContractMethod<[
|
|
1130
|
-
account: AddressLike
|
|
1131
|
-
], [
|
|
1132
|
-
[bigint, bigint, bigint]
|
|
1133
|
-
], "view">;
|
|
1134
|
-
getFunction(nameOrSignature: "getAccountSafeLimit"): TypedContractMethod<[
|
|
1135
|
-
account: AddressLike,
|
|
1136
|
-
cTokenTarget: AddressLike,
|
|
1137
|
-
intraSafeLimitMantissa: BigNumberish,
|
|
1138
|
-
interSafeLimitMantissa: BigNumberish
|
|
1139
|
-
], [
|
|
1140
|
-
bigint
|
|
1141
|
-
], "view">;
|
|
1142
|
-
getFunction(nameOrSignature: "getAllAssetGroup"): TypedContractMethod<[], [IComptroller.AssetGroupStructOutput[]], "view">;
|
|
834
|
+
getFunction(nameOrSignature: "enterMarkets"): TypedContractMethod<[cTokens: AddressLike[]], [void], "nonpayable">;
|
|
835
|
+
getFunction(nameOrSignature: "exitMarket"): TypedContractMethod<[cTokenAddress: AddressLike], [void], "nonpayable">;
|
|
1143
836
|
getFunction(nameOrSignature: "getAllMarkets"): TypedContractMethod<[], [string[]], "view">;
|
|
1144
|
-
getFunction(nameOrSignature: "getAssetGroup"): TypedContractMethod<[
|
|
1145
|
-
groupId: BigNumberish
|
|
1146
|
-
], [
|
|
1147
|
-
IComptroller.AssetGroupStructOutput
|
|
1148
|
-
], "view">;
|
|
1149
|
-
getFunction(nameOrSignature: "getAssetGroupByIndex"): TypedContractMethod<[
|
|
1150
|
-
groupIndex: BigNumberish
|
|
1151
|
-
], [
|
|
1152
|
-
IComptroller.AssetGroupStructOutput
|
|
1153
|
-
], "view">;
|
|
1154
|
-
getFunction(nameOrSignature: "getAssetGroupNum"): TypedContractMethod<[], [bigint], "view">;
|
|
1155
837
|
getFunction(nameOrSignature: "getAssetsIn"): TypedContractMethod<[account: AddressLike], [string[]], "view">;
|
|
1156
|
-
getFunction(nameOrSignature: "getCollateralRate"): TypedContractMethod<[
|
|
1157
|
-
collateralToken: AddressLike,
|
|
1158
|
-
liabilityToken: AddressLike
|
|
1159
|
-
], [
|
|
1160
|
-
bigint
|
|
1161
|
-
], "view">;
|
|
1162
|
-
getFunction(nameOrSignature: "getCompAddress"): TypedContractMethod<[], [string], "view">;
|
|
1163
838
|
getFunction(nameOrSignature: "getHypotheticalAccountLiquidity"): TypedContractMethod<[
|
|
1164
839
|
account: AddressLike,
|
|
1165
840
|
cTokenModify: AddressLike,
|
|
1166
841
|
redeemTokens: BigNumberish,
|
|
1167
842
|
borrowAmount: BigNumberish
|
|
1168
843
|
], [
|
|
1169
|
-
[bigint, bigint
|
|
844
|
+
[bigint, bigint]
|
|
1170
845
|
], "view">;
|
|
1171
846
|
getFunction(nameOrSignature: "getRoleAdmin"): TypedContractMethod<[role: BytesLike], [string], "view">;
|
|
1172
|
-
getFunction(nameOrSignature: "
|
|
1173
|
-
|
|
1174
|
-
index: BigNumberish
|
|
847
|
+
getFunction(nameOrSignature: "getUnderlyingPriceNormalized"): TypedContractMethod<[cToken: AddressLike], [bigint], "view">;
|
|
848
|
+
getFunction(nameOrSignature: "globalConfig"): TypedContractMethod<[
|
|
1175
849
|
], [
|
|
1176
|
-
|
|
850
|
+
[
|
|
851
|
+
bigint,
|
|
852
|
+
bigint,
|
|
853
|
+
bigint,
|
|
854
|
+
bigint,
|
|
855
|
+
bigint
|
|
856
|
+
] & {
|
|
857
|
+
closeFactorPercent: bigint;
|
|
858
|
+
minCloseValue: bigint;
|
|
859
|
+
minSuBorrowValue: bigint;
|
|
860
|
+
minWaitBeforeLiquidatable: bigint;
|
|
861
|
+
largestGroupId: bigint;
|
|
862
|
+
}
|
|
1177
863
|
], "view">;
|
|
1178
|
-
getFunction(nameOrSignature: "getRoleMemberCount"): TypedContractMethod<[role: BytesLike], [bigint], "view">;
|
|
1179
|
-
getFunction(nameOrSignature: "getUnderlyingPriceNormalized"): TypedContractMethod<[cToken: AddressLike], [bigint], "view">;
|
|
1180
864
|
getFunction(nameOrSignature: "governanceToken"): TypedContractMethod<[], [string], "view">;
|
|
1181
865
|
getFunction(nameOrSignature: "grantRole"): TypedContractMethod<[
|
|
1182
866
|
role: BytesLike,
|
|
@@ -1190,18 +874,13 @@ export interface Comptroller extends BaseContract {
|
|
|
1190
874
|
], [
|
|
1191
875
|
boolean
|
|
1192
876
|
], "view">;
|
|
1193
|
-
getFunction(nameOrSignature: "heteroLiquidationIncentiveMantissa"): TypedContractMethod<[], [bigint], "view">;
|
|
1194
|
-
getFunction(nameOrSignature: "homoLiquidationIncentiveMantissa"): TypedContractMethod<[], [bigint], "view">;
|
|
1195
877
|
getFunction(nameOrSignature: "initialize"): TypedContractMethod<[
|
|
1196
878
|
_admin: AddressLike,
|
|
1197
|
-
_oracle: AddressLike,
|
|
1198
879
|
_gov: AddressLike,
|
|
1199
880
|
_compLogic: AddressLike,
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
_homoLiquidationIncentiveMantissa: BigNumberish,
|
|
1204
|
-
_sutokenLiquidationIncentiveMantissa: BigNumberish
|
|
881
|
+
_redemptionManager: AddressLike,
|
|
882
|
+
_timelock: AddressLike,
|
|
883
|
+
_oracle: AddressLike
|
|
1205
884
|
], [
|
|
1206
885
|
void
|
|
1207
886
|
], "nonpayable">;
|
|
@@ -1217,8 +896,37 @@ export interface Comptroller extends BaseContract {
|
|
|
1217
896
|
], [
|
|
1218
897
|
void
|
|
1219
898
|
], "view">;
|
|
1220
|
-
getFunction(nameOrSignature: "
|
|
1221
|
-
|
|
899
|
+
getFunction(nameOrSignature: "liquidationIncentive"): TypedContractMethod<[
|
|
900
|
+
], [
|
|
901
|
+
[
|
|
902
|
+
bigint,
|
|
903
|
+
bigint,
|
|
904
|
+
bigint
|
|
905
|
+
] & {
|
|
906
|
+
heteroPercent: bigint;
|
|
907
|
+
homoPercent: bigint;
|
|
908
|
+
sutokenPercent: bigint;
|
|
909
|
+
}
|
|
910
|
+
], "view">;
|
|
911
|
+
getFunction(nameOrSignature: "marketConfig"): TypedContractMethod<[
|
|
912
|
+
arg0: AddressLike
|
|
913
|
+
], [
|
|
914
|
+
[
|
|
915
|
+
boolean,
|
|
916
|
+
boolean,
|
|
917
|
+
boolean,
|
|
918
|
+
boolean,
|
|
919
|
+
bigint,
|
|
920
|
+
bigint
|
|
921
|
+
] & {
|
|
922
|
+
mintPaused: boolean;
|
|
923
|
+
borrowPaused: boolean;
|
|
924
|
+
transferPaused: boolean;
|
|
925
|
+
seizePaused: boolean;
|
|
926
|
+
borrowCap: bigint;
|
|
927
|
+
supplyCap: bigint;
|
|
928
|
+
}
|
|
929
|
+
], "view">;
|
|
1222
930
|
getFunction(nameOrSignature: "markets"): TypedContractMethod<[
|
|
1223
931
|
arg0: AddressLike
|
|
1224
932
|
], [
|
|
@@ -1232,10 +940,6 @@ export interface Comptroller extends BaseContract {
|
|
|
1232
940
|
isComped: boolean;
|
|
1233
941
|
}
|
|
1234
942
|
], "view">;
|
|
1235
|
-
getFunction(nameOrSignature: "maxSupply"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
|
|
1236
|
-
getFunction(nameOrSignature: "minCloseValue"): TypedContractMethod<[], [bigint], "view">;
|
|
1237
|
-
getFunction(nameOrSignature: "minSuBorrowValue"): TypedContractMethod<[], [bigint], "view">;
|
|
1238
|
-
getFunction(nameOrSignature: "minWaitBeforeLiquidatable"): TypedContractMethod<[], [bigint], "view">;
|
|
1239
943
|
getFunction(nameOrSignature: "mintAllowed"): TypedContractMethod<[
|
|
1240
944
|
cToken: AddressLike,
|
|
1241
945
|
minter: AddressLike,
|
|
@@ -1243,7 +947,6 @@ export interface Comptroller extends BaseContract {
|
|
|
1243
947
|
], [
|
|
1244
948
|
void
|
|
1245
949
|
], "nonpayable">;
|
|
1246
|
-
getFunction(nameOrSignature: "mintGuardianPaused"): TypedContractMethod<[arg0: AddressLike], [boolean], "view">;
|
|
1247
950
|
getFunction(nameOrSignature: "oracle"): TypedContractMethod<[], [string], "view">;
|
|
1248
951
|
getFunction(nameOrSignature: "pauseGuardian"): TypedContractMethod<[], [string], "view">;
|
|
1249
952
|
getFunction(nameOrSignature: "redeemAllowed"): TypedContractMethod<[
|
|
@@ -1254,7 +957,7 @@ export interface Comptroller extends BaseContract {
|
|
|
1254
957
|
void
|
|
1255
958
|
], "nonpayable">;
|
|
1256
959
|
getFunction(nameOrSignature: "redemptionManager"): TypedContractMethod<[], [string], "view">;
|
|
1257
|
-
getFunction(nameOrSignature: "removeAssetGroup"): TypedContractMethod<[groupId: BigNumberish], [
|
|
960
|
+
getFunction(nameOrSignature: "removeAssetGroup"): TypedContractMethod<[groupId: BigNumberish], [void], "nonpayable">;
|
|
1258
961
|
getFunction(nameOrSignature: "renounceRole"): TypedContractMethod<[
|
|
1259
962
|
role: BytesLike,
|
|
1260
963
|
account: AddressLike
|
|
@@ -1284,52 +987,17 @@ export interface Comptroller extends BaseContract {
|
|
|
1284
987
|
], [
|
|
1285
988
|
void
|
|
1286
989
|
], "nonpayable">;
|
|
1287
|
-
getFunction(nameOrSignature: "seizeGuardianPaused"): TypedContractMethod<[], [boolean], "view">;
|
|
1288
|
-
getFunction(nameOrSignature: "setAccountLiquidity"): TypedContractMethod<[
|
|
1289
|
-
_accountLiquidity: AddressLike
|
|
1290
|
-
], [
|
|
1291
|
-
void
|
|
1292
|
-
], "nonpayable">;
|
|
1293
990
|
getFunction(nameOrSignature: "setAssetGroup"): TypedContractMethod<[
|
|
1294
991
|
groupId: BigNumberish,
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
interSuRateMantissa: BigNumberish
|
|
1301
|
-
], [
|
|
1302
|
-
bigint
|
|
1303
|
-
], "nonpayable">;
|
|
1304
|
-
getFunction(nameOrSignature: "setCompLogic"): TypedContractMethod<[_compLogic: AddressLike], [void], "nonpayable">;
|
|
1305
|
-
getFunction(nameOrSignature: "setCompSpeed"): TypedContractMethod<[
|
|
1306
|
-
cToken: AddressLike,
|
|
1307
|
-
supplySpeed: BigNumberish,
|
|
1308
|
-
borrowSpeed: BigNumberish
|
|
1309
|
-
], [
|
|
1310
|
-
void
|
|
1311
|
-
], "nonpayable">;
|
|
1312
|
-
getFunction(nameOrSignature: "setGovTokenAddress"): TypedContractMethod<[_governanceToken: AddressLike], [void], "nonpayable">;
|
|
1313
|
-
getFunction(nameOrSignature: "setMinCloseValue"): TypedContractMethod<[_minCloseValue: BigNumberish], [void], "nonpayable">;
|
|
1314
|
-
getFunction(nameOrSignature: "setMinSuBorrowValue"): TypedContractMethod<[
|
|
1315
|
-
_minSuBorrowValue: BigNumberish
|
|
1316
|
-
], [
|
|
1317
|
-
void
|
|
1318
|
-
], "nonpayable">;
|
|
1319
|
-
getFunction(nameOrSignature: "setMinWaitBeforeLiquidatable"): TypedContractMethod<[
|
|
1320
|
-
_minWaitBeforeLiquidatable: BigNumberish
|
|
1321
|
-
], [
|
|
1322
|
-
void
|
|
1323
|
-
], "nonpayable">;
|
|
1324
|
-
getFunction(nameOrSignature: "setRedemptionManager"): TypedContractMethod<[
|
|
1325
|
-
_redemptionManager: AddressLike
|
|
992
|
+
intraCRatePercent: BigNumberish,
|
|
993
|
+
intraMintRatePercent: BigNumberish,
|
|
994
|
+
intraSuRatePercent: BigNumberish,
|
|
995
|
+
interCRatePercent: BigNumberish,
|
|
996
|
+
interSuRatePercent: BigNumberish
|
|
1326
997
|
], [
|
|
1327
998
|
void
|
|
1328
999
|
], "nonpayable">;
|
|
1329
|
-
getFunction(nameOrSignature: "setTimelock"): TypedContractMethod<[_timelock: AddressLike], [void], "nonpayable">;
|
|
1330
|
-
getFunction(nameOrSignature: "suTokenRateMantissa"): TypedContractMethod<[], [bigint], "view">;
|
|
1331
1000
|
getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
|
|
1332
|
-
getFunction(nameOrSignature: "sutokenLiquidationIncentiveMantissa"): TypedContractMethod<[], [bigint], "view">;
|
|
1333
1001
|
getFunction(nameOrSignature: "timelock"): TypedContractMethod<[], [string], "view">;
|
|
1334
1002
|
getFunction(nameOrSignature: "transferAllowed"): TypedContractMethod<[
|
|
1335
1003
|
cToken: AddressLike,
|
|
@@ -1339,33 +1007,24 @@ export interface Comptroller extends BaseContract {
|
|
|
1339
1007
|
], [
|
|
1340
1008
|
void
|
|
1341
1009
|
], "nonpayable">;
|
|
1342
|
-
getFunction(nameOrSignature: "transferGuardianPaused"): TypedContractMethod<[], [boolean], "view">;
|
|
1343
|
-
getEvent(key: "ActionPaused"): TypedContractEvent<ActionPausedEvent.InputTuple, ActionPausedEvent.OutputTuple, ActionPausedEvent.OutputObject>;
|
|
1344
1010
|
getEvent(key: "Initialized"): TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
1345
1011
|
getEvent(key: "MarketEntered"): TypedContractEvent<MarketEnteredEvent.InputTuple, MarketEnteredEvent.OutputTuple, MarketEnteredEvent.OutputObject>;
|
|
1346
1012
|
getEvent(key: "MarketExited"): TypedContractEvent<MarketExitedEvent.InputTuple, MarketExitedEvent.OutputTuple, MarketExitedEvent.OutputObject>;
|
|
1347
1013
|
getEvent(key: "MarketListed"): TypedContractEvent<MarketListedEvent.InputTuple, MarketListedEvent.OutputTuple, MarketListedEvent.OutputObject>;
|
|
1348
|
-
getEvent(key: "NewAccountLiquidity"): TypedContractEvent<NewAccountLiquidityEvent.InputTuple, NewAccountLiquidityEvent.OutputTuple, NewAccountLiquidityEvent.OutputObject>;
|
|
1349
1014
|
getEvent(key: "NewAssetGroup"): TypedContractEvent<NewAssetGroupEvent.InputTuple, NewAssetGroupEvent.OutputTuple, NewAssetGroupEvent.OutputObject>;
|
|
1350
|
-
getEvent(key: "
|
|
1351
|
-
getEvent(key: "
|
|
1352
|
-
getEvent(key: "
|
|
1353
|
-
getEvent(key: "NewCompLogic"): TypedContractEvent<NewCompLogicEvent.InputTuple, NewCompLogicEvent.OutputTuple, NewCompLogicEvent.OutputObject>;
|
|
1015
|
+
getEvent(key: "NewCap"): TypedContractEvent<NewCapEvent.InputTuple, NewCapEvent.OutputTuple, NewCapEvent.OutputObject>;
|
|
1016
|
+
getEvent(key: "NewDependencies"): TypedContractEvent<NewDependenciesEvent.InputTuple, NewDependenciesEvent.OutputTuple, NewDependenciesEvent.OutputObject>;
|
|
1017
|
+
getEvent(key: "NewGlobalConfig"): TypedContractEvent<NewGlobalConfigEvent.InputTuple, NewGlobalConfigEvent.OutputTuple, NewGlobalConfigEvent.OutputObject>;
|
|
1354
1018
|
getEvent(key: "NewLiquidationIncentive"): TypedContractEvent<NewLiquidationIncentiveEvent.InputTuple, NewLiquidationIncentiveEvent.OutputTuple, NewLiquidationIncentiveEvent.OutputObject>;
|
|
1355
|
-
getEvent(key: "
|
|
1356
|
-
getEvent(key: "NewMinSuBorrowValue"): TypedContractEvent<NewMinSuBorrowValueEvent.InputTuple, NewMinSuBorrowValueEvent.OutputTuple, NewMinSuBorrowValueEvent.OutputObject>;
|
|
1357
|
-
getEvent(key: "NewMinWaitBeforeLiquidatable"): TypedContractEvent<NewMinWaitBeforeLiquidatableEvent.InputTuple, NewMinWaitBeforeLiquidatableEvent.OutputTuple, NewMinWaitBeforeLiquidatableEvent.OutputObject>;
|
|
1019
|
+
getEvent(key: "NewPause"): TypedContractEvent<NewPauseEvent.InputTuple, NewPauseEvent.OutputTuple, NewPauseEvent.OutputObject>;
|
|
1358
1020
|
getEvent(key: "NewPauseGuardian"): TypedContractEvent<NewPauseGuardianEvent.InputTuple, NewPauseGuardianEvent.OutputTuple, NewPauseGuardianEvent.OutputObject>;
|
|
1359
1021
|
getEvent(key: "NewPriceOracle"): TypedContractEvent<NewPriceOracleEvent.InputTuple, NewPriceOracleEvent.OutputTuple, NewPriceOracleEvent.OutputObject>;
|
|
1360
|
-
getEvent(key: "
|
|
1022
|
+
getEvent(key: "NewTimelock"): TypedContractEvent<NewTimelockEvent.InputTuple, NewTimelockEvent.OutputTuple, NewTimelockEvent.OutputObject>;
|
|
1361
1023
|
getEvent(key: "RemoveAssetGroup"): TypedContractEvent<RemoveAssetGroupEvent.InputTuple, RemoveAssetGroupEvent.OutputTuple, RemoveAssetGroupEvent.OutputObject>;
|
|
1362
1024
|
getEvent(key: "RoleAdminChanged"): TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
|
|
1363
1025
|
getEvent(key: "RoleGranted"): TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
|
|
1364
1026
|
getEvent(key: "RoleRevoked"): TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
|
|
1365
|
-
getEvent(key: "SetMaxSupply"): TypedContractEvent<SetMaxSupplyEvent.InputTuple, SetMaxSupplyEvent.OutputTuple, SetMaxSupplyEvent.OutputObject>;
|
|
1366
1027
|
filters: {
|
|
1367
|
-
"ActionPaused(address,string,bool)": TypedContractEvent<ActionPausedEvent.InputTuple, ActionPausedEvent.OutputTuple, ActionPausedEvent.OutputObject>;
|
|
1368
|
-
ActionPaused: TypedContractEvent<ActionPausedEvent.InputTuple, ActionPausedEvent.OutputTuple, ActionPausedEvent.OutputObject>;
|
|
1369
1028
|
"Initialized(uint8)": TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
1370
1029
|
Initialized: TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
1371
1030
|
"MarketEntered(address,address)": TypedContractEvent<MarketEnteredEvent.InputTuple, MarketEnteredEvent.OutputTuple, MarketEnteredEvent.OutputObject>;
|
|
@@ -1374,33 +1033,25 @@ export interface Comptroller extends BaseContract {
|
|
|
1374
1033
|
MarketExited: TypedContractEvent<MarketExitedEvent.InputTuple, MarketExitedEvent.OutputTuple, MarketExitedEvent.OutputObject>;
|
|
1375
1034
|
"MarketListed(address)": TypedContractEvent<MarketListedEvent.InputTuple, MarketListedEvent.OutputTuple, MarketListedEvent.OutputObject>;
|
|
1376
1035
|
MarketListed: TypedContractEvent<MarketListedEvent.InputTuple, MarketListedEvent.OutputTuple, MarketListedEvent.OutputObject>;
|
|
1377
|
-
"
|
|
1378
|
-
NewAccountLiquidity: TypedContractEvent<NewAccountLiquidityEvent.InputTuple, NewAccountLiquidityEvent.OutputTuple, NewAccountLiquidityEvent.OutputObject>;
|
|
1379
|
-
"NewAssetGroup(uint8,string,uint256,uint256,uint256,uint256,uint256,uint8)": TypedContractEvent<NewAssetGroupEvent.InputTuple, NewAssetGroupEvent.OutputTuple, NewAssetGroupEvent.OutputObject>;
|
|
1036
|
+
"NewAssetGroup(uint8,uint16,uint16,uint16,uint16,uint16)": TypedContractEvent<NewAssetGroupEvent.InputTuple, NewAssetGroupEvent.OutputTuple, NewAssetGroupEvent.OutputObject>;
|
|
1380
1037
|
NewAssetGroup: TypedContractEvent<NewAssetGroupEvent.InputTuple, NewAssetGroupEvent.OutputTuple, NewAssetGroupEvent.OutputObject>;
|
|
1381
|
-
"
|
|
1382
|
-
|
|
1383
|
-
"
|
|
1384
|
-
|
|
1385
|
-
"
|
|
1386
|
-
|
|
1387
|
-
"
|
|
1388
|
-
NewCompLogic: TypedContractEvent<NewCompLogicEvent.InputTuple, NewCompLogicEvent.OutputTuple, NewCompLogicEvent.OutputObject>;
|
|
1389
|
-
"NewLiquidationIncentive(uint256,uint256,uint256,uint256,uint256,uint256)": TypedContractEvent<NewLiquidationIncentiveEvent.InputTuple, NewLiquidationIncentiveEvent.OutputTuple, NewLiquidationIncentiveEvent.OutputObject>;
|
|
1038
|
+
"NewCap(address,uint120,uint120)": TypedContractEvent<NewCapEvent.InputTuple, NewCapEvent.OutputTuple, NewCapEvent.OutputObject>;
|
|
1039
|
+
NewCap: TypedContractEvent<NewCapEvent.InputTuple, NewCapEvent.OutputTuple, NewCapEvent.OutputObject>;
|
|
1040
|
+
"NewDependencies(address,address)": TypedContractEvent<NewDependenciesEvent.InputTuple, NewDependenciesEvent.OutputTuple, NewDependenciesEvent.OutputObject>;
|
|
1041
|
+
NewDependencies: TypedContractEvent<NewDependenciesEvent.InputTuple, NewDependenciesEvent.OutputTuple, NewDependenciesEvent.OutputObject>;
|
|
1042
|
+
"NewGlobalConfig(uint16,uint32,uint32,uint32,uint8)": TypedContractEvent<NewGlobalConfigEvent.InputTuple, NewGlobalConfigEvent.OutputTuple, NewGlobalConfigEvent.OutputObject>;
|
|
1043
|
+
NewGlobalConfig: TypedContractEvent<NewGlobalConfigEvent.InputTuple, NewGlobalConfigEvent.OutputTuple, NewGlobalConfigEvent.OutputObject>;
|
|
1044
|
+
"NewLiquidationIncentive(uint16,uint64,uint64)": TypedContractEvent<NewLiquidationIncentiveEvent.InputTuple, NewLiquidationIncentiveEvent.OutputTuple, NewLiquidationIncentiveEvent.OutputObject>;
|
|
1390
1045
|
NewLiquidationIncentive: TypedContractEvent<NewLiquidationIncentiveEvent.InputTuple, NewLiquidationIncentiveEvent.OutputTuple, NewLiquidationIncentiveEvent.OutputObject>;
|
|
1391
|
-
"
|
|
1392
|
-
|
|
1393
|
-
"NewMinSuBorrowValue(uint256,uint256)": TypedContractEvent<NewMinSuBorrowValueEvent.InputTuple, NewMinSuBorrowValueEvent.OutputTuple, NewMinSuBorrowValueEvent.OutputObject>;
|
|
1394
|
-
NewMinSuBorrowValue: TypedContractEvent<NewMinSuBorrowValueEvent.InputTuple, NewMinSuBorrowValueEvent.OutputTuple, NewMinSuBorrowValueEvent.OutputObject>;
|
|
1395
|
-
"NewMinWaitBeforeLiquidatable(uint48,uint48)": TypedContractEvent<NewMinWaitBeforeLiquidatableEvent.InputTuple, NewMinWaitBeforeLiquidatableEvent.OutputTuple, NewMinWaitBeforeLiquidatableEvent.OutputObject>;
|
|
1396
|
-
NewMinWaitBeforeLiquidatable: TypedContractEvent<NewMinWaitBeforeLiquidatableEvent.InputTuple, NewMinWaitBeforeLiquidatableEvent.OutputTuple, NewMinWaitBeforeLiquidatableEvent.OutputObject>;
|
|
1046
|
+
"NewPause(address,bool,bool,bool,bool)": TypedContractEvent<NewPauseEvent.InputTuple, NewPauseEvent.OutputTuple, NewPauseEvent.OutputObject>;
|
|
1047
|
+
NewPause: TypedContractEvent<NewPauseEvent.InputTuple, NewPauseEvent.OutputTuple, NewPauseEvent.OutputObject>;
|
|
1397
1048
|
"NewPauseGuardian(address,address)": TypedContractEvent<NewPauseGuardianEvent.InputTuple, NewPauseGuardianEvent.OutputTuple, NewPauseGuardianEvent.OutputObject>;
|
|
1398
1049
|
NewPauseGuardian: TypedContractEvent<NewPauseGuardianEvent.InputTuple, NewPauseGuardianEvent.OutputTuple, NewPauseGuardianEvent.OutputObject>;
|
|
1399
|
-
"NewPriceOracle(address
|
|
1050
|
+
"NewPriceOracle(address)": TypedContractEvent<NewPriceOracleEvent.InputTuple, NewPriceOracleEvent.OutputTuple, NewPriceOracleEvent.OutputObject>;
|
|
1400
1051
|
NewPriceOracle: TypedContractEvent<NewPriceOracleEvent.InputTuple, NewPriceOracleEvent.OutputTuple, NewPriceOracleEvent.OutputObject>;
|
|
1401
|
-
"
|
|
1402
|
-
|
|
1403
|
-
"RemoveAssetGroup(uint8
|
|
1052
|
+
"NewTimelock(address)": TypedContractEvent<NewTimelockEvent.InputTuple, NewTimelockEvent.OutputTuple, NewTimelockEvent.OutputObject>;
|
|
1053
|
+
NewTimelock: TypedContractEvent<NewTimelockEvent.InputTuple, NewTimelockEvent.OutputTuple, NewTimelockEvent.OutputObject>;
|
|
1054
|
+
"RemoveAssetGroup(uint8)": TypedContractEvent<RemoveAssetGroupEvent.InputTuple, RemoveAssetGroupEvent.OutputTuple, RemoveAssetGroupEvent.OutputObject>;
|
|
1404
1055
|
RemoveAssetGroup: TypedContractEvent<RemoveAssetGroupEvent.InputTuple, RemoveAssetGroupEvent.OutputTuple, RemoveAssetGroupEvent.OutputObject>;
|
|
1405
1056
|
"RoleAdminChanged(bytes32,bytes32,bytes32)": TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
|
|
1406
1057
|
RoleAdminChanged: TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
|
|
@@ -1408,7 +1059,5 @@ export interface Comptroller extends BaseContract {
|
|
|
1408
1059
|
RoleGranted: TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
|
|
1409
1060
|
"RoleRevoked(bytes32,address,address)": TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
|
|
1410
1061
|
RoleRevoked: TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
|
|
1411
|
-
"SetMaxSupply(address,uint256)": TypedContractEvent<SetMaxSupplyEvent.InputTuple, SetMaxSupplyEvent.OutputTuple, SetMaxSupplyEvent.OutputObject>;
|
|
1412
|
-
SetMaxSupply: TypedContractEvent<SetMaxSupplyEvent.InputTuple, SetMaxSupplyEvent.OutputTuple, SetMaxSupplyEvent.OutputObject>;
|
|
1413
1062
|
};
|
|
1414
1063
|
}
|