WeightedVoteOption defines a unit of vote for vote split.

interface WeightedVoteOption {
    option: SecretJS.Tx.VoteOption;
    weight: number;
}

Properties

Properties

option is a VoteOption.

weight: number

weight is a number between 0 and 1 with precision of 18 decimals.

Generated using TypeDoc