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) • 621 B
TypeScript
import { IBaseCommandParams } from './IBaseCommandParams';
import { Signer } from 'ethers';
/**
* @notice Parameters for initializing a pool
* @dev Extends base command parameters with initialization specific parameters
*/
export interface IInitializePoolCommandParams extends IBaseCommandParams {
initialPrice: bigint;
}
/**
* @notice Parameters for initializing only a pool (with address and signer)
* @dev Extends initialization parameters with pool address and signer
*/
export interface IInitializeOnlyPoolCommandParams extends IInitializePoolCommandParams {
poolAddress: string;
signer: Signer;
}