types

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModuleName = "ibcaccountmock"
)

Variables

View Source
var (
	ErrInvalidLengthMsgs        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMsgs          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMsgs = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// ModuleCdc references the global x/ibc-transfer module codec. Note, the codec
	// should ONLY be used in certain instances of tests and for JSON encoding.
	//
	// The actual codec used for serialization should be provided to x/ibc-transfer and
	// defined at the application level.
	ModuleCdc = codec.NewProtoCodec(codectypes.NewInterfaceRegistry())
)

Functions

func RegisterInterfaces

func RegisterInterfaces(registry codectypes.InterfaceRegistry)

RegisterInterfaces register the ibc transfer module interfaces to protobuf Any.

Types

type MsgTryRegisterIBCAccount

type MsgTryRegisterIBCAccount struct {
	// the port on which the packet will be sent
	SourcePort string `protobuf:"bytes,1,opt,name=source_port,json=sourcePort,proto3" json:"source_port,omitempty" yaml:"source_port"`
	// the channel by which the packet will be sent
	SourceChannel string `protobuf:"bytes,2,opt,name=source_channel,json=sourceChannel,proto3" json:"source_channel,omitempty" yaml:"source_channel"`
	// the salt that will be transfered to counterparty chain.
	Salt []byte `protobuf:"bytes,3,opt,name=salt,proto3" json:"salt,omitempty" yaml:"source_channel"`
	// Timeout height relative to the current block height.
	// The timeout is disabled when set to 0.
	TimeoutHeight types.Height `protobuf:"bytes,4,opt,name=timeout_height,json=timeoutHeight,proto3" json:"timeout_height" yaml:"timeout_height"`
	// Timeout timestamp (in nanoseconds) relative to the current block timestamp.
	// The timeout is disabled when set to 0.
	TimeoutTimestamp uint64                                        `` /* 135-byte string literal not displayed */
	Sender           github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,6,opt,name=sender,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"sender,omitempty"`
}

func (*MsgTryRegisterIBCAccount) Descriptor

func (*MsgTryRegisterIBCAccount) Descriptor() ([]byte, []int)

func (*MsgTryRegisterIBCAccount) GetSalt

func (m *MsgTryRegisterIBCAccount) GetSalt() []byte

func (*MsgTryRegisterIBCAccount) GetSender

func (MsgTryRegisterIBCAccount) GetSignBytes

func (msg MsgTryRegisterIBCAccount) GetSignBytes() []byte

func (MsgTryRegisterIBCAccount) GetSigners

func (msg MsgTryRegisterIBCAccount) GetSigners() []sdk.AccAddress

func (*MsgTryRegisterIBCAccount) GetSourceChannel

func (m *MsgTryRegisterIBCAccount) GetSourceChannel() string

func (*MsgTryRegisterIBCAccount) GetSourcePort

func (m *MsgTryRegisterIBCAccount) GetSourcePort() string

func (*MsgTryRegisterIBCAccount) GetTimeoutHeight

func (m *MsgTryRegisterIBCAccount) GetTimeoutHeight() types.Height

func (*MsgTryRegisterIBCAccount) GetTimeoutTimestamp

func (m *MsgTryRegisterIBCAccount) GetTimeoutTimestamp() uint64

func (*MsgTryRegisterIBCAccount) Marshal

func (m *MsgTryRegisterIBCAccount) Marshal() (dAtA []byte, err error)

func (*MsgTryRegisterIBCAccount) MarshalTo

func (m *MsgTryRegisterIBCAccount) MarshalTo(dAtA []byte) (int, error)

func (*MsgTryRegisterIBCAccount) MarshalToSizedBuffer

func (m *MsgTryRegisterIBCAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgTryRegisterIBCAccount) ProtoMessage

func (*MsgTryRegisterIBCAccount) ProtoMessage()

func (*MsgTryRegisterIBCAccount) Reset

func (m *MsgTryRegisterIBCAccount) Reset()

func (MsgTryRegisterIBCAccount) Route

func (*MsgTryRegisterIBCAccount) Size

func (m *MsgTryRegisterIBCAccount) Size() (n int)

func (*MsgTryRegisterIBCAccount) String

func (m *MsgTryRegisterIBCAccount) String() string

func (MsgTryRegisterIBCAccount) Type

func (*MsgTryRegisterIBCAccount) Unmarshal

func (m *MsgTryRegisterIBCAccount) Unmarshal(dAtA []byte) error

func (MsgTryRegisterIBCAccount) ValidateBasic

func (MsgTryRegisterIBCAccount) ValidateBasic() error

func (*MsgTryRegisterIBCAccount) XXX_DiscardUnknown

func (m *MsgTryRegisterIBCAccount) XXX_DiscardUnknown()

func (*MsgTryRegisterIBCAccount) XXX_Marshal

func (m *MsgTryRegisterIBCAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgTryRegisterIBCAccount) XXX_Merge

func (m *MsgTryRegisterIBCAccount) XXX_Merge(src proto.Message)

func (*MsgTryRegisterIBCAccount) XXX_Size

func (m *MsgTryRegisterIBCAccount) XXX_Size() int

func (*MsgTryRegisterIBCAccount) XXX_Unmarshal

func (m *MsgTryRegisterIBCAccount) XXX_Unmarshal(b []byte) error

type MsgTryRunTxMsgSend

type MsgTryRunTxMsgSend struct {
	// the port on which the packet will be sent
	SourcePort string `protobuf:"bytes,1,opt,name=source_port,json=sourcePort,proto3" json:"source_port,omitempty" yaml:"source_port"`
	// the channel by which the packet will be sent
	SourceChannel string `protobuf:"bytes,2,opt,name=source_channel,json=sourceChannel,proto3" json:"source_channel,omitempty" yaml:"source_channel"`
	// Timeout height relative to the current block height.
	// The timeout is disabled when set to 0.
	TimeoutHeight types.Height `protobuf:"bytes,4,opt,name=timeout_height,json=timeoutHeight,proto3" json:"timeout_height" yaml:"timeout_height"`
	// Timeout timestamp (in nanoseconds) relative to the current block timestamp.
	// The timeout is disabled when set to 0.
	TimeoutTimestamp uint64                                        `` /* 135-byte string literal not displayed */
	FromAddress      github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 169-byte string literal not displayed */
	ToAddress        github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 161-byte string literal not displayed */
	Amount           github_com_cosmos_cosmos_sdk_types.Coins      `protobuf:"bytes,8,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
	Sender           github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,9,opt,name=sender,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"sender,omitempty"`
}

func (*MsgTryRunTxMsgSend) Descriptor

func (*MsgTryRunTxMsgSend) Descriptor() ([]byte, []int)

func (*MsgTryRunTxMsgSend) GetAmount

func (*MsgTryRunTxMsgSend) GetFromAddress

func (*MsgTryRunTxMsgSend) GetSender

func (MsgTryRunTxMsgSend) GetSignBytes

func (msg MsgTryRunTxMsgSend) GetSignBytes() []byte

func (MsgTryRunTxMsgSend) GetSigners

func (msg MsgTryRunTxMsgSend) GetSigners() []sdk.AccAddress

func (*MsgTryRunTxMsgSend) GetSourceChannel

func (m *MsgTryRunTxMsgSend) GetSourceChannel() string

func (*MsgTryRunTxMsgSend) GetSourcePort

func (m *MsgTryRunTxMsgSend) GetSourcePort() string

func (*MsgTryRunTxMsgSend) GetTimeoutHeight

func (m *MsgTryRunTxMsgSend) GetTimeoutHeight() types.Height

func (*MsgTryRunTxMsgSend) GetTimeoutTimestamp

func (m *MsgTryRunTxMsgSend) GetTimeoutTimestamp() uint64

func (*MsgTryRunTxMsgSend) GetToAddress

func (*MsgTryRunTxMsgSend) Marshal

func (m *MsgTryRunTxMsgSend) Marshal() (dAtA []byte, err error)

func (*MsgTryRunTxMsgSend) MarshalTo

func (m *MsgTryRunTxMsgSend) MarshalTo(dAtA []byte) (int, error)

func (*MsgTryRunTxMsgSend) MarshalToSizedBuffer

func (m *MsgTryRunTxMsgSend) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgTryRunTxMsgSend) ProtoMessage

func (*MsgTryRunTxMsgSend) ProtoMessage()

func (*MsgTryRunTxMsgSend) Reset

func (m *MsgTryRunTxMsgSend) Reset()

func (MsgTryRunTxMsgSend) Route

func (MsgTryRunTxMsgSend) Route() string

func (*MsgTryRunTxMsgSend) Size

func (m *MsgTryRunTxMsgSend) Size() (n int)

func (*MsgTryRunTxMsgSend) String

func (m *MsgTryRunTxMsgSend) String() string

func (MsgTryRunTxMsgSend) Type

func (MsgTryRunTxMsgSend) Type() string

func (*MsgTryRunTxMsgSend) Unmarshal

func (m *MsgTryRunTxMsgSend) Unmarshal(dAtA []byte) error

func (MsgTryRunTxMsgSend) ValidateBasic

func (MsgTryRunTxMsgSend) ValidateBasic() error

func (*MsgTryRunTxMsgSend) XXX_DiscardUnknown

func (m *MsgTryRunTxMsgSend) XXX_DiscardUnknown()

func (*MsgTryRunTxMsgSend) XXX_Marshal

func (m *MsgTryRunTxMsgSend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgTryRunTxMsgSend) XXX_Merge

func (m *MsgTryRunTxMsgSend) XXX_Merge(src proto.Message)

func (*MsgTryRunTxMsgSend) XXX_Size

func (m *MsgTryRunTxMsgSend) XXX_Size() int

func (*MsgTryRunTxMsgSend) XXX_Unmarshal

func (m *MsgTryRunTxMsgSend) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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