types

package
v6.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 25 Imported by: 53

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
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
)
View Source
const (
	// DefaultControllerEnabled is the default value for the controller param (set to true)
	DefaultControllerEnabled = true
)

Variables

View Source
var (
	ErrInvalidLengthController        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowController          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupController = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrControllerSubModuleDisabled = sdkerrors.Register(SubModuleName, 2, "controller submodule is disabled")
)

ICA Controller sentinel errors

View Source
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 RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

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 (such as grpc.SendHeader, etc) 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"`
}

MsgRegisterInterchainAccount defines the payload for Msg/MsgRegisterInterchainAccount

func NewMsgRegisterInterchainAccount

func NewMsgRegisterInterchainAccount(connectionID, owner, version string) *MsgRegisterInterchainAccount

NewMsgRegisterInterchainAccount 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 (*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"`
}

MsgRegisterInterchainAccountResponse defines the response for Msg/MsgRegisterInterchainAccountResponse

func (*MsgRegisterInterchainAccountResponse) Descriptor

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

func (*MsgRegisterInterchainAccountResponse) GetChannelId

func (m *MsgRegisterInterchainAccountResponse) GetChannelId() 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 (*MsgRegisterInterchainAccountResponse) Size

func (*MsgRegisterInterchainAccountResponse) 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 (*MsgRegisterInterchainAccountResponse) XXX_Size

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   types.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) Descriptor() ([]byte, []int)

func (MsgSendTx) GetSigners

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

GetSigners implements sdk.Msg

func (*MsgSendTx) Marshal

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

func (*MsgSendTx) MarshalTo

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

func (*MsgSendTx) MarshalToSizedBuffer

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

func (*MsgSendTx) ProtoMessage

func (*MsgSendTx) ProtoMessage()

func (*MsgSendTx) Reset

func (m *MsgSendTx) Reset()

func (*MsgSendTx) Size

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

func (*MsgSendTx) String

func (m *MsgSendTx) String() string

func (*MsgSendTx) Unmarshal

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

func (MsgSendTx) ValidateBasic

func (msg MsgSendTx) ValidateBasic() error

ValidateBasic implements sdk.Msg

func (*MsgSendTx) XXX_DiscardUnknown

func (m *MsgSendTx) XXX_DiscardUnknown()

func (*MsgSendTx) XXX_Marshal

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

func (*MsgSendTx) XXX_Merge

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

func (*MsgSendTx) XXX_Size

func (m *MsgSendTx) XXX_Size() int

func (*MsgSendTx) XXX_Unmarshal

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

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 NewParams

func NewParams(enableController bool) Params

NewParams creates a new parameter configuration for the controller submodule

func (*Params) Descriptor

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

func (*Params) GetControllerEnabled

func (m *Params) GetControllerEnabled() bool

func (*Params) Marshal

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

func (*Params) MarshalTo

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

func (*Params) MarshalToSizedBuffer

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

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

ParamSetPairs implements params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

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

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal

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

func (Params) Validate

func (p Params) Validate() error

Validate validates all controller submodule parameters

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

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

func (*Params) XXX_Merge

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

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

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

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 (*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 (*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) SendTx

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) InterchainAccount

func (*UnimplementedQueryServer) Params

Jump to

Keyboard shortcuts

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