@gearbox-protocol/sdk 3.0.0-next.178 → 3.0.0-next.179
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/apy/auraAbi.d.ts +1 -1
- package/lib/apy/auraAbi.js +2 -2
- package/lib/apy/convexAPY.js +2 -2
- package/lib/core/creditAccount.js +22 -26
- package/lib/core/creditAccount.spec.js +13 -13
- package/lib/core/creditManager.js +20 -20
- package/lib/core/gauge.d.ts +2 -2
- package/lib/core/gauge.js +13 -13
- package/lib/core/gaugeMath.d.ts +1 -1
- package/lib/core/gaugeMath.js +2 -5
- package/lib/core/gaugeMath.spec.js +13 -13
- package/lib/core/pool.d.ts +5 -5
- package/lib/core/pool.js +23 -23
- package/lib/core/rewardClaimer.d.ts +2 -2
- package/lib/core/rewardConvex.d.ts +5 -6
- package/lib/core/rewardConvex.js +6 -6
- package/lib/core/rewardConvex.spec.js +1 -2
- package/lib/gearboxRewards/abi.d.ts +1 -1
- package/lib/gearboxRewards/abi.js +2 -2
- package/lib/gearboxRewards/api.d.ts +8 -9
- package/lib/gearboxRewards/api.js +20 -14
- package/lib/gearboxRewards/apy.js +2 -2
- package/lib/gearboxRewards/extraAPY.js +2 -2
- package/lib/index.d.ts +1 -3
- package/lib/index.js +2 -4
- package/lib/parsers/abstractParser.d.ts +2 -3
- package/lib/parsers/abstractParser.js +4 -2
- package/lib/parsers/iParser.d.ts +1 -1
- package/lib/parsers/txParser.d.ts +2 -2
- package/lib/pathfinder/core.d.ts +1 -2
- package/lib/pathfinder/index.d.ts +0 -1
- package/lib/pathfinder/index.js +0 -1
- package/lib/pathfinder/pathOptions.js +2 -2
- package/lib/pathfinder/pathfinder.d.ts +2 -2
- package/lib/pathfinder/pathfinder.js +17 -18
- package/lib/pathfinder/pathfinder.spec.js +2 -2
- package/lib/pathfinder/utils.d.ts +2 -3
- package/lib/pathfinder/utils.js +4 -4
- package/lib/pathfinder/v1/pathfinderv1.d.ts +2 -2
- package/lib/pathfinder/v1/pathfinderv1.js +15 -16
- package/lib/pathfinder/v1/pathfinderv1.spec.js +1 -1
- package/lib/payload/creditAccount.d.ts +2 -2
- package/lib/payload/creditManager.d.ts +2 -3
- package/lib/payload/gauge.d.ts +1 -2
- package/lib/payload/pool.d.ts +4 -2
- package/lib/types/AddressProvider.d.ts +151 -332
- package/lib/types/Balances.sol/BalanceOps.d.ts +15 -22
- package/lib/types/CalldataExtractor.d.ts +21 -37
- package/lib/types/Claimable.d.ts +46 -97
- package/lib/types/CompositePriceFeed.d.ts +57 -129
- package/lib/types/ContractsRegisterTrait.d.ts +18 -35
- package/lib/types/ERC20.d.ts +146 -175
- package/lib/types/Errors.d.ts +106 -227
- package/lib/types/FarmAccounting.d.ts +15 -22
- package/lib/types/IAaveV2_LendingPoolAdapter.d.ts +108 -152
- package/lib/types/IAaveV2_WrappedATokenAdapter.d.ts +172 -257
- package/lib/types/IAdapter.d.ts +26 -59
- package/lib/types/IAddressProvider.sol/IAddressProvider.d.ts +53 -108
- package/lib/types/IAddressProvider.sol/IAddressProviderEvents.d.ts +29 -35
- package/lib/types/IAddressProviderV3.sol/IAddressProviderV3.d.ts +79 -85
- package/lib/types/IAddressProviderV3.sol/IAddressProviderV3Events.d.ts +34 -37
- package/lib/types/IAirdropDistributor.sol/IAirdropDistributor.d.ts +101 -109
- package/lib/types/IAirdropDistributor.sol/IAirdropDistributorEvents.d.ts +76 -64
- package/lib/types/IBalancerV2Vault.sol/IBalancerV2Vault.d.ts +215 -236
- package/lib/types/IBalancerV2Vault.sol/IBalancerV2VaultGetters.d.ts +67 -92
- package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter.d.ts +335 -386
- package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents.d.ts +29 -35
- package/lib/types/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions.d.ts +15 -22
- package/lib/types/IBaseRewardPool.d.ts +143 -320
- package/lib/types/IBotListV3.sol/IBotListV3.d.ts +266 -252
- package/lib/types/IBotListV3.sol/IBotListV3Events.d.ts +116 -92
- package/lib/types/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter.d.ts +119 -188
- package/lib/types/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions.d.ts +15 -22
- package/lib/types/IContractsRegister.sol/IContractsRegister.d.ts +65 -106
- package/lib/types/IContractsRegister.sol/IContractsRegisterEvents.d.ts +42 -42
- package/lib/types/IControllerTimelockV3.sol/IControllerTimelockV3.d.ts +354 -442
- package/lib/types/IControllerTimelockV3.sol/IControllerTimelockV3Events.d.ts +87 -72
- package/lib/types/IConvexToken.d.ts +126 -163
- package/lib/types/IConvexV1BaseRewardPoolAdapter.d.ts +172 -271
- package/lib/types/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter.d.ts +130 -185
- package/lib/types/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents.d.ts +29 -35
- package/lib/types/ICreditAccountV3.sol/ICreditAccountBase.d.ts +48 -75
- package/lib/types/ICreditAccountV3.sol/ICreditAccountV3.d.ts +63 -96
- package/lib/types/ICreditConfiguratorV2.sol/ICreditConfiguratorV2.d.ts +526 -579
- package/lib/types/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Events.d.ts +342 -264
- package/lib/types/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Exceptions.d.ts +15 -22
- package/lib/types/ICreditConfiguratorV3.sol/ICreditConfiguratorV3.d.ts +549 -648
- package/lib/types/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events.d.ts +327 -248
- package/lib/types/ICreditFacadeV2.sol/ICreditFacadeV2.d.ts +587 -635
- package/lib/types/ICreditFacadeV2.sol/ICreditFacadeV2Events.d.ts +294 -239
- package/lib/types/ICreditFacadeV2.sol/ICreditFacadeV2Exceptions.d.ts +15 -22
- package/lib/types/ICreditFacadeV2.sol/ICreditFacadeV2Extended.d.ts +59 -122
- package/lib/types/ICreditFacadeV2.sol/ICreditFacadeV2V2.d.ts +34 -53
- package/lib/types/ICreditFacadeV3.sol/ICreditFacadeV3.d.ts +421 -464
- package/lib/types/ICreditFacadeV3.sol/ICreditFacadeV3Events.d.ts +202 -150
- package/lib/types/ICreditFacadeV3Multicall.d.ts +162 -245
- package/lib/types/ICreditManagerV2.sol/ICreditManagerV2.d.ts +438 -567
- package/lib/types/ICreditManagerV2.sol/ICreditManagerV2Events.d.ts +43 -46
- package/lib/types/ICreditManagerV2.sol/ICreditManagerV2Exceptions.d.ts +15 -22
- package/lib/types/ICreditManagerV3.sol/ICreditManagerV3.d.ts +649 -858
- package/lib/types/ICreditManagerV3.sol/ICreditManagerV3Events.d.ts +28 -33
- package/lib/types/ICurvePool.d.ts +285 -376
- package/lib/types/ICurvePool_2.sol/ICurvePool2Assets.d.ts +365 -511
- package/lib/types/ICurvePool_3.sol/ICurvePool3Assets.d.ts +370 -607
- package/lib/types/ICurvePool_4.sol/ICurvePool4Assets.d.ts +387 -631
- package/lib/types/ICurveV1Adapter.d.ts +326 -479
- package/lib/types/ICurveV1_2AssetsAdapter.d.ts +383 -560
- package/lib/types/ICurveV1_3AssetsAdapter.d.ts +383 -623
- package/lib/types/ICurveV1_4AssetsAdapter.d.ts +395 -629
- package/lib/types/IDaiLikePermit.d.ts +48 -51
- package/lib/types/IDataCompressorV2_1.d.ts +376 -367
- package/lib/types/IDataCompressorV3.d.ts +439 -458
- package/lib/types/IDegenDistributor.sol/IDegenDistributor.d.ts +67 -84
- package/lib/types/IDegenDistributor.sol/IDegenDistributorEvents.d.ts +44 -45
- package/lib/types/IDegenNFTV2.sol/IDegenNFTV2.d.ts +260 -302
- package/lib/types/IDegenNFTV2.sol/IDegenNFTV2Events.d.ts +55 -52
- package/lib/types/IDegenNFTV2.sol/IDegenNFTV2Exceptions.d.ts +15 -22
- package/lib/types/IERC165.d.ts +23 -36
- package/lib/types/IERC20.d.ts +114 -127
- package/lib/types/IERC20Metadata.d.ts +120 -145
- package/lib/types/IERC20Permit.d.ts +50 -63
- package/lib/types/IERC20ZapperDeposits.d.ts +99 -104
- package/lib/types/IERC4626.d.ts +277 -353
- package/lib/types/IERC4626Adapter.d.ts +146 -211
- package/lib/types/IERC721.d.ts +180 -201
- package/lib/types/IERC721Metadata.d.ts +187 -220
- package/lib/types/IETHZapperDeposits.d.ts +32 -59
- package/lib/types/IFarmingPool.d.ts +209 -282
- package/lib/types/IGasPricer.d.ts +29 -0
- package/lib/types/IGaugeV3.sol/IGaugeV3.d.ts +273 -330
- package/lib/types/IGaugeV3.sol/IGaugeV3Events.d.ts +132 -102
- package/lib/types/IGearStakingV3.sol/IGearStakingV3.d.ts +303 -357
- package/lib/types/IGearStakingV3.sol/IGearStakingV3Events.d.ts +122 -104
- package/lib/types/IInterestRateModel.d.ts +31 -42
- package/lib/types/ILPPriceFeed.sol/ILPPriceFeed.d.ts +116 -237
- package/lib/types/ILPPriceFeed.sol/ILPPriceFeedEvents.d.ts +43 -46
- package/lib/types/ILPPriceFeed.sol/ILPPriceFeedExceptions.d.ts +15 -22
- package/lib/types/ILidoV1Adapter.d.ts +70 -131
- package/lib/types/ILinearInterestRateModelV3.d.ts +82 -105
- package/lib/types/IOffchainOracle.d.ts +44 -51
- package/lib/types/IPartialLiquidationBotV3.d.ts +119 -128
- package/lib/types/IPermit2.d.ts +91 -103
- package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3.d.ts +323 -416
- package/lib/types/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events.d.ts +120 -100
- package/lib/types/IPoolService.sol/IPoolService.d.ts +292 -338
- package/lib/types/IPoolService.sol/IPoolServiceEvents.d.ts +189 -146
- package/lib/types/IPoolV3.sol/IPoolV3.d.ts +662 -825
- package/lib/types/IPoolV3.sol/IPoolV3Events.d.ts +181 -142
- package/lib/types/IPriceFeed.sol/IPriceFeed.d.ts +50 -90
- package/lib/types/IPriceFeed.sol/IUpdatablePriceFeed.d.ts +55 -111
- package/lib/types/IPriceOracle.sol/IPriceOracleV2.d.ts +120 -140
- package/lib/types/IPriceOracle.sol/IPriceOracleV2Events.d.ts +29 -35
- package/lib/types/IPriceOracle.sol/IPriceOracleV2Exceptions.d.ts +15 -22
- package/lib/types/IPriceOracle.sol/IPriceOracleV2Ext.d.ts +133 -155
- package/lib/types/IPriceOracleBase.d.ts +65 -76
- package/lib/types/IPriceOracleV3.sol/IPriceOracleV3.d.ts +243 -234
- package/lib/types/IPriceOracleV3.sol/IPriceOracleV3Events.d.ts +85 -70
- package/lib/types/IRouter.d.ts +225 -217
- package/lib/types/IRouterV3.d.ts +267 -249
- package/lib/types/IUniswapV2Adapter.sol/IUniswapV2Adapter.d.ts +158 -175
- package/lib/types/IUniswapV2Adapter.sol/IUniswapV2AdapterEvents.d.ts +34 -37
- package/lib/types/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions.d.ts +15 -22
- package/lib/types/IUniswapV3.sol/ISwapRouter.d.ts +124 -153
- package/lib/types/IUniswapV3Adapter.sol/IUniswapV3Adapter.d.ts +281 -328
- package/lib/types/IUniswapV3Adapter.sol/IUniswapV3AdapterEvents.d.ts +41 -39
- package/lib/types/IUniswapV3Adapter.sol/IUniswapV3AdapterExceptions.d.ts +15 -22
- package/lib/types/IVersion.d.ts +18 -35
- package/lib/types/IVotingContractV3.d.ts +46 -67
- package/lib/types/IWETH.d.ts +147 -177
- package/lib/types/IWETHGateway.d.ts +59 -82
- package/lib/types/IYVault.d.ts +183 -264
- package/lib/types/IYearnV2Adapter.d.ts +159 -228
- package/lib/types/IZapper.d.ts +77 -106
- package/lib/types/IZapperRegister.d.ts +46 -53
- package/lib/types/IstETH.sol/IstETH.d.ts +146 -199
- package/lib/types/IstETH.sol/IstETHGetters.d.ts +143 -184
- package/lib/types/IwstETH.sol/IwstETH.d.ts +154 -207
- package/lib/types/IwstETH.sol/IwstETHGetters.d.ts +140 -177
- package/lib/types/IwstETHGateway.sol/IwstETHGateWay.d.ts +44 -63
- package/lib/types/IwstETHV1Adapter.d.ts +100 -161
- package/lib/types/NumericArrayLib.d.ts +15 -22
- package/lib/types/Ownable.d.ts +42 -77
- package/lib/types/PartialLiquidationBotV3.d.ts +121 -134
- package/lib/types/RedstoneConstants.d.ts +15 -22
- package/lib/types/RedstoneConsumerBase.d.ts +50 -70
- package/lib/types/RedstoneConsumerNumericBase.d.ts +50 -70
- package/lib/types/RedstoneDefaultsLib.d.ts +15 -22
- package/lib/types/RedstonePriceFeed.sol/IRedstonePriceFeedEvents.d.ts +28 -31
- package/lib/types/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions.d.ts +15 -22
- package/lib/types/RedstonePriceFeed.sol/RedstonePriceFeed.d.ts +115 -220
- package/lib/types/SafeERC20.d.ts +15 -22
- package/lib/types/common.d.ts +40 -12
- package/lib/types/factories/AddressProvider__factory.d.ts +13 -12
- package/lib/types/factories/AddressProvider__factory.js +7 -10
- package/lib/types/factories/Balances.sol/BalanceOps__factory.d.ts +13 -12
- package/lib/types/factories/Balances.sol/BalanceOps__factory.js +7 -10
- package/lib/types/factories/CalldataExtractor__factory.d.ts +13 -12
- package/lib/types/factories/CalldataExtractor__factory.js +7 -10
- package/lib/types/factories/Claimable__factory.d.ts +13 -12
- package/lib/types/factories/Claimable__factory.js +7 -10
- package/lib/types/factories/CompositePriceFeed__factory.d.ts +13 -12
- package/lib/types/factories/CompositePriceFeed__factory.js +7 -10
- package/lib/types/factories/ContractsRegisterTrait__factory.d.ts +2 -3
- package/lib/types/factories/ContractsRegisterTrait__factory.js +3 -3
- package/lib/types/factories/ERC20__factory.d.ts +13 -12
- package/lib/types/factories/ERC20__factory.js +7 -10
- package/lib/types/factories/Errors__factory.d.ts +13 -12
- package/lib/types/factories/Errors__factory.js +7 -10
- package/lib/types/factories/FarmAccounting__factory.d.ts +13 -12
- package/lib/types/factories/FarmAccounting__factory.js +7 -10
- package/lib/types/factories/IAaveV2_LendingPoolAdapter__factory.d.ts +2 -3
- package/lib/types/factories/IAaveV2_LendingPoolAdapter__factory.js +3 -3
- package/lib/types/factories/IAaveV2_WrappedATokenAdapter__factory.d.ts +2 -3
- package/lib/types/factories/IAaveV2_WrappedATokenAdapter__factory.js +3 -3
- package/lib/types/factories/IAdapter__factory.d.ts +2 -3
- package/lib/types/factories/IAdapter__factory.js +3 -3
- package/lib/types/factories/IAddressProvider.sol/IAddressProviderEvents__factory.d.ts +2 -3
- package/lib/types/factories/IAddressProvider.sol/IAddressProviderEvents__factory.js +3 -3
- package/lib/types/factories/IAddressProvider.sol/IAddressProvider__factory.d.ts +2 -3
- package/lib/types/factories/IAddressProvider.sol/IAddressProvider__factory.js +3 -3
- package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3Events__factory.d.ts +2 -3
- package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3Events__factory.js +3 -3
- package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3__factory.d.ts +2 -3
- package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3__factory.js +3 -3
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributorEvents__factory.d.ts +2 -3
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributorEvents__factory.js +3 -3
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributor__factory.d.ts +2 -3
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributor__factory.js +3 -3
- package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2VaultGetters__factory.d.ts +2 -3
- package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2VaultGetters__factory.js +3 -3
- package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2Vault__factory.d.ts +2 -3
- package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2Vault__factory.js +3 -3
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents__factory.d.ts +2 -3
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents__factory.js +3 -3
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions__factory.d.ts +2 -3
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions__factory.js +3 -3
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter__factory.d.ts +2 -3
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter__factory.js +3 -3
- package/lib/types/factories/IBaseRewardPool__factory.d.ts +2 -3
- package/lib/types/factories/IBaseRewardPool__factory.js +3 -3
- package/lib/types/factories/IBotListV3.sol/IBotListV3Events__factory.d.ts +2 -3
- package/lib/types/factories/IBotListV3.sol/IBotListV3Events__factory.js +3 -3
- package/lib/types/factories/IBotListV3.sol/IBotListV3__factory.d.ts +2 -3
- package/lib/types/factories/IBotListV3.sol/IBotListV3__factory.js +3 -3
- package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter__factory.d.ts +2 -3
- package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter__factory.js +3 -3
- package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions__factory.d.ts +2 -3
- package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions__factory.js +3 -3
- package/lib/types/factories/IContractsRegister.sol/IContractsRegisterEvents__factory.d.ts +2 -3
- package/lib/types/factories/IContractsRegister.sol/IContractsRegisterEvents__factory.js +3 -3
- package/lib/types/factories/IContractsRegister.sol/IContractsRegister__factory.d.ts +2 -3
- package/lib/types/factories/IContractsRegister.sol/IContractsRegister__factory.js +3 -3
- package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3Events__factory.d.ts +2 -3
- package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3Events__factory.js +3 -3
- package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3__factory.d.ts +2 -3
- package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3__factory.js +3 -3
- package/lib/types/factories/IConvexToken__factory.d.ts +2 -3
- package/lib/types/factories/IConvexToken__factory.js +3 -3
- package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.d.ts +2 -3
- package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.js +3 -3
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents__factory.d.ts +2 -3
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents__factory.js +3 -3
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory.d.ts +2 -3
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory.js +3 -3
- package/lib/types/factories/ICreditAccountV3.sol/ICreditAccountBase__factory.d.ts +2 -3
- package/lib/types/factories/ICreditAccountV3.sol/ICreditAccountBase__factory.js +3 -3
- package/lib/types/factories/ICreditAccountV3.sol/ICreditAccountV3__factory.d.ts +2 -3
- package/lib/types/factories/ICreditAccountV3.sol/ICreditAccountV3__factory.js +3 -3
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Events__factory.d.ts +2 -3
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Events__factory.js +3 -3
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Exceptions__factory.d.ts +2 -3
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Exceptions__factory.js +3 -3
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2__factory.d.ts +2 -3
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2__factory.js +3 -3
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events__factory.d.ts +2 -3
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events__factory.js +3 -3
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3__factory.d.ts +2 -3
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3__factory.js +3 -3
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Events__factory.d.ts +2 -3
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Events__factory.js +3 -3
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Exceptions__factory.d.ts +2 -3
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Exceptions__factory.js +3 -3
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Extended__factory.d.ts +2 -3
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Extended__factory.js +3 -3
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2V2__factory.d.ts +2 -3
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2V2__factory.js +3 -3
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2__factory.d.ts +2 -3
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2__factory.js +3 -3
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.d.ts +2 -3
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.js +3 -3
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.d.ts +2 -3
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.js +3 -3
- package/lib/types/factories/ICreditFacadeV3Multicall__factory.d.ts +2 -3
- package/lib/types/factories/ICreditFacadeV3Multicall__factory.js +3 -3
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Events__factory.d.ts +2 -3
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Events__factory.js +3 -3
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Exceptions__factory.d.ts +2 -3
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Exceptions__factory.js +3 -3
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2__factory.d.ts +2 -3
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2__factory.js +3 -3
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3Events__factory.d.ts +2 -3
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3Events__factory.js +3 -3
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.d.ts +2 -3
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.js +3 -3
- package/lib/types/factories/ICurvePool_2.sol/ICurvePool2Assets__factory.d.ts +2 -3
- package/lib/types/factories/ICurvePool_2.sol/ICurvePool2Assets__factory.js +3 -3
- package/lib/types/factories/ICurvePool_3.sol/ICurvePool3Assets__factory.d.ts +2 -3
- package/lib/types/factories/ICurvePool_3.sol/ICurvePool3Assets__factory.js +3 -3
- package/lib/types/factories/ICurvePool_4.sol/ICurvePool4Assets__factory.d.ts +2 -3
- package/lib/types/factories/ICurvePool_4.sol/ICurvePool4Assets__factory.js +3 -3
- package/lib/types/factories/ICurvePool__factory.d.ts +2 -3
- package/lib/types/factories/ICurvePool__factory.js +3 -3
- package/lib/types/factories/ICurveV1Adapter__factory.d.ts +2 -3
- package/lib/types/factories/ICurveV1Adapter__factory.js +3 -3
- package/lib/types/factories/ICurveV1_2AssetsAdapter__factory.d.ts +2 -3
- package/lib/types/factories/ICurveV1_2AssetsAdapter__factory.js +3 -3
- package/lib/types/factories/ICurveV1_3AssetsAdapter__factory.d.ts +2 -3
- package/lib/types/factories/ICurveV1_3AssetsAdapter__factory.js +3 -3
- package/lib/types/factories/ICurveV1_4AssetsAdapter__factory.d.ts +2 -3
- package/lib/types/factories/ICurveV1_4AssetsAdapter__factory.js +3 -3
- package/lib/types/factories/IDaiLikePermit__factory.d.ts +2 -3
- package/lib/types/factories/IDaiLikePermit__factory.js +3 -3
- package/lib/types/factories/IDataCompressorV2_1__factory.d.ts +2 -3
- package/lib/types/factories/IDataCompressorV2_1__factory.js +3 -3
- package/lib/types/factories/IDataCompressorV3__factory.d.ts +2 -3
- package/lib/types/factories/IDataCompressorV3__factory.js +3 -3
- package/lib/types/factories/IDegenDistributor.sol/IDegenDistributorEvents__factory.d.ts +2 -3
- package/lib/types/factories/IDegenDistributor.sol/IDegenDistributorEvents__factory.js +3 -3
- package/lib/types/factories/IDegenDistributor.sol/IDegenDistributor__factory.d.ts +2 -3
- package/lib/types/factories/IDegenDistributor.sol/IDegenDistributor__factory.js +3 -3
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Events__factory.d.ts +2 -3
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Events__factory.js +3 -3
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Exceptions__factory.d.ts +2 -3
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Exceptions__factory.js +3 -3
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2__factory.d.ts +2 -3
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2__factory.js +3 -3
- package/lib/types/factories/IERC165__factory.d.ts +2 -3
- package/lib/types/factories/IERC165__factory.js +3 -3
- package/lib/types/factories/IERC20Metadata__factory.d.ts +2 -3
- package/lib/types/factories/IERC20Metadata__factory.js +3 -3
- package/lib/types/factories/IERC20Permit__factory.d.ts +2 -3
- package/lib/types/factories/IERC20Permit__factory.js +3 -3
- package/lib/types/factories/IERC20ZapperDeposits__factory.d.ts +2 -3
- package/lib/types/factories/IERC20ZapperDeposits__factory.js +3 -3
- package/lib/types/factories/IERC20__factory.d.ts +2 -3
- package/lib/types/factories/IERC20__factory.js +3 -3
- package/lib/types/factories/IERC4626Adapter__factory.d.ts +2 -3
- package/lib/types/factories/IERC4626Adapter__factory.js +3 -3
- package/lib/types/factories/IERC4626__factory.d.ts +2 -3
- package/lib/types/factories/IERC4626__factory.js +3 -3
- package/lib/types/factories/IERC721Metadata__factory.d.ts +2 -3
- package/lib/types/factories/IERC721Metadata__factory.js +3 -3
- package/lib/types/factories/IERC721__factory.d.ts +2 -3
- package/lib/types/factories/IERC721__factory.js +3 -3
- package/lib/types/factories/IETHZapperDeposits__factory.d.ts +2 -3
- package/lib/types/factories/IETHZapperDeposits__factory.js +3 -3
- package/lib/types/factories/IFarmingPool__factory.d.ts +2 -3
- package/lib/types/factories/IFarmingPool__factory.js +3 -3
- package/lib/types/factories/{contracts/interfaces/IGasPricer__factory.d.ts → IGasPricer__factory.d.ts} +3 -4
- package/lib/types/factories/{contracts/interfaces/IGasPricer__factory.js → IGasPricer__factory.js} +3 -3
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3Events__factory.d.ts +2 -3
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3Events__factory.js +3 -3
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3__factory.d.ts +2 -3
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3__factory.js +3 -3
- package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3Events__factory.d.ts +2 -3
- package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3Events__factory.js +3 -3
- package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3__factory.d.ts +2 -3
- package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3__factory.js +3 -3
- package/lib/types/factories/IInterestRateModel__factory.d.ts +2 -3
- package/lib/types/factories/IInterestRateModel__factory.js +3 -3
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedEvents__factory.d.ts +2 -3
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedEvents__factory.js +3 -3
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory.d.ts +2 -3
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory.js +3 -3
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeed__factory.d.ts +2 -3
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeed__factory.js +3 -3
- package/lib/types/factories/ILidoV1Adapter__factory.d.ts +2 -3
- package/lib/types/factories/ILidoV1Adapter__factory.js +3 -3
- package/lib/types/factories/ILinearInterestRateModelV3__factory.d.ts +2 -3
- package/lib/types/factories/ILinearInterestRateModelV3__factory.js +3 -3
- package/lib/types/factories/IOffchainOracle__factory.d.ts +2 -3
- package/lib/types/factories/IOffchainOracle__factory.js +3 -3
- package/lib/types/factories/IPartialLiquidationBotV3__factory.d.ts +2 -3
- package/lib/types/factories/IPartialLiquidationBotV3__factory.js +3 -3
- package/lib/types/factories/IPermit2__factory.d.ts +2 -3
- package/lib/types/factories/IPermit2__factory.js +3 -3
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events__factory.d.ts +2 -3
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events__factory.js +3 -3
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3__factory.d.ts +2 -3
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3__factory.js +3 -3
- package/lib/types/factories/IPoolService.sol/IPoolServiceEvents__factory.d.ts +2 -3
- package/lib/types/factories/IPoolService.sol/IPoolServiceEvents__factory.js +3 -3
- package/lib/types/factories/IPoolService.sol/IPoolService__factory.d.ts +2 -3
- package/lib/types/factories/IPoolService.sol/IPoolService__factory.js +3 -3
- package/lib/types/factories/IPoolV3.sol/IPoolV3Events__factory.d.ts +2 -3
- package/lib/types/factories/IPoolV3.sol/IPoolV3Events__factory.js +3 -3
- package/lib/types/factories/IPoolV3.sol/IPoolV3__factory.d.ts +2 -3
- package/lib/types/factories/IPoolV3.sol/IPoolV3__factory.js +3 -3
- package/lib/types/factories/IPriceFeed.sol/IPriceFeed__factory.d.ts +2 -3
- package/lib/types/factories/IPriceFeed.sol/IPriceFeed__factory.js +3 -3
- package/lib/types/factories/IPriceFeed.sol/IUpdatablePriceFeed__factory.d.ts +2 -3
- package/lib/types/factories/IPriceFeed.sol/IUpdatablePriceFeed__factory.js +3 -3
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Events__factory.d.ts +2 -3
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Events__factory.js +3 -3
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.d.ts +2 -3
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.js +3 -3
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Ext__factory.d.ts +2 -3
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Ext__factory.js +3 -3
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2__factory.d.ts +2 -3
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2__factory.js +3 -3
- package/lib/types/factories/IPriceOracleBase__factory.d.ts +2 -3
- package/lib/types/factories/IPriceOracleBase__factory.js +3 -3
- package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory.d.ts +2 -3
- package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory.js +3 -3
- package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3__factory.d.ts +2 -3
- package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3__factory.js +3 -3
- package/lib/types/factories/IRouterV3__factory.d.ts +2 -3
- package/lib/types/factories/IRouterV3__factory.js +3 -3
- package/lib/types/factories/IRouter__factory.d.ts +2 -3
- package/lib/types/factories/IRouter__factory.js +3 -3
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterEvents__factory.d.ts +2 -3
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterEvents__factory.js +3 -3
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions__factory.d.ts +2 -3
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions__factory.js +3 -3
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.d.ts +2 -3
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.js +3 -3
- package/lib/types/factories/IUniswapV3.sol/ISwapRouter__factory.d.ts +2 -3
- package/lib/types/factories/IUniswapV3.sol/ISwapRouter__factory.js +3 -3
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterEvents__factory.d.ts +2 -3
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterEvents__factory.js +3 -3
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterExceptions__factory.d.ts +2 -3
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterExceptions__factory.js +3 -3
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.d.ts +2 -3
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.js +3 -3
- package/lib/types/factories/IVersion__factory.d.ts +2 -3
- package/lib/types/factories/IVersion__factory.js +3 -3
- package/lib/types/factories/IVotingContractV3__factory.d.ts +2 -3
- package/lib/types/factories/IVotingContractV3__factory.js +3 -3
- package/lib/types/factories/IWETHGateway__factory.d.ts +2 -3
- package/lib/types/factories/IWETHGateway__factory.js +3 -3
- package/lib/types/factories/IWETH__factory.d.ts +2 -3
- package/lib/types/factories/IWETH__factory.js +3 -3
- package/lib/types/factories/IYVault__factory.d.ts +2 -3
- package/lib/types/factories/IYVault__factory.js +3 -3
- package/lib/types/factories/IYearnV2Adapter__factory.d.ts +2 -3
- package/lib/types/factories/IYearnV2Adapter__factory.js +3 -3
- package/lib/types/factories/IZapperRegister__factory.d.ts +2 -3
- package/lib/types/factories/IZapperRegister__factory.js +3 -3
- package/lib/types/factories/IZapper__factory.d.ts +2 -3
- package/lib/types/factories/IZapper__factory.js +3 -3
- package/lib/types/factories/IstETH.sol/IstETHGetters__factory.d.ts +2 -3
- package/lib/types/factories/IstETH.sol/IstETHGetters__factory.js +3 -3
- package/lib/types/factories/IstETH.sol/IstETH__factory.d.ts +2 -3
- package/lib/types/factories/IstETH.sol/IstETH__factory.js +3 -3
- package/lib/types/factories/IwstETH.sol/IwstETHGetters__factory.d.ts +2 -3
- package/lib/types/factories/IwstETH.sol/IwstETHGetters__factory.js +3 -3
- package/lib/types/factories/IwstETH.sol/IwstETH__factory.d.ts +2 -3
- package/lib/types/factories/IwstETH.sol/IwstETH__factory.js +3 -3
- package/lib/types/factories/IwstETHGateway.sol/IwstETHGateWay__factory.d.ts +2 -3
- package/lib/types/factories/IwstETHGateway.sol/IwstETHGateWay__factory.js +3 -3
- package/lib/types/factories/IwstETHV1Adapter__factory.d.ts +2 -3
- package/lib/types/factories/IwstETHV1Adapter__factory.js +3 -3
- package/lib/types/factories/NumericArrayLib__factory.d.ts +13 -12
- package/lib/types/factories/NumericArrayLib__factory.js +7 -10
- package/lib/types/factories/Ownable__factory.d.ts +2 -3
- package/lib/types/factories/Ownable__factory.js +3 -3
- package/lib/types/factories/PartialLiquidationBotV3__factory.d.ts +13 -12
- package/lib/types/factories/PartialLiquidationBotV3__factory.js +7 -10
- package/lib/types/factories/RedstoneConstants__factory.d.ts +13 -12
- package/lib/types/factories/RedstoneConstants__factory.js +7 -10
- package/lib/types/factories/RedstoneConsumerBase__factory.d.ts +2 -3
- package/lib/types/factories/RedstoneConsumerBase__factory.js +3 -3
- package/lib/types/factories/RedstoneConsumerNumericBase__factory.d.ts +2 -3
- package/lib/types/factories/RedstoneConsumerNumericBase__factory.js +3 -3
- package/lib/types/factories/RedstoneDefaultsLib__factory.d.ts +13 -12
- package/lib/types/factories/RedstoneDefaultsLib__factory.js +7 -10
- package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedEvents__factory.d.ts +2 -3
- package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedEvents__factory.js +3 -3
- package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions__factory.d.ts +2 -3
- package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions__factory.js +3 -3
- package/lib/types/factories/RedstonePriceFeed.sol/RedstonePriceFeed__factory.d.ts +13 -12
- package/lib/types/factories/RedstonePriceFeed.sol/RedstonePriceFeed__factory.js +7 -10
- package/lib/types/factories/SafeERC20__factory.d.ts +13 -12
- package/lib/types/factories/SafeERC20__factory.js +7 -10
- package/lib/types/factories/index.d.ts +1 -1
- package/lib/types/factories/index.js +4 -3
- package/lib/types/index.d.ts +2 -4
- package/lib/types/index.js +4 -4
- package/lib/utils/calls.d.ts +7 -0
- package/lib/utils/{repeater.js → calls.js} +11 -1
- package/lib/utils/math.d.ts +0 -1
- package/lib/utils/math.js +0 -2
- package/lib/utils/types.d.ts +0 -4
- package/package.json +8 -8
- package/lib/types/contracts/index.d.ts +0 -2
- package/lib/types/contracts/index.js +0 -2
- package/lib/types/contracts/interfaces/IGasPricer.d.ts +0 -44
- package/lib/types/contracts/interfaces/index.d.ts +0 -1
- package/lib/types/contracts/interfaces/index.js +0 -2
- package/lib/types/factories/contracts/index.d.ts +0 -1
- package/lib/types/factories/contracts/index.js +0 -30
- package/lib/types/factories/contracts/interfaces/index.d.ts +0 -1
- package/lib/types/factories/contracts/interfaces/index.js +0 -8
- package/lib/utils/repeater.d.ts +0 -1
- package/lib/watchers/creditAccountWatcher.d.ts +0 -37
- package/lib/watchers/creditAccountWatcher.js +0 -244
- package/lib/watchers/creditAccountWatcher.spec.d.ts +0 -1
- package/lib/watchers/creditAccountWatcher.spec.js +0 -208
- package/lib/watchers/creditManagerWatcher.d.ts +0 -10
- package/lib/watchers/creditManagerWatcher.js +0 -59
- package/lib/watchers/creditManagerWatcher.spec.d.ts +0 -1
- package/lib/watchers/creditManagerWatcher.spec.js +0 -115
- /package/lib/types/{contracts/interfaces/IGasPricer.js → IGasPricer.js} +0 -0
|
@@ -1,54 +1,23 @@
|
|
|
1
|
-
import type { BaseContract,
|
|
2
|
-
import type {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"changeQuotaMinRate(address,uint16)": FunctionFragment;
|
|
10
|
-
"epochFrozen()": FunctionFragment;
|
|
11
|
-
"epochLastUpdate()": FunctionFragment;
|
|
12
|
-
"getRates(address[])": FunctionFragment;
|
|
13
|
-
"isTokenAdded(address)": FunctionFragment;
|
|
14
|
-
"pool()": FunctionFragment;
|
|
15
|
-
"quotaRateParams(address)": FunctionFragment;
|
|
16
|
-
"setFrozenEpoch(bool)": FunctionFragment;
|
|
17
|
-
"unvote(address,uint96,bytes)": FunctionFragment;
|
|
18
|
-
"updateEpoch()": FunctionFragment;
|
|
19
|
-
"userTokenVotes(address,address)": FunctionFragment;
|
|
20
|
-
"version()": FunctionFragment;
|
|
21
|
-
"vote(address,uint96,bytes)": FunctionFragment;
|
|
22
|
-
"voter()": FunctionFragment;
|
|
23
|
-
};
|
|
24
|
-
getFunction(nameOrSignatureOrTopic: "addQuotaToken" | "changeQuotaMaxRate" | "changeQuotaMinRate" | "epochFrozen" | "epochLastUpdate" | "getRates" | "isTokenAdded" | "pool" | "quotaRateParams" | "setFrozenEpoch" | "unvote" | "updateEpoch" | "userTokenVotes" | "version" | "vote" | "voter"): FunctionFragment;
|
|
25
|
-
encodeFunctionData(functionFragment: "addQuotaToken", values: [
|
|
26
|
-
PromiseOrValue<string>,
|
|
27
|
-
PromiseOrValue<BigNumberish>,
|
|
28
|
-
PromiseOrValue<BigNumberish>
|
|
29
|
-
]): string;
|
|
30
|
-
encodeFunctionData(functionFragment: "changeQuotaMaxRate", values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
|
|
31
|
-
encodeFunctionData(functionFragment: "changeQuotaMinRate", values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
|
|
1
|
+
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../common";
|
|
3
|
+
export interface IGaugeV3Interface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "addQuotaToken" | "changeQuotaMaxRate" | "changeQuotaMinRate" | "epochFrozen" | "epochLastUpdate" | "getRates" | "isTokenAdded" | "pool" | "quotaRateParams" | "setFrozenEpoch" | "unvote" | "updateEpoch" | "userTokenVotes" | "version" | "vote" | "voter"): FunctionFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "AddQuotaToken" | "SetFrozenEpoch" | "SetQuotaTokenParams" | "Unvote" | "UpdateEpoch" | "Vote"): EventFragment;
|
|
6
|
+
encodeFunctionData(functionFragment: "addQuotaToken", values: [AddressLike, BigNumberish, BigNumberish]): string;
|
|
7
|
+
encodeFunctionData(functionFragment: "changeQuotaMaxRate", values: [AddressLike, BigNumberish]): string;
|
|
8
|
+
encodeFunctionData(functionFragment: "changeQuotaMinRate", values: [AddressLike, BigNumberish]): string;
|
|
32
9
|
encodeFunctionData(functionFragment: "epochFrozen", values?: undefined): string;
|
|
33
10
|
encodeFunctionData(functionFragment: "epochLastUpdate", values?: undefined): string;
|
|
34
|
-
encodeFunctionData(functionFragment: "getRates", values: [
|
|
35
|
-
encodeFunctionData(functionFragment: "isTokenAdded", values: [
|
|
11
|
+
encodeFunctionData(functionFragment: "getRates", values: [AddressLike[]]): string;
|
|
12
|
+
encodeFunctionData(functionFragment: "isTokenAdded", values: [AddressLike]): string;
|
|
36
13
|
encodeFunctionData(functionFragment: "pool", values?: undefined): string;
|
|
37
|
-
encodeFunctionData(functionFragment: "quotaRateParams", values: [
|
|
38
|
-
encodeFunctionData(functionFragment: "setFrozenEpoch", values: [
|
|
39
|
-
encodeFunctionData(functionFragment: "unvote", values: [
|
|
40
|
-
PromiseOrValue<string>,
|
|
41
|
-
PromiseOrValue<BigNumberish>,
|
|
42
|
-
PromiseOrValue<BytesLike>
|
|
43
|
-
]): string;
|
|
14
|
+
encodeFunctionData(functionFragment: "quotaRateParams", values: [AddressLike]): string;
|
|
15
|
+
encodeFunctionData(functionFragment: "setFrozenEpoch", values: [boolean]): string;
|
|
16
|
+
encodeFunctionData(functionFragment: "unvote", values: [AddressLike, BigNumberish, BytesLike]): string;
|
|
44
17
|
encodeFunctionData(functionFragment: "updateEpoch", values?: undefined): string;
|
|
45
|
-
encodeFunctionData(functionFragment: "userTokenVotes", values: [
|
|
18
|
+
encodeFunctionData(functionFragment: "userTokenVotes", values: [AddressLike, AddressLike]): string;
|
|
46
19
|
encodeFunctionData(functionFragment: "version", values?: undefined): string;
|
|
47
|
-
encodeFunctionData(functionFragment: "vote", values: [
|
|
48
|
-
PromiseOrValue<string>,
|
|
49
|
-
PromiseOrValue<BigNumberish>,
|
|
50
|
-
PromiseOrValue<BytesLike>
|
|
51
|
-
]): string;
|
|
20
|
+
encodeFunctionData(functionFragment: "vote", values: [AddressLike, BigNumberish, BytesLike]): string;
|
|
52
21
|
encodeFunctionData(functionFragment: "voter", values?: undefined): string;
|
|
53
22
|
decodeFunctionResult(functionFragment: "addQuotaToken", data: BytesLike): Result;
|
|
54
23
|
decodeFunctionResult(functionFragment: "changeQuotaMaxRate", data: BytesLike): Result;
|
|
@@ -66,301 +35,275 @@ export interface IGaugeV3Interface extends utils.Interface {
|
|
|
66
35
|
decodeFunctionResult(functionFragment: "version", data: BytesLike): Result;
|
|
67
36
|
decodeFunctionResult(functionFragment: "vote", data: BytesLike): Result;
|
|
68
37
|
decodeFunctionResult(functionFragment: "voter", data: BytesLike): Result;
|
|
69
|
-
events: {
|
|
70
|
-
"AddQuotaToken(address,uint16,uint16)": EventFragment;
|
|
71
|
-
"SetFrozenEpoch(bool)": EventFragment;
|
|
72
|
-
"SetQuotaTokenParams(address,uint16,uint16)": EventFragment;
|
|
73
|
-
"Unvote(address,address,uint96,bool)": EventFragment;
|
|
74
|
-
"UpdateEpoch(uint16)": EventFragment;
|
|
75
|
-
"Vote(address,address,uint96,bool)": EventFragment;
|
|
76
|
-
};
|
|
77
|
-
getEvent(nameOrSignatureOrTopic: "AddQuotaToken"): EventFragment;
|
|
78
|
-
getEvent(nameOrSignatureOrTopic: "SetFrozenEpoch"): EventFragment;
|
|
79
|
-
getEvent(nameOrSignatureOrTopic: "SetQuotaTokenParams"): EventFragment;
|
|
80
|
-
getEvent(nameOrSignatureOrTopic: "Unvote"): EventFragment;
|
|
81
|
-
getEvent(nameOrSignatureOrTopic: "UpdateEpoch"): EventFragment;
|
|
82
|
-
getEvent(nameOrSignatureOrTopic: "Vote"): EventFragment;
|
|
83
38
|
}
|
|
84
|
-
export
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
39
|
+
export declare namespace AddQuotaTokenEvent {
|
|
40
|
+
type InputTuple = [
|
|
41
|
+
token: AddressLike,
|
|
42
|
+
minRate: BigNumberish,
|
|
43
|
+
maxRate: BigNumberish
|
|
44
|
+
];
|
|
45
|
+
type OutputTuple = [token: string, minRate: bigint, maxRate: bigint];
|
|
46
|
+
interface OutputObject {
|
|
47
|
+
token: string;
|
|
48
|
+
minRate: bigint;
|
|
49
|
+
maxRate: bigint;
|
|
50
|
+
}
|
|
51
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
52
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
53
|
+
type Log = TypedEventLog<Event>;
|
|
54
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
88
55
|
}
|
|
89
|
-
export
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
56
|
+
export declare namespace SetFrozenEpochEvent {
|
|
57
|
+
type InputTuple = [status: boolean];
|
|
58
|
+
type OutputTuple = [status: boolean];
|
|
59
|
+
interface OutputObject {
|
|
60
|
+
status: boolean;
|
|
61
|
+
}
|
|
62
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
63
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
64
|
+
type Log = TypedEventLog<Event>;
|
|
65
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
97
66
|
}
|
|
98
|
-
export
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
minRate:
|
|
105
|
-
|
|
67
|
+
export declare namespace SetQuotaTokenParamsEvent {
|
|
68
|
+
type InputTuple = [
|
|
69
|
+
token: AddressLike,
|
|
70
|
+
minRate: BigNumberish,
|
|
71
|
+
maxRate: BigNumberish
|
|
72
|
+
];
|
|
73
|
+
type OutputTuple = [token: string, minRate: bigint, maxRate: bigint];
|
|
74
|
+
interface OutputObject {
|
|
75
|
+
token: string;
|
|
76
|
+
minRate: bigint;
|
|
77
|
+
maxRate: bigint;
|
|
78
|
+
}
|
|
79
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
80
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
81
|
+
type Log = TypedEventLog<Event>;
|
|
82
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
106
83
|
}
|
|
107
|
-
export
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
84
|
+
export declare namespace UnvoteEvent {
|
|
85
|
+
type InputTuple = [
|
|
86
|
+
user: AddressLike,
|
|
87
|
+
token: AddressLike,
|
|
88
|
+
votes: BigNumberish,
|
|
89
|
+
lpSide: boolean
|
|
90
|
+
];
|
|
91
|
+
type OutputTuple = [
|
|
92
|
+
user: string,
|
|
93
|
+
token: string,
|
|
94
|
+
votes: bigint,
|
|
95
|
+
lpSide: boolean
|
|
96
|
+
];
|
|
97
|
+
interface OutputObject {
|
|
98
|
+
user: string;
|
|
99
|
+
token: string;
|
|
100
|
+
votes: bigint;
|
|
101
|
+
lpSide: boolean;
|
|
102
|
+
}
|
|
103
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
104
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
105
|
+
type Log = TypedEventLog<Event>;
|
|
106
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
118
107
|
}
|
|
119
|
-
export
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
108
|
+
export declare namespace UpdateEpochEvent {
|
|
109
|
+
type InputTuple = [epochNow: BigNumberish];
|
|
110
|
+
type OutputTuple = [epochNow: bigint];
|
|
111
|
+
interface OutputObject {
|
|
112
|
+
epochNow: bigint;
|
|
113
|
+
}
|
|
114
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
115
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
116
|
+
type Log = TypedEventLog<Event>;
|
|
117
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
128
118
|
}
|
|
129
|
-
export
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
119
|
+
export declare namespace VoteEvent {
|
|
120
|
+
type InputTuple = [
|
|
121
|
+
user: AddressLike,
|
|
122
|
+
token: AddressLike,
|
|
123
|
+
votes: BigNumberish,
|
|
124
|
+
lpSide: boolean
|
|
125
|
+
];
|
|
126
|
+
type OutputTuple = [
|
|
127
|
+
user: string,
|
|
128
|
+
token: string,
|
|
129
|
+
votes: bigint,
|
|
130
|
+
lpSide: boolean
|
|
131
|
+
];
|
|
132
|
+
interface OutputObject {
|
|
133
|
+
user: string;
|
|
134
|
+
token: string;
|
|
135
|
+
votes: bigint;
|
|
136
|
+
lpSide: boolean;
|
|
137
|
+
}
|
|
138
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
139
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
140
|
+
type Log = TypedEventLog<Event>;
|
|
141
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
136
142
|
}
|
|
137
|
-
export type VoteEvent = TypedEvent<[
|
|
138
|
-
string,
|
|
139
|
-
string,
|
|
140
|
-
BigNumber,
|
|
141
|
-
boolean
|
|
142
|
-
], VoteEventObject>;
|
|
143
|
-
export type VoteEventFilter = TypedEventFilter<VoteEvent>;
|
|
144
143
|
export interface IGaugeV3 extends BaseContract {
|
|
145
|
-
connect(
|
|
146
|
-
|
|
147
|
-
deployed(): Promise<this>;
|
|
144
|
+
connect(runner?: ContractRunner | null): IGaugeV3;
|
|
145
|
+
waitForDeployment(): Promise<this>;
|
|
148
146
|
interface: IGaugeV3Interface;
|
|
149
|
-
queryFilter<
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
from?: PromiseOrValue<string>;
|
|
191
|
-
}): Promise<ContractTransaction>;
|
|
192
|
-
updateEpoch(overrides?: Overrides & {
|
|
193
|
-
from?: PromiseOrValue<string>;
|
|
194
|
-
}): Promise<ContractTransaction>;
|
|
195
|
-
userTokenVotes(user: PromiseOrValue<string>, token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[
|
|
196
|
-
BigNumber,
|
|
197
|
-
BigNumber
|
|
198
|
-
] & {
|
|
199
|
-
votesLpSide: BigNumber;
|
|
200
|
-
votesCaSide: BigNumber;
|
|
201
|
-
}>;
|
|
202
|
-
version(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
203
|
-
vote(user: PromiseOrValue<string>, votes: PromiseOrValue<BigNumberish>, extraData: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
204
|
-
from?: PromiseOrValue<string>;
|
|
205
|
-
}): Promise<ContractTransaction>;
|
|
206
|
-
voter(overrides?: CallOverrides): Promise<[string]>;
|
|
207
|
-
};
|
|
208
|
-
addQuotaToken(token: PromiseOrValue<string>, minRate: PromiseOrValue<BigNumberish>, maxRate: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
209
|
-
from?: PromiseOrValue<string>;
|
|
210
|
-
}): Promise<ContractTransaction>;
|
|
211
|
-
changeQuotaMaxRate(token: PromiseOrValue<string>, maxRate: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
212
|
-
from?: PromiseOrValue<string>;
|
|
213
|
-
}): Promise<ContractTransaction>;
|
|
214
|
-
changeQuotaMinRate(token: PromiseOrValue<string>, minRate: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
215
|
-
from?: PromiseOrValue<string>;
|
|
216
|
-
}): Promise<ContractTransaction>;
|
|
217
|
-
epochFrozen(overrides?: CallOverrides): Promise<boolean>;
|
|
218
|
-
epochLastUpdate(overrides?: CallOverrides): Promise<number>;
|
|
219
|
-
getRates(tokens: PromiseOrValue<string>[], overrides?: CallOverrides): Promise<number[]>;
|
|
220
|
-
isTokenAdded(token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
|
|
221
|
-
pool(overrides?: CallOverrides): Promise<string>;
|
|
222
|
-
quotaRateParams(token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[
|
|
223
|
-
number,
|
|
224
|
-
number,
|
|
225
|
-
BigNumber,
|
|
226
|
-
BigNumber
|
|
227
|
-
] & {
|
|
228
|
-
minRate: number;
|
|
229
|
-
maxRate: number;
|
|
230
|
-
totalVotesLpSide: BigNumber;
|
|
231
|
-
totalVotesCaSide: BigNumber;
|
|
232
|
-
}>;
|
|
233
|
-
setFrozenEpoch(status: PromiseOrValue<boolean>, overrides?: Overrides & {
|
|
234
|
-
from?: PromiseOrValue<string>;
|
|
235
|
-
}): Promise<ContractTransaction>;
|
|
236
|
-
unvote(user: PromiseOrValue<string>, votes: PromiseOrValue<BigNumberish>, extraData: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
237
|
-
from?: PromiseOrValue<string>;
|
|
238
|
-
}): Promise<ContractTransaction>;
|
|
239
|
-
updateEpoch(overrides?: Overrides & {
|
|
240
|
-
from?: PromiseOrValue<string>;
|
|
241
|
-
}): Promise<ContractTransaction>;
|
|
242
|
-
userTokenVotes(user: PromiseOrValue<string>, token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[
|
|
243
|
-
BigNumber,
|
|
244
|
-
BigNumber
|
|
245
|
-
] & {
|
|
246
|
-
votesLpSide: BigNumber;
|
|
247
|
-
votesCaSide: BigNumber;
|
|
248
|
-
}>;
|
|
249
|
-
version(overrides?: CallOverrides): Promise<BigNumber>;
|
|
250
|
-
vote(user: PromiseOrValue<string>, votes: PromiseOrValue<BigNumberish>, extraData: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
251
|
-
from?: PromiseOrValue<string>;
|
|
252
|
-
}): Promise<ContractTransaction>;
|
|
253
|
-
voter(overrides?: CallOverrides): Promise<string>;
|
|
254
|
-
callStatic: {
|
|
255
|
-
addQuotaToken(token: PromiseOrValue<string>, minRate: PromiseOrValue<BigNumberish>, maxRate: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
|
|
256
|
-
changeQuotaMaxRate(token: PromiseOrValue<string>, maxRate: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
|
|
257
|
-
changeQuotaMinRate(token: PromiseOrValue<string>, minRate: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
|
|
258
|
-
epochFrozen(overrides?: CallOverrides): Promise<boolean>;
|
|
259
|
-
epochLastUpdate(overrides?: CallOverrides): Promise<number>;
|
|
260
|
-
getRates(tokens: PromiseOrValue<string>[], overrides?: CallOverrides): Promise<number[]>;
|
|
261
|
-
isTokenAdded(token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
|
|
262
|
-
pool(overrides?: CallOverrides): Promise<string>;
|
|
263
|
-
quotaRateParams(token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[
|
|
264
|
-
number,
|
|
265
|
-
number,
|
|
266
|
-
BigNumber,
|
|
267
|
-
BigNumber
|
|
147
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
148
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
149
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
150
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
151
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
152
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
153
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
154
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
155
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
156
|
+
addQuotaToken: TypedContractMethod<[
|
|
157
|
+
token: AddressLike,
|
|
158
|
+
minRate: BigNumberish,
|
|
159
|
+
maxRate: BigNumberish
|
|
160
|
+
], [
|
|
161
|
+
void
|
|
162
|
+
], "nonpayable">;
|
|
163
|
+
changeQuotaMaxRate: TypedContractMethod<[
|
|
164
|
+
token: AddressLike,
|
|
165
|
+
maxRate: BigNumberish
|
|
166
|
+
], [
|
|
167
|
+
void
|
|
168
|
+
], "nonpayable">;
|
|
169
|
+
changeQuotaMinRate: TypedContractMethod<[
|
|
170
|
+
token: AddressLike,
|
|
171
|
+
minRate: BigNumberish
|
|
172
|
+
], [
|
|
173
|
+
void
|
|
174
|
+
], "nonpayable">;
|
|
175
|
+
epochFrozen: TypedContractMethod<[], [boolean], "view">;
|
|
176
|
+
epochLastUpdate: TypedContractMethod<[], [bigint], "view">;
|
|
177
|
+
getRates: TypedContractMethod<[tokens: AddressLike[]], [bigint[]], "view">;
|
|
178
|
+
isTokenAdded: TypedContractMethod<[token: AddressLike], [boolean], "view">;
|
|
179
|
+
pool: TypedContractMethod<[], [string], "view">;
|
|
180
|
+
quotaRateParams: TypedContractMethod<[
|
|
181
|
+
token: AddressLike
|
|
182
|
+
], [
|
|
183
|
+
[
|
|
184
|
+
bigint,
|
|
185
|
+
bigint,
|
|
186
|
+
bigint,
|
|
187
|
+
bigint
|
|
268
188
|
] & {
|
|
269
|
-
minRate:
|
|
270
|
-
maxRate:
|
|
271
|
-
totalVotesLpSide:
|
|
272
|
-
totalVotesCaSide:
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
189
|
+
minRate: bigint;
|
|
190
|
+
maxRate: bigint;
|
|
191
|
+
totalVotesLpSide: bigint;
|
|
192
|
+
totalVotesCaSide: bigint;
|
|
193
|
+
}
|
|
194
|
+
], "view">;
|
|
195
|
+
setFrozenEpoch: TypedContractMethod<[status: boolean], [void], "nonpayable">;
|
|
196
|
+
unvote: TypedContractMethod<[
|
|
197
|
+
user: AddressLike,
|
|
198
|
+
votes: BigNumberish,
|
|
199
|
+
extraData: BytesLike
|
|
200
|
+
], [
|
|
201
|
+
void
|
|
202
|
+
], "nonpayable">;
|
|
203
|
+
updateEpoch: TypedContractMethod<[], [void], "nonpayable">;
|
|
204
|
+
userTokenVotes: TypedContractMethod<[
|
|
205
|
+
user: AddressLike,
|
|
206
|
+
token: AddressLike
|
|
207
|
+
], [
|
|
208
|
+
[bigint, bigint] & {
|
|
209
|
+
votesLpSide: bigint;
|
|
210
|
+
votesCaSide: bigint;
|
|
211
|
+
}
|
|
212
|
+
], "view">;
|
|
213
|
+
version: TypedContractMethod<[], [bigint], "view">;
|
|
214
|
+
vote: TypedContractMethod<[
|
|
215
|
+
user: AddressLike,
|
|
216
|
+
votes: BigNumberish,
|
|
217
|
+
extraData: BytesLike
|
|
218
|
+
], [
|
|
219
|
+
void
|
|
220
|
+
], "nonpayable">;
|
|
221
|
+
voter: TypedContractMethod<[], [string], "view">;
|
|
222
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
223
|
+
getFunction(nameOrSignature: "addQuotaToken"): TypedContractMethod<[
|
|
224
|
+
token: AddressLike,
|
|
225
|
+
minRate: BigNumberish,
|
|
226
|
+
maxRate: BigNumberish
|
|
227
|
+
], [
|
|
228
|
+
void
|
|
229
|
+
], "nonpayable">;
|
|
230
|
+
getFunction(nameOrSignature: "changeQuotaMaxRate"): TypedContractMethod<[
|
|
231
|
+
token: AddressLike,
|
|
232
|
+
maxRate: BigNumberish
|
|
233
|
+
], [
|
|
234
|
+
void
|
|
235
|
+
], "nonpayable">;
|
|
236
|
+
getFunction(nameOrSignature: "changeQuotaMinRate"): TypedContractMethod<[
|
|
237
|
+
token: AddressLike,
|
|
238
|
+
minRate: BigNumberish
|
|
239
|
+
], [
|
|
240
|
+
void
|
|
241
|
+
], "nonpayable">;
|
|
242
|
+
getFunction(nameOrSignature: "epochFrozen"): TypedContractMethod<[], [boolean], "view">;
|
|
243
|
+
getFunction(nameOrSignature: "epochLastUpdate"): TypedContractMethod<[], [bigint], "view">;
|
|
244
|
+
getFunction(nameOrSignature: "getRates"): TypedContractMethod<[tokens: AddressLike[]], [bigint[]], "view">;
|
|
245
|
+
getFunction(nameOrSignature: "isTokenAdded"): TypedContractMethod<[token: AddressLike], [boolean], "view">;
|
|
246
|
+
getFunction(nameOrSignature: "pool"): TypedContractMethod<[], [string], "view">;
|
|
247
|
+
getFunction(nameOrSignature: "quotaRateParams"): TypedContractMethod<[
|
|
248
|
+
token: AddressLike
|
|
249
|
+
], [
|
|
250
|
+
[
|
|
251
|
+
bigint,
|
|
252
|
+
bigint,
|
|
253
|
+
bigint,
|
|
254
|
+
bigint
|
|
280
255
|
] & {
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
256
|
+
minRate: bigint;
|
|
257
|
+
maxRate: bigint;
|
|
258
|
+
totalVotesLpSide: bigint;
|
|
259
|
+
totalVotesCaSide: bigint;
|
|
260
|
+
}
|
|
261
|
+
], "view">;
|
|
262
|
+
getFunction(nameOrSignature: "setFrozenEpoch"): TypedContractMethod<[status: boolean], [void], "nonpayable">;
|
|
263
|
+
getFunction(nameOrSignature: "unvote"): TypedContractMethod<[
|
|
264
|
+
user: AddressLike,
|
|
265
|
+
votes: BigNumberish,
|
|
266
|
+
extraData: BytesLike
|
|
267
|
+
], [
|
|
268
|
+
void
|
|
269
|
+
], "nonpayable">;
|
|
270
|
+
getFunction(nameOrSignature: "updateEpoch"): TypedContractMethod<[], [void], "nonpayable">;
|
|
271
|
+
getFunction(nameOrSignature: "userTokenVotes"): TypedContractMethod<[
|
|
272
|
+
user: AddressLike,
|
|
273
|
+
token: AddressLike
|
|
274
|
+
], [
|
|
275
|
+
[bigint, bigint] & {
|
|
276
|
+
votesLpSide: bigint;
|
|
277
|
+
votesCaSide: bigint;
|
|
278
|
+
}
|
|
279
|
+
], "view">;
|
|
280
|
+
getFunction(nameOrSignature: "version"): TypedContractMethod<[], [bigint], "view">;
|
|
281
|
+
getFunction(nameOrSignature: "vote"): TypedContractMethod<[
|
|
282
|
+
user: AddressLike,
|
|
283
|
+
votes: BigNumberish,
|
|
284
|
+
extraData: BytesLike
|
|
285
|
+
], [
|
|
286
|
+
void
|
|
287
|
+
], "nonpayable">;
|
|
288
|
+
getFunction(nameOrSignature: "voter"): TypedContractMethod<[], [string], "view">;
|
|
289
|
+
getEvent(key: "AddQuotaToken"): TypedContractEvent<AddQuotaTokenEvent.InputTuple, AddQuotaTokenEvent.OutputTuple, AddQuotaTokenEvent.OutputObject>;
|
|
290
|
+
getEvent(key: "SetFrozenEpoch"): TypedContractEvent<SetFrozenEpochEvent.InputTuple, SetFrozenEpochEvent.OutputTuple, SetFrozenEpochEvent.OutputObject>;
|
|
291
|
+
getEvent(key: "SetQuotaTokenParams"): TypedContractEvent<SetQuotaTokenParamsEvent.InputTuple, SetQuotaTokenParamsEvent.OutputTuple, SetQuotaTokenParamsEvent.OutputObject>;
|
|
292
|
+
getEvent(key: "Unvote"): TypedContractEvent<UnvoteEvent.InputTuple, UnvoteEvent.OutputTuple, UnvoteEvent.OutputObject>;
|
|
293
|
+
getEvent(key: "UpdateEpoch"): TypedContractEvent<UpdateEpochEvent.InputTuple, UpdateEpochEvent.OutputTuple, UpdateEpochEvent.OutputObject>;
|
|
294
|
+
getEvent(key: "Vote"): TypedContractEvent<VoteEvent.InputTuple, VoteEvent.OutputTuple, VoteEvent.OutputObject>;
|
|
288
295
|
filters: {
|
|
289
|
-
"AddQuotaToken(address,uint16,uint16)"
|
|
290
|
-
AddQuotaToken
|
|
291
|
-
"SetFrozenEpoch(bool)"
|
|
292
|
-
SetFrozenEpoch
|
|
293
|
-
"SetQuotaTokenParams(address,uint16,uint16)"
|
|
294
|
-
SetQuotaTokenParams
|
|
295
|
-
"Unvote(address,address,uint96,bool)"
|
|
296
|
-
Unvote
|
|
297
|
-
"UpdateEpoch(uint16)"
|
|
298
|
-
UpdateEpoch
|
|
299
|
-
"Vote(address,address,uint96,bool)"
|
|
300
|
-
Vote
|
|
301
|
-
};
|
|
302
|
-
estimateGas: {
|
|
303
|
-
addQuotaToken(token: PromiseOrValue<string>, minRate: PromiseOrValue<BigNumberish>, maxRate: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
304
|
-
from?: PromiseOrValue<string>;
|
|
305
|
-
}): Promise<BigNumber>;
|
|
306
|
-
changeQuotaMaxRate(token: PromiseOrValue<string>, maxRate: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
307
|
-
from?: PromiseOrValue<string>;
|
|
308
|
-
}): Promise<BigNumber>;
|
|
309
|
-
changeQuotaMinRate(token: PromiseOrValue<string>, minRate: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
310
|
-
from?: PromiseOrValue<string>;
|
|
311
|
-
}): Promise<BigNumber>;
|
|
312
|
-
epochFrozen(overrides?: CallOverrides): Promise<BigNumber>;
|
|
313
|
-
epochLastUpdate(overrides?: CallOverrides): Promise<BigNumber>;
|
|
314
|
-
getRates(tokens: PromiseOrValue<string>[], overrides?: CallOverrides): Promise<BigNumber>;
|
|
315
|
-
isTokenAdded(token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
316
|
-
pool(overrides?: CallOverrides): Promise<BigNumber>;
|
|
317
|
-
quotaRateParams(token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
318
|
-
setFrozenEpoch(status: PromiseOrValue<boolean>, overrides?: Overrides & {
|
|
319
|
-
from?: PromiseOrValue<string>;
|
|
320
|
-
}): Promise<BigNumber>;
|
|
321
|
-
unvote(user: PromiseOrValue<string>, votes: PromiseOrValue<BigNumberish>, extraData: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
322
|
-
from?: PromiseOrValue<string>;
|
|
323
|
-
}): Promise<BigNumber>;
|
|
324
|
-
updateEpoch(overrides?: Overrides & {
|
|
325
|
-
from?: PromiseOrValue<string>;
|
|
326
|
-
}): Promise<BigNumber>;
|
|
327
|
-
userTokenVotes(user: PromiseOrValue<string>, token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
328
|
-
version(overrides?: CallOverrides): Promise<BigNumber>;
|
|
329
|
-
vote(user: PromiseOrValue<string>, votes: PromiseOrValue<BigNumberish>, extraData: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
330
|
-
from?: PromiseOrValue<string>;
|
|
331
|
-
}): Promise<BigNumber>;
|
|
332
|
-
voter(overrides?: CallOverrides): Promise<BigNumber>;
|
|
333
|
-
};
|
|
334
|
-
populateTransaction: {
|
|
335
|
-
addQuotaToken(token: PromiseOrValue<string>, minRate: PromiseOrValue<BigNumberish>, maxRate: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
336
|
-
from?: PromiseOrValue<string>;
|
|
337
|
-
}): Promise<PopulatedTransaction>;
|
|
338
|
-
changeQuotaMaxRate(token: PromiseOrValue<string>, maxRate: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
339
|
-
from?: PromiseOrValue<string>;
|
|
340
|
-
}): Promise<PopulatedTransaction>;
|
|
341
|
-
changeQuotaMinRate(token: PromiseOrValue<string>, minRate: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
342
|
-
from?: PromiseOrValue<string>;
|
|
343
|
-
}): Promise<PopulatedTransaction>;
|
|
344
|
-
epochFrozen(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
345
|
-
epochLastUpdate(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
346
|
-
getRates(tokens: PromiseOrValue<string>[], overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
347
|
-
isTokenAdded(token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
348
|
-
pool(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
349
|
-
quotaRateParams(token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
350
|
-
setFrozenEpoch(status: PromiseOrValue<boolean>, overrides?: Overrides & {
|
|
351
|
-
from?: PromiseOrValue<string>;
|
|
352
|
-
}): Promise<PopulatedTransaction>;
|
|
353
|
-
unvote(user: PromiseOrValue<string>, votes: PromiseOrValue<BigNumberish>, extraData: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
354
|
-
from?: PromiseOrValue<string>;
|
|
355
|
-
}): Promise<PopulatedTransaction>;
|
|
356
|
-
updateEpoch(overrides?: Overrides & {
|
|
357
|
-
from?: PromiseOrValue<string>;
|
|
358
|
-
}): Promise<PopulatedTransaction>;
|
|
359
|
-
userTokenVotes(user: PromiseOrValue<string>, token: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
360
|
-
version(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
361
|
-
vote(user: PromiseOrValue<string>, votes: PromiseOrValue<BigNumberish>, extraData: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
362
|
-
from?: PromiseOrValue<string>;
|
|
363
|
-
}): Promise<PopulatedTransaction>;
|
|
364
|
-
voter(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
296
|
+
"AddQuotaToken(address,uint16,uint16)": TypedContractEvent<AddQuotaTokenEvent.InputTuple, AddQuotaTokenEvent.OutputTuple, AddQuotaTokenEvent.OutputObject>;
|
|
297
|
+
AddQuotaToken: TypedContractEvent<AddQuotaTokenEvent.InputTuple, AddQuotaTokenEvent.OutputTuple, AddQuotaTokenEvent.OutputObject>;
|
|
298
|
+
"SetFrozenEpoch(bool)": TypedContractEvent<SetFrozenEpochEvent.InputTuple, SetFrozenEpochEvent.OutputTuple, SetFrozenEpochEvent.OutputObject>;
|
|
299
|
+
SetFrozenEpoch: TypedContractEvent<SetFrozenEpochEvent.InputTuple, SetFrozenEpochEvent.OutputTuple, SetFrozenEpochEvent.OutputObject>;
|
|
300
|
+
"SetQuotaTokenParams(address,uint16,uint16)": TypedContractEvent<SetQuotaTokenParamsEvent.InputTuple, SetQuotaTokenParamsEvent.OutputTuple, SetQuotaTokenParamsEvent.OutputObject>;
|
|
301
|
+
SetQuotaTokenParams: TypedContractEvent<SetQuotaTokenParamsEvent.InputTuple, SetQuotaTokenParamsEvent.OutputTuple, SetQuotaTokenParamsEvent.OutputObject>;
|
|
302
|
+
"Unvote(address,address,uint96,bool)": TypedContractEvent<UnvoteEvent.InputTuple, UnvoteEvent.OutputTuple, UnvoteEvent.OutputObject>;
|
|
303
|
+
Unvote: TypedContractEvent<UnvoteEvent.InputTuple, UnvoteEvent.OutputTuple, UnvoteEvent.OutputObject>;
|
|
304
|
+
"UpdateEpoch(uint16)": TypedContractEvent<UpdateEpochEvent.InputTuple, UpdateEpochEvent.OutputTuple, UpdateEpochEvent.OutputObject>;
|
|
305
|
+
UpdateEpoch: TypedContractEvent<UpdateEpochEvent.InputTuple, UpdateEpochEvent.OutputTuple, UpdateEpochEvent.OutputObject>;
|
|
306
|
+
"Vote(address,address,uint96,bool)": TypedContractEvent<VoteEvent.InputTuple, VoteEvent.OutputTuple, VoteEvent.OutputObject>;
|
|
307
|
+
Vote: TypedContractEvent<VoteEvent.InputTuple, VoteEvent.OutputTuple, VoteEvent.OutputObject>;
|
|
365
308
|
};
|
|
366
309
|
}
|