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) • 747 B
TypeScript
import { ICreatePoolCommandParams } from '../../interfaces/commands/params/ICreatePoolCommandParams';
import { IBaseCommand } from '../../interfaces/commands/IBaseCommand';
import { FactoryContract } from '@contracts';
/**
* @title Create Pool Command
* @notice Creates a new pool with the given tokens and fee
* @dev This command interacts with the Factory contract to create a pool
*/
export declare class CreatePoolCommand implements IBaseCommand<ICreatePoolCommandParams, void> {
private readonly factory;
constructor(factory: FactoryContract);
/**
* @notice Executes the create pool command
* @param params The parameters for creating the pool
*/
execute(params: ICreatePoolCommandParams): Promise<void>;
}