@meterio/sumer-js 0.2.114 → 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
package/dist/nodejs/typechain/factories/contracts/Infrared/ITimeWeightedMultiRewards__factory.js
DELETED
|
@@ -1,229 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* Autogenerated file. Do not edit manually. */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.ITimeWeightedMultiRewards__factory = void 0;
|
|
7
|
-
const ethers_1 = require("ethers");
|
|
8
|
-
const _abi = [
|
|
9
|
-
{
|
|
10
|
-
anonymous: false,
|
|
11
|
-
inputs: [
|
|
12
|
-
{
|
|
13
|
-
indexed: false,
|
|
14
|
-
internalType: "address",
|
|
15
|
-
name: "token",
|
|
16
|
-
type: "address",
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
indexed: false,
|
|
20
|
-
internalType: "uint256",
|
|
21
|
-
name: "amount",
|
|
22
|
-
type: "uint256",
|
|
23
|
-
},
|
|
24
|
-
],
|
|
25
|
-
name: "Recovered",
|
|
26
|
-
type: "event",
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
anonymous: false,
|
|
30
|
-
inputs: [
|
|
31
|
-
{
|
|
32
|
-
indexed: true,
|
|
33
|
-
internalType: "address",
|
|
34
|
-
name: "rewardsToken",
|
|
35
|
-
type: "address",
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
indexed: false,
|
|
39
|
-
internalType: "uint256",
|
|
40
|
-
name: "reward",
|
|
41
|
-
type: "uint256",
|
|
42
|
-
},
|
|
43
|
-
],
|
|
44
|
-
name: "RewardAdded",
|
|
45
|
-
type: "event",
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
anonymous: false,
|
|
49
|
-
inputs: [
|
|
50
|
-
{
|
|
51
|
-
indexed: true,
|
|
52
|
-
internalType: "address",
|
|
53
|
-
name: "user",
|
|
54
|
-
type: "address",
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
indexed: true,
|
|
58
|
-
internalType: "address",
|
|
59
|
-
name: "rewardsToken",
|
|
60
|
-
type: "address",
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
indexed: false,
|
|
64
|
-
internalType: "uint256",
|
|
65
|
-
name: "reward",
|
|
66
|
-
type: "uint256",
|
|
67
|
-
},
|
|
68
|
-
],
|
|
69
|
-
name: "RewardPaid",
|
|
70
|
-
type: "event",
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
anonymous: false,
|
|
74
|
-
inputs: [
|
|
75
|
-
{
|
|
76
|
-
indexed: true,
|
|
77
|
-
internalType: "address",
|
|
78
|
-
name: "user",
|
|
79
|
-
type: "address",
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
indexed: false,
|
|
83
|
-
internalType: "uint256",
|
|
84
|
-
name: "amount",
|
|
85
|
-
type: "uint256",
|
|
86
|
-
},
|
|
87
|
-
],
|
|
88
|
-
name: "Staked",
|
|
89
|
-
type: "event",
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
anonymous: false,
|
|
93
|
-
inputs: [
|
|
94
|
-
{
|
|
95
|
-
indexed: true,
|
|
96
|
-
internalType: "address",
|
|
97
|
-
name: "user",
|
|
98
|
-
type: "address",
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
indexed: false,
|
|
102
|
-
internalType: "uint256",
|
|
103
|
-
name: "amount",
|
|
104
|
-
type: "uint256",
|
|
105
|
-
},
|
|
106
|
-
],
|
|
107
|
-
name: "Withdrawn",
|
|
108
|
-
type: "event",
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
inputs: [
|
|
112
|
-
{
|
|
113
|
-
internalType: "address",
|
|
114
|
-
name: "account",
|
|
115
|
-
type: "address",
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
internalType: "address",
|
|
119
|
-
name: "_rewardsToken",
|
|
120
|
-
type: "address",
|
|
121
|
-
},
|
|
122
|
-
],
|
|
123
|
-
name: "earned",
|
|
124
|
-
outputs: [
|
|
125
|
-
{
|
|
126
|
-
internalType: "uint256",
|
|
127
|
-
name: "",
|
|
128
|
-
type: "uint256",
|
|
129
|
-
},
|
|
130
|
-
],
|
|
131
|
-
stateMutability: "view",
|
|
132
|
-
type: "function",
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
inputs: [],
|
|
136
|
-
name: "getReward",
|
|
137
|
-
outputs: [],
|
|
138
|
-
stateMutability: "nonpayable",
|
|
139
|
-
type: "function",
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
inputs: [
|
|
143
|
-
{
|
|
144
|
-
internalType: "address",
|
|
145
|
-
name: "_user",
|
|
146
|
-
type: "address",
|
|
147
|
-
},
|
|
148
|
-
],
|
|
149
|
-
name: "getRewardForUser",
|
|
150
|
-
outputs: [],
|
|
151
|
-
stateMutability: "nonpayable",
|
|
152
|
-
type: "function",
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
inputs: [
|
|
156
|
-
{
|
|
157
|
-
internalType: "uint256",
|
|
158
|
-
name: "index",
|
|
159
|
-
type: "uint256",
|
|
160
|
-
},
|
|
161
|
-
],
|
|
162
|
-
name: "rewardTokens",
|
|
163
|
-
outputs: [
|
|
164
|
-
{
|
|
165
|
-
internalType: "address",
|
|
166
|
-
name: "",
|
|
167
|
-
type: "address",
|
|
168
|
-
},
|
|
169
|
-
],
|
|
170
|
-
stateMutability: "view",
|
|
171
|
-
type: "function",
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
inputs: [
|
|
175
|
-
{
|
|
176
|
-
internalType: "address",
|
|
177
|
-
name: "account",
|
|
178
|
-
type: "address",
|
|
179
|
-
},
|
|
180
|
-
],
|
|
181
|
-
name: "shareOf",
|
|
182
|
-
outputs: [
|
|
183
|
-
{
|
|
184
|
-
internalType: "uint256",
|
|
185
|
-
name: "",
|
|
186
|
-
type: "uint256",
|
|
187
|
-
},
|
|
188
|
-
],
|
|
189
|
-
stateMutability: "view",
|
|
190
|
-
type: "function",
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
inputs: [],
|
|
194
|
-
name: "totalShares",
|
|
195
|
-
outputs: [
|
|
196
|
-
{
|
|
197
|
-
internalType: "uint256",
|
|
198
|
-
name: "",
|
|
199
|
-
type: "uint256",
|
|
200
|
-
},
|
|
201
|
-
],
|
|
202
|
-
stateMutability: "view",
|
|
203
|
-
type: "function",
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
inputs: [],
|
|
207
|
-
name: "totalStaked",
|
|
208
|
-
outputs: [
|
|
209
|
-
{
|
|
210
|
-
internalType: "uint256",
|
|
211
|
-
name: "",
|
|
212
|
-
type: "uint256",
|
|
213
|
-
},
|
|
214
|
-
],
|
|
215
|
-
stateMutability: "view",
|
|
216
|
-
type: "function",
|
|
217
|
-
},
|
|
218
|
-
];
|
|
219
|
-
class ITimeWeightedMultiRewards__factory {
|
|
220
|
-
static createInterface() {
|
|
221
|
-
return new ethers_1.Interface(_abi);
|
|
222
|
-
}
|
|
223
|
-
static connect(address, runner) {
|
|
224
|
-
return new ethers_1.Contract(address, _abi, runner);
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
exports.ITimeWeightedMultiRewards__factory = ITimeWeightedMultiRewards__factory;
|
|
228
|
-
ITimeWeightedMultiRewards__factory.abi = _abi;
|
|
229
|
-
//# sourceMappingURL=ITimeWeightedMultiRewards__factory.js.map
|
package/dist/nodejs/typechain/factories/contracts/Infrared/ITimeWeightedMultiRewards__factory.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ITimeWeightedMultiRewards__factory.js","sourceRoot":"","sources":["../../../../../../src/typechain/factories/contracts/Infrared/ITimeWeightedMultiRewards__factory.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,219 +0,0 @@
|
|
|
1
|
-
import { ContractFactory, ContractTransactionResponse } from "ethers";
|
|
2
|
-
import type { Signer, AddressLike, ContractDeployTransaction, ContractRunner } from "ethers";
|
|
3
|
-
import type { NonPayableOverrides } from "../../../common";
|
|
4
|
-
import type { InfraredRewards, InfraredRewardsInterface } from "../../../contracts/Infrared/InfraredRewards";
|
|
5
|
-
type InfraredRewardsConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
|
|
6
|
-
export declare class InfraredRewards__factory extends ContractFactory {
|
|
7
|
-
constructor(...args: InfraredRewardsConstructorParams);
|
|
8
|
-
getDeployTransaction(_infraredVault: AddressLike, overrides?: NonPayableOverrides & {
|
|
9
|
-
from?: string;
|
|
10
|
-
}): Promise<ContractDeployTransaction>;
|
|
11
|
-
deploy(_infraredVault: AddressLike, overrides?: NonPayableOverrides & {
|
|
12
|
-
from?: string;
|
|
13
|
-
}): Promise<InfraredRewards & {
|
|
14
|
-
deploymentTransaction(): ContractTransactionResponse;
|
|
15
|
-
}>;
|
|
16
|
-
connect(runner: ContractRunner | null): InfraredRewards__factory;
|
|
17
|
-
static readonly bytecode = "0x60a034606e57601f6105e638819003918201601f19168301916001600160401b03831184841017607357808492602094604052833981010312606e57516001600160a01b03811690819003606e5760805260405161055c908161008a823960805181818160e501526103280152f35b600080fd5b634e487b7160e01b600052604160045260246000fdfe6080604052600436101561001257600080fd5b60003560e01c8063211dc32d146101d357806321e5e2c4146101555780633a98ef39146101375780635c975abb146101145780636ab3b0e5146100cf578063817b1cd2146100b15763b34c8caf1461006957600080fd5b346100ac5760203660031901126100ac576001600160a01b0361008a61020c565b1660005260656020526040806000206001815491015482519182526020820152f35b600080fd5b346100ac5760003660031901126100ac576020606654604051908152f35b346100ac5760003660031901126100ac576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b346100ac5760003660031901126100ac57602060ff603354166040519015158152f35b346100ac5760003660031901126100ac576020606754604051908152f35b346100ac5760203660031901126100ac576001600160a01b0361017661020c565b166000526065602052604060002054670de0b6b3a7640000810290808204670de0b6b3a764000014901517156101bd576101b560209160675490610279565b604051908152f35b634e487b7160e01b600052601160045260246000fd5b346100ac5760403660031901126100ac576101ec61020c565b602435906001600160a01b03821682036100ac576020916101b591610299565b600435906001600160a01b03821682036100ac57565b919082039182116101bd57565b818102929181159184041417156101bd57565b919082018092116101bd57565b80518210156102635760209160051b010190565b634e487b7160e01b600052603260045260246000fd5b8115610283570490565b634e487b7160e01b600052601260045260246000fd5b6102ec9060018060a01b03168060005260656020526102e66102c360016040600020015442610222565b82600052606560205260406000205492600052606960205260406000205461022f565b90610242565b61030a6102fb60685442610222565b6102e66067549160665461022f565b60405163150b82a360e11b81523060048201529091906000816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156104e2576000916103ca575b5060005b81518110156103c0576001600160a01b03610380828461024f565b5151166001600160a01b0386161461039a57600101610365565b6103bd94506103af6020916103b8949361024f565b5101519061022f565b610279565b90565b5050505050600090565b903d8082843e6103da81846104ee565b8201916020818403126104de5780519067ffffffffffffffff82116104c6570182601f820112156104de5780519167ffffffffffffffff83116104ca576040519361042b60208560051b01866104ee565b83855260208086019460061b840101928184116104c657602001935b83851061045957505050505038610361565b6040858303126104c6576040516040810181811067ffffffffffffffff8211176104b25760405285516001600160a01b03811681036104ae579181604093602093528288015183820152815201940193610447565b8480fd5b634e487b7160e01b85526041600452602485fd5b8280fd5b634e487b7160e01b81526041600452602490fd5b5080fd5b6040513d6000823e3d90fd5b90601f8019910116810190811067ffffffffffffffff82111761051057604052565b634e487b7160e01b600052604160045260246000fdfea26469706673582212200f371aba85a8804c62a5bdb692de7e6bebd26a22d3d88c7132a27ff8147f775664736f6c634300081a0033";
|
|
18
|
-
static readonly abi: readonly [{
|
|
19
|
-
readonly inputs: readonly [{
|
|
20
|
-
readonly internalType: "address";
|
|
21
|
-
readonly name: "_infraredVault";
|
|
22
|
-
readonly type: "address";
|
|
23
|
-
}];
|
|
24
|
-
readonly stateMutability: "nonpayable";
|
|
25
|
-
readonly type: "constructor";
|
|
26
|
-
}, {
|
|
27
|
-
readonly inputs: readonly [];
|
|
28
|
-
readonly name: "CantWithdrawRewardToken";
|
|
29
|
-
readonly type: "error";
|
|
30
|
-
}, {
|
|
31
|
-
readonly anonymous: false;
|
|
32
|
-
readonly inputs: readonly [{
|
|
33
|
-
readonly indexed: false;
|
|
34
|
-
readonly internalType: "uint8";
|
|
35
|
-
readonly name: "version";
|
|
36
|
-
readonly type: "uint8";
|
|
37
|
-
}];
|
|
38
|
-
readonly name: "Initialized";
|
|
39
|
-
readonly type: "event";
|
|
40
|
-
}, {
|
|
41
|
-
readonly anonymous: false;
|
|
42
|
-
readonly inputs: readonly [{
|
|
43
|
-
readonly indexed: false;
|
|
44
|
-
readonly internalType: "address";
|
|
45
|
-
readonly name: "account";
|
|
46
|
-
readonly type: "address";
|
|
47
|
-
}];
|
|
48
|
-
readonly name: "Paused";
|
|
49
|
-
readonly type: "event";
|
|
50
|
-
}, {
|
|
51
|
-
readonly anonymous: false;
|
|
52
|
-
readonly inputs: readonly [{
|
|
53
|
-
readonly indexed: false;
|
|
54
|
-
readonly internalType: "address";
|
|
55
|
-
readonly name: "token";
|
|
56
|
-
readonly type: "address";
|
|
57
|
-
}, {
|
|
58
|
-
readonly indexed: false;
|
|
59
|
-
readonly internalType: "uint256";
|
|
60
|
-
readonly name: "amount";
|
|
61
|
-
readonly type: "uint256";
|
|
62
|
-
}];
|
|
63
|
-
readonly name: "Recovered";
|
|
64
|
-
readonly type: "event";
|
|
65
|
-
}, {
|
|
66
|
-
readonly anonymous: false;
|
|
67
|
-
readonly inputs: readonly [{
|
|
68
|
-
readonly indexed: true;
|
|
69
|
-
readonly internalType: "address";
|
|
70
|
-
readonly name: "user";
|
|
71
|
-
readonly type: "address";
|
|
72
|
-
}, {
|
|
73
|
-
readonly indexed: true;
|
|
74
|
-
readonly internalType: "address";
|
|
75
|
-
readonly name: "rewardsToken";
|
|
76
|
-
readonly type: "address";
|
|
77
|
-
}, {
|
|
78
|
-
readonly indexed: false;
|
|
79
|
-
readonly internalType: "uint256";
|
|
80
|
-
readonly name: "reward";
|
|
81
|
-
readonly type: "uint256";
|
|
82
|
-
}];
|
|
83
|
-
readonly name: "RewardPaid";
|
|
84
|
-
readonly type: "event";
|
|
85
|
-
}, {
|
|
86
|
-
readonly anonymous: false;
|
|
87
|
-
readonly inputs: readonly [{
|
|
88
|
-
readonly indexed: true;
|
|
89
|
-
readonly internalType: "address";
|
|
90
|
-
readonly name: "user";
|
|
91
|
-
readonly type: "address";
|
|
92
|
-
}, {
|
|
93
|
-
readonly indexed: false;
|
|
94
|
-
readonly internalType: "uint256";
|
|
95
|
-
readonly name: "amount";
|
|
96
|
-
readonly type: "uint256";
|
|
97
|
-
}];
|
|
98
|
-
readonly name: "Staked";
|
|
99
|
-
readonly type: "event";
|
|
100
|
-
}, {
|
|
101
|
-
readonly anonymous: false;
|
|
102
|
-
readonly inputs: readonly [{
|
|
103
|
-
readonly indexed: false;
|
|
104
|
-
readonly internalType: "address";
|
|
105
|
-
readonly name: "account";
|
|
106
|
-
readonly type: "address";
|
|
107
|
-
}];
|
|
108
|
-
readonly name: "Unpaused";
|
|
109
|
-
readonly type: "event";
|
|
110
|
-
}, {
|
|
111
|
-
readonly anonymous: false;
|
|
112
|
-
readonly inputs: readonly [{
|
|
113
|
-
readonly indexed: true;
|
|
114
|
-
readonly internalType: "address";
|
|
115
|
-
readonly name: "user";
|
|
116
|
-
readonly type: "address";
|
|
117
|
-
}, {
|
|
118
|
-
readonly indexed: false;
|
|
119
|
-
readonly internalType: "uint256";
|
|
120
|
-
readonly name: "amount";
|
|
121
|
-
readonly type: "uint256";
|
|
122
|
-
}];
|
|
123
|
-
readonly name: "Withdrawn";
|
|
124
|
-
readonly type: "event";
|
|
125
|
-
}, {
|
|
126
|
-
readonly inputs: readonly [{
|
|
127
|
-
readonly internalType: "address";
|
|
128
|
-
readonly name: "";
|
|
129
|
-
readonly type: "address";
|
|
130
|
-
}];
|
|
131
|
-
readonly name: "_shares";
|
|
132
|
-
readonly outputs: readonly [{
|
|
133
|
-
readonly internalType: "uint256";
|
|
134
|
-
readonly name: "shares";
|
|
135
|
-
readonly type: "uint256";
|
|
136
|
-
}, {
|
|
137
|
-
readonly internalType: "uint256";
|
|
138
|
-
readonly name: "lastUpdateTime";
|
|
139
|
-
readonly type: "uint256";
|
|
140
|
-
}];
|
|
141
|
-
readonly stateMutability: "view";
|
|
142
|
-
readonly type: "function";
|
|
143
|
-
}, {
|
|
144
|
-
readonly inputs: readonly [{
|
|
145
|
-
readonly internalType: "address";
|
|
146
|
-
readonly name: "account";
|
|
147
|
-
readonly type: "address";
|
|
148
|
-
}, {
|
|
149
|
-
readonly internalType: "address";
|
|
150
|
-
readonly name: "_rewardsToken";
|
|
151
|
-
readonly type: "address";
|
|
152
|
-
}];
|
|
153
|
-
readonly name: "earned";
|
|
154
|
-
readonly outputs: readonly [{
|
|
155
|
-
readonly internalType: "uint256";
|
|
156
|
-
readonly name: "";
|
|
157
|
-
readonly type: "uint256";
|
|
158
|
-
}];
|
|
159
|
-
readonly stateMutability: "view";
|
|
160
|
-
readonly type: "function";
|
|
161
|
-
}, {
|
|
162
|
-
readonly inputs: readonly [];
|
|
163
|
-
readonly name: "infraredVault";
|
|
164
|
-
readonly outputs: readonly [{
|
|
165
|
-
readonly internalType: "contract IInfraredVault";
|
|
166
|
-
readonly name: "";
|
|
167
|
-
readonly type: "address";
|
|
168
|
-
}];
|
|
169
|
-
readonly stateMutability: "view";
|
|
170
|
-
readonly type: "function";
|
|
171
|
-
}, {
|
|
172
|
-
readonly inputs: readonly [];
|
|
173
|
-
readonly name: "paused";
|
|
174
|
-
readonly outputs: readonly [{
|
|
175
|
-
readonly internalType: "bool";
|
|
176
|
-
readonly name: "";
|
|
177
|
-
readonly type: "bool";
|
|
178
|
-
}];
|
|
179
|
-
readonly stateMutability: "view";
|
|
180
|
-
readonly type: "function";
|
|
181
|
-
}, {
|
|
182
|
-
readonly inputs: readonly [{
|
|
183
|
-
readonly internalType: "address";
|
|
184
|
-
readonly name: "account";
|
|
185
|
-
readonly type: "address";
|
|
186
|
-
}];
|
|
187
|
-
readonly name: "shareOf";
|
|
188
|
-
readonly outputs: readonly [{
|
|
189
|
-
readonly internalType: "uint256";
|
|
190
|
-
readonly name: "_share";
|
|
191
|
-
readonly type: "uint256";
|
|
192
|
-
}];
|
|
193
|
-
readonly stateMutability: "view";
|
|
194
|
-
readonly type: "function";
|
|
195
|
-
}, {
|
|
196
|
-
readonly inputs: readonly [];
|
|
197
|
-
readonly name: "totalShares";
|
|
198
|
-
readonly outputs: readonly [{
|
|
199
|
-
readonly internalType: "uint256";
|
|
200
|
-
readonly name: "";
|
|
201
|
-
readonly type: "uint256";
|
|
202
|
-
}];
|
|
203
|
-
readonly stateMutability: "view";
|
|
204
|
-
readonly type: "function";
|
|
205
|
-
}, {
|
|
206
|
-
readonly inputs: readonly [];
|
|
207
|
-
readonly name: "totalStaked";
|
|
208
|
-
readonly outputs: readonly [{
|
|
209
|
-
readonly internalType: "uint256";
|
|
210
|
-
readonly name: "";
|
|
211
|
-
readonly type: "uint256";
|
|
212
|
-
}];
|
|
213
|
-
readonly stateMutability: "view";
|
|
214
|
-
readonly type: "function";
|
|
215
|
-
}];
|
|
216
|
-
static createInterface(): InfraredRewardsInterface;
|
|
217
|
-
static connect(address: string, runner?: ContractRunner | null): InfraredRewards;
|
|
218
|
-
}
|
|
219
|
-
export {};
|