Documentation ¶
Index ¶
- type Client
- func (c Client) Acknowledgement(proof []byte, acknowledgement []byte, pack packet.Packet, height int64, ...) (types.ResultTx, tibctypes.IError)
- func (c Client) CleanPacket(cleanPacket packet.CleanPacket, baseTx types.BaseTx) (types.ResultTx, tibctypes.IError)
- func (c Client) GetClientState(chainName string) (tibctypes.ClientState, tibctypes.IError)
- func (c Client) GetClientStates() ([]tibctypes.ClientState, tibctypes.IError)
- func (c Client) GetConsensusState(chainName string, height uint64) (tibctypes.ConsensusState, tibctypes.IError)
- func (c Client) GetConsensusStates(chainName string) ([]tibctypes.ConsensusState, tibctypes.IError)
- func (c Client) Name() string
- func (c Client) NftTransfer(class, id, receiver, destChainName, realayChainName, destContract string, ...) (types.ResultTx, tibctypes.IError)
- func (c Client) PacketAcknowledgement(destChain string, sourceChain string, sequence uint64) (*packet.QueryPacketAcknowledgementResponse, tibctypes.IError)
- func (c Client) PacketAcknowledgements(destChain string, sourceChain string, Pagination *query.PageRequest) (*packet.QueryPacketAcknowledgementsResponse, tibctypes.IError)
- func (c Client) PacketCommitment(destChain string, sourceChain string, sequence uint64) (*packet.QueryPacketCommitmentResponse, tibctypes.IError)
- func (c Client) PacketCommitments(destChain string, sourceChain string, Pagination *query.PageRequest) (*packet.QueryPacketCommitmentsResponse, tibctypes.IError)
- func (c Client) PacketReceipt(destChain string, sourceChain string, sequence uint64) (*packet.QueryPacketReceiptResponse, tibctypes.IError)
- func (c Client) QueryTendermintProof(height int64, key []byte) ([]byte, []byte, uint64, error)
- func (c Client) RecvCleanPacket(proof []byte, pack packet.CleanPacket, height int64, revisionNumber uint64, ...) (types.ResultTx, tibctypes.IError)
- func (c Client) RecvPacket(proof []byte, pack packet.Packet, height int64, revisionNumber uint64, ...) (types.ResultTx, tibctypes.IError)
- func (c Client) RecvPackets(msgs []types.Msg, baseTx types.BaseTx) (types.ResultTx, tibctypes.IError)
- func (c Client) RegisterInterfaceTypes(registry cryptotypes.InterfaceRegistry)
- func (c Client) Relayers(chainName string) ([]string, tibctypes.IError)
- func (c Client) UnreceivedAcks(destChain string, sourceChain string, packetAckSequences []uint64) (*packet.QueryUnreceivedAcksResponse, tibctypes.IError)
- func (c Client) UnreceivedPackets(destChain string, sourceChain string, packetCommitmentSequences []uint64) (*packet.QueryUnreceivedPacketsResponse, tibctypes.IError)
- func (c Client) UpdateClient(req tibctypes.UpdateClientRequest, baseTx types.BaseTx) (types.ResultTx, tibctypes.IError)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { types.EncodingConfig types.BaseClient }
func NewClient ¶
func NewClient(baseClient types.BaseClient, encodingConfig types.EncodingConfig) Client
func (Client) Acknowledgement ¶
func (Client) CleanPacket ¶
func (Client) GetClientState ¶
GetClientState queries an IBC light client.
func (Client) GetClientStates ¶
func (c Client) GetClientStates() ([]tibctypes.ClientState, tibctypes.IError)
GetClientStates queries all the IBC light clients of a chain.
func (Client) GetConsensusState ¶
func (c Client) GetConsensusState(chainName string, height uint64) (tibctypes.ConsensusState, tibctypes.IError)
GetConsensusState queries a consensus state associated with a client state at a given height.
func (Client) GetConsensusStates ¶
GetConsensusStates queries all the consensus state associated with a given client.
func (Client) NftTransfer ¶
func (Client) PacketAcknowledgement ¶
func (Client) PacketAcknowledgements ¶
func (c Client) PacketAcknowledgements(destChain string, sourceChain string, Pagination *query.PageRequest) (*packet.QueryPacketAcknowledgementsResponse, tibctypes.IError)
func (Client) PacketCommitment ¶
func (Client) PacketCommitments ¶
func (c Client) PacketCommitments(destChain string, sourceChain string, Pagination *query.PageRequest) (*packet.QueryPacketCommitmentsResponse, tibctypes.IError)
func (Client) PacketReceipt ¶
func (Client) QueryTendermintProof ¶
func (Client) RecvCleanPacket ¶
func (Client) RecvPacket ¶
func (Client) RecvPackets ¶
func (Client) RegisterInterfaceTypes ¶
func (c Client) RegisterInterfaceTypes(registry cryptotypes.InterfaceRegistry)
func (Client) UnreceivedAcks ¶
func (Client) UnreceivedPackets ¶
Directories ¶
Path | Synopsis |
---|---|
modules
|
|
core/client
Package client is a reverse proxy.
|
Package client is a reverse proxy. |
core/packet
Package packet is a reverse proxy.
|
Package packet is a reverse proxy. |
testing
|
|
Click to show internal directories.
Click to hide internal directories.