Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func GetFeePacketKey(packet PacketID) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterCodec(_ *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.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 AccountKeeper
- type BankKeeper
- type ChannelKeeper
- type Fee
- func (*Fee) Descriptor() ([]byte, []int)
- func (m *Fee) GetAckFee() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *Fee) GetRecvFee() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *Fee) GetTimeoutFee() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *Fee) Marshal() (dAtA []byte, err error)
- func (m *Fee) MarshalTo(dAtA []byte) (int, error)
- func (m *Fee) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Fee) ProtoMessage()
- func (m *Fee) Reset()
- func (m *Fee) Size() (n int)
- func (m *Fee) String() string
- func (m Fee) Total() sdk.Coins
- func (m *Fee) Unmarshal(dAtA []byte) error
- func (m Fee) Validate() error
- func (m *Fee) XXX_DiscardUnknown()
- func (m *Fee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Fee) XXX_Merge(src proto.Message)
- func (m *Fee) XXX_Size() int
- func (m *Fee) XXX_Unmarshal(b []byte) error
- type FeeInfo
- func (*FeeInfo) Descriptor() ([]byte, []int)
- func (m *FeeInfo) GetFee() Fee
- func (m *FeeInfo) GetPacketId() PacketID
- func (m *FeeInfo) GetPayer() string
- func (m *FeeInfo) Marshal() (dAtA []byte, err error)
- func (m *FeeInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *FeeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FeeInfo) ProtoMessage()
- func (m *FeeInfo) Reset()
- func (m *FeeInfo) Size() (n int)
- func (m *FeeInfo) String() string
- func (m *FeeInfo) Unmarshal(dAtA []byte) error
- func (m *FeeInfo) XXX_DiscardUnknown()
- func (m *FeeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FeeInfo) XXX_Merge(src proto.Message)
- func (m *FeeInfo) XXX_Size() int
- func (m *FeeInfo) XXX_Unmarshal(b []byte) error
- type FeeInfoRequest
- func (*FeeInfoRequest) Descriptor() ([]byte, []int)
- func (m *FeeInfoRequest) GetChannelId() string
- func (m *FeeInfoRequest) GetPortId() string
- func (m *FeeInfoRequest) GetSequence() uint64
- func (m *FeeInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *FeeInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *FeeInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FeeInfoRequest) ProtoMessage()
- func (m *FeeInfoRequest) Reset()
- func (m *FeeInfoRequest) Size() (n int)
- func (m *FeeInfoRequest) String() string
- func (m *FeeInfoRequest) Unmarshal(dAtA []byte) error
- func (m *FeeInfoRequest) XXX_DiscardUnknown()
- func (m *FeeInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FeeInfoRequest) XXX_Merge(src proto.Message)
- func (m *FeeInfoRequest) XXX_Size() int
- func (m *FeeInfoRequest) XXX_Unmarshal(b []byte) error
- type FeeInfoResponse
- func (*FeeInfoResponse) Descriptor() ([]byte, []int)
- func (m *FeeInfoResponse) GetFeeInfo() *FeeInfo
- func (m *FeeInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *FeeInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *FeeInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FeeInfoResponse) ProtoMessage()
- func (m *FeeInfoResponse) Reset()
- func (m *FeeInfoResponse) Size() (n int)
- func (m *FeeInfoResponse) String() string
- func (m *FeeInfoResponse) Unmarshal(dAtA []byte) error
- func (m *FeeInfoResponse) XXX_DiscardUnknown()
- func (m *FeeInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FeeInfoResponse) XXX_Merge(src proto.Message)
- func (m *FeeInfoResponse) XXX_Size() int
- func (m *FeeInfoResponse) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetFeeInfos() []FeeInfo
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgServer
- type PacketID
- func (*PacketID) Descriptor() ([]byte, []int)
- func (m *PacketID) GetChannelId() string
- func (m *PacketID) GetPortId() string
- func (m *PacketID) GetSequence() uint64
- func (m *PacketID) Marshal() (dAtA []byte, err error)
- func (m *PacketID) MarshalTo(dAtA []byte) (int, error)
- func (m *PacketID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PacketID) ProtoMessage()
- func (m *PacketID) Reset()
- func (m *PacketID) Size() (n int)
- func (m *PacketID) String() string
- func (m *PacketID) Unmarshal(dAtA []byte) error
- func (m *PacketID) XXX_DiscardUnknown()
- func (m *PacketID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PacketID) XXX_Merge(src proto.Message)
- func (m *PacketID) XXX_Size() int
- func (m *PacketID) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetMinFee() Fee
- 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 (p 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 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 ( EventTypeDistributeAcknowledgementFee = "distribute_ack_fee" EventTypeDistributeTimeoutFee = "distribute_timeout_fee" EventTypeLockFees = "lock_fees" AttributeKeyReceiver = "receiver" AttributeKeyChannelID = "channel_id" AttributeKeyPortID = "port_id" AttributeKeySequence = "sequence" AttributeKeyPayer = "payer" )
feerefunder module event types
const ( // ModuleName defines the module name ModuleName = "feerefunder" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey defines the module's message routing key RouterKey = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_" + ModuleName )
const (
Separator = ";"
)
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrInvalidLengthFee = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowFee = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupFee = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( KeyFees = []byte("FEES") DefaultFees = Fee{ RecvFee: nil, AckFee: sdk.NewCoins(sdk.NewCoin(params.DefaultDenom, sdk.NewInt(1000))), TimeoutFee: sdk.NewCoins(sdk.NewCoin(params.DefaultDenom, sdk.NewInt(1000))), } )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = 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 FeeKey = []byte{prefixFeeKey}
Functions ¶
func GetFeePacketKey ¶
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
func RegisterCodec ¶
func RegisterCodec(_ *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.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 AccountKeeper ¶
AccountKeeper defines the expected account keeper used for simulations (noalias)
type BankKeeper ¶
type BankKeeper interface { SendCoins(ctx sdk.Context, fromAddr, toAddr sdk.AccAddress, amt sdk.Coins) error HasBalance(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coin) bool SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error }
BankKeeper defines the expected interface needed to retrieve account balances.
type ChannelKeeper ¶
type ChannelKeeper interface {
GetChannel(ctx sdk.Context, srcPort, srcChan string) (channel channeltypes.Channel, found bool)
}
ChannelKeeper defines the expected IBC channel keeper
type Fee ¶
type Fee struct { // the packet receive fee RecvFee github_com_cosmos_cosmos_sdk_types.Coins `` /* 142-byte string literal not displayed */ // the packet acknowledgement fee AckFee github_com_cosmos_cosmos_sdk_types.Coins `` /* 138-byte string literal not displayed */ // the packet timeout fee TimeoutFee github_com_cosmos_cosmos_sdk_types.Coins `` /* 154-byte string literal not displayed */ }
Fee defines the ICS29 receive, acknowledgement and timeout fees
func NewFee ¶
NewFee creates and returns a new Fee struct encapsulating the receive, acknowledgement and timeout fees as sdk.Coins
func (*Fee) Descriptor ¶
func (*Fee) GetAckFee ¶
func (m *Fee) GetAckFee() github_com_cosmos_cosmos_sdk_types.Coins
func (*Fee) GetRecvFee ¶
func (m *Fee) GetRecvFee() github_com_cosmos_cosmos_sdk_types.Coins
func (*Fee) GetTimeoutFee ¶
func (m *Fee) GetTimeoutFee() github_com_cosmos_cosmos_sdk_types.Coins
func (*Fee) ProtoMessage ¶
func (*Fee) ProtoMessage()
func (Fee) Validate ¶
Validate asserts that each Fee is valid: * RecvFee must be zero; * AckFee and TimeoutFee must be non-zero
func (*Fee) XXX_DiscardUnknown ¶
func (m *Fee) XXX_DiscardUnknown()
func (*Fee) XXX_Unmarshal ¶
type FeeInfo ¶
type FeeInfo struct { Payer string `protobuf:"bytes,1,opt,name=payer,proto3" json:"payer,omitempty"` PacketId PacketID `protobuf:"bytes,2,opt,name=packet_id,json=packetId,proto3" json:"packet_id"` Fee Fee `protobuf:"bytes,3,opt,name=fee,proto3" json:"fee"` }
func (*FeeInfo) Descriptor ¶
func (*FeeInfo) GetPacketId ¶
func (*FeeInfo) MarshalToSizedBuffer ¶
func (*FeeInfo) ProtoMessage ¶
func (*FeeInfo) ProtoMessage()
func (*FeeInfo) XXX_DiscardUnknown ¶
func (m *FeeInfo) XXX_DiscardUnknown()
func (*FeeInfo) XXX_Marshal ¶
func (*FeeInfo) XXX_Unmarshal ¶
type FeeInfoRequest ¶
type FeeInfoRequest struct { ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` PortId string `protobuf:"bytes,2,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"` Sequence uint64 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"` }
func (*FeeInfoRequest) Descriptor ¶
func (*FeeInfoRequest) Descriptor() ([]byte, []int)
func (*FeeInfoRequest) GetChannelId ¶
func (m *FeeInfoRequest) GetChannelId() string
func (*FeeInfoRequest) GetPortId ¶
func (m *FeeInfoRequest) GetPortId() string
func (*FeeInfoRequest) GetSequence ¶
func (m *FeeInfoRequest) GetSequence() uint64
func (*FeeInfoRequest) Marshal ¶
func (m *FeeInfoRequest) Marshal() (dAtA []byte, err error)
func (*FeeInfoRequest) MarshalToSizedBuffer ¶
func (m *FeeInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FeeInfoRequest) ProtoMessage ¶
func (*FeeInfoRequest) ProtoMessage()
func (*FeeInfoRequest) Reset ¶
func (m *FeeInfoRequest) Reset()
func (*FeeInfoRequest) Size ¶
func (m *FeeInfoRequest) Size() (n int)
func (*FeeInfoRequest) String ¶
func (m *FeeInfoRequest) String() string
func (*FeeInfoRequest) Unmarshal ¶
func (m *FeeInfoRequest) Unmarshal(dAtA []byte) error
func (*FeeInfoRequest) XXX_DiscardUnknown ¶
func (m *FeeInfoRequest) XXX_DiscardUnknown()
func (*FeeInfoRequest) XXX_Marshal ¶
func (m *FeeInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FeeInfoRequest) XXX_Merge ¶
func (m *FeeInfoRequest) XXX_Merge(src proto.Message)
func (*FeeInfoRequest) XXX_Size ¶
func (m *FeeInfoRequest) XXX_Size() int
func (*FeeInfoRequest) XXX_Unmarshal ¶
func (m *FeeInfoRequest) XXX_Unmarshal(b []byte) error
type FeeInfoResponse ¶
type FeeInfoResponse struct {
FeeInfo *FeeInfo `protobuf:"bytes,1,opt,name=fee_info,json=feeInfo,proto3" json:"fee_info,omitempty"`
}
func (*FeeInfoResponse) Descriptor ¶
func (*FeeInfoResponse) Descriptor() ([]byte, []int)
func (*FeeInfoResponse) GetFeeInfo ¶
func (m *FeeInfoResponse) GetFeeInfo() *FeeInfo
func (*FeeInfoResponse) Marshal ¶
func (m *FeeInfoResponse) Marshal() (dAtA []byte, err error)
func (*FeeInfoResponse) MarshalToSizedBuffer ¶
func (m *FeeInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FeeInfoResponse) ProtoMessage ¶
func (*FeeInfoResponse) ProtoMessage()
func (*FeeInfoResponse) Reset ¶
func (m *FeeInfoResponse) Reset()
func (*FeeInfoResponse) Size ¶
func (m *FeeInfoResponse) Size() (n int)
func (*FeeInfoResponse) String ¶
func (m *FeeInfoResponse) String() string
func (*FeeInfoResponse) Unmarshal ¶
func (m *FeeInfoResponse) Unmarshal(dAtA []byte) error
func (*FeeInfoResponse) XXX_DiscardUnknown ¶
func (m *FeeInfoResponse) XXX_DiscardUnknown()
func (*FeeInfoResponse) XXX_Marshal ¶
func (m *FeeInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FeeInfoResponse) XXX_Merge ¶
func (m *FeeInfoResponse) XXX_Merge(src proto.Message)
func (*FeeInfoResponse) XXX_Size ¶
func (m *FeeInfoResponse) XXX_Size() int
func (*FeeInfoResponse) XXX_Unmarshal ¶
func (m *FeeInfoResponse) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` FeeInfos []FeeInfo `protobuf:"bytes,2,rep,name=fee_infos,json=feeInfos,proto3" json:"fee_infos"` }
GenesisState defines the fee module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetFeeInfos ¶
func (m *GenesisState) GetFeeInfos() []FeeInfo
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { }
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 PacketID ¶
type PacketID struct { ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` PortId string `protobuf:"bytes,2,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"` Sequence uint64 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"` }
func NewPacketID ¶
func (*PacketID) Descriptor ¶
func (*PacketID) GetChannelId ¶
func (*PacketID) GetSequence ¶
func (*PacketID) MarshalToSizedBuffer ¶
func (*PacketID) ProtoMessage ¶
func (*PacketID) ProtoMessage()
func (*PacketID) XXX_DiscardUnknown ¶
func (m *PacketID) XXX_DiscardUnknown()
func (*PacketID) XXX_Marshal ¶
func (*PacketID) XXX_Unmarshal ¶
type Params ¶
type Params struct {
MinFee Fee `protobuf:"bytes,1,opt,name=min_fee,json=minFee,proto3" json:"min_fee"`
}
Params defines the parameters for the module.
func (*Params) Descriptor ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the 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 { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) FeeInfo(ctx context.Context, in *FeeInfoRequest, opts ...grpc.CallOption) (*FeeInfoResponse, 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 QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is 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 holds all the parameters of this module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is 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 { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) FeeInfo(context.Context, *FeeInfoRequest) (*FeeInfoResponse, error) }
QueryServer is the server API for Query service.
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) FeeInfo ¶
func (*UnimplementedQueryServer) FeeInfo(ctx context.Context, req *FeeInfoRequest) (*FeeInfoResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)