package
0.0.0-20210916100932-d192fcfaa9da
Repository: https://github.com/liubaninc/m0.git
Documentation: pkg.go.dev
# Functions
DefaultGenesis returns the default Capability genesis state.
GetDenomPrefix returns the receiving denomination prefix.
GetEscrowAddress returns the escrow address for the specified channel.
GetPrefixedDenom returns the denomination with the portID and channelID prefixed.
GetTransferCoin creates a transfer coin with the port ID and channel ID prefixed to the base denom.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ParseDenomTrace parses a string with the ibc prefix (denom trace) and the base denomination into a DenomTrace type.
ParseHexHash parses a hex hash in string format to bytes and validates its correctness.
ReceiverChainIsSource returns true if the denomination originally came from the receiving chain and false otherwise.
No description provided by the author
No description provided by the author
No description provided by the author
RegisterQueryHandler registers the http handlers for service Query to "mux".
RegisterQueryHandlerClient registers the http handlers for service Query to "mux".
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterQueryHandlerServer registers the http handlers for service Query to "mux".
No description provided by the author
SenderChainIsSource returns false if the denomination originally came from the receiving chain and true otherwise.
ValidateIBCDenom validates that the given denomination is either:
- A valid base denomination (eg: 'uatom') - A valid fungible token representation (i.e 'ibc/{hash}') per ADR 001 https://github.com/cosmos/cosmos-sdk/blob/master/docs/architecture/adr-001-coin-source-tracing.md.
ValidatePrefixedDenom checks that the denomination for an IBC fungible token packet denom is correctly prefixed.
# Constants
IBC events.
IBC events.
IBC events.
DefaultIndex is the default capability global index.
DenomPrefix is the prefix used for internal SDK coin representation.
this line is used by starport scaffolding # ibc/packet/event.
IBC events.
No description provided by the author
No description provided by the author
MemStoreKey defines the in-memory store key.
ModuleName defines the module name.
PortID is the default port id that module binds to.
QuerierRoute defines the module's query routing key.
RouterKey is the message route for slashing.
StoreKey defines the primary module store key.
Version defines the current version the IBC module supports.
# Variables
DenomTraceKey defines the key to store the denomination trace info in store.
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
x/mibc module sentinel errors.
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
x/mibc module sentinel errors.
x/mibc module sentinel errors.
x/mibc module sentinel errors.
x/mibc module sentinel errors.
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
PortKey defines the key to store the port ID in store.
# Structs
DenomTrace contains the base denomination for ICS20 fungible tokens and the source tracing information path.
GenesisState defines the mibc module's genesis state.
IbcUTXOPacketAck defines a struct for the packet acknowledgment.
this line is used by starport scaffolding # ibc/packet/proto/message IbcUTXOPacketData defines a struct for the packet payload.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
this line is used by starport scaffolding # proto/tx/message.
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
this line is used by starport scaffolding # 3.
No description provided by the author
UnimplementedMsgServer can be embedded to have forward compatible implementations.
UnimplementedQueryServer can be embedded to have forward compatible implementations.
# Interfaces
ChannelKeeper defines the expected IBC channel keeper.
MsgClient is the client API for Msg service.
MsgServer is the server API for Msg service.
PortKeeper defines the expected IBC port keeper.
QueryClient is the client API for Query service.
QueryServer is the server API for Query service.
ScopedKeeper defines the expected IBC scoped keeper.
# Type aliases
Traces defines a wrapper type for a slice of DenomTrace.