RevealedVote
SIP Protocol API Reference v0.7.0
SIP Protocol API Reference / RevealedVote
Interface: RevealedVote
Section titled “Interface: RevealedVote”Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:8285
Revealed vote data
Properties
Section titled “Properties”proposalId
Section titled “proposalId”proposalId:
string
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:8287
Proposal ID
choice
Section titled “choice”choice:
number
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:8289
Vote choice (e.g., 0 = no, 1 = yes, 2 = abstain)
weight
Section titled “weight”weight:
bigint
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:8291
Voting weight/power
voter:
string
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:8293
Voter’s identifier
timestamp
Section titled “timestamp”timestamp:
number
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:8295
Timestamp when vote was cast
encryptedVote
Section titled “encryptedVote”encryptedVote:
EncryptedVote
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:8297
The encrypted vote this was revealed from