@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,645 +7,645 @@ exports.IGearStakingV3__factory = void 0;
|
|
|
7
7
|
const ethers_1 = require("ethers");
|
|
8
8
|
const _abi = [
|
|
9
9
|
{
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
{
|
|
13
|
-
indexed: true,
|
|
14
|
-
internalType: "address",
|
|
15
|
-
name: "user",
|
|
16
|
-
type: "address",
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
indexed: false,
|
|
20
|
-
internalType: "address",
|
|
21
|
-
name: "to",
|
|
22
|
-
type: "address",
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
indexed: false,
|
|
26
|
-
internalType: "uint256",
|
|
27
|
-
name: "amount",
|
|
28
|
-
type: "uint256",
|
|
29
|
-
},
|
|
30
|
-
],
|
|
31
|
-
name: "ClaimGearWithdrawal",
|
|
32
|
-
type: "event",
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
anonymous: false,
|
|
36
|
-
inputs: [
|
|
37
|
-
{
|
|
38
|
-
indexed: true,
|
|
39
|
-
internalType: "address",
|
|
40
|
-
name: "user",
|
|
41
|
-
type: "address",
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
indexed: false,
|
|
45
|
-
internalType: "uint256",
|
|
46
|
-
name: "amount",
|
|
47
|
-
type: "uint256",
|
|
48
|
-
},
|
|
49
|
-
],
|
|
50
|
-
name: "DepositGear",
|
|
51
|
-
type: "event",
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
anonymous: false,
|
|
55
|
-
inputs: [
|
|
56
|
-
{
|
|
57
|
-
indexed: true,
|
|
58
|
-
internalType: "address",
|
|
59
|
-
name: "user",
|
|
60
|
-
type: "address",
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
indexed: true,
|
|
64
|
-
internalType: "address",
|
|
65
|
-
name: "successor",
|
|
66
|
-
type: "address",
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
indexed: false,
|
|
70
|
-
internalType: "uint256",
|
|
71
|
-
name: "amount",
|
|
72
|
-
type: "uint256",
|
|
73
|
-
},
|
|
74
|
-
],
|
|
75
|
-
name: "MigrateGear",
|
|
76
|
-
type: "event",
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
anonymous: false,
|
|
80
|
-
inputs: [
|
|
81
|
-
{
|
|
82
|
-
indexed: true,
|
|
83
|
-
internalType: "address",
|
|
84
|
-
name: "user",
|
|
85
|
-
type: "address",
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
indexed: false,
|
|
89
|
-
internalType: "uint256",
|
|
90
|
-
name: "amount",
|
|
91
|
-
type: "uint256",
|
|
92
|
-
},
|
|
93
|
-
],
|
|
94
|
-
name: "ScheduleGearWithdrawal",
|
|
95
|
-
type: "event",
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
anonymous: false,
|
|
99
|
-
inputs: [
|
|
100
|
-
{
|
|
101
|
-
indexed: true,
|
|
102
|
-
internalType: "address",
|
|
103
|
-
name: "migrator",
|
|
104
|
-
type: "address",
|
|
105
|
-
},
|
|
106
|
-
],
|
|
107
|
-
name: "SetMigrator",
|
|
108
|
-
type: "event",
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
anonymous: false,
|
|
112
|
-
inputs: [
|
|
113
|
-
{
|
|
114
|
-
indexed: true,
|
|
115
|
-
internalType: "address",
|
|
116
|
-
name: "successor",
|
|
117
|
-
type: "address",
|
|
118
|
-
},
|
|
119
|
-
],
|
|
120
|
-
name: "SetSuccessor",
|
|
121
|
-
type: "event",
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
anonymous: false,
|
|
125
|
-
inputs: [
|
|
126
|
-
{
|
|
127
|
-
indexed: true,
|
|
128
|
-
internalType: "address",
|
|
129
|
-
name: "votingContract",
|
|
130
|
-
type: "address",
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
indexed: false,
|
|
134
|
-
internalType: "enum VotingContractStatus",
|
|
135
|
-
name: "status",
|
|
136
|
-
type: "uint8",
|
|
137
|
-
},
|
|
138
|
-
],
|
|
139
|
-
name: "SetVotingContractStatus",
|
|
140
|
-
type: "event",
|
|
141
|
-
},
|
|
142
|
-
{
|
|
10
|
+
type: "function",
|
|
11
|
+
name: "allowedVotingContract",
|
|
143
12
|
inputs: [
|
|
144
13
|
{
|
|
145
|
-
internalType: "address",
|
|
146
14
|
name: "",
|
|
147
15
|
type: "address",
|
|
16
|
+
internalType: "address",
|
|
148
17
|
},
|
|
149
18
|
],
|
|
150
|
-
name: "allowedVotingContract",
|
|
151
19
|
outputs: [
|
|
152
20
|
{
|
|
153
|
-
internalType: "enum VotingContractStatus",
|
|
154
21
|
name: "",
|
|
155
22
|
type: "uint8",
|
|
23
|
+
internalType: "enum VotingContractStatus",
|
|
156
24
|
},
|
|
157
25
|
],
|
|
158
26
|
stateMutability: "view",
|
|
159
|
-
type: "function",
|
|
160
27
|
},
|
|
161
28
|
{
|
|
29
|
+
type: "function",
|
|
30
|
+
name: "availableBalance",
|
|
162
31
|
inputs: [
|
|
163
32
|
{
|
|
164
|
-
internalType: "address",
|
|
165
33
|
name: "user",
|
|
166
34
|
type: "address",
|
|
35
|
+
internalType: "address",
|
|
167
36
|
},
|
|
168
37
|
],
|
|
169
|
-
name: "availableBalance",
|
|
170
38
|
outputs: [
|
|
171
39
|
{
|
|
172
|
-
internalType: "uint256",
|
|
173
40
|
name: "",
|
|
174
41
|
type: "uint256",
|
|
42
|
+
internalType: "uint256",
|
|
175
43
|
},
|
|
176
44
|
],
|
|
177
45
|
stateMutability: "view",
|
|
178
|
-
type: "function",
|
|
179
46
|
},
|
|
180
47
|
{
|
|
48
|
+
type: "function",
|
|
49
|
+
name: "balanceOf",
|
|
181
50
|
inputs: [
|
|
182
51
|
{
|
|
183
|
-
internalType: "address",
|
|
184
52
|
name: "user",
|
|
185
53
|
type: "address",
|
|
54
|
+
internalType: "address",
|
|
186
55
|
},
|
|
187
56
|
],
|
|
188
|
-
name: "balanceOf",
|
|
189
57
|
outputs: [
|
|
190
58
|
{
|
|
191
|
-
internalType: "uint256",
|
|
192
59
|
name: "",
|
|
193
60
|
type: "uint256",
|
|
61
|
+
internalType: "uint256",
|
|
194
62
|
},
|
|
195
63
|
],
|
|
196
64
|
stateMutability: "view",
|
|
197
|
-
type: "function",
|
|
198
65
|
},
|
|
199
66
|
{
|
|
67
|
+
type: "function",
|
|
68
|
+
name: "claimWithdrawals",
|
|
200
69
|
inputs: [
|
|
201
70
|
{
|
|
202
|
-
internalType: "address",
|
|
203
71
|
name: "to",
|
|
204
72
|
type: "address",
|
|
73
|
+
internalType: "address",
|
|
205
74
|
},
|
|
206
75
|
],
|
|
207
|
-
name: "claimWithdrawals",
|
|
208
76
|
outputs: [],
|
|
209
77
|
stateMutability: "nonpayable",
|
|
210
|
-
type: "function",
|
|
211
78
|
},
|
|
212
79
|
{
|
|
80
|
+
type: "function",
|
|
81
|
+
name: "deposit",
|
|
213
82
|
inputs: [
|
|
214
83
|
{
|
|
215
|
-
internalType: "uint96",
|
|
216
84
|
name: "amount",
|
|
217
85
|
type: "uint96",
|
|
86
|
+
internalType: "uint96",
|
|
218
87
|
},
|
|
219
88
|
{
|
|
89
|
+
name: "votes",
|
|
90
|
+
type: "tuple[]",
|
|
91
|
+
internalType: "struct MultiVote[]",
|
|
220
92
|
components: [
|
|
221
93
|
{
|
|
222
|
-
internalType: "address",
|
|
223
94
|
name: "votingContract",
|
|
224
95
|
type: "address",
|
|
96
|
+
internalType: "address",
|
|
225
97
|
},
|
|
226
98
|
{
|
|
227
|
-
internalType: "uint96",
|
|
228
99
|
name: "voteAmount",
|
|
229
100
|
type: "uint96",
|
|
101
|
+
internalType: "uint96",
|
|
230
102
|
},
|
|
231
103
|
{
|
|
232
|
-
internalType: "bool",
|
|
233
104
|
name: "isIncrease",
|
|
234
105
|
type: "bool",
|
|
106
|
+
internalType: "bool",
|
|
235
107
|
},
|
|
236
108
|
{
|
|
237
|
-
internalType: "bytes",
|
|
238
109
|
name: "extraData",
|
|
239
110
|
type: "bytes",
|
|
111
|
+
internalType: "bytes",
|
|
240
112
|
},
|
|
241
113
|
],
|
|
242
|
-
internalType: "struct MultiVote[]",
|
|
243
|
-
name: "votes",
|
|
244
|
-
type: "tuple[]",
|
|
245
114
|
},
|
|
246
115
|
],
|
|
247
|
-
name: "deposit",
|
|
248
116
|
outputs: [],
|
|
249
117
|
stateMutability: "nonpayable",
|
|
250
|
-
type: "function",
|
|
251
118
|
},
|
|
252
119
|
{
|
|
120
|
+
type: "function",
|
|
121
|
+
name: "depositOnMigration",
|
|
253
122
|
inputs: [
|
|
254
123
|
{
|
|
255
|
-
internalType: "uint96",
|
|
256
124
|
name: "amount",
|
|
257
125
|
type: "uint96",
|
|
126
|
+
internalType: "uint96",
|
|
258
127
|
},
|
|
259
128
|
{
|
|
260
|
-
internalType: "address",
|
|
261
129
|
name: "onBehalfOf",
|
|
262
130
|
type: "address",
|
|
131
|
+
internalType: "address",
|
|
263
132
|
},
|
|
264
133
|
{
|
|
134
|
+
name: "votes",
|
|
135
|
+
type: "tuple[]",
|
|
136
|
+
internalType: "struct MultiVote[]",
|
|
265
137
|
components: [
|
|
266
138
|
{
|
|
267
|
-
internalType: "address",
|
|
268
139
|
name: "votingContract",
|
|
269
140
|
type: "address",
|
|
141
|
+
internalType: "address",
|
|
270
142
|
},
|
|
271
143
|
{
|
|
272
|
-
internalType: "uint96",
|
|
273
144
|
name: "voteAmount",
|
|
274
145
|
type: "uint96",
|
|
146
|
+
internalType: "uint96",
|
|
275
147
|
},
|
|
276
148
|
{
|
|
277
|
-
internalType: "bool",
|
|
278
149
|
name: "isIncrease",
|
|
279
150
|
type: "bool",
|
|
151
|
+
internalType: "bool",
|
|
280
152
|
},
|
|
281
153
|
{
|
|
282
|
-
internalType: "bytes",
|
|
283
154
|
name: "extraData",
|
|
284
155
|
type: "bytes",
|
|
156
|
+
internalType: "bytes",
|
|
285
157
|
},
|
|
286
158
|
],
|
|
287
|
-
internalType: "struct MultiVote[]",
|
|
288
|
-
name: "votes",
|
|
289
|
-
type: "tuple[]",
|
|
290
159
|
},
|
|
291
160
|
],
|
|
292
|
-
name: "depositOnMigration",
|
|
293
161
|
outputs: [],
|
|
294
162
|
stateMutability: "nonpayable",
|
|
295
|
-
type: "function",
|
|
296
163
|
},
|
|
297
164
|
{
|
|
165
|
+
type: "function",
|
|
166
|
+
name: "depositWithPermit",
|
|
298
167
|
inputs: [
|
|
299
168
|
{
|
|
300
|
-
internalType: "uint96",
|
|
301
169
|
name: "amount",
|
|
302
170
|
type: "uint96",
|
|
171
|
+
internalType: "uint96",
|
|
303
172
|
},
|
|
304
173
|
{
|
|
174
|
+
name: "votes",
|
|
175
|
+
type: "tuple[]",
|
|
176
|
+
internalType: "struct MultiVote[]",
|
|
305
177
|
components: [
|
|
306
178
|
{
|
|
307
|
-
internalType: "address",
|
|
308
179
|
name: "votingContract",
|
|
309
180
|
type: "address",
|
|
181
|
+
internalType: "address",
|
|
310
182
|
},
|
|
311
183
|
{
|
|
312
|
-
internalType: "uint96",
|
|
313
184
|
name: "voteAmount",
|
|
314
185
|
type: "uint96",
|
|
186
|
+
internalType: "uint96",
|
|
315
187
|
},
|
|
316
188
|
{
|
|
317
|
-
internalType: "bool",
|
|
318
189
|
name: "isIncrease",
|
|
319
190
|
type: "bool",
|
|
191
|
+
internalType: "bool",
|
|
320
192
|
},
|
|
321
193
|
{
|
|
322
|
-
internalType: "bytes",
|
|
323
194
|
name: "extraData",
|
|
324
195
|
type: "bytes",
|
|
196
|
+
internalType: "bytes",
|
|
325
197
|
},
|
|
326
198
|
],
|
|
327
|
-
internalType: "struct MultiVote[]",
|
|
328
|
-
name: "votes",
|
|
329
|
-
type: "tuple[]",
|
|
330
199
|
},
|
|
331
200
|
{
|
|
332
|
-
internalType: "uint256",
|
|
333
201
|
name: "deadline",
|
|
334
202
|
type: "uint256",
|
|
203
|
+
internalType: "uint256",
|
|
335
204
|
},
|
|
336
205
|
{
|
|
337
|
-
internalType: "uint8",
|
|
338
206
|
name: "v",
|
|
339
207
|
type: "uint8",
|
|
208
|
+
internalType: "uint8",
|
|
340
209
|
},
|
|
341
210
|
{
|
|
342
|
-
internalType: "bytes32",
|
|
343
211
|
name: "r",
|
|
344
212
|
type: "bytes32",
|
|
213
|
+
internalType: "bytes32",
|
|
345
214
|
},
|
|
346
215
|
{
|
|
347
|
-
internalType: "bytes32",
|
|
348
216
|
name: "s",
|
|
349
217
|
type: "bytes32",
|
|
218
|
+
internalType: "bytes32",
|
|
350
219
|
},
|
|
351
220
|
],
|
|
352
|
-
name: "depositWithPermit",
|
|
353
221
|
outputs: [],
|
|
354
222
|
stateMutability: "nonpayable",
|
|
355
|
-
type: "function",
|
|
356
223
|
},
|
|
357
224
|
{
|
|
358
|
-
|
|
225
|
+
type: "function",
|
|
359
226
|
name: "firstEpochTimestamp",
|
|
227
|
+
inputs: [],
|
|
360
228
|
outputs: [
|
|
361
229
|
{
|
|
362
|
-
internalType: "uint256",
|
|
363
230
|
name: "",
|
|
364
231
|
type: "uint256",
|
|
232
|
+
internalType: "uint256",
|
|
365
233
|
},
|
|
366
234
|
],
|
|
367
235
|
stateMutability: "view",
|
|
368
|
-
type: "function",
|
|
369
236
|
},
|
|
370
237
|
{
|
|
371
|
-
|
|
238
|
+
type: "function",
|
|
372
239
|
name: "gear",
|
|
240
|
+
inputs: [],
|
|
373
241
|
outputs: [
|
|
374
242
|
{
|
|
375
|
-
internalType: "address",
|
|
376
243
|
name: "",
|
|
377
244
|
type: "address",
|
|
245
|
+
internalType: "address",
|
|
378
246
|
},
|
|
379
247
|
],
|
|
380
248
|
stateMutability: "view",
|
|
381
|
-
type: "function",
|
|
382
249
|
},
|
|
383
250
|
{
|
|
384
|
-
|
|
251
|
+
type: "function",
|
|
385
252
|
name: "getCurrentEpoch",
|
|
253
|
+
inputs: [],
|
|
386
254
|
outputs: [
|
|
387
255
|
{
|
|
388
|
-
internalType: "uint16",
|
|
389
256
|
name: "",
|
|
390
257
|
type: "uint16",
|
|
258
|
+
internalType: "uint16",
|
|
391
259
|
},
|
|
392
260
|
],
|
|
393
261
|
stateMutability: "view",
|
|
394
|
-
type: "function",
|
|
395
262
|
},
|
|
396
263
|
{
|
|
264
|
+
type: "function",
|
|
265
|
+
name: "getWithdrawableAmounts",
|
|
397
266
|
inputs: [
|
|
398
267
|
{
|
|
399
|
-
internalType: "address",
|
|
400
268
|
name: "user",
|
|
401
269
|
type: "address",
|
|
270
|
+
internalType: "address",
|
|
402
271
|
},
|
|
403
272
|
],
|
|
404
|
-
name: "getWithdrawableAmounts",
|
|
405
273
|
outputs: [
|
|
406
274
|
{
|
|
407
|
-
internalType: "uint256",
|
|
408
275
|
name: "withdrawableNow",
|
|
409
276
|
type: "uint256",
|
|
277
|
+
internalType: "uint256",
|
|
410
278
|
},
|
|
411
279
|
{
|
|
412
|
-
internalType: "uint256[4]",
|
|
413
280
|
name: "withdrawableInEpochs",
|
|
414
281
|
type: "uint256[4]",
|
|
282
|
+
internalType: "uint256[4]",
|
|
415
283
|
},
|
|
416
284
|
],
|
|
417
285
|
stateMutability: "view",
|
|
418
|
-
type: "function",
|
|
419
286
|
},
|
|
420
287
|
{
|
|
288
|
+
type: "function",
|
|
289
|
+
name: "migrate",
|
|
421
290
|
inputs: [
|
|
422
291
|
{
|
|
423
|
-
internalType: "uint96",
|
|
424
292
|
name: "amount",
|
|
425
293
|
type: "uint96",
|
|
294
|
+
internalType: "uint96",
|
|
426
295
|
},
|
|
427
296
|
{
|
|
297
|
+
name: "votesBefore",
|
|
298
|
+
type: "tuple[]",
|
|
299
|
+
internalType: "struct MultiVote[]",
|
|
428
300
|
components: [
|
|
429
301
|
{
|
|
430
|
-
internalType: "address",
|
|
431
302
|
name: "votingContract",
|
|
432
303
|
type: "address",
|
|
304
|
+
internalType: "address",
|
|
433
305
|
},
|
|
434
306
|
{
|
|
435
|
-
internalType: "uint96",
|
|
436
307
|
name: "voteAmount",
|
|
437
308
|
type: "uint96",
|
|
309
|
+
internalType: "uint96",
|
|
438
310
|
},
|
|
439
311
|
{
|
|
440
|
-
internalType: "bool",
|
|
441
312
|
name: "isIncrease",
|
|
442
313
|
type: "bool",
|
|
314
|
+
internalType: "bool",
|
|
443
315
|
},
|
|
444
316
|
{
|
|
445
|
-
internalType: "bytes",
|
|
446
317
|
name: "extraData",
|
|
447
318
|
type: "bytes",
|
|
319
|
+
internalType: "bytes",
|
|
448
320
|
},
|
|
449
321
|
],
|
|
450
|
-
internalType: "struct MultiVote[]",
|
|
451
|
-
name: "votesBefore",
|
|
452
|
-
type: "tuple[]",
|
|
453
322
|
},
|
|
454
323
|
{
|
|
324
|
+
name: "votesAfter",
|
|
325
|
+
type: "tuple[]",
|
|
326
|
+
internalType: "struct MultiVote[]",
|
|
455
327
|
components: [
|
|
456
328
|
{
|
|
457
|
-
internalType: "address",
|
|
458
329
|
name: "votingContract",
|
|
459
330
|
type: "address",
|
|
331
|
+
internalType: "address",
|
|
460
332
|
},
|
|
461
333
|
{
|
|
462
|
-
internalType: "uint96",
|
|
463
334
|
name: "voteAmount",
|
|
464
335
|
type: "uint96",
|
|
336
|
+
internalType: "uint96",
|
|
465
337
|
},
|
|
466
338
|
{
|
|
467
|
-
internalType: "bool",
|
|
468
339
|
name: "isIncrease",
|
|
469
340
|
type: "bool",
|
|
341
|
+
internalType: "bool",
|
|
470
342
|
},
|
|
471
343
|
{
|
|
472
|
-
internalType: "bytes",
|
|
473
344
|
name: "extraData",
|
|
474
345
|
type: "bytes",
|
|
346
|
+
internalType: "bytes",
|
|
475
347
|
},
|
|
476
348
|
],
|
|
477
|
-
internalType: "struct MultiVote[]",
|
|
478
|
-
name: "votesAfter",
|
|
479
|
-
type: "tuple[]",
|
|
480
349
|
},
|
|
481
350
|
],
|
|
482
|
-
name: "migrate",
|
|
483
351
|
outputs: [],
|
|
484
352
|
stateMutability: "nonpayable",
|
|
485
|
-
type: "function",
|
|
486
353
|
},
|
|
487
354
|
{
|
|
488
|
-
|
|
355
|
+
type: "function",
|
|
489
356
|
name: "migrator",
|
|
357
|
+
inputs: [],
|
|
490
358
|
outputs: [
|
|
491
359
|
{
|
|
492
|
-
internalType: "address",
|
|
493
360
|
name: "",
|
|
494
361
|
type: "address",
|
|
362
|
+
internalType: "address",
|
|
495
363
|
},
|
|
496
364
|
],
|
|
497
365
|
stateMutability: "view",
|
|
498
|
-
type: "function",
|
|
499
366
|
},
|
|
500
367
|
{
|
|
368
|
+
type: "function",
|
|
369
|
+
name: "multivote",
|
|
501
370
|
inputs: [
|
|
502
371
|
{
|
|
372
|
+
name: "votes",
|
|
373
|
+
type: "tuple[]",
|
|
374
|
+
internalType: "struct MultiVote[]",
|
|
503
375
|
components: [
|
|
504
376
|
{
|
|
505
|
-
internalType: "address",
|
|
506
377
|
name: "votingContract",
|
|
507
378
|
type: "address",
|
|
379
|
+
internalType: "address",
|
|
508
380
|
},
|
|
509
381
|
{
|
|
510
|
-
internalType: "uint96",
|
|
511
382
|
name: "voteAmount",
|
|
512
383
|
type: "uint96",
|
|
384
|
+
internalType: "uint96",
|
|
513
385
|
},
|
|
514
386
|
{
|
|
515
|
-
internalType: "bool",
|
|
516
387
|
name: "isIncrease",
|
|
517
388
|
type: "bool",
|
|
389
|
+
internalType: "bool",
|
|
518
390
|
},
|
|
519
391
|
{
|
|
520
|
-
internalType: "bytes",
|
|
521
392
|
name: "extraData",
|
|
522
393
|
type: "bytes",
|
|
394
|
+
internalType: "bytes",
|
|
523
395
|
},
|
|
524
396
|
],
|
|
525
|
-
internalType: "struct MultiVote[]",
|
|
526
|
-
name: "votes",
|
|
527
|
-
type: "tuple[]",
|
|
528
397
|
},
|
|
529
398
|
],
|
|
530
|
-
name: "multivote",
|
|
531
399
|
outputs: [],
|
|
532
400
|
stateMutability: "nonpayable",
|
|
533
|
-
type: "function",
|
|
534
401
|
},
|
|
535
402
|
{
|
|
403
|
+
type: "function",
|
|
404
|
+
name: "setMigrator",
|
|
536
405
|
inputs: [
|
|
537
406
|
{
|
|
538
|
-
internalType: "address",
|
|
539
407
|
name: "newMigrator",
|
|
540
408
|
type: "address",
|
|
409
|
+
internalType: "address",
|
|
541
410
|
},
|
|
542
411
|
],
|
|
543
|
-
name: "setMigrator",
|
|
544
412
|
outputs: [],
|
|
545
413
|
stateMutability: "nonpayable",
|
|
546
|
-
type: "function",
|
|
547
414
|
},
|
|
548
415
|
{
|
|
416
|
+
type: "function",
|
|
417
|
+
name: "setSuccessor",
|
|
549
418
|
inputs: [
|
|
550
419
|
{
|
|
551
|
-
internalType: "address",
|
|
552
420
|
name: "newSuccessor",
|
|
553
421
|
type: "address",
|
|
422
|
+
internalType: "address",
|
|
554
423
|
},
|
|
555
424
|
],
|
|
556
|
-
name: "setSuccessor",
|
|
557
425
|
outputs: [],
|
|
558
426
|
stateMutability: "nonpayable",
|
|
559
|
-
type: "function",
|
|
560
427
|
},
|
|
561
428
|
{
|
|
429
|
+
type: "function",
|
|
430
|
+
name: "setVotingContractStatus",
|
|
562
431
|
inputs: [
|
|
563
432
|
{
|
|
564
|
-
internalType: "address",
|
|
565
433
|
name: "votingContract",
|
|
566
434
|
type: "address",
|
|
435
|
+
internalType: "address",
|
|
567
436
|
},
|
|
568
437
|
{
|
|
569
|
-
internalType: "enum VotingContractStatus",
|
|
570
438
|
name: "status",
|
|
571
439
|
type: "uint8",
|
|
440
|
+
internalType: "enum VotingContractStatus",
|
|
572
441
|
},
|
|
573
442
|
],
|
|
574
|
-
name: "setVotingContractStatus",
|
|
575
443
|
outputs: [],
|
|
576
444
|
stateMutability: "nonpayable",
|
|
577
|
-
type: "function",
|
|
578
445
|
},
|
|
579
446
|
{
|
|
580
|
-
|
|
447
|
+
type: "function",
|
|
581
448
|
name: "successor",
|
|
449
|
+
inputs: [],
|
|
582
450
|
outputs: [
|
|
583
451
|
{
|
|
584
|
-
internalType: "address",
|
|
585
452
|
name: "",
|
|
586
453
|
type: "address",
|
|
454
|
+
internalType: "address",
|
|
587
455
|
},
|
|
588
456
|
],
|
|
589
457
|
stateMutability: "view",
|
|
590
|
-
type: "function",
|
|
591
458
|
},
|
|
592
459
|
{
|
|
593
|
-
|
|
460
|
+
type: "function",
|
|
594
461
|
name: "version",
|
|
462
|
+
inputs: [],
|
|
595
463
|
outputs: [
|
|
596
464
|
{
|
|
597
|
-
internalType: "uint256",
|
|
598
465
|
name: "",
|
|
599
466
|
type: "uint256",
|
|
467
|
+
internalType: "uint256",
|
|
600
468
|
},
|
|
601
469
|
],
|
|
602
470
|
stateMutability: "view",
|
|
603
|
-
type: "function",
|
|
604
471
|
},
|
|
605
472
|
{
|
|
473
|
+
type: "function",
|
|
474
|
+
name: "withdraw",
|
|
606
475
|
inputs: [
|
|
607
476
|
{
|
|
608
|
-
internalType: "uint96",
|
|
609
477
|
name: "amount",
|
|
610
478
|
type: "uint96",
|
|
479
|
+
internalType: "uint96",
|
|
611
480
|
},
|
|
612
481
|
{
|
|
613
|
-
internalType: "address",
|
|
614
482
|
name: "to",
|
|
615
483
|
type: "address",
|
|
484
|
+
internalType: "address",
|
|
616
485
|
},
|
|
617
486
|
{
|
|
487
|
+
name: "votes",
|
|
488
|
+
type: "tuple[]",
|
|
489
|
+
internalType: "struct MultiVote[]",
|
|
618
490
|
components: [
|
|
619
491
|
{
|
|
620
|
-
internalType: "address",
|
|
621
492
|
name: "votingContract",
|
|
622
493
|
type: "address",
|
|
494
|
+
internalType: "address",
|
|
623
495
|
},
|
|
624
496
|
{
|
|
625
|
-
internalType: "uint96",
|
|
626
497
|
name: "voteAmount",
|
|
627
498
|
type: "uint96",
|
|
499
|
+
internalType: "uint96",
|
|
628
500
|
},
|
|
629
501
|
{
|
|
630
|
-
internalType: "bool",
|
|
631
502
|
name: "isIncrease",
|
|
632
503
|
type: "bool",
|
|
504
|
+
internalType: "bool",
|
|
633
505
|
},
|
|
634
506
|
{
|
|
635
|
-
internalType: "bytes",
|
|
636
507
|
name: "extraData",
|
|
637
508
|
type: "bytes",
|
|
509
|
+
internalType: "bytes",
|
|
638
510
|
},
|
|
639
511
|
],
|
|
640
|
-
internalType: "struct MultiVote[]",
|
|
641
|
-
name: "votes",
|
|
642
|
-
type: "tuple[]",
|
|
643
512
|
},
|
|
644
513
|
],
|
|
645
|
-
name: "withdraw",
|
|
646
514
|
outputs: [],
|
|
647
515
|
stateMutability: "nonpayable",
|
|
648
|
-
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
type: "event",
|
|
519
|
+
name: "ClaimGearWithdrawal",
|
|
520
|
+
inputs: [
|
|
521
|
+
{
|
|
522
|
+
name: "user",
|
|
523
|
+
type: "address",
|
|
524
|
+
indexed: true,
|
|
525
|
+
internalType: "address",
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
name: "to",
|
|
529
|
+
type: "address",
|
|
530
|
+
indexed: false,
|
|
531
|
+
internalType: "address",
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
name: "amount",
|
|
535
|
+
type: "uint256",
|
|
536
|
+
indexed: false,
|
|
537
|
+
internalType: "uint256",
|
|
538
|
+
},
|
|
539
|
+
],
|
|
540
|
+
anonymous: false,
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
type: "event",
|
|
544
|
+
name: "DepositGear",
|
|
545
|
+
inputs: [
|
|
546
|
+
{
|
|
547
|
+
name: "user",
|
|
548
|
+
type: "address",
|
|
549
|
+
indexed: true,
|
|
550
|
+
internalType: "address",
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
name: "amount",
|
|
554
|
+
type: "uint256",
|
|
555
|
+
indexed: false,
|
|
556
|
+
internalType: "uint256",
|
|
557
|
+
},
|
|
558
|
+
],
|
|
559
|
+
anonymous: false,
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
type: "event",
|
|
563
|
+
name: "MigrateGear",
|
|
564
|
+
inputs: [
|
|
565
|
+
{
|
|
566
|
+
name: "user",
|
|
567
|
+
type: "address",
|
|
568
|
+
indexed: true,
|
|
569
|
+
internalType: "address",
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
name: "successor",
|
|
573
|
+
type: "address",
|
|
574
|
+
indexed: true,
|
|
575
|
+
internalType: "address",
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
name: "amount",
|
|
579
|
+
type: "uint256",
|
|
580
|
+
indexed: false,
|
|
581
|
+
internalType: "uint256",
|
|
582
|
+
},
|
|
583
|
+
],
|
|
584
|
+
anonymous: false,
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
type: "event",
|
|
588
|
+
name: "ScheduleGearWithdrawal",
|
|
589
|
+
inputs: [
|
|
590
|
+
{
|
|
591
|
+
name: "user",
|
|
592
|
+
type: "address",
|
|
593
|
+
indexed: true,
|
|
594
|
+
internalType: "address",
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
name: "amount",
|
|
598
|
+
type: "uint256",
|
|
599
|
+
indexed: false,
|
|
600
|
+
internalType: "uint256",
|
|
601
|
+
},
|
|
602
|
+
],
|
|
603
|
+
anonymous: false,
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
type: "event",
|
|
607
|
+
name: "SetMigrator",
|
|
608
|
+
inputs: [
|
|
609
|
+
{
|
|
610
|
+
name: "migrator",
|
|
611
|
+
type: "address",
|
|
612
|
+
indexed: true,
|
|
613
|
+
internalType: "address",
|
|
614
|
+
},
|
|
615
|
+
],
|
|
616
|
+
anonymous: false,
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
type: "event",
|
|
620
|
+
name: "SetSuccessor",
|
|
621
|
+
inputs: [
|
|
622
|
+
{
|
|
623
|
+
name: "successor",
|
|
624
|
+
type: "address",
|
|
625
|
+
indexed: true,
|
|
626
|
+
internalType: "address",
|
|
627
|
+
},
|
|
628
|
+
],
|
|
629
|
+
anonymous: false,
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
type: "event",
|
|
633
|
+
name: "SetVotingContractStatus",
|
|
634
|
+
inputs: [
|
|
635
|
+
{
|
|
636
|
+
name: "votingContract",
|
|
637
|
+
type: "address",
|
|
638
|
+
indexed: true,
|
|
639
|
+
internalType: "address",
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
name: "status",
|
|
643
|
+
type: "uint8",
|
|
644
|
+
indexed: false,
|
|
645
|
+
internalType: "enum VotingContractStatus",
|
|
646
|
+
},
|
|
647
|
+
],
|
|
648
|
+
anonymous: false,
|
|
649
649
|
},
|
|
650
650
|
];
|
|
651
651
|
class IGearStakingV3__factory {
|