@meterio/sumer-js 0.1.3 → 0.1.5
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/nodejs/abi.js +13 -0
- package/dist/nodejs/abi.js.map +1 -1
- package/dist/nodejs/typechain/contracts/CToken/Interfaces/index.d.ts +4 -0
- package/dist/nodejs/typechain/contracts/CToken/Interfaces/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/CToken/Test.sol/index.d.ts +1 -0
- package/dist/nodejs/typechain/contracts/CToken/Test.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/CToken/index.d.ts +5 -0
- package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.d.ts +9 -1
- package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.sol/Comptroller.d.ts +1446 -0
- package/dist/nodejs/typechain/contracts/{ITimelock.js → Comptroller/Comptroller.sol/Comptroller.js} +1 -1
- package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.sol/Comptroller.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.sol/index.d.ts +3 -0
- package/dist/nodejs/typechain/contracts/{Interface/ICErc20.js → Comptroller/Comptroller.sol/index.js} +1 -1
- package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Comptroller/Interfaces/index.d.ts +6 -0
- package/dist/nodejs/typechain/contracts/{Interface/ICToken.js → Comptroller/Interfaces/index.js} +1 -1
- package/dist/nodejs/typechain/contracts/Comptroller/Interfaces/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Comptroller/index.d.ts +4 -1
- package/dist/nodejs/typechain/contracts/InterestRateModel/index.d.ts +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/Interfaces/index.d.ts +4 -0
- package/dist/nodejs/typechain/contracts/Oracle/Interfaces/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/Interfaces/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +3 -0
- package/dist/nodejs/typechain/contracts/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/Interfaces/index.d.ts +4 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/Interfaces/index.js +15 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/Interfaces/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/Test.sol/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/Test.sol/index.js +9 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/Test.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/index.d.ts +3 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/index.js +28 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller.sol/Comptroller__factory.d.ts +2066 -0
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller.sol/Comptroller__factory.js +2689 -0
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller.sol/Comptroller__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller.sol/index.d.ts +3 -0
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller.sol/index.js +13 -0
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +11 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +14 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Interfaces/index.d.ts +6 -0
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Interfaces/index.js +19 -0
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Interfaces/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Comptroller/index.d.ts +2 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/index.js +26 -3
- package/dist/nodejs/typechain/factories/contracts/Comptroller/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.js +3 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/Interfaces/index.d.ts +4 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/Interfaces/index.js +15 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/Interfaces/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +4 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/contracts/index.js +3 -1
- package/dist/nodejs/typechain/factories/contracts/index.js.map +1 -1
- package/dist/nodejs/typechain/hardhat.d.ts +378 -0
- package/dist/nodejs/typechain/index.d.ts +32 -24
- package/dist/nodejs/typechain/index.js +33 -25
- package/dist/nodejs/typechain/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/browser/compound.min.js +0 -18
- package/dist/browser/sumer.min.js +0 -18
- package/dist/nodejs/constants.d.ts +0 -29
- package/dist/nodejs/constants.js +0 -1109
- package/dist/nodejs/constants.js.map +0 -1
- package/dist/nodejs/typechain/contracts/ITimelock.d.ts +0 -184
- package/dist/nodejs/typechain/contracts/ITimelock.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/IAccountLiquidity.d.ts +0 -57
- package/dist/nodejs/typechain/contracts/Interface/IAccountLiquidity.js +0 -3
- package/dist/nodejs/typechain/contracts/Interface/IAccountLiquidity.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/ICErc20.d.ts +0 -99
- package/dist/nodejs/typechain/contracts/Interface/ICErc20.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/ICToken.d.ts +0 -611
- package/dist/nodejs/typechain/contracts/Interface/ICToken.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/ICTokenExternal.sol/ICToken.d.ts +0 -198
- package/dist/nodejs/typechain/contracts/Interface/ICTokenExternal.sol/ICToken.js +0 -3
- package/dist/nodejs/typechain/contracts/Interface/ICTokenExternal.sol/ICToken.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/ICTokenExternal.sol/index.d.ts +0 -1
- package/dist/nodejs/typechain/contracts/Interface/ICTokenExternal.sol/index.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/IChainlinkFeed.d.ts +0 -59
- package/dist/nodejs/typechain/contracts/Interface/IChainlinkFeed.js +0 -3
- package/dist/nodejs/typechain/contracts/Interface/IChainlinkFeed.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/ICompLogic.d.ts +0 -127
- package/dist/nodejs/typechain/contracts/Interface/ICompLogic.js +0 -3
- package/dist/nodejs/typechain/contracts/Interface/ICompLogic.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/IComptroller.d.ts +0 -562
- package/dist/nodejs/typechain/contracts/Interface/IComptroller.js +0 -3
- package/dist/nodejs/typechain/contracts/Interface/IComptroller.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/IEIP20NonStandard.d.ts +0 -161
- package/dist/nodejs/typechain/contracts/Interface/IEIP20NonStandard.js +0 -3
- package/dist/nodejs/typechain/contracts/Interface/IEIP20NonStandard.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/IGovernorAlpha.d.ts +0 -119
- package/dist/nodejs/typechain/contracts/Interface/IGovernorAlpha.js +0 -3
- package/dist/nodejs/typechain/contracts/Interface/IGovernorAlpha.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/IGovernorBravo.d.ts +0 -130
- package/dist/nodejs/typechain/contracts/Interface/IGovernorBravo.js +0 -3
- package/dist/nodejs/typechain/contracts/Interface/IGovernorBravo.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/IInterestRateModel.d.ts +0 -59
- package/dist/nodejs/typechain/contracts/Interface/IInterestRateModel.js +0 -3
- package/dist/nodejs/typechain/contracts/Interface/IInterestRateModel.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/IPriceOracle.d.ts +0 -37
- package/dist/nodejs/typechain/contracts/Interface/IPriceOracle.js +0 -3
- package/dist/nodejs/typechain/contracts/Interface/IPriceOracle.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/IRedemptionManager.d.ts +0 -103
- package/dist/nodejs/typechain/contracts/Interface/IRedemptionManager.js +0 -3
- package/dist/nodejs/typechain/contracts/Interface/IRedemptionManager.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/ISortedBorrows.d.ts +0 -210
- package/dist/nodejs/typechain/contracts/Interface/ISortedBorrows.js +0 -3
- package/dist/nodejs/typechain/contracts/Interface/ISortedBorrows.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/IStdReference.d.ts +0 -65
- package/dist/nodejs/typechain/contracts/Interface/IStdReference.js +0 -3
- package/dist/nodejs/typechain/contracts/Interface/IStdReference.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/IUnitroller.d.ts +0 -29
- package/dist/nodejs/typechain/contracts/Interface/IUnitroller.js +0 -3
- package/dist/nodejs/typechain/contracts/Interface/IUnitroller.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/IVoltPair.d.ts +0 -71
- package/dist/nodejs/typechain/contracts/Interface/IVoltPair.js +0 -3
- package/dist/nodejs/typechain/contracts/Interface/IVoltPair.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/IWitnetFeed.d.ts +0 -25
- package/dist/nodejs/typechain/contracts/Interface/IWitnetFeed.js +0 -3
- package/dist/nodejs/typechain/contracts/Interface/IWitnetFeed.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/index.d.ts +0 -19
- package/dist/nodejs/typechain/contracts/Interface/index.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/ITimelock__factory.d.ts +0 -188
- package/dist/nodejs/typechain/factories/contracts/ITimelock__factory.js +0 -250
- package/dist/nodejs/typechain/factories/contracts/ITimelock__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/IAccountLiquidity__factory.d.ts +0 -67
- package/dist/nodejs/typechain/factories/contracts/Interface/IAccountLiquidity__factory.js +0 -98
- package/dist/nodejs/typechain/factories/contracts/Interface/IAccountLiquidity__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/ICErc20__factory.d.ts +0 -141
- package/dist/nodejs/typechain/factories/contracts/Interface/ICErc20__factory.js +0 -200
- package/dist/nodejs/typechain/factories/contracts/Interface/ICErc20__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/ICTokenExternal.sol/ICToken__factory.d.ts +0 -357
- package/dist/nodejs/typechain/factories/contracts/Interface/ICTokenExternal.sol/ICToken__factory.js +0 -481
- package/dist/nodejs/typechain/factories/contracts/Interface/ICTokenExternal.sol/ICToken__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/ICTokenExternal.sol/index.d.ts +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/ICTokenExternal.sol/index.js +0 -9
- package/dist/nodejs/typechain/factories/contracts/Interface/ICTokenExternal.sol/index.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/ICToken__factory.d.ts +0 -705
- package/dist/nodejs/typechain/factories/contracts/Interface/ICToken__factory.js +0 -922
- package/dist/nodejs/typechain/factories/contracts/Interface/ICToken__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/IChainlinkFeed__factory.d.ts +0 -43
- package/dist/nodejs/typechain/factories/contracts/Interface/IChainlinkFeed__factory.js +0 -66
- package/dist/nodejs/typechain/factories/contracts/Interface/IChainlinkFeed__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/ICompLogic__factory.d.ts +0 -133
- package/dist/nodejs/typechain/factories/contracts/Interface/ICompLogic__factory.js +0 -184
- package/dist/nodejs/typechain/factories/contracts/Interface/ICompLogic__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/IComptroller__factory.d.ts +0 -803
- package/dist/nodejs/typechain/factories/contracts/Interface/IComptroller__factory.js +0 -1052
- package/dist/nodejs/typechain/factories/contracts/Interface/IComptroller__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/IEIP20NonStandard__factory.d.ts +0 -177
- package/dist/nodejs/typechain/factories/contracts/Interface/IEIP20NonStandard__factory.js +0 -240
- package/dist/nodejs/typechain/factories/contracts/Interface/IEIP20NonStandard__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/IGovernorAlpha__factory.d.ts +0 -105
- package/dist/nodejs/typechain/factories/contracts/Interface/IGovernorAlpha__factory.js +0 -147
- package/dist/nodejs/typechain/factories/contracts/Interface/IGovernorAlpha__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/IGovernorBravo__factory.d.ts +0 -119
- package/dist/nodejs/typechain/factories/contracts/Interface/IGovernorBravo__factory.js +0 -166
- package/dist/nodejs/typechain/factories/contracts/Interface/IGovernorBravo__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/IInterestRateModel__factory.d.ts +0 -65
- package/dist/nodejs/typechain/factories/contracts/Interface/IInterestRateModel__factory.js +0 -96
- package/dist/nodejs/typechain/factories/contracts/Interface/IInterestRateModel__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/IPriceOracle__factory.d.ts +0 -35
- package/dist/nodejs/typechain/factories/contracts/Interface/IPriceOracle__factory.js +0 -58
- package/dist/nodejs/typechain/factories/contracts/Interface/IPriceOracle__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/IRedemptionManager__factory.d.ts +0 -147
- package/dist/nodejs/typechain/factories/contracts/Interface/IRedemptionManager__factory.js +0 -204
- package/dist/nodejs/typechain/factories/contracts/Interface/IRedemptionManager__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/ISortedBorrows__factory.d.ts +0 -284
- package/dist/nodejs/typechain/factories/contracts/Interface/ISortedBorrows__factory.js +0 -382
- package/dist/nodejs/typechain/factories/contracts/Interface/ISortedBorrows__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/IStdReference__factory.d.ts +0 -69
- package/dist/nodejs/typechain/factories/contracts/Interface/IStdReference__factory.js +0 -102
- package/dist/nodejs/typechain/factories/contracts/Interface/IStdReference__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/IUnitroller__factory.d.ts +0 -27
- package/dist/nodejs/typechain/factories/contracts/Interface/IUnitroller__factory.js +0 -46
- package/dist/nodejs/typechain/factories/contracts/Interface/IUnitroller__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/IVoltPair__factory.d.ts +0 -61
- package/dist/nodejs/typechain/factories/contracts/Interface/IVoltPair__factory.js +0 -89
- package/dist/nodejs/typechain/factories/contracts/Interface/IVoltPair__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/IWitnetFeed__factory.d.ts +0 -17
- package/dist/nodejs/typechain/factories/contracts/Interface/IWitnetFeed__factory.js +0 -33
- package/dist/nodejs/typechain/factories/contracts/Interface/IWitnetFeed__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/index.d.ts +0 -18
- package/dist/nodejs/typechain/factories/contracts/Interface/index.js +0 -65
- package/dist/nodejs/typechain/factories/contracts/Interface/index.js.map +0 -1
- /package/dist/nodejs/typechain/contracts/{Interface/ICTokenExternal.sol → CToken/Interfaces}/index.js +0 -0
- /package/dist/nodejs/typechain/contracts/{Interface → CToken/Test.sol}/index.js +0 -0
|
@@ -1,562 +0,0 @@
|
|
|
1
|
-
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
-
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common";
|
|
3
|
-
export declare namespace IComptroller {
|
|
4
|
-
type AssetGroupStruct = {
|
|
5
|
-
groupId: BigNumberish;
|
|
6
|
-
groupName: string;
|
|
7
|
-
intraCRateMantissa: BigNumberish;
|
|
8
|
-
intraMintRateMantissa: BigNumberish;
|
|
9
|
-
intraSuRateMantissa: BigNumberish;
|
|
10
|
-
interCRateMantissa: BigNumberish;
|
|
11
|
-
interSuRateMantissa: BigNumberish;
|
|
12
|
-
exist: boolean;
|
|
13
|
-
};
|
|
14
|
-
type AssetGroupStructOutput = [
|
|
15
|
-
groupId: bigint,
|
|
16
|
-
groupName: string,
|
|
17
|
-
intraCRateMantissa: bigint,
|
|
18
|
-
intraMintRateMantissa: bigint,
|
|
19
|
-
intraSuRateMantissa: bigint,
|
|
20
|
-
interCRateMantissa: bigint,
|
|
21
|
-
interSuRateMantissa: bigint,
|
|
22
|
-
exist: boolean
|
|
23
|
-
] & {
|
|
24
|
-
groupId: bigint;
|
|
25
|
-
groupName: string;
|
|
26
|
-
intraCRateMantissa: bigint;
|
|
27
|
-
intraMintRateMantissa: bigint;
|
|
28
|
-
intraSuRateMantissa: bigint;
|
|
29
|
-
interCRateMantissa: bigint;
|
|
30
|
-
interSuRateMantissa: bigint;
|
|
31
|
-
exist: boolean;
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
export interface IComptrollerInterface extends Interface {
|
|
35
|
-
getFunction(nameOrSignature: "_getBorrowPaused" | "_getMintPaused" | "_getSeizePaused" | "_getTransferPaused" | "assetGroupIdToIndex" | "borrowAllowed" | "borrowCaps" | "borrowVerify" | "claimComp" | "closeFactorMantissa" | "compAccrued" | "enterMarkets" | "exitMarket" | "getAccountLiquidity" | "getAllAssetGroup" | "getAllMarkets" | "getAssetGroup" | "getAssetGroupNum" | "getAssetsIn" | "getCollateralRate" | "getCompAddress" | "getHypotheticalAccountLiquidity" | "isComptroller" | "isListed" | "liquidateBorrowAllowed" | "liquidateBorrowVerify" | "liquidationIncentiveMantissa" | "marketGroupId" | "markets" | "mintAllowed" | "oracle" | "redeemAllowed" | "redeemVerify" | "repayBorrowAllowed" | "repayBorrowVerify" | "seizeAllowed" | "seizeVerify" | "timelock" | "transferAllowed"): FunctionFragment;
|
|
36
|
-
getEvent(nameOrSignatureOrTopic: "ActionPaused" | "NewBorrowCap" | "NewBorrowCapGuardian" | "NewPauseGuardian" | "RemoveAssetGroup"): EventFragment;
|
|
37
|
-
encodeFunctionData(functionFragment: "_getBorrowPaused", values: [AddressLike]): string;
|
|
38
|
-
encodeFunctionData(functionFragment: "_getMintPaused", values: [AddressLike]): string;
|
|
39
|
-
encodeFunctionData(functionFragment: "_getSeizePaused", values?: undefined): string;
|
|
40
|
-
encodeFunctionData(functionFragment: "_getTransferPaused", values?: undefined): string;
|
|
41
|
-
encodeFunctionData(functionFragment: "assetGroupIdToIndex", values: [BigNumberish]): string;
|
|
42
|
-
encodeFunctionData(functionFragment: "borrowAllowed", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
43
|
-
encodeFunctionData(functionFragment: "borrowCaps", values: [AddressLike]): string;
|
|
44
|
-
encodeFunctionData(functionFragment: "borrowVerify", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
45
|
-
encodeFunctionData(functionFragment: "claimComp", values: [AddressLike]): string;
|
|
46
|
-
encodeFunctionData(functionFragment: "closeFactorMantissa", values?: undefined): string;
|
|
47
|
-
encodeFunctionData(functionFragment: "compAccrued", values: [AddressLike]): string;
|
|
48
|
-
encodeFunctionData(functionFragment: "enterMarkets", values: [AddressLike[]]): string;
|
|
49
|
-
encodeFunctionData(functionFragment: "exitMarket", values: [AddressLike]): string;
|
|
50
|
-
encodeFunctionData(functionFragment: "getAccountLiquidity", values: [AddressLike]): string;
|
|
51
|
-
encodeFunctionData(functionFragment: "getAllAssetGroup", values?: undefined): string;
|
|
52
|
-
encodeFunctionData(functionFragment: "getAllMarkets", values?: undefined): string;
|
|
53
|
-
encodeFunctionData(functionFragment: "getAssetGroup", values: [BigNumberish]): string;
|
|
54
|
-
encodeFunctionData(functionFragment: "getAssetGroupNum", values?: undefined): string;
|
|
55
|
-
encodeFunctionData(functionFragment: "getAssetsIn", values: [AddressLike]): string;
|
|
56
|
-
encodeFunctionData(functionFragment: "getCollateralRate", values: [AddressLike, AddressLike]): string;
|
|
57
|
-
encodeFunctionData(functionFragment: "getCompAddress", values?: undefined): string;
|
|
58
|
-
encodeFunctionData(functionFragment: "getHypotheticalAccountLiquidity", values: [AddressLike, AddressLike, BigNumberish, BigNumberish]): string;
|
|
59
|
-
encodeFunctionData(functionFragment: "isComptroller", values?: undefined): string;
|
|
60
|
-
encodeFunctionData(functionFragment: "isListed", values: [AddressLike]): string;
|
|
61
|
-
encodeFunctionData(functionFragment: "liquidateBorrowAllowed", values: [AddressLike, AddressLike, AddressLike, AddressLike, BigNumberish]): string;
|
|
62
|
-
encodeFunctionData(functionFragment: "liquidateBorrowVerify", values: [
|
|
63
|
-
AddressLike,
|
|
64
|
-
AddressLike,
|
|
65
|
-
AddressLike,
|
|
66
|
-
AddressLike,
|
|
67
|
-
BigNumberish,
|
|
68
|
-
BigNumberish
|
|
69
|
-
]): string;
|
|
70
|
-
encodeFunctionData(functionFragment: "liquidationIncentiveMantissa", values?: undefined): string;
|
|
71
|
-
encodeFunctionData(functionFragment: "marketGroupId", values: [AddressLike]): string;
|
|
72
|
-
encodeFunctionData(functionFragment: "markets", values: [AddressLike]): string;
|
|
73
|
-
encodeFunctionData(functionFragment: "mintAllowed", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
74
|
-
encodeFunctionData(functionFragment: "oracle", values?: undefined): string;
|
|
75
|
-
encodeFunctionData(functionFragment: "redeemAllowed", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
76
|
-
encodeFunctionData(functionFragment: "redeemVerify", values: [AddressLike, AddressLike, BigNumberish, BigNumberish]): string;
|
|
77
|
-
encodeFunctionData(functionFragment: "repayBorrowAllowed", values: [AddressLike, AddressLike, AddressLike, BigNumberish]): string;
|
|
78
|
-
encodeFunctionData(functionFragment: "repayBorrowVerify", values: [AddressLike, AddressLike, AddressLike, BigNumberish, BigNumberish]): string;
|
|
79
|
-
encodeFunctionData(functionFragment: "seizeAllowed", values: [AddressLike, AddressLike, AddressLike, AddressLike, BigNumberish]): string;
|
|
80
|
-
encodeFunctionData(functionFragment: "seizeVerify", values: [AddressLike, AddressLike, AddressLike, AddressLike, BigNumberish]): string;
|
|
81
|
-
encodeFunctionData(functionFragment: "timelock", values?: undefined): string;
|
|
82
|
-
encodeFunctionData(functionFragment: "transferAllowed", values: [AddressLike, AddressLike, AddressLike, BigNumberish]): string;
|
|
83
|
-
decodeFunctionResult(functionFragment: "_getBorrowPaused", data: BytesLike): Result;
|
|
84
|
-
decodeFunctionResult(functionFragment: "_getMintPaused", data: BytesLike): Result;
|
|
85
|
-
decodeFunctionResult(functionFragment: "_getSeizePaused", data: BytesLike): Result;
|
|
86
|
-
decodeFunctionResult(functionFragment: "_getTransferPaused", data: BytesLike): Result;
|
|
87
|
-
decodeFunctionResult(functionFragment: "assetGroupIdToIndex", data: BytesLike): Result;
|
|
88
|
-
decodeFunctionResult(functionFragment: "borrowAllowed", data: BytesLike): Result;
|
|
89
|
-
decodeFunctionResult(functionFragment: "borrowCaps", data: BytesLike): Result;
|
|
90
|
-
decodeFunctionResult(functionFragment: "borrowVerify", data: BytesLike): Result;
|
|
91
|
-
decodeFunctionResult(functionFragment: "claimComp", data: BytesLike): Result;
|
|
92
|
-
decodeFunctionResult(functionFragment: "closeFactorMantissa", data: BytesLike): Result;
|
|
93
|
-
decodeFunctionResult(functionFragment: "compAccrued", data: BytesLike): Result;
|
|
94
|
-
decodeFunctionResult(functionFragment: "enterMarkets", data: BytesLike): Result;
|
|
95
|
-
decodeFunctionResult(functionFragment: "exitMarket", data: BytesLike): Result;
|
|
96
|
-
decodeFunctionResult(functionFragment: "getAccountLiquidity", data: BytesLike): Result;
|
|
97
|
-
decodeFunctionResult(functionFragment: "getAllAssetGroup", data: BytesLike): Result;
|
|
98
|
-
decodeFunctionResult(functionFragment: "getAllMarkets", data: BytesLike): Result;
|
|
99
|
-
decodeFunctionResult(functionFragment: "getAssetGroup", data: BytesLike): Result;
|
|
100
|
-
decodeFunctionResult(functionFragment: "getAssetGroupNum", data: BytesLike): Result;
|
|
101
|
-
decodeFunctionResult(functionFragment: "getAssetsIn", data: BytesLike): Result;
|
|
102
|
-
decodeFunctionResult(functionFragment: "getCollateralRate", data: BytesLike): Result;
|
|
103
|
-
decodeFunctionResult(functionFragment: "getCompAddress", data: BytesLike): Result;
|
|
104
|
-
decodeFunctionResult(functionFragment: "getHypotheticalAccountLiquidity", data: BytesLike): Result;
|
|
105
|
-
decodeFunctionResult(functionFragment: "isComptroller", data: BytesLike): Result;
|
|
106
|
-
decodeFunctionResult(functionFragment: "isListed", data: BytesLike): Result;
|
|
107
|
-
decodeFunctionResult(functionFragment: "liquidateBorrowAllowed", data: BytesLike): Result;
|
|
108
|
-
decodeFunctionResult(functionFragment: "liquidateBorrowVerify", data: BytesLike): Result;
|
|
109
|
-
decodeFunctionResult(functionFragment: "liquidationIncentiveMantissa", data: BytesLike): Result;
|
|
110
|
-
decodeFunctionResult(functionFragment: "marketGroupId", data: BytesLike): Result;
|
|
111
|
-
decodeFunctionResult(functionFragment: "markets", data: BytesLike): Result;
|
|
112
|
-
decodeFunctionResult(functionFragment: "mintAllowed", data: BytesLike): Result;
|
|
113
|
-
decodeFunctionResult(functionFragment: "oracle", data: BytesLike): Result;
|
|
114
|
-
decodeFunctionResult(functionFragment: "redeemAllowed", data: BytesLike): Result;
|
|
115
|
-
decodeFunctionResult(functionFragment: "redeemVerify", data: BytesLike): Result;
|
|
116
|
-
decodeFunctionResult(functionFragment: "repayBorrowAllowed", data: BytesLike): Result;
|
|
117
|
-
decodeFunctionResult(functionFragment: "repayBorrowVerify", data: BytesLike): Result;
|
|
118
|
-
decodeFunctionResult(functionFragment: "seizeAllowed", data: BytesLike): Result;
|
|
119
|
-
decodeFunctionResult(functionFragment: "seizeVerify", data: BytesLike): Result;
|
|
120
|
-
decodeFunctionResult(functionFragment: "timelock", data: BytesLike): Result;
|
|
121
|
-
decodeFunctionResult(functionFragment: "transferAllowed", data: BytesLike): Result;
|
|
122
|
-
}
|
|
123
|
-
export declare namespace ActionPausedEvent {
|
|
124
|
-
type InputTuple = [
|
|
125
|
-
cToken: AddressLike,
|
|
126
|
-
action: string,
|
|
127
|
-
pauseState: boolean
|
|
128
|
-
];
|
|
129
|
-
type OutputTuple = [
|
|
130
|
-
cToken: string,
|
|
131
|
-
action: string,
|
|
132
|
-
pauseState: boolean
|
|
133
|
-
];
|
|
134
|
-
interface OutputObject {
|
|
135
|
-
cToken: string;
|
|
136
|
-
action: string;
|
|
137
|
-
pauseState: boolean;
|
|
138
|
-
}
|
|
139
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
140
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
141
|
-
type Log = TypedEventLog<Event>;
|
|
142
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
143
|
-
}
|
|
144
|
-
export declare namespace NewBorrowCapEvent {
|
|
145
|
-
type InputTuple = [cToken: AddressLike, newBorrowCap: BigNumberish];
|
|
146
|
-
type OutputTuple = [cToken: string, newBorrowCap: bigint];
|
|
147
|
-
interface OutputObject {
|
|
148
|
-
cToken: string;
|
|
149
|
-
newBorrowCap: bigint;
|
|
150
|
-
}
|
|
151
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
152
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
153
|
-
type Log = TypedEventLog<Event>;
|
|
154
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
155
|
-
}
|
|
156
|
-
export declare namespace NewBorrowCapGuardianEvent {
|
|
157
|
-
type InputTuple = [
|
|
158
|
-
oldBorrowCapGuardian: AddressLike,
|
|
159
|
-
newBorrowCapGuardian: AddressLike
|
|
160
|
-
];
|
|
161
|
-
type OutputTuple = [
|
|
162
|
-
oldBorrowCapGuardian: string,
|
|
163
|
-
newBorrowCapGuardian: string
|
|
164
|
-
];
|
|
165
|
-
interface OutputObject {
|
|
166
|
-
oldBorrowCapGuardian: string;
|
|
167
|
-
newBorrowCapGuardian: string;
|
|
168
|
-
}
|
|
169
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
170
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
171
|
-
type Log = TypedEventLog<Event>;
|
|
172
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
173
|
-
}
|
|
174
|
-
export declare namespace NewPauseGuardianEvent {
|
|
175
|
-
type InputTuple = [
|
|
176
|
-
oldPauseGuardian: AddressLike,
|
|
177
|
-
newPauseGuardian: AddressLike
|
|
178
|
-
];
|
|
179
|
-
type OutputTuple = [
|
|
180
|
-
oldPauseGuardian: string,
|
|
181
|
-
newPauseGuardian: string
|
|
182
|
-
];
|
|
183
|
-
interface OutputObject {
|
|
184
|
-
oldPauseGuardian: string;
|
|
185
|
-
newPauseGuardian: string;
|
|
186
|
-
}
|
|
187
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
188
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
189
|
-
type Log = TypedEventLog<Event>;
|
|
190
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
191
|
-
}
|
|
192
|
-
export declare namespace RemoveAssetGroupEvent {
|
|
193
|
-
type InputTuple = [
|
|
194
|
-
groupId: BigNumberish,
|
|
195
|
-
equalAssetsGroupNum: BigNumberish
|
|
196
|
-
];
|
|
197
|
-
type OutputTuple = [groupId: bigint, equalAssetsGroupNum: bigint];
|
|
198
|
-
interface OutputObject {
|
|
199
|
-
groupId: bigint;
|
|
200
|
-
equalAssetsGroupNum: bigint;
|
|
201
|
-
}
|
|
202
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
203
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
204
|
-
type Log = TypedEventLog<Event>;
|
|
205
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
206
|
-
}
|
|
207
|
-
export interface IComptroller extends BaseContract {
|
|
208
|
-
connect(runner?: ContractRunner | null): IComptroller;
|
|
209
|
-
waitForDeployment(): Promise<this>;
|
|
210
|
-
interface: IComptrollerInterface;
|
|
211
|
-
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
212
|
-
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
213
|
-
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
214
|
-
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
215
|
-
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
216
|
-
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
217
|
-
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
218
|
-
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
219
|
-
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
220
|
-
_getBorrowPaused: TypedContractMethod<[
|
|
221
|
-
cToken: AddressLike
|
|
222
|
-
], [
|
|
223
|
-
boolean
|
|
224
|
-
], "view">;
|
|
225
|
-
_getMintPaused: TypedContractMethod<[
|
|
226
|
-
cToken: AddressLike
|
|
227
|
-
], [
|
|
228
|
-
boolean
|
|
229
|
-
], "nonpayable">;
|
|
230
|
-
_getSeizePaused: TypedContractMethod<[], [boolean], "view">;
|
|
231
|
-
_getTransferPaused: TypedContractMethod<[], [boolean], "view">;
|
|
232
|
-
assetGroupIdToIndex: TypedContractMethod<[
|
|
233
|
-
arg0: BigNumberish
|
|
234
|
-
], [
|
|
235
|
-
bigint
|
|
236
|
-
], "view">;
|
|
237
|
-
borrowAllowed: TypedContractMethod<[
|
|
238
|
-
cToken: AddressLike,
|
|
239
|
-
borrower: AddressLike,
|
|
240
|
-
borrowAmount: BigNumberish
|
|
241
|
-
], [
|
|
242
|
-
void
|
|
243
|
-
], "nonpayable">;
|
|
244
|
-
borrowCaps: TypedContractMethod<[cToken: AddressLike], [bigint], "view">;
|
|
245
|
-
borrowVerify: TypedContractMethod<[
|
|
246
|
-
cToken: AddressLike,
|
|
247
|
-
borrower: AddressLike,
|
|
248
|
-
borrowAmount: BigNumberish
|
|
249
|
-
], [
|
|
250
|
-
void
|
|
251
|
-
], "nonpayable">;
|
|
252
|
-
claimComp: TypedContractMethod<[arg0: AddressLike], [void], "nonpayable">;
|
|
253
|
-
closeFactorMantissa: TypedContractMethod<[], [bigint], "view">;
|
|
254
|
-
compAccrued: TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
|
|
255
|
-
enterMarkets: TypedContractMethod<[
|
|
256
|
-
cTokens: AddressLike[]
|
|
257
|
-
], [
|
|
258
|
-
bigint[]
|
|
259
|
-
], "nonpayable">;
|
|
260
|
-
exitMarket: TypedContractMethod<[
|
|
261
|
-
cToken: AddressLike
|
|
262
|
-
], [
|
|
263
|
-
bigint
|
|
264
|
-
], "nonpayable">;
|
|
265
|
-
getAccountLiquidity: TypedContractMethod<[
|
|
266
|
-
arg0: AddressLike
|
|
267
|
-
], [
|
|
268
|
-
[bigint, bigint, bigint]
|
|
269
|
-
], "view">;
|
|
270
|
-
getAllAssetGroup: TypedContractMethod<[
|
|
271
|
-
], [
|
|
272
|
-
IComptroller.AssetGroupStructOutput[]
|
|
273
|
-
], "view">;
|
|
274
|
-
getAllMarkets: TypedContractMethod<[], [string[]], "view">;
|
|
275
|
-
getAssetGroup: TypedContractMethod<[
|
|
276
|
-
groupId: BigNumberish
|
|
277
|
-
], [
|
|
278
|
-
IComptroller.AssetGroupStructOutput
|
|
279
|
-
], "view">;
|
|
280
|
-
getAssetGroupNum: TypedContractMethod<[], [bigint], "view">;
|
|
281
|
-
getAssetsIn: TypedContractMethod<[account: AddressLike], [string[]], "view">;
|
|
282
|
-
getCollateralRate: TypedContractMethod<[
|
|
283
|
-
collateralToken: AddressLike,
|
|
284
|
-
liabilityToken: AddressLike
|
|
285
|
-
], [
|
|
286
|
-
bigint
|
|
287
|
-
], "view">;
|
|
288
|
-
getCompAddress: TypedContractMethod<[], [string], "view">;
|
|
289
|
-
getHypotheticalAccountLiquidity: TypedContractMethod<[
|
|
290
|
-
account: AddressLike,
|
|
291
|
-
cTokenModify: AddressLike,
|
|
292
|
-
redeemTokens: BigNumberish,
|
|
293
|
-
borrowAmount: BigNumberish
|
|
294
|
-
], [
|
|
295
|
-
[bigint, bigint, bigint]
|
|
296
|
-
], "view">;
|
|
297
|
-
isComptroller: TypedContractMethod<[], [boolean], "view">;
|
|
298
|
-
isListed: TypedContractMethod<[asset: AddressLike], [boolean], "view">;
|
|
299
|
-
liquidateBorrowAllowed: TypedContractMethod<[
|
|
300
|
-
cTokenBorrowed: AddressLike,
|
|
301
|
-
cTokenCollateral: AddressLike,
|
|
302
|
-
liquidator: AddressLike,
|
|
303
|
-
borrower: AddressLike,
|
|
304
|
-
repayAmount: BigNumberish
|
|
305
|
-
], [
|
|
306
|
-
void
|
|
307
|
-
], "view">;
|
|
308
|
-
liquidateBorrowVerify: TypedContractMethod<[
|
|
309
|
-
cTokenBorrowed: AddressLike,
|
|
310
|
-
cTokenCollateral: AddressLike,
|
|
311
|
-
liquidator: AddressLike,
|
|
312
|
-
borrower: AddressLike,
|
|
313
|
-
repayAmount: BigNumberish,
|
|
314
|
-
seizeTokens: BigNumberish
|
|
315
|
-
], [
|
|
316
|
-
void
|
|
317
|
-
], "nonpayable">;
|
|
318
|
-
liquidationIncentiveMantissa: TypedContractMethod<[
|
|
319
|
-
], [
|
|
320
|
-
[bigint, bigint, bigint]
|
|
321
|
-
], "view">;
|
|
322
|
-
marketGroupId: TypedContractMethod<[asset: AddressLike], [bigint], "view">;
|
|
323
|
-
markets: TypedContractMethod<[
|
|
324
|
-
arg0: AddressLike
|
|
325
|
-
], [
|
|
326
|
-
[boolean, bigint, boolean]
|
|
327
|
-
], "view">;
|
|
328
|
-
mintAllowed: TypedContractMethod<[
|
|
329
|
-
cToken: AddressLike,
|
|
330
|
-
minter: AddressLike,
|
|
331
|
-
mintAmount: BigNumberish
|
|
332
|
-
], [
|
|
333
|
-
void
|
|
334
|
-
], "nonpayable">;
|
|
335
|
-
oracle: TypedContractMethod<[], [string], "view">;
|
|
336
|
-
redeemAllowed: TypedContractMethod<[
|
|
337
|
-
cToken: AddressLike,
|
|
338
|
-
redeemer: AddressLike,
|
|
339
|
-
redeemTokens: BigNumberish
|
|
340
|
-
], [
|
|
341
|
-
void
|
|
342
|
-
], "nonpayable">;
|
|
343
|
-
redeemVerify: TypedContractMethod<[
|
|
344
|
-
cToken: AddressLike,
|
|
345
|
-
redeemer: AddressLike,
|
|
346
|
-
redeemAmount: BigNumberish,
|
|
347
|
-
redeemTokens: BigNumberish
|
|
348
|
-
], [
|
|
349
|
-
void
|
|
350
|
-
], "nonpayable">;
|
|
351
|
-
repayBorrowAllowed: TypedContractMethod<[
|
|
352
|
-
cToken: AddressLike,
|
|
353
|
-
payer: AddressLike,
|
|
354
|
-
borrower: AddressLike,
|
|
355
|
-
repayAmount: BigNumberish
|
|
356
|
-
], [
|
|
357
|
-
void
|
|
358
|
-
], "nonpayable">;
|
|
359
|
-
repayBorrowVerify: TypedContractMethod<[
|
|
360
|
-
cToken: AddressLike,
|
|
361
|
-
payer: AddressLike,
|
|
362
|
-
borrower: AddressLike,
|
|
363
|
-
repayAmount: BigNumberish,
|
|
364
|
-
borrowerIndex: BigNumberish
|
|
365
|
-
], [
|
|
366
|
-
void
|
|
367
|
-
], "nonpayable">;
|
|
368
|
-
seizeAllowed: TypedContractMethod<[
|
|
369
|
-
cTokenCollateral: AddressLike,
|
|
370
|
-
cTokenBorrowed: AddressLike,
|
|
371
|
-
liquidator: AddressLike,
|
|
372
|
-
borrower: AddressLike,
|
|
373
|
-
seizeTokens: BigNumberish
|
|
374
|
-
], [
|
|
375
|
-
void
|
|
376
|
-
], "nonpayable">;
|
|
377
|
-
seizeVerify: TypedContractMethod<[
|
|
378
|
-
cTokenCollateral: AddressLike,
|
|
379
|
-
cTokenBorrowed: AddressLike,
|
|
380
|
-
liquidator: AddressLike,
|
|
381
|
-
borrower: AddressLike,
|
|
382
|
-
seizeTokens: BigNumberish
|
|
383
|
-
], [
|
|
384
|
-
void
|
|
385
|
-
], "nonpayable">;
|
|
386
|
-
timelock: TypedContractMethod<[], [string], "view">;
|
|
387
|
-
transferAllowed: TypedContractMethod<[
|
|
388
|
-
cToken: AddressLike,
|
|
389
|
-
src: AddressLike,
|
|
390
|
-
dst: AddressLike,
|
|
391
|
-
transferTokens: BigNumberish
|
|
392
|
-
], [
|
|
393
|
-
void
|
|
394
|
-
], "nonpayable">;
|
|
395
|
-
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
396
|
-
getFunction(nameOrSignature: "_getBorrowPaused"): TypedContractMethod<[cToken: AddressLike], [boolean], "view">;
|
|
397
|
-
getFunction(nameOrSignature: "_getMintPaused"): TypedContractMethod<[cToken: AddressLike], [boolean], "nonpayable">;
|
|
398
|
-
getFunction(nameOrSignature: "_getSeizePaused"): TypedContractMethod<[], [boolean], "view">;
|
|
399
|
-
getFunction(nameOrSignature: "_getTransferPaused"): TypedContractMethod<[], [boolean], "view">;
|
|
400
|
-
getFunction(nameOrSignature: "assetGroupIdToIndex"): TypedContractMethod<[arg0: BigNumberish], [bigint], "view">;
|
|
401
|
-
getFunction(nameOrSignature: "borrowAllowed"): TypedContractMethod<[
|
|
402
|
-
cToken: AddressLike,
|
|
403
|
-
borrower: AddressLike,
|
|
404
|
-
borrowAmount: BigNumberish
|
|
405
|
-
], [
|
|
406
|
-
void
|
|
407
|
-
], "nonpayable">;
|
|
408
|
-
getFunction(nameOrSignature: "borrowCaps"): TypedContractMethod<[cToken: AddressLike], [bigint], "view">;
|
|
409
|
-
getFunction(nameOrSignature: "borrowVerify"): TypedContractMethod<[
|
|
410
|
-
cToken: AddressLike,
|
|
411
|
-
borrower: AddressLike,
|
|
412
|
-
borrowAmount: BigNumberish
|
|
413
|
-
], [
|
|
414
|
-
void
|
|
415
|
-
], "nonpayable">;
|
|
416
|
-
getFunction(nameOrSignature: "claimComp"): TypedContractMethod<[arg0: AddressLike], [void], "nonpayable">;
|
|
417
|
-
getFunction(nameOrSignature: "closeFactorMantissa"): TypedContractMethod<[], [bigint], "view">;
|
|
418
|
-
getFunction(nameOrSignature: "compAccrued"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
|
|
419
|
-
getFunction(nameOrSignature: "enterMarkets"): TypedContractMethod<[cTokens: AddressLike[]], [bigint[]], "nonpayable">;
|
|
420
|
-
getFunction(nameOrSignature: "exitMarket"): TypedContractMethod<[cToken: AddressLike], [bigint], "nonpayable">;
|
|
421
|
-
getFunction(nameOrSignature: "getAccountLiquidity"): TypedContractMethod<[
|
|
422
|
-
arg0: AddressLike
|
|
423
|
-
], [
|
|
424
|
-
[bigint, bigint, bigint]
|
|
425
|
-
], "view">;
|
|
426
|
-
getFunction(nameOrSignature: "getAllAssetGroup"): TypedContractMethod<[], [IComptroller.AssetGroupStructOutput[]], "view">;
|
|
427
|
-
getFunction(nameOrSignature: "getAllMarkets"): TypedContractMethod<[], [string[]], "view">;
|
|
428
|
-
getFunction(nameOrSignature: "getAssetGroup"): TypedContractMethod<[
|
|
429
|
-
groupId: BigNumberish
|
|
430
|
-
], [
|
|
431
|
-
IComptroller.AssetGroupStructOutput
|
|
432
|
-
], "view">;
|
|
433
|
-
getFunction(nameOrSignature: "getAssetGroupNum"): TypedContractMethod<[], [bigint], "view">;
|
|
434
|
-
getFunction(nameOrSignature: "getAssetsIn"): TypedContractMethod<[account: AddressLike], [string[]], "view">;
|
|
435
|
-
getFunction(nameOrSignature: "getCollateralRate"): TypedContractMethod<[
|
|
436
|
-
collateralToken: AddressLike,
|
|
437
|
-
liabilityToken: AddressLike
|
|
438
|
-
], [
|
|
439
|
-
bigint
|
|
440
|
-
], "view">;
|
|
441
|
-
getFunction(nameOrSignature: "getCompAddress"): TypedContractMethod<[], [string], "view">;
|
|
442
|
-
getFunction(nameOrSignature: "getHypotheticalAccountLiquidity"): TypedContractMethod<[
|
|
443
|
-
account: AddressLike,
|
|
444
|
-
cTokenModify: AddressLike,
|
|
445
|
-
redeemTokens: BigNumberish,
|
|
446
|
-
borrowAmount: BigNumberish
|
|
447
|
-
], [
|
|
448
|
-
[bigint, bigint, bigint]
|
|
449
|
-
], "view">;
|
|
450
|
-
getFunction(nameOrSignature: "isComptroller"): TypedContractMethod<[], [boolean], "view">;
|
|
451
|
-
getFunction(nameOrSignature: "isListed"): TypedContractMethod<[asset: AddressLike], [boolean], "view">;
|
|
452
|
-
getFunction(nameOrSignature: "liquidateBorrowAllowed"): TypedContractMethod<[
|
|
453
|
-
cTokenBorrowed: AddressLike,
|
|
454
|
-
cTokenCollateral: AddressLike,
|
|
455
|
-
liquidator: AddressLike,
|
|
456
|
-
borrower: AddressLike,
|
|
457
|
-
repayAmount: BigNumberish
|
|
458
|
-
], [
|
|
459
|
-
void
|
|
460
|
-
], "view">;
|
|
461
|
-
getFunction(nameOrSignature: "liquidateBorrowVerify"): TypedContractMethod<[
|
|
462
|
-
cTokenBorrowed: AddressLike,
|
|
463
|
-
cTokenCollateral: AddressLike,
|
|
464
|
-
liquidator: AddressLike,
|
|
465
|
-
borrower: AddressLike,
|
|
466
|
-
repayAmount: BigNumberish,
|
|
467
|
-
seizeTokens: BigNumberish
|
|
468
|
-
], [
|
|
469
|
-
void
|
|
470
|
-
], "nonpayable">;
|
|
471
|
-
getFunction(nameOrSignature: "liquidationIncentiveMantissa"): TypedContractMethod<[], [[bigint, bigint, bigint]], "view">;
|
|
472
|
-
getFunction(nameOrSignature: "marketGroupId"): TypedContractMethod<[asset: AddressLike], [bigint], "view">;
|
|
473
|
-
getFunction(nameOrSignature: "markets"): TypedContractMethod<[
|
|
474
|
-
arg0: AddressLike
|
|
475
|
-
], [
|
|
476
|
-
[boolean, bigint, boolean]
|
|
477
|
-
], "view">;
|
|
478
|
-
getFunction(nameOrSignature: "mintAllowed"): TypedContractMethod<[
|
|
479
|
-
cToken: AddressLike,
|
|
480
|
-
minter: AddressLike,
|
|
481
|
-
mintAmount: BigNumberish
|
|
482
|
-
], [
|
|
483
|
-
void
|
|
484
|
-
], "nonpayable">;
|
|
485
|
-
getFunction(nameOrSignature: "oracle"): TypedContractMethod<[], [string], "view">;
|
|
486
|
-
getFunction(nameOrSignature: "redeemAllowed"): TypedContractMethod<[
|
|
487
|
-
cToken: AddressLike,
|
|
488
|
-
redeemer: AddressLike,
|
|
489
|
-
redeemTokens: BigNumberish
|
|
490
|
-
], [
|
|
491
|
-
void
|
|
492
|
-
], "nonpayable">;
|
|
493
|
-
getFunction(nameOrSignature: "redeemVerify"): TypedContractMethod<[
|
|
494
|
-
cToken: AddressLike,
|
|
495
|
-
redeemer: AddressLike,
|
|
496
|
-
redeemAmount: BigNumberish,
|
|
497
|
-
redeemTokens: BigNumberish
|
|
498
|
-
], [
|
|
499
|
-
void
|
|
500
|
-
], "nonpayable">;
|
|
501
|
-
getFunction(nameOrSignature: "repayBorrowAllowed"): TypedContractMethod<[
|
|
502
|
-
cToken: AddressLike,
|
|
503
|
-
payer: AddressLike,
|
|
504
|
-
borrower: AddressLike,
|
|
505
|
-
repayAmount: BigNumberish
|
|
506
|
-
], [
|
|
507
|
-
void
|
|
508
|
-
], "nonpayable">;
|
|
509
|
-
getFunction(nameOrSignature: "repayBorrowVerify"): TypedContractMethod<[
|
|
510
|
-
cToken: AddressLike,
|
|
511
|
-
payer: AddressLike,
|
|
512
|
-
borrower: AddressLike,
|
|
513
|
-
repayAmount: BigNumberish,
|
|
514
|
-
borrowerIndex: BigNumberish
|
|
515
|
-
], [
|
|
516
|
-
void
|
|
517
|
-
], "nonpayable">;
|
|
518
|
-
getFunction(nameOrSignature: "seizeAllowed"): TypedContractMethod<[
|
|
519
|
-
cTokenCollateral: AddressLike,
|
|
520
|
-
cTokenBorrowed: AddressLike,
|
|
521
|
-
liquidator: AddressLike,
|
|
522
|
-
borrower: AddressLike,
|
|
523
|
-
seizeTokens: BigNumberish
|
|
524
|
-
], [
|
|
525
|
-
void
|
|
526
|
-
], "nonpayable">;
|
|
527
|
-
getFunction(nameOrSignature: "seizeVerify"): TypedContractMethod<[
|
|
528
|
-
cTokenCollateral: AddressLike,
|
|
529
|
-
cTokenBorrowed: AddressLike,
|
|
530
|
-
liquidator: AddressLike,
|
|
531
|
-
borrower: AddressLike,
|
|
532
|
-
seizeTokens: BigNumberish
|
|
533
|
-
], [
|
|
534
|
-
void
|
|
535
|
-
], "nonpayable">;
|
|
536
|
-
getFunction(nameOrSignature: "timelock"): TypedContractMethod<[], [string], "view">;
|
|
537
|
-
getFunction(nameOrSignature: "transferAllowed"): TypedContractMethod<[
|
|
538
|
-
cToken: AddressLike,
|
|
539
|
-
src: AddressLike,
|
|
540
|
-
dst: AddressLike,
|
|
541
|
-
transferTokens: BigNumberish
|
|
542
|
-
], [
|
|
543
|
-
void
|
|
544
|
-
], "nonpayable">;
|
|
545
|
-
getEvent(key: "ActionPaused"): TypedContractEvent<ActionPausedEvent.InputTuple, ActionPausedEvent.OutputTuple, ActionPausedEvent.OutputObject>;
|
|
546
|
-
getEvent(key: "NewBorrowCap"): TypedContractEvent<NewBorrowCapEvent.InputTuple, NewBorrowCapEvent.OutputTuple, NewBorrowCapEvent.OutputObject>;
|
|
547
|
-
getEvent(key: "NewBorrowCapGuardian"): TypedContractEvent<NewBorrowCapGuardianEvent.InputTuple, NewBorrowCapGuardianEvent.OutputTuple, NewBorrowCapGuardianEvent.OutputObject>;
|
|
548
|
-
getEvent(key: "NewPauseGuardian"): TypedContractEvent<NewPauseGuardianEvent.InputTuple, NewPauseGuardianEvent.OutputTuple, NewPauseGuardianEvent.OutputObject>;
|
|
549
|
-
getEvent(key: "RemoveAssetGroup"): TypedContractEvent<RemoveAssetGroupEvent.InputTuple, RemoveAssetGroupEvent.OutputTuple, RemoveAssetGroupEvent.OutputObject>;
|
|
550
|
-
filters: {
|
|
551
|
-
"ActionPaused(address,string,bool)": TypedContractEvent<ActionPausedEvent.InputTuple, ActionPausedEvent.OutputTuple, ActionPausedEvent.OutputObject>;
|
|
552
|
-
ActionPaused: TypedContractEvent<ActionPausedEvent.InputTuple, ActionPausedEvent.OutputTuple, ActionPausedEvent.OutputObject>;
|
|
553
|
-
"NewBorrowCap(address,uint256)": TypedContractEvent<NewBorrowCapEvent.InputTuple, NewBorrowCapEvent.OutputTuple, NewBorrowCapEvent.OutputObject>;
|
|
554
|
-
NewBorrowCap: TypedContractEvent<NewBorrowCapEvent.InputTuple, NewBorrowCapEvent.OutputTuple, NewBorrowCapEvent.OutputObject>;
|
|
555
|
-
"NewBorrowCapGuardian(address,address)": TypedContractEvent<NewBorrowCapGuardianEvent.InputTuple, NewBorrowCapGuardianEvent.OutputTuple, NewBorrowCapGuardianEvent.OutputObject>;
|
|
556
|
-
NewBorrowCapGuardian: TypedContractEvent<NewBorrowCapGuardianEvent.InputTuple, NewBorrowCapGuardianEvent.OutputTuple, NewBorrowCapGuardianEvent.OutputObject>;
|
|
557
|
-
"NewPauseGuardian(address,address)": TypedContractEvent<NewPauseGuardianEvent.InputTuple, NewPauseGuardianEvent.OutputTuple, NewPauseGuardianEvent.OutputObject>;
|
|
558
|
-
NewPauseGuardian: TypedContractEvent<NewPauseGuardianEvent.InputTuple, NewPauseGuardianEvent.OutputTuple, NewPauseGuardianEvent.OutputObject>;
|
|
559
|
-
"RemoveAssetGroup(uint8,uint8)": TypedContractEvent<RemoveAssetGroupEvent.InputTuple, RemoveAssetGroupEvent.OutputTuple, RemoveAssetGroupEvent.OutputObject>;
|
|
560
|
-
RemoveAssetGroup: TypedContractEvent<RemoveAssetGroupEvent.InputTuple, RemoveAssetGroupEvent.OutputTuple, RemoveAssetGroupEvent.OutputObject>;
|
|
561
|
-
};
|
|
562
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IComptroller.js","sourceRoot":"","sources":["../../../../../src/typechain/contracts/Interface/IComptroller.ts"],"names":[],"mappings":""}
|