Initialize a new instance of the VotingProcedure class.
The vote (Yes, No or Abstain).
Optional
anchor: Serialization.AnchorThe vote anchor (or undefined if none).
Private
#anchorPrivate
#originalPrivate
#voteGets the anchor, a link to arbitrary off-chain JSON payload of metadata.
The anchor.
Sets the anchor, a link to arbitrary off-chain JSON payload of metadata.
The anchor.
Creates a Core VotingProcedure object from the current VotingProcedure object.
The Core VotingProcedure object.
Static
fromDeserializes the VotingProcedure from a CBOR byte array.
The new VotingProcedure instance.
The CBOR encoded VotingProcedure object.
Static
fromCreates a VotingProcedure object from the given Core VotingProcedure object.
The core VotingProcedure object.
Generated using TypeDoc
A voting procedure is a pair of: