@meterio/sumer-js 0.2.168 → 0.2.170
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 +1 -1
- package/dist/nodejs/abi.d.ts +117 -2
- package/dist/nodejs/abi.js +2712 -127
- package/dist/nodejs/abi.js.map +1 -1
- package/dist/nodejs/constants/arbitrum.js +11 -0
- package/dist/nodejs/constants/arbitrum.js.map +1 -1
- package/dist/nodejs/constants/b2main.js +11 -0
- package/dist/nodejs/constants/b2main.js.map +1 -1
- package/dist/nodejs/constants/basemain.js +11 -0
- package/dist/nodejs/constants/basemain.js.map +1 -1
- package/dist/nodejs/constants/berabartio.js +11 -0
- package/dist/nodejs/constants/berabartio.js.map +1 -1
- package/dist/nodejs/constants/beramain.js +11 -36
- package/dist/nodejs/constants/beramain.js.map +1 -1
- package/dist/nodejs/constants/bitlayer.js +11 -0
- package/dist/nodejs/constants/bitlayer.js.map +1 -1
- package/dist/nodejs/constants/bsc.js +11 -0
- package/dist/nodejs/constants/bsc.js.map +1 -1
- package/dist/nodejs/constants/core.js +11 -0
- package/dist/nodejs/constants/core.js.map +1 -1
- package/dist/nodejs/constants/ethereum.js +11 -0
- package/dist/nodejs/constants/ethereum.js.map +1 -1
- package/dist/nodejs/constants/goat.d.ts +14 -2
- package/dist/nodejs/constants/goat.js +28 -3
- package/dist/nodejs/constants/goat.js.map +1 -1
- package/dist/nodejs/constants/hemi.js +11 -0
- package/dist/nodejs/constants/hemi.js.map +1 -1
- package/dist/nodejs/constants/metertest.js +11 -0
- package/dist/nodejs/constants/metertest.js.map +1 -1
- package/dist/nodejs/constants/monadtest.js +11 -0
- package/dist/nodejs/constants/monadtest.js.map +1 -1
- package/dist/nodejs/constants/sepolia.d.ts +2 -17
- package/dist/nodejs/constants/sepolia.js +13 -30
- package/dist/nodejs/constants/sepolia.js.map +1 -1
- package/dist/nodejs/constants/zklink.js +11 -0
- package/dist/nodejs/constants/zklink.js.map +1 -1
- package/dist/nodejs/errorABIs.js +946 -13
- package/dist/nodejs/errorABIs.js.map +1 -1
- package/dist/nodejs/index.d.ts +117 -2
- package/dist/nodejs/typechain/contracts/CToken/CCompliantErc20.d.ts +966 -0
- package/dist/nodejs/typechain/contracts/CToken/CCompliantErc20.js +3 -0
- package/dist/nodejs/typechain/contracts/CToken/CCompliantErc20.js.map +1 -0
- package/dist/nodejs/typechain/contracts/CToken/CErc20Permit.sol/CCompliantErc20.d.ts +966 -0
- package/dist/nodejs/typechain/contracts/CToken/CErc20Permit.sol/CCompliantErc20.js +3 -0
- package/dist/nodejs/typechain/contracts/CToken/CErc20Permit.sol/CCompliantErc20.js.map +1 -0
- package/dist/nodejs/typechain/contracts/CToken/CErc20Permit.sol/index.d.ts +1 -0
- package/dist/nodejs/typechain/contracts/CToken/CErc20Permit.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/CToken/CErc20Permit.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/CToken/index.d.ts +3 -0
- package/dist/nodejs/typechain/contracts/Comptroller/CompoundLens.d.ts +1 -17
- package/dist/nodejs/typechain/contracts/Interfaces/ICTokenExternal.sol/ICToken.d.ts +1 -5
- package/dist/nodejs/typechain/contracts/Interfaces/IPool.d.ts +18 -2
- package/dist/nodejs/typechain/contracts/Oracle/ArtBTCAdapter.sol/ArtBTCAdapter.d.ts +29 -0
- package/dist/nodejs/typechain/contracts/Oracle/ArtBTCAdapter.sol/ArtBTCAdapter.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/ArtBTCAdapter.sol/ArtBTCAdapter.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/ArtBTCAdapter.sol/IDepositPool.d.ts +29 -0
- package/dist/nodejs/typechain/contracts/Oracle/ArtBTCAdapter.sol/IDepositPool.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/ArtBTCAdapter.sol/IDepositPool.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/ArtBTCAdapter.sol/IGoatConfig.d.ts +52 -0
- package/dist/nodejs/typechain/contracts/Oracle/ArtBTCAdapter.sol/IGoatConfig.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/ArtBTCAdapter.sol/IGoatConfig.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/ArtBTCAdapter.sol/index.d.ts +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/ArtBTCAdapter.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/ArtBTCAdapter.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/FeedPriceOracle.d.ts +14 -36
- package/dist/nodejs/typechain/contracts/Oracle/FixedPointMathLib.d.ts +20 -0
- package/dist/nodejs/typechain/contracts/Oracle/FixedPointMathLib.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/FixedPointMathLib.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter.d.ts +5 -1
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/IDualCore.d.ts +6 -6
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/index.d.ts +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +3 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CCompliantErc20__factory.d.ts +1649 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CCompliantErc20__factory.js +2118 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CCompliantErc20__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20Permit.sol/CCompliantErc20__factory.d.ts +1649 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20Permit.sol/CCompliantErc20__factory.js +2118 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20Permit.sol/CCompliantErc20__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20Permit.sol/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20Permit.sol/index.js +9 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20Permit.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +21 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +28 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +21 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +28 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +20 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +27 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +21 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +28 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/index.js +27 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.d.ts +21 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +28 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +21 -27
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +28 -35
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +21 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +28 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/MockComptroller__factory.d.ts +21 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/MockComptroller__factory.js +28 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/MockComptroller__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +21 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +28 -1
- 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/Infrared/CInfraredVault.sol/CInfraredVault__factory.d.ts +21 -1
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.js +28 -1
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICTokenExternal.sol/ICToken__factory.d.ts +0 -10
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICTokenExternal.sol/ICToken__factory.js +0 -13
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICTokenExternal.sol/ICToken__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPool__factory.d.ts +44 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPool__factory.js +58 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPool__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/ArtBTCAdapter.sol/ArtBTCAdapter__factory.d.ts +54 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/ArtBTCAdapter.sol/ArtBTCAdapter__factory.js +82 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/ArtBTCAdapter.sol/ArtBTCAdapter__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/ArtBTCAdapter.sol/IDepositPool__factory.d.ts +21 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/ArtBTCAdapter.sol/IDepositPool__factory.js +39 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/ArtBTCAdapter.sol/IDepositPool__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/ArtBTCAdapter.sol/IGoatConfig__factory.d.ts +38 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/ArtBTCAdapter.sol/IGoatConfig__factory.js +61 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/ArtBTCAdapter.sol/IGoatConfig__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/ArtBTCAdapter.sol/index.d.ts +3 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/ArtBTCAdapter.sol/index.js +13 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/ArtBTCAdapter.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.d.ts +19 -45
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js +25 -58
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/FixedPointMathLib__factory.d.ts +74 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/FixedPointMathLib__factory.js +105 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/FixedPointMathLib__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter__factory.d.ts +11 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter__factory.js +14 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/IDualCore__factory.d.ts +4 -8
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/IDualCore__factory.js +4 -10
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/IDualCore__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/index.js +3 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +4 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.d.ts +21 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js +28 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.d.ts +21 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js +28 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js.map +1 -1
- package/dist/nodejs/typechain/hardhat.d.ts +126 -0
- package/dist/nodejs/typechain/index.d.ts +12 -0
- package/dist/nodejs/typechain/index.js +14 -2
- package/dist/nodejs/typechain/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,966 @@
|
|
|
1
|
+
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../../common";
|
|
3
|
+
export interface CCompliantErc20Interface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "_acceptAdmin" | "_addReserves" | "_reduceReserves" | "_setComptroller" | "_setDiscountRate" | "_setInterestRateModel" | "_setPendingAdmin" | "_setReserveFactor" | "_syncUnderlyingBalance" | "accrualBlockTimestamp" | "accrueInterest" | "admin" | "allowance" | "approve" | "balanceOf" | "balanceOfUnderlying" | "borrow" | "borrowAndDepositBack" | "borrowBalanceCurrent" | "borrowBalanceStored" | "borrowIndex" | "borrowRatePerBlock" | "compliantBorrow" | "compliantMint" | "comptroller" | "decimals" | "discountRateMantissa" | "exchangeRateCurrent" | "exchangeRateStored" | "getAccountSnapshot" | "getCash" | "initialize" | "interestRateModel" | "isCEther" | "isCEtherDeprecated" | "isCToken" | "isCTokenDeprecated" | "liquidateBorrow" | "liquidateCalculateSeizeTokens" | "mint" | "mintWithPermit" | "name" | "pendingAdmin" | "percentScale" | "protocolSeizeShareMantissa" | "redeem" | "redeemUnderlying" | "repayBorrow" | "repayBorrowBehalf" | "repayBorrowWithPermit" | "reserveFactorMantissa" | "seize" | "setKYCSigner" | "supplyRatePerBlock" | "sweepToken" | "symbol" | "tokenType" | "totalBorrows" | "totalBorrowsCurrent" | "totalReserves" | "totalSupply" | "transfer" | "transferFrom" | "underlying" | "underlyingBalance"): FunctionFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "AccrueInterest" | "Approval" | "Borrow" | "Initialized" | "LiquidateBorrow" | "Mint" | "NewAdmin" | "NewComptroller" | "NewDiscountRate" | "NewMarketInterestRateModel" | "NewPendingAdmin" | "NewReserveFactor" | "Redeem" | "RedeemFaceValue" | "RepayBorrow" | "ReservesAdded" | "ReservesReduced" | "Transfer"): EventFragment;
|
|
6
|
+
encodeFunctionData(functionFragment: "_acceptAdmin", values?: undefined): string;
|
|
7
|
+
encodeFunctionData(functionFragment: "_addReserves", values: [BigNumberish]): string;
|
|
8
|
+
encodeFunctionData(functionFragment: "_reduceReserves", values: [BigNumberish]): string;
|
|
9
|
+
encodeFunctionData(functionFragment: "_setComptroller", values: [AddressLike]): string;
|
|
10
|
+
encodeFunctionData(functionFragment: "_setDiscountRate", values: [BigNumberish]): string;
|
|
11
|
+
encodeFunctionData(functionFragment: "_setInterestRateModel", values: [AddressLike]): string;
|
|
12
|
+
encodeFunctionData(functionFragment: "_setPendingAdmin", values: [AddressLike]): string;
|
|
13
|
+
encodeFunctionData(functionFragment: "_setReserveFactor", values: [BigNumberish]): string;
|
|
14
|
+
encodeFunctionData(functionFragment: "_syncUnderlyingBalance", values?: undefined): string;
|
|
15
|
+
encodeFunctionData(functionFragment: "accrualBlockTimestamp", values?: undefined): string;
|
|
16
|
+
encodeFunctionData(functionFragment: "accrueInterest", values?: undefined): string;
|
|
17
|
+
encodeFunctionData(functionFragment: "admin", values?: undefined): string;
|
|
18
|
+
encodeFunctionData(functionFragment: "allowance", values: [AddressLike, AddressLike]): string;
|
|
19
|
+
encodeFunctionData(functionFragment: "approve", values: [AddressLike, BigNumberish]): string;
|
|
20
|
+
encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string;
|
|
21
|
+
encodeFunctionData(functionFragment: "balanceOfUnderlying", values: [AddressLike]): string;
|
|
22
|
+
encodeFunctionData(functionFragment: "borrow", values: [BigNumberish]): string;
|
|
23
|
+
encodeFunctionData(functionFragment: "borrowAndDepositBack", values: [AddressLike, BigNumberish]): string;
|
|
24
|
+
encodeFunctionData(functionFragment: "borrowBalanceCurrent", values: [AddressLike]): string;
|
|
25
|
+
encodeFunctionData(functionFragment: "borrowBalanceStored", values: [AddressLike]): string;
|
|
26
|
+
encodeFunctionData(functionFragment: "borrowIndex", values?: undefined): string;
|
|
27
|
+
encodeFunctionData(functionFragment: "borrowRatePerBlock", values?: undefined): string;
|
|
28
|
+
encodeFunctionData(functionFragment: "compliantBorrow", values: [BigNumberish, BigNumberish, BytesLike, BytesLike]): string;
|
|
29
|
+
encodeFunctionData(functionFragment: "compliantMint", values: [BigNumberish, BigNumberish, BytesLike, BytesLike]): string;
|
|
30
|
+
encodeFunctionData(functionFragment: "comptroller", values?: undefined): string;
|
|
31
|
+
encodeFunctionData(functionFragment: "decimals", values?: undefined): string;
|
|
32
|
+
encodeFunctionData(functionFragment: "discountRateMantissa", values?: undefined): string;
|
|
33
|
+
encodeFunctionData(functionFragment: "exchangeRateCurrent", values?: undefined): string;
|
|
34
|
+
encodeFunctionData(functionFragment: "exchangeRateStored", values?: undefined): string;
|
|
35
|
+
encodeFunctionData(functionFragment: "getAccountSnapshot", values: [AddressLike]): string;
|
|
36
|
+
encodeFunctionData(functionFragment: "getCash", values?: undefined): string;
|
|
37
|
+
encodeFunctionData(functionFragment: "initialize", values: [
|
|
38
|
+
AddressLike,
|
|
39
|
+
AddressLike,
|
|
40
|
+
AddressLike,
|
|
41
|
+
BigNumberish,
|
|
42
|
+
string,
|
|
43
|
+
string,
|
|
44
|
+
BigNumberish,
|
|
45
|
+
AddressLike
|
|
46
|
+
]): string;
|
|
47
|
+
encodeFunctionData(functionFragment: "interestRateModel", values?: undefined): string;
|
|
48
|
+
encodeFunctionData(functionFragment: "isCEther", values?: undefined): string;
|
|
49
|
+
encodeFunctionData(functionFragment: "isCEtherDeprecated", values?: undefined): string;
|
|
50
|
+
encodeFunctionData(functionFragment: "isCToken", values?: undefined): string;
|
|
51
|
+
encodeFunctionData(functionFragment: "isCTokenDeprecated", values?: undefined): string;
|
|
52
|
+
encodeFunctionData(functionFragment: "liquidateBorrow", values: [AddressLike, BigNumberish, AddressLike]): string;
|
|
53
|
+
encodeFunctionData(functionFragment: "liquidateCalculateSeizeTokens", values: [AddressLike, BigNumberish]): string;
|
|
54
|
+
encodeFunctionData(functionFragment: "mint", values: [BigNumberish]): string;
|
|
55
|
+
encodeFunctionData(functionFragment: "mintWithPermit", values: [BigNumberish, BigNumberish, BytesLike]): string;
|
|
56
|
+
encodeFunctionData(functionFragment: "name", values?: undefined): string;
|
|
57
|
+
encodeFunctionData(functionFragment: "pendingAdmin", values?: undefined): string;
|
|
58
|
+
encodeFunctionData(functionFragment: "percentScale", values?: undefined): string;
|
|
59
|
+
encodeFunctionData(functionFragment: "protocolSeizeShareMantissa", values?: undefined): string;
|
|
60
|
+
encodeFunctionData(functionFragment: "redeem", values: [BigNumberish]): string;
|
|
61
|
+
encodeFunctionData(functionFragment: "redeemUnderlying", values: [BigNumberish]): string;
|
|
62
|
+
encodeFunctionData(functionFragment: "repayBorrow", values: [BigNumberish]): string;
|
|
63
|
+
encodeFunctionData(functionFragment: "repayBorrowBehalf", values: [AddressLike, BigNumberish]): string;
|
|
64
|
+
encodeFunctionData(functionFragment: "repayBorrowWithPermit", values: [BigNumberish, BigNumberish, BytesLike]): string;
|
|
65
|
+
encodeFunctionData(functionFragment: "reserveFactorMantissa", values?: undefined): string;
|
|
66
|
+
encodeFunctionData(functionFragment: "seize", values: [
|
|
67
|
+
AddressLike,
|
|
68
|
+
AddressLike,
|
|
69
|
+
BigNumberish,
|
|
70
|
+
BigNumberish,
|
|
71
|
+
boolean,
|
|
72
|
+
BigNumberish
|
|
73
|
+
]): string;
|
|
74
|
+
encodeFunctionData(functionFragment: "setKYCSigner", values: [AddressLike]): string;
|
|
75
|
+
encodeFunctionData(functionFragment: "supplyRatePerBlock", values?: undefined): string;
|
|
76
|
+
encodeFunctionData(functionFragment: "sweepToken", values: [AddressLike]): string;
|
|
77
|
+
encodeFunctionData(functionFragment: "symbol", values?: undefined): string;
|
|
78
|
+
encodeFunctionData(functionFragment: "tokenType", values?: undefined): string;
|
|
79
|
+
encodeFunctionData(functionFragment: "totalBorrows", values?: undefined): string;
|
|
80
|
+
encodeFunctionData(functionFragment: "totalBorrowsCurrent", values?: undefined): string;
|
|
81
|
+
encodeFunctionData(functionFragment: "totalReserves", values?: undefined): string;
|
|
82
|
+
encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
|
|
83
|
+
encodeFunctionData(functionFragment: "transfer", values: [AddressLike, BigNumberish]): string;
|
|
84
|
+
encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
85
|
+
encodeFunctionData(functionFragment: "underlying", values?: undefined): string;
|
|
86
|
+
encodeFunctionData(functionFragment: "underlyingBalance", values?: undefined): string;
|
|
87
|
+
decodeFunctionResult(functionFragment: "_acceptAdmin", data: BytesLike): Result;
|
|
88
|
+
decodeFunctionResult(functionFragment: "_addReserves", data: BytesLike): Result;
|
|
89
|
+
decodeFunctionResult(functionFragment: "_reduceReserves", data: BytesLike): Result;
|
|
90
|
+
decodeFunctionResult(functionFragment: "_setComptroller", data: BytesLike): Result;
|
|
91
|
+
decodeFunctionResult(functionFragment: "_setDiscountRate", data: BytesLike): Result;
|
|
92
|
+
decodeFunctionResult(functionFragment: "_setInterestRateModel", data: BytesLike): Result;
|
|
93
|
+
decodeFunctionResult(functionFragment: "_setPendingAdmin", data: BytesLike): Result;
|
|
94
|
+
decodeFunctionResult(functionFragment: "_setReserveFactor", data: BytesLike): Result;
|
|
95
|
+
decodeFunctionResult(functionFragment: "_syncUnderlyingBalance", data: BytesLike): Result;
|
|
96
|
+
decodeFunctionResult(functionFragment: "accrualBlockTimestamp", data: BytesLike): Result;
|
|
97
|
+
decodeFunctionResult(functionFragment: "accrueInterest", data: BytesLike): Result;
|
|
98
|
+
decodeFunctionResult(functionFragment: "admin", data: BytesLike): Result;
|
|
99
|
+
decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
|
|
100
|
+
decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
|
|
101
|
+
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
|
|
102
|
+
decodeFunctionResult(functionFragment: "balanceOfUnderlying", data: BytesLike): Result;
|
|
103
|
+
decodeFunctionResult(functionFragment: "borrow", data: BytesLike): Result;
|
|
104
|
+
decodeFunctionResult(functionFragment: "borrowAndDepositBack", data: BytesLike): Result;
|
|
105
|
+
decodeFunctionResult(functionFragment: "borrowBalanceCurrent", data: BytesLike): Result;
|
|
106
|
+
decodeFunctionResult(functionFragment: "borrowBalanceStored", data: BytesLike): Result;
|
|
107
|
+
decodeFunctionResult(functionFragment: "borrowIndex", data: BytesLike): Result;
|
|
108
|
+
decodeFunctionResult(functionFragment: "borrowRatePerBlock", data: BytesLike): Result;
|
|
109
|
+
decodeFunctionResult(functionFragment: "compliantBorrow", data: BytesLike): Result;
|
|
110
|
+
decodeFunctionResult(functionFragment: "compliantMint", data: BytesLike): Result;
|
|
111
|
+
decodeFunctionResult(functionFragment: "comptroller", data: BytesLike): Result;
|
|
112
|
+
decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result;
|
|
113
|
+
decodeFunctionResult(functionFragment: "discountRateMantissa", data: BytesLike): Result;
|
|
114
|
+
decodeFunctionResult(functionFragment: "exchangeRateCurrent", data: BytesLike): Result;
|
|
115
|
+
decodeFunctionResult(functionFragment: "exchangeRateStored", data: BytesLike): Result;
|
|
116
|
+
decodeFunctionResult(functionFragment: "getAccountSnapshot", data: BytesLike): Result;
|
|
117
|
+
decodeFunctionResult(functionFragment: "getCash", data: BytesLike): Result;
|
|
118
|
+
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
|
|
119
|
+
decodeFunctionResult(functionFragment: "interestRateModel", data: BytesLike): Result;
|
|
120
|
+
decodeFunctionResult(functionFragment: "isCEther", data: BytesLike): Result;
|
|
121
|
+
decodeFunctionResult(functionFragment: "isCEtherDeprecated", data: BytesLike): Result;
|
|
122
|
+
decodeFunctionResult(functionFragment: "isCToken", data: BytesLike): Result;
|
|
123
|
+
decodeFunctionResult(functionFragment: "isCTokenDeprecated", data: BytesLike): Result;
|
|
124
|
+
decodeFunctionResult(functionFragment: "liquidateBorrow", data: BytesLike): Result;
|
|
125
|
+
decodeFunctionResult(functionFragment: "liquidateCalculateSeizeTokens", data: BytesLike): Result;
|
|
126
|
+
decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result;
|
|
127
|
+
decodeFunctionResult(functionFragment: "mintWithPermit", data: BytesLike): Result;
|
|
128
|
+
decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
|
|
129
|
+
decodeFunctionResult(functionFragment: "pendingAdmin", data: BytesLike): Result;
|
|
130
|
+
decodeFunctionResult(functionFragment: "percentScale", data: BytesLike): Result;
|
|
131
|
+
decodeFunctionResult(functionFragment: "protocolSeizeShareMantissa", data: BytesLike): Result;
|
|
132
|
+
decodeFunctionResult(functionFragment: "redeem", data: BytesLike): Result;
|
|
133
|
+
decodeFunctionResult(functionFragment: "redeemUnderlying", data: BytesLike): Result;
|
|
134
|
+
decodeFunctionResult(functionFragment: "repayBorrow", data: BytesLike): Result;
|
|
135
|
+
decodeFunctionResult(functionFragment: "repayBorrowBehalf", data: BytesLike): Result;
|
|
136
|
+
decodeFunctionResult(functionFragment: "repayBorrowWithPermit", data: BytesLike): Result;
|
|
137
|
+
decodeFunctionResult(functionFragment: "reserveFactorMantissa", data: BytesLike): Result;
|
|
138
|
+
decodeFunctionResult(functionFragment: "seize", data: BytesLike): Result;
|
|
139
|
+
decodeFunctionResult(functionFragment: "setKYCSigner", data: BytesLike): Result;
|
|
140
|
+
decodeFunctionResult(functionFragment: "supplyRatePerBlock", data: BytesLike): Result;
|
|
141
|
+
decodeFunctionResult(functionFragment: "sweepToken", data: BytesLike): Result;
|
|
142
|
+
decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result;
|
|
143
|
+
decodeFunctionResult(functionFragment: "tokenType", data: BytesLike): Result;
|
|
144
|
+
decodeFunctionResult(functionFragment: "totalBorrows", data: BytesLike): Result;
|
|
145
|
+
decodeFunctionResult(functionFragment: "totalBorrowsCurrent", data: BytesLike): Result;
|
|
146
|
+
decodeFunctionResult(functionFragment: "totalReserves", data: BytesLike): Result;
|
|
147
|
+
decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result;
|
|
148
|
+
decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
|
|
149
|
+
decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
|
|
150
|
+
decodeFunctionResult(functionFragment: "underlying", data: BytesLike): Result;
|
|
151
|
+
decodeFunctionResult(functionFragment: "underlyingBalance", data: BytesLike): Result;
|
|
152
|
+
}
|
|
153
|
+
export declare namespace AccrueInterestEvent {
|
|
154
|
+
type InputTuple = [
|
|
155
|
+
cashPrior: BigNumberish,
|
|
156
|
+
interestAccumulated: BigNumberish,
|
|
157
|
+
borrowIndex: BigNumberish,
|
|
158
|
+
totalBorrows: BigNumberish
|
|
159
|
+
];
|
|
160
|
+
type OutputTuple = [
|
|
161
|
+
cashPrior: bigint,
|
|
162
|
+
interestAccumulated: bigint,
|
|
163
|
+
borrowIndex: bigint,
|
|
164
|
+
totalBorrows: bigint
|
|
165
|
+
];
|
|
166
|
+
interface OutputObject {
|
|
167
|
+
cashPrior: bigint;
|
|
168
|
+
interestAccumulated: bigint;
|
|
169
|
+
borrowIndex: bigint;
|
|
170
|
+
totalBorrows: bigint;
|
|
171
|
+
}
|
|
172
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
173
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
174
|
+
type Log = TypedEventLog<Event>;
|
|
175
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
176
|
+
}
|
|
177
|
+
export declare namespace ApprovalEvent {
|
|
178
|
+
type InputTuple = [
|
|
179
|
+
owner: AddressLike,
|
|
180
|
+
spender: AddressLike,
|
|
181
|
+
amount: BigNumberish
|
|
182
|
+
];
|
|
183
|
+
type OutputTuple = [owner: string, spender: string, amount: bigint];
|
|
184
|
+
interface OutputObject {
|
|
185
|
+
owner: string;
|
|
186
|
+
spender: string;
|
|
187
|
+
amount: bigint;
|
|
188
|
+
}
|
|
189
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
190
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
191
|
+
type Log = TypedEventLog<Event>;
|
|
192
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
193
|
+
}
|
|
194
|
+
export declare namespace BorrowEvent {
|
|
195
|
+
type InputTuple = [
|
|
196
|
+
borrower: AddressLike,
|
|
197
|
+
borrowAmount: BigNumberish,
|
|
198
|
+
accountBorrows: BigNumberish,
|
|
199
|
+
totalBorrows: BigNumberish
|
|
200
|
+
];
|
|
201
|
+
type OutputTuple = [
|
|
202
|
+
borrower: string,
|
|
203
|
+
borrowAmount: bigint,
|
|
204
|
+
accountBorrows: bigint,
|
|
205
|
+
totalBorrows: bigint
|
|
206
|
+
];
|
|
207
|
+
interface OutputObject {
|
|
208
|
+
borrower: string;
|
|
209
|
+
borrowAmount: bigint;
|
|
210
|
+
accountBorrows: bigint;
|
|
211
|
+
totalBorrows: bigint;
|
|
212
|
+
}
|
|
213
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
214
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
215
|
+
type Log = TypedEventLog<Event>;
|
|
216
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
217
|
+
}
|
|
218
|
+
export declare namespace InitializedEvent {
|
|
219
|
+
type InputTuple = [version: BigNumberish];
|
|
220
|
+
type OutputTuple = [version: bigint];
|
|
221
|
+
interface OutputObject {
|
|
222
|
+
version: bigint;
|
|
223
|
+
}
|
|
224
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
225
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
226
|
+
type Log = TypedEventLog<Event>;
|
|
227
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
228
|
+
}
|
|
229
|
+
export declare namespace LiquidateBorrowEvent {
|
|
230
|
+
type InputTuple = [
|
|
231
|
+
liquidator: AddressLike,
|
|
232
|
+
borrower: AddressLike,
|
|
233
|
+
repayAmount: BigNumberish,
|
|
234
|
+
cTokenCollateral: AddressLike,
|
|
235
|
+
seizeTokens: BigNumberish
|
|
236
|
+
];
|
|
237
|
+
type OutputTuple = [
|
|
238
|
+
liquidator: string,
|
|
239
|
+
borrower: string,
|
|
240
|
+
repayAmount: bigint,
|
|
241
|
+
cTokenCollateral: string,
|
|
242
|
+
seizeTokens: bigint
|
|
243
|
+
];
|
|
244
|
+
interface OutputObject {
|
|
245
|
+
liquidator: string;
|
|
246
|
+
borrower: string;
|
|
247
|
+
repayAmount: bigint;
|
|
248
|
+
cTokenCollateral: string;
|
|
249
|
+
seizeTokens: bigint;
|
|
250
|
+
}
|
|
251
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
252
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
253
|
+
type Log = TypedEventLog<Event>;
|
|
254
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
255
|
+
}
|
|
256
|
+
export declare namespace MintEvent {
|
|
257
|
+
type InputTuple = [
|
|
258
|
+
minter: AddressLike,
|
|
259
|
+
mintAmount: BigNumberish,
|
|
260
|
+
mintTokens: BigNumberish
|
|
261
|
+
];
|
|
262
|
+
type OutputTuple = [
|
|
263
|
+
minter: string,
|
|
264
|
+
mintAmount: bigint,
|
|
265
|
+
mintTokens: bigint
|
|
266
|
+
];
|
|
267
|
+
interface OutputObject {
|
|
268
|
+
minter: string;
|
|
269
|
+
mintAmount: bigint;
|
|
270
|
+
mintTokens: bigint;
|
|
271
|
+
}
|
|
272
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
273
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
274
|
+
type Log = TypedEventLog<Event>;
|
|
275
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
276
|
+
}
|
|
277
|
+
export declare namespace NewAdminEvent {
|
|
278
|
+
type InputTuple = [oldAdmin: AddressLike, newAdmin: AddressLike];
|
|
279
|
+
type OutputTuple = [oldAdmin: string, newAdmin: string];
|
|
280
|
+
interface OutputObject {
|
|
281
|
+
oldAdmin: string;
|
|
282
|
+
newAdmin: string;
|
|
283
|
+
}
|
|
284
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
285
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
286
|
+
type Log = TypedEventLog<Event>;
|
|
287
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
288
|
+
}
|
|
289
|
+
export declare namespace NewComptrollerEvent {
|
|
290
|
+
type InputTuple = [
|
|
291
|
+
oldComptroller: AddressLike,
|
|
292
|
+
newComptroller: AddressLike
|
|
293
|
+
];
|
|
294
|
+
type OutputTuple = [oldComptroller: string, newComptroller: string];
|
|
295
|
+
interface OutputObject {
|
|
296
|
+
oldComptroller: string;
|
|
297
|
+
newComptroller: string;
|
|
298
|
+
}
|
|
299
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
300
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
301
|
+
type Log = TypedEventLog<Event>;
|
|
302
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
303
|
+
}
|
|
304
|
+
export declare namespace NewDiscountRateEvent {
|
|
305
|
+
type InputTuple = [
|
|
306
|
+
oldDiscountRateMantissa: BigNumberish,
|
|
307
|
+
newDiscountRateMantissa: BigNumberish
|
|
308
|
+
];
|
|
309
|
+
type OutputTuple = [
|
|
310
|
+
oldDiscountRateMantissa: bigint,
|
|
311
|
+
newDiscountRateMantissa: bigint
|
|
312
|
+
];
|
|
313
|
+
interface OutputObject {
|
|
314
|
+
oldDiscountRateMantissa: bigint;
|
|
315
|
+
newDiscountRateMantissa: bigint;
|
|
316
|
+
}
|
|
317
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
318
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
319
|
+
type Log = TypedEventLog<Event>;
|
|
320
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
321
|
+
}
|
|
322
|
+
export declare namespace NewMarketInterestRateModelEvent {
|
|
323
|
+
type InputTuple = [
|
|
324
|
+
oldInterestRateModel: AddressLike,
|
|
325
|
+
newInterestRateModel: AddressLike
|
|
326
|
+
];
|
|
327
|
+
type OutputTuple = [
|
|
328
|
+
oldInterestRateModel: string,
|
|
329
|
+
newInterestRateModel: string
|
|
330
|
+
];
|
|
331
|
+
interface OutputObject {
|
|
332
|
+
oldInterestRateModel: string;
|
|
333
|
+
newInterestRateModel: string;
|
|
334
|
+
}
|
|
335
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
336
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
337
|
+
type Log = TypedEventLog<Event>;
|
|
338
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
339
|
+
}
|
|
340
|
+
export declare namespace NewPendingAdminEvent {
|
|
341
|
+
type InputTuple = [
|
|
342
|
+
oldPendingAdmin: AddressLike,
|
|
343
|
+
newPendingAdmin: AddressLike
|
|
344
|
+
];
|
|
345
|
+
type OutputTuple = [oldPendingAdmin: string, newPendingAdmin: string];
|
|
346
|
+
interface OutputObject {
|
|
347
|
+
oldPendingAdmin: string;
|
|
348
|
+
newPendingAdmin: string;
|
|
349
|
+
}
|
|
350
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
351
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
352
|
+
type Log = TypedEventLog<Event>;
|
|
353
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
354
|
+
}
|
|
355
|
+
export declare namespace NewReserveFactorEvent {
|
|
356
|
+
type InputTuple = [
|
|
357
|
+
oldReserveFactorMantissa: BigNumberish,
|
|
358
|
+
newReserveFactorMantissa: BigNumberish
|
|
359
|
+
];
|
|
360
|
+
type OutputTuple = [
|
|
361
|
+
oldReserveFactorMantissa: bigint,
|
|
362
|
+
newReserveFactorMantissa: bigint
|
|
363
|
+
];
|
|
364
|
+
interface OutputObject {
|
|
365
|
+
oldReserveFactorMantissa: bigint;
|
|
366
|
+
newReserveFactorMantissa: bigint;
|
|
367
|
+
}
|
|
368
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
369
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
370
|
+
type Log = TypedEventLog<Event>;
|
|
371
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
372
|
+
}
|
|
373
|
+
export declare namespace RedeemEvent {
|
|
374
|
+
type InputTuple = [
|
|
375
|
+
redeemer: AddressLike,
|
|
376
|
+
redeemAmount: BigNumberish,
|
|
377
|
+
redeemTokens: BigNumberish
|
|
378
|
+
];
|
|
379
|
+
type OutputTuple = [
|
|
380
|
+
redeemer: string,
|
|
381
|
+
redeemAmount: bigint,
|
|
382
|
+
redeemTokens: bigint
|
|
383
|
+
];
|
|
384
|
+
interface OutputObject {
|
|
385
|
+
redeemer: string;
|
|
386
|
+
redeemAmount: bigint;
|
|
387
|
+
redeemTokens: bigint;
|
|
388
|
+
}
|
|
389
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
390
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
391
|
+
type Log = TypedEventLog<Event>;
|
|
392
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
393
|
+
}
|
|
394
|
+
export declare namespace RedeemFaceValueEvent {
|
|
395
|
+
type InputTuple = [
|
|
396
|
+
redeemer: AddressLike,
|
|
397
|
+
provider: AddressLike,
|
|
398
|
+
repayAmount: BigNumberish,
|
|
399
|
+
seizeToken: AddressLike,
|
|
400
|
+
seizeAmount: BigNumberish,
|
|
401
|
+
redemptionRateMantissa: BigNumberish
|
|
402
|
+
];
|
|
403
|
+
type OutputTuple = [
|
|
404
|
+
redeemer: string,
|
|
405
|
+
provider: string,
|
|
406
|
+
repayAmount: bigint,
|
|
407
|
+
seizeToken: string,
|
|
408
|
+
seizeAmount: bigint,
|
|
409
|
+
redemptionRateMantissa: bigint
|
|
410
|
+
];
|
|
411
|
+
interface OutputObject {
|
|
412
|
+
redeemer: string;
|
|
413
|
+
provider: string;
|
|
414
|
+
repayAmount: bigint;
|
|
415
|
+
seizeToken: string;
|
|
416
|
+
seizeAmount: bigint;
|
|
417
|
+
redemptionRateMantissa: bigint;
|
|
418
|
+
}
|
|
419
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
420
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
421
|
+
type Log = TypedEventLog<Event>;
|
|
422
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
423
|
+
}
|
|
424
|
+
export declare namespace RepayBorrowEvent {
|
|
425
|
+
type InputTuple = [
|
|
426
|
+
payer: AddressLike,
|
|
427
|
+
borrower: AddressLike,
|
|
428
|
+
repayAmount: BigNumberish,
|
|
429
|
+
accountBorrows: BigNumberish,
|
|
430
|
+
totalBorrows: BigNumberish
|
|
431
|
+
];
|
|
432
|
+
type OutputTuple = [
|
|
433
|
+
payer: string,
|
|
434
|
+
borrower: string,
|
|
435
|
+
repayAmount: bigint,
|
|
436
|
+
accountBorrows: bigint,
|
|
437
|
+
totalBorrows: bigint
|
|
438
|
+
];
|
|
439
|
+
interface OutputObject {
|
|
440
|
+
payer: string;
|
|
441
|
+
borrower: string;
|
|
442
|
+
repayAmount: bigint;
|
|
443
|
+
accountBorrows: bigint;
|
|
444
|
+
totalBorrows: bigint;
|
|
445
|
+
}
|
|
446
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
447
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
448
|
+
type Log = TypedEventLog<Event>;
|
|
449
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
450
|
+
}
|
|
451
|
+
export declare namespace ReservesAddedEvent {
|
|
452
|
+
type InputTuple = [
|
|
453
|
+
benefactor: AddressLike,
|
|
454
|
+
addAmount: BigNumberish,
|
|
455
|
+
newTotalReserves: BigNumberish
|
|
456
|
+
];
|
|
457
|
+
type OutputTuple = [
|
|
458
|
+
benefactor: string,
|
|
459
|
+
addAmount: bigint,
|
|
460
|
+
newTotalReserves: bigint
|
|
461
|
+
];
|
|
462
|
+
interface OutputObject {
|
|
463
|
+
benefactor: string;
|
|
464
|
+
addAmount: bigint;
|
|
465
|
+
newTotalReserves: bigint;
|
|
466
|
+
}
|
|
467
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
468
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
469
|
+
type Log = TypedEventLog<Event>;
|
|
470
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
471
|
+
}
|
|
472
|
+
export declare namespace ReservesReducedEvent {
|
|
473
|
+
type InputTuple = [
|
|
474
|
+
admin: AddressLike,
|
|
475
|
+
reduceAmount: BigNumberish,
|
|
476
|
+
newTotalReserves: BigNumberish
|
|
477
|
+
];
|
|
478
|
+
type OutputTuple = [
|
|
479
|
+
admin: string,
|
|
480
|
+
reduceAmount: bigint,
|
|
481
|
+
newTotalReserves: bigint
|
|
482
|
+
];
|
|
483
|
+
interface OutputObject {
|
|
484
|
+
admin: string;
|
|
485
|
+
reduceAmount: bigint;
|
|
486
|
+
newTotalReserves: bigint;
|
|
487
|
+
}
|
|
488
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
489
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
490
|
+
type Log = TypedEventLog<Event>;
|
|
491
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
492
|
+
}
|
|
493
|
+
export declare namespace TransferEvent {
|
|
494
|
+
type InputTuple = [
|
|
495
|
+
from: AddressLike,
|
|
496
|
+
to: AddressLike,
|
|
497
|
+
amount: BigNumberish
|
|
498
|
+
];
|
|
499
|
+
type OutputTuple = [from: string, to: string, amount: bigint];
|
|
500
|
+
interface OutputObject {
|
|
501
|
+
from: string;
|
|
502
|
+
to: string;
|
|
503
|
+
amount: bigint;
|
|
504
|
+
}
|
|
505
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
506
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
507
|
+
type Log = TypedEventLog<Event>;
|
|
508
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
509
|
+
}
|
|
510
|
+
export interface CCompliantErc20 extends BaseContract {
|
|
511
|
+
connect(runner?: ContractRunner | null): CCompliantErc20;
|
|
512
|
+
waitForDeployment(): Promise<this>;
|
|
513
|
+
interface: CCompliantErc20Interface;
|
|
514
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
515
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
516
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
517
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
518
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
519
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
520
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
521
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
522
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
523
|
+
_acceptAdmin: TypedContractMethod<[], [void], "nonpayable">;
|
|
524
|
+
_addReserves: TypedContractMethod<[
|
|
525
|
+
addAmount: BigNumberish
|
|
526
|
+
], [
|
|
527
|
+
void
|
|
528
|
+
], "nonpayable">;
|
|
529
|
+
_reduceReserves: TypedContractMethod<[
|
|
530
|
+
reduceAmount: BigNumberish
|
|
531
|
+
], [
|
|
532
|
+
void
|
|
533
|
+
], "nonpayable">;
|
|
534
|
+
_setComptroller: TypedContractMethod<[
|
|
535
|
+
newComptroller: AddressLike
|
|
536
|
+
], [
|
|
537
|
+
void
|
|
538
|
+
], "nonpayable">;
|
|
539
|
+
_setDiscountRate: TypedContractMethod<[
|
|
540
|
+
discountRateMantissa_: BigNumberish
|
|
541
|
+
], [
|
|
542
|
+
bigint
|
|
543
|
+
], "nonpayable">;
|
|
544
|
+
_setInterestRateModel: TypedContractMethod<[
|
|
545
|
+
newInterestRateModel: AddressLike
|
|
546
|
+
], [
|
|
547
|
+
void
|
|
548
|
+
], "nonpayable">;
|
|
549
|
+
_setPendingAdmin: TypedContractMethod<[
|
|
550
|
+
newPendingAdmin: AddressLike
|
|
551
|
+
], [
|
|
552
|
+
void
|
|
553
|
+
], "nonpayable">;
|
|
554
|
+
_setReserveFactor: TypedContractMethod<[
|
|
555
|
+
newReserveFactorMantissa: BigNumberish
|
|
556
|
+
], [
|
|
557
|
+
void
|
|
558
|
+
], "nonpayable">;
|
|
559
|
+
_syncUnderlyingBalance: TypedContractMethod<[], [void], "nonpayable">;
|
|
560
|
+
accrualBlockTimestamp: TypedContractMethod<[], [bigint], "view">;
|
|
561
|
+
accrueInterest: TypedContractMethod<[], [void], "nonpayable">;
|
|
562
|
+
admin: TypedContractMethod<[], [string], "view">;
|
|
563
|
+
allowance: TypedContractMethod<[
|
|
564
|
+
owner: AddressLike,
|
|
565
|
+
spender: AddressLike
|
|
566
|
+
], [
|
|
567
|
+
bigint
|
|
568
|
+
], "view">;
|
|
569
|
+
approve: TypedContractMethod<[
|
|
570
|
+
spender: AddressLike,
|
|
571
|
+
amount: BigNumberish
|
|
572
|
+
], [
|
|
573
|
+
boolean
|
|
574
|
+
], "nonpayable">;
|
|
575
|
+
balanceOf: TypedContractMethod<[owner: AddressLike], [bigint], "view">;
|
|
576
|
+
balanceOfUnderlying: TypedContractMethod<[
|
|
577
|
+
owner: AddressLike
|
|
578
|
+
], [
|
|
579
|
+
bigint
|
|
580
|
+
], "nonpayable">;
|
|
581
|
+
borrow: TypedContractMethod<[
|
|
582
|
+
borrowAmount: BigNumberish
|
|
583
|
+
], [
|
|
584
|
+
void
|
|
585
|
+
], "nonpayable">;
|
|
586
|
+
borrowAndDepositBack: TypedContractMethod<[
|
|
587
|
+
borrower: AddressLike,
|
|
588
|
+
borrowAmount: BigNumberish
|
|
589
|
+
], [
|
|
590
|
+
void
|
|
591
|
+
], "nonpayable">;
|
|
592
|
+
borrowBalanceCurrent: TypedContractMethod<[
|
|
593
|
+
account: AddressLike
|
|
594
|
+
], [
|
|
595
|
+
bigint
|
|
596
|
+
], "nonpayable">;
|
|
597
|
+
borrowBalanceStored: TypedContractMethod<[
|
|
598
|
+
account: AddressLike
|
|
599
|
+
], [
|
|
600
|
+
bigint
|
|
601
|
+
], "view">;
|
|
602
|
+
borrowIndex: TypedContractMethod<[], [bigint], "view">;
|
|
603
|
+
borrowRatePerBlock: TypedContractMethod<[], [bigint], "view">;
|
|
604
|
+
compliantBorrow: TypedContractMethod<[
|
|
605
|
+
borrowAmount: BigNumberish,
|
|
606
|
+
allowedAmount: BigNumberish,
|
|
607
|
+
extras: BytesLike,
|
|
608
|
+
signature: BytesLike
|
|
609
|
+
], [
|
|
610
|
+
void
|
|
611
|
+
], "nonpayable">;
|
|
612
|
+
compliantMint: TypedContractMethod<[
|
|
613
|
+
mintAmount: BigNumberish,
|
|
614
|
+
allowedAmount: BigNumberish,
|
|
615
|
+
extras: BytesLike,
|
|
616
|
+
signature: BytesLike
|
|
617
|
+
], [
|
|
618
|
+
void
|
|
619
|
+
], "nonpayable">;
|
|
620
|
+
comptroller: TypedContractMethod<[], [string], "view">;
|
|
621
|
+
decimals: TypedContractMethod<[], [bigint], "view">;
|
|
622
|
+
discountRateMantissa: TypedContractMethod<[], [bigint], "view">;
|
|
623
|
+
exchangeRateCurrent: TypedContractMethod<[], [bigint], "nonpayable">;
|
|
624
|
+
exchangeRateStored: TypedContractMethod<[], [bigint], "view">;
|
|
625
|
+
getAccountSnapshot: TypedContractMethod<[
|
|
626
|
+
account: AddressLike
|
|
627
|
+
], [
|
|
628
|
+
[bigint, bigint, bigint, bigint]
|
|
629
|
+
], "view">;
|
|
630
|
+
getCash: TypedContractMethod<[], [bigint], "view">;
|
|
631
|
+
initialize: TypedContractMethod<[
|
|
632
|
+
underlying_: AddressLike,
|
|
633
|
+
comptroller_: AddressLike,
|
|
634
|
+
interestRateModel_: AddressLike,
|
|
635
|
+
initialExchangeRateMantissa_: BigNumberish,
|
|
636
|
+
name_: string,
|
|
637
|
+
symbol_: string,
|
|
638
|
+
decimals_: BigNumberish,
|
|
639
|
+
admin_: AddressLike
|
|
640
|
+
], [
|
|
641
|
+
void
|
|
642
|
+
], "nonpayable">;
|
|
643
|
+
interestRateModel: TypedContractMethod<[], [string], "view">;
|
|
644
|
+
isCEther: TypedContractMethod<[], [boolean], "view">;
|
|
645
|
+
isCEtherDeprecated: TypedContractMethod<[], [boolean], "view">;
|
|
646
|
+
isCToken: TypedContractMethod<[], [boolean], "view">;
|
|
647
|
+
isCTokenDeprecated: TypedContractMethod<[], [boolean], "view">;
|
|
648
|
+
liquidateBorrow: TypedContractMethod<[
|
|
649
|
+
borrower: AddressLike,
|
|
650
|
+
repayAmount: BigNumberish,
|
|
651
|
+
cTokenCollateral: AddressLike
|
|
652
|
+
], [
|
|
653
|
+
void
|
|
654
|
+
], "nonpayable">;
|
|
655
|
+
liquidateCalculateSeizeTokens: TypedContractMethod<[
|
|
656
|
+
cTokenCollateral: AddressLike,
|
|
657
|
+
actualRepayAmount: BigNumberish
|
|
658
|
+
], [
|
|
659
|
+
[bigint, bigint]
|
|
660
|
+
], "view">;
|
|
661
|
+
mint: TypedContractMethod<[mintAmount: BigNumberish], [void], "nonpayable">;
|
|
662
|
+
mintWithPermit: TypedContractMethod<[
|
|
663
|
+
mintAmount: BigNumberish,
|
|
664
|
+
deadline: BigNumberish,
|
|
665
|
+
signature: BytesLike
|
|
666
|
+
], [
|
|
667
|
+
void
|
|
668
|
+
], "nonpayable">;
|
|
669
|
+
name: TypedContractMethod<[], [string], "view">;
|
|
670
|
+
pendingAdmin: TypedContractMethod<[], [string], "view">;
|
|
671
|
+
percentScale: TypedContractMethod<[], [bigint], "view">;
|
|
672
|
+
protocolSeizeShareMantissa: TypedContractMethod<[], [bigint], "view">;
|
|
673
|
+
redeem: TypedContractMethod<[
|
|
674
|
+
redeemTokens: BigNumberish
|
|
675
|
+
], [
|
|
676
|
+
void
|
|
677
|
+
], "nonpayable">;
|
|
678
|
+
redeemUnderlying: TypedContractMethod<[
|
|
679
|
+
redeemAmount: BigNumberish
|
|
680
|
+
], [
|
|
681
|
+
void
|
|
682
|
+
], "nonpayable">;
|
|
683
|
+
repayBorrow: TypedContractMethod<[
|
|
684
|
+
repayAmount: BigNumberish
|
|
685
|
+
], [
|
|
686
|
+
void
|
|
687
|
+
], "nonpayable">;
|
|
688
|
+
repayBorrowBehalf: TypedContractMethod<[
|
|
689
|
+
borrower: AddressLike,
|
|
690
|
+
repayAmount: BigNumberish
|
|
691
|
+
], [
|
|
692
|
+
void
|
|
693
|
+
], "nonpayable">;
|
|
694
|
+
repayBorrowWithPermit: TypedContractMethod<[
|
|
695
|
+
repayAmount: BigNumberish,
|
|
696
|
+
deadline: BigNumberish,
|
|
697
|
+
signature: BytesLike
|
|
698
|
+
], [
|
|
699
|
+
void
|
|
700
|
+
], "nonpayable">;
|
|
701
|
+
reserveFactorMantissa: TypedContractMethod<[], [bigint], "view">;
|
|
702
|
+
seize: TypedContractMethod<[
|
|
703
|
+
liquidator: AddressLike,
|
|
704
|
+
borrower: AddressLike,
|
|
705
|
+
seizeTokens: BigNumberish,
|
|
706
|
+
seizeProfitTokens: BigNumberish,
|
|
707
|
+
isRedemption: boolean,
|
|
708
|
+
redemptionRateMantissa: BigNumberish
|
|
709
|
+
], [
|
|
710
|
+
void
|
|
711
|
+
], "nonpayable">;
|
|
712
|
+
setKYCSigner: TypedContractMethod<[
|
|
713
|
+
_kycSigner: AddressLike
|
|
714
|
+
], [
|
|
715
|
+
void
|
|
716
|
+
], "nonpayable">;
|
|
717
|
+
supplyRatePerBlock: TypedContractMethod<[], [bigint], "view">;
|
|
718
|
+
sweepToken: TypedContractMethod<[token: AddressLike], [void], "nonpayable">;
|
|
719
|
+
symbol: TypedContractMethod<[], [string], "view">;
|
|
720
|
+
tokenType: TypedContractMethod<[], [bigint], "view">;
|
|
721
|
+
totalBorrows: TypedContractMethod<[], [bigint], "view">;
|
|
722
|
+
totalBorrowsCurrent: TypedContractMethod<[], [bigint], "nonpayable">;
|
|
723
|
+
totalReserves: TypedContractMethod<[], [bigint], "view">;
|
|
724
|
+
totalSupply: TypedContractMethod<[], [bigint], "view">;
|
|
725
|
+
transfer: TypedContractMethod<[
|
|
726
|
+
dst: AddressLike,
|
|
727
|
+
amount: BigNumberish
|
|
728
|
+
], [
|
|
729
|
+
boolean
|
|
730
|
+
], "nonpayable">;
|
|
731
|
+
transferFrom: TypedContractMethod<[
|
|
732
|
+
src: AddressLike,
|
|
733
|
+
dst: AddressLike,
|
|
734
|
+
amount: BigNumberish
|
|
735
|
+
], [
|
|
736
|
+
boolean
|
|
737
|
+
], "nonpayable">;
|
|
738
|
+
underlying: TypedContractMethod<[], [string], "view">;
|
|
739
|
+
underlyingBalance: TypedContractMethod<[], [bigint], "view">;
|
|
740
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
741
|
+
getFunction(nameOrSignature: "_acceptAdmin"): TypedContractMethod<[], [void], "nonpayable">;
|
|
742
|
+
getFunction(nameOrSignature: "_addReserves"): TypedContractMethod<[addAmount: BigNumberish], [void], "nonpayable">;
|
|
743
|
+
getFunction(nameOrSignature: "_reduceReserves"): TypedContractMethod<[reduceAmount: BigNumberish], [void], "nonpayable">;
|
|
744
|
+
getFunction(nameOrSignature: "_setComptroller"): TypedContractMethod<[newComptroller: AddressLike], [void], "nonpayable">;
|
|
745
|
+
getFunction(nameOrSignature: "_setDiscountRate"): TypedContractMethod<[
|
|
746
|
+
discountRateMantissa_: BigNumberish
|
|
747
|
+
], [
|
|
748
|
+
bigint
|
|
749
|
+
], "nonpayable">;
|
|
750
|
+
getFunction(nameOrSignature: "_setInterestRateModel"): TypedContractMethod<[
|
|
751
|
+
newInterestRateModel: AddressLike
|
|
752
|
+
], [
|
|
753
|
+
void
|
|
754
|
+
], "nonpayable">;
|
|
755
|
+
getFunction(nameOrSignature: "_setPendingAdmin"): TypedContractMethod<[newPendingAdmin: AddressLike], [void], "nonpayable">;
|
|
756
|
+
getFunction(nameOrSignature: "_setReserveFactor"): TypedContractMethod<[
|
|
757
|
+
newReserveFactorMantissa: BigNumberish
|
|
758
|
+
], [
|
|
759
|
+
void
|
|
760
|
+
], "nonpayable">;
|
|
761
|
+
getFunction(nameOrSignature: "_syncUnderlyingBalance"): TypedContractMethod<[], [void], "nonpayable">;
|
|
762
|
+
getFunction(nameOrSignature: "accrualBlockTimestamp"): TypedContractMethod<[], [bigint], "view">;
|
|
763
|
+
getFunction(nameOrSignature: "accrueInterest"): TypedContractMethod<[], [void], "nonpayable">;
|
|
764
|
+
getFunction(nameOrSignature: "admin"): TypedContractMethod<[], [string], "view">;
|
|
765
|
+
getFunction(nameOrSignature: "allowance"): TypedContractMethod<[
|
|
766
|
+
owner: AddressLike,
|
|
767
|
+
spender: AddressLike
|
|
768
|
+
], [
|
|
769
|
+
bigint
|
|
770
|
+
], "view">;
|
|
771
|
+
getFunction(nameOrSignature: "approve"): TypedContractMethod<[
|
|
772
|
+
spender: AddressLike,
|
|
773
|
+
amount: BigNumberish
|
|
774
|
+
], [
|
|
775
|
+
boolean
|
|
776
|
+
], "nonpayable">;
|
|
777
|
+
getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[owner: AddressLike], [bigint], "view">;
|
|
778
|
+
getFunction(nameOrSignature: "balanceOfUnderlying"): TypedContractMethod<[owner: AddressLike], [bigint], "nonpayable">;
|
|
779
|
+
getFunction(nameOrSignature: "borrow"): TypedContractMethod<[borrowAmount: BigNumberish], [void], "nonpayable">;
|
|
780
|
+
getFunction(nameOrSignature: "borrowAndDepositBack"): TypedContractMethod<[
|
|
781
|
+
borrower: AddressLike,
|
|
782
|
+
borrowAmount: BigNumberish
|
|
783
|
+
], [
|
|
784
|
+
void
|
|
785
|
+
], "nonpayable">;
|
|
786
|
+
getFunction(nameOrSignature: "borrowBalanceCurrent"): TypedContractMethod<[account: AddressLike], [bigint], "nonpayable">;
|
|
787
|
+
getFunction(nameOrSignature: "borrowBalanceStored"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
788
|
+
getFunction(nameOrSignature: "borrowIndex"): TypedContractMethod<[], [bigint], "view">;
|
|
789
|
+
getFunction(nameOrSignature: "borrowRatePerBlock"): TypedContractMethod<[], [bigint], "view">;
|
|
790
|
+
getFunction(nameOrSignature: "compliantBorrow"): TypedContractMethod<[
|
|
791
|
+
borrowAmount: BigNumberish,
|
|
792
|
+
allowedAmount: BigNumberish,
|
|
793
|
+
extras: BytesLike,
|
|
794
|
+
signature: BytesLike
|
|
795
|
+
], [
|
|
796
|
+
void
|
|
797
|
+
], "nonpayable">;
|
|
798
|
+
getFunction(nameOrSignature: "compliantMint"): TypedContractMethod<[
|
|
799
|
+
mintAmount: BigNumberish,
|
|
800
|
+
allowedAmount: BigNumberish,
|
|
801
|
+
extras: BytesLike,
|
|
802
|
+
signature: BytesLike
|
|
803
|
+
], [
|
|
804
|
+
void
|
|
805
|
+
], "nonpayable">;
|
|
806
|
+
getFunction(nameOrSignature: "comptroller"): TypedContractMethod<[], [string], "view">;
|
|
807
|
+
getFunction(nameOrSignature: "decimals"): TypedContractMethod<[], [bigint], "view">;
|
|
808
|
+
getFunction(nameOrSignature: "discountRateMantissa"): TypedContractMethod<[], [bigint], "view">;
|
|
809
|
+
getFunction(nameOrSignature: "exchangeRateCurrent"): TypedContractMethod<[], [bigint], "nonpayable">;
|
|
810
|
+
getFunction(nameOrSignature: "exchangeRateStored"): TypedContractMethod<[], [bigint], "view">;
|
|
811
|
+
getFunction(nameOrSignature: "getAccountSnapshot"): TypedContractMethod<[
|
|
812
|
+
account: AddressLike
|
|
813
|
+
], [
|
|
814
|
+
[bigint, bigint, bigint, bigint]
|
|
815
|
+
], "view">;
|
|
816
|
+
getFunction(nameOrSignature: "getCash"): TypedContractMethod<[], [bigint], "view">;
|
|
817
|
+
getFunction(nameOrSignature: "initialize"): TypedContractMethod<[
|
|
818
|
+
underlying_: AddressLike,
|
|
819
|
+
comptroller_: AddressLike,
|
|
820
|
+
interestRateModel_: AddressLike,
|
|
821
|
+
initialExchangeRateMantissa_: BigNumberish,
|
|
822
|
+
name_: string,
|
|
823
|
+
symbol_: string,
|
|
824
|
+
decimals_: BigNumberish,
|
|
825
|
+
admin_: AddressLike
|
|
826
|
+
], [
|
|
827
|
+
void
|
|
828
|
+
], "nonpayable">;
|
|
829
|
+
getFunction(nameOrSignature: "interestRateModel"): TypedContractMethod<[], [string], "view">;
|
|
830
|
+
getFunction(nameOrSignature: "isCEther"): TypedContractMethod<[], [boolean], "view">;
|
|
831
|
+
getFunction(nameOrSignature: "isCEtherDeprecated"): TypedContractMethod<[], [boolean], "view">;
|
|
832
|
+
getFunction(nameOrSignature: "isCToken"): TypedContractMethod<[], [boolean], "view">;
|
|
833
|
+
getFunction(nameOrSignature: "isCTokenDeprecated"): TypedContractMethod<[], [boolean], "view">;
|
|
834
|
+
getFunction(nameOrSignature: "liquidateBorrow"): TypedContractMethod<[
|
|
835
|
+
borrower: AddressLike,
|
|
836
|
+
repayAmount: BigNumberish,
|
|
837
|
+
cTokenCollateral: AddressLike
|
|
838
|
+
], [
|
|
839
|
+
void
|
|
840
|
+
], "nonpayable">;
|
|
841
|
+
getFunction(nameOrSignature: "liquidateCalculateSeizeTokens"): TypedContractMethod<[
|
|
842
|
+
cTokenCollateral: AddressLike,
|
|
843
|
+
actualRepayAmount: BigNumberish
|
|
844
|
+
], [
|
|
845
|
+
[bigint, bigint]
|
|
846
|
+
], "view">;
|
|
847
|
+
getFunction(nameOrSignature: "mint"): TypedContractMethod<[mintAmount: BigNumberish], [void], "nonpayable">;
|
|
848
|
+
getFunction(nameOrSignature: "mintWithPermit"): TypedContractMethod<[
|
|
849
|
+
mintAmount: BigNumberish,
|
|
850
|
+
deadline: BigNumberish,
|
|
851
|
+
signature: BytesLike
|
|
852
|
+
], [
|
|
853
|
+
void
|
|
854
|
+
], "nonpayable">;
|
|
855
|
+
getFunction(nameOrSignature: "name"): TypedContractMethod<[], [string], "view">;
|
|
856
|
+
getFunction(nameOrSignature: "pendingAdmin"): TypedContractMethod<[], [string], "view">;
|
|
857
|
+
getFunction(nameOrSignature: "percentScale"): TypedContractMethod<[], [bigint], "view">;
|
|
858
|
+
getFunction(nameOrSignature: "protocolSeizeShareMantissa"): TypedContractMethod<[], [bigint], "view">;
|
|
859
|
+
getFunction(nameOrSignature: "redeem"): TypedContractMethod<[redeemTokens: BigNumberish], [void], "nonpayable">;
|
|
860
|
+
getFunction(nameOrSignature: "redeemUnderlying"): TypedContractMethod<[redeemAmount: BigNumberish], [void], "nonpayable">;
|
|
861
|
+
getFunction(nameOrSignature: "repayBorrow"): TypedContractMethod<[repayAmount: BigNumberish], [void], "nonpayable">;
|
|
862
|
+
getFunction(nameOrSignature: "repayBorrowBehalf"): TypedContractMethod<[
|
|
863
|
+
borrower: AddressLike,
|
|
864
|
+
repayAmount: BigNumberish
|
|
865
|
+
], [
|
|
866
|
+
void
|
|
867
|
+
], "nonpayable">;
|
|
868
|
+
getFunction(nameOrSignature: "repayBorrowWithPermit"): TypedContractMethod<[
|
|
869
|
+
repayAmount: BigNumberish,
|
|
870
|
+
deadline: BigNumberish,
|
|
871
|
+
signature: BytesLike
|
|
872
|
+
], [
|
|
873
|
+
void
|
|
874
|
+
], "nonpayable">;
|
|
875
|
+
getFunction(nameOrSignature: "reserveFactorMantissa"): TypedContractMethod<[], [bigint], "view">;
|
|
876
|
+
getFunction(nameOrSignature: "seize"): TypedContractMethod<[
|
|
877
|
+
liquidator: AddressLike,
|
|
878
|
+
borrower: AddressLike,
|
|
879
|
+
seizeTokens: BigNumberish,
|
|
880
|
+
seizeProfitTokens: BigNumberish,
|
|
881
|
+
isRedemption: boolean,
|
|
882
|
+
redemptionRateMantissa: BigNumberish
|
|
883
|
+
], [
|
|
884
|
+
void
|
|
885
|
+
], "nonpayable">;
|
|
886
|
+
getFunction(nameOrSignature: "setKYCSigner"): TypedContractMethod<[_kycSigner: AddressLike], [void], "nonpayable">;
|
|
887
|
+
getFunction(nameOrSignature: "supplyRatePerBlock"): TypedContractMethod<[], [bigint], "view">;
|
|
888
|
+
getFunction(nameOrSignature: "sweepToken"): TypedContractMethod<[token: AddressLike], [void], "nonpayable">;
|
|
889
|
+
getFunction(nameOrSignature: "symbol"): TypedContractMethod<[], [string], "view">;
|
|
890
|
+
getFunction(nameOrSignature: "tokenType"): TypedContractMethod<[], [bigint], "view">;
|
|
891
|
+
getFunction(nameOrSignature: "totalBorrows"): TypedContractMethod<[], [bigint], "view">;
|
|
892
|
+
getFunction(nameOrSignature: "totalBorrowsCurrent"): TypedContractMethod<[], [bigint], "nonpayable">;
|
|
893
|
+
getFunction(nameOrSignature: "totalReserves"): TypedContractMethod<[], [bigint], "view">;
|
|
894
|
+
getFunction(nameOrSignature: "totalSupply"): TypedContractMethod<[], [bigint], "view">;
|
|
895
|
+
getFunction(nameOrSignature: "transfer"): TypedContractMethod<[
|
|
896
|
+
dst: AddressLike,
|
|
897
|
+
amount: BigNumberish
|
|
898
|
+
], [
|
|
899
|
+
boolean
|
|
900
|
+
], "nonpayable">;
|
|
901
|
+
getFunction(nameOrSignature: "transferFrom"): TypedContractMethod<[
|
|
902
|
+
src: AddressLike,
|
|
903
|
+
dst: AddressLike,
|
|
904
|
+
amount: BigNumberish
|
|
905
|
+
], [
|
|
906
|
+
boolean
|
|
907
|
+
], "nonpayable">;
|
|
908
|
+
getFunction(nameOrSignature: "underlying"): TypedContractMethod<[], [string], "view">;
|
|
909
|
+
getFunction(nameOrSignature: "underlyingBalance"): TypedContractMethod<[], [bigint], "view">;
|
|
910
|
+
getEvent(key: "AccrueInterest"): TypedContractEvent<AccrueInterestEvent.InputTuple, AccrueInterestEvent.OutputTuple, AccrueInterestEvent.OutputObject>;
|
|
911
|
+
getEvent(key: "Approval"): TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
912
|
+
getEvent(key: "Borrow"): TypedContractEvent<BorrowEvent.InputTuple, BorrowEvent.OutputTuple, BorrowEvent.OutputObject>;
|
|
913
|
+
getEvent(key: "Initialized"): TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
914
|
+
getEvent(key: "LiquidateBorrow"): TypedContractEvent<LiquidateBorrowEvent.InputTuple, LiquidateBorrowEvent.OutputTuple, LiquidateBorrowEvent.OutputObject>;
|
|
915
|
+
getEvent(key: "Mint"): TypedContractEvent<MintEvent.InputTuple, MintEvent.OutputTuple, MintEvent.OutputObject>;
|
|
916
|
+
getEvent(key: "NewAdmin"): TypedContractEvent<NewAdminEvent.InputTuple, NewAdminEvent.OutputTuple, NewAdminEvent.OutputObject>;
|
|
917
|
+
getEvent(key: "NewComptroller"): TypedContractEvent<NewComptrollerEvent.InputTuple, NewComptrollerEvent.OutputTuple, NewComptrollerEvent.OutputObject>;
|
|
918
|
+
getEvent(key: "NewDiscountRate"): TypedContractEvent<NewDiscountRateEvent.InputTuple, NewDiscountRateEvent.OutputTuple, NewDiscountRateEvent.OutputObject>;
|
|
919
|
+
getEvent(key: "NewMarketInterestRateModel"): TypedContractEvent<NewMarketInterestRateModelEvent.InputTuple, NewMarketInterestRateModelEvent.OutputTuple, NewMarketInterestRateModelEvent.OutputObject>;
|
|
920
|
+
getEvent(key: "NewPendingAdmin"): TypedContractEvent<NewPendingAdminEvent.InputTuple, NewPendingAdminEvent.OutputTuple, NewPendingAdminEvent.OutputObject>;
|
|
921
|
+
getEvent(key: "NewReserveFactor"): TypedContractEvent<NewReserveFactorEvent.InputTuple, NewReserveFactorEvent.OutputTuple, NewReserveFactorEvent.OutputObject>;
|
|
922
|
+
getEvent(key: "Redeem"): TypedContractEvent<RedeemEvent.InputTuple, RedeemEvent.OutputTuple, RedeemEvent.OutputObject>;
|
|
923
|
+
getEvent(key: "RedeemFaceValue"): TypedContractEvent<RedeemFaceValueEvent.InputTuple, RedeemFaceValueEvent.OutputTuple, RedeemFaceValueEvent.OutputObject>;
|
|
924
|
+
getEvent(key: "RepayBorrow"): TypedContractEvent<RepayBorrowEvent.InputTuple, RepayBorrowEvent.OutputTuple, RepayBorrowEvent.OutputObject>;
|
|
925
|
+
getEvent(key: "ReservesAdded"): TypedContractEvent<ReservesAddedEvent.InputTuple, ReservesAddedEvent.OutputTuple, ReservesAddedEvent.OutputObject>;
|
|
926
|
+
getEvent(key: "ReservesReduced"): TypedContractEvent<ReservesReducedEvent.InputTuple, ReservesReducedEvent.OutputTuple, ReservesReducedEvent.OutputObject>;
|
|
927
|
+
getEvent(key: "Transfer"): TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
928
|
+
filters: {
|
|
929
|
+
"AccrueInterest(uint256,uint256,uint256,uint256)": TypedContractEvent<AccrueInterestEvent.InputTuple, AccrueInterestEvent.OutputTuple, AccrueInterestEvent.OutputObject>;
|
|
930
|
+
AccrueInterest: TypedContractEvent<AccrueInterestEvent.InputTuple, AccrueInterestEvent.OutputTuple, AccrueInterestEvent.OutputObject>;
|
|
931
|
+
"Approval(address,address,uint256)": TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
932
|
+
Approval: TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
933
|
+
"Borrow(address,uint256,uint256,uint256)": TypedContractEvent<BorrowEvent.InputTuple, BorrowEvent.OutputTuple, BorrowEvent.OutputObject>;
|
|
934
|
+
Borrow: TypedContractEvent<BorrowEvent.InputTuple, BorrowEvent.OutputTuple, BorrowEvent.OutputObject>;
|
|
935
|
+
"Initialized(uint8)": TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
936
|
+
Initialized: TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
937
|
+
"LiquidateBorrow(address,address,uint256,address,uint256)": TypedContractEvent<LiquidateBorrowEvent.InputTuple, LiquidateBorrowEvent.OutputTuple, LiquidateBorrowEvent.OutputObject>;
|
|
938
|
+
LiquidateBorrow: TypedContractEvent<LiquidateBorrowEvent.InputTuple, LiquidateBorrowEvent.OutputTuple, LiquidateBorrowEvent.OutputObject>;
|
|
939
|
+
"Mint(address,uint256,uint256)": TypedContractEvent<MintEvent.InputTuple, MintEvent.OutputTuple, MintEvent.OutputObject>;
|
|
940
|
+
Mint: TypedContractEvent<MintEvent.InputTuple, MintEvent.OutputTuple, MintEvent.OutputObject>;
|
|
941
|
+
"NewAdmin(address,address)": TypedContractEvent<NewAdminEvent.InputTuple, NewAdminEvent.OutputTuple, NewAdminEvent.OutputObject>;
|
|
942
|
+
NewAdmin: TypedContractEvent<NewAdminEvent.InputTuple, NewAdminEvent.OutputTuple, NewAdminEvent.OutputObject>;
|
|
943
|
+
"NewComptroller(address,address)": TypedContractEvent<NewComptrollerEvent.InputTuple, NewComptrollerEvent.OutputTuple, NewComptrollerEvent.OutputObject>;
|
|
944
|
+
NewComptroller: TypedContractEvent<NewComptrollerEvent.InputTuple, NewComptrollerEvent.OutputTuple, NewComptrollerEvent.OutputObject>;
|
|
945
|
+
"NewDiscountRate(uint256,uint256)": TypedContractEvent<NewDiscountRateEvent.InputTuple, NewDiscountRateEvent.OutputTuple, NewDiscountRateEvent.OutputObject>;
|
|
946
|
+
NewDiscountRate: TypedContractEvent<NewDiscountRateEvent.InputTuple, NewDiscountRateEvent.OutputTuple, NewDiscountRateEvent.OutputObject>;
|
|
947
|
+
"NewMarketInterestRateModel(address,address)": TypedContractEvent<NewMarketInterestRateModelEvent.InputTuple, NewMarketInterestRateModelEvent.OutputTuple, NewMarketInterestRateModelEvent.OutputObject>;
|
|
948
|
+
NewMarketInterestRateModel: TypedContractEvent<NewMarketInterestRateModelEvent.InputTuple, NewMarketInterestRateModelEvent.OutputTuple, NewMarketInterestRateModelEvent.OutputObject>;
|
|
949
|
+
"NewPendingAdmin(address,address)": TypedContractEvent<NewPendingAdminEvent.InputTuple, NewPendingAdminEvent.OutputTuple, NewPendingAdminEvent.OutputObject>;
|
|
950
|
+
NewPendingAdmin: TypedContractEvent<NewPendingAdminEvent.InputTuple, NewPendingAdminEvent.OutputTuple, NewPendingAdminEvent.OutputObject>;
|
|
951
|
+
"NewReserveFactor(uint256,uint256)": TypedContractEvent<NewReserveFactorEvent.InputTuple, NewReserveFactorEvent.OutputTuple, NewReserveFactorEvent.OutputObject>;
|
|
952
|
+
NewReserveFactor: TypedContractEvent<NewReserveFactorEvent.InputTuple, NewReserveFactorEvent.OutputTuple, NewReserveFactorEvent.OutputObject>;
|
|
953
|
+
"Redeem(address,uint256,uint256)": TypedContractEvent<RedeemEvent.InputTuple, RedeemEvent.OutputTuple, RedeemEvent.OutputObject>;
|
|
954
|
+
Redeem: TypedContractEvent<RedeemEvent.InputTuple, RedeemEvent.OutputTuple, RedeemEvent.OutputObject>;
|
|
955
|
+
"RedeemFaceValue(address,address,uint256,address,uint256,uint256)": TypedContractEvent<RedeemFaceValueEvent.InputTuple, RedeemFaceValueEvent.OutputTuple, RedeemFaceValueEvent.OutputObject>;
|
|
956
|
+
RedeemFaceValue: TypedContractEvent<RedeemFaceValueEvent.InputTuple, RedeemFaceValueEvent.OutputTuple, RedeemFaceValueEvent.OutputObject>;
|
|
957
|
+
"RepayBorrow(address,address,uint256,uint256,uint256)": TypedContractEvent<RepayBorrowEvent.InputTuple, RepayBorrowEvent.OutputTuple, RepayBorrowEvent.OutputObject>;
|
|
958
|
+
RepayBorrow: TypedContractEvent<RepayBorrowEvent.InputTuple, RepayBorrowEvent.OutputTuple, RepayBorrowEvent.OutputObject>;
|
|
959
|
+
"ReservesAdded(address,uint256,uint256)": TypedContractEvent<ReservesAddedEvent.InputTuple, ReservesAddedEvent.OutputTuple, ReservesAddedEvent.OutputObject>;
|
|
960
|
+
ReservesAdded: TypedContractEvent<ReservesAddedEvent.InputTuple, ReservesAddedEvent.OutputTuple, ReservesAddedEvent.OutputObject>;
|
|
961
|
+
"ReservesReduced(address,uint256,uint256)": TypedContractEvent<ReservesReducedEvent.InputTuple, ReservesReducedEvent.OutputTuple, ReservesReducedEvent.OutputObject>;
|
|
962
|
+
ReservesReduced: TypedContractEvent<ReservesReducedEvent.InputTuple, ReservesReducedEvent.OutputTuple, ReservesReducedEvent.OutputObject>;
|
|
963
|
+
"Transfer(address,address,uint256)": TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
964
|
+
Transfer: TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
965
|
+
};
|
|
966
|
+
}
|