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

18 lines (17 loc) 754 B
import { ICollectCommandParams } from '../../interfaces/commands/params/ICollectCommandParams'; import { IBaseCommand } from '../../interfaces/commands/IBaseCommand'; import { PositionManagerContract } from '@contracts'; /** * @title Collect Command * @notice Collects fees and rewards from a position * @dev This command interacts with the PositionManager contract to collect fees */ export declare class CollectCommand implements IBaseCommand<ICollectCommandParams, void> { private readonly positionManager; constructor(positionManager: PositionManagerContract); /** * @notice Executes the collect command * @param params The parameters for collecting fees */ execute(params: ICollectCommandParams): Promise<void>; }