Documentation ¶
Index ¶
- Constants
- func EgressKey(destChain string, index int64) []byte
- func EgressLengthKey(destChain string) []byte
- func ErrIdenticalChains(codespace sdk.CodespaceType) sdk.Error
- func ErrInvalidSequence(codespace sdk.CodespaceType) sdk.Error
- func IngressSequenceKey(srcChain string) []byte
- func MarshalBinaryLengthPrefixedPanic(cdc *codec.Codec, value interface{}) []byte
- func NewHandler(ibcm Mapper, ck bank.Keeper) sdk.Handler
- func RegisterCodec(cdc *codec.Codec)
- type IBCGetMsg
- type IBCSetMsg
- type Mapper
Constants ¶
View Source
const ( DefaultCodespace sdk.CodespaceType = 3 // IBC errors reserve 200 - 299. CodeInvalidSequence sdk.CodeType = 200 CodeIdenticalChains sdk.CodeType = 201 CodeUnknownRequest sdk.CodeType = sdk.CodeUnknownRequest )
IBC errors reserve 200 ~ 299.
Variables ¶
This section is empty.
Functions ¶
func EgressLengthKey ¶
Stores the number of outgoing IBC packets under "egress/index".
func ErrIdenticalChains ¶
func ErrIdenticalChains(codespace sdk.CodespaceType) sdk.Error
func IngressSequenceKey ¶
Stores the sequence number of incoming IBC packet under "ingress/index".
func MarshalBinaryLengthPrefixedPanic ¶ added in v0.7.0
func RegisterCodec ¶ added in v0.7.0
Register concrete types on codec codec
Types ¶
type IBCGetMsg ¶
type IBCGetMsg struct {
Addr sdk.AccAddress
}
func NewIBCGetMsg ¶
func NewIBCGetMsg(addr sdk.AccAddress) IBCGetMsg
func (IBCGetMsg) GetSignBytes ¶
func (IBCGetMsg) GetSigners ¶
func (msg IBCGetMsg) GetSigners() []sdk.AccAddress
func (IBCGetMsg) ValidateBasic ¶
type IBCSetMsg ¶
type IBCSetMsg struct {
Addr sdk.AccAddress
}
func NewIBCSetMsg ¶
func NewIBCSetMsg(addr sdk.AccAddress) IBCSetMsg
func (IBCSetMsg) GetSignBytes ¶
func (IBCSetMsg) GetSigners ¶
func (msg IBCSetMsg) GetSigners() []sdk.AccAddress
func (IBCSetMsg) ValidateBasic ¶
Click to show internal directories.
Click to hide internal directories.