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) • 831 B
TypeScript
import { IDecreaseLiquidityCommandParams } from '../../interfaces/commands/params/IDecreaseLiquidityCommandParams';
import { IBaseCommand } from '../../interfaces/commands/IBaseCommand';
import { PositionManagerContract } from '@contracts';
/**
* @title Decrease Liquidity Command
* @notice Decreases liquidity from a position
* @dev This command interacts with the PositionManager contract to decrease liquidity
*/
export declare class DecreaseLiquidityCommand implements IBaseCommand<IDecreaseLiquidityCommandParams, void> {
private readonly positionManager;
constructor(positionManager: PositionManagerContract);
/**
* @notice Executes the decrease liquidity command
* @param params The parameters for decreasing liquidity
*/
execute(params: IDecreaseLiquidityCommandParams): Promise<void>;
}