@meterio/sumer-js 0.1.42 → 0.1.44
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 +36 -74
- package/dist/nodejs/abi.js +594 -717
- package/dist/nodejs/abi.js.map +1 -1
- package/dist/nodejs/comptroller.d.ts +1 -0
- package/dist/nodejs/comptroller.js +4 -2
- package/dist/nodejs/comptroller.js.map +1 -1
- package/dist/nodejs/constants/arbitrum.d.ts +1 -0
- package/dist/nodejs/constants/arbitrum.js +1 -0
- package/dist/nodejs/constants/arbitrum.js.map +1 -1
- package/dist/nodejs/constants/metertest.d.ts +2 -10
- package/dist/nodejs/constants/metertest.js +2 -11
- package/dist/nodejs/constants/metertest.js.map +1 -1
- package/dist/nodejs/errors.d.ts +1 -1
- package/dist/nodejs/errors.js +3 -3
- package/dist/nodejs/errors.js.map +1 -1
- package/dist/nodejs/index.d.ts +37 -75
- package/dist/nodejs/typechain/@openzeppelin/contracts/governance/TimelockController.d.ts +1 -16
- package/dist/nodejs/typechain/@openzeppelin/contracts/interfaces/index.d.ts +0 -2
- package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.d.ts +108 -0
- package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.js +3 -0
- package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.js.map +1 -0
- package/dist/nodejs/typechain/@openzeppelin/contracts/proxy/transparent/index.d.ts +1 -2
- package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit.d.ts +61 -0
- package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit.js +3 -0
- package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit.js.map +1 -0
- package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.d.ts +1 -0
- package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.js +3 -0
- package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts +2 -1
- package/dist/nodejs/typechain/@openzeppelin/contracts/utils/index.d.ts +0 -3
- package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.d.ts +89 -2
- package/dist/nodejs/typechain/contracts/ERC20/ERC20MinterBurnerPauserPermit.d.ts +2 -57
- package/dist/nodejs/typechain/contracts/InterestRateModel/FixedInterestRateModel.d.ts +139 -0
- package/dist/nodejs/typechain/contracts/InterestRateModel/FixedInterestRateModel.js +3 -0
- package/dist/nodejs/typechain/contracts/InterestRateModel/FixedInterestRateModel.js.map +1 -0
- package/dist/nodejs/typechain/contracts/InterestRateModel/InterestRateModel.d.ts +60 -4
- package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelV2.d.ts +53 -3
- package/dist/nodejs/typechain/contracts/InterestRateModel/WhitePaperInterestRateModel.d.ts +57 -3
- package/dist/nodejs/typechain/contracts/InterestRateModel/index.d.ts +1 -6
- package/dist/nodejs/typechain/contracts/SumerTimelockController.d.ts +1 -16
- package/dist/nodejs/typechain/contracts/proxy/SumerProxy.d.ts +45 -2
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/governance/TimelockController__factory.d.ts +9 -24
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/governance/TimelockController__factory.js +9 -28
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/governance/TimelockController__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/interfaces/index.d.ts +0 -2
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/interfaces/index.js +1 -5
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/interfaces/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.js +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.d.ts +6 -6
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.js +6 -6
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/ProxyAdmin__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy__factory.d.ts +133 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy__factory.js +184 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/index.d.ts +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/index.js +3 -25
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/proxy/transparent/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/ERC20__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/ERC20__factory.js +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit__factory.d.ts +65 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit__factory.js +95 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.js +9 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/index.js +25 -3
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetMinterPauser__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/presets/ERC20PresetMinterPauser__factory.js +1 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/utils/index.d.ts +0 -2
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/utils/index.js +1 -4
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/utils/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +4 -4
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +4 -4
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +4 -4
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +4 -4
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +3 -3
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +3 -3
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +4 -4
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +4 -4
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.d.ts +4 -12
- package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.js +4 -14
- 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 +4 -12
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +4 -14
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +99 -4
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +125 -4
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +4 -4
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +4 -4
- 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/ERC20/ERC20MinterBurnerPauserPermit__factory.d.ts +1 -52
- package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauserPermit__factory.js +1 -66
- package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauserPermit__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauser__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/ERC20/ERC20MinterBurnerPauser__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/FixedInterestModel.sol/FixedRateModel__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/FixedInterestModel.sol/FixedRateModel__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/FixedInterestRateModel__factory.d.ts +204 -0
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/FixedInterestRateModel__factory.js +275 -0
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/FixedInterestRateModel__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/InterestRateModel__factory.d.ts +72 -0
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/InterestRateModel__factory.js +91 -0
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/InterestRateModel__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelV2__factory.d.ts +66 -8
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelV2__factory.js +83 -10
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelV2__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModel__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModel__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/WhitePaperInterestRateModel__factory.d.ts +73 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/WhitePaperInterestRateModel__factory.js +92 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/WhitePaperInterestRateModel__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/ZeroInterestRateModel__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/ZeroInterestRateModel__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.d.ts +1 -4
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.js +3 -30
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/suTokenInterestModel.sol/SuTokenRateModel__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/suTokenInterestModel.sol/SuTokenRateModel__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Library/RateLimiter__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Library/RateLimiter__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/ChainlinkFeedAdaptor_ETHToUSD__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/ChainlinkFeedAdaptor_ETHToUSD__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracleSafe__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracleSafe__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.d.ts +4 -12
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js +4 -14
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/SumerTimelockController__factory.d.ts +9 -24
- package/dist/nodejs/typechain/factories/contracts/SumerTimelockController__factory.js +9 -28
- package/dist/nodejs/typechain/factories/contracts/SumerTimelockController__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.d.ts +4 -44
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js +4 -56
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxyAdmin__factory.d.ts +6 -6
- package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxyAdmin__factory.js +6 -6
- package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxyAdmin__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxy__factory.d.ts +55 -1
- package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxy__factory.js +71 -1
- package/dist/nodejs/typechain/factories/contracts/proxy/SumerProxy__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/CommunalFarm__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/CommunalFarm__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/CommunalFarm__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeFXSRewardsDistributor__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/FraxGaugeFXSRewardsDistributor__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/StakingRewardsMultiGauge__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/StakingRewardsMultiGauge__factory.js +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/hardhat.d.ts +26 -170
- package/dist/nodejs/typechain/index.d.ts +6 -22
- package/dist/nodejs/typechain/index.js +7 -24
- package/dist/nodejs/typechain/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../../../../../common";
|
|
3
|
+
export interface IERC20PermitInterface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "DOMAIN_SEPARATOR" | "nonces" | "permit"): FunctionFragment;
|
|
5
|
+
encodeFunctionData(functionFragment: "DOMAIN_SEPARATOR", values?: undefined): string;
|
|
6
|
+
encodeFunctionData(functionFragment: "nonces", values: [AddressLike]): string;
|
|
7
|
+
encodeFunctionData(functionFragment: "permit", values: [
|
|
8
|
+
AddressLike,
|
|
9
|
+
AddressLike,
|
|
10
|
+
BigNumberish,
|
|
11
|
+
BigNumberish,
|
|
12
|
+
BigNumberish,
|
|
13
|
+
BytesLike,
|
|
14
|
+
BytesLike
|
|
15
|
+
]): string;
|
|
16
|
+
decodeFunctionResult(functionFragment: "DOMAIN_SEPARATOR", data: BytesLike): Result;
|
|
17
|
+
decodeFunctionResult(functionFragment: "nonces", data: BytesLike): Result;
|
|
18
|
+
decodeFunctionResult(functionFragment: "permit", data: BytesLike): Result;
|
|
19
|
+
}
|
|
20
|
+
export interface IERC20Permit extends BaseContract {
|
|
21
|
+
connect(runner?: ContractRunner | null): IERC20Permit;
|
|
22
|
+
waitForDeployment(): Promise<this>;
|
|
23
|
+
interface: IERC20PermitInterface;
|
|
24
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
25
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
26
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
27
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
28
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
29
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
30
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
31
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
32
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
33
|
+
DOMAIN_SEPARATOR: TypedContractMethod<[], [string], "view">;
|
|
34
|
+
nonces: TypedContractMethod<[owner: AddressLike], [bigint], "view">;
|
|
35
|
+
permit: TypedContractMethod<[
|
|
36
|
+
owner: AddressLike,
|
|
37
|
+
spender: AddressLike,
|
|
38
|
+
value: BigNumberish,
|
|
39
|
+
deadline: BigNumberish,
|
|
40
|
+
v: BigNumberish,
|
|
41
|
+
r: BytesLike,
|
|
42
|
+
s: BytesLike
|
|
43
|
+
], [
|
|
44
|
+
void
|
|
45
|
+
], "nonpayable">;
|
|
46
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
47
|
+
getFunction(nameOrSignature: "DOMAIN_SEPARATOR"): TypedContractMethod<[], [string], "view">;
|
|
48
|
+
getFunction(nameOrSignature: "nonces"): TypedContractMethod<[owner: AddressLike], [bigint], "view">;
|
|
49
|
+
getFunction(nameOrSignature: "permit"): TypedContractMethod<[
|
|
50
|
+
owner: AddressLike,
|
|
51
|
+
spender: AddressLike,
|
|
52
|
+
value: BigNumberish,
|
|
53
|
+
deadline: BigNumberish,
|
|
54
|
+
v: BigNumberish,
|
|
55
|
+
r: BytesLike,
|
|
56
|
+
s: BytesLike
|
|
57
|
+
], [
|
|
58
|
+
void
|
|
59
|
+
], "nonpayable">;
|
|
60
|
+
filters: {};
|
|
61
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IERC20Permit.js","sourceRoot":"","sources":["../../../../../../../../../src/typechain/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/IERC20Permit.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { IERC20Permit } from "./IERC20Permit";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/typechain/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import type * as draftIerc20PermitSol from "./draft-IERC20Permit.sol";
|
|
2
|
+
export type { draftIerc20PermitSol };
|
|
1
3
|
export type { ERC20Burnable } from "./ERC20Burnable";
|
|
2
4
|
export type { ERC20Pausable } from "./ERC20Pausable";
|
|
3
5
|
export type { IERC20Metadata } from "./IERC20Metadata";
|
|
4
|
-
export type { IERC20Permit } from "./IERC20Permit";
|
|
@@ -32,8 +32,8 @@ export declare namespace IComptroller {
|
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
34
|
export interface ComptrollerInterface extends Interface {
|
|
35
|
-
getFunction(nameOrSignature: "CAPPER_ROLE" | "COMP_LOGIC" | "DEFAULT_ADMIN_ROLE" | "PAUSER_ROLE" | "_borrowGuardianPaused" | "_getBorrowCapGuardian" | "_getPauseGuardian" | "_mintGuardianPaused" | "_setBorrowCapGuardian" | "_setBorrowPaused" | "_setCloseFactor" | "_setLiquidationIncentive" | "_setMarketBorrowCaps" | "_setMaxSupply" | "_setMintPaused" | "_setPauseGuardian" | "_setPriceOracle" | "_setProtocolPaused" | "_setSeizePaused" | "_setTransferPaused" | "_supportMarket" | "accountAssets" | "accountLiquidity" | "allMarkets" | "assetGroupIdToIndex" | "borrowAllowed" | "borrowCapGuardian" | "borrowCaps" | "borrowGuardianPaused" | "checkMembership" | "cleanAssetGroup" | "closeFactorMantissa" | "compLogic" | "enterMarkets" | "enterMarketsForAll" | "exitMarket" | "getAccountLiquidity" | "getAccountSafeLimit" | "getAllAssetGroup" | "getAllMarkets" | "getAssetGroup" | "getAssetGroupByIndex" | "getAssetGroupNum" | "getAssetsIn" | "getCollateralRate" | "getCompAddress" | "getHypotheticalAccountLiquidity" | "getRoleAdmin" | "getRoleMember" | "getRoleMemberCount" | "getUnderlyingPriceNormalized" | "governanceToken" | "grantRole" | "hasRole" | "heteroLiquidationIncentiveMantissa" | "homoLiquidationIncentiveMantissa" | "initialize" | "isComptroller" | "isListed" | "liquidateBorrowAllowed" | "liquidationIncentiveMantissa" | "marketGroupId" | "markets" | "maxSupply" | "minSuBorrowValue" | "mintAllowed" | "mintGuardianPaused" | "oracle" | "pauseGuardian" | "redeemAllowed" | "redemptionManager" | "removeAssetGroup" | "renounceRole" | "repayBorrowAllowed" | "revokeRole" | "seizeAllowed" | "seizeGuardianPaused" | "setAccountLiquidity" | "setAssetGroup" | "setCompLogic" | "setCompSpeed" | "setGovTokenAddress" | "setMinSuBorrowValue" | "setRedemptionManager" | "setTimelock" | "suTokenRateMantissa" | "supportsInterface" | "sutokenLiquidationIncentiveMantissa" | "timelock" | "transferAllowed" | "transferGuardianPaused"): FunctionFragment;
|
|
36
|
-
getEvent(nameOrSignatureOrTopic: "ActionPaused" | "Initialized" | "MarketEntered" | "MarketExited" | "MarketListed" | "NewAssetGroup" | "NewBorrowCap" | "NewBorrowCapGuardian" | "NewCloseFactor" | "NewLiquidationIncentive" | "NewPauseGuardian" | "NewPriceOracle" | "RemoveAssetGroup" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked" | "SetMaxSupply"): EventFragment;
|
|
35
|
+
getFunction(nameOrSignature: "CAPPER_ROLE" | "COMP_LOGIC" | "DEFAULT_ADMIN_ROLE" | "PAUSER_ROLE" | "_borrowGuardianPaused" | "_getBorrowCapGuardian" | "_getPauseGuardian" | "_mintGuardianPaused" | "_setBorrowCapGuardian" | "_setBorrowPaused" | "_setCloseFactor" | "_setLiquidationIncentive" | "_setMarketBorrowCaps" | "_setMaxSupply" | "_setMintPaused" | "_setPauseGuardian" | "_setPriceOracle" | "_setProtocolPaused" | "_setSeizePaused" | "_setTransferPaused" | "_supportMarket" | "accountAssets" | "accountLiquidity" | "allMarkets" | "assetGroupIdToIndex" | "borrowAllowed" | "borrowCapGuardian" | "borrowCaps" | "borrowGuardianPaused" | "checkMembership" | "cleanAssetGroup" | "closeFactorMantissa" | "compLogic" | "enterMarkets" | "enterMarketsForAll" | "exitMarket" | "getAccountLiquidity" | "getAccountSafeLimit" | "getAllAssetGroup" | "getAllMarkets" | "getAssetGroup" | "getAssetGroupByIndex" | "getAssetGroupNum" | "getAssetsIn" | "getCollateralRate" | "getCompAddress" | "getHypotheticalAccountLiquidity" | "getRoleAdmin" | "getRoleMember" | "getRoleMemberCount" | "getUnderlyingPriceNormalized" | "governanceToken" | "grantRole" | "hasRole" | "heteroLiquidationIncentiveMantissa" | "homoLiquidationIncentiveMantissa" | "initialize" | "isComptroller" | "isListed" | "liquidateBorrowAllowed" | "liquidationIncentiveMantissa" | "marketGroupId" | "markets" | "maxSupply" | "minCloseValue" | "minSuBorrowValue" | "mintAllowed" | "mintGuardianPaused" | "oracle" | "pauseGuardian" | "redeemAllowed" | "redemptionManager" | "removeAssetGroup" | "renounceRole" | "repayBorrowAllowed" | "revokeRole" | "seizeAllowed" | "seizeGuardianPaused" | "setAccountLiquidity" | "setAssetGroup" | "setCompLogic" | "setCompSpeed" | "setGovTokenAddress" | "setMinCloseValue" | "setMinSuBorrowValue" | "setRedemptionManager" | "setTimelock" | "suTokenRateMantissa" | "supportsInterface" | "sutokenLiquidationIncentiveMantissa" | "timelock" | "transferAllowed" | "transferGuardianPaused"): FunctionFragment;
|
|
36
|
+
getEvent(nameOrSignatureOrTopic: "ActionPaused" | "Initialized" | "MarketEntered" | "MarketExited" | "MarketListed" | "NewAccountLiquidity" | "NewAssetGroup" | "NewBorrowCap" | "NewBorrowCapGuardian" | "NewCloseFactor" | "NewCompLogic" | "NewLiquidationIncentive" | "NewMinCloseValue" | "NewMinSuBorrowValue" | "NewPauseGuardian" | "NewPriceOracle" | "NewRedemptionManager" | "RemoveAssetGroup" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked" | "SetMaxSupply"): EventFragment;
|
|
37
37
|
encodeFunctionData(functionFragment: "CAPPER_ROLE", values?: undefined): string;
|
|
38
38
|
encodeFunctionData(functionFragment: "COMP_LOGIC", values?: undefined): string;
|
|
39
39
|
encodeFunctionData(functionFragment: "DEFAULT_ADMIN_ROLE", values?: undefined): string;
|
|
@@ -108,6 +108,7 @@ export interface ComptrollerInterface extends Interface {
|
|
|
108
108
|
encodeFunctionData(functionFragment: "marketGroupId", values: [AddressLike]): string;
|
|
109
109
|
encodeFunctionData(functionFragment: "markets", values: [AddressLike]): string;
|
|
110
110
|
encodeFunctionData(functionFragment: "maxSupply", values: [AddressLike]): string;
|
|
111
|
+
encodeFunctionData(functionFragment: "minCloseValue", values?: undefined): string;
|
|
111
112
|
encodeFunctionData(functionFragment: "minSuBorrowValue", values?: undefined): string;
|
|
112
113
|
encodeFunctionData(functionFragment: "mintAllowed", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
113
114
|
encodeFunctionData(functionFragment: "mintGuardianPaused", values: [AddressLike]): string;
|
|
@@ -134,6 +135,7 @@ export interface ComptrollerInterface extends Interface {
|
|
|
134
135
|
encodeFunctionData(functionFragment: "setCompLogic", values: [AddressLike]): string;
|
|
135
136
|
encodeFunctionData(functionFragment: "setCompSpeed", values: [AddressLike, BigNumberish, BigNumberish]): string;
|
|
136
137
|
encodeFunctionData(functionFragment: "setGovTokenAddress", values: [AddressLike]): string;
|
|
138
|
+
encodeFunctionData(functionFragment: "setMinCloseValue", values: [BigNumberish]): string;
|
|
137
139
|
encodeFunctionData(functionFragment: "setMinSuBorrowValue", values: [BigNumberish]): string;
|
|
138
140
|
encodeFunctionData(functionFragment: "setRedemptionManager", values: [AddressLike]): string;
|
|
139
141
|
encodeFunctionData(functionFragment: "setTimelock", values: [AddressLike]): string;
|
|
@@ -207,6 +209,7 @@ export interface ComptrollerInterface extends Interface {
|
|
|
207
209
|
decodeFunctionResult(functionFragment: "marketGroupId", data: BytesLike): Result;
|
|
208
210
|
decodeFunctionResult(functionFragment: "markets", data: BytesLike): Result;
|
|
209
211
|
decodeFunctionResult(functionFragment: "maxSupply", data: BytesLike): Result;
|
|
212
|
+
decodeFunctionResult(functionFragment: "minCloseValue", data: BytesLike): Result;
|
|
210
213
|
decodeFunctionResult(functionFragment: "minSuBorrowValue", data: BytesLike): Result;
|
|
211
214
|
decodeFunctionResult(functionFragment: "mintAllowed", data: BytesLike): Result;
|
|
212
215
|
decodeFunctionResult(functionFragment: "mintGuardianPaused", data: BytesLike): Result;
|
|
@@ -225,6 +228,7 @@ export interface ComptrollerInterface extends Interface {
|
|
|
225
228
|
decodeFunctionResult(functionFragment: "setCompLogic", data: BytesLike): Result;
|
|
226
229
|
decodeFunctionResult(functionFragment: "setCompSpeed", data: BytesLike): Result;
|
|
227
230
|
decodeFunctionResult(functionFragment: "setGovTokenAddress", data: BytesLike): Result;
|
|
231
|
+
decodeFunctionResult(functionFragment: "setMinCloseValue", data: BytesLike): Result;
|
|
228
232
|
decodeFunctionResult(functionFragment: "setMinSuBorrowValue", data: BytesLike): Result;
|
|
229
233
|
decodeFunctionResult(functionFragment: "setRedemptionManager", data: BytesLike): Result;
|
|
230
234
|
decodeFunctionResult(functionFragment: "setTimelock", data: BytesLike): Result;
|
|
@@ -302,6 +306,18 @@ export declare namespace MarketListedEvent {
|
|
|
302
306
|
type Log = TypedEventLog<Event>;
|
|
303
307
|
type LogDescription = TypedLogDescription<Event>;
|
|
304
308
|
}
|
|
309
|
+
export declare namespace NewAccountLiquidityEvent {
|
|
310
|
+
type InputTuple = [oldAddress: AddressLike, newAddress: AddressLike];
|
|
311
|
+
type OutputTuple = [oldAddress: string, newAddress: string];
|
|
312
|
+
interface OutputObject {
|
|
313
|
+
oldAddress: string;
|
|
314
|
+
newAddress: string;
|
|
315
|
+
}
|
|
316
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
317
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
318
|
+
type Log = TypedEventLog<Event>;
|
|
319
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
320
|
+
}
|
|
305
321
|
export declare namespace NewAssetGroupEvent {
|
|
306
322
|
type InputTuple = [
|
|
307
323
|
groupId: BigNumberish,
|
|
@@ -386,6 +402,18 @@ export declare namespace NewCloseFactorEvent {
|
|
|
386
402
|
type Log = TypedEventLog<Event>;
|
|
387
403
|
type LogDescription = TypedLogDescription<Event>;
|
|
388
404
|
}
|
|
405
|
+
export declare namespace NewCompLogicEvent {
|
|
406
|
+
type InputTuple = [oldAddress: AddressLike, newAddress: AddressLike];
|
|
407
|
+
type OutputTuple = [oldAddress: string, newAddress: string];
|
|
408
|
+
interface OutputObject {
|
|
409
|
+
oldAddress: string;
|
|
410
|
+
newAddress: string;
|
|
411
|
+
}
|
|
412
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
413
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
414
|
+
type Log = TypedEventLog<Event>;
|
|
415
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
416
|
+
}
|
|
389
417
|
export declare namespace NewLiquidationIncentiveEvent {
|
|
390
418
|
type InputTuple = [
|
|
391
419
|
oldHeteroIncentive: BigNumberish,
|
|
@@ -416,6 +444,30 @@ export declare namespace NewLiquidationIncentiveEvent {
|
|
|
416
444
|
type Log = TypedEventLog<Event>;
|
|
417
445
|
type LogDescription = TypedLogDescription<Event>;
|
|
418
446
|
}
|
|
447
|
+
export declare namespace NewMinCloseValueEvent {
|
|
448
|
+
type InputTuple = [oldValue: BigNumberish, newValue: BigNumberish];
|
|
449
|
+
type OutputTuple = [oldValue: bigint, newValue: bigint];
|
|
450
|
+
interface OutputObject {
|
|
451
|
+
oldValue: bigint;
|
|
452
|
+
newValue: bigint;
|
|
453
|
+
}
|
|
454
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
455
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
456
|
+
type Log = TypedEventLog<Event>;
|
|
457
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
458
|
+
}
|
|
459
|
+
export declare namespace NewMinSuBorrowValueEvent {
|
|
460
|
+
type InputTuple = [oldValue: BigNumberish, newValue: BigNumberish];
|
|
461
|
+
type OutputTuple = [oldValue: bigint, newValue: bigint];
|
|
462
|
+
interface OutputObject {
|
|
463
|
+
oldValue: bigint;
|
|
464
|
+
newValue: bigint;
|
|
465
|
+
}
|
|
466
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
467
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
468
|
+
type Log = TypedEventLog<Event>;
|
|
469
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
470
|
+
}
|
|
419
471
|
export declare namespace NewPauseGuardianEvent {
|
|
420
472
|
type InputTuple = [
|
|
421
473
|
oldPauseGuardian: AddressLike,
|
|
@@ -449,6 +501,18 @@ export declare namespace NewPriceOracleEvent {
|
|
|
449
501
|
type Log = TypedEventLog<Event>;
|
|
450
502
|
type LogDescription = TypedLogDescription<Event>;
|
|
451
503
|
}
|
|
504
|
+
export declare namespace NewRedemptionManagerEvent {
|
|
505
|
+
type InputTuple = [oldAddress: AddressLike, newAddress: AddressLike];
|
|
506
|
+
type OutputTuple = [oldAddress: string, newAddress: string];
|
|
507
|
+
interface OutputObject {
|
|
508
|
+
oldAddress: string;
|
|
509
|
+
newAddress: string;
|
|
510
|
+
}
|
|
511
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
512
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
513
|
+
type Log = TypedEventLog<Event>;
|
|
514
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
515
|
+
}
|
|
452
516
|
export declare namespace RemoveAssetGroupEvent {
|
|
453
517
|
type InputTuple = [
|
|
454
518
|
groupId: BigNumberish,
|
|
@@ -793,6 +857,7 @@ export interface Comptroller extends BaseContract {
|
|
|
793
857
|
}
|
|
794
858
|
], "view">;
|
|
795
859
|
maxSupply: TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
|
|
860
|
+
minCloseValue: TypedContractMethod<[], [bigint], "view">;
|
|
796
861
|
minSuBorrowValue: TypedContractMethod<[], [bigint], "view">;
|
|
797
862
|
mintAllowed: TypedContractMethod<[
|
|
798
863
|
cToken: AddressLike,
|
|
@@ -884,6 +949,11 @@ export interface Comptroller extends BaseContract {
|
|
|
884
949
|
], [
|
|
885
950
|
void
|
|
886
951
|
], "nonpayable">;
|
|
952
|
+
setMinCloseValue: TypedContractMethod<[
|
|
953
|
+
_minCloseValue: BigNumberish
|
|
954
|
+
], [
|
|
955
|
+
void
|
|
956
|
+
], "nonpayable">;
|
|
887
957
|
setMinSuBorrowValue: TypedContractMethod<[
|
|
888
958
|
_minSuBorrowValue: BigNumberish
|
|
889
959
|
], [
|
|
@@ -1123,6 +1193,7 @@ export interface Comptroller extends BaseContract {
|
|
|
1123
1193
|
}
|
|
1124
1194
|
], "view">;
|
|
1125
1195
|
getFunction(nameOrSignature: "maxSupply"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
|
|
1196
|
+
getFunction(nameOrSignature: "minCloseValue"): TypedContractMethod<[], [bigint], "view">;
|
|
1126
1197
|
getFunction(nameOrSignature: "minSuBorrowValue"): TypedContractMethod<[], [bigint], "view">;
|
|
1127
1198
|
getFunction(nameOrSignature: "mintAllowed"): TypedContractMethod<[
|
|
1128
1199
|
cToken: AddressLike,
|
|
@@ -1198,6 +1269,7 @@ export interface Comptroller extends BaseContract {
|
|
|
1198
1269
|
void
|
|
1199
1270
|
], "nonpayable">;
|
|
1200
1271
|
getFunction(nameOrSignature: "setGovTokenAddress"): TypedContractMethod<[_governanceToken: AddressLike], [void], "nonpayable">;
|
|
1272
|
+
getFunction(nameOrSignature: "setMinCloseValue"): TypedContractMethod<[_minCloseValue: BigNumberish], [void], "nonpayable">;
|
|
1201
1273
|
getFunction(nameOrSignature: "setMinSuBorrowValue"): TypedContractMethod<[
|
|
1202
1274
|
_minSuBorrowValue: BigNumberish
|
|
1203
1275
|
], [
|
|
@@ -1227,13 +1299,18 @@ export interface Comptroller extends BaseContract {
|
|
|
1227
1299
|
getEvent(key: "MarketEntered"): TypedContractEvent<MarketEnteredEvent.InputTuple, MarketEnteredEvent.OutputTuple, MarketEnteredEvent.OutputObject>;
|
|
1228
1300
|
getEvent(key: "MarketExited"): TypedContractEvent<MarketExitedEvent.InputTuple, MarketExitedEvent.OutputTuple, MarketExitedEvent.OutputObject>;
|
|
1229
1301
|
getEvent(key: "MarketListed"): TypedContractEvent<MarketListedEvent.InputTuple, MarketListedEvent.OutputTuple, MarketListedEvent.OutputObject>;
|
|
1302
|
+
getEvent(key: "NewAccountLiquidity"): TypedContractEvent<NewAccountLiquidityEvent.InputTuple, NewAccountLiquidityEvent.OutputTuple, NewAccountLiquidityEvent.OutputObject>;
|
|
1230
1303
|
getEvent(key: "NewAssetGroup"): TypedContractEvent<NewAssetGroupEvent.InputTuple, NewAssetGroupEvent.OutputTuple, NewAssetGroupEvent.OutputObject>;
|
|
1231
1304
|
getEvent(key: "NewBorrowCap"): TypedContractEvent<NewBorrowCapEvent.InputTuple, NewBorrowCapEvent.OutputTuple, NewBorrowCapEvent.OutputObject>;
|
|
1232
1305
|
getEvent(key: "NewBorrowCapGuardian"): TypedContractEvent<NewBorrowCapGuardianEvent.InputTuple, NewBorrowCapGuardianEvent.OutputTuple, NewBorrowCapGuardianEvent.OutputObject>;
|
|
1233
1306
|
getEvent(key: "NewCloseFactor"): TypedContractEvent<NewCloseFactorEvent.InputTuple, NewCloseFactorEvent.OutputTuple, NewCloseFactorEvent.OutputObject>;
|
|
1307
|
+
getEvent(key: "NewCompLogic"): TypedContractEvent<NewCompLogicEvent.InputTuple, NewCompLogicEvent.OutputTuple, NewCompLogicEvent.OutputObject>;
|
|
1234
1308
|
getEvent(key: "NewLiquidationIncentive"): TypedContractEvent<NewLiquidationIncentiveEvent.InputTuple, NewLiquidationIncentiveEvent.OutputTuple, NewLiquidationIncentiveEvent.OutputObject>;
|
|
1309
|
+
getEvent(key: "NewMinCloseValue"): TypedContractEvent<NewMinCloseValueEvent.InputTuple, NewMinCloseValueEvent.OutputTuple, NewMinCloseValueEvent.OutputObject>;
|
|
1310
|
+
getEvent(key: "NewMinSuBorrowValue"): TypedContractEvent<NewMinSuBorrowValueEvent.InputTuple, NewMinSuBorrowValueEvent.OutputTuple, NewMinSuBorrowValueEvent.OutputObject>;
|
|
1235
1311
|
getEvent(key: "NewPauseGuardian"): TypedContractEvent<NewPauseGuardianEvent.InputTuple, NewPauseGuardianEvent.OutputTuple, NewPauseGuardianEvent.OutputObject>;
|
|
1236
1312
|
getEvent(key: "NewPriceOracle"): TypedContractEvent<NewPriceOracleEvent.InputTuple, NewPriceOracleEvent.OutputTuple, NewPriceOracleEvent.OutputObject>;
|
|
1313
|
+
getEvent(key: "NewRedemptionManager"): TypedContractEvent<NewRedemptionManagerEvent.InputTuple, NewRedemptionManagerEvent.OutputTuple, NewRedemptionManagerEvent.OutputObject>;
|
|
1237
1314
|
getEvent(key: "RemoveAssetGroup"): TypedContractEvent<RemoveAssetGroupEvent.InputTuple, RemoveAssetGroupEvent.OutputTuple, RemoveAssetGroupEvent.OutputObject>;
|
|
1238
1315
|
getEvent(key: "RoleAdminChanged"): TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
|
|
1239
1316
|
getEvent(key: "RoleGranted"): TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
|
|
@@ -1250,6 +1327,8 @@ export interface Comptroller extends BaseContract {
|
|
|
1250
1327
|
MarketExited: TypedContractEvent<MarketExitedEvent.InputTuple, MarketExitedEvent.OutputTuple, MarketExitedEvent.OutputObject>;
|
|
1251
1328
|
"MarketListed(address)": TypedContractEvent<MarketListedEvent.InputTuple, MarketListedEvent.OutputTuple, MarketListedEvent.OutputObject>;
|
|
1252
1329
|
MarketListed: TypedContractEvent<MarketListedEvent.InputTuple, MarketListedEvent.OutputTuple, MarketListedEvent.OutputObject>;
|
|
1330
|
+
"NewAccountLiquidity(address,address)": TypedContractEvent<NewAccountLiquidityEvent.InputTuple, NewAccountLiquidityEvent.OutputTuple, NewAccountLiquidityEvent.OutputObject>;
|
|
1331
|
+
NewAccountLiquidity: TypedContractEvent<NewAccountLiquidityEvent.InputTuple, NewAccountLiquidityEvent.OutputTuple, NewAccountLiquidityEvent.OutputObject>;
|
|
1253
1332
|
"NewAssetGroup(uint8,string,uint256,uint256,uint256,uint256,uint256,uint8)": TypedContractEvent<NewAssetGroupEvent.InputTuple, NewAssetGroupEvent.OutputTuple, NewAssetGroupEvent.OutputObject>;
|
|
1254
1333
|
NewAssetGroup: TypedContractEvent<NewAssetGroupEvent.InputTuple, NewAssetGroupEvent.OutputTuple, NewAssetGroupEvent.OutputObject>;
|
|
1255
1334
|
"NewBorrowCap(address,uint256)": TypedContractEvent<NewBorrowCapEvent.InputTuple, NewBorrowCapEvent.OutputTuple, NewBorrowCapEvent.OutputObject>;
|
|
@@ -1258,12 +1337,20 @@ export interface Comptroller extends BaseContract {
|
|
|
1258
1337
|
NewBorrowCapGuardian: TypedContractEvent<NewBorrowCapGuardianEvent.InputTuple, NewBorrowCapGuardianEvent.OutputTuple, NewBorrowCapGuardianEvent.OutputObject>;
|
|
1259
1338
|
"NewCloseFactor(uint256,uint256)": TypedContractEvent<NewCloseFactorEvent.InputTuple, NewCloseFactorEvent.OutputTuple, NewCloseFactorEvent.OutputObject>;
|
|
1260
1339
|
NewCloseFactor: TypedContractEvent<NewCloseFactorEvent.InputTuple, NewCloseFactorEvent.OutputTuple, NewCloseFactorEvent.OutputObject>;
|
|
1340
|
+
"NewCompLogic(address,address)": TypedContractEvent<NewCompLogicEvent.InputTuple, NewCompLogicEvent.OutputTuple, NewCompLogicEvent.OutputObject>;
|
|
1341
|
+
NewCompLogic: TypedContractEvent<NewCompLogicEvent.InputTuple, NewCompLogicEvent.OutputTuple, NewCompLogicEvent.OutputObject>;
|
|
1261
1342
|
"NewLiquidationIncentive(uint256,uint256,uint256,uint256,uint256,uint256)": TypedContractEvent<NewLiquidationIncentiveEvent.InputTuple, NewLiquidationIncentiveEvent.OutputTuple, NewLiquidationIncentiveEvent.OutputObject>;
|
|
1262
1343
|
NewLiquidationIncentive: TypedContractEvent<NewLiquidationIncentiveEvent.InputTuple, NewLiquidationIncentiveEvent.OutputTuple, NewLiquidationIncentiveEvent.OutputObject>;
|
|
1344
|
+
"NewMinCloseValue(uint256,uint256)": TypedContractEvent<NewMinCloseValueEvent.InputTuple, NewMinCloseValueEvent.OutputTuple, NewMinCloseValueEvent.OutputObject>;
|
|
1345
|
+
NewMinCloseValue: TypedContractEvent<NewMinCloseValueEvent.InputTuple, NewMinCloseValueEvent.OutputTuple, NewMinCloseValueEvent.OutputObject>;
|
|
1346
|
+
"NewMinSuBorrowValue(uint256,uint256)": TypedContractEvent<NewMinSuBorrowValueEvent.InputTuple, NewMinSuBorrowValueEvent.OutputTuple, NewMinSuBorrowValueEvent.OutputObject>;
|
|
1347
|
+
NewMinSuBorrowValue: TypedContractEvent<NewMinSuBorrowValueEvent.InputTuple, NewMinSuBorrowValueEvent.OutputTuple, NewMinSuBorrowValueEvent.OutputObject>;
|
|
1263
1348
|
"NewPauseGuardian(address,address)": TypedContractEvent<NewPauseGuardianEvent.InputTuple, NewPauseGuardianEvent.OutputTuple, NewPauseGuardianEvent.OutputObject>;
|
|
1264
1349
|
NewPauseGuardian: TypedContractEvent<NewPauseGuardianEvent.InputTuple, NewPauseGuardianEvent.OutputTuple, NewPauseGuardianEvent.OutputObject>;
|
|
1265
1350
|
"NewPriceOracle(address,address)": TypedContractEvent<NewPriceOracleEvent.InputTuple, NewPriceOracleEvent.OutputTuple, NewPriceOracleEvent.OutputObject>;
|
|
1266
1351
|
NewPriceOracle: TypedContractEvent<NewPriceOracleEvent.InputTuple, NewPriceOracleEvent.OutputTuple, NewPriceOracleEvent.OutputObject>;
|
|
1352
|
+
"NewRedemptionManager(address,address)": TypedContractEvent<NewRedemptionManagerEvent.InputTuple, NewRedemptionManagerEvent.OutputTuple, NewRedemptionManagerEvent.OutputObject>;
|
|
1353
|
+
NewRedemptionManager: TypedContractEvent<NewRedemptionManagerEvent.InputTuple, NewRedemptionManagerEvent.OutputTuple, NewRedemptionManagerEvent.OutputObject>;
|
|
1267
1354
|
"RemoveAssetGroup(uint8,uint8)": TypedContractEvent<RemoveAssetGroupEvent.InputTuple, RemoveAssetGroupEvent.OutputTuple, RemoveAssetGroupEvent.OutputObject>;
|
|
1268
1355
|
RemoveAssetGroup: TypedContractEvent<RemoveAssetGroupEvent.InputTuple, RemoveAssetGroupEvent.OutputTuple, RemoveAssetGroupEvent.OutputObject>;
|
|
1269
1356
|
"RoleAdminChanged(bytes32,bytes32,bytes32)": TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
|
|
@@ -1,8 +1,8 @@
|
|
|
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
3
|
export interface ERC20MinterBurnerPauserPermitInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "DEFAULT_ADMIN_ROLE" | "DOMAIN_SEPARATOR" | "MINTER_ROLE" | "PAUSER_ROLE" | "allowance" | "approve" | "balanceOf" | "burn" | "burnFrom" | "decimals" | "decreaseAllowance" | "
|
|
5
|
-
getEvent(nameOrSignatureOrTopic: "Approval" | "
|
|
4
|
+
getFunction(nameOrSignature: "DEFAULT_ADMIN_ROLE" | "DOMAIN_SEPARATOR" | "MINTER_ROLE" | "PAUSER_ROLE" | "allowance" | "approve" | "balanceOf" | "burn" | "burnFrom" | "decimals" | "decreaseAllowance" | "getRoleAdmin" | "getRoleMember" | "getRoleMemberCount" | "grantRole" | "hasRole" | "increaseAllowance" | "mint" | "name" | "nonces" | "pause" | "paused" | "permit(address,address,uint256,uint256,bytes)" | "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)" | "renounceRole" | "revokeRole" | "supportsInterface" | "symbol" | "totalSupply" | "transfer" | "transferFrom" | "unpause"): FunctionFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "Approval" | "Paused" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked" | "Transfer" | "Unpaused"): EventFragment;
|
|
6
6
|
encodeFunctionData(functionFragment: "DEFAULT_ADMIN_ROLE", values?: undefined): string;
|
|
7
7
|
encodeFunctionData(functionFragment: "DOMAIN_SEPARATOR", values?: undefined): string;
|
|
8
8
|
encodeFunctionData(functionFragment: "MINTER_ROLE", values?: undefined): string;
|
|
@@ -14,7 +14,6 @@ export interface ERC20MinterBurnerPauserPermitInterface extends Interface {
|
|
|
14
14
|
encodeFunctionData(functionFragment: "burnFrom", values: [AddressLike, BigNumberish]): string;
|
|
15
15
|
encodeFunctionData(functionFragment: "decimals", values?: undefined): string;
|
|
16
16
|
encodeFunctionData(functionFragment: "decreaseAllowance", values: [AddressLike, BigNumberish]): string;
|
|
17
|
-
encodeFunctionData(functionFragment: "eip712Domain", values?: undefined): string;
|
|
18
17
|
encodeFunctionData(functionFragment: "getRoleAdmin", values: [BytesLike]): string;
|
|
19
18
|
encodeFunctionData(functionFragment: "getRoleMember", values: [BytesLike, BigNumberish]): string;
|
|
20
19
|
encodeFunctionData(functionFragment: "getRoleMemberCount", values: [BytesLike]): string;
|
|
@@ -55,7 +54,6 @@ export interface ERC20MinterBurnerPauserPermitInterface extends Interface {
|
|
|
55
54
|
decodeFunctionResult(functionFragment: "burnFrom", data: BytesLike): Result;
|
|
56
55
|
decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result;
|
|
57
56
|
decodeFunctionResult(functionFragment: "decreaseAllowance", data: BytesLike): Result;
|
|
58
|
-
decodeFunctionResult(functionFragment: "eip712Domain", data: BytesLike): Result;
|
|
59
57
|
decodeFunctionResult(functionFragment: "getRoleAdmin", data: BytesLike): Result;
|
|
60
58
|
decodeFunctionResult(functionFragment: "getRoleMember", data: BytesLike): Result;
|
|
61
59
|
decodeFunctionResult(functionFragment: "getRoleMemberCount", data: BytesLike): Result;
|
|
@@ -95,16 +93,6 @@ export declare namespace ApprovalEvent {
|
|
|
95
93
|
type Log = TypedEventLog<Event>;
|
|
96
94
|
type LogDescription = TypedLogDescription<Event>;
|
|
97
95
|
}
|
|
98
|
-
export declare namespace EIP712DomainChangedEvent {
|
|
99
|
-
type InputTuple = [];
|
|
100
|
-
type OutputTuple = [];
|
|
101
|
-
interface OutputObject {
|
|
102
|
-
}
|
|
103
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
104
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
105
|
-
type Log = TypedEventLog<Event>;
|
|
106
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
107
|
-
}
|
|
108
96
|
export declare namespace PausedEvent {
|
|
109
97
|
type InputTuple = [account: AddressLike];
|
|
110
98
|
type OutputTuple = [account: string];
|
|
@@ -243,26 +231,6 @@ export interface ERC20MinterBurnerPauserPermit extends BaseContract {
|
|
|
243
231
|
], [
|
|
244
232
|
boolean
|
|
245
233
|
], "nonpayable">;
|
|
246
|
-
eip712Domain: TypedContractMethod<[
|
|
247
|
-
], [
|
|
248
|
-
[
|
|
249
|
-
string,
|
|
250
|
-
string,
|
|
251
|
-
string,
|
|
252
|
-
bigint,
|
|
253
|
-
string,
|
|
254
|
-
string,
|
|
255
|
-
bigint[]
|
|
256
|
-
] & {
|
|
257
|
-
fields: string;
|
|
258
|
-
name: string;
|
|
259
|
-
version: string;
|
|
260
|
-
chainId: bigint;
|
|
261
|
-
verifyingContract: string;
|
|
262
|
-
salt: string;
|
|
263
|
-
extensions: bigint[];
|
|
264
|
-
}
|
|
265
|
-
], "view">;
|
|
266
234
|
getRoleAdmin: TypedContractMethod<[role: BytesLike], [string], "view">;
|
|
267
235
|
getRoleMember: TypedContractMethod<[
|
|
268
236
|
role: BytesLike,
|
|
@@ -384,26 +352,6 @@ export interface ERC20MinterBurnerPauserPermit extends BaseContract {
|
|
|
384
352
|
], [
|
|
385
353
|
boolean
|
|
386
354
|
], "nonpayable">;
|
|
387
|
-
getFunction(nameOrSignature: "eip712Domain"): TypedContractMethod<[
|
|
388
|
-
], [
|
|
389
|
-
[
|
|
390
|
-
string,
|
|
391
|
-
string,
|
|
392
|
-
string,
|
|
393
|
-
bigint,
|
|
394
|
-
string,
|
|
395
|
-
string,
|
|
396
|
-
bigint[]
|
|
397
|
-
] & {
|
|
398
|
-
fields: string;
|
|
399
|
-
name: string;
|
|
400
|
-
version: string;
|
|
401
|
-
chainId: bigint;
|
|
402
|
-
verifyingContract: string;
|
|
403
|
-
salt: string;
|
|
404
|
-
extensions: bigint[];
|
|
405
|
-
}
|
|
406
|
-
], "view">;
|
|
407
355
|
getFunction(nameOrSignature: "getRoleAdmin"): TypedContractMethod<[role: BytesLike], [string], "view">;
|
|
408
356
|
getFunction(nameOrSignature: "getRoleMember"): TypedContractMethod<[
|
|
409
357
|
role: BytesLike,
|
|
@@ -490,7 +438,6 @@ export interface ERC20MinterBurnerPauserPermit extends BaseContract {
|
|
|
490
438
|
], "nonpayable">;
|
|
491
439
|
getFunction(nameOrSignature: "unpause"): TypedContractMethod<[], [void], "nonpayable">;
|
|
492
440
|
getEvent(key: "Approval"): TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
493
|
-
getEvent(key: "EIP712DomainChanged"): TypedContractEvent<EIP712DomainChangedEvent.InputTuple, EIP712DomainChangedEvent.OutputTuple, EIP712DomainChangedEvent.OutputObject>;
|
|
494
441
|
getEvent(key: "Paused"): TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
495
442
|
getEvent(key: "RoleAdminChanged"): TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
|
|
496
443
|
getEvent(key: "RoleGranted"): TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
|
|
@@ -500,8 +447,6 @@ export interface ERC20MinterBurnerPauserPermit extends BaseContract {
|
|
|
500
447
|
filters: {
|
|
501
448
|
"Approval(address,address,uint256)": TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
502
449
|
Approval: TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
503
|
-
"EIP712DomainChanged()": TypedContractEvent<EIP712DomainChangedEvent.InputTuple, EIP712DomainChangedEvent.OutputTuple, EIP712DomainChangedEvent.OutputObject>;
|
|
504
|
-
EIP712DomainChanged: TypedContractEvent<EIP712DomainChangedEvent.InputTuple, EIP712DomainChangedEvent.OutputTuple, EIP712DomainChangedEvent.OutputObject>;
|
|
505
450
|
"Paused(address)": TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
506
451
|
Paused: TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
507
452
|
"RoleAdminChanged(bytes32,bytes32,bytes32)": TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
|
|
@@ -0,0 +1,139 @@
|
|
|
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 interface FixedInterestRateModelInterface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "acceptOwnership" | "borrowRate" | "getBorrowRate" | "getSupplyRate" | "isInterestRateModel" | "owner" | "pendingOwner" | "renounceOwnership" | "setBorrowRate" | "setSupplyRate" | "supplyRate" | "transferOwnership"): FunctionFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "OwnershipTransferStarted" | "OwnershipTransferred"): EventFragment;
|
|
6
|
+
encodeFunctionData(functionFragment: "acceptOwnership", values?: undefined): string;
|
|
7
|
+
encodeFunctionData(functionFragment: "borrowRate", values?: undefined): string;
|
|
8
|
+
encodeFunctionData(functionFragment: "getBorrowRate", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
9
|
+
encodeFunctionData(functionFragment: "getSupplyRate", values: [BigNumberish, BigNumberish, BigNumberish, BigNumberish]): string;
|
|
10
|
+
encodeFunctionData(functionFragment: "isInterestRateModel", values?: undefined): string;
|
|
11
|
+
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
|
|
12
|
+
encodeFunctionData(functionFragment: "pendingOwner", values?: undefined): string;
|
|
13
|
+
encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string;
|
|
14
|
+
encodeFunctionData(functionFragment: "setBorrowRate", values: [BigNumberish]): string;
|
|
15
|
+
encodeFunctionData(functionFragment: "setSupplyRate", values: [BigNumberish]): string;
|
|
16
|
+
encodeFunctionData(functionFragment: "supplyRate", values?: undefined): string;
|
|
17
|
+
encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string;
|
|
18
|
+
decodeFunctionResult(functionFragment: "acceptOwnership", data: BytesLike): Result;
|
|
19
|
+
decodeFunctionResult(functionFragment: "borrowRate", data: BytesLike): Result;
|
|
20
|
+
decodeFunctionResult(functionFragment: "getBorrowRate", data: BytesLike): Result;
|
|
21
|
+
decodeFunctionResult(functionFragment: "getSupplyRate", data: BytesLike): Result;
|
|
22
|
+
decodeFunctionResult(functionFragment: "isInterestRateModel", data: BytesLike): Result;
|
|
23
|
+
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
|
|
24
|
+
decodeFunctionResult(functionFragment: "pendingOwner", data: BytesLike): Result;
|
|
25
|
+
decodeFunctionResult(functionFragment: "renounceOwnership", data: BytesLike): Result;
|
|
26
|
+
decodeFunctionResult(functionFragment: "setBorrowRate", data: BytesLike): Result;
|
|
27
|
+
decodeFunctionResult(functionFragment: "setSupplyRate", data: BytesLike): Result;
|
|
28
|
+
decodeFunctionResult(functionFragment: "supplyRate", data: BytesLike): Result;
|
|
29
|
+
decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result;
|
|
30
|
+
}
|
|
31
|
+
export declare namespace OwnershipTransferStartedEvent {
|
|
32
|
+
type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
|
|
33
|
+
type OutputTuple = [previousOwner: string, newOwner: string];
|
|
34
|
+
interface OutputObject {
|
|
35
|
+
previousOwner: string;
|
|
36
|
+
newOwner: string;
|
|
37
|
+
}
|
|
38
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
39
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
40
|
+
type Log = TypedEventLog<Event>;
|
|
41
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
42
|
+
}
|
|
43
|
+
export declare namespace OwnershipTransferredEvent {
|
|
44
|
+
type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
|
|
45
|
+
type OutputTuple = [previousOwner: string, newOwner: string];
|
|
46
|
+
interface OutputObject {
|
|
47
|
+
previousOwner: string;
|
|
48
|
+
newOwner: string;
|
|
49
|
+
}
|
|
50
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
51
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
52
|
+
type Log = TypedEventLog<Event>;
|
|
53
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
54
|
+
}
|
|
55
|
+
export interface FixedInterestRateModel extends BaseContract {
|
|
56
|
+
connect(runner?: ContractRunner | null): FixedInterestRateModel;
|
|
57
|
+
waitForDeployment(): Promise<this>;
|
|
58
|
+
interface: FixedInterestRateModelInterface;
|
|
59
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
60
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
61
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
62
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
63
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
64
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
65
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
66
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
67
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
68
|
+
acceptOwnership: TypedContractMethod<[], [void], "nonpayable">;
|
|
69
|
+
borrowRate: TypedContractMethod<[], [bigint], "view">;
|
|
70
|
+
getBorrowRate: TypedContractMethod<[
|
|
71
|
+
cash: BigNumberish,
|
|
72
|
+
borrows: BigNumberish,
|
|
73
|
+
reserves: BigNumberish
|
|
74
|
+
], [
|
|
75
|
+
bigint
|
|
76
|
+
], "view">;
|
|
77
|
+
getSupplyRate: TypedContractMethod<[
|
|
78
|
+
cash: BigNumberish,
|
|
79
|
+
borrows: BigNumberish,
|
|
80
|
+
reserves: BigNumberish,
|
|
81
|
+
reserveFactorMantissa: BigNumberish
|
|
82
|
+
], [
|
|
83
|
+
bigint
|
|
84
|
+
], "view">;
|
|
85
|
+
isInterestRateModel: TypedContractMethod<[], [boolean], "view">;
|
|
86
|
+
owner: TypedContractMethod<[], [string], "view">;
|
|
87
|
+
pendingOwner: TypedContractMethod<[], [string], "view">;
|
|
88
|
+
renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
|
|
89
|
+
setBorrowRate: TypedContractMethod<[
|
|
90
|
+
rate: BigNumberish
|
|
91
|
+
], [
|
|
92
|
+
void
|
|
93
|
+
], "nonpayable">;
|
|
94
|
+
setSupplyRate: TypedContractMethod<[
|
|
95
|
+
rate: BigNumberish
|
|
96
|
+
], [
|
|
97
|
+
void
|
|
98
|
+
], "nonpayable">;
|
|
99
|
+
supplyRate: TypedContractMethod<[], [bigint], "view">;
|
|
100
|
+
transferOwnership: TypedContractMethod<[
|
|
101
|
+
newOwner: AddressLike
|
|
102
|
+
], [
|
|
103
|
+
void
|
|
104
|
+
], "nonpayable">;
|
|
105
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
106
|
+
getFunction(nameOrSignature: "acceptOwnership"): TypedContractMethod<[], [void], "nonpayable">;
|
|
107
|
+
getFunction(nameOrSignature: "borrowRate"): TypedContractMethod<[], [bigint], "view">;
|
|
108
|
+
getFunction(nameOrSignature: "getBorrowRate"): TypedContractMethod<[
|
|
109
|
+
cash: BigNumberish,
|
|
110
|
+
borrows: BigNumberish,
|
|
111
|
+
reserves: BigNumberish
|
|
112
|
+
], [
|
|
113
|
+
bigint
|
|
114
|
+
], "view">;
|
|
115
|
+
getFunction(nameOrSignature: "getSupplyRate"): TypedContractMethod<[
|
|
116
|
+
cash: BigNumberish,
|
|
117
|
+
borrows: BigNumberish,
|
|
118
|
+
reserves: BigNumberish,
|
|
119
|
+
reserveFactorMantissa: BigNumberish
|
|
120
|
+
], [
|
|
121
|
+
bigint
|
|
122
|
+
], "view">;
|
|
123
|
+
getFunction(nameOrSignature: "isInterestRateModel"): TypedContractMethod<[], [boolean], "view">;
|
|
124
|
+
getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">;
|
|
125
|
+
getFunction(nameOrSignature: "pendingOwner"): TypedContractMethod<[], [string], "view">;
|
|
126
|
+
getFunction(nameOrSignature: "renounceOwnership"): TypedContractMethod<[], [void], "nonpayable">;
|
|
127
|
+
getFunction(nameOrSignature: "setBorrowRate"): TypedContractMethod<[rate: BigNumberish], [void], "nonpayable">;
|
|
128
|
+
getFunction(nameOrSignature: "setSupplyRate"): TypedContractMethod<[rate: BigNumberish], [void], "nonpayable">;
|
|
129
|
+
getFunction(nameOrSignature: "supplyRate"): TypedContractMethod<[], [bigint], "view">;
|
|
130
|
+
getFunction(nameOrSignature: "transferOwnership"): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
|
|
131
|
+
getEvent(key: "OwnershipTransferStarted"): TypedContractEvent<OwnershipTransferStartedEvent.InputTuple, OwnershipTransferStartedEvent.OutputTuple, OwnershipTransferStartedEvent.OutputObject>;
|
|
132
|
+
getEvent(key: "OwnershipTransferred"): TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
133
|
+
filters: {
|
|
134
|
+
"OwnershipTransferStarted(address,address)": TypedContractEvent<OwnershipTransferStartedEvent.InputTuple, OwnershipTransferStartedEvent.OutputTuple, OwnershipTransferStartedEvent.OutputObject>;
|
|
135
|
+
OwnershipTransferStarted: TypedContractEvent<OwnershipTransferStartedEvent.InputTuple, OwnershipTransferStartedEvent.OutputTuple, OwnershipTransferStartedEvent.OutputObject>;
|
|
136
|
+
"OwnershipTransferred(address,address)": TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
137
|
+
OwnershipTransferred: TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
138
|
+
};
|
|
139
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FixedInterestRateModel.js","sourceRoot":"","sources":["../../../../../src/typechain/contracts/InterestRateModel/FixedInterestRateModel.ts"],"names":[],"mappings":""}
|