@meterio/sumer-js 0.1.4 → 0.1.6
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/package.json +1 -1
- package/dist/browser/compound.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/@openzeppelin/contracts/governance/TimelockController.d.ts +0 -526
- package/dist/nodejs/typechain/@openzeppelin/contracts/governance/TimelockController.js +0 -3
- package/dist/nodejs/typechain/@openzeppelin/contracts/governance/TimelockController.js.map +0 -1
- package/dist/nodejs/typechain/@openzeppelin/contracts/governance/index.d.ts +0 -1
- package/dist/nodejs/typechain/@openzeppelin/contracts/governance/index.js +0 -3
- package/dist/nodejs/typechain/@openzeppelin/contracts/governance/index.js.map +0 -1
- package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.d.ts +0 -75
- package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.js +0 -3
- package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.js.map +0 -1
- package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC1155/index.d.ts +0 -1
- package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC1155/index.js +0 -3
- package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC1155/index.js.map +0 -1
- package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.d.ts +0 -1
- package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.js +0 -3
- package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.js.map +0 -1
- package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC721/IERC721Receiver.d.ts +0 -39
- package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC721/IERC721Receiver.js +0 -3
- package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC721/IERC721Receiver.js.map +0 -1
- package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC721/index.d.ts +0 -1
- package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC721/index.js +0 -3
- package/dist/nodejs/typechain/@openzeppelin/contracts/token/ERC721/index.js.map +0 -1
- package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/security/index.d.ts +0 -1
- package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/security/index.js +0 -3
- package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/security/index.js.map +0 -1
- package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/index.d.ts +0 -1
- package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/index.js +0 -3
- package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/index.js.map +0 -1
- package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/token/ERC20/index.d.ts +0 -4
- package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/token/ERC20/index.js +0 -3
- package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/token/ERC20/index.js.map +0 -1
- package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/token/index.d.ts +0 -2
- package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/token/index.js +0 -3
- package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/token/index.js.map +0 -1
- package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/utils/cryptography/index.d.ts +0 -1
- package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/utils/cryptography/index.js +0 -3
- package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/utils/cryptography/index.js.map +0 -1
- package/dist/nodejs/typechain/contracts/ITimelock.d.ts +0 -184
- package/dist/nodejs/typechain/contracts/ITimelock.js +0 -3
- 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 +0 -3
- 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 +0 -3
- 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 +0 -3
- 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 +0 -3
- package/dist/nodejs/typechain/contracts/Interface/index.js.map +0 -1
- package/dist/nodejs/typechain/contracts/SumerTimelockController.sol/SumerTimelockController.d.ts +0 -526
- package/dist/nodejs/typechain/contracts/SumerTimelockController.sol/SumerTimelockController.js +0 -3
- package/dist/nodejs/typechain/contracts/SumerTimelockController.sol/SumerTimelockController.js.map +0 -1
- package/dist/nodejs/typechain/contracts/SumerTimelockController.sol/Timelock.d.ts +0 -526
- package/dist/nodejs/typechain/contracts/SumerTimelockController.sol/Timelock.js +0 -3
- package/dist/nodejs/typechain/contracts/SumerTimelockController.sol/Timelock.js.map +0 -1
- package/dist/nodejs/typechain/contracts/SumerTimelockController.sol/index.d.ts +0 -2
- package/dist/nodejs/typechain/contracts/SumerTimelockController.sol/index.js +0 -3
- package/dist/nodejs/typechain/contracts/SumerTimelockController.sol/index.js.map +0 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/governance/TimelockController__factory.d.ts +0 -711
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/governance/TimelockController__factory.js +0 -929
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/governance/TimelockController__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/governance/index.d.ts +0 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/governance/index.js +0 -9
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/governance/index.js.map +0 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver__factory.d.ts +0 -81
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver__factory.js +0 -117
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC1155/index.d.ts +0 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC1155/index.js +0 -9
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC1155/index.js.map +0 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.d.ts +0 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.js +0 -9
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol/index.js.map +0 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC721/IERC721Receiver__factory.d.ts +0 -33
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC721/IERC721Receiver__factory.js +0 -54
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC721/IERC721Receiver__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC721/index.d.ts +0 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC721/index.js +0 -9
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts/token/ERC721/index.js.map +0 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/index.d.ts +0 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/index.js +0 -9
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/index.js.map +0 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/index.d.ts +0 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/index.js +0 -9
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/index.js.map +0 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/token/ERC20/index.d.ts +0 -3
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/token/ERC20/index.js +0 -35
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/token/ERC20/index.js.map +0 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/token/index.d.ts +0 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/token/index.js +0 -31
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/token/index.js.map +0 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/utils/cryptography/index.d.ts +0 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/utils/cryptography/index.js +0 -9
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/utils/cryptography/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/factories/contracts/SumerTimelockController.sol/SumerTimelockController__factory.d.ts +0 -707
- package/dist/nodejs/typechain/factories/contracts/SumerTimelockController.sol/SumerTimelockController__factory.js +0 -924
- package/dist/nodejs/typechain/factories/contracts/SumerTimelockController.sol/SumerTimelockController__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/SumerTimelockController.sol/Timelock__factory.d.ts +0 -707
- package/dist/nodejs/typechain/factories/contracts/SumerTimelockController.sol/Timelock__factory.js +0 -924
- package/dist/nodejs/typechain/factories/contracts/SumerTimelockController.sol/Timelock__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/SumerTimelockController.sol/index.d.ts +0 -2
- package/dist/nodejs/typechain/factories/contracts/SumerTimelockController.sol/index.js +0 -11
- package/dist/nodejs/typechain/factories/contracts/SumerTimelockController.sol/index.js.map +0 -1
|
@@ -1,161 +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 interface IEIP20NonStandardInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "allowance" | "approve" | "balanceOf" | "burn" | "burnFrom" | "mint" | "totalSupply" | "transfer" | "transferFrom"): FunctionFragment;
|
|
5
|
-
getEvent(nameOrSignatureOrTopic: "Approval" | "Transfer"): EventFragment;
|
|
6
|
-
encodeFunctionData(functionFragment: "allowance", values: [AddressLike, AddressLike]): string;
|
|
7
|
-
encodeFunctionData(functionFragment: "approve", values: [AddressLike, BigNumberish]): string;
|
|
8
|
-
encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string;
|
|
9
|
-
encodeFunctionData(functionFragment: "burn", values: [BigNumberish]): string;
|
|
10
|
-
encodeFunctionData(functionFragment: "burnFrom", values: [AddressLike, BigNumberish]): string;
|
|
11
|
-
encodeFunctionData(functionFragment: "mint", values: [AddressLike, BigNumberish]): string;
|
|
12
|
-
encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
|
|
13
|
-
encodeFunctionData(functionFragment: "transfer", values: [AddressLike, BigNumberish]): string;
|
|
14
|
-
encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
15
|
-
decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
|
|
16
|
-
decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
|
|
17
|
-
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
|
|
18
|
-
decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result;
|
|
19
|
-
decodeFunctionResult(functionFragment: "burnFrom", data: BytesLike): Result;
|
|
20
|
-
decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result;
|
|
21
|
-
decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result;
|
|
22
|
-
decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
|
|
23
|
-
decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
|
|
24
|
-
}
|
|
25
|
-
export declare namespace ApprovalEvent {
|
|
26
|
-
type InputTuple = [
|
|
27
|
-
owner: AddressLike,
|
|
28
|
-
spender: AddressLike,
|
|
29
|
-
amount: BigNumberish
|
|
30
|
-
];
|
|
31
|
-
type OutputTuple = [owner: string, spender: string, amount: bigint];
|
|
32
|
-
interface OutputObject {
|
|
33
|
-
owner: string;
|
|
34
|
-
spender: string;
|
|
35
|
-
amount: bigint;
|
|
36
|
-
}
|
|
37
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
38
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
39
|
-
type Log = TypedEventLog<Event>;
|
|
40
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
41
|
-
}
|
|
42
|
-
export declare namespace TransferEvent {
|
|
43
|
-
type InputTuple = [
|
|
44
|
-
from: AddressLike,
|
|
45
|
-
to: AddressLike,
|
|
46
|
-
amount: BigNumberish
|
|
47
|
-
];
|
|
48
|
-
type OutputTuple = [from: string, to: string, amount: bigint];
|
|
49
|
-
interface OutputObject {
|
|
50
|
-
from: string;
|
|
51
|
-
to: string;
|
|
52
|
-
amount: bigint;
|
|
53
|
-
}
|
|
54
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
55
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
56
|
-
type Log = TypedEventLog<Event>;
|
|
57
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
58
|
-
}
|
|
59
|
-
export interface IEIP20NonStandard extends BaseContract {
|
|
60
|
-
connect(runner?: ContractRunner | null): IEIP20NonStandard;
|
|
61
|
-
waitForDeployment(): Promise<this>;
|
|
62
|
-
interface: IEIP20NonStandardInterface;
|
|
63
|
-
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
64
|
-
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
65
|
-
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
66
|
-
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
67
|
-
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
68
|
-
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
69
|
-
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
70
|
-
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
71
|
-
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
72
|
-
allowance: TypedContractMethod<[
|
|
73
|
-
owner: AddressLike,
|
|
74
|
-
spender: AddressLike
|
|
75
|
-
], [
|
|
76
|
-
bigint
|
|
77
|
-
], "view">;
|
|
78
|
-
approve: TypedContractMethod<[
|
|
79
|
-
spender: AddressLike,
|
|
80
|
-
amount: BigNumberish
|
|
81
|
-
], [
|
|
82
|
-
boolean
|
|
83
|
-
], "nonpayable">;
|
|
84
|
-
balanceOf: TypedContractMethod<[owner: AddressLike], [bigint], "view">;
|
|
85
|
-
burn: TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
86
|
-
burnFrom: TypedContractMethod<[
|
|
87
|
-
account: AddressLike,
|
|
88
|
-
amount: BigNumberish
|
|
89
|
-
], [
|
|
90
|
-
void
|
|
91
|
-
], "nonpayable">;
|
|
92
|
-
mint: TypedContractMethod<[
|
|
93
|
-
to: AddressLike,
|
|
94
|
-
amount: BigNumberish
|
|
95
|
-
], [
|
|
96
|
-
void
|
|
97
|
-
], "nonpayable">;
|
|
98
|
-
totalSupply: TypedContractMethod<[], [bigint], "view">;
|
|
99
|
-
transfer: TypedContractMethod<[
|
|
100
|
-
dst: AddressLike,
|
|
101
|
-
amount: BigNumberish
|
|
102
|
-
], [
|
|
103
|
-
void
|
|
104
|
-
], "nonpayable">;
|
|
105
|
-
transferFrom: TypedContractMethod<[
|
|
106
|
-
src: AddressLike,
|
|
107
|
-
dst: AddressLike,
|
|
108
|
-
amount: BigNumberish
|
|
109
|
-
], [
|
|
110
|
-
void
|
|
111
|
-
], "nonpayable">;
|
|
112
|
-
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
113
|
-
getFunction(nameOrSignature: "allowance"): TypedContractMethod<[
|
|
114
|
-
owner: AddressLike,
|
|
115
|
-
spender: AddressLike
|
|
116
|
-
], [
|
|
117
|
-
bigint
|
|
118
|
-
], "view">;
|
|
119
|
-
getFunction(nameOrSignature: "approve"): TypedContractMethod<[
|
|
120
|
-
spender: AddressLike,
|
|
121
|
-
amount: BigNumberish
|
|
122
|
-
], [
|
|
123
|
-
boolean
|
|
124
|
-
], "nonpayable">;
|
|
125
|
-
getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[owner: AddressLike], [bigint], "view">;
|
|
126
|
-
getFunction(nameOrSignature: "burn"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
127
|
-
getFunction(nameOrSignature: "burnFrom"): TypedContractMethod<[
|
|
128
|
-
account: AddressLike,
|
|
129
|
-
amount: BigNumberish
|
|
130
|
-
], [
|
|
131
|
-
void
|
|
132
|
-
], "nonpayable">;
|
|
133
|
-
getFunction(nameOrSignature: "mint"): TypedContractMethod<[
|
|
134
|
-
to: AddressLike,
|
|
135
|
-
amount: BigNumberish
|
|
136
|
-
], [
|
|
137
|
-
void
|
|
138
|
-
], "nonpayable">;
|
|
139
|
-
getFunction(nameOrSignature: "totalSupply"): TypedContractMethod<[], [bigint], "view">;
|
|
140
|
-
getFunction(nameOrSignature: "transfer"): TypedContractMethod<[
|
|
141
|
-
dst: AddressLike,
|
|
142
|
-
amount: BigNumberish
|
|
143
|
-
], [
|
|
144
|
-
void
|
|
145
|
-
], "nonpayable">;
|
|
146
|
-
getFunction(nameOrSignature: "transferFrom"): TypedContractMethod<[
|
|
147
|
-
src: AddressLike,
|
|
148
|
-
dst: AddressLike,
|
|
149
|
-
amount: BigNumberish
|
|
150
|
-
], [
|
|
151
|
-
void
|
|
152
|
-
], "nonpayable">;
|
|
153
|
-
getEvent(key: "Approval"): TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
154
|
-
getEvent(key: "Transfer"): TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
155
|
-
filters: {
|
|
156
|
-
"Approval(address,address,uint256)": TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
157
|
-
Approval: TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
158
|
-
"Transfer(address,address,uint256)": TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
159
|
-
Transfer: TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
160
|
-
};
|
|
161
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IEIP20NonStandard.js","sourceRoot":"","sources":["../../../../../src/typechain/contracts/Interface/IEIP20NonStandard.ts"],"names":[],"mappings":""}
|
|
@@ -1,119 +0,0 @@
|
|
|
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 IGovernorAlphaInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "getActions" | "getReceipt" | "proposals"): FunctionFragment;
|
|
5
|
-
encodeFunctionData(functionFragment: "getActions", values: [BigNumberish]): string;
|
|
6
|
-
encodeFunctionData(functionFragment: "getReceipt", values: [BigNumberish, AddressLike]): string;
|
|
7
|
-
encodeFunctionData(functionFragment: "proposals", values: [BigNumberish]): string;
|
|
8
|
-
decodeFunctionResult(functionFragment: "getActions", data: BytesLike): Result;
|
|
9
|
-
decodeFunctionResult(functionFragment: "getReceipt", data: BytesLike): Result;
|
|
10
|
-
decodeFunctionResult(functionFragment: "proposals", data: BytesLike): Result;
|
|
11
|
-
}
|
|
12
|
-
export interface IGovernorAlpha extends BaseContract {
|
|
13
|
-
connect(runner?: ContractRunner | null): IGovernorAlpha;
|
|
14
|
-
waitForDeployment(): Promise<this>;
|
|
15
|
-
interface: IGovernorAlphaInterface;
|
|
16
|
-
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
17
|
-
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
18
|
-
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
19
|
-
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
20
|
-
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
21
|
-
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
22
|
-
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
23
|
-
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
24
|
-
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
25
|
-
getActions: TypedContractMethod<[
|
|
26
|
-
proposalId: BigNumberish
|
|
27
|
-
], [
|
|
28
|
-
[
|
|
29
|
-
string[],
|
|
30
|
-
bigint[],
|
|
31
|
-
string[],
|
|
32
|
-
string[]
|
|
33
|
-
] & {
|
|
34
|
-
targets: string[];
|
|
35
|
-
values: bigint[];
|
|
36
|
-
signatures: string[];
|
|
37
|
-
calldatas: string[];
|
|
38
|
-
}
|
|
39
|
-
], "view">;
|
|
40
|
-
getReceipt: TypedContractMethod<[
|
|
41
|
-
proposalId: BigNumberish,
|
|
42
|
-
voter: AddressLike
|
|
43
|
-
], [
|
|
44
|
-
[boolean, boolean, bigint]
|
|
45
|
-
], "view">;
|
|
46
|
-
proposals: TypedContractMethod<[
|
|
47
|
-
arg0: BigNumberish
|
|
48
|
-
], [
|
|
49
|
-
[
|
|
50
|
-
bigint,
|
|
51
|
-
string,
|
|
52
|
-
bigint,
|
|
53
|
-
bigint,
|
|
54
|
-
bigint,
|
|
55
|
-
bigint,
|
|
56
|
-
bigint,
|
|
57
|
-
boolean,
|
|
58
|
-
boolean
|
|
59
|
-
] & {
|
|
60
|
-
id: bigint;
|
|
61
|
-
proposer: string;
|
|
62
|
-
eta: bigint;
|
|
63
|
-
startBlock: bigint;
|
|
64
|
-
endBlock: bigint;
|
|
65
|
-
forVotes: bigint;
|
|
66
|
-
againstVotes: bigint;
|
|
67
|
-
canceled: boolean;
|
|
68
|
-
executed: boolean;
|
|
69
|
-
}
|
|
70
|
-
], "view">;
|
|
71
|
-
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
72
|
-
getFunction(nameOrSignature: "getActions"): TypedContractMethod<[
|
|
73
|
-
proposalId: BigNumberish
|
|
74
|
-
], [
|
|
75
|
-
[
|
|
76
|
-
string[],
|
|
77
|
-
bigint[],
|
|
78
|
-
string[],
|
|
79
|
-
string[]
|
|
80
|
-
] & {
|
|
81
|
-
targets: string[];
|
|
82
|
-
values: bigint[];
|
|
83
|
-
signatures: string[];
|
|
84
|
-
calldatas: string[];
|
|
85
|
-
}
|
|
86
|
-
], "view">;
|
|
87
|
-
getFunction(nameOrSignature: "getReceipt"): TypedContractMethod<[
|
|
88
|
-
proposalId: BigNumberish,
|
|
89
|
-
voter: AddressLike
|
|
90
|
-
], [
|
|
91
|
-
[boolean, boolean, bigint]
|
|
92
|
-
], "view">;
|
|
93
|
-
getFunction(nameOrSignature: "proposals"): TypedContractMethod<[
|
|
94
|
-
arg0: BigNumberish
|
|
95
|
-
], [
|
|
96
|
-
[
|
|
97
|
-
bigint,
|
|
98
|
-
string,
|
|
99
|
-
bigint,
|
|
100
|
-
bigint,
|
|
101
|
-
bigint,
|
|
102
|
-
bigint,
|
|
103
|
-
bigint,
|
|
104
|
-
boolean,
|
|
105
|
-
boolean
|
|
106
|
-
] & {
|
|
107
|
-
id: bigint;
|
|
108
|
-
proposer: string;
|
|
109
|
-
eta: bigint;
|
|
110
|
-
startBlock: bigint;
|
|
111
|
-
endBlock: bigint;
|
|
112
|
-
forVotes: bigint;
|
|
113
|
-
againstVotes: bigint;
|
|
114
|
-
canceled: boolean;
|
|
115
|
-
executed: boolean;
|
|
116
|
-
}
|
|
117
|
-
], "view">;
|
|
118
|
-
filters: {};
|
|
119
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IGovernorAlpha.js","sourceRoot":"","sources":["../../../../../src/typechain/contracts/Interface/IGovernorAlpha.ts"],"names":[],"mappings":""}
|
|
@@ -1,130 +0,0 @@
|
|
|
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 declare namespace IGovernorBravo {
|
|
4
|
-
type ReceiptStruct = {
|
|
5
|
-
hasVoted: boolean;
|
|
6
|
-
support: BigNumberish;
|
|
7
|
-
votes: BigNumberish;
|
|
8
|
-
};
|
|
9
|
-
type ReceiptStructOutput = [
|
|
10
|
-
hasVoted: boolean,
|
|
11
|
-
support: bigint,
|
|
12
|
-
votes: bigint
|
|
13
|
-
] & {
|
|
14
|
-
hasVoted: boolean;
|
|
15
|
-
support: bigint;
|
|
16
|
-
votes: bigint;
|
|
17
|
-
};
|
|
18
|
-
type ProposalStruct = {
|
|
19
|
-
id: BigNumberish;
|
|
20
|
-
proposer: AddressLike;
|
|
21
|
-
eta: BigNumberish;
|
|
22
|
-
startBlock: BigNumberish;
|
|
23
|
-
endBlock: BigNumberish;
|
|
24
|
-
forVotes: BigNumberish;
|
|
25
|
-
againstVotes: BigNumberish;
|
|
26
|
-
abstainVotes: BigNumberish;
|
|
27
|
-
canceled: boolean;
|
|
28
|
-
executed: boolean;
|
|
29
|
-
};
|
|
30
|
-
type ProposalStructOutput = [
|
|
31
|
-
id: bigint,
|
|
32
|
-
proposer: string,
|
|
33
|
-
eta: bigint,
|
|
34
|
-
startBlock: bigint,
|
|
35
|
-
endBlock: bigint,
|
|
36
|
-
forVotes: bigint,
|
|
37
|
-
againstVotes: bigint,
|
|
38
|
-
abstainVotes: bigint,
|
|
39
|
-
canceled: boolean,
|
|
40
|
-
executed: boolean
|
|
41
|
-
] & {
|
|
42
|
-
id: bigint;
|
|
43
|
-
proposer: string;
|
|
44
|
-
eta: bigint;
|
|
45
|
-
startBlock: bigint;
|
|
46
|
-
endBlock: bigint;
|
|
47
|
-
forVotes: bigint;
|
|
48
|
-
againstVotes: bigint;
|
|
49
|
-
abstainVotes: bigint;
|
|
50
|
-
canceled: boolean;
|
|
51
|
-
executed: boolean;
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
export interface IGovernorBravoInterface extends Interface {
|
|
55
|
-
getFunction(nameOrSignature: "getActions" | "getReceipt" | "proposals"): FunctionFragment;
|
|
56
|
-
encodeFunctionData(functionFragment: "getActions", values: [BigNumberish]): string;
|
|
57
|
-
encodeFunctionData(functionFragment: "getReceipt", values: [BigNumberish, AddressLike]): string;
|
|
58
|
-
encodeFunctionData(functionFragment: "proposals", values: [BigNumberish]): string;
|
|
59
|
-
decodeFunctionResult(functionFragment: "getActions", data: BytesLike): Result;
|
|
60
|
-
decodeFunctionResult(functionFragment: "getReceipt", data: BytesLike): Result;
|
|
61
|
-
decodeFunctionResult(functionFragment: "proposals", data: BytesLike): Result;
|
|
62
|
-
}
|
|
63
|
-
export interface IGovernorBravo extends BaseContract {
|
|
64
|
-
connect(runner?: ContractRunner | null): IGovernorBravo;
|
|
65
|
-
waitForDeployment(): Promise<this>;
|
|
66
|
-
interface: IGovernorBravoInterface;
|
|
67
|
-
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
68
|
-
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
69
|
-
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
70
|
-
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
71
|
-
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
72
|
-
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
73
|
-
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
74
|
-
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
75
|
-
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
76
|
-
getActions: TypedContractMethod<[
|
|
77
|
-
proposalId: BigNumberish
|
|
78
|
-
], [
|
|
79
|
-
[
|
|
80
|
-
string[],
|
|
81
|
-
bigint[],
|
|
82
|
-
string[],
|
|
83
|
-
string[]
|
|
84
|
-
] & {
|
|
85
|
-
targets: string[];
|
|
86
|
-
values: bigint[];
|
|
87
|
-
signatures: string[];
|
|
88
|
-
calldatas: string[];
|
|
89
|
-
}
|
|
90
|
-
], "view">;
|
|
91
|
-
getReceipt: TypedContractMethod<[
|
|
92
|
-
proposalId: BigNumberish,
|
|
93
|
-
voter: AddressLike
|
|
94
|
-
], [
|
|
95
|
-
IGovernorBravo.ReceiptStructOutput
|
|
96
|
-
], "view">;
|
|
97
|
-
proposals: TypedContractMethod<[
|
|
98
|
-
proposalId: BigNumberish
|
|
99
|
-
], [
|
|
100
|
-
IGovernorBravo.ProposalStructOutput
|
|
101
|
-
], "view">;
|
|
102
|
-
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
103
|
-
getFunction(nameOrSignature: "getActions"): TypedContractMethod<[
|
|
104
|
-
proposalId: BigNumberish
|
|
105
|
-
], [
|
|
106
|
-
[
|
|
107
|
-
string[],
|
|
108
|
-
bigint[],
|
|
109
|
-
string[],
|
|
110
|
-
string[]
|
|
111
|
-
] & {
|
|
112
|
-
targets: string[];
|
|
113
|
-
values: bigint[];
|
|
114
|
-
signatures: string[];
|
|
115
|
-
calldatas: string[];
|
|
116
|
-
}
|
|
117
|
-
], "view">;
|
|
118
|
-
getFunction(nameOrSignature: "getReceipt"): TypedContractMethod<[
|
|
119
|
-
proposalId: BigNumberish,
|
|
120
|
-
voter: AddressLike
|
|
121
|
-
], [
|
|
122
|
-
IGovernorBravo.ReceiptStructOutput
|
|
123
|
-
], "view">;
|
|
124
|
-
getFunction(nameOrSignature: "proposals"): TypedContractMethod<[
|
|
125
|
-
proposalId: BigNumberish
|
|
126
|
-
], [
|
|
127
|
-
IGovernorBravo.ProposalStructOutput
|
|
128
|
-
], "view">;
|
|
129
|
-
filters: {};
|
|
130
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IGovernorBravo.js","sourceRoot":"","sources":["../../../../../src/typechain/contracts/Interface/IGovernorBravo.ts"],"names":[],"mappings":""}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
-
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../common";
|
|
3
|
-
export interface IInterestRateModelInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "getBorrowRate" | "getSupplyRate" | "isInterestRateModel"): FunctionFragment;
|
|
5
|
-
encodeFunctionData(functionFragment: "getBorrowRate", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
6
|
-
encodeFunctionData(functionFragment: "getSupplyRate", values: [BigNumberish, BigNumberish, BigNumberish, BigNumberish]): string;
|
|
7
|
-
encodeFunctionData(functionFragment: "isInterestRateModel", values?: undefined): string;
|
|
8
|
-
decodeFunctionResult(functionFragment: "getBorrowRate", data: BytesLike): Result;
|
|
9
|
-
decodeFunctionResult(functionFragment: "getSupplyRate", data: BytesLike): Result;
|
|
10
|
-
decodeFunctionResult(functionFragment: "isInterestRateModel", data: BytesLike): Result;
|
|
11
|
-
}
|
|
12
|
-
export interface IInterestRateModel extends BaseContract {
|
|
13
|
-
connect(runner?: ContractRunner | null): IInterestRateModel;
|
|
14
|
-
waitForDeployment(): Promise<this>;
|
|
15
|
-
interface: IInterestRateModelInterface;
|
|
16
|
-
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
17
|
-
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
18
|
-
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
19
|
-
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
20
|
-
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
21
|
-
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
22
|
-
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
23
|
-
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
24
|
-
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
25
|
-
getBorrowRate: TypedContractMethod<[
|
|
26
|
-
cash: BigNumberish,
|
|
27
|
-
borrows: BigNumberish,
|
|
28
|
-
reserves: BigNumberish
|
|
29
|
-
], [
|
|
30
|
-
bigint
|
|
31
|
-
], "view">;
|
|
32
|
-
getSupplyRate: TypedContractMethod<[
|
|
33
|
-
cash: BigNumberish,
|
|
34
|
-
borrows: BigNumberish,
|
|
35
|
-
reserves: BigNumberish,
|
|
36
|
-
reserveFactorMantissa: BigNumberish
|
|
37
|
-
], [
|
|
38
|
-
bigint
|
|
39
|
-
], "view">;
|
|
40
|
-
isInterestRateModel: TypedContractMethod<[], [boolean], "view">;
|
|
41
|
-
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
42
|
-
getFunction(nameOrSignature: "getBorrowRate"): TypedContractMethod<[
|
|
43
|
-
cash: BigNumberish,
|
|
44
|
-
borrows: BigNumberish,
|
|
45
|
-
reserves: BigNumberish
|
|
46
|
-
], [
|
|
47
|
-
bigint
|
|
48
|
-
], "view">;
|
|
49
|
-
getFunction(nameOrSignature: "getSupplyRate"): TypedContractMethod<[
|
|
50
|
-
cash: BigNumberish,
|
|
51
|
-
borrows: BigNumberish,
|
|
52
|
-
reserves: BigNumberish,
|
|
53
|
-
reserveFactorMantissa: BigNumberish
|
|
54
|
-
], [
|
|
55
|
-
bigint
|
|
56
|
-
], "view">;
|
|
57
|
-
getFunction(nameOrSignature: "isInterestRateModel"): TypedContractMethod<[], [boolean], "view">;
|
|
58
|
-
filters: {};
|
|
59
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IInterestRateModel.js","sourceRoot":"","sources":["../../../../../src/typechain/contracts/Interface/IInterestRateModel.ts"],"names":[],"mappings":""}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import type { BaseContract, BytesLike, FunctionFragment, Result, Interface, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
-
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../common";
|
|
3
|
-
export interface IPriceOracleInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "getUnderlyingPrice" | "getUnderlyingPriceNormalized"): FunctionFragment;
|
|
5
|
-
encodeFunctionData(functionFragment: "getUnderlyingPrice", values: [AddressLike]): string;
|
|
6
|
-
encodeFunctionData(functionFragment: "getUnderlyingPriceNormalized", values: [AddressLike]): string;
|
|
7
|
-
decodeFunctionResult(functionFragment: "getUnderlyingPrice", data: BytesLike): Result;
|
|
8
|
-
decodeFunctionResult(functionFragment: "getUnderlyingPriceNormalized", data: BytesLike): Result;
|
|
9
|
-
}
|
|
10
|
-
export interface IPriceOracle extends BaseContract {
|
|
11
|
-
connect(runner?: ContractRunner | null): IPriceOracle;
|
|
12
|
-
waitForDeployment(): Promise<this>;
|
|
13
|
-
interface: IPriceOracleInterface;
|
|
14
|
-
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
15
|
-
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
16
|
-
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
17
|
-
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
18
|
-
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
19
|
-
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
20
|
-
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
21
|
-
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
22
|
-
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
23
|
-
getUnderlyingPrice: TypedContractMethod<[
|
|
24
|
-
cToken: AddressLike
|
|
25
|
-
], [
|
|
26
|
-
bigint
|
|
27
|
-
], "view">;
|
|
28
|
-
getUnderlyingPriceNormalized: TypedContractMethod<[
|
|
29
|
-
cToken_: AddressLike
|
|
30
|
-
], [
|
|
31
|
-
bigint
|
|
32
|
-
], "view">;
|
|
33
|
-
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
34
|
-
getFunction(nameOrSignature: "getUnderlyingPrice"): TypedContractMethod<[cToken: AddressLike], [bigint], "view">;
|
|
35
|
-
getFunction(nameOrSignature: "getUnderlyingPriceNormalized"): TypedContractMethod<[cToken_: AddressLike], [bigint], "view">;
|
|
36
|
-
filters: {};
|
|
37
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IPriceOracle.js","sourceRoot":"","sources":["../../../../../src/typechain/contracts/Interface/IPriceOracle.ts"],"names":[],"mappings":""}
|
|
@@ -1,103 +0,0 @@
|
|
|
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 IRedemptionManagerInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "calcActualRepayAndSeize" | "getFirstProvider" | "getNextProvider" | "getRedemptionRate" | "getRedemptionRateWithDecay" | "hasNoProvider" | "updateBaseRateFromRedemption" | "updateSortedBorrows"): FunctionFragment;
|
|
5
|
-
encodeFunctionData(functionFragment: "calcActualRepayAndSeize", values: [BigNumberish, AddressLike, AddressLike, AddressLike, AddressLike]): string;
|
|
6
|
-
encodeFunctionData(functionFragment: "getFirstProvider", values: [AddressLike]): string;
|
|
7
|
-
encodeFunctionData(functionFragment: "getNextProvider", values: [AddressLike, AddressLike]): string;
|
|
8
|
-
encodeFunctionData(functionFragment: "getRedemptionRate", values?: undefined): string;
|
|
9
|
-
encodeFunctionData(functionFragment: "getRedemptionRateWithDecay", values?: undefined): string;
|
|
10
|
-
encodeFunctionData(functionFragment: "hasNoProvider", values: [AddressLike]): string;
|
|
11
|
-
encodeFunctionData(functionFragment: "updateBaseRateFromRedemption", values: [BigNumberish, BigNumberish]): string;
|
|
12
|
-
encodeFunctionData(functionFragment: "updateSortedBorrows", values: [AddressLike, AddressLike]): string;
|
|
13
|
-
decodeFunctionResult(functionFragment: "calcActualRepayAndSeize", data: BytesLike): Result;
|
|
14
|
-
decodeFunctionResult(functionFragment: "getFirstProvider", data: BytesLike): Result;
|
|
15
|
-
decodeFunctionResult(functionFragment: "getNextProvider", data: BytesLike): Result;
|
|
16
|
-
decodeFunctionResult(functionFragment: "getRedemptionRate", data: BytesLike): Result;
|
|
17
|
-
decodeFunctionResult(functionFragment: "getRedemptionRateWithDecay", data: BytesLike): Result;
|
|
18
|
-
decodeFunctionResult(functionFragment: "hasNoProvider", data: BytesLike): Result;
|
|
19
|
-
decodeFunctionResult(functionFragment: "updateBaseRateFromRedemption", data: BytesLike): Result;
|
|
20
|
-
decodeFunctionResult(functionFragment: "updateSortedBorrows", data: BytesLike): Result;
|
|
21
|
-
}
|
|
22
|
-
export interface IRedemptionManager extends BaseContract {
|
|
23
|
-
connect(runner?: ContractRunner | null): IRedemptionManager;
|
|
24
|
-
waitForDeployment(): Promise<this>;
|
|
25
|
-
interface: IRedemptionManagerInterface;
|
|
26
|
-
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
27
|
-
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
28
|
-
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
29
|
-
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
30
|
-
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
31
|
-
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
32
|
-
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
33
|
-
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
34
|
-
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
35
|
-
calcActualRepayAndSeize: TypedContractMethod<[
|
|
36
|
-
redeemAmount: BigNumberish,
|
|
37
|
-
provider: AddressLike,
|
|
38
|
-
cToken: AddressLike,
|
|
39
|
-
suToken: AddressLike,
|
|
40
|
-
oracle: AddressLike
|
|
41
|
-
], [
|
|
42
|
-
[bigint, bigint, bigint, bigint]
|
|
43
|
-
], "nonpayable">;
|
|
44
|
-
getFirstProvider: TypedContractMethod<[
|
|
45
|
-
_asset: AddressLike
|
|
46
|
-
], [
|
|
47
|
-
string
|
|
48
|
-
], "view">;
|
|
49
|
-
getNextProvider: TypedContractMethod<[
|
|
50
|
-
_asset: AddressLike,
|
|
51
|
-
_id: AddressLike
|
|
52
|
-
], [
|
|
53
|
-
string
|
|
54
|
-
], "view">;
|
|
55
|
-
getRedemptionRate: TypedContractMethod<[], [bigint], "view">;
|
|
56
|
-
getRedemptionRateWithDecay: TypedContractMethod<[], [bigint], "view">;
|
|
57
|
-
hasNoProvider: TypedContractMethod<[_asset: AddressLike], [boolean], "view">;
|
|
58
|
-
updateBaseRateFromRedemption: TypedContractMethod<[
|
|
59
|
-
redeemAmount: BigNumberish,
|
|
60
|
-
_totalSupply: BigNumberish
|
|
61
|
-
], [
|
|
62
|
-
bigint
|
|
63
|
-
], "nonpayable">;
|
|
64
|
-
updateSortedBorrows: TypedContractMethod<[
|
|
65
|
-
csuToken: AddressLike,
|
|
66
|
-
borrower: AddressLike
|
|
67
|
-
], [
|
|
68
|
-
void
|
|
69
|
-
], "nonpayable">;
|
|
70
|
-
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
71
|
-
getFunction(nameOrSignature: "calcActualRepayAndSeize"): TypedContractMethod<[
|
|
72
|
-
redeemAmount: BigNumberish,
|
|
73
|
-
provider: AddressLike,
|
|
74
|
-
cToken: AddressLike,
|
|
75
|
-
suToken: AddressLike,
|
|
76
|
-
oracle: AddressLike
|
|
77
|
-
], [
|
|
78
|
-
[bigint, bigint, bigint, bigint]
|
|
79
|
-
], "nonpayable">;
|
|
80
|
-
getFunction(nameOrSignature: "getFirstProvider"): TypedContractMethod<[_asset: AddressLike], [string], "view">;
|
|
81
|
-
getFunction(nameOrSignature: "getNextProvider"): TypedContractMethod<[
|
|
82
|
-
_asset: AddressLike,
|
|
83
|
-
_id: AddressLike
|
|
84
|
-
], [
|
|
85
|
-
string
|
|
86
|
-
], "view">;
|
|
87
|
-
getFunction(nameOrSignature: "getRedemptionRate"): TypedContractMethod<[], [bigint], "view">;
|
|
88
|
-
getFunction(nameOrSignature: "getRedemptionRateWithDecay"): TypedContractMethod<[], [bigint], "view">;
|
|
89
|
-
getFunction(nameOrSignature: "hasNoProvider"): TypedContractMethod<[_asset: AddressLike], [boolean], "view">;
|
|
90
|
-
getFunction(nameOrSignature: "updateBaseRateFromRedemption"): TypedContractMethod<[
|
|
91
|
-
redeemAmount: BigNumberish,
|
|
92
|
-
_totalSupply: BigNumberish
|
|
93
|
-
], [
|
|
94
|
-
bigint
|
|
95
|
-
], "nonpayable">;
|
|
96
|
-
getFunction(nameOrSignature: "updateSortedBorrows"): TypedContractMethod<[
|
|
97
|
-
csuToken: AddressLike,
|
|
98
|
-
borrower: AddressLike
|
|
99
|
-
], [
|
|
100
|
-
void
|
|
101
|
-
], "nonpayable">;
|
|
102
|
-
filters: {};
|
|
103
|
-
}
|