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 GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetMintDenom() *MintDenom
- func (m *GenesisState) GetMintedPool() *MintedPool
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetStartBlock() *StartBlock
- 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 MintDenom
- func (*MintDenom) Descriptor() ([]byte, []int)
- func (m *MintDenom) GetValue() string
- func (m *MintDenom) Marshal() (dAtA []byte, err error)
- func (m *MintDenom) MarshalTo(dAtA []byte) (int, error)
- func (m *MintDenom) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MintDenom) ProtoMessage()
- func (m *MintDenom) Reset()
- func (m *MintDenom) Size() (n int)
- func (m *MintDenom) String() string
- func (m *MintDenom) Unmarshal(dAtA []byte) error
- func (m *MintDenom) XXX_DiscardUnknown()
- func (m *MintDenom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MintDenom) XXX_Merge(src proto.Message)
- func (m *MintDenom) XXX_Size() int
- func (m *MintDenom) XXX_Unmarshal(b []byte) error
- type MintedPool
- func (*MintedPool) Descriptor() ([]byte, []int)
- func (m *MintedPool) GetValue() uint64
- func (m *MintedPool) Marshal() (dAtA []byte, err error)
- func (m *MintedPool) MarshalTo(dAtA []byte) (int, error)
- func (m *MintedPool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MintedPool) ProtoMessage()
- func (m *MintedPool) Reset()
- func (m *MintedPool) Size() (n int)
- func (m *MintedPool) String() string
- func (m *MintedPool) Unmarshal(dAtA []byte) error
- func (m *MintedPool) XXX_DiscardUnknown()
- func (m *MintedPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MintedPool) XXX_Merge(src proto.Message)
- func (m *MintedPool) XXX_Size() int
- func (m *MintedPool) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCreatorPoolMint
- func (*MsgCreatorPoolMint) Descriptor() ([]byte, []int)
- func (m *MsgCreatorPoolMint) GetCreator() string
- func (msg *MsgCreatorPoolMint) GetSignBytes() []byte
- func (msg *MsgCreatorPoolMint) GetSigners() []sdk.AccAddress
- func (m *MsgCreatorPoolMint) Marshal() (dAtA []byte, err error)
- func (m *MsgCreatorPoolMint) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreatorPoolMint) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreatorPoolMint) ProtoMessage()
- func (m *MsgCreatorPoolMint) Reset()
- func (msg *MsgCreatorPoolMint) Route() string
- func (m *MsgCreatorPoolMint) Size() (n int)
- func (m *MsgCreatorPoolMint) String() string
- func (msg *MsgCreatorPoolMint) Type() string
- func (m *MsgCreatorPoolMint) Unmarshal(dAtA []byte) error
- func (msg *MsgCreatorPoolMint) ValidateBasic() error
- func (m *MsgCreatorPoolMint) XXX_DiscardUnknown()
- func (m *MsgCreatorPoolMint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreatorPoolMint) XXX_Merge(src proto.Message)
- func (m *MsgCreatorPoolMint) XXX_Size() int
- func (m *MsgCreatorPoolMint) XXX_Unmarshal(b []byte) error
- type MsgCreatorPoolMintResponse
- func (*MsgCreatorPoolMintResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreatorPoolMintResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreatorPoolMintResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreatorPoolMintResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreatorPoolMintResponse) ProtoMessage()
- func (m *MsgCreatorPoolMintResponse) Reset()
- func (m *MsgCreatorPoolMintResponse) Size() (n int)
- func (m *MsgCreatorPoolMintResponse) String() string
- func (m *MsgCreatorPoolMintResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreatorPoolMintResponse) XXX_DiscardUnknown()
- func (m *MsgCreatorPoolMintResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreatorPoolMintResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreatorPoolMintResponse) XXX_Size() int
- func (m *MsgCreatorPoolMintResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryGetMintDenomRequest
- func (*QueryGetMintDenomRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetMintDenomRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetMintDenomRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetMintDenomRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetMintDenomRequest) ProtoMessage()
- func (m *QueryGetMintDenomRequest) Reset()
- func (m *QueryGetMintDenomRequest) Size() (n int)
- func (m *QueryGetMintDenomRequest) String() string
- func (m *QueryGetMintDenomRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetMintDenomRequest) XXX_DiscardUnknown()
- func (m *QueryGetMintDenomRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetMintDenomRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetMintDenomRequest) XXX_Size() int
- func (m *QueryGetMintDenomRequest) XXX_Unmarshal(b []byte) error
- type QueryGetMintDenomResponse
- func (*QueryGetMintDenomResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetMintDenomResponse) GetMintDenom() MintDenom
- func (m *QueryGetMintDenomResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetMintDenomResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetMintDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetMintDenomResponse) ProtoMessage()
- func (m *QueryGetMintDenomResponse) Reset()
- func (m *QueryGetMintDenomResponse) Size() (n int)
- func (m *QueryGetMintDenomResponse) String() string
- func (m *QueryGetMintDenomResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetMintDenomResponse) XXX_DiscardUnknown()
- func (m *QueryGetMintDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetMintDenomResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetMintDenomResponse) XXX_Size() int
- func (m *QueryGetMintDenomResponse) XXX_Unmarshal(b []byte) error
- type QueryGetMintedPoolRequest
- func (*QueryGetMintedPoolRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetMintedPoolRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetMintedPoolRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetMintedPoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetMintedPoolRequest) ProtoMessage()
- func (m *QueryGetMintedPoolRequest) Reset()
- func (m *QueryGetMintedPoolRequest) Size() (n int)
- func (m *QueryGetMintedPoolRequest) String() string
- func (m *QueryGetMintedPoolRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetMintedPoolRequest) XXX_DiscardUnknown()
- func (m *QueryGetMintedPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetMintedPoolRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetMintedPoolRequest) XXX_Size() int
- func (m *QueryGetMintedPoolRequest) XXX_Unmarshal(b []byte) error
- type QueryGetMintedPoolResponse
- func (*QueryGetMintedPoolResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetMintedPoolResponse) GetMintedPool() MintedPool
- func (m *QueryGetMintedPoolResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetMintedPoolResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetMintedPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetMintedPoolResponse) ProtoMessage()
- func (m *QueryGetMintedPoolResponse) Reset()
- func (m *QueryGetMintedPoolResponse) Size() (n int)
- func (m *QueryGetMintedPoolResponse) String() string
- func (m *QueryGetMintedPoolResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetMintedPoolResponse) XXX_DiscardUnknown()
- func (m *QueryGetMintedPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetMintedPoolResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetMintedPoolResponse) XXX_Size() int
- func (m *QueryGetMintedPoolResponse) XXX_Unmarshal(b []byte) error
- type QueryGetStartBlockRequest
- func (*QueryGetStartBlockRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetStartBlockRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetStartBlockRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetStartBlockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetStartBlockRequest) ProtoMessage()
- func (m *QueryGetStartBlockRequest) Reset()
- func (m *QueryGetStartBlockRequest) Size() (n int)
- func (m *QueryGetStartBlockRequest) String() string
- func (m *QueryGetStartBlockRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetStartBlockRequest) XXX_DiscardUnknown()
- func (m *QueryGetStartBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetStartBlockRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetStartBlockRequest) XXX_Size() int
- func (m *QueryGetStartBlockRequest) XXX_Unmarshal(b []byte) error
- type QueryGetStartBlockResponse
- func (*QueryGetStartBlockResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetStartBlockResponse) GetStartBlock() StartBlock
- func (m *QueryGetStartBlockResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetStartBlockResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetStartBlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetStartBlockResponse) ProtoMessage()
- func (m *QueryGetStartBlockResponse) Reset()
- func (m *QueryGetStartBlockResponse) Size() (n int)
- func (m *QueryGetStartBlockResponse) String() string
- func (m *QueryGetStartBlockResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetStartBlockResponse) XXX_DiscardUnknown()
- func (m *QueryGetStartBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetStartBlockResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetStartBlockResponse) XXX_Size() int
- func (m *QueryGetStartBlockResponse) 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 StartBlock
- func (*StartBlock) Descriptor() ([]byte, []int)
- func (m *StartBlock) GetValue() uint64
- func (m *StartBlock) Marshal() (dAtA []byte, err error)
- func (m *StartBlock) MarshalTo(dAtA []byte) (int, error)
- func (m *StartBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StartBlock) ProtoMessage()
- func (m *StartBlock) Reset()
- func (m *StartBlock) Size() (n int)
- func (m *StartBlock) String() string
- func (m *StartBlock) Unmarshal(dAtA []byte) error
- func (m *StartBlock) XXX_DiscardUnknown()
- func (m *StartBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StartBlock) XXX_Merge(src proto.Message)
- func (m *StartBlock) XXX_Size() int
- func (m *StartBlock) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) MintDenom(ctx context.Context, req *QueryGetMintDenomRequest) (*QueryGetMintDenomResponse, error)
- func (*UnimplementedQueryServer) MintedPool(ctx context.Context, req *QueryGetMintedPoolRequest) (*QueryGetMintedPoolResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) StartBlock(ctx context.Context, req *QueryGetStartBlockRequest) (*QueryGetStartBlockResponse, error)
Constants ¶
const ( // ModuleName defines the module name ModuleName = "pageinflation" // 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_pageinflation" )
const DefaultIndex uint64 = 1
DefaultIndex is the default capability global index
const (
MintDenomKey = "MintDenom-value-"
)
const (
MintedPoolKey = "MintedPool-value-"
)
const (
StartBlockKey = "StartBlock-value-"
)
const TypeMsgCreatorPoolMint = "creator_pool_mint"
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 ( ErrInvalidLengthMintDenom = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMintDenom = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMintDenom = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMintedPool = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMintedPool = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMintedPool = fmt.Errorf("proto: unexpected end of group") )
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 ( ErrInvalidLengthStartBlock = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowStartBlock = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupStartBlock = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var (
ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error")
)
x/pageinflation module sentinel errors
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 ¶
AccountKeeper defines the expected account keeper used for simulations (noalias)
type BankKeeper ¶
type BankKeeper interface { SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins // Methods imported from bank should be defined here GetSupply(ctx sdk.Context, denom string) sdk.Coin SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error MintCoins(ctx sdk.Context, name string, amt sdk.Coins) error }
BankKeeper defines the expected interface needed to retrieve account balances.
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` MintDenom *MintDenom `protobuf:"bytes,2,opt,name=mintDenom,proto3" json:"mintDenom,omitempty"` StartBlock *StartBlock `protobuf:"bytes,3,opt,name=startBlock,proto3" json:"startBlock,omitempty"` MintedPool *MintedPool `protobuf:"bytes,4,opt,name=mintedPool,proto3" json:"mintedPool,omitempty"` }
GenesisState defines the pageinflation 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) GetMintDenom ¶
func (m *GenesisState) GetMintDenom() *MintDenom
func (*GenesisState) GetMintedPool ¶
func (m *GenesisState) GetMintedPool() *MintedPool
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetStartBlock ¶
func (m *GenesisState) GetStartBlock() *StartBlock
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 MintDenom ¶
type MintDenom struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}
func (*MintDenom) Descriptor ¶
func (*MintDenom) MarshalToSizedBuffer ¶
func (*MintDenom) ProtoMessage ¶
func (*MintDenom) ProtoMessage()
func (*MintDenom) XXX_DiscardUnknown ¶
func (m *MintDenom) XXX_DiscardUnknown()
func (*MintDenom) XXX_Marshal ¶
func (*MintDenom) XXX_Unmarshal ¶
type MintedPool ¶
type MintedPool struct {
Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
}
func (*MintedPool) Descriptor ¶
func (*MintedPool) Descriptor() ([]byte, []int)
func (*MintedPool) GetValue ¶
func (m *MintedPool) GetValue() uint64
func (*MintedPool) Marshal ¶
func (m *MintedPool) Marshal() (dAtA []byte, err error)
func (*MintedPool) MarshalToSizedBuffer ¶
func (m *MintedPool) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MintedPool) ProtoMessage ¶
func (*MintedPool) ProtoMessage()
func (*MintedPool) Reset ¶
func (m *MintedPool) Reset()
func (*MintedPool) Size ¶
func (m *MintedPool) Size() (n int)
func (*MintedPool) String ¶
func (m *MintedPool) String() string
func (*MintedPool) Unmarshal ¶
func (m *MintedPool) Unmarshal(dAtA []byte) error
func (*MintedPool) XXX_DiscardUnknown ¶
func (m *MintedPool) XXX_DiscardUnknown()
func (*MintedPool) XXX_Marshal ¶
func (m *MintedPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MintedPool) XXX_Merge ¶
func (m *MintedPool) XXX_Merge(src proto.Message)
func (*MintedPool) XXX_Size ¶
func (m *MintedPool) XXX_Size() int
func (*MintedPool) XXX_Unmarshal ¶
func (m *MintedPool) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface {
CreatorPoolMint(ctx context.Context, in *MsgCreatorPoolMint, opts ...grpc.CallOption) (*MsgCreatorPoolMintResponse, 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 MsgCreatorPoolMint ¶
type MsgCreatorPoolMint struct {
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
}
func NewMsgCreatorPoolMint ¶
func NewMsgCreatorPoolMint(creator string) *MsgCreatorPoolMint
func (*MsgCreatorPoolMint) Descriptor ¶
func (*MsgCreatorPoolMint) Descriptor() ([]byte, []int)
func (*MsgCreatorPoolMint) GetCreator ¶
func (m *MsgCreatorPoolMint) GetCreator() string
func (*MsgCreatorPoolMint) GetSignBytes ¶
func (msg *MsgCreatorPoolMint) GetSignBytes() []byte
func (*MsgCreatorPoolMint) GetSigners ¶
func (msg *MsgCreatorPoolMint) GetSigners() []sdk.AccAddress
func (*MsgCreatorPoolMint) Marshal ¶
func (m *MsgCreatorPoolMint) Marshal() (dAtA []byte, err error)
func (*MsgCreatorPoolMint) MarshalTo ¶
func (m *MsgCreatorPoolMint) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreatorPoolMint) MarshalToSizedBuffer ¶
func (m *MsgCreatorPoolMint) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreatorPoolMint) ProtoMessage ¶
func (*MsgCreatorPoolMint) ProtoMessage()
func (*MsgCreatorPoolMint) Reset ¶
func (m *MsgCreatorPoolMint) Reset()
func (*MsgCreatorPoolMint) Route ¶
func (msg *MsgCreatorPoolMint) Route() string
func (*MsgCreatorPoolMint) Size ¶
func (m *MsgCreatorPoolMint) Size() (n int)
func (*MsgCreatorPoolMint) String ¶
func (m *MsgCreatorPoolMint) String() string
func (*MsgCreatorPoolMint) Type ¶
func (msg *MsgCreatorPoolMint) Type() string
func (*MsgCreatorPoolMint) Unmarshal ¶
func (m *MsgCreatorPoolMint) Unmarshal(dAtA []byte) error
func (*MsgCreatorPoolMint) ValidateBasic ¶
func (msg *MsgCreatorPoolMint) ValidateBasic() error
func (*MsgCreatorPoolMint) XXX_DiscardUnknown ¶
func (m *MsgCreatorPoolMint) XXX_DiscardUnknown()
func (*MsgCreatorPoolMint) XXX_Marshal ¶
func (m *MsgCreatorPoolMint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreatorPoolMint) XXX_Merge ¶
func (m *MsgCreatorPoolMint) XXX_Merge(src proto.Message)
func (*MsgCreatorPoolMint) XXX_Size ¶
func (m *MsgCreatorPoolMint) XXX_Size() int
func (*MsgCreatorPoolMint) XXX_Unmarshal ¶
func (m *MsgCreatorPoolMint) XXX_Unmarshal(b []byte) error
type MsgCreatorPoolMintResponse ¶
type MsgCreatorPoolMintResponse struct { }
func (*MsgCreatorPoolMintResponse) Descriptor ¶
func (*MsgCreatorPoolMintResponse) Descriptor() ([]byte, []int)
func (*MsgCreatorPoolMintResponse) Marshal ¶
func (m *MsgCreatorPoolMintResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreatorPoolMintResponse) MarshalTo ¶
func (m *MsgCreatorPoolMintResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreatorPoolMintResponse) MarshalToSizedBuffer ¶
func (m *MsgCreatorPoolMintResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreatorPoolMintResponse) ProtoMessage ¶
func (*MsgCreatorPoolMintResponse) ProtoMessage()
func (*MsgCreatorPoolMintResponse) Reset ¶
func (m *MsgCreatorPoolMintResponse) Reset()
func (*MsgCreatorPoolMintResponse) Size ¶
func (m *MsgCreatorPoolMintResponse) Size() (n int)
func (*MsgCreatorPoolMintResponse) String ¶
func (m *MsgCreatorPoolMintResponse) String() string
func (*MsgCreatorPoolMintResponse) Unmarshal ¶
func (m *MsgCreatorPoolMintResponse) Unmarshal(dAtA []byte) error
func (*MsgCreatorPoolMintResponse) XXX_DiscardUnknown ¶
func (m *MsgCreatorPoolMintResponse) XXX_DiscardUnknown()
func (*MsgCreatorPoolMintResponse) XXX_Marshal ¶
func (m *MsgCreatorPoolMintResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreatorPoolMintResponse) XXX_Merge ¶
func (m *MsgCreatorPoolMintResponse) XXX_Merge(src proto.Message)
func (*MsgCreatorPoolMintResponse) XXX_Size ¶
func (m *MsgCreatorPoolMintResponse) XXX_Size() int
func (*MsgCreatorPoolMintResponse) XXX_Unmarshal ¶
func (m *MsgCreatorPoolMintResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface {
CreatorPoolMint(context.Context, *MsgCreatorPoolMint) (*MsgCreatorPoolMintResponse, error)
}
MsgServer is the server API for Msg service.
type Params ¶
type Params struct { }
Params defines the parameters for the module.
func (*Params) Descriptor ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryClient ¶
type QueryClient interface { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Queries a MintDenom by index. MintDenom(ctx context.Context, in *QueryGetMintDenomRequest, opts ...grpc.CallOption) (*QueryGetMintDenomResponse, error) // Queries a StartBlock by index. StartBlock(ctx context.Context, in *QueryGetStartBlockRequest, opts ...grpc.CallOption) (*QueryGetStartBlockResponse, error) // Queries a MintedPool by index. MintedPool(ctx context.Context, in *QueryGetMintedPoolRequest, opts ...grpc.CallOption) (*QueryGetMintedPoolResponse, 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 QueryGetMintDenomRequest ¶
type QueryGetMintDenomRequest struct { }
func (*QueryGetMintDenomRequest) Descriptor ¶
func (*QueryGetMintDenomRequest) Descriptor() ([]byte, []int)
func (*QueryGetMintDenomRequest) Marshal ¶
func (m *QueryGetMintDenomRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetMintDenomRequest) MarshalTo ¶
func (m *QueryGetMintDenomRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetMintDenomRequest) MarshalToSizedBuffer ¶
func (m *QueryGetMintDenomRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetMintDenomRequest) ProtoMessage ¶
func (*QueryGetMintDenomRequest) ProtoMessage()
func (*QueryGetMintDenomRequest) Reset ¶
func (m *QueryGetMintDenomRequest) Reset()
func (*QueryGetMintDenomRequest) Size ¶
func (m *QueryGetMintDenomRequest) Size() (n int)
func (*QueryGetMintDenomRequest) String ¶
func (m *QueryGetMintDenomRequest) String() string
func (*QueryGetMintDenomRequest) Unmarshal ¶
func (m *QueryGetMintDenomRequest) Unmarshal(dAtA []byte) error
func (*QueryGetMintDenomRequest) XXX_DiscardUnknown ¶
func (m *QueryGetMintDenomRequest) XXX_DiscardUnknown()
func (*QueryGetMintDenomRequest) XXX_Marshal ¶
func (m *QueryGetMintDenomRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetMintDenomRequest) XXX_Merge ¶
func (m *QueryGetMintDenomRequest) XXX_Merge(src proto.Message)
func (*QueryGetMintDenomRequest) XXX_Size ¶
func (m *QueryGetMintDenomRequest) XXX_Size() int
func (*QueryGetMintDenomRequest) XXX_Unmarshal ¶
func (m *QueryGetMintDenomRequest) XXX_Unmarshal(b []byte) error
type QueryGetMintDenomResponse ¶
type QueryGetMintDenomResponse struct {
MintDenom MintDenom `protobuf:"bytes,1,opt,name=MintDenom,proto3" json:"MintDenom"`
}
func (*QueryGetMintDenomResponse) Descriptor ¶
func (*QueryGetMintDenomResponse) Descriptor() ([]byte, []int)
func (*QueryGetMintDenomResponse) GetMintDenom ¶
func (m *QueryGetMintDenomResponse) GetMintDenom() MintDenom
func (*QueryGetMintDenomResponse) Marshal ¶
func (m *QueryGetMintDenomResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetMintDenomResponse) MarshalTo ¶
func (m *QueryGetMintDenomResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetMintDenomResponse) MarshalToSizedBuffer ¶
func (m *QueryGetMintDenomResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetMintDenomResponse) ProtoMessage ¶
func (*QueryGetMintDenomResponse) ProtoMessage()
func (*QueryGetMintDenomResponse) Reset ¶
func (m *QueryGetMintDenomResponse) Reset()
func (*QueryGetMintDenomResponse) Size ¶
func (m *QueryGetMintDenomResponse) Size() (n int)
func (*QueryGetMintDenomResponse) String ¶
func (m *QueryGetMintDenomResponse) String() string
func (*QueryGetMintDenomResponse) Unmarshal ¶
func (m *QueryGetMintDenomResponse) Unmarshal(dAtA []byte) error
func (*QueryGetMintDenomResponse) XXX_DiscardUnknown ¶
func (m *QueryGetMintDenomResponse) XXX_DiscardUnknown()
func (*QueryGetMintDenomResponse) XXX_Marshal ¶
func (m *QueryGetMintDenomResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetMintDenomResponse) XXX_Merge ¶
func (m *QueryGetMintDenomResponse) XXX_Merge(src proto.Message)
func (*QueryGetMintDenomResponse) XXX_Size ¶
func (m *QueryGetMintDenomResponse) XXX_Size() int
func (*QueryGetMintDenomResponse) XXX_Unmarshal ¶
func (m *QueryGetMintDenomResponse) XXX_Unmarshal(b []byte) error
type QueryGetMintedPoolRequest ¶
type QueryGetMintedPoolRequest struct { }
func (*QueryGetMintedPoolRequest) Descriptor ¶
func (*QueryGetMintedPoolRequest) Descriptor() ([]byte, []int)
func (*QueryGetMintedPoolRequest) Marshal ¶
func (m *QueryGetMintedPoolRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetMintedPoolRequest) MarshalTo ¶
func (m *QueryGetMintedPoolRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetMintedPoolRequest) MarshalToSizedBuffer ¶
func (m *QueryGetMintedPoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetMintedPoolRequest) ProtoMessage ¶
func (*QueryGetMintedPoolRequest) ProtoMessage()
func (*QueryGetMintedPoolRequest) Reset ¶
func (m *QueryGetMintedPoolRequest) Reset()
func (*QueryGetMintedPoolRequest) Size ¶
func (m *QueryGetMintedPoolRequest) Size() (n int)
func (*QueryGetMintedPoolRequest) String ¶
func (m *QueryGetMintedPoolRequest) String() string
func (*QueryGetMintedPoolRequest) Unmarshal ¶
func (m *QueryGetMintedPoolRequest) Unmarshal(dAtA []byte) error
func (*QueryGetMintedPoolRequest) XXX_DiscardUnknown ¶
func (m *QueryGetMintedPoolRequest) XXX_DiscardUnknown()
func (*QueryGetMintedPoolRequest) XXX_Marshal ¶
func (m *QueryGetMintedPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetMintedPoolRequest) XXX_Merge ¶
func (m *QueryGetMintedPoolRequest) XXX_Merge(src proto.Message)
func (*QueryGetMintedPoolRequest) XXX_Size ¶
func (m *QueryGetMintedPoolRequest) XXX_Size() int
func (*QueryGetMintedPoolRequest) XXX_Unmarshal ¶
func (m *QueryGetMintedPoolRequest) XXX_Unmarshal(b []byte) error
type QueryGetMintedPoolResponse ¶
type QueryGetMintedPoolResponse struct {
MintedPool MintedPool `protobuf:"bytes,1,opt,name=MintedPool,proto3" json:"MintedPool"`
}
func (*QueryGetMintedPoolResponse) Descriptor ¶
func (*QueryGetMintedPoolResponse) Descriptor() ([]byte, []int)
func (*QueryGetMintedPoolResponse) GetMintedPool ¶
func (m *QueryGetMintedPoolResponse) GetMintedPool() MintedPool
func (*QueryGetMintedPoolResponse) Marshal ¶
func (m *QueryGetMintedPoolResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetMintedPoolResponse) MarshalTo ¶
func (m *QueryGetMintedPoolResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetMintedPoolResponse) MarshalToSizedBuffer ¶
func (m *QueryGetMintedPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetMintedPoolResponse) ProtoMessage ¶
func (*QueryGetMintedPoolResponse) ProtoMessage()
func (*QueryGetMintedPoolResponse) Reset ¶
func (m *QueryGetMintedPoolResponse) Reset()
func (*QueryGetMintedPoolResponse) Size ¶
func (m *QueryGetMintedPoolResponse) Size() (n int)
func (*QueryGetMintedPoolResponse) String ¶
func (m *QueryGetMintedPoolResponse) String() string
func (*QueryGetMintedPoolResponse) Unmarshal ¶
func (m *QueryGetMintedPoolResponse) Unmarshal(dAtA []byte) error
func (*QueryGetMintedPoolResponse) XXX_DiscardUnknown ¶
func (m *QueryGetMintedPoolResponse) XXX_DiscardUnknown()
func (*QueryGetMintedPoolResponse) XXX_Marshal ¶
func (m *QueryGetMintedPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetMintedPoolResponse) XXX_Merge ¶
func (m *QueryGetMintedPoolResponse) XXX_Merge(src proto.Message)
func (*QueryGetMintedPoolResponse) XXX_Size ¶
func (m *QueryGetMintedPoolResponse) XXX_Size() int
func (*QueryGetMintedPoolResponse) XXX_Unmarshal ¶
func (m *QueryGetMintedPoolResponse) XXX_Unmarshal(b []byte) error
type QueryGetStartBlockRequest ¶
type QueryGetStartBlockRequest struct { }
func (*QueryGetStartBlockRequest) Descriptor ¶
func (*QueryGetStartBlockRequest) Descriptor() ([]byte, []int)
func (*QueryGetStartBlockRequest) Marshal ¶
func (m *QueryGetStartBlockRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetStartBlockRequest) MarshalTo ¶
func (m *QueryGetStartBlockRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetStartBlockRequest) MarshalToSizedBuffer ¶
func (m *QueryGetStartBlockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetStartBlockRequest) ProtoMessage ¶
func (*QueryGetStartBlockRequest) ProtoMessage()
func (*QueryGetStartBlockRequest) Reset ¶
func (m *QueryGetStartBlockRequest) Reset()
func (*QueryGetStartBlockRequest) Size ¶
func (m *QueryGetStartBlockRequest) Size() (n int)
func (*QueryGetStartBlockRequest) String ¶
func (m *QueryGetStartBlockRequest) String() string
func (*QueryGetStartBlockRequest) Unmarshal ¶
func (m *QueryGetStartBlockRequest) Unmarshal(dAtA []byte) error
func (*QueryGetStartBlockRequest) XXX_DiscardUnknown ¶
func (m *QueryGetStartBlockRequest) XXX_DiscardUnknown()
func (*QueryGetStartBlockRequest) XXX_Marshal ¶
func (m *QueryGetStartBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetStartBlockRequest) XXX_Merge ¶
func (m *QueryGetStartBlockRequest) XXX_Merge(src proto.Message)
func (*QueryGetStartBlockRequest) XXX_Size ¶
func (m *QueryGetStartBlockRequest) XXX_Size() int
func (*QueryGetStartBlockRequest) XXX_Unmarshal ¶
func (m *QueryGetStartBlockRequest) XXX_Unmarshal(b []byte) error
type QueryGetStartBlockResponse ¶
type QueryGetStartBlockResponse struct {
StartBlock StartBlock `protobuf:"bytes,1,opt,name=StartBlock,proto3" json:"StartBlock"`
}
func (*QueryGetStartBlockResponse) Descriptor ¶
func (*QueryGetStartBlockResponse) Descriptor() ([]byte, []int)
func (*QueryGetStartBlockResponse) GetStartBlock ¶
func (m *QueryGetStartBlockResponse) GetStartBlock() StartBlock
func (*QueryGetStartBlockResponse) Marshal ¶
func (m *QueryGetStartBlockResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetStartBlockResponse) MarshalTo ¶
func (m *QueryGetStartBlockResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetStartBlockResponse) MarshalToSizedBuffer ¶
func (m *QueryGetStartBlockResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetStartBlockResponse) ProtoMessage ¶
func (*QueryGetStartBlockResponse) ProtoMessage()
func (*QueryGetStartBlockResponse) Reset ¶
func (m *QueryGetStartBlockResponse) Reset()
func (*QueryGetStartBlockResponse) Size ¶
func (m *QueryGetStartBlockResponse) Size() (n int)
func (*QueryGetStartBlockResponse) String ¶
func (m *QueryGetStartBlockResponse) String() string
func (*QueryGetStartBlockResponse) Unmarshal ¶
func (m *QueryGetStartBlockResponse) Unmarshal(dAtA []byte) error
func (*QueryGetStartBlockResponse) XXX_DiscardUnknown ¶
func (m *QueryGetStartBlockResponse) XXX_DiscardUnknown()
func (*QueryGetStartBlockResponse) XXX_Marshal ¶
func (m *QueryGetStartBlockResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetStartBlockResponse) XXX_Merge ¶
func (m *QueryGetStartBlockResponse) XXX_Merge(src proto.Message)
func (*QueryGetStartBlockResponse) XXX_Size ¶
func (m *QueryGetStartBlockResponse) XXX_Size() int
func (*QueryGetStartBlockResponse) XXX_Unmarshal ¶
func (m *QueryGetStartBlockResponse) 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 MintDenom by index. MintDenom(context.Context, *QueryGetMintDenomRequest) (*QueryGetMintDenomResponse, error) // Queries a StartBlock by index. StartBlock(context.Context, *QueryGetStartBlockRequest) (*QueryGetStartBlockResponse, error) // Queries a MintedPool by index. MintedPool(context.Context, *QueryGetMintedPoolRequest) (*QueryGetMintedPoolResponse, error) }
QueryServer is the server API for Query service.
type StartBlock ¶
type StartBlock struct {
Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
}
func (*StartBlock) Descriptor ¶
func (*StartBlock) Descriptor() ([]byte, []int)
func (*StartBlock) GetValue ¶
func (m *StartBlock) GetValue() uint64
func (*StartBlock) Marshal ¶
func (m *StartBlock) Marshal() (dAtA []byte, err error)
func (*StartBlock) MarshalToSizedBuffer ¶
func (m *StartBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StartBlock) ProtoMessage ¶
func (*StartBlock) ProtoMessage()
func (*StartBlock) Reset ¶
func (m *StartBlock) Reset()
func (*StartBlock) Size ¶
func (m *StartBlock) Size() (n int)
func (*StartBlock) String ¶
func (m *StartBlock) String() string
func (*StartBlock) Unmarshal ¶
func (m *StartBlock) Unmarshal(dAtA []byte) error
func (*StartBlock) XXX_DiscardUnknown ¶
func (m *StartBlock) XXX_DiscardUnknown()
func (*StartBlock) XXX_Marshal ¶
func (m *StartBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StartBlock) XXX_Merge ¶
func (m *StartBlock) XXX_Merge(src proto.Message)
func (*StartBlock) XXX_Size ¶
func (m *StartBlock) XXX_Size() int
func (*StartBlock) XXX_Unmarshal ¶
func (m *StartBlock) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CreatorPoolMint ¶
func (*UnimplementedMsgServer) CreatorPoolMint(ctx context.Context, req *MsgCreatorPoolMint) (*MsgCreatorPoolMintResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) MintDenom ¶
func (*UnimplementedQueryServer) MintDenom(ctx context.Context, req *QueryGetMintDenomRequest) (*QueryGetMintDenomResponse, error)
func (*UnimplementedQueryServer) MintedPool ¶
func (*UnimplementedQueryServer) MintedPool(ctx context.Context, req *QueryGetMintedPoolRequest) (*QueryGetMintedPoolResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) StartBlock ¶
func (*UnimplementedQueryServer) StartBlock(ctx context.Context, req *QueryGetStartBlockRequest) (*QueryGetStartBlockResponse, error)