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