package
5.4.0
Repository: https://github.com/cosmos/ibc-go.git
Documentation: pkg.go.dev

# Functions

DefaultControllerGenesis creates and returns the default interchain accounts ControllerGenesisState.
DefaultGenesis creates and returns the interchain accounts GenesisState.
DefaultHostGenesis creates and returns the default interchain accounts HostGenesisState.
DeserializeCosmosTx unmarshals and unpacks a slice of transaction bytes into a slice of sdk.Msg's.
GenerateAddress returns an sdk.AccAddress derived using a host module account address, host connection ID, the controller portID, the current block app hash, and the current block data hash.
IsPreviousMetadataEqual compares a metadata to a previous version string set in a channel struct.
KeyActiveChannel creates and returns a new key used for active channels store operations.
KeyOwnerAccount creates and returns a new key used for interchain account store operations.
KeyPort creates and returns a new key used for port store operations.
NewControllerGenesisState creates a returns a new ControllerGenesisState instance.
NewControllerPortID creates and returns a new prefixed controller port identifier using the provided owner string.
NewDefaultMetadata creates and returns a new ICS27 Metadata instance containing the default ICS27 Metadata values with the provided controller and host connection identifiers.
NewDefaultMetadataString creates and returns a new JSON encoded version string containing the default ICS27 Metadata values with the provided controller and host connection identifiers.
NewGenesisState creates and returns a new GenesisState instance from the provided controller and host genesis state types.
NewHostGenesisState creates a returns a new HostGenesisState instance.
NewInterchainAccount creates and returns a new InterchainAccount type.
NewMetadata creates and returns a new ICS27 Metadata instance.
RegisterInterfaces registers the concrete InterchainAccount implementation against the associated x/auth AccountI and GenesisAccount interfaces.
SerializeCosmosTx serializes a slice of sdk.Msg's using the CosmosTx type.
ValidateAccountAddress performs basic validation of interchain account addresses, enforcing constraints on address length and character set.
ValidateControllerMetadata performs validation of the provided ICS27 controller metadata parameters.
ValidateHostMetadata performs validation of the provided ICS27 host metadata parameters.

# Constants

ICS27 Interchain Accounts events.
ICS27 Interchain Accounts events.
ICS27 Interchain Accounts events.
ICS27 Interchain Accounts events.
EncodingProtobuf defines the protocol buffers proto3 encoding format.
ICS27 Interchain Accounts events.
Execute a transaction on an interchain accounts host chain.
MaxMemoCharLength defines the maximum length for the InterchainAccountPacketData memo field.
ModuleName defines the interchain accounts module name.
PortID is the default port id that the interchain accounts host submodule binds to.
PortPrefix is the default port prefix that the interchain accounts controller submodule binds to.
QuerierRoute is the querier route for interchain accounts.
RouterKey is the message route for interchain accounts.
StoreKey is the store key string for interchain accounts.
TxTypeSDKMultiMsg defines the multi message transaction type supported by the Cosmos SDK.
Default zero value enumeration.
Version defines the current version for interchain accounts.

# Variables

ActiveChannelKeyPrefix defines the key prefix used to store active channels.
DefaultMaxAddrLength defines the default maximum character length used in validation of addresses.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ModuleCdc references the global interchain accounts module codec.
OwnerKeyPrefix defines the key prefix used to store interchain accounts.
PortKeyPrefix defines the key prefix used to store ports.
No description provided by the author
No description provided by the author

# Structs

ActiveChannel contains a connection ID, port ID and associated active channel ID.
ControllerGenesisState defines the interchain accounts controller genesis state.
CosmosTx contains a list of sdk.Msg's.
GenesisState defines the interchain accounts genesis state.
HostGenesisState defines the interchain accounts host genesis state.
An InterchainAccount is defined as a BaseAccount & the address of the account owner on the controller chain.
InterchainAccountPacketData is comprised of a raw transaction, type of transaction and optional memo field.
Metadata defines a set of protocol specific data encoded into the ICS27 channel version bytestring See ICS004: https://github.com/cosmos/ibc/tree/master/spec/core/ics-004-channel-and-packet-semantics#Versioning.
RegisteredInterchainAccount contains a connection ID, port ID and associated interchain account address.

# Interfaces

AccountKeeper defines the expected account keeper.
ChannelKeeper defines the expected IBC channel keeper.
ICS4Wrapper defines the expected ICS4Wrapper for middleware.
InterchainAccountI wraps the authtypes.AccountI interface.
MessageRouter ADR 031 request type routing https://github.com/cosmos/cosmos-sdk/blob/main/docs/architecture/adr-031-msg-service.md.
PortKeeper defines the expected IBC port keeper.

# Type aliases

Type defines a classification of message issued from a controller chain to its associated interchain accounts host.