@aave/protocol-js
Version:
Aave protocol data aggregation tool
9 lines (8 loc) • 626 B
TypeScript
import { EthereumTransactionTypeExtended } from '../types';
import { WETHBorrowParamsType, WETHDepositParamsType, WETHRepayParamsType, WETHWithdrawParamsType } from '../types/WethGatewayMethodTypes';
export default interface WETHGatewayInterface {
depositETH: (args: WETHDepositParamsType) => Promise<EthereumTransactionTypeExtended[]>;
withdrawETH: (args: WETHWithdrawParamsType) => Promise<EthereumTransactionTypeExtended[]>;
repayETH: (args: WETHRepayParamsType) => Promise<EthereumTransactionTypeExtended[]>;
borrowETH: (args: WETHBorrowParamsType) => Promise<EthereumTransactionTypeExtended[]>;
}