@gearbox-protocol/sdk 3.0.0-next.102 → 3.0.0-next.104
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/lib/core/creditManager.d.ts +1 -0
- package/lib/core/creditManager.js +5 -0
- package/lib/core/strategy.d.ts +5 -7
- package/lib/core/strategy.js +4 -6
- package/lib/index.d.ts +1 -3
- package/lib/index.js +1 -3
- package/lib/parsers/ERC20Parser.js +1 -1
- package/lib/parsers/aaveV2LendingPoolAdapterParser.d.ts +7 -0
- package/lib/parsers/aaveV2LendingPoolAdapterParser.js +21 -0
- package/lib/parsers/aaveV2WrappedATokenAdapterParser.d.ts +7 -0
- package/lib/parsers/aaveV2WrappedATokenAdapterParser.js +21 -0
- package/lib/parsers/abstractParser.d.ts +7 -5
- package/lib/parsers/abstractParser.js +3 -0
- package/lib/parsers/addressProviderParser.js +1 -1
- package/lib/parsers/balancerV2VaultParser.d.ts +7 -0
- package/lib/parsers/balancerV2VaultParser.js +34 -0
- package/lib/parsers/compoundV2CTokenAdapterParser.d.ts +7 -0
- package/lib/parsers/compoundV2CTokenAdapterParser.js +21 -0
- package/lib/parsers/convexBaseRewardPoolAdapterParser.js +1 -1
- package/lib/parsers/convexBoosterAdapterParser.js +1 -1
- package/lib/parsers/convextRewardPoolParser.js +1 -1
- package/lib/parsers/creditFacadeParser.js +1 -1
- package/lib/parsers/creditManagerParser.js +1 -1
- package/lib/parsers/curveAdapterParser.js +1 -1
- package/lib/parsers/erc626AdapterParser.d.ts +7 -0
- package/lib/parsers/erc626AdapterParser.js +21 -0
- package/lib/parsers/lidoAdapterParser.js +1 -1
- package/lib/parsers/lidoSTETHParser.js +1 -1
- package/lib/parsers/poolParser.js +1 -1
- package/lib/parsers/priceOracleParser.js +1 -1
- package/lib/parsers/txParser.d.ts +17 -11
- package/lib/parsers/txParser.js +36 -5
- package/lib/parsers/uniV2AdapterParser.js +1 -1
- package/lib/parsers/uniV3AdapterParser.js +1 -1
- package/lib/parsers/wstETHAdapterParser.js +1 -1
- package/lib/parsers/yearnV2AdapterParser.js +1 -1
- package/lib/pathfinder/index.d.ts +4 -0
- package/lib/pathfinder/index.js +20 -0
- package/lib/pathfinder/utils.d.ts +35 -0
- package/lib/pathfinder/utils.js +182 -0
- package/lib/types/contracts/index.d.ts +2 -0
- package/lib/types/contracts/interfaces/IGasPricer.d.ts +44 -0
- package/lib/types/contracts/interfaces/IGasPricer.js +2 -0
- package/lib/types/contracts/interfaces/index.d.ts +1 -0
- package/lib/types/contracts/interfaces/index.js +2 -0
- package/lib/types/factories/AddressProvider__factory.d.ts +111 -111
- package/lib/types/factories/AddressProvider__factory.js +119 -119
- package/lib/types/factories/Balances.sol/BalanceOps__factory.d.ts +3 -3
- package/lib/types/factories/Balances.sol/BalanceOps__factory.js +3 -3
- package/lib/types/factories/CalldataExtractor__factory.d.ts +34 -34
- package/lib/types/factories/CalldataExtractor__factory.js +37 -37
- package/lib/types/factories/Claimable__factory.d.ts +28 -28
- package/lib/types/factories/Claimable__factory.js +32 -32
- package/lib/types/factories/ERC20__factory.d.ts +89 -89
- package/lib/types/factories/ERC20__factory.js +99 -99
- package/lib/types/factories/Errors__factory.d.ts +99 -99
- package/lib/types/factories/Errors__factory.js +99 -99
- package/lib/types/factories/FarmAccounting__factory.d.ts +6 -6
- package/lib/types/factories/FarmAccounting__factory.js +6 -6
- package/lib/types/factories/IAaveV2_LendingPoolAdapter__factory.d.ts +42 -42
- package/lib/types/factories/IAaveV2_LendingPoolAdapter__factory.js +42 -42
- package/lib/types/factories/IAaveV2_WrappedATokenAdapter__factory.d.ts +70 -70
- package/lib/types/factories/IAaveV2_WrappedATokenAdapter__factory.js +70 -70
- package/lib/types/factories/IAdapter__factory.d.ts +15 -15
- package/lib/types/factories/IAdapter__factory.js +15 -15
- package/lib/types/factories/IAddressProvider.sol/IAddressProviderEvents__factory.d.ts +7 -7
- package/lib/types/factories/IAddressProvider.sol/IAddressProviderEvents__factory.js +7 -7
- package/lib/types/factories/IAddressProvider.sol/IAddressProvider__factory.d.ts +48 -48
- package/lib/types/factories/IAddressProvider.sol/IAddressProvider__factory.js +52 -52
- package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3Events__factory.d.ts +9 -9
- package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3Events__factory.js +9 -9
- package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3__factory.d.ts +37 -37
- package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3__factory.js +42 -42
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributorEvents__factory.d.ts +25 -25
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributorEvents__factory.js +25 -25
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributor__factory.d.ts +71 -71
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributor__factory.js +85 -85
- package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2VaultGetters__factory.d.ts +19 -19
- package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2VaultGetters__factory.js +19 -19
- package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2Vault__factory.d.ts +106 -106
- package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2Vault__factory.js +106 -106
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents__factory.d.ts +7 -7
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents__factory.js +7 -7
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions__factory.d.ts +2 -2
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions__factory.js +2 -2
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter__factory.d.ts +161 -161
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter__factory.js +166 -166
- package/lib/types/factories/IBaseRewardPool__factory.d.ts +114 -114
- package/lib/types/factories/IBaseRewardPool__factory.js +114 -114
- package/lib/types/factories/IBotListV3.sol/IBotListV3Events__factory.d.ts +38 -38
- package/lib/types/factories/IBotListV3.sol/IBotListV3Events__factory.js +43 -43
- package/lib/types/factories/IBotListV3.sol/IBotListV3__factory.d.ts +152 -152
- package/lib/types/factories/IBotListV3.sol/IBotListV3__factory.js +170 -170
- package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter__factory.d.ts +60 -60
- package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter__factory.js +63 -63
- package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions__factory.d.ts +3 -3
- package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions__factory.js +3 -3
- package/lib/types/factories/IContractsRegister.sol/IContractsRegisterEvents__factory.d.ts +10 -10
- package/lib/types/factories/IContractsRegister.sol/IContractsRegisterEvents__factory.js +10 -10
- package/lib/types/factories/IContractsRegister.sol/IContractsRegister__factory.d.ts +51 -51
- package/lib/types/factories/IContractsRegister.sol/IContractsRegister__factory.js +57 -57
- package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3Events__factory.d.ts +30 -30
- package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3Events__factory.js +30 -30
- package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3__factory.d.ts +165 -165
- package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3__factory.js +182 -182
- package/lib/types/factories/IConvexToken__factory.d.ts +86 -86
- package/lib/types/factories/IConvexToken__factory.js +96 -96
- package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.d.ts +80 -80
- package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.js +80 -80
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents__factory.d.ts +7 -7
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents__factory.js +7 -7
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory.d.ts +62 -62
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory.js +66 -66
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Events__factory.d.ts +121 -121
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Events__factory.js +127 -127
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Exceptions__factory.d.ts +18 -18
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Exceptions__factory.js +18 -18
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2__factory.d.ts +376 -376
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2__factory.js +417 -417
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events__factory.d.ts +118 -118
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events__factory.js +127 -127
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3__factory.d.ts +395 -395
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3__factory.js +420 -420
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Events__factory.d.ts +107 -107
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Events__factory.js +118 -118
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Exceptions__factory.d.ts +65 -65
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Exceptions__factory.js +65 -65
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Extended__factory.d.ts +23 -23
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Extended__factory.js +23 -23
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2V2__factory.d.ts +5 -5
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2V2__factory.js +5 -5
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2__factory.d.ts +601 -601
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2__factory.js +749 -749
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.d.ts +72 -72
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.js +80 -80
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.d.ts +288 -288
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.js +397 -397
- package/lib/types/factories/ICreditFacadeV3Multicall__factory.d.ts +59 -59
- package/lib/types/factories/ICreditFacadeV3Multicall__factory.js +59 -59
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Events__factory.d.ts +11 -11
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Events__factory.js +12 -12
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Exceptions__factory.d.ts +26 -26
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Exceptions__factory.js +26 -26
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2__factory.d.ts +252 -252
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2__factory.js +272 -272
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3Events__factory.d.ts +5 -5
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3Events__factory.js +5 -5
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.d.ts +294 -294
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.js +297 -297
- package/lib/types/factories/ICurvePool_2.sol/ICurvePool2Assets__factory.d.ts +191 -191
- package/lib/types/factories/ICurvePool_2.sol/ICurvePool2Assets__factory.js +191 -191
- package/lib/types/factories/ICurvePool_3.sol/ICurvePool3Assets__factory.d.ts +191 -191
- package/lib/types/factories/ICurvePool_3.sol/ICurvePool3Assets__factory.js +191 -191
- package/lib/types/factories/ICurvePool_4.sol/ICurvePool4Assets__factory.d.ts +191 -191
- package/lib/types/factories/ICurvePool_4.sol/ICurvePool4Assets__factory.js +191 -191
- package/lib/types/factories/ICurvePool__factory.d.ts +159 -159
- package/lib/types/factories/ICurvePool__factory.js +159 -159
- package/lib/types/factories/ICurveV1Adapter__factory.d.ts +169 -169
- package/lib/types/factories/ICurveV1Adapter__factory.js +169 -169
- package/lib/types/factories/ICurveV1_2AssetsAdapter__factory.d.ts +187 -187
- package/lib/types/factories/ICurveV1_2AssetsAdapter__factory.js +187 -187
- package/lib/types/factories/ICurveV1_3AssetsAdapter__factory.d.ts +187 -187
- package/lib/types/factories/ICurveV1_3AssetsAdapter__factory.js +187 -187
- package/lib/types/factories/ICurveV1_4AssetsAdapter__factory.d.ts +187 -187
- package/lib/types/factories/ICurveV1_4AssetsAdapter__factory.js +187 -187
- package/lib/types/factories/IDaiLikePermit__factory.d.ts +10 -10
- package/lib/types/factories/IDaiLikePermit__factory.js +10 -10
- package/lib/types/factories/IDataCompressorV2_10__factory.d.ts +334 -334
- package/lib/types/factories/IDataCompressorV2_10__factory.js +334 -334
- package/lib/types/factories/IDataCompressorV3_00__factory.d.ts +454 -454
- package/lib/types/factories/IDataCompressorV3_00__factory.js +454 -454
- package/lib/types/factories/IDegenDistributor.sol/IDegenDistributorEvents__factory.d.ts +14 -14
- package/lib/types/factories/IDegenDistributor.sol/IDegenDistributorEvents__factory.js +14 -14
- package/lib/types/factories/IDegenDistributor.sol/IDegenDistributor__factory.d.ts +43 -43
- package/lib/types/factories/IDegenDistributor.sol/IDegenDistributor__factory.js +51 -51
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Events__factory.d.ts +15 -15
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Events__factory.js +15 -15
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Exceptions__factory.d.ts +8 -8
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Exceptions__factory.js +8 -8
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2__factory.d.ts +180 -180
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2__factory.js +208 -208
- package/lib/types/factories/IERC165__factory.d.ts +4 -4
- package/lib/types/factories/IERC165__factory.js +4 -4
- package/lib/types/factories/IERC20Metadata__factory.d.ts +76 -76
- package/lib/types/factories/IERC20Metadata__factory.js +86 -86
- package/lib/types/factories/IERC20Permit__factory.d.ts +16 -16
- package/lib/types/factories/IERC20Permit__factory.js +16 -16
- package/lib/types/factories/IERC20ZapperDeposits__factory.d.ts +30 -30
- package/lib/types/factories/IERC20ZapperDeposits__factory.js +30 -30
- package/lib/types/factories/IERC20__factory.d.ts +67 -67
- package/lib/types/factories/IERC20__factory.js +77 -77
- package/lib/types/factories/IERC4626Adapter__factory.d.ts +60 -60
- package/lib/types/factories/IERC4626Adapter__factory.js +60 -60
- package/lib/types/factories/IERC4626__factory.d.ts +198 -198
- package/lib/types/factories/IERC4626__factory.js +221 -221
- package/lib/types/factories/IERC721Metadata__factory.d.ts +114 -114
- package/lib/types/factories/IERC721Metadata__factory.js +129 -129
- package/lib/types/factories/IERC721__factory.d.ts +104 -104
- package/lib/types/factories/IERC721__factory.js +119 -119
- package/lib/types/factories/IETHZapperDeposits__factory.d.ts +9 -9
- package/lib/types/factories/IETHZapperDeposits__factory.js +9 -9
- package/lib/types/factories/IFarmingPool__factory.d.ts +134 -134
- package/lib/types/factories/IFarmingPool__factory.js +152 -152
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3Events__factory.d.ts +46 -46
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3Events__factory.js +50 -50
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3__factory.d.ts +172 -172
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3__factory.js +200 -200
- package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3Events__factory.d.ts +48 -48
- package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3Events__factory.js +49 -49
- package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3__factory.d.ts +225 -225
- package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3__factory.js +253 -253
- package/lib/types/factories/IInterestRateModel__factory.d.ts +8 -8
- package/lib/types/factories/IInterestRateModel__factory.js +8 -8
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedEvents__factory.d.ts +11 -11
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedEvents__factory.js +12 -12
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory.d.ts +10 -10
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory.js +10 -10
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeed__factory.d.ts +107 -107
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeed__factory.js +119 -119
- package/lib/types/factories/ILidoV1Adapter__factory.d.ts +40 -40
- package/lib/types/factories/ILidoV1Adapter__factory.js +40 -40
- package/lib/types/factories/ILinearInterestRateModelV3__factory.d.ts +25 -25
- package/lib/types/factories/ILinearInterestRateModelV3__factory.js +25 -25
- package/lib/types/factories/IOffchainOracle__factory.d.ts +11 -11
- package/lib/types/factories/IOffchainOracle__factory.js +11 -11
- package/lib/types/factories/IPermit2__factory.d.ts +33 -33
- package/lib/types/factories/IPermit2__factory.js +33 -33
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events__factory.d.ts +44 -44
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events__factory.js +45 -45
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3__factory.d.ts +190 -190
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3__factory.js +216 -216
- package/lib/types/factories/IPoolService.sol/IPoolServiceEvents__factory.d.ts +66 -66
- package/lib/types/factories/IPoolService.sol/IPoolServiceEvents__factory.js +72 -72
- package/lib/types/factories/IPoolService.sol/IPoolService__factory.d.ts +235 -235
- package/lib/types/factories/IPoolService.sol/IPoolService__factory.js +286 -286
- package/lib/types/factories/IPoolV3.sol/IPoolV3Events__factory.d.ts +65 -65
- package/lib/types/factories/IPoolV3.sol/IPoolV3Events__factory.js +68 -68
- package/lib/types/factories/IPoolV3.sol/IPoolV3__factory.d.ts +574 -574
- package/lib/types/factories/IPoolV3.sol/IPoolV3__factory.js +696 -696
- package/lib/types/factories/IPriceFeed.sol/IPriceFeed__factory.d.ts +22 -22
- package/lib/types/factories/IPriceFeed.sol/IPriceFeed__factory.js +22 -22
- package/lib/types/factories/IPriceFeed.sol/IUpdatablePriceFeed__factory.d.ts +28 -28
- package/lib/types/factories/IPriceFeed.sol/IUpdatablePriceFeed__factory.js +28 -28
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Events__factory.d.ts +6 -6
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Events__factory.js +7 -7
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.d.ts +6 -6
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.js +6 -6
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Ext__factory.d.ts +71 -71
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Ext__factory.js +78 -78
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2__factory.d.ts +68 -68
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2__factory.js +75 -75
- package/lib/types/factories/IPriceOracleBase__factory.d.ts +27 -27
- package/lib/types/factories/IPriceOracleBase__factory.js +27 -27
- package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory.d.ts +28 -28
- package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory.js +31 -31
- package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3__factory.d.ts +139 -139
- package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3__factory.js +156 -156
- package/lib/types/factories/IRouterV3__factory.d.ts +178 -178
- package/lib/types/factories/IRouterV3__factory.js +191 -191
- package/lib/types/factories/IRouter__factory.d.ts +159 -159
- package/lib/types/factories/IRouter__factory.js +172 -172
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterEvents__factory.d.ts +8 -8
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterEvents__factory.js +9 -9
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions__factory.d.ts +2 -2
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions__factory.js +2 -2
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.d.ts +78 -78
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.js +84 -84
- package/lib/types/factories/IUniswapV3.sol/ISwapRouter__factory.d.ts +50 -50
- package/lib/types/factories/IUniswapV3.sol/ISwapRouter__factory.js +50 -50
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterEvents__factory.d.ts +10 -10
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterEvents__factory.js +11 -11
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterExceptions__factory.d.ts +2 -2
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterExceptions__factory.js +2 -2
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.d.ts +138 -138
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.js +145 -145
- package/lib/types/factories/IVersion__factory.d.ts +3 -3
- package/lib/types/factories/IVersion__factory.js +3 -3
- package/lib/types/factories/IVotingContractV3__factory.d.ts +10 -10
- package/lib/types/factories/IVotingContractV3__factory.js +10 -10
- package/lib/types/factories/IWETHGateway__factory.d.ts +14 -14
- package/lib/types/factories/IWETHGateway__factory.js +14 -14
- package/lib/types/factories/IWETH__factory.d.ts +102 -102
- package/lib/types/factories/IWETH__factory.js +120 -120
- package/lib/types/factories/IYVault__factory.d.ts +112 -112
- package/lib/types/factories/IYVault__factory.js +122 -122
- package/lib/types/factories/IYearnV2Adapter__factory.d.ts +63 -63
- package/lib/types/factories/IYearnV2Adapter__factory.js +63 -63
- package/lib/types/factories/IZapperRegister__factory.d.ts +20 -20
- package/lib/types/factories/IZapperRegister__factory.js +22 -22
- package/lib/types/factories/IZapper__factory.d.ts +34 -34
- package/lib/types/factories/IZapper__factory.js +34 -34
- package/lib/types/factories/IstETH.sol/IstETHGetters__factory.d.ts +97 -97
- package/lib/types/factories/IstETH.sol/IstETHGetters__factory.js +107 -107
- package/lib/types/factories/IstETH.sol/IstETH__factory.d.ts +101 -101
- package/lib/types/factories/IstETH.sol/IstETH__factory.js +111 -111
- package/lib/types/factories/IwstETH.sol/IwstETHGetters__factory.d.ts +93 -93
- package/lib/types/factories/IwstETH.sol/IwstETHGetters__factory.js +103 -103
- package/lib/types/factories/IwstETH.sol/IwstETH__factory.d.ts +101 -101
- package/lib/types/factories/IwstETH.sol/IwstETH__factory.js +111 -111
- package/lib/types/factories/IwstETHGateway.sol/IwstETHGateWay__factory.d.ts +14 -14
- package/lib/types/factories/IwstETHGateway.sol/IwstETHGateWay__factory.js +15 -15
- package/lib/types/factories/IwstETHV1Adapter__factory.d.ts +44 -44
- package/lib/types/factories/IwstETHV1Adapter__factory.js +44 -44
- package/lib/types/factories/NumericArrayLib__factory.d.ts +2 -2
- package/lib/types/factories/NumericArrayLib__factory.js +2 -2
- package/lib/types/factories/Ownable__factory.d.ts +23 -23
- package/lib/types/factories/Ownable__factory.js +27 -27
- package/lib/types/factories/RedstoneConstants__factory.d.ts +19 -19
- package/lib/types/factories/RedstoneConstants__factory.js +19 -19
- package/lib/types/factories/RedstoneConsumerBase__factory.d.ts +101 -101
- package/lib/types/factories/RedstoneConsumerBase__factory.js +123 -123
- package/lib/types/factories/RedstoneConsumerNumericBase__factory.d.ts +101 -101
- package/lib/types/factories/RedstoneConsumerNumericBase__factory.js +123 -123
- package/lib/types/factories/RedstoneDefaultsLib__factory.d.ts +8 -8
- package/lib/types/factories/RedstoneDefaultsLib__factory.js +8 -8
- package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedEvents__factory.d.ts +5 -5
- package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedEvents__factory.js +5 -5
- package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions__factory.d.ts +10 -10
- package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions__factory.js +10 -10
- package/lib/types/factories/RedstonePriceFeed.sol/RedstonePriceFeed__factory.d.ts +193 -193
- package/lib/types/factories/RedstonePriceFeed.sol/RedstonePriceFeed__factory.js +220 -220
- package/lib/types/factories/SafeERC20__factory.d.ts +14 -14
- package/lib/types/factories/SafeERC20__factory.js +14 -14
- package/lib/types/factories/contracts/index.d.ts +1 -0
- package/lib/types/factories/contracts/index.js +30 -0
- package/lib/types/factories/contracts/interfaces/IGasPricer__factory.d.ts +22 -0
- package/lib/types/factories/contracts/interfaces/index.d.ts +1 -0
- package/lib/types/factories/contracts/interfaces/index.js +8 -0
- package/lib/types/factories/index.d.ts +2 -1
- package/lib/types/factories/index.js +4 -4
- package/lib/types/factories/{IGasPricer__factory.d.ts → interfaces/IGasPricer__factory.d.ts} +5 -5
- package/lib/types/factories/interfaces/IGasPricer__factory.js +38 -0
- package/lib/types/factories/interfaces/index.d.ts +1 -0
- package/lib/types/factories/interfaces/index.js +8 -0
- package/lib/types/index.d.ts +18 -14
- package/lib/types/index.js +25 -25
- package/lib/types/{IGasPricer.d.ts → interfaces/IGasPricer.d.ts} +1 -1
- package/lib/types/interfaces/IGasPricer.js +2 -0
- package/lib/types/interfaces/index.d.ts +1 -0
- package/lib/types/interfaces/index.js +2 -0
- package/package.json +4 -4
- package/lib/types/{IGasPricer.js → contracts/index.js} +0 -0
- package/lib/types/factories/{IGasPricer__factory.js → contracts/interfaces/IGasPricer__factory.js} +4 -4
|
@@ -7,519 +7,519 @@ exports.IBaseRewardPool__factory = void 0;
|
|
|
7
7
|
const ethers_1 = require("ethers");
|
|
8
8
|
const _abi = [
|
|
9
9
|
{
|
|
10
|
+
type: "function",
|
|
11
|
+
name: "balanceOf",
|
|
10
12
|
inputs: [
|
|
11
13
|
{
|
|
12
|
-
internalType: "address",
|
|
13
14
|
name: "account",
|
|
14
15
|
type: "address",
|
|
16
|
+
internalType: "address",
|
|
15
17
|
},
|
|
16
18
|
],
|
|
17
|
-
name: "balanceOf",
|
|
18
19
|
outputs: [
|
|
19
20
|
{
|
|
20
|
-
internalType: "uint256",
|
|
21
21
|
name: "",
|
|
22
22
|
type: "uint256",
|
|
23
|
+
internalType: "uint256",
|
|
23
24
|
},
|
|
24
25
|
],
|
|
25
26
|
stateMutability: "view",
|
|
26
|
-
type: "function",
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
|
-
|
|
29
|
+
type: "function",
|
|
30
30
|
name: "currentRewards",
|
|
31
|
+
inputs: [],
|
|
31
32
|
outputs: [
|
|
32
33
|
{
|
|
33
|
-
internalType: "uint256",
|
|
34
34
|
name: "",
|
|
35
35
|
type: "uint256",
|
|
36
|
+
internalType: "uint256",
|
|
36
37
|
},
|
|
37
38
|
],
|
|
38
39
|
stateMutability: "view",
|
|
39
|
-
type: "function",
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
|
+
type: "function",
|
|
43
|
+
name: "donate",
|
|
42
44
|
inputs: [
|
|
43
45
|
{
|
|
44
|
-
internalType: "uint256",
|
|
45
46
|
name: "_amount",
|
|
46
47
|
type: "uint256",
|
|
48
|
+
internalType: "uint256",
|
|
47
49
|
},
|
|
48
50
|
],
|
|
49
|
-
name: "donate",
|
|
50
51
|
outputs: [
|
|
51
52
|
{
|
|
52
|
-
internalType: "bool",
|
|
53
53
|
name: "",
|
|
54
54
|
type: "bool",
|
|
55
|
+
internalType: "bool",
|
|
55
56
|
},
|
|
56
57
|
],
|
|
57
58
|
stateMutability: "nonpayable",
|
|
58
|
-
type: "function",
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
|
-
|
|
61
|
+
type: "function",
|
|
62
62
|
name: "duration",
|
|
63
|
+
inputs: [],
|
|
63
64
|
outputs: [
|
|
64
65
|
{
|
|
65
|
-
internalType: "uint256",
|
|
66
66
|
name: "",
|
|
67
67
|
type: "uint256",
|
|
68
|
+
internalType: "uint256",
|
|
68
69
|
},
|
|
69
70
|
],
|
|
70
71
|
stateMutability: "view",
|
|
71
|
-
type: "function",
|
|
72
72
|
},
|
|
73
73
|
{
|
|
74
|
+
type: "function",
|
|
75
|
+
name: "earned",
|
|
74
76
|
inputs: [
|
|
75
77
|
{
|
|
76
|
-
internalType: "address",
|
|
77
78
|
name: "account",
|
|
78
79
|
type: "address",
|
|
80
|
+
internalType: "address",
|
|
79
81
|
},
|
|
80
82
|
],
|
|
81
|
-
name: "earned",
|
|
82
83
|
outputs: [
|
|
83
84
|
{
|
|
84
|
-
internalType: "uint256",
|
|
85
85
|
name: "",
|
|
86
86
|
type: "uint256",
|
|
87
|
+
internalType: "uint256",
|
|
87
88
|
},
|
|
88
89
|
],
|
|
89
90
|
stateMutability: "view",
|
|
90
|
-
type: "function",
|
|
91
91
|
},
|
|
92
92
|
{
|
|
93
|
+
type: "function",
|
|
94
|
+
name: "extraRewards",
|
|
93
95
|
inputs: [
|
|
94
96
|
{
|
|
95
|
-
internalType: "uint256",
|
|
96
97
|
name: "i",
|
|
97
98
|
type: "uint256",
|
|
99
|
+
internalType: "uint256",
|
|
98
100
|
},
|
|
99
101
|
],
|
|
100
|
-
name: "extraRewards",
|
|
101
102
|
outputs: [
|
|
102
103
|
{
|
|
103
|
-
internalType: "address",
|
|
104
104
|
name: "",
|
|
105
105
|
type: "address",
|
|
106
|
+
internalType: "address",
|
|
106
107
|
},
|
|
107
108
|
],
|
|
108
109
|
stateMutability: "view",
|
|
109
|
-
type: "function",
|
|
110
110
|
},
|
|
111
111
|
{
|
|
112
|
-
|
|
112
|
+
type: "function",
|
|
113
113
|
name: "extraRewardsLength",
|
|
114
|
+
inputs: [],
|
|
114
115
|
outputs: [
|
|
115
116
|
{
|
|
116
|
-
internalType: "uint256",
|
|
117
117
|
name: "",
|
|
118
118
|
type: "uint256",
|
|
119
|
+
internalType: "uint256",
|
|
119
120
|
},
|
|
120
121
|
],
|
|
121
122
|
stateMutability: "view",
|
|
122
|
-
type: "function",
|
|
123
123
|
},
|
|
124
124
|
{
|
|
125
|
-
|
|
125
|
+
type: "function",
|
|
126
126
|
name: "getReward",
|
|
127
|
+
inputs: [],
|
|
127
128
|
outputs: [
|
|
128
129
|
{
|
|
129
|
-
internalType: "bool",
|
|
130
130
|
name: "",
|
|
131
131
|
type: "bool",
|
|
132
|
+
internalType: "bool",
|
|
132
133
|
},
|
|
133
134
|
],
|
|
134
135
|
stateMutability: "nonpayable",
|
|
135
|
-
type: "function",
|
|
136
136
|
},
|
|
137
137
|
{
|
|
138
|
+
type: "function",
|
|
139
|
+
name: "getReward",
|
|
138
140
|
inputs: [
|
|
139
141
|
{
|
|
140
|
-
internalType: "address",
|
|
141
142
|
name: "_account",
|
|
142
143
|
type: "address",
|
|
144
|
+
internalType: "address",
|
|
143
145
|
},
|
|
144
146
|
{
|
|
145
|
-
internalType: "bool",
|
|
146
147
|
name: "_claimExtras",
|
|
147
148
|
type: "bool",
|
|
149
|
+
internalType: "bool",
|
|
148
150
|
},
|
|
149
151
|
],
|
|
150
|
-
name: "getReward",
|
|
151
152
|
outputs: [
|
|
152
153
|
{
|
|
153
|
-
internalType: "bool",
|
|
154
154
|
name: "",
|
|
155
155
|
type: "bool",
|
|
156
|
+
internalType: "bool",
|
|
156
157
|
},
|
|
157
158
|
],
|
|
158
159
|
stateMutability: "nonpayable",
|
|
159
|
-
type: "function",
|
|
160
160
|
},
|
|
161
161
|
{
|
|
162
|
-
|
|
162
|
+
type: "function",
|
|
163
163
|
name: "historicalRewards",
|
|
164
|
+
inputs: [],
|
|
164
165
|
outputs: [
|
|
165
166
|
{
|
|
166
|
-
internalType: "uint256",
|
|
167
167
|
name: "",
|
|
168
168
|
type: "uint256",
|
|
169
|
+
internalType: "uint256",
|
|
169
170
|
},
|
|
170
171
|
],
|
|
171
172
|
stateMutability: "view",
|
|
172
|
-
type: "function",
|
|
173
173
|
},
|
|
174
174
|
{
|
|
175
|
-
|
|
175
|
+
type: "function",
|
|
176
176
|
name: "lastTimeRewardApplicable",
|
|
177
|
+
inputs: [],
|
|
177
178
|
outputs: [
|
|
178
179
|
{
|
|
179
|
-
internalType: "uint256",
|
|
180
180
|
name: "",
|
|
181
181
|
type: "uint256",
|
|
182
|
+
internalType: "uint256",
|
|
182
183
|
},
|
|
183
184
|
],
|
|
184
185
|
stateMutability: "view",
|
|
185
|
-
type: "function",
|
|
186
186
|
},
|
|
187
187
|
{
|
|
188
|
-
|
|
188
|
+
type: "function",
|
|
189
189
|
name: "lastUpdateTime",
|
|
190
|
+
inputs: [],
|
|
190
191
|
outputs: [
|
|
191
192
|
{
|
|
192
|
-
internalType: "uint256",
|
|
193
193
|
name: "",
|
|
194
194
|
type: "uint256",
|
|
195
|
+
internalType: "uint256",
|
|
195
196
|
},
|
|
196
197
|
],
|
|
197
198
|
stateMutability: "view",
|
|
198
|
-
type: "function",
|
|
199
199
|
},
|
|
200
200
|
{
|
|
201
|
-
|
|
201
|
+
type: "function",
|
|
202
202
|
name: "newRewardRatio",
|
|
203
|
+
inputs: [],
|
|
203
204
|
outputs: [
|
|
204
205
|
{
|
|
205
|
-
internalType: "uint256",
|
|
206
206
|
name: "",
|
|
207
207
|
type: "uint256",
|
|
208
|
+
internalType: "uint256",
|
|
208
209
|
},
|
|
209
210
|
],
|
|
210
211
|
stateMutability: "view",
|
|
211
|
-
type: "function",
|
|
212
212
|
},
|
|
213
213
|
{
|
|
214
|
-
|
|
214
|
+
type: "function",
|
|
215
215
|
name: "operator",
|
|
216
|
+
inputs: [],
|
|
216
217
|
outputs: [
|
|
217
218
|
{
|
|
218
|
-
internalType: "address",
|
|
219
219
|
name: "",
|
|
220
220
|
type: "address",
|
|
221
|
+
internalType: "address",
|
|
221
222
|
},
|
|
222
223
|
],
|
|
223
224
|
stateMutability: "view",
|
|
224
|
-
type: "function",
|
|
225
225
|
},
|
|
226
226
|
{
|
|
227
|
-
|
|
227
|
+
type: "function",
|
|
228
228
|
name: "periodFinish",
|
|
229
|
+
inputs: [],
|
|
229
230
|
outputs: [
|
|
230
231
|
{
|
|
231
|
-
internalType: "uint256",
|
|
232
232
|
name: "",
|
|
233
233
|
type: "uint256",
|
|
234
|
+
internalType: "uint256",
|
|
234
235
|
},
|
|
235
236
|
],
|
|
236
237
|
stateMutability: "view",
|
|
237
|
-
type: "function",
|
|
238
238
|
},
|
|
239
239
|
{
|
|
240
|
-
|
|
240
|
+
type: "function",
|
|
241
241
|
name: "pid",
|
|
242
|
+
inputs: [],
|
|
242
243
|
outputs: [
|
|
243
244
|
{
|
|
244
|
-
internalType: "uint256",
|
|
245
245
|
name: "",
|
|
246
246
|
type: "uint256",
|
|
247
|
+
internalType: "uint256",
|
|
247
248
|
},
|
|
248
249
|
],
|
|
249
250
|
stateMutability: "view",
|
|
250
|
-
type: "function",
|
|
251
251
|
},
|
|
252
252
|
{
|
|
253
|
-
|
|
253
|
+
type: "function",
|
|
254
254
|
name: "queuedRewards",
|
|
255
|
+
inputs: [],
|
|
255
256
|
outputs: [
|
|
256
257
|
{
|
|
257
|
-
internalType: "uint256",
|
|
258
258
|
name: "",
|
|
259
259
|
type: "uint256",
|
|
260
|
+
internalType: "uint256",
|
|
260
261
|
},
|
|
261
262
|
],
|
|
262
263
|
stateMutability: "view",
|
|
263
|
-
type: "function",
|
|
264
264
|
},
|
|
265
265
|
{
|
|
266
|
-
|
|
266
|
+
type: "function",
|
|
267
267
|
name: "rewardManager",
|
|
268
|
+
inputs: [],
|
|
268
269
|
outputs: [
|
|
269
270
|
{
|
|
270
|
-
internalType: "address",
|
|
271
271
|
name: "",
|
|
272
272
|
type: "address",
|
|
273
|
+
internalType: "address",
|
|
273
274
|
},
|
|
274
275
|
],
|
|
275
276
|
stateMutability: "view",
|
|
276
|
-
type: "function",
|
|
277
277
|
},
|
|
278
278
|
{
|
|
279
|
-
|
|
279
|
+
type: "function",
|
|
280
280
|
name: "rewardPerToken",
|
|
281
|
+
inputs: [],
|
|
281
282
|
outputs: [
|
|
282
283
|
{
|
|
283
|
-
internalType: "uint256",
|
|
284
284
|
name: "",
|
|
285
285
|
type: "uint256",
|
|
286
|
+
internalType: "uint256",
|
|
286
287
|
},
|
|
287
288
|
],
|
|
288
289
|
stateMutability: "view",
|
|
289
|
-
type: "function",
|
|
290
290
|
},
|
|
291
291
|
{
|
|
292
|
-
|
|
292
|
+
type: "function",
|
|
293
293
|
name: "rewardPerTokenStored",
|
|
294
|
+
inputs: [],
|
|
294
295
|
outputs: [
|
|
295
296
|
{
|
|
296
|
-
internalType: "uint256",
|
|
297
297
|
name: "",
|
|
298
298
|
type: "uint256",
|
|
299
|
+
internalType: "uint256",
|
|
299
300
|
},
|
|
300
301
|
],
|
|
301
302
|
stateMutability: "view",
|
|
302
|
-
type: "function",
|
|
303
303
|
},
|
|
304
304
|
{
|
|
305
|
-
|
|
305
|
+
type: "function",
|
|
306
306
|
name: "rewardRate",
|
|
307
|
+
inputs: [],
|
|
307
308
|
outputs: [
|
|
308
309
|
{
|
|
309
|
-
internalType: "uint256",
|
|
310
310
|
name: "",
|
|
311
311
|
type: "uint256",
|
|
312
|
+
internalType: "uint256",
|
|
312
313
|
},
|
|
313
314
|
],
|
|
314
315
|
stateMutability: "view",
|
|
315
|
-
type: "function",
|
|
316
316
|
},
|
|
317
317
|
{
|
|
318
|
-
|
|
318
|
+
type: "function",
|
|
319
319
|
name: "rewardToken",
|
|
320
|
+
inputs: [],
|
|
320
321
|
outputs: [
|
|
321
322
|
{
|
|
322
|
-
internalType: "contract IERC20",
|
|
323
323
|
name: "",
|
|
324
324
|
type: "address",
|
|
325
|
+
internalType: "contract IERC20",
|
|
325
326
|
},
|
|
326
327
|
],
|
|
327
328
|
stateMutability: "view",
|
|
328
|
-
type: "function",
|
|
329
329
|
},
|
|
330
330
|
{
|
|
331
|
+
type: "function",
|
|
332
|
+
name: "rewards",
|
|
331
333
|
inputs: [
|
|
332
334
|
{
|
|
333
|
-
internalType: "address",
|
|
334
335
|
name: "account",
|
|
335
336
|
type: "address",
|
|
337
|
+
internalType: "address",
|
|
336
338
|
},
|
|
337
339
|
],
|
|
338
|
-
name: "rewards",
|
|
339
340
|
outputs: [
|
|
340
341
|
{
|
|
341
|
-
internalType: "uint256",
|
|
342
342
|
name: "",
|
|
343
343
|
type: "uint256",
|
|
344
|
+
internalType: "uint256",
|
|
344
345
|
},
|
|
345
346
|
],
|
|
346
347
|
stateMutability: "view",
|
|
347
|
-
type: "function",
|
|
348
348
|
},
|
|
349
349
|
{
|
|
350
|
+
type: "function",
|
|
351
|
+
name: "stake",
|
|
350
352
|
inputs: [
|
|
351
353
|
{
|
|
352
|
-
internalType: "uint256",
|
|
353
354
|
name: "_amount",
|
|
354
355
|
type: "uint256",
|
|
356
|
+
internalType: "uint256",
|
|
355
357
|
},
|
|
356
358
|
],
|
|
357
|
-
name: "stake",
|
|
358
359
|
outputs: [
|
|
359
360
|
{
|
|
360
|
-
internalType: "bool",
|
|
361
361
|
name: "",
|
|
362
362
|
type: "bool",
|
|
363
|
+
internalType: "bool",
|
|
363
364
|
},
|
|
364
365
|
],
|
|
365
366
|
stateMutability: "nonpayable",
|
|
366
|
-
type: "function",
|
|
367
367
|
},
|
|
368
368
|
{
|
|
369
|
-
|
|
369
|
+
type: "function",
|
|
370
370
|
name: "stakeAll",
|
|
371
|
+
inputs: [],
|
|
371
372
|
outputs: [
|
|
372
373
|
{
|
|
373
|
-
internalType: "bool",
|
|
374
374
|
name: "",
|
|
375
375
|
type: "bool",
|
|
376
|
+
internalType: "bool",
|
|
376
377
|
},
|
|
377
378
|
],
|
|
378
379
|
stateMutability: "nonpayable",
|
|
379
|
-
type: "function",
|
|
380
380
|
},
|
|
381
381
|
{
|
|
382
|
+
type: "function",
|
|
383
|
+
name: "stakeFor",
|
|
382
384
|
inputs: [
|
|
383
385
|
{
|
|
384
|
-
internalType: "address",
|
|
385
386
|
name: "_for",
|
|
386
387
|
type: "address",
|
|
388
|
+
internalType: "address",
|
|
387
389
|
},
|
|
388
390
|
{
|
|
389
|
-
internalType: "uint256",
|
|
390
391
|
name: "_amount",
|
|
391
392
|
type: "uint256",
|
|
393
|
+
internalType: "uint256",
|
|
392
394
|
},
|
|
393
395
|
],
|
|
394
|
-
name: "stakeFor",
|
|
395
396
|
outputs: [
|
|
396
397
|
{
|
|
397
|
-
internalType: "bool",
|
|
398
398
|
name: "",
|
|
399
399
|
type: "bool",
|
|
400
|
+
internalType: "bool",
|
|
400
401
|
},
|
|
401
402
|
],
|
|
402
403
|
stateMutability: "nonpayable",
|
|
403
|
-
type: "function",
|
|
404
404
|
},
|
|
405
405
|
{
|
|
406
|
-
|
|
406
|
+
type: "function",
|
|
407
407
|
name: "stakingToken",
|
|
408
|
+
inputs: [],
|
|
408
409
|
outputs: [
|
|
409
410
|
{
|
|
410
|
-
internalType: "contract IERC20",
|
|
411
411
|
name: "",
|
|
412
412
|
type: "address",
|
|
413
|
+
internalType: "contract IERC20",
|
|
413
414
|
},
|
|
414
415
|
],
|
|
415
416
|
stateMutability: "view",
|
|
416
|
-
type: "function",
|
|
417
417
|
},
|
|
418
418
|
{
|
|
419
|
-
|
|
419
|
+
type: "function",
|
|
420
420
|
name: "totalSupply",
|
|
421
|
+
inputs: [],
|
|
421
422
|
outputs: [
|
|
422
423
|
{
|
|
423
|
-
internalType: "uint256",
|
|
424
424
|
name: "",
|
|
425
425
|
type: "uint256",
|
|
426
|
+
internalType: "uint256",
|
|
426
427
|
},
|
|
427
428
|
],
|
|
428
429
|
stateMutability: "view",
|
|
429
|
-
type: "function",
|
|
430
430
|
},
|
|
431
431
|
{
|
|
432
|
+
type: "function",
|
|
433
|
+
name: "userRewardPerTokenPaid",
|
|
432
434
|
inputs: [
|
|
433
435
|
{
|
|
434
|
-
internalType: "address",
|
|
435
436
|
name: "account",
|
|
436
437
|
type: "address",
|
|
438
|
+
internalType: "address",
|
|
437
439
|
},
|
|
438
440
|
],
|
|
439
|
-
name: "userRewardPerTokenPaid",
|
|
440
441
|
outputs: [
|
|
441
442
|
{
|
|
442
|
-
internalType: "uint256",
|
|
443
443
|
name: "",
|
|
444
444
|
type: "uint256",
|
|
445
|
+
internalType: "uint256",
|
|
445
446
|
},
|
|
446
447
|
],
|
|
447
448
|
stateMutability: "view",
|
|
448
|
-
type: "function",
|
|
449
449
|
},
|
|
450
450
|
{
|
|
451
|
+
type: "function",
|
|
452
|
+
name: "withdraw",
|
|
451
453
|
inputs: [
|
|
452
454
|
{
|
|
453
|
-
internalType: "uint256",
|
|
454
455
|
name: "amount",
|
|
455
456
|
type: "uint256",
|
|
457
|
+
internalType: "uint256",
|
|
456
458
|
},
|
|
457
459
|
{
|
|
458
|
-
internalType: "bool",
|
|
459
460
|
name: "claim",
|
|
460
461
|
type: "bool",
|
|
462
|
+
internalType: "bool",
|
|
461
463
|
},
|
|
462
464
|
],
|
|
463
|
-
name: "withdraw",
|
|
464
465
|
outputs: [
|
|
465
466
|
{
|
|
466
|
-
internalType: "bool",
|
|
467
467
|
name: "",
|
|
468
468
|
type: "bool",
|
|
469
|
+
internalType: "bool",
|
|
469
470
|
},
|
|
470
471
|
],
|
|
471
472
|
stateMutability: "nonpayable",
|
|
472
|
-
type: "function",
|
|
473
473
|
},
|
|
474
474
|
{
|
|
475
|
+
type: "function",
|
|
476
|
+
name: "withdrawAll",
|
|
475
477
|
inputs: [
|
|
476
478
|
{
|
|
477
|
-
internalType: "bool",
|
|
478
479
|
name: "claim",
|
|
479
480
|
type: "bool",
|
|
481
|
+
internalType: "bool",
|
|
480
482
|
},
|
|
481
483
|
],
|
|
482
|
-
name: "withdrawAll",
|
|
483
484
|
outputs: [],
|
|
484
485
|
stateMutability: "nonpayable",
|
|
485
|
-
type: "function",
|
|
486
486
|
},
|
|
487
487
|
{
|
|
488
|
+
type: "function",
|
|
489
|
+
name: "withdrawAllAndUnwrap",
|
|
488
490
|
inputs: [
|
|
489
491
|
{
|
|
490
|
-
internalType: "bool",
|
|
491
492
|
name: "claim",
|
|
492
493
|
type: "bool",
|
|
494
|
+
internalType: "bool",
|
|
493
495
|
},
|
|
494
496
|
],
|
|
495
|
-
name: "withdrawAllAndUnwrap",
|
|
496
497
|
outputs: [],
|
|
497
498
|
stateMutability: "nonpayable",
|
|
498
|
-
type: "function",
|
|
499
499
|
},
|
|
500
500
|
{
|
|
501
|
+
type: "function",
|
|
502
|
+
name: "withdrawAndUnwrap",
|
|
501
503
|
inputs: [
|
|
502
504
|
{
|
|
503
|
-
internalType: "uint256",
|
|
504
505
|
name: "amount",
|
|
505
506
|
type: "uint256",
|
|
507
|
+
internalType: "uint256",
|
|
506
508
|
},
|
|
507
509
|
{
|
|
508
|
-
internalType: "bool",
|
|
509
510
|
name: "claim",
|
|
510
511
|
type: "bool",
|
|
512
|
+
internalType: "bool",
|
|
511
513
|
},
|
|
512
514
|
],
|
|
513
|
-
name: "withdrawAndUnwrap",
|
|
514
515
|
outputs: [
|
|
515
516
|
{
|
|
516
|
-
internalType: "bool",
|
|
517
517
|
name: "",
|
|
518
518
|
type: "bool",
|
|
519
|
+
internalType: "bool",
|
|
519
520
|
},
|
|
520
521
|
],
|
|
521
522
|
stateMutability: "nonpayable",
|
|
522
|
-
type: "function",
|
|
523
523
|
},
|
|
524
524
|
];
|
|
525
525
|
class IBaseRewardPool__factory {
|