VoteEvent is the event emitted when a vote is cast.

interface GovernanceVoteEvent {
    id: longnum;
    submitter: Uint8Array;
    vote: number;
}

Properties

Properties

ID is the unique identifier of a proposal.

submitter: Uint8Array

Submitter is the staking account address of the vote submitter.

vote: number

Vote is the cast vote.