UNPKG

evx-sdk

Version:

The Evx SDK is a developer toolkit designed to simplify interaction with the Evx decentralized liquidity protocol. It provides an abstraction layer over the smart contracts, allowing developers to easily build applications, integrate liquidity pools, fetc

18 lines (17 loc) 746 B
import { IInitFlashCommandParams } from '../../interfaces/commands/params/IInitFlashCommandParams'; import { IBaseCommand } from '../../interfaces/commands/IBaseCommand'; import { PairFlashContract } from '@contracts'; /** * @title Init Flash Command * @notice Initializes a flash loan * @dev This command interacts with the PairFlash contract to initialize a flash loan */ export declare class InitFlashCommand implements IBaseCommand<IInitFlashCommandParams, void> { private readonly pairFlash; constructor(pairFlash: PairFlashContract); /** * @notice Executes the init flash command * @param params The parameters for initializing the flash loan */ execute(params: IInitFlashCommandParams): Promise<void>; }