UNPKG

@taquito/taquito

Version:

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

19 lines (18 loc) 833 B
import { OperationContentsAndResult, OperationContentsAndResultBallot, OperationContentsBallot } from '@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("@taquito/rpc").BallotVote; }