Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func LinearMintingConfig() *codectypes.Any
- 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)
- func ValidateMsgBurn(amount sdk.Coins) error
- type AccountKeeper
- type BankKeeper
- type BySequenceId
- type EventMint
- func (*EventMint) Descriptor() ([]byte, []int)
- func (m *EventMint) GetAmount() string
- func (m *EventMint) GetBondedRatio() string
- func (m *EventMint) GetInflation() string
- func (m *EventMint) Marshal() (dAtA []byte, err error)
- func (m *EventMint) MarshalTo(dAtA []byte) (int, error)
- func (m *EventMint) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventMint) ProtoMessage()
- func (m *EventMint) Reset()
- func (m *EventMint) Size() (n int)
- func (m *EventMint) String() string
- func (m *EventMint) Unmarshal(dAtA []byte) error
- func (m *EventMint) XXX_DiscardUnknown()
- func (m *EventMint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventMint) XXX_Merge(src proto.Message)
- func (m *EventMint) XXX_Size() int
- func (m *EventMint) XXX_Unmarshal(b []byte) error
- type ExponentialStepMinting
- func (m *ExponentialStepMinting) AmountToMint(logger log.Logger, startTime time.Time, endTime *time.Time, ...) sdk.Dec
- func (m *ExponentialStepMinting) CalculateInflation(totalSupply math.Int, startTime time.Time, endTime *time.Time, ...) sdk.Dec
- func (*ExponentialStepMinting) Descriptor() ([]byte, []int)
- func (m *ExponentialStepMinting) GetStepDuration() time.Duration
- func (m *ExponentialStepMinting) Marshal() (dAtA []byte, err error)
- func (m *ExponentialStepMinting) MarshalTo(dAtA []byte) (int, error)
- func (m *ExponentialStepMinting) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ExponentialStepMinting) ProtoMessage()
- func (m *ExponentialStepMinting) Reset()
- func (m *ExponentialStepMinting) Size() (n int)
- func (m *ExponentialStepMinting) String() string
- func (m *ExponentialStepMinting) Unmarshal(dAtA []byte) error
- func (m *ExponentialStepMinting) Validate() error
- func (m *ExponentialStepMinting) XXX_DiscardUnknown()
- func (m *ExponentialStepMinting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExponentialStepMinting) XXX_Merge(src proto.Message)
- func (m *ExponentialStepMinting) XXX_Size() int
- func (m *ExponentialStepMinting) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetMinterState() MinterState
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetStateHistory() []*MinterState
- 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) UnpackInterfaces(unpacker codectypes.AnyUnpacker) 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 LinearMinting
- func (m *LinearMinting) AmountToMint(logger log.Logger, startTime time.Time, endTime *time.Time, ...) sdk.Dec
- func (m *LinearMinting) CalculateInflation(totalSupply math.Int, minterStart time.Time, endTime *time.Time, ...) sdk.Dec
- func (*LinearMinting) Descriptor() ([]byte, []int)
- func (m *LinearMinting) Marshal() (dAtA []byte, err error)
- func (m *LinearMinting) MarshalTo(dAtA []byte) (int, error)
- func (m *LinearMinting) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LinearMinting) ProtoMessage()
- func (m *LinearMinting) Reset()
- func (m *LinearMinting) Size() (n int)
- func (m *LinearMinting) String() string
- func (m *LinearMinting) Unmarshal(dAtA []byte) error
- func (m *LinearMinting) Validate() error
- func (m *LinearMinting) XXX_DiscardUnknown()
- func (m *LinearMinting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LinearMinting) XXX_Merge(src proto.Message)
- func (m *LinearMinting) XXX_Size() int
- func (m *LinearMinting) XXX_Unmarshal(b []byte) error
- type Minter
- func (m *Minter) AmountToMint(logger log.Logger, startTime time.Time, blockTime time.Time) sdk.Dec
- func (m *Minter) CalculateInflation(totalSupply math.Int, startTime time.Time, blockTime time.Time) sdk.Dec
- func (*Minter) Descriptor() ([]byte, []int)
- func (m *Minter) GetConfig() *types.Any
- func (m *Minter) GetEndTime() *time.Time
- func (m *Minter) GetMinterConfig() (MinterConfigI, error)
- func (m *Minter) GetMinterJSON() MinterJSON
- func (m *Minter) GetSequenceId() uint32
- func (m *Minter) Marshal() (dAtA []byte, err error)
- func (m *Minter) MarshalTo(dAtA []byte) (int, error)
- func (m *Minter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Minter) ProtoMessage()
- func (m *Minter) Reset()
- func (m *Minter) Size() (n int)
- func (acc *Minter) String() string
- func (m *Minter) Unmarshal(dAtA []byte) error
- func (m Minter) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (m *Minter) XXX_DiscardUnknown()
- func (m *Minter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Minter) XXX_Merge(src proto.Message)
- func (m *Minter) XXX_Size() int
- func (m *Minter) XXX_Unmarshal(b []byte) error
- type MinterConfigI
- type MinterJSON
- type MinterState
- func (*MinterState) Descriptor() ([]byte, []int)
- func (m *MinterState) GetLastMintBlockTime() time.Time
- func (m *MinterState) GetSequenceId() uint32
- func (m *MinterState) Marshal() (dAtA []byte, err error)
- func (m *MinterState) MarshalTo(dAtA []byte) (int, error)
- func (m *MinterState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MinterState) ProtoMessage()
- func (m *MinterState) Reset()
- func (m *MinterState) Size() (n int)
- func (m *MinterState) String() string
- func (m *MinterState) Unmarshal(dAtA []byte) error
- func (m MinterState) Validate() error
- func (m *MinterState) XXX_DiscardUnknown()
- func (m *MinterState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MinterState) XXX_Merge(src proto.Message)
- func (m *MinterState) XXX_Size() int
- func (m *MinterState) XXX_Unmarshal(b []byte) error
- type MsgBurn
- func (*MsgBurn) Descriptor() ([]byte, []int)
- func (m *MsgBurn) GetAddress() string
- func (m *MsgBurn) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
- func (msg *MsgBurn) GetSignBytes() []byte
- func (msg *MsgBurn) GetSigners() []sdk.AccAddress
- func (m *MsgBurn) Marshal() (dAtA []byte, err error)
- func (m *MsgBurn) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBurn) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBurn) ProtoMessage()
- func (m *MsgBurn) Reset()
- func (msg *MsgBurn) Route() string
- func (m *MsgBurn) Size() (n int)
- func (m *MsgBurn) String() string
- func (msg *MsgBurn) Type() string
- func (m *MsgBurn) Unmarshal(dAtA []byte) error
- func (msg *MsgBurn) ValidateBasic() error
- func (m *MsgBurn) XXX_DiscardUnknown()
- func (m *MsgBurn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBurn) XXX_Merge(src proto.Message)
- func (m *MsgBurn) XXX_Size() int
- func (m *MsgBurn) XXX_Unmarshal(b []byte) error
- type MsgBurnResponse
- func (*MsgBurnResponse) Descriptor() ([]byte, []int)
- func (m *MsgBurnResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgBurnResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBurnResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBurnResponse) ProtoMessage()
- func (m *MsgBurnResponse) Reset()
- func (m *MsgBurnResponse) Size() (n int)
- func (m *MsgBurnResponse) String() string
- func (m *MsgBurnResponse) Unmarshal(dAtA []byte) error
- func (m *MsgBurnResponse) XXX_DiscardUnknown()
- func (m *MsgBurnResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBurnResponse) XXX_Merge(src proto.Message)
- func (m *MsgBurnResponse) XXX_Size() int
- func (m *MsgBurnResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgServer
- type MsgUpdateMintersParams
- func (*MsgUpdateMintersParams) Descriptor() ([]byte, []int)
- func (m *MsgUpdateMintersParams) GetAuthority() string
- func (m *MsgUpdateMintersParams) GetMinters() []*Minter
- func (msg *MsgUpdateMintersParams) GetSignBytes() []byte
- func (msg *MsgUpdateMintersParams) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateMintersParams) GetStartTime() time.Time
- func (m *MsgUpdateMintersParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateMintersParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateMintersParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateMintersParams) ProtoMessage()
- func (m *MsgUpdateMintersParams) Reset()
- func (msg *MsgUpdateMintersParams) Route() string
- func (m *MsgUpdateMintersParams) Size() (n int)
- func (m *MsgUpdateMintersParams) String() string
- func (msg *MsgUpdateMintersParams) Type() string
- func (m *MsgUpdateMintersParams) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateMintersParams) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (msg *MsgUpdateMintersParams) ValidateBasic() error
- func (m *MsgUpdateMintersParams) XXX_DiscardUnknown()
- func (m *MsgUpdateMintersParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateMintersParams) XXX_Merge(src proto.Message)
- func (m *MsgUpdateMintersParams) XXX_Size() int
- func (m *MsgUpdateMintersParams) XXX_Unmarshal(b []byte) error
- type MsgUpdateMintersParamsResponse
- func (*MsgUpdateMintersParamsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateMintersParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateMintersParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateMintersParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateMintersParamsResponse) ProtoMessage()
- func (m *MsgUpdateMintersParamsResponse) Reset()
- func (m *MsgUpdateMintersParamsResponse) Size() (n int)
- func (m *MsgUpdateMintersParamsResponse) String() string
- func (m *MsgUpdateMintersParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateMintersParamsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateMintersParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateMintersParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateMintersParamsResponse) XXX_Size() int
- func (m *MsgUpdateMintersParamsResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParams) GetAuthority() string
- func (m *MsgUpdateParams) GetMintDenom() string
- func (m *MsgUpdateParams) GetMinters() []*Minter
- func (msg *MsgUpdateParams) GetSignBytes() []byte
- func (msg *MsgUpdateParams) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateParams) GetStartTime() time.Time
- func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParams) ProtoMessage()
- func (m *MsgUpdateParams) Reset()
- func (msg *MsgUpdateParams) Route() string
- func (m *MsgUpdateParams) Size() (n int)
- func (m *MsgUpdateParams) String() string
- func (msg *MsgUpdateParams) Type() string
- func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParams) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (msg *MsgUpdateParams) ValidateBasic() error
- func (m *MsgUpdateParams) XXX_DiscardUnknown()
- func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParams) XXX_Size() int
- func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
- type MsgUpdateParamsResponse
- func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParamsResponse) ProtoMessage()
- func (m *MsgUpdateParamsResponse) Reset()
- func (m *MsgUpdateParamsResponse) Size() (n int)
- func (m *MsgUpdateParamsResponse) String() string
- func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParamsResponse) XXX_Size() int
- func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
- type NoMinting
- func (m *NoMinting) AmountToMint(logger log.Logger, startTime time.Time, endTime *time.Time, ...) sdk.Dec
- func (m *NoMinting) CalculateInflation(totalSupply math.Int, startTime time.Time, endTime *time.Time, ...) sdk.Dec
- func (*NoMinting) Descriptor() ([]byte, []int)
- func (m *NoMinting) Marshal() (dAtA []byte, err error)
- func (m *NoMinting) MarshalTo(dAtA []byte) (int, error)
- func (m *NoMinting) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NoMinting) ProtoMessage()
- func (m *NoMinting) Reset()
- func (m *NoMinting) Size() (n int)
- func (m *NoMinting) String() string
- func (m *NoMinting) Unmarshal(dAtA []byte) error
- func (m *NoMinting) Validate() error
- func (m *NoMinting) XXX_DiscardUnknown()
- func (m *NoMinting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NoMinting) XXX_Merge(src proto.Message)
- func (m *NoMinting) XXX_Size() int
- func (m *NoMinting) XXX_Unmarshal(b []byte) error
- type Params
- func (params Params) ContainsMinter(sequenceId uint32) bool
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetMintDenom() string
- func (m *Params) GetMinters() []*Minter
- func (m *Params) GetStartTime() time.Time
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (params Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (params Params) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (params Params) Validate() error
- func (params Params) ValidateParamsMintDenom() error
- func (params Params) ValidateParamsMinters() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryInflationRequest
- func (*QueryInflationRequest) Descriptor() ([]byte, []int)
- func (m *QueryInflationRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryInflationRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryInflationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryInflationRequest) ProtoMessage()
- func (m *QueryInflationRequest) Reset()
- func (m *QueryInflationRequest) Size() (n int)
- func (m *QueryInflationRequest) String() string
- func (m *QueryInflationRequest) Unmarshal(dAtA []byte) error
- func (m *QueryInflationRequest) XXX_DiscardUnknown()
- func (m *QueryInflationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryInflationRequest) XXX_Merge(src proto.Message)
- func (m *QueryInflationRequest) XXX_Size() int
- func (m *QueryInflationRequest) XXX_Unmarshal(b []byte) error
- type QueryInflationResponse
- func (*QueryInflationResponse) Descriptor() ([]byte, []int)
- func (m *QueryInflationResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryInflationResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryInflationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryInflationResponse) ProtoMessage()
- func (m *QueryInflationResponse) Reset()
- func (m *QueryInflationResponse) Size() (n int)
- func (m *QueryInflationResponse) String() string
- func (m *QueryInflationResponse) Unmarshal(dAtA []byte) error
- func (m *QueryInflationResponse) XXX_DiscardUnknown()
- func (m *QueryInflationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryInflationResponse) XXX_Merge(src proto.Message)
- func (m *QueryInflationResponse) XXX_Size() int
- func (m *QueryInflationResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryStateRequest
- func (*QueryStateRequest) Descriptor() ([]byte, []int)
- func (m *QueryStateRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryStateRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStateRequest) ProtoMessage()
- func (m *QueryStateRequest) Reset()
- func (m *QueryStateRequest) Size() (n int)
- func (m *QueryStateRequest) String() string
- func (m *QueryStateRequest) Unmarshal(dAtA []byte) error
- func (m *QueryStateRequest) XXX_DiscardUnknown()
- func (m *QueryStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStateRequest) XXX_Merge(src proto.Message)
- func (m *QueryStateRequest) XXX_Size() int
- func (m *QueryStateRequest) XXX_Unmarshal(b []byte) error
- type QueryStateResponse
- func (*QueryStateResponse) Descriptor() ([]byte, []int)
- func (m *QueryStateResponse) GetMinterState() MinterState
- func (m *QueryStateResponse) GetStateHistory() []*MinterState
- func (m *QueryStateResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryStateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStateResponse) ProtoMessage()
- func (m *QueryStateResponse) Reset()
- func (m *QueryStateResponse) Size() (n int)
- func (m *QueryStateResponse) String() string
- func (m *QueryStateResponse) Unmarshal(dAtA []byte) error
- func (m *QueryStateResponse) XXX_DiscardUnknown()
- func (m *QueryStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStateResponse) XXX_Merge(src proto.Message)
- func (m *QueryStateResponse) XXX_Size() int
- func (m *QueryStateResponse) XXX_Unmarshal(b []byte) error
- type StakingKeeper
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) Burn(ctx context.Context, req *MsgBurn) (*MsgBurnResponse, error)
- func (*UnimplementedMsgServer) UpdateMintersParams(ctx context.Context, req *MsgUpdateMintersParams) (*MsgUpdateMintersParamsResponse, error)
- func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Inflation(ctx context.Context, req *QueryInflationRequest) (*QueryInflationResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) State(ctx context.Context, req *QueryStateRequest) (*QueryStateResponse, error)
Constants ¶
const ( // ModuleName defines the module name ModuleName = "cfeminter" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey is the message route for slashing RouterKey = ModuleName // QuerierRoute defines the module's query routing key QuerierRoute = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_cfeminter" )
const TypeMsgBurn = "burn"
const TypeMsgUpdateMintersParams = "update_minters_params"
const TypeMsgUpdateParams = "update_params"
const (
UndefinedInflation = "undefined"
)
Minting module event types
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewAminoCodec(Amino) )
var ( ErrInvalidLengthEvent = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvent = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvent = 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 ( ParamsKey = []byte{0x00} IsGenesisKey = []byte{0x01} MinterStateKey = []byte{0x02} MinterStateHistoryKeyPrefix = []byte{0x03} )
MinterKey is the key to use for the keeper store.
var ( ErrInvalidLengthMinter = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMinter = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMinter = fmt.Errorf("proto: unexpected end of group") )
var ( DefaultMintDenom = "uc4e" DefaultStartTime = time.Now() DefaultMinters = []*Minter{ { SequenceId: 1, Config: LinearMintingConfig(), }, } )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
Functions ¶
func LinearMintingConfig ¶
func LinearMintingConfig() *codectypes.Any
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.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 ValidateMsgBurn ¶
Types ¶
type AccountKeeper ¶
type AccountKeeper interface { GetAccount(ctx sdk.Context, addr sdk.AccAddress) types.AccountI GetModuleAccount(ctx sdk.Context, moduleName string) types.ModuleAccountI }
AccountKeeper defines the expected account keeper used for simulations (noalias)
type BankKeeper ¶
type BankKeeper interface { SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins BurnCoins(ctx sdk.Context, moduleName string, amounts sdk.Coins) error SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error SendCoinsFromModuleToModule(ctx sdk.Context, senderModule, recipientModule string, amt sdk.Coins) error MintCoins(ctx sdk.Context, name string, amt sdk.Coins) error GetSupply(ctx sdk.Context, denom string) sdk.Coin GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins }
BankKeeper defines the expected interface needed to retrieve account balances.
type BySequenceId ¶
type BySequenceId []*Minter
func (BySequenceId) Len ¶
func (a BySequenceId) Len() int
func (BySequenceId) Less ¶
func (a BySequenceId) Less(i, j int) bool
func (BySequenceId) Swap ¶
func (a BySequenceId) Swap(i, j int)
type EventMint ¶
type EventMint struct { BondedRatio string `protobuf:"bytes,1,opt,name=bonded_ratio,json=bondedRatio,proto3" json:"bonded_ratio,omitempty"` Inflation string `protobuf:"bytes,2,opt,name=inflation,proto3" json:"inflation,omitempty"` Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` }
func (*EventMint) Descriptor ¶
func (*EventMint) GetBondedRatio ¶
func (*EventMint) GetInflation ¶
func (*EventMint) MarshalToSizedBuffer ¶
func (*EventMint) ProtoMessage ¶
func (*EventMint) ProtoMessage()
func (*EventMint) XXX_DiscardUnknown ¶
func (m *EventMint) XXX_DiscardUnknown()
func (*EventMint) XXX_Marshal ¶
func (*EventMint) XXX_Unmarshal ¶
type ExponentialStepMinting ¶
type ExponentialStepMinting struct { StepDuration time.Duration `protobuf:"bytes,1,opt,name=step_duration,json=stepDuration,proto3,stdduration" json:"step_duration"` Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"` AmountMultiplier github_com_cosmos_cosmos_sdk_types.Dec `` /* 149-byte string literal not displayed */ }
func (*ExponentialStepMinting) AmountToMint ¶
func (*ExponentialStepMinting) CalculateInflation ¶
func (*ExponentialStepMinting) Descriptor ¶
func (*ExponentialStepMinting) Descriptor() ([]byte, []int)
func (*ExponentialStepMinting) GetStepDuration ¶
func (m *ExponentialStepMinting) GetStepDuration() time.Duration
func (*ExponentialStepMinting) Marshal ¶
func (m *ExponentialStepMinting) Marshal() (dAtA []byte, err error)
func (*ExponentialStepMinting) MarshalTo ¶
func (m *ExponentialStepMinting) MarshalTo(dAtA []byte) (int, error)
func (*ExponentialStepMinting) MarshalToSizedBuffer ¶
func (m *ExponentialStepMinting) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ExponentialStepMinting) ProtoMessage ¶
func (*ExponentialStepMinting) ProtoMessage()
func (*ExponentialStepMinting) Reset ¶
func (m *ExponentialStepMinting) Reset()
func (*ExponentialStepMinting) Size ¶
func (m *ExponentialStepMinting) Size() (n int)
func (*ExponentialStepMinting) String ¶
func (m *ExponentialStepMinting) String() string
func (*ExponentialStepMinting) Unmarshal ¶
func (m *ExponentialStepMinting) Unmarshal(dAtA []byte) error
func (*ExponentialStepMinting) Validate ¶
func (m *ExponentialStepMinting) Validate() error
func (*ExponentialStepMinting) XXX_DiscardUnknown ¶
func (m *ExponentialStepMinting) XXX_DiscardUnknown()
func (*ExponentialStepMinting) XXX_Marshal ¶
func (m *ExponentialStepMinting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExponentialStepMinting) XXX_Merge ¶
func (m *ExponentialStepMinting) XXX_Merge(src proto.Message)
func (*ExponentialStepMinting) XXX_Size ¶
func (m *ExponentialStepMinting) XXX_Size() int
func (*ExponentialStepMinting) XXX_Unmarshal ¶
func (m *ExponentialStepMinting) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` // this line is used by starport scaffolding # genesis/proto/state MinterState MinterState `protobuf:"bytes,2,opt,name=minter_state,json=minterState,proto3" json:"minter_state"` StateHistory []*MinterState `protobuf:"bytes,3,rep,name=state_history,json=stateHistory,proto3" json:"state_history,omitempty"` }
GenesisState defines the cfeminter module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default Capability genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetMinterState ¶
func (m *GenesisState) GetMinterState() MinterState
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetStateHistory ¶
func (m *GenesisState) GetStateHistory() []*MinterState
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) UnpackInterfaces ¶
func (gs GenesisState) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
func (GenesisState) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type LinearMinting ¶
type LinearMinting struct {
Amount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
}
func (*LinearMinting) AmountToMint ¶
func (*LinearMinting) CalculateInflation ¶
func (*LinearMinting) Descriptor ¶
func (*LinearMinting) Descriptor() ([]byte, []int)
func (*LinearMinting) Marshal ¶
func (m *LinearMinting) Marshal() (dAtA []byte, err error)
func (*LinearMinting) MarshalToSizedBuffer ¶
func (m *LinearMinting) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LinearMinting) ProtoMessage ¶
func (*LinearMinting) ProtoMessage()
func (*LinearMinting) Reset ¶
func (m *LinearMinting) Reset()
func (*LinearMinting) Size ¶
func (m *LinearMinting) Size() (n int)
func (*LinearMinting) String ¶
func (m *LinearMinting) String() string
func (*LinearMinting) Unmarshal ¶
func (m *LinearMinting) Unmarshal(dAtA []byte) error
func (*LinearMinting) Validate ¶
func (m *LinearMinting) Validate() error
func (*LinearMinting) XXX_DiscardUnknown ¶
func (m *LinearMinting) XXX_DiscardUnknown()
func (*LinearMinting) XXX_Marshal ¶
func (m *LinearMinting) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LinearMinting) XXX_Merge ¶
func (m *LinearMinting) XXX_Merge(src proto.Message)
func (*LinearMinting) XXX_Size ¶
func (m *LinearMinting) XXX_Size() int
func (*LinearMinting) XXX_Unmarshal ¶
func (m *LinearMinting) XXX_Unmarshal(b []byte) error
type Minter ¶
type Minter struct { SequenceId uint32 `protobuf:"varint,1,opt,name=sequence_id,json=sequenceId,proto3" json:"sequence_id,omitempty"` EndTime *time.Time `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3,stdtime" json:"end_time,omitempty"` Config *types.Any `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"` }
func (*Minter) AmountToMint ¶
func (*Minter) CalculateInflation ¶
func (*Minter) Descriptor ¶
func (*Minter) GetEndTime ¶
func (*Minter) GetMinterConfig ¶
func (m *Minter) GetMinterConfig() (MinterConfigI, error)
func (*Minter) GetMinterJSON ¶
func (m *Minter) GetMinterJSON() MinterJSON
func (*Minter) GetSequenceId ¶
func (*Minter) MarshalToSizedBuffer ¶
func (*Minter) ProtoMessage ¶
func (*Minter) ProtoMessage()
func (Minter) UnpackInterfaces ¶
func (m Minter) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
func (*Minter) XXX_DiscardUnknown ¶
func (m *Minter) XXX_DiscardUnknown()
func (*Minter) XXX_Marshal ¶
func (*Minter) XXX_Unmarshal ¶
type MinterConfigI ¶
type MinterJSON ¶
type MinterState ¶
type MinterState struct { SequenceId uint32 `protobuf:"varint,1,opt,name=sequence_id,json=sequenceId,proto3" json:"sequence_id,omitempty"` AmountMinted github_com_cosmos_cosmos_sdk_types.Int `` /* 137-byte string literal not displayed */ RemainderToMint github_com_cosmos_cosmos_sdk_types.Dec `` /* 148-byte string literal not displayed */ LastMintBlockTime time.Time `protobuf:"bytes,4,opt,name=last_mint_block_time,json=lastMintBlockTime,proto3,stdtime" json:"last_mint_block_time"` RemainderFromPreviousMinter github_com_cosmos_cosmos_sdk_types.Dec `` /* 186-byte string literal not displayed */ }
func (*MinterState) Descriptor ¶
func (*MinterState) Descriptor() ([]byte, []int)
func (*MinterState) GetLastMintBlockTime ¶
func (m *MinterState) GetLastMintBlockTime() time.Time
func (*MinterState) GetSequenceId ¶
func (m *MinterState) GetSequenceId() uint32
func (*MinterState) Marshal ¶
func (m *MinterState) Marshal() (dAtA []byte, err error)
func (*MinterState) MarshalToSizedBuffer ¶
func (m *MinterState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MinterState) ProtoMessage ¶
func (*MinterState) ProtoMessage()
func (*MinterState) Reset ¶
func (m *MinterState) Reset()
func (*MinterState) Size ¶
func (m *MinterState) Size() (n int)
func (*MinterState) String ¶
func (m *MinterState) String() string
func (*MinterState) Unmarshal ¶
func (m *MinterState) Unmarshal(dAtA []byte) error
func (MinterState) Validate ¶
func (m MinterState) Validate() error
func (*MinterState) XXX_DiscardUnknown ¶
func (m *MinterState) XXX_DiscardUnknown()
func (*MinterState) XXX_Marshal ¶
func (m *MinterState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MinterState) XXX_Merge ¶
func (m *MinterState) XXX_Merge(src proto.Message)
func (*MinterState) XXX_Size ¶
func (m *MinterState) XXX_Size() int
func (*MinterState) XXX_Unmarshal ¶
func (m *MinterState) XXX_Unmarshal(b []byte) error
type MsgBurn ¶
type MsgBurn struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` }
func (*MsgBurn) Descriptor ¶
func (*MsgBurn) GetAddress ¶
func (*MsgBurn) GetAmount ¶
func (m *MsgBurn) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
func (*MsgBurn) GetSignBytes ¶
func (*MsgBurn) GetSigners ¶
func (msg *MsgBurn) GetSigners() []sdk.AccAddress
func (*MsgBurn) MarshalToSizedBuffer ¶
func (*MsgBurn) ProtoMessage ¶
func (*MsgBurn) ProtoMessage()
func (*MsgBurn) ValidateBasic ¶
func (*MsgBurn) XXX_DiscardUnknown ¶
func (m *MsgBurn) XXX_DiscardUnknown()
func (*MsgBurn) XXX_Marshal ¶
func (*MsgBurn) XXX_Unmarshal ¶
type MsgBurnResponse ¶
type MsgBurnResponse struct { }
func (*MsgBurnResponse) Descriptor ¶
func (*MsgBurnResponse) Descriptor() ([]byte, []int)
func (*MsgBurnResponse) Marshal ¶
func (m *MsgBurnResponse) Marshal() (dAtA []byte, err error)
func (*MsgBurnResponse) MarshalToSizedBuffer ¶
func (m *MsgBurnResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBurnResponse) ProtoMessage ¶
func (*MsgBurnResponse) ProtoMessage()
func (*MsgBurnResponse) Reset ¶
func (m *MsgBurnResponse) Reset()
func (*MsgBurnResponse) Size ¶
func (m *MsgBurnResponse) Size() (n int)
func (*MsgBurnResponse) String ¶
func (m *MsgBurnResponse) String() string
func (*MsgBurnResponse) Unmarshal ¶
func (m *MsgBurnResponse) Unmarshal(dAtA []byte) error
func (*MsgBurnResponse) XXX_DiscardUnknown ¶
func (m *MsgBurnResponse) XXX_DiscardUnknown()
func (*MsgBurnResponse) XXX_Marshal ¶
func (m *MsgBurnResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgBurnResponse) XXX_Merge ¶
func (m *MsgBurnResponse) XXX_Merge(src proto.Message)
func (*MsgBurnResponse) XXX_Size ¶
func (m *MsgBurnResponse) XXX_Size() int
func (*MsgBurnResponse) XXX_Unmarshal ¶
func (m *MsgBurnResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { // this line is used by starport scaffolding # proto/tx/rpc Burn(ctx context.Context, in *MsgBurn, opts ...grpc.CallOption) (*MsgBurnResponse, error) UpdateMintersParams(ctx context.Context, in *MsgUpdateMintersParams, opts ...grpc.CallOption) (*MsgUpdateMintersParamsResponse, error) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, 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 { // this line is used by starport scaffolding # proto/tx/rpc Burn(context.Context, *MsgBurn) (*MsgBurnResponse, error) UpdateMintersParams(context.Context, *MsgUpdateMintersParams) (*MsgUpdateMintersParamsResponse, error) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) }
MsgServer is the server API for Msg service.
type MsgUpdateMintersParams ¶
type MsgUpdateMintersParams struct { Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` StartTime time.Time `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3,stdtime" json:"start_time"` Minters []*Minter `protobuf:"bytes,3,rep,name=minters,proto3" json:"minters,omitempty"` }
func (*MsgUpdateMintersParams) Descriptor ¶
func (*MsgUpdateMintersParams) Descriptor() ([]byte, []int)
func (*MsgUpdateMintersParams) GetAuthority ¶
func (m *MsgUpdateMintersParams) GetAuthority() string
func (*MsgUpdateMintersParams) GetMinters ¶
func (m *MsgUpdateMintersParams) GetMinters() []*Minter
func (*MsgUpdateMintersParams) GetSignBytes ¶
func (msg *MsgUpdateMintersParams) GetSignBytes() []byte
func (*MsgUpdateMintersParams) GetSigners ¶
func (msg *MsgUpdateMintersParams) GetSigners() []sdk.AccAddress
func (*MsgUpdateMintersParams) GetStartTime ¶
func (m *MsgUpdateMintersParams) GetStartTime() time.Time
func (*MsgUpdateMintersParams) Marshal ¶
func (m *MsgUpdateMintersParams) Marshal() (dAtA []byte, err error)
func (*MsgUpdateMintersParams) MarshalTo ¶
func (m *MsgUpdateMintersParams) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateMintersParams) MarshalToSizedBuffer ¶
func (m *MsgUpdateMintersParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateMintersParams) ProtoMessage ¶
func (*MsgUpdateMintersParams) ProtoMessage()
func (*MsgUpdateMintersParams) Reset ¶
func (m *MsgUpdateMintersParams) Reset()
func (*MsgUpdateMintersParams) Route ¶
func (msg *MsgUpdateMintersParams) Route() string
func (*MsgUpdateMintersParams) Size ¶
func (m *MsgUpdateMintersParams) Size() (n int)
func (*MsgUpdateMintersParams) String ¶
func (m *MsgUpdateMintersParams) String() string
func (*MsgUpdateMintersParams) Type ¶
func (msg *MsgUpdateMintersParams) Type() string
func (*MsgUpdateMintersParams) Unmarshal ¶
func (m *MsgUpdateMintersParams) Unmarshal(dAtA []byte) error
func (*MsgUpdateMintersParams) UnpackInterfaces ¶
func (m *MsgUpdateMintersParams) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
func (*MsgUpdateMintersParams) ValidateBasic ¶
func (msg *MsgUpdateMintersParams) ValidateBasic() error
func (*MsgUpdateMintersParams) XXX_DiscardUnknown ¶
func (m *MsgUpdateMintersParams) XXX_DiscardUnknown()
func (*MsgUpdateMintersParams) XXX_Marshal ¶
func (m *MsgUpdateMintersParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateMintersParams) XXX_Merge ¶
func (m *MsgUpdateMintersParams) XXX_Merge(src proto.Message)
func (*MsgUpdateMintersParams) XXX_Size ¶
func (m *MsgUpdateMintersParams) XXX_Size() int
func (*MsgUpdateMintersParams) XXX_Unmarshal ¶
func (m *MsgUpdateMintersParams) XXX_Unmarshal(b []byte) error
type MsgUpdateMintersParamsResponse ¶
type MsgUpdateMintersParamsResponse struct { }
func (*MsgUpdateMintersParamsResponse) Descriptor ¶
func (*MsgUpdateMintersParamsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateMintersParamsResponse) Marshal ¶
func (m *MsgUpdateMintersParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateMintersParamsResponse) MarshalTo ¶
func (m *MsgUpdateMintersParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateMintersParamsResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateMintersParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateMintersParamsResponse) ProtoMessage ¶
func (*MsgUpdateMintersParamsResponse) ProtoMessage()
func (*MsgUpdateMintersParamsResponse) Reset ¶
func (m *MsgUpdateMintersParamsResponse) Reset()
func (*MsgUpdateMintersParamsResponse) Size ¶
func (m *MsgUpdateMintersParamsResponse) Size() (n int)
func (*MsgUpdateMintersParamsResponse) String ¶
func (m *MsgUpdateMintersParamsResponse) String() string
func (*MsgUpdateMintersParamsResponse) Unmarshal ¶
func (m *MsgUpdateMintersParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateMintersParamsResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateMintersParamsResponse) XXX_DiscardUnknown()
func (*MsgUpdateMintersParamsResponse) XXX_Marshal ¶
func (m *MsgUpdateMintersParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateMintersParamsResponse) XXX_Merge ¶
func (m *MsgUpdateMintersParamsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateMintersParamsResponse) XXX_Size ¶
func (m *MsgUpdateMintersParamsResponse) XXX_Size() int
func (*MsgUpdateMintersParamsResponse) XXX_Unmarshal ¶
func (m *MsgUpdateMintersParamsResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateParams ¶
type MsgUpdateParams struct { Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` MintDenom string `protobuf:"bytes,2,opt,name=mint_denom,json=mintDenom,proto3" json:"mint_denom,omitempty"` StartTime time.Time `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3,stdtime" json:"start_time"` Minters []*Minter `protobuf:"bytes,4,rep,name=minters,proto3" json:"minters,omitempty"` }
func (*MsgUpdateParams) Descriptor ¶
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
func (*MsgUpdateParams) GetAuthority ¶
func (m *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetMintDenom ¶
func (m *MsgUpdateParams) GetMintDenom() string
func (*MsgUpdateParams) GetMinters ¶
func (m *MsgUpdateParams) GetMinters() []*Minter
func (*MsgUpdateParams) GetSignBytes ¶
func (msg *MsgUpdateParams) GetSignBytes() []byte
func (*MsgUpdateParams) GetSigners ¶
func (msg *MsgUpdateParams) GetSigners() []sdk.AccAddress
func (*MsgUpdateParams) GetStartTime ¶
func (m *MsgUpdateParams) GetStartTime() time.Time
func (*MsgUpdateParams) Marshal ¶
func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParams) MarshalToSizedBuffer ¶
func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParams) ProtoMessage ¶
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) Reset ¶
func (m *MsgUpdateParams) Reset()
func (*MsgUpdateParams) Route ¶
func (msg *MsgUpdateParams) Route() string
func (*MsgUpdateParams) Size ¶
func (m *MsgUpdateParams) Size() (n int)
func (*MsgUpdateParams) String ¶
func (m *MsgUpdateParams) String() string
func (*MsgUpdateParams) Type ¶
func (msg *MsgUpdateParams) Type() string
func (*MsgUpdateParams) Unmarshal ¶
func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
func (*MsgUpdateParams) UnpackInterfaces ¶
func (m *MsgUpdateParams) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
func (*MsgUpdateParams) ValidateBasic ¶
func (msg *MsgUpdateParams) ValidateBasic() error
func (*MsgUpdateParams) XXX_DiscardUnknown ¶
func (m *MsgUpdateParams) XXX_DiscardUnknown()
func (*MsgUpdateParams) XXX_Marshal ¶
func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParams) XXX_Merge ¶
func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
func (*MsgUpdateParams) XXX_Size ¶
func (m *MsgUpdateParams) XXX_Size() int
func (*MsgUpdateParams) XXX_Unmarshal ¶
func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
type MsgUpdateParamsResponse ¶
type MsgUpdateParamsResponse struct { }
func (*MsgUpdateParamsResponse) Descriptor ¶
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateParamsResponse) Marshal ¶
func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParamsResponse) MarshalTo ¶
func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) ProtoMessage ¶
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) Reset ¶
func (m *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) Size ¶
func (m *MsgUpdateParamsResponse) Size() (n int)
func (*MsgUpdateParamsResponse) String ¶
func (m *MsgUpdateParamsResponse) String() string
func (*MsgUpdateParamsResponse) Unmarshal ¶
func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateParamsResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
func (*MsgUpdateParamsResponse) XXX_Marshal ¶
func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParamsResponse) XXX_Merge ¶
func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateParamsResponse) XXX_Size ¶
func (m *MsgUpdateParamsResponse) XXX_Size() int
func (*MsgUpdateParamsResponse) XXX_Unmarshal ¶
func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
type NoMinting ¶
type NoMinting struct { }
func (*NoMinting) AmountToMint ¶
func (*NoMinting) CalculateInflation ¶
func (*NoMinting) Descriptor ¶
func (*NoMinting) MarshalToSizedBuffer ¶
func (*NoMinting) ProtoMessage ¶
func (*NoMinting) ProtoMessage()
func (*NoMinting) XXX_DiscardUnknown ¶
func (m *NoMinting) XXX_DiscardUnknown()
func (*NoMinting) XXX_Marshal ¶
func (*NoMinting) XXX_Unmarshal ¶
type Params ¶
type Params struct { MintDenom string `protobuf:"bytes,1,opt,name=mint_denom,json=mintDenom,proto3" json:"mint_denom,omitempty"` StartTime time.Time `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3,stdtime" json:"start_time"` Minters []*Minter `protobuf:"bytes,3,rep,name=minters,proto3" json:"minters,omitempty"` }
Params defines the parameters for the module.
func (Params) ContainsMinter ¶
func (*Params) Descriptor ¶
func (*Params) GetMintDenom ¶
func (*Params) GetMinters ¶
func (*Params) GetStartTime ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (Params) UnpackInterfaces ¶
func (params Params) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
func (Params) ValidateParamsMintDenom ¶
func (Params) ValidateParamsMinters ¶
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryClient ¶
type QueryClient interface { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Queries a list of Inflation items. Inflation(ctx context.Context, in *QueryInflationRequest, opts ...grpc.CallOption) (*QueryInflationResponse, error) // Queries a list of State items. State(ctx context.Context, in *QueryStateRequest, opts ...grpc.CallOption) (*QueryStateResponse, 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 QueryInflationRequest ¶
type QueryInflationRequest struct { }
func (*QueryInflationRequest) Descriptor ¶
func (*QueryInflationRequest) Descriptor() ([]byte, []int)
func (*QueryInflationRequest) Marshal ¶
func (m *QueryInflationRequest) Marshal() (dAtA []byte, err error)
func (*QueryInflationRequest) MarshalTo ¶
func (m *QueryInflationRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryInflationRequest) MarshalToSizedBuffer ¶
func (m *QueryInflationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryInflationRequest) ProtoMessage ¶
func (*QueryInflationRequest) ProtoMessage()
func (*QueryInflationRequest) Reset ¶
func (m *QueryInflationRequest) Reset()
func (*QueryInflationRequest) Size ¶
func (m *QueryInflationRequest) Size() (n int)
func (*QueryInflationRequest) String ¶
func (m *QueryInflationRequest) String() string
func (*QueryInflationRequest) Unmarshal ¶
func (m *QueryInflationRequest) Unmarshal(dAtA []byte) error
func (*QueryInflationRequest) XXX_DiscardUnknown ¶
func (m *QueryInflationRequest) XXX_DiscardUnknown()
func (*QueryInflationRequest) XXX_Marshal ¶
func (m *QueryInflationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryInflationRequest) XXX_Merge ¶
func (m *QueryInflationRequest) XXX_Merge(src proto.Message)
func (*QueryInflationRequest) XXX_Size ¶
func (m *QueryInflationRequest) XXX_Size() int
func (*QueryInflationRequest) XXX_Unmarshal ¶
func (m *QueryInflationRequest) XXX_Unmarshal(b []byte) error
type QueryInflationResponse ¶
type QueryInflationResponse struct {
Inflation github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=inflation,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"inflation"`
}
func (*QueryInflationResponse) Descriptor ¶
func (*QueryInflationResponse) Descriptor() ([]byte, []int)
func (*QueryInflationResponse) Marshal ¶
func (m *QueryInflationResponse) Marshal() (dAtA []byte, err error)
func (*QueryInflationResponse) MarshalTo ¶
func (m *QueryInflationResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryInflationResponse) MarshalToSizedBuffer ¶
func (m *QueryInflationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryInflationResponse) ProtoMessage ¶
func (*QueryInflationResponse) ProtoMessage()
func (*QueryInflationResponse) Reset ¶
func (m *QueryInflationResponse) Reset()
func (*QueryInflationResponse) Size ¶
func (m *QueryInflationResponse) Size() (n int)
func (*QueryInflationResponse) String ¶
func (m *QueryInflationResponse) String() string
func (*QueryInflationResponse) Unmarshal ¶
func (m *QueryInflationResponse) Unmarshal(dAtA []byte) error
func (*QueryInflationResponse) XXX_DiscardUnknown ¶
func (m *QueryInflationResponse) XXX_DiscardUnknown()
func (*QueryInflationResponse) XXX_Marshal ¶
func (m *QueryInflationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryInflationResponse) XXX_Merge ¶
func (m *QueryInflationResponse) XXX_Merge(src proto.Message)
func (*QueryInflationResponse) XXX_Size ¶
func (m *QueryInflationResponse) XXX_Size() int
func (*QueryInflationResponse) XXX_Unmarshal ¶
func (m *QueryInflationResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params holds all the parameters of this module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Queries a list of Inflation items. Inflation(context.Context, *QueryInflationRequest) (*QueryInflationResponse, error) // Queries a list of State items. State(context.Context, *QueryStateRequest) (*QueryStateResponse, error) }
QueryServer is the server API for Query service.
type QueryStateRequest ¶
type QueryStateRequest struct { }
func (*QueryStateRequest) Descriptor ¶
func (*QueryStateRequest) Descriptor() ([]byte, []int)
func (*QueryStateRequest) Marshal ¶
func (m *QueryStateRequest) Marshal() (dAtA []byte, err error)
func (*QueryStateRequest) MarshalTo ¶
func (m *QueryStateRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryStateRequest) MarshalToSizedBuffer ¶
func (m *QueryStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStateRequest) ProtoMessage ¶
func (*QueryStateRequest) ProtoMessage()
func (*QueryStateRequest) Reset ¶
func (m *QueryStateRequest) Reset()
func (*QueryStateRequest) Size ¶
func (m *QueryStateRequest) Size() (n int)
func (*QueryStateRequest) String ¶
func (m *QueryStateRequest) String() string
func (*QueryStateRequest) Unmarshal ¶
func (m *QueryStateRequest) Unmarshal(dAtA []byte) error
func (*QueryStateRequest) XXX_DiscardUnknown ¶
func (m *QueryStateRequest) XXX_DiscardUnknown()
func (*QueryStateRequest) XXX_Marshal ¶
func (m *QueryStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStateRequest) XXX_Merge ¶
func (m *QueryStateRequest) XXX_Merge(src proto.Message)
func (*QueryStateRequest) XXX_Size ¶
func (m *QueryStateRequest) XXX_Size() int
func (*QueryStateRequest) XXX_Unmarshal ¶
func (m *QueryStateRequest) XXX_Unmarshal(b []byte) error
type QueryStateResponse ¶
type QueryStateResponse struct { MinterState MinterState `protobuf:"bytes,1,opt,name=minter_state,json=minterState,proto3" json:"minter_state"` StateHistory []*MinterState `protobuf:"bytes,2,rep,name=state_history,json=stateHistory,proto3" json:"state_history,omitempty"` }
func (*QueryStateResponse) Descriptor ¶
func (*QueryStateResponse) Descriptor() ([]byte, []int)
func (*QueryStateResponse) GetMinterState ¶
func (m *QueryStateResponse) GetMinterState() MinterState
func (*QueryStateResponse) GetStateHistory ¶
func (m *QueryStateResponse) GetStateHistory() []*MinterState
func (*QueryStateResponse) Marshal ¶
func (m *QueryStateResponse) Marshal() (dAtA []byte, err error)
func (*QueryStateResponse) MarshalTo ¶
func (m *QueryStateResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryStateResponse) MarshalToSizedBuffer ¶
func (m *QueryStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStateResponse) ProtoMessage ¶
func (*QueryStateResponse) ProtoMessage()
func (*QueryStateResponse) Reset ¶
func (m *QueryStateResponse) Reset()
func (*QueryStateResponse) Size ¶
func (m *QueryStateResponse) Size() (n int)
func (*QueryStateResponse) String ¶
func (m *QueryStateResponse) String() string
func (*QueryStateResponse) Unmarshal ¶
func (m *QueryStateResponse) Unmarshal(dAtA []byte) error
func (*QueryStateResponse) XXX_DiscardUnknown ¶
func (m *QueryStateResponse) XXX_DiscardUnknown()
func (*QueryStateResponse) XXX_Marshal ¶
func (m *QueryStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStateResponse) XXX_Merge ¶
func (m *QueryStateResponse) XXX_Merge(src proto.Message)
func (*QueryStateResponse) XXX_Size ¶
func (m *QueryStateResponse) XXX_Size() int
func (*QueryStateResponse) XXX_Unmarshal ¶
func (m *QueryStateResponse) XXX_Unmarshal(b []byte) error
type StakingKeeper ¶
BankKeeper defines the expected interface needed to retrieve account balances.
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) Burn ¶
func (*UnimplementedMsgServer) Burn(ctx context.Context, req *MsgBurn) (*MsgBurnResponse, error)
func (*UnimplementedMsgServer) UpdateMintersParams ¶
func (*UnimplementedMsgServer) UpdateMintersParams(ctx context.Context, req *MsgUpdateMintersParams) (*MsgUpdateMintersParamsResponse, error)
func (*UnimplementedMsgServer) UpdateParams ¶
func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Inflation ¶
func (*UnimplementedQueryServer) Inflation(ctx context.Context, req *QueryInflationRequest) (*QueryInflationResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) State ¶
func (*UnimplementedQueryServer) State(ctx context.Context, req *QueryStateRequest) (*QueryStateResponse, error)