Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MsgConnectionOpenTry

MsgConnectionOpenTry defines a msg sent by a Relayer to try to open a connection on Chain B.

Hierarchy

Index

Constructors

  • new MsgConnectionOpenTry(client_id: string, previous_connection_id: string, client_state: any, counterparty: undefined | Counterparty, delay_period: number, counterparty_versions: Version[], proof_height: undefined | Height, proof_init: string, proof_client: string, proof_consensus: string, consensus_height: undefined | Height, signer: string): MsgConnectionOpenTry
  • Parameters

    • client_id: string

      in the case of crossing hello's, when both chains call OpenInit, we need the connection identifier of the previous connection in state INIT

    • previous_connection_id: string
    • client_state: any
    • counterparty: undefined | Counterparty
    • delay_period: number
    • counterparty_versions: Version[]
    • proof_height: undefined | Height

      proof of the initialization the connection on Chain A: UNITIALIZED -> INIT

    • proof_init: string

      proof of client state included in message

    • proof_client: string

      proof of client consensus state

    • proof_consensus: string
    • consensus_height: undefined | Height
    • signer: string

      signer address

    Returns MsgConnectionOpenTry

Properties

client_id: string
client_state: any
consensus_height: undefined | Height
counterparty: undefined | Counterparty
counterparty_versions: Version[]
delay_period: number
previous_connection_id: string
proof_client: string
proof_consensus: string
proof_height: undefined | Height
proof_init: 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): MsgConnectionOpenTry