Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func KeyPrefix(p string) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- type AccountKeeper
- type BankKeeper
- type ByPosition
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetMinterState() MinterState
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type Minter
- func (m Minter) ContainsId(id int32) bool
- func (*Minter) Descriptor() ([]byte, []int)
- func (m *Minter) GetPeriods() []*MintingPeriod
- func (m *Minter) GetStart() time.Time
- 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 (m *Minter) String() string
- func (m *Minter) Unmarshal(dAtA []byte) error
- func (m Minter) Validate() 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 MinterState
- func (*MinterState) Descriptor() ([]byte, []int)
- func (m *MinterState) GetCurrentPosition() int32
- 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 MintingPeriod
- func (m *MintingPeriod) AmountToMint(state *MinterState, periodStart time.Time, blockTime time.Time) sdk.Int
- func (m *MintingPeriod) CalculateInfation(totalSupply sdk.Int, periodStart time.Time, blockTime time.Time) sdk.Dec
- func (*MintingPeriod) Descriptor() ([]byte, []int)
- func (m *MintingPeriod) GetPeriodEnd() *time.Time
- func (m *MintingPeriod) GetPeriodicReductionMinter() *PeriodicReductionMinter
- func (m *MintingPeriod) GetPosition() int32
- func (m *MintingPeriod) GetTimeLinearMinter() *TimeLinearMinter
- func (m *MintingPeriod) GetType() MintingPeriod_MinterType
- func (m *MintingPeriod) Marshal() (dAtA []byte, err error)
- func (m *MintingPeriod) MarshalTo(dAtA []byte) (int, error)
- func (m *MintingPeriod) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MintingPeriod) ProtoMessage()
- func (m *MintingPeriod) Reset()
- func (m *MintingPeriod) Size() (n int)
- func (m *MintingPeriod) String() string
- func (m *MintingPeriod) Unmarshal(dAtA []byte) error
- func (m MintingPeriod) Validate() error
- func (m *MintingPeriod) XXX_DiscardUnknown()
- func (m *MintingPeriod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MintingPeriod) XXX_Merge(src proto.Message)
- func (m *MintingPeriod) XXX_Size() int
- func (m *MintingPeriod) XXX_Unmarshal(b []byte) error
- type MintingPeriod_MinterType
- type MsgClient
- type MsgServer
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetMintDenom() string
- func (m *Params) GetMinter() Minter
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type PeriodicReductionMinter
- func (*PeriodicReductionMinter) Descriptor() ([]byte, []int)
- func (m *PeriodicReductionMinter) GetMintPeriod() time.Duration
- func (m *PeriodicReductionMinter) GetReductionPeriodLength() int32
- func (m *PeriodicReductionMinter) Marshal() (dAtA []byte, err error)
- func (m *PeriodicReductionMinter) MarshalTo(dAtA []byte) (int, error)
- func (m *PeriodicReductionMinter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PeriodicReductionMinter) ProtoMessage()
- func (m *PeriodicReductionMinter) Reset()
- func (m *PeriodicReductionMinter) Size() (n int)
- func (m *PeriodicReductionMinter) String() string
- func (m *PeriodicReductionMinter) Unmarshal(dAtA []byte) error
- func (m *PeriodicReductionMinter) XXX_DiscardUnknown()
- func (m *PeriodicReductionMinter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PeriodicReductionMinter) XXX_Merge(src proto.Message)
- func (m *PeriodicReductionMinter) XXX_Size() int
- func (m *PeriodicReductionMinter) 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) 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 TimeLinearMinter
- func (*TimeLinearMinter) Descriptor() ([]byte, []int)
- func (m *TimeLinearMinter) Marshal() (dAtA []byte, err error)
- func (m *TimeLinearMinter) MarshalTo(dAtA []byte) (int, error)
- func (m *TimeLinearMinter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TimeLinearMinter) ProtoMessage()
- func (m *TimeLinearMinter) Reset()
- func (m *TimeLinearMinter) Size() (n int)
- func (m *TimeLinearMinter) String() string
- func (m *TimeLinearMinter) Unmarshal(dAtA []byte) error
- func (m *TimeLinearMinter) XXX_DiscardUnknown()
- func (m *TimeLinearMinter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TimeLinearMinter) XXX_Merge(src proto.Message)
- func (m *TimeLinearMinter) XXX_Size() int
- func (m *TimeLinearMinter) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- 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 DefaultIndex uint64 = 1
DefaultIndex is the default capability global index
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
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 ( ErrInvalidLengthMinter = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMinter = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMinter = fmt.Errorf("proto: unexpected end of group") )
var ( KeyMintDenom = []byte("MintDenom") KeyMinter = []byte("Minter") DefaultMintDenom string = "uc4e" DefaultMinter Minter = Minter{Start: time.Now(), Periods: []*MintingPeriod{{Position: 1, Type: MintingPeriod_NO_MINTING}}} )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var (
ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error")
)
x/cfeminter module sentinel errors
var MinterStateKey = []byte{0x02}
var MintingPeriod_MinterType_name = map[int32]string{
0: "NO_MINTING",
1: "TIME_LINEAR_MINTER",
2: "PERIODIC_REDUCTION_MINTER",
}
var MintingPeriod_MinterType_value = map[string]int32{
"NO_MINTING": 0,
"TIME_LINEAR_MINTER": 1,
"PERIODIC_REDUCTION_MINTER": 2,
}
Functions ¶
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type AccountKeeper ¶
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 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 }
BankKeeper defines the expected interface needed to retrieve account balances.
type ByPosition ¶
type ByPosition []*MintingPeriod
func (ByPosition) Len ¶
func (a ByPosition) Len() int
func (ByPosition) Less ¶
func (a ByPosition) Less(i, j int) bool
func (ByPosition) Swap ¶
func (a ByPosition) Swap(i, j int)
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` MinterState MinterState `protobuf:"bytes,2,opt,name=minter_state,json=minterState,proto3" json:"minter_state"` }
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) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type Minter ¶
type Minter struct { Start time.Time `protobuf:"bytes,1,opt,name=start,proto3,stdtime" json:"start"` Periods []*MintingPeriod `protobuf:"bytes,2,rep,name=periods,proto3" json:"periods,omitempty"` }
func (Minter) ContainsId ¶
func (*Minter) Descriptor ¶
func (*Minter) GetPeriods ¶
func (m *Minter) GetPeriods() []*MintingPeriod
func (*Minter) MarshalToSizedBuffer ¶
func (*Minter) ProtoMessage ¶
func (*Minter) ProtoMessage()
func (*Minter) XXX_DiscardUnknown ¶
func (m *Minter) XXX_DiscardUnknown()
func (*Minter) XXX_Marshal ¶
func (*Minter) XXX_Unmarshal ¶
type MinterState ¶
type MinterState struct { CurrentPosition int32 `protobuf:"varint,1,opt,name=current_position,json=currentPosition,proto3" json:"current_position,omitempty"` AmountMinted github_com_cosmos_cosmos_sdk_types.Int `` /* 137-byte string literal not displayed */ }
func (*MinterState) Descriptor ¶
func (*MinterState) Descriptor() ([]byte, []int)
func (*MinterState) GetCurrentPosition ¶
func (m *MinterState) GetCurrentPosition() int32
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 MintingPeriod ¶
type MintingPeriod struct { Position int32 `protobuf:"varint,1,opt,name=position,proto3" json:"position,omitempty"` PeriodEnd *time.Time `protobuf:"bytes,2,opt,name=period_end,json=periodEnd,proto3,stdtime" json:"period_end,omitempty"` Type MintingPeriod_MinterType `protobuf:"varint,3,opt,name=type,proto3,enum=chain4energy.c4echain.cfeminter.MintingPeriod_MinterType" json:"type,omitempty"` TimeLinearMinter *TimeLinearMinter `protobuf:"bytes,4,opt,name=time_linear_minter,json=timeLinearMinter,proto3" json:"time_linear_minter,omitempty"` PeriodicReductionMinter *PeriodicReductionMinter `` /* 132-byte string literal not displayed */ }
func (*MintingPeriod) AmountToMint ¶
func (m *MintingPeriod) AmountToMint(state *MinterState, periodStart time.Time, blockTime time.Time) sdk.Int
func (*MintingPeriod) CalculateInfation ¶
func (*MintingPeriod) Descriptor ¶
func (*MintingPeriod) Descriptor() ([]byte, []int)
func (*MintingPeriod) GetPeriodEnd ¶
func (m *MintingPeriod) GetPeriodEnd() *time.Time
func (*MintingPeriod) GetPeriodicReductionMinter ¶
func (m *MintingPeriod) GetPeriodicReductionMinter() *PeriodicReductionMinter
func (*MintingPeriod) GetPosition ¶
func (m *MintingPeriod) GetPosition() int32
func (*MintingPeriod) GetTimeLinearMinter ¶
func (m *MintingPeriod) GetTimeLinearMinter() *TimeLinearMinter
func (*MintingPeriod) GetType ¶
func (m *MintingPeriod) GetType() MintingPeriod_MinterType
func (*MintingPeriod) Marshal ¶
func (m *MintingPeriod) Marshal() (dAtA []byte, err error)
func (*MintingPeriod) MarshalToSizedBuffer ¶
func (m *MintingPeriod) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MintingPeriod) ProtoMessage ¶
func (*MintingPeriod) ProtoMessage()
func (*MintingPeriod) Reset ¶
func (m *MintingPeriod) Reset()
func (*MintingPeriod) Size ¶
func (m *MintingPeriod) Size() (n int)
func (*MintingPeriod) String ¶
func (m *MintingPeriod) String() string
func (*MintingPeriod) Unmarshal ¶
func (m *MintingPeriod) Unmarshal(dAtA []byte) error
func (MintingPeriod) Validate ¶
func (m MintingPeriod) Validate() error
func (*MintingPeriod) XXX_DiscardUnknown ¶
func (m *MintingPeriod) XXX_DiscardUnknown()
func (*MintingPeriod) XXX_Marshal ¶
func (m *MintingPeriod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MintingPeriod) XXX_Merge ¶
func (m *MintingPeriod) XXX_Merge(src proto.Message)
func (*MintingPeriod) XXX_Size ¶
func (m *MintingPeriod) XXX_Size() int
func (*MintingPeriod) XXX_Unmarshal ¶
func (m *MintingPeriod) XXX_Unmarshal(b []byte) error
type MintingPeriod_MinterType ¶
type MintingPeriod_MinterType int32
const ( MintingPeriod_NO_MINTING MintingPeriod_MinterType = 0 MintingPeriod_TIME_LINEAR_MINTER MintingPeriod_MinterType = 1 MintingPeriod_PERIODIC_REDUCTION_MINTER MintingPeriod_MinterType = 2 )
func (MintingPeriod_MinterType) EnumDescriptor ¶
func (MintingPeriod_MinterType) EnumDescriptor() ([]byte, []int)
func (MintingPeriod_MinterType) String ¶
func (x MintingPeriod_MinterType) String() string
type MsgClient ¶
type MsgClient interface { }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type Params ¶
type Params struct { MintDenom string `protobuf:"bytes,1,opt,name=mint_denom,json=mintDenom,proto3" json:"mint_denom,omitempty"` Minter Minter `protobuf:"bytes,2,opt,name=minter,proto3" json:"minter"` }
Params defines the parameters for the module.
func (*Params) Descriptor ¶
func (*Params) GetMintDenom ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type PeriodicReductionMinter ¶
type PeriodicReductionMinter struct { MintPeriod time.Duration `protobuf:"bytes,1,opt,name=mint_period,json=mintPeriod,proto3,stdduration" json:"mint_period"` MintAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 131-byte string literal not displayed */ ReductionPeriodLength int32 `` /* 127-byte string literal not displayed */ ReductionFactor github_com_cosmos_cosmos_sdk_types.Dec `` /* 146-byte string literal not displayed */ }
func (*PeriodicReductionMinter) Descriptor ¶
func (*PeriodicReductionMinter) Descriptor() ([]byte, []int)
func (*PeriodicReductionMinter) GetMintPeriod ¶
func (m *PeriodicReductionMinter) GetMintPeriod() time.Duration
func (*PeriodicReductionMinter) GetReductionPeriodLength ¶
func (m *PeriodicReductionMinter) GetReductionPeriodLength() int32
func (*PeriodicReductionMinter) Marshal ¶
func (m *PeriodicReductionMinter) Marshal() (dAtA []byte, err error)
func (*PeriodicReductionMinter) MarshalTo ¶
func (m *PeriodicReductionMinter) MarshalTo(dAtA []byte) (int, error)
func (*PeriodicReductionMinter) MarshalToSizedBuffer ¶
func (m *PeriodicReductionMinter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PeriodicReductionMinter) ProtoMessage ¶
func (*PeriodicReductionMinter) ProtoMessage()
func (*PeriodicReductionMinter) Reset ¶
func (m *PeriodicReductionMinter) Reset()
func (*PeriodicReductionMinter) Size ¶
func (m *PeriodicReductionMinter) Size() (n int)
func (*PeriodicReductionMinter) String ¶
func (m *PeriodicReductionMinter) String() string
func (*PeriodicReductionMinter) Unmarshal ¶
func (m *PeriodicReductionMinter) Unmarshal(dAtA []byte) error
func (*PeriodicReductionMinter) XXX_DiscardUnknown ¶
func (m *PeriodicReductionMinter) XXX_DiscardUnknown()
func (*PeriodicReductionMinter) XXX_Marshal ¶
func (m *PeriodicReductionMinter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PeriodicReductionMinter) XXX_Merge ¶
func (m *PeriodicReductionMinter) XXX_Merge(src proto.Message)
func (*PeriodicReductionMinter) XXX_Size ¶
func (m *PeriodicReductionMinter) XXX_Size() int
func (*PeriodicReductionMinter) XXX_Unmarshal ¶
func (m *PeriodicReductionMinter) XXX_Unmarshal(b []byte) error
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"`
}
func (*QueryStateResponse) Descriptor ¶
func (*QueryStateResponse) Descriptor() ([]byte, []int)
func (*QueryStateResponse) GetMinterState ¶
func (m *QueryStateResponse) GetMinterState() 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 TimeLinearMinter ¶
type TimeLinearMinter 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 (*TimeLinearMinter) Descriptor ¶
func (*TimeLinearMinter) Descriptor() ([]byte, []int)
func (*TimeLinearMinter) Marshal ¶
func (m *TimeLinearMinter) Marshal() (dAtA []byte, err error)
func (*TimeLinearMinter) MarshalToSizedBuffer ¶
func (m *TimeLinearMinter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TimeLinearMinter) ProtoMessage ¶
func (*TimeLinearMinter) ProtoMessage()
func (*TimeLinearMinter) Reset ¶
func (m *TimeLinearMinter) Reset()
func (*TimeLinearMinter) Size ¶
func (m *TimeLinearMinter) Size() (n int)
func (*TimeLinearMinter) String ¶
func (m *TimeLinearMinter) String() string
func (*TimeLinearMinter) Unmarshal ¶
func (m *TimeLinearMinter) Unmarshal(dAtA []byte) error
func (*TimeLinearMinter) XXX_DiscardUnknown ¶
func (m *TimeLinearMinter) XXX_DiscardUnknown()
func (*TimeLinearMinter) XXX_Marshal ¶
func (m *TimeLinearMinter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TimeLinearMinter) XXX_Merge ¶
func (m *TimeLinearMinter) XXX_Merge(src proto.Message)
func (*TimeLinearMinter) XXX_Size ¶
func (m *TimeLinearMinter) XXX_Size() int
func (*TimeLinearMinter) XXX_Unmarshal ¶
func (m *TimeLinearMinter) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) 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)