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