@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,339 +3,339 @@ import type { Provider } from "@ethersproject/providers";
|
|
|
3
3
|
import type { IGaugeV3, IGaugeV3Interface } from "../../IGaugeV3.sol/IGaugeV3";
|
|
4
4
|
export declare class IGaugeV3__factory {
|
|
5
5
|
static readonly abi: readonly [{
|
|
6
|
-
readonly
|
|
6
|
+
readonly type: "function";
|
|
7
|
+
readonly name: "addQuotaToken";
|
|
7
8
|
readonly inputs: readonly [{
|
|
8
|
-
readonly indexed: true;
|
|
9
|
-
readonly internalType: "address";
|
|
10
9
|
readonly name: "token";
|
|
11
10
|
readonly type: "address";
|
|
12
|
-
}, {
|
|
13
|
-
readonly indexed: false;
|
|
14
|
-
readonly internalType: "uint16";
|
|
15
|
-
readonly name: "minRate";
|
|
16
|
-
readonly type: "uint16";
|
|
17
|
-
}, {
|
|
18
|
-
readonly indexed: false;
|
|
19
|
-
readonly internalType: "uint16";
|
|
20
|
-
readonly name: "maxRate";
|
|
21
|
-
readonly type: "uint16";
|
|
22
|
-
}];
|
|
23
|
-
readonly name: "AddQuotaToken";
|
|
24
|
-
readonly type: "event";
|
|
25
|
-
}, {
|
|
26
|
-
readonly anonymous: false;
|
|
27
|
-
readonly inputs: readonly [{
|
|
28
|
-
readonly indexed: false;
|
|
29
|
-
readonly internalType: "bool";
|
|
30
|
-
readonly name: "status";
|
|
31
|
-
readonly type: "bool";
|
|
32
|
-
}];
|
|
33
|
-
readonly name: "SetFrozenEpoch";
|
|
34
|
-
readonly type: "event";
|
|
35
|
-
}, {
|
|
36
|
-
readonly anonymous: false;
|
|
37
|
-
readonly inputs: readonly [{
|
|
38
|
-
readonly indexed: true;
|
|
39
11
|
readonly internalType: "address";
|
|
40
|
-
readonly name: "token";
|
|
41
|
-
readonly type: "address";
|
|
42
12
|
}, {
|
|
43
|
-
readonly indexed: false;
|
|
44
|
-
readonly internalType: "uint16";
|
|
45
13
|
readonly name: "minRate";
|
|
46
14
|
readonly type: "uint16";
|
|
47
|
-
}, {
|
|
48
|
-
readonly indexed: false;
|
|
49
|
-
readonly internalType: "uint16";
|
|
50
|
-
readonly name: "maxRate";
|
|
51
|
-
readonly type: "uint16";
|
|
52
|
-
}];
|
|
53
|
-
readonly name: "SetQuotaTokenParams";
|
|
54
|
-
readonly type: "event";
|
|
55
|
-
}, {
|
|
56
|
-
readonly anonymous: false;
|
|
57
|
-
readonly inputs: readonly [{
|
|
58
|
-
readonly indexed: true;
|
|
59
|
-
readonly internalType: "address";
|
|
60
|
-
readonly name: "user";
|
|
61
|
-
readonly type: "address";
|
|
62
|
-
}, {
|
|
63
|
-
readonly indexed: true;
|
|
64
|
-
readonly internalType: "address";
|
|
65
|
-
readonly name: "token";
|
|
66
|
-
readonly type: "address";
|
|
67
|
-
}, {
|
|
68
|
-
readonly indexed: false;
|
|
69
|
-
readonly internalType: "uint96";
|
|
70
|
-
readonly name: "votes";
|
|
71
|
-
readonly type: "uint96";
|
|
72
|
-
}, {
|
|
73
|
-
readonly indexed: false;
|
|
74
|
-
readonly internalType: "bool";
|
|
75
|
-
readonly name: "lpSide";
|
|
76
|
-
readonly type: "bool";
|
|
77
|
-
}];
|
|
78
|
-
readonly name: "Unvote";
|
|
79
|
-
readonly type: "event";
|
|
80
|
-
}, {
|
|
81
|
-
readonly anonymous: false;
|
|
82
|
-
readonly inputs: readonly [{
|
|
83
|
-
readonly indexed: false;
|
|
84
|
-
readonly internalType: "uint16";
|
|
85
|
-
readonly name: "epochNow";
|
|
86
|
-
readonly type: "uint16";
|
|
87
|
-
}];
|
|
88
|
-
readonly name: "UpdateEpoch";
|
|
89
|
-
readonly type: "event";
|
|
90
|
-
}, {
|
|
91
|
-
readonly anonymous: false;
|
|
92
|
-
readonly inputs: readonly [{
|
|
93
|
-
readonly indexed: true;
|
|
94
|
-
readonly internalType: "address";
|
|
95
|
-
readonly name: "user";
|
|
96
|
-
readonly type: "address";
|
|
97
|
-
}, {
|
|
98
|
-
readonly indexed: true;
|
|
99
|
-
readonly internalType: "address";
|
|
100
|
-
readonly name: "token";
|
|
101
|
-
readonly type: "address";
|
|
102
|
-
}, {
|
|
103
|
-
readonly indexed: false;
|
|
104
|
-
readonly internalType: "uint96";
|
|
105
|
-
readonly name: "votes";
|
|
106
|
-
readonly type: "uint96";
|
|
107
|
-
}, {
|
|
108
|
-
readonly indexed: false;
|
|
109
|
-
readonly internalType: "bool";
|
|
110
|
-
readonly name: "lpSide";
|
|
111
|
-
readonly type: "bool";
|
|
112
|
-
}];
|
|
113
|
-
readonly name: "Vote";
|
|
114
|
-
readonly type: "event";
|
|
115
|
-
}, {
|
|
116
|
-
readonly inputs: readonly [{
|
|
117
|
-
readonly internalType: "address";
|
|
118
|
-
readonly name: "token";
|
|
119
|
-
readonly type: "address";
|
|
120
|
-
}, {
|
|
121
15
|
readonly internalType: "uint16";
|
|
122
|
-
readonly name: "minRate";
|
|
123
|
-
readonly type: "uint16";
|
|
124
16
|
}, {
|
|
125
|
-
readonly internalType: "uint16";
|
|
126
17
|
readonly name: "maxRate";
|
|
127
18
|
readonly type: "uint16";
|
|
19
|
+
readonly internalType: "uint16";
|
|
128
20
|
}];
|
|
129
|
-
readonly name: "addQuotaToken";
|
|
130
21
|
readonly outputs: readonly [];
|
|
131
22
|
readonly stateMutability: "nonpayable";
|
|
132
|
-
readonly type: "function";
|
|
133
23
|
}, {
|
|
24
|
+
readonly type: "function";
|
|
25
|
+
readonly name: "changeQuotaMaxRate";
|
|
134
26
|
readonly inputs: readonly [{
|
|
135
|
-
readonly internalType: "address";
|
|
136
27
|
readonly name: "token";
|
|
137
28
|
readonly type: "address";
|
|
29
|
+
readonly internalType: "address";
|
|
138
30
|
}, {
|
|
139
|
-
readonly internalType: "uint16";
|
|
140
31
|
readonly name: "maxRate";
|
|
141
32
|
readonly type: "uint16";
|
|
33
|
+
readonly internalType: "uint16";
|
|
142
34
|
}];
|
|
143
|
-
readonly name: "changeQuotaMaxRate";
|
|
144
35
|
readonly outputs: readonly [];
|
|
145
36
|
readonly stateMutability: "nonpayable";
|
|
146
|
-
readonly type: "function";
|
|
147
37
|
}, {
|
|
38
|
+
readonly type: "function";
|
|
39
|
+
readonly name: "changeQuotaMinRate";
|
|
148
40
|
readonly inputs: readonly [{
|
|
149
|
-
readonly internalType: "address";
|
|
150
41
|
readonly name: "token";
|
|
151
42
|
readonly type: "address";
|
|
43
|
+
readonly internalType: "address";
|
|
152
44
|
}, {
|
|
153
|
-
readonly internalType: "uint16";
|
|
154
45
|
readonly name: "minRate";
|
|
155
46
|
readonly type: "uint16";
|
|
47
|
+
readonly internalType: "uint16";
|
|
156
48
|
}];
|
|
157
|
-
readonly name: "changeQuotaMinRate";
|
|
158
49
|
readonly outputs: readonly [];
|
|
159
50
|
readonly stateMutability: "nonpayable";
|
|
160
|
-
readonly type: "function";
|
|
161
51
|
}, {
|
|
162
|
-
readonly
|
|
52
|
+
readonly type: "function";
|
|
163
53
|
readonly name: "epochFrozen";
|
|
54
|
+
readonly inputs: readonly [];
|
|
164
55
|
readonly outputs: readonly [{
|
|
165
|
-
readonly internalType: "bool";
|
|
166
56
|
readonly name: "";
|
|
167
57
|
readonly type: "bool";
|
|
58
|
+
readonly internalType: "bool";
|
|
168
59
|
}];
|
|
169
60
|
readonly stateMutability: "view";
|
|
170
|
-
readonly type: "function";
|
|
171
61
|
}, {
|
|
172
|
-
readonly
|
|
62
|
+
readonly type: "function";
|
|
173
63
|
readonly name: "epochLastUpdate";
|
|
64
|
+
readonly inputs: readonly [];
|
|
174
65
|
readonly outputs: readonly [{
|
|
175
|
-
readonly internalType: "uint16";
|
|
176
66
|
readonly name: "";
|
|
177
67
|
readonly type: "uint16";
|
|
68
|
+
readonly internalType: "uint16";
|
|
178
69
|
}];
|
|
179
70
|
readonly stateMutability: "view";
|
|
180
|
-
readonly type: "function";
|
|
181
71
|
}, {
|
|
72
|
+
readonly type: "function";
|
|
73
|
+
readonly name: "getRates";
|
|
182
74
|
readonly inputs: readonly [{
|
|
183
|
-
readonly internalType: "address[]";
|
|
184
75
|
readonly name: "tokens";
|
|
185
76
|
readonly type: "address[]";
|
|
77
|
+
readonly internalType: "address[]";
|
|
186
78
|
}];
|
|
187
|
-
readonly name: "getRates";
|
|
188
79
|
readonly outputs: readonly [{
|
|
189
|
-
readonly internalType: "uint16[]";
|
|
190
80
|
readonly name: "rates";
|
|
191
81
|
readonly type: "uint16[]";
|
|
82
|
+
readonly internalType: "uint16[]";
|
|
192
83
|
}];
|
|
193
84
|
readonly stateMutability: "view";
|
|
194
|
-
readonly type: "function";
|
|
195
85
|
}, {
|
|
86
|
+
readonly type: "function";
|
|
87
|
+
readonly name: "isTokenAdded";
|
|
196
88
|
readonly inputs: readonly [{
|
|
197
|
-
readonly internalType: "address";
|
|
198
89
|
readonly name: "token";
|
|
199
90
|
readonly type: "address";
|
|
91
|
+
readonly internalType: "address";
|
|
200
92
|
}];
|
|
201
|
-
readonly name: "isTokenAdded";
|
|
202
93
|
readonly outputs: readonly [{
|
|
203
|
-
readonly internalType: "bool";
|
|
204
94
|
readonly name: "";
|
|
205
95
|
readonly type: "bool";
|
|
96
|
+
readonly internalType: "bool";
|
|
206
97
|
}];
|
|
207
98
|
readonly stateMutability: "view";
|
|
208
|
-
readonly type: "function";
|
|
209
99
|
}, {
|
|
210
|
-
readonly
|
|
100
|
+
readonly type: "function";
|
|
211
101
|
readonly name: "pool";
|
|
102
|
+
readonly inputs: readonly [];
|
|
212
103
|
readonly outputs: readonly [{
|
|
213
|
-
readonly internalType: "address";
|
|
214
104
|
readonly name: "";
|
|
215
105
|
readonly type: "address";
|
|
106
|
+
readonly internalType: "address";
|
|
216
107
|
}];
|
|
217
108
|
readonly stateMutability: "view";
|
|
218
|
-
readonly type: "function";
|
|
219
109
|
}, {
|
|
110
|
+
readonly type: "function";
|
|
111
|
+
readonly name: "quotaRateParams";
|
|
220
112
|
readonly inputs: readonly [{
|
|
221
|
-
readonly internalType: "address";
|
|
222
113
|
readonly name: "token";
|
|
223
114
|
readonly type: "address";
|
|
115
|
+
readonly internalType: "address";
|
|
224
116
|
}];
|
|
225
|
-
readonly name: "quotaRateParams";
|
|
226
117
|
readonly outputs: readonly [{
|
|
227
|
-
readonly internalType: "uint16";
|
|
228
118
|
readonly name: "minRate";
|
|
229
119
|
readonly type: "uint16";
|
|
230
|
-
}, {
|
|
231
120
|
readonly internalType: "uint16";
|
|
121
|
+
}, {
|
|
232
122
|
readonly name: "maxRate";
|
|
233
123
|
readonly type: "uint16";
|
|
124
|
+
readonly internalType: "uint16";
|
|
234
125
|
}, {
|
|
235
|
-
readonly internalType: "uint96";
|
|
236
126
|
readonly name: "totalVotesLpSide";
|
|
237
127
|
readonly type: "uint96";
|
|
238
|
-
}, {
|
|
239
128
|
readonly internalType: "uint96";
|
|
129
|
+
}, {
|
|
240
130
|
readonly name: "totalVotesCaSide";
|
|
241
131
|
readonly type: "uint96";
|
|
132
|
+
readonly internalType: "uint96";
|
|
242
133
|
}];
|
|
243
134
|
readonly stateMutability: "view";
|
|
244
|
-
readonly type: "function";
|
|
245
135
|
}, {
|
|
136
|
+
readonly type: "function";
|
|
137
|
+
readonly name: "setFrozenEpoch";
|
|
246
138
|
readonly inputs: readonly [{
|
|
247
|
-
readonly internalType: "bool";
|
|
248
139
|
readonly name: "status";
|
|
249
140
|
readonly type: "bool";
|
|
141
|
+
readonly internalType: "bool";
|
|
250
142
|
}];
|
|
251
|
-
readonly name: "setFrozenEpoch";
|
|
252
143
|
readonly outputs: readonly [];
|
|
253
144
|
readonly stateMutability: "nonpayable";
|
|
254
|
-
readonly type: "function";
|
|
255
145
|
}, {
|
|
146
|
+
readonly type: "function";
|
|
147
|
+
readonly name: "unvote";
|
|
256
148
|
readonly inputs: readonly [{
|
|
257
|
-
readonly internalType: "address";
|
|
258
149
|
readonly name: "user";
|
|
259
150
|
readonly type: "address";
|
|
151
|
+
readonly internalType: "address";
|
|
260
152
|
}, {
|
|
261
|
-
readonly internalType: "uint96";
|
|
262
153
|
readonly name: "votes";
|
|
263
154
|
readonly type: "uint96";
|
|
155
|
+
readonly internalType: "uint96";
|
|
264
156
|
}, {
|
|
265
|
-
readonly internalType: "bytes";
|
|
266
157
|
readonly name: "extraData";
|
|
267
158
|
readonly type: "bytes";
|
|
159
|
+
readonly internalType: "bytes";
|
|
268
160
|
}];
|
|
269
|
-
readonly name: "unvote";
|
|
270
161
|
readonly outputs: readonly [];
|
|
271
162
|
readonly stateMutability: "nonpayable";
|
|
272
|
-
readonly type: "function";
|
|
273
163
|
}, {
|
|
274
|
-
readonly
|
|
164
|
+
readonly type: "function";
|
|
275
165
|
readonly name: "updateEpoch";
|
|
166
|
+
readonly inputs: readonly [];
|
|
276
167
|
readonly outputs: readonly [];
|
|
277
168
|
readonly stateMutability: "nonpayable";
|
|
278
|
-
readonly type: "function";
|
|
279
169
|
}, {
|
|
170
|
+
readonly type: "function";
|
|
171
|
+
readonly name: "userTokenVotes";
|
|
280
172
|
readonly inputs: readonly [{
|
|
281
|
-
readonly internalType: "address";
|
|
282
173
|
readonly name: "user";
|
|
283
174
|
readonly type: "address";
|
|
284
|
-
}, {
|
|
285
175
|
readonly internalType: "address";
|
|
176
|
+
}, {
|
|
286
177
|
readonly name: "token";
|
|
287
178
|
readonly type: "address";
|
|
179
|
+
readonly internalType: "address";
|
|
288
180
|
}];
|
|
289
|
-
readonly name: "userTokenVotes";
|
|
290
181
|
readonly outputs: readonly [{
|
|
291
|
-
readonly internalType: "uint96";
|
|
292
182
|
readonly name: "votesLpSide";
|
|
293
183
|
readonly type: "uint96";
|
|
294
|
-
}, {
|
|
295
184
|
readonly internalType: "uint96";
|
|
185
|
+
}, {
|
|
296
186
|
readonly name: "votesCaSide";
|
|
297
187
|
readonly type: "uint96";
|
|
188
|
+
readonly internalType: "uint96";
|
|
298
189
|
}];
|
|
299
190
|
readonly stateMutability: "view";
|
|
300
|
-
readonly type: "function";
|
|
301
191
|
}, {
|
|
302
|
-
readonly
|
|
192
|
+
readonly type: "function";
|
|
303
193
|
readonly name: "version";
|
|
194
|
+
readonly inputs: readonly [];
|
|
304
195
|
readonly outputs: readonly [{
|
|
305
|
-
readonly internalType: "uint256";
|
|
306
196
|
readonly name: "";
|
|
307
197
|
readonly type: "uint256";
|
|
198
|
+
readonly internalType: "uint256";
|
|
308
199
|
}];
|
|
309
200
|
readonly stateMutability: "view";
|
|
310
|
-
readonly type: "function";
|
|
311
201
|
}, {
|
|
202
|
+
readonly type: "function";
|
|
203
|
+
readonly name: "vote";
|
|
312
204
|
readonly inputs: readonly [{
|
|
313
|
-
readonly internalType: "address";
|
|
314
205
|
readonly name: "user";
|
|
315
206
|
readonly type: "address";
|
|
207
|
+
readonly internalType: "address";
|
|
316
208
|
}, {
|
|
317
|
-
readonly internalType: "uint96";
|
|
318
209
|
readonly name: "votes";
|
|
319
210
|
readonly type: "uint96";
|
|
211
|
+
readonly internalType: "uint96";
|
|
320
212
|
}, {
|
|
321
|
-
readonly internalType: "bytes";
|
|
322
213
|
readonly name: "extraData";
|
|
323
214
|
readonly type: "bytes";
|
|
215
|
+
readonly internalType: "bytes";
|
|
324
216
|
}];
|
|
325
|
-
readonly name: "vote";
|
|
326
217
|
readonly outputs: readonly [];
|
|
327
218
|
readonly stateMutability: "nonpayable";
|
|
328
|
-
readonly type: "function";
|
|
329
219
|
}, {
|
|
330
|
-
readonly
|
|
220
|
+
readonly type: "function";
|
|
331
221
|
readonly name: "voter";
|
|
222
|
+
readonly inputs: readonly [];
|
|
332
223
|
readonly outputs: readonly [{
|
|
333
|
-
readonly internalType: "address";
|
|
334
224
|
readonly name: "";
|
|
335
225
|
readonly type: "address";
|
|
226
|
+
readonly internalType: "address";
|
|
336
227
|
}];
|
|
337
228
|
readonly stateMutability: "view";
|
|
338
|
-
|
|
229
|
+
}, {
|
|
230
|
+
readonly type: "event";
|
|
231
|
+
readonly name: "AddQuotaToken";
|
|
232
|
+
readonly inputs: readonly [{
|
|
233
|
+
readonly name: "token";
|
|
234
|
+
readonly type: "address";
|
|
235
|
+
readonly indexed: true;
|
|
236
|
+
readonly internalType: "address";
|
|
237
|
+
}, {
|
|
238
|
+
readonly name: "minRate";
|
|
239
|
+
readonly type: "uint16";
|
|
240
|
+
readonly indexed: false;
|
|
241
|
+
readonly internalType: "uint16";
|
|
242
|
+
}, {
|
|
243
|
+
readonly name: "maxRate";
|
|
244
|
+
readonly type: "uint16";
|
|
245
|
+
readonly indexed: false;
|
|
246
|
+
readonly internalType: "uint16";
|
|
247
|
+
}];
|
|
248
|
+
readonly anonymous: false;
|
|
249
|
+
}, {
|
|
250
|
+
readonly type: "event";
|
|
251
|
+
readonly name: "SetFrozenEpoch";
|
|
252
|
+
readonly inputs: readonly [{
|
|
253
|
+
readonly name: "status";
|
|
254
|
+
readonly type: "bool";
|
|
255
|
+
readonly indexed: false;
|
|
256
|
+
readonly internalType: "bool";
|
|
257
|
+
}];
|
|
258
|
+
readonly anonymous: false;
|
|
259
|
+
}, {
|
|
260
|
+
readonly type: "event";
|
|
261
|
+
readonly name: "SetQuotaTokenParams";
|
|
262
|
+
readonly inputs: readonly [{
|
|
263
|
+
readonly name: "token";
|
|
264
|
+
readonly type: "address";
|
|
265
|
+
readonly indexed: true;
|
|
266
|
+
readonly internalType: "address";
|
|
267
|
+
}, {
|
|
268
|
+
readonly name: "minRate";
|
|
269
|
+
readonly type: "uint16";
|
|
270
|
+
readonly indexed: false;
|
|
271
|
+
readonly internalType: "uint16";
|
|
272
|
+
}, {
|
|
273
|
+
readonly name: "maxRate";
|
|
274
|
+
readonly type: "uint16";
|
|
275
|
+
readonly indexed: false;
|
|
276
|
+
readonly internalType: "uint16";
|
|
277
|
+
}];
|
|
278
|
+
readonly anonymous: false;
|
|
279
|
+
}, {
|
|
280
|
+
readonly type: "event";
|
|
281
|
+
readonly name: "Unvote";
|
|
282
|
+
readonly inputs: readonly [{
|
|
283
|
+
readonly name: "user";
|
|
284
|
+
readonly type: "address";
|
|
285
|
+
readonly indexed: true;
|
|
286
|
+
readonly internalType: "address";
|
|
287
|
+
}, {
|
|
288
|
+
readonly name: "token";
|
|
289
|
+
readonly type: "address";
|
|
290
|
+
readonly indexed: true;
|
|
291
|
+
readonly internalType: "address";
|
|
292
|
+
}, {
|
|
293
|
+
readonly name: "votes";
|
|
294
|
+
readonly type: "uint96";
|
|
295
|
+
readonly indexed: false;
|
|
296
|
+
readonly internalType: "uint96";
|
|
297
|
+
}, {
|
|
298
|
+
readonly name: "lpSide";
|
|
299
|
+
readonly type: "bool";
|
|
300
|
+
readonly indexed: false;
|
|
301
|
+
readonly internalType: "bool";
|
|
302
|
+
}];
|
|
303
|
+
readonly anonymous: false;
|
|
304
|
+
}, {
|
|
305
|
+
readonly type: "event";
|
|
306
|
+
readonly name: "UpdateEpoch";
|
|
307
|
+
readonly inputs: readonly [{
|
|
308
|
+
readonly name: "epochNow";
|
|
309
|
+
readonly type: "uint16";
|
|
310
|
+
readonly indexed: false;
|
|
311
|
+
readonly internalType: "uint16";
|
|
312
|
+
}];
|
|
313
|
+
readonly anonymous: false;
|
|
314
|
+
}, {
|
|
315
|
+
readonly type: "event";
|
|
316
|
+
readonly name: "Vote";
|
|
317
|
+
readonly inputs: readonly [{
|
|
318
|
+
readonly name: "user";
|
|
319
|
+
readonly type: "address";
|
|
320
|
+
readonly indexed: true;
|
|
321
|
+
readonly internalType: "address";
|
|
322
|
+
}, {
|
|
323
|
+
readonly name: "token";
|
|
324
|
+
readonly type: "address";
|
|
325
|
+
readonly indexed: true;
|
|
326
|
+
readonly internalType: "address";
|
|
327
|
+
}, {
|
|
328
|
+
readonly name: "votes";
|
|
329
|
+
readonly type: "uint96";
|
|
330
|
+
readonly indexed: false;
|
|
331
|
+
readonly internalType: "uint96";
|
|
332
|
+
}, {
|
|
333
|
+
readonly name: "lpSide";
|
|
334
|
+
readonly type: "bool";
|
|
335
|
+
readonly indexed: false;
|
|
336
|
+
readonly internalType: "bool";
|
|
337
|
+
}];
|
|
338
|
+
readonly anonymous: false;
|
|
339
339
|
}];
|
|
340
340
|
static createInterface(): IGaugeV3Interface;
|
|
341
341
|
static connect(address: string, signerOrProvider: Signer | Provider): IGaugeV3;
|