@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
|
@@ -3,501 +3,501 @@ import type { Provider } from "@ethersproject/providers";
|
|
|
3
3
|
import type { IGearStakingV3, IGearStakingV3Interface } from "../../IGearStakingV3.sol/IGearStakingV3";
|
|
4
4
|
export declare class IGearStakingV3__factory {
|
|
5
5
|
static readonly abi: readonly [{
|
|
6
|
-
readonly
|
|
7
|
-
readonly
|
|
8
|
-
readonly indexed: true;
|
|
9
|
-
readonly internalType: "address";
|
|
10
|
-
readonly name: "user";
|
|
11
|
-
readonly type: "address";
|
|
12
|
-
}, {
|
|
13
|
-
readonly indexed: false;
|
|
14
|
-
readonly internalType: "address";
|
|
15
|
-
readonly name: "to";
|
|
16
|
-
readonly type: "address";
|
|
17
|
-
}, {
|
|
18
|
-
readonly indexed: false;
|
|
19
|
-
readonly internalType: "uint256";
|
|
20
|
-
readonly name: "amount";
|
|
21
|
-
readonly type: "uint256";
|
|
22
|
-
}];
|
|
23
|
-
readonly name: "ClaimGearWithdrawal";
|
|
24
|
-
readonly type: "event";
|
|
25
|
-
}, {
|
|
26
|
-
readonly anonymous: false;
|
|
27
|
-
readonly inputs: readonly [{
|
|
28
|
-
readonly indexed: true;
|
|
29
|
-
readonly internalType: "address";
|
|
30
|
-
readonly name: "user";
|
|
31
|
-
readonly type: "address";
|
|
32
|
-
}, {
|
|
33
|
-
readonly indexed: false;
|
|
34
|
-
readonly internalType: "uint256";
|
|
35
|
-
readonly name: "amount";
|
|
36
|
-
readonly type: "uint256";
|
|
37
|
-
}];
|
|
38
|
-
readonly name: "DepositGear";
|
|
39
|
-
readonly type: "event";
|
|
40
|
-
}, {
|
|
41
|
-
readonly anonymous: false;
|
|
42
|
-
readonly inputs: readonly [{
|
|
43
|
-
readonly indexed: true;
|
|
44
|
-
readonly internalType: "address";
|
|
45
|
-
readonly name: "user";
|
|
46
|
-
readonly type: "address";
|
|
47
|
-
}, {
|
|
48
|
-
readonly indexed: true;
|
|
49
|
-
readonly internalType: "address";
|
|
50
|
-
readonly name: "successor";
|
|
51
|
-
readonly type: "address";
|
|
52
|
-
}, {
|
|
53
|
-
readonly indexed: false;
|
|
54
|
-
readonly internalType: "uint256";
|
|
55
|
-
readonly name: "amount";
|
|
56
|
-
readonly type: "uint256";
|
|
57
|
-
}];
|
|
58
|
-
readonly name: "MigrateGear";
|
|
59
|
-
readonly type: "event";
|
|
60
|
-
}, {
|
|
61
|
-
readonly anonymous: false;
|
|
62
|
-
readonly inputs: readonly [{
|
|
63
|
-
readonly indexed: true;
|
|
64
|
-
readonly internalType: "address";
|
|
65
|
-
readonly name: "user";
|
|
66
|
-
readonly type: "address";
|
|
67
|
-
}, {
|
|
68
|
-
readonly indexed: false;
|
|
69
|
-
readonly internalType: "uint256";
|
|
70
|
-
readonly name: "amount";
|
|
71
|
-
readonly type: "uint256";
|
|
72
|
-
}];
|
|
73
|
-
readonly name: "ScheduleGearWithdrawal";
|
|
74
|
-
readonly type: "event";
|
|
75
|
-
}, {
|
|
76
|
-
readonly anonymous: false;
|
|
77
|
-
readonly inputs: readonly [{
|
|
78
|
-
readonly indexed: true;
|
|
79
|
-
readonly internalType: "address";
|
|
80
|
-
readonly name: "migrator";
|
|
81
|
-
readonly type: "address";
|
|
82
|
-
}];
|
|
83
|
-
readonly name: "SetMigrator";
|
|
84
|
-
readonly type: "event";
|
|
85
|
-
}, {
|
|
86
|
-
readonly anonymous: false;
|
|
87
|
-
readonly inputs: readonly [{
|
|
88
|
-
readonly indexed: true;
|
|
89
|
-
readonly internalType: "address";
|
|
90
|
-
readonly name: "successor";
|
|
91
|
-
readonly type: "address";
|
|
92
|
-
}];
|
|
93
|
-
readonly name: "SetSuccessor";
|
|
94
|
-
readonly type: "event";
|
|
95
|
-
}, {
|
|
96
|
-
readonly anonymous: false;
|
|
97
|
-
readonly inputs: readonly [{
|
|
98
|
-
readonly indexed: true;
|
|
99
|
-
readonly internalType: "address";
|
|
100
|
-
readonly name: "votingContract";
|
|
101
|
-
readonly type: "address";
|
|
102
|
-
}, {
|
|
103
|
-
readonly indexed: false;
|
|
104
|
-
readonly internalType: "enum VotingContractStatus";
|
|
105
|
-
readonly name: "status";
|
|
106
|
-
readonly type: "uint8";
|
|
107
|
-
}];
|
|
108
|
-
readonly name: "SetVotingContractStatus";
|
|
109
|
-
readonly type: "event";
|
|
110
|
-
}, {
|
|
6
|
+
readonly type: "function";
|
|
7
|
+
readonly name: "allowedVotingContract";
|
|
111
8
|
readonly inputs: readonly [{
|
|
112
|
-
readonly internalType: "address";
|
|
113
9
|
readonly name: "";
|
|
114
10
|
readonly type: "address";
|
|
11
|
+
readonly internalType: "address";
|
|
115
12
|
}];
|
|
116
|
-
readonly name: "allowedVotingContract";
|
|
117
13
|
readonly outputs: readonly [{
|
|
118
|
-
readonly internalType: "enum VotingContractStatus";
|
|
119
14
|
readonly name: "";
|
|
120
15
|
readonly type: "uint8";
|
|
16
|
+
readonly internalType: "enum VotingContractStatus";
|
|
121
17
|
}];
|
|
122
18
|
readonly stateMutability: "view";
|
|
123
|
-
readonly type: "function";
|
|
124
19
|
}, {
|
|
20
|
+
readonly type: "function";
|
|
21
|
+
readonly name: "availableBalance";
|
|
125
22
|
readonly inputs: readonly [{
|
|
126
|
-
readonly internalType: "address";
|
|
127
23
|
readonly name: "user";
|
|
128
24
|
readonly type: "address";
|
|
25
|
+
readonly internalType: "address";
|
|
129
26
|
}];
|
|
130
|
-
readonly name: "availableBalance";
|
|
131
27
|
readonly outputs: readonly [{
|
|
132
|
-
readonly internalType: "uint256";
|
|
133
28
|
readonly name: "";
|
|
134
29
|
readonly type: "uint256";
|
|
30
|
+
readonly internalType: "uint256";
|
|
135
31
|
}];
|
|
136
32
|
readonly stateMutability: "view";
|
|
137
|
-
readonly type: "function";
|
|
138
33
|
}, {
|
|
34
|
+
readonly type: "function";
|
|
35
|
+
readonly name: "balanceOf";
|
|
139
36
|
readonly inputs: readonly [{
|
|
140
|
-
readonly internalType: "address";
|
|
141
37
|
readonly name: "user";
|
|
142
38
|
readonly type: "address";
|
|
39
|
+
readonly internalType: "address";
|
|
143
40
|
}];
|
|
144
|
-
readonly name: "balanceOf";
|
|
145
41
|
readonly outputs: readonly [{
|
|
146
|
-
readonly internalType: "uint256";
|
|
147
42
|
readonly name: "";
|
|
148
43
|
readonly type: "uint256";
|
|
44
|
+
readonly internalType: "uint256";
|
|
149
45
|
}];
|
|
150
46
|
readonly stateMutability: "view";
|
|
151
|
-
readonly type: "function";
|
|
152
47
|
}, {
|
|
48
|
+
readonly type: "function";
|
|
49
|
+
readonly name: "claimWithdrawals";
|
|
153
50
|
readonly inputs: readonly [{
|
|
154
|
-
readonly internalType: "address";
|
|
155
51
|
readonly name: "to";
|
|
156
52
|
readonly type: "address";
|
|
53
|
+
readonly internalType: "address";
|
|
157
54
|
}];
|
|
158
|
-
readonly name: "claimWithdrawals";
|
|
159
55
|
readonly outputs: readonly [];
|
|
160
56
|
readonly stateMutability: "nonpayable";
|
|
161
|
-
readonly type: "function";
|
|
162
57
|
}, {
|
|
58
|
+
readonly type: "function";
|
|
59
|
+
readonly name: "deposit";
|
|
163
60
|
readonly inputs: readonly [{
|
|
164
|
-
readonly internalType: "uint96";
|
|
165
61
|
readonly name: "amount";
|
|
166
62
|
readonly type: "uint96";
|
|
63
|
+
readonly internalType: "uint96";
|
|
167
64
|
}, {
|
|
65
|
+
readonly name: "votes";
|
|
66
|
+
readonly type: "tuple[]";
|
|
67
|
+
readonly internalType: "struct MultiVote[]";
|
|
168
68
|
readonly components: readonly [{
|
|
169
|
-
readonly internalType: "address";
|
|
170
69
|
readonly name: "votingContract";
|
|
171
70
|
readonly type: "address";
|
|
71
|
+
readonly internalType: "address";
|
|
172
72
|
}, {
|
|
173
|
-
readonly internalType: "uint96";
|
|
174
73
|
readonly name: "voteAmount";
|
|
175
74
|
readonly type: "uint96";
|
|
75
|
+
readonly internalType: "uint96";
|
|
176
76
|
}, {
|
|
177
|
-
readonly internalType: "bool";
|
|
178
77
|
readonly name: "isIncrease";
|
|
179
78
|
readonly type: "bool";
|
|
79
|
+
readonly internalType: "bool";
|
|
180
80
|
}, {
|
|
181
|
-
readonly internalType: "bytes";
|
|
182
81
|
readonly name: "extraData";
|
|
183
82
|
readonly type: "bytes";
|
|
83
|
+
readonly internalType: "bytes";
|
|
184
84
|
}];
|
|
185
|
-
readonly internalType: "struct MultiVote[]";
|
|
186
|
-
readonly name: "votes";
|
|
187
|
-
readonly type: "tuple[]";
|
|
188
85
|
}];
|
|
189
|
-
readonly name: "deposit";
|
|
190
86
|
readonly outputs: readonly [];
|
|
191
87
|
readonly stateMutability: "nonpayable";
|
|
192
|
-
readonly type: "function";
|
|
193
88
|
}, {
|
|
89
|
+
readonly type: "function";
|
|
90
|
+
readonly name: "depositOnMigration";
|
|
194
91
|
readonly inputs: readonly [{
|
|
195
|
-
readonly internalType: "uint96";
|
|
196
92
|
readonly name: "amount";
|
|
197
93
|
readonly type: "uint96";
|
|
94
|
+
readonly internalType: "uint96";
|
|
198
95
|
}, {
|
|
199
|
-
readonly internalType: "address";
|
|
200
96
|
readonly name: "onBehalfOf";
|
|
201
97
|
readonly type: "address";
|
|
98
|
+
readonly internalType: "address";
|
|
202
99
|
}, {
|
|
100
|
+
readonly name: "votes";
|
|
101
|
+
readonly type: "tuple[]";
|
|
102
|
+
readonly internalType: "struct MultiVote[]";
|
|
203
103
|
readonly components: readonly [{
|
|
204
|
-
readonly internalType: "address";
|
|
205
104
|
readonly name: "votingContract";
|
|
206
105
|
readonly type: "address";
|
|
106
|
+
readonly internalType: "address";
|
|
207
107
|
}, {
|
|
208
|
-
readonly internalType: "uint96";
|
|
209
108
|
readonly name: "voteAmount";
|
|
210
109
|
readonly type: "uint96";
|
|
110
|
+
readonly internalType: "uint96";
|
|
211
111
|
}, {
|
|
212
|
-
readonly internalType: "bool";
|
|
213
112
|
readonly name: "isIncrease";
|
|
214
113
|
readonly type: "bool";
|
|
114
|
+
readonly internalType: "bool";
|
|
215
115
|
}, {
|
|
216
|
-
readonly internalType: "bytes";
|
|
217
116
|
readonly name: "extraData";
|
|
218
117
|
readonly type: "bytes";
|
|
118
|
+
readonly internalType: "bytes";
|
|
219
119
|
}];
|
|
220
|
-
readonly internalType: "struct MultiVote[]";
|
|
221
|
-
readonly name: "votes";
|
|
222
|
-
readonly type: "tuple[]";
|
|
223
120
|
}];
|
|
224
|
-
readonly name: "depositOnMigration";
|
|
225
121
|
readonly outputs: readonly [];
|
|
226
122
|
readonly stateMutability: "nonpayable";
|
|
227
|
-
readonly type: "function";
|
|
228
123
|
}, {
|
|
124
|
+
readonly type: "function";
|
|
125
|
+
readonly name: "depositWithPermit";
|
|
229
126
|
readonly inputs: readonly [{
|
|
230
|
-
readonly internalType: "uint96";
|
|
231
127
|
readonly name: "amount";
|
|
232
128
|
readonly type: "uint96";
|
|
129
|
+
readonly internalType: "uint96";
|
|
233
130
|
}, {
|
|
131
|
+
readonly name: "votes";
|
|
132
|
+
readonly type: "tuple[]";
|
|
133
|
+
readonly internalType: "struct MultiVote[]";
|
|
234
134
|
readonly components: readonly [{
|
|
235
|
-
readonly internalType: "address";
|
|
236
135
|
readonly name: "votingContract";
|
|
237
136
|
readonly type: "address";
|
|
137
|
+
readonly internalType: "address";
|
|
238
138
|
}, {
|
|
239
|
-
readonly internalType: "uint96";
|
|
240
139
|
readonly name: "voteAmount";
|
|
241
140
|
readonly type: "uint96";
|
|
141
|
+
readonly internalType: "uint96";
|
|
242
142
|
}, {
|
|
243
|
-
readonly internalType: "bool";
|
|
244
143
|
readonly name: "isIncrease";
|
|
245
144
|
readonly type: "bool";
|
|
145
|
+
readonly internalType: "bool";
|
|
246
146
|
}, {
|
|
247
|
-
readonly internalType: "bytes";
|
|
248
147
|
readonly name: "extraData";
|
|
249
148
|
readonly type: "bytes";
|
|
149
|
+
readonly internalType: "bytes";
|
|
250
150
|
}];
|
|
251
|
-
readonly internalType: "struct MultiVote[]";
|
|
252
|
-
readonly name: "votes";
|
|
253
|
-
readonly type: "tuple[]";
|
|
254
151
|
}, {
|
|
255
|
-
readonly internalType: "uint256";
|
|
256
152
|
readonly name: "deadline";
|
|
257
153
|
readonly type: "uint256";
|
|
154
|
+
readonly internalType: "uint256";
|
|
258
155
|
}, {
|
|
259
|
-
readonly internalType: "uint8";
|
|
260
156
|
readonly name: "v";
|
|
261
157
|
readonly type: "uint8";
|
|
158
|
+
readonly internalType: "uint8";
|
|
262
159
|
}, {
|
|
263
|
-
readonly internalType: "bytes32";
|
|
264
160
|
readonly name: "r";
|
|
265
161
|
readonly type: "bytes32";
|
|
266
|
-
}, {
|
|
267
162
|
readonly internalType: "bytes32";
|
|
163
|
+
}, {
|
|
268
164
|
readonly name: "s";
|
|
269
165
|
readonly type: "bytes32";
|
|
166
|
+
readonly internalType: "bytes32";
|
|
270
167
|
}];
|
|
271
|
-
readonly name: "depositWithPermit";
|
|
272
168
|
readonly outputs: readonly [];
|
|
273
169
|
readonly stateMutability: "nonpayable";
|
|
274
|
-
readonly type: "function";
|
|
275
170
|
}, {
|
|
276
|
-
readonly
|
|
171
|
+
readonly type: "function";
|
|
277
172
|
readonly name: "firstEpochTimestamp";
|
|
173
|
+
readonly inputs: readonly [];
|
|
278
174
|
readonly outputs: readonly [{
|
|
279
|
-
readonly internalType: "uint256";
|
|
280
175
|
readonly name: "";
|
|
281
176
|
readonly type: "uint256";
|
|
177
|
+
readonly internalType: "uint256";
|
|
282
178
|
}];
|
|
283
179
|
readonly stateMutability: "view";
|
|
284
|
-
readonly type: "function";
|
|
285
180
|
}, {
|
|
286
|
-
readonly
|
|
181
|
+
readonly type: "function";
|
|
287
182
|
readonly name: "gear";
|
|
183
|
+
readonly inputs: readonly [];
|
|
288
184
|
readonly outputs: readonly [{
|
|
289
|
-
readonly internalType: "address";
|
|
290
185
|
readonly name: "";
|
|
291
186
|
readonly type: "address";
|
|
187
|
+
readonly internalType: "address";
|
|
292
188
|
}];
|
|
293
189
|
readonly stateMutability: "view";
|
|
294
|
-
readonly type: "function";
|
|
295
190
|
}, {
|
|
296
|
-
readonly
|
|
191
|
+
readonly type: "function";
|
|
297
192
|
readonly name: "getCurrentEpoch";
|
|
193
|
+
readonly inputs: readonly [];
|
|
298
194
|
readonly outputs: readonly [{
|
|
299
|
-
readonly internalType: "uint16";
|
|
300
195
|
readonly name: "";
|
|
301
196
|
readonly type: "uint16";
|
|
197
|
+
readonly internalType: "uint16";
|
|
302
198
|
}];
|
|
303
199
|
readonly stateMutability: "view";
|
|
304
|
-
readonly type: "function";
|
|
305
200
|
}, {
|
|
201
|
+
readonly type: "function";
|
|
202
|
+
readonly name: "getWithdrawableAmounts";
|
|
306
203
|
readonly inputs: readonly [{
|
|
307
|
-
readonly internalType: "address";
|
|
308
204
|
readonly name: "user";
|
|
309
205
|
readonly type: "address";
|
|
206
|
+
readonly internalType: "address";
|
|
310
207
|
}];
|
|
311
|
-
readonly name: "getWithdrawableAmounts";
|
|
312
208
|
readonly outputs: readonly [{
|
|
313
|
-
readonly internalType: "uint256";
|
|
314
209
|
readonly name: "withdrawableNow";
|
|
315
210
|
readonly type: "uint256";
|
|
211
|
+
readonly internalType: "uint256";
|
|
316
212
|
}, {
|
|
317
|
-
readonly internalType: "uint256[4]";
|
|
318
213
|
readonly name: "withdrawableInEpochs";
|
|
319
214
|
readonly type: "uint256[4]";
|
|
215
|
+
readonly internalType: "uint256[4]";
|
|
320
216
|
}];
|
|
321
217
|
readonly stateMutability: "view";
|
|
322
|
-
readonly type: "function";
|
|
323
218
|
}, {
|
|
219
|
+
readonly type: "function";
|
|
220
|
+
readonly name: "migrate";
|
|
324
221
|
readonly inputs: readonly [{
|
|
325
|
-
readonly internalType: "uint96";
|
|
326
222
|
readonly name: "amount";
|
|
327
223
|
readonly type: "uint96";
|
|
224
|
+
readonly internalType: "uint96";
|
|
328
225
|
}, {
|
|
226
|
+
readonly name: "votesBefore";
|
|
227
|
+
readonly type: "tuple[]";
|
|
228
|
+
readonly internalType: "struct MultiVote[]";
|
|
329
229
|
readonly components: readonly [{
|
|
330
|
-
readonly internalType: "address";
|
|
331
230
|
readonly name: "votingContract";
|
|
332
231
|
readonly type: "address";
|
|
232
|
+
readonly internalType: "address";
|
|
333
233
|
}, {
|
|
334
|
-
readonly internalType: "uint96";
|
|
335
234
|
readonly name: "voteAmount";
|
|
336
235
|
readonly type: "uint96";
|
|
236
|
+
readonly internalType: "uint96";
|
|
337
237
|
}, {
|
|
338
|
-
readonly internalType: "bool";
|
|
339
238
|
readonly name: "isIncrease";
|
|
340
239
|
readonly type: "bool";
|
|
240
|
+
readonly internalType: "bool";
|
|
341
241
|
}, {
|
|
342
|
-
readonly internalType: "bytes";
|
|
343
242
|
readonly name: "extraData";
|
|
344
243
|
readonly type: "bytes";
|
|
244
|
+
readonly internalType: "bytes";
|
|
345
245
|
}];
|
|
346
|
-
readonly internalType: "struct MultiVote[]";
|
|
347
|
-
readonly name: "votesBefore";
|
|
348
|
-
readonly type: "tuple[]";
|
|
349
246
|
}, {
|
|
247
|
+
readonly name: "votesAfter";
|
|
248
|
+
readonly type: "tuple[]";
|
|
249
|
+
readonly internalType: "struct MultiVote[]";
|
|
350
250
|
readonly components: readonly [{
|
|
351
|
-
readonly internalType: "address";
|
|
352
251
|
readonly name: "votingContract";
|
|
353
252
|
readonly type: "address";
|
|
253
|
+
readonly internalType: "address";
|
|
354
254
|
}, {
|
|
355
|
-
readonly internalType: "uint96";
|
|
356
255
|
readonly name: "voteAmount";
|
|
357
256
|
readonly type: "uint96";
|
|
257
|
+
readonly internalType: "uint96";
|
|
358
258
|
}, {
|
|
359
|
-
readonly internalType: "bool";
|
|
360
259
|
readonly name: "isIncrease";
|
|
361
260
|
readonly type: "bool";
|
|
261
|
+
readonly internalType: "bool";
|
|
362
262
|
}, {
|
|
363
|
-
readonly internalType: "bytes";
|
|
364
263
|
readonly name: "extraData";
|
|
365
264
|
readonly type: "bytes";
|
|
265
|
+
readonly internalType: "bytes";
|
|
366
266
|
}];
|
|
367
|
-
readonly internalType: "struct MultiVote[]";
|
|
368
|
-
readonly name: "votesAfter";
|
|
369
|
-
readonly type: "tuple[]";
|
|
370
267
|
}];
|
|
371
|
-
readonly name: "migrate";
|
|
372
268
|
readonly outputs: readonly [];
|
|
373
269
|
readonly stateMutability: "nonpayable";
|
|
374
|
-
readonly type: "function";
|
|
375
270
|
}, {
|
|
376
|
-
readonly
|
|
271
|
+
readonly type: "function";
|
|
377
272
|
readonly name: "migrator";
|
|
273
|
+
readonly inputs: readonly [];
|
|
378
274
|
readonly outputs: readonly [{
|
|
379
|
-
readonly internalType: "address";
|
|
380
275
|
readonly name: "";
|
|
381
276
|
readonly type: "address";
|
|
277
|
+
readonly internalType: "address";
|
|
382
278
|
}];
|
|
383
279
|
readonly stateMutability: "view";
|
|
384
|
-
readonly type: "function";
|
|
385
280
|
}, {
|
|
281
|
+
readonly type: "function";
|
|
282
|
+
readonly name: "multivote";
|
|
386
283
|
readonly inputs: readonly [{
|
|
284
|
+
readonly name: "votes";
|
|
285
|
+
readonly type: "tuple[]";
|
|
286
|
+
readonly internalType: "struct MultiVote[]";
|
|
387
287
|
readonly components: readonly [{
|
|
388
|
-
readonly internalType: "address";
|
|
389
288
|
readonly name: "votingContract";
|
|
390
289
|
readonly type: "address";
|
|
290
|
+
readonly internalType: "address";
|
|
391
291
|
}, {
|
|
392
|
-
readonly internalType: "uint96";
|
|
393
292
|
readonly name: "voteAmount";
|
|
394
293
|
readonly type: "uint96";
|
|
294
|
+
readonly internalType: "uint96";
|
|
395
295
|
}, {
|
|
396
|
-
readonly internalType: "bool";
|
|
397
296
|
readonly name: "isIncrease";
|
|
398
297
|
readonly type: "bool";
|
|
298
|
+
readonly internalType: "bool";
|
|
399
299
|
}, {
|
|
400
|
-
readonly internalType: "bytes";
|
|
401
300
|
readonly name: "extraData";
|
|
402
301
|
readonly type: "bytes";
|
|
302
|
+
readonly internalType: "bytes";
|
|
403
303
|
}];
|
|
404
|
-
readonly internalType: "struct MultiVote[]";
|
|
405
|
-
readonly name: "votes";
|
|
406
|
-
readonly type: "tuple[]";
|
|
407
304
|
}];
|
|
408
|
-
readonly name: "multivote";
|
|
409
305
|
readonly outputs: readonly [];
|
|
410
306
|
readonly stateMutability: "nonpayable";
|
|
411
|
-
readonly type: "function";
|
|
412
307
|
}, {
|
|
308
|
+
readonly type: "function";
|
|
309
|
+
readonly name: "setMigrator";
|
|
413
310
|
readonly inputs: readonly [{
|
|
414
|
-
readonly internalType: "address";
|
|
415
311
|
readonly name: "newMigrator";
|
|
416
312
|
readonly type: "address";
|
|
313
|
+
readonly internalType: "address";
|
|
417
314
|
}];
|
|
418
|
-
readonly name: "setMigrator";
|
|
419
315
|
readonly outputs: readonly [];
|
|
420
316
|
readonly stateMutability: "nonpayable";
|
|
421
|
-
readonly type: "function";
|
|
422
317
|
}, {
|
|
318
|
+
readonly type: "function";
|
|
319
|
+
readonly name: "setSuccessor";
|
|
423
320
|
readonly inputs: readonly [{
|
|
424
|
-
readonly internalType: "address";
|
|
425
321
|
readonly name: "newSuccessor";
|
|
426
322
|
readonly type: "address";
|
|
323
|
+
readonly internalType: "address";
|
|
427
324
|
}];
|
|
428
|
-
readonly name: "setSuccessor";
|
|
429
325
|
readonly outputs: readonly [];
|
|
430
326
|
readonly stateMutability: "nonpayable";
|
|
431
|
-
readonly type: "function";
|
|
432
327
|
}, {
|
|
328
|
+
readonly type: "function";
|
|
329
|
+
readonly name: "setVotingContractStatus";
|
|
433
330
|
readonly inputs: readonly [{
|
|
434
|
-
readonly internalType: "address";
|
|
435
331
|
readonly name: "votingContract";
|
|
436
332
|
readonly type: "address";
|
|
333
|
+
readonly internalType: "address";
|
|
437
334
|
}, {
|
|
438
|
-
readonly internalType: "enum VotingContractStatus";
|
|
439
335
|
readonly name: "status";
|
|
440
336
|
readonly type: "uint8";
|
|
337
|
+
readonly internalType: "enum VotingContractStatus";
|
|
441
338
|
}];
|
|
442
|
-
readonly name: "setVotingContractStatus";
|
|
443
339
|
readonly outputs: readonly [];
|
|
444
340
|
readonly stateMutability: "nonpayable";
|
|
445
|
-
readonly type: "function";
|
|
446
341
|
}, {
|
|
447
|
-
readonly
|
|
342
|
+
readonly type: "function";
|
|
448
343
|
readonly name: "successor";
|
|
344
|
+
readonly inputs: readonly [];
|
|
449
345
|
readonly outputs: readonly [{
|
|
450
|
-
readonly internalType: "address";
|
|
451
346
|
readonly name: "";
|
|
452
347
|
readonly type: "address";
|
|
348
|
+
readonly internalType: "address";
|
|
453
349
|
}];
|
|
454
350
|
readonly stateMutability: "view";
|
|
455
|
-
readonly type: "function";
|
|
456
351
|
}, {
|
|
457
|
-
readonly
|
|
352
|
+
readonly type: "function";
|
|
458
353
|
readonly name: "version";
|
|
354
|
+
readonly inputs: readonly [];
|
|
459
355
|
readonly outputs: readonly [{
|
|
460
|
-
readonly internalType: "uint256";
|
|
461
356
|
readonly name: "";
|
|
462
357
|
readonly type: "uint256";
|
|
358
|
+
readonly internalType: "uint256";
|
|
463
359
|
}];
|
|
464
360
|
readonly stateMutability: "view";
|
|
465
|
-
readonly type: "function";
|
|
466
361
|
}, {
|
|
362
|
+
readonly type: "function";
|
|
363
|
+
readonly name: "withdraw";
|
|
467
364
|
readonly inputs: readonly [{
|
|
468
|
-
readonly internalType: "uint96";
|
|
469
365
|
readonly name: "amount";
|
|
470
366
|
readonly type: "uint96";
|
|
367
|
+
readonly internalType: "uint96";
|
|
471
368
|
}, {
|
|
472
|
-
readonly internalType: "address";
|
|
473
369
|
readonly name: "to";
|
|
474
370
|
readonly type: "address";
|
|
371
|
+
readonly internalType: "address";
|
|
475
372
|
}, {
|
|
373
|
+
readonly name: "votes";
|
|
374
|
+
readonly type: "tuple[]";
|
|
375
|
+
readonly internalType: "struct MultiVote[]";
|
|
476
376
|
readonly components: readonly [{
|
|
477
|
-
readonly internalType: "address";
|
|
478
377
|
readonly name: "votingContract";
|
|
479
378
|
readonly type: "address";
|
|
379
|
+
readonly internalType: "address";
|
|
480
380
|
}, {
|
|
481
|
-
readonly internalType: "uint96";
|
|
482
381
|
readonly name: "voteAmount";
|
|
483
382
|
readonly type: "uint96";
|
|
383
|
+
readonly internalType: "uint96";
|
|
484
384
|
}, {
|
|
485
|
-
readonly internalType: "bool";
|
|
486
385
|
readonly name: "isIncrease";
|
|
487
386
|
readonly type: "bool";
|
|
387
|
+
readonly internalType: "bool";
|
|
488
388
|
}, {
|
|
489
|
-
readonly internalType: "bytes";
|
|
490
389
|
readonly name: "extraData";
|
|
491
390
|
readonly type: "bytes";
|
|
391
|
+
readonly internalType: "bytes";
|
|
492
392
|
}];
|
|
493
|
-
readonly internalType: "struct MultiVote[]";
|
|
494
|
-
readonly name: "votes";
|
|
495
|
-
readonly type: "tuple[]";
|
|
496
393
|
}];
|
|
497
|
-
readonly name: "withdraw";
|
|
498
394
|
readonly outputs: readonly [];
|
|
499
395
|
readonly stateMutability: "nonpayable";
|
|
500
|
-
|
|
396
|
+
}, {
|
|
397
|
+
readonly type: "event";
|
|
398
|
+
readonly name: "ClaimGearWithdrawal";
|
|
399
|
+
readonly inputs: readonly [{
|
|
400
|
+
readonly name: "user";
|
|
401
|
+
readonly type: "address";
|
|
402
|
+
readonly indexed: true;
|
|
403
|
+
readonly internalType: "address";
|
|
404
|
+
}, {
|
|
405
|
+
readonly name: "to";
|
|
406
|
+
readonly type: "address";
|
|
407
|
+
readonly indexed: false;
|
|
408
|
+
readonly internalType: "address";
|
|
409
|
+
}, {
|
|
410
|
+
readonly name: "amount";
|
|
411
|
+
readonly type: "uint256";
|
|
412
|
+
readonly indexed: false;
|
|
413
|
+
readonly internalType: "uint256";
|
|
414
|
+
}];
|
|
415
|
+
readonly anonymous: false;
|
|
416
|
+
}, {
|
|
417
|
+
readonly type: "event";
|
|
418
|
+
readonly name: "DepositGear";
|
|
419
|
+
readonly inputs: readonly [{
|
|
420
|
+
readonly name: "user";
|
|
421
|
+
readonly type: "address";
|
|
422
|
+
readonly indexed: true;
|
|
423
|
+
readonly internalType: "address";
|
|
424
|
+
}, {
|
|
425
|
+
readonly name: "amount";
|
|
426
|
+
readonly type: "uint256";
|
|
427
|
+
readonly indexed: false;
|
|
428
|
+
readonly internalType: "uint256";
|
|
429
|
+
}];
|
|
430
|
+
readonly anonymous: false;
|
|
431
|
+
}, {
|
|
432
|
+
readonly type: "event";
|
|
433
|
+
readonly name: "MigrateGear";
|
|
434
|
+
readonly inputs: readonly [{
|
|
435
|
+
readonly name: "user";
|
|
436
|
+
readonly type: "address";
|
|
437
|
+
readonly indexed: true;
|
|
438
|
+
readonly internalType: "address";
|
|
439
|
+
}, {
|
|
440
|
+
readonly name: "successor";
|
|
441
|
+
readonly type: "address";
|
|
442
|
+
readonly indexed: true;
|
|
443
|
+
readonly internalType: "address";
|
|
444
|
+
}, {
|
|
445
|
+
readonly name: "amount";
|
|
446
|
+
readonly type: "uint256";
|
|
447
|
+
readonly indexed: false;
|
|
448
|
+
readonly internalType: "uint256";
|
|
449
|
+
}];
|
|
450
|
+
readonly anonymous: false;
|
|
451
|
+
}, {
|
|
452
|
+
readonly type: "event";
|
|
453
|
+
readonly name: "ScheduleGearWithdrawal";
|
|
454
|
+
readonly inputs: readonly [{
|
|
455
|
+
readonly name: "user";
|
|
456
|
+
readonly type: "address";
|
|
457
|
+
readonly indexed: true;
|
|
458
|
+
readonly internalType: "address";
|
|
459
|
+
}, {
|
|
460
|
+
readonly name: "amount";
|
|
461
|
+
readonly type: "uint256";
|
|
462
|
+
readonly indexed: false;
|
|
463
|
+
readonly internalType: "uint256";
|
|
464
|
+
}];
|
|
465
|
+
readonly anonymous: false;
|
|
466
|
+
}, {
|
|
467
|
+
readonly type: "event";
|
|
468
|
+
readonly name: "SetMigrator";
|
|
469
|
+
readonly inputs: readonly [{
|
|
470
|
+
readonly name: "migrator";
|
|
471
|
+
readonly type: "address";
|
|
472
|
+
readonly indexed: true;
|
|
473
|
+
readonly internalType: "address";
|
|
474
|
+
}];
|
|
475
|
+
readonly anonymous: false;
|
|
476
|
+
}, {
|
|
477
|
+
readonly type: "event";
|
|
478
|
+
readonly name: "SetSuccessor";
|
|
479
|
+
readonly inputs: readonly [{
|
|
480
|
+
readonly name: "successor";
|
|
481
|
+
readonly type: "address";
|
|
482
|
+
readonly indexed: true;
|
|
483
|
+
readonly internalType: "address";
|
|
484
|
+
}];
|
|
485
|
+
readonly anonymous: false;
|
|
486
|
+
}, {
|
|
487
|
+
readonly type: "event";
|
|
488
|
+
readonly name: "SetVotingContractStatus";
|
|
489
|
+
readonly inputs: readonly [{
|
|
490
|
+
readonly name: "votingContract";
|
|
491
|
+
readonly type: "address";
|
|
492
|
+
readonly indexed: true;
|
|
493
|
+
readonly internalType: "address";
|
|
494
|
+
}, {
|
|
495
|
+
readonly name: "status";
|
|
496
|
+
readonly type: "uint8";
|
|
497
|
+
readonly indexed: false;
|
|
498
|
+
readonly internalType: "enum VotingContractStatus";
|
|
499
|
+
}];
|
|
500
|
+
readonly anonymous: false;
|
|
501
501
|
}];
|
|
502
502
|
static createInterface(): IGearStakingV3Interface;
|
|
503
503
|
static connect(address: string, signerOrProvider: Signer | Provider): IGearStakingV3;
|