Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WeightedVoteOption

Hierarchy

Index

Constructors

  • Parameters

    • option: VoteOption
    • weight: Value

    Returns WeightedVoteOption

Properties

option: VoteOption
weight: Dec

Methods

  • toAminoJSON(isClassic?: boolean): string
  • Parameters

    • Optional isClassic: boolean

    Returns string

  • toJSON(isClassic?: boolean): string
  • Parameters

    • Optional isClassic: boolean

    Returns string

  • toProto(_?: boolean): WeightedVoteOption
  • Parameters

    • Optional _: boolean

    Returns WeightedVoteOption