UNPKG

@kyve/core-beta

Version:

🚀 The base KYVE node implementation.

16 lines (15 loc) • 665 B
import { Node } from "../.."; /** * voteBundleProposal submits a vote on the current bundle proposal. * The storage id is used to check on chain if the vote is still * dedicated to that proposal, because in rare instances while * the tx is mining the next proposal could already start, thus * resulting in an unwanted vote. * * @method voteBundleProposal * @param {Node} this * @param {string} storageId storage id of the current bundle proposal * @param {number} vote can be 1 = VALID, 2 = INVALID or 3 = ABSTAIN * @return {Promise<boolean>} */ export declare function voteBundleProposal(this: Node, storageId: string, vote: number): Promise<boolean>;