Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterInterfaces(registry codectypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- type MsgClient
- type MsgRegisterInterchainAccount
- func (*MsgRegisterInterchainAccount) Descriptor() ([]byte, []int)
- func (msg MsgRegisterInterchainAccount) GetSigners() []sdk.AccAddress
- func (m *MsgRegisterInterchainAccount) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterInterchainAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterInterchainAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterInterchainAccount) ProtoMessage()
- func (m *MsgRegisterInterchainAccount) Reset()
- func (m *MsgRegisterInterchainAccount) Size() (n int)
- func (m *MsgRegisterInterchainAccount) String() string
- func (m *MsgRegisterInterchainAccount) Unmarshal(dAtA []byte) error
- func (msg MsgRegisterInterchainAccount) ValidateBasic() error
- func (m *MsgRegisterInterchainAccount) XXX_DiscardUnknown()
- func (m *MsgRegisterInterchainAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterInterchainAccount) XXX_Merge(src proto.Message)
- func (m *MsgRegisterInterchainAccount) XXX_Size() int
- func (m *MsgRegisterInterchainAccount) XXX_Unmarshal(b []byte) error
- type MsgRegisterInterchainAccountResponse
- func (*MsgRegisterInterchainAccountResponse) Descriptor() ([]byte, []int)
- func (m *MsgRegisterInterchainAccountResponse) GetChannelId() string
- func (m *MsgRegisterInterchainAccountResponse) GetPortId() string
- func (m *MsgRegisterInterchainAccountResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterInterchainAccountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterInterchainAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterInterchainAccountResponse) ProtoMessage()
- func (m *MsgRegisterInterchainAccountResponse) Reset()
- func (m *MsgRegisterInterchainAccountResponse) Size() (n int)
- func (m *MsgRegisterInterchainAccountResponse) String() string
- func (m *MsgRegisterInterchainAccountResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRegisterInterchainAccountResponse) XXX_DiscardUnknown()
- func (m *MsgRegisterInterchainAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterInterchainAccountResponse) XXX_Merge(src proto.Message)
- func (m *MsgRegisterInterchainAccountResponse) XXX_Size() int
- func (m *MsgRegisterInterchainAccountResponse) XXX_Unmarshal(b []byte) error
- type MsgSendTx
- func (*MsgSendTx) Descriptor() ([]byte, []int)
- func (msg MsgSendTx) GetSigners() []sdk.AccAddress
- func (m *MsgSendTx) Marshal() (dAtA []byte, err error)
- func (m *MsgSendTx) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSendTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSendTx) ProtoMessage()
- func (m *MsgSendTx) Reset()
- func (m *MsgSendTx) Size() (n int)
- func (m *MsgSendTx) String() string
- func (m *MsgSendTx) Unmarshal(dAtA []byte) error
- func (msg MsgSendTx) ValidateBasic() error
- func (m *MsgSendTx) XXX_DiscardUnknown()
- func (m *MsgSendTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSendTx) XXX_Merge(src proto.Message)
- func (m *MsgSendTx) XXX_Size() int
- func (m *MsgSendTx) XXX_Unmarshal(b []byte) error
- type MsgSendTxResponse
- func (*MsgSendTxResponse) Descriptor() ([]byte, []int)
- func (m *MsgSendTxResponse) GetSequence() uint64
- func (m *MsgSendTxResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSendTxResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSendTxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSendTxResponse) ProtoMessage()
- func (m *MsgSendTxResponse) Reset()
- func (m *MsgSendTxResponse) Size() (n int)
- func (m *MsgSendTxResponse) String() string
- func (m *MsgSendTxResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSendTxResponse) XXX_DiscardUnknown()
- func (m *MsgSendTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSendTxResponse) XXX_Merge(src proto.Message)
- func (m *MsgSendTxResponse) XXX_Size() int
- func (m *MsgSendTxResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetControllerEnabled() bool
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryInterchainAccountRequest
- func (*QueryInterchainAccountRequest) Descriptor() ([]byte, []int)
- func (m *QueryInterchainAccountRequest) GetConnectionId() string
- func (m *QueryInterchainAccountRequest) GetOwner() string
- func (m *QueryInterchainAccountRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryInterchainAccountRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryInterchainAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryInterchainAccountRequest) ProtoMessage()
- func (m *QueryInterchainAccountRequest) Reset()
- func (m *QueryInterchainAccountRequest) Size() (n int)
- func (m *QueryInterchainAccountRequest) String() string
- func (m *QueryInterchainAccountRequest) Unmarshal(dAtA []byte) error
- func (m *QueryInterchainAccountRequest) XXX_DiscardUnknown()
- func (m *QueryInterchainAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryInterchainAccountRequest) XXX_Merge(src proto.Message)
- func (m *QueryInterchainAccountRequest) XXX_Size() int
- func (m *QueryInterchainAccountRequest) XXX_Unmarshal(b []byte) error
- type QueryInterchainAccountResponse
- func (*QueryInterchainAccountResponse) Descriptor() ([]byte, []int)
- func (m *QueryInterchainAccountResponse) GetAddress() string
- func (m *QueryInterchainAccountResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryInterchainAccountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryInterchainAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryInterchainAccountResponse) ProtoMessage()
- func (m *QueryInterchainAccountResponse) Reset()
- func (m *QueryInterchainAccountResponse) Size() (n int)
- func (m *QueryInterchainAccountResponse) String() string
- func (m *QueryInterchainAccountResponse) Unmarshal(dAtA []byte) error
- func (m *QueryInterchainAccountResponse) XXX_DiscardUnknown()
- func (m *QueryInterchainAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryInterchainAccountResponse) XXX_Merge(src proto.Message)
- func (m *QueryInterchainAccountResponse) XXX_Size() int
- func (m *QueryInterchainAccountResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() *Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type UnimplementedMsgServer
- type UnimplementedQueryServer
Constants ¶
const ( // SubModuleName defines the interchain accounts controller module name SubModuleName = "icacontroller" // StoreKey is the store key string for the interchain accounts controller module StoreKey = SubModuleName )
const ( // DefaultControllerEnabled is the default value for the controller param (set to true) DefaultControllerEnabled = true )
Variables ¶
var ( ErrInvalidLengthController = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowController = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupController = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var (
ErrControllerSubModuleDisabled = sdkerrors.Register(SubModuleName, 2, "controller submodule is disabled")
)
ICA Controller sentinel errors
var KeyControllerEnabled = []byte("ControllerEnabled")
KeyControllerEnabled is the store key for ControllerEnabled Params
Functions ¶
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable type declaration for parameters
func RegisterInterfaces ¶
func RegisterInterfaces(registry codectypes.InterfaceRegistry)
RegisterInterfaces registers the interchain accounts controller message types using the provided InterfaceRegistry
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type MsgClient ¶
type MsgClient interface { // RegisterInterchainAccount defines a rpc handler for MsgRegisterInterchainAccount. RegisterInterchainAccount(ctx context.Context, in *MsgRegisterInterchainAccount, opts ...grpc.CallOption) (*MsgRegisterInterchainAccountResponse, error) // SendTx defines a rpc handler for MsgSendTx. SendTx(ctx context.Context, in *MsgSendTx, opts ...grpc.CallOption) (*MsgSendTxResponse, 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 MsgRegisterInterchainAccount ¶
type MsgRegisterInterchainAccount struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` ConnectionId string `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty" yaml:"connection_id"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` Ordering types.Order `protobuf:"varint,4,opt,name=ordering,proto3,enum=ibc.core.channel.v1.Order" json:"ordering,omitempty"` }
MsgRegisterInterchainAccount defines the payload for Msg/RegisterAccount
func NewMsgRegisterInterchainAccount ¶
func NewMsgRegisterInterchainAccount(connectionID, owner, version string) *MsgRegisterInterchainAccount
NewMsgRegisterInterchainAccount creates a new instance of MsgRegisterInterchainAccount. It uses channeltypes.UNORDERED as the default ordering. Breakage in v9.0.0 will allow the ordering to be provided directly. Use NewMsgRegisterInterchainAccountWithOrdering to provide the ordering in previous versions.
func NewMsgRegisterInterchainAccountWithOrdering ¶ added in v7.5.0
func NewMsgRegisterInterchainAccountWithOrdering(connectionID, owner, version string, ordering channeltypes.Order) *MsgRegisterInterchainAccount
NewMsgRegisterInterchainAccountWithOrdering creates a new instance of MsgRegisterInterchainAccount.
func (*MsgRegisterInterchainAccount) Descriptor ¶
func (*MsgRegisterInterchainAccount) Descriptor() ([]byte, []int)
func (MsgRegisterInterchainAccount) GetSigners ¶
func (msg MsgRegisterInterchainAccount) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgRegisterInterchainAccount) Marshal ¶
func (m *MsgRegisterInterchainAccount) Marshal() (dAtA []byte, err error)
func (*MsgRegisterInterchainAccount) MarshalTo ¶
func (m *MsgRegisterInterchainAccount) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterInterchainAccount) MarshalToSizedBuffer ¶
func (m *MsgRegisterInterchainAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterInterchainAccount) ProtoMessage ¶
func (*MsgRegisterInterchainAccount) ProtoMessage()
func (*MsgRegisterInterchainAccount) Reset ¶
func (m *MsgRegisterInterchainAccount) Reset()
func (*MsgRegisterInterchainAccount) Size ¶
func (m *MsgRegisterInterchainAccount) Size() (n int)
func (*MsgRegisterInterchainAccount) String ¶
func (m *MsgRegisterInterchainAccount) String() string
func (*MsgRegisterInterchainAccount) Unmarshal ¶
func (m *MsgRegisterInterchainAccount) Unmarshal(dAtA []byte) error
func (MsgRegisterInterchainAccount) ValidateBasic ¶
func (msg MsgRegisterInterchainAccount) ValidateBasic() error
ValidateBasic implements sdk.Msg
func (*MsgRegisterInterchainAccount) XXX_DiscardUnknown ¶
func (m *MsgRegisterInterchainAccount) XXX_DiscardUnknown()
func (*MsgRegisterInterchainAccount) XXX_Marshal ¶
func (m *MsgRegisterInterchainAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterInterchainAccount) XXX_Merge ¶
func (m *MsgRegisterInterchainAccount) XXX_Merge(src proto.Message)
func (*MsgRegisterInterchainAccount) XXX_Size ¶
func (m *MsgRegisterInterchainAccount) XXX_Size() int
func (*MsgRegisterInterchainAccount) XXX_Unmarshal ¶
func (m *MsgRegisterInterchainAccount) XXX_Unmarshal(b []byte) error
type MsgRegisterInterchainAccountResponse ¶
type MsgRegisterInterchainAccountResponse struct { ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty" yaml:"channel_id"` PortId string `protobuf:"bytes,2,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty" yaml:"port_id"` }
MsgRegisterInterchainAccountResponse defines the response for Msg/RegisterAccount
func (*MsgRegisterInterchainAccountResponse) Descriptor ¶
func (*MsgRegisterInterchainAccountResponse) Descriptor() ([]byte, []int)
func (*MsgRegisterInterchainAccountResponse) GetChannelId ¶
func (m *MsgRegisterInterchainAccountResponse) GetChannelId() string
func (*MsgRegisterInterchainAccountResponse) GetPortId ¶ added in v7.1.0
func (m *MsgRegisterInterchainAccountResponse) GetPortId() string
func (*MsgRegisterInterchainAccountResponse) Marshal ¶
func (m *MsgRegisterInterchainAccountResponse) Marshal() (dAtA []byte, err error)
func (*MsgRegisterInterchainAccountResponse) MarshalTo ¶
func (m *MsgRegisterInterchainAccountResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterInterchainAccountResponse) MarshalToSizedBuffer ¶
func (m *MsgRegisterInterchainAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterInterchainAccountResponse) ProtoMessage ¶
func (*MsgRegisterInterchainAccountResponse) ProtoMessage()
func (*MsgRegisterInterchainAccountResponse) Reset ¶
func (m *MsgRegisterInterchainAccountResponse) Reset()
func (*MsgRegisterInterchainAccountResponse) Size ¶
func (m *MsgRegisterInterchainAccountResponse) Size() (n int)
func (*MsgRegisterInterchainAccountResponse) String ¶
func (m *MsgRegisterInterchainAccountResponse) String() string
func (*MsgRegisterInterchainAccountResponse) Unmarshal ¶
func (m *MsgRegisterInterchainAccountResponse) Unmarshal(dAtA []byte) error
func (*MsgRegisterInterchainAccountResponse) XXX_DiscardUnknown ¶
func (m *MsgRegisterInterchainAccountResponse) XXX_DiscardUnknown()
func (*MsgRegisterInterchainAccountResponse) XXX_Marshal ¶
func (m *MsgRegisterInterchainAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterInterchainAccountResponse) XXX_Merge ¶
func (m *MsgRegisterInterchainAccountResponse) XXX_Merge(src proto.Message)
func (*MsgRegisterInterchainAccountResponse) XXX_Size ¶
func (m *MsgRegisterInterchainAccountResponse) XXX_Size() int
func (*MsgRegisterInterchainAccountResponse) XXX_Unmarshal ¶
func (m *MsgRegisterInterchainAccountResponse) XXX_Unmarshal(b []byte) error
type MsgSendTx ¶
type MsgSendTx struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` ConnectionId string `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty" yaml:"connection_id"` PacketData types1.InterchainAccountPacketData `protobuf:"bytes,3,opt,name=packet_data,json=packetData,proto3" json:"packet_data" yaml:"packet_data"` // Relative timeout timestamp provided will be added to the current block time during transaction execution. // The timeout timestamp must be non-zero. RelativeTimeout uint64 `` /* 131-byte string literal not displayed */ }
MsgSendTx defines the payload for Msg/SendTx
func NewMsgSendTx ¶
func NewMsgSendTx(owner, connectionID string, relativeTimeoutTimestamp uint64, packetData icatypes.InterchainAccountPacketData) *MsgSendTx
NewMsgSendTx creates a new instance of MsgSendTx
func (*MsgSendTx) Descriptor ¶
func (MsgSendTx) GetSigners ¶
func (msg MsgSendTx) GetSigners() []sdk.AccAddress
GetSigners implements sdk.Msg
func (*MsgSendTx) MarshalToSizedBuffer ¶
func (*MsgSendTx) ProtoMessage ¶
func (*MsgSendTx) ProtoMessage()
func (MsgSendTx) ValidateBasic ¶
ValidateBasic implements sdk.Msg
func (*MsgSendTx) XXX_DiscardUnknown ¶
func (m *MsgSendTx) XXX_DiscardUnknown()
func (*MsgSendTx) XXX_Marshal ¶
func (*MsgSendTx) XXX_Unmarshal ¶
type MsgSendTxResponse ¶
type MsgSendTxResponse struct {
Sequence uint64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"`
}
MsgSendTxResponse defines the response for MsgSendTx
func (*MsgSendTxResponse) Descriptor ¶
func (*MsgSendTxResponse) Descriptor() ([]byte, []int)
func (*MsgSendTxResponse) GetSequence ¶
func (m *MsgSendTxResponse) GetSequence() uint64
func (*MsgSendTxResponse) Marshal ¶
func (m *MsgSendTxResponse) Marshal() (dAtA []byte, err error)
func (*MsgSendTxResponse) MarshalTo ¶
func (m *MsgSendTxResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSendTxResponse) MarshalToSizedBuffer ¶
func (m *MsgSendTxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSendTxResponse) ProtoMessage ¶
func (*MsgSendTxResponse) ProtoMessage()
func (*MsgSendTxResponse) Reset ¶
func (m *MsgSendTxResponse) Reset()
func (*MsgSendTxResponse) Size ¶
func (m *MsgSendTxResponse) Size() (n int)
func (*MsgSendTxResponse) String ¶
func (m *MsgSendTxResponse) String() string
func (*MsgSendTxResponse) Unmarshal ¶
func (m *MsgSendTxResponse) Unmarshal(dAtA []byte) error
func (*MsgSendTxResponse) XXX_DiscardUnknown ¶
func (m *MsgSendTxResponse) XXX_DiscardUnknown()
func (*MsgSendTxResponse) XXX_Marshal ¶
func (m *MsgSendTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSendTxResponse) XXX_Merge ¶
func (m *MsgSendTxResponse) XXX_Merge(src proto.Message)
func (*MsgSendTxResponse) XXX_Size ¶
func (m *MsgSendTxResponse) XXX_Size() int
func (*MsgSendTxResponse) XXX_Unmarshal ¶
func (m *MsgSendTxResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // RegisterInterchainAccount defines a rpc handler for MsgRegisterInterchainAccount. RegisterInterchainAccount(context.Context, *MsgRegisterInterchainAccount) (*MsgRegisterInterchainAccountResponse, error) // SendTx defines a rpc handler for MsgSendTx. SendTx(context.Context, *MsgSendTx) (*MsgSendTxResponse, error) }
MsgServer is the server API for Msg service.
type Params ¶
type Params struct { // controller_enabled enables or disables the controller submodule. ControllerEnabled bool `` /* 139-byte string literal not displayed */ }
Params defines the set of on-chain interchain accounts parameters. The following parameters may be used to disable the controller submodule.
func DefaultParams ¶
func DefaultParams() Params
DefaultParams is the default parameter configuration for the controller submodule
func (*Params) Descriptor ¶
func (*Params) GetControllerEnabled ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs implements params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryClient ¶
type QueryClient interface { // InterchainAccount returns the interchain account address for a given owner address on a given connection InterchainAccount(ctx context.Context, in *QueryInterchainAccountRequest, opts ...grpc.CallOption) (*QueryInterchainAccountResponse, error) // Params queries all parameters of the ICA controller submodule. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryInterchainAccountRequest ¶
type QueryInterchainAccountRequest struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` ConnectionId string `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty" yaml:"connection_id"` }
QueryInterchainAccountRequest is the request type for the Query/InterchainAccount RPC method.
func (*QueryInterchainAccountRequest) Descriptor ¶
func (*QueryInterchainAccountRequest) Descriptor() ([]byte, []int)
func (*QueryInterchainAccountRequest) GetConnectionId ¶
func (m *QueryInterchainAccountRequest) GetConnectionId() string
func (*QueryInterchainAccountRequest) GetOwner ¶
func (m *QueryInterchainAccountRequest) GetOwner() string
func (*QueryInterchainAccountRequest) Marshal ¶
func (m *QueryInterchainAccountRequest) Marshal() (dAtA []byte, err error)
func (*QueryInterchainAccountRequest) MarshalTo ¶
func (m *QueryInterchainAccountRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryInterchainAccountRequest) MarshalToSizedBuffer ¶
func (m *QueryInterchainAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryInterchainAccountRequest) ProtoMessage ¶
func (*QueryInterchainAccountRequest) ProtoMessage()
func (*QueryInterchainAccountRequest) Reset ¶
func (m *QueryInterchainAccountRequest) Reset()
func (*QueryInterchainAccountRequest) Size ¶
func (m *QueryInterchainAccountRequest) Size() (n int)
func (*QueryInterchainAccountRequest) String ¶
func (m *QueryInterchainAccountRequest) String() string
func (*QueryInterchainAccountRequest) Unmarshal ¶
func (m *QueryInterchainAccountRequest) Unmarshal(dAtA []byte) error
func (*QueryInterchainAccountRequest) XXX_DiscardUnknown ¶
func (m *QueryInterchainAccountRequest) XXX_DiscardUnknown()
func (*QueryInterchainAccountRequest) XXX_Marshal ¶
func (m *QueryInterchainAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryInterchainAccountRequest) XXX_Merge ¶
func (m *QueryInterchainAccountRequest) XXX_Merge(src proto.Message)
func (*QueryInterchainAccountRequest) XXX_Size ¶
func (m *QueryInterchainAccountRequest) XXX_Size() int
func (*QueryInterchainAccountRequest) XXX_Unmarshal ¶
func (m *QueryInterchainAccountRequest) XXX_Unmarshal(b []byte) error
type QueryInterchainAccountResponse ¶
type QueryInterchainAccountResponse struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}
QueryInterchainAccountResponse the response type for the Query/InterchainAccount RPC method.
func (*QueryInterchainAccountResponse) Descriptor ¶
func (*QueryInterchainAccountResponse) Descriptor() ([]byte, []int)
func (*QueryInterchainAccountResponse) GetAddress ¶
func (m *QueryInterchainAccountResponse) GetAddress() string
func (*QueryInterchainAccountResponse) Marshal ¶
func (m *QueryInterchainAccountResponse) Marshal() (dAtA []byte, err error)
func (*QueryInterchainAccountResponse) MarshalTo ¶
func (m *QueryInterchainAccountResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryInterchainAccountResponse) MarshalToSizedBuffer ¶
func (m *QueryInterchainAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryInterchainAccountResponse) ProtoMessage ¶
func (*QueryInterchainAccountResponse) ProtoMessage()
func (*QueryInterchainAccountResponse) Reset ¶
func (m *QueryInterchainAccountResponse) Reset()
func (*QueryInterchainAccountResponse) Size ¶
func (m *QueryInterchainAccountResponse) Size() (n int)
func (*QueryInterchainAccountResponse) String ¶
func (m *QueryInterchainAccountResponse) String() string
func (*QueryInterchainAccountResponse) Unmarshal ¶
func (m *QueryInterchainAccountResponse) Unmarshal(dAtA []byte) error
func (*QueryInterchainAccountResponse) XXX_DiscardUnknown ¶
func (m *QueryInterchainAccountResponse) XXX_DiscardUnknown()
func (*QueryInterchainAccountResponse) XXX_Marshal ¶
func (m *QueryInterchainAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryInterchainAccountResponse) XXX_Merge ¶
func (m *QueryInterchainAccountResponse) XXX_Merge(src proto.Message)
func (*QueryInterchainAccountResponse) XXX_Size ¶
func (m *QueryInterchainAccountResponse) XXX_Size() int
func (*QueryInterchainAccountResponse) XXX_Unmarshal ¶
func (m *QueryInterchainAccountResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is the request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params defines the parameters of the module. Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` }
QueryParamsResponse is the response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() *Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // InterchainAccount returns the interchain account address for a given owner address on a given connection InterchainAccount(context.Context, *QueryInterchainAccountRequest) (*QueryInterchainAccountResponse, error) // Params queries all parameters of the ICA controller submodule. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) }
QueryServer is the server API for Query service.
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) RegisterInterchainAccount ¶
func (*UnimplementedMsgServer) RegisterInterchainAccount(ctx context.Context, req *MsgRegisterInterchainAccount) (*MsgRegisterInterchainAccountResponse, error)
func (*UnimplementedMsgServer) SendTx ¶
func (*UnimplementedMsgServer) SendTx(ctx context.Context, req *MsgSendTx) (*MsgSendTxResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) InterchainAccount ¶
func (*UnimplementedQueryServer) InterchainAccount(ctx context.Context, req *QueryInterchainAccountRequest) (*QueryInterchainAccountResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)