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) • 740 B
TypeScript
import { IBurnCommandParams } from '../../interfaces/commands/params/IBurnCommandParams';
import { IBaseCommand } from '../../interfaces/commands/IBaseCommand';
import { PositionManagerContract } from '@contracts';
/**
* @title Burn Command
* @notice Burns a position and removes all liquidity
* @dev This command interacts with the PositionManager contract to burn a position
*/
export declare class BurnCommand implements IBaseCommand<IBurnCommandParams, void> {
private readonly positionManager;
constructor(positionManager: PositionManagerContract);
/**
* @notice Executes the burn command
* @param params The parameters for burning a position
*/
execute(params: IBurnCommandParams): Promise<void>;
}