RevealedVote
SIP Protocol API Reference v0.7.2
SIP Protocol API Reference / RevealedVote
Interface: RevealedVote
Section titled “Interface: RevealedVote”Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:8348
Revealed vote data
Properties
Section titled “Properties”proposalId
Section titled “proposalId”proposalId:
string
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:8350
Proposal ID
choice
Section titled “choice”choice:
number
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:8352
Vote choice (e.g., 0 = no, 1 = yes, 2 = abstain)
weight
Section titled “weight”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
Section titled “timestamp”timestamp:
number
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:8358
Timestamp when vote was cast
encryptedVote
Section titled “encryptedVote”encryptedVote:
EncryptedVote
Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:8360
The encrypted vote this was revealed from