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