Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterInterfaces(registry types.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- type MsgClient
- type MsgCreateClient
- func (*MsgCreateClient) Descriptor() ([]byte, []int)
- func (this *MsgCreateClient) Equal(that interface{}) bool
- func (m MsgCreateClient) GetSigners() []sdk.AccAddress
- func (m *MsgCreateClient) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateClient) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateClient) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateClient) ProtoMessage()
- func (m *MsgCreateClient) Reset()
- func (m MsgCreateClient) Route() string
- func (m *MsgCreateClient) Size() (n int)
- func (m *MsgCreateClient) String() string
- func (m MsgCreateClient) Type() string
- func (m *MsgCreateClient) Unmarshal(dAtA []byte) error
- func (cup MsgCreateClient) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (m MsgCreateClient) ValidateBasic() error
- func (m *MsgCreateClient) XXX_DiscardUnknown()
- func (m *MsgCreateClient) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateClient) XXX_Merge(src proto.Message)
- func (m *MsgCreateClient) XXX_Size() int
- func (m *MsgCreateClient) XXX_Unmarshal(b []byte) error
- type MsgCreateClientResponse
- func (*MsgCreateClientResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateClientResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateClientResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateClientResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateClientResponse) ProtoMessage()
- func (m *MsgCreateClientResponse) Reset()
- func (m *MsgCreateClientResponse) Size() (n int)
- func (m *MsgCreateClientResponse) String() string
- func (m *MsgCreateClientResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateClientResponse) XXX_DiscardUnknown()
- func (m *MsgCreateClientResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateClientResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateClientResponse) XXX_Size() int
- func (m *MsgCreateClientResponse) XXX_Unmarshal(b []byte) error
- type MsgRegisterRelayer
- func (*MsgRegisterRelayer) Descriptor() ([]byte, []int)
- func (this *MsgRegisterRelayer) Equal(that interface{}) bool
- func (m MsgRegisterRelayer) GetSigners() []sdk.AccAddress
- func (m *MsgRegisterRelayer) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterRelayer) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterRelayer) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterRelayer) ProtoMessage()
- func (m *MsgRegisterRelayer) Reset()
- func (m MsgRegisterRelayer) Route() string
- func (m *MsgRegisterRelayer) Size() (n int)
- func (m *MsgRegisterRelayer) String() string
- func (m MsgRegisterRelayer) Type() string
- func (m *MsgRegisterRelayer) Unmarshal(dAtA []byte) error
- func (m MsgRegisterRelayer) ValidateBasic() error
- func (m *MsgRegisterRelayer) XXX_DiscardUnknown()
- func (m *MsgRegisterRelayer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterRelayer) XXX_Merge(src proto.Message)
- func (m *MsgRegisterRelayer) XXX_Size() int
- func (m *MsgRegisterRelayer) XXX_Unmarshal(b []byte) error
- type MsgRegisterRelayerResponse
- func (*MsgRegisterRelayerResponse) Descriptor() ([]byte, []int)
- func (m *MsgRegisterRelayerResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterRelayerResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterRelayerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterRelayerResponse) ProtoMessage()
- func (m *MsgRegisterRelayerResponse) Reset()
- func (m *MsgRegisterRelayerResponse) Size() (n int)
- func (m *MsgRegisterRelayerResponse) String() string
- func (m *MsgRegisterRelayerResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRegisterRelayerResponse) XXX_DiscardUnknown()
- func (m *MsgRegisterRelayerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterRelayerResponse) XXX_Merge(src proto.Message)
- func (m *MsgRegisterRelayerResponse) XXX_Size() int
- func (m *MsgRegisterRelayerResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgSetRoutingRules
- func (*MsgSetRoutingRules) Descriptor() ([]byte, []int)
- func (this *MsgSetRoutingRules) Equal(that interface{}) bool
- func (m MsgSetRoutingRules) GetSigners() []sdk.AccAddress
- func (m *MsgSetRoutingRules) Marshal() (dAtA []byte, err error)
- func (m *MsgSetRoutingRules) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetRoutingRules) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetRoutingRules) ProtoMessage()
- func (m *MsgSetRoutingRules) Reset()
- func (m *MsgSetRoutingRules) Size() (n int)
- func (m *MsgSetRoutingRules) String() string
- func (m MsgSetRoutingRules) Type() string
- func (m *MsgSetRoutingRules) Unmarshal(dAtA []byte) error
- func (cup MsgSetRoutingRules) ValidateBasic() error
- func (m *MsgSetRoutingRules) XXX_DiscardUnknown()
- func (m *MsgSetRoutingRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetRoutingRules) XXX_Merge(src proto.Message)
- func (m *MsgSetRoutingRules) XXX_Size() int
- func (m *MsgSetRoutingRules) XXX_Unmarshal(b []byte) error
- type MsgSetRoutingRulesResponse
- func (*MsgSetRoutingRulesResponse) Descriptor() ([]byte, []int)
- func (m *MsgSetRoutingRulesResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSetRoutingRulesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetRoutingRulesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetRoutingRulesResponse) ProtoMessage()
- func (m *MsgSetRoutingRulesResponse) Reset()
- func (m *MsgSetRoutingRulesResponse) Size() (n int)
- func (m *MsgSetRoutingRulesResponse) String() string
- func (m *MsgSetRoutingRulesResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSetRoutingRulesResponse) XXX_DiscardUnknown()
- func (m *MsgSetRoutingRulesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetRoutingRulesResponse) XXX_Merge(src proto.Message)
- func (m *MsgSetRoutingRulesResponse) XXX_Size() int
- func (m *MsgSetRoutingRulesResponse) XXX_Unmarshal(b []byte) error
- type MsgUpgradeClient
- func (*MsgUpgradeClient) Descriptor() ([]byte, []int)
- func (this *MsgUpgradeClient) Equal(that interface{}) bool
- func (m MsgUpgradeClient) GetSigners() []sdk.AccAddress
- func (m *MsgUpgradeClient) Marshal() (dAtA []byte, err error)
- func (m *MsgUpgradeClient) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpgradeClient) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpgradeClient) ProtoMessage()
- func (m *MsgUpgradeClient) Reset()
- func (m MsgUpgradeClient) Route() string
- func (m *MsgUpgradeClient) Size() (n int)
- func (m *MsgUpgradeClient) String() string
- func (m MsgUpgradeClient) Type() string
- func (m *MsgUpgradeClient) Unmarshal(dAtA []byte) error
- func (cup MsgUpgradeClient) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (m MsgUpgradeClient) ValidateBasic() error
- func (m *MsgUpgradeClient) XXX_DiscardUnknown()
- func (m *MsgUpgradeClient) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpgradeClient) XXX_Merge(src proto.Message)
- func (m *MsgUpgradeClient) XXX_Size() int
- func (m *MsgUpgradeClient) XXX_Unmarshal(b []byte) error
- type MsgUpgradeClientResponse
- func (*MsgUpgradeClientResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpgradeClientResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpgradeClientResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpgradeClientResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpgradeClientResponse) ProtoMessage()
- func (m *MsgUpgradeClientResponse) Reset()
- func (m *MsgUpgradeClientResponse) Size() (n int)
- func (m *MsgUpgradeClientResponse) String() string
- func (m *MsgUpgradeClientResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpgradeClientResponse) XXX_DiscardUnknown()
- func (m *MsgUpgradeClientResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpgradeClientResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpgradeClientResponse) XXX_Size() int
- func (m *MsgUpgradeClientResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) CreateClient(ctx context.Context, req *MsgCreateClient) (*MsgCreateClientResponse, error)
- func (*UnimplementedMsgServer) RegisterRelayer(ctx context.Context, req *MsgRegisterRelayer) (*MsgRegisterRelayerResponse, error)
- func (*UnimplementedMsgServer) SetRoutingRules(ctx context.Context, req *MsgSetRoutingRules) (*MsgSetRoutingRulesResponse, error)
- func (*UnimplementedMsgServer) UpgradeClient(ctx context.Context, req *MsgUpgradeClient) (*MsgUpgradeClientResponse, error)
Constants ¶
const ( // ModuleName is the name of the OPB module ModuleName = "tibc" // StoreKey is the string store representation StoreKey = ModuleName // QuerierRoute is the querier route for the OPB module QuerierRoute = ModuleName // RouterKey is the msg router key for the OPB module RouterKey = ModuleName )
const ( TypeMsgCreateClient = "create" TypeMsgUpgradeClient = "upgrade" TypeMsgRegisterRelayer = "register" TypeMsgSetRoutingRules = "set-rules" )
Variables ¶
Functions ¶
func RegisterInterfaces ¶
func RegisterInterfaces(registry types.InterfaceRegistry)
func RegisterMsgServer ¶
Types ¶
type MsgClient ¶
type MsgClient interface { CreateClient(ctx context.Context, in *MsgCreateClient, opts ...grpc.CallOption) (*MsgCreateClientResponse, error) UpgradeClient(ctx context.Context, in *MsgUpgradeClient, opts ...grpc.CallOption) (*MsgUpgradeClientResponse, error) RegisterRelayer(ctx context.Context, in *MsgRegisterRelayer, opts ...grpc.CallOption) (*MsgRegisterRelayerResponse, error) SetRoutingRules(ctx context.Context, in *MsgSetRoutingRules, opts ...grpc.CallOption) (*MsgSetRoutingRulesResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgCreateClient ¶
type MsgCreateClient struct { ChainName string `protobuf:"bytes,1,opt,name=chainName,proto3" json:"chainName,omitempty"` ClientState *types.Any `protobuf:"bytes,2,opt,name=clientState,proto3" json:"clientState,omitempty"` ConsensusState *types.Any `protobuf:"bytes,3,opt,name=consensusState,proto3" json:"consensusState,omitempty"` Signer string `protobuf:"bytes,4,opt,name=signer,proto3" json:"signer,omitempty"` }
MsgMint defines a message to mint the base native token.
func NewMsgCreateClient ¶
func NewMsgCreateClient(chainName string, clientState exported.ClientState, consensusState exported.ConsensusState, signer sdk.AccAddress) (*MsgCreateClient, error)
func (*MsgCreateClient) Descriptor ¶
func (*MsgCreateClient) Descriptor() ([]byte, []int)
func (*MsgCreateClient) Equal ¶
func (this *MsgCreateClient) Equal(that interface{}) bool
func (MsgCreateClient) GetSigners ¶
func (m MsgCreateClient) GetSigners() []sdk.AccAddress
GetSigners implements Msg.
func (*MsgCreateClient) Marshal ¶
func (m *MsgCreateClient) Marshal() (dAtA []byte, err error)
func (*MsgCreateClient) MarshalToSizedBuffer ¶
func (m *MsgCreateClient) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateClient) ProtoMessage ¶
func (*MsgCreateClient) ProtoMessage()
func (*MsgCreateClient) Reset ¶
func (m *MsgCreateClient) Reset()
func (*MsgCreateClient) Size ¶
func (m *MsgCreateClient) Size() (n int)
func (*MsgCreateClient) String ¶
func (m *MsgCreateClient) String() string
func (*MsgCreateClient) Unmarshal ¶
func (m *MsgCreateClient) Unmarshal(dAtA []byte) error
func (MsgCreateClient) UnpackInterfaces ¶
func (cup MsgCreateClient) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
func (MsgCreateClient) ValidateBasic ¶
func (m MsgCreateClient) ValidateBasic() error
ValidateBasic implements Msg.
func (*MsgCreateClient) XXX_DiscardUnknown ¶
func (m *MsgCreateClient) XXX_DiscardUnknown()
func (*MsgCreateClient) XXX_Marshal ¶
func (m *MsgCreateClient) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateClient) XXX_Merge ¶
func (m *MsgCreateClient) XXX_Merge(src proto.Message)
func (*MsgCreateClient) XXX_Size ¶
func (m *MsgCreateClient) XXX_Size() int
func (*MsgCreateClient) XXX_Unmarshal ¶
func (m *MsgCreateClient) XXX_Unmarshal(b []byte) error
type MsgCreateClientResponse ¶
type MsgCreateClientResponse struct { }
MsgMintResponse defines the Msg/Mint response type.
func (*MsgCreateClientResponse) Descriptor ¶
func (*MsgCreateClientResponse) Descriptor() ([]byte, []int)
func (*MsgCreateClientResponse) Marshal ¶
func (m *MsgCreateClientResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateClientResponse) MarshalTo ¶
func (m *MsgCreateClientResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateClientResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateClientResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateClientResponse) ProtoMessage ¶
func (*MsgCreateClientResponse) ProtoMessage()
func (*MsgCreateClientResponse) Reset ¶
func (m *MsgCreateClientResponse) Reset()
func (*MsgCreateClientResponse) Size ¶
func (m *MsgCreateClientResponse) Size() (n int)
func (*MsgCreateClientResponse) String ¶
func (m *MsgCreateClientResponse) String() string
func (*MsgCreateClientResponse) Unmarshal ¶
func (m *MsgCreateClientResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateClientResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateClientResponse) XXX_DiscardUnknown()
func (*MsgCreateClientResponse) XXX_Marshal ¶
func (m *MsgCreateClientResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateClientResponse) XXX_Merge ¶
func (m *MsgCreateClientResponse) XXX_Merge(src proto.Message)
func (*MsgCreateClientResponse) XXX_Size ¶
func (m *MsgCreateClientResponse) XXX_Size() int
func (*MsgCreateClientResponse) XXX_Unmarshal ¶
func (m *MsgCreateClientResponse) XXX_Unmarshal(b []byte) error
type MsgRegisterRelayer ¶
type MsgRegisterRelayer struct { ChainName string `protobuf:"bytes,1,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"` Relayers []string `protobuf:"bytes,2,rep,name=relayers,proto3" json:"relayers,omitempty"` Signer string `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"` }
func NewMsgRegisterRelayer ¶
func NewMsgRegisterRelayer(chainName string, relayers []string, signer sdk.AccAddress) (*MsgRegisterRelayer, error)
func (*MsgRegisterRelayer) Descriptor ¶
func (*MsgRegisterRelayer) Descriptor() ([]byte, []int)
func (*MsgRegisterRelayer) Equal ¶
func (this *MsgRegisterRelayer) Equal(that interface{}) bool
func (MsgRegisterRelayer) GetSigners ¶
func (m MsgRegisterRelayer) GetSigners() []sdk.AccAddress
GetSigners implements Msg.
func (*MsgRegisterRelayer) Marshal ¶
func (m *MsgRegisterRelayer) Marshal() (dAtA []byte, err error)
func (*MsgRegisterRelayer) MarshalTo ¶
func (m *MsgRegisterRelayer) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterRelayer) MarshalToSizedBuffer ¶
func (m *MsgRegisterRelayer) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterRelayer) ProtoMessage ¶
func (*MsgRegisterRelayer) ProtoMessage()
func (*MsgRegisterRelayer) Reset ¶
func (m *MsgRegisterRelayer) Reset()
func (*MsgRegisterRelayer) Size ¶
func (m *MsgRegisterRelayer) Size() (n int)
func (*MsgRegisterRelayer) String ¶
func (m *MsgRegisterRelayer) String() string
func (*MsgRegisterRelayer) Unmarshal ¶
func (m *MsgRegisterRelayer) Unmarshal(dAtA []byte) error
func (MsgRegisterRelayer) ValidateBasic ¶
func (m MsgRegisterRelayer) ValidateBasic() error
ValidateBasic implements Msg.
func (*MsgRegisterRelayer) XXX_DiscardUnknown ¶
func (m *MsgRegisterRelayer) XXX_DiscardUnknown()
func (*MsgRegisterRelayer) XXX_Marshal ¶
func (m *MsgRegisterRelayer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterRelayer) XXX_Merge ¶
func (m *MsgRegisterRelayer) XXX_Merge(src proto.Message)
func (*MsgRegisterRelayer) XXX_Size ¶
func (m *MsgRegisterRelayer) XXX_Size() int
func (*MsgRegisterRelayer) XXX_Unmarshal ¶
func (m *MsgRegisterRelayer) XXX_Unmarshal(b []byte) error
type MsgRegisterRelayerResponse ¶
type MsgRegisterRelayerResponse struct { }
func (*MsgRegisterRelayerResponse) Descriptor ¶
func (*MsgRegisterRelayerResponse) Descriptor() ([]byte, []int)
func (*MsgRegisterRelayerResponse) Marshal ¶
func (m *MsgRegisterRelayerResponse) Marshal() (dAtA []byte, err error)
func (*MsgRegisterRelayerResponse) MarshalTo ¶
func (m *MsgRegisterRelayerResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterRelayerResponse) MarshalToSizedBuffer ¶
func (m *MsgRegisterRelayerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterRelayerResponse) ProtoMessage ¶
func (*MsgRegisterRelayerResponse) ProtoMessage()
func (*MsgRegisterRelayerResponse) Reset ¶
func (m *MsgRegisterRelayerResponse) Reset()
func (*MsgRegisterRelayerResponse) Size ¶
func (m *MsgRegisterRelayerResponse) Size() (n int)
func (*MsgRegisterRelayerResponse) String ¶
func (m *MsgRegisterRelayerResponse) String() string
func (*MsgRegisterRelayerResponse) Unmarshal ¶
func (m *MsgRegisterRelayerResponse) Unmarshal(dAtA []byte) error
func (*MsgRegisterRelayerResponse) XXX_DiscardUnknown ¶
func (m *MsgRegisterRelayerResponse) XXX_DiscardUnknown()
func (*MsgRegisterRelayerResponse) XXX_Marshal ¶
func (m *MsgRegisterRelayerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterRelayerResponse) XXX_Merge ¶
func (m *MsgRegisterRelayerResponse) XXX_Merge(src proto.Message)
func (*MsgRegisterRelayerResponse) XXX_Size ¶
func (m *MsgRegisterRelayerResponse) XXX_Size() int
func (*MsgRegisterRelayerResponse) XXX_Unmarshal ¶
func (m *MsgRegisterRelayerResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { CreateClient(context.Context, *MsgCreateClient) (*MsgCreateClientResponse, error) UpgradeClient(context.Context, *MsgUpgradeClient) (*MsgUpgradeClientResponse, error) RegisterRelayer(context.Context, *MsgRegisterRelayer) (*MsgRegisterRelayerResponse, error) SetRoutingRules(context.Context, *MsgSetRoutingRules) (*MsgSetRoutingRulesResponse, error) }
MsgServer is the server API for Msg service.
type MsgSetRoutingRules ¶
type MsgSetRoutingRules struct { Rules []string `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"` }
func NewMsgSetRoutingRules ¶
func NewMsgSetRoutingRules(rules []string, signer sdk.AccAddress) (*MsgSetRoutingRules, error)
func (*MsgSetRoutingRules) Descriptor ¶
func (*MsgSetRoutingRules) Descriptor() ([]byte, []int)
func (*MsgSetRoutingRules) Equal ¶
func (this *MsgSetRoutingRules) Equal(that interface{}) bool
func (MsgSetRoutingRules) GetSigners ¶
func (m MsgSetRoutingRules) GetSigners() []sdk.AccAddress
GetSigners implements Msg.
func (*MsgSetRoutingRules) Marshal ¶
func (m *MsgSetRoutingRules) Marshal() (dAtA []byte, err error)
func (*MsgSetRoutingRules) MarshalTo ¶
func (m *MsgSetRoutingRules) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetRoutingRules) MarshalToSizedBuffer ¶
func (m *MsgSetRoutingRules) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetRoutingRules) ProtoMessage ¶
func (*MsgSetRoutingRules) ProtoMessage()
func (*MsgSetRoutingRules) Reset ¶
func (m *MsgSetRoutingRules) Reset()
func (*MsgSetRoutingRules) Size ¶
func (m *MsgSetRoutingRules) Size() (n int)
func (*MsgSetRoutingRules) String ¶
func (m *MsgSetRoutingRules) String() string
func (*MsgSetRoutingRules) Unmarshal ¶
func (m *MsgSetRoutingRules) Unmarshal(dAtA []byte) error
func (MsgSetRoutingRules) ValidateBasic ¶
func (cup MsgSetRoutingRules) ValidateBasic() error
ValidateBasic runs basic stateless validity checks
func (*MsgSetRoutingRules) XXX_DiscardUnknown ¶
func (m *MsgSetRoutingRules) XXX_DiscardUnknown()
func (*MsgSetRoutingRules) XXX_Marshal ¶
func (m *MsgSetRoutingRules) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetRoutingRules) XXX_Merge ¶
func (m *MsgSetRoutingRules) XXX_Merge(src proto.Message)
func (*MsgSetRoutingRules) XXX_Size ¶
func (m *MsgSetRoutingRules) XXX_Size() int
func (*MsgSetRoutingRules) XXX_Unmarshal ¶
func (m *MsgSetRoutingRules) XXX_Unmarshal(b []byte) error
type MsgSetRoutingRulesResponse ¶
type MsgSetRoutingRulesResponse struct { }
func (*MsgSetRoutingRulesResponse) Descriptor ¶
func (*MsgSetRoutingRulesResponse) Descriptor() ([]byte, []int)
func (*MsgSetRoutingRulesResponse) Marshal ¶
func (m *MsgSetRoutingRulesResponse) Marshal() (dAtA []byte, err error)
func (*MsgSetRoutingRulesResponse) MarshalTo ¶
func (m *MsgSetRoutingRulesResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetRoutingRulesResponse) MarshalToSizedBuffer ¶
func (m *MsgSetRoutingRulesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetRoutingRulesResponse) ProtoMessage ¶
func (*MsgSetRoutingRulesResponse) ProtoMessage()
func (*MsgSetRoutingRulesResponse) Reset ¶
func (m *MsgSetRoutingRulesResponse) Reset()
func (*MsgSetRoutingRulesResponse) Size ¶
func (m *MsgSetRoutingRulesResponse) Size() (n int)
func (*MsgSetRoutingRulesResponse) String ¶
func (m *MsgSetRoutingRulesResponse) String() string
func (*MsgSetRoutingRulesResponse) Unmarshal ¶
func (m *MsgSetRoutingRulesResponse) Unmarshal(dAtA []byte) error
func (*MsgSetRoutingRulesResponse) XXX_DiscardUnknown ¶
func (m *MsgSetRoutingRulesResponse) XXX_DiscardUnknown()
func (*MsgSetRoutingRulesResponse) XXX_Marshal ¶
func (m *MsgSetRoutingRulesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetRoutingRulesResponse) XXX_Merge ¶
func (m *MsgSetRoutingRulesResponse) XXX_Merge(src proto.Message)
func (*MsgSetRoutingRulesResponse) XXX_Size ¶
func (m *MsgSetRoutingRulesResponse) XXX_Size() int
func (*MsgSetRoutingRulesResponse) XXX_Unmarshal ¶
func (m *MsgSetRoutingRulesResponse) XXX_Unmarshal(b []byte) error
type MsgUpgradeClient ¶
type MsgUpgradeClient struct { ChainName string `protobuf:"bytes,1,opt,name=chainName,proto3" json:"chainName,omitempty"` ClientState *types.Any `protobuf:"bytes,2,opt,name=clientState,proto3" json:"clientState,omitempty"` ConsensusState *types.Any `protobuf:"bytes,3,opt,name=consensusState,proto3" json:"consensusState,omitempty"` Signer string `protobuf:"bytes,4,opt,name=signer,proto3" json:"signer,omitempty"` }
MsgReclaim defines a message to reclaim the specified native token.
func NewMsgUpgradeClient ¶
func NewMsgUpgradeClient(chainName string, clientState exported.ClientState, consensusState exported.ConsensusState, signer sdk.AccAddress) (*MsgUpgradeClient, error)
func (*MsgUpgradeClient) Descriptor ¶
func (*MsgUpgradeClient) Descriptor() ([]byte, []int)
func (*MsgUpgradeClient) Equal ¶
func (this *MsgUpgradeClient) Equal(that interface{}) bool
func (MsgUpgradeClient) GetSigners ¶
func (m MsgUpgradeClient) GetSigners() []sdk.AccAddress
GetSigners implements Msg.
func (*MsgUpgradeClient) Marshal ¶
func (m *MsgUpgradeClient) Marshal() (dAtA []byte, err error)
func (*MsgUpgradeClient) MarshalToSizedBuffer ¶
func (m *MsgUpgradeClient) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpgradeClient) ProtoMessage ¶
func (*MsgUpgradeClient) ProtoMessage()
func (*MsgUpgradeClient) Reset ¶
func (m *MsgUpgradeClient) Reset()
func (*MsgUpgradeClient) Size ¶
func (m *MsgUpgradeClient) Size() (n int)
func (*MsgUpgradeClient) String ¶
func (m *MsgUpgradeClient) String() string
func (*MsgUpgradeClient) Unmarshal ¶
func (m *MsgUpgradeClient) Unmarshal(dAtA []byte) error
func (MsgUpgradeClient) UnpackInterfaces ¶
func (cup MsgUpgradeClient) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
func (MsgUpgradeClient) ValidateBasic ¶
func (m MsgUpgradeClient) ValidateBasic() error
ValidateBasic implements Msg.
func (*MsgUpgradeClient) XXX_DiscardUnknown ¶
func (m *MsgUpgradeClient) XXX_DiscardUnknown()
func (*MsgUpgradeClient) XXX_Marshal ¶
func (m *MsgUpgradeClient) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpgradeClient) XXX_Merge ¶
func (m *MsgUpgradeClient) XXX_Merge(src proto.Message)
func (*MsgUpgradeClient) XXX_Size ¶
func (m *MsgUpgradeClient) XXX_Size() int
func (*MsgUpgradeClient) XXX_Unmarshal ¶
func (m *MsgUpgradeClient) XXX_Unmarshal(b []byte) error
type MsgUpgradeClientResponse ¶
type MsgUpgradeClientResponse struct { }
MsgReclaimResponse defines the Msg/Reclaim response type.
func (*MsgUpgradeClientResponse) Descriptor ¶
func (*MsgUpgradeClientResponse) Descriptor() ([]byte, []int)
func (*MsgUpgradeClientResponse) Marshal ¶
func (m *MsgUpgradeClientResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpgradeClientResponse) MarshalTo ¶
func (m *MsgUpgradeClientResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpgradeClientResponse) MarshalToSizedBuffer ¶
func (m *MsgUpgradeClientResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpgradeClientResponse) ProtoMessage ¶
func (*MsgUpgradeClientResponse) ProtoMessage()
func (*MsgUpgradeClientResponse) Reset ¶
func (m *MsgUpgradeClientResponse) Reset()
func (*MsgUpgradeClientResponse) Size ¶
func (m *MsgUpgradeClientResponse) Size() (n int)
func (*MsgUpgradeClientResponse) String ¶
func (m *MsgUpgradeClientResponse) String() string
func (*MsgUpgradeClientResponse) Unmarshal ¶
func (m *MsgUpgradeClientResponse) Unmarshal(dAtA []byte) error
func (*MsgUpgradeClientResponse) XXX_DiscardUnknown ¶
func (m *MsgUpgradeClientResponse) XXX_DiscardUnknown()
func (*MsgUpgradeClientResponse) XXX_Marshal ¶
func (m *MsgUpgradeClientResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpgradeClientResponse) XXX_Merge ¶
func (m *MsgUpgradeClientResponse) XXX_Merge(src proto.Message)
func (*MsgUpgradeClientResponse) XXX_Size ¶
func (m *MsgUpgradeClientResponse) XXX_Size() int
func (*MsgUpgradeClientResponse) XXX_Unmarshal ¶
func (m *MsgUpgradeClientResponse) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CreateClient ¶
func (*UnimplementedMsgServer) CreateClient(ctx context.Context, req *MsgCreateClient) (*MsgCreateClientResponse, error)
func (*UnimplementedMsgServer) RegisterRelayer ¶
func (*UnimplementedMsgServer) RegisterRelayer(ctx context.Context, req *MsgRegisterRelayer) (*MsgRegisterRelayerResponse, error)
func (*UnimplementedMsgServer) SetRoutingRules ¶
func (*UnimplementedMsgServer) SetRoutingRules(ctx context.Context, req *MsgSetRoutingRules) (*MsgSetRoutingRulesResponse, error)
func (*UnimplementedMsgServer) UpgradeClient ¶
func (*UnimplementedMsgServer) UpgradeClient(ctx context.Context, req *MsgUpgradeClient) (*MsgUpgradeClientResponse, error)