ibc

package
v0.0.0-...-c22c42c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DocMsgCreateClient

type DocMsgCreateClient struct {
	ClientID       string `bson:"client_id" yaml:"client_id"`
	ClientState    string `bson:"client_state"`
	ConsensusState string `bson:"consensus_state"`
	Signer         string `bson:"signer" yaml:"signer"`
}

MsgCreateClient defines a message to create an IBC client

func (*DocMsgCreateClient) BuildMsg

func (m *DocMsgCreateClient) BuildMsg(v interface{})

func (*DocMsgCreateClient) GetType

func (m *DocMsgCreateClient) GetType() string

func (*DocMsgCreateClient) HandleTxMsg

func (m *DocMsgCreateClient) HandleTxMsg(v SdkMsg) MsgDocInfo

type DocMsgRecvPacket

type DocMsgRecvPacket struct {
	Packet      Packet   `bson:"packet"`
	Proof       string   `bson:"proof"`
	ProofHeight int64    `bson:"proof_height"`
	ProofPath   []string `bson:"proof_path"`
	ProofData   string   `bson:"proof_data"`
	ClientID    string   `bson:"client_id"`
	Module      string   `bson:"module"`
	Signer      string   `bson:"signer"`
}

func (*DocMsgRecvPacket) BuildMsg

func (m *DocMsgRecvPacket) BuildMsg(v interface{})

func (*DocMsgRecvPacket) GetType

func (m *DocMsgRecvPacket) GetType() string

func (*DocMsgRecvPacket) HandleTxMsg

func (m *DocMsgRecvPacket) HandleTxMsg(v SdkMsg) MsgDocInfo

type DocMsgUpdateClient

type DocMsgUpdateClient struct {
	ClientID string `bson:"client_id" yaml:"client_id"`
	Header   string `bson:"header" yaml:"header"`
	Signer   string `bson:"signer" yaml:"signer"`
}

MsgUpdateClient defines a message to update an IBC client

func (*DocMsgUpdateClient) BuildMsg

func (m *DocMsgUpdateClient) BuildMsg(v interface{})

func (*DocMsgUpdateClient) GetType

func (m *DocMsgUpdateClient) GetType() string

func (*DocMsgUpdateClient) HandleTxMsg

func (m *DocMsgUpdateClient) HandleTxMsg(v SdkMsg) MsgDocInfo

type IbcClient

type IbcClient struct {
}

func NewClient

func NewClient() IbcClient

func (IbcClient) HandleTxMsg

func (ibc IbcClient) HandleTxMsg(v types.Msg) (MsgDocInfo, bool)

type Packet

type Packet struct {
	// actual opaque bytes transferred directly to the application module
	Data mtypes.Packet `bson:"data"`
	// extended data
	Extra string `bson:"extra"`
}

Packet defines a type that carries data across different chains through IBC

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL