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