Skip to content

RevealedVote

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / RevealedVote

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:11883

Revealed vote data

proposalId: string

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:11885

Proposal ID


choice: number

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:11887

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


weight: bigint

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:11889

Voting weight/power


voter: string

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:11891

Voter’s identifier


timestamp: number

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:11893

Timestamp when vote was cast


encryptedVote: EncryptedVote

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:11895

The encrypted vote this was revealed from