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

19 lines (18 loc) 881 B
import { IHashProposalCommandParams } from '../../interfaces/commands/params/IHashProposalCommandParams'; import { IBaseCommand } from '../../interfaces/commands/IBaseCommand'; import { GovernanceContract } from '@contracts'; /** * @title Hash Proposal Command * @notice Executes a hash proposal operation to calculate the proposal ID * @dev This command interacts with the Governance contract to hash proposal parameters */ export declare class HashProposalCommand implements IBaseCommand<IHashProposalCommandParams, bigint> { private readonly governance; constructor(governance: GovernanceContract); /** * @notice Executes the hash proposal command * @param params The parameters for executing the hash proposal operation * @returns The calculated proposal ID as a bigint */ execute(params: IHashProposalCommandParams): Promise<bigint>; }