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

20 lines (19 loc) 1.11 kB
import { ICreateAndInitializePoolCommandParams } from '../../interfaces/commands/params/ICreateAndInitializePoolCommandParams'; import { ICreatePoolCommandOutput } from '../../interfaces/commands/outputs/ICreatePoolCommandOutput'; import { IBaseCommand } from '../../interfaces/commands/IBaseCommand'; import { PositionManagerContract } from '@contracts'; /** * @title Create and Initialize Pool Command * @notice Creates and initializes a pool if necessary * @dev This command interacts with the PositionManager contract to create and initialize a pool */ export declare class CreateAndInitializePoolCommand implements IBaseCommand<ICreateAndInitializePoolCommandParams, ICreatePoolCommandOutput> { private readonly positionManager; constructor(positionManager: PositionManagerContract); /** * @notice Executes the create and initialize pool command * @param params The parameters for creating and initializing the pool * @returns The output containing the pool address */ execute(params: ICreateAndInitializePoolCommandParams): Promise<ICreatePoolCommandOutput>; }