WeightedVoteOption defines a unit of vote for vote split.

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

Properties

Properties

option: Tx.VoteOption

option is a VoteOption.

weight: number

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

Generated using TypeDoc