@meterio/sumer-js 0.2.30 → 0.2.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/sumer.min.js +10 -10
- package/dist/nodejs/abi.d.ts +175 -214
- package/dist/nodejs/abi.js +8098 -8853
- package/dist/nodejs/abi.js.map +1 -1
- package/dist/nodejs/constants/arbitrum.d.ts +4 -4
- package/dist/nodejs/constants/arbitrum.js +12 -12
- package/dist/nodejs/constants/arbitrum.js.map +1 -1
- package/dist/nodejs/constants/basemain.d.ts +4 -4
- package/dist/nodejs/constants/basemain.js +12 -12
- package/dist/nodejs/constants/basemain.js.map +1 -1
- package/dist/nodejs/constants/basetest.d.ts +4 -4
- package/dist/nodejs/constants/basetest.js +9 -9
- package/dist/nodejs/constants/basetest.js.map +1 -1
- package/dist/nodejs/constants/ethereum.d.ts +5 -4
- package/dist/nodejs/constants/ethereum.js +14 -13
- package/dist/nodejs/constants/ethereum.js.map +1 -1
- package/dist/nodejs/constants/metermain.d.ts +4 -4
- package/dist/nodejs/constants/metermain.js +9 -9
- package/dist/nodejs/constants/metermain.js.map +1 -1
- package/dist/nodejs/constants/metertest.d.ts +5 -5
- package/dist/nodejs/constants/metertest.js +46 -47
- package/dist/nodejs/constants/metertest.js.map +1 -1
- package/dist/nodejs/constants/sepolia.d.ts +28 -4
- package/dist/nodejs/constants/sepolia.js +68 -16
- package/dist/nodejs/constants/sepolia.js.map +1 -1
- package/dist/nodejs/errorABIs.js +141 -658
- package/dist/nodejs/errorABIs.js.map +1 -1
- package/dist/nodejs/errors.d.ts +48 -20
- package/dist/nodejs/errors.js +48 -20
- package/dist/nodejs/errors.js.map +1 -1
- package/dist/nodejs/index.d.ts +175 -214
- package/dist/nodejs/typechain/@chainlink/contracts/index.d.ts +2 -0
- package/dist/nodejs/typechain/@chainlink/contracts/index.js +3 -0
- package/dist/nodejs/typechain/@chainlink/contracts/index.js.map +1 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/index.d.ts +2 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/index.js +3 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/index.js.map +1 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/index.d.ts +2 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/index.js +3 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/index.js.map +1 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.d.ts +103 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.js +3 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.js.map +1 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/interfaces/index.d.ts +1 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/interfaces/index.js +3 -0
- package/dist/nodejs/typechain/@chainlink/contracts/src/v0.8/interfaces/index.js.map +1 -0
- package/dist/nodejs/typechain/@chainlink/index.d.ts +2 -0
- package/dist/nodejs/typechain/@chainlink/index.js +3 -0
- package/dist/nodejs/typechain/@chainlink/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/CToken/CErc20.d.ts +12 -10
- package/dist/nodejs/typechain/contracts/CToken/CEther.d.ts +12 -10
- package/dist/nodejs/typechain/contracts/CToken/CToken.d.ts +9 -1
- package/dist/nodejs/typechain/contracts/CToken/CTokenStorage.d.ts +12 -411
- package/dist/nodejs/typechain/contracts/CToken/SuErc20.d.ts +12 -10
- package/dist/nodejs/typechain/contracts/Comptroller/CompoundLens.d.ts +17 -1
- package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.d.ts +358 -709
- package/dist/nodejs/typechain/contracts/Comptroller/ComptrollerStorage.d.ts +163 -207
- package/dist/nodejs/typechain/contracts/Comptroller/RedemptionManager.d.ts +1 -3
- package/dist/nodejs/typechain/contracts/Comptroller/index.d.ts +0 -1
- package/dist/nodejs/typechain/contracts/Interfaces/ICToken.d.ts +4 -407
- package/dist/nodejs/typechain/contracts/Interfaces/ICompLogic.d.ts +1 -19
- package/dist/nodejs/typechain/contracts/Interfaces/IComptroller.d.ts +122 -130
- package/dist/nodejs/typechain/contracts/Interfaces/IPMarket.d.ts +488 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPMarket.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPMarket.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPPrincipalToken.d.ts +193 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPPrincipalToken.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPPrincipalToken.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPYieldToken.d.ts +365 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPYieldToken.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPYieldToken.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPendlePtOracle.d.ts +65 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPendlePtOracle.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IPendlePtOracle.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IStandardizedYield.d.ts +365 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IStandardizedYield.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IStandardizedYield.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/index.d.ts +5 -1
- package/dist/nodejs/typechain/contracts/Oracle/FeedPriceOracle.d.ts +321 -138
- package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/PriceAdapter.d.ts +25 -0
- package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/PriceAdapter.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/PriceAdapter.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/PriceOracle.d.ts +37 -0
- package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/PriceOracle.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/PriceOracle.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/PriceOracle.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/IStETH.d.ts +33 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/IStETH.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/IStETH.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter.d.ts +25 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstETHAdapter.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/IWstMTRG.d.ts +25 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/IWstMTRG.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/IWstMTRG.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter.d.ts +25 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/WstMTRGAdapter.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +6 -4
- package/dist/nodejs/typechain/contracts/Timelock.d.ts +14 -4
- package/dist/nodejs/typechain/factories/@chainlink/contracts/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/index.js +31 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/index.js +31 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/index.js +31 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory.d.ts +93 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory.js +131 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/interfaces/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/interfaces/index.js +9 -0
- package/dist/nodejs/typechain/factories/@chainlink/contracts/src/v0.8/interfaces/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/@chainlink/index.js +31 -0
- package/dist/nodejs/typechain/factories/@chainlink/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +29 -29
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +37 -36
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +29 -29
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +37 -36
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.d.ts +2 -357
- package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js +2 -445
- package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +28 -20
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +36 -25
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +29 -33
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +37 -41
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.d.ts +9 -21
- package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.js +11 -26
- package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +31 -21
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +40 -26
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.d.ts +107 -221
- package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.js +117 -265
- package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +299 -1054
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +380 -1375
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +9 -25
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +11 -31
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/index.d.ts +0 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/index.js +1 -3
- package/dist/nodejs/typechain/factories/contracts/Comptroller/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.d.ts +0 -365
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.js +0 -456
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.d.ts +0 -28
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js +0 -37
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.d.ts +108 -222
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js +135 -287
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPMarket__factory.d.ts +543 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPMarket__factory.js +712 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPMarket__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPPrincipalToken__factory.d.ts +265 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPPrincipalToken__factory.js +356 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPPrincipalToken__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPYieldToken__factory.d.ts +473 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPYieldToken__factory.js +624 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPYieldToken__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPendlePtOracle__factory.d.ts +51 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPendlePtOracle__factory.js +78 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPendlePtOracle__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IStandardizedYield__factory.d.ts +493 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IStandardizedYield__factory.js +652 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IStandardizedYield__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/index.d.ts +5 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js +11 -3
- package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.d.ts +398 -102
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js +494 -110
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/PriceAdapter__factory.d.ts +17 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/PriceAdapter__factory.js +33 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/PriceAdapter__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/PriceOracle__factory.d.ts +45 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/PriceOracle__factory.js +71 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/PriceOracle__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/index.js +11 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/PriceOracle.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/IStETH__factory.d.ts +31 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/IStETH__factory.js +52 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/IStETH__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.d.ts +44 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.js +69 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/index.js +11 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/IWstMTRG__factory.d.ts +17 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/IWstMTRG__factory.js +33 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/IWstMTRG__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.d.ts +44 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.js +69 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/index.js +11 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +3 -4
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +4 -9
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.d.ts +9 -21
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js +11 -26
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.d.ts +29 -25
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js +37 -31
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/stake/VeSumer.sol/VeSumer__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/index.js +2 -1
- package/dist/nodejs/typechain/factories/index.js.map +1 -1
- package/dist/nodejs/typechain/hardhat.d.ts +178 -70
- package/dist/nodejs/typechain/index.d.ts +26 -14
- package/dist/nodejs/typechain/index.js +25 -14
- package/dist/nodejs/typechain/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -2,361 +2,6 @@ import { type ContractRunner } from "ethers";
|
|
|
2
2
|
import type { ICToken, ICTokenInterface } from "../../../contracts/Interfaces/ICToken";
|
|
3
3
|
export declare class ICToken__factory {
|
|
4
4
|
static readonly abi: readonly [{
|
|
5
|
-
readonly anonymous: false;
|
|
6
|
-
readonly inputs: readonly [{
|
|
7
|
-
readonly indexed: false;
|
|
8
|
-
readonly internalType: "uint256";
|
|
9
|
-
readonly name: "cashPrior";
|
|
10
|
-
readonly type: "uint256";
|
|
11
|
-
}, {
|
|
12
|
-
readonly indexed: false;
|
|
13
|
-
readonly internalType: "uint256";
|
|
14
|
-
readonly name: "interestAccumulated";
|
|
15
|
-
readonly type: "uint256";
|
|
16
|
-
}, {
|
|
17
|
-
readonly indexed: false;
|
|
18
|
-
readonly internalType: "uint256";
|
|
19
|
-
readonly name: "borrowIndex";
|
|
20
|
-
readonly type: "uint256";
|
|
21
|
-
}, {
|
|
22
|
-
readonly indexed: false;
|
|
23
|
-
readonly internalType: "uint256";
|
|
24
|
-
readonly name: "totalBorrows";
|
|
25
|
-
readonly type: "uint256";
|
|
26
|
-
}];
|
|
27
|
-
readonly name: "AccrueInterest";
|
|
28
|
-
readonly type: "event";
|
|
29
|
-
}, {
|
|
30
|
-
readonly anonymous: false;
|
|
31
|
-
readonly inputs: readonly [{
|
|
32
|
-
readonly indexed: true;
|
|
33
|
-
readonly internalType: "address";
|
|
34
|
-
readonly name: "owner";
|
|
35
|
-
readonly type: "address";
|
|
36
|
-
}, {
|
|
37
|
-
readonly indexed: true;
|
|
38
|
-
readonly internalType: "address";
|
|
39
|
-
readonly name: "spender";
|
|
40
|
-
readonly type: "address";
|
|
41
|
-
}, {
|
|
42
|
-
readonly indexed: false;
|
|
43
|
-
readonly internalType: "uint256";
|
|
44
|
-
readonly name: "amount";
|
|
45
|
-
readonly type: "uint256";
|
|
46
|
-
}];
|
|
47
|
-
readonly name: "Approval";
|
|
48
|
-
readonly type: "event";
|
|
49
|
-
}, {
|
|
50
|
-
readonly anonymous: false;
|
|
51
|
-
readonly inputs: readonly [{
|
|
52
|
-
readonly indexed: false;
|
|
53
|
-
readonly internalType: "address";
|
|
54
|
-
readonly name: "borrower";
|
|
55
|
-
readonly type: "address";
|
|
56
|
-
}, {
|
|
57
|
-
readonly indexed: false;
|
|
58
|
-
readonly internalType: "uint256";
|
|
59
|
-
readonly name: "borrowAmount";
|
|
60
|
-
readonly type: "uint256";
|
|
61
|
-
}, {
|
|
62
|
-
readonly indexed: false;
|
|
63
|
-
readonly internalType: "uint256";
|
|
64
|
-
readonly name: "accountBorrows";
|
|
65
|
-
readonly type: "uint256";
|
|
66
|
-
}, {
|
|
67
|
-
readonly indexed: false;
|
|
68
|
-
readonly internalType: "uint256";
|
|
69
|
-
readonly name: "totalBorrows";
|
|
70
|
-
readonly type: "uint256";
|
|
71
|
-
}];
|
|
72
|
-
readonly name: "Borrow";
|
|
73
|
-
readonly type: "event";
|
|
74
|
-
}, {
|
|
75
|
-
readonly anonymous: false;
|
|
76
|
-
readonly inputs: readonly [{
|
|
77
|
-
readonly indexed: false;
|
|
78
|
-
readonly internalType: "address";
|
|
79
|
-
readonly name: "liquidator";
|
|
80
|
-
readonly type: "address";
|
|
81
|
-
}, {
|
|
82
|
-
readonly indexed: false;
|
|
83
|
-
readonly internalType: "address";
|
|
84
|
-
readonly name: "borrower";
|
|
85
|
-
readonly type: "address";
|
|
86
|
-
}, {
|
|
87
|
-
readonly indexed: false;
|
|
88
|
-
readonly internalType: "uint256";
|
|
89
|
-
readonly name: "repayAmount";
|
|
90
|
-
readonly type: "uint256";
|
|
91
|
-
}, {
|
|
92
|
-
readonly indexed: false;
|
|
93
|
-
readonly internalType: "address";
|
|
94
|
-
readonly name: "cTokenCollateral";
|
|
95
|
-
readonly type: "address";
|
|
96
|
-
}, {
|
|
97
|
-
readonly indexed: false;
|
|
98
|
-
readonly internalType: "uint256";
|
|
99
|
-
readonly name: "seizeTokens";
|
|
100
|
-
readonly type: "uint256";
|
|
101
|
-
}];
|
|
102
|
-
readonly name: "LiquidateBorrow";
|
|
103
|
-
readonly type: "event";
|
|
104
|
-
}, {
|
|
105
|
-
readonly anonymous: false;
|
|
106
|
-
readonly inputs: readonly [{
|
|
107
|
-
readonly indexed: false;
|
|
108
|
-
readonly internalType: "address";
|
|
109
|
-
readonly name: "minter";
|
|
110
|
-
readonly type: "address";
|
|
111
|
-
}, {
|
|
112
|
-
readonly indexed: false;
|
|
113
|
-
readonly internalType: "uint256";
|
|
114
|
-
readonly name: "mintAmount";
|
|
115
|
-
readonly type: "uint256";
|
|
116
|
-
}, {
|
|
117
|
-
readonly indexed: false;
|
|
118
|
-
readonly internalType: "uint256";
|
|
119
|
-
readonly name: "mintTokens";
|
|
120
|
-
readonly type: "uint256";
|
|
121
|
-
}];
|
|
122
|
-
readonly name: "Mint";
|
|
123
|
-
readonly type: "event";
|
|
124
|
-
}, {
|
|
125
|
-
readonly anonymous: false;
|
|
126
|
-
readonly inputs: readonly [{
|
|
127
|
-
readonly indexed: false;
|
|
128
|
-
readonly internalType: "address";
|
|
129
|
-
readonly name: "oldAdmin";
|
|
130
|
-
readonly type: "address";
|
|
131
|
-
}, {
|
|
132
|
-
readonly indexed: false;
|
|
133
|
-
readonly internalType: "address";
|
|
134
|
-
readonly name: "newAdmin";
|
|
135
|
-
readonly type: "address";
|
|
136
|
-
}];
|
|
137
|
-
readonly name: "NewAdmin";
|
|
138
|
-
readonly type: "event";
|
|
139
|
-
}, {
|
|
140
|
-
readonly anonymous: false;
|
|
141
|
-
readonly inputs: readonly [{
|
|
142
|
-
readonly indexed: false;
|
|
143
|
-
readonly internalType: "address";
|
|
144
|
-
readonly name: "oldComptroller";
|
|
145
|
-
readonly type: "address";
|
|
146
|
-
}, {
|
|
147
|
-
readonly indexed: false;
|
|
148
|
-
readonly internalType: "address";
|
|
149
|
-
readonly name: "newComptroller";
|
|
150
|
-
readonly type: "address";
|
|
151
|
-
}];
|
|
152
|
-
readonly name: "NewComptroller";
|
|
153
|
-
readonly type: "event";
|
|
154
|
-
}, {
|
|
155
|
-
readonly anonymous: false;
|
|
156
|
-
readonly inputs: readonly [{
|
|
157
|
-
readonly indexed: false;
|
|
158
|
-
readonly internalType: "uint256";
|
|
159
|
-
readonly name: "oldDiscountRateMantissa";
|
|
160
|
-
readonly type: "uint256";
|
|
161
|
-
}, {
|
|
162
|
-
readonly indexed: false;
|
|
163
|
-
readonly internalType: "uint256";
|
|
164
|
-
readonly name: "newDiscountRateMantissa";
|
|
165
|
-
readonly type: "uint256";
|
|
166
|
-
}];
|
|
167
|
-
readonly name: "NewDiscountRate";
|
|
168
|
-
readonly type: "event";
|
|
169
|
-
}, {
|
|
170
|
-
readonly anonymous: false;
|
|
171
|
-
readonly inputs: readonly [{
|
|
172
|
-
readonly indexed: false;
|
|
173
|
-
readonly internalType: "address";
|
|
174
|
-
readonly name: "oldInterestRateModel";
|
|
175
|
-
readonly type: "address";
|
|
176
|
-
}, {
|
|
177
|
-
readonly indexed: false;
|
|
178
|
-
readonly internalType: "address";
|
|
179
|
-
readonly name: "newInterestRateModel";
|
|
180
|
-
readonly type: "address";
|
|
181
|
-
}];
|
|
182
|
-
readonly name: "NewMarketInterestRateModel";
|
|
183
|
-
readonly type: "event";
|
|
184
|
-
}, {
|
|
185
|
-
readonly anonymous: false;
|
|
186
|
-
readonly inputs: readonly [{
|
|
187
|
-
readonly indexed: false;
|
|
188
|
-
readonly internalType: "address";
|
|
189
|
-
readonly name: "oldPendingAdmin";
|
|
190
|
-
readonly type: "address";
|
|
191
|
-
}, {
|
|
192
|
-
readonly indexed: false;
|
|
193
|
-
readonly internalType: "address";
|
|
194
|
-
readonly name: "newPendingAdmin";
|
|
195
|
-
readonly type: "address";
|
|
196
|
-
}];
|
|
197
|
-
readonly name: "NewPendingAdmin";
|
|
198
|
-
readonly type: "event";
|
|
199
|
-
}, {
|
|
200
|
-
readonly anonymous: false;
|
|
201
|
-
readonly inputs: readonly [{
|
|
202
|
-
readonly indexed: false;
|
|
203
|
-
readonly internalType: "uint256";
|
|
204
|
-
readonly name: "oldReserveFactorMantissa";
|
|
205
|
-
readonly type: "uint256";
|
|
206
|
-
}, {
|
|
207
|
-
readonly indexed: false;
|
|
208
|
-
readonly internalType: "uint256";
|
|
209
|
-
readonly name: "newReserveFactorMantissa";
|
|
210
|
-
readonly type: "uint256";
|
|
211
|
-
}];
|
|
212
|
-
readonly name: "NewReserveFactor";
|
|
213
|
-
readonly type: "event";
|
|
214
|
-
}, {
|
|
215
|
-
readonly anonymous: false;
|
|
216
|
-
readonly inputs: readonly [{
|
|
217
|
-
readonly indexed: false;
|
|
218
|
-
readonly internalType: "address";
|
|
219
|
-
readonly name: "redeemer";
|
|
220
|
-
readonly type: "address";
|
|
221
|
-
}, {
|
|
222
|
-
readonly indexed: false;
|
|
223
|
-
readonly internalType: "uint256";
|
|
224
|
-
readonly name: "redeemAmount";
|
|
225
|
-
readonly type: "uint256";
|
|
226
|
-
}, {
|
|
227
|
-
readonly indexed: false;
|
|
228
|
-
readonly internalType: "uint256";
|
|
229
|
-
readonly name: "redeemTokens";
|
|
230
|
-
readonly type: "uint256";
|
|
231
|
-
}];
|
|
232
|
-
readonly name: "Redeem";
|
|
233
|
-
readonly type: "event";
|
|
234
|
-
}, {
|
|
235
|
-
readonly anonymous: false;
|
|
236
|
-
readonly inputs: readonly [{
|
|
237
|
-
readonly indexed: true;
|
|
238
|
-
readonly internalType: "address";
|
|
239
|
-
readonly name: "redeemer";
|
|
240
|
-
readonly type: "address";
|
|
241
|
-
}, {
|
|
242
|
-
readonly indexed: true;
|
|
243
|
-
readonly internalType: "address";
|
|
244
|
-
readonly name: "provider";
|
|
245
|
-
readonly type: "address";
|
|
246
|
-
}, {
|
|
247
|
-
readonly indexed: false;
|
|
248
|
-
readonly internalType: "uint256";
|
|
249
|
-
readonly name: "repayAmount";
|
|
250
|
-
readonly type: "uint256";
|
|
251
|
-
}, {
|
|
252
|
-
readonly indexed: false;
|
|
253
|
-
readonly internalType: "address";
|
|
254
|
-
readonly name: "seizeToken";
|
|
255
|
-
readonly type: "address";
|
|
256
|
-
}, {
|
|
257
|
-
readonly indexed: false;
|
|
258
|
-
readonly internalType: "uint256";
|
|
259
|
-
readonly name: "seizeAmount";
|
|
260
|
-
readonly type: "uint256";
|
|
261
|
-
}, {
|
|
262
|
-
readonly indexed: false;
|
|
263
|
-
readonly internalType: "uint256";
|
|
264
|
-
readonly name: "redemptionRateMantissa";
|
|
265
|
-
readonly type: "uint256";
|
|
266
|
-
}];
|
|
267
|
-
readonly name: "RedeemFaceValue";
|
|
268
|
-
readonly type: "event";
|
|
269
|
-
}, {
|
|
270
|
-
readonly anonymous: false;
|
|
271
|
-
readonly inputs: readonly [{
|
|
272
|
-
readonly indexed: false;
|
|
273
|
-
readonly internalType: "address";
|
|
274
|
-
readonly name: "payer";
|
|
275
|
-
readonly type: "address";
|
|
276
|
-
}, {
|
|
277
|
-
readonly indexed: false;
|
|
278
|
-
readonly internalType: "address";
|
|
279
|
-
readonly name: "borrower";
|
|
280
|
-
readonly type: "address";
|
|
281
|
-
}, {
|
|
282
|
-
readonly indexed: false;
|
|
283
|
-
readonly internalType: "uint256";
|
|
284
|
-
readonly name: "repayAmount";
|
|
285
|
-
readonly type: "uint256";
|
|
286
|
-
}, {
|
|
287
|
-
readonly indexed: false;
|
|
288
|
-
readonly internalType: "uint256";
|
|
289
|
-
readonly name: "accountBorrows";
|
|
290
|
-
readonly type: "uint256";
|
|
291
|
-
}, {
|
|
292
|
-
readonly indexed: false;
|
|
293
|
-
readonly internalType: "uint256";
|
|
294
|
-
readonly name: "totalBorrows";
|
|
295
|
-
readonly type: "uint256";
|
|
296
|
-
}];
|
|
297
|
-
readonly name: "RepayBorrow";
|
|
298
|
-
readonly type: "event";
|
|
299
|
-
}, {
|
|
300
|
-
readonly anonymous: false;
|
|
301
|
-
readonly inputs: readonly [{
|
|
302
|
-
readonly indexed: false;
|
|
303
|
-
readonly internalType: "address";
|
|
304
|
-
readonly name: "benefactor";
|
|
305
|
-
readonly type: "address";
|
|
306
|
-
}, {
|
|
307
|
-
readonly indexed: false;
|
|
308
|
-
readonly internalType: "uint256";
|
|
309
|
-
readonly name: "addAmount";
|
|
310
|
-
readonly type: "uint256";
|
|
311
|
-
}, {
|
|
312
|
-
readonly indexed: false;
|
|
313
|
-
readonly internalType: "uint256";
|
|
314
|
-
readonly name: "newTotalReserves";
|
|
315
|
-
readonly type: "uint256";
|
|
316
|
-
}];
|
|
317
|
-
readonly name: "ReservesAdded";
|
|
318
|
-
readonly type: "event";
|
|
319
|
-
}, {
|
|
320
|
-
readonly anonymous: false;
|
|
321
|
-
readonly inputs: readonly [{
|
|
322
|
-
readonly indexed: false;
|
|
323
|
-
readonly internalType: "address";
|
|
324
|
-
readonly name: "admin";
|
|
325
|
-
readonly type: "address";
|
|
326
|
-
}, {
|
|
327
|
-
readonly indexed: false;
|
|
328
|
-
readonly internalType: "uint256";
|
|
329
|
-
readonly name: "reduceAmount";
|
|
330
|
-
readonly type: "uint256";
|
|
331
|
-
}, {
|
|
332
|
-
readonly indexed: false;
|
|
333
|
-
readonly internalType: "uint256";
|
|
334
|
-
readonly name: "newTotalReserves";
|
|
335
|
-
readonly type: "uint256";
|
|
336
|
-
}];
|
|
337
|
-
readonly name: "ReservesReduced";
|
|
338
|
-
readonly type: "event";
|
|
339
|
-
}, {
|
|
340
|
-
readonly anonymous: false;
|
|
341
|
-
readonly inputs: readonly [{
|
|
342
|
-
readonly indexed: true;
|
|
343
|
-
readonly internalType: "address";
|
|
344
|
-
readonly name: "from";
|
|
345
|
-
readonly type: "address";
|
|
346
|
-
}, {
|
|
347
|
-
readonly indexed: true;
|
|
348
|
-
readonly internalType: "address";
|
|
349
|
-
readonly name: "to";
|
|
350
|
-
readonly type: "address";
|
|
351
|
-
}, {
|
|
352
|
-
readonly indexed: false;
|
|
353
|
-
readonly internalType: "uint256";
|
|
354
|
-
readonly name: "amount";
|
|
355
|
-
readonly type: "uint256";
|
|
356
|
-
}];
|
|
357
|
-
readonly name: "Transfer";
|
|
358
|
-
readonly type: "event";
|
|
359
|
-
}, {
|
|
360
5
|
readonly inputs: readonly [];
|
|
361
6
|
readonly name: "_acceptAdmin";
|
|
362
7
|
readonly outputs: readonly [{
|
|
@@ -572,16 +217,6 @@ export declare class ICToken__factory {
|
|
|
572
217
|
}];
|
|
573
218
|
readonly stateMutability: "view";
|
|
574
219
|
readonly type: "function";
|
|
575
|
-
}, {
|
|
576
|
-
readonly inputs: readonly [];
|
|
577
|
-
readonly name: "discountRateMantissa";
|
|
578
|
-
readonly outputs: readonly [{
|
|
579
|
-
readonly internalType: "uint256";
|
|
580
|
-
readonly name: "";
|
|
581
|
-
readonly type: "uint256";
|
|
582
|
-
}];
|
|
583
|
-
readonly stateMutability: "view";
|
|
584
|
-
readonly type: "function";
|
|
585
220
|
}, {
|
|
586
221
|
readonly inputs: readonly [];
|
|
587
222
|
readonly name: "exchangeRateCurrent";
|