Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MsgUpgradeClient

MsgUpgradeClient defines an sdk.Msg to upgrade an IBC client to a new client state

Hierarchy

Index

Constructors

  • new MsgUpgradeClient(client_id: string, client_state: any, consensus_state: any, proof_upgrade_client: string, proof_upgrade_consensus_state: string, signer: string): MsgUpgradeClient
  • Parameters

    • client_id: string

      client unique identifier

    • client_state: any

      upgraded client state

    • consensus_state: any

      upgraded consensus state, only contains enough information to serve as a basis of trust in update logic

    • proof_upgrade_client: string

      proof that old chain committed to new client

    • proof_upgrade_consensus_state: string

      proof that old chain committed to new consensus state

    • signer: string

      signer address

    Returns MsgUpgradeClient

Properties

client_id: string
client_state: any
consensus_state: any
proof_upgrade_client: string
proof_upgrade_consensus_state: string
signer: string

Methods

  • packAny(_?: boolean): Any
  • toAmino(_?: boolean): any
  • toAminoJSON(isClassic?: boolean): string
  • Parameters

    • Optional isClassic: boolean

    Returns string

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

    • Optional isClassic: boolean

    Returns string

  • toProto(_?: boolean): MsgUpgradeClient