@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
package/dist/nodejs/typechain/factories/contracts/Infrared/TimeWeightedMultiRewards__factory.js
DELETED
|
@@ -1,323 +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.TimeWeightedMultiRewards__factory = void 0;
|
|
7
|
-
const ethers_1 = require("ethers");
|
|
8
|
-
const _abi = [
|
|
9
|
-
{
|
|
10
|
-
inputs: [],
|
|
11
|
-
name: "CantWithdrawRewardToken",
|
|
12
|
-
type: "error",
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
anonymous: false,
|
|
16
|
-
inputs: [
|
|
17
|
-
{
|
|
18
|
-
indexed: false,
|
|
19
|
-
internalType: "uint8",
|
|
20
|
-
name: "version",
|
|
21
|
-
type: "uint8",
|
|
22
|
-
},
|
|
23
|
-
],
|
|
24
|
-
name: "Initialized",
|
|
25
|
-
type: "event",
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
anonymous: false,
|
|
29
|
-
inputs: [
|
|
30
|
-
{
|
|
31
|
-
indexed: false,
|
|
32
|
-
internalType: "address",
|
|
33
|
-
name: "account",
|
|
34
|
-
type: "address",
|
|
35
|
-
},
|
|
36
|
-
],
|
|
37
|
-
name: "Paused",
|
|
38
|
-
type: "event",
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
anonymous: false,
|
|
42
|
-
inputs: [
|
|
43
|
-
{
|
|
44
|
-
indexed: false,
|
|
45
|
-
internalType: "address",
|
|
46
|
-
name: "token",
|
|
47
|
-
type: "address",
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
indexed: false,
|
|
51
|
-
internalType: "uint256",
|
|
52
|
-
name: "amount",
|
|
53
|
-
type: "uint256",
|
|
54
|
-
},
|
|
55
|
-
],
|
|
56
|
-
name: "Recovered",
|
|
57
|
-
type: "event",
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
anonymous: false,
|
|
61
|
-
inputs: [
|
|
62
|
-
{
|
|
63
|
-
indexed: true,
|
|
64
|
-
internalType: "address",
|
|
65
|
-
name: "rewardsToken",
|
|
66
|
-
type: "address",
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
indexed: false,
|
|
70
|
-
internalType: "uint256",
|
|
71
|
-
name: "reward",
|
|
72
|
-
type: "uint256",
|
|
73
|
-
},
|
|
74
|
-
],
|
|
75
|
-
name: "RewardAdded",
|
|
76
|
-
type: "event",
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
anonymous: false,
|
|
80
|
-
inputs: [
|
|
81
|
-
{
|
|
82
|
-
indexed: true,
|
|
83
|
-
internalType: "address",
|
|
84
|
-
name: "user",
|
|
85
|
-
type: "address",
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
indexed: true,
|
|
89
|
-
internalType: "address",
|
|
90
|
-
name: "rewardsToken",
|
|
91
|
-
type: "address",
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
indexed: false,
|
|
95
|
-
internalType: "uint256",
|
|
96
|
-
name: "reward",
|
|
97
|
-
type: "uint256",
|
|
98
|
-
},
|
|
99
|
-
],
|
|
100
|
-
name: "RewardPaid",
|
|
101
|
-
type: "event",
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
anonymous: false,
|
|
105
|
-
inputs: [
|
|
106
|
-
{
|
|
107
|
-
indexed: true,
|
|
108
|
-
internalType: "address",
|
|
109
|
-
name: "user",
|
|
110
|
-
type: "address",
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
indexed: false,
|
|
114
|
-
internalType: "uint256",
|
|
115
|
-
name: "amount",
|
|
116
|
-
type: "uint256",
|
|
117
|
-
},
|
|
118
|
-
],
|
|
119
|
-
name: "Staked",
|
|
120
|
-
type: "event",
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
anonymous: false,
|
|
124
|
-
inputs: [
|
|
125
|
-
{
|
|
126
|
-
indexed: false,
|
|
127
|
-
internalType: "address",
|
|
128
|
-
name: "account",
|
|
129
|
-
type: "address",
|
|
130
|
-
},
|
|
131
|
-
],
|
|
132
|
-
name: "Unpaused",
|
|
133
|
-
type: "event",
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
anonymous: false,
|
|
137
|
-
inputs: [
|
|
138
|
-
{
|
|
139
|
-
indexed: true,
|
|
140
|
-
internalType: "address",
|
|
141
|
-
name: "user",
|
|
142
|
-
type: "address",
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
indexed: false,
|
|
146
|
-
internalType: "uint256",
|
|
147
|
-
name: "amount",
|
|
148
|
-
type: "uint256",
|
|
149
|
-
},
|
|
150
|
-
],
|
|
151
|
-
name: "Withdrawn",
|
|
152
|
-
type: "event",
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
inputs: [
|
|
156
|
-
{
|
|
157
|
-
internalType: "address",
|
|
158
|
-
name: "",
|
|
159
|
-
type: "address",
|
|
160
|
-
},
|
|
161
|
-
],
|
|
162
|
-
name: "_shares",
|
|
163
|
-
outputs: [
|
|
164
|
-
{
|
|
165
|
-
internalType: "uint256",
|
|
166
|
-
name: "shares",
|
|
167
|
-
type: "uint256",
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
internalType: "uint256",
|
|
171
|
-
name: "lastUpdateTime",
|
|
172
|
-
type: "uint256",
|
|
173
|
-
},
|
|
174
|
-
],
|
|
175
|
-
stateMutability: "view",
|
|
176
|
-
type: "function",
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
inputs: [
|
|
180
|
-
{
|
|
181
|
-
internalType: "address",
|
|
182
|
-
name: "account",
|
|
183
|
-
type: "address",
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
internalType: "address",
|
|
187
|
-
name: "_rewardsToken",
|
|
188
|
-
type: "address",
|
|
189
|
-
},
|
|
190
|
-
],
|
|
191
|
-
name: "earned",
|
|
192
|
-
outputs: [
|
|
193
|
-
{
|
|
194
|
-
internalType: "uint256",
|
|
195
|
-
name: "",
|
|
196
|
-
type: "uint256",
|
|
197
|
-
},
|
|
198
|
-
],
|
|
199
|
-
stateMutability: "view",
|
|
200
|
-
type: "function",
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
inputs: [],
|
|
204
|
-
name: "getReward",
|
|
205
|
-
outputs: [],
|
|
206
|
-
stateMutability: "nonpayable",
|
|
207
|
-
type: "function",
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
inputs: [
|
|
211
|
-
{
|
|
212
|
-
internalType: "address",
|
|
213
|
-
name: "_user",
|
|
214
|
-
type: "address",
|
|
215
|
-
},
|
|
216
|
-
],
|
|
217
|
-
name: "getRewardForUser",
|
|
218
|
-
outputs: [],
|
|
219
|
-
stateMutability: "nonpayable",
|
|
220
|
-
type: "function",
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
inputs: [],
|
|
224
|
-
name: "paused",
|
|
225
|
-
outputs: [
|
|
226
|
-
{
|
|
227
|
-
internalType: "bool",
|
|
228
|
-
name: "",
|
|
229
|
-
type: "bool",
|
|
230
|
-
},
|
|
231
|
-
],
|
|
232
|
-
stateMutability: "view",
|
|
233
|
-
type: "function",
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
inputs: [
|
|
237
|
-
{
|
|
238
|
-
internalType: "uint256",
|
|
239
|
-
name: "index",
|
|
240
|
-
type: "uint256",
|
|
241
|
-
},
|
|
242
|
-
],
|
|
243
|
-
name: "rewardTokens",
|
|
244
|
-
outputs: [
|
|
245
|
-
{
|
|
246
|
-
internalType: "address",
|
|
247
|
-
name: "",
|
|
248
|
-
type: "address",
|
|
249
|
-
},
|
|
250
|
-
],
|
|
251
|
-
stateMutability: "view",
|
|
252
|
-
type: "function",
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
inputs: [
|
|
256
|
-
{
|
|
257
|
-
internalType: "address",
|
|
258
|
-
name: "account",
|
|
259
|
-
type: "address",
|
|
260
|
-
},
|
|
261
|
-
],
|
|
262
|
-
name: "shareOf",
|
|
263
|
-
outputs: [
|
|
264
|
-
{
|
|
265
|
-
internalType: "uint256",
|
|
266
|
-
name: "_share",
|
|
267
|
-
type: "uint256",
|
|
268
|
-
},
|
|
269
|
-
],
|
|
270
|
-
stateMutability: "view",
|
|
271
|
-
type: "function",
|
|
272
|
-
},
|
|
273
|
-
{
|
|
274
|
-
inputs: [],
|
|
275
|
-
name: "stakingToken",
|
|
276
|
-
outputs: [
|
|
277
|
-
{
|
|
278
|
-
internalType: "contract ERC20",
|
|
279
|
-
name: "",
|
|
280
|
-
type: "address",
|
|
281
|
-
},
|
|
282
|
-
],
|
|
283
|
-
stateMutability: "view",
|
|
284
|
-
type: "function",
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
inputs: [],
|
|
288
|
-
name: "totalShares",
|
|
289
|
-
outputs: [
|
|
290
|
-
{
|
|
291
|
-
internalType: "uint256",
|
|
292
|
-
name: "",
|
|
293
|
-
type: "uint256",
|
|
294
|
-
},
|
|
295
|
-
],
|
|
296
|
-
stateMutability: "view",
|
|
297
|
-
type: "function",
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
inputs: [],
|
|
301
|
-
name: "totalStaked",
|
|
302
|
-
outputs: [
|
|
303
|
-
{
|
|
304
|
-
internalType: "uint256",
|
|
305
|
-
name: "",
|
|
306
|
-
type: "uint256",
|
|
307
|
-
},
|
|
308
|
-
],
|
|
309
|
-
stateMutability: "view",
|
|
310
|
-
type: "function",
|
|
311
|
-
},
|
|
312
|
-
];
|
|
313
|
-
class TimeWeightedMultiRewards__factory {
|
|
314
|
-
static createInterface() {
|
|
315
|
-
return new ethers_1.Interface(_abi);
|
|
316
|
-
}
|
|
317
|
-
static connect(address, runner) {
|
|
318
|
-
return new ethers_1.Contract(address, _abi, runner);
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
exports.TimeWeightedMultiRewards__factory = TimeWeightedMultiRewards__factory;
|
|
322
|
-
TimeWeightedMultiRewards__factory.abi = _abi;
|
|
323
|
-
//# sourceMappingURL=TimeWeightedMultiRewards__factory.js.map
|
package/dist/nodejs/typechain/factories/contracts/Infrared/TimeWeightedMultiRewards__factory.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TimeWeightedMultiRewards__factory.js","sourceRoot":"","sources":["../../../../../../src/typechain/factories/contracts/Infrared/TimeWeightedMultiRewards__factory.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;;;AAEpB,mCAAkE;AAMlE,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,OAAO;KACd;IACD;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,KAAK;gBACd,YAAY,EAAE,OAAO;gBACrB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,OAAO;aACd;SACF;QACD,IAAI,EAAE,aAAa;QACnB,IAAI,EAAE,OAAO;KACd;IACD;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,KAAK;gBACd,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,OAAO;KACd;IACD;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,KAAK;gBACd,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,KAAK;gBACd,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,OAAO;KACd;IACD;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,cAAc;gBAC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IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,aAAa;QACnB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;CACO,CAAC;AAEX,MAAa,iCAAiC;IAE5C,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,kBAAS,CAAC,IAAI,CAAsC,CAAC;IAClE,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,MAA8B;QAE9B,OAAO,IAAI,iBAAQ,CACjB,OAAO,EACP,IAAI,EACJ,MAAM,CACgC,CAAC;IAC3C,CAAC;;AAdH,8EAeC;AAdiB,qCAAG,GAAG,IAAI,CAAC"}
|
package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerLP__factory.d.ts
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { type ContractRunner } from "ethers";
|
|
2
|
-
import type { IBalancerLP, IBalancerLPInterface } from "../../../../contracts/Interfaces/Balancer.sol/IBalancerLP";
|
|
3
|
-
export declare class IBalancerLP__factory {
|
|
4
|
-
static readonly abi: readonly [{
|
|
5
|
-
readonly inputs: readonly [];
|
|
6
|
-
readonly name: "getPoolId";
|
|
7
|
-
readonly outputs: readonly [{
|
|
8
|
-
readonly internalType: "bytes32";
|
|
9
|
-
readonly name: "";
|
|
10
|
-
readonly type: "bytes32";
|
|
11
|
-
}];
|
|
12
|
-
readonly stateMutability: "view";
|
|
13
|
-
readonly type: "function";
|
|
14
|
-
}, {
|
|
15
|
-
readonly inputs: readonly [];
|
|
16
|
-
readonly name: "getVault";
|
|
17
|
-
readonly outputs: readonly [{
|
|
18
|
-
readonly internalType: "address";
|
|
19
|
-
readonly name: "";
|
|
20
|
-
readonly type: "address";
|
|
21
|
-
}];
|
|
22
|
-
readonly stateMutability: "view";
|
|
23
|
-
readonly type: "function";
|
|
24
|
-
}, {
|
|
25
|
-
readonly inputs: readonly [];
|
|
26
|
-
readonly name: "totalSupply";
|
|
27
|
-
readonly outputs: readonly [{
|
|
28
|
-
readonly internalType: "uint256";
|
|
29
|
-
readonly name: "";
|
|
30
|
-
readonly type: "uint256";
|
|
31
|
-
}];
|
|
32
|
-
readonly stateMutability: "view";
|
|
33
|
-
readonly type: "function";
|
|
34
|
-
}];
|
|
35
|
-
static createInterface(): IBalancerLPInterface;
|
|
36
|
-
static connect(address: string, runner?: ContractRunner | null): IBalancerLP;
|
|
37
|
-
}
|
package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerLP__factory.js
DELETED
|
@@ -1,59 +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.IBalancerLP__factory = void 0;
|
|
7
|
-
const ethers_1 = require("ethers");
|
|
8
|
-
const _abi = [
|
|
9
|
-
{
|
|
10
|
-
inputs: [],
|
|
11
|
-
name: "getPoolId",
|
|
12
|
-
outputs: [
|
|
13
|
-
{
|
|
14
|
-
internalType: "bytes32",
|
|
15
|
-
name: "",
|
|
16
|
-
type: "bytes32",
|
|
17
|
-
},
|
|
18
|
-
],
|
|
19
|
-
stateMutability: "view",
|
|
20
|
-
type: "function",
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
inputs: [],
|
|
24
|
-
name: "getVault",
|
|
25
|
-
outputs: [
|
|
26
|
-
{
|
|
27
|
-
internalType: "address",
|
|
28
|
-
name: "",
|
|
29
|
-
type: "address",
|
|
30
|
-
},
|
|
31
|
-
],
|
|
32
|
-
stateMutability: "view",
|
|
33
|
-
type: "function",
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
inputs: [],
|
|
37
|
-
name: "totalSupply",
|
|
38
|
-
outputs: [
|
|
39
|
-
{
|
|
40
|
-
internalType: "uint256",
|
|
41
|
-
name: "",
|
|
42
|
-
type: "uint256",
|
|
43
|
-
},
|
|
44
|
-
],
|
|
45
|
-
stateMutability: "view",
|
|
46
|
-
type: "function",
|
|
47
|
-
},
|
|
48
|
-
];
|
|
49
|
-
class IBalancerLP__factory {
|
|
50
|
-
static createInterface() {
|
|
51
|
-
return new ethers_1.Interface(_abi);
|
|
52
|
-
}
|
|
53
|
-
static connect(address, runner) {
|
|
54
|
-
return new ethers_1.Contract(address, _abi, runner);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
exports.IBalancerLP__factory = IBalancerLP__factory;
|
|
58
|
-
IBalancerLP__factory.abi = _abi;
|
|
59
|
-
//# sourceMappingURL=IBalancerLP__factory.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IBalancerLP__factory.js","sourceRoot":"","sources":["../../../../../../../src/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerLP__factory.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;;;AAEpB,mCAAkE;AAMlE,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,WAAW;QACjB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,UAAU;QAChB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,aAAa;QACnB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;CACO,CAAC;AAEX,MAAa,oBAAoB;IAE/B,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,kBAAS,CAAC,IAAI,CAAyB,CAAC;IACrD,CAAC;IACD,MAAM,CAAC,OAAO,CAAC,OAAe,EAAE,MAA8B;QAC5D,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,CAA2B,CAAC;IACvE,CAAC;;AAPH,oDAQC;AAPiB,wBAAG,GAAG,IAAI,CAAC"}
|
|
@@ -1,158 +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 { BalancerLPAdapter, BalancerLPAdapterInterface } from "../../../../contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter";
|
|
5
|
-
type BalancerLPAdapterConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
|
|
6
|
-
export declare class BalancerLPAdapter__factory extends ContractFactory {
|
|
7
|
-
constructor(...args: BalancerLPAdapterConstructorParams);
|
|
8
|
-
getDeployTransaction(_correlatedToken: AddressLike, _underlyingToken: AddressLike, _priceOracle: AddressLike, overrides?: NonPayableOverrides & {
|
|
9
|
-
from?: string;
|
|
10
|
-
}): Promise<ContractDeployTransaction>;
|
|
11
|
-
deploy(_correlatedToken: AddressLike, _underlyingToken: AddressLike, _priceOracle: AddressLike, overrides?: NonPayableOverrides & {
|
|
12
|
-
from?: string;
|
|
13
|
-
}): Promise<BalancerLPAdapter & {
|
|
14
|
-
deploymentTransaction(): ContractTransactionResponse;
|
|
15
|
-
}>;
|
|
16
|
-
connect(runner: ContractRunner | null): BalancerLPAdapter__factory;
|
|
17
|
-
static readonly bytecode = "0x608080604052346101785760608161093d803803809161001f82856101d2565b8339810103126101785761004b60406100378361020b565b926100446020820161020b565b500161020b565b600380546001600160a01b031990811690915560028054918216339081179091556040519293916001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3600180546001600160a01b039283166001600160a01b03199182168117909255600480549590931694169390931781556311b2515f60e31b8252602090829081855afa90811561018557600091610191575b50600580546001600160a01b0319166001600160a01b0390921691909117905560405163038fff2d60e41b815290602090829060049082905afa9081156101855760009161014e575b5060065560405161071d90816102208239f35b90506020813d60201161017d575b81610169602093836101d2565b8101031261017857513861013b565b600080fd5b3d915061015c565b6040513d6000823e3d90fd5b90506020813d6020116101ca575b816101ac602093836101d2565b81010312610178576004916101c260209261020b565b9150916100f2565b3d915061019f565b601f909101601f19168101906001600160401b038211908210176101f557604052565b634e487b7160e01b600052604160045260246000fd5b51906001600160a01b03821682036101785756fe608080604052600436101561001357600080fd5b60003560e01c9081632630c12f146105f1575080633ba0b9a9146102c65780633e0dc34e146102a8578063715018a61461024157806379ba5097146101755780638da5cb5b1461014c578063e30c397814610123578063f2fde38b146100b05763fbfa77cf1461008257600080fd5b346100ab5760003660031901126100ab576005546040516001600160a01b039091168152602090f35b600080fd5b346100ab5760203660031901126100ab576004356001600160a01b038116908190036100ab576100de61068f565b600380546001600160a01b031916821790556002546001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700600080a3005b346100ab5760003660031901126100ab576003546040516001600160a01b039091168152602090f35b346100ab5760003660031901126100ab576002546040516001600160a01b039091168152602090f35b346100ab5760003660031901126100ab57600354336001600160a01b03909116036101ea57600380546001600160a01b0319908116909155600280543392811683179091556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3005b60405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f7420746865206044820152683732bb9037bbb732b960b91b6064820152608490fd5b346100ab5760003660031901126100ab5761025a61068f565b600380546001600160a01b03199081169091556002805491821690556000906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b346100ab5760003660031901126100ab576020600654604051908152f35b346100ab5760003660031901126100ab57600060018060a01b036005541681600654602460405180948193631f29a8cd60e31b835260048301525afa80156105e657829183916104be575b506001546040516318160ddd60e01b8152926001600160a01b039091169190602084600481865afa9384156104b357859461047b575b50845b8151811015610451576001600160a01b036103658284610665565b5116848103610378575b5060010161034a565b602060018060a09994991b0360045416916024604051809481936341976e0960e01b835260048301525afa90811561044557600091610411575b508015610401576103c38785610665565b51808202918204036103eb57670de0b6b3a7640000900481018091116103eb5794600161036f565b634e487b7160e01b600052601160045260246000fd5b62bfc92160e01b60005260046000fd5b906020823d821161043d575b8161042a60209383610615565b8101031261043a575051876103b2565b80fd5b3d915061041d565b6040513d6000823e3d90fd5b858580156104655760209104604051908152f35b634e487b7160e01b600052601260045260246000fd5b9093506020813d6020116104ab575b8161049760209383610615565b810103126104a757519285610347565b8480fd5b3d915061048a565b6040513d87823e3d90fd5b9150503d8083833e6104d08183610615565b8101906060818303126105e257805167ffffffffffffffff81116105b65781019082601f830112156105b65781516105078161064d565b926105156040519485610615565b81845260208085019260051b820101908582116105de57602001915b8183106105ba5750505060208101519067ffffffffffffffff82116104a757019180601f840112156105b65782516105688161064d565b936105766040519586610615565b81855260208086019260051b8201019283116105b257602001905b8282106105a2575050509083610311565b8151815260209182019101610591565b8580fd5b8380fd5b82516001600160a01b03811681036105da57815260209283019201610531565b8780fd5b8680fd5b8280fd5b6040513d84823e3d90fd5b346100ab5760003660031901126100ab576004546001600160a01b03168152602090f35b90601f8019910116810190811067ffffffffffffffff82111761063757604052565b634e487b7160e01b600052604160045260246000fd5b67ffffffffffffffff81116106375760051b60200190565b80518210156106795760209160051b010190565b634e487b7160e01b600052603260045260246000fd5b6002546001600160a01b031633036106a357565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fdfea26469706673582212202749659f44e1abae8be6de81ae2937722db0a8fd7834a626143bdd2f92c9e72264736f6c634300081a0033";
|
|
18
|
-
static readonly abi: readonly [{
|
|
19
|
-
readonly inputs: readonly [{
|
|
20
|
-
readonly internalType: "address";
|
|
21
|
-
readonly name: "_correlatedToken";
|
|
22
|
-
readonly type: "address";
|
|
23
|
-
}, {
|
|
24
|
-
readonly internalType: "address";
|
|
25
|
-
readonly name: "_underlyingToken";
|
|
26
|
-
readonly type: "address";
|
|
27
|
-
}, {
|
|
28
|
-
readonly internalType: "address";
|
|
29
|
-
readonly name: "_priceOracle";
|
|
30
|
-
readonly type: "address";
|
|
31
|
-
}];
|
|
32
|
-
readonly stateMutability: "nonpayable";
|
|
33
|
-
readonly type: "constructor";
|
|
34
|
-
}, {
|
|
35
|
-
readonly inputs: readonly [];
|
|
36
|
-
readonly name: "InvalidPrice";
|
|
37
|
-
readonly type: "error";
|
|
38
|
-
}, {
|
|
39
|
-
readonly inputs: readonly [];
|
|
40
|
-
readonly name: "InvalidProxy";
|
|
41
|
-
readonly type: "error";
|
|
42
|
-
}, {
|
|
43
|
-
readonly anonymous: false;
|
|
44
|
-
readonly inputs: readonly [{
|
|
45
|
-
readonly indexed: true;
|
|
46
|
-
readonly internalType: "address";
|
|
47
|
-
readonly name: "previousOwner";
|
|
48
|
-
readonly type: "address";
|
|
49
|
-
}, {
|
|
50
|
-
readonly indexed: true;
|
|
51
|
-
readonly internalType: "address";
|
|
52
|
-
readonly name: "newOwner";
|
|
53
|
-
readonly type: "address";
|
|
54
|
-
}];
|
|
55
|
-
readonly name: "OwnershipTransferStarted";
|
|
56
|
-
readonly type: "event";
|
|
57
|
-
}, {
|
|
58
|
-
readonly anonymous: false;
|
|
59
|
-
readonly inputs: readonly [{
|
|
60
|
-
readonly indexed: true;
|
|
61
|
-
readonly internalType: "address";
|
|
62
|
-
readonly name: "previousOwner";
|
|
63
|
-
readonly type: "address";
|
|
64
|
-
}, {
|
|
65
|
-
readonly indexed: true;
|
|
66
|
-
readonly internalType: "address";
|
|
67
|
-
readonly name: "newOwner";
|
|
68
|
-
readonly type: "address";
|
|
69
|
-
}];
|
|
70
|
-
readonly name: "OwnershipTransferred";
|
|
71
|
-
readonly type: "event";
|
|
72
|
-
}, {
|
|
73
|
-
readonly inputs: readonly [];
|
|
74
|
-
readonly name: "acceptOwnership";
|
|
75
|
-
readonly outputs: readonly [];
|
|
76
|
-
readonly stateMutability: "nonpayable";
|
|
77
|
-
readonly type: "function";
|
|
78
|
-
}, {
|
|
79
|
-
readonly inputs: readonly [];
|
|
80
|
-
readonly name: "exchangeRate";
|
|
81
|
-
readonly outputs: readonly [{
|
|
82
|
-
readonly internalType: "uint256";
|
|
83
|
-
readonly name: "";
|
|
84
|
-
readonly type: "uint256";
|
|
85
|
-
}];
|
|
86
|
-
readonly stateMutability: "view";
|
|
87
|
-
readonly type: "function";
|
|
88
|
-
}, {
|
|
89
|
-
readonly inputs: readonly [];
|
|
90
|
-
readonly name: "owner";
|
|
91
|
-
readonly outputs: readonly [{
|
|
92
|
-
readonly internalType: "address";
|
|
93
|
-
readonly name: "";
|
|
94
|
-
readonly type: "address";
|
|
95
|
-
}];
|
|
96
|
-
readonly stateMutability: "view";
|
|
97
|
-
readonly type: "function";
|
|
98
|
-
}, {
|
|
99
|
-
readonly inputs: readonly [];
|
|
100
|
-
readonly name: "pendingOwner";
|
|
101
|
-
readonly outputs: readonly [{
|
|
102
|
-
readonly internalType: "address";
|
|
103
|
-
readonly name: "";
|
|
104
|
-
readonly type: "address";
|
|
105
|
-
}];
|
|
106
|
-
readonly stateMutability: "view";
|
|
107
|
-
readonly type: "function";
|
|
108
|
-
}, {
|
|
109
|
-
readonly inputs: readonly [];
|
|
110
|
-
readonly name: "poolId";
|
|
111
|
-
readonly outputs: readonly [{
|
|
112
|
-
readonly internalType: "bytes32";
|
|
113
|
-
readonly name: "";
|
|
114
|
-
readonly type: "bytes32";
|
|
115
|
-
}];
|
|
116
|
-
readonly stateMutability: "view";
|
|
117
|
-
readonly type: "function";
|
|
118
|
-
}, {
|
|
119
|
-
readonly inputs: readonly [];
|
|
120
|
-
readonly name: "priceOracle";
|
|
121
|
-
readonly outputs: readonly [{
|
|
122
|
-
readonly internalType: "contract IPriceOracle";
|
|
123
|
-
readonly name: "";
|
|
124
|
-
readonly type: "address";
|
|
125
|
-
}];
|
|
126
|
-
readonly stateMutability: "view";
|
|
127
|
-
readonly type: "function";
|
|
128
|
-
}, {
|
|
129
|
-
readonly inputs: readonly [];
|
|
130
|
-
readonly name: "renounceOwnership";
|
|
131
|
-
readonly outputs: readonly [];
|
|
132
|
-
readonly stateMutability: "nonpayable";
|
|
133
|
-
readonly type: "function";
|
|
134
|
-
}, {
|
|
135
|
-
readonly inputs: readonly [{
|
|
136
|
-
readonly internalType: "address";
|
|
137
|
-
readonly name: "newOwner";
|
|
138
|
-
readonly type: "address";
|
|
139
|
-
}];
|
|
140
|
-
readonly name: "transferOwnership";
|
|
141
|
-
readonly outputs: readonly [];
|
|
142
|
-
readonly stateMutability: "nonpayable";
|
|
143
|
-
readonly type: "function";
|
|
144
|
-
}, {
|
|
145
|
-
readonly inputs: readonly [];
|
|
146
|
-
readonly name: "vault";
|
|
147
|
-
readonly outputs: readonly [{
|
|
148
|
-
readonly internalType: "contract IBalancerVault";
|
|
149
|
-
readonly name: "";
|
|
150
|
-
readonly type: "address";
|
|
151
|
-
}];
|
|
152
|
-
readonly stateMutability: "view";
|
|
153
|
-
readonly type: "function";
|
|
154
|
-
}];
|
|
155
|
-
static createInterface(): BalancerLPAdapterInterface;
|
|
156
|
-
static connect(address: string, runner?: ContractRunner | null): BalancerLPAdapter;
|
|
157
|
-
}
|
|
158
|
-
export {};
|