Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func ActCurrentCycleStoreKey(denom string) []byte
- func ActLatestCycleStoreKey(denom string) []byte
- func KeyPrefix(p string) []byte
- func MintRewardActStoreKey(denom string, cycle uint64) []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)
- func UserActsStoreKey(account sdk.AccAddress, denom string) []byte
- func UserClaimInfoStoreKey(account sdk.AccAddress, denom string, cycle uint64, mintIndex uint64) []byte
- func UserMintCountStoreKey(account sdk.AccAddress, denom string, cycle uint64) []byte
- type AccountKeeper
- type ActCurrentCycle
- func (*ActCurrentCycle) Descriptor() ([]byte, []int)
- func (m *ActCurrentCycle) GetCycle() uint64
- func (m *ActCurrentCycle) GetDenom() string
- func (m *ActCurrentCycle) Marshal() (dAtA []byte, err error)
- func (m *ActCurrentCycle) MarshalTo(dAtA []byte) (int, error)
- func (m *ActCurrentCycle) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ActCurrentCycle) ProtoMessage()
- func (m *ActCurrentCycle) Reset()
- func (m *ActCurrentCycle) Size() (n int)
- func (m *ActCurrentCycle) String() string
- func (m *ActCurrentCycle) Unmarshal(dAtA []byte) error
- func (m *ActCurrentCycle) XXX_DiscardUnknown()
- func (m *ActCurrentCycle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ActCurrentCycle) XXX_Merge(src proto.Message)
- func (m *ActCurrentCycle) XXX_Size() int
- func (m *ActCurrentCycle) XXX_Unmarshal(b []byte) error
- type ActLatestCycle
- func (*ActLatestCycle) Descriptor() ([]byte, []int)
- func (m *ActLatestCycle) GetCycle() uint64
- func (m *ActLatestCycle) GetDenom() string
- func (m *ActLatestCycle) Marshal() (dAtA []byte, err error)
- func (m *ActLatestCycle) MarshalTo(dAtA []byte) (int, error)
- func (m *ActLatestCycle) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ActLatestCycle) ProtoMessage()
- func (m *ActLatestCycle) Reset()
- func (m *ActLatestCycle) Size() (n int)
- func (m *ActLatestCycle) String() string
- func (m *ActLatestCycle) Unmarshal(dAtA []byte) error
- func (m *ActLatestCycle) XXX_DiscardUnknown()
- func (m *ActLatestCycle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ActLatestCycle) XXX_Merge(src proto.Message)
- func (m *ActLatestCycle) XXX_Size() int
- func (m *ActLatestCycle) XXX_Unmarshal(b []byte) error
- type Acts
- func (*Acts) Descriptor() ([]byte, []int)
- func (m *Acts) GetActs() []uint64
- func (m *Acts) Marshal() (dAtA []byte, err error)
- func (m *Acts) MarshalTo(dAtA []byte) (int, error)
- func (m *Acts) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Acts) ProtoMessage()
- func (m *Acts) Reset()
- func (m *Acts) Size() (n int)
- func (m *Acts) String() string
- func (m *Acts) Unmarshal(dAtA []byte) error
- func (m *Acts) XXX_DiscardUnknown()
- func (m *Acts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Acts) XXX_Merge(src proto.Message)
- func (m *Acts) XXX_Size() int
- func (m *Acts) XXX_Unmarshal(b []byte) error
- type BankKeeper
- type GenesisMintRewardAct
- func (*GenesisMintRewardAct) Descriptor() ([]byte, []int)
- func (m *GenesisMintRewardAct) GetCycle() uint64
- func (m *GenesisMintRewardAct) GetDenom() string
- func (m *GenesisMintRewardAct) GetMintRewardAct() *MintRewardAct
- func (m *GenesisMintRewardAct) Marshal() (dAtA []byte, err error)
- func (m *GenesisMintRewardAct) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisMintRewardAct) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisMintRewardAct) ProtoMessage()
- func (m *GenesisMintRewardAct) Reset()
- func (m *GenesisMintRewardAct) Size() (n int)
- func (m *GenesisMintRewardAct) String() string
- func (m *GenesisMintRewardAct) Unmarshal(dAtA []byte) error
- func (m *GenesisMintRewardAct) XXX_DiscardUnknown()
- func (m *GenesisMintRewardAct) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisMintRewardAct) XXX_Merge(src proto.Message)
- func (m *GenesisMintRewardAct) XXX_Size() int
- func (m *GenesisMintRewardAct) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetActCurrentCycleList() []*ActCurrentCycle
- func (m *GenesisState) GetActLatestCycleList() []*ActLatestCycle
- func (m *GenesisState) GetMintrewardActList() []*GenesisMintRewardAct
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetUserActList() []*GenesisUserAct
- func (m *GenesisState) GetUserClaimInfoList() []*GenesisUserClaimInfo
- func (m *GenesisState) GetUserMintCountList() []*UserMintCount
- 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 GenesisUserAct
- func (*GenesisUserAct) Descriptor() ([]byte, []int)
- func (m *GenesisUserAct) GetAccount() string
- func (m *GenesisUserAct) GetActs() *Acts
- func (m *GenesisUserAct) GetDenom() string
- func (m *GenesisUserAct) Marshal() (dAtA []byte, err error)
- func (m *GenesisUserAct) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisUserAct) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisUserAct) ProtoMessage()
- func (m *GenesisUserAct) Reset()
- func (m *GenesisUserAct) Size() (n int)
- func (m *GenesisUserAct) String() string
- func (m *GenesisUserAct) Unmarshal(dAtA []byte) error
- func (m *GenesisUserAct) XXX_DiscardUnknown()
- func (m *GenesisUserAct) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisUserAct) XXX_Merge(src proto.Message)
- func (m *GenesisUserAct) XXX_Size() int
- func (m *GenesisUserAct) XXX_Unmarshal(b []byte) error
- type GenesisUserClaimInfo
- func (*GenesisUserClaimInfo) Descriptor() ([]byte, []int)
- func (m *GenesisUserClaimInfo) GetAccount() string
- func (m *GenesisUserClaimInfo) GetCycle() uint64
- func (m *GenesisUserClaimInfo) GetDenom() string
- func (m *GenesisUserClaimInfo) GetMintIndex() uint64
- func (m *GenesisUserClaimInfo) GetUserClaimInfo() *UserClaimInfo
- func (m *GenesisUserClaimInfo) Marshal() (dAtA []byte, err error)
- func (m *GenesisUserClaimInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisUserClaimInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisUserClaimInfo) ProtoMessage()
- func (m *GenesisUserClaimInfo) Reset()
- func (m *GenesisUserClaimInfo) Size() (n int)
- func (m *GenesisUserClaimInfo) String() string
- func (m *GenesisUserClaimInfo) Unmarshal(dAtA []byte) error
- func (m *GenesisUserClaimInfo) XXX_DiscardUnknown()
- func (m *GenesisUserClaimInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisUserClaimInfo) XXX_Merge(src proto.Message)
- func (m *GenesisUserClaimInfo) XXX_Size() int
- func (m *GenesisUserClaimInfo) XXX_Unmarshal(b []byte) error
- type MintRewardAct
- func (*MintRewardAct) Descriptor() ([]byte, []int)
- func (m *MintRewardAct) GetBegin() int64
- func (m *MintRewardAct) GetEnd() int64
- func (m *MintRewardAct) GetLockedBlocks() int64
- func (m *MintRewardAct) GetTokenRewardInfos() []*TokenRewardInfo
- func (m *MintRewardAct) Marshal() (dAtA []byte, err error)
- func (m *MintRewardAct) MarshalTo(dAtA []byte) (int, error)
- func (m *MintRewardAct) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MintRewardAct) ProtoMessage()
- func (m *MintRewardAct) Reset()
- func (m *MintRewardAct) Size() (n int)
- func (m *MintRewardAct) String() string
- func (m *MintRewardAct) Unmarshal(dAtA []byte) error
- func (m *MintRewardAct) XXX_DiscardUnknown()
- func (m *MintRewardAct) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MintRewardAct) XXX_Merge(src proto.Message)
- func (m *MintRewardAct) XXX_Size() int
- func (m *MintRewardAct) XXX_Unmarshal(b []byte) error
- type MintRewardActPost
- func (*MintRewardActPost) Descriptor() ([]byte, []int)
- func (m *MintRewardActPost) GetBegin() int64
- func (m *MintRewardActPost) GetEnd() int64
- func (m *MintRewardActPost) GetLockedBlocks() int64
- func (m *MintRewardActPost) GetTokenRewardInfos() []*TokenRewardInfoPost
- func (m *MintRewardActPost) Marshal() (dAtA []byte, err error)
- func (m *MintRewardActPost) MarshalTo(dAtA []byte) (int, error)
- func (m *MintRewardActPost) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MintRewardActPost) ProtoMessage()
- func (m *MintRewardActPost) Reset()
- func (m *MintRewardActPost) Size() (n int)
- func (m *MintRewardActPost) String() string
- func (m *MintRewardActPost) Unmarshal(dAtA []byte) error
- func (m *MintRewardActPost) XXX_DiscardUnknown()
- func (m *MintRewardActPost) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MintRewardActPost) XXX_Merge(src proto.Message)
- func (m *MintRewardActPost) XXX_Size() int
- func (m *MintRewardActPost) XXX_Unmarshal(b []byte) error
- type MsgAddMintRewardAct
- func (*MsgAddMintRewardAct) Descriptor() ([]byte, []int)
- func (m *MsgAddMintRewardAct) GetAct() *MintRewardActPost
- func (m *MsgAddMintRewardAct) GetCreator() string
- func (m *MsgAddMintRewardAct) GetDenom() string
- func (msg *MsgAddMintRewardAct) GetSignBytes() []byte
- func (msg *MsgAddMintRewardAct) GetSigners() []sdk.AccAddress
- func (m *MsgAddMintRewardAct) Marshal() (dAtA []byte, err error)
- func (m *MsgAddMintRewardAct) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddMintRewardAct) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddMintRewardAct) ProtoMessage()
- func (m *MsgAddMintRewardAct) Reset()
- func (msg *MsgAddMintRewardAct) Route() string
- func (m *MsgAddMintRewardAct) Size() (n int)
- func (m *MsgAddMintRewardAct) String() string
- func (msg *MsgAddMintRewardAct) Type() string
- func (m *MsgAddMintRewardAct) Unmarshal(dAtA []byte) error
- func (msg *MsgAddMintRewardAct) ValidateBasic() error
- func (m *MsgAddMintRewardAct) XXX_DiscardUnknown()
- func (m *MsgAddMintRewardAct) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddMintRewardAct) XXX_Merge(src proto.Message)
- func (m *MsgAddMintRewardAct) XXX_Size() int
- func (m *MsgAddMintRewardAct) XXX_Unmarshal(b []byte) error
- type MsgAddMintRewardActResponse
- func (*MsgAddMintRewardActResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddMintRewardActResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddMintRewardActResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddMintRewardActResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddMintRewardActResponse) ProtoMessage()
- func (m *MsgAddMintRewardActResponse) Reset()
- func (m *MsgAddMintRewardActResponse) Size() (n int)
- func (m *MsgAddMintRewardActResponse) String() string
- func (m *MsgAddMintRewardActResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddMintRewardActResponse) XXX_DiscardUnknown()
- func (m *MsgAddMintRewardActResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddMintRewardActResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddMintRewardActResponse) XXX_Size() int
- func (m *MsgAddMintRewardActResponse) XXX_Unmarshal(b []byte) error
- type MsgClaimMintReward
- func (*MsgClaimMintReward) Descriptor() ([]byte, []int)
- func (m *MsgClaimMintReward) GetCreator() string
- func (m *MsgClaimMintReward) GetCycle() uint64
- func (m *MsgClaimMintReward) GetDenom() string
- func (m *MsgClaimMintReward) GetMintIndex() uint64
- func (msg *MsgClaimMintReward) GetSignBytes() []byte
- func (msg *MsgClaimMintReward) GetSigners() []sdk.AccAddress
- func (m *MsgClaimMintReward) Marshal() (dAtA []byte, err error)
- func (m *MsgClaimMintReward) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaimMintReward) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaimMintReward) ProtoMessage()
- func (m *MsgClaimMintReward) Reset()
- func (msg *MsgClaimMintReward) Route() string
- func (m *MsgClaimMintReward) Size() (n int)
- func (m *MsgClaimMintReward) String() string
- func (msg *MsgClaimMintReward) Type() string
- func (m *MsgClaimMintReward) Unmarshal(dAtA []byte) error
- func (msg *MsgClaimMintReward) ValidateBasic() error
- func (m *MsgClaimMintReward) XXX_DiscardUnknown()
- func (m *MsgClaimMintReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaimMintReward) XXX_Merge(src proto.Message)
- func (m *MsgClaimMintReward) XXX_Size() int
- func (m *MsgClaimMintReward) XXX_Unmarshal(b []byte) error
- type MsgClaimMintRewardResponse
- func (*MsgClaimMintRewardResponse) Descriptor() ([]byte, []int)
- func (m *MsgClaimMintRewardResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgClaimMintRewardResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaimMintRewardResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaimMintRewardResponse) ProtoMessage()
- func (m *MsgClaimMintRewardResponse) Reset()
- func (m *MsgClaimMintRewardResponse) Size() (n int)
- func (m *MsgClaimMintRewardResponse) String() string
- func (m *MsgClaimMintRewardResponse) Unmarshal(dAtA []byte) error
- func (m *MsgClaimMintRewardResponse) XXX_DiscardUnknown()
- func (m *MsgClaimMintRewardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaimMintRewardResponse) XXX_Merge(src proto.Message)
- func (m *MsgClaimMintRewardResponse) XXX_Size() int
- func (m *MsgClaimMintRewardResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgProvideRewardToken
- func (*MsgProvideRewardToken) Descriptor() ([]byte, []int)
- func (m *MsgProvideRewardToken) GetCreator() string
- func (msg *MsgProvideRewardToken) GetSignBytes() []byte
- func (msg *MsgProvideRewardToken) GetSigners() []sdk.AccAddress
- func (m *MsgProvideRewardToken) Marshal() (dAtA []byte, err error)
- func (m *MsgProvideRewardToken) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgProvideRewardToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgProvideRewardToken) ProtoMessage()
- func (m *MsgProvideRewardToken) Reset()
- func (msg *MsgProvideRewardToken) Route() string
- func (m *MsgProvideRewardToken) Size() (n int)
- func (m *MsgProvideRewardToken) String() string
- func (msg *MsgProvideRewardToken) Type() string
- func (m *MsgProvideRewardToken) Unmarshal(dAtA []byte) error
- func (msg *MsgProvideRewardToken) ValidateBasic() error
- func (m *MsgProvideRewardToken) XXX_DiscardUnknown()
- func (m *MsgProvideRewardToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgProvideRewardToken) XXX_Merge(src proto.Message)
- func (m *MsgProvideRewardToken) XXX_Size() int
- func (m *MsgProvideRewardToken) XXX_Unmarshal(b []byte) error
- type MsgProvideRewardTokenResponse
- func (*MsgProvideRewardTokenResponse) Descriptor() ([]byte, []int)
- func (m *MsgProvideRewardTokenResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgProvideRewardTokenResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgProvideRewardTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgProvideRewardTokenResponse) ProtoMessage()
- func (m *MsgProvideRewardTokenResponse) Reset()
- func (m *MsgProvideRewardTokenResponse) Size() (n int)
- func (m *MsgProvideRewardTokenResponse) String() string
- func (m *MsgProvideRewardTokenResponse) Unmarshal(dAtA []byte) error
- func (m *MsgProvideRewardTokenResponse) XXX_DiscardUnknown()
- func (m *MsgProvideRewardTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgProvideRewardTokenResponse) XXX_Merge(src proto.Message)
- func (m *MsgProvideRewardTokenResponse) XXX_Size() int
- func (m *MsgProvideRewardTokenResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateMintRewardAct
- func (*MsgUpdateMintRewardAct) Descriptor() ([]byte, []int)
- func (m *MsgUpdateMintRewardAct) GetAct() *MintRewardActPost
- func (m *MsgUpdateMintRewardAct) GetCreator() string
- func (m *MsgUpdateMintRewardAct) GetCycle() uint64
- func (m *MsgUpdateMintRewardAct) GetDenom() string
- func (msg *MsgUpdateMintRewardAct) GetSignBytes() []byte
- func (msg *MsgUpdateMintRewardAct) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateMintRewardAct) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateMintRewardAct) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateMintRewardAct) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateMintRewardAct) ProtoMessage()
- func (m *MsgUpdateMintRewardAct) Reset()
- func (msg *MsgUpdateMintRewardAct) Route() string
- func (m *MsgUpdateMintRewardAct) Size() (n int)
- func (m *MsgUpdateMintRewardAct) String() string
- func (msg *MsgUpdateMintRewardAct) Type() string
- func (m *MsgUpdateMintRewardAct) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateMintRewardAct) ValidateBasic() error
- func (m *MsgUpdateMintRewardAct) XXX_DiscardUnknown()
- func (m *MsgUpdateMintRewardAct) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateMintRewardAct) XXX_Merge(src proto.Message)
- func (m *MsgUpdateMintRewardAct) XXX_Size() int
- func (m *MsgUpdateMintRewardAct) XXX_Unmarshal(b []byte) error
- type MsgUpdateMintRewardActResponse
- func (*MsgUpdateMintRewardActResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateMintRewardActResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateMintRewardActResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateMintRewardActResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateMintRewardActResponse) ProtoMessage()
- func (m *MsgUpdateMintRewardActResponse) Reset()
- func (m *MsgUpdateMintRewardActResponse) Size() (n int)
- func (m *MsgUpdateMintRewardActResponse) String() string
- func (m *MsgUpdateMintRewardActResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateMintRewardActResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateMintRewardActResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateMintRewardActResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateMintRewardActResponse) XXX_Size() int
- func (m *MsgUpdateMintRewardActResponse) XXX_Unmarshal(b []byte) error
- 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 QueryActCurrentCycleRequest
- func (*QueryActCurrentCycleRequest) Descriptor() ([]byte, []int)
- func (m *QueryActCurrentCycleRequest) GetDenom() string
- func (m *QueryActCurrentCycleRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryActCurrentCycleRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryActCurrentCycleRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryActCurrentCycleRequest) ProtoMessage()
- func (m *QueryActCurrentCycleRequest) Reset()
- func (m *QueryActCurrentCycleRequest) Size() (n int)
- func (m *QueryActCurrentCycleRequest) String() string
- func (m *QueryActCurrentCycleRequest) Unmarshal(dAtA []byte) error
- func (m *QueryActCurrentCycleRequest) XXX_DiscardUnknown()
- func (m *QueryActCurrentCycleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryActCurrentCycleRequest) XXX_Merge(src proto.Message)
- func (m *QueryActCurrentCycleRequest) XXX_Size() int
- func (m *QueryActCurrentCycleRequest) XXX_Unmarshal(b []byte) error
- type QueryActCurrentCycleResponse
- func (*QueryActCurrentCycleResponse) Descriptor() ([]byte, []int)
- func (m *QueryActCurrentCycleResponse) GetCurrentCycle() uint64
- func (m *QueryActCurrentCycleResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryActCurrentCycleResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryActCurrentCycleResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryActCurrentCycleResponse) ProtoMessage()
- func (m *QueryActCurrentCycleResponse) Reset()
- func (m *QueryActCurrentCycleResponse) Size() (n int)
- func (m *QueryActCurrentCycleResponse) String() string
- func (m *QueryActCurrentCycleResponse) Unmarshal(dAtA []byte) error
- func (m *QueryActCurrentCycleResponse) XXX_DiscardUnknown()
- func (m *QueryActCurrentCycleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryActCurrentCycleResponse) XXX_Merge(src proto.Message)
- func (m *QueryActCurrentCycleResponse) XXX_Size() int
- func (m *QueryActCurrentCycleResponse) XXX_Unmarshal(b []byte) error
- type QueryActDetailRequest
- func (*QueryActDetailRequest) Descriptor() ([]byte, []int)
- func (m *QueryActDetailRequest) GetCycle() uint64
- func (m *QueryActDetailRequest) GetDenom() string
- func (m *QueryActDetailRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryActDetailRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryActDetailRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryActDetailRequest) ProtoMessage()
- func (m *QueryActDetailRequest) Reset()
- func (m *QueryActDetailRequest) Size() (n int)
- func (m *QueryActDetailRequest) String() string
- func (m *QueryActDetailRequest) Unmarshal(dAtA []byte) error
- func (m *QueryActDetailRequest) XXX_DiscardUnknown()
- func (m *QueryActDetailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryActDetailRequest) XXX_Merge(src proto.Message)
- func (m *QueryActDetailRequest) XXX_Size() int
- func (m *QueryActDetailRequest) XXX_Unmarshal(b []byte) error
- type QueryActDetailResponse
- func (*QueryActDetailResponse) Descriptor() ([]byte, []int)
- func (m *QueryActDetailResponse) GetAct() *MintRewardAct
- func (m *QueryActDetailResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryActDetailResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryActDetailResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryActDetailResponse) ProtoMessage()
- func (m *QueryActDetailResponse) Reset()
- func (m *QueryActDetailResponse) Size() (n int)
- func (m *QueryActDetailResponse) String() string
- func (m *QueryActDetailResponse) Unmarshal(dAtA []byte) error
- func (m *QueryActDetailResponse) XXX_DiscardUnknown()
- func (m *QueryActDetailResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryActDetailResponse) XXX_Merge(src proto.Message)
- func (m *QueryActDetailResponse) XXX_Size() int
- func (m *QueryActDetailResponse) XXX_Unmarshal(b []byte) error
- type QueryActLatestCycleRequest
- func (*QueryActLatestCycleRequest) Descriptor() ([]byte, []int)
- func (m *QueryActLatestCycleRequest) GetDenom() string
- func (m *QueryActLatestCycleRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryActLatestCycleRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryActLatestCycleRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryActLatestCycleRequest) ProtoMessage()
- func (m *QueryActLatestCycleRequest) Reset()
- func (m *QueryActLatestCycleRequest) Size() (n int)
- func (m *QueryActLatestCycleRequest) String() string
- func (m *QueryActLatestCycleRequest) Unmarshal(dAtA []byte) error
- func (m *QueryActLatestCycleRequest) XXX_DiscardUnknown()
- func (m *QueryActLatestCycleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryActLatestCycleRequest) XXX_Merge(src proto.Message)
- func (m *QueryActLatestCycleRequest) XXX_Size() int
- func (m *QueryActLatestCycleRequest) XXX_Unmarshal(b []byte) error
- type QueryActLatestCycleResponse
- func (*QueryActLatestCycleResponse) Descriptor() ([]byte, []int)
- func (m *QueryActLatestCycleResponse) GetLatestCycle() uint64
- func (m *QueryActLatestCycleResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryActLatestCycleResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryActLatestCycleResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryActLatestCycleResponse) ProtoMessage()
- func (m *QueryActLatestCycleResponse) Reset()
- func (m *QueryActLatestCycleResponse) Size() (n int)
- func (m *QueryActLatestCycleResponse) String() string
- func (m *QueryActLatestCycleResponse) Unmarshal(dAtA []byte) error
- func (m *QueryActLatestCycleResponse) XXX_DiscardUnknown()
- func (m *QueryActLatestCycleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryActLatestCycleResponse) XXX_Merge(src proto.Message)
- func (m *QueryActLatestCycleResponse) XXX_Size() int
- func (m *QueryActLatestCycleResponse) XXX_Unmarshal(b []byte) error
- type QueryClaimInfoDetailRequest
- func (*QueryClaimInfoDetailRequest) Descriptor() ([]byte, []int)
- func (m *QueryClaimInfoDetailRequest) GetAddress() string
- func (m *QueryClaimInfoDetailRequest) GetCycle() uint64
- func (m *QueryClaimInfoDetailRequest) GetDenom() string
- func (m *QueryClaimInfoDetailRequest) GetMintIndex() uint64
- func (m *QueryClaimInfoDetailRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryClaimInfoDetailRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryClaimInfoDetailRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryClaimInfoDetailRequest) ProtoMessage()
- func (m *QueryClaimInfoDetailRequest) Reset()
- func (m *QueryClaimInfoDetailRequest) Size() (n int)
- func (m *QueryClaimInfoDetailRequest) String() string
- func (m *QueryClaimInfoDetailRequest) Unmarshal(dAtA []byte) error
- func (m *QueryClaimInfoDetailRequest) XXX_DiscardUnknown()
- func (m *QueryClaimInfoDetailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryClaimInfoDetailRequest) XXX_Merge(src proto.Message)
- func (m *QueryClaimInfoDetailRequest) XXX_Size() int
- func (m *QueryClaimInfoDetailRequest) XXX_Unmarshal(b []byte) error
- type QueryClaimInfoDetailResponse
- func (*QueryClaimInfoDetailResponse) Descriptor() ([]byte, []int)
- func (m *QueryClaimInfoDetailResponse) GetClaimInfo() *UserClaimInfo
- func (m *QueryClaimInfoDetailResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryClaimInfoDetailResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryClaimInfoDetailResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryClaimInfoDetailResponse) ProtoMessage()
- func (m *QueryClaimInfoDetailResponse) Reset()
- func (m *QueryClaimInfoDetailResponse) Size() (n int)
- func (m *QueryClaimInfoDetailResponse) String() string
- func (m *QueryClaimInfoDetailResponse) Unmarshal(dAtA []byte) error
- func (m *QueryClaimInfoDetailResponse) XXX_DiscardUnknown()
- func (m *QueryClaimInfoDetailResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryClaimInfoDetailResponse) XXX_Merge(src proto.Message)
- func (m *QueryClaimInfoDetailResponse) XXX_Size() int
- func (m *QueryClaimInfoDetailResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- 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 QueryUserActsRequest
- func (*QueryUserActsRequest) Descriptor() ([]byte, []int)
- func (m *QueryUserActsRequest) GetAddress() string
- func (m *QueryUserActsRequest) GetDenom() string
- func (m *QueryUserActsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryUserActsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUserActsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUserActsRequest) ProtoMessage()
- func (m *QueryUserActsRequest) Reset()
- func (m *QueryUserActsRequest) Size() (n int)
- func (m *QueryUserActsRequest) String() string
- func (m *QueryUserActsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryUserActsRequest) XXX_DiscardUnknown()
- func (m *QueryUserActsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUserActsRequest) XXX_Merge(src proto.Message)
- func (m *QueryUserActsRequest) XXX_Size() int
- func (m *QueryUserActsRequest) XXX_Unmarshal(b []byte) error
- type QueryUserActsResponse
- func (*QueryUserActsResponse) Descriptor() ([]byte, []int)
- func (m *QueryUserActsResponse) GetActs() *Acts
- func (m *QueryUserActsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryUserActsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUserActsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUserActsResponse) ProtoMessage()
- func (m *QueryUserActsResponse) Reset()
- func (m *QueryUserActsResponse) Size() (n int)
- func (m *QueryUserActsResponse) String() string
- func (m *QueryUserActsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryUserActsResponse) XXX_DiscardUnknown()
- func (m *QueryUserActsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUserActsResponse) XXX_Merge(src proto.Message)
- func (m *QueryUserActsResponse) XXX_Size() int
- func (m *QueryUserActsResponse) XXX_Unmarshal(b []byte) error
- type QueryUserMintCountRequest
- func (*QueryUserMintCountRequest) Descriptor() ([]byte, []int)
- func (m *QueryUserMintCountRequest) GetAddress() string
- func (m *QueryUserMintCountRequest) GetCycle() uint64
- func (m *QueryUserMintCountRequest) GetDenom() string
- func (m *QueryUserMintCountRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryUserMintCountRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUserMintCountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUserMintCountRequest) ProtoMessage()
- func (m *QueryUserMintCountRequest) Reset()
- func (m *QueryUserMintCountRequest) Size() (n int)
- func (m *QueryUserMintCountRequest) String() string
- func (m *QueryUserMintCountRequest) Unmarshal(dAtA []byte) error
- func (m *QueryUserMintCountRequest) XXX_DiscardUnknown()
- func (m *QueryUserMintCountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUserMintCountRequest) XXX_Merge(src proto.Message)
- func (m *QueryUserMintCountRequest) XXX_Size() int
- func (m *QueryUserMintCountRequest) XXX_Unmarshal(b []byte) error
- type QueryUserMintCountResponse
- func (*QueryUserMintCountResponse) Descriptor() ([]byte, []int)
- func (m *QueryUserMintCountResponse) GetCount() uint64
- func (m *QueryUserMintCountResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryUserMintCountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUserMintCountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUserMintCountResponse) ProtoMessage()
- func (m *QueryUserMintCountResponse) Reset()
- func (m *QueryUserMintCountResponse) Size() (n int)
- func (m *QueryUserMintCountResponse) String() string
- func (m *QueryUserMintCountResponse) Unmarshal(dAtA []byte) error
- func (m *QueryUserMintCountResponse) XXX_DiscardUnknown()
- func (m *QueryUserMintCountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUserMintCountResponse) XXX_Merge(src proto.Message)
- func (m *QueryUserMintCountResponse) XXX_Size() int
- func (m *QueryUserMintCountResponse) XXX_Unmarshal(b []byte) error
- type SudoKeeper
- type TokenClaimInfo
- func (*TokenClaimInfo) Descriptor() ([]byte, []int)
- func (m *TokenClaimInfo) GetDenom() string
- func (m *TokenClaimInfo) Marshal() (dAtA []byte, err error)
- func (m *TokenClaimInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *TokenClaimInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TokenClaimInfo) ProtoMessage()
- func (m *TokenClaimInfo) Reset()
- func (m *TokenClaimInfo) Size() (n int)
- func (m *TokenClaimInfo) String() string
- func (m *TokenClaimInfo) Unmarshal(dAtA []byte) error
- func (m *TokenClaimInfo) XXX_DiscardUnknown()
- func (m *TokenClaimInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokenClaimInfo) XXX_Merge(src proto.Message)
- func (m *TokenClaimInfo) XXX_Size() int
- func (m *TokenClaimInfo) XXX_Unmarshal(b []byte) error
- type TokenRewardInfo
- func (*TokenRewardInfo) Descriptor() ([]byte, []int)
- func (m *TokenRewardInfo) GetDenom() string
- func (m *TokenRewardInfo) Marshal() (dAtA []byte, err error)
- func (m *TokenRewardInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *TokenRewardInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TokenRewardInfo) ProtoMessage()
- func (m *TokenRewardInfo) Reset()
- func (m *TokenRewardInfo) Size() (n int)
- func (m *TokenRewardInfo) String() string
- func (m *TokenRewardInfo) Unmarshal(dAtA []byte) error
- func (m *TokenRewardInfo) XXX_DiscardUnknown()
- func (m *TokenRewardInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokenRewardInfo) XXX_Merge(src proto.Message)
- func (m *TokenRewardInfo) XXX_Size() int
- func (m *TokenRewardInfo) XXX_Unmarshal(b []byte) error
- type TokenRewardInfoPost
- func (*TokenRewardInfoPost) Descriptor() ([]byte, []int)
- func (m *TokenRewardInfoPost) GetDenom() string
- func (m *TokenRewardInfoPost) Marshal() (dAtA []byte, err error)
- func (m *TokenRewardInfoPost) MarshalTo(dAtA []byte) (int, error)
- func (m *TokenRewardInfoPost) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TokenRewardInfoPost) ProtoMessage()
- func (m *TokenRewardInfoPost) Reset()
- func (m *TokenRewardInfoPost) Size() (n int)
- func (m *TokenRewardInfoPost) String() string
- func (m *TokenRewardInfoPost) Unmarshal(dAtA []byte) error
- func (m *TokenRewardInfoPost) XXX_DiscardUnknown()
- func (m *TokenRewardInfoPost) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokenRewardInfoPost) XXX_Merge(src proto.Message)
- func (m *TokenRewardInfoPost) XXX_Size() int
- func (m *TokenRewardInfoPost) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) AddMintRewardAct(ctx context.Context, req *MsgAddMintRewardAct) (*MsgAddMintRewardActResponse, error)
- func (*UnimplementedMsgServer) ClaimMintReward(ctx context.Context, req *MsgClaimMintReward) (*MsgClaimMintRewardResponse, error)
- func (*UnimplementedMsgServer) ProvideRewardToken(ctx context.Context, req *MsgProvideRewardToken) (*MsgProvideRewardTokenResponse, error)
- func (*UnimplementedMsgServer) UpdateMintRewardAct(ctx context.Context, req *MsgUpdateMintRewardAct) (*MsgUpdateMintRewardActResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) ActCurrentCycle(ctx context.Context, req *QueryActCurrentCycleRequest) (*QueryActCurrentCycleResponse, error)
- func (*UnimplementedQueryServer) ActDetail(ctx context.Context, req *QueryActDetailRequest) (*QueryActDetailResponse, error)
- func (*UnimplementedQueryServer) ActLatestCycle(ctx context.Context, req *QueryActLatestCycleRequest) (*QueryActLatestCycleResponse, error)
- func (*UnimplementedQueryServer) ClaimInfoDetail(ctx context.Context, req *QueryClaimInfoDetailRequest) (*QueryClaimInfoDetailResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) UserActs(ctx context.Context, req *QueryUserActsRequest) (*QueryUserActsResponse, error)
- func (*UnimplementedQueryServer) UserMintCount(ctx context.Context, req *QueryUserMintCountRequest) (*QueryUserMintCountResponse, error)
- type UserClaimInfo
- func (*UserClaimInfo) Descriptor() ([]byte, []int)
- func (m *UserClaimInfo) GetLatestClaimedBlock() int64
- func (m *UserClaimInfo) GetMintBlock() int64
- func (m *UserClaimInfo) GetTokenClaimInfos() []*TokenClaimInfo
- func (m *UserClaimInfo) Marshal() (dAtA []byte, err error)
- func (m *UserClaimInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *UserClaimInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserClaimInfo) ProtoMessage()
- func (m *UserClaimInfo) Reset()
- func (m *UserClaimInfo) Size() (n int)
- func (m *UserClaimInfo) String() string
- func (m *UserClaimInfo) Unmarshal(dAtA []byte) error
- func (m *UserClaimInfo) XXX_DiscardUnknown()
- func (m *UserClaimInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserClaimInfo) XXX_Merge(src proto.Message)
- func (m *UserClaimInfo) XXX_Size() int
- func (m *UserClaimInfo) XXX_Unmarshal(b []byte) error
- type UserMintCount
- func (*UserMintCount) Descriptor() ([]byte, []int)
- func (m *UserMintCount) GetAccount() string
- func (m *UserMintCount) GetCount() uint64
- func (m *UserMintCount) GetCycle() uint64
- func (m *UserMintCount) GetDenom() string
- func (m *UserMintCount) Marshal() (dAtA []byte, err error)
- func (m *UserMintCount) MarshalTo(dAtA []byte) (int, error)
- func (m *UserMintCount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserMintCount) ProtoMessage()
- func (m *UserMintCount) Reset()
- func (m *UserMintCount) Size() (n int)
- func (m *UserMintCount) String() string
- func (m *UserMintCount) Unmarshal(dAtA []byte) error
- func (m *UserMintCount) XXX_DiscardUnknown()
- func (m *UserMintCount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserMintCount) XXX_Merge(src proto.Message)
- func (m *UserMintCount) XXX_Size() int
- func (m *UserMintCount) XXX_Unmarshal(b []byte) error
Constants ¶
const ( // ModuleName defines the module name ModuleName = "rmintreward" // 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_rmintreward" )
const DefaultIndex uint64 = 1
DefaultIndex is the default capability global index
const TypeMsgAddMintRewardAct = "add_mint_reward_act"
const TypeMsgClaimMintReward = "claim_mint_reward"
const TypeMsgProvideRewardToken = "provide_reward_token"
const TypeMsgUpdateMintRewardAct = "update_mint_reward_act"
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewAminoCodec(Amino) )
var ( ErrActBeginBlockTooSmall = sdkerrors.Register(ModuleName, 1100, "act begin block must greater than zero") ErrActEndBlockTooSamll = sdkerrors.Register(ModuleName, 1101, "act end block must greater than begin block") ErrActTotalRewardTooSmall = sdkerrors.Register(ModuleName, 1102, "act total reward must greater than zero") ErrActTotalRewardLessThanUserLimit = sdkerrors.Register(ModuleName, 1103, "act total reward less than userLimit") ErrActLockedBlocksTooSmall = sdkerrors.Register(ModuleName, 1104, "act locked blocks must greater than zero") ErrActRewardRateTooSmall = sdkerrors.Register(ModuleName, 1105, "act reward rate must greater than zero") ErrActEndBlockLessThanCurrentBlock = sdkerrors.Register(ModuleName, 1106, "act end block less than current block") ErrLatestMintRewardActNotExist = sdkerrors.Register(ModuleName, 1107, "latest mint reward act not exist") ErrActBeginBlockLTLatestActEndBlock = sdkerrors.Register(ModuleName, 1108, "act begin block less than latest act end block") ErrActNotExist = sdkerrors.Register(ModuleName, 1109, "act not exist") ErrUserClaimInfoNotExist = sdkerrors.Register(ModuleName, 1110, "user claim info not exist") ErrMintRewardActNotExist = sdkerrors.Register(ModuleName, 1111, "user mint reward act not exist") ErrNoRewardToClaim = sdkerrors.Register(ModuleName, 1112, "no reward to claim error") )
x/rmintreward module sentinel errors
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 ( MintRewardActStoreKeyPrefix = []byte{0x01} ActLatestCycleStoreKeyPrefix = []byte{0x02} UserClaimInfoStoreKeyPrefix = []byte{0x03} UserActsStoreKeyPrefix = []byte{0x04} UserMintCountStoreKeyPrefix = []byte{0x05} ActCurrentCycleStoreKeyPrefix = []byte{0x07} )
var ( ErrInvalidLengthModels = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowModels = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupModels = 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") )
Functions ¶
func ActCurrentCycleStoreKey ¶
func ActLatestCycleStoreKey ¶
func MintRewardActStoreKey ¶
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)
func UserActsStoreKey ¶
func UserActsStoreKey(account sdk.AccAddress, denom string) []byte
prefix + accountLen + account + denom
func UserClaimInfoStoreKey ¶
func UserClaimInfoStoreKey(account sdk.AccAddress, denom string, cycle uint64, mintIndex uint64) []byte
prefix + accountLen + account + denomLen + denom + cycle + mintIndex
func UserMintCountStoreKey ¶
func UserMintCountStoreKey(account sdk.AccAddress, denom string, cycle uint64) []byte
prefix + accountLen + account + denomLen + denom + cycle
Types ¶
type AccountKeeper ¶
AccountKeeper defines the expected account keeper used for simulations (noalias)
type ActCurrentCycle ¶
type ActCurrentCycle struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` Cycle uint64 `protobuf:"varint,2,opt,name=cycle,proto3" json:"cycle,omitempty"` }
func (*ActCurrentCycle) Descriptor ¶
func (*ActCurrentCycle) Descriptor() ([]byte, []int)
func (*ActCurrentCycle) GetCycle ¶
func (m *ActCurrentCycle) GetCycle() uint64
func (*ActCurrentCycle) GetDenom ¶
func (m *ActCurrentCycle) GetDenom() string
func (*ActCurrentCycle) Marshal ¶
func (m *ActCurrentCycle) Marshal() (dAtA []byte, err error)
func (*ActCurrentCycle) MarshalToSizedBuffer ¶
func (m *ActCurrentCycle) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ActCurrentCycle) ProtoMessage ¶
func (*ActCurrentCycle) ProtoMessage()
func (*ActCurrentCycle) Reset ¶
func (m *ActCurrentCycle) Reset()
func (*ActCurrentCycle) Size ¶
func (m *ActCurrentCycle) Size() (n int)
func (*ActCurrentCycle) String ¶
func (m *ActCurrentCycle) String() string
func (*ActCurrentCycle) Unmarshal ¶
func (m *ActCurrentCycle) Unmarshal(dAtA []byte) error
func (*ActCurrentCycle) XXX_DiscardUnknown ¶
func (m *ActCurrentCycle) XXX_DiscardUnknown()
func (*ActCurrentCycle) XXX_Marshal ¶
func (m *ActCurrentCycle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ActCurrentCycle) XXX_Merge ¶
func (m *ActCurrentCycle) XXX_Merge(src proto.Message)
func (*ActCurrentCycle) XXX_Size ¶
func (m *ActCurrentCycle) XXX_Size() int
func (*ActCurrentCycle) XXX_Unmarshal ¶
func (m *ActCurrentCycle) XXX_Unmarshal(b []byte) error
type ActLatestCycle ¶
type ActLatestCycle struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` Cycle uint64 `protobuf:"varint,2,opt,name=cycle,proto3" json:"cycle,omitempty"` }
func (*ActLatestCycle) Descriptor ¶
func (*ActLatestCycle) Descriptor() ([]byte, []int)
func (*ActLatestCycle) GetCycle ¶
func (m *ActLatestCycle) GetCycle() uint64
func (*ActLatestCycle) GetDenom ¶
func (m *ActLatestCycle) GetDenom() string
func (*ActLatestCycle) Marshal ¶
func (m *ActLatestCycle) Marshal() (dAtA []byte, err error)
func (*ActLatestCycle) MarshalToSizedBuffer ¶
func (m *ActLatestCycle) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ActLatestCycle) ProtoMessage ¶
func (*ActLatestCycle) ProtoMessage()
func (*ActLatestCycle) Reset ¶
func (m *ActLatestCycle) Reset()
func (*ActLatestCycle) Size ¶
func (m *ActLatestCycle) Size() (n int)
func (*ActLatestCycle) String ¶
func (m *ActLatestCycle) String() string
func (*ActLatestCycle) Unmarshal ¶
func (m *ActLatestCycle) Unmarshal(dAtA []byte) error
func (*ActLatestCycle) XXX_DiscardUnknown ¶
func (m *ActLatestCycle) XXX_DiscardUnknown()
func (*ActLatestCycle) XXX_Marshal ¶
func (m *ActLatestCycle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ActLatestCycle) XXX_Merge ¶
func (m *ActLatestCycle) XXX_Merge(src proto.Message)
func (*ActLatestCycle) XXX_Size ¶
func (m *ActLatestCycle) XXX_Size() int
func (*ActLatestCycle) XXX_Unmarshal ¶
func (m *ActLatestCycle) XXX_Unmarshal(b []byte) error
type Acts ¶
type Acts struct {
Acts []uint64 `protobuf:"varint,1,rep,packed,name=acts,proto3" json:"acts,omitempty"`
}
func (*Acts) Descriptor ¶
func (*Acts) ProtoMessage ¶
func (*Acts) ProtoMessage()
func (*Acts) XXX_DiscardUnknown ¶
func (m *Acts) XXX_DiscardUnknown()
func (*Acts) XXX_Unmarshal ¶
type BankKeeper ¶
type BankKeeper interface { SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin }
BankKeeper defines the expected interface needed to retrieve account balances.
type GenesisMintRewardAct ¶
type GenesisMintRewardAct struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` Cycle uint64 `protobuf:"varint,2,opt,name=cycle,proto3" json:"cycle,omitempty"` MintRewardAct *MintRewardAct `protobuf:"bytes,3,opt,name=mintRewardAct,proto3" json:"mintRewardAct,omitempty"` }
func (*GenesisMintRewardAct) Descriptor ¶
func (*GenesisMintRewardAct) Descriptor() ([]byte, []int)
func (*GenesisMintRewardAct) GetCycle ¶
func (m *GenesisMintRewardAct) GetCycle() uint64
func (*GenesisMintRewardAct) GetDenom ¶
func (m *GenesisMintRewardAct) GetDenom() string
func (*GenesisMintRewardAct) GetMintRewardAct ¶
func (m *GenesisMintRewardAct) GetMintRewardAct() *MintRewardAct
func (*GenesisMintRewardAct) Marshal ¶
func (m *GenesisMintRewardAct) Marshal() (dAtA []byte, err error)
func (*GenesisMintRewardAct) MarshalTo ¶
func (m *GenesisMintRewardAct) MarshalTo(dAtA []byte) (int, error)
func (*GenesisMintRewardAct) MarshalToSizedBuffer ¶
func (m *GenesisMintRewardAct) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisMintRewardAct) ProtoMessage ¶
func (*GenesisMintRewardAct) ProtoMessage()
func (*GenesisMintRewardAct) Reset ¶
func (m *GenesisMintRewardAct) Reset()
func (*GenesisMintRewardAct) Size ¶
func (m *GenesisMintRewardAct) Size() (n int)
func (*GenesisMintRewardAct) String ¶
func (m *GenesisMintRewardAct) String() string
func (*GenesisMintRewardAct) Unmarshal ¶
func (m *GenesisMintRewardAct) Unmarshal(dAtA []byte) error
func (*GenesisMintRewardAct) XXX_DiscardUnknown ¶
func (m *GenesisMintRewardAct) XXX_DiscardUnknown()
func (*GenesisMintRewardAct) XXX_Marshal ¶
func (m *GenesisMintRewardAct) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisMintRewardAct) XXX_Merge ¶
func (m *GenesisMintRewardAct) XXX_Merge(src proto.Message)
func (*GenesisMintRewardAct) XXX_Size ¶
func (m *GenesisMintRewardAct) XXX_Size() int
func (*GenesisMintRewardAct) XXX_Unmarshal ¶
func (m *GenesisMintRewardAct) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` ActLatestCycleList []*ActLatestCycle `protobuf:"bytes,2,rep,name=actLatestCycleList,proto3" json:"actLatestCycleList,omitempty"` ActCurrentCycleList []*ActCurrentCycle `protobuf:"bytes,3,rep,name=actCurrentCycleList,proto3" json:"actCurrentCycleList,omitempty"` MintrewardActList []*GenesisMintRewardAct `protobuf:"bytes,4,rep,name=mintrewardActList,proto3" json:"mintrewardActList,omitempty"` UserClaimInfoList []*GenesisUserClaimInfo `protobuf:"bytes,5,rep,name=userClaimInfoList,proto3" json:"userClaimInfoList,omitempty"` UserActList []*GenesisUserAct `protobuf:"bytes,6,rep,name=userActList,proto3" json:"userActList,omitempty"` UserMintCountList []*UserMintCount `protobuf:"bytes,7,rep,name=userMintCountList,proto3" json:"userMintCountList,omitempty"` }
GenesisState defines the rmintreward 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) GetActCurrentCycleList ¶
func (m *GenesisState) GetActCurrentCycleList() []*ActCurrentCycle
func (*GenesisState) GetActLatestCycleList ¶
func (m *GenesisState) GetActLatestCycleList() []*ActLatestCycle
func (*GenesisState) GetMintrewardActList ¶
func (m *GenesisState) GetMintrewardActList() []*GenesisMintRewardAct
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetUserActList ¶
func (m *GenesisState) GetUserActList() []*GenesisUserAct
func (*GenesisState) GetUserClaimInfoList ¶
func (m *GenesisState) GetUserClaimInfoList() []*GenesisUserClaimInfo
func (*GenesisState) GetUserMintCountList ¶
func (m *GenesisState) GetUserMintCountList() []*UserMintCount
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 GenesisUserAct ¶
type GenesisUserAct struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` Acts *Acts `protobuf:"bytes,3,opt,name=acts,proto3" json:"acts,omitempty"` }
func (*GenesisUserAct) Descriptor ¶
func (*GenesisUserAct) Descriptor() ([]byte, []int)
func (*GenesisUserAct) GetAccount ¶
func (m *GenesisUserAct) GetAccount() string
func (*GenesisUserAct) GetActs ¶
func (m *GenesisUserAct) GetActs() *Acts
func (*GenesisUserAct) GetDenom ¶
func (m *GenesisUserAct) GetDenom() string
func (*GenesisUserAct) Marshal ¶
func (m *GenesisUserAct) Marshal() (dAtA []byte, err error)
func (*GenesisUserAct) MarshalToSizedBuffer ¶
func (m *GenesisUserAct) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisUserAct) ProtoMessage ¶
func (*GenesisUserAct) ProtoMessage()
func (*GenesisUserAct) Reset ¶
func (m *GenesisUserAct) Reset()
func (*GenesisUserAct) Size ¶
func (m *GenesisUserAct) Size() (n int)
func (*GenesisUserAct) String ¶
func (m *GenesisUserAct) String() string
func (*GenesisUserAct) Unmarshal ¶
func (m *GenesisUserAct) Unmarshal(dAtA []byte) error
func (*GenesisUserAct) XXX_DiscardUnknown ¶
func (m *GenesisUserAct) XXX_DiscardUnknown()
func (*GenesisUserAct) XXX_Marshal ¶
func (m *GenesisUserAct) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisUserAct) XXX_Merge ¶
func (m *GenesisUserAct) XXX_Merge(src proto.Message)
func (*GenesisUserAct) XXX_Size ¶
func (m *GenesisUserAct) XXX_Size() int
func (*GenesisUserAct) XXX_Unmarshal ¶
func (m *GenesisUserAct) XXX_Unmarshal(b []byte) error
type GenesisUserClaimInfo ¶
type GenesisUserClaimInfo struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` Cycle uint64 `protobuf:"varint,3,opt,name=cycle,proto3" json:"cycle,omitempty"` MintIndex uint64 `protobuf:"varint,4,opt,name=mintIndex,proto3" json:"mintIndex,omitempty"` UserClaimInfo *UserClaimInfo `protobuf:"bytes,5,opt,name=userClaimInfo,proto3" json:"userClaimInfo,omitempty"` }
func (*GenesisUserClaimInfo) Descriptor ¶
func (*GenesisUserClaimInfo) Descriptor() ([]byte, []int)
func (*GenesisUserClaimInfo) GetAccount ¶
func (m *GenesisUserClaimInfo) GetAccount() string
func (*GenesisUserClaimInfo) GetCycle ¶
func (m *GenesisUserClaimInfo) GetCycle() uint64
func (*GenesisUserClaimInfo) GetDenom ¶
func (m *GenesisUserClaimInfo) GetDenom() string
func (*GenesisUserClaimInfo) GetMintIndex ¶
func (m *GenesisUserClaimInfo) GetMintIndex() uint64
func (*GenesisUserClaimInfo) GetUserClaimInfo ¶
func (m *GenesisUserClaimInfo) GetUserClaimInfo() *UserClaimInfo
func (*GenesisUserClaimInfo) Marshal ¶
func (m *GenesisUserClaimInfo) Marshal() (dAtA []byte, err error)
func (*GenesisUserClaimInfo) MarshalTo ¶
func (m *GenesisUserClaimInfo) MarshalTo(dAtA []byte) (int, error)
func (*GenesisUserClaimInfo) MarshalToSizedBuffer ¶
func (m *GenesisUserClaimInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisUserClaimInfo) ProtoMessage ¶
func (*GenesisUserClaimInfo) ProtoMessage()
func (*GenesisUserClaimInfo) Reset ¶
func (m *GenesisUserClaimInfo) Reset()
func (*GenesisUserClaimInfo) Size ¶
func (m *GenesisUserClaimInfo) Size() (n int)
func (*GenesisUserClaimInfo) String ¶
func (m *GenesisUserClaimInfo) String() string
func (*GenesisUserClaimInfo) Unmarshal ¶
func (m *GenesisUserClaimInfo) Unmarshal(dAtA []byte) error
func (*GenesisUserClaimInfo) XXX_DiscardUnknown ¶
func (m *GenesisUserClaimInfo) XXX_DiscardUnknown()
func (*GenesisUserClaimInfo) XXX_Marshal ¶
func (m *GenesisUserClaimInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisUserClaimInfo) XXX_Merge ¶
func (m *GenesisUserClaimInfo) XXX_Merge(src proto.Message)
func (*GenesisUserClaimInfo) XXX_Size ¶
func (m *GenesisUserClaimInfo) XXX_Size() int
func (*GenesisUserClaimInfo) XXX_Unmarshal ¶
func (m *GenesisUserClaimInfo) XXX_Unmarshal(b []byte) error
type MintRewardAct ¶
type MintRewardAct struct { Begin int64 `protobuf:"varint,1,opt,name=begin,proto3" json:"begin,omitempty"` End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` LockedBlocks int64 `protobuf:"varint,3,opt,name=lockedBlocks,proto3" json:"lockedBlocks,omitempty"` TotalRTokenAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 127-byte string literal not displayed */ TotalNativeTokenAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 137-byte string literal not displayed */ TokenRewardInfos []*TokenRewardInfo `protobuf:"bytes,7,rep,name=tokenRewardInfos,proto3" json:"tokenRewardInfos,omitempty"` }
func (*MintRewardAct) Descriptor ¶
func (*MintRewardAct) Descriptor() ([]byte, []int)
func (*MintRewardAct) GetBegin ¶
func (m *MintRewardAct) GetBegin() int64
func (*MintRewardAct) GetEnd ¶
func (m *MintRewardAct) GetEnd() int64
func (*MintRewardAct) GetLockedBlocks ¶
func (m *MintRewardAct) GetLockedBlocks() int64
func (*MintRewardAct) GetTokenRewardInfos ¶
func (m *MintRewardAct) GetTokenRewardInfos() []*TokenRewardInfo
func (*MintRewardAct) Marshal ¶
func (m *MintRewardAct) Marshal() (dAtA []byte, err error)
func (*MintRewardAct) MarshalToSizedBuffer ¶
func (m *MintRewardAct) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MintRewardAct) ProtoMessage ¶
func (*MintRewardAct) ProtoMessage()
func (*MintRewardAct) Reset ¶
func (m *MintRewardAct) Reset()
func (*MintRewardAct) Size ¶
func (m *MintRewardAct) Size() (n int)
func (*MintRewardAct) String ¶
func (m *MintRewardAct) String() string
func (*MintRewardAct) Unmarshal ¶
func (m *MintRewardAct) Unmarshal(dAtA []byte) error
func (*MintRewardAct) XXX_DiscardUnknown ¶
func (m *MintRewardAct) XXX_DiscardUnknown()
func (*MintRewardAct) XXX_Marshal ¶
func (m *MintRewardAct) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MintRewardAct) XXX_Merge ¶
func (m *MintRewardAct) XXX_Merge(src proto.Message)
func (*MintRewardAct) XXX_Size ¶
func (m *MintRewardAct) XXX_Size() int
func (*MintRewardAct) XXX_Unmarshal ¶
func (m *MintRewardAct) XXX_Unmarshal(b []byte) error
type MintRewardActPost ¶
type MintRewardActPost struct { Begin int64 `protobuf:"varint,1,opt,name=begin,proto3" json:"begin,omitempty"` End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` LockedBlocks int64 `protobuf:"varint,3,opt,name=lockedBlocks,proto3" json:"lockedBlocks,omitempty"` TokenRewardInfos []*TokenRewardInfoPost `protobuf:"bytes,7,rep,name=tokenRewardInfos,proto3" json:"tokenRewardInfos,omitempty"` }
func (*MintRewardActPost) Descriptor ¶
func (*MintRewardActPost) Descriptor() ([]byte, []int)
func (*MintRewardActPost) GetBegin ¶
func (m *MintRewardActPost) GetBegin() int64
func (*MintRewardActPost) GetEnd ¶
func (m *MintRewardActPost) GetEnd() int64
func (*MintRewardActPost) GetLockedBlocks ¶
func (m *MintRewardActPost) GetLockedBlocks() int64
func (*MintRewardActPost) GetTokenRewardInfos ¶
func (m *MintRewardActPost) GetTokenRewardInfos() []*TokenRewardInfoPost
func (*MintRewardActPost) Marshal ¶
func (m *MintRewardActPost) Marshal() (dAtA []byte, err error)
func (*MintRewardActPost) MarshalTo ¶
func (m *MintRewardActPost) MarshalTo(dAtA []byte) (int, error)
func (*MintRewardActPost) MarshalToSizedBuffer ¶
func (m *MintRewardActPost) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MintRewardActPost) ProtoMessage ¶
func (*MintRewardActPost) ProtoMessage()
func (*MintRewardActPost) Reset ¶
func (m *MintRewardActPost) Reset()
func (*MintRewardActPost) Size ¶
func (m *MintRewardActPost) Size() (n int)
func (*MintRewardActPost) String ¶
func (m *MintRewardActPost) String() string
func (*MintRewardActPost) Unmarshal ¶
func (m *MintRewardActPost) Unmarshal(dAtA []byte) error
func (*MintRewardActPost) XXX_DiscardUnknown ¶
func (m *MintRewardActPost) XXX_DiscardUnknown()
func (*MintRewardActPost) XXX_Marshal ¶
func (m *MintRewardActPost) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MintRewardActPost) XXX_Merge ¶
func (m *MintRewardActPost) XXX_Merge(src proto.Message)
func (*MintRewardActPost) XXX_Size ¶
func (m *MintRewardActPost) XXX_Size() int
func (*MintRewardActPost) XXX_Unmarshal ¶
func (m *MintRewardActPost) XXX_Unmarshal(b []byte) error
type MsgAddMintRewardAct ¶
type MsgAddMintRewardAct struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` Act *MintRewardActPost `protobuf:"bytes,3,opt,name=act,proto3" json:"act,omitempty"` }
func NewMsgAddMintRewardAct ¶
func NewMsgAddMintRewardAct(creator, denom string, act *MintRewardActPost) *MsgAddMintRewardAct
func (*MsgAddMintRewardAct) Descriptor ¶
func (*MsgAddMintRewardAct) Descriptor() ([]byte, []int)
func (*MsgAddMintRewardAct) GetAct ¶
func (m *MsgAddMintRewardAct) GetAct() *MintRewardActPost
func (*MsgAddMintRewardAct) GetCreator ¶
func (m *MsgAddMintRewardAct) GetCreator() string
func (*MsgAddMintRewardAct) GetDenom ¶
func (m *MsgAddMintRewardAct) GetDenom() string
func (*MsgAddMintRewardAct) GetSignBytes ¶
func (msg *MsgAddMintRewardAct) GetSignBytes() []byte
func (*MsgAddMintRewardAct) GetSigners ¶
func (msg *MsgAddMintRewardAct) GetSigners() []sdk.AccAddress
func (*MsgAddMintRewardAct) Marshal ¶
func (m *MsgAddMintRewardAct) Marshal() (dAtA []byte, err error)
func (*MsgAddMintRewardAct) MarshalTo ¶
func (m *MsgAddMintRewardAct) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddMintRewardAct) MarshalToSizedBuffer ¶
func (m *MsgAddMintRewardAct) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddMintRewardAct) ProtoMessage ¶
func (*MsgAddMintRewardAct) ProtoMessage()
func (*MsgAddMintRewardAct) Reset ¶
func (m *MsgAddMintRewardAct) Reset()
func (*MsgAddMintRewardAct) Route ¶
func (msg *MsgAddMintRewardAct) Route() string
func (*MsgAddMintRewardAct) Size ¶
func (m *MsgAddMintRewardAct) Size() (n int)
func (*MsgAddMintRewardAct) String ¶
func (m *MsgAddMintRewardAct) String() string
func (*MsgAddMintRewardAct) Type ¶
func (msg *MsgAddMintRewardAct) Type() string
func (*MsgAddMintRewardAct) Unmarshal ¶
func (m *MsgAddMintRewardAct) Unmarshal(dAtA []byte) error
func (*MsgAddMintRewardAct) ValidateBasic ¶
func (msg *MsgAddMintRewardAct) ValidateBasic() error
func (*MsgAddMintRewardAct) XXX_DiscardUnknown ¶
func (m *MsgAddMintRewardAct) XXX_DiscardUnknown()
func (*MsgAddMintRewardAct) XXX_Marshal ¶
func (m *MsgAddMintRewardAct) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddMintRewardAct) XXX_Merge ¶
func (m *MsgAddMintRewardAct) XXX_Merge(src proto.Message)
func (*MsgAddMintRewardAct) XXX_Size ¶
func (m *MsgAddMintRewardAct) XXX_Size() int
func (*MsgAddMintRewardAct) XXX_Unmarshal ¶
func (m *MsgAddMintRewardAct) XXX_Unmarshal(b []byte) error
type MsgAddMintRewardActResponse ¶
type MsgAddMintRewardActResponse struct { }
func (*MsgAddMintRewardActResponse) Descriptor ¶
func (*MsgAddMintRewardActResponse) Descriptor() ([]byte, []int)
func (*MsgAddMintRewardActResponse) Marshal ¶
func (m *MsgAddMintRewardActResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddMintRewardActResponse) MarshalTo ¶
func (m *MsgAddMintRewardActResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddMintRewardActResponse) MarshalToSizedBuffer ¶
func (m *MsgAddMintRewardActResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddMintRewardActResponse) ProtoMessage ¶
func (*MsgAddMintRewardActResponse) ProtoMessage()
func (*MsgAddMintRewardActResponse) Reset ¶
func (m *MsgAddMintRewardActResponse) Reset()
func (*MsgAddMintRewardActResponse) Size ¶
func (m *MsgAddMintRewardActResponse) Size() (n int)
func (*MsgAddMintRewardActResponse) String ¶
func (m *MsgAddMintRewardActResponse) String() string
func (*MsgAddMintRewardActResponse) Unmarshal ¶
func (m *MsgAddMintRewardActResponse) Unmarshal(dAtA []byte) error
func (*MsgAddMintRewardActResponse) XXX_DiscardUnknown ¶
func (m *MsgAddMintRewardActResponse) XXX_DiscardUnknown()
func (*MsgAddMintRewardActResponse) XXX_Marshal ¶
func (m *MsgAddMintRewardActResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddMintRewardActResponse) XXX_Merge ¶
func (m *MsgAddMintRewardActResponse) XXX_Merge(src proto.Message)
func (*MsgAddMintRewardActResponse) XXX_Size ¶
func (m *MsgAddMintRewardActResponse) XXX_Size() int
func (*MsgAddMintRewardActResponse) XXX_Unmarshal ¶
func (m *MsgAddMintRewardActResponse) XXX_Unmarshal(b []byte) error
type MsgClaimMintReward ¶
type MsgClaimMintReward struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` Cycle uint64 `protobuf:"varint,3,opt,name=cycle,proto3" json:"cycle"` MintIndex uint64 `protobuf:"varint,4,opt,name=mintIndex,proto3" json:"mintIndex"` }
func NewMsgClaimMintReward ¶
func NewMsgClaimMintReward(creator string, denom string, cycle uint64, mintIndex uint64) *MsgClaimMintReward
func (*MsgClaimMintReward) Descriptor ¶
func (*MsgClaimMintReward) Descriptor() ([]byte, []int)
func (*MsgClaimMintReward) GetCreator ¶
func (m *MsgClaimMintReward) GetCreator() string
func (*MsgClaimMintReward) GetCycle ¶
func (m *MsgClaimMintReward) GetCycle() uint64
func (*MsgClaimMintReward) GetDenom ¶
func (m *MsgClaimMintReward) GetDenom() string
func (*MsgClaimMintReward) GetMintIndex ¶
func (m *MsgClaimMintReward) GetMintIndex() uint64
func (*MsgClaimMintReward) GetSignBytes ¶
func (msg *MsgClaimMintReward) GetSignBytes() []byte
func (*MsgClaimMintReward) GetSigners ¶
func (msg *MsgClaimMintReward) GetSigners() []sdk.AccAddress
func (*MsgClaimMintReward) Marshal ¶
func (m *MsgClaimMintReward) Marshal() (dAtA []byte, err error)
func (*MsgClaimMintReward) MarshalTo ¶
func (m *MsgClaimMintReward) MarshalTo(dAtA []byte) (int, error)
func (*MsgClaimMintReward) MarshalToSizedBuffer ¶
func (m *MsgClaimMintReward) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClaimMintReward) ProtoMessage ¶
func (*MsgClaimMintReward) ProtoMessage()
func (*MsgClaimMintReward) Reset ¶
func (m *MsgClaimMintReward) Reset()
func (*MsgClaimMintReward) Route ¶
func (msg *MsgClaimMintReward) Route() string
func (*MsgClaimMintReward) Size ¶
func (m *MsgClaimMintReward) Size() (n int)
func (*MsgClaimMintReward) String ¶
func (m *MsgClaimMintReward) String() string
func (*MsgClaimMintReward) Type ¶
func (msg *MsgClaimMintReward) Type() string
func (*MsgClaimMintReward) Unmarshal ¶
func (m *MsgClaimMintReward) Unmarshal(dAtA []byte) error
func (*MsgClaimMintReward) ValidateBasic ¶
func (msg *MsgClaimMintReward) ValidateBasic() error
func (*MsgClaimMintReward) XXX_DiscardUnknown ¶
func (m *MsgClaimMintReward) XXX_DiscardUnknown()
func (*MsgClaimMintReward) XXX_Marshal ¶
func (m *MsgClaimMintReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClaimMintReward) XXX_Merge ¶
func (m *MsgClaimMintReward) XXX_Merge(src proto.Message)
func (*MsgClaimMintReward) XXX_Size ¶
func (m *MsgClaimMintReward) XXX_Size() int
func (*MsgClaimMintReward) XXX_Unmarshal ¶
func (m *MsgClaimMintReward) XXX_Unmarshal(b []byte) error
type MsgClaimMintRewardResponse ¶
type MsgClaimMintRewardResponse struct { }
func (*MsgClaimMintRewardResponse) Descriptor ¶
func (*MsgClaimMintRewardResponse) Descriptor() ([]byte, []int)
func (*MsgClaimMintRewardResponse) Marshal ¶
func (m *MsgClaimMintRewardResponse) Marshal() (dAtA []byte, err error)
func (*MsgClaimMintRewardResponse) MarshalTo ¶
func (m *MsgClaimMintRewardResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgClaimMintRewardResponse) MarshalToSizedBuffer ¶
func (m *MsgClaimMintRewardResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClaimMintRewardResponse) ProtoMessage ¶
func (*MsgClaimMintRewardResponse) ProtoMessage()
func (*MsgClaimMintRewardResponse) Reset ¶
func (m *MsgClaimMintRewardResponse) Reset()
func (*MsgClaimMintRewardResponse) Size ¶
func (m *MsgClaimMintRewardResponse) Size() (n int)
func (*MsgClaimMintRewardResponse) String ¶
func (m *MsgClaimMintRewardResponse) String() string
func (*MsgClaimMintRewardResponse) Unmarshal ¶
func (m *MsgClaimMintRewardResponse) Unmarshal(dAtA []byte) error
func (*MsgClaimMintRewardResponse) XXX_DiscardUnknown ¶
func (m *MsgClaimMintRewardResponse) XXX_DiscardUnknown()
func (*MsgClaimMintRewardResponse) XXX_Marshal ¶
func (m *MsgClaimMintRewardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClaimMintRewardResponse) XXX_Merge ¶
func (m *MsgClaimMintRewardResponse) XXX_Merge(src proto.Message)
func (*MsgClaimMintRewardResponse) XXX_Size ¶
func (m *MsgClaimMintRewardResponse) XXX_Size() int
func (*MsgClaimMintRewardResponse) XXX_Unmarshal ¶
func (m *MsgClaimMintRewardResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { AddMintRewardAct(ctx context.Context, in *MsgAddMintRewardAct, opts ...grpc.CallOption) (*MsgAddMintRewardActResponse, error) UpdateMintRewardAct(ctx context.Context, in *MsgUpdateMintRewardAct, opts ...grpc.CallOption) (*MsgUpdateMintRewardActResponse, error) ClaimMintReward(ctx context.Context, in *MsgClaimMintReward, opts ...grpc.CallOption) (*MsgClaimMintRewardResponse, error) ProvideRewardToken(ctx context.Context, in *MsgProvideRewardToken, opts ...grpc.CallOption) (*MsgProvideRewardTokenResponse, 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 MsgProvideRewardToken ¶
type MsgProvideRewardToken struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Amount github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,2,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"amount"` }
func NewMsgProvideRewardToken ¶
func NewMsgProvideRewardToken(creator string, amount sdk.Coin) *MsgProvideRewardToken
func (*MsgProvideRewardToken) Descriptor ¶
func (*MsgProvideRewardToken) Descriptor() ([]byte, []int)
func (*MsgProvideRewardToken) GetCreator ¶
func (m *MsgProvideRewardToken) GetCreator() string
func (*MsgProvideRewardToken) GetSignBytes ¶
func (msg *MsgProvideRewardToken) GetSignBytes() []byte
func (*MsgProvideRewardToken) GetSigners ¶
func (msg *MsgProvideRewardToken) GetSigners() []sdk.AccAddress
func (*MsgProvideRewardToken) Marshal ¶
func (m *MsgProvideRewardToken) Marshal() (dAtA []byte, err error)
func (*MsgProvideRewardToken) MarshalTo ¶
func (m *MsgProvideRewardToken) MarshalTo(dAtA []byte) (int, error)
func (*MsgProvideRewardToken) MarshalToSizedBuffer ¶
func (m *MsgProvideRewardToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgProvideRewardToken) ProtoMessage ¶
func (*MsgProvideRewardToken) ProtoMessage()
func (*MsgProvideRewardToken) Reset ¶
func (m *MsgProvideRewardToken) Reset()
func (*MsgProvideRewardToken) Route ¶
func (msg *MsgProvideRewardToken) Route() string
func (*MsgProvideRewardToken) Size ¶
func (m *MsgProvideRewardToken) Size() (n int)
func (*MsgProvideRewardToken) String ¶
func (m *MsgProvideRewardToken) String() string
func (*MsgProvideRewardToken) Type ¶
func (msg *MsgProvideRewardToken) Type() string
func (*MsgProvideRewardToken) Unmarshal ¶
func (m *MsgProvideRewardToken) Unmarshal(dAtA []byte) error
func (*MsgProvideRewardToken) ValidateBasic ¶
func (msg *MsgProvideRewardToken) ValidateBasic() error
func (*MsgProvideRewardToken) XXX_DiscardUnknown ¶
func (m *MsgProvideRewardToken) XXX_DiscardUnknown()
func (*MsgProvideRewardToken) XXX_Marshal ¶
func (m *MsgProvideRewardToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgProvideRewardToken) XXX_Merge ¶
func (m *MsgProvideRewardToken) XXX_Merge(src proto.Message)
func (*MsgProvideRewardToken) XXX_Size ¶
func (m *MsgProvideRewardToken) XXX_Size() int
func (*MsgProvideRewardToken) XXX_Unmarshal ¶
func (m *MsgProvideRewardToken) XXX_Unmarshal(b []byte) error
type MsgProvideRewardTokenResponse ¶
type MsgProvideRewardTokenResponse struct { }
func (*MsgProvideRewardTokenResponse) Descriptor ¶
func (*MsgProvideRewardTokenResponse) Descriptor() ([]byte, []int)
func (*MsgProvideRewardTokenResponse) Marshal ¶
func (m *MsgProvideRewardTokenResponse) Marshal() (dAtA []byte, err error)
func (*MsgProvideRewardTokenResponse) MarshalTo ¶
func (m *MsgProvideRewardTokenResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgProvideRewardTokenResponse) MarshalToSizedBuffer ¶
func (m *MsgProvideRewardTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgProvideRewardTokenResponse) ProtoMessage ¶
func (*MsgProvideRewardTokenResponse) ProtoMessage()
func (*MsgProvideRewardTokenResponse) Reset ¶
func (m *MsgProvideRewardTokenResponse) Reset()
func (*MsgProvideRewardTokenResponse) Size ¶
func (m *MsgProvideRewardTokenResponse) Size() (n int)
func (*MsgProvideRewardTokenResponse) String ¶
func (m *MsgProvideRewardTokenResponse) String() string
func (*MsgProvideRewardTokenResponse) Unmarshal ¶
func (m *MsgProvideRewardTokenResponse) Unmarshal(dAtA []byte) error
func (*MsgProvideRewardTokenResponse) XXX_DiscardUnknown ¶
func (m *MsgProvideRewardTokenResponse) XXX_DiscardUnknown()
func (*MsgProvideRewardTokenResponse) XXX_Marshal ¶
func (m *MsgProvideRewardTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgProvideRewardTokenResponse) XXX_Merge ¶
func (m *MsgProvideRewardTokenResponse) XXX_Merge(src proto.Message)
func (*MsgProvideRewardTokenResponse) XXX_Size ¶
func (m *MsgProvideRewardTokenResponse) XXX_Size() int
func (*MsgProvideRewardTokenResponse) XXX_Unmarshal ¶
func (m *MsgProvideRewardTokenResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { AddMintRewardAct(context.Context, *MsgAddMintRewardAct) (*MsgAddMintRewardActResponse, error) UpdateMintRewardAct(context.Context, *MsgUpdateMintRewardAct) (*MsgUpdateMintRewardActResponse, error) ClaimMintReward(context.Context, *MsgClaimMintReward) (*MsgClaimMintRewardResponse, error) ProvideRewardToken(context.Context, *MsgProvideRewardToken) (*MsgProvideRewardTokenResponse, error) }
MsgServer is the server API for Msg service.
type MsgUpdateMintRewardAct ¶
type MsgUpdateMintRewardAct struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` Cycle uint64 `protobuf:"varint,3,opt,name=cycle,proto3" json:"cycle"` Act *MintRewardActPost `protobuf:"bytes,4,opt,name=act,proto3" json:"act,omitempty"` }
func NewMsgUpdateMintRewardAct ¶
func NewMsgUpdateMintRewardAct(creator string, denom string, cycle uint64, act *MintRewardActPost) *MsgUpdateMintRewardAct
func (*MsgUpdateMintRewardAct) Descriptor ¶
func (*MsgUpdateMintRewardAct) Descriptor() ([]byte, []int)
func (*MsgUpdateMintRewardAct) GetAct ¶
func (m *MsgUpdateMintRewardAct) GetAct() *MintRewardActPost
func (*MsgUpdateMintRewardAct) GetCreator ¶
func (m *MsgUpdateMintRewardAct) GetCreator() string
func (*MsgUpdateMintRewardAct) GetCycle ¶
func (m *MsgUpdateMintRewardAct) GetCycle() uint64
func (*MsgUpdateMintRewardAct) GetDenom ¶
func (m *MsgUpdateMintRewardAct) GetDenom() string
func (*MsgUpdateMintRewardAct) GetSignBytes ¶
func (msg *MsgUpdateMintRewardAct) GetSignBytes() []byte
func (*MsgUpdateMintRewardAct) GetSigners ¶
func (msg *MsgUpdateMintRewardAct) GetSigners() []sdk.AccAddress
func (*MsgUpdateMintRewardAct) Marshal ¶
func (m *MsgUpdateMintRewardAct) Marshal() (dAtA []byte, err error)
func (*MsgUpdateMintRewardAct) MarshalTo ¶
func (m *MsgUpdateMintRewardAct) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateMintRewardAct) MarshalToSizedBuffer ¶
func (m *MsgUpdateMintRewardAct) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateMintRewardAct) ProtoMessage ¶
func (*MsgUpdateMintRewardAct) ProtoMessage()
func (*MsgUpdateMintRewardAct) Reset ¶
func (m *MsgUpdateMintRewardAct) Reset()
func (*MsgUpdateMintRewardAct) Route ¶
func (msg *MsgUpdateMintRewardAct) Route() string
func (*MsgUpdateMintRewardAct) Size ¶
func (m *MsgUpdateMintRewardAct) Size() (n int)
func (*MsgUpdateMintRewardAct) String ¶
func (m *MsgUpdateMintRewardAct) String() string
func (*MsgUpdateMintRewardAct) Type ¶
func (msg *MsgUpdateMintRewardAct) Type() string
func (*MsgUpdateMintRewardAct) Unmarshal ¶
func (m *MsgUpdateMintRewardAct) Unmarshal(dAtA []byte) error
func (*MsgUpdateMintRewardAct) ValidateBasic ¶
func (msg *MsgUpdateMintRewardAct) ValidateBasic() error
func (*MsgUpdateMintRewardAct) XXX_DiscardUnknown ¶
func (m *MsgUpdateMintRewardAct) XXX_DiscardUnknown()
func (*MsgUpdateMintRewardAct) XXX_Marshal ¶
func (m *MsgUpdateMintRewardAct) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateMintRewardAct) XXX_Merge ¶
func (m *MsgUpdateMintRewardAct) XXX_Merge(src proto.Message)
func (*MsgUpdateMintRewardAct) XXX_Size ¶
func (m *MsgUpdateMintRewardAct) XXX_Size() int
func (*MsgUpdateMintRewardAct) XXX_Unmarshal ¶
func (m *MsgUpdateMintRewardAct) XXX_Unmarshal(b []byte) error
type MsgUpdateMintRewardActResponse ¶
type MsgUpdateMintRewardActResponse struct { }
func (*MsgUpdateMintRewardActResponse) Descriptor ¶
func (*MsgUpdateMintRewardActResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateMintRewardActResponse) Marshal ¶
func (m *MsgUpdateMintRewardActResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateMintRewardActResponse) MarshalTo ¶
func (m *MsgUpdateMintRewardActResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateMintRewardActResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateMintRewardActResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateMintRewardActResponse) ProtoMessage ¶
func (*MsgUpdateMintRewardActResponse) ProtoMessage()
func (*MsgUpdateMintRewardActResponse) Reset ¶
func (m *MsgUpdateMintRewardActResponse) Reset()
func (*MsgUpdateMintRewardActResponse) Size ¶
func (m *MsgUpdateMintRewardActResponse) Size() (n int)
func (*MsgUpdateMintRewardActResponse) String ¶
func (m *MsgUpdateMintRewardActResponse) String() string
func (*MsgUpdateMintRewardActResponse) Unmarshal ¶
func (m *MsgUpdateMintRewardActResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateMintRewardActResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateMintRewardActResponse) XXX_DiscardUnknown()
func (*MsgUpdateMintRewardActResponse) XXX_Marshal ¶
func (m *MsgUpdateMintRewardActResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateMintRewardActResponse) XXX_Merge ¶
func (m *MsgUpdateMintRewardActResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateMintRewardActResponse) XXX_Size ¶
func (m *MsgUpdateMintRewardActResponse) XXX_Size() int
func (*MsgUpdateMintRewardActResponse) XXX_Unmarshal ¶
func (m *MsgUpdateMintRewardActResponse) XXX_Unmarshal(b []byte) error
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 QueryActCurrentCycleRequest ¶
type QueryActCurrentCycleRequest struct {
Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
}
func (*QueryActCurrentCycleRequest) Descriptor ¶
func (*QueryActCurrentCycleRequest) Descriptor() ([]byte, []int)
func (*QueryActCurrentCycleRequest) GetDenom ¶
func (m *QueryActCurrentCycleRequest) GetDenom() string
func (*QueryActCurrentCycleRequest) Marshal ¶
func (m *QueryActCurrentCycleRequest) Marshal() (dAtA []byte, err error)
func (*QueryActCurrentCycleRequest) MarshalTo ¶
func (m *QueryActCurrentCycleRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryActCurrentCycleRequest) MarshalToSizedBuffer ¶
func (m *QueryActCurrentCycleRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryActCurrentCycleRequest) ProtoMessage ¶
func (*QueryActCurrentCycleRequest) ProtoMessage()
func (*QueryActCurrentCycleRequest) Reset ¶
func (m *QueryActCurrentCycleRequest) Reset()
func (*QueryActCurrentCycleRequest) Size ¶
func (m *QueryActCurrentCycleRequest) Size() (n int)
func (*QueryActCurrentCycleRequest) String ¶
func (m *QueryActCurrentCycleRequest) String() string
func (*QueryActCurrentCycleRequest) Unmarshal ¶
func (m *QueryActCurrentCycleRequest) Unmarshal(dAtA []byte) error
func (*QueryActCurrentCycleRequest) XXX_DiscardUnknown ¶
func (m *QueryActCurrentCycleRequest) XXX_DiscardUnknown()
func (*QueryActCurrentCycleRequest) XXX_Marshal ¶
func (m *QueryActCurrentCycleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryActCurrentCycleRequest) XXX_Merge ¶
func (m *QueryActCurrentCycleRequest) XXX_Merge(src proto.Message)
func (*QueryActCurrentCycleRequest) XXX_Size ¶
func (m *QueryActCurrentCycleRequest) XXX_Size() int
func (*QueryActCurrentCycleRequest) XXX_Unmarshal ¶
func (m *QueryActCurrentCycleRequest) XXX_Unmarshal(b []byte) error
type QueryActCurrentCycleResponse ¶
type QueryActCurrentCycleResponse struct {
CurrentCycle uint64 `protobuf:"varint,1,opt,name=currentCycle,proto3" json:"currentCycle,omitempty"`
}
func (*QueryActCurrentCycleResponse) Descriptor ¶
func (*QueryActCurrentCycleResponse) Descriptor() ([]byte, []int)
func (*QueryActCurrentCycleResponse) GetCurrentCycle ¶
func (m *QueryActCurrentCycleResponse) GetCurrentCycle() uint64
func (*QueryActCurrentCycleResponse) Marshal ¶
func (m *QueryActCurrentCycleResponse) Marshal() (dAtA []byte, err error)
func (*QueryActCurrentCycleResponse) MarshalTo ¶
func (m *QueryActCurrentCycleResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryActCurrentCycleResponse) MarshalToSizedBuffer ¶
func (m *QueryActCurrentCycleResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryActCurrentCycleResponse) ProtoMessage ¶
func (*QueryActCurrentCycleResponse) ProtoMessage()
func (*QueryActCurrentCycleResponse) Reset ¶
func (m *QueryActCurrentCycleResponse) Reset()
func (*QueryActCurrentCycleResponse) Size ¶
func (m *QueryActCurrentCycleResponse) Size() (n int)
func (*QueryActCurrentCycleResponse) String ¶
func (m *QueryActCurrentCycleResponse) String() string
func (*QueryActCurrentCycleResponse) Unmarshal ¶
func (m *QueryActCurrentCycleResponse) Unmarshal(dAtA []byte) error
func (*QueryActCurrentCycleResponse) XXX_DiscardUnknown ¶
func (m *QueryActCurrentCycleResponse) XXX_DiscardUnknown()
func (*QueryActCurrentCycleResponse) XXX_Marshal ¶
func (m *QueryActCurrentCycleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryActCurrentCycleResponse) XXX_Merge ¶
func (m *QueryActCurrentCycleResponse) XXX_Merge(src proto.Message)
func (*QueryActCurrentCycleResponse) XXX_Size ¶
func (m *QueryActCurrentCycleResponse) XXX_Size() int
func (*QueryActCurrentCycleResponse) XXX_Unmarshal ¶
func (m *QueryActCurrentCycleResponse) XXX_Unmarshal(b []byte) error
type QueryActDetailRequest ¶
type QueryActDetailRequest struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` Cycle uint64 `protobuf:"varint,2,opt,name=cycle,proto3" json:"cycle,omitempty"` }
func (*QueryActDetailRequest) Descriptor ¶
func (*QueryActDetailRequest) Descriptor() ([]byte, []int)
func (*QueryActDetailRequest) GetCycle ¶
func (m *QueryActDetailRequest) GetCycle() uint64
func (*QueryActDetailRequest) GetDenom ¶
func (m *QueryActDetailRequest) GetDenom() string
func (*QueryActDetailRequest) Marshal ¶
func (m *QueryActDetailRequest) Marshal() (dAtA []byte, err error)
func (*QueryActDetailRequest) MarshalTo ¶
func (m *QueryActDetailRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryActDetailRequest) MarshalToSizedBuffer ¶
func (m *QueryActDetailRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryActDetailRequest) ProtoMessage ¶
func (*QueryActDetailRequest) ProtoMessage()
func (*QueryActDetailRequest) Reset ¶
func (m *QueryActDetailRequest) Reset()
func (*QueryActDetailRequest) Size ¶
func (m *QueryActDetailRequest) Size() (n int)
func (*QueryActDetailRequest) String ¶
func (m *QueryActDetailRequest) String() string
func (*QueryActDetailRequest) Unmarshal ¶
func (m *QueryActDetailRequest) Unmarshal(dAtA []byte) error
func (*QueryActDetailRequest) XXX_DiscardUnknown ¶
func (m *QueryActDetailRequest) XXX_DiscardUnknown()
func (*QueryActDetailRequest) XXX_Marshal ¶
func (m *QueryActDetailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryActDetailRequest) XXX_Merge ¶
func (m *QueryActDetailRequest) XXX_Merge(src proto.Message)
func (*QueryActDetailRequest) XXX_Size ¶
func (m *QueryActDetailRequest) XXX_Size() int
func (*QueryActDetailRequest) XXX_Unmarshal ¶
func (m *QueryActDetailRequest) XXX_Unmarshal(b []byte) error
type QueryActDetailResponse ¶
type QueryActDetailResponse struct {
Act *MintRewardAct `protobuf:"bytes,4,opt,name=act,proto3" json:"act,omitempty"`
}
func (*QueryActDetailResponse) Descriptor ¶
func (*QueryActDetailResponse) Descriptor() ([]byte, []int)
func (*QueryActDetailResponse) GetAct ¶
func (m *QueryActDetailResponse) GetAct() *MintRewardAct
func (*QueryActDetailResponse) Marshal ¶
func (m *QueryActDetailResponse) Marshal() (dAtA []byte, err error)
func (*QueryActDetailResponse) MarshalTo ¶
func (m *QueryActDetailResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryActDetailResponse) MarshalToSizedBuffer ¶
func (m *QueryActDetailResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryActDetailResponse) ProtoMessage ¶
func (*QueryActDetailResponse) ProtoMessage()
func (*QueryActDetailResponse) Reset ¶
func (m *QueryActDetailResponse) Reset()
func (*QueryActDetailResponse) Size ¶
func (m *QueryActDetailResponse) Size() (n int)
func (*QueryActDetailResponse) String ¶
func (m *QueryActDetailResponse) String() string
func (*QueryActDetailResponse) Unmarshal ¶
func (m *QueryActDetailResponse) Unmarshal(dAtA []byte) error
func (*QueryActDetailResponse) XXX_DiscardUnknown ¶
func (m *QueryActDetailResponse) XXX_DiscardUnknown()
func (*QueryActDetailResponse) XXX_Marshal ¶
func (m *QueryActDetailResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryActDetailResponse) XXX_Merge ¶
func (m *QueryActDetailResponse) XXX_Merge(src proto.Message)
func (*QueryActDetailResponse) XXX_Size ¶
func (m *QueryActDetailResponse) XXX_Size() int
func (*QueryActDetailResponse) XXX_Unmarshal ¶
func (m *QueryActDetailResponse) XXX_Unmarshal(b []byte) error
type QueryActLatestCycleRequest ¶
type QueryActLatestCycleRequest struct {
Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
}
func (*QueryActLatestCycleRequest) Descriptor ¶
func (*QueryActLatestCycleRequest) Descriptor() ([]byte, []int)
func (*QueryActLatestCycleRequest) GetDenom ¶
func (m *QueryActLatestCycleRequest) GetDenom() string
func (*QueryActLatestCycleRequest) Marshal ¶
func (m *QueryActLatestCycleRequest) Marshal() (dAtA []byte, err error)
func (*QueryActLatestCycleRequest) MarshalTo ¶
func (m *QueryActLatestCycleRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryActLatestCycleRequest) MarshalToSizedBuffer ¶
func (m *QueryActLatestCycleRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryActLatestCycleRequest) ProtoMessage ¶
func (*QueryActLatestCycleRequest) ProtoMessage()
func (*QueryActLatestCycleRequest) Reset ¶
func (m *QueryActLatestCycleRequest) Reset()
func (*QueryActLatestCycleRequest) Size ¶
func (m *QueryActLatestCycleRequest) Size() (n int)
func (*QueryActLatestCycleRequest) String ¶
func (m *QueryActLatestCycleRequest) String() string
func (*QueryActLatestCycleRequest) Unmarshal ¶
func (m *QueryActLatestCycleRequest) Unmarshal(dAtA []byte) error
func (*QueryActLatestCycleRequest) XXX_DiscardUnknown ¶
func (m *QueryActLatestCycleRequest) XXX_DiscardUnknown()
func (*QueryActLatestCycleRequest) XXX_Marshal ¶
func (m *QueryActLatestCycleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryActLatestCycleRequest) XXX_Merge ¶
func (m *QueryActLatestCycleRequest) XXX_Merge(src proto.Message)
func (*QueryActLatestCycleRequest) XXX_Size ¶
func (m *QueryActLatestCycleRequest) XXX_Size() int
func (*QueryActLatestCycleRequest) XXX_Unmarshal ¶
func (m *QueryActLatestCycleRequest) XXX_Unmarshal(b []byte) error
type QueryActLatestCycleResponse ¶
type QueryActLatestCycleResponse struct {
LatestCycle uint64 `protobuf:"varint,1,opt,name=latestCycle,proto3" json:"latestCycle,omitempty"`
}
func (*QueryActLatestCycleResponse) Descriptor ¶
func (*QueryActLatestCycleResponse) Descriptor() ([]byte, []int)
func (*QueryActLatestCycleResponse) GetLatestCycle ¶
func (m *QueryActLatestCycleResponse) GetLatestCycle() uint64
func (*QueryActLatestCycleResponse) Marshal ¶
func (m *QueryActLatestCycleResponse) Marshal() (dAtA []byte, err error)
func (*QueryActLatestCycleResponse) MarshalTo ¶
func (m *QueryActLatestCycleResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryActLatestCycleResponse) MarshalToSizedBuffer ¶
func (m *QueryActLatestCycleResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryActLatestCycleResponse) ProtoMessage ¶
func (*QueryActLatestCycleResponse) ProtoMessage()
func (*QueryActLatestCycleResponse) Reset ¶
func (m *QueryActLatestCycleResponse) Reset()
func (*QueryActLatestCycleResponse) Size ¶
func (m *QueryActLatestCycleResponse) Size() (n int)
func (*QueryActLatestCycleResponse) String ¶
func (m *QueryActLatestCycleResponse) String() string
func (*QueryActLatestCycleResponse) Unmarshal ¶
func (m *QueryActLatestCycleResponse) Unmarshal(dAtA []byte) error
func (*QueryActLatestCycleResponse) XXX_DiscardUnknown ¶
func (m *QueryActLatestCycleResponse) XXX_DiscardUnknown()
func (*QueryActLatestCycleResponse) XXX_Marshal ¶
func (m *QueryActLatestCycleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryActLatestCycleResponse) XXX_Merge ¶
func (m *QueryActLatestCycleResponse) XXX_Merge(src proto.Message)
func (*QueryActLatestCycleResponse) XXX_Size ¶
func (m *QueryActLatestCycleResponse) XXX_Size() int
func (*QueryActLatestCycleResponse) XXX_Unmarshal ¶
func (m *QueryActLatestCycleResponse) XXX_Unmarshal(b []byte) error
type QueryClaimInfoDetailRequest ¶
type QueryClaimInfoDetailRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` Cycle uint64 `protobuf:"varint,3,opt,name=cycle,proto3" json:"cycle,omitempty"` MintIndex uint64 `protobuf:"varint,4,opt,name=mintIndex,proto3" json:"mintIndex,omitempty"` }
func (*QueryClaimInfoDetailRequest) Descriptor ¶
func (*QueryClaimInfoDetailRequest) Descriptor() ([]byte, []int)
func (*QueryClaimInfoDetailRequest) GetAddress ¶
func (m *QueryClaimInfoDetailRequest) GetAddress() string
func (*QueryClaimInfoDetailRequest) GetCycle ¶
func (m *QueryClaimInfoDetailRequest) GetCycle() uint64
func (*QueryClaimInfoDetailRequest) GetDenom ¶
func (m *QueryClaimInfoDetailRequest) GetDenom() string
func (*QueryClaimInfoDetailRequest) GetMintIndex ¶
func (m *QueryClaimInfoDetailRequest) GetMintIndex() uint64
func (*QueryClaimInfoDetailRequest) Marshal ¶
func (m *QueryClaimInfoDetailRequest) Marshal() (dAtA []byte, err error)
func (*QueryClaimInfoDetailRequest) MarshalTo ¶
func (m *QueryClaimInfoDetailRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryClaimInfoDetailRequest) MarshalToSizedBuffer ¶
func (m *QueryClaimInfoDetailRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryClaimInfoDetailRequest) ProtoMessage ¶
func (*QueryClaimInfoDetailRequest) ProtoMessage()
func (*QueryClaimInfoDetailRequest) Reset ¶
func (m *QueryClaimInfoDetailRequest) Reset()
func (*QueryClaimInfoDetailRequest) Size ¶
func (m *QueryClaimInfoDetailRequest) Size() (n int)
func (*QueryClaimInfoDetailRequest) String ¶
func (m *QueryClaimInfoDetailRequest) String() string
func (*QueryClaimInfoDetailRequest) Unmarshal ¶
func (m *QueryClaimInfoDetailRequest) Unmarshal(dAtA []byte) error
func (*QueryClaimInfoDetailRequest) XXX_DiscardUnknown ¶
func (m *QueryClaimInfoDetailRequest) XXX_DiscardUnknown()
func (*QueryClaimInfoDetailRequest) XXX_Marshal ¶
func (m *QueryClaimInfoDetailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryClaimInfoDetailRequest) XXX_Merge ¶
func (m *QueryClaimInfoDetailRequest) XXX_Merge(src proto.Message)
func (*QueryClaimInfoDetailRequest) XXX_Size ¶
func (m *QueryClaimInfoDetailRequest) XXX_Size() int
func (*QueryClaimInfoDetailRequest) XXX_Unmarshal ¶
func (m *QueryClaimInfoDetailRequest) XXX_Unmarshal(b []byte) error
type QueryClaimInfoDetailResponse ¶
type QueryClaimInfoDetailResponse struct {
ClaimInfo *UserClaimInfo `protobuf:"bytes,1,opt,name=claimInfo,proto3" json:"claimInfo,omitempty"`
}
func (*QueryClaimInfoDetailResponse) Descriptor ¶
func (*QueryClaimInfoDetailResponse) Descriptor() ([]byte, []int)
func (*QueryClaimInfoDetailResponse) GetClaimInfo ¶
func (m *QueryClaimInfoDetailResponse) GetClaimInfo() *UserClaimInfo
func (*QueryClaimInfoDetailResponse) Marshal ¶
func (m *QueryClaimInfoDetailResponse) Marshal() (dAtA []byte, err error)
func (*QueryClaimInfoDetailResponse) MarshalTo ¶
func (m *QueryClaimInfoDetailResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryClaimInfoDetailResponse) MarshalToSizedBuffer ¶
func (m *QueryClaimInfoDetailResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryClaimInfoDetailResponse) ProtoMessage ¶
func (*QueryClaimInfoDetailResponse) ProtoMessage()
func (*QueryClaimInfoDetailResponse) Reset ¶
func (m *QueryClaimInfoDetailResponse) Reset()
func (*QueryClaimInfoDetailResponse) Size ¶
func (m *QueryClaimInfoDetailResponse) Size() (n int)
func (*QueryClaimInfoDetailResponse) String ¶
func (m *QueryClaimInfoDetailResponse) String() string
func (*QueryClaimInfoDetailResponse) Unmarshal ¶
func (m *QueryClaimInfoDetailResponse) Unmarshal(dAtA []byte) error
func (*QueryClaimInfoDetailResponse) XXX_DiscardUnknown ¶
func (m *QueryClaimInfoDetailResponse) XXX_DiscardUnknown()
func (*QueryClaimInfoDetailResponse) XXX_Marshal ¶
func (m *QueryClaimInfoDetailResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryClaimInfoDetailResponse) XXX_Merge ¶
func (m *QueryClaimInfoDetailResponse) XXX_Merge(src proto.Message)
func (*QueryClaimInfoDetailResponse) XXX_Size ¶
func (m *QueryClaimInfoDetailResponse) XXX_Size() int
func (*QueryClaimInfoDetailResponse) XXX_Unmarshal ¶
func (m *QueryClaimInfoDetailResponse) 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 ActLatestCycle items. ActLatestCycle(ctx context.Context, in *QueryActLatestCycleRequest, opts ...grpc.CallOption) (*QueryActLatestCycleResponse, error) // Queries a list of ActDetail items. ActDetail(ctx context.Context, in *QueryActDetailRequest, opts ...grpc.CallOption) (*QueryActDetailResponse, error) // Queries a list of UserMintCount items. UserMintCount(ctx context.Context, in *QueryUserMintCountRequest, opts ...grpc.CallOption) (*QueryUserMintCountResponse, error) // Queries a list of UserActs items. UserActs(ctx context.Context, in *QueryUserActsRequest, opts ...grpc.CallOption) (*QueryUserActsResponse, error) // Queries a list of ActCurrentCycle items. ActCurrentCycle(ctx context.Context, in *QueryActCurrentCycleRequest, opts ...grpc.CallOption) (*QueryActCurrentCycleResponse, error) // Queries a list of ClaimInfoDetail items. ClaimInfoDetail(ctx context.Context, in *QueryClaimInfoDetailRequest, opts ...grpc.CallOption) (*QueryClaimInfoDetailResponse, 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 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 ActLatestCycle items. ActLatestCycle(context.Context, *QueryActLatestCycleRequest) (*QueryActLatestCycleResponse, error) // Queries a list of ActDetail items. ActDetail(context.Context, *QueryActDetailRequest) (*QueryActDetailResponse, error) // Queries a list of UserMintCount items. UserMintCount(context.Context, *QueryUserMintCountRequest) (*QueryUserMintCountResponse, error) // Queries a list of UserActs items. UserActs(context.Context, *QueryUserActsRequest) (*QueryUserActsResponse, error) // Queries a list of ActCurrentCycle items. ActCurrentCycle(context.Context, *QueryActCurrentCycleRequest) (*QueryActCurrentCycleResponse, error) // Queries a list of ClaimInfoDetail items. ClaimInfoDetail(context.Context, *QueryClaimInfoDetailRequest) (*QueryClaimInfoDetailResponse, error) }
QueryServer is the server API for Query service.
type QueryUserActsRequest ¶
type QueryUserActsRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` }
func (*QueryUserActsRequest) Descriptor ¶
func (*QueryUserActsRequest) Descriptor() ([]byte, []int)
func (*QueryUserActsRequest) GetAddress ¶
func (m *QueryUserActsRequest) GetAddress() string
func (*QueryUserActsRequest) GetDenom ¶
func (m *QueryUserActsRequest) GetDenom() string
func (*QueryUserActsRequest) Marshal ¶
func (m *QueryUserActsRequest) Marshal() (dAtA []byte, err error)
func (*QueryUserActsRequest) MarshalTo ¶
func (m *QueryUserActsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryUserActsRequest) MarshalToSizedBuffer ¶
func (m *QueryUserActsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUserActsRequest) ProtoMessage ¶
func (*QueryUserActsRequest) ProtoMessage()
func (*QueryUserActsRequest) Reset ¶
func (m *QueryUserActsRequest) Reset()
func (*QueryUserActsRequest) Size ¶
func (m *QueryUserActsRequest) Size() (n int)
func (*QueryUserActsRequest) String ¶
func (m *QueryUserActsRequest) String() string
func (*QueryUserActsRequest) Unmarshal ¶
func (m *QueryUserActsRequest) Unmarshal(dAtA []byte) error
func (*QueryUserActsRequest) XXX_DiscardUnknown ¶
func (m *QueryUserActsRequest) XXX_DiscardUnknown()
func (*QueryUserActsRequest) XXX_Marshal ¶
func (m *QueryUserActsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUserActsRequest) XXX_Merge ¶
func (m *QueryUserActsRequest) XXX_Merge(src proto.Message)
func (*QueryUserActsRequest) XXX_Size ¶
func (m *QueryUserActsRequest) XXX_Size() int
func (*QueryUserActsRequest) XXX_Unmarshal ¶
func (m *QueryUserActsRequest) XXX_Unmarshal(b []byte) error
type QueryUserActsResponse ¶
type QueryUserActsResponse struct {
Acts *Acts `protobuf:"bytes,1,opt,name=acts,proto3" json:"acts,omitempty"`
}
func (*QueryUserActsResponse) Descriptor ¶
func (*QueryUserActsResponse) Descriptor() ([]byte, []int)
func (*QueryUserActsResponse) GetActs ¶
func (m *QueryUserActsResponse) GetActs() *Acts
func (*QueryUserActsResponse) Marshal ¶
func (m *QueryUserActsResponse) Marshal() (dAtA []byte, err error)
func (*QueryUserActsResponse) MarshalTo ¶
func (m *QueryUserActsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryUserActsResponse) MarshalToSizedBuffer ¶
func (m *QueryUserActsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUserActsResponse) ProtoMessage ¶
func (*QueryUserActsResponse) ProtoMessage()
func (*QueryUserActsResponse) Reset ¶
func (m *QueryUserActsResponse) Reset()
func (*QueryUserActsResponse) Size ¶
func (m *QueryUserActsResponse) Size() (n int)
func (*QueryUserActsResponse) String ¶
func (m *QueryUserActsResponse) String() string
func (*QueryUserActsResponse) Unmarshal ¶
func (m *QueryUserActsResponse) Unmarshal(dAtA []byte) error
func (*QueryUserActsResponse) XXX_DiscardUnknown ¶
func (m *QueryUserActsResponse) XXX_DiscardUnknown()
func (*QueryUserActsResponse) XXX_Marshal ¶
func (m *QueryUserActsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUserActsResponse) XXX_Merge ¶
func (m *QueryUserActsResponse) XXX_Merge(src proto.Message)
func (*QueryUserActsResponse) XXX_Size ¶
func (m *QueryUserActsResponse) XXX_Size() int
func (*QueryUserActsResponse) XXX_Unmarshal ¶
func (m *QueryUserActsResponse) XXX_Unmarshal(b []byte) error
type QueryUserMintCountRequest ¶
type QueryUserMintCountRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` Cycle uint64 `protobuf:"varint,3,opt,name=cycle,proto3" json:"cycle,omitempty"` }
func (*QueryUserMintCountRequest) Descriptor ¶
func (*QueryUserMintCountRequest) Descriptor() ([]byte, []int)
func (*QueryUserMintCountRequest) GetAddress ¶
func (m *QueryUserMintCountRequest) GetAddress() string
func (*QueryUserMintCountRequest) GetCycle ¶
func (m *QueryUserMintCountRequest) GetCycle() uint64
func (*QueryUserMintCountRequest) GetDenom ¶
func (m *QueryUserMintCountRequest) GetDenom() string
func (*QueryUserMintCountRequest) Marshal ¶
func (m *QueryUserMintCountRequest) Marshal() (dAtA []byte, err error)
func (*QueryUserMintCountRequest) MarshalTo ¶
func (m *QueryUserMintCountRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryUserMintCountRequest) MarshalToSizedBuffer ¶
func (m *QueryUserMintCountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUserMintCountRequest) ProtoMessage ¶
func (*QueryUserMintCountRequest) ProtoMessage()
func (*QueryUserMintCountRequest) Reset ¶
func (m *QueryUserMintCountRequest) Reset()
func (*QueryUserMintCountRequest) Size ¶
func (m *QueryUserMintCountRequest) Size() (n int)
func (*QueryUserMintCountRequest) String ¶
func (m *QueryUserMintCountRequest) String() string
func (*QueryUserMintCountRequest) Unmarshal ¶
func (m *QueryUserMintCountRequest) Unmarshal(dAtA []byte) error
func (*QueryUserMintCountRequest) XXX_DiscardUnknown ¶
func (m *QueryUserMintCountRequest) XXX_DiscardUnknown()
func (*QueryUserMintCountRequest) XXX_Marshal ¶
func (m *QueryUserMintCountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUserMintCountRequest) XXX_Merge ¶
func (m *QueryUserMintCountRequest) XXX_Merge(src proto.Message)
func (*QueryUserMintCountRequest) XXX_Size ¶
func (m *QueryUserMintCountRequest) XXX_Size() int
func (*QueryUserMintCountRequest) XXX_Unmarshal ¶
func (m *QueryUserMintCountRequest) XXX_Unmarshal(b []byte) error
type QueryUserMintCountResponse ¶
type QueryUserMintCountResponse struct {
Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
}
func (*QueryUserMintCountResponse) Descriptor ¶
func (*QueryUserMintCountResponse) Descriptor() ([]byte, []int)
func (*QueryUserMintCountResponse) GetCount ¶
func (m *QueryUserMintCountResponse) GetCount() uint64
func (*QueryUserMintCountResponse) Marshal ¶
func (m *QueryUserMintCountResponse) Marshal() (dAtA []byte, err error)
func (*QueryUserMintCountResponse) MarshalTo ¶
func (m *QueryUserMintCountResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryUserMintCountResponse) MarshalToSizedBuffer ¶
func (m *QueryUserMintCountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUserMintCountResponse) ProtoMessage ¶
func (*QueryUserMintCountResponse) ProtoMessage()
func (*QueryUserMintCountResponse) Reset ¶
func (m *QueryUserMintCountResponse) Reset()
func (*QueryUserMintCountResponse) Size ¶
func (m *QueryUserMintCountResponse) Size() (n int)
func (*QueryUserMintCountResponse) String ¶
func (m *QueryUserMintCountResponse) String() string
func (*QueryUserMintCountResponse) Unmarshal ¶
func (m *QueryUserMintCountResponse) Unmarshal(dAtA []byte) error
func (*QueryUserMintCountResponse) XXX_DiscardUnknown ¶
func (m *QueryUserMintCountResponse) XXX_DiscardUnknown()
func (*QueryUserMintCountResponse) XXX_Marshal ¶
func (m *QueryUserMintCountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUserMintCountResponse) XXX_Merge ¶
func (m *QueryUserMintCountResponse) XXX_Merge(src proto.Message)
func (*QueryUserMintCountResponse) XXX_Size ¶
func (m *QueryUserMintCountResponse) XXX_Size() int
func (*QueryUserMintCountResponse) XXX_Unmarshal ¶
func (m *QueryUserMintCountResponse) XXX_Unmarshal(b []byte) error
type SudoKeeper ¶
type TokenClaimInfo ¶
type TokenClaimInfo struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` TotalRewardAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 127-byte string literal not displayed */ TotalClaimedAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 129-byte string literal not displayed */ }
func (*TokenClaimInfo) Descriptor ¶
func (*TokenClaimInfo) Descriptor() ([]byte, []int)
func (*TokenClaimInfo) GetDenom ¶
func (m *TokenClaimInfo) GetDenom() string
func (*TokenClaimInfo) Marshal ¶
func (m *TokenClaimInfo) Marshal() (dAtA []byte, err error)
func (*TokenClaimInfo) MarshalToSizedBuffer ¶
func (m *TokenClaimInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TokenClaimInfo) ProtoMessage ¶
func (*TokenClaimInfo) ProtoMessage()
func (*TokenClaimInfo) Reset ¶
func (m *TokenClaimInfo) Reset()
func (*TokenClaimInfo) Size ¶
func (m *TokenClaimInfo) Size() (n int)
func (*TokenClaimInfo) String ¶
func (m *TokenClaimInfo) String() string
func (*TokenClaimInfo) Unmarshal ¶
func (m *TokenClaimInfo) Unmarshal(dAtA []byte) error
func (*TokenClaimInfo) XXX_DiscardUnknown ¶
func (m *TokenClaimInfo) XXX_DiscardUnknown()
func (*TokenClaimInfo) XXX_Marshal ¶
func (m *TokenClaimInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokenClaimInfo) XXX_Merge ¶
func (m *TokenClaimInfo) XXX_Merge(src proto.Message)
func (*TokenClaimInfo) XXX_Size ¶
func (m *TokenClaimInfo) XXX_Size() int
func (*TokenClaimInfo) XXX_Unmarshal ¶
func (m *TokenClaimInfo) XXX_Unmarshal(b []byte) error
type TokenRewardInfo ¶
type TokenRewardInfo struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` RewardRate github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=rewardRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"rewardRate"` TotalRewardAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 127-byte string literal not displayed */ LeftAmount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=leftAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"leftAmount"` UserLimit github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=userLimit,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"userLimit"` }
func (*TokenRewardInfo) Descriptor ¶
func (*TokenRewardInfo) Descriptor() ([]byte, []int)
func (*TokenRewardInfo) GetDenom ¶
func (m *TokenRewardInfo) GetDenom() string
func (*TokenRewardInfo) Marshal ¶
func (m *TokenRewardInfo) Marshal() (dAtA []byte, err error)
func (*TokenRewardInfo) MarshalToSizedBuffer ¶
func (m *TokenRewardInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TokenRewardInfo) ProtoMessage ¶
func (*TokenRewardInfo) ProtoMessage()
func (*TokenRewardInfo) Reset ¶
func (m *TokenRewardInfo) Reset()
func (*TokenRewardInfo) Size ¶
func (m *TokenRewardInfo) Size() (n int)
func (*TokenRewardInfo) String ¶
func (m *TokenRewardInfo) String() string
func (*TokenRewardInfo) Unmarshal ¶
func (m *TokenRewardInfo) Unmarshal(dAtA []byte) error
func (*TokenRewardInfo) XXX_DiscardUnknown ¶
func (m *TokenRewardInfo) XXX_DiscardUnknown()
func (*TokenRewardInfo) XXX_Marshal ¶
func (m *TokenRewardInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokenRewardInfo) XXX_Merge ¶
func (m *TokenRewardInfo) XXX_Merge(src proto.Message)
func (*TokenRewardInfo) XXX_Size ¶
func (m *TokenRewardInfo) XXX_Size() int
func (*TokenRewardInfo) XXX_Unmarshal ¶
func (m *TokenRewardInfo) XXX_Unmarshal(b []byte) error
type TokenRewardInfoPost ¶
type TokenRewardInfoPost struct { Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` RewardRate github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=rewardRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"rewardRate"` TotalRewardAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 127-byte string literal not displayed */ UserLimit github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=userLimit,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"userLimit"` }
func (*TokenRewardInfoPost) Descriptor ¶
func (*TokenRewardInfoPost) Descriptor() ([]byte, []int)
func (*TokenRewardInfoPost) GetDenom ¶
func (m *TokenRewardInfoPost) GetDenom() string
func (*TokenRewardInfoPost) Marshal ¶
func (m *TokenRewardInfoPost) Marshal() (dAtA []byte, err error)
func (*TokenRewardInfoPost) MarshalTo ¶
func (m *TokenRewardInfoPost) MarshalTo(dAtA []byte) (int, error)
func (*TokenRewardInfoPost) MarshalToSizedBuffer ¶
func (m *TokenRewardInfoPost) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TokenRewardInfoPost) ProtoMessage ¶
func (*TokenRewardInfoPost) ProtoMessage()
func (*TokenRewardInfoPost) Reset ¶
func (m *TokenRewardInfoPost) Reset()
func (*TokenRewardInfoPost) Size ¶
func (m *TokenRewardInfoPost) Size() (n int)
func (*TokenRewardInfoPost) String ¶
func (m *TokenRewardInfoPost) String() string
func (*TokenRewardInfoPost) Unmarshal ¶
func (m *TokenRewardInfoPost) Unmarshal(dAtA []byte) error
func (*TokenRewardInfoPost) XXX_DiscardUnknown ¶
func (m *TokenRewardInfoPost) XXX_DiscardUnknown()
func (*TokenRewardInfoPost) XXX_Marshal ¶
func (m *TokenRewardInfoPost) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokenRewardInfoPost) XXX_Merge ¶
func (m *TokenRewardInfoPost) XXX_Merge(src proto.Message)
func (*TokenRewardInfoPost) XXX_Size ¶
func (m *TokenRewardInfoPost) XXX_Size() int
func (*TokenRewardInfoPost) XXX_Unmarshal ¶
func (m *TokenRewardInfoPost) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) AddMintRewardAct ¶
func (*UnimplementedMsgServer) AddMintRewardAct(ctx context.Context, req *MsgAddMintRewardAct) (*MsgAddMintRewardActResponse, error)
func (*UnimplementedMsgServer) ClaimMintReward ¶
func (*UnimplementedMsgServer) ClaimMintReward(ctx context.Context, req *MsgClaimMintReward) (*MsgClaimMintRewardResponse, error)
func (*UnimplementedMsgServer) ProvideRewardToken ¶
func (*UnimplementedMsgServer) ProvideRewardToken(ctx context.Context, req *MsgProvideRewardToken) (*MsgProvideRewardTokenResponse, error)
func (*UnimplementedMsgServer) UpdateMintRewardAct ¶
func (*UnimplementedMsgServer) UpdateMintRewardAct(ctx context.Context, req *MsgUpdateMintRewardAct) (*MsgUpdateMintRewardActResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) ActCurrentCycle ¶
func (*UnimplementedQueryServer) ActCurrentCycle(ctx context.Context, req *QueryActCurrentCycleRequest) (*QueryActCurrentCycleResponse, error)
func (*UnimplementedQueryServer) ActDetail ¶
func (*UnimplementedQueryServer) ActDetail(ctx context.Context, req *QueryActDetailRequest) (*QueryActDetailResponse, error)
func (*UnimplementedQueryServer) ActLatestCycle ¶
func (*UnimplementedQueryServer) ActLatestCycle(ctx context.Context, req *QueryActLatestCycleRequest) (*QueryActLatestCycleResponse, error)
func (*UnimplementedQueryServer) ClaimInfoDetail ¶
func (*UnimplementedQueryServer) ClaimInfoDetail(ctx context.Context, req *QueryClaimInfoDetailRequest) (*QueryClaimInfoDetailResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) UserActs ¶
func (*UnimplementedQueryServer) UserActs(ctx context.Context, req *QueryUserActsRequest) (*QueryUserActsResponse, error)
func (*UnimplementedQueryServer) UserMintCount ¶
func (*UnimplementedQueryServer) UserMintCount(ctx context.Context, req *QueryUserMintCountRequest) (*QueryUserMintCountResponse, error)
type UserClaimInfo ¶
type UserClaimInfo struct { MintRTokenAmount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,1,opt,name=mintRTokenAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"mintRTokenAmount"` NativeTokenAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 127-byte string literal not displayed */ MintBlock int64 `protobuf:"varint,3,opt,name=mintBlock,proto3" json:"mintBlock,omitempty"` LatestClaimedBlock int64 `protobuf:"varint,4,opt,name=latestClaimedBlock,proto3" json:"latestClaimedBlock,omitempty"` TokenClaimInfos []*TokenClaimInfo `protobuf:"bytes,5,rep,name=TokenClaimInfos,proto3" json:"TokenClaimInfos,omitempty"` }
func (*UserClaimInfo) Descriptor ¶
func (*UserClaimInfo) Descriptor() ([]byte, []int)
func (*UserClaimInfo) GetLatestClaimedBlock ¶
func (m *UserClaimInfo) GetLatestClaimedBlock() int64
func (*UserClaimInfo) GetMintBlock ¶
func (m *UserClaimInfo) GetMintBlock() int64
func (*UserClaimInfo) GetTokenClaimInfos ¶
func (m *UserClaimInfo) GetTokenClaimInfos() []*TokenClaimInfo
func (*UserClaimInfo) Marshal ¶
func (m *UserClaimInfo) Marshal() (dAtA []byte, err error)
func (*UserClaimInfo) MarshalToSizedBuffer ¶
func (m *UserClaimInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserClaimInfo) ProtoMessage ¶
func (*UserClaimInfo) ProtoMessage()
func (*UserClaimInfo) Reset ¶
func (m *UserClaimInfo) Reset()
func (*UserClaimInfo) Size ¶
func (m *UserClaimInfo) Size() (n int)
func (*UserClaimInfo) String ¶
func (m *UserClaimInfo) String() string
func (*UserClaimInfo) Unmarshal ¶
func (m *UserClaimInfo) Unmarshal(dAtA []byte) error
func (*UserClaimInfo) XXX_DiscardUnknown ¶
func (m *UserClaimInfo) XXX_DiscardUnknown()
func (*UserClaimInfo) XXX_Marshal ¶
func (m *UserClaimInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserClaimInfo) XXX_Merge ¶
func (m *UserClaimInfo) XXX_Merge(src proto.Message)
func (*UserClaimInfo) XXX_Size ¶
func (m *UserClaimInfo) XXX_Size() int
func (*UserClaimInfo) XXX_Unmarshal ¶
func (m *UserClaimInfo) XXX_Unmarshal(b []byte) error
type UserMintCount ¶
type UserMintCount struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"` Cycle uint64 `protobuf:"varint,3,opt,name=cycle,proto3" json:"cycle,omitempty"` Count uint64 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` }
func (*UserMintCount) Descriptor ¶
func (*UserMintCount) Descriptor() ([]byte, []int)
func (*UserMintCount) GetAccount ¶
func (m *UserMintCount) GetAccount() string
func (*UserMintCount) GetCount ¶
func (m *UserMintCount) GetCount() uint64
func (*UserMintCount) GetCycle ¶
func (m *UserMintCount) GetCycle() uint64
func (*UserMintCount) GetDenom ¶
func (m *UserMintCount) GetDenom() string
func (*UserMintCount) Marshal ¶
func (m *UserMintCount) Marshal() (dAtA []byte, err error)
func (*UserMintCount) MarshalToSizedBuffer ¶
func (m *UserMintCount) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserMintCount) ProtoMessage ¶
func (*UserMintCount) ProtoMessage()
func (*UserMintCount) Reset ¶
func (m *UserMintCount) Reset()
func (*UserMintCount) Size ¶
func (m *UserMintCount) Size() (n int)
func (*UserMintCount) String ¶
func (m *UserMintCount) String() string
func (*UserMintCount) Unmarshal ¶
func (m *UserMintCount) Unmarshal(dAtA []byte) error
func (*UserMintCount) XXX_DiscardUnknown ¶
func (m *UserMintCount) XXX_DiscardUnknown()
func (*UserMintCount) XXX_Marshal ¶
func (m *UserMintCount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserMintCount) XXX_Merge ¶
func (m *UserMintCount) XXX_Merge(src proto.Message)
func (*UserMintCount) XXX_Size ¶
func (m *UserMintCount) XXX_Size() int
func (*UserMintCount) XXX_Unmarshal ¶
func (m *UserMintCount) XXX_Unmarshal(b []byte) error