@meterio/sumer-js 0.2.29 → 0.2.31
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 +9208 -9987
- 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 +25 -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/ITimelock.d.ts +1 -15
- 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 +30 -30
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +38 -37
- 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 +30 -34
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +38 -42
- 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/ICErc20__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICErc20__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICErc20__factory.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/ITimelock__factory.d.ts +0 -18
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ITimelock__factory.js +0 -24
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ITimelock__factory.js.map +1 -1
- 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
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface,
|
|
2
|
-
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog,
|
|
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
3
|
export interface CTokenStorageInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "_acceptAdmin" | "_reduceReserves" | "_setComptroller" | "_setDiscountRate" | "_setInterestRateModel" | "_setPendingAdmin" | "_setReserveFactor" | "accrualBlockNumber" | "accrueInterest" | "admin" | "allowance" | "approve" | "balanceOf" | "balanceOfUnderlying" | "borrowBalanceCurrent" | "borrowBalanceStored" | "borrowIndex" | "borrowRatePerBlock" | "comptroller" | "decimals" | "discountRateMantissa" | "exchangeRateCurrent" | "exchangeRateStored" | "getAccountSnapshot" | "getCash" | "interestRateModel" | "
|
|
5
|
-
getEvent(nameOrSignatureOrTopic: "AccrueInterest" | "Approval" | "Borrow" | "LiquidateBorrow" | "Mint" | "NewAdmin" | "NewComptroller" | "NewDiscountRate" | "NewMarketInterestRateModel" | "NewPendingAdmin" | "NewReserveFactor" | "Redeem" | "RedeemFaceValue" | "RepayBorrow" | "ReservesAdded" | "ReservesReduced" | "Transfer"): EventFragment;
|
|
4
|
+
getFunction(nameOrSignature: "_acceptAdmin" | "_reduceReserves" | "_setComptroller" | "_setDiscountRate" | "_setInterestRateModel" | "_setPendingAdmin" | "_setReserveFactor" | "accrualBlockNumber" | "accrueInterest" | "admin" | "allowance" | "approve" | "balanceOf" | "balanceOfUnderlying" | "borrowBalanceCurrent" | "borrowBalanceStored" | "borrowIndex" | "borrowRatePerBlock" | "comptroller" | "decimals" | "discountRateMantissa" | "exchangeRateCurrent" | "exchangeRateStored" | "getAccountSnapshot" | "getCash" | "interestRateModel" | "isCEtherDeprecated" | "isCTokenDeprecated" | "name" | "pendingAdmin" | "protocolSeizeShareMantissa" | "reserveFactorMantissa" | "seize" | "supplyRatePerBlock" | "symbol" | "totalBorrows" | "totalBorrowsCurrent" | "totalReserves" | "totalSupply" | "transfer" | "transferFrom" | "underlying" | "underlyingBalance"): FunctionFragment;
|
|
6
5
|
encodeFunctionData(functionFragment: "_acceptAdmin", values?: undefined): string;
|
|
7
6
|
encodeFunctionData(functionFragment: "_reduceReserves", values: [BigNumberish]): string;
|
|
8
7
|
encodeFunctionData(functionFragment: "_setComptroller", values: [AddressLike]): string;
|
|
@@ -29,8 +28,8 @@ export interface CTokenStorageInterface extends Interface {
|
|
|
29
28
|
encodeFunctionData(functionFragment: "getAccountSnapshot", values: [AddressLike]): string;
|
|
30
29
|
encodeFunctionData(functionFragment: "getCash", values?: undefined): string;
|
|
31
30
|
encodeFunctionData(functionFragment: "interestRateModel", values?: undefined): string;
|
|
32
|
-
encodeFunctionData(functionFragment: "
|
|
33
|
-
encodeFunctionData(functionFragment: "
|
|
31
|
+
encodeFunctionData(functionFragment: "isCEtherDeprecated", values?: undefined): string;
|
|
32
|
+
encodeFunctionData(functionFragment: "isCTokenDeprecated", values?: undefined): string;
|
|
34
33
|
encodeFunctionData(functionFragment: "name", values?: undefined): string;
|
|
35
34
|
encodeFunctionData(functionFragment: "pendingAdmin", values?: undefined): string;
|
|
36
35
|
encodeFunctionData(functionFragment: "protocolSeizeShareMantissa", values?: undefined): string;
|
|
@@ -79,8 +78,8 @@ export interface CTokenStorageInterface extends Interface {
|
|
|
79
78
|
decodeFunctionResult(functionFragment: "getAccountSnapshot", data: BytesLike): Result;
|
|
80
79
|
decodeFunctionResult(functionFragment: "getCash", data: BytesLike): Result;
|
|
81
80
|
decodeFunctionResult(functionFragment: "interestRateModel", data: BytesLike): Result;
|
|
82
|
-
decodeFunctionResult(functionFragment: "
|
|
83
|
-
decodeFunctionResult(functionFragment: "
|
|
81
|
+
decodeFunctionResult(functionFragment: "isCEtherDeprecated", data: BytesLike): Result;
|
|
82
|
+
decodeFunctionResult(functionFragment: "isCTokenDeprecated", data: BytesLike): Result;
|
|
84
83
|
decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
|
|
85
84
|
decodeFunctionResult(functionFragment: "pendingAdmin", data: BytesLike): Result;
|
|
86
85
|
decodeFunctionResult(functionFragment: "protocolSeizeShareMantissa", data: BytesLike): Result;
|
|
@@ -97,352 +96,6 @@ export interface CTokenStorageInterface extends Interface {
|
|
|
97
96
|
decodeFunctionResult(functionFragment: "underlying", data: BytesLike): Result;
|
|
98
97
|
decodeFunctionResult(functionFragment: "underlyingBalance", data: BytesLike): Result;
|
|
99
98
|
}
|
|
100
|
-
export declare namespace AccrueInterestEvent {
|
|
101
|
-
type InputTuple = [
|
|
102
|
-
cashPrior: BigNumberish,
|
|
103
|
-
interestAccumulated: BigNumberish,
|
|
104
|
-
borrowIndex: BigNumberish,
|
|
105
|
-
totalBorrows: BigNumberish
|
|
106
|
-
];
|
|
107
|
-
type OutputTuple = [
|
|
108
|
-
cashPrior: bigint,
|
|
109
|
-
interestAccumulated: bigint,
|
|
110
|
-
borrowIndex: bigint,
|
|
111
|
-
totalBorrows: bigint
|
|
112
|
-
];
|
|
113
|
-
interface OutputObject {
|
|
114
|
-
cashPrior: bigint;
|
|
115
|
-
interestAccumulated: bigint;
|
|
116
|
-
borrowIndex: bigint;
|
|
117
|
-
totalBorrows: bigint;
|
|
118
|
-
}
|
|
119
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
120
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
121
|
-
type Log = TypedEventLog<Event>;
|
|
122
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
123
|
-
}
|
|
124
|
-
export declare namespace ApprovalEvent {
|
|
125
|
-
type InputTuple = [
|
|
126
|
-
owner: AddressLike,
|
|
127
|
-
spender: AddressLike,
|
|
128
|
-
amount: BigNumberish
|
|
129
|
-
];
|
|
130
|
-
type OutputTuple = [owner: string, spender: string, amount: bigint];
|
|
131
|
-
interface OutputObject {
|
|
132
|
-
owner: string;
|
|
133
|
-
spender: string;
|
|
134
|
-
amount: bigint;
|
|
135
|
-
}
|
|
136
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
137
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
138
|
-
type Log = TypedEventLog<Event>;
|
|
139
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
140
|
-
}
|
|
141
|
-
export declare namespace BorrowEvent {
|
|
142
|
-
type InputTuple = [
|
|
143
|
-
borrower: AddressLike,
|
|
144
|
-
borrowAmount: BigNumberish,
|
|
145
|
-
accountBorrows: BigNumberish,
|
|
146
|
-
totalBorrows: BigNumberish
|
|
147
|
-
];
|
|
148
|
-
type OutputTuple = [
|
|
149
|
-
borrower: string,
|
|
150
|
-
borrowAmount: bigint,
|
|
151
|
-
accountBorrows: bigint,
|
|
152
|
-
totalBorrows: bigint
|
|
153
|
-
];
|
|
154
|
-
interface OutputObject {
|
|
155
|
-
borrower: string;
|
|
156
|
-
borrowAmount: bigint;
|
|
157
|
-
accountBorrows: bigint;
|
|
158
|
-
totalBorrows: bigint;
|
|
159
|
-
}
|
|
160
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
161
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
162
|
-
type Log = TypedEventLog<Event>;
|
|
163
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
164
|
-
}
|
|
165
|
-
export declare namespace LiquidateBorrowEvent {
|
|
166
|
-
type InputTuple = [
|
|
167
|
-
liquidator: AddressLike,
|
|
168
|
-
borrower: AddressLike,
|
|
169
|
-
repayAmount: BigNumberish,
|
|
170
|
-
cTokenCollateral: AddressLike,
|
|
171
|
-
seizeTokens: BigNumberish
|
|
172
|
-
];
|
|
173
|
-
type OutputTuple = [
|
|
174
|
-
liquidator: string,
|
|
175
|
-
borrower: string,
|
|
176
|
-
repayAmount: bigint,
|
|
177
|
-
cTokenCollateral: string,
|
|
178
|
-
seizeTokens: bigint
|
|
179
|
-
];
|
|
180
|
-
interface OutputObject {
|
|
181
|
-
liquidator: string;
|
|
182
|
-
borrower: string;
|
|
183
|
-
repayAmount: bigint;
|
|
184
|
-
cTokenCollateral: string;
|
|
185
|
-
seizeTokens: bigint;
|
|
186
|
-
}
|
|
187
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
188
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
189
|
-
type Log = TypedEventLog<Event>;
|
|
190
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
191
|
-
}
|
|
192
|
-
export declare namespace MintEvent {
|
|
193
|
-
type InputTuple = [
|
|
194
|
-
minter: AddressLike,
|
|
195
|
-
mintAmount: BigNumberish,
|
|
196
|
-
mintTokens: BigNumberish
|
|
197
|
-
];
|
|
198
|
-
type OutputTuple = [
|
|
199
|
-
minter: string,
|
|
200
|
-
mintAmount: bigint,
|
|
201
|
-
mintTokens: bigint
|
|
202
|
-
];
|
|
203
|
-
interface OutputObject {
|
|
204
|
-
minter: string;
|
|
205
|
-
mintAmount: bigint;
|
|
206
|
-
mintTokens: bigint;
|
|
207
|
-
}
|
|
208
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
209
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
210
|
-
type Log = TypedEventLog<Event>;
|
|
211
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
212
|
-
}
|
|
213
|
-
export declare namespace NewAdminEvent {
|
|
214
|
-
type InputTuple = [oldAdmin: AddressLike, newAdmin: AddressLike];
|
|
215
|
-
type OutputTuple = [oldAdmin: string, newAdmin: string];
|
|
216
|
-
interface OutputObject {
|
|
217
|
-
oldAdmin: string;
|
|
218
|
-
newAdmin: string;
|
|
219
|
-
}
|
|
220
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
221
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
222
|
-
type Log = TypedEventLog<Event>;
|
|
223
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
224
|
-
}
|
|
225
|
-
export declare namespace NewComptrollerEvent {
|
|
226
|
-
type InputTuple = [
|
|
227
|
-
oldComptroller: AddressLike,
|
|
228
|
-
newComptroller: AddressLike
|
|
229
|
-
];
|
|
230
|
-
type OutputTuple = [oldComptroller: string, newComptroller: string];
|
|
231
|
-
interface OutputObject {
|
|
232
|
-
oldComptroller: string;
|
|
233
|
-
newComptroller: string;
|
|
234
|
-
}
|
|
235
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
236
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
237
|
-
type Log = TypedEventLog<Event>;
|
|
238
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
239
|
-
}
|
|
240
|
-
export declare namespace NewDiscountRateEvent {
|
|
241
|
-
type InputTuple = [
|
|
242
|
-
oldDiscountRateMantissa: BigNumberish,
|
|
243
|
-
newDiscountRateMantissa: BigNumberish
|
|
244
|
-
];
|
|
245
|
-
type OutputTuple = [
|
|
246
|
-
oldDiscountRateMantissa: bigint,
|
|
247
|
-
newDiscountRateMantissa: bigint
|
|
248
|
-
];
|
|
249
|
-
interface OutputObject {
|
|
250
|
-
oldDiscountRateMantissa: bigint;
|
|
251
|
-
newDiscountRateMantissa: bigint;
|
|
252
|
-
}
|
|
253
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
254
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
255
|
-
type Log = TypedEventLog<Event>;
|
|
256
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
257
|
-
}
|
|
258
|
-
export declare namespace NewMarketInterestRateModelEvent {
|
|
259
|
-
type InputTuple = [
|
|
260
|
-
oldInterestRateModel: AddressLike,
|
|
261
|
-
newInterestRateModel: AddressLike
|
|
262
|
-
];
|
|
263
|
-
type OutputTuple = [
|
|
264
|
-
oldInterestRateModel: string,
|
|
265
|
-
newInterestRateModel: string
|
|
266
|
-
];
|
|
267
|
-
interface OutputObject {
|
|
268
|
-
oldInterestRateModel: string;
|
|
269
|
-
newInterestRateModel: string;
|
|
270
|
-
}
|
|
271
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
272
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
273
|
-
type Log = TypedEventLog<Event>;
|
|
274
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
275
|
-
}
|
|
276
|
-
export declare namespace NewPendingAdminEvent {
|
|
277
|
-
type InputTuple = [
|
|
278
|
-
oldPendingAdmin: AddressLike,
|
|
279
|
-
newPendingAdmin: AddressLike
|
|
280
|
-
];
|
|
281
|
-
type OutputTuple = [oldPendingAdmin: string, newPendingAdmin: string];
|
|
282
|
-
interface OutputObject {
|
|
283
|
-
oldPendingAdmin: string;
|
|
284
|
-
newPendingAdmin: string;
|
|
285
|
-
}
|
|
286
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
287
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
288
|
-
type Log = TypedEventLog<Event>;
|
|
289
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
290
|
-
}
|
|
291
|
-
export declare namespace NewReserveFactorEvent {
|
|
292
|
-
type InputTuple = [
|
|
293
|
-
oldReserveFactorMantissa: BigNumberish,
|
|
294
|
-
newReserveFactorMantissa: BigNumberish
|
|
295
|
-
];
|
|
296
|
-
type OutputTuple = [
|
|
297
|
-
oldReserveFactorMantissa: bigint,
|
|
298
|
-
newReserveFactorMantissa: bigint
|
|
299
|
-
];
|
|
300
|
-
interface OutputObject {
|
|
301
|
-
oldReserveFactorMantissa: bigint;
|
|
302
|
-
newReserveFactorMantissa: bigint;
|
|
303
|
-
}
|
|
304
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
305
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
306
|
-
type Log = TypedEventLog<Event>;
|
|
307
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
308
|
-
}
|
|
309
|
-
export declare namespace RedeemEvent {
|
|
310
|
-
type InputTuple = [
|
|
311
|
-
redeemer: AddressLike,
|
|
312
|
-
redeemAmount: BigNumberish,
|
|
313
|
-
redeemTokens: BigNumberish
|
|
314
|
-
];
|
|
315
|
-
type OutputTuple = [
|
|
316
|
-
redeemer: string,
|
|
317
|
-
redeemAmount: bigint,
|
|
318
|
-
redeemTokens: bigint
|
|
319
|
-
];
|
|
320
|
-
interface OutputObject {
|
|
321
|
-
redeemer: string;
|
|
322
|
-
redeemAmount: bigint;
|
|
323
|
-
redeemTokens: bigint;
|
|
324
|
-
}
|
|
325
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
326
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
327
|
-
type Log = TypedEventLog<Event>;
|
|
328
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
329
|
-
}
|
|
330
|
-
export declare namespace RedeemFaceValueEvent {
|
|
331
|
-
type InputTuple = [
|
|
332
|
-
redeemer: AddressLike,
|
|
333
|
-
provider: AddressLike,
|
|
334
|
-
repayAmount: BigNumberish,
|
|
335
|
-
seizeToken: AddressLike,
|
|
336
|
-
seizeAmount: BigNumberish,
|
|
337
|
-
redemptionRateMantissa: BigNumberish
|
|
338
|
-
];
|
|
339
|
-
type OutputTuple = [
|
|
340
|
-
redeemer: string,
|
|
341
|
-
provider: string,
|
|
342
|
-
repayAmount: bigint,
|
|
343
|
-
seizeToken: string,
|
|
344
|
-
seizeAmount: bigint,
|
|
345
|
-
redemptionRateMantissa: bigint
|
|
346
|
-
];
|
|
347
|
-
interface OutputObject {
|
|
348
|
-
redeemer: string;
|
|
349
|
-
provider: string;
|
|
350
|
-
repayAmount: bigint;
|
|
351
|
-
seizeToken: string;
|
|
352
|
-
seizeAmount: bigint;
|
|
353
|
-
redemptionRateMantissa: bigint;
|
|
354
|
-
}
|
|
355
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
356
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
357
|
-
type Log = TypedEventLog<Event>;
|
|
358
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
359
|
-
}
|
|
360
|
-
export declare namespace RepayBorrowEvent {
|
|
361
|
-
type InputTuple = [
|
|
362
|
-
payer: AddressLike,
|
|
363
|
-
borrower: AddressLike,
|
|
364
|
-
repayAmount: BigNumberish,
|
|
365
|
-
accountBorrows: BigNumberish,
|
|
366
|
-
totalBorrows: BigNumberish
|
|
367
|
-
];
|
|
368
|
-
type OutputTuple = [
|
|
369
|
-
payer: string,
|
|
370
|
-
borrower: string,
|
|
371
|
-
repayAmount: bigint,
|
|
372
|
-
accountBorrows: bigint,
|
|
373
|
-
totalBorrows: bigint
|
|
374
|
-
];
|
|
375
|
-
interface OutputObject {
|
|
376
|
-
payer: string;
|
|
377
|
-
borrower: string;
|
|
378
|
-
repayAmount: bigint;
|
|
379
|
-
accountBorrows: bigint;
|
|
380
|
-
totalBorrows: bigint;
|
|
381
|
-
}
|
|
382
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
383
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
384
|
-
type Log = TypedEventLog<Event>;
|
|
385
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
386
|
-
}
|
|
387
|
-
export declare namespace ReservesAddedEvent {
|
|
388
|
-
type InputTuple = [
|
|
389
|
-
benefactor: AddressLike,
|
|
390
|
-
addAmount: BigNumberish,
|
|
391
|
-
newTotalReserves: BigNumberish
|
|
392
|
-
];
|
|
393
|
-
type OutputTuple = [
|
|
394
|
-
benefactor: string,
|
|
395
|
-
addAmount: bigint,
|
|
396
|
-
newTotalReserves: bigint
|
|
397
|
-
];
|
|
398
|
-
interface OutputObject {
|
|
399
|
-
benefactor: string;
|
|
400
|
-
addAmount: bigint;
|
|
401
|
-
newTotalReserves: bigint;
|
|
402
|
-
}
|
|
403
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
404
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
405
|
-
type Log = TypedEventLog<Event>;
|
|
406
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
407
|
-
}
|
|
408
|
-
export declare namespace ReservesReducedEvent {
|
|
409
|
-
type InputTuple = [
|
|
410
|
-
admin: AddressLike,
|
|
411
|
-
reduceAmount: BigNumberish,
|
|
412
|
-
newTotalReserves: BigNumberish
|
|
413
|
-
];
|
|
414
|
-
type OutputTuple = [
|
|
415
|
-
admin: string,
|
|
416
|
-
reduceAmount: bigint,
|
|
417
|
-
newTotalReserves: bigint
|
|
418
|
-
];
|
|
419
|
-
interface OutputObject {
|
|
420
|
-
admin: string;
|
|
421
|
-
reduceAmount: bigint;
|
|
422
|
-
newTotalReserves: bigint;
|
|
423
|
-
}
|
|
424
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
425
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
426
|
-
type Log = TypedEventLog<Event>;
|
|
427
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
428
|
-
}
|
|
429
|
-
export declare namespace TransferEvent {
|
|
430
|
-
type InputTuple = [
|
|
431
|
-
from: AddressLike,
|
|
432
|
-
to: AddressLike,
|
|
433
|
-
amount: BigNumberish
|
|
434
|
-
];
|
|
435
|
-
type OutputTuple = [from: string, to: string, amount: bigint];
|
|
436
|
-
interface OutputObject {
|
|
437
|
-
from: string;
|
|
438
|
-
to: string;
|
|
439
|
-
amount: bigint;
|
|
440
|
-
}
|
|
441
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
442
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
443
|
-
type Log = TypedEventLog<Event>;
|
|
444
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
445
|
-
}
|
|
446
99
|
export interface CTokenStorage extends BaseContract {
|
|
447
100
|
connect(runner?: ContractRunner | null): CTokenStorage;
|
|
448
101
|
waitForDeployment(): Promise<this>;
|
|
@@ -532,8 +185,8 @@ export interface CTokenStorage extends BaseContract {
|
|
|
532
185
|
], "view">;
|
|
533
186
|
getCash: TypedContractMethod<[], [bigint], "view">;
|
|
534
187
|
interestRateModel: TypedContractMethod<[], [string], "view">;
|
|
535
|
-
|
|
536
|
-
|
|
188
|
+
isCEtherDeprecated: TypedContractMethod<[], [boolean], "view">;
|
|
189
|
+
isCTokenDeprecated: TypedContractMethod<[], [boolean], "view">;
|
|
537
190
|
name: TypedContractMethod<[], [string], "view">;
|
|
538
191
|
pendingAdmin: TypedContractMethod<[], [string], "view">;
|
|
539
192
|
protocolSeizeShareMantissa: TypedContractMethod<[], [bigint], "view">;
|
|
@@ -626,8 +279,8 @@ export interface CTokenStorage extends BaseContract {
|
|
|
626
279
|
], "view">;
|
|
627
280
|
getFunction(nameOrSignature: "getCash"): TypedContractMethod<[], [bigint], "view">;
|
|
628
281
|
getFunction(nameOrSignature: "interestRateModel"): TypedContractMethod<[], [string], "view">;
|
|
629
|
-
getFunction(nameOrSignature: "
|
|
630
|
-
getFunction(nameOrSignature: "
|
|
282
|
+
getFunction(nameOrSignature: "isCEtherDeprecated"): TypedContractMethod<[], [boolean], "view">;
|
|
283
|
+
getFunction(nameOrSignature: "isCTokenDeprecated"): TypedContractMethod<[], [boolean], "view">;
|
|
631
284
|
getFunction(nameOrSignature: "name"): TypedContractMethod<[], [string], "view">;
|
|
632
285
|
getFunction(nameOrSignature: "pendingAdmin"): TypedContractMethod<[], [string], "view">;
|
|
633
286
|
getFunction(nameOrSignature: "protocolSeizeShareMantissa"): TypedContractMethod<[], [bigint], "view">;
|
|
@@ -663,57 +316,5 @@ export interface CTokenStorage extends BaseContract {
|
|
|
663
316
|
], "nonpayable">;
|
|
664
317
|
getFunction(nameOrSignature: "underlying"): TypedContractMethod<[], [string], "view">;
|
|
665
318
|
getFunction(nameOrSignature: "underlyingBalance"): TypedContractMethod<[], [bigint], "view">;
|
|
666
|
-
|
|
667
|
-
getEvent(key: "Approval"): TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
668
|
-
getEvent(key: "Borrow"): TypedContractEvent<BorrowEvent.InputTuple, BorrowEvent.OutputTuple, BorrowEvent.OutputObject>;
|
|
669
|
-
getEvent(key: "LiquidateBorrow"): TypedContractEvent<LiquidateBorrowEvent.InputTuple, LiquidateBorrowEvent.OutputTuple, LiquidateBorrowEvent.OutputObject>;
|
|
670
|
-
getEvent(key: "Mint"): TypedContractEvent<MintEvent.InputTuple, MintEvent.OutputTuple, MintEvent.OutputObject>;
|
|
671
|
-
getEvent(key: "NewAdmin"): TypedContractEvent<NewAdminEvent.InputTuple, NewAdminEvent.OutputTuple, NewAdminEvent.OutputObject>;
|
|
672
|
-
getEvent(key: "NewComptroller"): TypedContractEvent<NewComptrollerEvent.InputTuple, NewComptrollerEvent.OutputTuple, NewComptrollerEvent.OutputObject>;
|
|
673
|
-
getEvent(key: "NewDiscountRate"): TypedContractEvent<NewDiscountRateEvent.InputTuple, NewDiscountRateEvent.OutputTuple, NewDiscountRateEvent.OutputObject>;
|
|
674
|
-
getEvent(key: "NewMarketInterestRateModel"): TypedContractEvent<NewMarketInterestRateModelEvent.InputTuple, NewMarketInterestRateModelEvent.OutputTuple, NewMarketInterestRateModelEvent.OutputObject>;
|
|
675
|
-
getEvent(key: "NewPendingAdmin"): TypedContractEvent<NewPendingAdminEvent.InputTuple, NewPendingAdminEvent.OutputTuple, NewPendingAdminEvent.OutputObject>;
|
|
676
|
-
getEvent(key: "NewReserveFactor"): TypedContractEvent<NewReserveFactorEvent.InputTuple, NewReserveFactorEvent.OutputTuple, NewReserveFactorEvent.OutputObject>;
|
|
677
|
-
getEvent(key: "Redeem"): TypedContractEvent<RedeemEvent.InputTuple, RedeemEvent.OutputTuple, RedeemEvent.OutputObject>;
|
|
678
|
-
getEvent(key: "RedeemFaceValue"): TypedContractEvent<RedeemFaceValueEvent.InputTuple, RedeemFaceValueEvent.OutputTuple, RedeemFaceValueEvent.OutputObject>;
|
|
679
|
-
getEvent(key: "RepayBorrow"): TypedContractEvent<RepayBorrowEvent.InputTuple, RepayBorrowEvent.OutputTuple, RepayBorrowEvent.OutputObject>;
|
|
680
|
-
getEvent(key: "ReservesAdded"): TypedContractEvent<ReservesAddedEvent.InputTuple, ReservesAddedEvent.OutputTuple, ReservesAddedEvent.OutputObject>;
|
|
681
|
-
getEvent(key: "ReservesReduced"): TypedContractEvent<ReservesReducedEvent.InputTuple, ReservesReducedEvent.OutputTuple, ReservesReducedEvent.OutputObject>;
|
|
682
|
-
getEvent(key: "Transfer"): TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
683
|
-
filters: {
|
|
684
|
-
"AccrueInterest(uint256,uint256,uint256,uint256)": TypedContractEvent<AccrueInterestEvent.InputTuple, AccrueInterestEvent.OutputTuple, AccrueInterestEvent.OutputObject>;
|
|
685
|
-
AccrueInterest: TypedContractEvent<AccrueInterestEvent.InputTuple, AccrueInterestEvent.OutputTuple, AccrueInterestEvent.OutputObject>;
|
|
686
|
-
"Approval(address,address,uint256)": TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
687
|
-
Approval: TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
688
|
-
"Borrow(address,uint256,uint256,uint256)": TypedContractEvent<BorrowEvent.InputTuple, BorrowEvent.OutputTuple, BorrowEvent.OutputObject>;
|
|
689
|
-
Borrow: TypedContractEvent<BorrowEvent.InputTuple, BorrowEvent.OutputTuple, BorrowEvent.OutputObject>;
|
|
690
|
-
"LiquidateBorrow(address,address,uint256,address,uint256)": TypedContractEvent<LiquidateBorrowEvent.InputTuple, LiquidateBorrowEvent.OutputTuple, LiquidateBorrowEvent.OutputObject>;
|
|
691
|
-
LiquidateBorrow: TypedContractEvent<LiquidateBorrowEvent.InputTuple, LiquidateBorrowEvent.OutputTuple, LiquidateBorrowEvent.OutputObject>;
|
|
692
|
-
"Mint(address,uint256,uint256)": TypedContractEvent<MintEvent.InputTuple, MintEvent.OutputTuple, MintEvent.OutputObject>;
|
|
693
|
-
Mint: TypedContractEvent<MintEvent.InputTuple, MintEvent.OutputTuple, MintEvent.OutputObject>;
|
|
694
|
-
"NewAdmin(address,address)": TypedContractEvent<NewAdminEvent.InputTuple, NewAdminEvent.OutputTuple, NewAdminEvent.OutputObject>;
|
|
695
|
-
NewAdmin: TypedContractEvent<NewAdminEvent.InputTuple, NewAdminEvent.OutputTuple, NewAdminEvent.OutputObject>;
|
|
696
|
-
"NewComptroller(address,address)": TypedContractEvent<NewComptrollerEvent.InputTuple, NewComptrollerEvent.OutputTuple, NewComptrollerEvent.OutputObject>;
|
|
697
|
-
NewComptroller: TypedContractEvent<NewComptrollerEvent.InputTuple, NewComptrollerEvent.OutputTuple, NewComptrollerEvent.OutputObject>;
|
|
698
|
-
"NewDiscountRate(uint256,uint256)": TypedContractEvent<NewDiscountRateEvent.InputTuple, NewDiscountRateEvent.OutputTuple, NewDiscountRateEvent.OutputObject>;
|
|
699
|
-
NewDiscountRate: TypedContractEvent<NewDiscountRateEvent.InputTuple, NewDiscountRateEvent.OutputTuple, NewDiscountRateEvent.OutputObject>;
|
|
700
|
-
"NewMarketInterestRateModel(address,address)": TypedContractEvent<NewMarketInterestRateModelEvent.InputTuple, NewMarketInterestRateModelEvent.OutputTuple, NewMarketInterestRateModelEvent.OutputObject>;
|
|
701
|
-
NewMarketInterestRateModel: TypedContractEvent<NewMarketInterestRateModelEvent.InputTuple, NewMarketInterestRateModelEvent.OutputTuple, NewMarketInterestRateModelEvent.OutputObject>;
|
|
702
|
-
"NewPendingAdmin(address,address)": TypedContractEvent<NewPendingAdminEvent.InputTuple, NewPendingAdminEvent.OutputTuple, NewPendingAdminEvent.OutputObject>;
|
|
703
|
-
NewPendingAdmin: TypedContractEvent<NewPendingAdminEvent.InputTuple, NewPendingAdminEvent.OutputTuple, NewPendingAdminEvent.OutputObject>;
|
|
704
|
-
"NewReserveFactor(uint256,uint256)": TypedContractEvent<NewReserveFactorEvent.InputTuple, NewReserveFactorEvent.OutputTuple, NewReserveFactorEvent.OutputObject>;
|
|
705
|
-
NewReserveFactor: TypedContractEvent<NewReserveFactorEvent.InputTuple, NewReserveFactorEvent.OutputTuple, NewReserveFactorEvent.OutputObject>;
|
|
706
|
-
"Redeem(address,uint256,uint256)": TypedContractEvent<RedeemEvent.InputTuple, RedeemEvent.OutputTuple, RedeemEvent.OutputObject>;
|
|
707
|
-
Redeem: TypedContractEvent<RedeemEvent.InputTuple, RedeemEvent.OutputTuple, RedeemEvent.OutputObject>;
|
|
708
|
-
"RedeemFaceValue(address,address,uint256,address,uint256,uint256)": TypedContractEvent<RedeemFaceValueEvent.InputTuple, RedeemFaceValueEvent.OutputTuple, RedeemFaceValueEvent.OutputObject>;
|
|
709
|
-
RedeemFaceValue: TypedContractEvent<RedeemFaceValueEvent.InputTuple, RedeemFaceValueEvent.OutputTuple, RedeemFaceValueEvent.OutputObject>;
|
|
710
|
-
"RepayBorrow(address,address,uint256,uint256,uint256)": TypedContractEvent<RepayBorrowEvent.InputTuple, RepayBorrowEvent.OutputTuple, RepayBorrowEvent.OutputObject>;
|
|
711
|
-
RepayBorrow: TypedContractEvent<RepayBorrowEvent.InputTuple, RepayBorrowEvent.OutputTuple, RepayBorrowEvent.OutputObject>;
|
|
712
|
-
"ReservesAdded(address,uint256,uint256)": TypedContractEvent<ReservesAddedEvent.InputTuple, ReservesAddedEvent.OutputTuple, ReservesAddedEvent.OutputObject>;
|
|
713
|
-
ReservesAdded: TypedContractEvent<ReservesAddedEvent.InputTuple, ReservesAddedEvent.OutputTuple, ReservesAddedEvent.OutputObject>;
|
|
714
|
-
"ReservesReduced(address,uint256,uint256)": TypedContractEvent<ReservesReducedEvent.InputTuple, ReservesReducedEvent.OutputTuple, ReservesReducedEvent.OutputObject>;
|
|
715
|
-
ReservesReduced: TypedContractEvent<ReservesReducedEvent.InputTuple, ReservesReducedEvent.OutputTuple, ReservesReducedEvent.OutputObject>;
|
|
716
|
-
"Transfer(address,address,uint256)": TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
717
|
-
Transfer: TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
718
|
-
};
|
|
319
|
+
filters: {};
|
|
719
320
|
}
|
|
@@ -14,7 +14,7 @@ export declare namespace CTokenStorage {
|
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
16
|
export interface SuErc20Interface extends Interface {
|
|
17
|
-
getFunction(nameOrSignature: "_acceptAdmin" | "_addReserves" | "_reduceReserves" | "_setComptroller" | "_setDiscountRate" | "_setInterestRateModel" | "_setPendingAdmin" | "_setReserveFactor" | "_syncUnderlyingBalance" | "accrualBlockNumber" | "accrueInterest" | "admin" | "allowance" | "approve" | "balanceOf" | "balanceOfUnderlying" | "borrow" | "borrowAndDepositBack" | "borrowBalanceCurrent" | "borrowBalanceStored" | "borrowIndex" | "borrowRatePerBlock" | "comptroller" | "decimals" | "discountRateMantissa" | "exchangeRateCurrent" | "exchangeRateStored" | "executeRedemption" | "getAccountSnapshot" | "getBorrowSnapshot" | "getCash" | "initialize" | "interestRateModel" | "isCEther" | "isCToken" | "isDeprecated" | "liquidateBorrow" | "liquidateCalculateSeizeTokens" | "mint" | "mintWithPermit" | "name" | "pendingAdmin" | "protectedMint" | "protocolSeizeShareMantissa" | "redeem" | "redeemUnderlying" | "repayBorrow" | "repayBorrowBehalf" | "repayBorrowWithPermit" | "reserveFactorMantissa" | "seize" | "supplyRatePerBlock" | "sweepToken" | "symbol" | "totalBorrows" | "totalBorrowsCurrent" | "totalReserves" | "totalSupply" | "transfer" | "transferFrom" | "underlying" | "underlyingBalance"): FunctionFragment;
|
|
17
|
+
getFunction(nameOrSignature: "_acceptAdmin" | "_addReserves" | "_reduceReserves" | "_setComptroller" | "_setDiscountRate" | "_setInterestRateModel" | "_setPendingAdmin" | "_setReserveFactor" | "_syncUnderlyingBalance" | "accrualBlockNumber" | "accrueInterest" | "admin" | "allowance" | "approve" | "balanceOf" | "balanceOfUnderlying" | "borrow" | "borrowAndDepositBack" | "borrowBalanceCurrent" | "borrowBalanceStored" | "borrowIndex" | "borrowRatePerBlock" | "comptroller" | "decimals" | "discountRateMantissa" | "exchangeRateCurrent" | "exchangeRateStored" | "executeRedemption" | "getAccountSnapshot" | "getBorrowSnapshot" | "getCash" | "initialize" | "interestRateModel" | "isCEther" | "isCEtherDeprecated" | "isCToken" | "isCTokenDeprecated" | "isDeprecated" | "liquidateBorrow" | "liquidateCalculateSeizeTokens" | "mint" | "mintWithPermit" | "name" | "pendingAdmin" | "protectedMint" | "protocolSeizeShareMantissa" | "redeem" | "redeemUnderlying" | "repayBorrow" | "repayBorrowBehalf" | "repayBorrowWithPermit" | "reserveFactorMantissa" | "seize" | "supplyRatePerBlock" | "sweepToken" | "symbol" | "totalBorrows" | "totalBorrowsCurrent" | "totalReserves" | "totalSupply" | "transfer" | "transferFrom" | "underlying" | "underlyingBalance"): FunctionFragment;
|
|
18
18
|
getEvent(nameOrSignatureOrTopic: "AccrueInterest" | "Approval" | "Borrow" | "Initialized" | "LiquidateBorrow" | "Mint" | "NewAdmin" | "NewComptroller" | "NewDiscountRate" | "NewMarketInterestRateModel" | "NewPendingAdmin" | "NewReserveFactor" | "Redeem" | "RedeemFaceValue" | "RepayBorrow" | "ReservesAdded" | "ReservesReduced" | "Transfer"): EventFragment;
|
|
19
19
|
encodeFunctionData(functionFragment: "_acceptAdmin", values?: undefined): string;
|
|
20
20
|
encodeFunctionData(functionFragment: "_addReserves", values: [BigNumberish]): string;
|
|
@@ -62,13 +62,13 @@ export interface SuErc20Interface extends Interface {
|
|
|
62
62
|
string,
|
|
63
63
|
string,
|
|
64
64
|
BigNumberish,
|
|
65
|
-
AddressLike
|
|
66
|
-
BigNumberish,
|
|
67
|
-
BigNumberish
|
|
65
|
+
AddressLike
|
|
68
66
|
]): string;
|
|
69
67
|
encodeFunctionData(functionFragment: "interestRateModel", values?: undefined): string;
|
|
70
68
|
encodeFunctionData(functionFragment: "isCEther", values?: undefined): string;
|
|
69
|
+
encodeFunctionData(functionFragment: "isCEtherDeprecated", values?: undefined): string;
|
|
71
70
|
encodeFunctionData(functionFragment: "isCToken", values?: undefined): string;
|
|
71
|
+
encodeFunctionData(functionFragment: "isCTokenDeprecated", values?: undefined): string;
|
|
72
72
|
encodeFunctionData(functionFragment: "isDeprecated", values?: undefined): string;
|
|
73
73
|
encodeFunctionData(functionFragment: "liquidateBorrow", values: [AddressLike, BigNumberish, AddressLike]): string;
|
|
74
74
|
encodeFunctionData(functionFragment: "liquidateCalculateSeizeTokens", values: [AddressLike, BigNumberish]): string;
|
|
@@ -137,7 +137,9 @@ export interface SuErc20Interface extends Interface {
|
|
|
137
137
|
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
|
|
138
138
|
decodeFunctionResult(functionFragment: "interestRateModel", data: BytesLike): Result;
|
|
139
139
|
decodeFunctionResult(functionFragment: "isCEther", data: BytesLike): Result;
|
|
140
|
+
decodeFunctionResult(functionFragment: "isCEtherDeprecated", data: BytesLike): Result;
|
|
140
141
|
decodeFunctionResult(functionFragment: "isCToken", data: BytesLike): Result;
|
|
142
|
+
decodeFunctionResult(functionFragment: "isCTokenDeprecated", data: BytesLike): Result;
|
|
141
143
|
decodeFunctionResult(functionFragment: "isDeprecated", data: BytesLike): Result;
|
|
142
144
|
decodeFunctionResult(functionFragment: "liquidateBorrow", data: BytesLike): Result;
|
|
143
145
|
decodeFunctionResult(functionFragment: "liquidateCalculateSeizeTokens", data: BytesLike): Result;
|
|
@@ -651,15 +653,15 @@ export interface SuErc20 extends BaseContract {
|
|
|
651
653
|
name_: string,
|
|
652
654
|
symbol_: string,
|
|
653
655
|
decimals_: BigNumberish,
|
|
654
|
-
admin_: AddressLike
|
|
655
|
-
discountRateMantissa_: BigNumberish,
|
|
656
|
-
reserveFactorMantissa_: BigNumberish
|
|
656
|
+
admin_: AddressLike
|
|
657
657
|
], [
|
|
658
658
|
void
|
|
659
659
|
], "nonpayable">;
|
|
660
660
|
interestRateModel: TypedContractMethod<[], [string], "view">;
|
|
661
661
|
isCEther: TypedContractMethod<[], [boolean], "view">;
|
|
662
|
+
isCEtherDeprecated: TypedContractMethod<[], [boolean], "view">;
|
|
662
663
|
isCToken: TypedContractMethod<[], [boolean], "view">;
|
|
664
|
+
isCTokenDeprecated: TypedContractMethod<[], [boolean], "view">;
|
|
663
665
|
isDeprecated: TypedContractMethod<[], [boolean], "view">;
|
|
664
666
|
liquidateBorrow: TypedContractMethod<[
|
|
665
667
|
borrower: AddressLike,
|
|
@@ -841,15 +843,15 @@ export interface SuErc20 extends BaseContract {
|
|
|
841
843
|
name_: string,
|
|
842
844
|
symbol_: string,
|
|
843
845
|
decimals_: BigNumberish,
|
|
844
|
-
admin_: AddressLike
|
|
845
|
-
discountRateMantissa_: BigNumberish,
|
|
846
|
-
reserveFactorMantissa_: BigNumberish
|
|
846
|
+
admin_: AddressLike
|
|
847
847
|
], [
|
|
848
848
|
void
|
|
849
849
|
], "nonpayable">;
|
|
850
850
|
getFunction(nameOrSignature: "interestRateModel"): TypedContractMethod<[], [string], "view">;
|
|
851
851
|
getFunction(nameOrSignature: "isCEther"): TypedContractMethod<[], [boolean], "view">;
|
|
852
|
+
getFunction(nameOrSignature: "isCEtherDeprecated"): TypedContractMethod<[], [boolean], "view">;
|
|
852
853
|
getFunction(nameOrSignature: "isCToken"): TypedContractMethod<[], [boolean], "view">;
|
|
854
|
+
getFunction(nameOrSignature: "isCTokenDeprecated"): TypedContractMethod<[], [boolean], "view">;
|
|
853
855
|
getFunction(nameOrSignature: "isDeprecated"): TypedContractMethod<[], [boolean], "view">;
|
|
854
856
|
getFunction(nameOrSignature: "liquidateBorrow"): TypedContractMethod<[
|
|
855
857
|
borrower: AddressLike,
|
|
@@ -301,7 +301,7 @@ export declare namespace CompoundLens {
|
|
|
301
301
|
};
|
|
302
302
|
}
|
|
303
303
|
export interface CompoundLensInterface extends Interface {
|
|
304
|
-
getFunction(nameOrSignature: "cTokenBalances" | "cTokenBalancesAll" | "cTokenMetadata" | "cTokenMetadataAll" | "cTokenUnderlyingPrice" | "cTokenUnderlyingPriceAll" | "calcBorrowAmountForProtectedMint" | "getAccountLimits" | "getCompBalanceMetadata" | "getCompBalanceMetadataExt" | "getCompVotes" | "getGovBravoProposals" | "getGovBravoReceipts" | "getGovProposals" | "getGovReceipts"): FunctionFragment;
|
|
304
|
+
getFunction(nameOrSignature: "cTokenBalances" | "cTokenBalancesAll" | "cTokenMetadata" | "cTokenMetadataAll" | "cTokenUnderlyingPrice" | "cTokenUnderlyingPriceAll" | "calcBorrowAmountForProtectedMint" | "getAccountLimits" | "getCollateralRate" | "getCompBalanceMetadata" | "getCompBalanceMetadataExt" | "getCompVotes" | "getGovBravoProposals" | "getGovBravoReceipts" | "getGovProposals" | "getGovReceipts"): FunctionFragment;
|
|
305
305
|
encodeFunctionData(functionFragment: "cTokenBalances", values: [AddressLike, AddressLike]): string;
|
|
306
306
|
encodeFunctionData(functionFragment: "cTokenBalancesAll", values: [AddressLike[], AddressLike]): string;
|
|
307
307
|
encodeFunctionData(functionFragment: "cTokenMetadata", values: [AddressLike]): string;
|
|
@@ -310,6 +310,7 @@ export interface CompoundLensInterface extends Interface {
|
|
|
310
310
|
encodeFunctionData(functionFragment: "cTokenUnderlyingPriceAll", values: [AddressLike[]]): string;
|
|
311
311
|
encodeFunctionData(functionFragment: "calcBorrowAmountForProtectedMint", values: [AddressLike, AddressLike, AddressLike, BigNumberish]): string;
|
|
312
312
|
encodeFunctionData(functionFragment: "getAccountLimits", values: [AddressLike, AddressLike]): string;
|
|
313
|
+
encodeFunctionData(functionFragment: "getCollateralRate", values: [AddressLike, AddressLike, AddressLike]): string;
|
|
313
314
|
encodeFunctionData(functionFragment: "getCompBalanceMetadata", values: [AddressLike, AddressLike]): string;
|
|
314
315
|
encodeFunctionData(functionFragment: "getCompBalanceMetadataExt", values: [AddressLike, AddressLike, AddressLike]): string;
|
|
315
316
|
encodeFunctionData(functionFragment: "getCompVotes", values: [AddressLike, AddressLike, BigNumberish[]]): string;
|
|
@@ -325,6 +326,7 @@ export interface CompoundLensInterface extends Interface {
|
|
|
325
326
|
decodeFunctionResult(functionFragment: "cTokenUnderlyingPriceAll", data: BytesLike): Result;
|
|
326
327
|
decodeFunctionResult(functionFragment: "calcBorrowAmountForProtectedMint", data: BytesLike): Result;
|
|
327
328
|
decodeFunctionResult(functionFragment: "getAccountLimits", data: BytesLike): Result;
|
|
329
|
+
decodeFunctionResult(functionFragment: "getCollateralRate", data: BytesLike): Result;
|
|
328
330
|
decodeFunctionResult(functionFragment: "getCompBalanceMetadata", data: BytesLike): Result;
|
|
329
331
|
decodeFunctionResult(functionFragment: "getCompBalanceMetadataExt", data: BytesLike): Result;
|
|
330
332
|
decodeFunctionResult(functionFragment: "getCompVotes", data: BytesLike): Result;
|
|
@@ -392,6 +394,13 @@ export interface CompoundLens extends BaseContract {
|
|
|
392
394
|
], [
|
|
393
395
|
CompoundLens.AccountLimitsStructOutput
|
|
394
396
|
], "view">;
|
|
397
|
+
getCollateralRate: TypedContractMethod<[
|
|
398
|
+
comptroller: AddressLike,
|
|
399
|
+
collateralToken: AddressLike,
|
|
400
|
+
liabilityToken: AddressLike
|
|
401
|
+
], [
|
|
402
|
+
bigint
|
|
403
|
+
], "view">;
|
|
395
404
|
getCompBalanceMetadata: TypedContractMethod<[
|
|
396
405
|
comp: AddressLike,
|
|
397
406
|
account: AddressLike
|
|
@@ -485,6 +494,13 @@ export interface CompoundLens extends BaseContract {
|
|
|
485
494
|
], [
|
|
486
495
|
CompoundLens.AccountLimitsStructOutput
|
|
487
496
|
], "view">;
|
|
497
|
+
getFunction(nameOrSignature: "getCollateralRate"): TypedContractMethod<[
|
|
498
|
+
comptroller: AddressLike,
|
|
499
|
+
collateralToken: AddressLike,
|
|
500
|
+
liabilityToken: AddressLike
|
|
501
|
+
], [
|
|
502
|
+
bigint
|
|
503
|
+
], "view">;
|
|
488
504
|
getFunction(nameOrSignature: "getCompBalanceMetadata"): TypedContractMethod<[
|
|
489
505
|
comp: AddressLike,
|
|
490
506
|
account: AddressLike
|