@aave/protocol-js
Version:
Aave protocol data aggregation tool
27 lines (26 loc) • 1.5 kB
TypeScript
import IERC20ServiceInterface from './ERC20';
import LendingPoolInterfaceV2 from './v2/LendingPool';
import SynthetixInterface from './Synthetix';
import LTAMigratorInterface from './LTAMigrator';
import StakingInterface from './Staking';
import WETHGatewayInterface from './WETHGateway';
import FaucetInterface from './Faucet';
import AaveGovernanceV2Interface from './v2/AaveGovernanceV2';
import GovernanceDelegationTokenInterface from './v2/GovernanceDelegationToken';
import { IncentivesControllerInterface } from '../services/IncentivesController';
import RepayWithCollateralAdapterInterface from './RepayWithCollateralAdapter';
import LiquiditySwapAdapterInterface from './LiquiditySwapAdapterParaswap';
export default interface TxBuilderInterface {
erc20Service: IERC20ServiceInterface;
synthetixService: SynthetixInterface;
ltaMigratorService: LTAMigratorInterface;
incentiveService: IncentivesControllerInterface;
aaveGovernanceV2Service: AaveGovernanceV2Interface;
governanceDelegationTokenService: GovernanceDelegationTokenInterface;
getLendingPool: (market: string) => LendingPoolInterfaceV2;
getStaking: (stake: string) => StakingInterface;
getWethGateway: (market: string) => WETHGatewayInterface;
getRepayWithCollateralAdapter: (market: string) => RepayWithCollateralAdapterInterface;
getSwapCollateralAdapter: (market: string) => LiquiditySwapAdapterInterface;
getFaucet: (market: string) => FaucetInterface;
}