@meterio/sumer-js 0.2.113 → 0.2.115
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 +542 -123
- package/dist/nodejs/abi.js +19858 -9807
- package/dist/nodejs/abi.js.map +1 -1
- package/dist/nodejs/cToken.js +1 -7
- package/dist/nodejs/cToken.js.map +1 -1
- package/dist/nodejs/constants/arbitrum.d.ts +11 -3
- package/dist/nodejs/constants/arbitrum.js +149 -22
- package/dist/nodejs/constants/arbitrum.js.map +1 -1
- package/dist/nodejs/constants/b2main.d.ts +8 -3
- package/dist/nodejs/constants/b2main.js +65 -13
- package/dist/nodejs/constants/b2main.js.map +1 -1
- package/dist/nodejs/constants/basemain.d.ts +12 -5
- package/dist/nodejs/constants/basemain.js +127 -19
- package/dist/nodejs/constants/basemain.js.map +1 -1
- package/dist/nodejs/constants/basetest.d.ts +10 -21
- package/dist/nodejs/constants/basetest.js +35 -21
- package/dist/nodejs/constants/basetest.js.map +1 -1
- package/dist/nodejs/constants/berabartio.d.ts +6 -3
- package/dist/nodejs/constants/berabartio.js +139 -5
- package/dist/nodejs/constants/berabartio.js.map +1 -1
- package/dist/nodejs/constants/beramain.d.ts +12 -7
- package/dist/nodejs/constants/beramain.js +93 -48
- package/dist/nodejs/constants/beramain.js.map +1 -1
- package/dist/nodejs/constants/bsc.d.ts +10 -15
- package/dist/nodejs/constants/bsc.js +92 -13
- package/dist/nodejs/constants/bsc.js.map +1 -1
- package/dist/nodejs/constants/core.d.ts +8 -7
- package/dist/nodejs/constants/core.js +105 -28
- package/dist/nodejs/constants/core.js.map +1 -1
- package/dist/nodejs/constants/ethereum.d.ts +11 -4
- package/dist/nodejs/constants/ethereum.js +264 -18
- package/dist/nodejs/constants/ethereum.js.map +1 -1
- package/dist/nodejs/constants/index.js +0 -2
- package/dist/nodejs/constants/index.js.map +1 -1
- package/dist/nodejs/constants/merlin.d.ts +7 -3
- package/dist/nodejs/constants/merlin.js +45 -7
- package/dist/nodejs/constants/merlin.js.map +1 -1
- package/dist/nodejs/constants/metermain.d.ts +8 -3
- package/dist/nodejs/constants/metermain.js +53 -12
- package/dist/nodejs/constants/metermain.js.map +1 -1
- package/dist/nodejs/constants/metertest.d.ts +9 -4
- package/dist/nodejs/constants/metertest.js +113 -13
- package/dist/nodejs/constants/metertest.js.map +1 -1
- package/dist/nodejs/constants/monadtest.d.ts +6 -3
- package/dist/nodejs/constants/monadtest.js +89 -5
- package/dist/nodejs/constants/monadtest.js.map +1 -1
- package/dist/nodejs/constants/sepolia.d.ts +6 -3
- package/dist/nodejs/constants/sepolia.js +53 -5
- package/dist/nodejs/constants/sepolia.js.map +1 -1
- package/dist/nodejs/constants/zklink.d.ts +11 -7
- package/dist/nodejs/constants/zklink.js +82 -11
- package/dist/nodejs/constants/zklink.js.map +1 -1
- package/dist/nodejs/errorABIs.js +2261 -0
- package/dist/nodejs/errorABIs.js.map +1 -1
- package/dist/nodejs/index.d.ts +542 -123
- package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/security/index.d.ts +1 -0
- package/dist/nodejs/typechain/contracts/Bera/CBeraVault.d.ts +36 -40
- package/dist/nodejs/typechain/contracts/CToken/CErc20.d.ts +36 -40
- package/dist/nodejs/typechain/contracts/CToken/SuErc20.d.ts +40 -44
- package/dist/nodejs/typechain/contracts/Comptroller/CompLogic.d.ts +1 -9
- package/dist/nodejs/typechain/contracts/Comptroller/MockComptroller.d.ts +1237 -0
- package/dist/nodejs/typechain/contracts/{Oracle/BalancerLPAdapter.sol/IBalancerVault.js → Comptroller/MockComptroller.js} +1 -1
- package/dist/nodejs/typechain/contracts/Comptroller/MockComptroller.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Comptroller/index.d.ts +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.d.ts +129 -107
- package/dist/nodejs/typechain/contracts/Infrared/IInfraredRewards.d.ts +16 -16
- package/dist/nodejs/typechain/contracts/Interfaces/ICompLogic.d.ts +1 -9
- package/dist/nodejs/typechain/contracts/Interfaces/IComptroller.d.ts +5 -76
- package/dist/nodejs/typechain/contracts/Interfaces/index.d.ts +6 -0
- package/dist/nodejs/typechain/contracts/Oracle/FeedPriceOracle.d.ts +1 -43
- package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +0 -2
- package/dist/nodejs/typechain/contracts/index.d.ts +4 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/index.js +3 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Bera/CBeraVault__factory.d.ts +18 -90
- package/dist/nodejs/typechain/factories/contracts/Bera/CBeraVault__factory.js +18 -125
- package/dist/nodejs/typechain/factories/contracts/Bera/CBeraVault__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +18 -90
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +18 -125
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +1 -57
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +1 -71
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +0 -56
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +0 -70
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +20 -100
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +20 -139
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.d.ts +1 -67
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +1 -84
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +1 -57
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +1 -71
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +1 -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 +1880 -0
- package/dist/nodejs/typechain/factories/contracts/Comptroller/MockComptroller__factory.js +2415 -0
- package/dist/nodejs/typechain/factories/contracts/Comptroller/MockComptroller__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +1 -57
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +1 -71
- 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 +1 -0
- package/dist/nodejs/typechain/factories/contracts/Comptroller/index.js +3 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault__factory.d.ts +143 -170
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault__factory.js +170 -224
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Infrared/IInfraredRewards__factory.d.ts +11 -26
- package/dist/nodejs/typechain/factories/contracts/Infrared/IInfraredRewards__factory.js +14 -33
- package/dist/nodejs/typechain/factories/contracts/Infrared/IInfraredRewards__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.d.ts +0 -10
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js +0 -13
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.d.ts +0 -86
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js +0 -109
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/index.d.ts +3 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js +4 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Multicall2__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Multicall2__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.d.ts +1 -47
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js +1 -61
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +0 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +1 -2
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.d.ts +1 -57
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js +1 -71
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.d.ts +1 -57
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js +1 -71
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/index.js +3 -1
- package/dist/nodejs/typechain/factories/contracts/index.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 +324 -54
- package/dist/nodejs/typechain/index.d.ts +34 -8
- package/dist/nodejs/typechain/index.js +35 -11
- package/dist/nodejs/typechain/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/nodejs/constants/hemi.d.ts +0 -69
- package/dist/nodejs/constants/hemi.js +0 -151
- package/dist/nodejs/constants/hemi.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Infrared/ITimeWeightedMultiRewards.d.ts +0 -149
- package/dist/nodejs/typechain/contracts/Infrared/ITimeWeightedMultiRewards.js +0 -3
- package/dist/nodejs/typechain/contracts/Infrared/ITimeWeightedMultiRewards.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Infrared/InfraredRewards.d.ts +0 -186
- package/dist/nodejs/typechain/contracts/Infrared/InfraredRewards.js +0 -3
- package/dist/nodejs/typechain/contracts/Infrared/InfraredRewards.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Infrared/TimeWeightedMultiRewards.d.ts +0 -217
- package/dist/nodejs/typechain/contracts/Infrared/TimeWeightedMultiRewards.js +0 -3
- package/dist/nodejs/typechain/contracts/Infrared/TimeWeightedMultiRewards.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerLP.d.ts +0 -33
- package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerLP.js +0 -3
- package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerLP.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter.d.ts +0 -93
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter.js +0 -3
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP.d.ts +0 -33
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP.js +0 -3
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault.d.ts +0 -49
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle.d.ts +0 -25
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle.js +0 -3
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/index.d.ts +0 -4
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/index.js +0 -3
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/index.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter.d.ts +0 -29
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter.js +0 -3
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/ICoreVault.d.ts +0 -25
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/ICoreVault.js +0 -3
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/ICoreVault.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/IDualCore.d.ts +0 -25
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/IDualCore.js +0 -3
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/IDualCore.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/index.d.ts +0 -3
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/index.js +0 -3
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/index.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Infrared/ITimeWeightedMultiRewards__factory.d.ts +0 -169
- package/dist/nodejs/typechain/factories/contracts/Infrared/ITimeWeightedMultiRewards__factory.js +0 -229
- package/dist/nodejs/typechain/factories/contracts/Infrared/ITimeWeightedMultiRewards__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Infrared/InfraredRewards__factory.d.ts +0 -219
- package/dist/nodejs/typechain/factories/contracts/Infrared/InfraredRewards__factory.js +0 -296
- package/dist/nodejs/typechain/factories/contracts/Infrared/InfraredRewards__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Infrared/TimeWeightedMultiRewards__factory.d.ts +0 -241
- package/dist/nodejs/typechain/factories/contracts/Infrared/TimeWeightedMultiRewards__factory.js +0 -323
- package/dist/nodejs/typechain/factories/contracts/Infrared/TimeWeightedMultiRewards__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerLP__factory.d.ts +0 -37
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerLP__factory.js +0 -59
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerLP__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter__factory.d.ts +0 -158
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter__factory.js +0 -214
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP__factory.d.ts +0 -37
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP__factory.js +0 -59
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault__factory.d.ts +0 -29
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault__factory.js +0 -49
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle__factory.d.ts +0 -21
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle__factory.js +0 -39
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/index.d.ts +0 -4
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/index.js +0 -15
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/index.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter__factory.d.ts +0 -54
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter__factory.js +0 -82
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/ICoreVault__factory.d.ts +0 -21
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/ICoreVault__factory.js +0 -39
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/ICoreVault__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/IDualCore__factory.d.ts +0 -17
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/IDualCore__factory.js +0 -33
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/IDualCore__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/index.d.ts +0 -3
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/index.js +0 -13
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/index.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MockComptroller.js","sourceRoot":"","sources":["../../../../../src/typechain/contracts/Comptroller/MockComptroller.ts"],"names":[],"mappings":""}
|
|
@@ -2,5 +2,6 @@ export type { CompLogic } from "./CompLogic";
|
|
|
2
2
|
export type { CompoundLens } from "./CompoundLens";
|
|
3
3
|
export type { Comptroller } from "./Comptroller";
|
|
4
4
|
export type { ComptrollerStorage } from "./ComptrollerStorage";
|
|
5
|
+
export type { MockComptroller } from "./MockComptroller";
|
|
5
6
|
export type { RedemptionManager } from "./RedemptionManager";
|
|
6
7
|
export type { SortedBorrows } from "./SortedBorrows";
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
2
|
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common";
|
|
3
|
+
export declare namespace IInfraredVault {
|
|
4
|
+
type UserRewardStruct = {
|
|
5
|
+
token: AddressLike;
|
|
6
|
+
amount: BigNumberish;
|
|
7
|
+
};
|
|
8
|
+
type UserRewardStructOutput = [token: string, amount: bigint] & {
|
|
9
|
+
token: string;
|
|
10
|
+
amount: bigint;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
3
13
|
export declare namespace CTokenStorage {
|
|
4
14
|
type BorrowSnapshotStruct = {
|
|
5
15
|
principal: BigNumberish;
|
|
@@ -14,8 +24,8 @@ export declare namespace CTokenStorage {
|
|
|
14
24
|
};
|
|
15
25
|
}
|
|
16
26
|
export interface CInfraredVaultInterface extends Interface {
|
|
17
|
-
getFunction(nameOrSignature: "_acceptAdmin" | "_addReserves" | "_reduceReserves" | "_setComptroller" | "_setDiscountRate" | "_setInterestRateModel" | "_setPendingAdmin" | "_setReserveFactor" | "
|
|
18
|
-
getEvent(nameOrSignatureOrTopic: "AccrueInterest" | "Approval" | "Borrow" | "Initialized" | "LiquidateBorrow" | "Mint" | "NewAdmin" | "NewComptroller" | "NewDiscountRate" | "NewMarketInterestRateModel" | "NewPendingAdmin" | "NewReserveFactor" | "
|
|
27
|
+
getFunction(nameOrSignature: "_acceptAdmin" | "_addReserves" | "_reduceReserves" | "_setComptroller" | "_setDiscountRate" | "_setInterestRateModel" | "_setPendingAdmin" | "_setReserveFactor" | "_syncUnderlyingBalance" | "accrualBlockTimestamp" | "accrueInterest" | "admin" | "allowance" | "approve" | "balanceOf" | "balanceOfUnderlying" | "borrow" | "borrowAndDepositBack" | "borrowBalanceCurrent" | "borrowBalanceStored" | "borrowIndex" | "borrowRatePerBlock" | "claim" | "claimProtocolRewards" | "comptroller" | "decimals" | "discountRateMantissa" | "earned" | "exchangeRateCurrent" | "exchangeRateStored" | "getAccountSnapshot" | "getBorrowSnapshot" | "getCash" | "initAccrualBlockTimestamp" | "initialize(address,address,address,uint256,string,string,uint8,address)" | "initialize(address,address,address,uint256,string,string,uint8,address,address)" | "interestRateModel" | "isCEther" | "isCEtherDeprecated" | "isCToken" | "isCTokenDeprecated" | "isDeprecated" | "liquidateBorrow" | "liquidateCalculateSeizeTokens" | "mint" | "mintWithPermit" | "name" | "pendingAdmin" | "percentScale" | "points" | "protocolSeizeShareMantissa" | "redeem" | "redeemUnderlying" | "repayBorrow" | "repayBorrowBehalf" | "repayBorrowWithPermit" | "reserveFactorMantissa" | "seize" | "shareOf" | "supplyRatePerBlock" | "sweepToken" | "symbol" | "totalBorrows" | "totalBorrowsCurrent" | "totalReserves" | "totalSupply" | "transfer" | "transferFrom" | "underlying" | "underlyingBalance"): FunctionFragment;
|
|
28
|
+
getEvent(nameOrSignatureOrTopic: "AccrueInterest" | "Approval" | "Borrow" | "Initialized" | "LiquidateBorrow" | "Mint" | "NewAdmin" | "NewComptroller" | "NewDiscountRate" | "NewMarketInterestRateModel" | "NewPendingAdmin" | "NewReserveFactor" | "Recovered" | "Redeem" | "RedeemFaceValue" | "RepayBorrow" | "ReservesAdded" | "ReservesReduced" | "RewardPaid" | "Staked" | "Transfer" | "UpdatePoints" | "Withdrawn"): EventFragment;
|
|
19
29
|
encodeFunctionData(functionFragment: "_acceptAdmin", values?: undefined): string;
|
|
20
30
|
encodeFunctionData(functionFragment: "_addReserves", values: [BigNumberish]): string;
|
|
21
31
|
encodeFunctionData(functionFragment: "_reduceReserves", values: [BigNumberish]): string;
|
|
@@ -24,7 +34,6 @@ export interface CInfraredVaultInterface extends Interface {
|
|
|
24
34
|
encodeFunctionData(functionFragment: "_setInterestRateModel", values: [AddressLike]): string;
|
|
25
35
|
encodeFunctionData(functionFragment: "_setPendingAdmin", values: [AddressLike]): string;
|
|
26
36
|
encodeFunctionData(functionFragment: "_setReserveFactor", values: [BigNumberish]): string;
|
|
27
|
-
encodeFunctionData(functionFragment: "_shares", values: [AddressLike]): string;
|
|
28
37
|
encodeFunctionData(functionFragment: "_syncUnderlyingBalance", values?: undefined): string;
|
|
29
38
|
encodeFunctionData(functionFragment: "accrualBlockTimestamp", values?: undefined): string;
|
|
30
39
|
encodeFunctionData(functionFragment: "accrueInterest", values?: undefined): string;
|
|
@@ -44,15 +53,14 @@ export interface CInfraredVaultInterface extends Interface {
|
|
|
44
53
|
encodeFunctionData(functionFragment: "comptroller", values?: undefined): string;
|
|
45
54
|
encodeFunctionData(functionFragment: "decimals", values?: undefined): string;
|
|
46
55
|
encodeFunctionData(functionFragment: "discountRateMantissa", values?: undefined): string;
|
|
47
|
-
encodeFunctionData(functionFragment: "earned", values: [AddressLike
|
|
56
|
+
encodeFunctionData(functionFragment: "earned", values: [AddressLike]): string;
|
|
48
57
|
encodeFunctionData(functionFragment: "exchangeRateCurrent", values?: undefined): string;
|
|
49
58
|
encodeFunctionData(functionFragment: "exchangeRateStored", values?: undefined): string;
|
|
50
59
|
encodeFunctionData(functionFragment: "getAccountSnapshot", values: [AddressLike]): string;
|
|
51
60
|
encodeFunctionData(functionFragment: "getBorrowSnapshot", values: [AddressLike]): string;
|
|
52
61
|
encodeFunctionData(functionFragment: "getCash", values?: undefined): string;
|
|
53
|
-
encodeFunctionData(functionFragment: "infraredVault", values?: undefined): string;
|
|
54
62
|
encodeFunctionData(functionFragment: "initAccrualBlockTimestamp", values: [AddressLike]): string;
|
|
55
|
-
encodeFunctionData(functionFragment: "initialize", values: [
|
|
63
|
+
encodeFunctionData(functionFragment: "initialize(address,address,address,uint256,string,string,uint8,address)", values: [
|
|
56
64
|
AddressLike,
|
|
57
65
|
AddressLike,
|
|
58
66
|
AddressLike,
|
|
@@ -62,6 +70,17 @@ export interface CInfraredVaultInterface extends Interface {
|
|
|
62
70
|
BigNumberish,
|
|
63
71
|
AddressLike
|
|
64
72
|
]): string;
|
|
73
|
+
encodeFunctionData(functionFragment: "initialize(address,address,address,uint256,string,string,uint8,address,address)", values: [
|
|
74
|
+
AddressLike,
|
|
75
|
+
AddressLike,
|
|
76
|
+
AddressLike,
|
|
77
|
+
BigNumberish,
|
|
78
|
+
string,
|
|
79
|
+
string,
|
|
80
|
+
BigNumberish,
|
|
81
|
+
AddressLike,
|
|
82
|
+
AddressLike
|
|
83
|
+
]): string;
|
|
65
84
|
encodeFunctionData(functionFragment: "interestRateModel", values?: undefined): string;
|
|
66
85
|
encodeFunctionData(functionFragment: "isCEther", values?: undefined): string;
|
|
67
86
|
encodeFunctionData(functionFragment: "isCEtherDeprecated", values?: undefined): string;
|
|
@@ -73,9 +92,9 @@ export interface CInfraredVaultInterface extends Interface {
|
|
|
73
92
|
encodeFunctionData(functionFragment: "mint", values: [BigNumberish]): string;
|
|
74
93
|
encodeFunctionData(functionFragment: "mintWithPermit", values: [BigNumberish, BigNumberish, BytesLike]): string;
|
|
75
94
|
encodeFunctionData(functionFragment: "name", values?: undefined): string;
|
|
76
|
-
encodeFunctionData(functionFragment: "paused", values?: undefined): string;
|
|
77
95
|
encodeFunctionData(functionFragment: "pendingAdmin", values?: undefined): string;
|
|
78
96
|
encodeFunctionData(functionFragment: "percentScale", values?: undefined): string;
|
|
97
|
+
encodeFunctionData(functionFragment: "points", values: [AddressLike]): string;
|
|
79
98
|
encodeFunctionData(functionFragment: "protocolSeizeShareMantissa", values?: undefined): string;
|
|
80
99
|
encodeFunctionData(functionFragment: "redeem", values: [BigNumberish]): string;
|
|
81
100
|
encodeFunctionData(functionFragment: "redeemUnderlying", values: [BigNumberish]): string;
|
|
@@ -98,8 +117,6 @@ export interface CInfraredVaultInterface extends Interface {
|
|
|
98
117
|
encodeFunctionData(functionFragment: "totalBorrows", values?: undefined): string;
|
|
99
118
|
encodeFunctionData(functionFragment: "totalBorrowsCurrent", values?: undefined): string;
|
|
100
119
|
encodeFunctionData(functionFragment: "totalReserves", values?: undefined): string;
|
|
101
|
-
encodeFunctionData(functionFragment: "totalShares", values?: undefined): string;
|
|
102
|
-
encodeFunctionData(functionFragment: "totalStaked", values?: undefined): string;
|
|
103
120
|
encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
|
|
104
121
|
encodeFunctionData(functionFragment: "transfer", values: [AddressLike, BigNumberish]): string;
|
|
105
122
|
encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
@@ -113,7 +130,6 @@ export interface CInfraredVaultInterface extends Interface {
|
|
|
113
130
|
decodeFunctionResult(functionFragment: "_setInterestRateModel", data: BytesLike): Result;
|
|
114
131
|
decodeFunctionResult(functionFragment: "_setPendingAdmin", data: BytesLike): Result;
|
|
115
132
|
decodeFunctionResult(functionFragment: "_setReserveFactor", data: BytesLike): Result;
|
|
116
|
-
decodeFunctionResult(functionFragment: "_shares", data: BytesLike): Result;
|
|
117
133
|
decodeFunctionResult(functionFragment: "_syncUnderlyingBalance", data: BytesLike): Result;
|
|
118
134
|
decodeFunctionResult(functionFragment: "accrualBlockTimestamp", data: BytesLike): Result;
|
|
119
135
|
decodeFunctionResult(functionFragment: "accrueInterest", data: BytesLike): Result;
|
|
@@ -139,9 +155,9 @@ export interface CInfraredVaultInterface extends Interface {
|
|
|
139
155
|
decodeFunctionResult(functionFragment: "getAccountSnapshot", data: BytesLike): Result;
|
|
140
156
|
decodeFunctionResult(functionFragment: "getBorrowSnapshot", data: BytesLike): Result;
|
|
141
157
|
decodeFunctionResult(functionFragment: "getCash", data: BytesLike): Result;
|
|
142
|
-
decodeFunctionResult(functionFragment: "infraredVault", data: BytesLike): Result;
|
|
143
158
|
decodeFunctionResult(functionFragment: "initAccrualBlockTimestamp", data: BytesLike): Result;
|
|
144
|
-
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
|
|
159
|
+
decodeFunctionResult(functionFragment: "initialize(address,address,address,uint256,string,string,uint8,address)", data: BytesLike): Result;
|
|
160
|
+
decodeFunctionResult(functionFragment: "initialize(address,address,address,uint256,string,string,uint8,address,address)", data: BytesLike): Result;
|
|
145
161
|
decodeFunctionResult(functionFragment: "interestRateModel", data: BytesLike): Result;
|
|
146
162
|
decodeFunctionResult(functionFragment: "isCEther", data: BytesLike): Result;
|
|
147
163
|
decodeFunctionResult(functionFragment: "isCEtherDeprecated", data: BytesLike): Result;
|
|
@@ -153,9 +169,9 @@ export interface CInfraredVaultInterface extends Interface {
|
|
|
153
169
|
decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result;
|
|
154
170
|
decodeFunctionResult(functionFragment: "mintWithPermit", data: BytesLike): Result;
|
|
155
171
|
decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
|
|
156
|
-
decodeFunctionResult(functionFragment: "paused", data: BytesLike): Result;
|
|
157
172
|
decodeFunctionResult(functionFragment: "pendingAdmin", data: BytesLike): Result;
|
|
158
173
|
decodeFunctionResult(functionFragment: "percentScale", data: BytesLike): Result;
|
|
174
|
+
decodeFunctionResult(functionFragment: "points", data: BytesLike): Result;
|
|
159
175
|
decodeFunctionResult(functionFragment: "protocolSeizeShareMantissa", data: BytesLike): Result;
|
|
160
176
|
decodeFunctionResult(functionFragment: "redeem", data: BytesLike): Result;
|
|
161
177
|
decodeFunctionResult(functionFragment: "redeemUnderlying", data: BytesLike): Result;
|
|
@@ -171,8 +187,6 @@ export interface CInfraredVaultInterface extends Interface {
|
|
|
171
187
|
decodeFunctionResult(functionFragment: "totalBorrows", data: BytesLike): Result;
|
|
172
188
|
decodeFunctionResult(functionFragment: "totalBorrowsCurrent", data: BytesLike): Result;
|
|
173
189
|
decodeFunctionResult(functionFragment: "totalReserves", data: BytesLike): Result;
|
|
174
|
-
decodeFunctionResult(functionFragment: "totalShares", data: BytesLike): Result;
|
|
175
|
-
decodeFunctionResult(functionFragment: "totalStaked", data: BytesLike): Result;
|
|
176
190
|
decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result;
|
|
177
191
|
decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
|
|
178
192
|
decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
|
|
@@ -399,17 +413,6 @@ export declare namespace NewReserveFactorEvent {
|
|
|
399
413
|
type Log = TypedEventLog<Event>;
|
|
400
414
|
type LogDescription = TypedLogDescription<Event>;
|
|
401
415
|
}
|
|
402
|
-
export declare namespace PausedEvent {
|
|
403
|
-
type InputTuple = [account: AddressLike];
|
|
404
|
-
type OutputTuple = [account: string];
|
|
405
|
-
interface OutputObject {
|
|
406
|
-
account: string;
|
|
407
|
-
}
|
|
408
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
409
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
410
|
-
type Log = TypedEventLog<Event>;
|
|
411
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
412
|
-
}
|
|
413
416
|
export declare namespace RecoveredEvent {
|
|
414
417
|
type InputTuple = [token: AddressLike, amount: BigNumberish];
|
|
415
418
|
type OutputTuple = [token: string, amount: bigint];
|
|
@@ -592,11 +595,27 @@ export declare namespace TransferEvent {
|
|
|
592
595
|
type Log = TypedEventLog<Event>;
|
|
593
596
|
type LogDescription = TypedLogDescription<Event>;
|
|
594
597
|
}
|
|
595
|
-
export declare namespace
|
|
596
|
-
type InputTuple = [
|
|
597
|
-
|
|
598
|
+
export declare namespace UpdatePointsEvent {
|
|
599
|
+
type InputTuple = [
|
|
600
|
+
timestamp: BigNumberish,
|
|
601
|
+
totalPoints: BigNumberish,
|
|
602
|
+
protocolPoints: BigNumberish,
|
|
603
|
+
account: AddressLike,
|
|
604
|
+
_userPoints: BigNumberish
|
|
605
|
+
];
|
|
606
|
+
type OutputTuple = [
|
|
607
|
+
timestamp: bigint,
|
|
608
|
+
totalPoints: bigint,
|
|
609
|
+
protocolPoints: bigint,
|
|
610
|
+
account: string,
|
|
611
|
+
_userPoints: bigint
|
|
612
|
+
];
|
|
598
613
|
interface OutputObject {
|
|
614
|
+
timestamp: bigint;
|
|
615
|
+
totalPoints: bigint;
|
|
616
|
+
protocolPoints: bigint;
|
|
599
617
|
account: string;
|
|
618
|
+
_userPoints: bigint;
|
|
600
619
|
}
|
|
601
620
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
602
621
|
type Filter = TypedDeferredTopicFilter<Event>;
|
|
@@ -628,21 +647,21 @@ export interface CInfraredVault extends BaseContract {
|
|
|
628
647
|
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
629
648
|
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
630
649
|
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
631
|
-
_acceptAdmin: TypedContractMethod<[], [
|
|
650
|
+
_acceptAdmin: TypedContractMethod<[], [void], "nonpayable">;
|
|
632
651
|
_addReserves: TypedContractMethod<[
|
|
633
652
|
addAmount: BigNumberish
|
|
634
653
|
], [
|
|
635
|
-
|
|
654
|
+
void
|
|
636
655
|
], "nonpayable">;
|
|
637
656
|
_reduceReserves: TypedContractMethod<[
|
|
638
657
|
reduceAmount: BigNumberish
|
|
639
658
|
], [
|
|
640
|
-
|
|
659
|
+
void
|
|
641
660
|
], "nonpayable">;
|
|
642
661
|
_setComptroller: TypedContractMethod<[
|
|
643
662
|
newComptroller: AddressLike
|
|
644
663
|
], [
|
|
645
|
-
|
|
664
|
+
void
|
|
646
665
|
], "nonpayable">;
|
|
647
666
|
_setDiscountRate: TypedContractMethod<[
|
|
648
667
|
discountRateMantissa_: BigNumberish
|
|
@@ -652,29 +671,21 @@ export interface CInfraredVault extends BaseContract {
|
|
|
652
671
|
_setInterestRateModel: TypedContractMethod<[
|
|
653
672
|
newInterestRateModel: AddressLike
|
|
654
673
|
], [
|
|
655
|
-
|
|
674
|
+
void
|
|
656
675
|
], "nonpayable">;
|
|
657
676
|
_setPendingAdmin: TypedContractMethod<[
|
|
658
677
|
newPendingAdmin: AddressLike
|
|
659
678
|
], [
|
|
660
|
-
|
|
679
|
+
void
|
|
661
680
|
], "nonpayable">;
|
|
662
681
|
_setReserveFactor: TypedContractMethod<[
|
|
663
682
|
newReserveFactorMantissa: BigNumberish
|
|
664
683
|
], [
|
|
665
|
-
|
|
684
|
+
void
|
|
666
685
|
], "nonpayable">;
|
|
667
|
-
_shares: TypedContractMethod<[
|
|
668
|
-
arg0: AddressLike
|
|
669
|
-
], [
|
|
670
|
-
[bigint, bigint] & {
|
|
671
|
-
shares: bigint;
|
|
672
|
-
lastUpdateTime: bigint;
|
|
673
|
-
}
|
|
674
|
-
], "view">;
|
|
675
686
|
_syncUnderlyingBalance: TypedContractMethod<[], [void], "nonpayable">;
|
|
676
687
|
accrualBlockTimestamp: TypedContractMethod<[], [bigint], "view">;
|
|
677
|
-
accrueInterest: TypedContractMethod<[], [
|
|
688
|
+
accrueInterest: TypedContractMethod<[], [void], "nonpayable">;
|
|
678
689
|
admin: TypedContractMethod<[], [string], "view">;
|
|
679
690
|
allowance: TypedContractMethod<[
|
|
680
691
|
owner: AddressLike,
|
|
@@ -697,13 +708,13 @@ export interface CInfraredVault extends BaseContract {
|
|
|
697
708
|
borrow: TypedContractMethod<[
|
|
698
709
|
borrowAmount: BigNumberish
|
|
699
710
|
], [
|
|
700
|
-
|
|
711
|
+
void
|
|
701
712
|
], "nonpayable">;
|
|
702
713
|
borrowAndDepositBack: TypedContractMethod<[
|
|
703
714
|
borrower: AddressLike,
|
|
704
715
|
borrowAmount: BigNumberish
|
|
705
716
|
], [
|
|
706
|
-
|
|
717
|
+
void
|
|
707
718
|
], "nonpayable">;
|
|
708
719
|
borrowBalanceCurrent: TypedContractMethod<[
|
|
709
720
|
account: AddressLike
|
|
@@ -727,10 +738,9 @@ export interface CInfraredVault extends BaseContract {
|
|
|
727
738
|
decimals: TypedContractMethod<[], [bigint], "view">;
|
|
728
739
|
discountRateMantissa: TypedContractMethod<[], [bigint], "view">;
|
|
729
740
|
earned: TypedContractMethod<[
|
|
730
|
-
account: AddressLike
|
|
731
|
-
_rewardsToken: AddressLike
|
|
741
|
+
account: AddressLike
|
|
732
742
|
], [
|
|
733
|
-
|
|
743
|
+
IInfraredVault.UserRewardStructOutput[]
|
|
734
744
|
], "view">;
|
|
735
745
|
exchangeRateCurrent: TypedContractMethod<[], [bigint], "nonpayable">;
|
|
736
746
|
exchangeRateStored: TypedContractMethod<[], [bigint], "view">;
|
|
@@ -745,13 +755,12 @@ export interface CInfraredVault extends BaseContract {
|
|
|
745
755
|
CTokenStorage.BorrowSnapshotStructOutput
|
|
746
756
|
], "view">;
|
|
747
757
|
getCash: TypedContractMethod<[], [bigint], "view">;
|
|
748
|
-
infraredVault: TypedContractMethod<[], [string], "view">;
|
|
749
758
|
initAccrualBlockTimestamp: TypedContractMethod<[
|
|
750
759
|
timeBasedInterestRateModel: AddressLike
|
|
751
760
|
], [
|
|
752
761
|
void
|
|
753
762
|
], "nonpayable">;
|
|
754
|
-
initialize: TypedContractMethod<[
|
|
763
|
+
"initialize(address,address,address,uint256,string,string,uint8,address)": TypedContractMethod<[
|
|
755
764
|
underlying_: AddressLike,
|
|
756
765
|
comptroller_: AddressLike,
|
|
757
766
|
interestRateModel_: AddressLike,
|
|
@@ -763,6 +772,19 @@ export interface CInfraredVault extends BaseContract {
|
|
|
763
772
|
], [
|
|
764
773
|
void
|
|
765
774
|
], "nonpayable">;
|
|
775
|
+
"initialize(address,address,address,uint256,string,string,uint8,address,address)": TypedContractMethod<[
|
|
776
|
+
underlying_: AddressLike,
|
|
777
|
+
comptroller_: AddressLike,
|
|
778
|
+
interestRateModel_: AddressLike,
|
|
779
|
+
initialExchangeRateMantissa_: BigNumberish,
|
|
780
|
+
name_: string,
|
|
781
|
+
symbol_: string,
|
|
782
|
+
decimals_: BigNumberish,
|
|
783
|
+
admin_: AddressLike,
|
|
784
|
+
infraredVault_: AddressLike
|
|
785
|
+
], [
|
|
786
|
+
void
|
|
787
|
+
], "nonpayable">;
|
|
766
788
|
interestRateModel: TypedContractMethod<[], [string], "view">;
|
|
767
789
|
isCEther: TypedContractMethod<[], [boolean], "view">;
|
|
768
790
|
isCEtherDeprecated: TypedContractMethod<[], [boolean], "view">;
|
|
@@ -774,15 +796,15 @@ export interface CInfraredVault extends BaseContract {
|
|
|
774
796
|
repayAmount: BigNumberish,
|
|
775
797
|
cTokenCollateral: AddressLike
|
|
776
798
|
], [
|
|
777
|
-
|
|
799
|
+
void
|
|
778
800
|
], "nonpayable">;
|
|
779
801
|
liquidateCalculateSeizeTokens: TypedContractMethod<[
|
|
780
802
|
cTokenCollateral: AddressLike,
|
|
781
803
|
actualRepayAmount: BigNumberish
|
|
782
804
|
], [
|
|
783
|
-
[bigint, bigint
|
|
805
|
+
[bigint, bigint]
|
|
784
806
|
], "view">;
|
|
785
|
-
mint: TypedContractMethod<[mintAmount: BigNumberish], [
|
|
807
|
+
mint: TypedContractMethod<[mintAmount: BigNumberish], [void], "nonpayable">;
|
|
786
808
|
mintWithPermit: TypedContractMethod<[
|
|
787
809
|
mintAmount: BigNumberish,
|
|
788
810
|
deadline: BigNumberish,
|
|
@@ -791,30 +813,34 @@ export interface CInfraredVault extends BaseContract {
|
|
|
791
813
|
bigint
|
|
792
814
|
], "nonpayable">;
|
|
793
815
|
name: TypedContractMethod<[], [string], "view">;
|
|
794
|
-
paused: TypedContractMethod<[], [boolean], "view">;
|
|
795
816
|
pendingAdmin: TypedContractMethod<[], [string], "view">;
|
|
796
817
|
percentScale: TypedContractMethod<[], [bigint], "view">;
|
|
818
|
+
points: TypedContractMethod<[
|
|
819
|
+
account: AddressLike
|
|
820
|
+
], [
|
|
821
|
+
[bigint, bigint, bigint, bigint, bigint]
|
|
822
|
+
], "view">;
|
|
797
823
|
protocolSeizeShareMantissa: TypedContractMethod<[], [bigint], "view">;
|
|
798
824
|
redeem: TypedContractMethod<[
|
|
799
825
|
redeemTokens: BigNumberish
|
|
800
826
|
], [
|
|
801
|
-
|
|
827
|
+
void
|
|
802
828
|
], "nonpayable">;
|
|
803
829
|
redeemUnderlying: TypedContractMethod<[
|
|
804
830
|
redeemAmount: BigNumberish
|
|
805
831
|
], [
|
|
806
|
-
|
|
832
|
+
void
|
|
807
833
|
], "nonpayable">;
|
|
808
834
|
repayBorrow: TypedContractMethod<[
|
|
809
835
|
repayAmount: BigNumberish
|
|
810
836
|
], [
|
|
811
|
-
|
|
837
|
+
void
|
|
812
838
|
], "nonpayable">;
|
|
813
839
|
repayBorrowBehalf: TypedContractMethod<[
|
|
814
840
|
borrower: AddressLike,
|
|
815
841
|
repayAmount: BigNumberish
|
|
816
842
|
], [
|
|
817
|
-
|
|
843
|
+
void
|
|
818
844
|
], "nonpayable">;
|
|
819
845
|
repayBorrowWithPermit: TypedContractMethod<[
|
|
820
846
|
repayAmount: BigNumberish,
|
|
@@ -832,7 +858,7 @@ export interface CInfraredVault extends BaseContract {
|
|
|
832
858
|
isRedemption: boolean,
|
|
833
859
|
redemptionRateMantissa: BigNumberish
|
|
834
860
|
], [
|
|
835
|
-
|
|
861
|
+
void
|
|
836
862
|
], "nonpayable">;
|
|
837
863
|
shareOf: TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
838
864
|
supplyRatePerBlock: TypedContractMethod<[], [bigint], "view">;
|
|
@@ -841,8 +867,6 @@ export interface CInfraredVault extends BaseContract {
|
|
|
841
867
|
totalBorrows: TypedContractMethod<[], [bigint], "view">;
|
|
842
868
|
totalBorrowsCurrent: TypedContractMethod<[], [bigint], "nonpayable">;
|
|
843
869
|
totalReserves: TypedContractMethod<[], [bigint], "view">;
|
|
844
|
-
totalShares: TypedContractMethod<[], [bigint], "view">;
|
|
845
|
-
totalStaked: TypedContractMethod<[], [bigint], "view">;
|
|
846
870
|
totalSupply: TypedContractMethod<[], [bigint], "view">;
|
|
847
871
|
transfer: TypedContractMethod<[
|
|
848
872
|
dst: AddressLike,
|
|
@@ -860,10 +884,10 @@ export interface CInfraredVault extends BaseContract {
|
|
|
860
884
|
underlying: TypedContractMethod<[], [string], "view">;
|
|
861
885
|
underlyingBalance: TypedContractMethod<[], [bigint], "view">;
|
|
862
886
|
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
863
|
-
getFunction(nameOrSignature: "_acceptAdmin"): TypedContractMethod<[], [
|
|
864
|
-
getFunction(nameOrSignature: "_addReserves"): TypedContractMethod<[addAmount: BigNumberish], [
|
|
865
|
-
getFunction(nameOrSignature: "_reduceReserves"): TypedContractMethod<[reduceAmount: BigNumberish], [
|
|
866
|
-
getFunction(nameOrSignature: "_setComptroller"): TypedContractMethod<[newComptroller: AddressLike], [
|
|
887
|
+
getFunction(nameOrSignature: "_acceptAdmin"): TypedContractMethod<[], [void], "nonpayable">;
|
|
888
|
+
getFunction(nameOrSignature: "_addReserves"): TypedContractMethod<[addAmount: BigNumberish], [void], "nonpayable">;
|
|
889
|
+
getFunction(nameOrSignature: "_reduceReserves"): TypedContractMethod<[reduceAmount: BigNumberish], [void], "nonpayable">;
|
|
890
|
+
getFunction(nameOrSignature: "_setComptroller"): TypedContractMethod<[newComptroller: AddressLike], [void], "nonpayable">;
|
|
867
891
|
getFunction(nameOrSignature: "_setDiscountRate"): TypedContractMethod<[
|
|
868
892
|
discountRateMantissa_: BigNumberish
|
|
869
893
|
], [
|
|
@@ -872,29 +896,17 @@ export interface CInfraredVault extends BaseContract {
|
|
|
872
896
|
getFunction(nameOrSignature: "_setInterestRateModel"): TypedContractMethod<[
|
|
873
897
|
newInterestRateModel: AddressLike
|
|
874
898
|
], [
|
|
875
|
-
|
|
876
|
-
], "nonpayable">;
|
|
877
|
-
getFunction(nameOrSignature: "_setPendingAdmin"): TypedContractMethod<[
|
|
878
|
-
newPendingAdmin: AddressLike
|
|
879
|
-
], [
|
|
880
|
-
bigint
|
|
899
|
+
void
|
|
881
900
|
], "nonpayable">;
|
|
901
|
+
getFunction(nameOrSignature: "_setPendingAdmin"): TypedContractMethod<[newPendingAdmin: AddressLike], [void], "nonpayable">;
|
|
882
902
|
getFunction(nameOrSignature: "_setReserveFactor"): TypedContractMethod<[
|
|
883
903
|
newReserveFactorMantissa: BigNumberish
|
|
884
904
|
], [
|
|
885
|
-
|
|
905
|
+
void
|
|
886
906
|
], "nonpayable">;
|
|
887
|
-
getFunction(nameOrSignature: "_shares"): TypedContractMethod<[
|
|
888
|
-
arg0: AddressLike
|
|
889
|
-
], [
|
|
890
|
-
[bigint, bigint] & {
|
|
891
|
-
shares: bigint;
|
|
892
|
-
lastUpdateTime: bigint;
|
|
893
|
-
}
|
|
894
|
-
], "view">;
|
|
895
907
|
getFunction(nameOrSignature: "_syncUnderlyingBalance"): TypedContractMethod<[], [void], "nonpayable">;
|
|
896
908
|
getFunction(nameOrSignature: "accrualBlockTimestamp"): TypedContractMethod<[], [bigint], "view">;
|
|
897
|
-
getFunction(nameOrSignature: "accrueInterest"): TypedContractMethod<[], [
|
|
909
|
+
getFunction(nameOrSignature: "accrueInterest"): TypedContractMethod<[], [void], "nonpayable">;
|
|
898
910
|
getFunction(nameOrSignature: "admin"): TypedContractMethod<[], [string], "view">;
|
|
899
911
|
getFunction(nameOrSignature: "allowance"): TypedContractMethod<[
|
|
900
912
|
owner: AddressLike,
|
|
@@ -910,12 +922,12 @@ export interface CInfraredVault extends BaseContract {
|
|
|
910
922
|
], "nonpayable">;
|
|
911
923
|
getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[owner: AddressLike], [bigint], "view">;
|
|
912
924
|
getFunction(nameOrSignature: "balanceOfUnderlying"): TypedContractMethod<[owner: AddressLike], [bigint], "nonpayable">;
|
|
913
|
-
getFunction(nameOrSignature: "borrow"): TypedContractMethod<[borrowAmount: BigNumberish], [
|
|
925
|
+
getFunction(nameOrSignature: "borrow"): TypedContractMethod<[borrowAmount: BigNumberish], [void], "nonpayable">;
|
|
914
926
|
getFunction(nameOrSignature: "borrowAndDepositBack"): TypedContractMethod<[
|
|
915
927
|
borrower: AddressLike,
|
|
916
928
|
borrowAmount: BigNumberish
|
|
917
929
|
], [
|
|
918
|
-
|
|
930
|
+
void
|
|
919
931
|
], "nonpayable">;
|
|
920
932
|
getFunction(nameOrSignature: "borrowBalanceCurrent"): TypedContractMethod<[account: AddressLike], [bigint], "nonpayable">;
|
|
921
933
|
getFunction(nameOrSignature: "borrowBalanceStored"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
@@ -927,10 +939,9 @@ export interface CInfraredVault extends BaseContract {
|
|
|
927
939
|
getFunction(nameOrSignature: "decimals"): TypedContractMethod<[], [bigint], "view">;
|
|
928
940
|
getFunction(nameOrSignature: "discountRateMantissa"): TypedContractMethod<[], [bigint], "view">;
|
|
929
941
|
getFunction(nameOrSignature: "earned"): TypedContractMethod<[
|
|
930
|
-
account: AddressLike
|
|
931
|
-
_rewardsToken: AddressLike
|
|
942
|
+
account: AddressLike
|
|
932
943
|
], [
|
|
933
|
-
|
|
944
|
+
IInfraredVault.UserRewardStructOutput[]
|
|
934
945
|
], "view">;
|
|
935
946
|
getFunction(nameOrSignature: "exchangeRateCurrent"): TypedContractMethod<[], [bigint], "nonpayable">;
|
|
936
947
|
getFunction(nameOrSignature: "exchangeRateStored"): TypedContractMethod<[], [bigint], "view">;
|
|
@@ -945,13 +956,12 @@ export interface CInfraredVault extends BaseContract {
|
|
|
945
956
|
CTokenStorage.BorrowSnapshotStructOutput
|
|
946
957
|
], "view">;
|
|
947
958
|
getFunction(nameOrSignature: "getCash"): TypedContractMethod<[], [bigint], "view">;
|
|
948
|
-
getFunction(nameOrSignature: "infraredVault"): TypedContractMethod<[], [string], "view">;
|
|
949
959
|
getFunction(nameOrSignature: "initAccrualBlockTimestamp"): TypedContractMethod<[
|
|
950
960
|
timeBasedInterestRateModel: AddressLike
|
|
951
961
|
], [
|
|
952
962
|
void
|
|
953
963
|
], "nonpayable">;
|
|
954
|
-
getFunction(nameOrSignature: "initialize"): TypedContractMethod<[
|
|
964
|
+
getFunction(nameOrSignature: "initialize(address,address,address,uint256,string,string,uint8,address)"): TypedContractMethod<[
|
|
955
965
|
underlying_: AddressLike,
|
|
956
966
|
comptroller_: AddressLike,
|
|
957
967
|
interestRateModel_: AddressLike,
|
|
@@ -963,6 +973,19 @@ export interface CInfraredVault extends BaseContract {
|
|
|
963
973
|
], [
|
|
964
974
|
void
|
|
965
975
|
], "nonpayable">;
|
|
976
|
+
getFunction(nameOrSignature: "initialize(address,address,address,uint256,string,string,uint8,address,address)"): TypedContractMethod<[
|
|
977
|
+
underlying_: AddressLike,
|
|
978
|
+
comptroller_: AddressLike,
|
|
979
|
+
interestRateModel_: AddressLike,
|
|
980
|
+
initialExchangeRateMantissa_: BigNumberish,
|
|
981
|
+
name_: string,
|
|
982
|
+
symbol_: string,
|
|
983
|
+
decimals_: BigNumberish,
|
|
984
|
+
admin_: AddressLike,
|
|
985
|
+
infraredVault_: AddressLike
|
|
986
|
+
], [
|
|
987
|
+
void
|
|
988
|
+
], "nonpayable">;
|
|
966
989
|
getFunction(nameOrSignature: "interestRateModel"): TypedContractMethod<[], [string], "view">;
|
|
967
990
|
getFunction(nameOrSignature: "isCEther"): TypedContractMethod<[], [boolean], "view">;
|
|
968
991
|
getFunction(nameOrSignature: "isCEtherDeprecated"): TypedContractMethod<[], [boolean], "view">;
|
|
@@ -974,15 +997,15 @@ export interface CInfraredVault extends BaseContract {
|
|
|
974
997
|
repayAmount: BigNumberish,
|
|
975
998
|
cTokenCollateral: AddressLike
|
|
976
999
|
], [
|
|
977
|
-
|
|
1000
|
+
void
|
|
978
1001
|
], "nonpayable">;
|
|
979
1002
|
getFunction(nameOrSignature: "liquidateCalculateSeizeTokens"): TypedContractMethod<[
|
|
980
1003
|
cTokenCollateral: AddressLike,
|
|
981
1004
|
actualRepayAmount: BigNumberish
|
|
982
1005
|
], [
|
|
983
|
-
[bigint, bigint
|
|
1006
|
+
[bigint, bigint]
|
|
984
1007
|
], "view">;
|
|
985
|
-
getFunction(nameOrSignature: "mint"): TypedContractMethod<[mintAmount: BigNumberish], [
|
|
1008
|
+
getFunction(nameOrSignature: "mint"): TypedContractMethod<[mintAmount: BigNumberish], [void], "nonpayable">;
|
|
986
1009
|
getFunction(nameOrSignature: "mintWithPermit"): TypedContractMethod<[
|
|
987
1010
|
mintAmount: BigNumberish,
|
|
988
1011
|
deadline: BigNumberish,
|
|
@@ -991,18 +1014,22 @@ export interface CInfraredVault extends BaseContract {
|
|
|
991
1014
|
bigint
|
|
992
1015
|
], "nonpayable">;
|
|
993
1016
|
getFunction(nameOrSignature: "name"): TypedContractMethod<[], [string], "view">;
|
|
994
|
-
getFunction(nameOrSignature: "paused"): TypedContractMethod<[], [boolean], "view">;
|
|
995
1017
|
getFunction(nameOrSignature: "pendingAdmin"): TypedContractMethod<[], [string], "view">;
|
|
996
1018
|
getFunction(nameOrSignature: "percentScale"): TypedContractMethod<[], [bigint], "view">;
|
|
1019
|
+
getFunction(nameOrSignature: "points"): TypedContractMethod<[
|
|
1020
|
+
account: AddressLike
|
|
1021
|
+
], [
|
|
1022
|
+
[bigint, bigint, bigint, bigint, bigint]
|
|
1023
|
+
], "view">;
|
|
997
1024
|
getFunction(nameOrSignature: "protocolSeizeShareMantissa"): TypedContractMethod<[], [bigint], "view">;
|
|
998
|
-
getFunction(nameOrSignature: "redeem"): TypedContractMethod<[redeemTokens: BigNumberish], [
|
|
999
|
-
getFunction(nameOrSignature: "redeemUnderlying"): TypedContractMethod<[redeemAmount: BigNumberish], [
|
|
1000
|
-
getFunction(nameOrSignature: "repayBorrow"): TypedContractMethod<[repayAmount: BigNumberish], [
|
|
1025
|
+
getFunction(nameOrSignature: "redeem"): TypedContractMethod<[redeemTokens: BigNumberish], [void], "nonpayable">;
|
|
1026
|
+
getFunction(nameOrSignature: "redeemUnderlying"): TypedContractMethod<[redeemAmount: BigNumberish], [void], "nonpayable">;
|
|
1027
|
+
getFunction(nameOrSignature: "repayBorrow"): TypedContractMethod<[repayAmount: BigNumberish], [void], "nonpayable">;
|
|
1001
1028
|
getFunction(nameOrSignature: "repayBorrowBehalf"): TypedContractMethod<[
|
|
1002
1029
|
borrower: AddressLike,
|
|
1003
1030
|
repayAmount: BigNumberish
|
|
1004
1031
|
], [
|
|
1005
|
-
|
|
1032
|
+
void
|
|
1006
1033
|
], "nonpayable">;
|
|
1007
1034
|
getFunction(nameOrSignature: "repayBorrowWithPermit"): TypedContractMethod<[
|
|
1008
1035
|
repayAmount: BigNumberish,
|
|
@@ -1020,7 +1047,7 @@ export interface CInfraredVault extends BaseContract {
|
|
|
1020
1047
|
isRedemption: boolean,
|
|
1021
1048
|
redemptionRateMantissa: BigNumberish
|
|
1022
1049
|
], [
|
|
1023
|
-
|
|
1050
|
+
void
|
|
1024
1051
|
], "nonpayable">;
|
|
1025
1052
|
getFunction(nameOrSignature: "shareOf"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
1026
1053
|
getFunction(nameOrSignature: "supplyRatePerBlock"): TypedContractMethod<[], [bigint], "view">;
|
|
@@ -1029,8 +1056,6 @@ export interface CInfraredVault extends BaseContract {
|
|
|
1029
1056
|
getFunction(nameOrSignature: "totalBorrows"): TypedContractMethod<[], [bigint], "view">;
|
|
1030
1057
|
getFunction(nameOrSignature: "totalBorrowsCurrent"): TypedContractMethod<[], [bigint], "nonpayable">;
|
|
1031
1058
|
getFunction(nameOrSignature: "totalReserves"): TypedContractMethod<[], [bigint], "view">;
|
|
1032
|
-
getFunction(nameOrSignature: "totalShares"): TypedContractMethod<[], [bigint], "view">;
|
|
1033
|
-
getFunction(nameOrSignature: "totalStaked"): TypedContractMethod<[], [bigint], "view">;
|
|
1034
1059
|
getFunction(nameOrSignature: "totalSupply"): TypedContractMethod<[], [bigint], "view">;
|
|
1035
1060
|
getFunction(nameOrSignature: "transfer"): TypedContractMethod<[
|
|
1036
1061
|
dst: AddressLike,
|
|
@@ -1059,7 +1084,6 @@ export interface CInfraredVault extends BaseContract {
|
|
|
1059
1084
|
getEvent(key: "NewMarketInterestRateModel"): TypedContractEvent<NewMarketInterestRateModelEvent.InputTuple, NewMarketInterestRateModelEvent.OutputTuple, NewMarketInterestRateModelEvent.OutputObject>;
|
|
1060
1085
|
getEvent(key: "NewPendingAdmin"): TypedContractEvent<NewPendingAdminEvent.InputTuple, NewPendingAdminEvent.OutputTuple, NewPendingAdminEvent.OutputObject>;
|
|
1061
1086
|
getEvent(key: "NewReserveFactor"): TypedContractEvent<NewReserveFactorEvent.InputTuple, NewReserveFactorEvent.OutputTuple, NewReserveFactorEvent.OutputObject>;
|
|
1062
|
-
getEvent(key: "Paused"): TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
1063
1087
|
getEvent(key: "Recovered"): TypedContractEvent<RecoveredEvent.InputTuple, RecoveredEvent.OutputTuple, RecoveredEvent.OutputObject>;
|
|
1064
1088
|
getEvent(key: "Redeem"): TypedContractEvent<RedeemEvent.InputTuple, RedeemEvent.OutputTuple, RedeemEvent.OutputObject>;
|
|
1065
1089
|
getEvent(key: "RedeemFaceValue"): TypedContractEvent<RedeemFaceValueEvent.InputTuple, RedeemFaceValueEvent.OutputTuple, RedeemFaceValueEvent.OutputObject>;
|
|
@@ -1069,7 +1093,7 @@ export interface CInfraredVault extends BaseContract {
|
|
|
1069
1093
|
getEvent(key: "RewardPaid"): TypedContractEvent<RewardPaidEvent.InputTuple, RewardPaidEvent.OutputTuple, RewardPaidEvent.OutputObject>;
|
|
1070
1094
|
getEvent(key: "Staked"): TypedContractEvent<StakedEvent.InputTuple, StakedEvent.OutputTuple, StakedEvent.OutputObject>;
|
|
1071
1095
|
getEvent(key: "Transfer"): TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
1072
|
-
getEvent(key: "
|
|
1096
|
+
getEvent(key: "UpdatePoints"): TypedContractEvent<UpdatePointsEvent.InputTuple, UpdatePointsEvent.OutputTuple, UpdatePointsEvent.OutputObject>;
|
|
1073
1097
|
getEvent(key: "Withdrawn"): TypedContractEvent<WithdrawnEvent.InputTuple, WithdrawnEvent.OutputTuple, WithdrawnEvent.OutputObject>;
|
|
1074
1098
|
filters: {
|
|
1075
1099
|
"AccrueInterest(uint256,uint256,uint256,uint256)": TypedContractEvent<AccrueInterestEvent.InputTuple, AccrueInterestEvent.OutputTuple, AccrueInterestEvent.OutputObject>;
|
|
@@ -1096,8 +1120,6 @@ export interface CInfraredVault extends BaseContract {
|
|
|
1096
1120
|
NewPendingAdmin: TypedContractEvent<NewPendingAdminEvent.InputTuple, NewPendingAdminEvent.OutputTuple, NewPendingAdminEvent.OutputObject>;
|
|
1097
1121
|
"NewReserveFactor(uint256,uint256)": TypedContractEvent<NewReserveFactorEvent.InputTuple, NewReserveFactorEvent.OutputTuple, NewReserveFactorEvent.OutputObject>;
|
|
1098
1122
|
NewReserveFactor: TypedContractEvent<NewReserveFactorEvent.InputTuple, NewReserveFactorEvent.OutputTuple, NewReserveFactorEvent.OutputObject>;
|
|
1099
|
-
"Paused(address)": TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
1100
|
-
Paused: TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
1101
1123
|
"Recovered(address,uint256)": TypedContractEvent<RecoveredEvent.InputTuple, RecoveredEvent.OutputTuple, RecoveredEvent.OutputObject>;
|
|
1102
1124
|
Recovered: TypedContractEvent<RecoveredEvent.InputTuple, RecoveredEvent.OutputTuple, RecoveredEvent.OutputObject>;
|
|
1103
1125
|
"Redeem(address,uint256,uint256)": TypedContractEvent<RedeemEvent.InputTuple, RedeemEvent.OutputTuple, RedeemEvent.OutputObject>;
|
|
@@ -1116,8 +1138,8 @@ export interface CInfraredVault extends BaseContract {
|
|
|
1116
1138
|
Staked: TypedContractEvent<StakedEvent.InputTuple, StakedEvent.OutputTuple, StakedEvent.OutputObject>;
|
|
1117
1139
|
"Transfer(address,address,uint256)": TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
1118
1140
|
Transfer: TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
1119
|
-
"
|
|
1120
|
-
|
|
1141
|
+
"UpdatePoints(uint256,uint256,uint256,address,uint256)": TypedContractEvent<UpdatePointsEvent.InputTuple, UpdatePointsEvent.OutputTuple, UpdatePointsEvent.OutputObject>;
|
|
1142
|
+
UpdatePoints: TypedContractEvent<UpdatePointsEvent.InputTuple, UpdatePointsEvent.OutputTuple, UpdatePointsEvent.OutputObject>;
|
|
1121
1143
|
"Withdrawn(address,uint256)": TypedContractEvent<WithdrawnEvent.InputTuple, WithdrawnEvent.OutputTuple, WithdrawnEvent.OutputObject>;
|
|
1122
1144
|
Withdrawn: TypedContractEvent<WithdrawnEvent.InputTuple, WithdrawnEvent.OutputTuple, WithdrawnEvent.OutputObject>;
|
|
1123
1145
|
};
|