Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Plan

Hierarchy

Index

Constructors

  • new Plan(name: string, time: undefined | Date, height: string, info: string, upgraded_client_state: any): Plan
  • Parameters

    • name: string

      This name will be used by the upgraded version of the software to apply any special "on-upgrade" commands during the first BeginBlock method after the upgrade is applied.

    • time: undefined | Date

      Deprecated

    • height: string

      The height at which the upgrade must be performed. Only used if Time is not set.

    • info: string

      Any application specific upgrade info to be included on-chain such as a git commit that validators could automatically upgrade to

    • upgraded_client_state: any

      Deprecated

    Returns Plan

Properties

height: string
info: string
name: string
time?: Date
upgraded_client_state?: any

Methods

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

    • Optional isClassic: boolean

    Returns string

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

    • Optional isClassic: boolean

    Returns string

  • toProto(): Plan
  • fromProto(proto: Plan): Plan