UNPKG

@mavrykdynamics/taquito

Version:

High level functionality that builds upon the other packages in the Mavryk Typescript Library Suite.

19 lines (18 loc) 845 B
import { OperationContentsAndResult, OperationContentsAndResultBallot, OperationContentsBallot } from '@mavrykdynamics/taquito-rpc'; import { Context } from '../context'; import { Operation } from './operations'; import { ForgedBytes } from './types'; /** * * @description BallotOperation provides utility functions to fetch a new operation of kind ballot * */ export declare class BallotOperation extends Operation { private readonly params; readonly source: string; constructor(hash: string, params: OperationContentsBallot, source: string, raw: ForgedBytes, results: OperationContentsAndResult[], context: Context); get operationResults(): OperationContentsAndResultBallot | undefined; get period(): number | undefined; get proposal(): string; get ballot(): import("@mavrykdynamics/taquito-rpc").BallotVote; }