Documentation ¶
Overview ¶
Package ugov is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterInterfaces(registry cdctypes.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)
- type EmergencyGroupBuilder
- type EventEmergencyGroup
- func (*EventEmergencyGroup) Descriptor() ([]byte, []int)
- func (m *EventEmergencyGroup) Marshal() (dAtA []byte, err error)
- func (m *EventEmergencyGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *EventEmergencyGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventEmergencyGroup) ProtoMessage()
- func (m *EventEmergencyGroup) Reset()
- func (m *EventEmergencyGroup) Size() (n int)
- func (m *EventEmergencyGroup) String() string
- func (m *EventEmergencyGroup) Unmarshal(dAtA []byte) error
- func (m *EventEmergencyGroup) XXX_DiscardUnknown()
- func (m *EventEmergencyGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventEmergencyGroup) XXX_Merge(src proto.Message)
- func (m *EventEmergencyGroup) XXX_Size() int
- func (m *EventEmergencyGroup) XXX_Unmarshal(b []byte) error
- type EventInflationParams
- func (*EventInflationParams) Descriptor() ([]byte, []int)
- func (m *EventInflationParams) Marshal() (dAtA []byte, err error)
- func (m *EventInflationParams) MarshalTo(dAtA []byte) (int, error)
- func (m *EventInflationParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventInflationParams) ProtoMessage()
- func (m *EventInflationParams) Reset()
- func (m *EventInflationParams) Size() (n int)
- func (m *EventInflationParams) String() string
- func (m *EventInflationParams) Unmarshal(dAtA []byte) error
- func (m *EventInflationParams) XXX_DiscardUnknown()
- func (m *EventInflationParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventInflationParams) XXX_Merge(src proto.Message)
- func (m *EventInflationParams) XXX_Size() int
- func (m *EventInflationParams) XXX_Unmarshal(b []byte) error
- type EventMinGasPrice
- func (*EventMinGasPrice) Descriptor() ([]byte, []int)
- func (m *EventMinGasPrice) Marshal() (dAtA []byte, err error)
- func (m *EventMinGasPrice) MarshalTo(dAtA []byte) (int, error)
- func (m *EventMinGasPrice) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventMinGasPrice) ProtoMessage()
- func (m *EventMinGasPrice) Reset()
- func (m *EventMinGasPrice) Size() (n int)
- func (m *EventMinGasPrice) String() string
- func (m *EventMinGasPrice) Unmarshal(dAtA []byte) error
- func (m *EventMinGasPrice) XXX_DiscardUnknown()
- func (m *EventMinGasPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventMinGasPrice) XXX_Merge(src proto.Message)
- func (m *EventMinGasPrice) XXX_Size() int
- func (m *EventMinGasPrice) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- 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 GovUpdateInflationParamsResponse
- func (*GovUpdateInflationParamsResponse) Descriptor() ([]byte, []int)
- func (m *GovUpdateInflationParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *GovUpdateInflationParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GovUpdateInflationParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GovUpdateInflationParamsResponse) ProtoMessage()
- func (m *GovUpdateInflationParamsResponse) Reset()
- func (m *GovUpdateInflationParamsResponse) Size() (n int)
- func (m *GovUpdateInflationParamsResponse) String() string
- func (m *GovUpdateInflationParamsResponse) Unmarshal(dAtA []byte) error
- func (m *GovUpdateInflationParamsResponse) XXX_DiscardUnknown()
- func (m *GovUpdateInflationParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GovUpdateInflationParamsResponse) XXX_Merge(src proto.Message)
- func (m *GovUpdateInflationParamsResponse) XXX_Size() int
- func (m *GovUpdateInflationParamsResponse) XXX_Unmarshal(b []byte) error
- type InflationParams
- func (*InflationParams) Descriptor() ([]byte, []int)
- func (m *InflationParams) Marshal() (dAtA []byte, err error)
- func (m *InflationParams) MarshalTo(dAtA []byte) (int, error)
- func (m *InflationParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*InflationParams) ProtoMessage()
- func (m *InflationParams) Reset()
- func (m *InflationParams) Size() (n int)
- func (m *InflationParams) String() string
- func (m *InflationParams) Unmarshal(dAtA []byte) error
- func (ip InflationParams) Validate() error
- func (m *InflationParams) XXX_DiscardUnknown()
- func (m *InflationParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InflationParams) XXX_Merge(src proto.Message)
- func (m *InflationParams) XXX_Size() int
- func (m *InflationParams) XXX_Unmarshal(b []byte) error
- type Keeper
- type MsgClient
- type MsgGovSetEmergencyGroup
- func (*MsgGovSetEmergencyGroup) Descriptor() ([]byte, []int)
- func (msg MsgGovSetEmergencyGroup) GetSignBytes() []byte
- func (msg *MsgGovSetEmergencyGroup) GetSigners() []sdk.AccAddress
- func (m *MsgGovSetEmergencyGroup) Marshal() (dAtA []byte, err error)
- func (m *MsgGovSetEmergencyGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgGovSetEmergencyGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgGovSetEmergencyGroup) ProtoMessage()
- func (m *MsgGovSetEmergencyGroup) Reset()
- func (msg MsgGovSetEmergencyGroup) Route() string
- func (m *MsgGovSetEmergencyGroup) Size() (n int)
- func (m *MsgGovSetEmergencyGroup) String() string
- func (msg MsgGovSetEmergencyGroup) Type() string
- func (m *MsgGovSetEmergencyGroup) Unmarshal(dAtA []byte) error
- func (msg *MsgGovSetEmergencyGroup) ValidateBasic() error
- func (m *MsgGovSetEmergencyGroup) XXX_DiscardUnknown()
- func (m *MsgGovSetEmergencyGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgGovSetEmergencyGroup) XXX_Merge(src proto.Message)
- func (m *MsgGovSetEmergencyGroup) XXX_Size() int
- func (m *MsgGovSetEmergencyGroup) XXX_Unmarshal(b []byte) error
- type MsgGovSetEmergencyGroupResponse
- func (*MsgGovSetEmergencyGroupResponse) Descriptor() ([]byte, []int)
- func (m *MsgGovSetEmergencyGroupResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgGovSetEmergencyGroupResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgGovSetEmergencyGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgGovSetEmergencyGroupResponse) ProtoMessage()
- func (m *MsgGovSetEmergencyGroupResponse) Reset()
- func (m *MsgGovSetEmergencyGroupResponse) Size() (n int)
- func (m *MsgGovSetEmergencyGroupResponse) String() string
- func (m *MsgGovSetEmergencyGroupResponse) Unmarshal(dAtA []byte) error
- func (m *MsgGovSetEmergencyGroupResponse) XXX_DiscardUnknown()
- func (m *MsgGovSetEmergencyGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgGovSetEmergencyGroupResponse) XXX_Merge(src proto.Message)
- func (m *MsgGovSetEmergencyGroupResponse) XXX_Size() int
- func (m *MsgGovSetEmergencyGroupResponse) XXX_Unmarshal(b []byte) error
- type MsgGovUpdateInflationParams
- func (*MsgGovUpdateInflationParams) Descriptor() ([]byte, []int)
- func (msg MsgGovUpdateInflationParams) GetSignBytes() []byte
- func (msg *MsgGovUpdateInflationParams) GetSigners() []sdk.AccAddress
- func (m *MsgGovUpdateInflationParams) Marshal() (dAtA []byte, err error)
- func (m *MsgGovUpdateInflationParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgGovUpdateInflationParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgGovUpdateInflationParams) ProtoMessage()
- func (m *MsgGovUpdateInflationParams) Reset()
- func (msg MsgGovUpdateInflationParams) Route() string
- func (m *MsgGovUpdateInflationParams) Size() (n int)
- func (m *MsgGovUpdateInflationParams) String() string
- func (msg MsgGovUpdateInflationParams) Type() string
- func (m *MsgGovUpdateInflationParams) Unmarshal(dAtA []byte) error
- func (msg *MsgGovUpdateInflationParams) ValidateBasic() error
- func (m *MsgGovUpdateInflationParams) XXX_DiscardUnknown()
- func (m *MsgGovUpdateInflationParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgGovUpdateInflationParams) XXX_Merge(src proto.Message)
- func (m *MsgGovUpdateInflationParams) XXX_Size() int
- func (m *MsgGovUpdateInflationParams) XXX_Unmarshal(b []byte) error
- type MsgGovUpdateMinGasPrice
- func (*MsgGovUpdateMinGasPrice) Descriptor() ([]byte, []int)
- func (msg MsgGovUpdateMinGasPrice) GetSignBytes() []byte
- func (msg *MsgGovUpdateMinGasPrice) GetSigners() []sdk.AccAddress
- func (m *MsgGovUpdateMinGasPrice) Marshal() (dAtA []byte, err error)
- func (m *MsgGovUpdateMinGasPrice) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgGovUpdateMinGasPrice) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgGovUpdateMinGasPrice) ProtoMessage()
- func (m *MsgGovUpdateMinGasPrice) Reset()
- func (msg MsgGovUpdateMinGasPrice) Route() string
- func (m *MsgGovUpdateMinGasPrice) Size() (n int)
- func (msg *MsgGovUpdateMinGasPrice) String() string
- func (msg MsgGovUpdateMinGasPrice) Type() string
- func (m *MsgGovUpdateMinGasPrice) Unmarshal(dAtA []byte) error
- func (msg *MsgGovUpdateMinGasPrice) ValidateBasic() error
- func (m *MsgGovUpdateMinGasPrice) XXX_DiscardUnknown()
- func (m *MsgGovUpdateMinGasPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgGovUpdateMinGasPrice) XXX_Merge(src proto.Message)
- func (m *MsgGovUpdateMinGasPrice) XXX_Size() int
- func (m *MsgGovUpdateMinGasPrice) XXX_Unmarshal(b []byte) error
- type MsgGovUpdateMinGasPriceResponse
- func (*MsgGovUpdateMinGasPriceResponse) Descriptor() ([]byte, []int)
- func (m *MsgGovUpdateMinGasPriceResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgGovUpdateMinGasPriceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgGovUpdateMinGasPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgGovUpdateMinGasPriceResponse) ProtoMessage()
- func (m *MsgGovUpdateMinGasPriceResponse) Reset()
- func (m *MsgGovUpdateMinGasPriceResponse) Size() (n int)
- func (m *MsgGovUpdateMinGasPriceResponse) String() string
- func (m *MsgGovUpdateMinGasPriceResponse) Unmarshal(dAtA []byte) error
- func (m *MsgGovUpdateMinGasPriceResponse) XXX_DiscardUnknown()
- func (m *MsgGovUpdateMinGasPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgGovUpdateMinGasPriceResponse) XXX_Merge(src proto.Message)
- func (m *MsgGovUpdateMinGasPriceResponse) XXX_Size() int
- func (m *MsgGovUpdateMinGasPriceResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type ParamsKeeper
- type ParamsKeeperBuilder
- type QueryClient
- type QueryEmergencyGroup
- func (*QueryEmergencyGroup) Descriptor() ([]byte, []int)
- func (m *QueryEmergencyGroup) Marshal() (dAtA []byte, err error)
- func (m *QueryEmergencyGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEmergencyGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEmergencyGroup) ProtoMessage()
- func (m *QueryEmergencyGroup) Reset()
- func (m *QueryEmergencyGroup) Size() (n int)
- func (m *QueryEmergencyGroup) String() string
- func (m *QueryEmergencyGroup) Unmarshal(dAtA []byte) error
- func (m *QueryEmergencyGroup) XXX_DiscardUnknown()
- func (m *QueryEmergencyGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEmergencyGroup) XXX_Merge(src proto.Message)
- func (m *QueryEmergencyGroup) XXX_Size() int
- func (m *QueryEmergencyGroup) XXX_Unmarshal(b []byte) error
- type QueryEmergencyGroupResponse
- func (*QueryEmergencyGroupResponse) Descriptor() ([]byte, []int)
- func (m *QueryEmergencyGroupResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryEmergencyGroupResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEmergencyGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEmergencyGroupResponse) ProtoMessage()
- func (m *QueryEmergencyGroupResponse) Reset()
- func (m *QueryEmergencyGroupResponse) Size() (n int)
- func (m *QueryEmergencyGroupResponse) String() string
- func (m *QueryEmergencyGroupResponse) Unmarshal(dAtA []byte) error
- func (m *QueryEmergencyGroupResponse) XXX_DiscardUnknown()
- func (m *QueryEmergencyGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEmergencyGroupResponse) XXX_Merge(src proto.Message)
- func (m *QueryEmergencyGroupResponse) XXX_Size() int
- func (m *QueryEmergencyGroupResponse) XXX_Unmarshal(b []byte) error
- type QueryInflationCycleEnd
- func (*QueryInflationCycleEnd) Descriptor() ([]byte, []int)
- func (m *QueryInflationCycleEnd) Marshal() (dAtA []byte, err error)
- func (m *QueryInflationCycleEnd) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryInflationCycleEnd) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryInflationCycleEnd) ProtoMessage()
- func (m *QueryInflationCycleEnd) Reset()
- func (m *QueryInflationCycleEnd) Size() (n int)
- func (m *QueryInflationCycleEnd) String() string
- func (m *QueryInflationCycleEnd) Unmarshal(dAtA []byte) error
- func (m *QueryInflationCycleEnd) XXX_DiscardUnknown()
- func (m *QueryInflationCycleEnd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryInflationCycleEnd) XXX_Merge(src proto.Message)
- func (m *QueryInflationCycleEnd) XXX_Size() int
- func (m *QueryInflationCycleEnd) XXX_Unmarshal(b []byte) error
- type QueryInflationCycleEndResponse
- func (*QueryInflationCycleEndResponse) Descriptor() ([]byte, []int)
- func (m *QueryInflationCycleEndResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryInflationCycleEndResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryInflationCycleEndResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryInflationCycleEndResponse) ProtoMessage()
- func (m *QueryInflationCycleEndResponse) Reset()
- func (m *QueryInflationCycleEndResponse) Size() (n int)
- func (m *QueryInflationCycleEndResponse) String() string
- func (m *QueryInflationCycleEndResponse) Unmarshal(dAtA []byte) error
- func (m *QueryInflationCycleEndResponse) XXX_DiscardUnknown()
- func (m *QueryInflationCycleEndResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryInflationCycleEndResponse) XXX_Merge(src proto.Message)
- func (m *QueryInflationCycleEndResponse) XXX_Size() int
- func (m *QueryInflationCycleEndResponse) XXX_Unmarshal(b []byte) error
- type QueryInflationParams
- func (*QueryInflationParams) Descriptor() ([]byte, []int)
- func (m *QueryInflationParams) Marshal() (dAtA []byte, err error)
- func (m *QueryInflationParams) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryInflationParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryInflationParams) ProtoMessage()
- func (m *QueryInflationParams) Reset()
- func (m *QueryInflationParams) Size() (n int)
- func (m *QueryInflationParams) String() string
- func (m *QueryInflationParams) Unmarshal(dAtA []byte) error
- func (m *QueryInflationParams) XXX_DiscardUnknown()
- func (m *QueryInflationParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryInflationParams) XXX_Merge(src proto.Message)
- func (m *QueryInflationParams) XXX_Size() int
- func (m *QueryInflationParams) XXX_Unmarshal(b []byte) error
- type QueryInflationParamsResponse
- func (*QueryInflationParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryInflationParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryInflationParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryInflationParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryInflationParamsResponse) ProtoMessage()
- func (m *QueryInflationParamsResponse) Reset()
- func (m *QueryInflationParamsResponse) Size() (n int)
- func (m *QueryInflationParamsResponse) String() string
- func (m *QueryInflationParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryInflationParamsResponse) XXX_DiscardUnknown()
- func (m *QueryInflationParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryInflationParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryInflationParamsResponse) XXX_Size() int
- func (m *QueryInflationParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryMinGasPrice
- func (*QueryMinGasPrice) Descriptor() ([]byte, []int)
- func (m *QueryMinGasPrice) Marshal() (dAtA []byte, err error)
- func (m *QueryMinGasPrice) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMinGasPrice) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMinGasPrice) ProtoMessage()
- func (m *QueryMinGasPrice) Reset()
- func (m *QueryMinGasPrice) Size() (n int)
- func (m *QueryMinGasPrice) String() string
- func (m *QueryMinGasPrice) Unmarshal(dAtA []byte) error
- func (m *QueryMinGasPrice) XXX_DiscardUnknown()
- func (m *QueryMinGasPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMinGasPrice) XXX_Merge(src proto.Message)
- func (m *QueryMinGasPrice) XXX_Size() int
- func (m *QueryMinGasPrice) XXX_Unmarshal(b []byte) error
- type QueryMinGasPriceResponse
- func (*QueryMinGasPriceResponse) Descriptor() ([]byte, []int)
- func (m *QueryMinGasPriceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryMinGasPriceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMinGasPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMinGasPriceResponse) ProtoMessage()
- func (m *QueryMinGasPriceResponse) Reset()
- func (m *QueryMinGasPriceResponse) Size() (n int)
- func (m *QueryMinGasPriceResponse) String() string
- func (m *QueryMinGasPriceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryMinGasPriceResponse) XXX_DiscardUnknown()
- func (m *QueryMinGasPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMinGasPriceResponse) XXX_Merge(src proto.Message)
- func (m *QueryMinGasPriceResponse) XXX_Size() int
- func (m *QueryMinGasPriceResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) GovSetEmergencyGroup(ctx context.Context, req *MsgGovSetEmergencyGroup) (*MsgGovSetEmergencyGroupResponse, error)
- func (*UnimplementedMsgServer) GovUpdateInflationParams(ctx context.Context, req *MsgGovUpdateInflationParams) (*GovUpdateInflationParamsResponse, error)
- func (*UnimplementedMsgServer) GovUpdateMinGasPrice(ctx context.Context, req *MsgGovUpdateMinGasPrice) (*MsgGovUpdateMinGasPriceResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) EmergencyGroup(ctx context.Context, req *QueryEmergencyGroup) (*QueryEmergencyGroupResponse, error)
- func (*UnimplementedQueryServer) InflationCycleEnd(ctx context.Context, req *QueryInflationCycleEnd) (*QueryInflationCycleEndResponse, error)
- func (*UnimplementedQueryServer) InflationParams(ctx context.Context, req *QueryInflationParams) (*QueryInflationParamsResponse, error)
- func (*UnimplementedQueryServer) MinGasPrice(ctx context.Context, req *QueryMinGasPrice) (*QueryMinGasPriceResponse, error)
- type WithEmergencyGroup
Constants ¶
const ( // ModuleName defines the module name ModuleName = "ugov" // StoreKey defines the primary module store key StoreKey = ModuleName )
Variables ¶
var ( ErrInvalidLengthEvents = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvents = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvents = 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 ( 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 ( ErrInvalidLengthUgov = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowUgov = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupUgov = fmt.Errorf("proto: unexpected end of group") )
var (
ModuleCdc = codec.NewAminoCodec(amino)
)
Amino codecs Note, the ModuleCdc should ONLY be used in certain instances of tests and for JSON encoding as Amino is still used for that purpose.
Functions ¶
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers the necessary x/uibc interfaces and concrete types on the provided LegacyAmino codec. These types are used for Amino JSON serialization.
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 EmergencyGroupBuilder ¶
type EmergencyGroupBuilder func(*sdk.Context) WithEmergencyGroup
type EventEmergencyGroup ¶
type EventEmergencyGroup struct {
EmergencyGroup string `protobuf:"bytes,1,opt,name=emergency_group,json=emergencyGroup,proto3" json:"emergency_group,omitempty"`
}
EventEmergencyGroup is emitted when MsgGovSetEmergencyGroup is correctly executed.
func (*EventEmergencyGroup) Descriptor ¶
func (*EventEmergencyGroup) Descriptor() ([]byte, []int)
func (*EventEmergencyGroup) Marshal ¶
func (m *EventEmergencyGroup) Marshal() (dAtA []byte, err error)
func (*EventEmergencyGroup) MarshalTo ¶
func (m *EventEmergencyGroup) MarshalTo(dAtA []byte) (int, error)
func (*EventEmergencyGroup) MarshalToSizedBuffer ¶
func (m *EventEmergencyGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventEmergencyGroup) ProtoMessage ¶
func (*EventEmergencyGroup) ProtoMessage()
func (*EventEmergencyGroup) Reset ¶
func (m *EventEmergencyGroup) Reset()
func (*EventEmergencyGroup) Size ¶
func (m *EventEmergencyGroup) Size() (n int)
func (*EventEmergencyGroup) String ¶
func (m *EventEmergencyGroup) String() string
func (*EventEmergencyGroup) Unmarshal ¶
func (m *EventEmergencyGroup) Unmarshal(dAtA []byte) error
func (*EventEmergencyGroup) XXX_DiscardUnknown ¶
func (m *EventEmergencyGroup) XXX_DiscardUnknown()
func (*EventEmergencyGroup) XXX_Marshal ¶
func (m *EventEmergencyGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventEmergencyGroup) XXX_Merge ¶
func (m *EventEmergencyGroup) XXX_Merge(src proto.Message)
func (*EventEmergencyGroup) XXX_Size ¶
func (m *EventEmergencyGroup) XXX_Size() int
func (*EventEmergencyGroup) XXX_Unmarshal ¶
func (m *EventEmergencyGroup) XXX_Unmarshal(b []byte) error
type EventInflationParams ¶
type EventInflationParams struct {
Params InflationParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
EventInflationParams is emitted when GovUpdateInflationParams is correctly executed.
func (*EventInflationParams) Descriptor ¶
func (*EventInflationParams) Descriptor() ([]byte, []int)
func (*EventInflationParams) Marshal ¶
func (m *EventInflationParams) Marshal() (dAtA []byte, err error)
func (*EventInflationParams) MarshalTo ¶
func (m *EventInflationParams) MarshalTo(dAtA []byte) (int, error)
func (*EventInflationParams) MarshalToSizedBuffer ¶
func (m *EventInflationParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventInflationParams) ProtoMessage ¶
func (*EventInflationParams) ProtoMessage()
func (*EventInflationParams) Reset ¶
func (m *EventInflationParams) Reset()
func (*EventInflationParams) Size ¶
func (m *EventInflationParams) Size() (n int)
func (*EventInflationParams) String ¶
func (m *EventInflationParams) String() string
func (*EventInflationParams) Unmarshal ¶
func (m *EventInflationParams) Unmarshal(dAtA []byte) error
func (*EventInflationParams) XXX_DiscardUnknown ¶
func (m *EventInflationParams) XXX_DiscardUnknown()
func (*EventInflationParams) XXX_Marshal ¶
func (m *EventInflationParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventInflationParams) XXX_Merge ¶
func (m *EventInflationParams) XXX_Merge(src proto.Message)
func (*EventInflationParams) XXX_Size ¶
func (m *EventInflationParams) XXX_Size() int
func (*EventInflationParams) XXX_Unmarshal ¶
func (m *EventInflationParams) XXX_Unmarshal(b []byte) error
type EventMinGasPrice ¶
type EventMinGasPrice struct {
MinGasPrices []types.DecCoin `protobuf:"bytes,1,rep,name=min_gas_prices,json=minGasPrices,proto3" json:"min_gas_prices"`
}
EventMinGasPrice is emitted when MsgGovUpdateMinGasPrice is correctly executed.
func (*EventMinGasPrice) Descriptor ¶
func (*EventMinGasPrice) Descriptor() ([]byte, []int)
func (*EventMinGasPrice) Marshal ¶
func (m *EventMinGasPrice) Marshal() (dAtA []byte, err error)
func (*EventMinGasPrice) MarshalToSizedBuffer ¶
func (m *EventMinGasPrice) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventMinGasPrice) ProtoMessage ¶
func (*EventMinGasPrice) ProtoMessage()
func (*EventMinGasPrice) Reset ¶
func (m *EventMinGasPrice) Reset()
func (*EventMinGasPrice) Size ¶
func (m *EventMinGasPrice) Size() (n int)
func (*EventMinGasPrice) String ¶
func (m *EventMinGasPrice) String() string
func (*EventMinGasPrice) Unmarshal ¶
func (m *EventMinGasPrice) Unmarshal(dAtA []byte) error
func (*EventMinGasPrice) XXX_DiscardUnknown ¶
func (m *EventMinGasPrice) XXX_DiscardUnknown()
func (*EventMinGasPrice) XXX_Marshal ¶
func (m *EventMinGasPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventMinGasPrice) XXX_Merge ¶
func (m *EventMinGasPrice) XXX_Merge(src proto.Message)
func (*EventMinGasPrice) XXX_Size ¶
func (m *EventMinGasPrice) XXX_Size() int
func (*EventMinGasPrice) XXX_Unmarshal ¶
func (m *EventMinGasPrice) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { MinGasPrice types.DecCoin `protobuf:"bytes,1,opt,name=min_gas_price,json=minGasPrice,proto3" json:"min_gas_price"` // Emergency Group address EmergencyGroup string `protobuf:"bytes,2,opt,name=emergency_group,json=emergencyGroup,proto3" json:"emergency_group,omitempty"` // InflationParams is params for inflation rate changes InflationParams InflationParams `protobuf:"bytes,3,opt,name=inflation_params,json=inflationParams,proto3" json:"inflation_params"` // Time when the current inflation cycle will end InflationCycleEnd time.Time `protobuf:"bytes,4,opt,name=inflation_cycle_end,json=inflationCycleEnd,proto3,stdtime" json:"inflation_cycle_end"` }
GenesisState of the ugov module.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis creates a default genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
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
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 GovUpdateInflationParamsResponse ¶
type GovUpdateInflationParamsResponse struct { }
GovUpdateInflationParamsResponse response type.
func (*GovUpdateInflationParamsResponse) Descriptor ¶
func (*GovUpdateInflationParamsResponse) Descriptor() ([]byte, []int)
func (*GovUpdateInflationParamsResponse) Marshal ¶
func (m *GovUpdateInflationParamsResponse) Marshal() (dAtA []byte, err error)
func (*GovUpdateInflationParamsResponse) MarshalTo ¶
func (m *GovUpdateInflationParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*GovUpdateInflationParamsResponse) MarshalToSizedBuffer ¶
func (m *GovUpdateInflationParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GovUpdateInflationParamsResponse) ProtoMessage ¶
func (*GovUpdateInflationParamsResponse) ProtoMessage()
func (*GovUpdateInflationParamsResponse) Reset ¶
func (m *GovUpdateInflationParamsResponse) Reset()
func (*GovUpdateInflationParamsResponse) Size ¶
func (m *GovUpdateInflationParamsResponse) Size() (n int)
func (*GovUpdateInflationParamsResponse) String ¶
func (m *GovUpdateInflationParamsResponse) String() string
func (*GovUpdateInflationParamsResponse) Unmarshal ¶
func (m *GovUpdateInflationParamsResponse) Unmarshal(dAtA []byte) error
func (*GovUpdateInflationParamsResponse) XXX_DiscardUnknown ¶
func (m *GovUpdateInflationParamsResponse) XXX_DiscardUnknown()
func (*GovUpdateInflationParamsResponse) XXX_Marshal ¶
func (m *GovUpdateInflationParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GovUpdateInflationParamsResponse) XXX_Merge ¶
func (m *GovUpdateInflationParamsResponse) XXX_Merge(src proto.Message)
func (*GovUpdateInflationParamsResponse) XXX_Size ¶
func (m *GovUpdateInflationParamsResponse) XXX_Size() int
func (*GovUpdateInflationParamsResponse) XXX_Unmarshal ¶
func (m *GovUpdateInflationParamsResponse) XXX_Unmarshal(b []byte) error
type InflationParams ¶
type InflationParams struct { // max_supply is the maximum supply. Inflation will not increase the UMEE supply above this value. MaxSupply types.Coin `protobuf:"bytes,1,opt,name=max_supply,json=maxSupply,proto3" json:"max_supply"` // inflation_cycle duration after which inflation rates are changed. InflationCycle time.Duration `` /* 138-byte string literal not displayed */ // inflation_reduction_rate for every inflation cycle in basis points. InflationReductionRate github_com_umee_network_umee_v6_util_bpmath.FixedBP `` /* 183-byte string literal not displayed */ }
InflationParams params for changing the inflation min rate and max rate of mint module params.
func DefaultInflationParams ¶
func DefaultInflationParams() InflationParams
func (*InflationParams) Descriptor ¶
func (*InflationParams) Descriptor() ([]byte, []int)
func (*InflationParams) Marshal ¶
func (m *InflationParams) Marshal() (dAtA []byte, err error)
func (*InflationParams) MarshalToSizedBuffer ¶
func (m *InflationParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*InflationParams) ProtoMessage ¶
func (*InflationParams) ProtoMessage()
func (*InflationParams) Reset ¶
func (m *InflationParams) Reset()
func (*InflationParams) Size ¶
func (m *InflationParams) Size() (n int)
func (*InflationParams) String ¶
func (m *InflationParams) String() string
func (*InflationParams) Unmarshal ¶
func (m *InflationParams) Unmarshal(dAtA []byte) error
func (InflationParams) Validate ¶
func (ip InflationParams) Validate() error
func (*InflationParams) XXX_DiscardUnknown ¶
func (m *InflationParams) XXX_DiscardUnknown()
func (*InflationParams) XXX_Marshal ¶
func (m *InflationParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InflationParams) XXX_Merge ¶
func (m *InflationParams) XXX_Merge(src proto.Message)
func (*InflationParams) XXX_Size ¶
func (m *InflationParams) XXX_Size() int
func (*InflationParams) XXX_Unmarshal ¶
func (m *InflationParams) XXX_Unmarshal(b []byte) error
type Keeper ¶
type Keeper interface { ParamsKeeper WithEmergencyGroup ExportGenesis() *GenesisState InitGenesis(gs *GenesisState) error }
type MsgClient ¶
type MsgClient interface { // GovUpdateMinGasPrice sets protocol controlled tx min fees. GovUpdateMinGasPrice(ctx context.Context, in *MsgGovUpdateMinGasPrice, opts ...grpc.CallOption) (*MsgGovUpdateMinGasPriceResponse, error) // GovSetEmergencyGroup sets emergency group address. GovSetEmergencyGroup(ctx context.Context, in *MsgGovSetEmergencyGroup, opts ...grpc.CallOption) (*MsgGovSetEmergencyGroupResponse, error) // GovUpdateInflationParams sets new params for inflation rate change. GovUpdateInflationParams(ctx context.Context, in *MsgGovUpdateInflationParams, opts ...grpc.CallOption) (*GovUpdateInflationParamsResponse, 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 MsgGovSetEmergencyGroup ¶
type MsgGovSetEmergencyGroup struct { // authority must be the address of the governance account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` EmergencyGroup string `protobuf:"bytes,2,opt,name=emergency_group,json=emergencyGroup,proto3" json:"emergency_group,omitempty"` }
MsgGovSetEmergencyGroup request type.
func (*MsgGovSetEmergencyGroup) Descriptor ¶
func (*MsgGovSetEmergencyGroup) Descriptor() ([]byte, []int)
func (MsgGovSetEmergencyGroup) GetSignBytes ¶
func (msg MsgGovSetEmergencyGroup) GetSignBytes() []byte
func (*MsgGovSetEmergencyGroup) GetSigners ¶
func (msg *MsgGovSetEmergencyGroup) GetSigners() []sdk.AccAddress
GetSignBytes implements Msg
func (*MsgGovSetEmergencyGroup) Marshal ¶
func (m *MsgGovSetEmergencyGroup) Marshal() (dAtA []byte, err error)
func (*MsgGovSetEmergencyGroup) MarshalTo ¶
func (m *MsgGovSetEmergencyGroup) MarshalTo(dAtA []byte) (int, error)
func (*MsgGovSetEmergencyGroup) MarshalToSizedBuffer ¶
func (m *MsgGovSetEmergencyGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgGovSetEmergencyGroup) ProtoMessage ¶
func (*MsgGovSetEmergencyGroup) ProtoMessage()
func (*MsgGovSetEmergencyGroup) Reset ¶
func (m *MsgGovSetEmergencyGroup) Reset()
func (MsgGovSetEmergencyGroup) Route ¶
func (msg MsgGovSetEmergencyGroup) Route() string
LegacyMsg.Type implementations
func (*MsgGovSetEmergencyGroup) Size ¶
func (m *MsgGovSetEmergencyGroup) Size() (n int)
func (*MsgGovSetEmergencyGroup) String ¶
func (m *MsgGovSetEmergencyGroup) String() string
func (MsgGovSetEmergencyGroup) Type ¶
func (msg MsgGovSetEmergencyGroup) Type() string
func (*MsgGovSetEmergencyGroup) Unmarshal ¶
func (m *MsgGovSetEmergencyGroup) Unmarshal(dAtA []byte) error
func (*MsgGovSetEmergencyGroup) ValidateBasic ¶
func (msg *MsgGovSetEmergencyGroup) ValidateBasic() error
func (*MsgGovSetEmergencyGroup) XXX_DiscardUnknown ¶
func (m *MsgGovSetEmergencyGroup) XXX_DiscardUnknown()
func (*MsgGovSetEmergencyGroup) XXX_Marshal ¶
func (m *MsgGovSetEmergencyGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgGovSetEmergencyGroup) XXX_Merge ¶
func (m *MsgGovSetEmergencyGroup) XXX_Merge(src proto.Message)
func (*MsgGovSetEmergencyGroup) XXX_Size ¶
func (m *MsgGovSetEmergencyGroup) XXX_Size() int
func (*MsgGovSetEmergencyGroup) XXX_Unmarshal ¶
func (m *MsgGovSetEmergencyGroup) XXX_Unmarshal(b []byte) error
type MsgGovSetEmergencyGroupResponse ¶
type MsgGovSetEmergencyGroupResponse struct { }
MsgGovSetEmergencyGroupResponse response type.
func (*MsgGovSetEmergencyGroupResponse) Descriptor ¶
func (*MsgGovSetEmergencyGroupResponse) Descriptor() ([]byte, []int)
func (*MsgGovSetEmergencyGroupResponse) Marshal ¶
func (m *MsgGovSetEmergencyGroupResponse) Marshal() (dAtA []byte, err error)
func (*MsgGovSetEmergencyGroupResponse) MarshalTo ¶
func (m *MsgGovSetEmergencyGroupResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgGovSetEmergencyGroupResponse) MarshalToSizedBuffer ¶
func (m *MsgGovSetEmergencyGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgGovSetEmergencyGroupResponse) ProtoMessage ¶
func (*MsgGovSetEmergencyGroupResponse) ProtoMessage()
func (*MsgGovSetEmergencyGroupResponse) Reset ¶
func (m *MsgGovSetEmergencyGroupResponse) Reset()
func (*MsgGovSetEmergencyGroupResponse) Size ¶
func (m *MsgGovSetEmergencyGroupResponse) Size() (n int)
func (*MsgGovSetEmergencyGroupResponse) String ¶
func (m *MsgGovSetEmergencyGroupResponse) String() string
func (*MsgGovSetEmergencyGroupResponse) Unmarshal ¶
func (m *MsgGovSetEmergencyGroupResponse) Unmarshal(dAtA []byte) error
func (*MsgGovSetEmergencyGroupResponse) XXX_DiscardUnknown ¶
func (m *MsgGovSetEmergencyGroupResponse) XXX_DiscardUnknown()
func (*MsgGovSetEmergencyGroupResponse) XXX_Marshal ¶
func (m *MsgGovSetEmergencyGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgGovSetEmergencyGroupResponse) XXX_Merge ¶
func (m *MsgGovSetEmergencyGroupResponse) XXX_Merge(src proto.Message)
func (*MsgGovSetEmergencyGroupResponse) XXX_Size ¶
func (m *MsgGovSetEmergencyGroupResponse) XXX_Size() int
func (*MsgGovSetEmergencyGroupResponse) XXX_Unmarshal ¶
func (m *MsgGovSetEmergencyGroupResponse) XXX_Unmarshal(b []byte) error
type MsgGovUpdateInflationParams ¶
type MsgGovUpdateInflationParams struct { // authority must be the address of the governance account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` Params InflationParams `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` }
MsgGovUpdateInflationParams request type.
func (*MsgGovUpdateInflationParams) Descriptor ¶
func (*MsgGovUpdateInflationParams) Descriptor() ([]byte, []int)
func (MsgGovUpdateInflationParams) GetSignBytes ¶
func (msg MsgGovUpdateInflationParams) GetSignBytes() []byte
func (*MsgGovUpdateInflationParams) GetSigners ¶
func (msg *MsgGovUpdateInflationParams) GetSigners() []sdk.AccAddress
GetSignBytes implements Msg
func (*MsgGovUpdateInflationParams) Marshal ¶
func (m *MsgGovUpdateInflationParams) Marshal() (dAtA []byte, err error)
func (*MsgGovUpdateInflationParams) MarshalTo ¶
func (m *MsgGovUpdateInflationParams) MarshalTo(dAtA []byte) (int, error)
func (*MsgGovUpdateInflationParams) MarshalToSizedBuffer ¶
func (m *MsgGovUpdateInflationParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgGovUpdateInflationParams) ProtoMessage ¶
func (*MsgGovUpdateInflationParams) ProtoMessage()
func (*MsgGovUpdateInflationParams) Reset ¶
func (m *MsgGovUpdateInflationParams) Reset()
func (MsgGovUpdateInflationParams) Route ¶
func (msg MsgGovUpdateInflationParams) Route() string
LegacyMsg.Type implementations
func (*MsgGovUpdateInflationParams) Size ¶
func (m *MsgGovUpdateInflationParams) Size() (n int)
func (*MsgGovUpdateInflationParams) String ¶
func (m *MsgGovUpdateInflationParams) String() string
func (MsgGovUpdateInflationParams) Type ¶
func (msg MsgGovUpdateInflationParams) Type() string
func (*MsgGovUpdateInflationParams) Unmarshal ¶
func (m *MsgGovUpdateInflationParams) Unmarshal(dAtA []byte) error
func (*MsgGovUpdateInflationParams) ValidateBasic ¶
func (msg *MsgGovUpdateInflationParams) ValidateBasic() error
func (*MsgGovUpdateInflationParams) XXX_DiscardUnknown ¶
func (m *MsgGovUpdateInflationParams) XXX_DiscardUnknown()
func (*MsgGovUpdateInflationParams) XXX_Marshal ¶
func (m *MsgGovUpdateInflationParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgGovUpdateInflationParams) XXX_Merge ¶
func (m *MsgGovUpdateInflationParams) XXX_Merge(src proto.Message)
func (*MsgGovUpdateInflationParams) XXX_Size ¶
func (m *MsgGovUpdateInflationParams) XXX_Size() int
func (*MsgGovUpdateInflationParams) XXX_Unmarshal ¶
func (m *MsgGovUpdateInflationParams) XXX_Unmarshal(b []byte) error
type MsgGovUpdateMinGasPrice ¶
type MsgGovUpdateMinGasPrice struct { // authority must be the address of the governance account. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` MinGasPrice types.DecCoin `protobuf:"bytes,2,opt,name=min_gas_price,json=minGasPrice,proto3" json:"min_gas_price"` }
MsgGovUpdateMinGasPrice request type.
func (*MsgGovUpdateMinGasPrice) Descriptor ¶
func (*MsgGovUpdateMinGasPrice) Descriptor() ([]byte, []int)
func (MsgGovUpdateMinGasPrice) GetSignBytes ¶
func (msg MsgGovUpdateMinGasPrice) GetSignBytes() []byte
func (*MsgGovUpdateMinGasPrice) GetSigners ¶
func (msg *MsgGovUpdateMinGasPrice) GetSigners() []sdk.AccAddress
GetSignBytes implements Msg
func (*MsgGovUpdateMinGasPrice) Marshal ¶
func (m *MsgGovUpdateMinGasPrice) Marshal() (dAtA []byte, err error)
func (*MsgGovUpdateMinGasPrice) MarshalTo ¶
func (m *MsgGovUpdateMinGasPrice) MarshalTo(dAtA []byte) (int, error)
func (*MsgGovUpdateMinGasPrice) MarshalToSizedBuffer ¶
func (m *MsgGovUpdateMinGasPrice) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgGovUpdateMinGasPrice) ProtoMessage ¶
func (*MsgGovUpdateMinGasPrice) ProtoMessage()
func (*MsgGovUpdateMinGasPrice) Reset ¶
func (m *MsgGovUpdateMinGasPrice) Reset()
func (MsgGovUpdateMinGasPrice) Route ¶
func (msg MsgGovUpdateMinGasPrice) Route() string
func (*MsgGovUpdateMinGasPrice) Size ¶
func (m *MsgGovUpdateMinGasPrice) Size() (n int)
func (*MsgGovUpdateMinGasPrice) String ¶
func (msg *MsgGovUpdateMinGasPrice) String() string
String implements Stringer interface
func (MsgGovUpdateMinGasPrice) Type ¶
func (msg MsgGovUpdateMinGasPrice) Type() string
func (*MsgGovUpdateMinGasPrice) Unmarshal ¶
func (m *MsgGovUpdateMinGasPrice) Unmarshal(dAtA []byte) error
func (*MsgGovUpdateMinGasPrice) ValidateBasic ¶
func (msg *MsgGovUpdateMinGasPrice) ValidateBasic() error
ValidateBasic implements Msg
func (*MsgGovUpdateMinGasPrice) XXX_DiscardUnknown ¶
func (m *MsgGovUpdateMinGasPrice) XXX_DiscardUnknown()
func (*MsgGovUpdateMinGasPrice) XXX_Marshal ¶
func (m *MsgGovUpdateMinGasPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgGovUpdateMinGasPrice) XXX_Merge ¶
func (m *MsgGovUpdateMinGasPrice) XXX_Merge(src proto.Message)
func (*MsgGovUpdateMinGasPrice) XXX_Size ¶
func (m *MsgGovUpdateMinGasPrice) XXX_Size() int
func (*MsgGovUpdateMinGasPrice) XXX_Unmarshal ¶
func (m *MsgGovUpdateMinGasPrice) XXX_Unmarshal(b []byte) error
type MsgGovUpdateMinGasPriceResponse ¶
type MsgGovUpdateMinGasPriceResponse struct { }
MsgGovUpdateMinGasPriceResponse response type.
func (*MsgGovUpdateMinGasPriceResponse) Descriptor ¶
func (*MsgGovUpdateMinGasPriceResponse) Descriptor() ([]byte, []int)
func (*MsgGovUpdateMinGasPriceResponse) Marshal ¶
func (m *MsgGovUpdateMinGasPriceResponse) Marshal() (dAtA []byte, err error)
func (*MsgGovUpdateMinGasPriceResponse) MarshalTo ¶
func (m *MsgGovUpdateMinGasPriceResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgGovUpdateMinGasPriceResponse) MarshalToSizedBuffer ¶
func (m *MsgGovUpdateMinGasPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgGovUpdateMinGasPriceResponse) ProtoMessage ¶
func (*MsgGovUpdateMinGasPriceResponse) ProtoMessage()
func (*MsgGovUpdateMinGasPriceResponse) Reset ¶
func (m *MsgGovUpdateMinGasPriceResponse) Reset()
func (*MsgGovUpdateMinGasPriceResponse) Size ¶
func (m *MsgGovUpdateMinGasPriceResponse) Size() (n int)
func (*MsgGovUpdateMinGasPriceResponse) String ¶
func (m *MsgGovUpdateMinGasPriceResponse) String() string
func (*MsgGovUpdateMinGasPriceResponse) Unmarshal ¶
func (m *MsgGovUpdateMinGasPriceResponse) Unmarshal(dAtA []byte) error
func (*MsgGovUpdateMinGasPriceResponse) XXX_DiscardUnknown ¶
func (m *MsgGovUpdateMinGasPriceResponse) XXX_DiscardUnknown()
func (*MsgGovUpdateMinGasPriceResponse) XXX_Marshal ¶
func (m *MsgGovUpdateMinGasPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgGovUpdateMinGasPriceResponse) XXX_Merge ¶
func (m *MsgGovUpdateMinGasPriceResponse) XXX_Merge(src proto.Message)
func (*MsgGovUpdateMinGasPriceResponse) XXX_Size ¶
func (m *MsgGovUpdateMinGasPriceResponse) XXX_Size() int
func (*MsgGovUpdateMinGasPriceResponse) XXX_Unmarshal ¶
func (m *MsgGovUpdateMinGasPriceResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // GovUpdateMinGasPrice sets protocol controlled tx min fees. GovUpdateMinGasPrice(context.Context, *MsgGovUpdateMinGasPrice) (*MsgGovUpdateMinGasPriceResponse, error) // GovSetEmergencyGroup sets emergency group address. GovSetEmergencyGroup(context.Context, *MsgGovSetEmergencyGroup) (*MsgGovSetEmergencyGroupResponse, error) // GovUpdateInflationParams sets new params for inflation rate change. GovUpdateInflationParams(context.Context, *MsgGovUpdateInflationParams) (*GovUpdateInflationParamsResponse, error) }
MsgServer is the server API for Msg service.
type ParamsKeeper ¶
type ParamsKeeper interface { SetMinGasPrice(p sdk.DecCoin) error MinGasPrice() sdk.DecCoin SetEmergencyGroup(p sdk.AccAddress) SetInflationParams(lp InflationParams) error InflationParams() InflationParams SetInflationCycleEnd(startTime time.Time) error InflationCycleEnd() time.Time }
type ParamsKeeperBuilder ¶
type ParamsKeeperBuilder func(*sdk.Context) ParamsKeeper
type QueryClient ¶
type QueryClient interface { // MinGasPrice returns minimum transaction fees. MinGasPrice(ctx context.Context, in *QueryMinGasPrice, opts ...grpc.CallOption) (*QueryMinGasPriceResponse, error) // EmergencyGroup returns emergency group address EmergencyGroup(ctx context.Context, in *QueryEmergencyGroup, opts ...grpc.CallOption) (*QueryEmergencyGroupResponse, error) // InflationParams returns params of inflation reduction rates InflationParams(ctx context.Context, in *QueryInflationParams, opts ...grpc.CallOption) (*QueryInflationParamsResponse, error) // InflationCycleEnd returns inflation cycle end time InflationCycleEnd(ctx context.Context, in *QueryInflationCycleEnd, opts ...grpc.CallOption) (*QueryInflationCycleEndResponse, 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 QueryEmergencyGroup ¶
type QueryEmergencyGroup struct { }
QueryEmergencyGroup request type.
func (*QueryEmergencyGroup) Descriptor ¶
func (*QueryEmergencyGroup) Descriptor() ([]byte, []int)
func (*QueryEmergencyGroup) Marshal ¶
func (m *QueryEmergencyGroup) Marshal() (dAtA []byte, err error)
func (*QueryEmergencyGroup) MarshalTo ¶
func (m *QueryEmergencyGroup) MarshalTo(dAtA []byte) (int, error)
func (*QueryEmergencyGroup) MarshalToSizedBuffer ¶
func (m *QueryEmergencyGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEmergencyGroup) ProtoMessage ¶
func (*QueryEmergencyGroup) ProtoMessage()
func (*QueryEmergencyGroup) Reset ¶
func (m *QueryEmergencyGroup) Reset()
func (*QueryEmergencyGroup) Size ¶
func (m *QueryEmergencyGroup) Size() (n int)
func (*QueryEmergencyGroup) String ¶
func (m *QueryEmergencyGroup) String() string
func (*QueryEmergencyGroup) Unmarshal ¶
func (m *QueryEmergencyGroup) Unmarshal(dAtA []byte) error
func (*QueryEmergencyGroup) XXX_DiscardUnknown ¶
func (m *QueryEmergencyGroup) XXX_DiscardUnknown()
func (*QueryEmergencyGroup) XXX_Marshal ¶
func (m *QueryEmergencyGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEmergencyGroup) XXX_Merge ¶
func (m *QueryEmergencyGroup) XXX_Merge(src proto.Message)
func (*QueryEmergencyGroup) XXX_Size ¶
func (m *QueryEmergencyGroup) XXX_Size() int
func (*QueryEmergencyGroup) XXX_Unmarshal ¶
func (m *QueryEmergencyGroup) XXX_Unmarshal(b []byte) error
type QueryEmergencyGroupResponse ¶
type QueryEmergencyGroupResponse struct {
EmergencyGroup string `protobuf:"bytes,1,opt,name=emergency_group,json=emergencyGroup,proto3" json:"emergency_group,omitempty"`
}
QueryEmergencyGroupResponse response type.
func (*QueryEmergencyGroupResponse) Descriptor ¶
func (*QueryEmergencyGroupResponse) Descriptor() ([]byte, []int)
func (*QueryEmergencyGroupResponse) Marshal ¶
func (m *QueryEmergencyGroupResponse) Marshal() (dAtA []byte, err error)
func (*QueryEmergencyGroupResponse) MarshalTo ¶
func (m *QueryEmergencyGroupResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryEmergencyGroupResponse) MarshalToSizedBuffer ¶
func (m *QueryEmergencyGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEmergencyGroupResponse) ProtoMessage ¶
func (*QueryEmergencyGroupResponse) ProtoMessage()
func (*QueryEmergencyGroupResponse) Reset ¶
func (m *QueryEmergencyGroupResponse) Reset()
func (*QueryEmergencyGroupResponse) Size ¶
func (m *QueryEmergencyGroupResponse) Size() (n int)
func (*QueryEmergencyGroupResponse) String ¶
func (m *QueryEmergencyGroupResponse) String() string
func (*QueryEmergencyGroupResponse) Unmarshal ¶
func (m *QueryEmergencyGroupResponse) Unmarshal(dAtA []byte) error
func (*QueryEmergencyGroupResponse) XXX_DiscardUnknown ¶
func (m *QueryEmergencyGroupResponse) XXX_DiscardUnknown()
func (*QueryEmergencyGroupResponse) XXX_Marshal ¶
func (m *QueryEmergencyGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEmergencyGroupResponse) XXX_Merge ¶
func (m *QueryEmergencyGroupResponse) XXX_Merge(src proto.Message)
func (*QueryEmergencyGroupResponse) XXX_Size ¶
func (m *QueryEmergencyGroupResponse) XXX_Size() int
func (*QueryEmergencyGroupResponse) XXX_Unmarshal ¶
func (m *QueryEmergencyGroupResponse) XXX_Unmarshal(b []byte) error
type QueryInflationCycleEnd ¶
type QueryInflationCycleEnd struct { }
QueryInflationCycleEnd request type.
func (*QueryInflationCycleEnd) Descriptor ¶
func (*QueryInflationCycleEnd) Descriptor() ([]byte, []int)
func (*QueryInflationCycleEnd) Marshal ¶
func (m *QueryInflationCycleEnd) Marshal() (dAtA []byte, err error)
func (*QueryInflationCycleEnd) MarshalTo ¶
func (m *QueryInflationCycleEnd) MarshalTo(dAtA []byte) (int, error)
func (*QueryInflationCycleEnd) MarshalToSizedBuffer ¶
func (m *QueryInflationCycleEnd) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryInflationCycleEnd) ProtoMessage ¶
func (*QueryInflationCycleEnd) ProtoMessage()
func (*QueryInflationCycleEnd) Reset ¶
func (m *QueryInflationCycleEnd) Reset()
func (*QueryInflationCycleEnd) Size ¶
func (m *QueryInflationCycleEnd) Size() (n int)
func (*QueryInflationCycleEnd) String ¶
func (m *QueryInflationCycleEnd) String() string
func (*QueryInflationCycleEnd) Unmarshal ¶
func (m *QueryInflationCycleEnd) Unmarshal(dAtA []byte) error
func (*QueryInflationCycleEnd) XXX_DiscardUnknown ¶
func (m *QueryInflationCycleEnd) XXX_DiscardUnknown()
func (*QueryInflationCycleEnd) XXX_Marshal ¶
func (m *QueryInflationCycleEnd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryInflationCycleEnd) XXX_Merge ¶
func (m *QueryInflationCycleEnd) XXX_Merge(src proto.Message)
func (*QueryInflationCycleEnd) XXX_Size ¶
func (m *QueryInflationCycleEnd) XXX_Size() int
func (*QueryInflationCycleEnd) XXX_Unmarshal ¶
func (m *QueryInflationCycleEnd) XXX_Unmarshal(b []byte) error
type QueryInflationCycleEndResponse ¶
type QueryInflationCycleEndResponse struct {
End *time.Time `protobuf:"bytes,1,opt,name=end,proto3,stdtime" json:"end,omitempty"`
}
QueryInflationCycleEndResponse response type.
func (*QueryInflationCycleEndResponse) Descriptor ¶
func (*QueryInflationCycleEndResponse) Descriptor() ([]byte, []int)
func (*QueryInflationCycleEndResponse) Marshal ¶
func (m *QueryInflationCycleEndResponse) Marshal() (dAtA []byte, err error)
func (*QueryInflationCycleEndResponse) MarshalTo ¶
func (m *QueryInflationCycleEndResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryInflationCycleEndResponse) MarshalToSizedBuffer ¶
func (m *QueryInflationCycleEndResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryInflationCycleEndResponse) ProtoMessage ¶
func (*QueryInflationCycleEndResponse) ProtoMessage()
func (*QueryInflationCycleEndResponse) Reset ¶
func (m *QueryInflationCycleEndResponse) Reset()
func (*QueryInflationCycleEndResponse) Size ¶
func (m *QueryInflationCycleEndResponse) Size() (n int)
func (*QueryInflationCycleEndResponse) String ¶
func (m *QueryInflationCycleEndResponse) String() string
func (*QueryInflationCycleEndResponse) Unmarshal ¶
func (m *QueryInflationCycleEndResponse) Unmarshal(dAtA []byte) error
func (*QueryInflationCycleEndResponse) XXX_DiscardUnknown ¶
func (m *QueryInflationCycleEndResponse) XXX_DiscardUnknown()
func (*QueryInflationCycleEndResponse) XXX_Marshal ¶
func (m *QueryInflationCycleEndResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryInflationCycleEndResponse) XXX_Merge ¶
func (m *QueryInflationCycleEndResponse) XXX_Merge(src proto.Message)
func (*QueryInflationCycleEndResponse) XXX_Size ¶
func (m *QueryInflationCycleEndResponse) XXX_Size() int
func (*QueryInflationCycleEndResponse) XXX_Unmarshal ¶
func (m *QueryInflationCycleEndResponse) XXX_Unmarshal(b []byte) error
type QueryInflationParams ¶
type QueryInflationParams struct { }
QueryInflationParams request type.
func (*QueryInflationParams) Descriptor ¶
func (*QueryInflationParams) Descriptor() ([]byte, []int)
func (*QueryInflationParams) Marshal ¶
func (m *QueryInflationParams) Marshal() (dAtA []byte, err error)
func (*QueryInflationParams) MarshalTo ¶
func (m *QueryInflationParams) MarshalTo(dAtA []byte) (int, error)
func (*QueryInflationParams) MarshalToSizedBuffer ¶
func (m *QueryInflationParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryInflationParams) ProtoMessage ¶
func (*QueryInflationParams) ProtoMessage()
func (*QueryInflationParams) Reset ¶
func (m *QueryInflationParams) Reset()
func (*QueryInflationParams) Size ¶
func (m *QueryInflationParams) Size() (n int)
func (*QueryInflationParams) String ¶
func (m *QueryInflationParams) String() string
func (*QueryInflationParams) Unmarshal ¶
func (m *QueryInflationParams) Unmarshal(dAtA []byte) error
func (*QueryInflationParams) XXX_DiscardUnknown ¶
func (m *QueryInflationParams) XXX_DiscardUnknown()
func (*QueryInflationParams) XXX_Marshal ¶
func (m *QueryInflationParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryInflationParams) XXX_Merge ¶
func (m *QueryInflationParams) XXX_Merge(src proto.Message)
func (*QueryInflationParams) XXX_Size ¶
func (m *QueryInflationParams) XXX_Size() int
func (*QueryInflationParams) XXX_Unmarshal ¶
func (m *QueryInflationParams) XXX_Unmarshal(b []byte) error
type QueryInflationParamsResponse ¶
type QueryInflationParamsResponse struct {
Params InflationParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
QueryInflationParamsResponse response type.
func (*QueryInflationParamsResponse) Descriptor ¶
func (*QueryInflationParamsResponse) Descriptor() ([]byte, []int)
func (*QueryInflationParamsResponse) Marshal ¶
func (m *QueryInflationParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryInflationParamsResponse) MarshalTo ¶
func (m *QueryInflationParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryInflationParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryInflationParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryInflationParamsResponse) ProtoMessage ¶
func (*QueryInflationParamsResponse) ProtoMessage()
func (*QueryInflationParamsResponse) Reset ¶
func (m *QueryInflationParamsResponse) Reset()
func (*QueryInflationParamsResponse) Size ¶
func (m *QueryInflationParamsResponse) Size() (n int)
func (*QueryInflationParamsResponse) String ¶
func (m *QueryInflationParamsResponse) String() string
func (*QueryInflationParamsResponse) Unmarshal ¶
func (m *QueryInflationParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryInflationParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryInflationParamsResponse) XXX_DiscardUnknown()
func (*QueryInflationParamsResponse) XXX_Marshal ¶
func (m *QueryInflationParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryInflationParamsResponse) XXX_Merge ¶
func (m *QueryInflationParamsResponse) XXX_Merge(src proto.Message)
func (*QueryInflationParamsResponse) XXX_Size ¶
func (m *QueryInflationParamsResponse) XXX_Size() int
func (*QueryInflationParamsResponse) XXX_Unmarshal ¶
func (m *QueryInflationParamsResponse) XXX_Unmarshal(b []byte) error
type QueryMinGasPrice ¶
type QueryMinGasPrice struct { }
QueryMinGasPrice is a request type.
func (*QueryMinGasPrice) Descriptor ¶
func (*QueryMinGasPrice) Descriptor() ([]byte, []int)
func (*QueryMinGasPrice) Marshal ¶
func (m *QueryMinGasPrice) Marshal() (dAtA []byte, err error)
func (*QueryMinGasPrice) MarshalToSizedBuffer ¶
func (m *QueryMinGasPrice) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryMinGasPrice) ProtoMessage ¶
func (*QueryMinGasPrice) ProtoMessage()
func (*QueryMinGasPrice) Reset ¶
func (m *QueryMinGasPrice) Reset()
func (*QueryMinGasPrice) Size ¶
func (m *QueryMinGasPrice) Size() (n int)
func (*QueryMinGasPrice) String ¶
func (m *QueryMinGasPrice) String() string
func (*QueryMinGasPrice) Unmarshal ¶
func (m *QueryMinGasPrice) Unmarshal(dAtA []byte) error
func (*QueryMinGasPrice) XXX_DiscardUnknown ¶
func (m *QueryMinGasPrice) XXX_DiscardUnknown()
func (*QueryMinGasPrice) XXX_Marshal ¶
func (m *QueryMinGasPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryMinGasPrice) XXX_Merge ¶
func (m *QueryMinGasPrice) XXX_Merge(src proto.Message)
func (*QueryMinGasPrice) XXX_Size ¶
func (m *QueryMinGasPrice) XXX_Size() int
func (*QueryMinGasPrice) XXX_Unmarshal ¶
func (m *QueryMinGasPrice) XXX_Unmarshal(b []byte) error
type QueryMinGasPriceResponse ¶
type QueryMinGasPriceResponse struct {
MinGasPrice types.DecCoin `protobuf:"bytes,1,opt,name=min_gas_price,json=minGasPrice,proto3" json:"min_gas_price"`
}
QueryMinGasPriceResponse response type.
func (*QueryMinGasPriceResponse) Descriptor ¶
func (*QueryMinGasPriceResponse) Descriptor() ([]byte, []int)
func (*QueryMinGasPriceResponse) Marshal ¶
func (m *QueryMinGasPriceResponse) Marshal() (dAtA []byte, err error)
func (*QueryMinGasPriceResponse) MarshalTo ¶
func (m *QueryMinGasPriceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryMinGasPriceResponse) MarshalToSizedBuffer ¶
func (m *QueryMinGasPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryMinGasPriceResponse) ProtoMessage ¶
func (*QueryMinGasPriceResponse) ProtoMessage()
func (*QueryMinGasPriceResponse) Reset ¶
func (m *QueryMinGasPriceResponse) Reset()
func (*QueryMinGasPriceResponse) Size ¶
func (m *QueryMinGasPriceResponse) Size() (n int)
func (*QueryMinGasPriceResponse) String ¶
func (m *QueryMinGasPriceResponse) String() string
func (*QueryMinGasPriceResponse) Unmarshal ¶
func (m *QueryMinGasPriceResponse) Unmarshal(dAtA []byte) error
func (*QueryMinGasPriceResponse) XXX_DiscardUnknown ¶
func (m *QueryMinGasPriceResponse) XXX_DiscardUnknown()
func (*QueryMinGasPriceResponse) XXX_Marshal ¶
func (m *QueryMinGasPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryMinGasPriceResponse) XXX_Merge ¶
func (m *QueryMinGasPriceResponse) XXX_Merge(src proto.Message)
func (*QueryMinGasPriceResponse) XXX_Size ¶
func (m *QueryMinGasPriceResponse) XXX_Size() int
func (*QueryMinGasPriceResponse) XXX_Unmarshal ¶
func (m *QueryMinGasPriceResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // MinGasPrice returns minimum transaction fees. MinGasPrice(context.Context, *QueryMinGasPrice) (*QueryMinGasPriceResponse, error) // EmergencyGroup returns emergency group address EmergencyGroup(context.Context, *QueryEmergencyGroup) (*QueryEmergencyGroupResponse, error) // InflationParams returns params of inflation reduction rates InflationParams(context.Context, *QueryInflationParams) (*QueryInflationParamsResponse, error) // InflationCycleEnd returns inflation cycle end time InflationCycleEnd(context.Context, *QueryInflationCycleEnd) (*QueryInflationCycleEndResponse, 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) GovSetEmergencyGroup ¶
func (*UnimplementedMsgServer) GovSetEmergencyGroup(ctx context.Context, req *MsgGovSetEmergencyGroup) (*MsgGovSetEmergencyGroupResponse, error)
func (*UnimplementedMsgServer) GovUpdateInflationParams ¶
func (*UnimplementedMsgServer) GovUpdateInflationParams(ctx context.Context, req *MsgGovUpdateInflationParams) (*GovUpdateInflationParamsResponse, error)
func (*UnimplementedMsgServer) GovUpdateMinGasPrice ¶
func (*UnimplementedMsgServer) GovUpdateMinGasPrice(ctx context.Context, req *MsgGovUpdateMinGasPrice) (*MsgGovUpdateMinGasPriceResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) EmergencyGroup ¶
func (*UnimplementedQueryServer) EmergencyGroup(ctx context.Context, req *QueryEmergencyGroup) (*QueryEmergencyGroupResponse, error)
func (*UnimplementedQueryServer) InflationCycleEnd ¶
func (*UnimplementedQueryServer) InflationCycleEnd(ctx context.Context, req *QueryInflationCycleEnd) (*QueryInflationCycleEndResponse, error)
func (*UnimplementedQueryServer) InflationParams ¶
func (*UnimplementedQueryServer) InflationParams(ctx context.Context, req *QueryInflationParams) (*QueryInflationParamsResponse, error)
func (*UnimplementedQueryServer) MinGasPrice ¶
func (*UnimplementedQueryServer) MinGasPrice(ctx context.Context, req *QueryMinGasPrice) (*QueryMinGasPriceResponse, error)
type WithEmergencyGroup ¶
type WithEmergencyGroup interface {
EmergencyGroup() sdk.AccAddress
}