@meterio/sumer-js 0.2.114 → 0.2.116
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 -1
- package/dist/nodejs/constants/arbitrum.js +53 -26
- package/dist/nodejs/constants/arbitrum.js.map +1 -1
- package/dist/nodejs/constants/b2main.d.ts +8 -1
- package/dist/nodejs/constants/b2main.js +43 -12
- package/dist/nodejs/constants/b2main.js.map +1 -1
- package/dist/nodejs/constants/basemain.d.ts +12 -3
- package/dist/nodejs/constants/basemain.js +64 -30
- package/dist/nodejs/constants/basemain.js.map +1 -1
- package/dist/nodejs/constants/basetest.d.ts +10 -20
- package/dist/nodejs/constants/basetest.js +24 -27
- package/dist/nodejs/constants/basetest.js.map +1 -1
- package/dist/nodejs/constants/berabartio.d.ts +6 -1
- package/dist/nodejs/constants/berabartio.js +35 -3
- package/dist/nodejs/constants/berabartio.js.map +1 -1
- package/dist/nodejs/constants/beramain.d.ts +12 -5
- package/dist/nodejs/constants/beramain.js +65 -49
- package/dist/nodejs/constants/beramain.js.map +1 -1
- package/dist/nodejs/constants/bsc.d.ts +10 -14
- package/dist/nodejs/constants/bsc.js +47 -18
- package/dist/nodejs/constants/bsc.js.map +1 -1
- package/dist/nodejs/constants/core.d.ts +8 -5
- package/dist/nodejs/constants/core.js +42 -32
- package/dist/nodejs/constants/core.js.map +1 -1
- package/dist/nodejs/constants/ethereum.d.ts +11 -2
- package/dist/nodejs/constants/ethereum.js +78 -20
- 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 -1
- package/dist/nodejs/constants/merlin.js +20 -4
- package/dist/nodejs/constants/merlin.js.map +1 -1
- package/dist/nodejs/constants/metermain.d.ts +8 -1
- package/dist/nodejs/constants/metermain.js +22 -12
- package/dist/nodejs/constants/metermain.js.map +1 -1
- package/dist/nodejs/constants/metertest.d.ts +9 -2
- package/dist/nodejs/constants/metertest.js +45 -17
- package/dist/nodejs/constants/metertest.js.map +1 -1
- package/dist/nodejs/constants/monadtest.d.ts +6 -1
- package/dist/nodejs/constants/monadtest.js +30 -3
- package/dist/nodejs/constants/monadtest.js.map +1 -1
- package/dist/nodejs/constants/sepolia.d.ts +6 -1
- package/dist/nodejs/constants/sepolia.js +26 -3
- package/dist/nodejs/constants/sepolia.js.map +1 -1
- package/dist/nodejs/constants/zklink.d.ts +11 -5
- package/dist/nodejs/constants/zklink.js +37 -8
- 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
|
@@ -1,149 +0,0 @@
|
|
|
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 ITimeWeightedMultiRewardsInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "earned" | "getReward" | "getRewardForUser" | "rewardTokens" | "shareOf" | "totalShares" | "totalStaked"): FunctionFragment;
|
|
5
|
-
getEvent(nameOrSignatureOrTopic: "Recovered" | "RewardAdded" | "RewardPaid" | "Staked" | "Withdrawn"): EventFragment;
|
|
6
|
-
encodeFunctionData(functionFragment: "earned", values: [AddressLike, AddressLike]): string;
|
|
7
|
-
encodeFunctionData(functionFragment: "getReward", values?: undefined): string;
|
|
8
|
-
encodeFunctionData(functionFragment: "getRewardForUser", values: [AddressLike]): string;
|
|
9
|
-
encodeFunctionData(functionFragment: "rewardTokens", values: [BigNumberish]): string;
|
|
10
|
-
encodeFunctionData(functionFragment: "shareOf", values: [AddressLike]): string;
|
|
11
|
-
encodeFunctionData(functionFragment: "totalShares", values?: undefined): string;
|
|
12
|
-
encodeFunctionData(functionFragment: "totalStaked", values?: undefined): string;
|
|
13
|
-
decodeFunctionResult(functionFragment: "earned", data: BytesLike): Result;
|
|
14
|
-
decodeFunctionResult(functionFragment: "getReward", data: BytesLike): Result;
|
|
15
|
-
decodeFunctionResult(functionFragment: "getRewardForUser", data: BytesLike): Result;
|
|
16
|
-
decodeFunctionResult(functionFragment: "rewardTokens", data: BytesLike): Result;
|
|
17
|
-
decodeFunctionResult(functionFragment: "shareOf", data: BytesLike): Result;
|
|
18
|
-
decodeFunctionResult(functionFragment: "totalShares", data: BytesLike): Result;
|
|
19
|
-
decodeFunctionResult(functionFragment: "totalStaked", data: BytesLike): Result;
|
|
20
|
-
}
|
|
21
|
-
export declare namespace RecoveredEvent {
|
|
22
|
-
type InputTuple = [token: AddressLike, amount: BigNumberish];
|
|
23
|
-
type OutputTuple = [token: string, amount: bigint];
|
|
24
|
-
interface OutputObject {
|
|
25
|
-
token: string;
|
|
26
|
-
amount: bigint;
|
|
27
|
-
}
|
|
28
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
29
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
30
|
-
type Log = TypedEventLog<Event>;
|
|
31
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
32
|
-
}
|
|
33
|
-
export declare namespace RewardAddedEvent {
|
|
34
|
-
type InputTuple = [rewardsToken: AddressLike, reward: BigNumberish];
|
|
35
|
-
type OutputTuple = [rewardsToken: string, reward: bigint];
|
|
36
|
-
interface OutputObject {
|
|
37
|
-
rewardsToken: string;
|
|
38
|
-
reward: bigint;
|
|
39
|
-
}
|
|
40
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
41
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
42
|
-
type Log = TypedEventLog<Event>;
|
|
43
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
44
|
-
}
|
|
45
|
-
export declare namespace RewardPaidEvent {
|
|
46
|
-
type InputTuple = [
|
|
47
|
-
user: AddressLike,
|
|
48
|
-
rewardsToken: AddressLike,
|
|
49
|
-
reward: BigNumberish
|
|
50
|
-
];
|
|
51
|
-
type OutputTuple = [
|
|
52
|
-
user: string,
|
|
53
|
-
rewardsToken: string,
|
|
54
|
-
reward: bigint
|
|
55
|
-
];
|
|
56
|
-
interface OutputObject {
|
|
57
|
-
user: string;
|
|
58
|
-
rewardsToken: string;
|
|
59
|
-
reward: bigint;
|
|
60
|
-
}
|
|
61
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
62
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
63
|
-
type Log = TypedEventLog<Event>;
|
|
64
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
65
|
-
}
|
|
66
|
-
export declare namespace StakedEvent {
|
|
67
|
-
type InputTuple = [user: AddressLike, amount: BigNumberish];
|
|
68
|
-
type OutputTuple = [user: string, amount: bigint];
|
|
69
|
-
interface OutputObject {
|
|
70
|
-
user: string;
|
|
71
|
-
amount: bigint;
|
|
72
|
-
}
|
|
73
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
74
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
75
|
-
type Log = TypedEventLog<Event>;
|
|
76
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
77
|
-
}
|
|
78
|
-
export declare namespace WithdrawnEvent {
|
|
79
|
-
type InputTuple = [user: AddressLike, amount: BigNumberish];
|
|
80
|
-
type OutputTuple = [user: string, amount: bigint];
|
|
81
|
-
interface OutputObject {
|
|
82
|
-
user: string;
|
|
83
|
-
amount: bigint;
|
|
84
|
-
}
|
|
85
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
86
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
87
|
-
type Log = TypedEventLog<Event>;
|
|
88
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
89
|
-
}
|
|
90
|
-
export interface ITimeWeightedMultiRewards extends BaseContract {
|
|
91
|
-
connect(runner?: ContractRunner | null): ITimeWeightedMultiRewards;
|
|
92
|
-
waitForDeployment(): Promise<this>;
|
|
93
|
-
interface: ITimeWeightedMultiRewardsInterface;
|
|
94
|
-
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
95
|
-
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
96
|
-
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
97
|
-
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
98
|
-
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
99
|
-
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
100
|
-
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
101
|
-
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
102
|
-
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
103
|
-
earned: TypedContractMethod<[
|
|
104
|
-
account: AddressLike,
|
|
105
|
-
_rewardsToken: AddressLike
|
|
106
|
-
], [
|
|
107
|
-
bigint
|
|
108
|
-
], "view">;
|
|
109
|
-
getReward: TypedContractMethod<[], [void], "nonpayable">;
|
|
110
|
-
getRewardForUser: TypedContractMethod<[
|
|
111
|
-
_user: AddressLike
|
|
112
|
-
], [
|
|
113
|
-
void
|
|
114
|
-
], "nonpayable">;
|
|
115
|
-
rewardTokens: TypedContractMethod<[index: BigNumberish], [string], "view">;
|
|
116
|
-
shareOf: TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
117
|
-
totalShares: TypedContractMethod<[], [bigint], "view">;
|
|
118
|
-
totalStaked: TypedContractMethod<[], [bigint], "view">;
|
|
119
|
-
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
120
|
-
getFunction(nameOrSignature: "earned"): TypedContractMethod<[
|
|
121
|
-
account: AddressLike,
|
|
122
|
-
_rewardsToken: AddressLike
|
|
123
|
-
], [
|
|
124
|
-
bigint
|
|
125
|
-
], "view">;
|
|
126
|
-
getFunction(nameOrSignature: "getReward"): TypedContractMethod<[], [void], "nonpayable">;
|
|
127
|
-
getFunction(nameOrSignature: "getRewardForUser"): TypedContractMethod<[_user: AddressLike], [void], "nonpayable">;
|
|
128
|
-
getFunction(nameOrSignature: "rewardTokens"): TypedContractMethod<[index: BigNumberish], [string], "view">;
|
|
129
|
-
getFunction(nameOrSignature: "shareOf"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
130
|
-
getFunction(nameOrSignature: "totalShares"): TypedContractMethod<[], [bigint], "view">;
|
|
131
|
-
getFunction(nameOrSignature: "totalStaked"): TypedContractMethod<[], [bigint], "view">;
|
|
132
|
-
getEvent(key: "Recovered"): TypedContractEvent<RecoveredEvent.InputTuple, RecoveredEvent.OutputTuple, RecoveredEvent.OutputObject>;
|
|
133
|
-
getEvent(key: "RewardAdded"): TypedContractEvent<RewardAddedEvent.InputTuple, RewardAddedEvent.OutputTuple, RewardAddedEvent.OutputObject>;
|
|
134
|
-
getEvent(key: "RewardPaid"): TypedContractEvent<RewardPaidEvent.InputTuple, RewardPaidEvent.OutputTuple, RewardPaidEvent.OutputObject>;
|
|
135
|
-
getEvent(key: "Staked"): TypedContractEvent<StakedEvent.InputTuple, StakedEvent.OutputTuple, StakedEvent.OutputObject>;
|
|
136
|
-
getEvent(key: "Withdrawn"): TypedContractEvent<WithdrawnEvent.InputTuple, WithdrawnEvent.OutputTuple, WithdrawnEvent.OutputObject>;
|
|
137
|
-
filters: {
|
|
138
|
-
"Recovered(address,uint256)": TypedContractEvent<RecoveredEvent.InputTuple, RecoveredEvent.OutputTuple, RecoveredEvent.OutputObject>;
|
|
139
|
-
Recovered: TypedContractEvent<RecoveredEvent.InputTuple, RecoveredEvent.OutputTuple, RecoveredEvent.OutputObject>;
|
|
140
|
-
"RewardAdded(address,uint256)": TypedContractEvent<RewardAddedEvent.InputTuple, RewardAddedEvent.OutputTuple, RewardAddedEvent.OutputObject>;
|
|
141
|
-
RewardAdded: TypedContractEvent<RewardAddedEvent.InputTuple, RewardAddedEvent.OutputTuple, RewardAddedEvent.OutputObject>;
|
|
142
|
-
"RewardPaid(address,address,uint256)": TypedContractEvent<RewardPaidEvent.InputTuple, RewardPaidEvent.OutputTuple, RewardPaidEvent.OutputObject>;
|
|
143
|
-
RewardPaid: TypedContractEvent<RewardPaidEvent.InputTuple, RewardPaidEvent.OutputTuple, RewardPaidEvent.OutputObject>;
|
|
144
|
-
"Staked(address,uint256)": TypedContractEvent<StakedEvent.InputTuple, StakedEvent.OutputTuple, StakedEvent.OutputObject>;
|
|
145
|
-
Staked: TypedContractEvent<StakedEvent.InputTuple, StakedEvent.OutputTuple, StakedEvent.OutputObject>;
|
|
146
|
-
"Withdrawn(address,uint256)": TypedContractEvent<WithdrawnEvent.InputTuple, WithdrawnEvent.OutputTuple, WithdrawnEvent.OutputObject>;
|
|
147
|
-
Withdrawn: TypedContractEvent<WithdrawnEvent.InputTuple, WithdrawnEvent.OutputTuple, WithdrawnEvent.OutputObject>;
|
|
148
|
-
};
|
|
149
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ITimeWeightedMultiRewards.js","sourceRoot":"","sources":["../../../../../src/typechain/contracts/Infrared/ITimeWeightedMultiRewards.ts"],"names":[],"mappings":""}
|
|
@@ -1,186 +0,0 @@
|
|
|
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 InfraredRewardsInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "_shares" | "earned" | "infraredVault" | "paused" | "shareOf" | "totalShares" | "totalStaked"): FunctionFragment;
|
|
5
|
-
getEvent(nameOrSignatureOrTopic: "Initialized" | "Paused" | "Recovered" | "RewardPaid" | "Staked" | "Unpaused" | "Withdrawn"): EventFragment;
|
|
6
|
-
encodeFunctionData(functionFragment: "_shares", values: [AddressLike]): string;
|
|
7
|
-
encodeFunctionData(functionFragment: "earned", values: [AddressLike, AddressLike]): string;
|
|
8
|
-
encodeFunctionData(functionFragment: "infraredVault", values?: undefined): string;
|
|
9
|
-
encodeFunctionData(functionFragment: "paused", values?: undefined): string;
|
|
10
|
-
encodeFunctionData(functionFragment: "shareOf", values: [AddressLike]): string;
|
|
11
|
-
encodeFunctionData(functionFragment: "totalShares", values?: undefined): string;
|
|
12
|
-
encodeFunctionData(functionFragment: "totalStaked", values?: undefined): string;
|
|
13
|
-
decodeFunctionResult(functionFragment: "_shares", data: BytesLike): Result;
|
|
14
|
-
decodeFunctionResult(functionFragment: "earned", data: BytesLike): Result;
|
|
15
|
-
decodeFunctionResult(functionFragment: "infraredVault", data: BytesLike): Result;
|
|
16
|
-
decodeFunctionResult(functionFragment: "paused", data: BytesLike): Result;
|
|
17
|
-
decodeFunctionResult(functionFragment: "shareOf", data: BytesLike): Result;
|
|
18
|
-
decodeFunctionResult(functionFragment: "totalShares", data: BytesLike): Result;
|
|
19
|
-
decodeFunctionResult(functionFragment: "totalStaked", data: BytesLike): Result;
|
|
20
|
-
}
|
|
21
|
-
export declare namespace InitializedEvent {
|
|
22
|
-
type InputTuple = [version: BigNumberish];
|
|
23
|
-
type OutputTuple = [version: bigint];
|
|
24
|
-
interface OutputObject {
|
|
25
|
-
version: bigint;
|
|
26
|
-
}
|
|
27
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
28
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
29
|
-
type Log = TypedEventLog<Event>;
|
|
30
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
31
|
-
}
|
|
32
|
-
export declare namespace PausedEvent {
|
|
33
|
-
type InputTuple = [account: AddressLike];
|
|
34
|
-
type OutputTuple = [account: string];
|
|
35
|
-
interface OutputObject {
|
|
36
|
-
account: string;
|
|
37
|
-
}
|
|
38
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
39
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
40
|
-
type Log = TypedEventLog<Event>;
|
|
41
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
42
|
-
}
|
|
43
|
-
export declare namespace RecoveredEvent {
|
|
44
|
-
type InputTuple = [token: AddressLike, amount: BigNumberish];
|
|
45
|
-
type OutputTuple = [token: string, amount: bigint];
|
|
46
|
-
interface OutputObject {
|
|
47
|
-
token: string;
|
|
48
|
-
amount: bigint;
|
|
49
|
-
}
|
|
50
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
51
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
52
|
-
type Log = TypedEventLog<Event>;
|
|
53
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
54
|
-
}
|
|
55
|
-
export declare namespace RewardPaidEvent {
|
|
56
|
-
type InputTuple = [
|
|
57
|
-
user: AddressLike,
|
|
58
|
-
rewardsToken: AddressLike,
|
|
59
|
-
reward: BigNumberish
|
|
60
|
-
];
|
|
61
|
-
type OutputTuple = [
|
|
62
|
-
user: string,
|
|
63
|
-
rewardsToken: string,
|
|
64
|
-
reward: bigint
|
|
65
|
-
];
|
|
66
|
-
interface OutputObject {
|
|
67
|
-
user: string;
|
|
68
|
-
rewardsToken: string;
|
|
69
|
-
reward: bigint;
|
|
70
|
-
}
|
|
71
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
72
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
73
|
-
type Log = TypedEventLog<Event>;
|
|
74
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
75
|
-
}
|
|
76
|
-
export declare namespace StakedEvent {
|
|
77
|
-
type InputTuple = [user: AddressLike, amount: BigNumberish];
|
|
78
|
-
type OutputTuple = [user: string, amount: bigint];
|
|
79
|
-
interface OutputObject {
|
|
80
|
-
user: string;
|
|
81
|
-
amount: bigint;
|
|
82
|
-
}
|
|
83
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
84
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
85
|
-
type Log = TypedEventLog<Event>;
|
|
86
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
87
|
-
}
|
|
88
|
-
export declare namespace UnpausedEvent {
|
|
89
|
-
type InputTuple = [account: AddressLike];
|
|
90
|
-
type OutputTuple = [account: string];
|
|
91
|
-
interface OutputObject {
|
|
92
|
-
account: string;
|
|
93
|
-
}
|
|
94
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
95
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
96
|
-
type Log = TypedEventLog<Event>;
|
|
97
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
98
|
-
}
|
|
99
|
-
export declare namespace WithdrawnEvent {
|
|
100
|
-
type InputTuple = [user: AddressLike, amount: BigNumberish];
|
|
101
|
-
type OutputTuple = [user: string, amount: bigint];
|
|
102
|
-
interface OutputObject {
|
|
103
|
-
user: string;
|
|
104
|
-
amount: bigint;
|
|
105
|
-
}
|
|
106
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
107
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
108
|
-
type Log = TypedEventLog<Event>;
|
|
109
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
110
|
-
}
|
|
111
|
-
export interface InfraredRewards extends BaseContract {
|
|
112
|
-
connect(runner?: ContractRunner | null): InfraredRewards;
|
|
113
|
-
waitForDeployment(): Promise<this>;
|
|
114
|
-
interface: InfraredRewardsInterface;
|
|
115
|
-
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
116
|
-
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
117
|
-
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
118
|
-
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
119
|
-
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
120
|
-
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
121
|
-
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
122
|
-
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
123
|
-
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
124
|
-
_shares: TypedContractMethod<[
|
|
125
|
-
arg0: AddressLike
|
|
126
|
-
], [
|
|
127
|
-
[bigint, bigint] & {
|
|
128
|
-
shares: bigint;
|
|
129
|
-
lastUpdateTime: bigint;
|
|
130
|
-
}
|
|
131
|
-
], "view">;
|
|
132
|
-
earned: TypedContractMethod<[
|
|
133
|
-
account: AddressLike,
|
|
134
|
-
_rewardsToken: AddressLike
|
|
135
|
-
], [
|
|
136
|
-
bigint
|
|
137
|
-
], "view">;
|
|
138
|
-
infraredVault: TypedContractMethod<[], [string], "view">;
|
|
139
|
-
paused: TypedContractMethod<[], [boolean], "view">;
|
|
140
|
-
shareOf: TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
141
|
-
totalShares: TypedContractMethod<[], [bigint], "view">;
|
|
142
|
-
totalStaked: TypedContractMethod<[], [bigint], "view">;
|
|
143
|
-
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
144
|
-
getFunction(nameOrSignature: "_shares"): TypedContractMethod<[
|
|
145
|
-
arg0: AddressLike
|
|
146
|
-
], [
|
|
147
|
-
[bigint, bigint] & {
|
|
148
|
-
shares: bigint;
|
|
149
|
-
lastUpdateTime: bigint;
|
|
150
|
-
}
|
|
151
|
-
], "view">;
|
|
152
|
-
getFunction(nameOrSignature: "earned"): TypedContractMethod<[
|
|
153
|
-
account: AddressLike,
|
|
154
|
-
_rewardsToken: AddressLike
|
|
155
|
-
], [
|
|
156
|
-
bigint
|
|
157
|
-
], "view">;
|
|
158
|
-
getFunction(nameOrSignature: "infraredVault"): TypedContractMethod<[], [string], "view">;
|
|
159
|
-
getFunction(nameOrSignature: "paused"): TypedContractMethod<[], [boolean], "view">;
|
|
160
|
-
getFunction(nameOrSignature: "shareOf"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
161
|
-
getFunction(nameOrSignature: "totalShares"): TypedContractMethod<[], [bigint], "view">;
|
|
162
|
-
getFunction(nameOrSignature: "totalStaked"): TypedContractMethod<[], [bigint], "view">;
|
|
163
|
-
getEvent(key: "Initialized"): TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
164
|
-
getEvent(key: "Paused"): TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
165
|
-
getEvent(key: "Recovered"): TypedContractEvent<RecoveredEvent.InputTuple, RecoveredEvent.OutputTuple, RecoveredEvent.OutputObject>;
|
|
166
|
-
getEvent(key: "RewardPaid"): TypedContractEvent<RewardPaidEvent.InputTuple, RewardPaidEvent.OutputTuple, RewardPaidEvent.OutputObject>;
|
|
167
|
-
getEvent(key: "Staked"): TypedContractEvent<StakedEvent.InputTuple, StakedEvent.OutputTuple, StakedEvent.OutputObject>;
|
|
168
|
-
getEvent(key: "Unpaused"): TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
|
|
169
|
-
getEvent(key: "Withdrawn"): TypedContractEvent<WithdrawnEvent.InputTuple, WithdrawnEvent.OutputTuple, WithdrawnEvent.OutputObject>;
|
|
170
|
-
filters: {
|
|
171
|
-
"Initialized(uint8)": TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
172
|
-
Initialized: TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
173
|
-
"Paused(address)": TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
174
|
-
Paused: TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
175
|
-
"Recovered(address,uint256)": TypedContractEvent<RecoveredEvent.InputTuple, RecoveredEvent.OutputTuple, RecoveredEvent.OutputObject>;
|
|
176
|
-
Recovered: TypedContractEvent<RecoveredEvent.InputTuple, RecoveredEvent.OutputTuple, RecoveredEvent.OutputObject>;
|
|
177
|
-
"RewardPaid(address,address,uint256)": TypedContractEvent<RewardPaidEvent.InputTuple, RewardPaidEvent.OutputTuple, RewardPaidEvent.OutputObject>;
|
|
178
|
-
RewardPaid: TypedContractEvent<RewardPaidEvent.InputTuple, RewardPaidEvent.OutputTuple, RewardPaidEvent.OutputObject>;
|
|
179
|
-
"Staked(address,uint256)": TypedContractEvent<StakedEvent.InputTuple, StakedEvent.OutputTuple, StakedEvent.OutputObject>;
|
|
180
|
-
Staked: TypedContractEvent<StakedEvent.InputTuple, StakedEvent.OutputTuple, StakedEvent.OutputObject>;
|
|
181
|
-
"Unpaused(address)": TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
|
|
182
|
-
Unpaused: TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
|
|
183
|
-
"Withdrawn(address,uint256)": TypedContractEvent<WithdrawnEvent.InputTuple, WithdrawnEvent.OutputTuple, WithdrawnEvent.OutputObject>;
|
|
184
|
-
Withdrawn: TypedContractEvent<WithdrawnEvent.InputTuple, WithdrawnEvent.OutputTuple, WithdrawnEvent.OutputObject>;
|
|
185
|
-
};
|
|
186
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InfraredRewards.js","sourceRoot":"","sources":["../../../../../src/typechain/contracts/Infrared/InfraredRewards.ts"],"names":[],"mappings":""}
|
|
@@ -1,217 +0,0 @@
|
|
|
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 TimeWeightedMultiRewardsInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "_shares" | "earned" | "getReward" | "getRewardForUser" | "paused" | "rewardTokens" | "shareOf" | "stakingToken" | "totalShares" | "totalStaked"): FunctionFragment;
|
|
5
|
-
getEvent(nameOrSignatureOrTopic: "Initialized" | "Paused" | "Recovered" | "RewardAdded" | "RewardPaid" | "Staked" | "Unpaused" | "Withdrawn"): EventFragment;
|
|
6
|
-
encodeFunctionData(functionFragment: "_shares", values: [AddressLike]): string;
|
|
7
|
-
encodeFunctionData(functionFragment: "earned", values: [AddressLike, AddressLike]): string;
|
|
8
|
-
encodeFunctionData(functionFragment: "getReward", values?: undefined): string;
|
|
9
|
-
encodeFunctionData(functionFragment: "getRewardForUser", values: [AddressLike]): string;
|
|
10
|
-
encodeFunctionData(functionFragment: "paused", values?: undefined): string;
|
|
11
|
-
encodeFunctionData(functionFragment: "rewardTokens", values: [BigNumberish]): string;
|
|
12
|
-
encodeFunctionData(functionFragment: "shareOf", values: [AddressLike]): string;
|
|
13
|
-
encodeFunctionData(functionFragment: "stakingToken", values?: undefined): string;
|
|
14
|
-
encodeFunctionData(functionFragment: "totalShares", values?: undefined): string;
|
|
15
|
-
encodeFunctionData(functionFragment: "totalStaked", values?: undefined): string;
|
|
16
|
-
decodeFunctionResult(functionFragment: "_shares", data: BytesLike): Result;
|
|
17
|
-
decodeFunctionResult(functionFragment: "earned", data: BytesLike): Result;
|
|
18
|
-
decodeFunctionResult(functionFragment: "getReward", data: BytesLike): Result;
|
|
19
|
-
decodeFunctionResult(functionFragment: "getRewardForUser", data: BytesLike): Result;
|
|
20
|
-
decodeFunctionResult(functionFragment: "paused", data: BytesLike): Result;
|
|
21
|
-
decodeFunctionResult(functionFragment: "rewardTokens", data: BytesLike): Result;
|
|
22
|
-
decodeFunctionResult(functionFragment: "shareOf", data: BytesLike): Result;
|
|
23
|
-
decodeFunctionResult(functionFragment: "stakingToken", data: BytesLike): Result;
|
|
24
|
-
decodeFunctionResult(functionFragment: "totalShares", data: BytesLike): Result;
|
|
25
|
-
decodeFunctionResult(functionFragment: "totalStaked", data: BytesLike): Result;
|
|
26
|
-
}
|
|
27
|
-
export declare namespace InitializedEvent {
|
|
28
|
-
type InputTuple = [version: BigNumberish];
|
|
29
|
-
type OutputTuple = [version: bigint];
|
|
30
|
-
interface OutputObject {
|
|
31
|
-
version: bigint;
|
|
32
|
-
}
|
|
33
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
34
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
35
|
-
type Log = TypedEventLog<Event>;
|
|
36
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
37
|
-
}
|
|
38
|
-
export declare namespace PausedEvent {
|
|
39
|
-
type InputTuple = [account: AddressLike];
|
|
40
|
-
type OutputTuple = [account: string];
|
|
41
|
-
interface OutputObject {
|
|
42
|
-
account: string;
|
|
43
|
-
}
|
|
44
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
45
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
46
|
-
type Log = TypedEventLog<Event>;
|
|
47
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
48
|
-
}
|
|
49
|
-
export declare namespace RecoveredEvent {
|
|
50
|
-
type InputTuple = [token: AddressLike, amount: BigNumberish];
|
|
51
|
-
type OutputTuple = [token: string, amount: bigint];
|
|
52
|
-
interface OutputObject {
|
|
53
|
-
token: string;
|
|
54
|
-
amount: bigint;
|
|
55
|
-
}
|
|
56
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
57
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
58
|
-
type Log = TypedEventLog<Event>;
|
|
59
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
60
|
-
}
|
|
61
|
-
export declare namespace RewardAddedEvent {
|
|
62
|
-
type InputTuple = [rewardsToken: AddressLike, reward: BigNumberish];
|
|
63
|
-
type OutputTuple = [rewardsToken: string, reward: bigint];
|
|
64
|
-
interface OutputObject {
|
|
65
|
-
rewardsToken: string;
|
|
66
|
-
reward: bigint;
|
|
67
|
-
}
|
|
68
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
69
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
70
|
-
type Log = TypedEventLog<Event>;
|
|
71
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
72
|
-
}
|
|
73
|
-
export declare namespace RewardPaidEvent {
|
|
74
|
-
type InputTuple = [
|
|
75
|
-
user: AddressLike,
|
|
76
|
-
rewardsToken: AddressLike,
|
|
77
|
-
reward: BigNumberish
|
|
78
|
-
];
|
|
79
|
-
type OutputTuple = [
|
|
80
|
-
user: string,
|
|
81
|
-
rewardsToken: string,
|
|
82
|
-
reward: bigint
|
|
83
|
-
];
|
|
84
|
-
interface OutputObject {
|
|
85
|
-
user: string;
|
|
86
|
-
rewardsToken: string;
|
|
87
|
-
reward: bigint;
|
|
88
|
-
}
|
|
89
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
90
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
91
|
-
type Log = TypedEventLog<Event>;
|
|
92
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
93
|
-
}
|
|
94
|
-
export declare namespace StakedEvent {
|
|
95
|
-
type InputTuple = [user: AddressLike, amount: BigNumberish];
|
|
96
|
-
type OutputTuple = [user: string, amount: bigint];
|
|
97
|
-
interface OutputObject {
|
|
98
|
-
user: string;
|
|
99
|
-
amount: bigint;
|
|
100
|
-
}
|
|
101
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
102
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
103
|
-
type Log = TypedEventLog<Event>;
|
|
104
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
105
|
-
}
|
|
106
|
-
export declare namespace UnpausedEvent {
|
|
107
|
-
type InputTuple = [account: AddressLike];
|
|
108
|
-
type OutputTuple = [account: string];
|
|
109
|
-
interface OutputObject {
|
|
110
|
-
account: string;
|
|
111
|
-
}
|
|
112
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
113
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
114
|
-
type Log = TypedEventLog<Event>;
|
|
115
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
116
|
-
}
|
|
117
|
-
export declare namespace WithdrawnEvent {
|
|
118
|
-
type InputTuple = [user: AddressLike, amount: BigNumberish];
|
|
119
|
-
type OutputTuple = [user: string, amount: bigint];
|
|
120
|
-
interface OutputObject {
|
|
121
|
-
user: string;
|
|
122
|
-
amount: bigint;
|
|
123
|
-
}
|
|
124
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
125
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
126
|
-
type Log = TypedEventLog<Event>;
|
|
127
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
128
|
-
}
|
|
129
|
-
export interface TimeWeightedMultiRewards extends BaseContract {
|
|
130
|
-
connect(runner?: ContractRunner | null): TimeWeightedMultiRewards;
|
|
131
|
-
waitForDeployment(): Promise<this>;
|
|
132
|
-
interface: TimeWeightedMultiRewardsInterface;
|
|
133
|
-
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
134
|
-
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
135
|
-
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
136
|
-
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
137
|
-
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
138
|
-
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
139
|
-
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
140
|
-
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
141
|
-
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
142
|
-
_shares: TypedContractMethod<[
|
|
143
|
-
arg0: AddressLike
|
|
144
|
-
], [
|
|
145
|
-
[bigint, bigint] & {
|
|
146
|
-
shares: bigint;
|
|
147
|
-
lastUpdateTime: bigint;
|
|
148
|
-
}
|
|
149
|
-
], "view">;
|
|
150
|
-
earned: TypedContractMethod<[
|
|
151
|
-
account: AddressLike,
|
|
152
|
-
_rewardsToken: AddressLike
|
|
153
|
-
], [
|
|
154
|
-
bigint
|
|
155
|
-
], "view">;
|
|
156
|
-
getReward: TypedContractMethod<[], [void], "nonpayable">;
|
|
157
|
-
getRewardForUser: TypedContractMethod<[
|
|
158
|
-
_user: AddressLike
|
|
159
|
-
], [
|
|
160
|
-
void
|
|
161
|
-
], "nonpayable">;
|
|
162
|
-
paused: TypedContractMethod<[], [boolean], "view">;
|
|
163
|
-
rewardTokens: TypedContractMethod<[index: BigNumberish], [string], "view">;
|
|
164
|
-
shareOf: TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
165
|
-
stakingToken: TypedContractMethod<[], [string], "view">;
|
|
166
|
-
totalShares: TypedContractMethod<[], [bigint], "view">;
|
|
167
|
-
totalStaked: TypedContractMethod<[], [bigint], "view">;
|
|
168
|
-
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
169
|
-
getFunction(nameOrSignature: "_shares"): TypedContractMethod<[
|
|
170
|
-
arg0: AddressLike
|
|
171
|
-
], [
|
|
172
|
-
[bigint, bigint] & {
|
|
173
|
-
shares: bigint;
|
|
174
|
-
lastUpdateTime: bigint;
|
|
175
|
-
}
|
|
176
|
-
], "view">;
|
|
177
|
-
getFunction(nameOrSignature: "earned"): TypedContractMethod<[
|
|
178
|
-
account: AddressLike,
|
|
179
|
-
_rewardsToken: AddressLike
|
|
180
|
-
], [
|
|
181
|
-
bigint
|
|
182
|
-
], "view">;
|
|
183
|
-
getFunction(nameOrSignature: "getReward"): TypedContractMethod<[], [void], "nonpayable">;
|
|
184
|
-
getFunction(nameOrSignature: "getRewardForUser"): TypedContractMethod<[_user: AddressLike], [void], "nonpayable">;
|
|
185
|
-
getFunction(nameOrSignature: "paused"): TypedContractMethod<[], [boolean], "view">;
|
|
186
|
-
getFunction(nameOrSignature: "rewardTokens"): TypedContractMethod<[index: BigNumberish], [string], "view">;
|
|
187
|
-
getFunction(nameOrSignature: "shareOf"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
188
|
-
getFunction(nameOrSignature: "stakingToken"): TypedContractMethod<[], [string], "view">;
|
|
189
|
-
getFunction(nameOrSignature: "totalShares"): TypedContractMethod<[], [bigint], "view">;
|
|
190
|
-
getFunction(nameOrSignature: "totalStaked"): TypedContractMethod<[], [bigint], "view">;
|
|
191
|
-
getEvent(key: "Initialized"): TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
192
|
-
getEvent(key: "Paused"): TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
193
|
-
getEvent(key: "Recovered"): TypedContractEvent<RecoveredEvent.InputTuple, RecoveredEvent.OutputTuple, RecoveredEvent.OutputObject>;
|
|
194
|
-
getEvent(key: "RewardAdded"): TypedContractEvent<RewardAddedEvent.InputTuple, RewardAddedEvent.OutputTuple, RewardAddedEvent.OutputObject>;
|
|
195
|
-
getEvent(key: "RewardPaid"): TypedContractEvent<RewardPaidEvent.InputTuple, RewardPaidEvent.OutputTuple, RewardPaidEvent.OutputObject>;
|
|
196
|
-
getEvent(key: "Staked"): TypedContractEvent<StakedEvent.InputTuple, StakedEvent.OutputTuple, StakedEvent.OutputObject>;
|
|
197
|
-
getEvent(key: "Unpaused"): TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
|
|
198
|
-
getEvent(key: "Withdrawn"): TypedContractEvent<WithdrawnEvent.InputTuple, WithdrawnEvent.OutputTuple, WithdrawnEvent.OutputObject>;
|
|
199
|
-
filters: {
|
|
200
|
-
"Initialized(uint8)": TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
201
|
-
Initialized: TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
|
|
202
|
-
"Paused(address)": TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
203
|
-
Paused: TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
204
|
-
"Recovered(address,uint256)": TypedContractEvent<RecoveredEvent.InputTuple, RecoveredEvent.OutputTuple, RecoveredEvent.OutputObject>;
|
|
205
|
-
Recovered: TypedContractEvent<RecoveredEvent.InputTuple, RecoveredEvent.OutputTuple, RecoveredEvent.OutputObject>;
|
|
206
|
-
"RewardAdded(address,uint256)": TypedContractEvent<RewardAddedEvent.InputTuple, RewardAddedEvent.OutputTuple, RewardAddedEvent.OutputObject>;
|
|
207
|
-
RewardAdded: TypedContractEvent<RewardAddedEvent.InputTuple, RewardAddedEvent.OutputTuple, RewardAddedEvent.OutputObject>;
|
|
208
|
-
"RewardPaid(address,address,uint256)": TypedContractEvent<RewardPaidEvent.InputTuple, RewardPaidEvent.OutputTuple, RewardPaidEvent.OutputObject>;
|
|
209
|
-
RewardPaid: TypedContractEvent<RewardPaidEvent.InputTuple, RewardPaidEvent.OutputTuple, RewardPaidEvent.OutputObject>;
|
|
210
|
-
"Staked(address,uint256)": TypedContractEvent<StakedEvent.InputTuple, StakedEvent.OutputTuple, StakedEvent.OutputObject>;
|
|
211
|
-
Staked: TypedContractEvent<StakedEvent.InputTuple, StakedEvent.OutputTuple, StakedEvent.OutputObject>;
|
|
212
|
-
"Unpaused(address)": TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
|
|
213
|
-
Unpaused: TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
|
|
214
|
-
"Withdrawn(address,uint256)": TypedContractEvent<WithdrawnEvent.InputTuple, WithdrawnEvent.OutputTuple, WithdrawnEvent.OutputObject>;
|
|
215
|
-
Withdrawn: TypedContractEvent<WithdrawnEvent.InputTuple, WithdrawnEvent.OutputTuple, WithdrawnEvent.OutputObject>;
|
|
216
|
-
};
|
|
217
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TimeWeightedMultiRewards.js","sourceRoot":"","sources":["../../../../../src/typechain/contracts/Infrared/TimeWeightedMultiRewards.ts"],"names":[],"mappings":""}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import type { BaseContract, BytesLike, FunctionFragment, Result, Interface, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
-
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../../common";
|
|
3
|
-
export interface IBalancerLPInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "getPoolId" | "getVault" | "totalSupply"): FunctionFragment;
|
|
5
|
-
encodeFunctionData(functionFragment: "getPoolId", values?: undefined): string;
|
|
6
|
-
encodeFunctionData(functionFragment: "getVault", values?: undefined): string;
|
|
7
|
-
encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
|
|
8
|
-
decodeFunctionResult(functionFragment: "getPoolId", data: BytesLike): Result;
|
|
9
|
-
decodeFunctionResult(functionFragment: "getVault", data: BytesLike): Result;
|
|
10
|
-
decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result;
|
|
11
|
-
}
|
|
12
|
-
export interface IBalancerLP extends BaseContract {
|
|
13
|
-
connect(runner?: ContractRunner | null): IBalancerLP;
|
|
14
|
-
waitForDeployment(): Promise<this>;
|
|
15
|
-
interface: IBalancerLPInterface;
|
|
16
|
-
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
17
|
-
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
18
|
-
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
19
|
-
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
20
|
-
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
21
|
-
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
22
|
-
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
23
|
-
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
24
|
-
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
25
|
-
getPoolId: TypedContractMethod<[], [string], "view">;
|
|
26
|
-
getVault: TypedContractMethod<[], [string], "view">;
|
|
27
|
-
totalSupply: TypedContractMethod<[], [bigint], "view">;
|
|
28
|
-
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
29
|
-
getFunction(nameOrSignature: "getPoolId"): TypedContractMethod<[], [string], "view">;
|
|
30
|
-
getFunction(nameOrSignature: "getVault"): TypedContractMethod<[], [string], "view">;
|
|
31
|
-
getFunction(nameOrSignature: "totalSupply"): TypedContractMethod<[], [bigint], "view">;
|
|
32
|
-
filters: {};
|
|
33
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IBalancerLP.js","sourceRoot":"","sources":["../../../../../../src/typechain/contracts/Interfaces/Balancer.sol/IBalancerLP.ts"],"names":[],"mappings":""}
|