Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func ParamKeyTable() paramstypes.KeyTabledeprecated
- func RegisterInterfaces(registry codectypes.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- 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)
- func ValidateGasPrice(gasPrice sdk.DecCoin) error
- type GasPrices
- func (*GasPrices) Descriptor() ([]byte, []int)
- func (m *GasPrices) GetValue() github_com_cosmos_cosmos_sdk_types.DecCoins
- func (m *GasPrices) Marshal() (dAtA []byte, err error)
- func (m *GasPrices) MarshalTo(dAtA []byte) (int, error)
- func (m *GasPrices) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GasPrices) ProtoMessage()
- func (m *GasPrices) Reset()
- func (m *GasPrices) Size() (n int)
- func (m *GasPrices) String() string
- func (m *GasPrices) Unmarshal(dAtA []byte) error
- func (raw *GasPrices) Validate() error
- func (m *GasPrices) XXX_DiscardUnknown()
- func (m *GasPrices) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GasPrices) XXX_Merge(src proto.Message)
- func (m *GasPrices) XXX_Size() int
- func (m *GasPrices) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetBypassMessages() []string
- func (m *GenesisState) GetGasPrices() github_com_cosmos_cosmos_sdk_types.DecCoins
- 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 (genesis *GenesisState) Validate(registry codectypes.InterfaceRegistry) 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 LegacyParams
- type MsgClient
- type MsgServer
- type MsgUpdateBypassMessages
- func (*MsgUpdateBypassMessages) Descriptor() ([]byte, []int)
- func (m *MsgUpdateBypassMessages) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateBypassMessages) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateBypassMessages) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateBypassMessages) ProtoMessage()
- func (m *MsgUpdateBypassMessages) Reset()
- func (m *MsgUpdateBypassMessages) Size() (n int)
- func (m *MsgUpdateBypassMessages) String() string
- func (m *MsgUpdateBypassMessages) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateBypassMessages) XXX_DiscardUnknown()
- func (m *MsgUpdateBypassMessages) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateBypassMessages) XXX_Merge(src proto.Message)
- func (m *MsgUpdateBypassMessages) XXX_Size() int
- func (m *MsgUpdateBypassMessages) XXX_Unmarshal(b []byte) error
- type MsgUpdateBypassMessagesResponse
- func (*MsgUpdateBypassMessagesResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateBypassMessagesResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateBypassMessagesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateBypassMessagesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateBypassMessagesResponse) ProtoMessage()
- func (m *MsgUpdateBypassMessagesResponse) Reset()
- func (m *MsgUpdateBypassMessagesResponse) Size() (n int)
- func (m *MsgUpdateBypassMessagesResponse) String() string
- func (m *MsgUpdateBypassMessagesResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateBypassMessagesResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateBypassMessagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateBypassMessagesResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateBypassMessagesResponse) XXX_Size() int
- func (m *MsgUpdateBypassMessagesResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateGasPrices
- func (*MsgUpdateGasPrices) Descriptor() ([]byte, []int)
- func (m *MsgUpdateGasPrices) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateGasPrices) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateGasPrices) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateGasPrices) ProtoMessage()
- func (m *MsgUpdateGasPrices) Reset()
- func (m *MsgUpdateGasPrices) Size() (n int)
- func (m *MsgUpdateGasPrices) String() string
- func (m *MsgUpdateGasPrices) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateGasPrices) XXX_DiscardUnknown()
- func (m *MsgUpdateGasPrices) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateGasPrices) XXX_Merge(src proto.Message)
- func (m *MsgUpdateGasPrices) XXX_Size() int
- func (m *MsgUpdateGasPrices) XXX_Unmarshal(b []byte) error
- type MsgUpdateGasPricesResponse
- func (*MsgUpdateGasPricesResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateGasPricesResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateGasPricesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateGasPricesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateGasPricesResponse) ProtoMessage()
- func (m *MsgUpdateGasPricesResponse) Reset()
- func (m *MsgUpdateGasPricesResponse) Size() (n int)
- func (m *MsgUpdateGasPricesResponse) String() string
- func (m *MsgUpdateGasPricesResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateGasPricesResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateGasPricesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateGasPricesResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateGasPricesResponse) XXX_Size() int
- func (m *MsgUpdateGasPricesResponse) XXX_Unmarshal(b []byte) error
- type QueryBypassMessages
- func (*QueryBypassMessages) Descriptor() ([]byte, []int)
- func (m *QueryBypassMessages) Marshal() (dAtA []byte, err error)
- func (m *QueryBypassMessages) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBypassMessages) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBypassMessages) ProtoMessage()
- func (m *QueryBypassMessages) Reset()
- func (m *QueryBypassMessages) Size() (n int)
- func (m *QueryBypassMessages) String() string
- func (m *QueryBypassMessages) Unmarshal(dAtA []byte) error
- func (m *QueryBypassMessages) XXX_DiscardUnknown()
- func (m *QueryBypassMessages) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBypassMessages) XXX_Merge(src proto.Message)
- func (m *QueryBypassMessages) XXX_Size() int
- func (m *QueryBypassMessages) XXX_Unmarshal(b []byte) error
- type QueryBypassMessagesResponse
- func (*QueryBypassMessagesResponse) Descriptor() ([]byte, []int)
- func (m *QueryBypassMessagesResponse) GetBypassMessages() []string
- func (m *QueryBypassMessagesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBypassMessagesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBypassMessagesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBypassMessagesResponse) ProtoMessage()
- func (m *QueryBypassMessagesResponse) Reset()
- func (m *QueryBypassMessagesResponse) Size() (n int)
- func (m *QueryBypassMessagesResponse) String() string
- func (m *QueryBypassMessagesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBypassMessagesResponse) XXX_DiscardUnknown()
- func (m *QueryBypassMessagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBypassMessagesResponse) XXX_Merge(src proto.Message)
- func (m *QueryBypassMessagesResponse) XXX_Size() int
- func (m *QueryBypassMessagesResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryGasPrices
- func (*QueryGasPrices) Descriptor() ([]byte, []int)
- func (m *QueryGasPrices) Marshal() (dAtA []byte, err error)
- func (m *QueryGasPrices) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGasPrices) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGasPrices) ProtoMessage()
- func (m *QueryGasPrices) Reset()
- func (m *QueryGasPrices) Size() (n int)
- func (m *QueryGasPrices) String() string
- func (m *QueryGasPrices) Unmarshal(dAtA []byte) error
- func (m *QueryGasPrices) XXX_DiscardUnknown()
- func (m *QueryGasPrices) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGasPrices) XXX_Merge(src proto.Message)
- func (m *QueryGasPrices) XXX_Size() int
- func (m *QueryGasPrices) XXX_Unmarshal(b []byte) error
- type QueryGasPricesResponse
- func (*QueryGasPricesResponse) Descriptor() ([]byte, []int)
- func (m *QueryGasPricesResponse) GetGasPrices() github_com_cosmos_cosmos_sdk_types.DecCoins
- func (m *QueryGasPricesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGasPricesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGasPricesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGasPricesResponse) ProtoMessage()
- func (m *QueryGasPricesResponse) Reset()
- func (m *QueryGasPricesResponse) Size() (n int)
- func (m *QueryGasPricesResponse) String() string
- func (m *QueryGasPricesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGasPricesResponse) XXX_DiscardUnknown()
- func (m *QueryGasPricesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGasPricesResponse) XXX_Merge(src proto.Message)
- func (m *QueryGasPricesResponse) XXX_Size() int
- func (m *QueryGasPricesResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type UnimplementedMsgServer
- type UnimplementedQueryServer
Constants ¶
const ModuleName = "globalfee"
Variables ¶
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 ( ErrInvalidLengthGlobalfee = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGlobalfee = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGlobalfee = fmt.Errorf("proto: unexpected end of group") )
var ( GasPricesKey = []byte("gas_prices") BypassMessagePrefix = []byte("bypass_message") )
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 ErrInvalidAuthority = errors.Register(ModuleName, 1, "signer is not authority")
var Msg_serviceDesc = _Msg_serviceDesc
var Query_serviceDesc = _Query_serviceDesc
Functions ¶
func ParamKeyTable
deprecated
func ParamKeyTable() paramstypes.KeyTable
Deprecated: ParamKeyTable returns the key table of the GlobalFee v1 module.
func RegisterInterfaces ¶
func RegisterInterfaces(registry codectypes.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
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)
func ValidateGasPrice ¶
Types ¶
type GasPrices ¶
type GasPrices struct {
Value github_com_cosmos_cosmos_sdk_types.DecCoins `protobuf:"bytes,1,rep,name=value,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.DecCoins" json:"value"`
}
GasPrices is a wrapper type around sdk.DecCoins to be used with collections.
func (*GasPrices) Descriptor ¶
func (*GasPrices) GetValue ¶
func (m *GasPrices) GetValue() github_com_cosmos_cosmos_sdk_types.DecCoins
func (*GasPrices) MarshalToSizedBuffer ¶
func (*GasPrices) ProtoMessage ¶
func (*GasPrices) ProtoMessage()
func (*GasPrices) Validate ¶
Validate is a utility that verifies the provided gas prices. It ensures that prices are not negative, and that denoms are both valid and not repeated.
func (*GasPrices) XXX_DiscardUnknown ¶
func (m *GasPrices) XXX_DiscardUnknown()
func (*GasPrices) XXX_Marshal ¶
func (*GasPrices) XXX_Unmarshal ¶
type GenesisState ¶
type GenesisState struct { // gas_prices defines a list of gas prices to be used when checking a transaction's fee. GasPrices github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 135-byte string literal not displayed */ // bypass_messages defines a list of message types that can bypass the required fees. BypassMessages []string `protobuf:"bytes,2,rep,name=bypass_messages,json=bypassMessages,proto3" json:"bypass_messages,omitempty"` }
GenesisState defines the genesis state of the GlobalFee module.
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetBypassMessages ¶
func (m *GenesisState) GetBypassMessages() []string
func (*GenesisState) GetGasPrices ¶
func (m *GenesisState) GetGasPrices() github_com_cosmos_cosmos_sdk_types.DecCoins
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 (genesis *GenesisState) Validate(registry codectypes.InterfaceRegistry) error
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 LegacyParams ¶
LegacyParams defines the parameters of the GlobalFee v1 module.
func (*LegacyParams) ParamSetPairs ¶
func (p *LegacyParams) ParamSetPairs() paramstypes.ParamSetPairs
type MsgClient ¶
type MsgClient interface { UpdateGasPrices(ctx context.Context, in *MsgUpdateGasPrices, opts ...grpc.CallOption) (*MsgUpdateGasPricesResponse, error) UpdateBypassMessages(ctx context.Context, in *MsgUpdateBypassMessages, opts ...grpc.CallOption) (*MsgUpdateBypassMessagesResponse, 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 MsgServer ¶
type MsgServer interface { UpdateGasPrices(context.Context, *MsgUpdateGasPrices) (*MsgUpdateGasPricesResponse, error) UpdateBypassMessages(context.Context, *MsgUpdateBypassMessages) (*MsgUpdateBypassMessagesResponse, error) }
MsgServer is the server API for Msg service.
type MsgUpdateBypassMessages ¶
type MsgUpdateBypassMessages struct { Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` BypassMessages []string `protobuf:"bytes,2,rep,name=bypass_messages,json=bypassMessages,proto3" json:"bypass_messages,omitempty"` }
MsgUpdateBypassMessages is the request of the UpdateBypassMessages action.
func (*MsgUpdateBypassMessages) Descriptor ¶
func (*MsgUpdateBypassMessages) Descriptor() ([]byte, []int)
func (*MsgUpdateBypassMessages) Marshal ¶
func (m *MsgUpdateBypassMessages) Marshal() (dAtA []byte, err error)
func (*MsgUpdateBypassMessages) MarshalTo ¶
func (m *MsgUpdateBypassMessages) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateBypassMessages) MarshalToSizedBuffer ¶
func (m *MsgUpdateBypassMessages) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateBypassMessages) ProtoMessage ¶
func (*MsgUpdateBypassMessages) ProtoMessage()
func (*MsgUpdateBypassMessages) Reset ¶
func (m *MsgUpdateBypassMessages) Reset()
func (*MsgUpdateBypassMessages) Size ¶
func (m *MsgUpdateBypassMessages) Size() (n int)
func (*MsgUpdateBypassMessages) String ¶
func (m *MsgUpdateBypassMessages) String() string
func (*MsgUpdateBypassMessages) Unmarshal ¶
func (m *MsgUpdateBypassMessages) Unmarshal(dAtA []byte) error
func (*MsgUpdateBypassMessages) XXX_DiscardUnknown ¶
func (m *MsgUpdateBypassMessages) XXX_DiscardUnknown()
func (*MsgUpdateBypassMessages) XXX_Marshal ¶
func (m *MsgUpdateBypassMessages) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateBypassMessages) XXX_Merge ¶
func (m *MsgUpdateBypassMessages) XXX_Merge(src proto.Message)
func (*MsgUpdateBypassMessages) XXX_Size ¶
func (m *MsgUpdateBypassMessages) XXX_Size() int
func (*MsgUpdateBypassMessages) XXX_Unmarshal ¶
func (m *MsgUpdateBypassMessages) XXX_Unmarshal(b []byte) error
type MsgUpdateBypassMessagesResponse ¶
type MsgUpdateBypassMessagesResponse struct { }
MsgUpdateBypassMessagesResponse is the response of the UpdateBypassMessages action.
func (*MsgUpdateBypassMessagesResponse) Descriptor ¶
func (*MsgUpdateBypassMessagesResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateBypassMessagesResponse) Marshal ¶
func (m *MsgUpdateBypassMessagesResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateBypassMessagesResponse) MarshalTo ¶
func (m *MsgUpdateBypassMessagesResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateBypassMessagesResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateBypassMessagesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateBypassMessagesResponse) ProtoMessage ¶
func (*MsgUpdateBypassMessagesResponse) ProtoMessage()
func (*MsgUpdateBypassMessagesResponse) Reset ¶
func (m *MsgUpdateBypassMessagesResponse) Reset()
func (*MsgUpdateBypassMessagesResponse) Size ¶
func (m *MsgUpdateBypassMessagesResponse) Size() (n int)
func (*MsgUpdateBypassMessagesResponse) String ¶
func (m *MsgUpdateBypassMessagesResponse) String() string
func (*MsgUpdateBypassMessagesResponse) Unmarshal ¶
func (m *MsgUpdateBypassMessagesResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateBypassMessagesResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateBypassMessagesResponse) XXX_DiscardUnknown()
func (*MsgUpdateBypassMessagesResponse) XXX_Marshal ¶
func (m *MsgUpdateBypassMessagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateBypassMessagesResponse) XXX_Merge ¶
func (m *MsgUpdateBypassMessagesResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateBypassMessagesResponse) XXX_Size ¶
func (m *MsgUpdateBypassMessagesResponse) XXX_Size() int
func (*MsgUpdateBypassMessagesResponse) XXX_Unmarshal ¶
func (m *MsgUpdateBypassMessagesResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateGasPrices ¶
type MsgUpdateGasPrices struct { Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` GasPrices github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 135-byte string literal not displayed */ }
MsgUpdateGasPrices is the request of the UpdateGasPrices action.
func (*MsgUpdateGasPrices) Descriptor ¶
func (*MsgUpdateGasPrices) Descriptor() ([]byte, []int)
func (*MsgUpdateGasPrices) Marshal ¶
func (m *MsgUpdateGasPrices) Marshal() (dAtA []byte, err error)
func (*MsgUpdateGasPrices) MarshalTo ¶
func (m *MsgUpdateGasPrices) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateGasPrices) MarshalToSizedBuffer ¶
func (m *MsgUpdateGasPrices) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateGasPrices) ProtoMessage ¶
func (*MsgUpdateGasPrices) ProtoMessage()
func (*MsgUpdateGasPrices) Reset ¶
func (m *MsgUpdateGasPrices) Reset()
func (*MsgUpdateGasPrices) Size ¶
func (m *MsgUpdateGasPrices) Size() (n int)
func (*MsgUpdateGasPrices) String ¶
func (m *MsgUpdateGasPrices) String() string
func (*MsgUpdateGasPrices) Unmarshal ¶
func (m *MsgUpdateGasPrices) Unmarshal(dAtA []byte) error
func (*MsgUpdateGasPrices) XXX_DiscardUnknown ¶
func (m *MsgUpdateGasPrices) XXX_DiscardUnknown()
func (*MsgUpdateGasPrices) XXX_Marshal ¶
func (m *MsgUpdateGasPrices) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateGasPrices) XXX_Merge ¶
func (m *MsgUpdateGasPrices) XXX_Merge(src proto.Message)
func (*MsgUpdateGasPrices) XXX_Size ¶
func (m *MsgUpdateGasPrices) XXX_Size() int
func (*MsgUpdateGasPrices) XXX_Unmarshal ¶
func (m *MsgUpdateGasPrices) XXX_Unmarshal(b []byte) error
type MsgUpdateGasPricesResponse ¶
type MsgUpdateGasPricesResponse struct { }
MsgUpdateGasPricesResponse is the response of the UpdateGasPrices action.
func (*MsgUpdateGasPricesResponse) Descriptor ¶
func (*MsgUpdateGasPricesResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateGasPricesResponse) Marshal ¶
func (m *MsgUpdateGasPricesResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateGasPricesResponse) MarshalTo ¶
func (m *MsgUpdateGasPricesResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateGasPricesResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateGasPricesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateGasPricesResponse) ProtoMessage ¶
func (*MsgUpdateGasPricesResponse) ProtoMessage()
func (*MsgUpdateGasPricesResponse) Reset ¶
func (m *MsgUpdateGasPricesResponse) Reset()
func (*MsgUpdateGasPricesResponse) Size ¶
func (m *MsgUpdateGasPricesResponse) Size() (n int)
func (*MsgUpdateGasPricesResponse) String ¶
func (m *MsgUpdateGasPricesResponse) String() string
func (*MsgUpdateGasPricesResponse) Unmarshal ¶
func (m *MsgUpdateGasPricesResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateGasPricesResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateGasPricesResponse) XXX_DiscardUnknown()
func (*MsgUpdateGasPricesResponse) XXX_Marshal ¶
func (m *MsgUpdateGasPricesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateGasPricesResponse) XXX_Merge ¶
func (m *MsgUpdateGasPricesResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateGasPricesResponse) XXX_Size ¶
func (m *MsgUpdateGasPricesResponse) XXX_Size() int
func (*MsgUpdateGasPricesResponse) XXX_Unmarshal ¶
func (m *MsgUpdateGasPricesResponse) XXX_Unmarshal(b []byte) error
type QueryBypassMessages ¶
type QueryBypassMessages struct { }
func (*QueryBypassMessages) Descriptor ¶
func (*QueryBypassMessages) Descriptor() ([]byte, []int)
func (*QueryBypassMessages) Marshal ¶
func (m *QueryBypassMessages) Marshal() (dAtA []byte, err error)
func (*QueryBypassMessages) MarshalTo ¶
func (m *QueryBypassMessages) MarshalTo(dAtA []byte) (int, error)
func (*QueryBypassMessages) MarshalToSizedBuffer ¶
func (m *QueryBypassMessages) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBypassMessages) ProtoMessage ¶
func (*QueryBypassMessages) ProtoMessage()
func (*QueryBypassMessages) Reset ¶
func (m *QueryBypassMessages) Reset()
func (*QueryBypassMessages) Size ¶
func (m *QueryBypassMessages) Size() (n int)
func (*QueryBypassMessages) String ¶
func (m *QueryBypassMessages) String() string
func (*QueryBypassMessages) Unmarshal ¶
func (m *QueryBypassMessages) Unmarshal(dAtA []byte) error
func (*QueryBypassMessages) XXX_DiscardUnknown ¶
func (m *QueryBypassMessages) XXX_DiscardUnknown()
func (*QueryBypassMessages) XXX_Marshal ¶
func (m *QueryBypassMessages) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBypassMessages) XXX_Merge ¶
func (m *QueryBypassMessages) XXX_Merge(src proto.Message)
func (*QueryBypassMessages) XXX_Size ¶
func (m *QueryBypassMessages) XXX_Size() int
func (*QueryBypassMessages) XXX_Unmarshal ¶
func (m *QueryBypassMessages) XXX_Unmarshal(b []byte) error
type QueryBypassMessagesResponse ¶
type QueryBypassMessagesResponse struct {
BypassMessages []string `protobuf:"bytes,1,rep,name=bypass_messages,json=bypassMessages,proto3" json:"bypass_messages,omitempty"`
}
func (*QueryBypassMessagesResponse) Descriptor ¶
func (*QueryBypassMessagesResponse) Descriptor() ([]byte, []int)
func (*QueryBypassMessagesResponse) GetBypassMessages ¶
func (m *QueryBypassMessagesResponse) GetBypassMessages() []string
func (*QueryBypassMessagesResponse) Marshal ¶
func (m *QueryBypassMessagesResponse) Marshal() (dAtA []byte, err error)
func (*QueryBypassMessagesResponse) MarshalTo ¶
func (m *QueryBypassMessagesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryBypassMessagesResponse) MarshalToSizedBuffer ¶
func (m *QueryBypassMessagesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryBypassMessagesResponse) ProtoMessage ¶
func (*QueryBypassMessagesResponse) ProtoMessage()
func (*QueryBypassMessagesResponse) Reset ¶
func (m *QueryBypassMessagesResponse) Reset()
func (*QueryBypassMessagesResponse) Size ¶
func (m *QueryBypassMessagesResponse) Size() (n int)
func (*QueryBypassMessagesResponse) String ¶
func (m *QueryBypassMessagesResponse) String() string
func (*QueryBypassMessagesResponse) Unmarshal ¶
func (m *QueryBypassMessagesResponse) Unmarshal(dAtA []byte) error
func (*QueryBypassMessagesResponse) XXX_DiscardUnknown ¶
func (m *QueryBypassMessagesResponse) XXX_DiscardUnknown()
func (*QueryBypassMessagesResponse) XXX_Marshal ¶
func (m *QueryBypassMessagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryBypassMessagesResponse) XXX_Merge ¶
func (m *QueryBypassMessagesResponse) XXX_Merge(src proto.Message)
func (*QueryBypassMessagesResponse) XXX_Size ¶
func (m *QueryBypassMessagesResponse) XXX_Size() int
func (*QueryBypassMessagesResponse) XXX_Unmarshal ¶
func (m *QueryBypassMessagesResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { GasPrices(ctx context.Context, in *QueryGasPrices, opts ...grpc.CallOption) (*QueryGasPricesResponse, error) BypassMessages(ctx context.Context, in *QueryBypassMessages, opts ...grpc.CallOption) (*QueryBypassMessagesResponse, 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 QueryGasPrices ¶
type QueryGasPrices struct { }
func (*QueryGasPrices) Descriptor ¶
func (*QueryGasPrices) Descriptor() ([]byte, []int)
func (*QueryGasPrices) Marshal ¶
func (m *QueryGasPrices) Marshal() (dAtA []byte, err error)
func (*QueryGasPrices) MarshalToSizedBuffer ¶
func (m *QueryGasPrices) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGasPrices) ProtoMessage ¶
func (*QueryGasPrices) ProtoMessage()
func (*QueryGasPrices) Reset ¶
func (m *QueryGasPrices) Reset()
func (*QueryGasPrices) Size ¶
func (m *QueryGasPrices) Size() (n int)
func (*QueryGasPrices) String ¶
func (m *QueryGasPrices) String() string
func (*QueryGasPrices) Unmarshal ¶
func (m *QueryGasPrices) Unmarshal(dAtA []byte) error
func (*QueryGasPrices) XXX_DiscardUnknown ¶
func (m *QueryGasPrices) XXX_DiscardUnknown()
func (*QueryGasPrices) XXX_Marshal ¶
func (m *QueryGasPrices) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGasPrices) XXX_Merge ¶
func (m *QueryGasPrices) XXX_Merge(src proto.Message)
func (*QueryGasPrices) XXX_Size ¶
func (m *QueryGasPrices) XXX_Size() int
func (*QueryGasPrices) XXX_Unmarshal ¶
func (m *QueryGasPrices) XXX_Unmarshal(b []byte) error
type QueryGasPricesResponse ¶
type QueryGasPricesResponse struct {
GasPrices github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 135-byte string literal not displayed */
}
func (*QueryGasPricesResponse) Descriptor ¶
func (*QueryGasPricesResponse) Descriptor() ([]byte, []int)
func (*QueryGasPricesResponse) GetGasPrices ¶
func (m *QueryGasPricesResponse) GetGasPrices() github_com_cosmos_cosmos_sdk_types.DecCoins
func (*QueryGasPricesResponse) Marshal ¶
func (m *QueryGasPricesResponse) Marshal() (dAtA []byte, err error)
func (*QueryGasPricesResponse) MarshalTo ¶
func (m *QueryGasPricesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGasPricesResponse) MarshalToSizedBuffer ¶
func (m *QueryGasPricesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGasPricesResponse) ProtoMessage ¶
func (*QueryGasPricesResponse) ProtoMessage()
func (*QueryGasPricesResponse) Reset ¶
func (m *QueryGasPricesResponse) Reset()
func (*QueryGasPricesResponse) Size ¶
func (m *QueryGasPricesResponse) Size() (n int)
func (*QueryGasPricesResponse) String ¶
func (m *QueryGasPricesResponse) String() string
func (*QueryGasPricesResponse) Unmarshal ¶
func (m *QueryGasPricesResponse) Unmarshal(dAtA []byte) error
func (*QueryGasPricesResponse) XXX_DiscardUnknown ¶
func (m *QueryGasPricesResponse) XXX_DiscardUnknown()
func (*QueryGasPricesResponse) XXX_Marshal ¶
func (m *QueryGasPricesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGasPricesResponse) XXX_Merge ¶
func (m *QueryGasPricesResponse) XXX_Merge(src proto.Message)
func (*QueryGasPricesResponse) XXX_Size ¶
func (m *QueryGasPricesResponse) XXX_Size() int
func (*QueryGasPricesResponse) XXX_Unmarshal ¶
func (m *QueryGasPricesResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { GasPrices(context.Context, *QueryGasPrices) (*QueryGasPricesResponse, error) BypassMessages(context.Context, *QueryBypassMessages) (*QueryBypassMessagesResponse, 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) UpdateBypassMessages ¶
func (*UnimplementedMsgServer) UpdateBypassMessages(ctx context.Context, req *MsgUpdateBypassMessages) (*MsgUpdateBypassMessagesResponse, error)
func (*UnimplementedMsgServer) UpdateGasPrices ¶
func (*UnimplementedMsgServer) UpdateGasPrices(ctx context.Context, req *MsgUpdateGasPrices) (*MsgUpdateGasPricesResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) BypassMessages ¶
func (*UnimplementedQueryServer) BypassMessages(ctx context.Context, req *QueryBypassMessages) (*QueryBypassMessagesResponse, error)
func (*UnimplementedQueryServer) GasPrices ¶
func (*UnimplementedQueryServer) GasPrices(ctx context.Context, req *QueryGasPrices) (*QueryGasPricesResponse, error)