@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,188 +0,0 @@
|
|
|
1
|
-
import { type ContractRunner } from "ethers";
|
|
2
|
-
import type { ITimelock, ITimelockInterface } from "../../contracts/ITimelock";
|
|
3
|
-
export declare class ITimelock__factory {
|
|
4
|
-
static readonly abi: readonly [{
|
|
5
|
-
readonly anonymous: false;
|
|
6
|
-
readonly inputs: readonly [{
|
|
7
|
-
readonly indexed: true;
|
|
8
|
-
readonly internalType: "address";
|
|
9
|
-
readonly name: "beneficiary";
|
|
10
|
-
readonly type: "address";
|
|
11
|
-
}, {
|
|
12
|
-
readonly indexed: true;
|
|
13
|
-
readonly internalType: "uint256";
|
|
14
|
-
readonly name: "agreementIndex";
|
|
15
|
-
readonly type: "uint256";
|
|
16
|
-
}, {
|
|
17
|
-
readonly indexed: true;
|
|
18
|
-
readonly internalType: "address";
|
|
19
|
-
readonly name: "asset";
|
|
20
|
-
readonly type: "address";
|
|
21
|
-
}, {
|
|
22
|
-
readonly indexed: false;
|
|
23
|
-
readonly internalType: "enum ITimelock.TimeLockActionType";
|
|
24
|
-
readonly name: "actionType";
|
|
25
|
-
readonly type: "uint8";
|
|
26
|
-
}, {
|
|
27
|
-
readonly indexed: false;
|
|
28
|
-
readonly internalType: "uint256";
|
|
29
|
-
readonly name: "amount";
|
|
30
|
-
readonly type: "uint256";
|
|
31
|
-
}];
|
|
32
|
-
readonly name: "AgreementClaimed";
|
|
33
|
-
readonly type: "event";
|
|
34
|
-
}, {
|
|
35
|
-
readonly anonymous: false;
|
|
36
|
-
readonly inputs: readonly [{
|
|
37
|
-
readonly indexed: true;
|
|
38
|
-
readonly internalType: "address";
|
|
39
|
-
readonly name: "beneficiary";
|
|
40
|
-
readonly type: "address";
|
|
41
|
-
}, {
|
|
42
|
-
readonly indexed: true;
|
|
43
|
-
readonly internalType: "uint256";
|
|
44
|
-
readonly name: "agreementIndex";
|
|
45
|
-
readonly type: "uint256";
|
|
46
|
-
}, {
|
|
47
|
-
readonly indexed: true;
|
|
48
|
-
readonly internalType: "address";
|
|
49
|
-
readonly name: "asset";
|
|
50
|
-
readonly type: "address";
|
|
51
|
-
}, {
|
|
52
|
-
readonly indexed: false;
|
|
53
|
-
readonly internalType: "enum ITimelock.TimeLockActionType";
|
|
54
|
-
readonly name: "actionType";
|
|
55
|
-
readonly type: "uint8";
|
|
56
|
-
}, {
|
|
57
|
-
readonly indexed: false;
|
|
58
|
-
readonly internalType: "uint256";
|
|
59
|
-
readonly name: "amount";
|
|
60
|
-
readonly type: "uint256";
|
|
61
|
-
}, {
|
|
62
|
-
readonly indexed: false;
|
|
63
|
-
readonly internalType: "uint256";
|
|
64
|
-
readonly name: "releaseTime";
|
|
65
|
-
readonly type: "uint256";
|
|
66
|
-
}];
|
|
67
|
-
readonly name: "AgreementCreated";
|
|
68
|
-
readonly type: "event";
|
|
69
|
-
}, {
|
|
70
|
-
readonly anonymous: false;
|
|
71
|
-
readonly inputs: readonly [{
|
|
72
|
-
readonly indexed: false;
|
|
73
|
-
readonly internalType: "address";
|
|
74
|
-
readonly name: "beneficiary";
|
|
75
|
-
readonly type: "address";
|
|
76
|
-
}, {
|
|
77
|
-
readonly indexed: false;
|
|
78
|
-
readonly internalType: "uint256";
|
|
79
|
-
readonly name: "agreementIndex";
|
|
80
|
-
readonly type: "uint256";
|
|
81
|
-
}, {
|
|
82
|
-
readonly indexed: false;
|
|
83
|
-
readonly internalType: "bool";
|
|
84
|
-
readonly name: "value";
|
|
85
|
-
readonly type: "bool";
|
|
86
|
-
}];
|
|
87
|
-
readonly name: "AgreementFrozen";
|
|
88
|
-
readonly type: "event";
|
|
89
|
-
}, {
|
|
90
|
-
readonly anonymous: false;
|
|
91
|
-
readonly inputs: readonly [{
|
|
92
|
-
readonly indexed: true;
|
|
93
|
-
readonly internalType: "address";
|
|
94
|
-
readonly name: "token";
|
|
95
|
-
readonly type: "address";
|
|
96
|
-
}, {
|
|
97
|
-
readonly indexed: true;
|
|
98
|
-
readonly internalType: "address";
|
|
99
|
-
readonly name: "to";
|
|
100
|
-
readonly type: "address";
|
|
101
|
-
}, {
|
|
102
|
-
readonly indexed: false;
|
|
103
|
-
readonly internalType: "uint256";
|
|
104
|
-
readonly name: "amount";
|
|
105
|
-
readonly type: "uint256";
|
|
106
|
-
}];
|
|
107
|
-
readonly name: "RescueERC20";
|
|
108
|
-
readonly type: "event";
|
|
109
|
-
}, {
|
|
110
|
-
readonly anonymous: false;
|
|
111
|
-
readonly inputs: readonly [{
|
|
112
|
-
readonly indexed: false;
|
|
113
|
-
readonly internalType: "bool";
|
|
114
|
-
readonly name: "value";
|
|
115
|
-
readonly type: "bool";
|
|
116
|
-
}];
|
|
117
|
-
readonly name: "TimeLockFrozen";
|
|
118
|
-
readonly type: "event";
|
|
119
|
-
}, {
|
|
120
|
-
readonly inputs: readonly [{
|
|
121
|
-
readonly internalType: "enum ITimelock.TimeLockActionType";
|
|
122
|
-
readonly name: "actionType";
|
|
123
|
-
readonly type: "uint8";
|
|
124
|
-
}, {
|
|
125
|
-
readonly internalType: "address";
|
|
126
|
-
readonly name: "underlying";
|
|
127
|
-
readonly type: "address";
|
|
128
|
-
}, {
|
|
129
|
-
readonly internalType: "uint256";
|
|
130
|
-
readonly name: "amount";
|
|
131
|
-
readonly type: "uint256";
|
|
132
|
-
}, {
|
|
133
|
-
readonly internalType: "address";
|
|
134
|
-
readonly name: "beneficiary";
|
|
135
|
-
readonly type: "address";
|
|
136
|
-
}];
|
|
137
|
-
readonly name: "createAgreement";
|
|
138
|
-
readonly outputs: readonly [{
|
|
139
|
-
readonly internalType: "uint256";
|
|
140
|
-
readonly name: "";
|
|
141
|
-
readonly type: "uint256";
|
|
142
|
-
}];
|
|
143
|
-
readonly stateMutability: "nonpayable";
|
|
144
|
-
readonly type: "function";
|
|
145
|
-
}, {
|
|
146
|
-
readonly inputs: readonly [{
|
|
147
|
-
readonly internalType: "address";
|
|
148
|
-
readonly name: "underlying";
|
|
149
|
-
readonly type: "address";
|
|
150
|
-
}];
|
|
151
|
-
readonly name: "isSupport";
|
|
152
|
-
readonly outputs: readonly [{
|
|
153
|
-
readonly internalType: "bool";
|
|
154
|
-
readonly name: "";
|
|
155
|
-
readonly type: "bool";
|
|
156
|
-
}];
|
|
157
|
-
readonly stateMutability: "view";
|
|
158
|
-
readonly type: "function";
|
|
159
|
-
}, {
|
|
160
|
-
readonly inputs: readonly [{
|
|
161
|
-
readonly internalType: "address";
|
|
162
|
-
readonly name: "underlying";
|
|
163
|
-
readonly type: "address";
|
|
164
|
-
}, {
|
|
165
|
-
readonly internalType: "address";
|
|
166
|
-
readonly name: "oracle";
|
|
167
|
-
readonly type: "address";
|
|
168
|
-
}, {
|
|
169
|
-
readonly internalType: "uint256";
|
|
170
|
-
readonly name: "usdValue";
|
|
171
|
-
readonly type: "uint256";
|
|
172
|
-
}, {
|
|
173
|
-
readonly internalType: "uint8";
|
|
174
|
-
readonly name: "decimals";
|
|
175
|
-
readonly type: "uint8";
|
|
176
|
-
}];
|
|
177
|
-
readonly name: "overThreshold";
|
|
178
|
-
readonly outputs: readonly [{
|
|
179
|
-
readonly internalType: "bool";
|
|
180
|
-
readonly name: "";
|
|
181
|
-
readonly type: "bool";
|
|
182
|
-
}];
|
|
183
|
-
readonly stateMutability: "view";
|
|
184
|
-
readonly type: "function";
|
|
185
|
-
}];
|
|
186
|
-
static createInterface(): ITimelockInterface;
|
|
187
|
-
static connect(address: string, runner?: ContractRunner | null): ITimelock;
|
|
188
|
-
}
|
|
@@ -1,250 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* Autogenerated file. Do not edit manually. */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.ITimelock__factory = void 0;
|
|
7
|
-
const ethers_1 = require("ethers");
|
|
8
|
-
const _abi = [
|
|
9
|
-
{
|
|
10
|
-
anonymous: false,
|
|
11
|
-
inputs: [
|
|
12
|
-
{
|
|
13
|
-
indexed: true,
|
|
14
|
-
internalType: "address",
|
|
15
|
-
name: "beneficiary",
|
|
16
|
-
type: "address",
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
indexed: true,
|
|
20
|
-
internalType: "uint256",
|
|
21
|
-
name: "agreementIndex",
|
|
22
|
-
type: "uint256",
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
indexed: true,
|
|
26
|
-
internalType: "address",
|
|
27
|
-
name: "asset",
|
|
28
|
-
type: "address",
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
indexed: false,
|
|
32
|
-
internalType: "enum ITimelock.TimeLockActionType",
|
|
33
|
-
name: "actionType",
|
|
34
|
-
type: "uint8",
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
indexed: false,
|
|
38
|
-
internalType: "uint256",
|
|
39
|
-
name: "amount",
|
|
40
|
-
type: "uint256",
|
|
41
|
-
},
|
|
42
|
-
],
|
|
43
|
-
name: "AgreementClaimed",
|
|
44
|
-
type: "event",
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
anonymous: false,
|
|
48
|
-
inputs: [
|
|
49
|
-
{
|
|
50
|
-
indexed: true,
|
|
51
|
-
internalType: "address",
|
|
52
|
-
name: "beneficiary",
|
|
53
|
-
type: "address",
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
indexed: true,
|
|
57
|
-
internalType: "uint256",
|
|
58
|
-
name: "agreementIndex",
|
|
59
|
-
type: "uint256",
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
indexed: true,
|
|
63
|
-
internalType: "address",
|
|
64
|
-
name: "asset",
|
|
65
|
-
type: "address",
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
indexed: false,
|
|
69
|
-
internalType: "enum ITimelock.TimeLockActionType",
|
|
70
|
-
name: "actionType",
|
|
71
|
-
type: "uint8",
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
indexed: false,
|
|
75
|
-
internalType: "uint256",
|
|
76
|
-
name: "amount",
|
|
77
|
-
type: "uint256",
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
indexed: false,
|
|
81
|
-
internalType: "uint256",
|
|
82
|
-
name: "releaseTime",
|
|
83
|
-
type: "uint256",
|
|
84
|
-
},
|
|
85
|
-
],
|
|
86
|
-
name: "AgreementCreated",
|
|
87
|
-
type: "event",
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
anonymous: false,
|
|
91
|
-
inputs: [
|
|
92
|
-
{
|
|
93
|
-
indexed: false,
|
|
94
|
-
internalType: "address",
|
|
95
|
-
name: "beneficiary",
|
|
96
|
-
type: "address",
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
indexed: false,
|
|
100
|
-
internalType: "uint256",
|
|
101
|
-
name: "agreementIndex",
|
|
102
|
-
type: "uint256",
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
indexed: false,
|
|
106
|
-
internalType: "bool",
|
|
107
|
-
name: "value",
|
|
108
|
-
type: "bool",
|
|
109
|
-
},
|
|
110
|
-
],
|
|
111
|
-
name: "AgreementFrozen",
|
|
112
|
-
type: "event",
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
anonymous: false,
|
|
116
|
-
inputs: [
|
|
117
|
-
{
|
|
118
|
-
indexed: true,
|
|
119
|
-
internalType: "address",
|
|
120
|
-
name: "token",
|
|
121
|
-
type: "address",
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
indexed: true,
|
|
125
|
-
internalType: "address",
|
|
126
|
-
name: "to",
|
|
127
|
-
type: "address",
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
indexed: false,
|
|
131
|
-
internalType: "uint256",
|
|
132
|
-
name: "amount",
|
|
133
|
-
type: "uint256",
|
|
134
|
-
},
|
|
135
|
-
],
|
|
136
|
-
name: "RescueERC20",
|
|
137
|
-
type: "event",
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
anonymous: false,
|
|
141
|
-
inputs: [
|
|
142
|
-
{
|
|
143
|
-
indexed: false,
|
|
144
|
-
internalType: "bool",
|
|
145
|
-
name: "value",
|
|
146
|
-
type: "bool",
|
|
147
|
-
},
|
|
148
|
-
],
|
|
149
|
-
name: "TimeLockFrozen",
|
|
150
|
-
type: "event",
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
inputs: [
|
|
154
|
-
{
|
|
155
|
-
internalType: "enum ITimelock.TimeLockActionType",
|
|
156
|
-
name: "actionType",
|
|
157
|
-
type: "uint8",
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
internalType: "address",
|
|
161
|
-
name: "underlying",
|
|
162
|
-
type: "address",
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
internalType: "uint256",
|
|
166
|
-
name: "amount",
|
|
167
|
-
type: "uint256",
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
internalType: "address",
|
|
171
|
-
name: "beneficiary",
|
|
172
|
-
type: "address",
|
|
173
|
-
},
|
|
174
|
-
],
|
|
175
|
-
name: "createAgreement",
|
|
176
|
-
outputs: [
|
|
177
|
-
{
|
|
178
|
-
internalType: "uint256",
|
|
179
|
-
name: "",
|
|
180
|
-
type: "uint256",
|
|
181
|
-
},
|
|
182
|
-
],
|
|
183
|
-
stateMutability: "nonpayable",
|
|
184
|
-
type: "function",
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
inputs: [
|
|
188
|
-
{
|
|
189
|
-
internalType: "address",
|
|
190
|
-
name: "underlying",
|
|
191
|
-
type: "address",
|
|
192
|
-
},
|
|
193
|
-
],
|
|
194
|
-
name: "isSupport",
|
|
195
|
-
outputs: [
|
|
196
|
-
{
|
|
197
|
-
internalType: "bool",
|
|
198
|
-
name: "",
|
|
199
|
-
type: "bool",
|
|
200
|
-
},
|
|
201
|
-
],
|
|
202
|
-
stateMutability: "view",
|
|
203
|
-
type: "function",
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
inputs: [
|
|
207
|
-
{
|
|
208
|
-
internalType: "address",
|
|
209
|
-
name: "underlying",
|
|
210
|
-
type: "address",
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
internalType: "address",
|
|
214
|
-
name: "oracle",
|
|
215
|
-
type: "address",
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
internalType: "uint256",
|
|
219
|
-
name: "usdValue",
|
|
220
|
-
type: "uint256",
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
internalType: "uint8",
|
|
224
|
-
name: "decimals",
|
|
225
|
-
type: "uint8",
|
|
226
|
-
},
|
|
227
|
-
],
|
|
228
|
-
name: "overThreshold",
|
|
229
|
-
outputs: [
|
|
230
|
-
{
|
|
231
|
-
internalType: "bool",
|
|
232
|
-
name: "",
|
|
233
|
-
type: "bool",
|
|
234
|
-
},
|
|
235
|
-
],
|
|
236
|
-
stateMutability: "view",
|
|
237
|
-
type: "function",
|
|
238
|
-
},
|
|
239
|
-
];
|
|
240
|
-
class ITimelock__factory {
|
|
241
|
-
static createInterface() {
|
|
242
|
-
return new ethers_1.Interface(_abi);
|
|
243
|
-
}
|
|
244
|
-
static connect(address, runner) {
|
|
245
|
-
return new ethers_1.Contract(address, _abi, runner);
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
exports.ITimelock__factory = ITimelock__factory;
|
|
249
|
-
ITimelock__factory.abi = _abi;
|
|
250
|
-
//# sourceMappingURL=ITimelock__factory.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ITimelock__factory.js","sourceRoot":"","sources":["../../../../../src/typechain/factories/contracts/ITimelock__factory.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;;;AAEpB,mCAAkE;AAGlE,MAAM,IAAI,GAAG;IACX;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,g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7B,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,kBAAS,CAAC,IAAI,CAAuB,CAAC;IACnD,CAAC;IACD,MAAM,CAAC,OAAO,CAAC,OAAe,EAAE,MAA8B;QAC5D,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,CAAyB,CAAC;IACrE,CAAC;;AAPH,gDAQC;AAPiB,sBAAG,GAAG,IAAI,CAAC"}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { type ContractRunner } from "ethers";
|
|
2
|
-
import type { IAccountLiquidity, IAccountLiquidityInterface } from "../../../contracts/Interface/IAccountLiquidity";
|
|
3
|
-
export declare class IAccountLiquidity__factory {
|
|
4
|
-
static readonly abi: readonly [{
|
|
5
|
-
readonly inputs: readonly [{
|
|
6
|
-
readonly internalType: "address";
|
|
7
|
-
readonly name: "account";
|
|
8
|
-
readonly type: "address";
|
|
9
|
-
}, {
|
|
10
|
-
readonly internalType: "address";
|
|
11
|
-
readonly name: "cTokenModify";
|
|
12
|
-
readonly type: "address";
|
|
13
|
-
}, {
|
|
14
|
-
readonly internalType: "uint256";
|
|
15
|
-
readonly name: "redeemTokens";
|
|
16
|
-
readonly type: "uint256";
|
|
17
|
-
}, {
|
|
18
|
-
readonly internalType: "uint256";
|
|
19
|
-
readonly name: "borrowAmount";
|
|
20
|
-
readonly type: "uint256";
|
|
21
|
-
}];
|
|
22
|
-
readonly name: "getHypotheticalAccountLiquidity";
|
|
23
|
-
readonly outputs: readonly [{
|
|
24
|
-
readonly internalType: "uint256";
|
|
25
|
-
readonly name: "";
|
|
26
|
-
readonly type: "uint256";
|
|
27
|
-
}, {
|
|
28
|
-
readonly internalType: "uint256";
|
|
29
|
-
readonly name: "";
|
|
30
|
-
readonly type: "uint256";
|
|
31
|
-
}, {
|
|
32
|
-
readonly internalType: "uint256";
|
|
33
|
-
readonly name: "";
|
|
34
|
-
readonly type: "uint256";
|
|
35
|
-
}];
|
|
36
|
-
readonly stateMutability: "view";
|
|
37
|
-
readonly type: "function";
|
|
38
|
-
}, {
|
|
39
|
-
readonly inputs: readonly [{
|
|
40
|
-
readonly internalType: "address";
|
|
41
|
-
readonly name: "account";
|
|
42
|
-
readonly type: "address";
|
|
43
|
-
}, {
|
|
44
|
-
readonly internalType: "address";
|
|
45
|
-
readonly name: "cTokenModify";
|
|
46
|
-
readonly type: "address";
|
|
47
|
-
}, {
|
|
48
|
-
readonly internalType: "uint256";
|
|
49
|
-
readonly name: "intraSafeLimitMantissa";
|
|
50
|
-
readonly type: "uint256";
|
|
51
|
-
}, {
|
|
52
|
-
readonly internalType: "uint256";
|
|
53
|
-
readonly name: "interSafeLimitMantissa";
|
|
54
|
-
readonly type: "uint256";
|
|
55
|
-
}];
|
|
56
|
-
readonly name: "getHypotheticalSafeLimit";
|
|
57
|
-
readonly outputs: readonly [{
|
|
58
|
-
readonly internalType: "uint256";
|
|
59
|
-
readonly name: "";
|
|
60
|
-
readonly type: "uint256";
|
|
61
|
-
}];
|
|
62
|
-
readonly stateMutability: "view";
|
|
63
|
-
readonly type: "function";
|
|
64
|
-
}];
|
|
65
|
-
static createInterface(): IAccountLiquidityInterface;
|
|
66
|
-
static connect(address: string, runner?: ContractRunner | null): IAccountLiquidity;
|
|
67
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* Autogenerated file. Do not edit manually. */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.IAccountLiquidity__factory = void 0;
|
|
7
|
-
const ethers_1 = require("ethers");
|
|
8
|
-
const _abi = [
|
|
9
|
-
{
|
|
10
|
-
inputs: [
|
|
11
|
-
{
|
|
12
|
-
internalType: "address",
|
|
13
|
-
name: "account",
|
|
14
|
-
type: "address",
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
internalType: "address",
|
|
18
|
-
name: "cTokenModify",
|
|
19
|
-
type: "address",
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
internalType: "uint256",
|
|
23
|
-
name: "redeemTokens",
|
|
24
|
-
type: "uint256",
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
internalType: "uint256",
|
|
28
|
-
name: "borrowAmount",
|
|
29
|
-
type: "uint256",
|
|
30
|
-
},
|
|
31
|
-
],
|
|
32
|
-
name: "getHypotheticalAccountLiquidity",
|
|
33
|
-
outputs: [
|
|
34
|
-
{
|
|
35
|
-
internalType: "uint256",
|
|
36
|
-
name: "",
|
|
37
|
-
type: "uint256",
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
internalType: "uint256",
|
|
41
|
-
name: "",
|
|
42
|
-
type: "uint256",
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
internalType: "uint256",
|
|
46
|
-
name: "",
|
|
47
|
-
type: "uint256",
|
|
48
|
-
},
|
|
49
|
-
],
|
|
50
|
-
stateMutability: "view",
|
|
51
|
-
type: "function",
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
inputs: [
|
|
55
|
-
{
|
|
56
|
-
internalType: "address",
|
|
57
|
-
name: "account",
|
|
58
|
-
type: "address",
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
internalType: "address",
|
|
62
|
-
name: "cTokenModify",
|
|
63
|
-
type: "address",
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
internalType: "uint256",
|
|
67
|
-
name: "intraSafeLimitMantissa",
|
|
68
|
-
type: "uint256",
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
internalType: "uint256",
|
|
72
|
-
name: "interSafeLimitMantissa",
|
|
73
|
-
type: "uint256",
|
|
74
|
-
},
|
|
75
|
-
],
|
|
76
|
-
name: "getHypotheticalSafeLimit",
|
|
77
|
-
outputs: [
|
|
78
|
-
{
|
|
79
|
-
internalType: "uint256",
|
|
80
|
-
name: "",
|
|
81
|
-
type: "uint256",
|
|
82
|
-
},
|
|
83
|
-
],
|
|
84
|
-
stateMutability: "view",
|
|
85
|
-
type: "function",
|
|
86
|
-
},
|
|
87
|
-
];
|
|
88
|
-
class IAccountLiquidity__factory {
|
|
89
|
-
static createInterface() {
|
|
90
|
-
return new ethers_1.Interface(_abi);
|
|
91
|
-
}
|
|
92
|
-
static connect(address, runner) {
|
|
93
|
-
return new ethers_1.Contract(address, _abi, runner);
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
exports.IAccountLiquidity__factory = IAccountLiquidity__factory;
|
|
97
|
-
IAccountLiquidity__factory.abi = _abi;
|
|
98
|
-
//# sourceMappingURL=IAccountLiquidity__factory.js.map
|
package/dist/nodejs/typechain/factories/contracts/Interface/IAccountLiquidity__factory.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IAccountLiquidity__factory.js","sourceRoot":"","sources":["../../../../../../src/typechain/factories/contracts/Interface/IAccountLiquidity__factory.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;;;AAEpB,mCAAkE;AAMlE,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,cAAc;gBACpB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,cAAc;gBACpB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,cAAc;gBACpB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,iCAAiC;QACvC,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gB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