@gearbox-protocol/sdk 3.0.0-next.5 → 3.0.0-next.51
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/contracts/IAirdropDistributor.sol +55 -0
- package/contracts/IDegenDistributor.sol +28 -0
- package/contracts/IOffchainOracle.sol +17 -0
- package/contracts/IWETHGateway.sol +33 -0
- package/contracts/IwstETHGateway.sol +24 -0
- package/contracts/index.sol +10 -3
- package/lib/apy/curveAPY.js +2 -1
- package/lib/apy/index.d.ts +2 -2
- package/lib/apy/yearnAPY.js +1 -1
- package/lib/config.d.ts +0 -1
- package/lib/config.js +1 -2
- package/lib/core/assets.d.ts +4 -4
- package/lib/core/assets.js +28 -17
- package/lib/core/creditAccount.d.ts +31 -6
- package/lib/core/creditAccount.js +101 -37
- package/lib/core/creditAccount.spec.js +693 -10
- package/lib/core/creditManager.d.ts +22 -8
- package/lib/core/creditManager.js +86 -30
- package/lib/core/events.js +14 -14
- package/lib/core/gauge.d.ts +26 -0
- package/lib/core/gauge.js +63 -0
- package/lib/core/gaugeMath.d.ts +40 -0
- package/lib/core/gaugeMath.js +108 -0
- package/lib/core/gaugeMath.spec.d.ts +1 -0
- package/lib/core/gaugeMath.spec.js +388 -0
- package/lib/core/{pool/data.d.ts → pool.d.ts} +18 -10
- package/lib/core/{pool/data.js → pool.js} +69 -24
- package/lib/core/strategy.js +2 -2
- package/lib/core/trade.d.ts +5 -23
- package/lib/core/trade.js +4 -61
- package/lib/core/transactions.d.ts +50 -3
- package/lib/core/transactions.js +136 -105
- package/lib/index.d.ts +3 -0
- package/lib/index.js +3 -0
- package/lib/parsers/abstractParser.js +1 -2
- package/lib/parsers/creditFacadeParser.d.ts +2 -1
- package/lib/parsers/creditFacadeParser.js +17 -5
- package/lib/parsers/creditFacadeParser.spec.js +2 -3
- package/lib/parsers/curveAdapterParser.js +2 -3
- package/lib/parsers/txParser.d.ts +4 -4
- package/lib/parsers/txParser.js +9 -3
- package/lib/parsers/uniV2AdapterParser.js +2 -2
- package/lib/parsers/uniV3AdapterParser.js +3 -3
- package/lib/pathfinder/core.d.ts +4 -4
- package/lib/pathfinder/pathOptions.d.ts +2 -1
- package/lib/pathfinder/pathOptions.js +20 -1
- package/lib/pathfinder/pathOptions.spec.js +2 -2
- package/lib/pathfinder/pathfinder.js +4 -3
- package/lib/pathfinder/pathfinder.spec.js +3 -1
- package/lib/payload/creditAccount.d.ts +2 -2
- package/lib/payload/gauge.d.ts +12 -0
- package/lib/payload/pool.d.ts +6 -1
- package/lib/types/IAirdropDistributor.sol/IAirdropDistributor.d.ts +124 -0
- package/lib/types/IAirdropDistributor.sol/IAirdropDistributorEvents.d.ts +73 -0
- package/lib/types/IAirdropDistributor.sol/index.d.ts +2 -0
- package/lib/types/IContractsRegister.sol/IContractsRegister.d.ts +128 -0
- package/lib/types/IContractsRegister.sol/IContractsRegisterEvents.d.ts +50 -0
- package/lib/types/IContractsRegister.sol/index.d.ts +2 -0
- package/lib/types/IConvexToken.d.ts +9 -1
- package/lib/types/IConvexV1BaseRewardPoolAdapter.d.ts +17 -1
- package/lib/types/{IConvexV1BoosterAdapter.d.ts → IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter.d.ts} +19 -4
- package/lib/types/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents.d.ts +43 -0
- package/lib/types/IConvexV1BoosterAdapter.sol/index.d.ts +2 -0
- package/lib/types/ICreditConfiguratorV3.sol/ICreditConfiguratorV3.d.ts +716 -0
- package/lib/types/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events.d.ts +275 -0
- package/lib/types/ICreditConfiguratorV3.sol/index.d.ts +2 -0
- package/lib/types/ICreditFacadeV2.sol/ICreditFacadeV2Extended.d.ts +7 -11
- package/lib/types/ICreditFacadeV3.sol/ICreditFacadeV3.d.ts +165 -20
- package/lib/types/ICreditFacadeV3.sol/ICreditFacadeV3Events.d.ts +5 -7
- package/lib/types/ICreditFacadeV3Multicall.d.ts +35 -12
- package/lib/types/ICreditManagerV3.sol/ICreditManagerV3.d.ts +273 -39
- package/lib/types/IDataCompressorV2_10.d.ts +43 -9
- package/lib/types/IDataCompressorV3_00.d.ts +140 -10
- package/lib/types/IDegenDistributor.sol/IDegenDistributor.d.ts +96 -0
- package/lib/types/IDegenDistributor.sol/IDegenDistributorEvents.d.ts +53 -0
- package/lib/types/IDegenDistributor.sol/index.d.ts +2 -0
- package/lib/types/{draft-IERC20Permit.sol/IERC20Permit.d.ts → IERC20Permit.d.ts} +1 -1
- package/lib/types/IERC20ZapperDeposits.d.ts +117 -0
- package/lib/types/IETHZapperDeposits.d.ts +66 -0
- package/lib/types/IGasPricer.d.ts +44 -0
- package/lib/types/IGasPricer.js +2 -0
- package/lib/types/IGearStakingV3.sol/IGearStakingV3.d.ts +408 -0
- package/lib/types/IGearStakingV3.sol/IGearStakingV3.js +2 -0
- package/lib/types/IGearStakingV3.sol/IGearStakingV3Events.d.ts +117 -0
- package/lib/types/IGearStakingV3.sol/IGearStakingV3Events.js +2 -0
- package/lib/types/IGearStakingV3.sol/index.d.ts +2 -0
- package/lib/types/IGearStakingV3.sol/index.js +2 -0
- package/lib/types/{ILidoV1Adapter.sol/ILidoV1Adapter.d.ts → ILidoV1Adapter.d.ts} +5 -40
- package/lib/types/ILidoV1Adapter.js +2 -0
- package/lib/types/IOffchainOracle.d.ts +58 -0
- package/lib/types/IOffchainOracle.js +2 -0
- package/lib/types/IPoolV3.sol/IPoolV3.d.ts +43 -11
- package/lib/types/IPoolV3.sol/index.d.ts +0 -1
- package/lib/types/IRouter.d.ts +11 -1
- package/lib/types/IWETHGateway.d.ts +90 -0
- package/lib/types/IWETHGateway.js +2 -0
- package/lib/types/IZapper.d.ts +130 -0
- package/lib/types/IZapper.js +2 -0
- package/lib/types/IwstETHGateway.sol/IwstETHGateWay.d.ts +70 -0
- package/lib/types/IwstETHGateway.sol/IwstETHGateWay.js +2 -0
- package/lib/types/IwstETHGateway.sol/index.d.ts +1 -0
- package/lib/types/IwstETHGateway.sol/index.js +2 -0
- package/lib/types/factories/AddressProvider__factory.d.ts +1 -1
- package/lib/types/factories/AddressProvider__factory.js +1 -1
- package/lib/types/factories/Balances.sol/BalanceOps__factory.d.ts +1 -1
- package/lib/types/factories/Balances.sol/BalanceOps__factory.js +1 -1
- package/lib/types/factories/Claimable__factory.d.ts +1 -1
- package/lib/types/factories/Claimable__factory.js +1 -1
- package/lib/types/factories/Errors__factory.d.ts +1 -1
- package/lib/types/factories/Errors__factory.js +1 -1
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributorEvents__factory.d.ts +63 -0
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributorEvents__factory.js +88 -0
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributor__factory.d.ts +119 -0
- package/lib/types/factories/IAirdropDistributor.sol/IAirdropDistributor__factory.js +161 -0
- package/lib/types/factories/IAirdropDistributor.sol/index.d.ts +2 -0
- package/lib/types/factories/IAirdropDistributor.sol/index.js +10 -0
- package/lib/types/factories/IContractsRegister.sol/IContractsRegisterEvents__factory.d.ts +28 -0
- package/lib/types/factories/IContractsRegister.sol/IContractsRegisterEvents__factory.js +45 -0
- package/lib/types/factories/{IAToken__factory.d.ts → IContractsRegister.sol/IContractsRegister__factory.d.ts} +49 -113
- package/lib/types/factories/{IAToken__factory.js → IContractsRegister.sol/IContractsRegister__factory.js} +49 -130
- package/lib/types/factories/IContractsRegister.sol/index.d.ts +2 -0
- package/lib/types/factories/IContractsRegister.sol/index.js +10 -0
- package/lib/types/factories/IConvexToken__factory.d.ts +10 -0
- package/lib/types/factories/IConvexToken__factory.js +13 -0
- package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.d.ts +20 -0
- package/lib/types/factories/IConvexV1BaseRewardPoolAdapter__factory.js +26 -0
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents__factory.d.ts +23 -0
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents__factory.js +38 -0
- package/lib/types/factories/{IConvexV1BoosterAdapter__factory.d.ts → IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory.d.ts} +16 -1
- package/lib/types/factories/{IConvexV1BoosterAdapter__factory.js → IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter__factory.js} +19 -0
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/index.d.ts +2 -0
- package/lib/types/factories/IConvexV1BoosterAdapter.sol/index.js +10 -0
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events__factory.d.ts +273 -0
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events__factory.js +357 -0
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3__factory.d.ts +605 -0
- package/lib/types/factories/ICreditConfiguratorV3.sol/ICreditConfiguratorV3__factory.js +785 -0
- package/lib/types/factories/ICreditConfiguratorV3.sol/index.d.ts +2 -0
- package/lib/types/factories/ICreditConfiguratorV3.sol/index.js +10 -0
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Extended__factory.d.ts +0 -4
- package/lib/types/factories/ICreditFacadeV2.sol/ICreditFacadeV2Extended__factory.js +0 -5
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.d.ts +1 -6
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.js +1 -7
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.d.ts +144 -13
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.js +185 -15
- package/lib/types/factories/ICreditFacadeV3Multicall__factory.d.ts +35 -5
- package/lib/types/factories/ICreditFacadeV3Multicall__factory.js +43 -5
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.d.ts +199 -25
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.js +252 -28
- package/lib/types/factories/IDataCompressorV2_10__factory.d.ts +110 -12
- package/lib/types/factories/IDataCompressorV2_10__factory.js +138 -14
- package/lib/types/factories/IDataCompressorV3_00__factory.d.ts +400 -16
- package/lib/types/factories/IDataCompressorV3_00__factory.js +508 -19
- package/lib/types/factories/IDegenDistributor.sol/IDegenDistributorEvents__factory.d.ts +38 -0
- package/lib/types/factories/{AaveV2_WrappedAToken.sol/IWrappedATokenEvents__factory.js → IDegenDistributor.sol/IDegenDistributorEvents__factory.js} +13 -25
- package/lib/types/factories/IDegenDistributor.sol/IDegenDistributor__factory.d.ts +84 -0
- package/lib/types/factories/{IPoolV3.sol/IPoolBase__factory.js → IDegenDistributor.sol/IDegenDistributor__factory.js} +46 -41
- package/lib/types/factories/IDegenDistributor.sol/index.d.ts +2 -0
- package/lib/types/factories/IDegenDistributor.sol/index.js +10 -0
- package/lib/types/factories/{draft-IERC20Permit.sol/IERC20Permit__factory.d.ts → IERC20Permit__factory.d.ts} +1 -1
- package/lib/types/factories/IERC20ZapperDeposits__factory.d.ts +120 -0
- package/lib/types/factories/IERC20ZapperDeposits__factory.js +165 -0
- package/lib/types/factories/IETHZapperDeposits__factory.d.ts +40 -0
- package/lib/types/factories/IETHZapperDeposits__factory.js +62 -0
- package/lib/types/factories/IGasPricer__factory.d.ts +22 -0
- package/lib/types/factories/{ILidoV1Adapter.sol/ILidoV1AdapterEvents__factory.js → IGasPricer__factory.js} +14 -8
- package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3Events__factory.d.ts +113 -0
- package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3Events__factory.js +152 -0
- package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3__factory.d.ts +504 -0
- package/lib/types/factories/IGearStakingV3.sol/IGearStakingV3__factory.js +660 -0
- package/lib/types/factories/IGearStakingV3.sol/index.d.ts +2 -0
- package/lib/types/factories/IGearStakingV3.sol/index.js +10 -0
- package/lib/types/factories/{ILidoV1Adapter.sol/ILidoV1Adapter__factory.d.ts → ILidoV1Adapter__factory.d.ts} +1 -35
- package/lib/types/factories/{ILidoV1Adapter.sol/ILidoV1Adapter__factory.js → ILidoV1Adapter__factory.js} +0 -44
- package/lib/types/factories/IOffchainOracle__factory.d.ts +48 -0
- package/lib/types/factories/IOffchainOracle__factory.js +72 -0
- package/lib/types/factories/IPoolV3.sol/IPoolV3__factory.d.ts +62 -14
- package/lib/types/factories/IPoolV3.sol/IPoolV3__factory.js +79 -17
- package/lib/types/factories/IPoolV3.sol/index.d.ts +0 -1
- package/lib/types/factories/IPoolV3.sol/index.js +1 -3
- package/lib/types/factories/IRouter__factory.d.ts +14 -0
- package/lib/types/factories/IRouter__factory.js +19 -0
- package/lib/types/factories/IWETHGateway__factory.d.ts +58 -0
- package/lib/types/factories/IWETHGateway__factory.js +83 -0
- package/lib/types/factories/{WERC20ZapperBase__factory.d.ts → IZapper__factory.d.ts} +57 -61
- package/lib/types/factories/{WERC20ZapperBase__factory.js → IZapper__factory.js} +65 -71
- package/lib/types/factories/{ZapperBase__factory.d.ts → IwstETHGateway.sol/IwstETHGateWay__factory.d.ts} +22 -34
- package/lib/types/factories/{ZapperBase__factory.js → IwstETHGateway.sol/IwstETHGateWay__factory.js} +22 -39
- package/lib/types/factories/IwstETHGateway.sol/index.d.ts +1 -0
- package/lib/types/factories/IwstETHGateway.sol/index.js +8 -0
- package/lib/types/factories/SafeERC20__factory.d.ts +1 -1
- package/lib/types/factories/SafeERC20__factory.js +1 -1
- package/lib/types/factories/index.d.ts +15 -12
- package/lib/types/factories/index.js +25 -23
- package/lib/types/index.d.ts +56 -38
- package/lib/types/index.js +42 -32
- package/lib/utils/formatter.d.ts +0 -3
- package/lib/utils/formatter.js +1 -67
- package/lib/utils/math.d.ts +2 -0
- package/lib/utils/math.js +2 -0
- package/lib/utils/types.d.ts +1 -0
- package/lib/watchers/creditAccountWatcher.d.ts +3 -2
- package/lib/watchers/creditAccountWatcher.js +19 -13
- package/lib/watchers/creditAccountWatcher.spec.js +18 -18
- package/lib/watchers/creditManagerWatcher.d.ts +5 -3
- package/lib/watchers/creditManagerWatcher.js +32 -10
- package/lib/watchers/creditManagerWatcher.spec.js +12 -4
- package/package.json +10 -9
- package/contracts/IRouter.sol +0 -100
- package/lib/core/pool/index.d.ts +0 -1
- package/lib/core/pool/index.js +0 -17
- package/lib/types/AaveV2_WrappedAToken.sol/IWrappedATokenEvents.d.ts +0 -60
- package/lib/types/AaveV2_WrappedAToken.sol/WrappedAToken.d.ts +0 -332
- package/lib/types/AaveV2_WrappedAToken.sol/index.d.ts +0 -2
- package/lib/types/ERC20.d.ts +0 -198
- package/lib/types/IAToken.d.ts +0 -182
- package/lib/types/ILendingPool.d.ts +0 -140
- package/lib/types/ILidoV1Adapter.sol/ILidoV1AdapterEvents.d.ts +0 -39
- package/lib/types/ILidoV1Adapter.sol/ILidoV1AdapterExceptions.d.ts +0 -27
- package/lib/types/ILidoV1Adapter.sol/index.d.ts +0 -3
- package/lib/types/IPoolV3.sol/IPoolBase.d.ts +0 -102
- package/lib/types/WATokenZapper.d.ts +0 -134
- package/lib/types/WERC20ZapperBase.d.ts +0 -134
- package/lib/types/WETHZapper.d.ts +0 -122
- package/lib/types/WstETHZapper.d.ts +0 -134
- package/lib/types/ZapperBase.d.ts +0 -70
- package/lib/types/draft-IERC20Permit.sol/index.d.ts +0 -1
- package/lib/types/factories/AaveV2_WrappedAToken.sol/IWrappedATokenEvents__factory.d.ts +0 -48
- package/lib/types/factories/AaveV2_WrappedAToken.sol/WrappedAToken__factory.d.ts +0 -397
- package/lib/types/factories/AaveV2_WrappedAToken.sol/WrappedAToken__factory.js +0 -535
- package/lib/types/factories/AaveV2_WrappedAToken.sol/index.d.ts +0 -2
- package/lib/types/factories/AaveV2_WrappedAToken.sol/index.js +0 -10
- package/lib/types/factories/ERC20__factory.d.ts +0 -239
- package/lib/types/factories/ERC20__factory.js +0 -328
- package/lib/types/factories/ILendingPool__factory.d.ts +0 -134
- package/lib/types/factories/ILendingPool__factory.js +0 -183
- package/lib/types/factories/ILidoV1Adapter.sol/ILidoV1AdapterEvents__factory.d.ts +0 -18
- package/lib/types/factories/ILidoV1Adapter.sol/ILidoV1AdapterExceptions__factory.d.ts +0 -12
- package/lib/types/factories/ILidoV1Adapter.sol/ILidoV1AdapterExceptions__factory.js +0 -24
- package/lib/types/factories/ILidoV1Adapter.sol/index.d.ts +0 -3
- package/lib/types/factories/ILidoV1Adapter.sol/index.js +0 -12
- package/lib/types/factories/IPoolV3.sol/IPoolBase__factory.d.ts +0 -80
- package/lib/types/factories/WATokenZapper__factory.d.ts +0 -161
- package/lib/types/factories/WATokenZapper__factory.js +0 -227
- package/lib/types/factories/WETHZapper__factory.d.ts +0 -138
- package/lib/types/factories/WETHZapper__factory.js +0 -198
- package/lib/types/factories/WstETHZapper__factory.d.ts +0 -161
- package/lib/types/factories/WstETHZapper__factory.js +0 -227
- package/lib/types/factories/draft-IERC20Permit.sol/index.d.ts +0 -1
- package/lib/types/factories/draft-IERC20Permit.sol/index.js +0 -8
- /package/lib/{types/AaveV2_WrappedAToken.sol/IWrappedATokenEvents.js → payload/gauge.js} +0 -0
- /package/lib/types/{AaveV2_WrappedAToken.sol/WrappedAToken.js → IAirdropDistributor.sol/IAirdropDistributor.js} +0 -0
- /package/lib/types/{AaveV2_WrappedAToken.sol/index.js → IAirdropDistributor.sol/IAirdropDistributorEvents.js} +0 -0
- /package/lib/types/{ILidoV1Adapter.sol → IAirdropDistributor.sol}/index.js +0 -0
- /package/lib/types/{ERC20.js → IContractsRegister.sol/IContractsRegister.js} +0 -0
- /package/lib/types/{IAToken.js → IContractsRegister.sol/IContractsRegisterEvents.js} +0 -0
- /package/lib/types/{draft-IERC20Permit.sol → IContractsRegister.sol}/index.js +0 -0
- /package/lib/types/{IConvexV1BoosterAdapter.js → IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapter.js} +0 -0
- /package/lib/types/{ILendingPool.js → IConvexV1BoosterAdapter.sol/IConvexV1BoosterAdapterEvents.js} +0 -0
- /package/lib/types/{ILidoV1Adapter.sol/ILidoV1Adapter.js → IConvexV1BoosterAdapter.sol/index.js} +0 -0
- /package/lib/types/{ILidoV1Adapter.sol/ILidoV1AdapterEvents.js → ICreditConfiguratorV3.sol/ICreditConfiguratorV3.js} +0 -0
- /package/lib/types/{ILidoV1Adapter.sol/ILidoV1AdapterExceptions.js → ICreditConfiguratorV3.sol/ICreditConfiguratorV3Events.js} +0 -0
- /package/lib/types/{IPoolV3.sol/IPoolBase.js → ICreditConfiguratorV3.sol/index.js} +0 -0
- /package/lib/types/{WATokenZapper.js → IDegenDistributor.sol/IDegenDistributor.js} +0 -0
- /package/lib/types/{WERC20ZapperBase.js → IDegenDistributor.sol/IDegenDistributorEvents.js} +0 -0
- /package/lib/types/{WETHZapper.js → IDegenDistributor.sol/index.js} +0 -0
- /package/lib/types/{draft-IERC20Permit.sol/IERC20Permit.js → IERC20Permit.js} +0 -0
- /package/lib/types/{WstETHZapper.js → IERC20ZapperDeposits.js} +0 -0
- /package/lib/types/{ZapperBase.js → IETHZapperDeposits.js} +0 -0
- /package/lib/types/factories/{draft-IERC20Permit.sol/IERC20Permit__factory.js → IERC20Permit__factory.js} +0 -0
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { Signer } from "ethers";
|
|
2
|
+
import type { Provider } from "@ethersproject/providers";
|
|
3
|
+
import type { IAirdropDistributor, IAirdropDistributorInterface } from "../../IAirdropDistributor.sol/IAirdropDistributor";
|
|
4
|
+
export declare class IAirdropDistributor__factory {
|
|
5
|
+
static readonly abi: readonly [{
|
|
6
|
+
readonly anonymous: false;
|
|
7
|
+
readonly inputs: readonly [{
|
|
8
|
+
readonly indexed: true;
|
|
9
|
+
readonly internalType: "address";
|
|
10
|
+
readonly name: "account";
|
|
11
|
+
readonly type: "address";
|
|
12
|
+
}, {
|
|
13
|
+
readonly indexed: false;
|
|
14
|
+
readonly internalType: "uint256";
|
|
15
|
+
readonly name: "amount";
|
|
16
|
+
readonly type: "uint256";
|
|
17
|
+
}, {
|
|
18
|
+
readonly indexed: true;
|
|
19
|
+
readonly internalType: "bool";
|
|
20
|
+
readonly name: "historic";
|
|
21
|
+
readonly type: "bool";
|
|
22
|
+
}];
|
|
23
|
+
readonly name: "Claimed";
|
|
24
|
+
readonly type: "event";
|
|
25
|
+
}, {
|
|
26
|
+
readonly anonymous: false;
|
|
27
|
+
readonly inputs: readonly [{
|
|
28
|
+
readonly indexed: false;
|
|
29
|
+
readonly internalType: "bytes32";
|
|
30
|
+
readonly name: "oldRoot";
|
|
31
|
+
readonly type: "bytes32";
|
|
32
|
+
}, {
|
|
33
|
+
readonly indexed: true;
|
|
34
|
+
readonly internalType: "bytes32";
|
|
35
|
+
readonly name: "newRoot";
|
|
36
|
+
readonly type: "bytes32";
|
|
37
|
+
}];
|
|
38
|
+
readonly name: "RootUpdated";
|
|
39
|
+
readonly type: "event";
|
|
40
|
+
}, {
|
|
41
|
+
readonly anonymous: false;
|
|
42
|
+
readonly inputs: readonly [{
|
|
43
|
+
readonly indexed: true;
|
|
44
|
+
readonly internalType: "address";
|
|
45
|
+
readonly name: "account";
|
|
46
|
+
readonly type: "address";
|
|
47
|
+
}, {
|
|
48
|
+
readonly indexed: true;
|
|
49
|
+
readonly internalType: "uint8";
|
|
50
|
+
readonly name: "campaignId";
|
|
51
|
+
readonly type: "uint8";
|
|
52
|
+
}, {
|
|
53
|
+
readonly indexed: false;
|
|
54
|
+
readonly internalType: "uint256";
|
|
55
|
+
readonly name: "amount";
|
|
56
|
+
readonly type: "uint256";
|
|
57
|
+
}];
|
|
58
|
+
readonly name: "TokenAllocated";
|
|
59
|
+
readonly type: "event";
|
|
60
|
+
}, {
|
|
61
|
+
readonly inputs: readonly [{
|
|
62
|
+
readonly internalType: "uint256";
|
|
63
|
+
readonly name: "index";
|
|
64
|
+
readonly type: "uint256";
|
|
65
|
+
}, {
|
|
66
|
+
readonly internalType: "address";
|
|
67
|
+
readonly name: "account";
|
|
68
|
+
readonly type: "address";
|
|
69
|
+
}, {
|
|
70
|
+
readonly internalType: "uint256";
|
|
71
|
+
readonly name: "totalAmount";
|
|
72
|
+
readonly type: "uint256";
|
|
73
|
+
}, {
|
|
74
|
+
readonly internalType: "bytes32[]";
|
|
75
|
+
readonly name: "merkleProof";
|
|
76
|
+
readonly type: "bytes32[]";
|
|
77
|
+
}];
|
|
78
|
+
readonly name: "claim";
|
|
79
|
+
readonly outputs: readonly [];
|
|
80
|
+
readonly stateMutability: "nonpayable";
|
|
81
|
+
readonly type: "function";
|
|
82
|
+
}, {
|
|
83
|
+
readonly inputs: readonly [{
|
|
84
|
+
readonly internalType: "address";
|
|
85
|
+
readonly name: "user";
|
|
86
|
+
readonly type: "address";
|
|
87
|
+
}];
|
|
88
|
+
readonly name: "claimed";
|
|
89
|
+
readonly outputs: readonly [{
|
|
90
|
+
readonly internalType: "uint256";
|
|
91
|
+
readonly name: "";
|
|
92
|
+
readonly type: "uint256";
|
|
93
|
+
}];
|
|
94
|
+
readonly stateMutability: "view";
|
|
95
|
+
readonly type: "function";
|
|
96
|
+
}, {
|
|
97
|
+
readonly inputs: readonly [];
|
|
98
|
+
readonly name: "merkleRoot";
|
|
99
|
+
readonly outputs: readonly [{
|
|
100
|
+
readonly internalType: "bytes32";
|
|
101
|
+
readonly name: "";
|
|
102
|
+
readonly type: "bytes32";
|
|
103
|
+
}];
|
|
104
|
+
readonly stateMutability: "view";
|
|
105
|
+
readonly type: "function";
|
|
106
|
+
}, {
|
|
107
|
+
readonly inputs: readonly [];
|
|
108
|
+
readonly name: "token";
|
|
109
|
+
readonly outputs: readonly [{
|
|
110
|
+
readonly internalType: "contract IERC20";
|
|
111
|
+
readonly name: "";
|
|
112
|
+
readonly type: "address";
|
|
113
|
+
}];
|
|
114
|
+
readonly stateMutability: "view";
|
|
115
|
+
readonly type: "function";
|
|
116
|
+
}];
|
|
117
|
+
static createInterface(): IAirdropDistributorInterface;
|
|
118
|
+
static connect(address: string, signerOrProvider: Signer | Provider): IAirdropDistributor;
|
|
119
|
+
}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* Autogenerated file. Do not edit manually. */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.IAirdropDistributor__factory = void 0;
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
anonymous: false,
|
|
11
|
+
inputs: [
|
|
12
|
+
{
|
|
13
|
+
indexed: true,
|
|
14
|
+
internalType: "address",
|
|
15
|
+
name: "account",
|
|
16
|
+
type: "address",
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
indexed: false,
|
|
20
|
+
internalType: "uint256",
|
|
21
|
+
name: "amount",
|
|
22
|
+
type: "uint256",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
indexed: true,
|
|
26
|
+
internalType: "bool",
|
|
27
|
+
name: "historic",
|
|
28
|
+
type: "bool",
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
name: "Claimed",
|
|
32
|
+
type: "event",
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
anonymous: false,
|
|
36
|
+
inputs: [
|
|
37
|
+
{
|
|
38
|
+
indexed: false,
|
|
39
|
+
internalType: "bytes32",
|
|
40
|
+
name: "oldRoot",
|
|
41
|
+
type: "bytes32",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
indexed: true,
|
|
45
|
+
internalType: "bytes32",
|
|
46
|
+
name: "newRoot",
|
|
47
|
+
type: "bytes32",
|
|
48
|
+
},
|
|
49
|
+
],
|
|
50
|
+
name: "RootUpdated",
|
|
51
|
+
type: "event",
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
anonymous: false,
|
|
55
|
+
inputs: [
|
|
56
|
+
{
|
|
57
|
+
indexed: true,
|
|
58
|
+
internalType: "address",
|
|
59
|
+
name: "account",
|
|
60
|
+
type: "address",
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
indexed: true,
|
|
64
|
+
internalType: "uint8",
|
|
65
|
+
name: "campaignId",
|
|
66
|
+
type: "uint8",
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
indexed: false,
|
|
70
|
+
internalType: "uint256",
|
|
71
|
+
name: "amount",
|
|
72
|
+
type: "uint256",
|
|
73
|
+
},
|
|
74
|
+
],
|
|
75
|
+
name: "TokenAllocated",
|
|
76
|
+
type: "event",
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
inputs: [
|
|
80
|
+
{
|
|
81
|
+
internalType: "uint256",
|
|
82
|
+
name: "index",
|
|
83
|
+
type: "uint256",
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
internalType: "address",
|
|
87
|
+
name: "account",
|
|
88
|
+
type: "address",
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
internalType: "uint256",
|
|
92
|
+
name: "totalAmount",
|
|
93
|
+
type: "uint256",
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
internalType: "bytes32[]",
|
|
97
|
+
name: "merkleProof",
|
|
98
|
+
type: "bytes32[]",
|
|
99
|
+
},
|
|
100
|
+
],
|
|
101
|
+
name: "claim",
|
|
102
|
+
outputs: [],
|
|
103
|
+
stateMutability: "nonpayable",
|
|
104
|
+
type: "function",
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
inputs: [
|
|
108
|
+
{
|
|
109
|
+
internalType: "address",
|
|
110
|
+
name: "user",
|
|
111
|
+
type: "address",
|
|
112
|
+
},
|
|
113
|
+
],
|
|
114
|
+
name: "claimed",
|
|
115
|
+
outputs: [
|
|
116
|
+
{
|
|
117
|
+
internalType: "uint256",
|
|
118
|
+
name: "",
|
|
119
|
+
type: "uint256",
|
|
120
|
+
},
|
|
121
|
+
],
|
|
122
|
+
stateMutability: "view",
|
|
123
|
+
type: "function",
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
inputs: [],
|
|
127
|
+
name: "merkleRoot",
|
|
128
|
+
outputs: [
|
|
129
|
+
{
|
|
130
|
+
internalType: "bytes32",
|
|
131
|
+
name: "",
|
|
132
|
+
type: "bytes32",
|
|
133
|
+
},
|
|
134
|
+
],
|
|
135
|
+
stateMutability: "view",
|
|
136
|
+
type: "function",
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
inputs: [],
|
|
140
|
+
name: "token",
|
|
141
|
+
outputs: [
|
|
142
|
+
{
|
|
143
|
+
internalType: "contract IERC20",
|
|
144
|
+
name: "",
|
|
145
|
+
type: "address",
|
|
146
|
+
},
|
|
147
|
+
],
|
|
148
|
+
stateMutability: "view",
|
|
149
|
+
type: "function",
|
|
150
|
+
},
|
|
151
|
+
];
|
|
152
|
+
class IAirdropDistributor__factory {
|
|
153
|
+
static abi = _abi;
|
|
154
|
+
static createInterface() {
|
|
155
|
+
return new ethers_1.utils.Interface(_abi);
|
|
156
|
+
}
|
|
157
|
+
static connect(address, signerOrProvider) {
|
|
158
|
+
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
exports.IAirdropDistributor__factory = IAirdropDistributor__factory;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IAirdropDistributorEvents__factory = exports.IAirdropDistributor__factory = void 0;
|
|
4
|
+
/* Autogenerated file. Do not edit manually. */
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
var IAirdropDistributor__factory_1 = require("./IAirdropDistributor__factory");
|
|
8
|
+
Object.defineProperty(exports, "IAirdropDistributor__factory", { enumerable: true, get: function () { return IAirdropDistributor__factory_1.IAirdropDistributor__factory; } });
|
|
9
|
+
var IAirdropDistributorEvents__factory_1 = require("./IAirdropDistributorEvents__factory");
|
|
10
|
+
Object.defineProperty(exports, "IAirdropDistributorEvents__factory", { enumerable: true, get: function () { return IAirdropDistributorEvents__factory_1.IAirdropDistributorEvents__factory; } });
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Signer } from "ethers";
|
|
2
|
+
import type { Provider } from "@ethersproject/providers";
|
|
3
|
+
import type { IContractsRegisterEvents, IContractsRegisterEventsInterface } from "../../IContractsRegister.sol/IContractsRegisterEvents";
|
|
4
|
+
export declare class IContractsRegisterEvents__factory {
|
|
5
|
+
static readonly abi: readonly [{
|
|
6
|
+
readonly anonymous: false;
|
|
7
|
+
readonly inputs: readonly [{
|
|
8
|
+
readonly indexed: true;
|
|
9
|
+
readonly internalType: "address";
|
|
10
|
+
readonly name: "creditManager";
|
|
11
|
+
readonly type: "address";
|
|
12
|
+
}];
|
|
13
|
+
readonly name: "NewCreditManagerAdded";
|
|
14
|
+
readonly type: "event";
|
|
15
|
+
}, {
|
|
16
|
+
readonly anonymous: false;
|
|
17
|
+
readonly inputs: readonly [{
|
|
18
|
+
readonly indexed: true;
|
|
19
|
+
readonly internalType: "address";
|
|
20
|
+
readonly name: "pool";
|
|
21
|
+
readonly type: "address";
|
|
22
|
+
}];
|
|
23
|
+
readonly name: "NewPoolAdded";
|
|
24
|
+
readonly type: "event";
|
|
25
|
+
}];
|
|
26
|
+
static createInterface(): IContractsRegisterEventsInterface;
|
|
27
|
+
static connect(address: string, signerOrProvider: Signer | Provider): IContractsRegisterEvents;
|
|
28
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* Autogenerated file. Do not edit manually. */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.IContractsRegisterEvents__factory = void 0;
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
anonymous: false,
|
|
11
|
+
inputs: [
|
|
12
|
+
{
|
|
13
|
+
indexed: true,
|
|
14
|
+
internalType: "address",
|
|
15
|
+
name: "creditManager",
|
|
16
|
+
type: "address",
|
|
17
|
+
},
|
|
18
|
+
],
|
|
19
|
+
name: "NewCreditManagerAdded",
|
|
20
|
+
type: "event",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
anonymous: false,
|
|
24
|
+
inputs: [
|
|
25
|
+
{
|
|
26
|
+
indexed: true,
|
|
27
|
+
internalType: "address",
|
|
28
|
+
name: "pool",
|
|
29
|
+
type: "address",
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
name: "NewPoolAdded",
|
|
33
|
+
type: "event",
|
|
34
|
+
},
|
|
35
|
+
];
|
|
36
|
+
class IContractsRegisterEvents__factory {
|
|
37
|
+
static abi = _abi;
|
|
38
|
+
static createInterface() {
|
|
39
|
+
return new ethers_1.utils.Interface(_abi);
|
|
40
|
+
}
|
|
41
|
+
static connect(address, signerOrProvider) {
|
|
42
|
+
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.IContractsRegisterEvents__factory = IContractsRegisterEvents__factory;
|
|
@@ -1,60 +1,34 @@
|
|
|
1
1
|
import { Signer } from "ethers";
|
|
2
2
|
import type { Provider } from "@ethersproject/providers";
|
|
3
|
-
import type {
|
|
4
|
-
export declare class
|
|
3
|
+
import type { IContractsRegister, IContractsRegisterInterface } from "../../IContractsRegister.sol/IContractsRegister";
|
|
4
|
+
export declare class IContractsRegister__factory {
|
|
5
5
|
static readonly abi: readonly [{
|
|
6
6
|
readonly anonymous: false;
|
|
7
7
|
readonly inputs: readonly [{
|
|
8
8
|
readonly indexed: true;
|
|
9
9
|
readonly internalType: "address";
|
|
10
|
-
readonly name: "
|
|
10
|
+
readonly name: "creditManager";
|
|
11
11
|
readonly type: "address";
|
|
12
|
-
}, {
|
|
13
|
-
readonly indexed: true;
|
|
14
|
-
readonly internalType: "address";
|
|
15
|
-
readonly name: "spender";
|
|
16
|
-
readonly type: "address";
|
|
17
|
-
}, {
|
|
18
|
-
readonly indexed: false;
|
|
19
|
-
readonly internalType: "uint256";
|
|
20
|
-
readonly name: "value";
|
|
21
|
-
readonly type: "uint256";
|
|
22
12
|
}];
|
|
23
|
-
readonly name: "
|
|
13
|
+
readonly name: "NewCreditManagerAdded";
|
|
24
14
|
readonly type: "event";
|
|
25
15
|
}, {
|
|
26
16
|
readonly anonymous: false;
|
|
27
17
|
readonly inputs: readonly [{
|
|
28
18
|
readonly indexed: true;
|
|
29
19
|
readonly internalType: "address";
|
|
30
|
-
readonly name: "
|
|
20
|
+
readonly name: "pool";
|
|
31
21
|
readonly type: "address";
|
|
32
|
-
}, {
|
|
33
|
-
readonly indexed: true;
|
|
34
|
-
readonly internalType: "address";
|
|
35
|
-
readonly name: "to";
|
|
36
|
-
readonly type: "address";
|
|
37
|
-
}, {
|
|
38
|
-
readonly indexed: false;
|
|
39
|
-
readonly internalType: "uint256";
|
|
40
|
-
readonly name: "value";
|
|
41
|
-
readonly type: "uint256";
|
|
42
22
|
}];
|
|
43
|
-
readonly name: "
|
|
23
|
+
readonly name: "NewPoolAdded";
|
|
44
24
|
readonly type: "event";
|
|
45
25
|
}, {
|
|
46
|
-
readonly inputs: readonly [
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
readonly
|
|
50
|
-
readonly name: "";
|
|
51
|
-
readonly type: "address";
|
|
26
|
+
readonly inputs: readonly [{
|
|
27
|
+
readonly internalType: "uint256";
|
|
28
|
+
readonly name: "i";
|
|
29
|
+
readonly type: "uint256";
|
|
52
30
|
}];
|
|
53
|
-
readonly
|
|
54
|
-
readonly type: "function";
|
|
55
|
-
}, {
|
|
56
|
-
readonly inputs: readonly [];
|
|
57
|
-
readonly name: "UNDERLYING_ASSET_ADDRESS";
|
|
31
|
+
readonly name: "creditManagers";
|
|
58
32
|
readonly outputs: readonly [{
|
|
59
33
|
readonly internalType: "address";
|
|
60
34
|
readonly name: "";
|
|
@@ -63,48 +37,18 @@ export declare class IAToken__factory {
|
|
|
63
37
|
readonly stateMutability: "view";
|
|
64
38
|
readonly type: "function";
|
|
65
39
|
}, {
|
|
66
|
-
readonly inputs: readonly [
|
|
67
|
-
|
|
68
|
-
readonly name: "owner";
|
|
69
|
-
readonly type: "address";
|
|
70
|
-
}, {
|
|
71
|
-
readonly internalType: "address";
|
|
72
|
-
readonly name: "spender";
|
|
73
|
-
readonly type: "address";
|
|
74
|
-
}];
|
|
75
|
-
readonly name: "allowance";
|
|
40
|
+
readonly inputs: readonly [];
|
|
41
|
+
readonly name: "getCreditManagers";
|
|
76
42
|
readonly outputs: readonly [{
|
|
77
|
-
readonly internalType: "
|
|
43
|
+
readonly internalType: "address[]";
|
|
78
44
|
readonly name: "";
|
|
79
|
-
readonly type: "
|
|
45
|
+
readonly type: "address[]";
|
|
80
46
|
}];
|
|
81
47
|
readonly stateMutability: "view";
|
|
82
48
|
readonly type: "function";
|
|
83
49
|
}, {
|
|
84
|
-
readonly inputs: readonly [
|
|
85
|
-
|
|
86
|
-
readonly name: "spender";
|
|
87
|
-
readonly type: "address";
|
|
88
|
-
}, {
|
|
89
|
-
readonly internalType: "uint256";
|
|
90
|
-
readonly name: "amount";
|
|
91
|
-
readonly type: "uint256";
|
|
92
|
-
}];
|
|
93
|
-
readonly name: "approve";
|
|
94
|
-
readonly outputs: readonly [{
|
|
95
|
-
readonly internalType: "bool";
|
|
96
|
-
readonly name: "";
|
|
97
|
-
readonly type: "bool";
|
|
98
|
-
}];
|
|
99
|
-
readonly stateMutability: "nonpayable";
|
|
100
|
-
readonly type: "function";
|
|
101
|
-
}, {
|
|
102
|
-
readonly inputs: readonly [{
|
|
103
|
-
readonly internalType: "address";
|
|
104
|
-
readonly name: "account";
|
|
105
|
-
readonly type: "address";
|
|
106
|
-
}];
|
|
107
|
-
readonly name: "balanceOf";
|
|
50
|
+
readonly inputs: readonly [];
|
|
51
|
+
readonly name: "getCreditManagersCount";
|
|
108
52
|
readonly outputs: readonly [{
|
|
109
53
|
readonly internalType: "uint256";
|
|
110
54
|
readonly name: "";
|
|
@@ -114,85 +58,77 @@ export declare class IAToken__factory {
|
|
|
114
58
|
readonly type: "function";
|
|
115
59
|
}, {
|
|
116
60
|
readonly inputs: readonly [];
|
|
117
|
-
readonly name: "
|
|
61
|
+
readonly name: "getPools";
|
|
118
62
|
readonly outputs: readonly [{
|
|
119
|
-
readonly internalType: "
|
|
63
|
+
readonly internalType: "address[]";
|
|
120
64
|
readonly name: "";
|
|
121
|
-
readonly type: "
|
|
65
|
+
readonly type: "address[]";
|
|
122
66
|
}];
|
|
123
67
|
readonly stateMutability: "view";
|
|
124
68
|
readonly type: "function";
|
|
125
69
|
}, {
|
|
126
70
|
readonly inputs: readonly [];
|
|
127
|
-
readonly name: "
|
|
71
|
+
readonly name: "getPoolsCount";
|
|
128
72
|
readonly outputs: readonly [{
|
|
129
|
-
readonly internalType: "
|
|
73
|
+
readonly internalType: "uint256";
|
|
130
74
|
readonly name: "";
|
|
131
|
-
readonly type: "
|
|
75
|
+
readonly type: "uint256";
|
|
132
76
|
}];
|
|
133
77
|
readonly stateMutability: "view";
|
|
134
78
|
readonly type: "function";
|
|
135
79
|
}, {
|
|
136
|
-
readonly inputs: readonly [
|
|
137
|
-
|
|
138
|
-
readonly outputs: readonly [{
|
|
139
|
-
readonly internalType: "string";
|
|
80
|
+
readonly inputs: readonly [{
|
|
81
|
+
readonly internalType: "address";
|
|
140
82
|
readonly name: "";
|
|
141
|
-
readonly type: "
|
|
83
|
+
readonly type: "address";
|
|
142
84
|
}];
|
|
143
|
-
readonly
|
|
144
|
-
readonly type: "function";
|
|
145
|
-
}, {
|
|
146
|
-
readonly inputs: readonly [];
|
|
147
|
-
readonly name: "totalSupply";
|
|
85
|
+
readonly name: "isCreditManager";
|
|
148
86
|
readonly outputs: readonly [{
|
|
149
|
-
readonly internalType: "
|
|
87
|
+
readonly internalType: "bool";
|
|
150
88
|
readonly name: "";
|
|
151
|
-
readonly type: "
|
|
89
|
+
readonly type: "bool";
|
|
152
90
|
}];
|
|
153
91
|
readonly stateMutability: "view";
|
|
154
92
|
readonly type: "function";
|
|
155
93
|
}, {
|
|
156
94
|
readonly inputs: readonly [{
|
|
157
95
|
readonly internalType: "address";
|
|
158
|
-
readonly name: "
|
|
96
|
+
readonly name: "";
|
|
159
97
|
readonly type: "address";
|
|
160
|
-
}, {
|
|
161
|
-
readonly internalType: "uint256";
|
|
162
|
-
readonly name: "amount";
|
|
163
|
-
readonly type: "uint256";
|
|
164
98
|
}];
|
|
165
|
-
readonly name: "
|
|
99
|
+
readonly name: "isPool";
|
|
166
100
|
readonly outputs: readonly [{
|
|
167
101
|
readonly internalType: "bool";
|
|
168
102
|
readonly name: "";
|
|
169
103
|
readonly type: "bool";
|
|
170
104
|
}];
|
|
171
|
-
readonly stateMutability: "
|
|
105
|
+
readonly stateMutability: "view";
|
|
172
106
|
readonly type: "function";
|
|
173
107
|
}, {
|
|
174
108
|
readonly inputs: readonly [{
|
|
175
|
-
readonly internalType: "address";
|
|
176
|
-
readonly name: "from";
|
|
177
|
-
readonly type: "address";
|
|
178
|
-
}, {
|
|
179
|
-
readonly internalType: "address";
|
|
180
|
-
readonly name: "to";
|
|
181
|
-
readonly type: "address";
|
|
182
|
-
}, {
|
|
183
109
|
readonly internalType: "uint256";
|
|
184
|
-
readonly name: "
|
|
110
|
+
readonly name: "i";
|
|
185
111
|
readonly type: "uint256";
|
|
186
112
|
}];
|
|
187
|
-
readonly name: "
|
|
113
|
+
readonly name: "pools";
|
|
188
114
|
readonly outputs: readonly [{
|
|
189
|
-
readonly internalType: "
|
|
115
|
+
readonly internalType: "address";
|
|
190
116
|
readonly name: "";
|
|
191
|
-
readonly type: "
|
|
117
|
+
readonly type: "address";
|
|
192
118
|
}];
|
|
193
|
-
readonly stateMutability: "
|
|
119
|
+
readonly stateMutability: "view";
|
|
120
|
+
readonly type: "function";
|
|
121
|
+
}, {
|
|
122
|
+
readonly inputs: readonly [];
|
|
123
|
+
readonly name: "version";
|
|
124
|
+
readonly outputs: readonly [{
|
|
125
|
+
readonly internalType: "uint256";
|
|
126
|
+
readonly name: "";
|
|
127
|
+
readonly type: "uint256";
|
|
128
|
+
}];
|
|
129
|
+
readonly stateMutability: "view";
|
|
194
130
|
readonly type: "function";
|
|
195
131
|
}];
|
|
196
|
-
static createInterface():
|
|
197
|
-
static connect(address: string, signerOrProvider: Signer | Provider):
|
|
132
|
+
static createInterface(): IContractsRegisterInterface;
|
|
133
|
+
static connect(address: string, signerOrProvider: Signer | Provider): IContractsRegister;
|
|
198
134
|
}
|