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) 753 B
import { ICancelCommandParams } from '../../interfaces/commands/params/ICancelCommandParams'; import { IBaseCommand } from '../../interfaces/commands/IBaseCommand'; import { GovernanceContract } from '@contracts'; /** * @title Cancel Command * @notice Executes a cancel operation on a governance proposal * @dev This command interacts with the Governance contract to cancel a proposal */ export declare class CancelCommand implements IBaseCommand<ICancelCommandParams, void> { private readonly governance; constructor(governance: GovernanceContract); /** * @notice Executes the cancel command * @param params The parameters for executing the cancel operation */ execute(params: ICancelCommandParams): Promise<void>; }