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

constructor

  • 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

client_id: string

client_state

client_state: any

consensus_state

consensus_state: any

proof_upgrade_client

proof_upgrade_client: string

proof_upgrade_consensus_state

proof_upgrade_consensus_state: string

signer

signer: string

Methods

packAny

  • packAny(): Any

toAmino

  • toAmino(): any

toAminoJSON

  • toAminoJSON(): string
  • Returns string

toData

toJSON

  • toJSON(): string
  • Returns string

toProto

  • toProto(): MsgUpgradeClient

Static fromAmino

Static fromData

Static fromProto

Static unpackAny