Skip to content

RevealedVote

SIP Protocol API Reference v0.7.2


SIP Protocol API Reference / RevealedVote

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:8348

Revealed vote data

proposalId: string

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:8350

Proposal ID


choice: number

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:8352

Vote choice (e.g., 0 = no, 1 = yes, 2 = abstain)


weight: bigint

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:8354

Voting weight/power


voter: string

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:8356

Voter’s identifier


timestamp: number

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:8358

Timestamp when vote was cast


encryptedVote: EncryptedVote

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:8360

The encrypted vote this was revealed from