@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,433 +7,433 @@ exports.Errors__factory = void 0;
|
|
|
7
7
|
const ethers_1 = require("ethers");
|
|
8
8
|
const _abi = [
|
|
9
9
|
{
|
|
10
|
-
|
|
10
|
+
type: "function",
|
|
11
11
|
name: "ACL_CALLER_NOT_CONFIGURATOR",
|
|
12
|
+
inputs: [],
|
|
12
13
|
outputs: [
|
|
13
14
|
{
|
|
14
|
-
internalType: "string",
|
|
15
15
|
name: "",
|
|
16
16
|
type: "string",
|
|
17
|
+
internalType: "string",
|
|
17
18
|
},
|
|
18
19
|
],
|
|
19
20
|
stateMutability: "view",
|
|
20
|
-
type: "function",
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
|
-
|
|
23
|
+
type: "function",
|
|
24
24
|
name: "ACL_CALLER_NOT_PAUSABLE_ADMIN",
|
|
25
|
+
inputs: [],
|
|
25
26
|
outputs: [
|
|
26
27
|
{
|
|
27
|
-
internalType: "string",
|
|
28
28
|
name: "",
|
|
29
29
|
type: "string",
|
|
30
|
+
internalType: "string",
|
|
30
31
|
},
|
|
31
32
|
],
|
|
32
33
|
stateMutability: "view",
|
|
33
|
-
type: "function",
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
|
-
|
|
36
|
+
type: "function",
|
|
37
37
|
name: "AF_CANT_CLOSE_CREDIT_ACCOUNT_IN_THE_SAME_BLOCK",
|
|
38
|
+
inputs: [],
|
|
38
39
|
outputs: [
|
|
39
40
|
{
|
|
40
|
-
internalType: "string",
|
|
41
41
|
name: "",
|
|
42
42
|
type: "string",
|
|
43
|
+
internalType: "string",
|
|
43
44
|
},
|
|
44
45
|
],
|
|
45
46
|
stateMutability: "view",
|
|
46
|
-
type: "function",
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
|
-
|
|
49
|
+
type: "function",
|
|
50
50
|
name: "AF_CREDIT_ACCOUNT_NOT_IN_STOCK",
|
|
51
|
+
inputs: [],
|
|
51
52
|
outputs: [
|
|
52
53
|
{
|
|
53
|
-
internalType: "string",
|
|
54
54
|
name: "",
|
|
55
55
|
type: "string",
|
|
56
|
+
internalType: "string",
|
|
56
57
|
},
|
|
57
58
|
],
|
|
58
59
|
stateMutability: "view",
|
|
59
|
-
type: "function",
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
|
-
|
|
62
|
+
type: "function",
|
|
63
63
|
name: "AF_EXTERNAL_ACCOUNTS_ARE_FORBIDDEN",
|
|
64
|
+
inputs: [],
|
|
64
65
|
outputs: [
|
|
65
66
|
{
|
|
66
|
-
internalType: "string",
|
|
67
67
|
name: "",
|
|
68
68
|
type: "string",
|
|
69
|
+
internalType: "string",
|
|
69
70
|
},
|
|
70
71
|
],
|
|
71
72
|
stateMutability: "view",
|
|
72
|
-
type: "function",
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
|
-
|
|
75
|
+
type: "function",
|
|
76
76
|
name: "AF_MINING_IS_FINISHED",
|
|
77
|
+
inputs: [],
|
|
77
78
|
outputs: [
|
|
78
79
|
{
|
|
79
|
-
internalType: "string",
|
|
80
80
|
name: "",
|
|
81
81
|
type: "string",
|
|
82
|
+
internalType: "string",
|
|
82
83
|
},
|
|
83
84
|
],
|
|
84
85
|
stateMutability: "view",
|
|
85
|
-
type: "function",
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
|
-
|
|
88
|
+
type: "function",
|
|
89
89
|
name: "AS_ADDRESS_NOT_FOUND",
|
|
90
|
+
inputs: [],
|
|
90
91
|
outputs: [
|
|
91
92
|
{
|
|
92
|
-
internalType: "string",
|
|
93
93
|
name: "",
|
|
94
94
|
type: "string",
|
|
95
|
+
internalType: "string",
|
|
95
96
|
},
|
|
96
97
|
],
|
|
97
98
|
stateMutability: "view",
|
|
98
|
-
type: "function",
|
|
99
99
|
},
|
|
100
100
|
{
|
|
101
|
-
|
|
101
|
+
type: "function",
|
|
102
102
|
name: "CA_CONNECTED_CREDIT_MANAGER_ONLY",
|
|
103
|
+
inputs: [],
|
|
103
104
|
outputs: [
|
|
104
105
|
{
|
|
105
|
-
internalType: "string",
|
|
106
106
|
name: "",
|
|
107
107
|
type: "string",
|
|
108
|
+
internalType: "string",
|
|
108
109
|
},
|
|
109
110
|
],
|
|
110
111
|
stateMutability: "view",
|
|
111
|
-
type: "function",
|
|
112
112
|
},
|
|
113
113
|
{
|
|
114
|
-
|
|
114
|
+
type: "function",
|
|
115
115
|
name: "CA_FACTORY_ONLY",
|
|
116
|
+
inputs: [],
|
|
116
117
|
outputs: [
|
|
117
118
|
{
|
|
118
|
-
internalType: "string",
|
|
119
119
|
name: "",
|
|
120
120
|
type: "string",
|
|
121
|
+
internalType: "string",
|
|
121
122
|
},
|
|
122
123
|
],
|
|
123
124
|
stateMutability: "view",
|
|
124
|
-
type: "function",
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
|
-
|
|
127
|
+
type: "function",
|
|
128
128
|
name: "CR_CREDIT_MANAGER_ALREADY_ADDED",
|
|
129
|
+
inputs: [],
|
|
129
130
|
outputs: [
|
|
130
131
|
{
|
|
131
|
-
internalType: "string",
|
|
132
132
|
name: "",
|
|
133
133
|
type: "string",
|
|
134
|
+
internalType: "string",
|
|
134
135
|
},
|
|
135
136
|
],
|
|
136
137
|
stateMutability: "view",
|
|
137
|
-
type: "function",
|
|
138
138
|
},
|
|
139
139
|
{
|
|
140
|
-
|
|
140
|
+
type: "function",
|
|
141
141
|
name: "CR_POOL_ALREADY_ADDED",
|
|
142
|
+
inputs: [],
|
|
142
143
|
outputs: [
|
|
143
144
|
{
|
|
144
|
-
internalType: "string",
|
|
145
145
|
name: "",
|
|
146
146
|
type: "string",
|
|
147
|
+
internalType: "string",
|
|
147
148
|
},
|
|
148
149
|
],
|
|
149
150
|
stateMutability: "view",
|
|
150
|
-
type: "function",
|
|
151
151
|
},
|
|
152
152
|
{
|
|
153
|
-
|
|
153
|
+
type: "function",
|
|
154
154
|
name: "INCORRECT_ARRAY_LENGTH",
|
|
155
|
+
inputs: [],
|
|
155
156
|
outputs: [
|
|
156
157
|
{
|
|
157
|
-
internalType: "string",
|
|
158
158
|
name: "",
|
|
159
159
|
type: "string",
|
|
160
|
+
internalType: "string",
|
|
160
161
|
},
|
|
161
162
|
],
|
|
162
163
|
stateMutability: "view",
|
|
163
|
-
type: "function",
|
|
164
164
|
},
|
|
165
165
|
{
|
|
166
|
-
|
|
166
|
+
type: "function",
|
|
167
167
|
name: "INCORRECT_PARAMETER",
|
|
168
|
+
inputs: [],
|
|
168
169
|
outputs: [
|
|
169
170
|
{
|
|
170
|
-
internalType: "string",
|
|
171
171
|
name: "",
|
|
172
172
|
type: "string",
|
|
173
|
+
internalType: "string",
|
|
173
174
|
},
|
|
174
175
|
],
|
|
175
176
|
stateMutability: "view",
|
|
176
|
-
type: "function",
|
|
177
177
|
},
|
|
178
178
|
{
|
|
179
|
-
|
|
179
|
+
type: "function",
|
|
180
180
|
name: "INCORRECT_PATH_LENGTH",
|
|
181
|
+
inputs: [],
|
|
181
182
|
outputs: [
|
|
182
183
|
{
|
|
183
|
-
internalType: "string",
|
|
184
184
|
name: "",
|
|
185
185
|
type: "string",
|
|
186
|
+
internalType: "string",
|
|
186
187
|
},
|
|
187
188
|
],
|
|
188
189
|
stateMutability: "view",
|
|
189
|
-
type: "function",
|
|
190
190
|
},
|
|
191
191
|
{
|
|
192
|
-
|
|
192
|
+
type: "function",
|
|
193
193
|
name: "MATH_ADDITION_OVERFLOW",
|
|
194
|
+
inputs: [],
|
|
194
195
|
outputs: [
|
|
195
196
|
{
|
|
196
|
-
internalType: "string",
|
|
197
197
|
name: "",
|
|
198
198
|
type: "string",
|
|
199
|
+
internalType: "string",
|
|
199
200
|
},
|
|
200
201
|
],
|
|
201
202
|
stateMutability: "view",
|
|
202
|
-
type: "function",
|
|
203
203
|
},
|
|
204
204
|
{
|
|
205
|
-
|
|
205
|
+
type: "function",
|
|
206
206
|
name: "MATH_DIVISION_BY_ZERO",
|
|
207
|
+
inputs: [],
|
|
207
208
|
outputs: [
|
|
208
209
|
{
|
|
209
|
-
internalType: "string",
|
|
210
210
|
name: "",
|
|
211
211
|
type: "string",
|
|
212
|
+
internalType: "string",
|
|
212
213
|
},
|
|
213
214
|
],
|
|
214
215
|
stateMutability: "view",
|
|
215
|
-
type: "function",
|
|
216
216
|
},
|
|
217
217
|
{
|
|
218
|
-
|
|
218
|
+
type: "function",
|
|
219
219
|
name: "MATH_MULTIPLICATION_OVERFLOW",
|
|
220
|
+
inputs: [],
|
|
220
221
|
outputs: [
|
|
221
222
|
{
|
|
222
|
-
internalType: "string",
|
|
223
223
|
name: "",
|
|
224
224
|
type: "string",
|
|
225
|
+
internalType: "string",
|
|
225
226
|
},
|
|
226
227
|
],
|
|
227
228
|
stateMutability: "view",
|
|
228
|
-
type: "function",
|
|
229
229
|
},
|
|
230
230
|
{
|
|
231
|
-
|
|
231
|
+
type: "function",
|
|
232
232
|
name: "NOT_IMPLEMENTED",
|
|
233
|
+
inputs: [],
|
|
233
234
|
outputs: [
|
|
234
235
|
{
|
|
235
|
-
internalType: "string",
|
|
236
236
|
name: "",
|
|
237
237
|
type: "string",
|
|
238
|
+
internalType: "string",
|
|
238
239
|
},
|
|
239
240
|
],
|
|
240
241
|
stateMutability: "view",
|
|
241
|
-
type: "function",
|
|
242
242
|
},
|
|
243
243
|
{
|
|
244
|
-
|
|
244
|
+
type: "function",
|
|
245
245
|
name: "POOL_CANT_ADD_CREDIT_MANAGER_TWICE",
|
|
246
|
+
inputs: [],
|
|
246
247
|
outputs: [
|
|
247
248
|
{
|
|
248
|
-
internalType: "string",
|
|
249
249
|
name: "",
|
|
250
250
|
type: "string",
|
|
251
|
+
internalType: "string",
|
|
251
252
|
},
|
|
252
253
|
],
|
|
253
254
|
stateMutability: "view",
|
|
254
|
-
type: "function",
|
|
255
255
|
},
|
|
256
256
|
{
|
|
257
|
-
|
|
257
|
+
type: "function",
|
|
258
258
|
name: "POOL_CONNECTED_CREDIT_MANAGERS_ONLY",
|
|
259
|
+
inputs: [],
|
|
259
260
|
outputs: [
|
|
260
261
|
{
|
|
261
|
-
internalType: "string",
|
|
262
262
|
name: "",
|
|
263
263
|
type: "string",
|
|
264
|
+
internalType: "string",
|
|
264
265
|
},
|
|
265
266
|
],
|
|
266
267
|
stateMutability: "view",
|
|
267
|
-
type: "function",
|
|
268
268
|
},
|
|
269
269
|
{
|
|
270
|
-
|
|
270
|
+
type: "function",
|
|
271
271
|
name: "POOL_INCOMPATIBLE_CREDIT_ACCOUNT_MANAGER",
|
|
272
|
+
inputs: [],
|
|
272
273
|
outputs: [
|
|
273
274
|
{
|
|
274
|
-
internalType: "string",
|
|
275
275
|
name: "",
|
|
276
276
|
type: "string",
|
|
277
|
+
internalType: "string",
|
|
277
278
|
},
|
|
278
279
|
],
|
|
279
280
|
stateMutability: "view",
|
|
280
|
-
type: "function",
|
|
281
281
|
},
|
|
282
282
|
{
|
|
283
|
-
|
|
283
|
+
type: "function",
|
|
284
284
|
name: "POOL_INCORRECT_WITHDRAW_FEE",
|
|
285
|
+
inputs: [],
|
|
285
286
|
outputs: [
|
|
286
287
|
{
|
|
287
|
-
internalType: "string",
|
|
288
288
|
name: "",
|
|
289
289
|
type: "string",
|
|
290
|
+
internalType: "string",
|
|
290
291
|
},
|
|
291
292
|
],
|
|
292
293
|
stateMutability: "view",
|
|
293
|
-
type: "function",
|
|
294
294
|
},
|
|
295
295
|
{
|
|
296
|
-
|
|
296
|
+
type: "function",
|
|
297
297
|
name: "POOL_MORE_THAN_EXPECTED_LIQUIDITY_LIMIT",
|
|
298
|
+
inputs: [],
|
|
298
299
|
outputs: [
|
|
299
300
|
{
|
|
300
|
-
internalType: "string",
|
|
301
301
|
name: "",
|
|
302
302
|
type: "string",
|
|
303
|
+
internalType: "string",
|
|
303
304
|
},
|
|
304
305
|
],
|
|
305
306
|
stateMutability: "view",
|
|
306
|
-
type: "function",
|
|
307
307
|
},
|
|
308
308
|
{
|
|
309
|
-
|
|
309
|
+
type: "function",
|
|
310
310
|
name: "REGISTERED_CREDIT_ACCOUNT_MANAGERS_ONLY",
|
|
311
|
+
inputs: [],
|
|
311
312
|
outputs: [
|
|
312
313
|
{
|
|
313
|
-
internalType: "string",
|
|
314
314
|
name: "",
|
|
315
315
|
type: "string",
|
|
316
|
+
internalType: "string",
|
|
316
317
|
},
|
|
317
318
|
],
|
|
318
319
|
stateMutability: "view",
|
|
319
|
-
type: "function",
|
|
320
320
|
},
|
|
321
321
|
{
|
|
322
|
-
|
|
322
|
+
type: "function",
|
|
323
323
|
name: "REGISTERED_POOLS_ONLY",
|
|
324
|
+
inputs: [],
|
|
324
325
|
outputs: [
|
|
325
326
|
{
|
|
326
|
-
internalType: "string",
|
|
327
327
|
name: "",
|
|
328
328
|
type: "string",
|
|
329
|
+
internalType: "string",
|
|
329
330
|
},
|
|
330
331
|
],
|
|
331
332
|
stateMutability: "view",
|
|
332
|
-
type: "function",
|
|
333
333
|
},
|
|
334
334
|
{
|
|
335
|
-
|
|
335
|
+
type: "function",
|
|
336
336
|
name: "TD_CONTRIBUTOR_IS_NOT_REGISTERED",
|
|
337
|
+
inputs: [],
|
|
337
338
|
outputs: [
|
|
338
339
|
{
|
|
339
|
-
internalType: "string",
|
|
340
340
|
name: "",
|
|
341
341
|
type: "string",
|
|
342
|
+
internalType: "string",
|
|
342
343
|
},
|
|
343
344
|
],
|
|
344
345
|
stateMutability: "view",
|
|
345
|
-
type: "function",
|
|
346
346
|
},
|
|
347
347
|
{
|
|
348
|
-
|
|
348
|
+
type: "function",
|
|
349
349
|
name: "TD_INCORRECT_WEIGHTS",
|
|
350
|
+
inputs: [],
|
|
350
351
|
outputs: [
|
|
351
352
|
{
|
|
352
|
-
internalType: "string",
|
|
353
353
|
name: "",
|
|
354
354
|
type: "string",
|
|
355
|
+
internalType: "string",
|
|
355
356
|
},
|
|
356
357
|
],
|
|
357
358
|
stateMutability: "view",
|
|
358
|
-
type: "function",
|
|
359
359
|
},
|
|
360
360
|
{
|
|
361
|
-
|
|
361
|
+
type: "function",
|
|
362
362
|
name: "TD_NON_ZERO_BALANCE_AFTER_DISTRIBUTION",
|
|
363
|
+
inputs: [],
|
|
363
364
|
outputs: [
|
|
364
365
|
{
|
|
365
|
-
internalType: "string",
|
|
366
366
|
name: "",
|
|
367
367
|
type: "string",
|
|
368
|
+
internalType: "string",
|
|
368
369
|
},
|
|
369
370
|
],
|
|
370
371
|
stateMutability: "view",
|
|
371
|
-
type: "function",
|
|
372
372
|
},
|
|
373
373
|
{
|
|
374
|
-
|
|
374
|
+
type: "function",
|
|
375
375
|
name: "TD_WALLET_IS_ALREADY_CONNECTED_TO_VC",
|
|
376
|
+
inputs: [],
|
|
376
377
|
outputs: [
|
|
377
378
|
{
|
|
378
|
-
internalType: "string",
|
|
379
379
|
name: "",
|
|
380
380
|
type: "string",
|
|
381
|
+
internalType: "string",
|
|
381
382
|
},
|
|
382
383
|
],
|
|
383
384
|
stateMutability: "view",
|
|
384
|
-
type: "function",
|
|
385
385
|
},
|
|
386
386
|
{
|
|
387
|
-
|
|
387
|
+
type: "function",
|
|
388
388
|
name: "WG_DESTINATION_IS_NOT_WETH_COMPATIBLE",
|
|
389
|
+
inputs: [],
|
|
389
390
|
outputs: [
|
|
390
391
|
{
|
|
391
|
-
internalType: "string",
|
|
392
392
|
name: "",
|
|
393
393
|
type: "string",
|
|
394
|
+
internalType: "string",
|
|
394
395
|
},
|
|
395
396
|
],
|
|
396
397
|
stateMutability: "view",
|
|
397
|
-
type: "function",
|
|
398
398
|
},
|
|
399
399
|
{
|
|
400
|
-
|
|
400
|
+
type: "function",
|
|
401
401
|
name: "WG_NOT_ENOUGH_FUNDS",
|
|
402
|
+
inputs: [],
|
|
402
403
|
outputs: [
|
|
403
404
|
{
|
|
404
|
-
internalType: "string",
|
|
405
405
|
name: "",
|
|
406
406
|
type: "string",
|
|
407
|
+
internalType: "string",
|
|
407
408
|
},
|
|
408
409
|
],
|
|
409
410
|
stateMutability: "view",
|
|
410
|
-
type: "function",
|
|
411
411
|
},
|
|
412
412
|
{
|
|
413
|
-
|
|
413
|
+
type: "function",
|
|
414
414
|
name: "WG_RECEIVE_IS_NOT_ALLOWED",
|
|
415
|
+
inputs: [],
|
|
415
416
|
outputs: [
|
|
416
417
|
{
|
|
417
|
-
internalType: "string",
|
|
418
418
|
name: "",
|
|
419
419
|
type: "string",
|
|
420
|
+
internalType: "string",
|
|
420
421
|
},
|
|
421
422
|
],
|
|
422
423
|
stateMutability: "view",
|
|
423
|
-
type: "function",
|
|
424
424
|
},
|
|
425
425
|
{
|
|
426
|
-
|
|
426
|
+
type: "function",
|
|
427
427
|
name: "ZERO_ADDRESS_IS_NOT_ALLOWED",
|
|
428
|
+
inputs: [],
|
|
428
429
|
outputs: [
|
|
429
430
|
{
|
|
430
|
-
internalType: "string",
|
|
431
431
|
name: "",
|
|
432
432
|
type: "string",
|
|
433
|
+
internalType: "string",
|
|
433
434
|
},
|
|
434
435
|
],
|
|
435
436
|
stateMutability: "view",
|
|
436
|
-
type: "function",
|
|
437
437
|
},
|
|
438
438
|
];
|
|
439
439
|
const _bytecode = "0x610a8e61003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106102155760003560e01c806387f88ef411610134578063bdcb2576116100c7578063de63cd4011610096578063ebbd977f1161007b578063ebbd977f14610938578063fe32e65d14610974578063ff2a04e3146109b057600080fd5b8063de63cd40146108c0578063e7f3be0c146108fc57600080fd5b8063bdcb2576146107d0578063beea5ec21461080c578063ccbf927814610848578063d1a65a381461088457600080fd5b8063a988ac6011610103578063a988ac60146106e0578063abc3d2541461071c578063ac75713914610758578063b563b3001461079457600080fd5b806387f88ef4146105f057806394391a4a1461062c57806399a98c9914610668578063a27c0370146106a457600080fd5b80633647c9f9116101ac57806343f6e4ab1161017b57806343f6e4ab14610500578063447d8e421461053c578063532789111461057857806376d9ebb8146105b457600080fd5b80633647c9f9146104105780633df46fe51461044c5780633f3153b2146104885780634349e3d8146104c457600080fd5b80630f5ee482116101e85780630f5ee48214610320578063119427c51461035c5780632357f3621461039857806328432c22146103d457600080fd5b8063029d23441461021a5780630a2b1d3a1461026c5780630afeee97146102a85780630c9409e7146102e4575b600080fd5b6102566040518060400160405280600281526020017f4d3100000000000000000000000000000000000000000000000000000000000081525081565b60405161026391906109ec565b60405180910390f35b6102566040518060400160405280600381526020017f435231000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f525000000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f414631000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f4d3200000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505332000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f434132000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505333000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f574731000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f504c00000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f5a3000000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f4d3300000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f4e4900000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f574732000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f544431000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505330000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f414632000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f435000000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f435232000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505331000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600481526020017f41434c310000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f544433000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f414633000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f544434000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f495000000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f574733000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f505334000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f414634000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f415031000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600281526020017f435200000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600481526020017f41434c320000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f544432000000000000000000000000000000000000000000000000000000000081525081565b6102566040518060400160405280600381526020017f434131000000000000000000000000000000000000000000000000000000000081525081565b600060208083528351808285015260005b81811015610a19578581018301518582016040015282016109fd565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f830116850101925050509291505056fea2646970667358221220e2e63073553c1bd2f25826276818268716ff6f417c7403be26db1261c98d1fe564736f6c63430008110033";
|
|
@@ -15,17 +15,17 @@ export declare class FarmAccounting__factory extends ContractFactory {
|
|
|
15
15
|
connect(signer: Signer): FarmAccounting__factory;
|
|
16
16
|
static readonly bytecode = "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212208a341149f7b9d5a73c18204c09ef25592fa4a244d87bfcb9ffc9ec06fffa114664736f6c63430008110033";
|
|
17
17
|
static readonly abi: readonly [{
|
|
18
|
-
readonly inputs: readonly [];
|
|
19
|
-
readonly name: "AmountTooLarge";
|
|
20
18
|
readonly type: "error";
|
|
21
|
-
|
|
19
|
+
readonly name: "AmountTooLarge";
|
|
22
20
|
readonly inputs: readonly [];
|
|
23
|
-
readonly name: "DurationTooLarge";
|
|
24
|
-
readonly type: "error";
|
|
25
21
|
}, {
|
|
22
|
+
readonly type: "error";
|
|
23
|
+
readonly name: "DurationTooLarge";
|
|
26
24
|
readonly inputs: readonly [];
|
|
27
|
-
|
|
25
|
+
}, {
|
|
28
26
|
readonly type: "error";
|
|
27
|
+
readonly name: "ZeroDuration";
|
|
28
|
+
readonly inputs: readonly [];
|
|
29
29
|
}];
|
|
30
30
|
static createInterface(): FarmAccountingInterface;
|
|
31
31
|
static connect(address: string, signerOrProvider: Signer | Provider): FarmAccounting;
|
|
@@ -7,19 +7,19 @@ exports.FarmAccounting__factory = void 0;
|
|
|
7
7
|
const ethers_1 = require("ethers");
|
|
8
8
|
const _abi = [
|
|
9
9
|
{
|
|
10
|
-
inputs: [],
|
|
11
|
-
name: "AmountTooLarge",
|
|
12
10
|
type: "error",
|
|
11
|
+
name: "AmountTooLarge",
|
|
12
|
+
inputs: [],
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
|
-
inputs: [],
|
|
16
|
-
name: "DurationTooLarge",
|
|
17
15
|
type: "error",
|
|
16
|
+
name: "DurationTooLarge",
|
|
17
|
+
inputs: [],
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
|
-
inputs: [],
|
|
21
|
-
name: "ZeroDuration",
|
|
22
20
|
type: "error",
|
|
21
|
+
name: "ZeroDuration",
|
|
22
|
+
inputs: [],
|
|
23
23
|
},
|
|
24
24
|
];
|
|
25
25
|
const _bytecode = "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212208a341149f7b9d5a73c18204c09ef25592fa4a244d87bfcb9ffc9ec06fffa114664736f6c63430008110033";
|