The approval ID.
The approval level ("collection", "incoming", or "outgoing").
The approver address (empty string for collection-level approvals).
The collection ID for the voting challenge.
The creator of the transaction.
The proposal ID (challenge ID) from the VotingChallenge.
The percentage weight (0-100) allocated to "yes" vote. The remaining percentage (100 - yesWeight) is allocated to "no" vote.
Deep copies the object and returns a new instance.
Optional_convertFunction: (val: NumberType) => UOptionaloptions: ConvertOptionsCompares this object's fields to another object's fields for equality. Equality is determined by comparing the JSON representations of the objects.
If normalizeNumberTypes is true, then all number types will be compared as strings (i.e. "1n" === "1" === 1). Else, they will be compared as their native types (i.e. 1n !== 1 !== "1").
OptionalnormalizeNumberTypes: booleanInternal helper method to convert the number fields of the object to a different NumberType equivalent.
Checks if the object has number fields.
Converts the object to a JSON object with all primitive types.
Converts the object to a JSON string.
StaticfromOptionaloptions: Partial<JsonReadOptions>StaticfromOptionaloptions: Partial<JsonReadOptions>Staticfrom
MsgCastVote allows a voter to cast or update their vote for a voting challenge.