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) • 857 B
TypeScript
import { ISwapExactInputSingleCommandParams } from '../../interfaces/commands/params/ISwapExactInputSingleCommandParams';
import { IBaseCommand } from '../../interfaces/commands/IBaseCommand';
import { SwapRouterContract } from '@contracts';
/**
* @title Swap Exact Input Single Command
* @notice Executes a swap with exact input amount for a single hop
* @dev This command interacts with the SwapRouter contract to execute a single hop swap
*/
export declare class SwapExactInputSingleCommand implements IBaseCommand<ISwapExactInputSingleCommandParams, void> {
private readonly swapRouter;
constructor(swapRouter: SwapRouterContract);
/**
* @notice Executes the swap exact input single command
* @param params The parameters for executing the swap
*/
execute(params: ISwapExactInputSingleCommandParams): Promise<void>;
}