@gearbox-protocol/sdk 3.0.0-next.102 → 3.0.0-next.104
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/core/creditManager.d.ts +1 -0
- package/lib/core/creditManager.js +5 -0
- package/lib/core/strategy.d.ts +5 -7
- package/lib/core/strategy.js +4 -6
- package/lib/index.d.ts +1 -3
- package/lib/index.js +1 -3
- package/lib/parsers/ERC20Parser.js +1 -1
- package/lib/parsers/aaveV2LendingPoolAdapterParser.d.ts +7 -0
- package/lib/parsers/aaveV2LendingPoolAdapterParser.js +21 -0
- package/lib/parsers/aaveV2WrappedATokenAdapterParser.d.ts +7 -0
- package/lib/parsers/aaveV2WrappedATokenAdapterParser.js +21 -0
- package/lib/parsers/abstractParser.d.ts +7 -5
- package/lib/parsers/abstractParser.js +3 -0
- package/lib/parsers/addressProviderParser.js +1 -1
- package/lib/parsers/balancerV2VaultParser.d.ts +7 -0
- package/lib/parsers/balancerV2VaultParser.js +34 -0
- package/lib/parsers/compoundV2CTokenAdapterParser.d.ts +7 -0
- package/lib/parsers/compoundV2CTokenAdapterParser.js +21 -0
- package/lib/parsers/convexBaseRewardPoolAdapterParser.js +1 -1
- package/lib/parsers/convexBoosterAdapterParser.js +1 -1
- package/lib/parsers/convextRewardPoolParser.js +1 -1
- package/lib/parsers/creditFacadeParser.js +1 -1
- package/lib/parsers/creditManagerParser.js +1 -1
- package/lib/parsers/curveAdapterParser.js +1 -1
- package/lib/parsers/erc626AdapterParser.d.ts +7 -0
- package/lib/parsers/erc626AdapterParser.js +21 -0
- package/lib/parsers/lidoAdapterParser.js +1 -1
- package/lib/parsers/lidoSTETHParser.js +1 -1
- package/lib/parsers/poolParser.js +1 -1
- package/lib/parsers/priceOracleParser.js +1 -1
- package/lib/parsers/txParser.d.ts +17 -11
- package/lib/parsers/txParser.js +36 -5
- package/lib/parsers/uniV2AdapterParser.js +1 -1
- package/lib/parsers/uniV3AdapterParser.js +1 -1
- package/lib/parsers/wstETHAdapterParser.js +1 -1
- package/lib/parsers/yearnV2AdapterParser.js +1 -1
- package/lib/pathfinder/index.d.ts +4 -0
- package/lib/pathfinder/index.js +20 -0
- package/lib/pathfinder/utils.d.ts +35 -0
- package/lib/pathfinder/utils.js +182 -0
- package/lib/types/contracts/index.d.ts +2 -0
- package/lib/types/contracts/interfaces/IGasPricer.d.ts +44 -0
- package/lib/types/contracts/interfaces/IGasPricer.js +2 -0
- package/lib/types/contracts/interfaces/index.d.ts +1 -0
- package/lib/types/contracts/interfaces/index.js +2 -0
- package/lib/types/factories/AddressProvider__factory.d.ts +111 -111
- package/lib/types/factories/AddressProvider__factory.js +119 -119
- package/lib/types/factories/Balances.sol/BalanceOps__factory.d.ts +3 -3
- package/lib/types/factories/Balances.sol/BalanceOps__factory.js +3 -3
- package/lib/types/factories/CalldataExtractor__factory.d.ts +34 -34
- package/lib/types/factories/CalldataExtractor__factory.js +37 -37
- package/lib/types/factories/Claimable__factory.d.ts +28 -28
- package/lib/types/factories/Claimable__factory.js +32 -32
- package/lib/types/factories/ERC20__factory.d.ts +89 -89
- package/lib/types/factories/ERC20__factory.js +99 -99
- package/lib/types/factories/Errors__factory.d.ts +99 -99
- package/lib/types/factories/Errors__factory.js +99 -99
- package/lib/types/factories/FarmAccounting__factory.d.ts +6 -6
- package/lib/types/factories/FarmAccounting__factory.js +6 -6
- package/lib/types/factories/IAaveV2_LendingPoolAdapter__factory.d.ts +42 -42
- package/lib/types/factories/IAaveV2_LendingPoolAdapter__factory.js +42 -42
- package/lib/types/factories/IAaveV2_WrappedATokenAdapter__factory.d.ts +70 -70
- package/lib/types/factories/IAaveV2_WrappedATokenAdapter__factory.js +70 -70
- package/lib/types/factories/IAdapter__factory.d.ts +15 -15
- package/lib/types/factories/IAdapter__factory.js +15 -15
- package/lib/types/factories/IAddressProvider.sol/IAddressProviderEvents__factory.d.ts +7 -7
- package/lib/types/factories/IAddressProvider.sol/IAddressProviderEvents__factory.js +7 -7
- package/lib/types/factories/IAddressProvider.sol/IAddressProvider__factory.d.ts +48 -48
- package/lib/types/factories/IAddressProvider.sol/IAddressProvider__factory.js +52 -52
- package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3Events__factory.d.ts +9 -9
- package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3Events__factory.js +9 -9
- package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3__factory.d.ts +37 -37
- package/lib/types/factories/IAddressProviderV3.sol/IAddressProviderV3__factory.js +42 -42
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributorEvents__factory.d.ts +25 -25
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributorEvents__factory.js +25 -25
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributor__factory.d.ts +71 -71
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributor__factory.js +85 -85
- package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2VaultGetters__factory.d.ts +19 -19
- package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2VaultGetters__factory.js +19 -19
- package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2Vault__factory.d.ts +106 -106
- package/lib/types/factories/IBalancerV2Vault.sol/IBalancerV2Vault__factory.js +106 -106
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents__factory.d.ts +7 -7
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterEvents__factory.js +7 -7
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions__factory.d.ts +2 -2
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions__factory.js +2 -2
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter__factory.d.ts +161 -161
- package/lib/types/factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapter__factory.js +166 -166
- package/lib/types/factories/IBaseRewardPool__factory.d.ts +114 -114
- package/lib/types/factories/IBaseRewardPool__factory.js +114 -114
- package/lib/types/factories/IBotListV3.sol/IBotListV3Events__factory.d.ts +38 -38
- package/lib/types/factories/IBotListV3.sol/IBotListV3Events__factory.js +43 -43
- package/lib/types/factories/IBotListV3.sol/IBotListV3__factory.d.ts +152 -152
- package/lib/types/factories/IBotListV3.sol/IBotListV3__factory.js +170 -170
- package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter__factory.d.ts +60 -60
- package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter__factory.js +63 -63
- package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions__factory.d.ts +3 -3
- package/lib/types/factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions__factory.js +3 -3
- package/lib/types/factories/IContractsRegister.sol/IContractsRegisterEvents__factory.d.ts +10 -10
- package/lib/types/factories/IContractsRegister.sol/IContractsRegisterEvents__factory.js +10 -10
- package/lib/types/factories/IContractsRegister.sol/IContractsRegister__factory.d.ts +51 -51
- package/lib/types/factories/IContractsRegister.sol/IContractsRegister__factory.js +57 -57
- package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3Events__factory.d.ts +30 -30
- package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3Events__factory.js +30 -30
- package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3__factory.d.ts +165 -165
- package/lib/types/factories/IControllerTimelockV3.sol/IControllerTimelockV3__factory.js +182 -182
- package/lib/types/factories/IConvexToken__factory.d.ts +86 -86
- package/lib/types/factories/IConvexToken__factory.js +96 -96
- package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.d.ts +80 -80
- package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.js +80 -80
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents__factory.d.ts +7 -7
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents__factory.js +7 -7
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory.d.ts +62 -62
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory.js +66 -66
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Events__factory.d.ts +121 -121
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Events__factory.js +127 -127
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Exceptions__factory.d.ts +18 -18
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2Exceptions__factory.js +18 -18
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2__factory.d.ts +376 -376
- package/lib/types/factories/ICreditConfiguratorV2.sol/ICreditConfiguratorV2__factory.js +417 -417
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events__factory.d.ts +118 -118
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events__factory.js +127 -127
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3__factory.d.ts +395 -395
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3__factory.js +420 -420
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Events__factory.d.ts +107 -107
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Events__factory.js +118 -118
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Exceptions__factory.d.ts +65 -65
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Exceptions__factory.js +65 -65
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Extended__factory.d.ts +23 -23
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Extended__factory.js +23 -23
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2V2__factory.d.ts +5 -5
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2V2__factory.js +5 -5
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2__factory.d.ts +601 -601
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2__factory.js +749 -749
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.d.ts +72 -72
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.js +80 -80
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.d.ts +288 -288
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.js +397 -397
- package/lib/types/factories/ICreditFacadeV3Multicall__factory.d.ts +59 -59
- package/lib/types/factories/ICreditFacadeV3Multicall__factory.js +59 -59
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Events__factory.d.ts +11 -11
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Events__factory.js +12 -12
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Exceptions__factory.d.ts +26 -26
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2Exceptions__factory.js +26 -26
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2__factory.d.ts +252 -252
- package/lib/types/factories/ICreditManagerV2.sol/ICreditManagerV2__factory.js +272 -272
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3Events__factory.d.ts +5 -5
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3Events__factory.js +5 -5
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.d.ts +294 -294
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.js +297 -297
- package/lib/types/factories/ICurvePool_2.sol/ICurvePool2Assets__factory.d.ts +191 -191
- package/lib/types/factories/ICurvePool_2.sol/ICurvePool2Assets__factory.js +191 -191
- package/lib/types/factories/ICurvePool_3.sol/ICurvePool3Assets__factory.d.ts +191 -191
- package/lib/types/factories/ICurvePool_3.sol/ICurvePool3Assets__factory.js +191 -191
- package/lib/types/factories/ICurvePool_4.sol/ICurvePool4Assets__factory.d.ts +191 -191
- package/lib/types/factories/ICurvePool_4.sol/ICurvePool4Assets__factory.js +191 -191
- package/lib/types/factories/ICurvePool__factory.d.ts +159 -159
- package/lib/types/factories/ICurvePool__factory.js +159 -159
- package/lib/types/factories/ICurveV1Adapter__factory.d.ts +169 -169
- package/lib/types/factories/ICurveV1Adapter__factory.js +169 -169
- package/lib/types/factories/ICurveV1_2AssetsAdapter__factory.d.ts +187 -187
- package/lib/types/factories/ICurveV1_2AssetsAdapter__factory.js +187 -187
- package/lib/types/factories/ICurveV1_3AssetsAdapter__factory.d.ts +187 -187
- package/lib/types/factories/ICurveV1_3AssetsAdapter__factory.js +187 -187
- package/lib/types/factories/ICurveV1_4AssetsAdapter__factory.d.ts +187 -187
- package/lib/types/factories/ICurveV1_4AssetsAdapter__factory.js +187 -187
- package/lib/types/factories/IDaiLikePermit__factory.d.ts +10 -10
- package/lib/types/factories/IDaiLikePermit__factory.js +10 -10
- package/lib/types/factories/IDataCompressorV2_10__factory.d.ts +334 -334
- package/lib/types/factories/IDataCompressorV2_10__factory.js +334 -334
- package/lib/types/factories/IDataCompressorV3_00__factory.d.ts +454 -454
- package/lib/types/factories/IDataCompressorV3_00__factory.js +454 -454
- package/lib/types/factories/IDegenDistributor.sol/IDegenDistributorEvents__factory.d.ts +14 -14
- package/lib/types/factories/IDegenDistributor.sol/IDegenDistributorEvents__factory.js +14 -14
- package/lib/types/factories/IDegenDistributor.sol/IDegenDistributor__factory.d.ts +43 -43
- package/lib/types/factories/IDegenDistributor.sol/IDegenDistributor__factory.js +51 -51
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Events__factory.d.ts +15 -15
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Events__factory.js +15 -15
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Exceptions__factory.d.ts +8 -8
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2Exceptions__factory.js +8 -8
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2__factory.d.ts +180 -180
- package/lib/types/factories/IDegenNFTV2.sol/IDegenNFTV2__factory.js +208 -208
- package/lib/types/factories/IERC165__factory.d.ts +4 -4
- package/lib/types/factories/IERC165__factory.js +4 -4
- package/lib/types/factories/IERC20Metadata__factory.d.ts +76 -76
- package/lib/types/factories/IERC20Metadata__factory.js +86 -86
- package/lib/types/factories/IERC20Permit__factory.d.ts +16 -16
- package/lib/types/factories/IERC20Permit__factory.js +16 -16
- package/lib/types/factories/IERC20ZapperDeposits__factory.d.ts +30 -30
- package/lib/types/factories/IERC20ZapperDeposits__factory.js +30 -30
- package/lib/types/factories/IERC20__factory.d.ts +67 -67
- package/lib/types/factories/IERC20__factory.js +77 -77
- package/lib/types/factories/IERC4626Adapter__factory.d.ts +60 -60
- package/lib/types/factories/IERC4626Adapter__factory.js +60 -60
- package/lib/types/factories/IERC4626__factory.d.ts +198 -198
- package/lib/types/factories/IERC4626__factory.js +221 -221
- package/lib/types/factories/IERC721Metadata__factory.d.ts +114 -114
- package/lib/types/factories/IERC721Metadata__factory.js +129 -129
- package/lib/types/factories/IERC721__factory.d.ts +104 -104
- package/lib/types/factories/IERC721__factory.js +119 -119
- package/lib/types/factories/IETHZapperDeposits__factory.d.ts +9 -9
- package/lib/types/factories/IETHZapperDeposits__factory.js +9 -9
- package/lib/types/factories/IFarmingPool__factory.d.ts +134 -134
- package/lib/types/factories/IFarmingPool__factory.js +152 -152
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3Events__factory.d.ts +46 -46
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3Events__factory.js +50 -50
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3__factory.d.ts +172 -172
- package/lib/types/factories/IGaugeV3.sol/IGaugeV3__factory.js +200 -200
- package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3Events__factory.d.ts +48 -48
- package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3Events__factory.js +49 -49
- package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3__factory.d.ts +225 -225
- package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3__factory.js +253 -253
- package/lib/types/factories/IInterestRateModel__factory.d.ts +8 -8
- package/lib/types/factories/IInterestRateModel__factory.js +8 -8
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedEvents__factory.d.ts +11 -11
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedEvents__factory.js +12 -12
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory.d.ts +10 -10
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory.js +10 -10
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeed__factory.d.ts +107 -107
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeed__factory.js +119 -119
- package/lib/types/factories/ILidoV1Adapter__factory.d.ts +40 -40
- package/lib/types/factories/ILidoV1Adapter__factory.js +40 -40
- package/lib/types/factories/ILinearInterestRateModelV3__factory.d.ts +25 -25
- package/lib/types/factories/ILinearInterestRateModelV3__factory.js +25 -25
- package/lib/types/factories/IOffchainOracle__factory.d.ts +11 -11
- package/lib/types/factories/IOffchainOracle__factory.js +11 -11
- package/lib/types/factories/IPermit2__factory.d.ts +33 -33
- package/lib/types/factories/IPermit2__factory.js +33 -33
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events__factory.d.ts +44 -44
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3Events__factory.js +45 -45
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3__factory.d.ts +190 -190
- package/lib/types/factories/IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3__factory.js +216 -216
- package/lib/types/factories/IPoolService.sol/IPoolServiceEvents__factory.d.ts +66 -66
- package/lib/types/factories/IPoolService.sol/IPoolServiceEvents__factory.js +72 -72
- package/lib/types/factories/IPoolService.sol/IPoolService__factory.d.ts +235 -235
- package/lib/types/factories/IPoolService.sol/IPoolService__factory.js +286 -286
- package/lib/types/factories/IPoolV3.sol/IPoolV3Events__factory.d.ts +65 -65
- package/lib/types/factories/IPoolV3.sol/IPoolV3Events__factory.js +68 -68
- package/lib/types/factories/IPoolV3.sol/IPoolV3__factory.d.ts +574 -574
- package/lib/types/factories/IPoolV3.sol/IPoolV3__factory.js +696 -696
- package/lib/types/factories/IPriceFeed.sol/IPriceFeed__factory.d.ts +22 -22
- package/lib/types/factories/IPriceFeed.sol/IPriceFeed__factory.js +22 -22
- package/lib/types/factories/IPriceFeed.sol/IUpdatablePriceFeed__factory.d.ts +28 -28
- package/lib/types/factories/IPriceFeed.sol/IUpdatablePriceFeed__factory.js +28 -28
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Events__factory.d.ts +6 -6
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Events__factory.js +7 -7
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.d.ts +6 -6
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.js +6 -6
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Ext__factory.d.ts +71 -71
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Ext__factory.js +78 -78
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2__factory.d.ts +68 -68
- package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2__factory.js +75 -75
- package/lib/types/factories/IPriceOracleBase__factory.d.ts +27 -27
- package/lib/types/factories/IPriceOracleBase__factory.js +27 -27
- package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory.d.ts +28 -28
- package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory.js +31 -31
- package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3__factory.d.ts +139 -139
- package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3__factory.js +156 -156
- package/lib/types/factories/IRouterV3__factory.d.ts +178 -178
- package/lib/types/factories/IRouterV3__factory.js +191 -191
- package/lib/types/factories/IRouter__factory.d.ts +159 -159
- package/lib/types/factories/IRouter__factory.js +172 -172
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterEvents__factory.d.ts +8 -8
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterEvents__factory.js +9 -9
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions__factory.d.ts +2 -2
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions__factory.js +2 -2
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.d.ts +78 -78
- package/lib/types/factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.js +84 -84
- package/lib/types/factories/IUniswapV3.sol/ISwapRouter__factory.d.ts +50 -50
- package/lib/types/factories/IUniswapV3.sol/ISwapRouter__factory.js +50 -50
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterEvents__factory.d.ts +10 -10
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterEvents__factory.js +11 -11
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterExceptions__factory.d.ts +2 -2
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3AdapterExceptions__factory.js +2 -2
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.d.ts +138 -138
- package/lib/types/factories/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.js +145 -145
- package/lib/types/factories/IVersion__factory.d.ts +3 -3
- package/lib/types/factories/IVersion__factory.js +3 -3
- package/lib/types/factories/IVotingContractV3__factory.d.ts +10 -10
- package/lib/types/factories/IVotingContractV3__factory.js +10 -10
- package/lib/types/factories/IWETHGateway__factory.d.ts +14 -14
- package/lib/types/factories/IWETHGateway__factory.js +14 -14
- package/lib/types/factories/IWETH__factory.d.ts +102 -102
- package/lib/types/factories/IWETH__factory.js +120 -120
- package/lib/types/factories/IYVault__factory.d.ts +112 -112
- package/lib/types/factories/IYVault__factory.js +122 -122
- package/lib/types/factories/IYearnV2Adapter__factory.d.ts +63 -63
- package/lib/types/factories/IYearnV2Adapter__factory.js +63 -63
- package/lib/types/factories/IZapperRegister__factory.d.ts +20 -20
- package/lib/types/factories/IZapperRegister__factory.js +22 -22
- package/lib/types/factories/IZapper__factory.d.ts +34 -34
- package/lib/types/factories/IZapper__factory.js +34 -34
- package/lib/types/factories/IstETH.sol/IstETHGetters__factory.d.ts +97 -97
- package/lib/types/factories/IstETH.sol/IstETHGetters__factory.js +107 -107
- package/lib/types/factories/IstETH.sol/IstETH__factory.d.ts +101 -101
- package/lib/types/factories/IstETH.sol/IstETH__factory.js +111 -111
- package/lib/types/factories/IwstETH.sol/IwstETHGetters__factory.d.ts +93 -93
- package/lib/types/factories/IwstETH.sol/IwstETHGetters__factory.js +103 -103
- package/lib/types/factories/IwstETH.sol/IwstETH__factory.d.ts +101 -101
- package/lib/types/factories/IwstETH.sol/IwstETH__factory.js +111 -111
- package/lib/types/factories/IwstETHGateway.sol/IwstETHGateWay__factory.d.ts +14 -14
- package/lib/types/factories/IwstETHGateway.sol/IwstETHGateWay__factory.js +15 -15
- package/lib/types/factories/IwstETHV1Adapter__factory.d.ts +44 -44
- package/lib/types/factories/IwstETHV1Adapter__factory.js +44 -44
- package/lib/types/factories/NumericArrayLib__factory.d.ts +2 -2
- package/lib/types/factories/NumericArrayLib__factory.js +2 -2
- package/lib/types/factories/Ownable__factory.d.ts +23 -23
- package/lib/types/factories/Ownable__factory.js +27 -27
- package/lib/types/factories/RedstoneConstants__factory.d.ts +19 -19
- package/lib/types/factories/RedstoneConstants__factory.js +19 -19
- package/lib/types/factories/RedstoneConsumerBase__factory.d.ts +101 -101
- package/lib/types/factories/RedstoneConsumerBase__factory.js +123 -123
- package/lib/types/factories/RedstoneConsumerNumericBase__factory.d.ts +101 -101
- package/lib/types/factories/RedstoneConsumerNumericBase__factory.js +123 -123
- package/lib/types/factories/RedstoneDefaultsLib__factory.d.ts +8 -8
- package/lib/types/factories/RedstoneDefaultsLib__factory.js +8 -8
- package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedEvents__factory.d.ts +5 -5
- package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedEvents__factory.js +5 -5
- package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions__factory.d.ts +10 -10
- package/lib/types/factories/RedstonePriceFeed.sol/IRedstonePriceFeedExceptions__factory.js +10 -10
- package/lib/types/factories/RedstonePriceFeed.sol/RedstonePriceFeed__factory.d.ts +193 -193
- package/lib/types/factories/RedstonePriceFeed.sol/RedstonePriceFeed__factory.js +220 -220
- package/lib/types/factories/SafeERC20__factory.d.ts +14 -14
- package/lib/types/factories/SafeERC20__factory.js +14 -14
- package/lib/types/factories/contracts/index.d.ts +1 -0
- package/lib/types/factories/contracts/index.js +30 -0
- package/lib/types/factories/contracts/interfaces/IGasPricer__factory.d.ts +22 -0
- package/lib/types/factories/contracts/interfaces/index.d.ts +1 -0
- package/lib/types/factories/contracts/interfaces/index.js +8 -0
- package/lib/types/factories/index.d.ts +2 -1
- package/lib/types/factories/index.js +4 -4
- package/lib/types/factories/{IGasPricer__factory.d.ts → interfaces/IGasPricer__factory.d.ts} +5 -5
- package/lib/types/factories/interfaces/IGasPricer__factory.js +38 -0
- package/lib/types/factories/interfaces/index.d.ts +1 -0
- package/lib/types/factories/interfaces/index.js +8 -0
- package/lib/types/index.d.ts +18 -14
- package/lib/types/index.js +25 -25
- package/lib/types/{IGasPricer.d.ts → interfaces/IGasPricer.d.ts} +1 -1
- package/lib/types/interfaces/IGasPricer.js +2 -0
- package/lib/types/interfaces/index.d.ts +1 -0
- package/lib/types/interfaces/index.js +2 -0
- package/package.json +4 -4
- package/lib/types/{IGasPricer.js → contracts/index.js} +0 -0
- package/lib/types/factories/{IGasPricer__factory.js → contracts/interfaces/IGasPricer__factory.js} +4 -4
|
@@ -3,1065 +3,1065 @@ import type { Provider } from "@ethersproject/providers";
|
|
|
3
3
|
import type { IPoolV3, IPoolV3Interface } from "../../IPoolV3.sol/IPoolV3";
|
|
4
4
|
export declare class IPoolV3__factory {
|
|
5
5
|
static readonly abi: readonly [{
|
|
6
|
-
readonly
|
|
7
|
-
readonly
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
readonly name: "
|
|
6
|
+
readonly type: "function";
|
|
7
|
+
readonly name: "DOMAIN_SEPARATOR";
|
|
8
|
+
readonly inputs: readonly [];
|
|
9
|
+
readonly outputs: readonly [{
|
|
10
|
+
readonly name: "";
|
|
11
|
+
readonly type: "bytes32";
|
|
12
|
+
readonly internalType: "bytes32";
|
|
13
|
+
}];
|
|
14
|
+
readonly stateMutability: "view";
|
|
15
|
+
}, {
|
|
16
|
+
readonly type: "function";
|
|
17
|
+
readonly name: "addressProvider";
|
|
18
|
+
readonly inputs: readonly [];
|
|
19
|
+
readonly outputs: readonly [{
|
|
20
|
+
readonly name: "";
|
|
11
21
|
readonly type: "address";
|
|
22
|
+
readonly internalType: "address";
|
|
12
23
|
}];
|
|
13
|
-
readonly
|
|
14
|
-
readonly type: "event";
|
|
24
|
+
readonly stateMutability: "view";
|
|
15
25
|
}, {
|
|
16
|
-
readonly
|
|
26
|
+
readonly type: "function";
|
|
27
|
+
readonly name: "allowance";
|
|
17
28
|
readonly inputs: readonly [{
|
|
18
|
-
readonly indexed: true;
|
|
19
|
-
readonly internalType: "address";
|
|
20
29
|
readonly name: "owner";
|
|
21
30
|
readonly type: "address";
|
|
22
|
-
}, {
|
|
23
|
-
readonly indexed: true;
|
|
24
31
|
readonly internalType: "address";
|
|
32
|
+
}, {
|
|
25
33
|
readonly name: "spender";
|
|
26
34
|
readonly type: "address";
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
readonly name: "
|
|
35
|
+
readonly internalType: "address";
|
|
36
|
+
}];
|
|
37
|
+
readonly outputs: readonly [{
|
|
38
|
+
readonly name: "";
|
|
31
39
|
readonly type: "uint256";
|
|
40
|
+
readonly internalType: "uint256";
|
|
32
41
|
}];
|
|
33
|
-
readonly
|
|
34
|
-
readonly type: "event";
|
|
42
|
+
readonly stateMutability: "view";
|
|
35
43
|
}, {
|
|
36
|
-
readonly
|
|
44
|
+
readonly type: "function";
|
|
45
|
+
readonly name: "approve";
|
|
37
46
|
readonly inputs: readonly [{
|
|
38
|
-
readonly
|
|
39
|
-
readonly internalType: "address";
|
|
40
|
-
readonly name: "creditManager";
|
|
47
|
+
readonly name: "spender";
|
|
41
48
|
readonly type: "address";
|
|
42
|
-
}, {
|
|
43
|
-
readonly indexed: true;
|
|
44
49
|
readonly internalType: "address";
|
|
45
|
-
readonly name: "creditAccount";
|
|
46
|
-
readonly type: "address";
|
|
47
50
|
}, {
|
|
48
|
-
readonly indexed: false;
|
|
49
|
-
readonly internalType: "uint256";
|
|
50
51
|
readonly name: "amount";
|
|
51
52
|
readonly type: "uint256";
|
|
53
|
+
readonly internalType: "uint256";
|
|
52
54
|
}];
|
|
53
|
-
readonly
|
|
54
|
-
|
|
55
|
+
readonly outputs: readonly [{
|
|
56
|
+
readonly name: "";
|
|
57
|
+
readonly type: "bool";
|
|
58
|
+
readonly internalType: "bool";
|
|
59
|
+
}];
|
|
60
|
+
readonly stateMutability: "nonpayable";
|
|
55
61
|
}, {
|
|
56
|
-
readonly
|
|
57
|
-
readonly
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
readonly name: "
|
|
62
|
+
readonly type: "function";
|
|
63
|
+
readonly name: "asset";
|
|
64
|
+
readonly inputs: readonly [];
|
|
65
|
+
readonly outputs: readonly [{
|
|
66
|
+
readonly name: "assetTokenAddress";
|
|
61
67
|
readonly type: "address";
|
|
62
|
-
}, {
|
|
63
|
-
readonly indexed: true;
|
|
64
68
|
readonly internalType: "address";
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
}];
|
|
70
|
+
readonly stateMutability: "view";
|
|
71
|
+
}, {
|
|
72
|
+
readonly type: "function";
|
|
73
|
+
readonly name: "availableLiquidity";
|
|
74
|
+
readonly inputs: readonly [];
|
|
75
|
+
readonly outputs: readonly [{
|
|
76
|
+
readonly name: "";
|
|
71
77
|
readonly type: "uint256";
|
|
72
|
-
}, {
|
|
73
|
-
readonly indexed: false;
|
|
74
78
|
readonly internalType: "uint256";
|
|
75
|
-
readonly name: "shares";
|
|
76
|
-
readonly type: "uint256";
|
|
77
79
|
}];
|
|
78
|
-
readonly
|
|
79
|
-
readonly type: "event";
|
|
80
|
+
readonly stateMutability: "view";
|
|
80
81
|
}, {
|
|
81
|
-
readonly
|
|
82
|
+
readonly type: "function";
|
|
83
|
+
readonly name: "balanceOf";
|
|
82
84
|
readonly inputs: readonly [{
|
|
83
|
-
readonly
|
|
84
|
-
readonly internalType: "address";
|
|
85
|
-
readonly name: "creditManager";
|
|
85
|
+
readonly name: "account";
|
|
86
86
|
readonly type: "address";
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
readonly name: "
|
|
87
|
+
readonly internalType: "address";
|
|
88
|
+
}];
|
|
89
|
+
readonly outputs: readonly [{
|
|
90
|
+
readonly name: "";
|
|
91
91
|
readonly type: "uint256";
|
|
92
|
+
readonly internalType: "uint256";
|
|
92
93
|
}];
|
|
93
|
-
readonly
|
|
94
|
-
readonly type: "event";
|
|
94
|
+
readonly stateMutability: "view";
|
|
95
95
|
}, {
|
|
96
|
-
readonly
|
|
97
|
-
readonly
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
readonly name: "
|
|
101
|
-
readonly type: "
|
|
102
|
-
}, {
|
|
103
|
-
readonly indexed: true;
|
|
96
|
+
readonly type: "function";
|
|
97
|
+
readonly name: "baseInterestIndex";
|
|
98
|
+
readonly inputs: readonly [];
|
|
99
|
+
readonly outputs: readonly [{
|
|
100
|
+
readonly name: "";
|
|
101
|
+
readonly type: "uint256";
|
|
104
102
|
readonly internalType: "uint256";
|
|
105
|
-
|
|
103
|
+
}];
|
|
104
|
+
readonly stateMutability: "view";
|
|
105
|
+
}, {
|
|
106
|
+
readonly type: "function";
|
|
107
|
+
readonly name: "baseInterestIndexLU";
|
|
108
|
+
readonly inputs: readonly [];
|
|
109
|
+
readonly outputs: readonly [{
|
|
110
|
+
readonly name: "";
|
|
106
111
|
readonly type: "uint256";
|
|
107
|
-
}, {
|
|
108
|
-
readonly indexed: false;
|
|
109
112
|
readonly internalType: "uint256";
|
|
110
|
-
|
|
113
|
+
}];
|
|
114
|
+
readonly stateMutability: "view";
|
|
115
|
+
}, {
|
|
116
|
+
readonly type: "function";
|
|
117
|
+
readonly name: "baseInterestRate";
|
|
118
|
+
readonly inputs: readonly [];
|
|
119
|
+
readonly outputs: readonly [{
|
|
120
|
+
readonly name: "";
|
|
111
121
|
readonly type: "uint256";
|
|
122
|
+
readonly internalType: "uint256";
|
|
112
123
|
}];
|
|
113
|
-
readonly
|
|
114
|
-
readonly type: "event";
|
|
124
|
+
readonly stateMutability: "view";
|
|
115
125
|
}, {
|
|
116
|
-
readonly
|
|
126
|
+
readonly type: "function";
|
|
127
|
+
readonly name: "convertToAssets";
|
|
117
128
|
readonly inputs: readonly [{
|
|
118
|
-
readonly
|
|
119
|
-
readonly internalType: "address";
|
|
120
|
-
readonly name: "creditManager";
|
|
121
|
-
readonly type: "address";
|
|
122
|
-
}, {
|
|
123
|
-
readonly indexed: false;
|
|
124
|
-
readonly internalType: "uint256";
|
|
125
|
-
readonly name: "borrowedAmount";
|
|
129
|
+
readonly name: "shares";
|
|
126
130
|
readonly type: "uint256";
|
|
127
|
-
}, {
|
|
128
|
-
readonly indexed: false;
|
|
129
131
|
readonly internalType: "uint256";
|
|
130
|
-
|
|
132
|
+
}];
|
|
133
|
+
readonly outputs: readonly [{
|
|
134
|
+
readonly name: "assets";
|
|
131
135
|
readonly type: "uint256";
|
|
132
|
-
}, {
|
|
133
|
-
readonly indexed: false;
|
|
134
136
|
readonly internalType: "uint256";
|
|
135
|
-
readonly name: "loss";
|
|
136
|
-
readonly type: "uint256";
|
|
137
137
|
}];
|
|
138
|
-
readonly
|
|
139
|
-
readonly type: "event";
|
|
138
|
+
readonly stateMutability: "view";
|
|
140
139
|
}, {
|
|
141
|
-
readonly
|
|
140
|
+
readonly type: "function";
|
|
141
|
+
readonly name: "convertToShares";
|
|
142
142
|
readonly inputs: readonly [{
|
|
143
|
-
readonly
|
|
144
|
-
readonly
|
|
145
|
-
readonly name: "creditManager";
|
|
146
|
-
readonly type: "address";
|
|
147
|
-
}, {
|
|
148
|
-
readonly indexed: false;
|
|
143
|
+
readonly name: "assets";
|
|
144
|
+
readonly type: "uint256";
|
|
149
145
|
readonly internalType: "uint256";
|
|
150
|
-
|
|
146
|
+
}];
|
|
147
|
+
readonly outputs: readonly [{
|
|
148
|
+
readonly name: "shares";
|
|
151
149
|
readonly type: "uint256";
|
|
150
|
+
readonly internalType: "uint256";
|
|
152
151
|
}];
|
|
153
|
-
readonly
|
|
154
|
-
readonly type: "event";
|
|
152
|
+
readonly stateMutability: "view";
|
|
155
153
|
}, {
|
|
156
|
-
readonly
|
|
154
|
+
readonly type: "function";
|
|
155
|
+
readonly name: "creditManagerBorrowable";
|
|
157
156
|
readonly inputs: readonly [{
|
|
158
|
-
readonly
|
|
159
|
-
readonly internalType: "address";
|
|
160
|
-
readonly name: "newInterestRateModel";
|
|
157
|
+
readonly name: "creditManager";
|
|
161
158
|
readonly type: "address";
|
|
162
|
-
}];
|
|
163
|
-
readonly name: "SetInterestRateModel";
|
|
164
|
-
readonly type: "event";
|
|
165
|
-
}, {
|
|
166
|
-
readonly anonymous: false;
|
|
167
|
-
readonly inputs: readonly [{
|
|
168
|
-
readonly indexed: true;
|
|
169
159
|
readonly internalType: "address";
|
|
170
|
-
readonly name: "newPoolQuotaKeeper";
|
|
171
|
-
readonly type: "address";
|
|
172
160
|
}];
|
|
173
|
-
readonly
|
|
174
|
-
|
|
175
|
-
}, {
|
|
176
|
-
readonly anonymous: false;
|
|
177
|
-
readonly inputs: readonly [{
|
|
178
|
-
readonly indexed: false;
|
|
179
|
-
readonly internalType: "uint256";
|
|
180
|
-
readonly name: "limit";
|
|
161
|
+
readonly outputs: readonly [{
|
|
162
|
+
readonly name: "borrowable";
|
|
181
163
|
readonly type: "uint256";
|
|
164
|
+
readonly internalType: "uint256";
|
|
182
165
|
}];
|
|
183
|
-
readonly
|
|
184
|
-
readonly type: "event";
|
|
166
|
+
readonly stateMutability: "view";
|
|
185
167
|
}, {
|
|
186
|
-
readonly
|
|
168
|
+
readonly type: "function";
|
|
169
|
+
readonly name: "creditManagerBorrowed";
|
|
187
170
|
readonly inputs: readonly [{
|
|
188
|
-
readonly
|
|
189
|
-
readonly
|
|
190
|
-
readonly
|
|
171
|
+
readonly name: "creditManager";
|
|
172
|
+
readonly type: "address";
|
|
173
|
+
readonly internalType: "address";
|
|
174
|
+
}];
|
|
175
|
+
readonly outputs: readonly [{
|
|
176
|
+
readonly name: "";
|
|
191
177
|
readonly type: "uint256";
|
|
178
|
+
readonly internalType: "uint256";
|
|
192
179
|
}];
|
|
193
|
-
readonly
|
|
194
|
-
readonly type: "event";
|
|
180
|
+
readonly stateMutability: "view";
|
|
195
181
|
}, {
|
|
196
|
-
readonly
|
|
182
|
+
readonly type: "function";
|
|
183
|
+
readonly name: "creditManagerDebtLimit";
|
|
197
184
|
readonly inputs: readonly [{
|
|
198
|
-
readonly
|
|
199
|
-
readonly internalType: "address";
|
|
200
|
-
readonly name: "from";
|
|
185
|
+
readonly name: "creditManager";
|
|
201
186
|
readonly type: "address";
|
|
202
|
-
}, {
|
|
203
|
-
readonly indexed: true;
|
|
204
187
|
readonly internalType: "address";
|
|
205
|
-
readonly name: "to";
|
|
206
|
-
readonly type: "address";
|
|
207
|
-
}, {
|
|
208
|
-
readonly indexed: false;
|
|
209
|
-
readonly internalType: "uint256";
|
|
210
|
-
readonly name: "value";
|
|
211
|
-
readonly type: "uint256";
|
|
212
188
|
}];
|
|
213
|
-
readonly
|
|
214
|
-
|
|
215
|
-
}, {
|
|
216
|
-
readonly anonymous: false;
|
|
217
|
-
readonly inputs: readonly [{
|
|
218
|
-
readonly indexed: true;
|
|
219
|
-
readonly internalType: "address";
|
|
220
|
-
readonly name: "sender";
|
|
221
|
-
readonly type: "address";
|
|
222
|
-
}, {
|
|
223
|
-
readonly indexed: true;
|
|
224
|
-
readonly internalType: "address";
|
|
225
|
-
readonly name: "receiver";
|
|
226
|
-
readonly type: "address";
|
|
227
|
-
}, {
|
|
228
|
-
readonly indexed: true;
|
|
229
|
-
readonly internalType: "address";
|
|
230
|
-
readonly name: "owner";
|
|
231
|
-
readonly type: "address";
|
|
232
|
-
}, {
|
|
233
|
-
readonly indexed: false;
|
|
234
|
-
readonly internalType: "uint256";
|
|
235
|
-
readonly name: "assets";
|
|
189
|
+
readonly outputs: readonly [{
|
|
190
|
+
readonly name: "";
|
|
236
191
|
readonly type: "uint256";
|
|
237
|
-
}, {
|
|
238
|
-
readonly indexed: false;
|
|
239
192
|
readonly internalType: "uint256";
|
|
240
|
-
readonly name: "shares";
|
|
241
|
-
readonly type: "uint256";
|
|
242
193
|
}];
|
|
243
|
-
readonly
|
|
244
|
-
readonly type: "event";
|
|
194
|
+
readonly stateMutability: "view";
|
|
245
195
|
}, {
|
|
196
|
+
readonly type: "function";
|
|
197
|
+
readonly name: "creditManagers";
|
|
246
198
|
readonly inputs: readonly [];
|
|
247
|
-
readonly name: "DOMAIN_SEPARATOR";
|
|
248
199
|
readonly outputs: readonly [{
|
|
249
|
-
readonly internalType: "bytes32";
|
|
250
200
|
readonly name: "";
|
|
251
|
-
readonly type: "
|
|
201
|
+
readonly type: "address[]";
|
|
202
|
+
readonly internalType: "address[]";
|
|
252
203
|
}];
|
|
253
204
|
readonly stateMutability: "view";
|
|
254
|
-
readonly type: "function";
|
|
255
205
|
}, {
|
|
206
|
+
readonly type: "function";
|
|
207
|
+
readonly name: "decimals";
|
|
256
208
|
readonly inputs: readonly [];
|
|
257
|
-
readonly name: "addressProvider";
|
|
258
209
|
readonly outputs: readonly [{
|
|
259
|
-
readonly internalType: "address";
|
|
260
210
|
readonly name: "";
|
|
261
|
-
readonly type: "
|
|
211
|
+
readonly type: "uint8";
|
|
212
|
+
readonly internalType: "uint8";
|
|
262
213
|
}];
|
|
263
214
|
readonly stateMutability: "view";
|
|
264
|
-
readonly type: "function";
|
|
265
215
|
}, {
|
|
216
|
+
readonly type: "function";
|
|
217
|
+
readonly name: "deposit";
|
|
266
218
|
readonly inputs: readonly [{
|
|
267
|
-
readonly
|
|
268
|
-
readonly
|
|
269
|
-
readonly
|
|
219
|
+
readonly name: "assets";
|
|
220
|
+
readonly type: "uint256";
|
|
221
|
+
readonly internalType: "uint256";
|
|
270
222
|
}, {
|
|
271
|
-
readonly
|
|
272
|
-
readonly name: "spender";
|
|
223
|
+
readonly name: "receiver";
|
|
273
224
|
readonly type: "address";
|
|
225
|
+
readonly internalType: "address";
|
|
274
226
|
}];
|
|
275
|
-
readonly name: "allowance";
|
|
276
227
|
readonly outputs: readonly [{
|
|
277
|
-
readonly
|
|
278
|
-
readonly name: "";
|
|
228
|
+
readonly name: "shares";
|
|
279
229
|
readonly type: "uint256";
|
|
230
|
+
readonly internalType: "uint256";
|
|
280
231
|
}];
|
|
281
|
-
readonly stateMutability: "
|
|
282
|
-
readonly type: "function";
|
|
232
|
+
readonly stateMutability: "nonpayable";
|
|
283
233
|
}, {
|
|
234
|
+
readonly type: "function";
|
|
235
|
+
readonly name: "depositWithReferral";
|
|
284
236
|
readonly inputs: readonly [{
|
|
285
|
-
readonly
|
|
286
|
-
readonly
|
|
237
|
+
readonly name: "assets";
|
|
238
|
+
readonly type: "uint256";
|
|
239
|
+
readonly internalType: "uint256";
|
|
240
|
+
}, {
|
|
241
|
+
readonly name: "receiver";
|
|
287
242
|
readonly type: "address";
|
|
243
|
+
readonly internalType: "address";
|
|
288
244
|
}, {
|
|
289
|
-
readonly
|
|
290
|
-
readonly name: "amount";
|
|
245
|
+
readonly name: "referralCode";
|
|
291
246
|
readonly type: "uint256";
|
|
247
|
+
readonly internalType: "uint256";
|
|
292
248
|
}];
|
|
293
|
-
readonly name: "approve";
|
|
294
249
|
readonly outputs: readonly [{
|
|
295
|
-
readonly
|
|
296
|
-
readonly
|
|
297
|
-
readonly
|
|
250
|
+
readonly name: "shares";
|
|
251
|
+
readonly type: "uint256";
|
|
252
|
+
readonly internalType: "uint256";
|
|
298
253
|
}];
|
|
299
254
|
readonly stateMutability: "nonpayable";
|
|
300
|
-
readonly type: "function";
|
|
301
255
|
}, {
|
|
302
|
-
readonly inputs: readonly [];
|
|
303
|
-
readonly name: "asset";
|
|
304
|
-
readonly outputs: readonly [{
|
|
305
|
-
readonly internalType: "address";
|
|
306
|
-
readonly name: "assetTokenAddress";
|
|
307
|
-
readonly type: "address";
|
|
308
|
-
}];
|
|
309
|
-
readonly stateMutability: "view";
|
|
310
256
|
readonly type: "function";
|
|
311
|
-
|
|
257
|
+
readonly name: "expectedLiquidity";
|
|
312
258
|
readonly inputs: readonly [];
|
|
313
|
-
readonly name: "availableLiquidity";
|
|
314
259
|
readonly outputs: readonly [{
|
|
315
|
-
readonly internalType: "uint256";
|
|
316
260
|
readonly name: "";
|
|
317
261
|
readonly type: "uint256";
|
|
262
|
+
readonly internalType: "uint256";
|
|
318
263
|
}];
|
|
319
264
|
readonly stateMutability: "view";
|
|
320
|
-
readonly type: "function";
|
|
321
265
|
}, {
|
|
322
|
-
readonly
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
readonly type: "address";
|
|
326
|
-
}];
|
|
327
|
-
readonly name: "balanceOf";
|
|
266
|
+
readonly type: "function";
|
|
267
|
+
readonly name: "expectedLiquidityLU";
|
|
268
|
+
readonly inputs: readonly [];
|
|
328
269
|
readonly outputs: readonly [{
|
|
329
|
-
readonly internalType: "uint256";
|
|
330
270
|
readonly name: "";
|
|
331
271
|
readonly type: "uint256";
|
|
272
|
+
readonly internalType: "uint256";
|
|
332
273
|
}];
|
|
333
274
|
readonly stateMutability: "view";
|
|
334
|
-
readonly type: "function";
|
|
335
275
|
}, {
|
|
276
|
+
readonly type: "function";
|
|
277
|
+
readonly name: "interestRateModel";
|
|
336
278
|
readonly inputs: readonly [];
|
|
337
|
-
readonly name: "baseInterestIndex";
|
|
338
279
|
readonly outputs: readonly [{
|
|
339
|
-
readonly internalType: "uint256";
|
|
340
280
|
readonly name: "";
|
|
341
|
-
readonly type: "
|
|
281
|
+
readonly type: "address";
|
|
282
|
+
readonly internalType: "address";
|
|
342
283
|
}];
|
|
343
284
|
readonly stateMutability: "view";
|
|
344
|
-
readonly type: "function";
|
|
345
285
|
}, {
|
|
286
|
+
readonly type: "function";
|
|
287
|
+
readonly name: "lastBaseInterestUpdate";
|
|
346
288
|
readonly inputs: readonly [];
|
|
347
|
-
readonly name: "baseInterestIndexLU";
|
|
348
289
|
readonly outputs: readonly [{
|
|
349
|
-
readonly internalType: "uint256";
|
|
350
290
|
readonly name: "";
|
|
351
|
-
readonly type: "
|
|
291
|
+
readonly type: "uint40";
|
|
292
|
+
readonly internalType: "uint40";
|
|
352
293
|
}];
|
|
353
294
|
readonly stateMutability: "view";
|
|
354
|
-
readonly type: "function";
|
|
355
295
|
}, {
|
|
296
|
+
readonly type: "function";
|
|
297
|
+
readonly name: "lastQuotaRevenueUpdate";
|
|
356
298
|
readonly inputs: readonly [];
|
|
357
|
-
readonly name: "baseInterestRate";
|
|
358
299
|
readonly outputs: readonly [{
|
|
359
|
-
readonly internalType: "uint256";
|
|
360
300
|
readonly name: "";
|
|
361
|
-
readonly type: "
|
|
301
|
+
readonly type: "uint40";
|
|
302
|
+
readonly internalType: "uint40";
|
|
362
303
|
}];
|
|
363
304
|
readonly stateMutability: "view";
|
|
364
|
-
readonly type: "function";
|
|
365
305
|
}, {
|
|
306
|
+
readonly type: "function";
|
|
307
|
+
readonly name: "lendCreditAccount";
|
|
366
308
|
readonly inputs: readonly [{
|
|
367
|
-
readonly
|
|
368
|
-
readonly name: "shares";
|
|
309
|
+
readonly name: "borrowedAmount";
|
|
369
310
|
readonly type: "uint256";
|
|
370
|
-
}];
|
|
371
|
-
readonly name: "convertToAssets";
|
|
372
|
-
readonly outputs: readonly [{
|
|
373
311
|
readonly internalType: "uint256";
|
|
374
|
-
|
|
375
|
-
readonly
|
|
312
|
+
}, {
|
|
313
|
+
readonly name: "creditAccount";
|
|
314
|
+
readonly type: "address";
|
|
315
|
+
readonly internalType: "address";
|
|
376
316
|
}];
|
|
377
|
-
readonly
|
|
378
|
-
readonly
|
|
317
|
+
readonly outputs: readonly [];
|
|
318
|
+
readonly stateMutability: "nonpayable";
|
|
379
319
|
}, {
|
|
320
|
+
readonly type: "function";
|
|
321
|
+
readonly name: "maxDeposit";
|
|
380
322
|
readonly inputs: readonly [{
|
|
381
|
-
readonly
|
|
382
|
-
readonly
|
|
383
|
-
readonly
|
|
323
|
+
readonly name: "receiver";
|
|
324
|
+
readonly type: "address";
|
|
325
|
+
readonly internalType: "address";
|
|
384
326
|
}];
|
|
385
|
-
readonly name: "convertToShares";
|
|
386
327
|
readonly outputs: readonly [{
|
|
387
|
-
readonly
|
|
388
|
-
readonly name: "shares";
|
|
328
|
+
readonly name: "maxAssets";
|
|
389
329
|
readonly type: "uint256";
|
|
330
|
+
readonly internalType: "uint256";
|
|
390
331
|
}];
|
|
391
332
|
readonly stateMutability: "view";
|
|
392
|
-
readonly type: "function";
|
|
393
333
|
}, {
|
|
334
|
+
readonly type: "function";
|
|
335
|
+
readonly name: "maxMint";
|
|
394
336
|
readonly inputs: readonly [{
|
|
395
|
-
readonly
|
|
396
|
-
readonly name: "creditManager";
|
|
337
|
+
readonly name: "receiver";
|
|
397
338
|
readonly type: "address";
|
|
339
|
+
readonly internalType: "address";
|
|
398
340
|
}];
|
|
399
|
-
readonly name: "creditManagerBorrowable";
|
|
400
341
|
readonly outputs: readonly [{
|
|
401
|
-
readonly
|
|
402
|
-
readonly name: "borrowable";
|
|
342
|
+
readonly name: "maxShares";
|
|
403
343
|
readonly type: "uint256";
|
|
344
|
+
readonly internalType: "uint256";
|
|
404
345
|
}];
|
|
405
346
|
readonly stateMutability: "view";
|
|
406
|
-
readonly type: "function";
|
|
407
347
|
}, {
|
|
348
|
+
readonly type: "function";
|
|
349
|
+
readonly name: "maxRedeem";
|
|
408
350
|
readonly inputs: readonly [{
|
|
409
|
-
readonly
|
|
410
|
-
readonly name: "creditManager";
|
|
351
|
+
readonly name: "owner";
|
|
411
352
|
readonly type: "address";
|
|
353
|
+
readonly internalType: "address";
|
|
412
354
|
}];
|
|
413
|
-
readonly name: "creditManagerBorrowed";
|
|
414
355
|
readonly outputs: readonly [{
|
|
415
|
-
readonly
|
|
416
|
-
readonly name: "";
|
|
356
|
+
readonly name: "maxShares";
|
|
417
357
|
readonly type: "uint256";
|
|
358
|
+
readonly internalType: "uint256";
|
|
418
359
|
}];
|
|
419
360
|
readonly stateMutability: "view";
|
|
420
|
-
readonly type: "function";
|
|
421
361
|
}, {
|
|
362
|
+
readonly type: "function";
|
|
363
|
+
readonly name: "maxWithdraw";
|
|
422
364
|
readonly inputs: readonly [{
|
|
423
|
-
readonly
|
|
424
|
-
readonly name: "creditManager";
|
|
365
|
+
readonly name: "owner";
|
|
425
366
|
readonly type: "address";
|
|
367
|
+
readonly internalType: "address";
|
|
426
368
|
}];
|
|
427
|
-
readonly name: "creditManagerDebtLimit";
|
|
428
369
|
readonly outputs: readonly [{
|
|
429
|
-
readonly
|
|
430
|
-
readonly name: "";
|
|
370
|
+
readonly name: "maxAssets";
|
|
431
371
|
readonly type: "uint256";
|
|
372
|
+
readonly internalType: "uint256";
|
|
432
373
|
}];
|
|
433
374
|
readonly stateMutability: "view";
|
|
434
|
-
readonly type: "function";
|
|
435
|
-
}, {
|
|
436
|
-
readonly inputs: readonly [];
|
|
437
|
-
readonly name: "creditManagers";
|
|
438
|
-
readonly outputs: readonly [{
|
|
439
|
-
readonly internalType: "address[]";
|
|
440
|
-
readonly name: "";
|
|
441
|
-
readonly type: "address[]";
|
|
442
|
-
}];
|
|
443
|
-
readonly stateMutability: "view";
|
|
444
|
-
readonly type: "function";
|
|
445
375
|
}, {
|
|
446
|
-
readonly inputs: readonly [];
|
|
447
|
-
readonly name: "decimals";
|
|
448
|
-
readonly outputs: readonly [{
|
|
449
|
-
readonly internalType: "uint8";
|
|
450
|
-
readonly name: "";
|
|
451
|
-
readonly type: "uint8";
|
|
452
|
-
}];
|
|
453
|
-
readonly stateMutability: "view";
|
|
454
376
|
readonly type: "function";
|
|
455
|
-
|
|
377
|
+
readonly name: "mint";
|
|
456
378
|
readonly inputs: readonly [{
|
|
457
|
-
readonly
|
|
458
|
-
readonly name: "assets";
|
|
379
|
+
readonly name: "shares";
|
|
459
380
|
readonly type: "uint256";
|
|
381
|
+
readonly internalType: "uint256";
|
|
460
382
|
}, {
|
|
461
|
-
readonly internalType: "address";
|
|
462
383
|
readonly name: "receiver";
|
|
463
384
|
readonly type: "address";
|
|
385
|
+
readonly internalType: "address";
|
|
464
386
|
}];
|
|
465
|
-
readonly name: "deposit";
|
|
466
387
|
readonly outputs: readonly [{
|
|
467
|
-
readonly
|
|
468
|
-
readonly name: "shares";
|
|
388
|
+
readonly name: "assets";
|
|
469
389
|
readonly type: "uint256";
|
|
390
|
+
readonly internalType: "uint256";
|
|
470
391
|
}];
|
|
471
392
|
readonly stateMutability: "nonpayable";
|
|
472
|
-
readonly type: "function";
|
|
473
393
|
}, {
|
|
394
|
+
readonly type: "function";
|
|
395
|
+
readonly name: "mintWithReferral";
|
|
474
396
|
readonly inputs: readonly [{
|
|
475
|
-
readonly
|
|
476
|
-
readonly name: "assets";
|
|
397
|
+
readonly name: "shares";
|
|
477
398
|
readonly type: "uint256";
|
|
399
|
+
readonly internalType: "uint256";
|
|
478
400
|
}, {
|
|
479
|
-
readonly internalType: "address";
|
|
480
401
|
readonly name: "receiver";
|
|
481
402
|
readonly type: "address";
|
|
403
|
+
readonly internalType: "address";
|
|
482
404
|
}, {
|
|
483
|
-
readonly internalType: "uint256";
|
|
484
405
|
readonly name: "referralCode";
|
|
485
406
|
readonly type: "uint256";
|
|
407
|
+
readonly internalType: "uint256";
|
|
486
408
|
}];
|
|
487
|
-
readonly name: "depositWithReferral";
|
|
488
|
-
readonly outputs: readonly [{
|
|
489
|
-
readonly internalType: "uint256";
|
|
490
|
-
readonly name: "shares";
|
|
491
|
-
readonly type: "uint256";
|
|
492
|
-
}];
|
|
493
|
-
readonly stateMutability: "nonpayable";
|
|
494
|
-
readonly type: "function";
|
|
495
|
-
}, {
|
|
496
|
-
readonly inputs: readonly [];
|
|
497
|
-
readonly name: "expectedLiquidity";
|
|
498
409
|
readonly outputs: readonly [{
|
|
499
|
-
readonly
|
|
500
|
-
readonly name: "";
|
|
410
|
+
readonly name: "assets";
|
|
501
411
|
readonly type: "uint256";
|
|
502
|
-
}];
|
|
503
|
-
readonly stateMutability: "view";
|
|
504
|
-
readonly type: "function";
|
|
505
|
-
}, {
|
|
506
|
-
readonly inputs: readonly [];
|
|
507
|
-
readonly name: "expectedLiquidityLU";
|
|
508
|
-
readonly outputs: readonly [{
|
|
509
412
|
readonly internalType: "uint256";
|
|
510
|
-
readonly name: "";
|
|
511
|
-
readonly type: "uint256";
|
|
512
|
-
}];
|
|
513
|
-
readonly stateMutability: "view";
|
|
514
|
-
readonly type: "function";
|
|
515
|
-
}, {
|
|
516
|
-
readonly inputs: readonly [];
|
|
517
|
-
readonly name: "interestRateModel";
|
|
518
|
-
readonly outputs: readonly [{
|
|
519
|
-
readonly internalType: "address";
|
|
520
|
-
readonly name: "";
|
|
521
|
-
readonly type: "address";
|
|
522
413
|
}];
|
|
523
|
-
readonly stateMutability: "
|
|
524
|
-
readonly type: "function";
|
|
414
|
+
readonly stateMutability: "nonpayable";
|
|
525
415
|
}, {
|
|
526
|
-
readonly inputs: readonly [];
|
|
527
|
-
readonly name: "lastBaseInterestUpdate";
|
|
528
|
-
readonly outputs: readonly [{
|
|
529
|
-
readonly internalType: "uint40";
|
|
530
|
-
readonly name: "";
|
|
531
|
-
readonly type: "uint40";
|
|
532
|
-
}];
|
|
533
|
-
readonly stateMutability: "view";
|
|
534
416
|
readonly type: "function";
|
|
535
|
-
|
|
417
|
+
readonly name: "name";
|
|
536
418
|
readonly inputs: readonly [];
|
|
537
|
-
readonly name: "lastQuotaRevenueUpdate";
|
|
538
419
|
readonly outputs: readonly [{
|
|
539
|
-
readonly internalType: "uint40";
|
|
540
420
|
readonly name: "";
|
|
541
|
-
readonly type: "
|
|
542
|
-
|
|
543
|
-
readonly stateMutability: "view";
|
|
544
|
-
readonly type: "function";
|
|
545
|
-
}, {
|
|
546
|
-
readonly inputs: readonly [{
|
|
547
|
-
readonly internalType: "uint256";
|
|
548
|
-
readonly name: "borrowedAmount";
|
|
549
|
-
readonly type: "uint256";
|
|
550
|
-
}, {
|
|
551
|
-
readonly internalType: "address";
|
|
552
|
-
readonly name: "creditAccount";
|
|
553
|
-
readonly type: "address";
|
|
554
|
-
}];
|
|
555
|
-
readonly name: "lendCreditAccount";
|
|
556
|
-
readonly outputs: readonly [];
|
|
557
|
-
readonly stateMutability: "nonpayable";
|
|
558
|
-
readonly type: "function";
|
|
559
|
-
}, {
|
|
560
|
-
readonly inputs: readonly [{
|
|
561
|
-
readonly internalType: "address";
|
|
562
|
-
readonly name: "receiver";
|
|
563
|
-
readonly type: "address";
|
|
564
|
-
}];
|
|
565
|
-
readonly name: "maxDeposit";
|
|
566
|
-
readonly outputs: readonly [{
|
|
567
|
-
readonly internalType: "uint256";
|
|
568
|
-
readonly name: "maxAssets";
|
|
569
|
-
readonly type: "uint256";
|
|
570
|
-
}];
|
|
571
|
-
readonly stateMutability: "view";
|
|
572
|
-
readonly type: "function";
|
|
573
|
-
}, {
|
|
574
|
-
readonly inputs: readonly [{
|
|
575
|
-
readonly internalType: "address";
|
|
576
|
-
readonly name: "receiver";
|
|
577
|
-
readonly type: "address";
|
|
578
|
-
}];
|
|
579
|
-
readonly name: "maxMint";
|
|
580
|
-
readonly outputs: readonly [{
|
|
581
|
-
readonly internalType: "uint256";
|
|
582
|
-
readonly name: "maxShares";
|
|
583
|
-
readonly type: "uint256";
|
|
421
|
+
readonly type: "string";
|
|
422
|
+
readonly internalType: "string";
|
|
584
423
|
}];
|
|
585
424
|
readonly stateMutability: "view";
|
|
586
|
-
readonly type: "function";
|
|
587
425
|
}, {
|
|
588
|
-
readonly inputs: readonly [{
|
|
589
|
-
readonly internalType: "address";
|
|
590
|
-
readonly name: "owner";
|
|
591
|
-
readonly type: "address";
|
|
592
|
-
}];
|
|
593
|
-
readonly name: "maxRedeem";
|
|
594
|
-
readonly outputs: readonly [{
|
|
595
|
-
readonly internalType: "uint256";
|
|
596
|
-
readonly name: "maxShares";
|
|
597
|
-
readonly type: "uint256";
|
|
598
|
-
}];
|
|
599
|
-
readonly stateMutability: "view";
|
|
600
426
|
readonly type: "function";
|
|
601
|
-
|
|
427
|
+
readonly name: "nonces";
|
|
602
428
|
readonly inputs: readonly [{
|
|
603
|
-
readonly internalType: "address";
|
|
604
429
|
readonly name: "owner";
|
|
605
430
|
readonly type: "address";
|
|
606
|
-
}];
|
|
607
|
-
readonly name: "maxWithdraw";
|
|
608
|
-
readonly outputs: readonly [{
|
|
609
|
-
readonly internalType: "uint256";
|
|
610
|
-
readonly name: "maxAssets";
|
|
611
|
-
readonly type: "uint256";
|
|
612
|
-
}];
|
|
613
|
-
readonly stateMutability: "view";
|
|
614
|
-
readonly type: "function";
|
|
615
|
-
}, {
|
|
616
|
-
readonly inputs: readonly [{
|
|
617
|
-
readonly internalType: "uint256";
|
|
618
|
-
readonly name: "shares";
|
|
619
|
-
readonly type: "uint256";
|
|
620
|
-
}, {
|
|
621
431
|
readonly internalType: "address";
|
|
622
|
-
readonly name: "receiver";
|
|
623
|
-
readonly type: "address";
|
|
624
432
|
}];
|
|
625
|
-
readonly name: "mint";
|
|
626
433
|
readonly outputs: readonly [{
|
|
627
|
-
readonly
|
|
628
|
-
readonly name: "assets";
|
|
629
|
-
readonly type: "uint256";
|
|
630
|
-
}];
|
|
631
|
-
readonly stateMutability: "nonpayable";
|
|
632
|
-
readonly type: "function";
|
|
633
|
-
}, {
|
|
634
|
-
readonly inputs: readonly [{
|
|
635
|
-
readonly internalType: "uint256";
|
|
636
|
-
readonly name: "shares";
|
|
637
|
-
readonly type: "uint256";
|
|
638
|
-
}, {
|
|
639
|
-
readonly internalType: "address";
|
|
640
|
-
readonly name: "receiver";
|
|
641
|
-
readonly type: "address";
|
|
642
|
-
}, {
|
|
643
|
-
readonly internalType: "uint256";
|
|
644
|
-
readonly name: "referralCode";
|
|
434
|
+
readonly name: "";
|
|
645
435
|
readonly type: "uint256";
|
|
646
|
-
}];
|
|
647
|
-
readonly name: "mintWithReferral";
|
|
648
|
-
readonly outputs: readonly [{
|
|
649
436
|
readonly internalType: "uint256";
|
|
650
|
-
readonly name: "assets";
|
|
651
|
-
readonly type: "uint256";
|
|
652
|
-
}];
|
|
653
|
-
readonly stateMutability: "nonpayable";
|
|
654
|
-
readonly type: "function";
|
|
655
|
-
}, {
|
|
656
|
-
readonly inputs: readonly [];
|
|
657
|
-
readonly name: "name";
|
|
658
|
-
readonly outputs: readonly [{
|
|
659
|
-
readonly internalType: "string";
|
|
660
|
-
readonly name: "";
|
|
661
|
-
readonly type: "string";
|
|
662
437
|
}];
|
|
663
438
|
readonly stateMutability: "view";
|
|
664
|
-
readonly type: "function";
|
|
665
439
|
}, {
|
|
666
|
-
readonly inputs: readonly [{
|
|
667
|
-
readonly internalType: "address";
|
|
668
|
-
readonly name: "owner";
|
|
669
|
-
readonly type: "address";
|
|
670
|
-
}];
|
|
671
|
-
readonly name: "nonces";
|
|
672
|
-
readonly outputs: readonly [{
|
|
673
|
-
readonly internalType: "uint256";
|
|
674
|
-
readonly name: "";
|
|
675
|
-
readonly type: "uint256";
|
|
676
|
-
}];
|
|
677
|
-
readonly stateMutability: "view";
|
|
678
440
|
readonly type: "function";
|
|
679
|
-
|
|
441
|
+
readonly name: "permit";
|
|
680
442
|
readonly inputs: readonly [{
|
|
681
|
-
readonly internalType: "address";
|
|
682
443
|
readonly name: "owner";
|
|
683
444
|
readonly type: "address";
|
|
684
|
-
}, {
|
|
685
445
|
readonly internalType: "address";
|
|
446
|
+
}, {
|
|
686
447
|
readonly name: "spender";
|
|
687
448
|
readonly type: "address";
|
|
449
|
+
readonly internalType: "address";
|
|
688
450
|
}, {
|
|
689
|
-
readonly internalType: "uint256";
|
|
690
451
|
readonly name: "value";
|
|
691
452
|
readonly type: "uint256";
|
|
692
|
-
}, {
|
|
693
453
|
readonly internalType: "uint256";
|
|
454
|
+
}, {
|
|
694
455
|
readonly name: "deadline";
|
|
695
456
|
readonly type: "uint256";
|
|
457
|
+
readonly internalType: "uint256";
|
|
696
458
|
}, {
|
|
697
|
-
readonly internalType: "uint8";
|
|
698
459
|
readonly name: "v";
|
|
699
460
|
readonly type: "uint8";
|
|
461
|
+
readonly internalType: "uint8";
|
|
700
462
|
}, {
|
|
701
|
-
readonly internalType: "bytes32";
|
|
702
463
|
readonly name: "r";
|
|
703
464
|
readonly type: "bytes32";
|
|
704
|
-
}, {
|
|
705
465
|
readonly internalType: "bytes32";
|
|
466
|
+
}, {
|
|
706
467
|
readonly name: "s";
|
|
707
468
|
readonly type: "bytes32";
|
|
469
|
+
readonly internalType: "bytes32";
|
|
708
470
|
}];
|
|
709
|
-
readonly name: "permit";
|
|
710
471
|
readonly outputs: readonly [];
|
|
711
472
|
readonly stateMutability: "nonpayable";
|
|
712
|
-
readonly type: "function";
|
|
713
473
|
}, {
|
|
714
|
-
readonly
|
|
474
|
+
readonly type: "function";
|
|
715
475
|
readonly name: "poolQuotaKeeper";
|
|
476
|
+
readonly inputs: readonly [];
|
|
716
477
|
readonly outputs: readonly [{
|
|
717
|
-
readonly internalType: "address";
|
|
718
478
|
readonly name: "";
|
|
719
479
|
readonly type: "address";
|
|
480
|
+
readonly internalType: "address";
|
|
720
481
|
}];
|
|
721
482
|
readonly stateMutability: "view";
|
|
722
|
-
readonly type: "function";
|
|
723
483
|
}, {
|
|
484
|
+
readonly type: "function";
|
|
485
|
+
readonly name: "previewDeposit";
|
|
724
486
|
readonly inputs: readonly [{
|
|
725
|
-
readonly internalType: "uint256";
|
|
726
487
|
readonly name: "assets";
|
|
727
488
|
readonly type: "uint256";
|
|
489
|
+
readonly internalType: "uint256";
|
|
728
490
|
}];
|
|
729
|
-
readonly name: "previewDeposit";
|
|
730
491
|
readonly outputs: readonly [{
|
|
731
|
-
readonly internalType: "uint256";
|
|
732
492
|
readonly name: "shares";
|
|
733
493
|
readonly type: "uint256";
|
|
494
|
+
readonly internalType: "uint256";
|
|
734
495
|
}];
|
|
735
496
|
readonly stateMutability: "view";
|
|
736
|
-
readonly type: "function";
|
|
737
497
|
}, {
|
|
498
|
+
readonly type: "function";
|
|
499
|
+
readonly name: "previewMint";
|
|
738
500
|
readonly inputs: readonly [{
|
|
739
|
-
readonly internalType: "uint256";
|
|
740
501
|
readonly name: "shares";
|
|
741
502
|
readonly type: "uint256";
|
|
503
|
+
readonly internalType: "uint256";
|
|
742
504
|
}];
|
|
743
|
-
readonly name: "previewMint";
|
|
744
505
|
readonly outputs: readonly [{
|
|
745
|
-
readonly internalType: "uint256";
|
|
746
506
|
readonly name: "assets";
|
|
747
507
|
readonly type: "uint256";
|
|
508
|
+
readonly internalType: "uint256";
|
|
748
509
|
}];
|
|
749
510
|
readonly stateMutability: "view";
|
|
750
|
-
readonly type: "function";
|
|
751
511
|
}, {
|
|
512
|
+
readonly type: "function";
|
|
513
|
+
readonly name: "previewRedeem";
|
|
752
514
|
readonly inputs: readonly [{
|
|
753
|
-
readonly internalType: "uint256";
|
|
754
515
|
readonly name: "shares";
|
|
755
516
|
readonly type: "uint256";
|
|
517
|
+
readonly internalType: "uint256";
|
|
756
518
|
}];
|
|
757
|
-
readonly name: "previewRedeem";
|
|
758
519
|
readonly outputs: readonly [{
|
|
759
|
-
readonly internalType: "uint256";
|
|
760
520
|
readonly name: "assets";
|
|
761
521
|
readonly type: "uint256";
|
|
522
|
+
readonly internalType: "uint256";
|
|
762
523
|
}];
|
|
763
524
|
readonly stateMutability: "view";
|
|
764
|
-
readonly type: "function";
|
|
765
525
|
}, {
|
|
526
|
+
readonly type: "function";
|
|
527
|
+
readonly name: "previewWithdraw";
|
|
766
528
|
readonly inputs: readonly [{
|
|
767
|
-
readonly internalType: "uint256";
|
|
768
529
|
readonly name: "assets";
|
|
769
530
|
readonly type: "uint256";
|
|
531
|
+
readonly internalType: "uint256";
|
|
770
532
|
}];
|
|
771
|
-
readonly name: "previewWithdraw";
|
|
772
533
|
readonly outputs: readonly [{
|
|
773
|
-
readonly internalType: "uint256";
|
|
774
534
|
readonly name: "shares";
|
|
775
535
|
readonly type: "uint256";
|
|
536
|
+
readonly internalType: "uint256";
|
|
776
537
|
}];
|
|
777
538
|
readonly stateMutability: "view";
|
|
778
|
-
readonly type: "function";
|
|
779
539
|
}, {
|
|
780
|
-
readonly
|
|
540
|
+
readonly type: "function";
|
|
781
541
|
readonly name: "quotaRevenue";
|
|
542
|
+
readonly inputs: readonly [];
|
|
782
543
|
readonly outputs: readonly [{
|
|
783
|
-
readonly internalType: "uint256";
|
|
784
544
|
readonly name: "";
|
|
785
545
|
readonly type: "uint256";
|
|
546
|
+
readonly internalType: "uint256";
|
|
786
547
|
}];
|
|
787
548
|
readonly stateMutability: "view";
|
|
788
|
-
readonly type: "function";
|
|
789
549
|
}, {
|
|
550
|
+
readonly type: "function";
|
|
551
|
+
readonly name: "redeem";
|
|
790
552
|
readonly inputs: readonly [{
|
|
791
|
-
readonly internalType: "uint256";
|
|
792
553
|
readonly name: "shares";
|
|
793
554
|
readonly type: "uint256";
|
|
555
|
+
readonly internalType: "uint256";
|
|
794
556
|
}, {
|
|
795
|
-
readonly internalType: "address";
|
|
796
557
|
readonly name: "receiver";
|
|
797
558
|
readonly type: "address";
|
|
798
|
-
}, {
|
|
799
559
|
readonly internalType: "address";
|
|
560
|
+
}, {
|
|
800
561
|
readonly name: "owner";
|
|
801
562
|
readonly type: "address";
|
|
563
|
+
readonly internalType: "address";
|
|
802
564
|
}];
|
|
803
|
-
readonly name: "redeem";
|
|
804
565
|
readonly outputs: readonly [{
|
|
805
|
-
readonly internalType: "uint256";
|
|
806
566
|
readonly name: "assets";
|
|
807
567
|
readonly type: "uint256";
|
|
568
|
+
readonly internalType: "uint256";
|
|
808
569
|
}];
|
|
809
570
|
readonly stateMutability: "nonpayable";
|
|
810
|
-
readonly type: "function";
|
|
811
571
|
}, {
|
|
572
|
+
readonly type: "function";
|
|
573
|
+
readonly name: "repayCreditAccount";
|
|
812
574
|
readonly inputs: readonly [{
|
|
813
|
-
readonly internalType: "uint256";
|
|
814
575
|
readonly name: "repaidAmount";
|
|
815
576
|
readonly type: "uint256";
|
|
816
|
-
}, {
|
|
817
577
|
readonly internalType: "uint256";
|
|
578
|
+
}, {
|
|
818
579
|
readonly name: "profit";
|
|
819
580
|
readonly type: "uint256";
|
|
820
|
-
}, {
|
|
821
581
|
readonly internalType: "uint256";
|
|
582
|
+
}, {
|
|
822
583
|
readonly name: "loss";
|
|
823
584
|
readonly type: "uint256";
|
|
585
|
+
readonly internalType: "uint256";
|
|
824
586
|
}];
|
|
825
|
-
readonly name: "repayCreditAccount";
|
|
826
587
|
readonly outputs: readonly [];
|
|
827
588
|
readonly stateMutability: "nonpayable";
|
|
828
|
-
readonly type: "function";
|
|
829
589
|
}, {
|
|
590
|
+
readonly type: "function";
|
|
591
|
+
readonly name: "setCreditManagerDebtLimit";
|
|
830
592
|
readonly inputs: readonly [{
|
|
831
|
-
readonly internalType: "address";
|
|
832
593
|
readonly name: "creditManager";
|
|
833
594
|
readonly type: "address";
|
|
595
|
+
readonly internalType: "address";
|
|
834
596
|
}, {
|
|
835
|
-
readonly internalType: "uint256";
|
|
836
597
|
readonly name: "newLimit";
|
|
837
598
|
readonly type: "uint256";
|
|
599
|
+
readonly internalType: "uint256";
|
|
838
600
|
}];
|
|
839
|
-
readonly name: "setCreditManagerDebtLimit";
|
|
840
601
|
readonly outputs: readonly [];
|
|
841
602
|
readonly stateMutability: "nonpayable";
|
|
842
|
-
readonly type: "function";
|
|
843
603
|
}, {
|
|
604
|
+
readonly type: "function";
|
|
605
|
+
readonly name: "setInterestRateModel";
|
|
844
606
|
readonly inputs: readonly [{
|
|
845
|
-
readonly internalType: "address";
|
|
846
607
|
readonly name: "newInterestRateModel";
|
|
847
608
|
readonly type: "address";
|
|
609
|
+
readonly internalType: "address";
|
|
848
610
|
}];
|
|
849
|
-
readonly name: "setInterestRateModel";
|
|
850
611
|
readonly outputs: readonly [];
|
|
851
612
|
readonly stateMutability: "nonpayable";
|
|
852
|
-
readonly type: "function";
|
|
853
613
|
}, {
|
|
614
|
+
readonly type: "function";
|
|
615
|
+
readonly name: "setPoolQuotaKeeper";
|
|
854
616
|
readonly inputs: readonly [{
|
|
855
|
-
readonly internalType: "address";
|
|
856
617
|
readonly name: "newPoolQuotaKeeper";
|
|
857
618
|
readonly type: "address";
|
|
619
|
+
readonly internalType: "address";
|
|
858
620
|
}];
|
|
859
|
-
readonly name: "setPoolQuotaKeeper";
|
|
860
621
|
readonly outputs: readonly [];
|
|
861
622
|
readonly stateMutability: "nonpayable";
|
|
862
|
-
readonly type: "function";
|
|
863
623
|
}, {
|
|
624
|
+
readonly type: "function";
|
|
625
|
+
readonly name: "setQuotaRevenue";
|
|
864
626
|
readonly inputs: readonly [{
|
|
865
|
-
readonly internalType: "uint256";
|
|
866
627
|
readonly name: "newQuotaRevenue";
|
|
867
628
|
readonly type: "uint256";
|
|
629
|
+
readonly internalType: "uint256";
|
|
868
630
|
}];
|
|
869
|
-
readonly name: "setQuotaRevenue";
|
|
870
631
|
readonly outputs: readonly [];
|
|
871
632
|
readonly stateMutability: "nonpayable";
|
|
872
|
-
readonly type: "function";
|
|
873
633
|
}, {
|
|
634
|
+
readonly type: "function";
|
|
635
|
+
readonly name: "setTotalDebtLimit";
|
|
874
636
|
readonly inputs: readonly [{
|
|
875
|
-
readonly internalType: "uint256";
|
|
876
637
|
readonly name: "newLimit";
|
|
877
638
|
readonly type: "uint256";
|
|
639
|
+
readonly internalType: "uint256";
|
|
878
640
|
}];
|
|
879
|
-
readonly name: "setTotalDebtLimit";
|
|
880
641
|
readonly outputs: readonly [];
|
|
881
642
|
readonly stateMutability: "nonpayable";
|
|
882
|
-
readonly type: "function";
|
|
883
643
|
}, {
|
|
644
|
+
readonly type: "function";
|
|
645
|
+
readonly name: "setWithdrawFee";
|
|
884
646
|
readonly inputs: readonly [{
|
|
885
|
-
readonly internalType: "uint256";
|
|
886
647
|
readonly name: "newWithdrawFee";
|
|
887
648
|
readonly type: "uint256";
|
|
649
|
+
readonly internalType: "uint256";
|
|
888
650
|
}];
|
|
889
|
-
readonly name: "setWithdrawFee";
|
|
890
651
|
readonly outputs: readonly [];
|
|
891
652
|
readonly stateMutability: "nonpayable";
|
|
892
|
-
readonly type: "function";
|
|
893
653
|
}, {
|
|
894
|
-
readonly
|
|
654
|
+
readonly type: "function";
|
|
895
655
|
readonly name: "supplyRate";
|
|
656
|
+
readonly inputs: readonly [];
|
|
896
657
|
readonly outputs: readonly [{
|
|
897
|
-
readonly internalType: "uint256";
|
|
898
658
|
readonly name: "";
|
|
899
659
|
readonly type: "uint256";
|
|
660
|
+
readonly internalType: "uint256";
|
|
900
661
|
}];
|
|
901
662
|
readonly stateMutability: "view";
|
|
902
|
-
readonly type: "function";
|
|
903
663
|
}, {
|
|
904
|
-
readonly
|
|
664
|
+
readonly type: "function";
|
|
905
665
|
readonly name: "symbol";
|
|
666
|
+
readonly inputs: readonly [];
|
|
906
667
|
readonly outputs: readonly [{
|
|
907
|
-
readonly internalType: "string";
|
|
908
668
|
readonly name: "";
|
|
909
669
|
readonly type: "string";
|
|
670
|
+
readonly internalType: "string";
|
|
910
671
|
}];
|
|
911
672
|
readonly stateMutability: "view";
|
|
912
|
-
readonly type: "function";
|
|
913
673
|
}, {
|
|
914
|
-
readonly
|
|
674
|
+
readonly type: "function";
|
|
915
675
|
readonly name: "totalAssets";
|
|
676
|
+
readonly inputs: readonly [];
|
|
916
677
|
readonly outputs: readonly [{
|
|
917
|
-
readonly internalType: "uint256";
|
|
918
678
|
readonly name: "totalManagedAssets";
|
|
919
679
|
readonly type: "uint256";
|
|
680
|
+
readonly internalType: "uint256";
|
|
920
681
|
}];
|
|
921
682
|
readonly stateMutability: "view";
|
|
922
|
-
readonly type: "function";
|
|
923
683
|
}, {
|
|
924
|
-
readonly
|
|
684
|
+
readonly type: "function";
|
|
925
685
|
readonly name: "totalBorrowed";
|
|
686
|
+
readonly inputs: readonly [];
|
|
926
687
|
readonly outputs: readonly [{
|
|
927
|
-
readonly internalType: "uint256";
|
|
928
688
|
readonly name: "";
|
|
929
689
|
readonly type: "uint256";
|
|
690
|
+
readonly internalType: "uint256";
|
|
930
691
|
}];
|
|
931
692
|
readonly stateMutability: "view";
|
|
932
|
-
readonly type: "function";
|
|
933
693
|
}, {
|
|
934
|
-
readonly
|
|
694
|
+
readonly type: "function";
|
|
935
695
|
readonly name: "totalDebtLimit";
|
|
696
|
+
readonly inputs: readonly [];
|
|
936
697
|
readonly outputs: readonly [{
|
|
937
|
-
readonly internalType: "uint256";
|
|
938
698
|
readonly name: "";
|
|
939
699
|
readonly type: "uint256";
|
|
700
|
+
readonly internalType: "uint256";
|
|
940
701
|
}];
|
|
941
702
|
readonly stateMutability: "view";
|
|
942
|
-
readonly type: "function";
|
|
943
703
|
}, {
|
|
944
|
-
readonly
|
|
704
|
+
readonly type: "function";
|
|
945
705
|
readonly name: "totalSupply";
|
|
706
|
+
readonly inputs: readonly [];
|
|
946
707
|
readonly outputs: readonly [{
|
|
947
|
-
readonly internalType: "uint256";
|
|
948
708
|
readonly name: "";
|
|
949
709
|
readonly type: "uint256";
|
|
710
|
+
readonly internalType: "uint256";
|
|
950
711
|
}];
|
|
951
712
|
readonly stateMutability: "view";
|
|
952
|
-
readonly type: "function";
|
|
953
713
|
}, {
|
|
714
|
+
readonly type: "function";
|
|
715
|
+
readonly name: "transfer";
|
|
954
716
|
readonly inputs: readonly [{
|
|
955
|
-
readonly internalType: "address";
|
|
956
717
|
readonly name: "to";
|
|
957
718
|
readonly type: "address";
|
|
719
|
+
readonly internalType: "address";
|
|
958
720
|
}, {
|
|
959
|
-
readonly internalType: "uint256";
|
|
960
721
|
readonly name: "amount";
|
|
961
722
|
readonly type: "uint256";
|
|
723
|
+
readonly internalType: "uint256";
|
|
962
724
|
}];
|
|
963
|
-
readonly name: "transfer";
|
|
964
725
|
readonly outputs: readonly [{
|
|
965
|
-
readonly internalType: "bool";
|
|
966
726
|
readonly name: "";
|
|
967
727
|
readonly type: "bool";
|
|
728
|
+
readonly internalType: "bool";
|
|
968
729
|
}];
|
|
969
730
|
readonly stateMutability: "nonpayable";
|
|
970
|
-
readonly type: "function";
|
|
971
731
|
}, {
|
|
732
|
+
readonly type: "function";
|
|
733
|
+
readonly name: "transferFrom";
|
|
972
734
|
readonly inputs: readonly [{
|
|
973
|
-
readonly internalType: "address";
|
|
974
735
|
readonly name: "from";
|
|
975
736
|
readonly type: "address";
|
|
976
|
-
}, {
|
|
977
737
|
readonly internalType: "address";
|
|
738
|
+
}, {
|
|
978
739
|
readonly name: "to";
|
|
979
740
|
readonly type: "address";
|
|
741
|
+
readonly internalType: "address";
|
|
980
742
|
}, {
|
|
981
|
-
readonly internalType: "uint256";
|
|
982
743
|
readonly name: "amount";
|
|
983
744
|
readonly type: "uint256";
|
|
745
|
+
readonly internalType: "uint256";
|
|
984
746
|
}];
|
|
985
|
-
readonly name: "transferFrom";
|
|
986
747
|
readonly outputs: readonly [{
|
|
987
|
-
readonly internalType: "bool";
|
|
988
748
|
readonly name: "";
|
|
989
749
|
readonly type: "bool";
|
|
750
|
+
readonly internalType: "bool";
|
|
990
751
|
}];
|
|
991
752
|
readonly stateMutability: "nonpayable";
|
|
992
|
-
readonly type: "function";
|
|
993
753
|
}, {
|
|
994
|
-
readonly
|
|
754
|
+
readonly type: "function";
|
|
995
755
|
readonly name: "treasury";
|
|
756
|
+
readonly inputs: readonly [];
|
|
996
757
|
readonly outputs: readonly [{
|
|
997
|
-
readonly internalType: "address";
|
|
998
758
|
readonly name: "";
|
|
999
759
|
readonly type: "address";
|
|
760
|
+
readonly internalType: "address";
|
|
1000
761
|
}];
|
|
1001
762
|
readonly stateMutability: "view";
|
|
1002
|
-
readonly type: "function";
|
|
1003
763
|
}, {
|
|
1004
|
-
readonly
|
|
764
|
+
readonly type: "function";
|
|
1005
765
|
readonly name: "underlyingToken";
|
|
766
|
+
readonly inputs: readonly [];
|
|
1006
767
|
readonly outputs: readonly [{
|
|
1007
|
-
readonly internalType: "address";
|
|
1008
768
|
readonly name: "";
|
|
1009
769
|
readonly type: "address";
|
|
770
|
+
readonly internalType: "address";
|
|
1010
771
|
}];
|
|
1011
772
|
readonly stateMutability: "view";
|
|
1012
|
-
readonly type: "function";
|
|
1013
773
|
}, {
|
|
774
|
+
readonly type: "function";
|
|
775
|
+
readonly name: "updateQuotaRevenue";
|
|
1014
776
|
readonly inputs: readonly [{
|
|
1015
|
-
readonly internalType: "int256";
|
|
1016
777
|
readonly name: "quotaRevenueDelta";
|
|
1017
778
|
readonly type: "int256";
|
|
779
|
+
readonly internalType: "int256";
|
|
1018
780
|
}];
|
|
1019
|
-
readonly name: "updateQuotaRevenue";
|
|
1020
781
|
readonly outputs: readonly [];
|
|
1021
782
|
readonly stateMutability: "nonpayable";
|
|
1022
|
-
readonly type: "function";
|
|
1023
783
|
}, {
|
|
1024
|
-
readonly
|
|
784
|
+
readonly type: "function";
|
|
1025
785
|
readonly name: "version";
|
|
786
|
+
readonly inputs: readonly [];
|
|
1026
787
|
readonly outputs: readonly [{
|
|
1027
|
-
readonly internalType: "uint256";
|
|
1028
788
|
readonly name: "";
|
|
1029
789
|
readonly type: "uint256";
|
|
790
|
+
readonly internalType: "uint256";
|
|
1030
791
|
}];
|
|
1031
792
|
readonly stateMutability: "view";
|
|
1032
|
-
readonly type: "function";
|
|
1033
793
|
}, {
|
|
794
|
+
readonly type: "function";
|
|
795
|
+
readonly name: "withdraw";
|
|
1034
796
|
readonly inputs: readonly [{
|
|
1035
|
-
readonly internalType: "uint256";
|
|
1036
797
|
readonly name: "assets";
|
|
1037
798
|
readonly type: "uint256";
|
|
799
|
+
readonly internalType: "uint256";
|
|
1038
800
|
}, {
|
|
1039
|
-
readonly internalType: "address";
|
|
1040
801
|
readonly name: "receiver";
|
|
1041
802
|
readonly type: "address";
|
|
1042
|
-
}, {
|
|
1043
803
|
readonly internalType: "address";
|
|
804
|
+
}, {
|
|
1044
805
|
readonly name: "owner";
|
|
1045
806
|
readonly type: "address";
|
|
807
|
+
readonly internalType: "address";
|
|
1046
808
|
}];
|
|
1047
|
-
readonly name: "withdraw";
|
|
1048
809
|
readonly outputs: readonly [{
|
|
1049
|
-
readonly internalType: "uint256";
|
|
1050
810
|
readonly name: "shares";
|
|
1051
811
|
readonly type: "uint256";
|
|
812
|
+
readonly internalType: "uint256";
|
|
1052
813
|
}];
|
|
1053
814
|
readonly stateMutability: "nonpayable";
|
|
1054
|
-
readonly type: "function";
|
|
1055
815
|
}, {
|
|
1056
|
-
readonly
|
|
816
|
+
readonly type: "function";
|
|
1057
817
|
readonly name: "withdrawFee";
|
|
818
|
+
readonly inputs: readonly [];
|
|
1058
819
|
readonly outputs: readonly [{
|
|
1059
|
-
readonly internalType: "uint16";
|
|
1060
820
|
readonly name: "";
|
|
1061
821
|
readonly type: "uint16";
|
|
822
|
+
readonly internalType: "uint16";
|
|
1062
823
|
}];
|
|
1063
824
|
readonly stateMutability: "view";
|
|
1064
|
-
|
|
825
|
+
}, {
|
|
826
|
+
readonly type: "event";
|
|
827
|
+
readonly name: "AddCreditManager";
|
|
828
|
+
readonly inputs: readonly [{
|
|
829
|
+
readonly name: "creditManager";
|
|
830
|
+
readonly type: "address";
|
|
831
|
+
readonly indexed: true;
|
|
832
|
+
readonly internalType: "address";
|
|
833
|
+
}];
|
|
834
|
+
readonly anonymous: false;
|
|
835
|
+
}, {
|
|
836
|
+
readonly type: "event";
|
|
837
|
+
readonly name: "Approval";
|
|
838
|
+
readonly inputs: readonly [{
|
|
839
|
+
readonly name: "owner";
|
|
840
|
+
readonly type: "address";
|
|
841
|
+
readonly indexed: true;
|
|
842
|
+
readonly internalType: "address";
|
|
843
|
+
}, {
|
|
844
|
+
readonly name: "spender";
|
|
845
|
+
readonly type: "address";
|
|
846
|
+
readonly indexed: true;
|
|
847
|
+
readonly internalType: "address";
|
|
848
|
+
}, {
|
|
849
|
+
readonly name: "value";
|
|
850
|
+
readonly type: "uint256";
|
|
851
|
+
readonly indexed: false;
|
|
852
|
+
readonly internalType: "uint256";
|
|
853
|
+
}];
|
|
854
|
+
readonly anonymous: false;
|
|
855
|
+
}, {
|
|
856
|
+
readonly type: "event";
|
|
857
|
+
readonly name: "Borrow";
|
|
858
|
+
readonly inputs: readonly [{
|
|
859
|
+
readonly name: "creditManager";
|
|
860
|
+
readonly type: "address";
|
|
861
|
+
readonly indexed: true;
|
|
862
|
+
readonly internalType: "address";
|
|
863
|
+
}, {
|
|
864
|
+
readonly name: "creditAccount";
|
|
865
|
+
readonly type: "address";
|
|
866
|
+
readonly indexed: true;
|
|
867
|
+
readonly internalType: "address";
|
|
868
|
+
}, {
|
|
869
|
+
readonly name: "amount";
|
|
870
|
+
readonly type: "uint256";
|
|
871
|
+
readonly indexed: false;
|
|
872
|
+
readonly internalType: "uint256";
|
|
873
|
+
}];
|
|
874
|
+
readonly anonymous: false;
|
|
875
|
+
}, {
|
|
876
|
+
readonly type: "event";
|
|
877
|
+
readonly name: "Deposit";
|
|
878
|
+
readonly inputs: readonly [{
|
|
879
|
+
readonly name: "sender";
|
|
880
|
+
readonly type: "address";
|
|
881
|
+
readonly indexed: true;
|
|
882
|
+
readonly internalType: "address";
|
|
883
|
+
}, {
|
|
884
|
+
readonly name: "owner";
|
|
885
|
+
readonly type: "address";
|
|
886
|
+
readonly indexed: true;
|
|
887
|
+
readonly internalType: "address";
|
|
888
|
+
}, {
|
|
889
|
+
readonly name: "assets";
|
|
890
|
+
readonly type: "uint256";
|
|
891
|
+
readonly indexed: false;
|
|
892
|
+
readonly internalType: "uint256";
|
|
893
|
+
}, {
|
|
894
|
+
readonly name: "shares";
|
|
895
|
+
readonly type: "uint256";
|
|
896
|
+
readonly indexed: false;
|
|
897
|
+
readonly internalType: "uint256";
|
|
898
|
+
}];
|
|
899
|
+
readonly anonymous: false;
|
|
900
|
+
}, {
|
|
901
|
+
readonly type: "event";
|
|
902
|
+
readonly name: "IncurUncoveredLoss";
|
|
903
|
+
readonly inputs: readonly [{
|
|
904
|
+
readonly name: "creditManager";
|
|
905
|
+
readonly type: "address";
|
|
906
|
+
readonly indexed: true;
|
|
907
|
+
readonly internalType: "address";
|
|
908
|
+
}, {
|
|
909
|
+
readonly name: "loss";
|
|
910
|
+
readonly type: "uint256";
|
|
911
|
+
readonly indexed: false;
|
|
912
|
+
readonly internalType: "uint256";
|
|
913
|
+
}];
|
|
914
|
+
readonly anonymous: false;
|
|
915
|
+
}, {
|
|
916
|
+
readonly type: "event";
|
|
917
|
+
readonly name: "Refer";
|
|
918
|
+
readonly inputs: readonly [{
|
|
919
|
+
readonly name: "onBehalfOf";
|
|
920
|
+
readonly type: "address";
|
|
921
|
+
readonly indexed: true;
|
|
922
|
+
readonly internalType: "address";
|
|
923
|
+
}, {
|
|
924
|
+
readonly name: "referralCode";
|
|
925
|
+
readonly type: "uint256";
|
|
926
|
+
readonly indexed: true;
|
|
927
|
+
readonly internalType: "uint256";
|
|
928
|
+
}, {
|
|
929
|
+
readonly name: "amount";
|
|
930
|
+
readonly type: "uint256";
|
|
931
|
+
readonly indexed: false;
|
|
932
|
+
readonly internalType: "uint256";
|
|
933
|
+
}];
|
|
934
|
+
readonly anonymous: false;
|
|
935
|
+
}, {
|
|
936
|
+
readonly type: "event";
|
|
937
|
+
readonly name: "Repay";
|
|
938
|
+
readonly inputs: readonly [{
|
|
939
|
+
readonly name: "creditManager";
|
|
940
|
+
readonly type: "address";
|
|
941
|
+
readonly indexed: true;
|
|
942
|
+
readonly internalType: "address";
|
|
943
|
+
}, {
|
|
944
|
+
readonly name: "borrowedAmount";
|
|
945
|
+
readonly type: "uint256";
|
|
946
|
+
readonly indexed: false;
|
|
947
|
+
readonly internalType: "uint256";
|
|
948
|
+
}, {
|
|
949
|
+
readonly name: "profit";
|
|
950
|
+
readonly type: "uint256";
|
|
951
|
+
readonly indexed: false;
|
|
952
|
+
readonly internalType: "uint256";
|
|
953
|
+
}, {
|
|
954
|
+
readonly name: "loss";
|
|
955
|
+
readonly type: "uint256";
|
|
956
|
+
readonly indexed: false;
|
|
957
|
+
readonly internalType: "uint256";
|
|
958
|
+
}];
|
|
959
|
+
readonly anonymous: false;
|
|
960
|
+
}, {
|
|
961
|
+
readonly type: "event";
|
|
962
|
+
readonly name: "SetCreditManagerDebtLimit";
|
|
963
|
+
readonly inputs: readonly [{
|
|
964
|
+
readonly name: "creditManager";
|
|
965
|
+
readonly type: "address";
|
|
966
|
+
readonly indexed: true;
|
|
967
|
+
readonly internalType: "address";
|
|
968
|
+
}, {
|
|
969
|
+
readonly name: "newLimit";
|
|
970
|
+
readonly type: "uint256";
|
|
971
|
+
readonly indexed: false;
|
|
972
|
+
readonly internalType: "uint256";
|
|
973
|
+
}];
|
|
974
|
+
readonly anonymous: false;
|
|
975
|
+
}, {
|
|
976
|
+
readonly type: "event";
|
|
977
|
+
readonly name: "SetInterestRateModel";
|
|
978
|
+
readonly inputs: readonly [{
|
|
979
|
+
readonly name: "newInterestRateModel";
|
|
980
|
+
readonly type: "address";
|
|
981
|
+
readonly indexed: true;
|
|
982
|
+
readonly internalType: "address";
|
|
983
|
+
}];
|
|
984
|
+
readonly anonymous: false;
|
|
985
|
+
}, {
|
|
986
|
+
readonly type: "event";
|
|
987
|
+
readonly name: "SetPoolQuotaKeeper";
|
|
988
|
+
readonly inputs: readonly [{
|
|
989
|
+
readonly name: "newPoolQuotaKeeper";
|
|
990
|
+
readonly type: "address";
|
|
991
|
+
readonly indexed: true;
|
|
992
|
+
readonly internalType: "address";
|
|
993
|
+
}];
|
|
994
|
+
readonly anonymous: false;
|
|
995
|
+
}, {
|
|
996
|
+
readonly type: "event";
|
|
997
|
+
readonly name: "SetTotalDebtLimit";
|
|
998
|
+
readonly inputs: readonly [{
|
|
999
|
+
readonly name: "limit";
|
|
1000
|
+
readonly type: "uint256";
|
|
1001
|
+
readonly indexed: false;
|
|
1002
|
+
readonly internalType: "uint256";
|
|
1003
|
+
}];
|
|
1004
|
+
readonly anonymous: false;
|
|
1005
|
+
}, {
|
|
1006
|
+
readonly type: "event";
|
|
1007
|
+
readonly name: "SetWithdrawFee";
|
|
1008
|
+
readonly inputs: readonly [{
|
|
1009
|
+
readonly name: "fee";
|
|
1010
|
+
readonly type: "uint256";
|
|
1011
|
+
readonly indexed: false;
|
|
1012
|
+
readonly internalType: "uint256";
|
|
1013
|
+
}];
|
|
1014
|
+
readonly anonymous: false;
|
|
1015
|
+
}, {
|
|
1016
|
+
readonly type: "event";
|
|
1017
|
+
readonly name: "Transfer";
|
|
1018
|
+
readonly inputs: readonly [{
|
|
1019
|
+
readonly name: "from";
|
|
1020
|
+
readonly type: "address";
|
|
1021
|
+
readonly indexed: true;
|
|
1022
|
+
readonly internalType: "address";
|
|
1023
|
+
}, {
|
|
1024
|
+
readonly name: "to";
|
|
1025
|
+
readonly type: "address";
|
|
1026
|
+
readonly indexed: true;
|
|
1027
|
+
readonly internalType: "address";
|
|
1028
|
+
}, {
|
|
1029
|
+
readonly name: "value";
|
|
1030
|
+
readonly type: "uint256";
|
|
1031
|
+
readonly indexed: false;
|
|
1032
|
+
readonly internalType: "uint256";
|
|
1033
|
+
}];
|
|
1034
|
+
readonly anonymous: false;
|
|
1035
|
+
}, {
|
|
1036
|
+
readonly type: "event";
|
|
1037
|
+
readonly name: "Withdraw";
|
|
1038
|
+
readonly inputs: readonly [{
|
|
1039
|
+
readonly name: "sender";
|
|
1040
|
+
readonly type: "address";
|
|
1041
|
+
readonly indexed: true;
|
|
1042
|
+
readonly internalType: "address";
|
|
1043
|
+
}, {
|
|
1044
|
+
readonly name: "receiver";
|
|
1045
|
+
readonly type: "address";
|
|
1046
|
+
readonly indexed: true;
|
|
1047
|
+
readonly internalType: "address";
|
|
1048
|
+
}, {
|
|
1049
|
+
readonly name: "owner";
|
|
1050
|
+
readonly type: "address";
|
|
1051
|
+
readonly indexed: true;
|
|
1052
|
+
readonly internalType: "address";
|
|
1053
|
+
}, {
|
|
1054
|
+
readonly name: "assets";
|
|
1055
|
+
readonly type: "uint256";
|
|
1056
|
+
readonly indexed: false;
|
|
1057
|
+
readonly internalType: "uint256";
|
|
1058
|
+
}, {
|
|
1059
|
+
readonly name: "shares";
|
|
1060
|
+
readonly type: "uint256";
|
|
1061
|
+
readonly indexed: false;
|
|
1062
|
+
readonly internalType: "uint256";
|
|
1063
|
+
}];
|
|
1064
|
+
readonly anonymous: false;
|
|
1065
1065
|
}];
|
|
1066
1066
|
static createInterface(): IPoolV3Interface;
|
|
1067
1067
|
static connect(address: string, signerOrProvider: Signer | Provider): IPoolV3;
|