@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,1387 +7,1387 @@ exports.IPoolV3__factory = void 0;
|
|
|
7
7
|
const ethers_1 = require("ethers");
|
|
8
8
|
const _abi = [
|
|
9
9
|
{
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
type: "function",
|
|
11
|
+
name: "DOMAIN_SEPARATOR",
|
|
12
|
+
inputs: [],
|
|
13
|
+
outputs: [
|
|
12
14
|
{
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
name: "",
|
|
16
|
+
type: "bytes32",
|
|
17
|
+
internalType: "bytes32",
|
|
18
|
+
},
|
|
19
|
+
],
|
|
20
|
+
stateMutability: "view",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
type: "function",
|
|
24
|
+
name: "addressProvider",
|
|
25
|
+
inputs: [],
|
|
26
|
+
outputs: [
|
|
27
|
+
{
|
|
28
|
+
name: "",
|
|
16
29
|
type: "address",
|
|
30
|
+
internalType: "address",
|
|
17
31
|
},
|
|
18
32
|
],
|
|
19
|
-
|
|
20
|
-
type: "event",
|
|
33
|
+
stateMutability: "view",
|
|
21
34
|
},
|
|
22
35
|
{
|
|
23
|
-
|
|
36
|
+
type: "function",
|
|
37
|
+
name: "allowance",
|
|
24
38
|
inputs: [
|
|
25
39
|
{
|
|
26
|
-
indexed: true,
|
|
27
|
-
internalType: "address",
|
|
28
40
|
name: "owner",
|
|
29
41
|
type: "address",
|
|
42
|
+
internalType: "address",
|
|
30
43
|
},
|
|
31
44
|
{
|
|
32
|
-
indexed: true,
|
|
33
|
-
internalType: "address",
|
|
34
45
|
name: "spender",
|
|
35
46
|
type: "address",
|
|
47
|
+
internalType: "address",
|
|
36
48
|
},
|
|
49
|
+
],
|
|
50
|
+
outputs: [
|
|
37
51
|
{
|
|
38
|
-
|
|
39
|
-
internalType: "uint256",
|
|
40
|
-
name: "value",
|
|
52
|
+
name: "",
|
|
41
53
|
type: "uint256",
|
|
54
|
+
internalType: "uint256",
|
|
42
55
|
},
|
|
43
56
|
],
|
|
44
|
-
|
|
45
|
-
type: "event",
|
|
57
|
+
stateMutability: "view",
|
|
46
58
|
},
|
|
47
59
|
{
|
|
48
|
-
|
|
60
|
+
type: "function",
|
|
61
|
+
name: "approve",
|
|
49
62
|
inputs: [
|
|
50
63
|
{
|
|
51
|
-
|
|
52
|
-
internalType: "address",
|
|
53
|
-
name: "creditManager",
|
|
64
|
+
name: "spender",
|
|
54
65
|
type: "address",
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
indexed: true,
|
|
58
66
|
internalType: "address",
|
|
59
|
-
name: "creditAccount",
|
|
60
|
-
type: "address",
|
|
61
67
|
},
|
|
62
68
|
{
|
|
63
|
-
indexed: false,
|
|
64
|
-
internalType: "uint256",
|
|
65
69
|
name: "amount",
|
|
66
70
|
type: "uint256",
|
|
71
|
+
internalType: "uint256",
|
|
67
72
|
},
|
|
68
73
|
],
|
|
69
|
-
|
|
70
|
-
|
|
74
|
+
outputs: [
|
|
75
|
+
{
|
|
76
|
+
name: "",
|
|
77
|
+
type: "bool",
|
|
78
|
+
internalType: "bool",
|
|
79
|
+
},
|
|
80
|
+
],
|
|
81
|
+
stateMutability: "nonpayable",
|
|
71
82
|
},
|
|
72
83
|
{
|
|
73
|
-
|
|
74
|
-
|
|
84
|
+
type: "function",
|
|
85
|
+
name: "asset",
|
|
86
|
+
inputs: [],
|
|
87
|
+
outputs: [
|
|
75
88
|
{
|
|
76
|
-
|
|
77
|
-
internalType: "address",
|
|
78
|
-
name: "sender",
|
|
89
|
+
name: "assetTokenAddress",
|
|
79
90
|
type: "address",
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
indexed: true,
|
|
83
91
|
internalType: "address",
|
|
84
|
-
name: "owner",
|
|
85
|
-
type: "address",
|
|
86
92
|
},
|
|
93
|
+
],
|
|
94
|
+
stateMutability: "view",
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
type: "function",
|
|
98
|
+
name: "availableLiquidity",
|
|
99
|
+
inputs: [],
|
|
100
|
+
outputs: [
|
|
87
101
|
{
|
|
88
|
-
|
|
89
|
-
internalType: "uint256",
|
|
90
|
-
name: "assets",
|
|
102
|
+
name: "",
|
|
91
103
|
type: "uint256",
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
indexed: false,
|
|
95
104
|
internalType: "uint256",
|
|
96
|
-
name: "shares",
|
|
97
|
-
type: "uint256",
|
|
98
105
|
},
|
|
99
106
|
],
|
|
100
|
-
|
|
101
|
-
type: "event",
|
|
107
|
+
stateMutability: "view",
|
|
102
108
|
},
|
|
103
109
|
{
|
|
104
|
-
|
|
110
|
+
type: "function",
|
|
111
|
+
name: "balanceOf",
|
|
105
112
|
inputs: [
|
|
106
113
|
{
|
|
107
|
-
|
|
108
|
-
internalType: "address",
|
|
109
|
-
name: "creditManager",
|
|
114
|
+
name: "account",
|
|
110
115
|
type: "address",
|
|
116
|
+
internalType: "address",
|
|
111
117
|
},
|
|
118
|
+
],
|
|
119
|
+
outputs: [
|
|
112
120
|
{
|
|
113
|
-
|
|
114
|
-
internalType: "uint256",
|
|
115
|
-
name: "loss",
|
|
121
|
+
name: "",
|
|
116
122
|
type: "uint256",
|
|
123
|
+
internalType: "uint256",
|
|
117
124
|
},
|
|
118
125
|
],
|
|
119
|
-
|
|
120
|
-
type: "event",
|
|
126
|
+
stateMutability: "view",
|
|
121
127
|
},
|
|
122
128
|
{
|
|
123
|
-
|
|
124
|
-
|
|
129
|
+
type: "function",
|
|
130
|
+
name: "baseInterestIndex",
|
|
131
|
+
inputs: [],
|
|
132
|
+
outputs: [
|
|
125
133
|
{
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
type: "address",
|
|
134
|
+
name: "",
|
|
135
|
+
type: "uint256",
|
|
136
|
+
internalType: "uint256",
|
|
130
137
|
},
|
|
138
|
+
],
|
|
139
|
+
stateMutability: "view",
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
type: "function",
|
|
143
|
+
name: "baseInterestIndexLU",
|
|
144
|
+
inputs: [],
|
|
145
|
+
outputs: [
|
|
131
146
|
{
|
|
132
|
-
|
|
133
|
-
internalType: "uint256",
|
|
134
|
-
name: "referralCode",
|
|
147
|
+
name: "",
|
|
135
148
|
type: "uint256",
|
|
149
|
+
internalType: "uint256",
|
|
136
150
|
},
|
|
151
|
+
],
|
|
152
|
+
stateMutability: "view",
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
type: "function",
|
|
156
|
+
name: "baseInterestRate",
|
|
157
|
+
inputs: [],
|
|
158
|
+
outputs: [
|
|
137
159
|
{
|
|
138
|
-
|
|
139
|
-
internalType: "uint256",
|
|
140
|
-
name: "amount",
|
|
160
|
+
name: "",
|
|
141
161
|
type: "uint256",
|
|
162
|
+
internalType: "uint256",
|
|
142
163
|
},
|
|
143
164
|
],
|
|
144
|
-
|
|
145
|
-
type: "event",
|
|
165
|
+
stateMutability: "view",
|
|
146
166
|
},
|
|
147
167
|
{
|
|
148
|
-
|
|
168
|
+
type: "function",
|
|
169
|
+
name: "convertToAssets",
|
|
149
170
|
inputs: [
|
|
150
171
|
{
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
type: "address",
|
|
172
|
+
name: "shares",
|
|
173
|
+
type: "uint256",
|
|
174
|
+
internalType: "uint256",
|
|
155
175
|
},
|
|
176
|
+
],
|
|
177
|
+
outputs: [
|
|
156
178
|
{
|
|
157
|
-
|
|
158
|
-
internalType: "uint256",
|
|
159
|
-
name: "borrowedAmount",
|
|
179
|
+
name: "assets",
|
|
160
180
|
type: "uint256",
|
|
181
|
+
internalType: "uint256",
|
|
161
182
|
},
|
|
183
|
+
],
|
|
184
|
+
stateMutability: "view",
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
type: "function",
|
|
188
|
+
name: "convertToShares",
|
|
189
|
+
inputs: [
|
|
162
190
|
{
|
|
163
|
-
|
|
164
|
-
internalType: "uint256",
|
|
165
|
-
name: "profit",
|
|
191
|
+
name: "assets",
|
|
166
192
|
type: "uint256",
|
|
193
|
+
internalType: "uint256",
|
|
167
194
|
},
|
|
195
|
+
],
|
|
196
|
+
outputs: [
|
|
168
197
|
{
|
|
169
|
-
|
|
170
|
-
internalType: "uint256",
|
|
171
|
-
name: "loss",
|
|
198
|
+
name: "shares",
|
|
172
199
|
type: "uint256",
|
|
200
|
+
internalType: "uint256",
|
|
173
201
|
},
|
|
174
202
|
],
|
|
175
|
-
|
|
176
|
-
type: "event",
|
|
203
|
+
stateMutability: "view",
|
|
177
204
|
},
|
|
178
205
|
{
|
|
179
|
-
|
|
206
|
+
type: "function",
|
|
207
|
+
name: "creditManagerBorrowable",
|
|
180
208
|
inputs: [
|
|
181
209
|
{
|
|
182
|
-
indexed: true,
|
|
183
|
-
internalType: "address",
|
|
184
210
|
name: "creditManager",
|
|
185
211
|
type: "address",
|
|
212
|
+
internalType: "address",
|
|
186
213
|
},
|
|
214
|
+
],
|
|
215
|
+
outputs: [
|
|
187
216
|
{
|
|
188
|
-
|
|
189
|
-
internalType: "uint256",
|
|
190
|
-
name: "newLimit",
|
|
217
|
+
name: "borrowable",
|
|
191
218
|
type: "uint256",
|
|
219
|
+
internalType: "uint256",
|
|
192
220
|
},
|
|
193
221
|
],
|
|
194
|
-
|
|
195
|
-
type: "event",
|
|
222
|
+
stateMutability: "view",
|
|
196
223
|
},
|
|
197
224
|
{
|
|
198
|
-
|
|
225
|
+
type: "function",
|
|
226
|
+
name: "creditManagerBorrowed",
|
|
199
227
|
inputs: [
|
|
200
228
|
{
|
|
201
|
-
|
|
202
|
-
internalType: "address",
|
|
203
|
-
name: "newInterestRateModel",
|
|
229
|
+
name: "creditManager",
|
|
204
230
|
type: "address",
|
|
231
|
+
internalType: "address",
|
|
205
232
|
},
|
|
206
233
|
],
|
|
207
|
-
|
|
208
|
-
type: "event",
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
anonymous: false,
|
|
212
|
-
inputs: [
|
|
234
|
+
outputs: [
|
|
213
235
|
{
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
type: "address",
|
|
236
|
+
name: "",
|
|
237
|
+
type: "uint256",
|
|
238
|
+
internalType: "uint256",
|
|
218
239
|
},
|
|
219
240
|
],
|
|
220
|
-
|
|
221
|
-
type: "event",
|
|
241
|
+
stateMutability: "view",
|
|
222
242
|
},
|
|
223
243
|
{
|
|
224
|
-
|
|
244
|
+
type: "function",
|
|
245
|
+
name: "creditManagerDebtLimit",
|
|
225
246
|
inputs: [
|
|
226
247
|
{
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
type: "uint256",
|
|
248
|
+
name: "creditManager",
|
|
249
|
+
type: "address",
|
|
250
|
+
internalType: "address",
|
|
231
251
|
},
|
|
232
252
|
],
|
|
233
|
-
|
|
234
|
-
type: "event",
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
anonymous: false,
|
|
238
|
-
inputs: [
|
|
239
|
-
{
|
|
240
|
-
indexed: false,
|
|
241
|
-
internalType: "uint256",
|
|
242
|
-
name: "fee",
|
|
243
|
-
type: "uint256",
|
|
244
|
-
},
|
|
245
|
-
],
|
|
246
|
-
name: "SetWithdrawFee",
|
|
247
|
-
type: "event",
|
|
248
|
-
},
|
|
249
|
-
{
|
|
250
|
-
anonymous: false,
|
|
251
|
-
inputs: [
|
|
252
|
-
{
|
|
253
|
-
indexed: true,
|
|
254
|
-
internalType: "address",
|
|
255
|
-
name: "from",
|
|
256
|
-
type: "address",
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
indexed: true,
|
|
260
|
-
internalType: "address",
|
|
261
|
-
name: "to",
|
|
262
|
-
type: "address",
|
|
263
|
-
},
|
|
264
|
-
{
|
|
265
|
-
indexed: false,
|
|
266
|
-
internalType: "uint256",
|
|
267
|
-
name: "value",
|
|
268
|
-
type: "uint256",
|
|
269
|
-
},
|
|
270
|
-
],
|
|
271
|
-
name: "Transfer",
|
|
272
|
-
type: "event",
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
anonymous: false,
|
|
276
|
-
inputs: [
|
|
277
|
-
{
|
|
278
|
-
indexed: true,
|
|
279
|
-
internalType: "address",
|
|
280
|
-
name: "sender",
|
|
281
|
-
type: "address",
|
|
282
|
-
},
|
|
283
|
-
{
|
|
284
|
-
indexed: true,
|
|
285
|
-
internalType: "address",
|
|
286
|
-
name: "receiver",
|
|
287
|
-
type: "address",
|
|
288
|
-
},
|
|
289
|
-
{
|
|
290
|
-
indexed: true,
|
|
291
|
-
internalType: "address",
|
|
292
|
-
name: "owner",
|
|
293
|
-
type: "address",
|
|
294
|
-
},
|
|
253
|
+
outputs: [
|
|
295
254
|
{
|
|
296
|
-
|
|
297
|
-
internalType: "uint256",
|
|
298
|
-
name: "assets",
|
|
255
|
+
name: "",
|
|
299
256
|
type: "uint256",
|
|
300
|
-
},
|
|
301
|
-
{
|
|
302
|
-
indexed: false,
|
|
303
257
|
internalType: "uint256",
|
|
304
|
-
name: "shares",
|
|
305
|
-
type: "uint256",
|
|
306
258
|
},
|
|
307
259
|
],
|
|
308
|
-
|
|
309
|
-
type: "event",
|
|
260
|
+
stateMutability: "view",
|
|
310
261
|
},
|
|
311
262
|
{
|
|
263
|
+
type: "function",
|
|
264
|
+
name: "creditManagers",
|
|
312
265
|
inputs: [],
|
|
313
|
-
name: "DOMAIN_SEPARATOR",
|
|
314
266
|
outputs: [
|
|
315
267
|
{
|
|
316
|
-
internalType: "bytes32",
|
|
317
268
|
name: "",
|
|
318
|
-
type: "
|
|
269
|
+
type: "address[]",
|
|
270
|
+
internalType: "address[]",
|
|
319
271
|
},
|
|
320
272
|
],
|
|
321
273
|
stateMutability: "view",
|
|
322
|
-
type: "function",
|
|
323
274
|
},
|
|
324
275
|
{
|
|
276
|
+
type: "function",
|
|
277
|
+
name: "decimals",
|
|
325
278
|
inputs: [],
|
|
326
|
-
name: "addressProvider",
|
|
327
279
|
outputs: [
|
|
328
280
|
{
|
|
329
|
-
internalType: "address",
|
|
330
281
|
name: "",
|
|
331
|
-
type: "
|
|
282
|
+
type: "uint8",
|
|
283
|
+
internalType: "uint8",
|
|
332
284
|
},
|
|
333
285
|
],
|
|
334
286
|
stateMutability: "view",
|
|
335
|
-
type: "function",
|
|
336
287
|
},
|
|
337
288
|
{
|
|
289
|
+
type: "function",
|
|
290
|
+
name: "deposit",
|
|
338
291
|
inputs: [
|
|
339
292
|
{
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
293
|
+
name: "assets",
|
|
294
|
+
type: "uint256",
|
|
295
|
+
internalType: "uint256",
|
|
343
296
|
},
|
|
344
297
|
{
|
|
345
|
-
|
|
346
|
-
name: "spender",
|
|
298
|
+
name: "receiver",
|
|
347
299
|
type: "address",
|
|
300
|
+
internalType: "address",
|
|
348
301
|
},
|
|
349
302
|
],
|
|
350
|
-
name: "allowance",
|
|
351
303
|
outputs: [
|
|
352
304
|
{
|
|
353
|
-
|
|
354
|
-
name: "",
|
|
305
|
+
name: "shares",
|
|
355
306
|
type: "uint256",
|
|
307
|
+
internalType: "uint256",
|
|
356
308
|
},
|
|
357
309
|
],
|
|
358
|
-
stateMutability: "
|
|
359
|
-
type: "function",
|
|
310
|
+
stateMutability: "nonpayable",
|
|
360
311
|
},
|
|
361
312
|
{
|
|
313
|
+
type: "function",
|
|
314
|
+
name: "depositWithReferral",
|
|
362
315
|
inputs: [
|
|
363
316
|
{
|
|
364
|
-
|
|
365
|
-
|
|
317
|
+
name: "assets",
|
|
318
|
+
type: "uint256",
|
|
319
|
+
internalType: "uint256",
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
name: "receiver",
|
|
366
323
|
type: "address",
|
|
324
|
+
internalType: "address",
|
|
367
325
|
},
|
|
368
326
|
{
|
|
369
|
-
|
|
370
|
-
name: "amount",
|
|
327
|
+
name: "referralCode",
|
|
371
328
|
type: "uint256",
|
|
329
|
+
internalType: "uint256",
|
|
372
330
|
},
|
|
373
331
|
],
|
|
374
|
-
name: "approve",
|
|
375
332
|
outputs: [
|
|
376
333
|
{
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
334
|
+
name: "shares",
|
|
335
|
+
type: "uint256",
|
|
336
|
+
internalType: "uint256",
|
|
380
337
|
},
|
|
381
338
|
],
|
|
382
339
|
stateMutability: "nonpayable",
|
|
383
|
-
type: "function",
|
|
384
340
|
},
|
|
385
341
|
{
|
|
386
|
-
inputs: [],
|
|
387
|
-
name: "asset",
|
|
388
|
-
outputs: [
|
|
389
|
-
{
|
|
390
|
-
internalType: "address",
|
|
391
|
-
name: "assetTokenAddress",
|
|
392
|
-
type: "address",
|
|
393
|
-
},
|
|
394
|
-
],
|
|
395
|
-
stateMutability: "view",
|
|
396
342
|
type: "function",
|
|
397
|
-
|
|
398
|
-
{
|
|
343
|
+
name: "expectedLiquidity",
|
|
399
344
|
inputs: [],
|
|
400
|
-
name: "availableLiquidity",
|
|
401
345
|
outputs: [
|
|
402
346
|
{
|
|
403
|
-
internalType: "uint256",
|
|
404
347
|
name: "",
|
|
405
348
|
type: "uint256",
|
|
349
|
+
internalType: "uint256",
|
|
406
350
|
},
|
|
407
351
|
],
|
|
408
352
|
stateMutability: "view",
|
|
409
|
-
type: "function",
|
|
410
353
|
},
|
|
411
354
|
{
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
name: "account",
|
|
416
|
-
type: "address",
|
|
417
|
-
},
|
|
418
|
-
],
|
|
419
|
-
name: "balanceOf",
|
|
355
|
+
type: "function",
|
|
356
|
+
name: "expectedLiquidityLU",
|
|
357
|
+
inputs: [],
|
|
420
358
|
outputs: [
|
|
421
359
|
{
|
|
422
|
-
internalType: "uint256",
|
|
423
360
|
name: "",
|
|
424
361
|
type: "uint256",
|
|
362
|
+
internalType: "uint256",
|
|
425
363
|
},
|
|
426
364
|
],
|
|
427
365
|
stateMutability: "view",
|
|
428
|
-
type: "function",
|
|
429
366
|
},
|
|
430
367
|
{
|
|
368
|
+
type: "function",
|
|
369
|
+
name: "interestRateModel",
|
|
431
370
|
inputs: [],
|
|
432
|
-
name: "baseInterestIndex",
|
|
433
371
|
outputs: [
|
|
434
372
|
{
|
|
435
|
-
internalType: "uint256",
|
|
436
373
|
name: "",
|
|
437
|
-
type: "
|
|
374
|
+
type: "address",
|
|
375
|
+
internalType: "address",
|
|
438
376
|
},
|
|
439
377
|
],
|
|
440
378
|
stateMutability: "view",
|
|
441
|
-
type: "function",
|
|
442
379
|
},
|
|
443
380
|
{
|
|
381
|
+
type: "function",
|
|
382
|
+
name: "lastBaseInterestUpdate",
|
|
444
383
|
inputs: [],
|
|
445
|
-
name: "baseInterestIndexLU",
|
|
446
384
|
outputs: [
|
|
447
385
|
{
|
|
448
|
-
internalType: "uint256",
|
|
449
386
|
name: "",
|
|
450
|
-
type: "
|
|
387
|
+
type: "uint40",
|
|
388
|
+
internalType: "uint40",
|
|
451
389
|
},
|
|
452
390
|
],
|
|
453
391
|
stateMutability: "view",
|
|
454
|
-
type: "function",
|
|
455
392
|
},
|
|
456
393
|
{
|
|
394
|
+
type: "function",
|
|
395
|
+
name: "lastQuotaRevenueUpdate",
|
|
457
396
|
inputs: [],
|
|
458
|
-
name: "baseInterestRate",
|
|
459
397
|
outputs: [
|
|
460
398
|
{
|
|
461
|
-
internalType: "uint256",
|
|
462
399
|
name: "",
|
|
463
|
-
type: "
|
|
400
|
+
type: "uint40",
|
|
401
|
+
internalType: "uint40",
|
|
464
402
|
},
|
|
465
403
|
],
|
|
466
404
|
stateMutability: "view",
|
|
467
|
-
type: "function",
|
|
468
405
|
},
|
|
469
406
|
{
|
|
407
|
+
type: "function",
|
|
408
|
+
name: "lendCreditAccount",
|
|
470
409
|
inputs: [
|
|
471
410
|
{
|
|
472
|
-
|
|
473
|
-
name: "shares",
|
|
411
|
+
name: "borrowedAmount",
|
|
474
412
|
type: "uint256",
|
|
413
|
+
internalType: "uint256",
|
|
475
414
|
},
|
|
476
|
-
],
|
|
477
|
-
name: "convertToAssets",
|
|
478
|
-
outputs: [
|
|
479
415
|
{
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
416
|
+
name: "creditAccount",
|
|
417
|
+
type: "address",
|
|
418
|
+
internalType: "address",
|
|
483
419
|
},
|
|
484
420
|
],
|
|
485
|
-
|
|
486
|
-
|
|
421
|
+
outputs: [],
|
|
422
|
+
stateMutability: "nonpayable",
|
|
487
423
|
},
|
|
488
424
|
{
|
|
425
|
+
type: "function",
|
|
426
|
+
name: "maxDeposit",
|
|
489
427
|
inputs: [
|
|
490
428
|
{
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
429
|
+
name: "receiver",
|
|
430
|
+
type: "address",
|
|
431
|
+
internalType: "address",
|
|
494
432
|
},
|
|
495
433
|
],
|
|
496
|
-
name: "convertToShares",
|
|
497
434
|
outputs: [
|
|
498
435
|
{
|
|
499
|
-
|
|
500
|
-
name: "shares",
|
|
436
|
+
name: "maxAssets",
|
|
501
437
|
type: "uint256",
|
|
438
|
+
internalType: "uint256",
|
|
502
439
|
},
|
|
503
440
|
],
|
|
504
441
|
stateMutability: "view",
|
|
505
|
-
type: "function",
|
|
506
442
|
},
|
|
507
443
|
{
|
|
444
|
+
type: "function",
|
|
445
|
+
name: "maxMint",
|
|
508
446
|
inputs: [
|
|
509
447
|
{
|
|
510
|
-
|
|
511
|
-
name: "creditManager",
|
|
448
|
+
name: "receiver",
|
|
512
449
|
type: "address",
|
|
450
|
+
internalType: "address",
|
|
513
451
|
},
|
|
514
452
|
],
|
|
515
|
-
name: "creditManagerBorrowable",
|
|
516
453
|
outputs: [
|
|
517
454
|
{
|
|
518
|
-
|
|
519
|
-
name: "borrowable",
|
|
455
|
+
name: "maxShares",
|
|
520
456
|
type: "uint256",
|
|
457
|
+
internalType: "uint256",
|
|
521
458
|
},
|
|
522
459
|
],
|
|
523
460
|
stateMutability: "view",
|
|
524
|
-
type: "function",
|
|
525
461
|
},
|
|
526
462
|
{
|
|
463
|
+
type: "function",
|
|
464
|
+
name: "maxRedeem",
|
|
527
465
|
inputs: [
|
|
528
466
|
{
|
|
529
|
-
|
|
530
|
-
name: "creditManager",
|
|
467
|
+
name: "owner",
|
|
531
468
|
type: "address",
|
|
469
|
+
internalType: "address",
|
|
532
470
|
},
|
|
533
471
|
],
|
|
534
|
-
name: "creditManagerBorrowed",
|
|
535
472
|
outputs: [
|
|
536
473
|
{
|
|
537
|
-
|
|
538
|
-
name: "",
|
|
474
|
+
name: "maxShares",
|
|
539
475
|
type: "uint256",
|
|
476
|
+
internalType: "uint256",
|
|
540
477
|
},
|
|
541
478
|
],
|
|
542
479
|
stateMutability: "view",
|
|
543
|
-
type: "function",
|
|
544
480
|
},
|
|
545
481
|
{
|
|
482
|
+
type: "function",
|
|
483
|
+
name: "maxWithdraw",
|
|
546
484
|
inputs: [
|
|
547
485
|
{
|
|
548
|
-
|
|
549
|
-
name: "creditManager",
|
|
486
|
+
name: "owner",
|
|
550
487
|
type: "address",
|
|
488
|
+
internalType: "address",
|
|
551
489
|
},
|
|
552
490
|
],
|
|
553
|
-
name: "creditManagerDebtLimit",
|
|
554
491
|
outputs: [
|
|
555
492
|
{
|
|
556
|
-
|
|
557
|
-
name: "",
|
|
493
|
+
name: "maxAssets",
|
|
558
494
|
type: "uint256",
|
|
495
|
+
internalType: "uint256",
|
|
559
496
|
},
|
|
560
497
|
],
|
|
561
498
|
stateMutability: "view",
|
|
562
|
-
type: "function",
|
|
563
|
-
},
|
|
564
|
-
{
|
|
565
|
-
inputs: [],
|
|
566
|
-
name: "creditManagers",
|
|
567
|
-
outputs: [
|
|
568
|
-
{
|
|
569
|
-
internalType: "address[]",
|
|
570
|
-
name: "",
|
|
571
|
-
type: "address[]",
|
|
572
|
-
},
|
|
573
|
-
],
|
|
574
|
-
stateMutability: "view",
|
|
575
|
-
type: "function",
|
|
576
499
|
},
|
|
577
500
|
{
|
|
578
|
-
inputs: [],
|
|
579
|
-
name: "decimals",
|
|
580
|
-
outputs: [
|
|
581
|
-
{
|
|
582
|
-
internalType: "uint8",
|
|
583
|
-
name: "",
|
|
584
|
-
type: "uint8",
|
|
585
|
-
},
|
|
586
|
-
],
|
|
587
|
-
stateMutability: "view",
|
|
588
501
|
type: "function",
|
|
589
|
-
|
|
590
|
-
{
|
|
502
|
+
name: "mint",
|
|
591
503
|
inputs: [
|
|
592
504
|
{
|
|
593
|
-
|
|
594
|
-
name: "assets",
|
|
505
|
+
name: "shares",
|
|
595
506
|
type: "uint256",
|
|
507
|
+
internalType: "uint256",
|
|
596
508
|
},
|
|
597
509
|
{
|
|
598
|
-
internalType: "address",
|
|
599
510
|
name: "receiver",
|
|
600
511
|
type: "address",
|
|
512
|
+
internalType: "address",
|
|
601
513
|
},
|
|
602
514
|
],
|
|
603
|
-
name: "deposit",
|
|
604
515
|
outputs: [
|
|
605
516
|
{
|
|
606
|
-
|
|
607
|
-
name: "shares",
|
|
517
|
+
name: "assets",
|
|
608
518
|
type: "uint256",
|
|
519
|
+
internalType: "uint256",
|
|
609
520
|
},
|
|
610
521
|
],
|
|
611
522
|
stateMutability: "nonpayable",
|
|
612
|
-
type: "function",
|
|
613
523
|
},
|
|
614
524
|
{
|
|
525
|
+
type: "function",
|
|
526
|
+
name: "mintWithReferral",
|
|
615
527
|
inputs: [
|
|
616
528
|
{
|
|
617
|
-
|
|
618
|
-
name: "assets",
|
|
529
|
+
name: "shares",
|
|
619
530
|
type: "uint256",
|
|
531
|
+
internalType: "uint256",
|
|
620
532
|
},
|
|
621
533
|
{
|
|
622
|
-
internalType: "address",
|
|
623
534
|
name: "receiver",
|
|
624
535
|
type: "address",
|
|
536
|
+
internalType: "address",
|
|
625
537
|
},
|
|
626
538
|
{
|
|
627
|
-
internalType: "uint256",
|
|
628
539
|
name: "referralCode",
|
|
629
540
|
type: "uint256",
|
|
541
|
+
internalType: "uint256",
|
|
630
542
|
},
|
|
631
543
|
],
|
|
632
|
-
name: "depositWithReferral",
|
|
633
544
|
outputs: [
|
|
634
545
|
{
|
|
635
|
-
|
|
636
|
-
name: "shares",
|
|
546
|
+
name: "assets",
|
|
637
547
|
type: "uint256",
|
|
548
|
+
internalType: "uint256",
|
|
638
549
|
},
|
|
639
550
|
],
|
|
640
551
|
stateMutability: "nonpayable",
|
|
641
|
-
type: "function",
|
|
642
552
|
},
|
|
643
553
|
{
|
|
554
|
+
type: "function",
|
|
555
|
+
name: "name",
|
|
644
556
|
inputs: [],
|
|
645
|
-
name: "expectedLiquidity",
|
|
646
557
|
outputs: [
|
|
647
558
|
{
|
|
648
|
-
internalType: "uint256",
|
|
649
559
|
name: "",
|
|
650
|
-
type: "
|
|
560
|
+
type: "string",
|
|
561
|
+
internalType: "string",
|
|
651
562
|
},
|
|
652
563
|
],
|
|
653
564
|
stateMutability: "view",
|
|
654
|
-
type: "function",
|
|
655
565
|
},
|
|
656
566
|
{
|
|
657
|
-
|
|
658
|
-
name: "
|
|
567
|
+
type: "function",
|
|
568
|
+
name: "nonces",
|
|
569
|
+
inputs: [
|
|
570
|
+
{
|
|
571
|
+
name: "owner",
|
|
572
|
+
type: "address",
|
|
573
|
+
internalType: "address",
|
|
574
|
+
},
|
|
575
|
+
],
|
|
659
576
|
outputs: [
|
|
660
577
|
{
|
|
661
|
-
internalType: "uint256",
|
|
662
578
|
name: "",
|
|
663
579
|
type: "uint256",
|
|
580
|
+
internalType: "uint256",
|
|
664
581
|
},
|
|
665
582
|
],
|
|
666
583
|
stateMutability: "view",
|
|
667
|
-
type: "function",
|
|
668
584
|
},
|
|
669
585
|
{
|
|
670
|
-
|
|
671
|
-
name: "
|
|
672
|
-
|
|
586
|
+
type: "function",
|
|
587
|
+
name: "permit",
|
|
588
|
+
inputs: [
|
|
673
589
|
{
|
|
590
|
+
name: "owner",
|
|
591
|
+
type: "address",
|
|
674
592
|
internalType: "address",
|
|
675
|
-
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
name: "spender",
|
|
676
596
|
type: "address",
|
|
597
|
+
internalType: "address",
|
|
677
598
|
},
|
|
678
|
-
],
|
|
679
|
-
stateMutability: "view",
|
|
680
|
-
type: "function",
|
|
681
|
-
},
|
|
682
|
-
{
|
|
683
|
-
inputs: [],
|
|
684
|
-
name: "lastBaseInterestUpdate",
|
|
685
|
-
outputs: [
|
|
686
599
|
{
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
600
|
+
name: "value",
|
|
601
|
+
type: "uint256",
|
|
602
|
+
internalType: "uint256",
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
name: "deadline",
|
|
606
|
+
type: "uint256",
|
|
607
|
+
internalType: "uint256",
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
name: "v",
|
|
611
|
+
type: "uint8",
|
|
612
|
+
internalType: "uint8",
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
name: "r",
|
|
616
|
+
type: "bytes32",
|
|
617
|
+
internalType: "bytes32",
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
name: "s",
|
|
621
|
+
type: "bytes32",
|
|
622
|
+
internalType: "bytes32",
|
|
690
623
|
},
|
|
691
624
|
],
|
|
692
|
-
|
|
693
|
-
|
|
625
|
+
outputs: [],
|
|
626
|
+
stateMutability: "nonpayable",
|
|
694
627
|
},
|
|
695
628
|
{
|
|
629
|
+
type: "function",
|
|
630
|
+
name: "poolQuotaKeeper",
|
|
696
631
|
inputs: [],
|
|
697
|
-
name: "lastQuotaRevenueUpdate",
|
|
698
632
|
outputs: [
|
|
699
633
|
{
|
|
700
|
-
internalType: "uint40",
|
|
701
634
|
name: "",
|
|
702
|
-
type: "
|
|
635
|
+
type: "address",
|
|
636
|
+
internalType: "address",
|
|
703
637
|
},
|
|
704
638
|
],
|
|
705
639
|
stateMutability: "view",
|
|
706
|
-
type: "function",
|
|
707
640
|
},
|
|
708
641
|
{
|
|
642
|
+
type: "function",
|
|
643
|
+
name: "previewDeposit",
|
|
709
644
|
inputs: [
|
|
710
645
|
{
|
|
711
|
-
|
|
712
|
-
name: "borrowedAmount",
|
|
646
|
+
name: "assets",
|
|
713
647
|
type: "uint256",
|
|
648
|
+
internalType: "uint256",
|
|
714
649
|
},
|
|
650
|
+
],
|
|
651
|
+
outputs: [
|
|
715
652
|
{
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
653
|
+
name: "shares",
|
|
654
|
+
type: "uint256",
|
|
655
|
+
internalType: "uint256",
|
|
719
656
|
},
|
|
720
657
|
],
|
|
721
|
-
|
|
722
|
-
outputs: [],
|
|
723
|
-
stateMutability: "nonpayable",
|
|
724
|
-
type: "function",
|
|
658
|
+
stateMutability: "view",
|
|
725
659
|
},
|
|
726
660
|
{
|
|
661
|
+
type: "function",
|
|
662
|
+
name: "previewMint",
|
|
727
663
|
inputs: [
|
|
728
664
|
{
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
665
|
+
name: "shares",
|
|
666
|
+
type: "uint256",
|
|
667
|
+
internalType: "uint256",
|
|
732
668
|
},
|
|
733
669
|
],
|
|
734
|
-
name: "maxDeposit",
|
|
735
670
|
outputs: [
|
|
736
671
|
{
|
|
737
|
-
|
|
738
|
-
name: "maxAssets",
|
|
672
|
+
name: "assets",
|
|
739
673
|
type: "uint256",
|
|
674
|
+
internalType: "uint256",
|
|
740
675
|
},
|
|
741
676
|
],
|
|
742
677
|
stateMutability: "view",
|
|
743
|
-
type: "function",
|
|
744
678
|
},
|
|
745
679
|
{
|
|
680
|
+
type: "function",
|
|
681
|
+
name: "previewRedeem",
|
|
746
682
|
inputs: [
|
|
747
683
|
{
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
684
|
+
name: "shares",
|
|
685
|
+
type: "uint256",
|
|
686
|
+
internalType: "uint256",
|
|
751
687
|
},
|
|
752
688
|
],
|
|
753
|
-
name: "maxMint",
|
|
754
689
|
outputs: [
|
|
755
690
|
{
|
|
756
|
-
|
|
757
|
-
name: "maxShares",
|
|
691
|
+
name: "assets",
|
|
758
692
|
type: "uint256",
|
|
693
|
+
internalType: "uint256",
|
|
759
694
|
},
|
|
760
695
|
],
|
|
761
696
|
stateMutability: "view",
|
|
762
|
-
type: "function",
|
|
763
697
|
},
|
|
764
698
|
{
|
|
699
|
+
type: "function",
|
|
700
|
+
name: "previewWithdraw",
|
|
765
701
|
inputs: [
|
|
766
702
|
{
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
703
|
+
name: "assets",
|
|
704
|
+
type: "uint256",
|
|
705
|
+
internalType: "uint256",
|
|
770
706
|
},
|
|
771
707
|
],
|
|
772
|
-
name: "maxRedeem",
|
|
773
708
|
outputs: [
|
|
774
709
|
{
|
|
775
|
-
|
|
776
|
-
name: "maxShares",
|
|
710
|
+
name: "shares",
|
|
777
711
|
type: "uint256",
|
|
712
|
+
internalType: "uint256",
|
|
778
713
|
},
|
|
779
714
|
],
|
|
780
715
|
stateMutability: "view",
|
|
781
|
-
type: "function",
|
|
782
716
|
},
|
|
783
717
|
{
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
name: "owner",
|
|
788
|
-
type: "address",
|
|
789
|
-
},
|
|
790
|
-
],
|
|
791
|
-
name: "maxWithdraw",
|
|
718
|
+
type: "function",
|
|
719
|
+
name: "quotaRevenue",
|
|
720
|
+
inputs: [],
|
|
792
721
|
outputs: [
|
|
793
722
|
{
|
|
794
|
-
|
|
795
|
-
name: "maxAssets",
|
|
723
|
+
name: "",
|
|
796
724
|
type: "uint256",
|
|
725
|
+
internalType: "uint256",
|
|
797
726
|
},
|
|
798
727
|
],
|
|
799
728
|
stateMutability: "view",
|
|
800
|
-
type: "function",
|
|
801
729
|
},
|
|
802
730
|
{
|
|
731
|
+
type: "function",
|
|
732
|
+
name: "redeem",
|
|
803
733
|
inputs: [
|
|
804
734
|
{
|
|
805
|
-
internalType: "uint256",
|
|
806
735
|
name: "shares",
|
|
807
736
|
type: "uint256",
|
|
737
|
+
internalType: "uint256",
|
|
808
738
|
},
|
|
809
739
|
{
|
|
810
|
-
internalType: "address",
|
|
811
740
|
name: "receiver",
|
|
812
741
|
type: "address",
|
|
742
|
+
internalType: "address",
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
name: "owner",
|
|
746
|
+
type: "address",
|
|
747
|
+
internalType: "address",
|
|
813
748
|
},
|
|
814
749
|
],
|
|
815
|
-
name: "mint",
|
|
816
750
|
outputs: [
|
|
817
751
|
{
|
|
818
|
-
internalType: "uint256",
|
|
819
752
|
name: "assets",
|
|
820
753
|
type: "uint256",
|
|
754
|
+
internalType: "uint256",
|
|
821
755
|
},
|
|
822
756
|
],
|
|
823
757
|
stateMutability: "nonpayable",
|
|
824
|
-
type: "function",
|
|
825
758
|
},
|
|
826
759
|
{
|
|
760
|
+
type: "function",
|
|
761
|
+
name: "repayCreditAccount",
|
|
827
762
|
inputs: [
|
|
828
763
|
{
|
|
829
|
-
|
|
830
|
-
name: "shares",
|
|
764
|
+
name: "repaidAmount",
|
|
831
765
|
type: "uint256",
|
|
766
|
+
internalType: "uint256",
|
|
832
767
|
},
|
|
833
768
|
{
|
|
834
|
-
|
|
835
|
-
name: "receiver",
|
|
836
|
-
type: "address",
|
|
837
|
-
},
|
|
838
|
-
{
|
|
839
|
-
internalType: "uint256",
|
|
840
|
-
name: "referralCode",
|
|
769
|
+
name: "profit",
|
|
841
770
|
type: "uint256",
|
|
771
|
+
internalType: "uint256",
|
|
842
772
|
},
|
|
843
|
-
],
|
|
844
|
-
name: "mintWithReferral",
|
|
845
|
-
outputs: [
|
|
846
773
|
{
|
|
847
|
-
|
|
848
|
-
name: "assets",
|
|
774
|
+
name: "loss",
|
|
849
775
|
type: "uint256",
|
|
776
|
+
internalType: "uint256",
|
|
850
777
|
},
|
|
851
778
|
],
|
|
779
|
+
outputs: [],
|
|
852
780
|
stateMutability: "nonpayable",
|
|
853
|
-
type: "function",
|
|
854
781
|
},
|
|
855
782
|
{
|
|
856
|
-
inputs: [],
|
|
857
|
-
name: "name",
|
|
858
|
-
outputs: [
|
|
859
|
-
{
|
|
860
|
-
internalType: "string",
|
|
861
|
-
name: "",
|
|
862
|
-
type: "string",
|
|
863
|
-
},
|
|
864
|
-
],
|
|
865
|
-
stateMutability: "view",
|
|
866
783
|
type: "function",
|
|
867
|
-
|
|
868
|
-
{
|
|
784
|
+
name: "setCreditManagerDebtLimit",
|
|
869
785
|
inputs: [
|
|
870
786
|
{
|
|
871
|
-
|
|
872
|
-
name: "owner",
|
|
787
|
+
name: "creditManager",
|
|
873
788
|
type: "address",
|
|
789
|
+
internalType: "address",
|
|
874
790
|
},
|
|
875
|
-
],
|
|
876
|
-
name: "nonces",
|
|
877
|
-
outputs: [
|
|
878
791
|
{
|
|
879
|
-
|
|
880
|
-
name: "",
|
|
792
|
+
name: "newLimit",
|
|
881
793
|
type: "uint256",
|
|
794
|
+
internalType: "uint256",
|
|
882
795
|
},
|
|
883
796
|
],
|
|
884
|
-
|
|
885
|
-
|
|
797
|
+
outputs: [],
|
|
798
|
+
stateMutability: "nonpayable",
|
|
886
799
|
},
|
|
887
800
|
{
|
|
801
|
+
type: "function",
|
|
802
|
+
name: "setInterestRateModel",
|
|
888
803
|
inputs: [
|
|
889
804
|
{
|
|
890
|
-
|
|
891
|
-
name: "owner",
|
|
805
|
+
name: "newInterestRateModel",
|
|
892
806
|
type: "address",
|
|
893
|
-
},
|
|
894
|
-
{
|
|
895
807
|
internalType: "address",
|
|
896
|
-
name: "spender",
|
|
897
|
-
type: "address",
|
|
898
|
-
},
|
|
899
|
-
{
|
|
900
|
-
internalType: "uint256",
|
|
901
|
-
name: "value",
|
|
902
|
-
type: "uint256",
|
|
903
|
-
},
|
|
904
|
-
{
|
|
905
|
-
internalType: "uint256",
|
|
906
|
-
name: "deadline",
|
|
907
|
-
type: "uint256",
|
|
908
|
-
},
|
|
909
|
-
{
|
|
910
|
-
internalType: "uint8",
|
|
911
|
-
name: "v",
|
|
912
|
-
type: "uint8",
|
|
913
|
-
},
|
|
914
|
-
{
|
|
915
|
-
internalType: "bytes32",
|
|
916
|
-
name: "r",
|
|
917
|
-
type: "bytes32",
|
|
918
|
-
},
|
|
919
|
-
{
|
|
920
|
-
internalType: "bytes32",
|
|
921
|
-
name: "s",
|
|
922
|
-
type: "bytes32",
|
|
923
808
|
},
|
|
924
809
|
],
|
|
925
|
-
name: "permit",
|
|
926
810
|
outputs: [],
|
|
927
811
|
stateMutability: "nonpayable",
|
|
928
|
-
type: "function",
|
|
929
812
|
},
|
|
930
813
|
{
|
|
931
|
-
|
|
932
|
-
name: "
|
|
933
|
-
|
|
814
|
+
type: "function",
|
|
815
|
+
name: "setPoolQuotaKeeper",
|
|
816
|
+
inputs: [
|
|
934
817
|
{
|
|
935
|
-
|
|
936
|
-
name: "",
|
|
818
|
+
name: "newPoolQuotaKeeper",
|
|
937
819
|
type: "address",
|
|
820
|
+
internalType: "address",
|
|
938
821
|
},
|
|
939
822
|
],
|
|
940
|
-
|
|
941
|
-
|
|
823
|
+
outputs: [],
|
|
824
|
+
stateMutability: "nonpayable",
|
|
942
825
|
},
|
|
943
826
|
{
|
|
827
|
+
type: "function",
|
|
828
|
+
name: "setQuotaRevenue",
|
|
944
829
|
inputs: [
|
|
945
830
|
{
|
|
946
|
-
|
|
947
|
-
name: "assets",
|
|
831
|
+
name: "newQuotaRevenue",
|
|
948
832
|
type: "uint256",
|
|
833
|
+
internalType: "uint256",
|
|
949
834
|
},
|
|
950
835
|
],
|
|
951
|
-
|
|
952
|
-
|
|
836
|
+
outputs: [],
|
|
837
|
+
stateMutability: "nonpayable",
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
type: "function",
|
|
841
|
+
name: "setTotalDebtLimit",
|
|
842
|
+
inputs: [
|
|
953
843
|
{
|
|
954
|
-
|
|
955
|
-
name: "shares",
|
|
844
|
+
name: "newLimit",
|
|
956
845
|
type: "uint256",
|
|
846
|
+
internalType: "uint256",
|
|
957
847
|
},
|
|
958
848
|
],
|
|
959
|
-
|
|
960
|
-
|
|
849
|
+
outputs: [],
|
|
850
|
+
stateMutability: "nonpayable",
|
|
961
851
|
},
|
|
962
852
|
{
|
|
853
|
+
type: "function",
|
|
854
|
+
name: "setWithdrawFee",
|
|
963
855
|
inputs: [
|
|
964
856
|
{
|
|
965
|
-
|
|
966
|
-
name: "shares",
|
|
857
|
+
name: "newWithdrawFee",
|
|
967
858
|
type: "uint256",
|
|
859
|
+
internalType: "uint256",
|
|
968
860
|
},
|
|
969
861
|
],
|
|
970
|
-
|
|
862
|
+
outputs: [],
|
|
863
|
+
stateMutability: "nonpayable",
|
|
864
|
+
},
|
|
865
|
+
{
|
|
866
|
+
type: "function",
|
|
867
|
+
name: "supplyRate",
|
|
868
|
+
inputs: [],
|
|
971
869
|
outputs: [
|
|
972
870
|
{
|
|
973
|
-
|
|
974
|
-
name: "assets",
|
|
871
|
+
name: "",
|
|
975
872
|
type: "uint256",
|
|
873
|
+
internalType: "uint256",
|
|
976
874
|
},
|
|
977
875
|
],
|
|
978
876
|
stateMutability: "view",
|
|
979
|
-
type: "function",
|
|
980
877
|
},
|
|
981
878
|
{
|
|
982
|
-
|
|
879
|
+
type: "function",
|
|
880
|
+
name: "symbol",
|
|
881
|
+
inputs: [],
|
|
882
|
+
outputs: [
|
|
983
883
|
{
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
884
|
+
name: "",
|
|
885
|
+
type: "string",
|
|
886
|
+
internalType: "string",
|
|
987
887
|
},
|
|
988
888
|
],
|
|
989
|
-
|
|
889
|
+
stateMutability: "view",
|
|
890
|
+
},
|
|
891
|
+
{
|
|
892
|
+
type: "function",
|
|
893
|
+
name: "totalAssets",
|
|
894
|
+
inputs: [],
|
|
990
895
|
outputs: [
|
|
991
896
|
{
|
|
992
|
-
|
|
993
|
-
name: "assets",
|
|
897
|
+
name: "totalManagedAssets",
|
|
994
898
|
type: "uint256",
|
|
899
|
+
internalType: "uint256",
|
|
995
900
|
},
|
|
996
901
|
],
|
|
997
902
|
stateMutability: "view",
|
|
998
|
-
type: "function",
|
|
999
903
|
},
|
|
1000
904
|
{
|
|
1001
|
-
|
|
905
|
+
type: "function",
|
|
906
|
+
name: "totalBorrowed",
|
|
907
|
+
inputs: [],
|
|
908
|
+
outputs: [
|
|
1002
909
|
{
|
|
1003
|
-
|
|
1004
|
-
name: "assets",
|
|
910
|
+
name: "",
|
|
1005
911
|
type: "uint256",
|
|
912
|
+
internalType: "uint256",
|
|
1006
913
|
},
|
|
1007
914
|
],
|
|
1008
|
-
|
|
915
|
+
stateMutability: "view",
|
|
916
|
+
},
|
|
917
|
+
{
|
|
918
|
+
type: "function",
|
|
919
|
+
name: "totalDebtLimit",
|
|
920
|
+
inputs: [],
|
|
1009
921
|
outputs: [
|
|
1010
922
|
{
|
|
1011
|
-
|
|
1012
|
-
name: "shares",
|
|
923
|
+
name: "",
|
|
1013
924
|
type: "uint256",
|
|
925
|
+
internalType: "uint256",
|
|
1014
926
|
},
|
|
1015
927
|
],
|
|
1016
928
|
stateMutability: "view",
|
|
1017
|
-
type: "function",
|
|
1018
929
|
},
|
|
1019
930
|
{
|
|
931
|
+
type: "function",
|
|
932
|
+
name: "totalSupply",
|
|
1020
933
|
inputs: [],
|
|
1021
|
-
name: "quotaRevenue",
|
|
1022
934
|
outputs: [
|
|
1023
935
|
{
|
|
1024
|
-
internalType: "uint256",
|
|
1025
936
|
name: "",
|
|
1026
937
|
type: "uint256",
|
|
938
|
+
internalType: "uint256",
|
|
1027
939
|
},
|
|
1028
940
|
],
|
|
1029
941
|
stateMutability: "view",
|
|
1030
|
-
type: "function",
|
|
1031
942
|
},
|
|
1032
943
|
{
|
|
944
|
+
type: "function",
|
|
945
|
+
name: "transfer",
|
|
1033
946
|
inputs: [
|
|
1034
947
|
{
|
|
1035
|
-
|
|
1036
|
-
name: "shares",
|
|
1037
|
-
type: "uint256",
|
|
1038
|
-
},
|
|
1039
|
-
{
|
|
1040
|
-
internalType: "address",
|
|
1041
|
-
name: "receiver",
|
|
948
|
+
name: "to",
|
|
1042
949
|
type: "address",
|
|
950
|
+
internalType: "address",
|
|
1043
951
|
},
|
|
1044
952
|
{
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
953
|
+
name: "amount",
|
|
954
|
+
type: "uint256",
|
|
955
|
+
internalType: "uint256",
|
|
1048
956
|
},
|
|
1049
957
|
],
|
|
1050
|
-
name: "redeem",
|
|
1051
958
|
outputs: [
|
|
1052
959
|
{
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
960
|
+
name: "",
|
|
961
|
+
type: "bool",
|
|
962
|
+
internalType: "bool",
|
|
1056
963
|
},
|
|
1057
964
|
],
|
|
1058
965
|
stateMutability: "nonpayable",
|
|
1059
|
-
type: "function",
|
|
1060
966
|
},
|
|
1061
967
|
{
|
|
968
|
+
type: "function",
|
|
969
|
+
name: "transferFrom",
|
|
1062
970
|
inputs: [
|
|
1063
971
|
{
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
972
|
+
name: "from",
|
|
973
|
+
type: "address",
|
|
974
|
+
internalType: "address",
|
|
1067
975
|
},
|
|
1068
976
|
{
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
977
|
+
name: "to",
|
|
978
|
+
type: "address",
|
|
979
|
+
internalType: "address",
|
|
1072
980
|
},
|
|
1073
981
|
{
|
|
1074
|
-
|
|
1075
|
-
name: "loss",
|
|
982
|
+
name: "amount",
|
|
1076
983
|
type: "uint256",
|
|
984
|
+
internalType: "uint256",
|
|
985
|
+
},
|
|
986
|
+
],
|
|
987
|
+
outputs: [
|
|
988
|
+
{
|
|
989
|
+
name: "",
|
|
990
|
+
type: "bool",
|
|
991
|
+
internalType: "bool",
|
|
1077
992
|
},
|
|
1078
993
|
],
|
|
1079
|
-
name: "repayCreditAccount",
|
|
1080
|
-
outputs: [],
|
|
1081
994
|
stateMutability: "nonpayable",
|
|
1082
|
-
type: "function",
|
|
1083
995
|
},
|
|
1084
996
|
{
|
|
1085
|
-
|
|
997
|
+
type: "function",
|
|
998
|
+
name: "treasury",
|
|
999
|
+
inputs: [],
|
|
1000
|
+
outputs: [
|
|
1086
1001
|
{
|
|
1087
|
-
|
|
1088
|
-
name: "creditManager",
|
|
1002
|
+
name: "",
|
|
1089
1003
|
type: "address",
|
|
1090
|
-
|
|
1091
|
-
{
|
|
1092
|
-
internalType: "uint256",
|
|
1093
|
-
name: "newLimit",
|
|
1094
|
-
type: "uint256",
|
|
1004
|
+
internalType: "address",
|
|
1095
1005
|
},
|
|
1096
1006
|
],
|
|
1097
|
-
|
|
1098
|
-
outputs: [],
|
|
1099
|
-
stateMutability: "nonpayable",
|
|
1100
|
-
type: "function",
|
|
1007
|
+
stateMutability: "view",
|
|
1101
1008
|
},
|
|
1102
1009
|
{
|
|
1103
|
-
|
|
1010
|
+
type: "function",
|
|
1011
|
+
name: "underlyingToken",
|
|
1012
|
+
inputs: [],
|
|
1013
|
+
outputs: [
|
|
1104
1014
|
{
|
|
1105
|
-
|
|
1106
|
-
name: "newInterestRateModel",
|
|
1015
|
+
name: "",
|
|
1107
1016
|
type: "address",
|
|
1017
|
+
internalType: "address",
|
|
1108
1018
|
},
|
|
1109
1019
|
],
|
|
1110
|
-
|
|
1111
|
-
outputs: [],
|
|
1112
|
-
stateMutability: "nonpayable",
|
|
1113
|
-
type: "function",
|
|
1020
|
+
stateMutability: "view",
|
|
1114
1021
|
},
|
|
1115
1022
|
{
|
|
1023
|
+
type: "function",
|
|
1024
|
+
name: "updateQuotaRevenue",
|
|
1116
1025
|
inputs: [
|
|
1117
1026
|
{
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1027
|
+
name: "quotaRevenueDelta",
|
|
1028
|
+
type: "int256",
|
|
1029
|
+
internalType: "int256",
|
|
1121
1030
|
},
|
|
1122
1031
|
],
|
|
1123
|
-
name: "setPoolQuotaKeeper",
|
|
1124
1032
|
outputs: [],
|
|
1125
1033
|
stateMutability: "nonpayable",
|
|
1126
|
-
type: "function",
|
|
1127
1034
|
},
|
|
1128
1035
|
{
|
|
1129
|
-
|
|
1036
|
+
type: "function",
|
|
1037
|
+
name: "version",
|
|
1038
|
+
inputs: [],
|
|
1039
|
+
outputs: [
|
|
1130
1040
|
{
|
|
1131
|
-
|
|
1132
|
-
name: "newQuotaRevenue",
|
|
1041
|
+
name: "",
|
|
1133
1042
|
type: "uint256",
|
|
1043
|
+
internalType: "uint256",
|
|
1134
1044
|
},
|
|
1135
1045
|
],
|
|
1136
|
-
|
|
1137
|
-
outputs: [],
|
|
1138
|
-
stateMutability: "nonpayable",
|
|
1139
|
-
type: "function",
|
|
1046
|
+
stateMutability: "view",
|
|
1140
1047
|
},
|
|
1141
1048
|
{
|
|
1049
|
+
type: "function",
|
|
1050
|
+
name: "withdraw",
|
|
1142
1051
|
inputs: [
|
|
1143
1052
|
{
|
|
1144
|
-
|
|
1145
|
-
name: "newLimit",
|
|
1053
|
+
name: "assets",
|
|
1146
1054
|
type: "uint256",
|
|
1055
|
+
internalType: "uint256",
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
name: "receiver",
|
|
1059
|
+
type: "address",
|
|
1060
|
+
internalType: "address",
|
|
1061
|
+
},
|
|
1062
|
+
{
|
|
1063
|
+
name: "owner",
|
|
1064
|
+
type: "address",
|
|
1065
|
+
internalType: "address",
|
|
1147
1066
|
},
|
|
1148
1067
|
],
|
|
1149
|
-
|
|
1150
|
-
outputs: [],
|
|
1151
|
-
stateMutability: "nonpayable",
|
|
1152
|
-
type: "function",
|
|
1153
|
-
},
|
|
1154
|
-
{
|
|
1155
|
-
inputs: [
|
|
1068
|
+
outputs: [
|
|
1156
1069
|
{
|
|
1157
|
-
|
|
1158
|
-
name: "newWithdrawFee",
|
|
1070
|
+
name: "shares",
|
|
1159
1071
|
type: "uint256",
|
|
1072
|
+
internalType: "uint256",
|
|
1160
1073
|
},
|
|
1161
1074
|
],
|
|
1162
|
-
name: "setWithdrawFee",
|
|
1163
|
-
outputs: [],
|
|
1164
1075
|
stateMutability: "nonpayable",
|
|
1165
|
-
type: "function",
|
|
1166
1076
|
},
|
|
1167
1077
|
{
|
|
1078
|
+
type: "function",
|
|
1079
|
+
name: "withdrawFee",
|
|
1168
1080
|
inputs: [],
|
|
1169
|
-
name: "supplyRate",
|
|
1170
1081
|
outputs: [
|
|
1171
1082
|
{
|
|
1172
|
-
internalType: "uint256",
|
|
1173
1083
|
name: "",
|
|
1174
|
-
type: "
|
|
1084
|
+
type: "uint16",
|
|
1085
|
+
internalType: "uint16",
|
|
1175
1086
|
},
|
|
1176
1087
|
],
|
|
1177
1088
|
stateMutability: "view",
|
|
1178
|
-
type: "function",
|
|
1179
1089
|
},
|
|
1180
1090
|
{
|
|
1181
|
-
|
|
1182
|
-
name: "
|
|
1183
|
-
|
|
1091
|
+
type: "event",
|
|
1092
|
+
name: "AddCreditManager",
|
|
1093
|
+
inputs: [
|
|
1184
1094
|
{
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1095
|
+
name: "creditManager",
|
|
1096
|
+
type: "address",
|
|
1097
|
+
indexed: true,
|
|
1098
|
+
internalType: "address",
|
|
1188
1099
|
},
|
|
1189
1100
|
],
|
|
1190
|
-
|
|
1191
|
-
type: "function",
|
|
1101
|
+
anonymous: false,
|
|
1192
1102
|
},
|
|
1193
1103
|
{
|
|
1194
|
-
|
|
1195
|
-
name: "
|
|
1196
|
-
|
|
1104
|
+
type: "event",
|
|
1105
|
+
name: "Approval",
|
|
1106
|
+
inputs: [
|
|
1197
1107
|
{
|
|
1198
|
-
|
|
1199
|
-
|
|
1108
|
+
name: "owner",
|
|
1109
|
+
type: "address",
|
|
1110
|
+
indexed: true,
|
|
1111
|
+
internalType: "address",
|
|
1112
|
+
},
|
|
1113
|
+
{
|
|
1114
|
+
name: "spender",
|
|
1115
|
+
type: "address",
|
|
1116
|
+
indexed: true,
|
|
1117
|
+
internalType: "address",
|
|
1118
|
+
},
|
|
1119
|
+
{
|
|
1120
|
+
name: "value",
|
|
1200
1121
|
type: "uint256",
|
|
1122
|
+
indexed: false,
|
|
1123
|
+
internalType: "uint256",
|
|
1201
1124
|
},
|
|
1202
1125
|
],
|
|
1203
|
-
|
|
1204
|
-
type: "function",
|
|
1126
|
+
anonymous: false,
|
|
1205
1127
|
},
|
|
1206
1128
|
{
|
|
1207
|
-
|
|
1208
|
-
name: "
|
|
1209
|
-
|
|
1129
|
+
type: "event",
|
|
1130
|
+
name: "Borrow",
|
|
1131
|
+
inputs: [
|
|
1210
1132
|
{
|
|
1211
|
-
|
|
1212
|
-
|
|
1133
|
+
name: "creditManager",
|
|
1134
|
+
type: "address",
|
|
1135
|
+
indexed: true,
|
|
1136
|
+
internalType: "address",
|
|
1137
|
+
},
|
|
1138
|
+
{
|
|
1139
|
+
name: "creditAccount",
|
|
1140
|
+
type: "address",
|
|
1141
|
+
indexed: true,
|
|
1142
|
+
internalType: "address",
|
|
1143
|
+
},
|
|
1144
|
+
{
|
|
1145
|
+
name: "amount",
|
|
1213
1146
|
type: "uint256",
|
|
1147
|
+
indexed: false,
|
|
1148
|
+
internalType: "uint256",
|
|
1214
1149
|
},
|
|
1215
1150
|
],
|
|
1216
|
-
|
|
1217
|
-
type: "function",
|
|
1151
|
+
anonymous: false,
|
|
1218
1152
|
},
|
|
1219
1153
|
{
|
|
1220
|
-
|
|
1221
|
-
name: "
|
|
1222
|
-
|
|
1154
|
+
type: "event",
|
|
1155
|
+
name: "Deposit",
|
|
1156
|
+
inputs: [
|
|
1157
|
+
{
|
|
1158
|
+
name: "sender",
|
|
1159
|
+
type: "address",
|
|
1160
|
+
indexed: true,
|
|
1161
|
+
internalType: "address",
|
|
1162
|
+
},
|
|
1163
|
+
{
|
|
1164
|
+
name: "owner",
|
|
1165
|
+
type: "address",
|
|
1166
|
+
indexed: true,
|
|
1167
|
+
internalType: "address",
|
|
1168
|
+
},
|
|
1223
1169
|
{
|
|
1170
|
+
name: "assets",
|
|
1171
|
+
type: "uint256",
|
|
1172
|
+
indexed: false,
|
|
1224
1173
|
internalType: "uint256",
|
|
1225
|
-
|
|
1174
|
+
},
|
|
1175
|
+
{
|
|
1176
|
+
name: "shares",
|
|
1226
1177
|
type: "uint256",
|
|
1178
|
+
indexed: false,
|
|
1179
|
+
internalType: "uint256",
|
|
1227
1180
|
},
|
|
1228
1181
|
],
|
|
1229
|
-
|
|
1230
|
-
type: "function",
|
|
1182
|
+
anonymous: false,
|
|
1231
1183
|
},
|
|
1232
1184
|
{
|
|
1233
|
-
|
|
1234
|
-
name: "
|
|
1235
|
-
|
|
1185
|
+
type: "event",
|
|
1186
|
+
name: "IncurUncoveredLoss",
|
|
1187
|
+
inputs: [
|
|
1236
1188
|
{
|
|
1237
|
-
|
|
1238
|
-
|
|
1189
|
+
name: "creditManager",
|
|
1190
|
+
type: "address",
|
|
1191
|
+
indexed: true,
|
|
1192
|
+
internalType: "address",
|
|
1193
|
+
},
|
|
1194
|
+
{
|
|
1195
|
+
name: "loss",
|
|
1239
1196
|
type: "uint256",
|
|
1197
|
+
indexed: false,
|
|
1198
|
+
internalType: "uint256",
|
|
1240
1199
|
},
|
|
1241
1200
|
],
|
|
1242
|
-
|
|
1243
|
-
type: "function",
|
|
1201
|
+
anonymous: false,
|
|
1244
1202
|
},
|
|
1245
1203
|
{
|
|
1204
|
+
type: "event",
|
|
1205
|
+
name: "Refer",
|
|
1246
1206
|
inputs: [
|
|
1247
1207
|
{
|
|
1248
|
-
|
|
1249
|
-
name: "to",
|
|
1208
|
+
name: "onBehalfOf",
|
|
1250
1209
|
type: "address",
|
|
1210
|
+
indexed: true,
|
|
1211
|
+
internalType: "address",
|
|
1251
1212
|
},
|
|
1252
1213
|
{
|
|
1253
|
-
|
|
1254
|
-
name: "amount",
|
|
1214
|
+
name: "referralCode",
|
|
1255
1215
|
type: "uint256",
|
|
1216
|
+
indexed: true,
|
|
1217
|
+
internalType: "uint256",
|
|
1256
1218
|
},
|
|
1257
|
-
],
|
|
1258
|
-
name: "transfer",
|
|
1259
|
-
outputs: [
|
|
1260
1219
|
{
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1220
|
+
name: "amount",
|
|
1221
|
+
type: "uint256",
|
|
1222
|
+
indexed: false,
|
|
1223
|
+
internalType: "uint256",
|
|
1264
1224
|
},
|
|
1265
1225
|
],
|
|
1266
|
-
|
|
1267
|
-
type: "function",
|
|
1226
|
+
anonymous: false,
|
|
1268
1227
|
},
|
|
1269
1228
|
{
|
|
1229
|
+
type: "event",
|
|
1230
|
+
name: "Repay",
|
|
1270
1231
|
inputs: [
|
|
1271
1232
|
{
|
|
1272
|
-
|
|
1273
|
-
name: "from",
|
|
1233
|
+
name: "creditManager",
|
|
1274
1234
|
type: "address",
|
|
1235
|
+
indexed: true,
|
|
1236
|
+
internalType: "address",
|
|
1275
1237
|
},
|
|
1276
1238
|
{
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1239
|
+
name: "borrowedAmount",
|
|
1240
|
+
type: "uint256",
|
|
1241
|
+
indexed: false,
|
|
1242
|
+
internalType: "uint256",
|
|
1280
1243
|
},
|
|
1281
1244
|
{
|
|
1245
|
+
name: "profit",
|
|
1246
|
+
type: "uint256",
|
|
1247
|
+
indexed: false,
|
|
1282
1248
|
internalType: "uint256",
|
|
1283
|
-
|
|
1249
|
+
},
|
|
1250
|
+
{
|
|
1251
|
+
name: "loss",
|
|
1284
1252
|
type: "uint256",
|
|
1253
|
+
indexed: false,
|
|
1254
|
+
internalType: "uint256",
|
|
1285
1255
|
},
|
|
1286
1256
|
],
|
|
1287
|
-
|
|
1288
|
-
|
|
1257
|
+
anonymous: false,
|
|
1258
|
+
},
|
|
1259
|
+
{
|
|
1260
|
+
type: "event",
|
|
1261
|
+
name: "SetCreditManagerDebtLimit",
|
|
1262
|
+
inputs: [
|
|
1289
1263
|
{
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1264
|
+
name: "creditManager",
|
|
1265
|
+
type: "address",
|
|
1266
|
+
indexed: true,
|
|
1267
|
+
internalType: "address",
|
|
1268
|
+
},
|
|
1269
|
+
{
|
|
1270
|
+
name: "newLimit",
|
|
1271
|
+
type: "uint256",
|
|
1272
|
+
indexed: false,
|
|
1273
|
+
internalType: "uint256",
|
|
1293
1274
|
},
|
|
1294
1275
|
],
|
|
1295
|
-
|
|
1296
|
-
type: "function",
|
|
1276
|
+
anonymous: false,
|
|
1297
1277
|
},
|
|
1298
1278
|
{
|
|
1299
|
-
|
|
1300
|
-
name: "
|
|
1301
|
-
|
|
1279
|
+
type: "event",
|
|
1280
|
+
name: "SetInterestRateModel",
|
|
1281
|
+
inputs: [
|
|
1302
1282
|
{
|
|
1303
|
-
|
|
1304
|
-
name: "",
|
|
1283
|
+
name: "newInterestRateModel",
|
|
1305
1284
|
type: "address",
|
|
1285
|
+
indexed: true,
|
|
1286
|
+
internalType: "address",
|
|
1306
1287
|
},
|
|
1307
1288
|
],
|
|
1308
|
-
|
|
1309
|
-
type: "function",
|
|
1289
|
+
anonymous: false,
|
|
1310
1290
|
},
|
|
1311
1291
|
{
|
|
1312
|
-
|
|
1313
|
-
name: "
|
|
1314
|
-
|
|
1292
|
+
type: "event",
|
|
1293
|
+
name: "SetPoolQuotaKeeper",
|
|
1294
|
+
inputs: [
|
|
1315
1295
|
{
|
|
1316
|
-
|
|
1317
|
-
name: "",
|
|
1296
|
+
name: "newPoolQuotaKeeper",
|
|
1318
1297
|
type: "address",
|
|
1298
|
+
indexed: true,
|
|
1299
|
+
internalType: "address",
|
|
1319
1300
|
},
|
|
1320
1301
|
],
|
|
1321
|
-
|
|
1322
|
-
type: "function",
|
|
1302
|
+
anonymous: false,
|
|
1323
1303
|
},
|
|
1324
1304
|
{
|
|
1305
|
+
type: "event",
|
|
1306
|
+
name: "SetTotalDebtLimit",
|
|
1325
1307
|
inputs: [
|
|
1326
1308
|
{
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1309
|
+
name: "limit",
|
|
1310
|
+
type: "uint256",
|
|
1311
|
+
indexed: false,
|
|
1312
|
+
internalType: "uint256",
|
|
1330
1313
|
},
|
|
1331
1314
|
],
|
|
1332
|
-
|
|
1333
|
-
outputs: [],
|
|
1334
|
-
stateMutability: "nonpayable",
|
|
1335
|
-
type: "function",
|
|
1315
|
+
anonymous: false,
|
|
1336
1316
|
},
|
|
1337
1317
|
{
|
|
1338
|
-
|
|
1339
|
-
name: "
|
|
1340
|
-
|
|
1318
|
+
type: "event",
|
|
1319
|
+
name: "SetWithdrawFee",
|
|
1320
|
+
inputs: [
|
|
1341
1321
|
{
|
|
1342
|
-
|
|
1343
|
-
name: "",
|
|
1322
|
+
name: "fee",
|
|
1344
1323
|
type: "uint256",
|
|
1324
|
+
indexed: false,
|
|
1325
|
+
internalType: "uint256",
|
|
1345
1326
|
},
|
|
1346
1327
|
],
|
|
1347
|
-
|
|
1348
|
-
type: "function",
|
|
1328
|
+
anonymous: false,
|
|
1349
1329
|
},
|
|
1350
1330
|
{
|
|
1331
|
+
type: "event",
|
|
1332
|
+
name: "Transfer",
|
|
1351
1333
|
inputs: [
|
|
1352
1334
|
{
|
|
1353
|
-
|
|
1354
|
-
|
|
1335
|
+
name: "from",
|
|
1336
|
+
type: "address",
|
|
1337
|
+
indexed: true,
|
|
1338
|
+
internalType: "address",
|
|
1339
|
+
},
|
|
1340
|
+
{
|
|
1341
|
+
name: "to",
|
|
1342
|
+
type: "address",
|
|
1343
|
+
indexed: true,
|
|
1344
|
+
internalType: "address",
|
|
1345
|
+
},
|
|
1346
|
+
{
|
|
1347
|
+
name: "value",
|
|
1355
1348
|
type: "uint256",
|
|
1349
|
+
indexed: false,
|
|
1350
|
+
internalType: "uint256",
|
|
1356
1351
|
},
|
|
1352
|
+
],
|
|
1353
|
+
anonymous: false,
|
|
1354
|
+
},
|
|
1355
|
+
{
|
|
1356
|
+
type: "event",
|
|
1357
|
+
name: "Withdraw",
|
|
1358
|
+
inputs: [
|
|
1357
1359
|
{
|
|
1360
|
+
name: "sender",
|
|
1361
|
+
type: "address",
|
|
1362
|
+
indexed: true,
|
|
1358
1363
|
internalType: "address",
|
|
1364
|
+
},
|
|
1365
|
+
{
|
|
1359
1366
|
name: "receiver",
|
|
1360
1367
|
type: "address",
|
|
1368
|
+
indexed: true,
|
|
1369
|
+
internalType: "address",
|
|
1361
1370
|
},
|
|
1362
1371
|
{
|
|
1363
|
-
internalType: "address",
|
|
1364
1372
|
name: "owner",
|
|
1365
1373
|
type: "address",
|
|
1374
|
+
indexed: true,
|
|
1375
|
+
internalType: "address",
|
|
1366
1376
|
},
|
|
1367
|
-
],
|
|
1368
|
-
name: "withdraw",
|
|
1369
|
-
outputs: [
|
|
1370
1377
|
{
|
|
1371
|
-
|
|
1372
|
-
name: "shares",
|
|
1378
|
+
name: "assets",
|
|
1373
1379
|
type: "uint256",
|
|
1380
|
+
indexed: false,
|
|
1381
|
+
internalType: "uint256",
|
|
1374
1382
|
},
|
|
1375
|
-
],
|
|
1376
|
-
stateMutability: "nonpayable",
|
|
1377
|
-
type: "function",
|
|
1378
|
-
},
|
|
1379
|
-
{
|
|
1380
|
-
inputs: [],
|
|
1381
|
-
name: "withdrawFee",
|
|
1382
|
-
outputs: [
|
|
1383
1383
|
{
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1384
|
+
name: "shares",
|
|
1385
|
+
type: "uint256",
|
|
1386
|
+
indexed: false,
|
|
1387
|
+
internalType: "uint256",
|
|
1387
1388
|
},
|
|
1388
1389
|
],
|
|
1389
|
-
|
|
1390
|
-
type: "function",
|
|
1390
|
+
anonymous: false,
|
|
1391
1391
|
},
|
|
1392
1392
|
];
|
|
1393
1393
|
class IPoolV3__factory {
|