Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WeightedVoteOption

Hierarchy

Index

Constructors

constructor

  • Parameters

    • option: VoteOption
    • weight: Value

    Returns WeightedVoteOption

Properties

option

option: VoteOption

weight

weight: Dec

Methods

toAmino

toAminoJSON

  • toAminoJSON(): string
  • Returns string

toData

toJSON

  • toJSON(): string
  • Returns string

toProto

  • toProto(): WeightedVoteOption

Static fromAmino

Static fromData

Static fromProto