import { providers } from 'ethers'; import { BaseDebtTokenInterface } from '../baseDebtToken-contract'; import BaseService from '../commons/BaseService'; import { EthereumTransactionTypeExtended, tEthereumAddress } from '../commons/types'; import { IERC20ServiceInterface } from '../erc20-contract'; import { IWETHGateway } from './typechain/IWETHGateway'; export declare type WETHDepositParamsType = { user: tEthereumAddress; amount: string; onBehalfOf?: tEthereumAddress; referralCode?: string; }; export declare type WETHWithdrawParamsType = { user: tEthereumAddress; amount: string; aTokenAddress: tEthereumAddress; onBehalfOf?: tEthereumAddress; }; export declare type WETHRepayParamsType = { user: tEthereumAddress; amount: string; onBehalfOf?: tEthereumAddress; }; export declare type WETHBorrowParamsType = { user: tEthereumAddress; amount: string; debtTokenAddress: tEthereumAddress; referralCode?: string; }; export interface WETHGatewayInterface { depositETH: (args: WETHDepositParamsType) => EthereumTransactionTypeExtended[]; withdrawETH: (args: WETHWithdrawParamsType) => Promise; repayETH: (args: WETHRepayParamsType) => EthereumTransactionTypeExtended[]; borrowETH: (args: WETHBorrowParamsType) => Promise; } export declare class WETHGatewayService extends BaseService implements WETHGatewayInterface { readonly wethGatewayAddress: string; readonly baseDebtTokenService: BaseDebtTokenInterface; readonly erc20Service: IERC20ServiceInterface; constructor(provider: providers.Provider, wethGatewayAddress?: string); depositETH({ user, amount, onBehalfOf, referralCode }: WETHDepositParamsType): EthereumTransactionTypeExtended[]; borrowETH({ user, amount, debtTokenAddress, referralCode }: WETHBorrowParamsType): Promise; withdrawETH({ user, amount, onBehalfOf, aTokenAddress }: WETHWithdrawParamsType): Promise; repayETH({ user, amount, onBehalfOf }: WETHRepayParamsType): EthereumTransactionTypeExtended[]; } //# sourceMappingURL=index.d.ts.map