Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func KeyPrefix(p string) []byte
- func MiningProviderStoreKey(addr sdk.AccAddress) []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 RewardTokenStoreKey(denom string) []byte
- func StakeItemIndexStoreKey(stakePoolIndex uint32) []byte
- func StakeItemStoreKey(stakePoolIndex, index uint32) []byte
- func StakePoolStoreKey(index uint32) []byte
- func StakeTokenStoreKey(denom string) []byte
- func UserStakeRecordStoreKey(userAddress string, stakePoolIndex, index uint32) []byte
- type AccountKeeper
- type BankKeeper
- type CreateRewardPoolInfo
- func (*CreateRewardPoolInfo) Descriptor() ([]byte, []int)
- func (m *CreateRewardPoolInfo) GetRewardTokenDenom() string
- func (m *CreateRewardPoolInfo) GetStartTimestamp() uint64
- func (m *CreateRewardPoolInfo) Marshal() (dAtA []byte, err error)
- func (m *CreateRewardPoolInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *CreateRewardPoolInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CreateRewardPoolInfo) ProtoMessage()
- func (m *CreateRewardPoolInfo) Reset()
- func (m *CreateRewardPoolInfo) Size() (n int)
- func (m *CreateRewardPoolInfo) String() string
- func (m *CreateRewardPoolInfo) Unmarshal(dAtA []byte) error
- func (m *CreateRewardPoolInfo) XXX_DiscardUnknown()
- func (m *CreateRewardPoolInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateRewardPoolInfo) XXX_Merge(src proto.Message)
- func (m *CreateRewardPoolInfo) XXX_Size() int
- func (m *CreateRewardPoolInfo) XXX_Unmarshal(b []byte) error
- type CreateStakeItemInfo
- func (*CreateStakeItemInfo) Descriptor() ([]byte, []int)
- func (m *CreateStakeItemInfo) GetLockSecond() uint64
- func (m *CreateStakeItemInfo) Marshal() (dAtA []byte, err error)
- func (m *CreateStakeItemInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *CreateStakeItemInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CreateStakeItemInfo) ProtoMessage()
- func (m *CreateStakeItemInfo) Reset()
- func (m *CreateStakeItemInfo) Size() (n int)
- func (m *CreateStakeItemInfo) String() string
- func (m *CreateStakeItemInfo) Unmarshal(dAtA []byte) error
- func (m *CreateStakeItemInfo) XXX_DiscardUnknown()
- func (m *CreateStakeItemInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateStakeItemInfo) XXX_Merge(src proto.Message)
- func (m *CreateStakeItemInfo) XXX_Size() int
- func (m *CreateStakeItemInfo) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetMaxRewardPoolNumber() uint32
- func (m *GenesisState) GetMaxStakeItemNumber() uint32
- func (m *GenesisState) GetMiningProviderList() []string
- func (m *GenesisState) GetMiningProviderSwitch() bool
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetRewardTokenList() []*RewardToken
- func (m *GenesisState) GetStakeItemLimit() *StakeItemLimit
- func (m *GenesisState) GetStakeItemList() []*StakeItem
- func (m *GenesisState) GetStakePoolList() []*StakePool
- func (m *GenesisState) GetStakeTokenList() []string
- func (m *GenesisState) GetUserStakeRecordList() []*UserStakeRecord
- 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 MsgAddMiningProvider
- func (*MsgAddMiningProvider) Descriptor() ([]byte, []int)
- func (m *MsgAddMiningProvider) GetCreator() string
- func (msg *MsgAddMiningProvider) GetSignBytes() []byte
- func (msg *MsgAddMiningProvider) GetSigners() []sdk.AccAddress
- func (m *MsgAddMiningProvider) GetUserAddress() string
- func (m *MsgAddMiningProvider) Marshal() (dAtA []byte, err error)
- func (m *MsgAddMiningProvider) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddMiningProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddMiningProvider) ProtoMessage()
- func (m *MsgAddMiningProvider) Reset()
- func (msg *MsgAddMiningProvider) Route() string
- func (m *MsgAddMiningProvider) Size() (n int)
- func (m *MsgAddMiningProvider) String() string
- func (msg *MsgAddMiningProvider) Type() string
- func (m *MsgAddMiningProvider) Unmarshal(dAtA []byte) error
- func (msg *MsgAddMiningProvider) ValidateBasic() error
- func (m *MsgAddMiningProvider) XXX_DiscardUnknown()
- func (m *MsgAddMiningProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddMiningProvider) XXX_Merge(src proto.Message)
- func (m *MsgAddMiningProvider) XXX_Size() int
- func (m *MsgAddMiningProvider) XXX_Unmarshal(b []byte) error
- type MsgAddMiningProviderResponse
- func (*MsgAddMiningProviderResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddMiningProviderResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddMiningProviderResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddMiningProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddMiningProviderResponse) ProtoMessage()
- func (m *MsgAddMiningProviderResponse) Reset()
- func (m *MsgAddMiningProviderResponse) Size() (n int)
- func (m *MsgAddMiningProviderResponse) String() string
- func (m *MsgAddMiningProviderResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddMiningProviderResponse) XXX_DiscardUnknown()
- func (m *MsgAddMiningProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddMiningProviderResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddMiningProviderResponse) XXX_Size() int
- func (m *MsgAddMiningProviderResponse) XXX_Unmarshal(b []byte) error
- type MsgAddReward
- func (*MsgAddReward) Descriptor() ([]byte, []int)
- func (m *MsgAddReward) GetCreator() string
- func (m *MsgAddReward) GetRewardPoolIndex() uint32
- func (msg *MsgAddReward) GetSignBytes() []byte
- func (msg *MsgAddReward) GetSigners() []sdk.AccAddress
- func (m *MsgAddReward) GetStakePoolIndex() uint32
- func (m *MsgAddReward) GetStartTimestamp() uint64
- func (m *MsgAddReward) Marshal() (dAtA []byte, err error)
- func (m *MsgAddReward) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddReward) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddReward) ProtoMessage()
- func (m *MsgAddReward) Reset()
- func (msg *MsgAddReward) Route() string
- func (m *MsgAddReward) Size() (n int)
- func (m *MsgAddReward) String() string
- func (msg *MsgAddReward) Type() string
- func (m *MsgAddReward) Unmarshal(dAtA []byte) error
- func (msg *MsgAddReward) ValidateBasic() error
- func (m *MsgAddReward) XXX_DiscardUnknown()
- func (m *MsgAddReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddReward) XXX_Merge(src proto.Message)
- func (m *MsgAddReward) XXX_Size() int
- func (m *MsgAddReward) XXX_Unmarshal(b []byte) error
- type MsgAddRewardPool
- func (*MsgAddRewardPool) Descriptor() ([]byte, []int)
- func (m *MsgAddRewardPool) GetCreator() string
- func (m *MsgAddRewardPool) GetRewardTokenDenom() string
- func (msg *MsgAddRewardPool) GetSignBytes() []byte
- func (msg *MsgAddRewardPool) GetSigners() []sdk.AccAddress
- func (m *MsgAddRewardPool) GetStakePoolIndex() uint32
- func (m *MsgAddRewardPool) GetStartTimestamp() uint64
- func (m *MsgAddRewardPool) Marshal() (dAtA []byte, err error)
- func (m *MsgAddRewardPool) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddRewardPool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddRewardPool) ProtoMessage()
- func (m *MsgAddRewardPool) Reset()
- func (msg *MsgAddRewardPool) Route() string
- func (m *MsgAddRewardPool) Size() (n int)
- func (m *MsgAddRewardPool) String() string
- func (msg *MsgAddRewardPool) Type() string
- func (m *MsgAddRewardPool) Unmarshal(dAtA []byte) error
- func (msg *MsgAddRewardPool) ValidateBasic() error
- func (m *MsgAddRewardPool) XXX_DiscardUnknown()
- func (m *MsgAddRewardPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddRewardPool) XXX_Merge(src proto.Message)
- func (m *MsgAddRewardPool) XXX_Size() int
- func (m *MsgAddRewardPool) XXX_Unmarshal(b []byte) error
- type MsgAddRewardPoolResponse
- func (*MsgAddRewardPoolResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddRewardPoolResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddRewardPoolResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddRewardPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddRewardPoolResponse) ProtoMessage()
- func (m *MsgAddRewardPoolResponse) Reset()
- func (m *MsgAddRewardPoolResponse) Size() (n int)
- func (m *MsgAddRewardPoolResponse) String() string
- func (m *MsgAddRewardPoolResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddRewardPoolResponse) XXX_DiscardUnknown()
- func (m *MsgAddRewardPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddRewardPoolResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddRewardPoolResponse) XXX_Size() int
- func (m *MsgAddRewardPoolResponse) XXX_Unmarshal(b []byte) error
- type MsgAddRewardResponse
- func (*MsgAddRewardResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddRewardResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddRewardResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddRewardResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddRewardResponse) ProtoMessage()
- func (m *MsgAddRewardResponse) Reset()
- func (m *MsgAddRewardResponse) Size() (n int)
- func (m *MsgAddRewardResponse) String() string
- func (m *MsgAddRewardResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddRewardResponse) XXX_DiscardUnknown()
- func (m *MsgAddRewardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddRewardResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddRewardResponse) XXX_Size() int
- func (m *MsgAddRewardResponse) XXX_Unmarshal(b []byte) error
- type MsgAddRewardToken
- func (*MsgAddRewardToken) Descriptor() ([]byte, []int)
- func (m *MsgAddRewardToken) GetCreator() string
- func (m *MsgAddRewardToken) GetDenom() string
- func (msg *MsgAddRewardToken) GetSignBytes() []byte
- func (msg *MsgAddRewardToken) GetSigners() []sdk.AccAddress
- func (m *MsgAddRewardToken) Marshal() (dAtA []byte, err error)
- func (m *MsgAddRewardToken) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddRewardToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddRewardToken) ProtoMessage()
- func (m *MsgAddRewardToken) Reset()
- func (msg *MsgAddRewardToken) Route() string
- func (m *MsgAddRewardToken) Size() (n int)
- func (m *MsgAddRewardToken) String() string
- func (msg *MsgAddRewardToken) Type() string
- func (m *MsgAddRewardToken) Unmarshal(dAtA []byte) error
- func (msg *MsgAddRewardToken) ValidateBasic() error
- func (m *MsgAddRewardToken) XXX_DiscardUnknown()
- func (m *MsgAddRewardToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddRewardToken) XXX_Merge(src proto.Message)
- func (m *MsgAddRewardToken) XXX_Size() int
- func (m *MsgAddRewardToken) XXX_Unmarshal(b []byte) error
- type MsgAddRewardTokenResponse
- func (*MsgAddRewardTokenResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddRewardTokenResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddRewardTokenResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddRewardTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddRewardTokenResponse) ProtoMessage()
- func (m *MsgAddRewardTokenResponse) Reset()
- func (m *MsgAddRewardTokenResponse) Size() (n int)
- func (m *MsgAddRewardTokenResponse) String() string
- func (m *MsgAddRewardTokenResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddRewardTokenResponse) XXX_DiscardUnknown()
- func (m *MsgAddRewardTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddRewardTokenResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddRewardTokenResponse) XXX_Size() int
- func (m *MsgAddRewardTokenResponse) XXX_Unmarshal(b []byte) error
- type MsgAddStakeItem
- func (*MsgAddStakeItem) Descriptor() ([]byte, []int)
- func (m *MsgAddStakeItem) GetCreator() string
- func (m *MsgAddStakeItem) GetEnable() bool
- func (m *MsgAddStakeItem) GetLockSecond() uint64
- func (msg *MsgAddStakeItem) GetSignBytes() []byte
- func (msg *MsgAddStakeItem) GetSigners() []sdk.AccAddress
- func (m *MsgAddStakeItem) GetStakePoolIndex() uint32
- func (m *MsgAddStakeItem) Marshal() (dAtA []byte, err error)
- func (m *MsgAddStakeItem) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddStakeItem) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddStakeItem) ProtoMessage()
- func (m *MsgAddStakeItem) Reset()
- func (msg *MsgAddStakeItem) Route() string
- func (m *MsgAddStakeItem) Size() (n int)
- func (m *MsgAddStakeItem) String() string
- func (msg *MsgAddStakeItem) Type() string
- func (m *MsgAddStakeItem) Unmarshal(dAtA []byte) error
- func (msg *MsgAddStakeItem) ValidateBasic() error
- func (m *MsgAddStakeItem) XXX_DiscardUnknown()
- func (m *MsgAddStakeItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddStakeItem) XXX_Merge(src proto.Message)
- func (m *MsgAddStakeItem) XXX_Size() int
- func (m *MsgAddStakeItem) XXX_Unmarshal(b []byte) error
- type MsgAddStakeItemResponse
- func (*MsgAddStakeItemResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddStakeItemResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddStakeItemResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddStakeItemResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddStakeItemResponse) ProtoMessage()
- func (m *MsgAddStakeItemResponse) Reset()
- func (m *MsgAddStakeItemResponse) Size() (n int)
- func (m *MsgAddStakeItemResponse) String() string
- func (m *MsgAddStakeItemResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddStakeItemResponse) XXX_DiscardUnknown()
- func (m *MsgAddStakeItemResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddStakeItemResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddStakeItemResponse) XXX_Size() int
- func (m *MsgAddStakeItemResponse) XXX_Unmarshal(b []byte) error
- type MsgAddStakePool
- func (*MsgAddStakePool) Descriptor() ([]byte, []int)
- func (m *MsgAddStakePool) GetCreator() string
- func (m *MsgAddStakePool) GetRewardPoolInfoList() []*CreateRewardPoolInfo
- func (msg *MsgAddStakePool) GetSignBytes() []byte
- func (msg *MsgAddStakePool) GetSigners() []sdk.AccAddress
- func (m *MsgAddStakePool) GetStakeItemInfoList() []*CreateStakeItemInfo
- func (m *MsgAddStakePool) GetStakeTokenDenom() string
- func (m *MsgAddStakePool) Marshal() (dAtA []byte, err error)
- func (m *MsgAddStakePool) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddStakePool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddStakePool) ProtoMessage()
- func (m *MsgAddStakePool) Reset()
- func (msg *MsgAddStakePool) Route() string
- func (m *MsgAddStakePool) Size() (n int)
- func (m *MsgAddStakePool) String() string
- func (msg *MsgAddStakePool) Type() string
- func (m *MsgAddStakePool) Unmarshal(dAtA []byte) error
- func (msg *MsgAddStakePool) ValidateBasic() error
- func (m *MsgAddStakePool) XXX_DiscardUnknown()
- func (m *MsgAddStakePool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddStakePool) XXX_Merge(src proto.Message)
- func (m *MsgAddStakePool) XXX_Size() int
- func (m *MsgAddStakePool) XXX_Unmarshal(b []byte) error
- type MsgAddStakePoolResponse
- func (*MsgAddStakePoolResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddStakePoolResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddStakePoolResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddStakePoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddStakePoolResponse) ProtoMessage()
- func (m *MsgAddStakePoolResponse) Reset()
- func (m *MsgAddStakePoolResponse) Size() (n int)
- func (m *MsgAddStakePoolResponse) String() string
- func (m *MsgAddStakePoolResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddStakePoolResponse) XXX_DiscardUnknown()
- func (m *MsgAddStakePoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddStakePoolResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddStakePoolResponse) XXX_Size() int
- func (m *MsgAddStakePoolResponse) XXX_Unmarshal(b []byte) error
- type MsgAddStakeToken
- func (*MsgAddStakeToken) Descriptor() ([]byte, []int)
- func (m *MsgAddStakeToken) GetCreator() string
- func (m *MsgAddStakeToken) GetDenom() string
- func (msg *MsgAddStakeToken) GetSignBytes() []byte
- func (msg *MsgAddStakeToken) GetSigners() []sdk.AccAddress
- func (m *MsgAddStakeToken) Marshal() (dAtA []byte, err error)
- func (m *MsgAddStakeToken) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddStakeToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddStakeToken) ProtoMessage()
- func (m *MsgAddStakeToken) Reset()
- func (msg *MsgAddStakeToken) Route() string
- func (m *MsgAddStakeToken) Size() (n int)
- func (m *MsgAddStakeToken) String() string
- func (msg *MsgAddStakeToken) Type() string
- func (m *MsgAddStakeToken) Unmarshal(dAtA []byte) error
- func (msg *MsgAddStakeToken) ValidateBasic() error
- func (m *MsgAddStakeToken) XXX_DiscardUnknown()
- func (m *MsgAddStakeToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddStakeToken) XXX_Merge(src proto.Message)
- func (m *MsgAddStakeToken) XXX_Size() int
- func (m *MsgAddStakeToken) XXX_Unmarshal(b []byte) error
- type MsgAddStakeTokenResponse
- func (*MsgAddStakeTokenResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddStakeTokenResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddStakeTokenResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddStakeTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddStakeTokenResponse) ProtoMessage()
- func (m *MsgAddStakeTokenResponse) Reset()
- func (m *MsgAddStakeTokenResponse) Size() (n int)
- func (m *MsgAddStakeTokenResponse) String() string
- func (m *MsgAddStakeTokenResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddStakeTokenResponse) XXX_DiscardUnknown()
- func (m *MsgAddStakeTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddStakeTokenResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddStakeTokenResponse) XXX_Size() int
- func (m *MsgAddStakeTokenResponse) XXX_Unmarshal(b []byte) error
- type MsgClaimReward
- func (*MsgClaimReward) Descriptor() ([]byte, []int)
- func (m *MsgClaimReward) GetCreator() string
- func (msg *MsgClaimReward) GetSignBytes() []byte
- func (msg *MsgClaimReward) GetSigners() []sdk.AccAddress
- func (m *MsgClaimReward) GetStakePoolIndex() uint32
- func (m *MsgClaimReward) GetStakeRecordIndex() uint32
- func (m *MsgClaimReward) Marshal() (dAtA []byte, err error)
- func (m *MsgClaimReward) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaimReward) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaimReward) ProtoMessage()
- func (m *MsgClaimReward) Reset()
- func (msg *MsgClaimReward) Route() string
- func (m *MsgClaimReward) Size() (n int)
- func (m *MsgClaimReward) String() string
- func (msg *MsgClaimReward) Type() string
- func (m *MsgClaimReward) Unmarshal(dAtA []byte) error
- func (msg *MsgClaimReward) ValidateBasic() error
- func (m *MsgClaimReward) XXX_DiscardUnknown()
- func (m *MsgClaimReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaimReward) XXX_Merge(src proto.Message)
- func (m *MsgClaimReward) XXX_Size() int
- func (m *MsgClaimReward) XXX_Unmarshal(b []byte) error
- type MsgClaimRewardResponse
- func (*MsgClaimRewardResponse) Descriptor() ([]byte, []int)
- func (m *MsgClaimRewardResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgClaimRewardResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgClaimRewardResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgClaimRewardResponse) ProtoMessage()
- func (m *MsgClaimRewardResponse) Reset()
- func (m *MsgClaimRewardResponse) Size() (n int)
- func (m *MsgClaimRewardResponse) String() string
- func (m *MsgClaimRewardResponse) Unmarshal(dAtA []byte) error
- func (m *MsgClaimRewardResponse) XXX_DiscardUnknown()
- func (m *MsgClaimRewardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgClaimRewardResponse) XXX_Merge(src proto.Message)
- func (m *MsgClaimRewardResponse) XXX_Size() int
- func (m *MsgClaimRewardResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgEmergencyWithdraw
- func (*MsgEmergencyWithdraw) Descriptor() ([]byte, []int)
- func (m *MsgEmergencyWithdraw) GetCreator() string
- func (msg *MsgEmergencyWithdraw) GetSignBytes() []byte
- func (msg *MsgEmergencyWithdraw) GetSigners() []sdk.AccAddress
- func (m *MsgEmergencyWithdraw) GetStakePoolIndex() uint32
- func (m *MsgEmergencyWithdraw) GetStakeRecordIndex() uint32
- func (m *MsgEmergencyWithdraw) Marshal() (dAtA []byte, err error)
- func (m *MsgEmergencyWithdraw) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEmergencyWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEmergencyWithdraw) ProtoMessage()
- func (m *MsgEmergencyWithdraw) Reset()
- func (msg *MsgEmergencyWithdraw) Route() string
- func (m *MsgEmergencyWithdraw) Size() (n int)
- func (m *MsgEmergencyWithdraw) String() string
- func (msg *MsgEmergencyWithdraw) Type() string
- func (m *MsgEmergencyWithdraw) Unmarshal(dAtA []byte) error
- func (msg *MsgEmergencyWithdraw) ValidateBasic() error
- func (m *MsgEmergencyWithdraw) XXX_DiscardUnknown()
- func (m *MsgEmergencyWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgEmergencyWithdraw) XXX_Merge(src proto.Message)
- func (m *MsgEmergencyWithdraw) XXX_Size() int
- func (m *MsgEmergencyWithdraw) XXX_Unmarshal(b []byte) error
- type MsgEmergencyWithdrawResponse
- func (*MsgEmergencyWithdrawResponse) Descriptor() ([]byte, []int)
- func (m *MsgEmergencyWithdrawResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgEmergencyWithdrawResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgEmergencyWithdrawResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgEmergencyWithdrawResponse) ProtoMessage()
- func (m *MsgEmergencyWithdrawResponse) Reset()
- func (m *MsgEmergencyWithdrawResponse) Size() (n int)
- func (m *MsgEmergencyWithdrawResponse) String() string
- func (m *MsgEmergencyWithdrawResponse) Unmarshal(dAtA []byte) error
- func (m *MsgEmergencyWithdrawResponse) XXX_DiscardUnknown()
- func (m *MsgEmergencyWithdrawResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgEmergencyWithdrawResponse) XXX_Merge(src proto.Message)
- func (m *MsgEmergencyWithdrawResponse) XXX_Size() int
- func (m *MsgEmergencyWithdrawResponse) XXX_Unmarshal(b []byte) error
- type MsgRmMiningProvider
- func (*MsgRmMiningProvider) Descriptor() ([]byte, []int)
- func (m *MsgRmMiningProvider) GetCreator() string
- func (msg *MsgRmMiningProvider) GetSignBytes() []byte
- func (msg *MsgRmMiningProvider) GetSigners() []sdk.AccAddress
- func (m *MsgRmMiningProvider) GetUserAddress() string
- func (m *MsgRmMiningProvider) Marshal() (dAtA []byte, err error)
- func (m *MsgRmMiningProvider) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRmMiningProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRmMiningProvider) ProtoMessage()
- func (m *MsgRmMiningProvider) Reset()
- func (msg *MsgRmMiningProvider) Route() string
- func (m *MsgRmMiningProvider) Size() (n int)
- func (m *MsgRmMiningProvider) String() string
- func (msg *MsgRmMiningProvider) Type() string
- func (m *MsgRmMiningProvider) Unmarshal(dAtA []byte) error
- func (msg *MsgRmMiningProvider) ValidateBasic() error
- func (m *MsgRmMiningProvider) XXX_DiscardUnknown()
- func (m *MsgRmMiningProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRmMiningProvider) XXX_Merge(src proto.Message)
- func (m *MsgRmMiningProvider) XXX_Size() int
- func (m *MsgRmMiningProvider) XXX_Unmarshal(b []byte) error
- type MsgRmMiningProviderResponse
- func (*MsgRmMiningProviderResponse) Descriptor() ([]byte, []int)
- func (m *MsgRmMiningProviderResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRmMiningProviderResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRmMiningProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRmMiningProviderResponse) ProtoMessage()
- func (m *MsgRmMiningProviderResponse) Reset()
- func (m *MsgRmMiningProviderResponse) Size() (n int)
- func (m *MsgRmMiningProviderResponse) String() string
- func (m *MsgRmMiningProviderResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRmMiningProviderResponse) XXX_DiscardUnknown()
- func (m *MsgRmMiningProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRmMiningProviderResponse) XXX_Merge(src proto.Message)
- func (m *MsgRmMiningProviderResponse) XXX_Size() int
- func (m *MsgRmMiningProviderResponse) XXX_Unmarshal(b []byte) error
- type MsgRmRewardToken
- func (*MsgRmRewardToken) Descriptor() ([]byte, []int)
- func (m *MsgRmRewardToken) GetCreator() string
- func (m *MsgRmRewardToken) GetDenom() string
- func (msg *MsgRmRewardToken) GetSignBytes() []byte
- func (msg *MsgRmRewardToken) GetSigners() []sdk.AccAddress
- func (m *MsgRmRewardToken) Marshal() (dAtA []byte, err error)
- func (m *MsgRmRewardToken) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRmRewardToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRmRewardToken) ProtoMessage()
- func (m *MsgRmRewardToken) Reset()
- func (msg *MsgRmRewardToken) Route() string
- func (m *MsgRmRewardToken) Size() (n int)
- func (m *MsgRmRewardToken) String() string
- func (msg *MsgRmRewardToken) Type() string
- func (m *MsgRmRewardToken) Unmarshal(dAtA []byte) error
- func (msg *MsgRmRewardToken) ValidateBasic() error
- func (m *MsgRmRewardToken) XXX_DiscardUnknown()
- func (m *MsgRmRewardToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRmRewardToken) XXX_Merge(src proto.Message)
- func (m *MsgRmRewardToken) XXX_Size() int
- func (m *MsgRmRewardToken) XXX_Unmarshal(b []byte) error
- type MsgRmRewardTokenResponse
- func (*MsgRmRewardTokenResponse) Descriptor() ([]byte, []int)
- func (m *MsgRmRewardTokenResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRmRewardTokenResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRmRewardTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRmRewardTokenResponse) ProtoMessage()
- func (m *MsgRmRewardTokenResponse) Reset()
- func (m *MsgRmRewardTokenResponse) Size() (n int)
- func (m *MsgRmRewardTokenResponse) String() string
- func (m *MsgRmRewardTokenResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRmRewardTokenResponse) XXX_DiscardUnknown()
- func (m *MsgRmRewardTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRmRewardTokenResponse) XXX_Merge(src proto.Message)
- func (m *MsgRmRewardTokenResponse) XXX_Size() int
- func (m *MsgRmRewardTokenResponse) XXX_Unmarshal(b []byte) error
- type MsgRmStakeToken
- func (*MsgRmStakeToken) Descriptor() ([]byte, []int)
- func (m *MsgRmStakeToken) GetCreator() string
- func (m *MsgRmStakeToken) GetDenom() string
- func (msg *MsgRmStakeToken) GetSignBytes() []byte
- func (msg *MsgRmStakeToken) GetSigners() []sdk.AccAddress
- func (m *MsgRmStakeToken) Marshal() (dAtA []byte, err error)
- func (m *MsgRmStakeToken) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRmStakeToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRmStakeToken) ProtoMessage()
- func (m *MsgRmStakeToken) Reset()
- func (msg *MsgRmStakeToken) Route() string
- func (m *MsgRmStakeToken) Size() (n int)
- func (m *MsgRmStakeToken) String() string
- func (msg *MsgRmStakeToken) Type() string
- func (m *MsgRmStakeToken) Unmarshal(dAtA []byte) error
- func (msg *MsgRmStakeToken) ValidateBasic() error
- func (m *MsgRmStakeToken) XXX_DiscardUnknown()
- func (m *MsgRmStakeToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRmStakeToken) XXX_Merge(src proto.Message)
- func (m *MsgRmStakeToken) XXX_Size() int
- func (m *MsgRmStakeToken) XXX_Unmarshal(b []byte) error
- type MsgRmStakeTokenResponse
- func (*MsgRmStakeTokenResponse) Descriptor() ([]byte, []int)
- func (m *MsgRmStakeTokenResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRmStakeTokenResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRmStakeTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRmStakeTokenResponse) ProtoMessage()
- func (m *MsgRmStakeTokenResponse) Reset()
- func (m *MsgRmStakeTokenResponse) Size() (n int)
- func (m *MsgRmStakeTokenResponse) String() string
- func (m *MsgRmStakeTokenResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRmStakeTokenResponse) XXX_DiscardUnknown()
- func (m *MsgRmStakeTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRmStakeTokenResponse) XXX_Merge(src proto.Message)
- func (m *MsgRmStakeTokenResponse) XXX_Size() int
- func (m *MsgRmStakeTokenResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgSetMaxRewardPoolNumber
- func (*MsgSetMaxRewardPoolNumber) Descriptor() ([]byte, []int)
- func (m *MsgSetMaxRewardPoolNumber) GetCreator() string
- func (m *MsgSetMaxRewardPoolNumber) GetNumber() uint32
- func (msg *MsgSetMaxRewardPoolNumber) GetSignBytes() []byte
- func (msg *MsgSetMaxRewardPoolNumber) GetSigners() []sdk.AccAddress
- func (m *MsgSetMaxRewardPoolNumber) Marshal() (dAtA []byte, err error)
- func (m *MsgSetMaxRewardPoolNumber) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetMaxRewardPoolNumber) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetMaxRewardPoolNumber) ProtoMessage()
- func (m *MsgSetMaxRewardPoolNumber) Reset()
- func (msg *MsgSetMaxRewardPoolNumber) Route() string
- func (m *MsgSetMaxRewardPoolNumber) Size() (n int)
- func (m *MsgSetMaxRewardPoolNumber) String() string
- func (msg *MsgSetMaxRewardPoolNumber) Type() string
- func (m *MsgSetMaxRewardPoolNumber) Unmarshal(dAtA []byte) error
- func (msg *MsgSetMaxRewardPoolNumber) ValidateBasic() error
- func (m *MsgSetMaxRewardPoolNumber) XXX_DiscardUnknown()
- func (m *MsgSetMaxRewardPoolNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetMaxRewardPoolNumber) XXX_Merge(src proto.Message)
- func (m *MsgSetMaxRewardPoolNumber) XXX_Size() int
- func (m *MsgSetMaxRewardPoolNumber) XXX_Unmarshal(b []byte) error
- type MsgSetMaxRewardPoolNumberResponse
- func (*MsgSetMaxRewardPoolNumberResponse) Descriptor() ([]byte, []int)
- func (m *MsgSetMaxRewardPoolNumberResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSetMaxRewardPoolNumberResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetMaxRewardPoolNumberResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetMaxRewardPoolNumberResponse) ProtoMessage()
- func (m *MsgSetMaxRewardPoolNumberResponse) Reset()
- func (m *MsgSetMaxRewardPoolNumberResponse) Size() (n int)
- func (m *MsgSetMaxRewardPoolNumberResponse) String() string
- func (m *MsgSetMaxRewardPoolNumberResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSetMaxRewardPoolNumberResponse) XXX_DiscardUnknown()
- func (m *MsgSetMaxRewardPoolNumberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetMaxRewardPoolNumberResponse) XXX_Merge(src proto.Message)
- func (m *MsgSetMaxRewardPoolNumberResponse) XXX_Size() int
- func (m *MsgSetMaxRewardPoolNumberResponse) XXX_Unmarshal(b []byte) error
- type MsgSetMaxStakeItemNumber
- func (*MsgSetMaxStakeItemNumber) Descriptor() ([]byte, []int)
- func (m *MsgSetMaxStakeItemNumber) GetCreator() string
- func (m *MsgSetMaxStakeItemNumber) GetNumber() uint32
- func (msg *MsgSetMaxStakeItemNumber) GetSignBytes() []byte
- func (msg *MsgSetMaxStakeItemNumber) GetSigners() []sdk.AccAddress
- func (m *MsgSetMaxStakeItemNumber) Marshal() (dAtA []byte, err error)
- func (m *MsgSetMaxStakeItemNumber) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetMaxStakeItemNumber) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetMaxStakeItemNumber) ProtoMessage()
- func (m *MsgSetMaxStakeItemNumber) Reset()
- func (msg *MsgSetMaxStakeItemNumber) Route() string
- func (m *MsgSetMaxStakeItemNumber) Size() (n int)
- func (m *MsgSetMaxStakeItemNumber) String() string
- func (msg *MsgSetMaxStakeItemNumber) Type() string
- func (m *MsgSetMaxStakeItemNumber) Unmarshal(dAtA []byte) error
- func (msg *MsgSetMaxStakeItemNumber) ValidateBasic() error
- func (m *MsgSetMaxStakeItemNumber) XXX_DiscardUnknown()
- func (m *MsgSetMaxStakeItemNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetMaxStakeItemNumber) XXX_Merge(src proto.Message)
- func (m *MsgSetMaxStakeItemNumber) XXX_Size() int
- func (m *MsgSetMaxStakeItemNumber) XXX_Unmarshal(b []byte) error
- type MsgSetMaxStakeItemNumberResponse
- func (*MsgSetMaxStakeItemNumberResponse) Descriptor() ([]byte, []int)
- func (m *MsgSetMaxStakeItemNumberResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSetMaxStakeItemNumberResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetMaxStakeItemNumberResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetMaxStakeItemNumberResponse) ProtoMessage()
- func (m *MsgSetMaxStakeItemNumberResponse) Reset()
- func (m *MsgSetMaxStakeItemNumberResponse) Size() (n int)
- func (m *MsgSetMaxStakeItemNumberResponse) String() string
- func (m *MsgSetMaxStakeItemNumberResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSetMaxStakeItemNumberResponse) XXX_DiscardUnknown()
- func (m *MsgSetMaxStakeItemNumberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetMaxStakeItemNumberResponse) XXX_Merge(src proto.Message)
- func (m *MsgSetMaxStakeItemNumberResponse) XXX_Size() int
- func (m *MsgSetMaxStakeItemNumberResponse) XXX_Unmarshal(b []byte) error
- type MsgSetStakeItemLimit
- func (*MsgSetStakeItemLimit) Descriptor() ([]byte, []int)
- func (m *MsgSetStakeItemLimit) GetCreator() string
- func (m *MsgSetStakeItemLimit) GetMaxLockSecond() uint64
- func (msg *MsgSetStakeItemLimit) GetSignBytes() []byte
- func (msg *MsgSetStakeItemLimit) GetSigners() []sdk.AccAddress
- func (m *MsgSetStakeItemLimit) Marshal() (dAtA []byte, err error)
- func (m *MsgSetStakeItemLimit) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetStakeItemLimit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetStakeItemLimit) ProtoMessage()
- func (m *MsgSetStakeItemLimit) Reset()
- func (msg *MsgSetStakeItemLimit) Route() string
- func (m *MsgSetStakeItemLimit) Size() (n int)
- func (m *MsgSetStakeItemLimit) String() string
- func (msg *MsgSetStakeItemLimit) Type() string
- func (m *MsgSetStakeItemLimit) Unmarshal(dAtA []byte) error
- func (msg *MsgSetStakeItemLimit) ValidateBasic() error
- func (m *MsgSetStakeItemLimit) XXX_DiscardUnknown()
- func (m *MsgSetStakeItemLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetStakeItemLimit) XXX_Merge(src proto.Message)
- func (m *MsgSetStakeItemLimit) XXX_Size() int
- func (m *MsgSetStakeItemLimit) XXX_Unmarshal(b []byte) error
- type MsgSetStakeItemLimitResponse
- func (*MsgSetStakeItemLimitResponse) Descriptor() ([]byte, []int)
- func (m *MsgSetStakeItemLimitResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSetStakeItemLimitResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetStakeItemLimitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetStakeItemLimitResponse) ProtoMessage()
- func (m *MsgSetStakeItemLimitResponse) Reset()
- func (m *MsgSetStakeItemLimitResponse) Size() (n int)
- func (m *MsgSetStakeItemLimitResponse) String() string
- func (m *MsgSetStakeItemLimitResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSetStakeItemLimitResponse) XXX_DiscardUnknown()
- func (m *MsgSetStakeItemLimitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetStakeItemLimitResponse) XXX_Merge(src proto.Message)
- func (m *MsgSetStakeItemLimitResponse) XXX_Size() int
- func (m *MsgSetStakeItemLimitResponse) XXX_Unmarshal(b []byte) error
- type MsgStake
- func (*MsgStake) Descriptor() ([]byte, []int)
- func (m *MsgStake) GetCreator() string
- func (msg *MsgStake) GetSignBytes() []byte
- func (msg *MsgStake) GetSigners() []sdk.AccAddress
- func (m *MsgStake) GetStakeItemIndex() uint32
- func (m *MsgStake) GetStakePoolIndex() uint32
- func (m *MsgStake) Marshal() (dAtA []byte, err error)
- func (m *MsgStake) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgStake) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgStake) ProtoMessage()
- func (m *MsgStake) Reset()
- func (msg *MsgStake) Route() string
- func (m *MsgStake) Size() (n int)
- func (m *MsgStake) String() string
- func (msg *MsgStake) Type() string
- func (m *MsgStake) Unmarshal(dAtA []byte) error
- func (msg *MsgStake) ValidateBasic() error
- func (m *MsgStake) XXX_DiscardUnknown()
- func (m *MsgStake) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgStake) XXX_Merge(src proto.Message)
- func (m *MsgStake) XXX_Size() int
- func (m *MsgStake) XXX_Unmarshal(b []byte) error
- type MsgStakeResponse
- func (*MsgStakeResponse) Descriptor() ([]byte, []int)
- func (m *MsgStakeResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgStakeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgStakeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgStakeResponse) ProtoMessage()
- func (m *MsgStakeResponse) Reset()
- func (m *MsgStakeResponse) Size() (n int)
- func (m *MsgStakeResponse) String() string
- func (m *MsgStakeResponse) Unmarshal(dAtA []byte) error
- func (m *MsgStakeResponse) XXX_DiscardUnknown()
- func (m *MsgStakeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgStakeResponse) XXX_Merge(src proto.Message)
- func (m *MsgStakeResponse) XXX_Size() int
- func (m *MsgStakeResponse) XXX_Unmarshal(b []byte) error
- type MsgToggleEmergencySwitch
- func (*MsgToggleEmergencySwitch) Descriptor() ([]byte, []int)
- func (m *MsgToggleEmergencySwitch) GetCreator() string
- func (msg *MsgToggleEmergencySwitch) GetSignBytes() []byte
- func (msg *MsgToggleEmergencySwitch) GetSigners() []sdk.AccAddress
- func (m *MsgToggleEmergencySwitch) GetStakePoolIndex() uint32
- func (m *MsgToggleEmergencySwitch) Marshal() (dAtA []byte, err error)
- func (m *MsgToggleEmergencySwitch) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgToggleEmergencySwitch) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgToggleEmergencySwitch) ProtoMessage()
- func (m *MsgToggleEmergencySwitch) Reset()
- func (msg *MsgToggleEmergencySwitch) Route() string
- func (m *MsgToggleEmergencySwitch) Size() (n int)
- func (m *MsgToggleEmergencySwitch) String() string
- func (msg *MsgToggleEmergencySwitch) Type() string
- func (m *MsgToggleEmergencySwitch) Unmarshal(dAtA []byte) error
- func (msg *MsgToggleEmergencySwitch) ValidateBasic() error
- func (m *MsgToggleEmergencySwitch) XXX_DiscardUnknown()
- func (m *MsgToggleEmergencySwitch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgToggleEmergencySwitch) XXX_Merge(src proto.Message)
- func (m *MsgToggleEmergencySwitch) XXX_Size() int
- func (m *MsgToggleEmergencySwitch) XXX_Unmarshal(b []byte) error
- type MsgToggleEmergencySwitchResponse
- func (*MsgToggleEmergencySwitchResponse) Descriptor() ([]byte, []int)
- func (m *MsgToggleEmergencySwitchResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgToggleEmergencySwitchResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgToggleEmergencySwitchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgToggleEmergencySwitchResponse) ProtoMessage()
- func (m *MsgToggleEmergencySwitchResponse) Reset()
- func (m *MsgToggleEmergencySwitchResponse) Size() (n int)
- func (m *MsgToggleEmergencySwitchResponse) String() string
- func (m *MsgToggleEmergencySwitchResponse) Unmarshal(dAtA []byte) error
- func (m *MsgToggleEmergencySwitchResponse) XXX_DiscardUnknown()
- func (m *MsgToggleEmergencySwitchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgToggleEmergencySwitchResponse) XXX_Merge(src proto.Message)
- func (m *MsgToggleEmergencySwitchResponse) XXX_Size() int
- func (m *MsgToggleEmergencySwitchResponse) XXX_Unmarshal(b []byte) error
- type MsgToggleProviderSwitch
- func (*MsgToggleProviderSwitch) Descriptor() ([]byte, []int)
- func (m *MsgToggleProviderSwitch) GetCreator() string
- func (msg *MsgToggleProviderSwitch) GetSignBytes() []byte
- func (msg *MsgToggleProviderSwitch) GetSigners() []sdk.AccAddress
- func (m *MsgToggleProviderSwitch) Marshal() (dAtA []byte, err error)
- func (m *MsgToggleProviderSwitch) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgToggleProviderSwitch) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgToggleProviderSwitch) ProtoMessage()
- func (m *MsgToggleProviderSwitch) Reset()
- func (msg *MsgToggleProviderSwitch) Route() string
- func (m *MsgToggleProviderSwitch) Size() (n int)
- func (m *MsgToggleProviderSwitch) String() string
- func (msg *MsgToggleProviderSwitch) Type() string
- func (m *MsgToggleProviderSwitch) Unmarshal(dAtA []byte) error
- func (msg *MsgToggleProviderSwitch) ValidateBasic() error
- func (m *MsgToggleProviderSwitch) XXX_DiscardUnknown()
- func (m *MsgToggleProviderSwitch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgToggleProviderSwitch) XXX_Merge(src proto.Message)
- func (m *MsgToggleProviderSwitch) XXX_Size() int
- func (m *MsgToggleProviderSwitch) XXX_Unmarshal(b []byte) error
- type MsgToggleProviderSwitchResponse
- func (*MsgToggleProviderSwitchResponse) Descriptor() ([]byte, []int)
- func (m *MsgToggleProviderSwitchResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgToggleProviderSwitchResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgToggleProviderSwitchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgToggleProviderSwitchResponse) ProtoMessage()
- func (m *MsgToggleProviderSwitchResponse) Reset()
- func (m *MsgToggleProviderSwitchResponse) Size() (n int)
- func (m *MsgToggleProviderSwitchResponse) String() string
- func (m *MsgToggleProviderSwitchResponse) Unmarshal(dAtA []byte) error
- func (m *MsgToggleProviderSwitchResponse) XXX_DiscardUnknown()
- func (m *MsgToggleProviderSwitchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgToggleProviderSwitchResponse) XXX_Merge(src proto.Message)
- func (m *MsgToggleProviderSwitchResponse) XXX_Size() int
- func (m *MsgToggleProviderSwitchResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateRewardPool
- func (*MsgUpdateRewardPool) Descriptor() ([]byte, []int)
- func (m *MsgUpdateRewardPool) GetCreator() string
- func (m *MsgUpdateRewardPool) GetRewardPoolIndex() uint32
- func (msg *MsgUpdateRewardPool) GetSignBytes() []byte
- func (msg *MsgUpdateRewardPool) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateRewardPool) GetStakePoolIndex() uint32
- func (m *MsgUpdateRewardPool) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateRewardPool) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateRewardPool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateRewardPool) ProtoMessage()
- func (m *MsgUpdateRewardPool) Reset()
- func (msg *MsgUpdateRewardPool) Route() string
- func (m *MsgUpdateRewardPool) Size() (n int)
- func (m *MsgUpdateRewardPool) String() string
- func (msg *MsgUpdateRewardPool) Type() string
- func (m *MsgUpdateRewardPool) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateRewardPool) ValidateBasic() error
- func (m *MsgUpdateRewardPool) XXX_DiscardUnknown()
- func (m *MsgUpdateRewardPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateRewardPool) XXX_Merge(src proto.Message)
- func (m *MsgUpdateRewardPool) XXX_Size() int
- func (m *MsgUpdateRewardPool) XXX_Unmarshal(b []byte) error
- type MsgUpdateRewardPoolResponse
- func (*MsgUpdateRewardPoolResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateRewardPoolResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateRewardPoolResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateRewardPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateRewardPoolResponse) ProtoMessage()
- func (m *MsgUpdateRewardPoolResponse) Reset()
- func (m *MsgUpdateRewardPoolResponse) Size() (n int)
- func (m *MsgUpdateRewardPoolResponse) String() string
- func (m *MsgUpdateRewardPoolResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateRewardPoolResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateRewardPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateRewardPoolResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateRewardPoolResponse) XXX_Size() int
- func (m *MsgUpdateRewardPoolResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateStakeItem
- func (*MsgUpdateStakeItem) Descriptor() ([]byte, []int)
- func (m *MsgUpdateStakeItem) GetCreator() string
- func (m *MsgUpdateStakeItem) GetEnable() bool
- func (m *MsgUpdateStakeItem) GetIndex() uint32
- func (m *MsgUpdateStakeItem) GetLockSecond() uint64
- func (msg *MsgUpdateStakeItem) GetSignBytes() []byte
- func (msg *MsgUpdateStakeItem) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateStakeItem) GetStakePoolIndex() uint32
- func (m *MsgUpdateStakeItem) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateStakeItem) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateStakeItem) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateStakeItem) ProtoMessage()
- func (m *MsgUpdateStakeItem) Reset()
- func (msg *MsgUpdateStakeItem) Route() string
- func (m *MsgUpdateStakeItem) Size() (n int)
- func (m *MsgUpdateStakeItem) String() string
- func (msg *MsgUpdateStakeItem) Type() string
- func (m *MsgUpdateStakeItem) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateStakeItem) ValidateBasic() error
- func (m *MsgUpdateStakeItem) XXX_DiscardUnknown()
- func (m *MsgUpdateStakeItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateStakeItem) XXX_Merge(src proto.Message)
- func (m *MsgUpdateStakeItem) XXX_Size() int
- func (m *MsgUpdateStakeItem) XXX_Unmarshal(b []byte) error
- type MsgUpdateStakeItemResponse
- func (*MsgUpdateStakeItemResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateStakeItemResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateStakeItemResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateStakeItemResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateStakeItemResponse) ProtoMessage()
- func (m *MsgUpdateStakeItemResponse) Reset()
- func (m *MsgUpdateStakeItemResponse) Size() (n int)
- func (m *MsgUpdateStakeItemResponse) String() string
- func (m *MsgUpdateStakeItemResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateStakeItemResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateStakeItemResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateStakeItemResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateStakeItemResponse) XXX_Size() int
- func (m *MsgUpdateStakeItemResponse) XXX_Unmarshal(b []byte) error
- type MsgWithdraw
- func (*MsgWithdraw) Descriptor() ([]byte, []int)
- func (m *MsgWithdraw) GetCreator() string
- func (msg *MsgWithdraw) GetSignBytes() []byte
- func (msg *MsgWithdraw) GetSigners() []sdk.AccAddress
- func (m *MsgWithdraw) GetStakePoolIndex() uint32
- func (m *MsgWithdraw) GetStakeRecordIndex() uint32
- func (m *MsgWithdraw) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdraw) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdraw) ProtoMessage()
- func (m *MsgWithdraw) Reset()
- func (msg *MsgWithdraw) Route() string
- func (m *MsgWithdraw) Size() (n int)
- func (m *MsgWithdraw) String() string
- func (msg *MsgWithdraw) Type() string
- func (m *MsgWithdraw) Unmarshal(dAtA []byte) error
- func (msg *MsgWithdraw) ValidateBasic() error
- func (m *MsgWithdraw) XXX_DiscardUnknown()
- func (m *MsgWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdraw) XXX_Merge(src proto.Message)
- func (m *MsgWithdraw) XXX_Size() int
- func (m *MsgWithdraw) XXX_Unmarshal(b []byte) error
- type MsgWithdrawResponse
- func (*MsgWithdrawResponse) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawResponse) ProtoMessage()
- func (m *MsgWithdrawResponse) Reset()
- func (m *MsgWithdrawResponse) Size() (n int)
- func (m *MsgWithdrawResponse) String() string
- func (m *MsgWithdrawResponse) Unmarshal(dAtA []byte) error
- func (m *MsgWithdrawResponse) XXX_DiscardUnknown()
- func (m *MsgWithdrawResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawResponse) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawResponse) XXX_Size() int
- func (m *MsgWithdrawResponse) XXX_Unmarshal(b []byte) error
- type MsgWithdrawRewardToken
- func (*MsgWithdrawRewardToken) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawRewardToken) GetCreator() string
- func (m *MsgWithdrawRewardToken) GetRewardPoolIndex() uint32
- func (msg *MsgWithdrawRewardToken) GetSignBytes() []byte
- func (msg *MsgWithdrawRewardToken) GetSigners() []sdk.AccAddress
- func (m *MsgWithdrawRewardToken) GetStakePoolIndex() uint32
- func (m *MsgWithdrawRewardToken) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawRewardToken) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawRewardToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawRewardToken) ProtoMessage()
- func (m *MsgWithdrawRewardToken) Reset()
- func (msg *MsgWithdrawRewardToken) Route() string
- func (m *MsgWithdrawRewardToken) Size() (n int)
- func (m *MsgWithdrawRewardToken) String() string
- func (msg *MsgWithdrawRewardToken) Type() string
- func (m *MsgWithdrawRewardToken) Unmarshal(dAtA []byte) error
- func (msg *MsgWithdrawRewardToken) ValidateBasic() error
- func (m *MsgWithdrawRewardToken) XXX_DiscardUnknown()
- func (m *MsgWithdrawRewardToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawRewardToken) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawRewardToken) XXX_Size() int
- func (m *MsgWithdrawRewardToken) XXX_Unmarshal(b []byte) error
- type MsgWithdrawRewardTokenResponse
- func (*MsgWithdrawRewardTokenResponse) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawRewardTokenResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawRewardTokenResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawRewardTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawRewardTokenResponse) ProtoMessage()
- func (m *MsgWithdrawRewardTokenResponse) Reset()
- func (m *MsgWithdrawRewardTokenResponse) Size() (n int)
- func (m *MsgWithdrawRewardTokenResponse) String() string
- func (m *MsgWithdrawRewardTokenResponse) Unmarshal(dAtA []byte) error
- func (m *MsgWithdrawRewardTokenResponse) XXX_DiscardUnknown()
- func (m *MsgWithdrawRewardTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawRewardTokenResponse) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawRewardTokenResponse) XXX_Size() int
- func (m *MsgWithdrawRewardTokenResponse) 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 QueryClient
- type QueryMaxRewardPoolNumberRequest
- func (*QueryMaxRewardPoolNumberRequest) Descriptor() ([]byte, []int)
- func (m *QueryMaxRewardPoolNumberRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryMaxRewardPoolNumberRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMaxRewardPoolNumberRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMaxRewardPoolNumberRequest) ProtoMessage()
- func (m *QueryMaxRewardPoolNumberRequest) Reset()
- func (m *QueryMaxRewardPoolNumberRequest) Size() (n int)
- func (m *QueryMaxRewardPoolNumberRequest) String() string
- func (m *QueryMaxRewardPoolNumberRequest) Unmarshal(dAtA []byte) error
- func (m *QueryMaxRewardPoolNumberRequest) XXX_DiscardUnknown()
- func (m *QueryMaxRewardPoolNumberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMaxRewardPoolNumberRequest) XXX_Merge(src proto.Message)
- func (m *QueryMaxRewardPoolNumberRequest) XXX_Size() int
- func (m *QueryMaxRewardPoolNumberRequest) XXX_Unmarshal(b []byte) error
- type QueryMaxRewardPoolNumberResponse
- func (*QueryMaxRewardPoolNumberResponse) Descriptor() ([]byte, []int)
- func (m *QueryMaxRewardPoolNumberResponse) GetNumber() uint32
- func (m *QueryMaxRewardPoolNumberResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryMaxRewardPoolNumberResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMaxRewardPoolNumberResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMaxRewardPoolNumberResponse) ProtoMessage()
- func (m *QueryMaxRewardPoolNumberResponse) Reset()
- func (m *QueryMaxRewardPoolNumberResponse) Size() (n int)
- func (m *QueryMaxRewardPoolNumberResponse) String() string
- func (m *QueryMaxRewardPoolNumberResponse) Unmarshal(dAtA []byte) error
- func (m *QueryMaxRewardPoolNumberResponse) XXX_DiscardUnknown()
- func (m *QueryMaxRewardPoolNumberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMaxRewardPoolNumberResponse) XXX_Merge(src proto.Message)
- func (m *QueryMaxRewardPoolNumberResponse) XXX_Size() int
- func (m *QueryMaxRewardPoolNumberResponse) XXX_Unmarshal(b []byte) error
- type QueryMaxStakeItemNumberRequest
- func (*QueryMaxStakeItemNumberRequest) Descriptor() ([]byte, []int)
- func (m *QueryMaxStakeItemNumberRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryMaxStakeItemNumberRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMaxStakeItemNumberRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMaxStakeItemNumberRequest) ProtoMessage()
- func (m *QueryMaxStakeItemNumberRequest) Reset()
- func (m *QueryMaxStakeItemNumberRequest) Size() (n int)
- func (m *QueryMaxStakeItemNumberRequest) String() string
- func (m *QueryMaxStakeItemNumberRequest) Unmarshal(dAtA []byte) error
- func (m *QueryMaxStakeItemNumberRequest) XXX_DiscardUnknown()
- func (m *QueryMaxStakeItemNumberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMaxStakeItemNumberRequest) XXX_Merge(src proto.Message)
- func (m *QueryMaxStakeItemNumberRequest) XXX_Size() int
- func (m *QueryMaxStakeItemNumberRequest) XXX_Unmarshal(b []byte) error
- type QueryMaxStakeItemNumberResponse
- func (*QueryMaxStakeItemNumberResponse) Descriptor() ([]byte, []int)
- func (m *QueryMaxStakeItemNumberResponse) GetNumber() uint32
- func (m *QueryMaxStakeItemNumberResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryMaxStakeItemNumberResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMaxStakeItemNumberResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMaxStakeItemNumberResponse) ProtoMessage()
- func (m *QueryMaxStakeItemNumberResponse) Reset()
- func (m *QueryMaxStakeItemNumberResponse) Size() (n int)
- func (m *QueryMaxStakeItemNumberResponse) String() string
- func (m *QueryMaxStakeItemNumberResponse) Unmarshal(dAtA []byte) error
- func (m *QueryMaxStakeItemNumberResponse) XXX_DiscardUnknown()
- func (m *QueryMaxStakeItemNumberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMaxStakeItemNumberResponse) XXX_Merge(src proto.Message)
- func (m *QueryMaxStakeItemNumberResponse) XXX_Size() int
- func (m *QueryMaxStakeItemNumberResponse) XXX_Unmarshal(b []byte) error
- type QueryMiningProviderListRequest
- func (*QueryMiningProviderListRequest) Descriptor() ([]byte, []int)
- func (m *QueryMiningProviderListRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryMiningProviderListRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMiningProviderListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMiningProviderListRequest) ProtoMessage()
- func (m *QueryMiningProviderListRequest) Reset()
- func (m *QueryMiningProviderListRequest) Size() (n int)
- func (m *QueryMiningProviderListRequest) String() string
- func (m *QueryMiningProviderListRequest) Unmarshal(dAtA []byte) error
- func (m *QueryMiningProviderListRequest) XXX_DiscardUnknown()
- func (m *QueryMiningProviderListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMiningProviderListRequest) XXX_Merge(src proto.Message)
- func (m *QueryMiningProviderListRequest) XXX_Size() int
- func (m *QueryMiningProviderListRequest) XXX_Unmarshal(b []byte) error
- type QueryMiningProviderListResponse
- func (*QueryMiningProviderListResponse) Descriptor() ([]byte, []int)
- func (m *QueryMiningProviderListResponse) GetMiningProviderList() []string
- func (m *QueryMiningProviderListResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryMiningProviderListResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMiningProviderListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMiningProviderListResponse) ProtoMessage()
- func (m *QueryMiningProviderListResponse) Reset()
- func (m *QueryMiningProviderListResponse) Size() (n int)
- func (m *QueryMiningProviderListResponse) String() string
- func (m *QueryMiningProviderListResponse) Unmarshal(dAtA []byte) error
- func (m *QueryMiningProviderListResponse) XXX_DiscardUnknown()
- func (m *QueryMiningProviderListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMiningProviderListResponse) XXX_Merge(src proto.Message)
- func (m *QueryMiningProviderListResponse) XXX_Size() int
- func (m *QueryMiningProviderListResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryProviderSwitchRequest
- func (*QueryProviderSwitchRequest) Descriptor() ([]byte, []int)
- func (m *QueryProviderSwitchRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryProviderSwitchRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProviderSwitchRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProviderSwitchRequest) ProtoMessage()
- func (m *QueryProviderSwitchRequest) Reset()
- func (m *QueryProviderSwitchRequest) Size() (n int)
- func (m *QueryProviderSwitchRequest) String() string
- func (m *QueryProviderSwitchRequest) Unmarshal(dAtA []byte) error
- func (m *QueryProviderSwitchRequest) XXX_DiscardUnknown()
- func (m *QueryProviderSwitchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProviderSwitchRequest) XXX_Merge(src proto.Message)
- func (m *QueryProviderSwitchRequest) XXX_Size() int
- func (m *QueryProviderSwitchRequest) XXX_Unmarshal(b []byte) error
- type QueryProviderSwitchResponse
- func (*QueryProviderSwitchResponse) Descriptor() ([]byte, []int)
- func (m *QueryProviderSwitchResponse) GetProviderSwitch() bool
- func (m *QueryProviderSwitchResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryProviderSwitchResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProviderSwitchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProviderSwitchResponse) ProtoMessage()
- func (m *QueryProviderSwitchResponse) Reset()
- func (m *QueryProviderSwitchResponse) Size() (n int)
- func (m *QueryProviderSwitchResponse) String() string
- func (m *QueryProviderSwitchResponse) Unmarshal(dAtA []byte) error
- func (m *QueryProviderSwitchResponse) XXX_DiscardUnknown()
- func (m *QueryProviderSwitchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProviderSwitchResponse) XXX_Merge(src proto.Message)
- func (m *QueryProviderSwitchResponse) XXX_Size() int
- func (m *QueryProviderSwitchResponse) XXX_Unmarshal(b []byte) error
- type QueryRewardTokenListRequest
- func (*QueryRewardTokenListRequest) Descriptor() ([]byte, []int)
- func (m *QueryRewardTokenListRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryRewardTokenListRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRewardTokenListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRewardTokenListRequest) ProtoMessage()
- func (m *QueryRewardTokenListRequest) Reset()
- func (m *QueryRewardTokenListRequest) Size() (n int)
- func (m *QueryRewardTokenListRequest) String() string
- func (m *QueryRewardTokenListRequest) Unmarshal(dAtA []byte) error
- func (m *QueryRewardTokenListRequest) XXX_DiscardUnknown()
- func (m *QueryRewardTokenListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRewardTokenListRequest) XXX_Merge(src proto.Message)
- func (m *QueryRewardTokenListRequest) XXX_Size() int
- func (m *QueryRewardTokenListRequest) XXX_Unmarshal(b []byte) error
- type QueryRewardTokenListResponse
- func (*QueryRewardTokenListResponse) Descriptor() ([]byte, []int)
- func (m *QueryRewardTokenListResponse) GetRewardTokenList() []*RewardToken
- func (m *QueryRewardTokenListResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryRewardTokenListResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRewardTokenListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRewardTokenListResponse) ProtoMessage()
- func (m *QueryRewardTokenListResponse) Reset()
- func (m *QueryRewardTokenListResponse) Size() (n int)
- func (m *QueryRewardTokenListResponse) String() string
- func (m *QueryRewardTokenListResponse) Unmarshal(dAtA []byte) error
- func (m *QueryRewardTokenListResponse) XXX_DiscardUnknown()
- func (m *QueryRewardTokenListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRewardTokenListResponse) XXX_Merge(src proto.Message)
- func (m *QueryRewardTokenListResponse) XXX_Size() int
- func (m *QueryRewardTokenListResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryStakeItemListRequest
- func (*QueryStakeItemListRequest) Descriptor() ([]byte, []int)
- func (m *QueryStakeItemListRequest) GetStakePoolIndex() uint32
- func (m *QueryStakeItemListRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryStakeItemListRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStakeItemListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStakeItemListRequest) ProtoMessage()
- func (m *QueryStakeItemListRequest) Reset()
- func (m *QueryStakeItemListRequest) Size() (n int)
- func (m *QueryStakeItemListRequest) String() string
- func (m *QueryStakeItemListRequest) Unmarshal(dAtA []byte) error
- func (m *QueryStakeItemListRequest) XXX_DiscardUnknown()
- func (m *QueryStakeItemListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStakeItemListRequest) XXX_Merge(src proto.Message)
- func (m *QueryStakeItemListRequest) XXX_Size() int
- func (m *QueryStakeItemListRequest) XXX_Unmarshal(b []byte) error
- type QueryStakeItemListResponse
- func (*QueryStakeItemListResponse) Descriptor() ([]byte, []int)
- func (m *QueryStakeItemListResponse) GetStakeItemList() []*StakeItem
- func (m *QueryStakeItemListResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryStakeItemListResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStakeItemListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStakeItemListResponse) ProtoMessage()
- func (m *QueryStakeItemListResponse) Reset()
- func (m *QueryStakeItemListResponse) Size() (n int)
- func (m *QueryStakeItemListResponse) String() string
- func (m *QueryStakeItemListResponse) Unmarshal(dAtA []byte) error
- func (m *QueryStakeItemListResponse) XXX_DiscardUnknown()
- func (m *QueryStakeItemListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStakeItemListResponse) XXX_Merge(src proto.Message)
- func (m *QueryStakeItemListResponse) XXX_Size() int
- func (m *QueryStakeItemListResponse) XXX_Unmarshal(b []byte) error
- type QueryStakePoolInfoRequest
- func (*QueryStakePoolInfoRequest) Descriptor() ([]byte, []int)
- func (m *QueryStakePoolInfoRequest) GetStakePoolIndex() uint32
- func (m *QueryStakePoolInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryStakePoolInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStakePoolInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStakePoolInfoRequest) ProtoMessage()
- func (m *QueryStakePoolInfoRequest) Reset()
- func (m *QueryStakePoolInfoRequest) Size() (n int)
- func (m *QueryStakePoolInfoRequest) String() string
- func (m *QueryStakePoolInfoRequest) Unmarshal(dAtA []byte) error
- func (m *QueryStakePoolInfoRequest) XXX_DiscardUnknown()
- func (m *QueryStakePoolInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStakePoolInfoRequest) XXX_Merge(src proto.Message)
- func (m *QueryStakePoolInfoRequest) XXX_Size() int
- func (m *QueryStakePoolInfoRequest) XXX_Unmarshal(b []byte) error
- type QueryStakePoolInfoResponse
- func (*QueryStakePoolInfoResponse) Descriptor() ([]byte, []int)
- func (m *QueryStakePoolInfoResponse) GetStakePool() *StakePool
- func (m *QueryStakePoolInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryStakePoolInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStakePoolInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStakePoolInfoResponse) ProtoMessage()
- func (m *QueryStakePoolInfoResponse) Reset()
- func (m *QueryStakePoolInfoResponse) Size() (n int)
- func (m *QueryStakePoolInfoResponse) String() string
- func (m *QueryStakePoolInfoResponse) Unmarshal(dAtA []byte) error
- func (m *QueryStakePoolInfoResponse) XXX_DiscardUnknown()
- func (m *QueryStakePoolInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStakePoolInfoResponse) XXX_Merge(src proto.Message)
- func (m *QueryStakePoolInfoResponse) XXX_Size() int
- func (m *QueryStakePoolInfoResponse) XXX_Unmarshal(b []byte) error
- type QueryStakePoolListRequest
- func (*QueryStakePoolListRequest) Descriptor() ([]byte, []int)
- func (m *QueryStakePoolListRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryStakePoolListRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStakePoolListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStakePoolListRequest) ProtoMessage()
- func (m *QueryStakePoolListRequest) Reset()
- func (m *QueryStakePoolListRequest) Size() (n int)
- func (m *QueryStakePoolListRequest) String() string
- func (m *QueryStakePoolListRequest) Unmarshal(dAtA []byte) error
- func (m *QueryStakePoolListRequest) XXX_DiscardUnknown()
- func (m *QueryStakePoolListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStakePoolListRequest) XXX_Merge(src proto.Message)
- func (m *QueryStakePoolListRequest) XXX_Size() int
- func (m *QueryStakePoolListRequest) XXX_Unmarshal(b []byte) error
- type QueryStakePoolListResponse
- func (*QueryStakePoolListResponse) Descriptor() ([]byte, []int)
- func (m *QueryStakePoolListResponse) GetStakePoolList() []*StakePool
- func (m *QueryStakePoolListResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryStakePoolListResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStakePoolListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStakePoolListResponse) ProtoMessage()
- func (m *QueryStakePoolListResponse) Reset()
- func (m *QueryStakePoolListResponse) Size() (n int)
- func (m *QueryStakePoolListResponse) String() string
- func (m *QueryStakePoolListResponse) Unmarshal(dAtA []byte) error
- func (m *QueryStakePoolListResponse) XXX_DiscardUnknown()
- func (m *QueryStakePoolListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStakePoolListResponse) XXX_Merge(src proto.Message)
- func (m *QueryStakePoolListResponse) XXX_Size() int
- func (m *QueryStakePoolListResponse) XXX_Unmarshal(b []byte) error
- type QueryStakeRecordCountRequest
- func (*QueryStakeRecordCountRequest) Descriptor() ([]byte, []int)
- func (m *QueryStakeRecordCountRequest) GetStakePoolIndex() uint32
- func (m *QueryStakeRecordCountRequest) GetUserAddress() string
- func (m *QueryStakeRecordCountRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryStakeRecordCountRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStakeRecordCountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStakeRecordCountRequest) ProtoMessage()
- func (m *QueryStakeRecordCountRequest) Reset()
- func (m *QueryStakeRecordCountRequest) Size() (n int)
- func (m *QueryStakeRecordCountRequest) String() string
- func (m *QueryStakeRecordCountRequest) Unmarshal(dAtA []byte) error
- func (m *QueryStakeRecordCountRequest) XXX_DiscardUnknown()
- func (m *QueryStakeRecordCountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStakeRecordCountRequest) XXX_Merge(src proto.Message)
- func (m *QueryStakeRecordCountRequest) XXX_Size() int
- func (m *QueryStakeRecordCountRequest) XXX_Unmarshal(b []byte) error
- type QueryStakeRecordCountResponse
- func (*QueryStakeRecordCountResponse) Descriptor() ([]byte, []int)
- func (m *QueryStakeRecordCountResponse) GetCount() uint32
- func (m *QueryStakeRecordCountResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryStakeRecordCountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStakeRecordCountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStakeRecordCountResponse) ProtoMessage()
- func (m *QueryStakeRecordCountResponse) Reset()
- func (m *QueryStakeRecordCountResponse) Size() (n int)
- func (m *QueryStakeRecordCountResponse) String() string
- func (m *QueryStakeRecordCountResponse) Unmarshal(dAtA []byte) error
- func (m *QueryStakeRecordCountResponse) XXX_DiscardUnknown()
- func (m *QueryStakeRecordCountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStakeRecordCountResponse) XXX_Merge(src proto.Message)
- func (m *QueryStakeRecordCountResponse) XXX_Size() int
- func (m *QueryStakeRecordCountResponse) XXX_Unmarshal(b []byte) error
- type QueryStakeRecordListRequest
- func (*QueryStakeRecordListRequest) Descriptor() ([]byte, []int)
- func (m *QueryStakeRecordListRequest) GetStakePoolIndex() uint32
- func (m *QueryStakeRecordListRequest) GetUserAddress() string
- func (m *QueryStakeRecordListRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryStakeRecordListRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStakeRecordListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStakeRecordListRequest) ProtoMessage()
- func (m *QueryStakeRecordListRequest) Reset()
- func (m *QueryStakeRecordListRequest) Size() (n int)
- func (m *QueryStakeRecordListRequest) String() string
- func (m *QueryStakeRecordListRequest) Unmarshal(dAtA []byte) error
- func (m *QueryStakeRecordListRequest) XXX_DiscardUnknown()
- func (m *QueryStakeRecordListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStakeRecordListRequest) XXX_Merge(src proto.Message)
- func (m *QueryStakeRecordListRequest) XXX_Size() int
- func (m *QueryStakeRecordListRequest) XXX_Unmarshal(b []byte) error
- type QueryStakeRecordListResponse
- func (*QueryStakeRecordListResponse) Descriptor() ([]byte, []int)
- func (m *QueryStakeRecordListResponse) GetStakeRecordList() []*UserStakeRecord
- func (m *QueryStakeRecordListResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryStakeRecordListResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStakeRecordListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStakeRecordListResponse) ProtoMessage()
- func (m *QueryStakeRecordListResponse) Reset()
- func (m *QueryStakeRecordListResponse) Size() (n int)
- func (m *QueryStakeRecordListResponse) String() string
- func (m *QueryStakeRecordListResponse) Unmarshal(dAtA []byte) error
- func (m *QueryStakeRecordListResponse) XXX_DiscardUnknown()
- func (m *QueryStakeRecordListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStakeRecordListResponse) XXX_Merge(src proto.Message)
- func (m *QueryStakeRecordListResponse) XXX_Size() int
- func (m *QueryStakeRecordListResponse) XXX_Unmarshal(b []byte) error
- type QueryStakeRecordRequest
- func (*QueryStakeRecordRequest) Descriptor() ([]byte, []int)
- func (m *QueryStakeRecordRequest) GetStakePoolIndex() uint32
- func (m *QueryStakeRecordRequest) GetStakeRecordIndex() uint32
- func (m *QueryStakeRecordRequest) GetUserAddress() string
- func (m *QueryStakeRecordRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryStakeRecordRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStakeRecordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStakeRecordRequest) ProtoMessage()
- func (m *QueryStakeRecordRequest) Reset()
- func (m *QueryStakeRecordRequest) Size() (n int)
- func (m *QueryStakeRecordRequest) String() string
- func (m *QueryStakeRecordRequest) Unmarshal(dAtA []byte) error
- func (m *QueryStakeRecordRequest) XXX_DiscardUnknown()
- func (m *QueryStakeRecordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStakeRecordRequest) XXX_Merge(src proto.Message)
- func (m *QueryStakeRecordRequest) XXX_Size() int
- func (m *QueryStakeRecordRequest) XXX_Unmarshal(b []byte) error
- type QueryStakeRecordResponse
- func (*QueryStakeRecordResponse) Descriptor() ([]byte, []int)
- func (m *QueryStakeRecordResponse) GetStakeRecord() *UserStakeRecord
- func (m *QueryStakeRecordResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryStakeRecordResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStakeRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStakeRecordResponse) ProtoMessage()
- func (m *QueryStakeRecordResponse) Reset()
- func (m *QueryStakeRecordResponse) Size() (n int)
- func (m *QueryStakeRecordResponse) String() string
- func (m *QueryStakeRecordResponse) Unmarshal(dAtA []byte) error
- func (m *QueryStakeRecordResponse) XXX_DiscardUnknown()
- func (m *QueryStakeRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStakeRecordResponse) XXX_Merge(src proto.Message)
- func (m *QueryStakeRecordResponse) XXX_Size() int
- func (m *QueryStakeRecordResponse) XXX_Unmarshal(b []byte) error
- type QueryStakeRewardRequest
- func (*QueryStakeRewardRequest) Descriptor() ([]byte, []int)
- func (m *QueryStakeRewardRequest) GetStakePoolIndex() uint32
- func (m *QueryStakeRewardRequest) GetStakeRecordIndex() uint32
- func (m *QueryStakeRewardRequest) GetStakeUserAddress() string
- func (m *QueryStakeRewardRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryStakeRewardRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStakeRewardRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStakeRewardRequest) ProtoMessage()
- func (m *QueryStakeRewardRequest) Reset()
- func (m *QueryStakeRewardRequest) Size() (n int)
- func (m *QueryStakeRewardRequest) String() string
- func (m *QueryStakeRewardRequest) Unmarshal(dAtA []byte) error
- func (m *QueryStakeRewardRequest) XXX_DiscardUnknown()
- func (m *QueryStakeRewardRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStakeRewardRequest) XXX_Merge(src proto.Message)
- func (m *QueryStakeRewardRequest) XXX_Size() int
- func (m *QueryStakeRewardRequest) XXX_Unmarshal(b []byte) error
- type QueryStakeRewardResponse
- func (*QueryStakeRewardResponse) Descriptor() ([]byte, []int)
- func (m *QueryStakeRewardResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryStakeRewardResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStakeRewardResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStakeRewardResponse) ProtoMessage()
- func (m *QueryStakeRewardResponse) Reset()
- func (m *QueryStakeRewardResponse) Size() (n int)
- func (m *QueryStakeRewardResponse) String() string
- func (m *QueryStakeRewardResponse) Unmarshal(dAtA []byte) error
- func (m *QueryStakeRewardResponse) XXX_DiscardUnknown()
- func (m *QueryStakeRewardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStakeRewardResponse) XXX_Merge(src proto.Message)
- func (m *QueryStakeRewardResponse) XXX_Size() int
- func (m *QueryStakeRewardResponse) XXX_Unmarshal(b []byte) error
- type RDexKeeper
- type RewardPool
- func (*RewardPool) Descriptor() ([]byte, []int)
- func (m *RewardPool) GetCreator() string
- func (m *RewardPool) GetIndex() uint32
- func (m *RewardPool) GetLastRewardTimestamp() uint64
- func (m *RewardPool) GetRewardTokenDenom() string
- func (m *RewardPool) GetStartTimestamp() uint64
- func (m *RewardPool) Marshal() (dAtA []byte, err error)
- func (m *RewardPool) MarshalTo(dAtA []byte) (int, error)
- func (m *RewardPool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RewardPool) ProtoMessage()
- func (m *RewardPool) Reset()
- func (m *RewardPool) Size() (n int)
- func (m *RewardPool) String() string
- func (m *RewardPool) Unmarshal(dAtA []byte) error
- func (m *RewardPool) XXX_DiscardUnknown()
- func (m *RewardPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RewardPool) XXX_Merge(src proto.Message)
- func (m *RewardPool) XXX_Size() int
- func (m *RewardPool) XXX_Unmarshal(b []byte) error
- type RewardToken
- func (*RewardToken) Descriptor() ([]byte, []int)
- func (m *RewardToken) GetRewardTokenDenom() string
- func (m *RewardToken) Marshal() (dAtA []byte, err error)
- func (m *RewardToken) MarshalTo(dAtA []byte) (int, error)
- func (m *RewardToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RewardToken) ProtoMessage()
- func (m *RewardToken) Reset()
- func (m *RewardToken) Size() (n int)
- func (m *RewardToken) String() string
- func (m *RewardToken) Unmarshal(dAtA []byte) error
- func (m *RewardToken) XXX_DiscardUnknown()
- func (m *RewardToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RewardToken) XXX_Merge(src proto.Message)
- func (m *RewardToken) XXX_Size() int
- func (m *RewardToken) XXX_Unmarshal(b []byte) error
- type StakeItem
- func (*StakeItem) Descriptor() ([]byte, []int)
- func (m *StakeItem) GetEnable() bool
- func (m *StakeItem) GetIndex() uint32
- func (m *StakeItem) GetLockSecond() uint64
- func (m *StakeItem) GetStakePoolIndex() uint32
- func (m *StakeItem) Marshal() (dAtA []byte, err error)
- func (m *StakeItem) MarshalTo(dAtA []byte) (int, error)
- func (m *StakeItem) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StakeItem) ProtoMessage()
- func (m *StakeItem) Reset()
- func (m *StakeItem) Size() (n int)
- func (m *StakeItem) String() string
- func (m *StakeItem) Unmarshal(dAtA []byte) error
- func (m *StakeItem) XXX_DiscardUnknown()
- func (m *StakeItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StakeItem) XXX_Merge(src proto.Message)
- func (m *StakeItem) XXX_Size() int
- func (m *StakeItem) XXX_Unmarshal(b []byte) error
- type StakeItemLimit
- func (*StakeItemLimit) Descriptor() ([]byte, []int)
- func (m *StakeItemLimit) GetMaxLockSecond() uint64
- func (m *StakeItemLimit) Marshal() (dAtA []byte, err error)
- func (m *StakeItemLimit) MarshalTo(dAtA []byte) (int, error)
- func (m *StakeItemLimit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StakeItemLimit) ProtoMessage()
- func (m *StakeItemLimit) Reset()
- func (m *StakeItemLimit) Size() (n int)
- func (m *StakeItemLimit) String() string
- func (m *StakeItemLimit) Unmarshal(dAtA []byte) error
- func (m *StakeItemLimit) XXX_DiscardUnknown()
- func (m *StakeItemLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StakeItemLimit) XXX_Merge(src proto.Message)
- func (m *StakeItemLimit) XXX_Size() int
- func (m *StakeItemLimit) XXX_Unmarshal(b []byte) error
- type StakePool
- func (*StakePool) Descriptor() ([]byte, []int)
- func (m *StakePool) GetCreator() string
- func (m *StakePool) GetEmergencySwitch() bool
- func (m *StakePool) GetIndex() uint32
- func (m *StakePool) GetRewardPools() []*RewardPool
- func (m *StakePool) GetStakeTokenDenom() string
- func (m *StakePool) Marshal() (dAtA []byte, err error)
- func (m *StakePool) MarshalTo(dAtA []byte) (int, error)
- func (m *StakePool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StakePool) ProtoMessage()
- func (m *StakePool) Reset()
- func (m *StakePool) Size() (n int)
- func (m *StakePool) String() string
- func (m *StakePool) Unmarshal(dAtA []byte) error
- func (m *StakePool) XXX_DiscardUnknown()
- func (m *StakePool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StakePool) XXX_Merge(src proto.Message)
- func (m *StakePool) XXX_Size() int
- func (m *StakePool) XXX_Unmarshal(b []byte) error
- type SudoKeeper
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) AddMiningProvider(ctx context.Context, req *MsgAddMiningProvider) (*MsgAddMiningProviderResponse, error)
- func (*UnimplementedMsgServer) AddReward(ctx context.Context, req *MsgAddReward) (*MsgAddRewardResponse, error)
- func (*UnimplementedMsgServer) AddRewardPool(ctx context.Context, req *MsgAddRewardPool) (*MsgAddRewardPoolResponse, error)
- func (*UnimplementedMsgServer) AddRewardToken(ctx context.Context, req *MsgAddRewardToken) (*MsgAddRewardTokenResponse, error)
- func (*UnimplementedMsgServer) AddStakeItem(ctx context.Context, req *MsgAddStakeItem) (*MsgAddStakeItemResponse, error)
- func (*UnimplementedMsgServer) AddStakePool(ctx context.Context, req *MsgAddStakePool) (*MsgAddStakePoolResponse, error)
- func (*UnimplementedMsgServer) AddStakeToken(ctx context.Context, req *MsgAddStakeToken) (*MsgAddStakeTokenResponse, error)
- func (*UnimplementedMsgServer) ClaimReward(ctx context.Context, req *MsgClaimReward) (*MsgClaimRewardResponse, error)
- func (*UnimplementedMsgServer) EmergencyWithdraw(ctx context.Context, req *MsgEmergencyWithdraw) (*MsgEmergencyWithdrawResponse, error)
- func (*UnimplementedMsgServer) RmMiningProvider(ctx context.Context, req *MsgRmMiningProvider) (*MsgRmMiningProviderResponse, error)
- func (*UnimplementedMsgServer) RmRewardToken(ctx context.Context, req *MsgRmRewardToken) (*MsgRmRewardTokenResponse, error)
- func (*UnimplementedMsgServer) RmStakeToken(ctx context.Context, req *MsgRmStakeToken) (*MsgRmStakeTokenResponse, error)
- func (*UnimplementedMsgServer) SetMaxRewardPoolNumber(ctx context.Context, req *MsgSetMaxRewardPoolNumber) (*MsgSetMaxRewardPoolNumberResponse, error)
- func (*UnimplementedMsgServer) SetMaxStakeItemNumber(ctx context.Context, req *MsgSetMaxStakeItemNumber) (*MsgSetMaxStakeItemNumberResponse, error)
- func (*UnimplementedMsgServer) SetStakeItemLimit(ctx context.Context, req *MsgSetStakeItemLimit) (*MsgSetStakeItemLimitResponse, error)
- func (*UnimplementedMsgServer) Stake(ctx context.Context, req *MsgStake) (*MsgStakeResponse, error)
- func (*UnimplementedMsgServer) ToggleEmergencySwitch(ctx context.Context, req *MsgToggleEmergencySwitch) (*MsgToggleEmergencySwitchResponse, error)
- func (*UnimplementedMsgServer) ToggleProviderSwitch(ctx context.Context, req *MsgToggleProviderSwitch) (*MsgToggleProviderSwitchResponse, error)
- func (*UnimplementedMsgServer) UpdateRewardPool(ctx context.Context, req *MsgUpdateRewardPool) (*MsgUpdateRewardPoolResponse, error)
- func (*UnimplementedMsgServer) UpdateStakeItem(ctx context.Context, req *MsgUpdateStakeItem) (*MsgUpdateStakeItemResponse, error)
- func (*UnimplementedMsgServer) Withdraw(ctx context.Context, req *MsgWithdraw) (*MsgWithdrawResponse, error)
- func (*UnimplementedMsgServer) WithdrawRewardToken(ctx context.Context, req *MsgWithdrawRewardToken) (*MsgWithdrawRewardTokenResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) MaxRewardPoolNumber(ctx context.Context, req *QueryMaxRewardPoolNumberRequest) (*QueryMaxRewardPoolNumberResponse, error)
- func (*UnimplementedQueryServer) MaxStakeItemNumber(ctx context.Context, req *QueryMaxStakeItemNumberRequest) (*QueryMaxStakeItemNumberResponse, error)
- func (*UnimplementedQueryServer) MiningProviderList(ctx context.Context, req *QueryMiningProviderListRequest) (*QueryMiningProviderListResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) ProviderSwitch(ctx context.Context, req *QueryProviderSwitchRequest) (*QueryProviderSwitchResponse, error)
- func (*UnimplementedQueryServer) RewardTokenList(ctx context.Context, req *QueryRewardTokenListRequest) (*QueryRewardTokenListResponse, error)
- func (*UnimplementedQueryServer) StakeItemList(ctx context.Context, req *QueryStakeItemListRequest) (*QueryStakeItemListResponse, error)
- func (*UnimplementedQueryServer) StakePoolInfo(ctx context.Context, req *QueryStakePoolInfoRequest) (*QueryStakePoolInfoResponse, error)
- func (*UnimplementedQueryServer) StakePoolList(ctx context.Context, req *QueryStakePoolListRequest) (*QueryStakePoolListResponse, error)
- func (*UnimplementedQueryServer) StakeRecord(ctx context.Context, req *QueryStakeRecordRequest) (*QueryStakeRecordResponse, error)
- func (*UnimplementedQueryServer) StakeRecordCount(ctx context.Context, req *QueryStakeRecordCountRequest) (*QueryStakeRecordCountResponse, error)
- func (*UnimplementedQueryServer) StakeRecordList(ctx context.Context, req *QueryStakeRecordListRequest) (*QueryStakeRecordListResponse, error)
- func (*UnimplementedQueryServer) StakeReward(ctx context.Context, req *QueryStakeRewardRequest) (*QueryStakeRewardResponse, error)
- type UserRewardInfo
- func (*UserRewardInfo) Descriptor() ([]byte, []int)
- func (m *UserRewardInfo) GetRewardPoolIndex() uint32
- func (m *UserRewardInfo) GetRewardTokenDenom() string
- func (m *UserRewardInfo) Marshal() (dAtA []byte, err error)
- func (m *UserRewardInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *UserRewardInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserRewardInfo) ProtoMessage()
- func (m *UserRewardInfo) Reset()
- func (m *UserRewardInfo) Size() (n int)
- func (m *UserRewardInfo) String() string
- func (m *UserRewardInfo) Unmarshal(dAtA []byte) error
- func (m *UserRewardInfo) XXX_DiscardUnknown()
- func (m *UserRewardInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserRewardInfo) XXX_Merge(src proto.Message)
- func (m *UserRewardInfo) XXX_Size() int
- func (m *UserRewardInfo) XXX_Unmarshal(b []byte) error
- type UserStakeRecord
- func (*UserStakeRecord) Descriptor() ([]byte, []int)
- func (m *UserStakeRecord) GetIndex() uint32
- func (m *UserStakeRecord) GetLockEndTimestamp() uint64
- func (m *UserStakeRecord) GetStakeItemIndex() uint32
- func (m *UserStakeRecord) GetStakePoolIndex() uint32
- func (m *UserStakeRecord) GetStartTimestamp() uint64
- func (m *UserStakeRecord) GetUserAddress() string
- func (m *UserStakeRecord) GetUserRewardInfos() []*UserRewardInfo
- func (m *UserStakeRecord) Marshal() (dAtA []byte, err error)
- func (m *UserStakeRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *UserStakeRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserStakeRecord) ProtoMessage()
- func (m *UserStakeRecord) Reset()
- func (m *UserStakeRecord) Size() (n int)
- func (m *UserStakeRecord) String() string
- func (m *UserStakeRecord) Unmarshal(dAtA []byte) error
- func (m *UserStakeRecord) XXX_DiscardUnknown()
- func (m *UserStakeRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserStakeRecord) XXX_Merge(src proto.Message)
- func (m *UserStakeRecord) XXX_Size() int
- func (m *UserStakeRecord) XXX_Unmarshal(b []byte) error
Constants ¶
const ( EventTypeAddStakePool = "add_stake_pool" EventTypeAddStakeItem = "add_stake_item" EventTypeAddRewardPool = "add_reward_pool" EventTypeStake = "stake" EventTypeClaimReward = "claim_reward" EventTypeWithdraw = "withdraw" EventTypeEmergencyWithdraw = "emergency_withdraw" AttributeKeyAccount = "account" AttributeKeyStakeTokenDenom = "stake_token_denom" AttributeKeyStakePoolIndex = "stake_pool_index" AttributeKeyMaxRewardPools = "max_reward_pools" AttributeKeyStakeItemIndex = "stake_item_index" AttributeKeyLockSecond = "lock_second" AttributeKeyPowerRewardRate = "power_reward_rate" AttributeKeyRewardTokenDenom = "reward_token_denom" AttributeKeyTotalRewardAmount = "total_reward_amount" AttributeKeyRewardPerSecond = "reward_per_second" AttributeKeyStartTimestamp = "start_timestamp" AttributeKeyLastRewardTimestamp = "last_reward_timestamp" AttributeKeyStakeRecordIndex = "stake_record_index" AttributeKeyStakeTokenAmount = "stake_token_amount" AttributeKeyStakePower = "stake_power" AttributeKeyEndTimestamp = "end_timestamp" AttributeKeyClaimedTokens = "claimed_tokens" AttributeKeyWithdrawAmount = "withdraw_amount" )
sudo module event types
const ( // ModuleName defines the module name ModuleName = "mining" // 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_mining" )
const DefaultIndex uint64 = 1
DefaultIndex is the default capability global index
const TypeMsgAddMiningProvider = "add_mining_provider"
const TypeMsgAddReward = "add_reward"
const TypeMsgAddRewardPool = "add_reward_pool"
const TypeMsgAddRewardToken = "add_reward_token"
const TypeMsgAddStakeItem = "add_stake_item"
const TypeMsgAddStakePool = "add_stake_pool"
const TypeMsgAddStakeToken = "add_stake_token"
const TypeMsgClaimReward = "claim_reward"
const TypeMsgEmergencyWithdraw = "emergency_withdraw"
const TypeMsgRmMiningProvider = "rm_mining_provider"
const TypeMsgRmRewardToken = "rm_reward_token"
const TypeMsgRmStakeToken = "rm_stake_token"
const TypeMsgSetMaxRewardPoolNumber = "set_max_reward_pool_number"
const TypeMsgSetMaxStakeItemNumber = "set_max_stake_item_number"
const TypeMsgSetStakeItemLimit = "set_stake_item_limit"
const TypeMsgStake = "stake"
const TypeMsgToggleEmergencySwitch = "toggle_emergency_switch"
const TypeMsgToggleProviderSwitch = "toggle_provider_switch"
const TypeMsgUpdateRewardPool = "update_reward_pool"
const TypeMsgUpdateStakeItem = "update_stake_item"
const TypeMsgWithdraw = "withdraw"
const TypeMsgWithdrawRewardToken = "withdraw_reward_token"
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewAminoCodec(Amino) )
var ( ErrStakePoolAlreadyExist = sdkerrors.Register(ModuleName, 1101, "stake pool already exist") ErrStakePoolNotExist = sdkerrors.Register(ModuleName, 1102, "stake pool not exist") ErrRewardPoolNumberReachLimit = sdkerrors.Register(ModuleName, 1103, "reward pool number reach limit") ErrStakeItemNotExist = sdkerrors.Register(ModuleName, 1104, "stake item not exist") ErrUserStakeRecordNotExist = sdkerrors.Register(ModuleName, 1105, "user stake record not exist") ErrStakeTokenStillLocked = sdkerrors.Register(ModuleName, 1106, "stake token still locked") ErrUserNotAdminOrMiningProvider = sdkerrors.Register(ModuleName, 1107, "user is not admin or mining provider") ErrUserNotMiningProvider = sdkerrors.Register(ModuleName, 1108, "user is not mining provider") ErrTotalRewardAmountLessThanLimit = sdkerrors.Register(ModuleName, 1109, "total reward amount is less than limit") ErrWithdrawAmountMoreThanStakeRecord = sdkerrors.Register(ModuleName, 1110, "withdraw amount is more than stake record") ErrRewardTokenNotSupport = sdkerrors.Register(ModuleName, 1111, "reward token not support") ErrRewardPoolNotExist = sdkerrors.Register(ModuleName, 1112, "reward pool not exist") ErrRewardPoolLeftRewardAmountNotZero = sdkerrors.Register(ModuleName, 1113, "reward pool left reward amount not zero") ErrMiningProviderNotExist = sdkerrors.Register(ModuleName, 1114, "mining provider not exist") ErrStakeItemNumberReachLimit = sdkerrors.Register(ModuleName, 1115, "stake item number reach limit") ErrStartTimestampAndRewardPerSecondNotZero = sdkerrors.Register(ModuleName, 1116, "start timestamp and reward per second not zero") ErrRewardTokenDenomDuplicate = sdkerrors.Register(ModuleName, 1117, "reward token denom duplicate") ErrEmergencySwitchOpen = sdkerrors.Register(ModuleName, 1119, "emergency switch is open") ErrEmergencySwitchClose = sdkerrors.Register(ModuleName, 1120, "emergency switch is close") ErrLockTimeOverRewardTime = sdkerrors.Register(ModuleName, 1121, "lock time over reward time") ErrUpdateStakeItemPermissionDeny = sdkerrors.Register(ModuleName, 1122, "update stake item permisson deny") ErrStakeTokenPermissionDeny = sdkerrors.Register(ModuleName, 1123, "stake token permissin deny") ErrStakeItemNotEnable = sdkerrors.Register(ModuleName, 1124, "stake item not enable") ErrStakeItemEraSecondExceedLimit = sdkerrors.Register(ModuleName, 1125, "stake item exceed limit") ErrStakeItemPowerRewardRateExceedLimit = sdkerrors.Register(ModuleName, 1126, "stake item power reward rate exceed limit") ErrRewardPerSecondLessThanLimit = sdkerrors.Register(ModuleName, 1127, "reward per second is less than limit") ErrUpdateRewardPoolPermissionDeny = sdkerrors.Register(ModuleName, 1128, "update reward pool permisson deny") ErrWithdrawRewardTokenPermissionDeny = sdkerrors.Register(ModuleName, 1129, "withdraw reward token permisson deny") ErrWithdrawRewardTokenAmountTooLarge = sdkerrors.Register(ModuleName, 1130, "withdraw reward token amount too large") ErrRewardSecondsLessThanMaxLockSeconds = sdkerrors.Register(ModuleName, 1131, "reward second is less than max lock seconds") )
x/mining 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 ( RewardFactor = sdk.NewInt(1e12) DefaultMaxPowerRewardRate = utils.NewDec(24) DefaultMaxLockSecond = uint64(360 * 24 * 60 * 60) DefaultMaxRewardPoolNumber = uint32(2) DefaultMaxStakeItemNumber = uint32(6) )
var ( StakePoolStoreKeyPrefix = []byte{0x01} StakeItemStoreKeyPrefix = []byte{0x02} UserStakeRecordStoreKeyPrefix = []byte{0x03} UserStakeRecordIndexStoreKeyPrefix = []byte{0x04} StakeItemIndexStoreKeyPrefix = []byte{0x06} MiningProviderStoreKeyPrefix = []byte{0x07} StakePoolIndexStoreKey = []byte{0x08} RewardTokenStoreKeyPrefix = []byte{0x09} MaxRewardPoolNumberStoreKey = []byte{0x0a} MiningProviderSwitchStoreKey = []byte{0x0b} StakeTokenStoreKeyPrefix = []byte{0x0c} StakeItemLimitStoreKey = []byte{0x0d} )
var ( SwitchStateClose = []byte{0x00} SwitchStateOpen = []byte{0x01} )
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 MiningProviderStoreKey ¶
func MiningProviderStoreKey(addr sdk.AccAddress) []byte
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 RewardTokenStoreKey ¶
func StakeItemIndexStoreKey ¶
func StakeItemStoreKey ¶
func StakePoolStoreKey ¶
func StakeTokenStoreKey ¶
func UserStakeRecordStoreKey ¶
prefix + len(userAddress) + userAddress + stakePoolIndex + index
Types ¶
type AccountKeeper ¶
AccountKeeper defines the expected account keeper used for simulations (noalias)
type BankKeeper ¶
type BankKeeper interface { //HasDenomMetaData(ctx sdk.Context, denom string) bool GetSupply(ctx sdk.Context, denom string) sdk.Coin SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error SendCoinsFromModuleToModule(ctx sdk.Context, senderModule, recipientModule string, amt sdk.Coins) error SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error MintCoins(ctx sdk.Context, name string, amt sdk.Coins) error BurnCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin SendCoins(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error }
BankKeeper defines the expected interface needed to retrieve account balances.
type CreateRewardPoolInfo ¶
type CreateRewardPoolInfo struct { RewardTokenDenom string `protobuf:"bytes,1,opt,name=rewardTokenDenom,proto3" json:"rewardTokenDenom,omitempty"` TotalRewardAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 127-byte string literal not displayed */ RewardPerSecond github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=rewardPerSecond,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"rewardPerSecond"` StartTimestamp uint64 `protobuf:"varint,4,opt,name=startTimestamp,proto3" json:"startTimestamp"` }
func (*CreateRewardPoolInfo) Descriptor ¶
func (*CreateRewardPoolInfo) Descriptor() ([]byte, []int)
func (*CreateRewardPoolInfo) GetRewardTokenDenom ¶
func (m *CreateRewardPoolInfo) GetRewardTokenDenom() string
func (*CreateRewardPoolInfo) GetStartTimestamp ¶
func (m *CreateRewardPoolInfo) GetStartTimestamp() uint64
func (*CreateRewardPoolInfo) Marshal ¶
func (m *CreateRewardPoolInfo) Marshal() (dAtA []byte, err error)
func (*CreateRewardPoolInfo) MarshalTo ¶
func (m *CreateRewardPoolInfo) MarshalTo(dAtA []byte) (int, error)
func (*CreateRewardPoolInfo) MarshalToSizedBuffer ¶
func (m *CreateRewardPoolInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CreateRewardPoolInfo) ProtoMessage ¶
func (*CreateRewardPoolInfo) ProtoMessage()
func (*CreateRewardPoolInfo) Reset ¶
func (m *CreateRewardPoolInfo) Reset()
func (*CreateRewardPoolInfo) Size ¶
func (m *CreateRewardPoolInfo) Size() (n int)
func (*CreateRewardPoolInfo) String ¶
func (m *CreateRewardPoolInfo) String() string
func (*CreateRewardPoolInfo) Unmarshal ¶
func (m *CreateRewardPoolInfo) Unmarshal(dAtA []byte) error
func (*CreateRewardPoolInfo) XXX_DiscardUnknown ¶
func (m *CreateRewardPoolInfo) XXX_DiscardUnknown()
func (*CreateRewardPoolInfo) XXX_Marshal ¶
func (m *CreateRewardPoolInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateRewardPoolInfo) XXX_Merge ¶
func (m *CreateRewardPoolInfo) XXX_Merge(src proto.Message)
func (*CreateRewardPoolInfo) XXX_Size ¶
func (m *CreateRewardPoolInfo) XXX_Size() int
func (*CreateRewardPoolInfo) XXX_Unmarshal ¶
func (m *CreateRewardPoolInfo) XXX_Unmarshal(b []byte) error
type CreateStakeItemInfo ¶
type CreateStakeItemInfo struct { LockSecond uint64 `protobuf:"varint,1,opt,name=lockSecond,proto3" json:"lockSecond"` // user stakedPower = powerRewardRate * stakedAmount PowerRewardRate github_com_stafihub_stafihub_utils.Dec `protobuf:"bytes,2,opt,name=powerRewardRate,proto3,customtype=github.com/stafihub/stafihub/utils.Dec" json:"powerRewardRate"` }
func (*CreateStakeItemInfo) Descriptor ¶
func (*CreateStakeItemInfo) Descriptor() ([]byte, []int)
func (*CreateStakeItemInfo) GetLockSecond ¶
func (m *CreateStakeItemInfo) GetLockSecond() uint64
func (*CreateStakeItemInfo) Marshal ¶
func (m *CreateStakeItemInfo) Marshal() (dAtA []byte, err error)
func (*CreateStakeItemInfo) MarshalTo ¶
func (m *CreateStakeItemInfo) MarshalTo(dAtA []byte) (int, error)
func (*CreateStakeItemInfo) MarshalToSizedBuffer ¶
func (m *CreateStakeItemInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CreateStakeItemInfo) ProtoMessage ¶
func (*CreateStakeItemInfo) ProtoMessage()
func (*CreateStakeItemInfo) Reset ¶
func (m *CreateStakeItemInfo) Reset()
func (*CreateStakeItemInfo) Size ¶
func (m *CreateStakeItemInfo) Size() (n int)
func (*CreateStakeItemInfo) String ¶
func (m *CreateStakeItemInfo) String() string
func (*CreateStakeItemInfo) Unmarshal ¶
func (m *CreateStakeItemInfo) Unmarshal(dAtA []byte) error
func (*CreateStakeItemInfo) XXX_DiscardUnknown ¶
func (m *CreateStakeItemInfo) XXX_DiscardUnknown()
func (*CreateStakeItemInfo) XXX_Marshal ¶
func (m *CreateStakeItemInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateStakeItemInfo) XXX_Merge ¶
func (m *CreateStakeItemInfo) XXX_Merge(src proto.Message)
func (*CreateStakeItemInfo) XXX_Size ¶
func (m *CreateStakeItemInfo) XXX_Size() int
func (*CreateStakeItemInfo) XXX_Unmarshal ¶
func (m *CreateStakeItemInfo) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` StakePoolList []*StakePool `protobuf:"bytes,2,rep,name=stakePoolList,proto3" json:"stakePoolList,omitempty"` StakeItemList []*StakeItem `protobuf:"bytes,3,rep,name=stakeItemList,proto3" json:"stakeItemList,omitempty"` UserStakeRecordList []*UserStakeRecord `protobuf:"bytes,4,rep,name=userStakeRecordList,proto3" json:"userStakeRecordList,omitempty"` MiningProviderList []string `protobuf:"bytes,5,rep,name=miningProviderList,proto3" json:"miningProviderList,omitempty"` RewardTokenList []*RewardToken `protobuf:"bytes,6,rep,name=rewardTokenList,proto3" json:"rewardTokenList,omitempty"` MaxRewardPoolNumber uint32 `protobuf:"varint,7,opt,name=maxRewardPoolNumber,proto3" json:"maxRewardPoolNumber,omitempty"` MiningProviderSwitch bool `protobuf:"varint,8,opt,name=miningProviderSwitch,proto3" json:"miningProviderSwitch,omitempty"` MaxStakeItemNumber uint32 `protobuf:"varint,9,opt,name=maxStakeItemNumber,proto3" json:"maxStakeItemNumber,omitempty"` StakeTokenList []string `protobuf:"bytes,10,rep,name=stakeTokenList,proto3" json:"stakeTokenList,omitempty"` StakeItemLimit *StakeItemLimit `protobuf:"bytes,11,opt,name=stakeItemLimit,proto3" json:"stakeItemLimit,omitempty"` }
GenesisState defines the mining 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) GetMaxRewardPoolNumber ¶
func (m *GenesisState) GetMaxRewardPoolNumber() uint32
func (*GenesisState) GetMaxStakeItemNumber ¶
func (m *GenesisState) GetMaxStakeItemNumber() uint32
func (*GenesisState) GetMiningProviderList ¶
func (m *GenesisState) GetMiningProviderList() []string
func (*GenesisState) GetMiningProviderSwitch ¶
func (m *GenesisState) GetMiningProviderSwitch() bool
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetRewardTokenList ¶
func (m *GenesisState) GetRewardTokenList() []*RewardToken
func (*GenesisState) GetStakeItemLimit ¶
func (m *GenesisState) GetStakeItemLimit() *StakeItemLimit
func (*GenesisState) GetStakeItemList ¶
func (m *GenesisState) GetStakeItemList() []*StakeItem
func (*GenesisState) GetStakePoolList ¶
func (m *GenesisState) GetStakePoolList() []*StakePool
func (*GenesisState) GetStakeTokenList ¶
func (m *GenesisState) GetStakeTokenList() []string
func (*GenesisState) GetUserStakeRecordList ¶
func (m *GenesisState) GetUserStakeRecordList() []*UserStakeRecord
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 MsgAddMiningProvider ¶
type MsgAddMiningProvider struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` UserAddress string `protobuf:"bytes,2,opt,name=userAddress,proto3" json:"userAddress,omitempty"` }
func NewMsgAddMiningProvider ¶
func NewMsgAddMiningProvider(creator string, userAddress string) *MsgAddMiningProvider
func (*MsgAddMiningProvider) Descriptor ¶
func (*MsgAddMiningProvider) Descriptor() ([]byte, []int)
func (*MsgAddMiningProvider) GetCreator ¶
func (m *MsgAddMiningProvider) GetCreator() string
func (*MsgAddMiningProvider) GetSignBytes ¶
func (msg *MsgAddMiningProvider) GetSignBytes() []byte
func (*MsgAddMiningProvider) GetSigners ¶
func (msg *MsgAddMiningProvider) GetSigners() []sdk.AccAddress
func (*MsgAddMiningProvider) GetUserAddress ¶
func (m *MsgAddMiningProvider) GetUserAddress() string
func (*MsgAddMiningProvider) Marshal ¶
func (m *MsgAddMiningProvider) Marshal() (dAtA []byte, err error)
func (*MsgAddMiningProvider) MarshalTo ¶
func (m *MsgAddMiningProvider) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddMiningProvider) MarshalToSizedBuffer ¶
func (m *MsgAddMiningProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddMiningProvider) ProtoMessage ¶
func (*MsgAddMiningProvider) ProtoMessage()
func (*MsgAddMiningProvider) Reset ¶
func (m *MsgAddMiningProvider) Reset()
func (*MsgAddMiningProvider) Route ¶
func (msg *MsgAddMiningProvider) Route() string
func (*MsgAddMiningProvider) Size ¶
func (m *MsgAddMiningProvider) Size() (n int)
func (*MsgAddMiningProvider) String ¶
func (m *MsgAddMiningProvider) String() string
func (*MsgAddMiningProvider) Type ¶
func (msg *MsgAddMiningProvider) Type() string
func (*MsgAddMiningProvider) Unmarshal ¶
func (m *MsgAddMiningProvider) Unmarshal(dAtA []byte) error
func (*MsgAddMiningProvider) ValidateBasic ¶
func (msg *MsgAddMiningProvider) ValidateBasic() error
func (*MsgAddMiningProvider) XXX_DiscardUnknown ¶
func (m *MsgAddMiningProvider) XXX_DiscardUnknown()
func (*MsgAddMiningProvider) XXX_Marshal ¶
func (m *MsgAddMiningProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddMiningProvider) XXX_Merge ¶
func (m *MsgAddMiningProvider) XXX_Merge(src proto.Message)
func (*MsgAddMiningProvider) XXX_Size ¶
func (m *MsgAddMiningProvider) XXX_Size() int
func (*MsgAddMiningProvider) XXX_Unmarshal ¶
func (m *MsgAddMiningProvider) XXX_Unmarshal(b []byte) error
type MsgAddMiningProviderResponse ¶
type MsgAddMiningProviderResponse struct { }
func (*MsgAddMiningProviderResponse) Descriptor ¶
func (*MsgAddMiningProviderResponse) Descriptor() ([]byte, []int)
func (*MsgAddMiningProviderResponse) Marshal ¶
func (m *MsgAddMiningProviderResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddMiningProviderResponse) MarshalTo ¶
func (m *MsgAddMiningProviderResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddMiningProviderResponse) MarshalToSizedBuffer ¶
func (m *MsgAddMiningProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddMiningProviderResponse) ProtoMessage ¶
func (*MsgAddMiningProviderResponse) ProtoMessage()
func (*MsgAddMiningProviderResponse) Reset ¶
func (m *MsgAddMiningProviderResponse) Reset()
func (*MsgAddMiningProviderResponse) Size ¶
func (m *MsgAddMiningProviderResponse) Size() (n int)
func (*MsgAddMiningProviderResponse) String ¶
func (m *MsgAddMiningProviderResponse) String() string
func (*MsgAddMiningProviderResponse) Unmarshal ¶
func (m *MsgAddMiningProviderResponse) Unmarshal(dAtA []byte) error
func (*MsgAddMiningProviderResponse) XXX_DiscardUnknown ¶
func (m *MsgAddMiningProviderResponse) XXX_DiscardUnknown()
func (*MsgAddMiningProviderResponse) XXX_Marshal ¶
func (m *MsgAddMiningProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddMiningProviderResponse) XXX_Merge ¶
func (m *MsgAddMiningProviderResponse) XXX_Merge(src proto.Message)
func (*MsgAddMiningProviderResponse) XXX_Size ¶
func (m *MsgAddMiningProviderResponse) XXX_Size() int
func (*MsgAddMiningProviderResponse) XXX_Unmarshal ¶
func (m *MsgAddMiningProviderResponse) XXX_Unmarshal(b []byte) error
type MsgAddReward ¶
type MsgAddReward struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` StakePoolIndex uint32 `protobuf:"varint,2,opt,name=stakePoolIndex,proto3" json:"stakePoolIndex"` RewardPoolIndex uint32 `protobuf:"varint,3,opt,name=rewardPoolIndex,proto3" json:"rewardPoolIndex"` AddAmount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=addAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"addAmount"` StartTimestamp uint64 `protobuf:"varint,5,opt,name=startTimestamp,proto3" json:"startTimestamp"` RewardPerSecond github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,6,opt,name=rewardPerSecond,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"rewardPerSecond"` }
func NewMsgAddReward ¶
func (*MsgAddReward) Descriptor ¶
func (*MsgAddReward) Descriptor() ([]byte, []int)
func (*MsgAddReward) GetCreator ¶
func (m *MsgAddReward) GetCreator() string
func (*MsgAddReward) GetRewardPoolIndex ¶
func (m *MsgAddReward) GetRewardPoolIndex() uint32
func (*MsgAddReward) GetSignBytes ¶
func (msg *MsgAddReward) GetSignBytes() []byte
func (*MsgAddReward) GetSigners ¶
func (msg *MsgAddReward) GetSigners() []sdk.AccAddress
func (*MsgAddReward) GetStakePoolIndex ¶
func (m *MsgAddReward) GetStakePoolIndex() uint32
func (*MsgAddReward) GetStartTimestamp ¶
func (m *MsgAddReward) GetStartTimestamp() uint64
func (*MsgAddReward) Marshal ¶
func (m *MsgAddReward) Marshal() (dAtA []byte, err error)
func (*MsgAddReward) MarshalToSizedBuffer ¶
func (m *MsgAddReward) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddReward) ProtoMessage ¶
func (*MsgAddReward) ProtoMessage()
func (*MsgAddReward) Reset ¶
func (m *MsgAddReward) Reset()
func (*MsgAddReward) Route ¶
func (msg *MsgAddReward) Route() string
func (*MsgAddReward) Size ¶
func (m *MsgAddReward) Size() (n int)
func (*MsgAddReward) String ¶
func (m *MsgAddReward) String() string
func (*MsgAddReward) Type ¶
func (msg *MsgAddReward) Type() string
func (*MsgAddReward) Unmarshal ¶
func (m *MsgAddReward) Unmarshal(dAtA []byte) error
func (*MsgAddReward) ValidateBasic ¶
func (msg *MsgAddReward) ValidateBasic() error
func (*MsgAddReward) XXX_DiscardUnknown ¶
func (m *MsgAddReward) XXX_DiscardUnknown()
func (*MsgAddReward) XXX_Marshal ¶
func (m *MsgAddReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddReward) XXX_Merge ¶
func (m *MsgAddReward) XXX_Merge(src proto.Message)
func (*MsgAddReward) XXX_Size ¶
func (m *MsgAddReward) XXX_Size() int
func (*MsgAddReward) XXX_Unmarshal ¶
func (m *MsgAddReward) XXX_Unmarshal(b []byte) error
type MsgAddRewardPool ¶
type MsgAddRewardPool struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` StakePoolIndex uint32 `protobuf:"varint,2,opt,name=stakePoolIndex,proto3" json:"stakePoolIndex"` RewardTokenDenom string `protobuf:"bytes,3,opt,name=rewardTokenDenom,proto3" json:"rewardTokenDenom,omitempty"` TotalRewardAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 127-byte string literal not displayed */ RewardPerSecond github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=rewardPerSecond,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"rewardPerSecond"` StartTimestamp uint64 `protobuf:"varint,6,opt,name=startTimestamp,proto3" json:"startTimestamp"` }
func NewMsgAddRewardPool ¶
func (*MsgAddRewardPool) Descriptor ¶
func (*MsgAddRewardPool) Descriptor() ([]byte, []int)
func (*MsgAddRewardPool) GetCreator ¶
func (m *MsgAddRewardPool) GetCreator() string
func (*MsgAddRewardPool) GetRewardTokenDenom ¶
func (m *MsgAddRewardPool) GetRewardTokenDenom() string
func (*MsgAddRewardPool) GetSignBytes ¶
func (msg *MsgAddRewardPool) GetSignBytes() []byte
func (*MsgAddRewardPool) GetSigners ¶
func (msg *MsgAddRewardPool) GetSigners() []sdk.AccAddress
func (*MsgAddRewardPool) GetStakePoolIndex ¶
func (m *MsgAddRewardPool) GetStakePoolIndex() uint32
func (*MsgAddRewardPool) GetStartTimestamp ¶
func (m *MsgAddRewardPool) GetStartTimestamp() uint64
func (*MsgAddRewardPool) Marshal ¶
func (m *MsgAddRewardPool) Marshal() (dAtA []byte, err error)
func (*MsgAddRewardPool) MarshalToSizedBuffer ¶
func (m *MsgAddRewardPool) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddRewardPool) ProtoMessage ¶
func (*MsgAddRewardPool) ProtoMessage()
func (*MsgAddRewardPool) Reset ¶
func (m *MsgAddRewardPool) Reset()
func (*MsgAddRewardPool) Route ¶
func (msg *MsgAddRewardPool) Route() string
func (*MsgAddRewardPool) Size ¶
func (m *MsgAddRewardPool) Size() (n int)
func (*MsgAddRewardPool) String ¶
func (m *MsgAddRewardPool) String() string
func (*MsgAddRewardPool) Type ¶
func (msg *MsgAddRewardPool) Type() string
func (*MsgAddRewardPool) Unmarshal ¶
func (m *MsgAddRewardPool) Unmarshal(dAtA []byte) error
func (*MsgAddRewardPool) ValidateBasic ¶
func (msg *MsgAddRewardPool) ValidateBasic() error
func (*MsgAddRewardPool) XXX_DiscardUnknown ¶
func (m *MsgAddRewardPool) XXX_DiscardUnknown()
func (*MsgAddRewardPool) XXX_Marshal ¶
func (m *MsgAddRewardPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddRewardPool) XXX_Merge ¶
func (m *MsgAddRewardPool) XXX_Merge(src proto.Message)
func (*MsgAddRewardPool) XXX_Size ¶
func (m *MsgAddRewardPool) XXX_Size() int
func (*MsgAddRewardPool) XXX_Unmarshal ¶
func (m *MsgAddRewardPool) XXX_Unmarshal(b []byte) error
type MsgAddRewardPoolResponse ¶
type MsgAddRewardPoolResponse struct { }
func (*MsgAddRewardPoolResponse) Descriptor ¶
func (*MsgAddRewardPoolResponse) Descriptor() ([]byte, []int)
func (*MsgAddRewardPoolResponse) Marshal ¶
func (m *MsgAddRewardPoolResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddRewardPoolResponse) MarshalTo ¶
func (m *MsgAddRewardPoolResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddRewardPoolResponse) MarshalToSizedBuffer ¶
func (m *MsgAddRewardPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddRewardPoolResponse) ProtoMessage ¶
func (*MsgAddRewardPoolResponse) ProtoMessage()
func (*MsgAddRewardPoolResponse) Reset ¶
func (m *MsgAddRewardPoolResponse) Reset()
func (*MsgAddRewardPoolResponse) Size ¶
func (m *MsgAddRewardPoolResponse) Size() (n int)
func (*MsgAddRewardPoolResponse) String ¶
func (m *MsgAddRewardPoolResponse) String() string
func (*MsgAddRewardPoolResponse) Unmarshal ¶
func (m *MsgAddRewardPoolResponse) Unmarshal(dAtA []byte) error
func (*MsgAddRewardPoolResponse) XXX_DiscardUnknown ¶
func (m *MsgAddRewardPoolResponse) XXX_DiscardUnknown()
func (*MsgAddRewardPoolResponse) XXX_Marshal ¶
func (m *MsgAddRewardPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddRewardPoolResponse) XXX_Merge ¶
func (m *MsgAddRewardPoolResponse) XXX_Merge(src proto.Message)
func (*MsgAddRewardPoolResponse) XXX_Size ¶
func (m *MsgAddRewardPoolResponse) XXX_Size() int
func (*MsgAddRewardPoolResponse) XXX_Unmarshal ¶
func (m *MsgAddRewardPoolResponse) XXX_Unmarshal(b []byte) error
type MsgAddRewardResponse ¶
type MsgAddRewardResponse struct { }
func (*MsgAddRewardResponse) Descriptor ¶
func (*MsgAddRewardResponse) Descriptor() ([]byte, []int)
func (*MsgAddRewardResponse) Marshal ¶
func (m *MsgAddRewardResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddRewardResponse) MarshalTo ¶
func (m *MsgAddRewardResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddRewardResponse) MarshalToSizedBuffer ¶
func (m *MsgAddRewardResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddRewardResponse) ProtoMessage ¶
func (*MsgAddRewardResponse) ProtoMessage()
func (*MsgAddRewardResponse) Reset ¶
func (m *MsgAddRewardResponse) Reset()
func (*MsgAddRewardResponse) Size ¶
func (m *MsgAddRewardResponse) Size() (n int)
func (*MsgAddRewardResponse) String ¶
func (m *MsgAddRewardResponse) String() string
func (*MsgAddRewardResponse) Unmarshal ¶
func (m *MsgAddRewardResponse) Unmarshal(dAtA []byte) error
func (*MsgAddRewardResponse) XXX_DiscardUnknown ¶
func (m *MsgAddRewardResponse) XXX_DiscardUnknown()
func (*MsgAddRewardResponse) XXX_Marshal ¶
func (m *MsgAddRewardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddRewardResponse) XXX_Merge ¶
func (m *MsgAddRewardResponse) XXX_Merge(src proto.Message)
func (*MsgAddRewardResponse) XXX_Size ¶
func (m *MsgAddRewardResponse) XXX_Size() int
func (*MsgAddRewardResponse) XXX_Unmarshal ¶
func (m *MsgAddRewardResponse) XXX_Unmarshal(b []byte) error
type MsgAddRewardToken ¶
type MsgAddRewardToken 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"` MinTotalRewardAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 133-byte string literal not displayed */ MinRewardPerSecond github_com_cosmos_cosmos_sdk_types.Int `` /* 129-byte string literal not displayed */ }
func NewMsgAddRewardToken ¶
func NewMsgAddRewardToken(creator string, denom string, minTotalRewardAmount, minRewardPerSecond sdk.Int) *MsgAddRewardToken
func (*MsgAddRewardToken) Descriptor ¶
func (*MsgAddRewardToken) Descriptor() ([]byte, []int)
func (*MsgAddRewardToken) GetCreator ¶
func (m *MsgAddRewardToken) GetCreator() string
func (*MsgAddRewardToken) GetDenom ¶
func (m *MsgAddRewardToken) GetDenom() string
func (*MsgAddRewardToken) GetSignBytes ¶
func (msg *MsgAddRewardToken) GetSignBytes() []byte
func (*MsgAddRewardToken) GetSigners ¶
func (msg *MsgAddRewardToken) GetSigners() []sdk.AccAddress
func (*MsgAddRewardToken) Marshal ¶
func (m *MsgAddRewardToken) Marshal() (dAtA []byte, err error)
func (*MsgAddRewardToken) MarshalTo ¶
func (m *MsgAddRewardToken) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddRewardToken) MarshalToSizedBuffer ¶
func (m *MsgAddRewardToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddRewardToken) ProtoMessage ¶
func (*MsgAddRewardToken) ProtoMessage()
func (*MsgAddRewardToken) Reset ¶
func (m *MsgAddRewardToken) Reset()
func (*MsgAddRewardToken) Route ¶
func (msg *MsgAddRewardToken) Route() string
func (*MsgAddRewardToken) Size ¶
func (m *MsgAddRewardToken) Size() (n int)
func (*MsgAddRewardToken) String ¶
func (m *MsgAddRewardToken) String() string
func (*MsgAddRewardToken) Type ¶
func (msg *MsgAddRewardToken) Type() string
func (*MsgAddRewardToken) Unmarshal ¶
func (m *MsgAddRewardToken) Unmarshal(dAtA []byte) error
func (*MsgAddRewardToken) ValidateBasic ¶
func (msg *MsgAddRewardToken) ValidateBasic() error
func (*MsgAddRewardToken) XXX_DiscardUnknown ¶
func (m *MsgAddRewardToken) XXX_DiscardUnknown()
func (*MsgAddRewardToken) XXX_Marshal ¶
func (m *MsgAddRewardToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddRewardToken) XXX_Merge ¶
func (m *MsgAddRewardToken) XXX_Merge(src proto.Message)
func (*MsgAddRewardToken) XXX_Size ¶
func (m *MsgAddRewardToken) XXX_Size() int
func (*MsgAddRewardToken) XXX_Unmarshal ¶
func (m *MsgAddRewardToken) XXX_Unmarshal(b []byte) error
type MsgAddRewardTokenResponse ¶
type MsgAddRewardTokenResponse struct { }
func (*MsgAddRewardTokenResponse) Descriptor ¶
func (*MsgAddRewardTokenResponse) Descriptor() ([]byte, []int)
func (*MsgAddRewardTokenResponse) Marshal ¶
func (m *MsgAddRewardTokenResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddRewardTokenResponse) MarshalTo ¶
func (m *MsgAddRewardTokenResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddRewardTokenResponse) MarshalToSizedBuffer ¶
func (m *MsgAddRewardTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddRewardTokenResponse) ProtoMessage ¶
func (*MsgAddRewardTokenResponse) ProtoMessage()
func (*MsgAddRewardTokenResponse) Reset ¶
func (m *MsgAddRewardTokenResponse) Reset()
func (*MsgAddRewardTokenResponse) Size ¶
func (m *MsgAddRewardTokenResponse) Size() (n int)
func (*MsgAddRewardTokenResponse) String ¶
func (m *MsgAddRewardTokenResponse) String() string
func (*MsgAddRewardTokenResponse) Unmarshal ¶
func (m *MsgAddRewardTokenResponse) Unmarshal(dAtA []byte) error
func (*MsgAddRewardTokenResponse) XXX_DiscardUnknown ¶
func (m *MsgAddRewardTokenResponse) XXX_DiscardUnknown()
func (*MsgAddRewardTokenResponse) XXX_Marshal ¶
func (m *MsgAddRewardTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddRewardTokenResponse) XXX_Merge ¶
func (m *MsgAddRewardTokenResponse) XXX_Merge(src proto.Message)
func (*MsgAddRewardTokenResponse) XXX_Size ¶
func (m *MsgAddRewardTokenResponse) XXX_Size() int
func (*MsgAddRewardTokenResponse) XXX_Unmarshal ¶
func (m *MsgAddRewardTokenResponse) XXX_Unmarshal(b []byte) error
type MsgAddStakeItem ¶
type MsgAddStakeItem struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` StakePoolIndex uint32 `protobuf:"varint,2,opt,name=stakePoolIndex,proto3" json:"stakePoolIndex"` LockSecond uint64 `protobuf:"varint,3,opt,name=lockSecond,proto3" json:"lockSecond"` PowerRewardRate github_com_stafihub_stafihub_utils.Dec `protobuf:"bytes,4,opt,name=powerRewardRate,proto3,customtype=github.com/stafihub/stafihub/utils.Dec" json:"powerRewardRate"` Enable bool `protobuf:"varint,5,opt,name=enable,proto3" json:"enable,omitempty"` }
func NewMsgAddStakeItem ¶
func (*MsgAddStakeItem) Descriptor ¶
func (*MsgAddStakeItem) Descriptor() ([]byte, []int)
func (*MsgAddStakeItem) GetCreator ¶
func (m *MsgAddStakeItem) GetCreator() string
func (*MsgAddStakeItem) GetEnable ¶
func (m *MsgAddStakeItem) GetEnable() bool
func (*MsgAddStakeItem) GetLockSecond ¶
func (m *MsgAddStakeItem) GetLockSecond() uint64
func (*MsgAddStakeItem) GetSignBytes ¶
func (msg *MsgAddStakeItem) GetSignBytes() []byte
func (*MsgAddStakeItem) GetSigners ¶
func (msg *MsgAddStakeItem) GetSigners() []sdk.AccAddress
func (*MsgAddStakeItem) GetStakePoolIndex ¶
func (m *MsgAddStakeItem) GetStakePoolIndex() uint32
func (*MsgAddStakeItem) Marshal ¶
func (m *MsgAddStakeItem) Marshal() (dAtA []byte, err error)
func (*MsgAddStakeItem) MarshalToSizedBuffer ¶
func (m *MsgAddStakeItem) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddStakeItem) ProtoMessage ¶
func (*MsgAddStakeItem) ProtoMessage()
func (*MsgAddStakeItem) Reset ¶
func (m *MsgAddStakeItem) Reset()
func (*MsgAddStakeItem) Route ¶
func (msg *MsgAddStakeItem) Route() string
func (*MsgAddStakeItem) Size ¶
func (m *MsgAddStakeItem) Size() (n int)
func (*MsgAddStakeItem) String ¶
func (m *MsgAddStakeItem) String() string
func (*MsgAddStakeItem) Type ¶
func (msg *MsgAddStakeItem) Type() string
func (*MsgAddStakeItem) Unmarshal ¶
func (m *MsgAddStakeItem) Unmarshal(dAtA []byte) error
func (*MsgAddStakeItem) ValidateBasic ¶
func (msg *MsgAddStakeItem) ValidateBasic() error
func (*MsgAddStakeItem) XXX_DiscardUnknown ¶
func (m *MsgAddStakeItem) XXX_DiscardUnknown()
func (*MsgAddStakeItem) XXX_Marshal ¶
func (m *MsgAddStakeItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddStakeItem) XXX_Merge ¶
func (m *MsgAddStakeItem) XXX_Merge(src proto.Message)
func (*MsgAddStakeItem) XXX_Size ¶
func (m *MsgAddStakeItem) XXX_Size() int
func (*MsgAddStakeItem) XXX_Unmarshal ¶
func (m *MsgAddStakeItem) XXX_Unmarshal(b []byte) error
type MsgAddStakeItemResponse ¶
type MsgAddStakeItemResponse struct { }
func (*MsgAddStakeItemResponse) Descriptor ¶
func (*MsgAddStakeItemResponse) Descriptor() ([]byte, []int)
func (*MsgAddStakeItemResponse) Marshal ¶
func (m *MsgAddStakeItemResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddStakeItemResponse) MarshalTo ¶
func (m *MsgAddStakeItemResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddStakeItemResponse) MarshalToSizedBuffer ¶
func (m *MsgAddStakeItemResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddStakeItemResponse) ProtoMessage ¶
func (*MsgAddStakeItemResponse) ProtoMessage()
func (*MsgAddStakeItemResponse) Reset ¶
func (m *MsgAddStakeItemResponse) Reset()
func (*MsgAddStakeItemResponse) Size ¶
func (m *MsgAddStakeItemResponse) Size() (n int)
func (*MsgAddStakeItemResponse) String ¶
func (m *MsgAddStakeItemResponse) String() string
func (*MsgAddStakeItemResponse) Unmarshal ¶
func (m *MsgAddStakeItemResponse) Unmarshal(dAtA []byte) error
func (*MsgAddStakeItemResponse) XXX_DiscardUnknown ¶
func (m *MsgAddStakeItemResponse) XXX_DiscardUnknown()
func (*MsgAddStakeItemResponse) XXX_Marshal ¶
func (m *MsgAddStakeItemResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddStakeItemResponse) XXX_Merge ¶
func (m *MsgAddStakeItemResponse) XXX_Merge(src proto.Message)
func (*MsgAddStakeItemResponse) XXX_Size ¶
func (m *MsgAddStakeItemResponse) XXX_Size() int
func (*MsgAddStakeItemResponse) XXX_Unmarshal ¶
func (m *MsgAddStakeItemResponse) XXX_Unmarshal(b []byte) error
type MsgAddStakePool ¶
type MsgAddStakePool struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` StakeTokenDenom string `protobuf:"bytes,2,opt,name=stakeTokenDenom,proto3" json:"stakeTokenDenom,omitempty"` RewardPoolInfoList []*CreateRewardPoolInfo `protobuf:"bytes,3,rep,name=rewardPoolInfoList,proto3" json:"rewardPoolInfoList,omitempty"` StakeItemInfoList []*CreateStakeItemInfo `protobuf:"bytes,4,rep,name=stakeItemInfoList,proto3" json:"stakeItemInfoList,omitempty"` }
func NewMsgAddStakePool ¶
func NewMsgAddStakePool(creator string, stakeTokenDenom string, rewardPoolInfoList []*CreateRewardPoolInfo, stakeItemList []*CreateStakeItemInfo) *MsgAddStakePool
func (*MsgAddStakePool) Descriptor ¶
func (*MsgAddStakePool) Descriptor() ([]byte, []int)
func (*MsgAddStakePool) GetCreator ¶
func (m *MsgAddStakePool) GetCreator() string
func (*MsgAddStakePool) GetRewardPoolInfoList ¶
func (m *MsgAddStakePool) GetRewardPoolInfoList() []*CreateRewardPoolInfo
func (*MsgAddStakePool) GetSignBytes ¶
func (msg *MsgAddStakePool) GetSignBytes() []byte
func (*MsgAddStakePool) GetSigners ¶
func (msg *MsgAddStakePool) GetSigners() []sdk.AccAddress
func (*MsgAddStakePool) GetStakeItemInfoList ¶
func (m *MsgAddStakePool) GetStakeItemInfoList() []*CreateStakeItemInfo
func (*MsgAddStakePool) GetStakeTokenDenom ¶
func (m *MsgAddStakePool) GetStakeTokenDenom() string
func (*MsgAddStakePool) Marshal ¶
func (m *MsgAddStakePool) Marshal() (dAtA []byte, err error)
func (*MsgAddStakePool) MarshalToSizedBuffer ¶
func (m *MsgAddStakePool) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddStakePool) ProtoMessage ¶
func (*MsgAddStakePool) ProtoMessage()
func (*MsgAddStakePool) Reset ¶
func (m *MsgAddStakePool) Reset()
func (*MsgAddStakePool) Route ¶
func (msg *MsgAddStakePool) Route() string
func (*MsgAddStakePool) Size ¶
func (m *MsgAddStakePool) Size() (n int)
func (*MsgAddStakePool) String ¶
func (m *MsgAddStakePool) String() string
func (*MsgAddStakePool) Type ¶
func (msg *MsgAddStakePool) Type() string
func (*MsgAddStakePool) Unmarshal ¶
func (m *MsgAddStakePool) Unmarshal(dAtA []byte) error
func (*MsgAddStakePool) ValidateBasic ¶
func (msg *MsgAddStakePool) ValidateBasic() error
func (*MsgAddStakePool) XXX_DiscardUnknown ¶
func (m *MsgAddStakePool) XXX_DiscardUnknown()
func (*MsgAddStakePool) XXX_Marshal ¶
func (m *MsgAddStakePool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddStakePool) XXX_Merge ¶
func (m *MsgAddStakePool) XXX_Merge(src proto.Message)
func (*MsgAddStakePool) XXX_Size ¶
func (m *MsgAddStakePool) XXX_Size() int
func (*MsgAddStakePool) XXX_Unmarshal ¶
func (m *MsgAddStakePool) XXX_Unmarshal(b []byte) error
type MsgAddStakePoolResponse ¶
type MsgAddStakePoolResponse struct { }
func (*MsgAddStakePoolResponse) Descriptor ¶
func (*MsgAddStakePoolResponse) Descriptor() ([]byte, []int)
func (*MsgAddStakePoolResponse) Marshal ¶
func (m *MsgAddStakePoolResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddStakePoolResponse) MarshalTo ¶
func (m *MsgAddStakePoolResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddStakePoolResponse) MarshalToSizedBuffer ¶
func (m *MsgAddStakePoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddStakePoolResponse) ProtoMessage ¶
func (*MsgAddStakePoolResponse) ProtoMessage()
func (*MsgAddStakePoolResponse) Reset ¶
func (m *MsgAddStakePoolResponse) Reset()
func (*MsgAddStakePoolResponse) Size ¶
func (m *MsgAddStakePoolResponse) Size() (n int)
func (*MsgAddStakePoolResponse) String ¶
func (m *MsgAddStakePoolResponse) String() string
func (*MsgAddStakePoolResponse) Unmarshal ¶
func (m *MsgAddStakePoolResponse) Unmarshal(dAtA []byte) error
func (*MsgAddStakePoolResponse) XXX_DiscardUnknown ¶
func (m *MsgAddStakePoolResponse) XXX_DiscardUnknown()
func (*MsgAddStakePoolResponse) XXX_Marshal ¶
func (m *MsgAddStakePoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddStakePoolResponse) XXX_Merge ¶
func (m *MsgAddStakePoolResponse) XXX_Merge(src proto.Message)
func (*MsgAddStakePoolResponse) XXX_Size ¶
func (m *MsgAddStakePoolResponse) XXX_Size() int
func (*MsgAddStakePoolResponse) XXX_Unmarshal ¶
func (m *MsgAddStakePoolResponse) XXX_Unmarshal(b []byte) error
type MsgAddStakeToken ¶
type MsgAddStakeToken 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"` }
func NewMsgAddStakeToken ¶
func NewMsgAddStakeToken(creator string, denom string) *MsgAddStakeToken
func (*MsgAddStakeToken) Descriptor ¶
func (*MsgAddStakeToken) Descriptor() ([]byte, []int)
func (*MsgAddStakeToken) GetCreator ¶
func (m *MsgAddStakeToken) GetCreator() string
func (*MsgAddStakeToken) GetDenom ¶
func (m *MsgAddStakeToken) GetDenom() string
func (*MsgAddStakeToken) GetSignBytes ¶
func (msg *MsgAddStakeToken) GetSignBytes() []byte
func (*MsgAddStakeToken) GetSigners ¶
func (msg *MsgAddStakeToken) GetSigners() []sdk.AccAddress
func (*MsgAddStakeToken) Marshal ¶
func (m *MsgAddStakeToken) Marshal() (dAtA []byte, err error)
func (*MsgAddStakeToken) MarshalToSizedBuffer ¶
func (m *MsgAddStakeToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddStakeToken) ProtoMessage ¶
func (*MsgAddStakeToken) ProtoMessage()
func (*MsgAddStakeToken) Reset ¶
func (m *MsgAddStakeToken) Reset()
func (*MsgAddStakeToken) Route ¶
func (msg *MsgAddStakeToken) Route() string
func (*MsgAddStakeToken) Size ¶
func (m *MsgAddStakeToken) Size() (n int)
func (*MsgAddStakeToken) String ¶
func (m *MsgAddStakeToken) String() string
func (*MsgAddStakeToken) Type ¶
func (msg *MsgAddStakeToken) Type() string
func (*MsgAddStakeToken) Unmarshal ¶
func (m *MsgAddStakeToken) Unmarshal(dAtA []byte) error
func (*MsgAddStakeToken) ValidateBasic ¶
func (msg *MsgAddStakeToken) ValidateBasic() error
func (*MsgAddStakeToken) XXX_DiscardUnknown ¶
func (m *MsgAddStakeToken) XXX_DiscardUnknown()
func (*MsgAddStakeToken) XXX_Marshal ¶
func (m *MsgAddStakeToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddStakeToken) XXX_Merge ¶
func (m *MsgAddStakeToken) XXX_Merge(src proto.Message)
func (*MsgAddStakeToken) XXX_Size ¶
func (m *MsgAddStakeToken) XXX_Size() int
func (*MsgAddStakeToken) XXX_Unmarshal ¶
func (m *MsgAddStakeToken) XXX_Unmarshal(b []byte) error
type MsgAddStakeTokenResponse ¶
type MsgAddStakeTokenResponse struct { }
func (*MsgAddStakeTokenResponse) Descriptor ¶
func (*MsgAddStakeTokenResponse) Descriptor() ([]byte, []int)
func (*MsgAddStakeTokenResponse) Marshal ¶
func (m *MsgAddStakeTokenResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddStakeTokenResponse) MarshalTo ¶
func (m *MsgAddStakeTokenResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddStakeTokenResponse) MarshalToSizedBuffer ¶
func (m *MsgAddStakeTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddStakeTokenResponse) ProtoMessage ¶
func (*MsgAddStakeTokenResponse) ProtoMessage()
func (*MsgAddStakeTokenResponse) Reset ¶
func (m *MsgAddStakeTokenResponse) Reset()
func (*MsgAddStakeTokenResponse) Size ¶
func (m *MsgAddStakeTokenResponse) Size() (n int)
func (*MsgAddStakeTokenResponse) String ¶
func (m *MsgAddStakeTokenResponse) String() string
func (*MsgAddStakeTokenResponse) Unmarshal ¶
func (m *MsgAddStakeTokenResponse) Unmarshal(dAtA []byte) error
func (*MsgAddStakeTokenResponse) XXX_DiscardUnknown ¶
func (m *MsgAddStakeTokenResponse) XXX_DiscardUnknown()
func (*MsgAddStakeTokenResponse) XXX_Marshal ¶
func (m *MsgAddStakeTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddStakeTokenResponse) XXX_Merge ¶
func (m *MsgAddStakeTokenResponse) XXX_Merge(src proto.Message)
func (*MsgAddStakeTokenResponse) XXX_Size ¶
func (m *MsgAddStakeTokenResponse) XXX_Size() int
func (*MsgAddStakeTokenResponse) XXX_Unmarshal ¶
func (m *MsgAddStakeTokenResponse) XXX_Unmarshal(b []byte) error
type MsgClaimReward ¶
type MsgClaimReward struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` StakePoolIndex uint32 `protobuf:"varint,2,opt,name=stakePoolIndex,proto3" json:"stakePoolIndex"` StakeRecordIndex uint32 `protobuf:"varint,3,opt,name=stakeRecordIndex,proto3" json:"stakeRecordIndex"` }
func NewMsgClaimReward ¶
func NewMsgClaimReward(creator string, stakePoolIndex, index uint32) *MsgClaimReward
func (*MsgClaimReward) Descriptor ¶
func (*MsgClaimReward) Descriptor() ([]byte, []int)
func (*MsgClaimReward) GetCreator ¶
func (m *MsgClaimReward) GetCreator() string
func (*MsgClaimReward) GetSignBytes ¶
func (msg *MsgClaimReward) GetSignBytes() []byte
func (*MsgClaimReward) GetSigners ¶
func (msg *MsgClaimReward) GetSigners() []sdk.AccAddress
func (*MsgClaimReward) GetStakePoolIndex ¶
func (m *MsgClaimReward) GetStakePoolIndex() uint32
func (*MsgClaimReward) GetStakeRecordIndex ¶
func (m *MsgClaimReward) GetStakeRecordIndex() uint32
func (*MsgClaimReward) Marshal ¶
func (m *MsgClaimReward) Marshal() (dAtA []byte, err error)
func (*MsgClaimReward) MarshalToSizedBuffer ¶
func (m *MsgClaimReward) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClaimReward) ProtoMessage ¶
func (*MsgClaimReward) ProtoMessage()
func (*MsgClaimReward) Reset ¶
func (m *MsgClaimReward) Reset()
func (*MsgClaimReward) Route ¶
func (msg *MsgClaimReward) Route() string
func (*MsgClaimReward) Size ¶
func (m *MsgClaimReward) Size() (n int)
func (*MsgClaimReward) String ¶
func (m *MsgClaimReward) String() string
func (*MsgClaimReward) Type ¶
func (msg *MsgClaimReward) Type() string
func (*MsgClaimReward) Unmarshal ¶
func (m *MsgClaimReward) Unmarshal(dAtA []byte) error
func (*MsgClaimReward) ValidateBasic ¶
func (msg *MsgClaimReward) ValidateBasic() error
func (*MsgClaimReward) XXX_DiscardUnknown ¶
func (m *MsgClaimReward) XXX_DiscardUnknown()
func (*MsgClaimReward) XXX_Marshal ¶
func (m *MsgClaimReward) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClaimReward) XXX_Merge ¶
func (m *MsgClaimReward) XXX_Merge(src proto.Message)
func (*MsgClaimReward) XXX_Size ¶
func (m *MsgClaimReward) XXX_Size() int
func (*MsgClaimReward) XXX_Unmarshal ¶
func (m *MsgClaimReward) XXX_Unmarshal(b []byte) error
type MsgClaimRewardResponse ¶
type MsgClaimRewardResponse struct { }
func (*MsgClaimRewardResponse) Descriptor ¶
func (*MsgClaimRewardResponse) Descriptor() ([]byte, []int)
func (*MsgClaimRewardResponse) Marshal ¶
func (m *MsgClaimRewardResponse) Marshal() (dAtA []byte, err error)
func (*MsgClaimRewardResponse) MarshalTo ¶
func (m *MsgClaimRewardResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgClaimRewardResponse) MarshalToSizedBuffer ¶
func (m *MsgClaimRewardResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgClaimRewardResponse) ProtoMessage ¶
func (*MsgClaimRewardResponse) ProtoMessage()
func (*MsgClaimRewardResponse) Reset ¶
func (m *MsgClaimRewardResponse) Reset()
func (*MsgClaimRewardResponse) Size ¶
func (m *MsgClaimRewardResponse) Size() (n int)
func (*MsgClaimRewardResponse) String ¶
func (m *MsgClaimRewardResponse) String() string
func (*MsgClaimRewardResponse) Unmarshal ¶
func (m *MsgClaimRewardResponse) Unmarshal(dAtA []byte) error
func (*MsgClaimRewardResponse) XXX_DiscardUnknown ¶
func (m *MsgClaimRewardResponse) XXX_DiscardUnknown()
func (*MsgClaimRewardResponse) XXX_Marshal ¶
func (m *MsgClaimRewardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgClaimRewardResponse) XXX_Merge ¶
func (m *MsgClaimRewardResponse) XXX_Merge(src proto.Message)
func (*MsgClaimRewardResponse) XXX_Size ¶
func (m *MsgClaimRewardResponse) XXX_Size() int
func (*MsgClaimRewardResponse) XXX_Unmarshal ¶
func (m *MsgClaimRewardResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { AddStakePool(ctx context.Context, in *MsgAddStakePool, opts ...grpc.CallOption) (*MsgAddStakePoolResponse, error) AddStakeItem(ctx context.Context, in *MsgAddStakeItem, opts ...grpc.CallOption) (*MsgAddStakeItemResponse, error) AddRewardPool(ctx context.Context, in *MsgAddRewardPool, opts ...grpc.CallOption) (*MsgAddRewardPoolResponse, error) Stake(ctx context.Context, in *MsgStake, opts ...grpc.CallOption) (*MsgStakeResponse, error) ClaimReward(ctx context.Context, in *MsgClaimReward, opts ...grpc.CallOption) (*MsgClaimRewardResponse, error) Withdraw(ctx context.Context, in *MsgWithdraw, opts ...grpc.CallOption) (*MsgWithdrawResponse, error) UpdateStakeItem(ctx context.Context, in *MsgUpdateStakeItem, opts ...grpc.CallOption) (*MsgUpdateStakeItemResponse, error) AddMiningProvider(ctx context.Context, in *MsgAddMiningProvider, opts ...grpc.CallOption) (*MsgAddMiningProviderResponse, error) RmMiningProvider(ctx context.Context, in *MsgRmMiningProvider, opts ...grpc.CallOption) (*MsgRmMiningProviderResponse, error) AddRewardToken(ctx context.Context, in *MsgAddRewardToken, opts ...grpc.CallOption) (*MsgAddRewardTokenResponse, error) SetMaxRewardPoolNumber(ctx context.Context, in *MsgSetMaxRewardPoolNumber, opts ...grpc.CallOption) (*MsgSetMaxRewardPoolNumberResponse, error) UpdateRewardPool(ctx context.Context, in *MsgUpdateRewardPool, opts ...grpc.CallOption) (*MsgUpdateRewardPoolResponse, error) ToggleProviderSwitch(ctx context.Context, in *MsgToggleProviderSwitch, opts ...grpc.CallOption) (*MsgToggleProviderSwitchResponse, error) SetMaxStakeItemNumber(ctx context.Context, in *MsgSetMaxStakeItemNumber, opts ...grpc.CallOption) (*MsgSetMaxStakeItemNumberResponse, error) AddReward(ctx context.Context, in *MsgAddReward, opts ...grpc.CallOption) (*MsgAddRewardResponse, error) ToggleEmergencySwitch(ctx context.Context, in *MsgToggleEmergencySwitch, opts ...grpc.CallOption) (*MsgToggleEmergencySwitchResponse, error) EmergencyWithdraw(ctx context.Context, in *MsgEmergencyWithdraw, opts ...grpc.CallOption) (*MsgEmergencyWithdrawResponse, error) AddStakeToken(ctx context.Context, in *MsgAddStakeToken, opts ...grpc.CallOption) (*MsgAddStakeTokenResponse, error) RmRewardToken(ctx context.Context, in *MsgRmRewardToken, opts ...grpc.CallOption) (*MsgRmRewardTokenResponse, error) RmStakeToken(ctx context.Context, in *MsgRmStakeToken, opts ...grpc.CallOption) (*MsgRmStakeTokenResponse, error) SetStakeItemLimit(ctx context.Context, in *MsgSetStakeItemLimit, opts ...grpc.CallOption) (*MsgSetStakeItemLimitResponse, error) WithdrawRewardToken(ctx context.Context, in *MsgWithdrawRewardToken, opts ...grpc.CallOption) (*MsgWithdrawRewardTokenResponse, 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 MsgEmergencyWithdraw ¶
type MsgEmergencyWithdraw struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` StakePoolIndex uint32 `protobuf:"varint,2,opt,name=stakePoolIndex,proto3" json:"stakePoolIndex"` StakeRecordIndex uint32 `protobuf:"varint,3,opt,name=stakeRecordIndex,proto3" json:"stakeRecordIndex"` }
func NewMsgEmergencyWithdraw ¶
func NewMsgEmergencyWithdraw(creator string, stakePoolIndex, stakeRecordIndex uint32) *MsgEmergencyWithdraw
func (*MsgEmergencyWithdraw) Descriptor ¶
func (*MsgEmergencyWithdraw) Descriptor() ([]byte, []int)
func (*MsgEmergencyWithdraw) GetCreator ¶
func (m *MsgEmergencyWithdraw) GetCreator() string
func (*MsgEmergencyWithdraw) GetSignBytes ¶
func (msg *MsgEmergencyWithdraw) GetSignBytes() []byte
func (*MsgEmergencyWithdraw) GetSigners ¶
func (msg *MsgEmergencyWithdraw) GetSigners() []sdk.AccAddress
func (*MsgEmergencyWithdraw) GetStakePoolIndex ¶
func (m *MsgEmergencyWithdraw) GetStakePoolIndex() uint32
func (*MsgEmergencyWithdraw) GetStakeRecordIndex ¶
func (m *MsgEmergencyWithdraw) GetStakeRecordIndex() uint32
func (*MsgEmergencyWithdraw) Marshal ¶
func (m *MsgEmergencyWithdraw) Marshal() (dAtA []byte, err error)
func (*MsgEmergencyWithdraw) MarshalTo ¶
func (m *MsgEmergencyWithdraw) MarshalTo(dAtA []byte) (int, error)
func (*MsgEmergencyWithdraw) MarshalToSizedBuffer ¶
func (m *MsgEmergencyWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgEmergencyWithdraw) ProtoMessage ¶
func (*MsgEmergencyWithdraw) ProtoMessage()
func (*MsgEmergencyWithdraw) Reset ¶
func (m *MsgEmergencyWithdraw) Reset()
func (*MsgEmergencyWithdraw) Route ¶
func (msg *MsgEmergencyWithdraw) Route() string
func (*MsgEmergencyWithdraw) Size ¶
func (m *MsgEmergencyWithdraw) Size() (n int)
func (*MsgEmergencyWithdraw) String ¶
func (m *MsgEmergencyWithdraw) String() string
func (*MsgEmergencyWithdraw) Type ¶
func (msg *MsgEmergencyWithdraw) Type() string
func (*MsgEmergencyWithdraw) Unmarshal ¶
func (m *MsgEmergencyWithdraw) Unmarshal(dAtA []byte) error
func (*MsgEmergencyWithdraw) ValidateBasic ¶
func (msg *MsgEmergencyWithdraw) ValidateBasic() error
func (*MsgEmergencyWithdraw) XXX_DiscardUnknown ¶
func (m *MsgEmergencyWithdraw) XXX_DiscardUnknown()
func (*MsgEmergencyWithdraw) XXX_Marshal ¶
func (m *MsgEmergencyWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgEmergencyWithdraw) XXX_Merge ¶
func (m *MsgEmergencyWithdraw) XXX_Merge(src proto.Message)
func (*MsgEmergencyWithdraw) XXX_Size ¶
func (m *MsgEmergencyWithdraw) XXX_Size() int
func (*MsgEmergencyWithdraw) XXX_Unmarshal ¶
func (m *MsgEmergencyWithdraw) XXX_Unmarshal(b []byte) error
type MsgEmergencyWithdrawResponse ¶
type MsgEmergencyWithdrawResponse struct { }
func (*MsgEmergencyWithdrawResponse) Descriptor ¶
func (*MsgEmergencyWithdrawResponse) Descriptor() ([]byte, []int)
func (*MsgEmergencyWithdrawResponse) Marshal ¶
func (m *MsgEmergencyWithdrawResponse) Marshal() (dAtA []byte, err error)
func (*MsgEmergencyWithdrawResponse) MarshalTo ¶
func (m *MsgEmergencyWithdrawResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgEmergencyWithdrawResponse) MarshalToSizedBuffer ¶
func (m *MsgEmergencyWithdrawResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgEmergencyWithdrawResponse) ProtoMessage ¶
func (*MsgEmergencyWithdrawResponse) ProtoMessage()
func (*MsgEmergencyWithdrawResponse) Reset ¶
func (m *MsgEmergencyWithdrawResponse) Reset()
func (*MsgEmergencyWithdrawResponse) Size ¶
func (m *MsgEmergencyWithdrawResponse) Size() (n int)
func (*MsgEmergencyWithdrawResponse) String ¶
func (m *MsgEmergencyWithdrawResponse) String() string
func (*MsgEmergencyWithdrawResponse) Unmarshal ¶
func (m *MsgEmergencyWithdrawResponse) Unmarshal(dAtA []byte) error
func (*MsgEmergencyWithdrawResponse) XXX_DiscardUnknown ¶
func (m *MsgEmergencyWithdrawResponse) XXX_DiscardUnknown()
func (*MsgEmergencyWithdrawResponse) XXX_Marshal ¶
func (m *MsgEmergencyWithdrawResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgEmergencyWithdrawResponse) XXX_Merge ¶
func (m *MsgEmergencyWithdrawResponse) XXX_Merge(src proto.Message)
func (*MsgEmergencyWithdrawResponse) XXX_Size ¶
func (m *MsgEmergencyWithdrawResponse) XXX_Size() int
func (*MsgEmergencyWithdrawResponse) XXX_Unmarshal ¶
func (m *MsgEmergencyWithdrawResponse) XXX_Unmarshal(b []byte) error
type MsgRmMiningProvider ¶
type MsgRmMiningProvider struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` UserAddress string `protobuf:"bytes,2,opt,name=userAddress,proto3" json:"userAddress,omitempty"` }
func NewMsgRmMiningProvider ¶
func NewMsgRmMiningProvider(creator string, userAddress string) *MsgRmMiningProvider
func (*MsgRmMiningProvider) Descriptor ¶
func (*MsgRmMiningProvider) Descriptor() ([]byte, []int)
func (*MsgRmMiningProvider) GetCreator ¶
func (m *MsgRmMiningProvider) GetCreator() string
func (*MsgRmMiningProvider) GetSignBytes ¶
func (msg *MsgRmMiningProvider) GetSignBytes() []byte
func (*MsgRmMiningProvider) GetSigners ¶
func (msg *MsgRmMiningProvider) GetSigners() []sdk.AccAddress
func (*MsgRmMiningProvider) GetUserAddress ¶
func (m *MsgRmMiningProvider) GetUserAddress() string
func (*MsgRmMiningProvider) Marshal ¶
func (m *MsgRmMiningProvider) Marshal() (dAtA []byte, err error)
func (*MsgRmMiningProvider) MarshalTo ¶
func (m *MsgRmMiningProvider) MarshalTo(dAtA []byte) (int, error)
func (*MsgRmMiningProvider) MarshalToSizedBuffer ¶
func (m *MsgRmMiningProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRmMiningProvider) ProtoMessage ¶
func (*MsgRmMiningProvider) ProtoMessage()
func (*MsgRmMiningProvider) Reset ¶
func (m *MsgRmMiningProvider) Reset()
func (*MsgRmMiningProvider) Route ¶
func (msg *MsgRmMiningProvider) Route() string
func (*MsgRmMiningProvider) Size ¶
func (m *MsgRmMiningProvider) Size() (n int)
func (*MsgRmMiningProvider) String ¶
func (m *MsgRmMiningProvider) String() string
func (*MsgRmMiningProvider) Type ¶
func (msg *MsgRmMiningProvider) Type() string
func (*MsgRmMiningProvider) Unmarshal ¶
func (m *MsgRmMiningProvider) Unmarshal(dAtA []byte) error
func (*MsgRmMiningProvider) ValidateBasic ¶
func (msg *MsgRmMiningProvider) ValidateBasic() error
func (*MsgRmMiningProvider) XXX_DiscardUnknown ¶
func (m *MsgRmMiningProvider) XXX_DiscardUnknown()
func (*MsgRmMiningProvider) XXX_Marshal ¶
func (m *MsgRmMiningProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRmMiningProvider) XXX_Merge ¶
func (m *MsgRmMiningProvider) XXX_Merge(src proto.Message)
func (*MsgRmMiningProvider) XXX_Size ¶
func (m *MsgRmMiningProvider) XXX_Size() int
func (*MsgRmMiningProvider) XXX_Unmarshal ¶
func (m *MsgRmMiningProvider) XXX_Unmarshal(b []byte) error
type MsgRmMiningProviderResponse ¶
type MsgRmMiningProviderResponse struct { }
func (*MsgRmMiningProviderResponse) Descriptor ¶
func (*MsgRmMiningProviderResponse) Descriptor() ([]byte, []int)
func (*MsgRmMiningProviderResponse) Marshal ¶
func (m *MsgRmMiningProviderResponse) Marshal() (dAtA []byte, err error)
func (*MsgRmMiningProviderResponse) MarshalTo ¶
func (m *MsgRmMiningProviderResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRmMiningProviderResponse) MarshalToSizedBuffer ¶
func (m *MsgRmMiningProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRmMiningProviderResponse) ProtoMessage ¶
func (*MsgRmMiningProviderResponse) ProtoMessage()
func (*MsgRmMiningProviderResponse) Reset ¶
func (m *MsgRmMiningProviderResponse) Reset()
func (*MsgRmMiningProviderResponse) Size ¶
func (m *MsgRmMiningProviderResponse) Size() (n int)
func (*MsgRmMiningProviderResponse) String ¶
func (m *MsgRmMiningProviderResponse) String() string
func (*MsgRmMiningProviderResponse) Unmarshal ¶
func (m *MsgRmMiningProviderResponse) Unmarshal(dAtA []byte) error
func (*MsgRmMiningProviderResponse) XXX_DiscardUnknown ¶
func (m *MsgRmMiningProviderResponse) XXX_DiscardUnknown()
func (*MsgRmMiningProviderResponse) XXX_Marshal ¶
func (m *MsgRmMiningProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRmMiningProviderResponse) XXX_Merge ¶
func (m *MsgRmMiningProviderResponse) XXX_Merge(src proto.Message)
func (*MsgRmMiningProviderResponse) XXX_Size ¶
func (m *MsgRmMiningProviderResponse) XXX_Size() int
func (*MsgRmMiningProviderResponse) XXX_Unmarshal ¶
func (m *MsgRmMiningProviderResponse) XXX_Unmarshal(b []byte) error
type MsgRmRewardToken ¶
type MsgRmRewardToken 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"` }
func NewMsgRmRewardToken ¶
func NewMsgRmRewardToken(creator string, denom string) *MsgRmRewardToken
func (*MsgRmRewardToken) Descriptor ¶
func (*MsgRmRewardToken) Descriptor() ([]byte, []int)
func (*MsgRmRewardToken) GetCreator ¶
func (m *MsgRmRewardToken) GetCreator() string
func (*MsgRmRewardToken) GetDenom ¶
func (m *MsgRmRewardToken) GetDenom() string
func (*MsgRmRewardToken) GetSignBytes ¶
func (msg *MsgRmRewardToken) GetSignBytes() []byte
func (*MsgRmRewardToken) GetSigners ¶
func (msg *MsgRmRewardToken) GetSigners() []sdk.AccAddress
func (*MsgRmRewardToken) Marshal ¶
func (m *MsgRmRewardToken) Marshal() (dAtA []byte, err error)
func (*MsgRmRewardToken) MarshalToSizedBuffer ¶
func (m *MsgRmRewardToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRmRewardToken) ProtoMessage ¶
func (*MsgRmRewardToken) ProtoMessage()
func (*MsgRmRewardToken) Reset ¶
func (m *MsgRmRewardToken) Reset()
func (*MsgRmRewardToken) Route ¶
func (msg *MsgRmRewardToken) Route() string
func (*MsgRmRewardToken) Size ¶
func (m *MsgRmRewardToken) Size() (n int)
func (*MsgRmRewardToken) String ¶
func (m *MsgRmRewardToken) String() string
func (*MsgRmRewardToken) Type ¶
func (msg *MsgRmRewardToken) Type() string
func (*MsgRmRewardToken) Unmarshal ¶
func (m *MsgRmRewardToken) Unmarshal(dAtA []byte) error
func (*MsgRmRewardToken) ValidateBasic ¶
func (msg *MsgRmRewardToken) ValidateBasic() error
func (*MsgRmRewardToken) XXX_DiscardUnknown ¶
func (m *MsgRmRewardToken) XXX_DiscardUnknown()
func (*MsgRmRewardToken) XXX_Marshal ¶
func (m *MsgRmRewardToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRmRewardToken) XXX_Merge ¶
func (m *MsgRmRewardToken) XXX_Merge(src proto.Message)
func (*MsgRmRewardToken) XXX_Size ¶
func (m *MsgRmRewardToken) XXX_Size() int
func (*MsgRmRewardToken) XXX_Unmarshal ¶
func (m *MsgRmRewardToken) XXX_Unmarshal(b []byte) error
type MsgRmRewardTokenResponse ¶
type MsgRmRewardTokenResponse struct { }
func (*MsgRmRewardTokenResponse) Descriptor ¶
func (*MsgRmRewardTokenResponse) Descriptor() ([]byte, []int)
func (*MsgRmRewardTokenResponse) Marshal ¶
func (m *MsgRmRewardTokenResponse) Marshal() (dAtA []byte, err error)
func (*MsgRmRewardTokenResponse) MarshalTo ¶
func (m *MsgRmRewardTokenResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRmRewardTokenResponse) MarshalToSizedBuffer ¶
func (m *MsgRmRewardTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRmRewardTokenResponse) ProtoMessage ¶
func (*MsgRmRewardTokenResponse) ProtoMessage()
func (*MsgRmRewardTokenResponse) Reset ¶
func (m *MsgRmRewardTokenResponse) Reset()
func (*MsgRmRewardTokenResponse) Size ¶
func (m *MsgRmRewardTokenResponse) Size() (n int)
func (*MsgRmRewardTokenResponse) String ¶
func (m *MsgRmRewardTokenResponse) String() string
func (*MsgRmRewardTokenResponse) Unmarshal ¶
func (m *MsgRmRewardTokenResponse) Unmarshal(dAtA []byte) error
func (*MsgRmRewardTokenResponse) XXX_DiscardUnknown ¶
func (m *MsgRmRewardTokenResponse) XXX_DiscardUnknown()
func (*MsgRmRewardTokenResponse) XXX_Marshal ¶
func (m *MsgRmRewardTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRmRewardTokenResponse) XXX_Merge ¶
func (m *MsgRmRewardTokenResponse) XXX_Merge(src proto.Message)
func (*MsgRmRewardTokenResponse) XXX_Size ¶
func (m *MsgRmRewardTokenResponse) XXX_Size() int
func (*MsgRmRewardTokenResponse) XXX_Unmarshal ¶
func (m *MsgRmRewardTokenResponse) XXX_Unmarshal(b []byte) error
type MsgRmStakeToken ¶
type MsgRmStakeToken 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"` }
func NewMsgRmStakeToken ¶
func NewMsgRmStakeToken(creator string, denom string) *MsgRmStakeToken
func (*MsgRmStakeToken) Descriptor ¶
func (*MsgRmStakeToken) Descriptor() ([]byte, []int)
func (*MsgRmStakeToken) GetCreator ¶
func (m *MsgRmStakeToken) GetCreator() string
func (*MsgRmStakeToken) GetDenom ¶
func (m *MsgRmStakeToken) GetDenom() string
func (*MsgRmStakeToken) GetSignBytes ¶
func (msg *MsgRmStakeToken) GetSignBytes() []byte
func (*MsgRmStakeToken) GetSigners ¶
func (msg *MsgRmStakeToken) GetSigners() []sdk.AccAddress
func (*MsgRmStakeToken) Marshal ¶
func (m *MsgRmStakeToken) Marshal() (dAtA []byte, err error)
func (*MsgRmStakeToken) MarshalToSizedBuffer ¶
func (m *MsgRmStakeToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRmStakeToken) ProtoMessage ¶
func (*MsgRmStakeToken) ProtoMessage()
func (*MsgRmStakeToken) Reset ¶
func (m *MsgRmStakeToken) Reset()
func (*MsgRmStakeToken) Route ¶
func (msg *MsgRmStakeToken) Route() string
func (*MsgRmStakeToken) Size ¶
func (m *MsgRmStakeToken) Size() (n int)
func (*MsgRmStakeToken) String ¶
func (m *MsgRmStakeToken) String() string
func (*MsgRmStakeToken) Type ¶
func (msg *MsgRmStakeToken) Type() string
func (*MsgRmStakeToken) Unmarshal ¶
func (m *MsgRmStakeToken) Unmarshal(dAtA []byte) error
func (*MsgRmStakeToken) ValidateBasic ¶
func (msg *MsgRmStakeToken) ValidateBasic() error
func (*MsgRmStakeToken) XXX_DiscardUnknown ¶
func (m *MsgRmStakeToken) XXX_DiscardUnknown()
func (*MsgRmStakeToken) XXX_Marshal ¶
func (m *MsgRmStakeToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRmStakeToken) XXX_Merge ¶
func (m *MsgRmStakeToken) XXX_Merge(src proto.Message)
func (*MsgRmStakeToken) XXX_Size ¶
func (m *MsgRmStakeToken) XXX_Size() int
func (*MsgRmStakeToken) XXX_Unmarshal ¶
func (m *MsgRmStakeToken) XXX_Unmarshal(b []byte) error
type MsgRmStakeTokenResponse ¶
type MsgRmStakeTokenResponse struct { }
func (*MsgRmStakeTokenResponse) Descriptor ¶
func (*MsgRmStakeTokenResponse) Descriptor() ([]byte, []int)
func (*MsgRmStakeTokenResponse) Marshal ¶
func (m *MsgRmStakeTokenResponse) Marshal() (dAtA []byte, err error)
func (*MsgRmStakeTokenResponse) MarshalTo ¶
func (m *MsgRmStakeTokenResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRmStakeTokenResponse) MarshalToSizedBuffer ¶
func (m *MsgRmStakeTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRmStakeTokenResponse) ProtoMessage ¶
func (*MsgRmStakeTokenResponse) ProtoMessage()
func (*MsgRmStakeTokenResponse) Reset ¶
func (m *MsgRmStakeTokenResponse) Reset()
func (*MsgRmStakeTokenResponse) Size ¶
func (m *MsgRmStakeTokenResponse) Size() (n int)
func (*MsgRmStakeTokenResponse) String ¶
func (m *MsgRmStakeTokenResponse) String() string
func (*MsgRmStakeTokenResponse) Unmarshal ¶
func (m *MsgRmStakeTokenResponse) Unmarshal(dAtA []byte) error
func (*MsgRmStakeTokenResponse) XXX_DiscardUnknown ¶
func (m *MsgRmStakeTokenResponse) XXX_DiscardUnknown()
func (*MsgRmStakeTokenResponse) XXX_Marshal ¶
func (m *MsgRmStakeTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRmStakeTokenResponse) XXX_Merge ¶
func (m *MsgRmStakeTokenResponse) XXX_Merge(src proto.Message)
func (*MsgRmStakeTokenResponse) XXX_Size ¶
func (m *MsgRmStakeTokenResponse) XXX_Size() int
func (*MsgRmStakeTokenResponse) XXX_Unmarshal ¶
func (m *MsgRmStakeTokenResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { AddStakePool(context.Context, *MsgAddStakePool) (*MsgAddStakePoolResponse, error) AddStakeItem(context.Context, *MsgAddStakeItem) (*MsgAddStakeItemResponse, error) AddRewardPool(context.Context, *MsgAddRewardPool) (*MsgAddRewardPoolResponse, error) Stake(context.Context, *MsgStake) (*MsgStakeResponse, error) ClaimReward(context.Context, *MsgClaimReward) (*MsgClaimRewardResponse, error) Withdraw(context.Context, *MsgWithdraw) (*MsgWithdrawResponse, error) UpdateStakeItem(context.Context, *MsgUpdateStakeItem) (*MsgUpdateStakeItemResponse, error) AddMiningProvider(context.Context, *MsgAddMiningProvider) (*MsgAddMiningProviderResponse, error) RmMiningProvider(context.Context, *MsgRmMiningProvider) (*MsgRmMiningProviderResponse, error) AddRewardToken(context.Context, *MsgAddRewardToken) (*MsgAddRewardTokenResponse, error) SetMaxRewardPoolNumber(context.Context, *MsgSetMaxRewardPoolNumber) (*MsgSetMaxRewardPoolNumberResponse, error) UpdateRewardPool(context.Context, *MsgUpdateRewardPool) (*MsgUpdateRewardPoolResponse, error) ToggleProviderSwitch(context.Context, *MsgToggleProviderSwitch) (*MsgToggleProviderSwitchResponse, error) SetMaxStakeItemNumber(context.Context, *MsgSetMaxStakeItemNumber) (*MsgSetMaxStakeItemNumberResponse, error) AddReward(context.Context, *MsgAddReward) (*MsgAddRewardResponse, error) ToggleEmergencySwitch(context.Context, *MsgToggleEmergencySwitch) (*MsgToggleEmergencySwitchResponse, error) EmergencyWithdraw(context.Context, *MsgEmergencyWithdraw) (*MsgEmergencyWithdrawResponse, error) AddStakeToken(context.Context, *MsgAddStakeToken) (*MsgAddStakeTokenResponse, error) RmRewardToken(context.Context, *MsgRmRewardToken) (*MsgRmRewardTokenResponse, error) RmStakeToken(context.Context, *MsgRmStakeToken) (*MsgRmStakeTokenResponse, error) SetStakeItemLimit(context.Context, *MsgSetStakeItemLimit) (*MsgSetStakeItemLimitResponse, error) WithdrawRewardToken(context.Context, *MsgWithdrawRewardToken) (*MsgWithdrawRewardTokenResponse, error) }
MsgServer is the server API for Msg service.
type MsgSetMaxRewardPoolNumber ¶
type MsgSetMaxRewardPoolNumber struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Number uint32 `protobuf:"varint,2,opt,name=number,proto3" json:"number"` }
func NewMsgSetMaxRewardPoolNumber ¶
func NewMsgSetMaxRewardPoolNumber(creator string, number uint32) *MsgSetMaxRewardPoolNumber
func (*MsgSetMaxRewardPoolNumber) Descriptor ¶
func (*MsgSetMaxRewardPoolNumber) Descriptor() ([]byte, []int)
func (*MsgSetMaxRewardPoolNumber) GetCreator ¶
func (m *MsgSetMaxRewardPoolNumber) GetCreator() string
func (*MsgSetMaxRewardPoolNumber) GetNumber ¶
func (m *MsgSetMaxRewardPoolNumber) GetNumber() uint32
func (*MsgSetMaxRewardPoolNumber) GetSignBytes ¶
func (msg *MsgSetMaxRewardPoolNumber) GetSignBytes() []byte
func (*MsgSetMaxRewardPoolNumber) GetSigners ¶
func (msg *MsgSetMaxRewardPoolNumber) GetSigners() []sdk.AccAddress
func (*MsgSetMaxRewardPoolNumber) Marshal ¶
func (m *MsgSetMaxRewardPoolNumber) Marshal() (dAtA []byte, err error)
func (*MsgSetMaxRewardPoolNumber) MarshalTo ¶
func (m *MsgSetMaxRewardPoolNumber) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetMaxRewardPoolNumber) MarshalToSizedBuffer ¶
func (m *MsgSetMaxRewardPoolNumber) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetMaxRewardPoolNumber) ProtoMessage ¶
func (*MsgSetMaxRewardPoolNumber) ProtoMessage()
func (*MsgSetMaxRewardPoolNumber) Reset ¶
func (m *MsgSetMaxRewardPoolNumber) Reset()
func (*MsgSetMaxRewardPoolNumber) Route ¶
func (msg *MsgSetMaxRewardPoolNumber) Route() string
func (*MsgSetMaxRewardPoolNumber) Size ¶
func (m *MsgSetMaxRewardPoolNumber) Size() (n int)
func (*MsgSetMaxRewardPoolNumber) String ¶
func (m *MsgSetMaxRewardPoolNumber) String() string
func (*MsgSetMaxRewardPoolNumber) Type ¶
func (msg *MsgSetMaxRewardPoolNumber) Type() string
func (*MsgSetMaxRewardPoolNumber) Unmarshal ¶
func (m *MsgSetMaxRewardPoolNumber) Unmarshal(dAtA []byte) error
func (*MsgSetMaxRewardPoolNumber) ValidateBasic ¶
func (msg *MsgSetMaxRewardPoolNumber) ValidateBasic() error
func (*MsgSetMaxRewardPoolNumber) XXX_DiscardUnknown ¶
func (m *MsgSetMaxRewardPoolNumber) XXX_DiscardUnknown()
func (*MsgSetMaxRewardPoolNumber) XXX_Marshal ¶
func (m *MsgSetMaxRewardPoolNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetMaxRewardPoolNumber) XXX_Merge ¶
func (m *MsgSetMaxRewardPoolNumber) XXX_Merge(src proto.Message)
func (*MsgSetMaxRewardPoolNumber) XXX_Size ¶
func (m *MsgSetMaxRewardPoolNumber) XXX_Size() int
func (*MsgSetMaxRewardPoolNumber) XXX_Unmarshal ¶
func (m *MsgSetMaxRewardPoolNumber) XXX_Unmarshal(b []byte) error
type MsgSetMaxRewardPoolNumberResponse ¶
type MsgSetMaxRewardPoolNumberResponse struct { }
func (*MsgSetMaxRewardPoolNumberResponse) Descriptor ¶
func (*MsgSetMaxRewardPoolNumberResponse) Descriptor() ([]byte, []int)
func (*MsgSetMaxRewardPoolNumberResponse) Marshal ¶
func (m *MsgSetMaxRewardPoolNumberResponse) Marshal() (dAtA []byte, err error)
func (*MsgSetMaxRewardPoolNumberResponse) MarshalTo ¶
func (m *MsgSetMaxRewardPoolNumberResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetMaxRewardPoolNumberResponse) MarshalToSizedBuffer ¶
func (m *MsgSetMaxRewardPoolNumberResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetMaxRewardPoolNumberResponse) ProtoMessage ¶
func (*MsgSetMaxRewardPoolNumberResponse) ProtoMessage()
func (*MsgSetMaxRewardPoolNumberResponse) Reset ¶
func (m *MsgSetMaxRewardPoolNumberResponse) Reset()
func (*MsgSetMaxRewardPoolNumberResponse) Size ¶
func (m *MsgSetMaxRewardPoolNumberResponse) Size() (n int)
func (*MsgSetMaxRewardPoolNumberResponse) String ¶
func (m *MsgSetMaxRewardPoolNumberResponse) String() string
func (*MsgSetMaxRewardPoolNumberResponse) Unmarshal ¶
func (m *MsgSetMaxRewardPoolNumberResponse) Unmarshal(dAtA []byte) error
func (*MsgSetMaxRewardPoolNumberResponse) XXX_DiscardUnknown ¶
func (m *MsgSetMaxRewardPoolNumberResponse) XXX_DiscardUnknown()
func (*MsgSetMaxRewardPoolNumberResponse) XXX_Marshal ¶
func (m *MsgSetMaxRewardPoolNumberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetMaxRewardPoolNumberResponse) XXX_Merge ¶
func (m *MsgSetMaxRewardPoolNumberResponse) XXX_Merge(src proto.Message)
func (*MsgSetMaxRewardPoolNumberResponse) XXX_Size ¶
func (m *MsgSetMaxRewardPoolNumberResponse) XXX_Size() int
func (*MsgSetMaxRewardPoolNumberResponse) XXX_Unmarshal ¶
func (m *MsgSetMaxRewardPoolNumberResponse) XXX_Unmarshal(b []byte) error
type MsgSetMaxStakeItemNumber ¶
type MsgSetMaxStakeItemNumber struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Number uint32 `protobuf:"varint,2,opt,name=number,proto3" json:"number"` }
func NewMsgSetMaxStakeItemNumber ¶
func NewMsgSetMaxStakeItemNumber(creator string, number uint32) *MsgSetMaxStakeItemNumber
func (*MsgSetMaxStakeItemNumber) Descriptor ¶
func (*MsgSetMaxStakeItemNumber) Descriptor() ([]byte, []int)
func (*MsgSetMaxStakeItemNumber) GetCreator ¶
func (m *MsgSetMaxStakeItemNumber) GetCreator() string
func (*MsgSetMaxStakeItemNumber) GetNumber ¶
func (m *MsgSetMaxStakeItemNumber) GetNumber() uint32
func (*MsgSetMaxStakeItemNumber) GetSignBytes ¶
func (msg *MsgSetMaxStakeItemNumber) GetSignBytes() []byte
func (*MsgSetMaxStakeItemNumber) GetSigners ¶
func (msg *MsgSetMaxStakeItemNumber) GetSigners() []sdk.AccAddress
func (*MsgSetMaxStakeItemNumber) Marshal ¶
func (m *MsgSetMaxStakeItemNumber) Marshal() (dAtA []byte, err error)
func (*MsgSetMaxStakeItemNumber) MarshalTo ¶
func (m *MsgSetMaxStakeItemNumber) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetMaxStakeItemNumber) MarshalToSizedBuffer ¶
func (m *MsgSetMaxStakeItemNumber) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetMaxStakeItemNumber) ProtoMessage ¶
func (*MsgSetMaxStakeItemNumber) ProtoMessage()
func (*MsgSetMaxStakeItemNumber) Reset ¶
func (m *MsgSetMaxStakeItemNumber) Reset()
func (*MsgSetMaxStakeItemNumber) Route ¶
func (msg *MsgSetMaxStakeItemNumber) Route() string
func (*MsgSetMaxStakeItemNumber) Size ¶
func (m *MsgSetMaxStakeItemNumber) Size() (n int)
func (*MsgSetMaxStakeItemNumber) String ¶
func (m *MsgSetMaxStakeItemNumber) String() string
func (*MsgSetMaxStakeItemNumber) Type ¶
func (msg *MsgSetMaxStakeItemNumber) Type() string
func (*MsgSetMaxStakeItemNumber) Unmarshal ¶
func (m *MsgSetMaxStakeItemNumber) Unmarshal(dAtA []byte) error
func (*MsgSetMaxStakeItemNumber) ValidateBasic ¶
func (msg *MsgSetMaxStakeItemNumber) ValidateBasic() error
func (*MsgSetMaxStakeItemNumber) XXX_DiscardUnknown ¶
func (m *MsgSetMaxStakeItemNumber) XXX_DiscardUnknown()
func (*MsgSetMaxStakeItemNumber) XXX_Marshal ¶
func (m *MsgSetMaxStakeItemNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetMaxStakeItemNumber) XXX_Merge ¶
func (m *MsgSetMaxStakeItemNumber) XXX_Merge(src proto.Message)
func (*MsgSetMaxStakeItemNumber) XXX_Size ¶
func (m *MsgSetMaxStakeItemNumber) XXX_Size() int
func (*MsgSetMaxStakeItemNumber) XXX_Unmarshal ¶
func (m *MsgSetMaxStakeItemNumber) XXX_Unmarshal(b []byte) error
type MsgSetMaxStakeItemNumberResponse ¶
type MsgSetMaxStakeItemNumberResponse struct { }
func (*MsgSetMaxStakeItemNumberResponse) Descriptor ¶
func (*MsgSetMaxStakeItemNumberResponse) Descriptor() ([]byte, []int)
func (*MsgSetMaxStakeItemNumberResponse) Marshal ¶
func (m *MsgSetMaxStakeItemNumberResponse) Marshal() (dAtA []byte, err error)
func (*MsgSetMaxStakeItemNumberResponse) MarshalTo ¶
func (m *MsgSetMaxStakeItemNumberResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetMaxStakeItemNumberResponse) MarshalToSizedBuffer ¶
func (m *MsgSetMaxStakeItemNumberResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetMaxStakeItemNumberResponse) ProtoMessage ¶
func (*MsgSetMaxStakeItemNumberResponse) ProtoMessage()
func (*MsgSetMaxStakeItemNumberResponse) Reset ¶
func (m *MsgSetMaxStakeItemNumberResponse) Reset()
func (*MsgSetMaxStakeItemNumberResponse) Size ¶
func (m *MsgSetMaxStakeItemNumberResponse) Size() (n int)
func (*MsgSetMaxStakeItemNumberResponse) String ¶
func (m *MsgSetMaxStakeItemNumberResponse) String() string
func (*MsgSetMaxStakeItemNumberResponse) Unmarshal ¶
func (m *MsgSetMaxStakeItemNumberResponse) Unmarshal(dAtA []byte) error
func (*MsgSetMaxStakeItemNumberResponse) XXX_DiscardUnknown ¶
func (m *MsgSetMaxStakeItemNumberResponse) XXX_DiscardUnknown()
func (*MsgSetMaxStakeItemNumberResponse) XXX_Marshal ¶
func (m *MsgSetMaxStakeItemNumberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetMaxStakeItemNumberResponse) XXX_Merge ¶
func (m *MsgSetMaxStakeItemNumberResponse) XXX_Merge(src proto.Message)
func (*MsgSetMaxStakeItemNumberResponse) XXX_Size ¶
func (m *MsgSetMaxStakeItemNumberResponse) XXX_Size() int
func (*MsgSetMaxStakeItemNumberResponse) XXX_Unmarshal ¶
func (m *MsgSetMaxStakeItemNumberResponse) XXX_Unmarshal(b []byte) error
type MsgSetStakeItemLimit ¶
type MsgSetStakeItemLimit struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` MaxLockSecond uint64 `protobuf:"varint,2,opt,name=maxLockSecond,proto3" json:"maxLockSecond"` MaxPowerRewardRate github_com_stafihub_stafihub_utils.Dec `` /* 129-byte string literal not displayed */ }
func NewMsgSetStakeItemLimit ¶
func NewMsgSetStakeItemLimit(creator string, maxLockSecond uint64, maxPowerRewardRate utils.Dec) *MsgSetStakeItemLimit
func (*MsgSetStakeItemLimit) Descriptor ¶
func (*MsgSetStakeItemLimit) Descriptor() ([]byte, []int)
func (*MsgSetStakeItemLimit) GetCreator ¶
func (m *MsgSetStakeItemLimit) GetCreator() string
func (*MsgSetStakeItemLimit) GetMaxLockSecond ¶
func (m *MsgSetStakeItemLimit) GetMaxLockSecond() uint64
func (*MsgSetStakeItemLimit) GetSignBytes ¶
func (msg *MsgSetStakeItemLimit) GetSignBytes() []byte
func (*MsgSetStakeItemLimit) GetSigners ¶
func (msg *MsgSetStakeItemLimit) GetSigners() []sdk.AccAddress
func (*MsgSetStakeItemLimit) Marshal ¶
func (m *MsgSetStakeItemLimit) Marshal() (dAtA []byte, err error)
func (*MsgSetStakeItemLimit) MarshalTo ¶
func (m *MsgSetStakeItemLimit) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetStakeItemLimit) MarshalToSizedBuffer ¶
func (m *MsgSetStakeItemLimit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetStakeItemLimit) ProtoMessage ¶
func (*MsgSetStakeItemLimit) ProtoMessage()
func (*MsgSetStakeItemLimit) Reset ¶
func (m *MsgSetStakeItemLimit) Reset()
func (*MsgSetStakeItemLimit) Route ¶
func (msg *MsgSetStakeItemLimit) Route() string
func (*MsgSetStakeItemLimit) Size ¶
func (m *MsgSetStakeItemLimit) Size() (n int)
func (*MsgSetStakeItemLimit) String ¶
func (m *MsgSetStakeItemLimit) String() string
func (*MsgSetStakeItemLimit) Type ¶
func (msg *MsgSetStakeItemLimit) Type() string
func (*MsgSetStakeItemLimit) Unmarshal ¶
func (m *MsgSetStakeItemLimit) Unmarshal(dAtA []byte) error
func (*MsgSetStakeItemLimit) ValidateBasic ¶
func (msg *MsgSetStakeItemLimit) ValidateBasic() error
func (*MsgSetStakeItemLimit) XXX_DiscardUnknown ¶
func (m *MsgSetStakeItemLimit) XXX_DiscardUnknown()
func (*MsgSetStakeItemLimit) XXX_Marshal ¶
func (m *MsgSetStakeItemLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetStakeItemLimit) XXX_Merge ¶
func (m *MsgSetStakeItemLimit) XXX_Merge(src proto.Message)
func (*MsgSetStakeItemLimit) XXX_Size ¶
func (m *MsgSetStakeItemLimit) XXX_Size() int
func (*MsgSetStakeItemLimit) XXX_Unmarshal ¶
func (m *MsgSetStakeItemLimit) XXX_Unmarshal(b []byte) error
type MsgSetStakeItemLimitResponse ¶
type MsgSetStakeItemLimitResponse struct { }
func (*MsgSetStakeItemLimitResponse) Descriptor ¶
func (*MsgSetStakeItemLimitResponse) Descriptor() ([]byte, []int)
func (*MsgSetStakeItemLimitResponse) Marshal ¶
func (m *MsgSetStakeItemLimitResponse) Marshal() (dAtA []byte, err error)
func (*MsgSetStakeItemLimitResponse) MarshalTo ¶
func (m *MsgSetStakeItemLimitResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetStakeItemLimitResponse) MarshalToSizedBuffer ¶
func (m *MsgSetStakeItemLimitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetStakeItemLimitResponse) ProtoMessage ¶
func (*MsgSetStakeItemLimitResponse) ProtoMessage()
func (*MsgSetStakeItemLimitResponse) Reset ¶
func (m *MsgSetStakeItemLimitResponse) Reset()
func (*MsgSetStakeItemLimitResponse) Size ¶
func (m *MsgSetStakeItemLimitResponse) Size() (n int)
func (*MsgSetStakeItemLimitResponse) String ¶
func (m *MsgSetStakeItemLimitResponse) String() string
func (*MsgSetStakeItemLimitResponse) Unmarshal ¶
func (m *MsgSetStakeItemLimitResponse) Unmarshal(dAtA []byte) error
func (*MsgSetStakeItemLimitResponse) XXX_DiscardUnknown ¶
func (m *MsgSetStakeItemLimitResponse) XXX_DiscardUnknown()
func (*MsgSetStakeItemLimitResponse) XXX_Marshal ¶
func (m *MsgSetStakeItemLimitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetStakeItemLimitResponse) XXX_Merge ¶
func (m *MsgSetStakeItemLimitResponse) XXX_Merge(src proto.Message)
func (*MsgSetStakeItemLimitResponse) XXX_Size ¶
func (m *MsgSetStakeItemLimitResponse) XXX_Size() int
func (*MsgSetStakeItemLimitResponse) XXX_Unmarshal ¶
func (m *MsgSetStakeItemLimitResponse) XXX_Unmarshal(b []byte) error
type MsgStake ¶
type MsgStake struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` StakePoolIndex uint32 `protobuf:"varint,2,opt,name=stakePoolIndex,proto3" json:"stakePoolIndex"` StakeAmount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=stakeAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"stakeAmount"` StakeItemIndex uint32 `protobuf:"varint,4,opt,name=stakeItemIndex,proto3" json:"stakeItemIndex"` }
func NewMsgStake ¶
func (*MsgStake) Descriptor ¶
func (*MsgStake) GetCreator ¶
func (*MsgStake) GetSignBytes ¶
func (*MsgStake) GetSigners ¶
func (msg *MsgStake) GetSigners() []sdk.AccAddress
func (*MsgStake) GetStakeItemIndex ¶
func (*MsgStake) GetStakePoolIndex ¶
func (*MsgStake) MarshalToSizedBuffer ¶
func (*MsgStake) ProtoMessage ¶
func (*MsgStake) ProtoMessage()
func (*MsgStake) ValidateBasic ¶
func (*MsgStake) XXX_DiscardUnknown ¶
func (m *MsgStake) XXX_DiscardUnknown()
func (*MsgStake) XXX_Marshal ¶
func (*MsgStake) XXX_Unmarshal ¶
type MsgStakeResponse ¶
type MsgStakeResponse struct { }
func (*MsgStakeResponse) Descriptor ¶
func (*MsgStakeResponse) Descriptor() ([]byte, []int)
func (*MsgStakeResponse) Marshal ¶
func (m *MsgStakeResponse) Marshal() (dAtA []byte, err error)
func (*MsgStakeResponse) MarshalToSizedBuffer ¶
func (m *MsgStakeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgStakeResponse) ProtoMessage ¶
func (*MsgStakeResponse) ProtoMessage()
func (*MsgStakeResponse) Reset ¶
func (m *MsgStakeResponse) Reset()
func (*MsgStakeResponse) Size ¶
func (m *MsgStakeResponse) Size() (n int)
func (*MsgStakeResponse) String ¶
func (m *MsgStakeResponse) String() string
func (*MsgStakeResponse) Unmarshal ¶
func (m *MsgStakeResponse) Unmarshal(dAtA []byte) error
func (*MsgStakeResponse) XXX_DiscardUnknown ¶
func (m *MsgStakeResponse) XXX_DiscardUnknown()
func (*MsgStakeResponse) XXX_Marshal ¶
func (m *MsgStakeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgStakeResponse) XXX_Merge ¶
func (m *MsgStakeResponse) XXX_Merge(src proto.Message)
func (*MsgStakeResponse) XXX_Size ¶
func (m *MsgStakeResponse) XXX_Size() int
func (*MsgStakeResponse) XXX_Unmarshal ¶
func (m *MsgStakeResponse) XXX_Unmarshal(b []byte) error
type MsgToggleEmergencySwitch ¶
type MsgToggleEmergencySwitch struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` StakePoolIndex uint32 `protobuf:"varint,2,opt,name=stakePoolIndex,proto3" json:"stakePoolIndex"` }
func NewMsgToggleEmergencySwitch ¶
func NewMsgToggleEmergencySwitch(creator string) *MsgToggleEmergencySwitch
func (*MsgToggleEmergencySwitch) Descriptor ¶
func (*MsgToggleEmergencySwitch) Descriptor() ([]byte, []int)
func (*MsgToggleEmergencySwitch) GetCreator ¶
func (m *MsgToggleEmergencySwitch) GetCreator() string
func (*MsgToggleEmergencySwitch) GetSignBytes ¶
func (msg *MsgToggleEmergencySwitch) GetSignBytes() []byte
func (*MsgToggleEmergencySwitch) GetSigners ¶
func (msg *MsgToggleEmergencySwitch) GetSigners() []sdk.AccAddress
func (*MsgToggleEmergencySwitch) GetStakePoolIndex ¶
func (m *MsgToggleEmergencySwitch) GetStakePoolIndex() uint32
func (*MsgToggleEmergencySwitch) Marshal ¶
func (m *MsgToggleEmergencySwitch) Marshal() (dAtA []byte, err error)
func (*MsgToggleEmergencySwitch) MarshalTo ¶
func (m *MsgToggleEmergencySwitch) MarshalTo(dAtA []byte) (int, error)
func (*MsgToggleEmergencySwitch) MarshalToSizedBuffer ¶
func (m *MsgToggleEmergencySwitch) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgToggleEmergencySwitch) ProtoMessage ¶
func (*MsgToggleEmergencySwitch) ProtoMessage()
func (*MsgToggleEmergencySwitch) Reset ¶
func (m *MsgToggleEmergencySwitch) Reset()
func (*MsgToggleEmergencySwitch) Route ¶
func (msg *MsgToggleEmergencySwitch) Route() string
func (*MsgToggleEmergencySwitch) Size ¶
func (m *MsgToggleEmergencySwitch) Size() (n int)
func (*MsgToggleEmergencySwitch) String ¶
func (m *MsgToggleEmergencySwitch) String() string
func (*MsgToggleEmergencySwitch) Type ¶
func (msg *MsgToggleEmergencySwitch) Type() string
func (*MsgToggleEmergencySwitch) Unmarshal ¶
func (m *MsgToggleEmergencySwitch) Unmarshal(dAtA []byte) error
func (*MsgToggleEmergencySwitch) ValidateBasic ¶
func (msg *MsgToggleEmergencySwitch) ValidateBasic() error
func (*MsgToggleEmergencySwitch) XXX_DiscardUnknown ¶
func (m *MsgToggleEmergencySwitch) XXX_DiscardUnknown()
func (*MsgToggleEmergencySwitch) XXX_Marshal ¶
func (m *MsgToggleEmergencySwitch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgToggleEmergencySwitch) XXX_Merge ¶
func (m *MsgToggleEmergencySwitch) XXX_Merge(src proto.Message)
func (*MsgToggleEmergencySwitch) XXX_Size ¶
func (m *MsgToggleEmergencySwitch) XXX_Size() int
func (*MsgToggleEmergencySwitch) XXX_Unmarshal ¶
func (m *MsgToggleEmergencySwitch) XXX_Unmarshal(b []byte) error
type MsgToggleEmergencySwitchResponse ¶
type MsgToggleEmergencySwitchResponse struct { }
func (*MsgToggleEmergencySwitchResponse) Descriptor ¶
func (*MsgToggleEmergencySwitchResponse) Descriptor() ([]byte, []int)
func (*MsgToggleEmergencySwitchResponse) Marshal ¶
func (m *MsgToggleEmergencySwitchResponse) Marshal() (dAtA []byte, err error)
func (*MsgToggleEmergencySwitchResponse) MarshalTo ¶
func (m *MsgToggleEmergencySwitchResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgToggleEmergencySwitchResponse) MarshalToSizedBuffer ¶
func (m *MsgToggleEmergencySwitchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgToggleEmergencySwitchResponse) ProtoMessage ¶
func (*MsgToggleEmergencySwitchResponse) ProtoMessage()
func (*MsgToggleEmergencySwitchResponse) Reset ¶
func (m *MsgToggleEmergencySwitchResponse) Reset()
func (*MsgToggleEmergencySwitchResponse) Size ¶
func (m *MsgToggleEmergencySwitchResponse) Size() (n int)
func (*MsgToggleEmergencySwitchResponse) String ¶
func (m *MsgToggleEmergencySwitchResponse) String() string
func (*MsgToggleEmergencySwitchResponse) Unmarshal ¶
func (m *MsgToggleEmergencySwitchResponse) Unmarshal(dAtA []byte) error
func (*MsgToggleEmergencySwitchResponse) XXX_DiscardUnknown ¶
func (m *MsgToggleEmergencySwitchResponse) XXX_DiscardUnknown()
func (*MsgToggleEmergencySwitchResponse) XXX_Marshal ¶
func (m *MsgToggleEmergencySwitchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgToggleEmergencySwitchResponse) XXX_Merge ¶
func (m *MsgToggleEmergencySwitchResponse) XXX_Merge(src proto.Message)
func (*MsgToggleEmergencySwitchResponse) XXX_Size ¶
func (m *MsgToggleEmergencySwitchResponse) XXX_Size() int
func (*MsgToggleEmergencySwitchResponse) XXX_Unmarshal ¶
func (m *MsgToggleEmergencySwitchResponse) XXX_Unmarshal(b []byte) error
type MsgToggleProviderSwitch ¶
type MsgToggleProviderSwitch struct {
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
}
func NewMsgToggleProviderSwitch ¶
func NewMsgToggleProviderSwitch(creator string) *MsgToggleProviderSwitch
func (*MsgToggleProviderSwitch) Descriptor ¶
func (*MsgToggleProviderSwitch) Descriptor() ([]byte, []int)
func (*MsgToggleProviderSwitch) GetCreator ¶
func (m *MsgToggleProviderSwitch) GetCreator() string
func (*MsgToggleProviderSwitch) GetSignBytes ¶
func (msg *MsgToggleProviderSwitch) GetSignBytes() []byte
func (*MsgToggleProviderSwitch) GetSigners ¶
func (msg *MsgToggleProviderSwitch) GetSigners() []sdk.AccAddress
func (*MsgToggleProviderSwitch) Marshal ¶
func (m *MsgToggleProviderSwitch) Marshal() (dAtA []byte, err error)
func (*MsgToggleProviderSwitch) MarshalTo ¶
func (m *MsgToggleProviderSwitch) MarshalTo(dAtA []byte) (int, error)
func (*MsgToggleProviderSwitch) MarshalToSizedBuffer ¶
func (m *MsgToggleProviderSwitch) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgToggleProviderSwitch) ProtoMessage ¶
func (*MsgToggleProviderSwitch) ProtoMessage()
func (*MsgToggleProviderSwitch) Reset ¶
func (m *MsgToggleProviderSwitch) Reset()
func (*MsgToggleProviderSwitch) Route ¶
func (msg *MsgToggleProviderSwitch) Route() string
func (*MsgToggleProviderSwitch) Size ¶
func (m *MsgToggleProviderSwitch) Size() (n int)
func (*MsgToggleProviderSwitch) String ¶
func (m *MsgToggleProviderSwitch) String() string
func (*MsgToggleProviderSwitch) Type ¶
func (msg *MsgToggleProviderSwitch) Type() string
func (*MsgToggleProviderSwitch) Unmarshal ¶
func (m *MsgToggleProviderSwitch) Unmarshal(dAtA []byte) error
func (*MsgToggleProviderSwitch) ValidateBasic ¶
func (msg *MsgToggleProviderSwitch) ValidateBasic() error
func (*MsgToggleProviderSwitch) XXX_DiscardUnknown ¶
func (m *MsgToggleProviderSwitch) XXX_DiscardUnknown()
func (*MsgToggleProviderSwitch) XXX_Marshal ¶
func (m *MsgToggleProviderSwitch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgToggleProviderSwitch) XXX_Merge ¶
func (m *MsgToggleProviderSwitch) XXX_Merge(src proto.Message)
func (*MsgToggleProviderSwitch) XXX_Size ¶
func (m *MsgToggleProviderSwitch) XXX_Size() int
func (*MsgToggleProviderSwitch) XXX_Unmarshal ¶
func (m *MsgToggleProviderSwitch) XXX_Unmarshal(b []byte) error
type MsgToggleProviderSwitchResponse ¶
type MsgToggleProviderSwitchResponse struct { }
func (*MsgToggleProviderSwitchResponse) Descriptor ¶
func (*MsgToggleProviderSwitchResponse) Descriptor() ([]byte, []int)
func (*MsgToggleProviderSwitchResponse) Marshal ¶
func (m *MsgToggleProviderSwitchResponse) Marshal() (dAtA []byte, err error)
func (*MsgToggleProviderSwitchResponse) MarshalTo ¶
func (m *MsgToggleProviderSwitchResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgToggleProviderSwitchResponse) MarshalToSizedBuffer ¶
func (m *MsgToggleProviderSwitchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgToggleProviderSwitchResponse) ProtoMessage ¶
func (*MsgToggleProviderSwitchResponse) ProtoMessage()
func (*MsgToggleProviderSwitchResponse) Reset ¶
func (m *MsgToggleProviderSwitchResponse) Reset()
func (*MsgToggleProviderSwitchResponse) Size ¶
func (m *MsgToggleProviderSwitchResponse) Size() (n int)
func (*MsgToggleProviderSwitchResponse) String ¶
func (m *MsgToggleProviderSwitchResponse) String() string
func (*MsgToggleProviderSwitchResponse) Unmarshal ¶
func (m *MsgToggleProviderSwitchResponse) Unmarshal(dAtA []byte) error
func (*MsgToggleProviderSwitchResponse) XXX_DiscardUnknown ¶
func (m *MsgToggleProviderSwitchResponse) XXX_DiscardUnknown()
func (*MsgToggleProviderSwitchResponse) XXX_Marshal ¶
func (m *MsgToggleProviderSwitchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgToggleProviderSwitchResponse) XXX_Merge ¶
func (m *MsgToggleProviderSwitchResponse) XXX_Merge(src proto.Message)
func (*MsgToggleProviderSwitchResponse) XXX_Size ¶
func (m *MsgToggleProviderSwitchResponse) XXX_Size() int
func (*MsgToggleProviderSwitchResponse) XXX_Unmarshal ¶
func (m *MsgToggleProviderSwitchResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateRewardPool ¶
type MsgUpdateRewardPool struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` StakePoolIndex uint32 `protobuf:"varint,2,opt,name=stakePoolIndex,proto3" json:"stakePoolIndex"` RewardPoolIndex uint32 `protobuf:"varint,3,opt,name=rewardPoolIndex,proto3" json:"rewardPoolIndex"` RewardPerSecond github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=rewardPerSecond,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"rewardPerSecond"` }
func NewMsgUpdateRewardPool ¶
func NewMsgUpdateRewardPool(creator string, stakePoolIndex, rewardPoolIndex uint32, rewardPerSecond sdk.Int) *MsgUpdateRewardPool
func (*MsgUpdateRewardPool) Descriptor ¶
func (*MsgUpdateRewardPool) Descriptor() ([]byte, []int)
func (*MsgUpdateRewardPool) GetCreator ¶
func (m *MsgUpdateRewardPool) GetCreator() string
func (*MsgUpdateRewardPool) GetRewardPoolIndex ¶
func (m *MsgUpdateRewardPool) GetRewardPoolIndex() uint32
func (*MsgUpdateRewardPool) GetSignBytes ¶
func (msg *MsgUpdateRewardPool) GetSignBytes() []byte
func (*MsgUpdateRewardPool) GetSigners ¶
func (msg *MsgUpdateRewardPool) GetSigners() []sdk.AccAddress
func (*MsgUpdateRewardPool) GetStakePoolIndex ¶
func (m *MsgUpdateRewardPool) GetStakePoolIndex() uint32
func (*MsgUpdateRewardPool) Marshal ¶
func (m *MsgUpdateRewardPool) Marshal() (dAtA []byte, err error)
func (*MsgUpdateRewardPool) MarshalTo ¶
func (m *MsgUpdateRewardPool) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateRewardPool) MarshalToSizedBuffer ¶
func (m *MsgUpdateRewardPool) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateRewardPool) ProtoMessage ¶
func (*MsgUpdateRewardPool) ProtoMessage()
func (*MsgUpdateRewardPool) Reset ¶
func (m *MsgUpdateRewardPool) Reset()
func (*MsgUpdateRewardPool) Route ¶
func (msg *MsgUpdateRewardPool) Route() string
func (*MsgUpdateRewardPool) Size ¶
func (m *MsgUpdateRewardPool) Size() (n int)
func (*MsgUpdateRewardPool) String ¶
func (m *MsgUpdateRewardPool) String() string
func (*MsgUpdateRewardPool) Type ¶
func (msg *MsgUpdateRewardPool) Type() string
func (*MsgUpdateRewardPool) Unmarshal ¶
func (m *MsgUpdateRewardPool) Unmarshal(dAtA []byte) error
func (*MsgUpdateRewardPool) ValidateBasic ¶
func (msg *MsgUpdateRewardPool) ValidateBasic() error
func (*MsgUpdateRewardPool) XXX_DiscardUnknown ¶
func (m *MsgUpdateRewardPool) XXX_DiscardUnknown()
func (*MsgUpdateRewardPool) XXX_Marshal ¶
func (m *MsgUpdateRewardPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateRewardPool) XXX_Merge ¶
func (m *MsgUpdateRewardPool) XXX_Merge(src proto.Message)
func (*MsgUpdateRewardPool) XXX_Size ¶
func (m *MsgUpdateRewardPool) XXX_Size() int
func (*MsgUpdateRewardPool) XXX_Unmarshal ¶
func (m *MsgUpdateRewardPool) XXX_Unmarshal(b []byte) error
type MsgUpdateRewardPoolResponse ¶
type MsgUpdateRewardPoolResponse struct { }
func (*MsgUpdateRewardPoolResponse) Descriptor ¶
func (*MsgUpdateRewardPoolResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateRewardPoolResponse) Marshal ¶
func (m *MsgUpdateRewardPoolResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateRewardPoolResponse) MarshalTo ¶
func (m *MsgUpdateRewardPoolResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateRewardPoolResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateRewardPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateRewardPoolResponse) ProtoMessage ¶
func (*MsgUpdateRewardPoolResponse) ProtoMessage()
func (*MsgUpdateRewardPoolResponse) Reset ¶
func (m *MsgUpdateRewardPoolResponse) Reset()
func (*MsgUpdateRewardPoolResponse) Size ¶
func (m *MsgUpdateRewardPoolResponse) Size() (n int)
func (*MsgUpdateRewardPoolResponse) String ¶
func (m *MsgUpdateRewardPoolResponse) String() string
func (*MsgUpdateRewardPoolResponse) Unmarshal ¶
func (m *MsgUpdateRewardPoolResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateRewardPoolResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateRewardPoolResponse) XXX_DiscardUnknown()
func (*MsgUpdateRewardPoolResponse) XXX_Marshal ¶
func (m *MsgUpdateRewardPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateRewardPoolResponse) XXX_Merge ¶
func (m *MsgUpdateRewardPoolResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateRewardPoolResponse) XXX_Size ¶
func (m *MsgUpdateRewardPoolResponse) XXX_Size() int
func (*MsgUpdateRewardPoolResponse) XXX_Unmarshal ¶
func (m *MsgUpdateRewardPoolResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateStakeItem ¶
type MsgUpdateStakeItem struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index"` StakePoolIndex uint32 `protobuf:"varint,3,opt,name=stakePoolIndex,proto3" json:"stakePoolIndex"` LockSecond uint64 `protobuf:"varint,4,opt,name=lockSecond,proto3" json:"lockSecond"` PowerRewardRate github_com_stafihub_stafihub_utils.Dec `protobuf:"bytes,5,opt,name=powerRewardRate,proto3,customtype=github.com/stafihub/stafihub/utils.Dec" json:"powerRewardRate"` Enable bool `protobuf:"varint,6,opt,name=enable,proto3" json:"enable,omitempty"` }
func NewMsgUpdateStakeItem ¶
func (*MsgUpdateStakeItem) Descriptor ¶
func (*MsgUpdateStakeItem) Descriptor() ([]byte, []int)
func (*MsgUpdateStakeItem) GetCreator ¶
func (m *MsgUpdateStakeItem) GetCreator() string
func (*MsgUpdateStakeItem) GetEnable ¶
func (m *MsgUpdateStakeItem) GetEnable() bool
func (*MsgUpdateStakeItem) GetIndex ¶
func (m *MsgUpdateStakeItem) GetIndex() uint32
func (*MsgUpdateStakeItem) GetLockSecond ¶
func (m *MsgUpdateStakeItem) GetLockSecond() uint64
func (*MsgUpdateStakeItem) GetSignBytes ¶
func (msg *MsgUpdateStakeItem) GetSignBytes() []byte
func (*MsgUpdateStakeItem) GetSigners ¶
func (msg *MsgUpdateStakeItem) GetSigners() []sdk.AccAddress
func (*MsgUpdateStakeItem) GetStakePoolIndex ¶
func (m *MsgUpdateStakeItem) GetStakePoolIndex() uint32
func (*MsgUpdateStakeItem) Marshal ¶
func (m *MsgUpdateStakeItem) Marshal() (dAtA []byte, err error)
func (*MsgUpdateStakeItem) MarshalTo ¶
func (m *MsgUpdateStakeItem) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateStakeItem) MarshalToSizedBuffer ¶
func (m *MsgUpdateStakeItem) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateStakeItem) ProtoMessage ¶
func (*MsgUpdateStakeItem) ProtoMessage()
func (*MsgUpdateStakeItem) Reset ¶
func (m *MsgUpdateStakeItem) Reset()
func (*MsgUpdateStakeItem) Route ¶
func (msg *MsgUpdateStakeItem) Route() string
func (*MsgUpdateStakeItem) Size ¶
func (m *MsgUpdateStakeItem) Size() (n int)
func (*MsgUpdateStakeItem) String ¶
func (m *MsgUpdateStakeItem) String() string
func (*MsgUpdateStakeItem) Type ¶
func (msg *MsgUpdateStakeItem) Type() string
func (*MsgUpdateStakeItem) Unmarshal ¶
func (m *MsgUpdateStakeItem) Unmarshal(dAtA []byte) error
func (*MsgUpdateStakeItem) ValidateBasic ¶
func (msg *MsgUpdateStakeItem) ValidateBasic() error
func (*MsgUpdateStakeItem) XXX_DiscardUnknown ¶
func (m *MsgUpdateStakeItem) XXX_DiscardUnknown()
func (*MsgUpdateStakeItem) XXX_Marshal ¶
func (m *MsgUpdateStakeItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateStakeItem) XXX_Merge ¶
func (m *MsgUpdateStakeItem) XXX_Merge(src proto.Message)
func (*MsgUpdateStakeItem) XXX_Size ¶
func (m *MsgUpdateStakeItem) XXX_Size() int
func (*MsgUpdateStakeItem) XXX_Unmarshal ¶
func (m *MsgUpdateStakeItem) XXX_Unmarshal(b []byte) error
type MsgUpdateStakeItemResponse ¶
type MsgUpdateStakeItemResponse struct { }
func (*MsgUpdateStakeItemResponse) Descriptor ¶
func (*MsgUpdateStakeItemResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateStakeItemResponse) Marshal ¶
func (m *MsgUpdateStakeItemResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateStakeItemResponse) MarshalTo ¶
func (m *MsgUpdateStakeItemResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateStakeItemResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateStakeItemResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateStakeItemResponse) ProtoMessage ¶
func (*MsgUpdateStakeItemResponse) ProtoMessage()
func (*MsgUpdateStakeItemResponse) Reset ¶
func (m *MsgUpdateStakeItemResponse) Reset()
func (*MsgUpdateStakeItemResponse) Size ¶
func (m *MsgUpdateStakeItemResponse) Size() (n int)
func (*MsgUpdateStakeItemResponse) String ¶
func (m *MsgUpdateStakeItemResponse) String() string
func (*MsgUpdateStakeItemResponse) Unmarshal ¶
func (m *MsgUpdateStakeItemResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateStakeItemResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateStakeItemResponse) XXX_DiscardUnknown()
func (*MsgUpdateStakeItemResponse) XXX_Marshal ¶
func (m *MsgUpdateStakeItemResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateStakeItemResponse) XXX_Merge ¶
func (m *MsgUpdateStakeItemResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateStakeItemResponse) XXX_Size ¶
func (m *MsgUpdateStakeItemResponse) XXX_Size() int
func (*MsgUpdateStakeItemResponse) XXX_Unmarshal ¶
func (m *MsgUpdateStakeItemResponse) XXX_Unmarshal(b []byte) error
type MsgWithdraw ¶
type MsgWithdraw struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` StakePoolIndex uint32 `protobuf:"varint,2,opt,name=stakePoolIndex,proto3" json:"stakePoolIndex"` StakeRecordIndex uint32 `protobuf:"varint,3,opt,name=stakeRecordIndex,proto3" json:"stakeRecordIndex"` WithdrawAmount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=withdrawAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"withdrawAmount"` }
func NewMsgWithdraw ¶
func (*MsgWithdraw) Descriptor ¶
func (*MsgWithdraw) Descriptor() ([]byte, []int)
func (*MsgWithdraw) GetCreator ¶
func (m *MsgWithdraw) GetCreator() string
func (*MsgWithdraw) GetSignBytes ¶
func (msg *MsgWithdraw) GetSignBytes() []byte
func (*MsgWithdraw) GetSigners ¶
func (msg *MsgWithdraw) GetSigners() []sdk.AccAddress
func (*MsgWithdraw) GetStakePoolIndex ¶
func (m *MsgWithdraw) GetStakePoolIndex() uint32
func (*MsgWithdraw) GetStakeRecordIndex ¶
func (m *MsgWithdraw) GetStakeRecordIndex() uint32
func (*MsgWithdraw) Marshal ¶
func (m *MsgWithdraw) Marshal() (dAtA []byte, err error)
func (*MsgWithdraw) MarshalToSizedBuffer ¶
func (m *MsgWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdraw) ProtoMessage ¶
func (*MsgWithdraw) ProtoMessage()
func (*MsgWithdraw) Reset ¶
func (m *MsgWithdraw) Reset()
func (*MsgWithdraw) Route ¶
func (msg *MsgWithdraw) Route() string
func (*MsgWithdraw) Size ¶
func (m *MsgWithdraw) Size() (n int)
func (*MsgWithdraw) String ¶
func (m *MsgWithdraw) String() string
func (*MsgWithdraw) Type ¶
func (msg *MsgWithdraw) Type() string
func (*MsgWithdraw) Unmarshal ¶
func (m *MsgWithdraw) Unmarshal(dAtA []byte) error
func (*MsgWithdraw) ValidateBasic ¶
func (msg *MsgWithdraw) ValidateBasic() error
func (*MsgWithdraw) XXX_DiscardUnknown ¶
func (m *MsgWithdraw) XXX_DiscardUnknown()
func (*MsgWithdraw) XXX_Marshal ¶
func (m *MsgWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdraw) XXX_Merge ¶
func (m *MsgWithdraw) XXX_Merge(src proto.Message)
func (*MsgWithdraw) XXX_Size ¶
func (m *MsgWithdraw) XXX_Size() int
func (*MsgWithdraw) XXX_Unmarshal ¶
func (m *MsgWithdraw) XXX_Unmarshal(b []byte) error
type MsgWithdrawResponse ¶
type MsgWithdrawResponse struct { }
func (*MsgWithdrawResponse) Descriptor ¶
func (*MsgWithdrawResponse) Descriptor() ([]byte, []int)
func (*MsgWithdrawResponse) Marshal ¶
func (m *MsgWithdrawResponse) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawResponse) MarshalTo ¶
func (m *MsgWithdrawResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawResponse) MarshalToSizedBuffer ¶
func (m *MsgWithdrawResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawResponse) ProtoMessage ¶
func (*MsgWithdrawResponse) ProtoMessage()
func (*MsgWithdrawResponse) Reset ¶
func (m *MsgWithdrawResponse) Reset()
func (*MsgWithdrawResponse) Size ¶
func (m *MsgWithdrawResponse) Size() (n int)
func (*MsgWithdrawResponse) String ¶
func (m *MsgWithdrawResponse) String() string
func (*MsgWithdrawResponse) Unmarshal ¶
func (m *MsgWithdrawResponse) Unmarshal(dAtA []byte) error
func (*MsgWithdrawResponse) XXX_DiscardUnknown ¶
func (m *MsgWithdrawResponse) XXX_DiscardUnknown()
func (*MsgWithdrawResponse) XXX_Marshal ¶
func (m *MsgWithdrawResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawResponse) XXX_Merge ¶
func (m *MsgWithdrawResponse) XXX_Merge(src proto.Message)
func (*MsgWithdrawResponse) XXX_Size ¶
func (m *MsgWithdrawResponse) XXX_Size() int
func (*MsgWithdrawResponse) XXX_Unmarshal ¶
func (m *MsgWithdrawResponse) XXX_Unmarshal(b []byte) error
type MsgWithdrawRewardToken ¶
type MsgWithdrawRewardToken struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` StakePoolIndex uint32 `protobuf:"varint,2,opt,name=stakePoolIndex,proto3" json:"stakePoolIndex"` RewardPoolIndex uint32 `protobuf:"varint,3,opt,name=rewardPoolIndex,proto3" json:"rewardPoolIndex"` WithdrawAmount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=withdrawAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"withdrawAmount"` }
func NewMsgWithdrawRewardToken ¶
func NewMsgWithdrawRewardToken(creator string, stakePoolIndex, rewardPoolIndex uint32, withdrawAmount sdk.Int) *MsgWithdrawRewardToken
func (*MsgWithdrawRewardToken) Descriptor ¶
func (*MsgWithdrawRewardToken) Descriptor() ([]byte, []int)
func (*MsgWithdrawRewardToken) GetCreator ¶
func (m *MsgWithdrawRewardToken) GetCreator() string
func (*MsgWithdrawRewardToken) GetRewardPoolIndex ¶
func (m *MsgWithdrawRewardToken) GetRewardPoolIndex() uint32
func (*MsgWithdrawRewardToken) GetSignBytes ¶
func (msg *MsgWithdrawRewardToken) GetSignBytes() []byte
func (*MsgWithdrawRewardToken) GetSigners ¶
func (msg *MsgWithdrawRewardToken) GetSigners() []sdk.AccAddress
func (*MsgWithdrawRewardToken) GetStakePoolIndex ¶
func (m *MsgWithdrawRewardToken) GetStakePoolIndex() uint32
func (*MsgWithdrawRewardToken) Marshal ¶
func (m *MsgWithdrawRewardToken) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawRewardToken) MarshalTo ¶
func (m *MsgWithdrawRewardToken) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawRewardToken) MarshalToSizedBuffer ¶
func (m *MsgWithdrawRewardToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawRewardToken) ProtoMessage ¶
func (*MsgWithdrawRewardToken) ProtoMessage()
func (*MsgWithdrawRewardToken) Reset ¶
func (m *MsgWithdrawRewardToken) Reset()
func (*MsgWithdrawRewardToken) Route ¶
func (msg *MsgWithdrawRewardToken) Route() string
func (*MsgWithdrawRewardToken) Size ¶
func (m *MsgWithdrawRewardToken) Size() (n int)
func (*MsgWithdrawRewardToken) String ¶
func (m *MsgWithdrawRewardToken) String() string
func (*MsgWithdrawRewardToken) Type ¶
func (msg *MsgWithdrawRewardToken) Type() string
func (*MsgWithdrawRewardToken) Unmarshal ¶
func (m *MsgWithdrawRewardToken) Unmarshal(dAtA []byte) error
func (*MsgWithdrawRewardToken) ValidateBasic ¶
func (msg *MsgWithdrawRewardToken) ValidateBasic() error
func (*MsgWithdrawRewardToken) XXX_DiscardUnknown ¶
func (m *MsgWithdrawRewardToken) XXX_DiscardUnknown()
func (*MsgWithdrawRewardToken) XXX_Marshal ¶
func (m *MsgWithdrawRewardToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawRewardToken) XXX_Merge ¶
func (m *MsgWithdrawRewardToken) XXX_Merge(src proto.Message)
func (*MsgWithdrawRewardToken) XXX_Size ¶
func (m *MsgWithdrawRewardToken) XXX_Size() int
func (*MsgWithdrawRewardToken) XXX_Unmarshal ¶
func (m *MsgWithdrawRewardToken) XXX_Unmarshal(b []byte) error
type MsgWithdrawRewardTokenResponse ¶
type MsgWithdrawRewardTokenResponse struct { }
func (*MsgWithdrawRewardTokenResponse) Descriptor ¶
func (*MsgWithdrawRewardTokenResponse) Descriptor() ([]byte, []int)
func (*MsgWithdrawRewardTokenResponse) Marshal ¶
func (m *MsgWithdrawRewardTokenResponse) Marshal() (dAtA []byte, err error)
func (*MsgWithdrawRewardTokenResponse) MarshalTo ¶
func (m *MsgWithdrawRewardTokenResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgWithdrawRewardTokenResponse) MarshalToSizedBuffer ¶
func (m *MsgWithdrawRewardTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgWithdrawRewardTokenResponse) ProtoMessage ¶
func (*MsgWithdrawRewardTokenResponse) ProtoMessage()
func (*MsgWithdrawRewardTokenResponse) Reset ¶
func (m *MsgWithdrawRewardTokenResponse) Reset()
func (*MsgWithdrawRewardTokenResponse) Size ¶
func (m *MsgWithdrawRewardTokenResponse) Size() (n int)
func (*MsgWithdrawRewardTokenResponse) String ¶
func (m *MsgWithdrawRewardTokenResponse) String() string
func (*MsgWithdrawRewardTokenResponse) Unmarshal ¶
func (m *MsgWithdrawRewardTokenResponse) Unmarshal(dAtA []byte) error
func (*MsgWithdrawRewardTokenResponse) XXX_DiscardUnknown ¶
func (m *MsgWithdrawRewardTokenResponse) XXX_DiscardUnknown()
func (*MsgWithdrawRewardTokenResponse) XXX_Marshal ¶
func (m *MsgWithdrawRewardTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgWithdrawRewardTokenResponse) XXX_Merge ¶
func (m *MsgWithdrawRewardTokenResponse) XXX_Merge(src proto.Message)
func (*MsgWithdrawRewardTokenResponse) XXX_Size ¶
func (m *MsgWithdrawRewardTokenResponse) XXX_Size() int
func (*MsgWithdrawRewardTokenResponse) XXX_Unmarshal ¶
func (m *MsgWithdrawRewardTokenResponse) 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 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 StakePoolInfo items. StakePoolInfo(ctx context.Context, in *QueryStakePoolInfoRequest, opts ...grpc.CallOption) (*QueryStakePoolInfoResponse, error) // Queries a list of StakeItemList items. StakeItemList(ctx context.Context, in *QueryStakeItemListRequest, opts ...grpc.CallOption) (*QueryStakeItemListResponse, error) // Queries a list of StakeReward items. StakeReward(ctx context.Context, in *QueryStakeRewardRequest, opts ...grpc.CallOption) (*QueryStakeRewardResponse, error) // Queries a list of StakeRecordCount items. StakeRecordCount(ctx context.Context, in *QueryStakeRecordCountRequest, opts ...grpc.CallOption) (*QueryStakeRecordCountResponse, error) // Queries a list of StakeRecord items. StakeRecord(ctx context.Context, in *QueryStakeRecordRequest, opts ...grpc.CallOption) (*QueryStakeRecordResponse, error) // Queries a list of StakeRecordList items. StakeRecordList(ctx context.Context, in *QueryStakeRecordListRequest, opts ...grpc.CallOption) (*QueryStakeRecordListResponse, error) // Queries a list of StakePoolList items. StakePoolList(ctx context.Context, in *QueryStakePoolListRequest, opts ...grpc.CallOption) (*QueryStakePoolListResponse, error) // Queries a list of MiningProviderList items. MiningProviderList(ctx context.Context, in *QueryMiningProviderListRequest, opts ...grpc.CallOption) (*QueryMiningProviderListResponse, error) // Queries a list of RewardTokenList items. RewardTokenList(ctx context.Context, in *QueryRewardTokenListRequest, opts ...grpc.CallOption) (*QueryRewardTokenListResponse, error) // Queries a list of MaxRewardPoolNumber items. MaxRewardPoolNumber(ctx context.Context, in *QueryMaxRewardPoolNumberRequest, opts ...grpc.CallOption) (*QueryMaxRewardPoolNumberResponse, error) // Queries a list of MaxStakeItemNumber items. MaxStakeItemNumber(ctx context.Context, in *QueryMaxStakeItemNumberRequest, opts ...grpc.CallOption) (*QueryMaxStakeItemNumberResponse, error) // Queries a list of ProviderSwitch items. ProviderSwitch(ctx context.Context, in *QueryProviderSwitchRequest, opts ...grpc.CallOption) (*QueryProviderSwitchResponse, 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 QueryMaxRewardPoolNumberRequest ¶
type QueryMaxRewardPoolNumberRequest struct { }
func (*QueryMaxRewardPoolNumberRequest) Descriptor ¶
func (*QueryMaxRewardPoolNumberRequest) Descriptor() ([]byte, []int)
func (*QueryMaxRewardPoolNumberRequest) Marshal ¶
func (m *QueryMaxRewardPoolNumberRequest) Marshal() (dAtA []byte, err error)
func (*QueryMaxRewardPoolNumberRequest) MarshalTo ¶
func (m *QueryMaxRewardPoolNumberRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryMaxRewardPoolNumberRequest) MarshalToSizedBuffer ¶
func (m *QueryMaxRewardPoolNumberRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryMaxRewardPoolNumberRequest) ProtoMessage ¶
func (*QueryMaxRewardPoolNumberRequest) ProtoMessage()
func (*QueryMaxRewardPoolNumberRequest) Reset ¶
func (m *QueryMaxRewardPoolNumberRequest) Reset()
func (*QueryMaxRewardPoolNumberRequest) Size ¶
func (m *QueryMaxRewardPoolNumberRequest) Size() (n int)
func (*QueryMaxRewardPoolNumberRequest) String ¶
func (m *QueryMaxRewardPoolNumberRequest) String() string
func (*QueryMaxRewardPoolNumberRequest) Unmarshal ¶
func (m *QueryMaxRewardPoolNumberRequest) Unmarshal(dAtA []byte) error
func (*QueryMaxRewardPoolNumberRequest) XXX_DiscardUnknown ¶
func (m *QueryMaxRewardPoolNumberRequest) XXX_DiscardUnknown()
func (*QueryMaxRewardPoolNumberRequest) XXX_Marshal ¶
func (m *QueryMaxRewardPoolNumberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryMaxRewardPoolNumberRequest) XXX_Merge ¶
func (m *QueryMaxRewardPoolNumberRequest) XXX_Merge(src proto.Message)
func (*QueryMaxRewardPoolNumberRequest) XXX_Size ¶
func (m *QueryMaxRewardPoolNumberRequest) XXX_Size() int
func (*QueryMaxRewardPoolNumberRequest) XXX_Unmarshal ¶
func (m *QueryMaxRewardPoolNumberRequest) XXX_Unmarshal(b []byte) error
type QueryMaxRewardPoolNumberResponse ¶
type QueryMaxRewardPoolNumberResponse struct {
Number uint32 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
}
func (*QueryMaxRewardPoolNumberResponse) Descriptor ¶
func (*QueryMaxRewardPoolNumberResponse) Descriptor() ([]byte, []int)
func (*QueryMaxRewardPoolNumberResponse) GetNumber ¶
func (m *QueryMaxRewardPoolNumberResponse) GetNumber() uint32
func (*QueryMaxRewardPoolNumberResponse) Marshal ¶
func (m *QueryMaxRewardPoolNumberResponse) Marshal() (dAtA []byte, err error)
func (*QueryMaxRewardPoolNumberResponse) MarshalTo ¶
func (m *QueryMaxRewardPoolNumberResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryMaxRewardPoolNumberResponse) MarshalToSizedBuffer ¶
func (m *QueryMaxRewardPoolNumberResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryMaxRewardPoolNumberResponse) ProtoMessage ¶
func (*QueryMaxRewardPoolNumberResponse) ProtoMessage()
func (*QueryMaxRewardPoolNumberResponse) Reset ¶
func (m *QueryMaxRewardPoolNumberResponse) Reset()
func (*QueryMaxRewardPoolNumberResponse) Size ¶
func (m *QueryMaxRewardPoolNumberResponse) Size() (n int)
func (*QueryMaxRewardPoolNumberResponse) String ¶
func (m *QueryMaxRewardPoolNumberResponse) String() string
func (*QueryMaxRewardPoolNumberResponse) Unmarshal ¶
func (m *QueryMaxRewardPoolNumberResponse) Unmarshal(dAtA []byte) error
func (*QueryMaxRewardPoolNumberResponse) XXX_DiscardUnknown ¶
func (m *QueryMaxRewardPoolNumberResponse) XXX_DiscardUnknown()
func (*QueryMaxRewardPoolNumberResponse) XXX_Marshal ¶
func (m *QueryMaxRewardPoolNumberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryMaxRewardPoolNumberResponse) XXX_Merge ¶
func (m *QueryMaxRewardPoolNumberResponse) XXX_Merge(src proto.Message)
func (*QueryMaxRewardPoolNumberResponse) XXX_Size ¶
func (m *QueryMaxRewardPoolNumberResponse) XXX_Size() int
func (*QueryMaxRewardPoolNumberResponse) XXX_Unmarshal ¶
func (m *QueryMaxRewardPoolNumberResponse) XXX_Unmarshal(b []byte) error
type QueryMaxStakeItemNumberRequest ¶
type QueryMaxStakeItemNumberRequest struct { }
func (*QueryMaxStakeItemNumberRequest) Descriptor ¶
func (*QueryMaxStakeItemNumberRequest) Descriptor() ([]byte, []int)
func (*QueryMaxStakeItemNumberRequest) Marshal ¶
func (m *QueryMaxStakeItemNumberRequest) Marshal() (dAtA []byte, err error)
func (*QueryMaxStakeItemNumberRequest) MarshalTo ¶
func (m *QueryMaxStakeItemNumberRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryMaxStakeItemNumberRequest) MarshalToSizedBuffer ¶
func (m *QueryMaxStakeItemNumberRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryMaxStakeItemNumberRequest) ProtoMessage ¶
func (*QueryMaxStakeItemNumberRequest) ProtoMessage()
func (*QueryMaxStakeItemNumberRequest) Reset ¶
func (m *QueryMaxStakeItemNumberRequest) Reset()
func (*QueryMaxStakeItemNumberRequest) Size ¶
func (m *QueryMaxStakeItemNumberRequest) Size() (n int)
func (*QueryMaxStakeItemNumberRequest) String ¶
func (m *QueryMaxStakeItemNumberRequest) String() string
func (*QueryMaxStakeItemNumberRequest) Unmarshal ¶
func (m *QueryMaxStakeItemNumberRequest) Unmarshal(dAtA []byte) error
func (*QueryMaxStakeItemNumberRequest) XXX_DiscardUnknown ¶
func (m *QueryMaxStakeItemNumberRequest) XXX_DiscardUnknown()
func (*QueryMaxStakeItemNumberRequest) XXX_Marshal ¶
func (m *QueryMaxStakeItemNumberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryMaxStakeItemNumberRequest) XXX_Merge ¶
func (m *QueryMaxStakeItemNumberRequest) XXX_Merge(src proto.Message)
func (*QueryMaxStakeItemNumberRequest) XXX_Size ¶
func (m *QueryMaxStakeItemNumberRequest) XXX_Size() int
func (*QueryMaxStakeItemNumberRequest) XXX_Unmarshal ¶
func (m *QueryMaxStakeItemNumberRequest) XXX_Unmarshal(b []byte) error
type QueryMaxStakeItemNumberResponse ¶
type QueryMaxStakeItemNumberResponse struct {
Number uint32 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
}
func (*QueryMaxStakeItemNumberResponse) Descriptor ¶
func (*QueryMaxStakeItemNumberResponse) Descriptor() ([]byte, []int)
func (*QueryMaxStakeItemNumberResponse) GetNumber ¶
func (m *QueryMaxStakeItemNumberResponse) GetNumber() uint32
func (*QueryMaxStakeItemNumberResponse) Marshal ¶
func (m *QueryMaxStakeItemNumberResponse) Marshal() (dAtA []byte, err error)
func (*QueryMaxStakeItemNumberResponse) MarshalTo ¶
func (m *QueryMaxStakeItemNumberResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryMaxStakeItemNumberResponse) MarshalToSizedBuffer ¶
func (m *QueryMaxStakeItemNumberResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryMaxStakeItemNumberResponse) ProtoMessage ¶
func (*QueryMaxStakeItemNumberResponse) ProtoMessage()
func (*QueryMaxStakeItemNumberResponse) Reset ¶
func (m *QueryMaxStakeItemNumberResponse) Reset()
func (*QueryMaxStakeItemNumberResponse) Size ¶
func (m *QueryMaxStakeItemNumberResponse) Size() (n int)
func (*QueryMaxStakeItemNumberResponse) String ¶
func (m *QueryMaxStakeItemNumberResponse) String() string
func (*QueryMaxStakeItemNumberResponse) Unmarshal ¶
func (m *QueryMaxStakeItemNumberResponse) Unmarshal(dAtA []byte) error
func (*QueryMaxStakeItemNumberResponse) XXX_DiscardUnknown ¶
func (m *QueryMaxStakeItemNumberResponse) XXX_DiscardUnknown()
func (*QueryMaxStakeItemNumberResponse) XXX_Marshal ¶
func (m *QueryMaxStakeItemNumberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryMaxStakeItemNumberResponse) XXX_Merge ¶
func (m *QueryMaxStakeItemNumberResponse) XXX_Merge(src proto.Message)
func (*QueryMaxStakeItemNumberResponse) XXX_Size ¶
func (m *QueryMaxStakeItemNumberResponse) XXX_Size() int
func (*QueryMaxStakeItemNumberResponse) XXX_Unmarshal ¶
func (m *QueryMaxStakeItemNumberResponse) XXX_Unmarshal(b []byte) error
type QueryMiningProviderListRequest ¶
type QueryMiningProviderListRequest struct { }
func (*QueryMiningProviderListRequest) Descriptor ¶
func (*QueryMiningProviderListRequest) Descriptor() ([]byte, []int)
func (*QueryMiningProviderListRequest) Marshal ¶
func (m *QueryMiningProviderListRequest) Marshal() (dAtA []byte, err error)
func (*QueryMiningProviderListRequest) MarshalTo ¶
func (m *QueryMiningProviderListRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryMiningProviderListRequest) MarshalToSizedBuffer ¶
func (m *QueryMiningProviderListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryMiningProviderListRequest) ProtoMessage ¶
func (*QueryMiningProviderListRequest) ProtoMessage()
func (*QueryMiningProviderListRequest) Reset ¶
func (m *QueryMiningProviderListRequest) Reset()
func (*QueryMiningProviderListRequest) Size ¶
func (m *QueryMiningProviderListRequest) Size() (n int)
func (*QueryMiningProviderListRequest) String ¶
func (m *QueryMiningProviderListRequest) String() string
func (*QueryMiningProviderListRequest) Unmarshal ¶
func (m *QueryMiningProviderListRequest) Unmarshal(dAtA []byte) error
func (*QueryMiningProviderListRequest) XXX_DiscardUnknown ¶
func (m *QueryMiningProviderListRequest) XXX_DiscardUnknown()
func (*QueryMiningProviderListRequest) XXX_Marshal ¶
func (m *QueryMiningProviderListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryMiningProviderListRequest) XXX_Merge ¶
func (m *QueryMiningProviderListRequest) XXX_Merge(src proto.Message)
func (*QueryMiningProviderListRequest) XXX_Size ¶
func (m *QueryMiningProviderListRequest) XXX_Size() int
func (*QueryMiningProviderListRequest) XXX_Unmarshal ¶
func (m *QueryMiningProviderListRequest) XXX_Unmarshal(b []byte) error
type QueryMiningProviderListResponse ¶
type QueryMiningProviderListResponse struct {
MiningProviderList []string `protobuf:"bytes,1,rep,name=miningProviderList,proto3" json:"miningProviderList,omitempty"`
}
func (*QueryMiningProviderListResponse) Descriptor ¶
func (*QueryMiningProviderListResponse) Descriptor() ([]byte, []int)
func (*QueryMiningProviderListResponse) GetMiningProviderList ¶
func (m *QueryMiningProviderListResponse) GetMiningProviderList() []string
func (*QueryMiningProviderListResponse) Marshal ¶
func (m *QueryMiningProviderListResponse) Marshal() (dAtA []byte, err error)
func (*QueryMiningProviderListResponse) MarshalTo ¶
func (m *QueryMiningProviderListResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryMiningProviderListResponse) MarshalToSizedBuffer ¶
func (m *QueryMiningProviderListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryMiningProviderListResponse) ProtoMessage ¶
func (*QueryMiningProviderListResponse) ProtoMessage()
func (*QueryMiningProviderListResponse) Reset ¶
func (m *QueryMiningProviderListResponse) Reset()
func (*QueryMiningProviderListResponse) Size ¶
func (m *QueryMiningProviderListResponse) Size() (n int)
func (*QueryMiningProviderListResponse) String ¶
func (m *QueryMiningProviderListResponse) String() string
func (*QueryMiningProviderListResponse) Unmarshal ¶
func (m *QueryMiningProviderListResponse) Unmarshal(dAtA []byte) error
func (*QueryMiningProviderListResponse) XXX_DiscardUnknown ¶
func (m *QueryMiningProviderListResponse) XXX_DiscardUnknown()
func (*QueryMiningProviderListResponse) XXX_Marshal ¶
func (m *QueryMiningProviderListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryMiningProviderListResponse) XXX_Merge ¶
func (m *QueryMiningProviderListResponse) XXX_Merge(src proto.Message)
func (*QueryMiningProviderListResponse) XXX_Size ¶
func (m *QueryMiningProviderListResponse) XXX_Size() int
func (*QueryMiningProviderListResponse) XXX_Unmarshal ¶
func (m *QueryMiningProviderListResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params holds all the parameters of this module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryProviderSwitchRequest ¶
type QueryProviderSwitchRequest struct { }
func (*QueryProviderSwitchRequest) Descriptor ¶
func (*QueryProviderSwitchRequest) Descriptor() ([]byte, []int)
func (*QueryProviderSwitchRequest) Marshal ¶
func (m *QueryProviderSwitchRequest) Marshal() (dAtA []byte, err error)
func (*QueryProviderSwitchRequest) MarshalTo ¶
func (m *QueryProviderSwitchRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryProviderSwitchRequest) MarshalToSizedBuffer ¶
func (m *QueryProviderSwitchRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProviderSwitchRequest) ProtoMessage ¶
func (*QueryProviderSwitchRequest) ProtoMessage()
func (*QueryProviderSwitchRequest) Reset ¶
func (m *QueryProviderSwitchRequest) Reset()
func (*QueryProviderSwitchRequest) Size ¶
func (m *QueryProviderSwitchRequest) Size() (n int)
func (*QueryProviderSwitchRequest) String ¶
func (m *QueryProviderSwitchRequest) String() string
func (*QueryProviderSwitchRequest) Unmarshal ¶
func (m *QueryProviderSwitchRequest) Unmarshal(dAtA []byte) error
func (*QueryProviderSwitchRequest) XXX_DiscardUnknown ¶
func (m *QueryProviderSwitchRequest) XXX_DiscardUnknown()
func (*QueryProviderSwitchRequest) XXX_Marshal ¶
func (m *QueryProviderSwitchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProviderSwitchRequest) XXX_Merge ¶
func (m *QueryProviderSwitchRequest) XXX_Merge(src proto.Message)
func (*QueryProviderSwitchRequest) XXX_Size ¶
func (m *QueryProviderSwitchRequest) XXX_Size() int
func (*QueryProviderSwitchRequest) XXX_Unmarshal ¶
func (m *QueryProviderSwitchRequest) XXX_Unmarshal(b []byte) error
type QueryProviderSwitchResponse ¶
type QueryProviderSwitchResponse struct {
ProviderSwitch bool `protobuf:"varint,1,opt,name=providerSwitch,proto3" json:"providerSwitch,omitempty"`
}
func (*QueryProviderSwitchResponse) Descriptor ¶
func (*QueryProviderSwitchResponse) Descriptor() ([]byte, []int)
func (*QueryProviderSwitchResponse) GetProviderSwitch ¶
func (m *QueryProviderSwitchResponse) GetProviderSwitch() bool
func (*QueryProviderSwitchResponse) Marshal ¶
func (m *QueryProviderSwitchResponse) Marshal() (dAtA []byte, err error)
func (*QueryProviderSwitchResponse) MarshalTo ¶
func (m *QueryProviderSwitchResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryProviderSwitchResponse) MarshalToSizedBuffer ¶
func (m *QueryProviderSwitchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProviderSwitchResponse) ProtoMessage ¶
func (*QueryProviderSwitchResponse) ProtoMessage()
func (*QueryProviderSwitchResponse) Reset ¶
func (m *QueryProviderSwitchResponse) Reset()
func (*QueryProviderSwitchResponse) Size ¶
func (m *QueryProviderSwitchResponse) Size() (n int)
func (*QueryProviderSwitchResponse) String ¶
func (m *QueryProviderSwitchResponse) String() string
func (*QueryProviderSwitchResponse) Unmarshal ¶
func (m *QueryProviderSwitchResponse) Unmarshal(dAtA []byte) error
func (*QueryProviderSwitchResponse) XXX_DiscardUnknown ¶
func (m *QueryProviderSwitchResponse) XXX_DiscardUnknown()
func (*QueryProviderSwitchResponse) XXX_Marshal ¶
func (m *QueryProviderSwitchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProviderSwitchResponse) XXX_Merge ¶
func (m *QueryProviderSwitchResponse) XXX_Merge(src proto.Message)
func (*QueryProviderSwitchResponse) XXX_Size ¶
func (m *QueryProviderSwitchResponse) XXX_Size() int
func (*QueryProviderSwitchResponse) XXX_Unmarshal ¶
func (m *QueryProviderSwitchResponse) XXX_Unmarshal(b []byte) error
type QueryRewardTokenListRequest ¶
type QueryRewardTokenListRequest struct { }
func (*QueryRewardTokenListRequest) Descriptor ¶
func (*QueryRewardTokenListRequest) Descriptor() ([]byte, []int)
func (*QueryRewardTokenListRequest) Marshal ¶
func (m *QueryRewardTokenListRequest) Marshal() (dAtA []byte, err error)
func (*QueryRewardTokenListRequest) MarshalTo ¶
func (m *QueryRewardTokenListRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryRewardTokenListRequest) MarshalToSizedBuffer ¶
func (m *QueryRewardTokenListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryRewardTokenListRequest) ProtoMessage ¶
func (*QueryRewardTokenListRequest) ProtoMessage()
func (*QueryRewardTokenListRequest) Reset ¶
func (m *QueryRewardTokenListRequest) Reset()
func (*QueryRewardTokenListRequest) Size ¶
func (m *QueryRewardTokenListRequest) Size() (n int)
func (*QueryRewardTokenListRequest) String ¶
func (m *QueryRewardTokenListRequest) String() string
func (*QueryRewardTokenListRequest) Unmarshal ¶
func (m *QueryRewardTokenListRequest) Unmarshal(dAtA []byte) error
func (*QueryRewardTokenListRequest) XXX_DiscardUnknown ¶
func (m *QueryRewardTokenListRequest) XXX_DiscardUnknown()
func (*QueryRewardTokenListRequest) XXX_Marshal ¶
func (m *QueryRewardTokenListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryRewardTokenListRequest) XXX_Merge ¶
func (m *QueryRewardTokenListRequest) XXX_Merge(src proto.Message)
func (*QueryRewardTokenListRequest) XXX_Size ¶
func (m *QueryRewardTokenListRequest) XXX_Size() int
func (*QueryRewardTokenListRequest) XXX_Unmarshal ¶
func (m *QueryRewardTokenListRequest) XXX_Unmarshal(b []byte) error
type QueryRewardTokenListResponse ¶
type QueryRewardTokenListResponse struct {
RewardTokenList []*RewardToken `protobuf:"bytes,1,rep,name=rewardTokenList,proto3" json:"rewardTokenList,omitempty"`
}
func (*QueryRewardTokenListResponse) Descriptor ¶
func (*QueryRewardTokenListResponse) Descriptor() ([]byte, []int)
func (*QueryRewardTokenListResponse) GetRewardTokenList ¶
func (m *QueryRewardTokenListResponse) GetRewardTokenList() []*RewardToken
func (*QueryRewardTokenListResponse) Marshal ¶
func (m *QueryRewardTokenListResponse) Marshal() (dAtA []byte, err error)
func (*QueryRewardTokenListResponse) MarshalTo ¶
func (m *QueryRewardTokenListResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryRewardTokenListResponse) MarshalToSizedBuffer ¶
func (m *QueryRewardTokenListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryRewardTokenListResponse) ProtoMessage ¶
func (*QueryRewardTokenListResponse) ProtoMessage()
func (*QueryRewardTokenListResponse) Reset ¶
func (m *QueryRewardTokenListResponse) Reset()
func (*QueryRewardTokenListResponse) Size ¶
func (m *QueryRewardTokenListResponse) Size() (n int)
func (*QueryRewardTokenListResponse) String ¶
func (m *QueryRewardTokenListResponse) String() string
func (*QueryRewardTokenListResponse) Unmarshal ¶
func (m *QueryRewardTokenListResponse) Unmarshal(dAtA []byte) error
func (*QueryRewardTokenListResponse) XXX_DiscardUnknown ¶
func (m *QueryRewardTokenListResponse) XXX_DiscardUnknown()
func (*QueryRewardTokenListResponse) XXX_Marshal ¶
func (m *QueryRewardTokenListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryRewardTokenListResponse) XXX_Merge ¶
func (m *QueryRewardTokenListResponse) XXX_Merge(src proto.Message)
func (*QueryRewardTokenListResponse) XXX_Size ¶
func (m *QueryRewardTokenListResponse) XXX_Size() int
func (*QueryRewardTokenListResponse) XXX_Unmarshal ¶
func (m *QueryRewardTokenListResponse) 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 StakePoolInfo items. StakePoolInfo(context.Context, *QueryStakePoolInfoRequest) (*QueryStakePoolInfoResponse, error) // Queries a list of StakeItemList items. StakeItemList(context.Context, *QueryStakeItemListRequest) (*QueryStakeItemListResponse, error) // Queries a list of StakeReward items. StakeReward(context.Context, *QueryStakeRewardRequest) (*QueryStakeRewardResponse, error) // Queries a list of StakeRecordCount items. StakeRecordCount(context.Context, *QueryStakeRecordCountRequest) (*QueryStakeRecordCountResponse, error) // Queries a list of StakeRecord items. StakeRecord(context.Context, *QueryStakeRecordRequest) (*QueryStakeRecordResponse, error) // Queries a list of StakeRecordList items. StakeRecordList(context.Context, *QueryStakeRecordListRequest) (*QueryStakeRecordListResponse, error) // Queries a list of StakePoolList items. StakePoolList(context.Context, *QueryStakePoolListRequest) (*QueryStakePoolListResponse, error) // Queries a list of MiningProviderList items. MiningProviderList(context.Context, *QueryMiningProviderListRequest) (*QueryMiningProviderListResponse, error) // Queries a list of RewardTokenList items. RewardTokenList(context.Context, *QueryRewardTokenListRequest) (*QueryRewardTokenListResponse, error) // Queries a list of MaxRewardPoolNumber items. MaxRewardPoolNumber(context.Context, *QueryMaxRewardPoolNumberRequest) (*QueryMaxRewardPoolNumberResponse, error) // Queries a list of MaxStakeItemNumber items. MaxStakeItemNumber(context.Context, *QueryMaxStakeItemNumberRequest) (*QueryMaxStakeItemNumberResponse, error) // Queries a list of ProviderSwitch items. ProviderSwitch(context.Context, *QueryProviderSwitchRequest) (*QueryProviderSwitchResponse, error) }
QueryServer is the server API for Query service.
type QueryStakeItemListRequest ¶
type QueryStakeItemListRequest struct {
StakePoolIndex uint32 `protobuf:"varint,1,opt,name=stakePoolIndex,proto3" json:"stakePoolIndex,omitempty"`
}
func (*QueryStakeItemListRequest) Descriptor ¶
func (*QueryStakeItemListRequest) Descriptor() ([]byte, []int)
func (*QueryStakeItemListRequest) GetStakePoolIndex ¶
func (m *QueryStakeItemListRequest) GetStakePoolIndex() uint32
func (*QueryStakeItemListRequest) Marshal ¶
func (m *QueryStakeItemListRequest) Marshal() (dAtA []byte, err error)
func (*QueryStakeItemListRequest) MarshalTo ¶
func (m *QueryStakeItemListRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryStakeItemListRequest) MarshalToSizedBuffer ¶
func (m *QueryStakeItemListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStakeItemListRequest) ProtoMessage ¶
func (*QueryStakeItemListRequest) ProtoMessage()
func (*QueryStakeItemListRequest) Reset ¶
func (m *QueryStakeItemListRequest) Reset()
func (*QueryStakeItemListRequest) Size ¶
func (m *QueryStakeItemListRequest) Size() (n int)
func (*QueryStakeItemListRequest) String ¶
func (m *QueryStakeItemListRequest) String() string
func (*QueryStakeItemListRequest) Unmarshal ¶
func (m *QueryStakeItemListRequest) Unmarshal(dAtA []byte) error
func (*QueryStakeItemListRequest) XXX_DiscardUnknown ¶
func (m *QueryStakeItemListRequest) XXX_DiscardUnknown()
func (*QueryStakeItemListRequest) XXX_Marshal ¶
func (m *QueryStakeItemListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStakeItemListRequest) XXX_Merge ¶
func (m *QueryStakeItemListRequest) XXX_Merge(src proto.Message)
func (*QueryStakeItemListRequest) XXX_Size ¶
func (m *QueryStakeItemListRequest) XXX_Size() int
func (*QueryStakeItemListRequest) XXX_Unmarshal ¶
func (m *QueryStakeItemListRequest) XXX_Unmarshal(b []byte) error
type QueryStakeItemListResponse ¶
type QueryStakeItemListResponse struct {
StakeItemList []*StakeItem `protobuf:"bytes,1,rep,name=stakeItemList,proto3" json:"stakeItemList,omitempty"`
}
func (*QueryStakeItemListResponse) Descriptor ¶
func (*QueryStakeItemListResponse) Descriptor() ([]byte, []int)
func (*QueryStakeItemListResponse) GetStakeItemList ¶
func (m *QueryStakeItemListResponse) GetStakeItemList() []*StakeItem
func (*QueryStakeItemListResponse) Marshal ¶
func (m *QueryStakeItemListResponse) Marshal() (dAtA []byte, err error)
func (*QueryStakeItemListResponse) MarshalTo ¶
func (m *QueryStakeItemListResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryStakeItemListResponse) MarshalToSizedBuffer ¶
func (m *QueryStakeItemListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStakeItemListResponse) ProtoMessage ¶
func (*QueryStakeItemListResponse) ProtoMessage()
func (*QueryStakeItemListResponse) Reset ¶
func (m *QueryStakeItemListResponse) Reset()
func (*QueryStakeItemListResponse) Size ¶
func (m *QueryStakeItemListResponse) Size() (n int)
func (*QueryStakeItemListResponse) String ¶
func (m *QueryStakeItemListResponse) String() string
func (*QueryStakeItemListResponse) Unmarshal ¶
func (m *QueryStakeItemListResponse) Unmarshal(dAtA []byte) error
func (*QueryStakeItemListResponse) XXX_DiscardUnknown ¶
func (m *QueryStakeItemListResponse) XXX_DiscardUnknown()
func (*QueryStakeItemListResponse) XXX_Marshal ¶
func (m *QueryStakeItemListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStakeItemListResponse) XXX_Merge ¶
func (m *QueryStakeItemListResponse) XXX_Merge(src proto.Message)
func (*QueryStakeItemListResponse) XXX_Size ¶
func (m *QueryStakeItemListResponse) XXX_Size() int
func (*QueryStakeItemListResponse) XXX_Unmarshal ¶
func (m *QueryStakeItemListResponse) XXX_Unmarshal(b []byte) error
type QueryStakePoolInfoRequest ¶
type QueryStakePoolInfoRequest struct {
StakePoolIndex uint32 `protobuf:"varint,1,opt,name=stakePoolIndex,proto3" json:"stakePoolIndex,omitempty"`
}
func (*QueryStakePoolInfoRequest) Descriptor ¶
func (*QueryStakePoolInfoRequest) Descriptor() ([]byte, []int)
func (*QueryStakePoolInfoRequest) GetStakePoolIndex ¶
func (m *QueryStakePoolInfoRequest) GetStakePoolIndex() uint32
func (*QueryStakePoolInfoRequest) Marshal ¶
func (m *QueryStakePoolInfoRequest) Marshal() (dAtA []byte, err error)
func (*QueryStakePoolInfoRequest) MarshalTo ¶
func (m *QueryStakePoolInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryStakePoolInfoRequest) MarshalToSizedBuffer ¶
func (m *QueryStakePoolInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStakePoolInfoRequest) ProtoMessage ¶
func (*QueryStakePoolInfoRequest) ProtoMessage()
func (*QueryStakePoolInfoRequest) Reset ¶
func (m *QueryStakePoolInfoRequest) Reset()
func (*QueryStakePoolInfoRequest) Size ¶
func (m *QueryStakePoolInfoRequest) Size() (n int)
func (*QueryStakePoolInfoRequest) String ¶
func (m *QueryStakePoolInfoRequest) String() string
func (*QueryStakePoolInfoRequest) Unmarshal ¶
func (m *QueryStakePoolInfoRequest) Unmarshal(dAtA []byte) error
func (*QueryStakePoolInfoRequest) XXX_DiscardUnknown ¶
func (m *QueryStakePoolInfoRequest) XXX_DiscardUnknown()
func (*QueryStakePoolInfoRequest) XXX_Marshal ¶
func (m *QueryStakePoolInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStakePoolInfoRequest) XXX_Merge ¶
func (m *QueryStakePoolInfoRequest) XXX_Merge(src proto.Message)
func (*QueryStakePoolInfoRequest) XXX_Size ¶
func (m *QueryStakePoolInfoRequest) XXX_Size() int
func (*QueryStakePoolInfoRequest) XXX_Unmarshal ¶
func (m *QueryStakePoolInfoRequest) XXX_Unmarshal(b []byte) error
type QueryStakePoolInfoResponse ¶
type QueryStakePoolInfoResponse struct {
StakePool *StakePool `protobuf:"bytes,1,opt,name=stakePool,proto3" json:"stakePool,omitempty"`
}
func (*QueryStakePoolInfoResponse) Descriptor ¶
func (*QueryStakePoolInfoResponse) Descriptor() ([]byte, []int)
func (*QueryStakePoolInfoResponse) GetStakePool ¶
func (m *QueryStakePoolInfoResponse) GetStakePool() *StakePool
func (*QueryStakePoolInfoResponse) Marshal ¶
func (m *QueryStakePoolInfoResponse) Marshal() (dAtA []byte, err error)
func (*QueryStakePoolInfoResponse) MarshalTo ¶
func (m *QueryStakePoolInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryStakePoolInfoResponse) MarshalToSizedBuffer ¶
func (m *QueryStakePoolInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStakePoolInfoResponse) ProtoMessage ¶
func (*QueryStakePoolInfoResponse) ProtoMessage()
func (*QueryStakePoolInfoResponse) Reset ¶
func (m *QueryStakePoolInfoResponse) Reset()
func (*QueryStakePoolInfoResponse) Size ¶
func (m *QueryStakePoolInfoResponse) Size() (n int)
func (*QueryStakePoolInfoResponse) String ¶
func (m *QueryStakePoolInfoResponse) String() string
func (*QueryStakePoolInfoResponse) Unmarshal ¶
func (m *QueryStakePoolInfoResponse) Unmarshal(dAtA []byte) error
func (*QueryStakePoolInfoResponse) XXX_DiscardUnknown ¶
func (m *QueryStakePoolInfoResponse) XXX_DiscardUnknown()
func (*QueryStakePoolInfoResponse) XXX_Marshal ¶
func (m *QueryStakePoolInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStakePoolInfoResponse) XXX_Merge ¶
func (m *QueryStakePoolInfoResponse) XXX_Merge(src proto.Message)
func (*QueryStakePoolInfoResponse) XXX_Size ¶
func (m *QueryStakePoolInfoResponse) XXX_Size() int
func (*QueryStakePoolInfoResponse) XXX_Unmarshal ¶
func (m *QueryStakePoolInfoResponse) XXX_Unmarshal(b []byte) error
type QueryStakePoolListRequest ¶
type QueryStakePoolListRequest struct { }
func (*QueryStakePoolListRequest) Descriptor ¶
func (*QueryStakePoolListRequest) Descriptor() ([]byte, []int)
func (*QueryStakePoolListRequest) Marshal ¶
func (m *QueryStakePoolListRequest) Marshal() (dAtA []byte, err error)
func (*QueryStakePoolListRequest) MarshalTo ¶
func (m *QueryStakePoolListRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryStakePoolListRequest) MarshalToSizedBuffer ¶
func (m *QueryStakePoolListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStakePoolListRequest) ProtoMessage ¶
func (*QueryStakePoolListRequest) ProtoMessage()
func (*QueryStakePoolListRequest) Reset ¶
func (m *QueryStakePoolListRequest) Reset()
func (*QueryStakePoolListRequest) Size ¶
func (m *QueryStakePoolListRequest) Size() (n int)
func (*QueryStakePoolListRequest) String ¶
func (m *QueryStakePoolListRequest) String() string
func (*QueryStakePoolListRequest) Unmarshal ¶
func (m *QueryStakePoolListRequest) Unmarshal(dAtA []byte) error
func (*QueryStakePoolListRequest) XXX_DiscardUnknown ¶
func (m *QueryStakePoolListRequest) XXX_DiscardUnknown()
func (*QueryStakePoolListRequest) XXX_Marshal ¶
func (m *QueryStakePoolListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStakePoolListRequest) XXX_Merge ¶
func (m *QueryStakePoolListRequest) XXX_Merge(src proto.Message)
func (*QueryStakePoolListRequest) XXX_Size ¶
func (m *QueryStakePoolListRequest) XXX_Size() int
func (*QueryStakePoolListRequest) XXX_Unmarshal ¶
func (m *QueryStakePoolListRequest) XXX_Unmarshal(b []byte) error
type QueryStakePoolListResponse ¶
type QueryStakePoolListResponse struct {
StakePoolList []*StakePool `protobuf:"bytes,1,rep,name=stakePoolList,proto3" json:"stakePoolList,omitempty"`
}
func (*QueryStakePoolListResponse) Descriptor ¶
func (*QueryStakePoolListResponse) Descriptor() ([]byte, []int)
func (*QueryStakePoolListResponse) GetStakePoolList ¶
func (m *QueryStakePoolListResponse) GetStakePoolList() []*StakePool
func (*QueryStakePoolListResponse) Marshal ¶
func (m *QueryStakePoolListResponse) Marshal() (dAtA []byte, err error)
func (*QueryStakePoolListResponse) MarshalTo ¶
func (m *QueryStakePoolListResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryStakePoolListResponse) MarshalToSizedBuffer ¶
func (m *QueryStakePoolListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStakePoolListResponse) ProtoMessage ¶
func (*QueryStakePoolListResponse) ProtoMessage()
func (*QueryStakePoolListResponse) Reset ¶
func (m *QueryStakePoolListResponse) Reset()
func (*QueryStakePoolListResponse) Size ¶
func (m *QueryStakePoolListResponse) Size() (n int)
func (*QueryStakePoolListResponse) String ¶
func (m *QueryStakePoolListResponse) String() string
func (*QueryStakePoolListResponse) Unmarshal ¶
func (m *QueryStakePoolListResponse) Unmarshal(dAtA []byte) error
func (*QueryStakePoolListResponse) XXX_DiscardUnknown ¶
func (m *QueryStakePoolListResponse) XXX_DiscardUnknown()
func (*QueryStakePoolListResponse) XXX_Marshal ¶
func (m *QueryStakePoolListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStakePoolListResponse) XXX_Merge ¶
func (m *QueryStakePoolListResponse) XXX_Merge(src proto.Message)
func (*QueryStakePoolListResponse) XXX_Size ¶
func (m *QueryStakePoolListResponse) XXX_Size() int
func (*QueryStakePoolListResponse) XXX_Unmarshal ¶
func (m *QueryStakePoolListResponse) XXX_Unmarshal(b []byte) error
type QueryStakeRecordCountRequest ¶
type QueryStakeRecordCountRequest struct { UserAddress string `protobuf:"bytes,1,opt,name=userAddress,proto3" json:"userAddress,omitempty"` StakePoolIndex uint32 `protobuf:"varint,2,opt,name=stakePoolIndex,proto3" json:"stakePoolIndex,omitempty"` }
func (*QueryStakeRecordCountRequest) Descriptor ¶
func (*QueryStakeRecordCountRequest) Descriptor() ([]byte, []int)
func (*QueryStakeRecordCountRequest) GetStakePoolIndex ¶
func (m *QueryStakeRecordCountRequest) GetStakePoolIndex() uint32
func (*QueryStakeRecordCountRequest) GetUserAddress ¶
func (m *QueryStakeRecordCountRequest) GetUserAddress() string
func (*QueryStakeRecordCountRequest) Marshal ¶
func (m *QueryStakeRecordCountRequest) Marshal() (dAtA []byte, err error)
func (*QueryStakeRecordCountRequest) MarshalTo ¶
func (m *QueryStakeRecordCountRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryStakeRecordCountRequest) MarshalToSizedBuffer ¶
func (m *QueryStakeRecordCountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStakeRecordCountRequest) ProtoMessage ¶
func (*QueryStakeRecordCountRequest) ProtoMessage()
func (*QueryStakeRecordCountRequest) Reset ¶
func (m *QueryStakeRecordCountRequest) Reset()
func (*QueryStakeRecordCountRequest) Size ¶
func (m *QueryStakeRecordCountRequest) Size() (n int)
func (*QueryStakeRecordCountRequest) String ¶
func (m *QueryStakeRecordCountRequest) String() string
func (*QueryStakeRecordCountRequest) Unmarshal ¶
func (m *QueryStakeRecordCountRequest) Unmarshal(dAtA []byte) error
func (*QueryStakeRecordCountRequest) XXX_DiscardUnknown ¶
func (m *QueryStakeRecordCountRequest) XXX_DiscardUnknown()
func (*QueryStakeRecordCountRequest) XXX_Marshal ¶
func (m *QueryStakeRecordCountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStakeRecordCountRequest) XXX_Merge ¶
func (m *QueryStakeRecordCountRequest) XXX_Merge(src proto.Message)
func (*QueryStakeRecordCountRequest) XXX_Size ¶
func (m *QueryStakeRecordCountRequest) XXX_Size() int
func (*QueryStakeRecordCountRequest) XXX_Unmarshal ¶
func (m *QueryStakeRecordCountRequest) XXX_Unmarshal(b []byte) error
type QueryStakeRecordCountResponse ¶
type QueryStakeRecordCountResponse struct {
Count uint32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
}
func (*QueryStakeRecordCountResponse) Descriptor ¶
func (*QueryStakeRecordCountResponse) Descriptor() ([]byte, []int)
func (*QueryStakeRecordCountResponse) GetCount ¶
func (m *QueryStakeRecordCountResponse) GetCount() uint32
func (*QueryStakeRecordCountResponse) Marshal ¶
func (m *QueryStakeRecordCountResponse) Marshal() (dAtA []byte, err error)
func (*QueryStakeRecordCountResponse) MarshalTo ¶
func (m *QueryStakeRecordCountResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryStakeRecordCountResponse) MarshalToSizedBuffer ¶
func (m *QueryStakeRecordCountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStakeRecordCountResponse) ProtoMessage ¶
func (*QueryStakeRecordCountResponse) ProtoMessage()
func (*QueryStakeRecordCountResponse) Reset ¶
func (m *QueryStakeRecordCountResponse) Reset()
func (*QueryStakeRecordCountResponse) Size ¶
func (m *QueryStakeRecordCountResponse) Size() (n int)
func (*QueryStakeRecordCountResponse) String ¶
func (m *QueryStakeRecordCountResponse) String() string
func (*QueryStakeRecordCountResponse) Unmarshal ¶
func (m *QueryStakeRecordCountResponse) Unmarshal(dAtA []byte) error
func (*QueryStakeRecordCountResponse) XXX_DiscardUnknown ¶
func (m *QueryStakeRecordCountResponse) XXX_DiscardUnknown()
func (*QueryStakeRecordCountResponse) XXX_Marshal ¶
func (m *QueryStakeRecordCountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStakeRecordCountResponse) XXX_Merge ¶
func (m *QueryStakeRecordCountResponse) XXX_Merge(src proto.Message)
func (*QueryStakeRecordCountResponse) XXX_Size ¶
func (m *QueryStakeRecordCountResponse) XXX_Size() int
func (*QueryStakeRecordCountResponse) XXX_Unmarshal ¶
func (m *QueryStakeRecordCountResponse) XXX_Unmarshal(b []byte) error
type QueryStakeRecordListRequest ¶
type QueryStakeRecordListRequest struct { UserAddress string `protobuf:"bytes,1,opt,name=userAddress,proto3" json:"userAddress,omitempty"` StakePoolIndex uint32 `protobuf:"varint,2,opt,name=stakePoolIndex,proto3" json:"stakePoolIndex,omitempty"` }
func (*QueryStakeRecordListRequest) Descriptor ¶
func (*QueryStakeRecordListRequest) Descriptor() ([]byte, []int)
func (*QueryStakeRecordListRequest) GetStakePoolIndex ¶
func (m *QueryStakeRecordListRequest) GetStakePoolIndex() uint32
func (*QueryStakeRecordListRequest) GetUserAddress ¶
func (m *QueryStakeRecordListRequest) GetUserAddress() string
func (*QueryStakeRecordListRequest) Marshal ¶
func (m *QueryStakeRecordListRequest) Marshal() (dAtA []byte, err error)
func (*QueryStakeRecordListRequest) MarshalTo ¶
func (m *QueryStakeRecordListRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryStakeRecordListRequest) MarshalToSizedBuffer ¶
func (m *QueryStakeRecordListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStakeRecordListRequest) ProtoMessage ¶
func (*QueryStakeRecordListRequest) ProtoMessage()
func (*QueryStakeRecordListRequest) Reset ¶
func (m *QueryStakeRecordListRequest) Reset()
func (*QueryStakeRecordListRequest) Size ¶
func (m *QueryStakeRecordListRequest) Size() (n int)
func (*QueryStakeRecordListRequest) String ¶
func (m *QueryStakeRecordListRequest) String() string
func (*QueryStakeRecordListRequest) Unmarshal ¶
func (m *QueryStakeRecordListRequest) Unmarshal(dAtA []byte) error
func (*QueryStakeRecordListRequest) XXX_DiscardUnknown ¶
func (m *QueryStakeRecordListRequest) XXX_DiscardUnknown()
func (*QueryStakeRecordListRequest) XXX_Marshal ¶
func (m *QueryStakeRecordListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStakeRecordListRequest) XXX_Merge ¶
func (m *QueryStakeRecordListRequest) XXX_Merge(src proto.Message)
func (*QueryStakeRecordListRequest) XXX_Size ¶
func (m *QueryStakeRecordListRequest) XXX_Size() int
func (*QueryStakeRecordListRequest) XXX_Unmarshal ¶
func (m *QueryStakeRecordListRequest) XXX_Unmarshal(b []byte) error
type QueryStakeRecordListResponse ¶
type QueryStakeRecordListResponse struct {
StakeRecordList []*UserStakeRecord `protobuf:"bytes,1,rep,name=stakeRecordList,proto3" json:"stakeRecordList,omitempty"`
}
func (*QueryStakeRecordListResponse) Descriptor ¶
func (*QueryStakeRecordListResponse) Descriptor() ([]byte, []int)
func (*QueryStakeRecordListResponse) GetStakeRecordList ¶
func (m *QueryStakeRecordListResponse) GetStakeRecordList() []*UserStakeRecord
func (*QueryStakeRecordListResponse) Marshal ¶
func (m *QueryStakeRecordListResponse) Marshal() (dAtA []byte, err error)
func (*QueryStakeRecordListResponse) MarshalTo ¶
func (m *QueryStakeRecordListResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryStakeRecordListResponse) MarshalToSizedBuffer ¶
func (m *QueryStakeRecordListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStakeRecordListResponse) ProtoMessage ¶
func (*QueryStakeRecordListResponse) ProtoMessage()
func (*QueryStakeRecordListResponse) Reset ¶
func (m *QueryStakeRecordListResponse) Reset()
func (*QueryStakeRecordListResponse) Size ¶
func (m *QueryStakeRecordListResponse) Size() (n int)
func (*QueryStakeRecordListResponse) String ¶
func (m *QueryStakeRecordListResponse) String() string
func (*QueryStakeRecordListResponse) Unmarshal ¶
func (m *QueryStakeRecordListResponse) Unmarshal(dAtA []byte) error
func (*QueryStakeRecordListResponse) XXX_DiscardUnknown ¶
func (m *QueryStakeRecordListResponse) XXX_DiscardUnknown()
func (*QueryStakeRecordListResponse) XXX_Marshal ¶
func (m *QueryStakeRecordListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStakeRecordListResponse) XXX_Merge ¶
func (m *QueryStakeRecordListResponse) XXX_Merge(src proto.Message)
func (*QueryStakeRecordListResponse) XXX_Size ¶
func (m *QueryStakeRecordListResponse) XXX_Size() int
func (*QueryStakeRecordListResponse) XXX_Unmarshal ¶
func (m *QueryStakeRecordListResponse) XXX_Unmarshal(b []byte) error
type QueryStakeRecordRequest ¶
type QueryStakeRecordRequest struct { UserAddress string `protobuf:"bytes,1,opt,name=userAddress,proto3" json:"userAddress,omitempty"` StakePoolIndex uint32 `protobuf:"varint,2,opt,name=stakePoolIndex,proto3" json:"stakePoolIndex,omitempty"` StakeRecordIndex uint32 `protobuf:"varint,3,opt,name=stakeRecordIndex,proto3" json:"stakeRecordIndex,omitempty"` }
func (*QueryStakeRecordRequest) Descriptor ¶
func (*QueryStakeRecordRequest) Descriptor() ([]byte, []int)
func (*QueryStakeRecordRequest) GetStakePoolIndex ¶
func (m *QueryStakeRecordRequest) GetStakePoolIndex() uint32
func (*QueryStakeRecordRequest) GetStakeRecordIndex ¶
func (m *QueryStakeRecordRequest) GetStakeRecordIndex() uint32
func (*QueryStakeRecordRequest) GetUserAddress ¶
func (m *QueryStakeRecordRequest) GetUserAddress() string
func (*QueryStakeRecordRequest) Marshal ¶
func (m *QueryStakeRecordRequest) Marshal() (dAtA []byte, err error)
func (*QueryStakeRecordRequest) MarshalTo ¶
func (m *QueryStakeRecordRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryStakeRecordRequest) MarshalToSizedBuffer ¶
func (m *QueryStakeRecordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStakeRecordRequest) ProtoMessage ¶
func (*QueryStakeRecordRequest) ProtoMessage()
func (*QueryStakeRecordRequest) Reset ¶
func (m *QueryStakeRecordRequest) Reset()
func (*QueryStakeRecordRequest) Size ¶
func (m *QueryStakeRecordRequest) Size() (n int)
func (*QueryStakeRecordRequest) String ¶
func (m *QueryStakeRecordRequest) String() string
func (*QueryStakeRecordRequest) Unmarshal ¶
func (m *QueryStakeRecordRequest) Unmarshal(dAtA []byte) error
func (*QueryStakeRecordRequest) XXX_DiscardUnknown ¶
func (m *QueryStakeRecordRequest) XXX_DiscardUnknown()
func (*QueryStakeRecordRequest) XXX_Marshal ¶
func (m *QueryStakeRecordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStakeRecordRequest) XXX_Merge ¶
func (m *QueryStakeRecordRequest) XXX_Merge(src proto.Message)
func (*QueryStakeRecordRequest) XXX_Size ¶
func (m *QueryStakeRecordRequest) XXX_Size() int
func (*QueryStakeRecordRequest) XXX_Unmarshal ¶
func (m *QueryStakeRecordRequest) XXX_Unmarshal(b []byte) error
type QueryStakeRecordResponse ¶
type QueryStakeRecordResponse struct {
StakeRecord *UserStakeRecord `protobuf:"bytes,1,opt,name=stakeRecord,proto3" json:"stakeRecord,omitempty"`
}
func (*QueryStakeRecordResponse) Descriptor ¶
func (*QueryStakeRecordResponse) Descriptor() ([]byte, []int)
func (*QueryStakeRecordResponse) GetStakeRecord ¶
func (m *QueryStakeRecordResponse) GetStakeRecord() *UserStakeRecord
func (*QueryStakeRecordResponse) Marshal ¶
func (m *QueryStakeRecordResponse) Marshal() (dAtA []byte, err error)
func (*QueryStakeRecordResponse) MarshalTo ¶
func (m *QueryStakeRecordResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryStakeRecordResponse) MarshalToSizedBuffer ¶
func (m *QueryStakeRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStakeRecordResponse) ProtoMessage ¶
func (*QueryStakeRecordResponse) ProtoMessage()
func (*QueryStakeRecordResponse) Reset ¶
func (m *QueryStakeRecordResponse) Reset()
func (*QueryStakeRecordResponse) Size ¶
func (m *QueryStakeRecordResponse) Size() (n int)
func (*QueryStakeRecordResponse) String ¶
func (m *QueryStakeRecordResponse) String() string
func (*QueryStakeRecordResponse) Unmarshal ¶
func (m *QueryStakeRecordResponse) Unmarshal(dAtA []byte) error
func (*QueryStakeRecordResponse) XXX_DiscardUnknown ¶
func (m *QueryStakeRecordResponse) XXX_DiscardUnknown()
func (*QueryStakeRecordResponse) XXX_Marshal ¶
func (m *QueryStakeRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStakeRecordResponse) XXX_Merge ¶
func (m *QueryStakeRecordResponse) XXX_Merge(src proto.Message)
func (*QueryStakeRecordResponse) XXX_Size ¶
func (m *QueryStakeRecordResponse) XXX_Size() int
func (*QueryStakeRecordResponse) XXX_Unmarshal ¶
func (m *QueryStakeRecordResponse) XXX_Unmarshal(b []byte) error
type QueryStakeRewardRequest ¶
type QueryStakeRewardRequest struct { StakeUserAddress string `protobuf:"bytes,1,opt,name=stakeUserAddress,proto3" json:"stakeUserAddress,omitempty"` StakePoolIndex uint32 `protobuf:"varint,2,opt,name=stakePoolIndex,proto3" json:"stakePoolIndex,omitempty"` StakeRecordIndex uint32 `protobuf:"varint,3,opt,name=stakeRecordIndex,proto3" json:"stakeRecordIndex,omitempty"` }
func (*QueryStakeRewardRequest) Descriptor ¶
func (*QueryStakeRewardRequest) Descriptor() ([]byte, []int)
func (*QueryStakeRewardRequest) GetStakePoolIndex ¶
func (m *QueryStakeRewardRequest) GetStakePoolIndex() uint32
func (*QueryStakeRewardRequest) GetStakeRecordIndex ¶
func (m *QueryStakeRewardRequest) GetStakeRecordIndex() uint32
func (*QueryStakeRewardRequest) GetStakeUserAddress ¶
func (m *QueryStakeRewardRequest) GetStakeUserAddress() string
func (*QueryStakeRewardRequest) Marshal ¶
func (m *QueryStakeRewardRequest) Marshal() (dAtA []byte, err error)
func (*QueryStakeRewardRequest) MarshalTo ¶
func (m *QueryStakeRewardRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryStakeRewardRequest) MarshalToSizedBuffer ¶
func (m *QueryStakeRewardRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStakeRewardRequest) ProtoMessage ¶
func (*QueryStakeRewardRequest) ProtoMessage()
func (*QueryStakeRewardRequest) Reset ¶
func (m *QueryStakeRewardRequest) Reset()
func (*QueryStakeRewardRequest) Size ¶
func (m *QueryStakeRewardRequest) Size() (n int)
func (*QueryStakeRewardRequest) String ¶
func (m *QueryStakeRewardRequest) String() string
func (*QueryStakeRewardRequest) Unmarshal ¶
func (m *QueryStakeRewardRequest) Unmarshal(dAtA []byte) error
func (*QueryStakeRewardRequest) XXX_DiscardUnknown ¶
func (m *QueryStakeRewardRequest) XXX_DiscardUnknown()
func (*QueryStakeRewardRequest) XXX_Marshal ¶
func (m *QueryStakeRewardRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStakeRewardRequest) XXX_Merge ¶
func (m *QueryStakeRewardRequest) XXX_Merge(src proto.Message)
func (*QueryStakeRewardRequest) XXX_Size ¶
func (m *QueryStakeRewardRequest) XXX_Size() int
func (*QueryStakeRewardRequest) XXX_Unmarshal ¶
func (m *QueryStakeRewardRequest) XXX_Unmarshal(b []byte) error
type QueryStakeRewardResponse ¶
type QueryStakeRewardResponse struct {
RewardTokens []github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,1,rep,name=rewardTokens,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"rewardTokens"`
}
func (*QueryStakeRewardResponse) Descriptor ¶
func (*QueryStakeRewardResponse) Descriptor() ([]byte, []int)
func (*QueryStakeRewardResponse) Marshal ¶
func (m *QueryStakeRewardResponse) Marshal() (dAtA []byte, err error)
func (*QueryStakeRewardResponse) MarshalTo ¶
func (m *QueryStakeRewardResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryStakeRewardResponse) MarshalToSizedBuffer ¶
func (m *QueryStakeRewardResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStakeRewardResponse) ProtoMessage ¶
func (*QueryStakeRewardResponse) ProtoMessage()
func (*QueryStakeRewardResponse) Reset ¶
func (m *QueryStakeRewardResponse) Reset()
func (*QueryStakeRewardResponse) Size ¶
func (m *QueryStakeRewardResponse) Size() (n int)
func (*QueryStakeRewardResponse) String ¶
func (m *QueryStakeRewardResponse) String() string
func (*QueryStakeRewardResponse) Unmarshal ¶
func (m *QueryStakeRewardResponse) Unmarshal(dAtA []byte) error
func (*QueryStakeRewardResponse) XXX_DiscardUnknown ¶
func (m *QueryStakeRewardResponse) XXX_DiscardUnknown()
func (*QueryStakeRewardResponse) XXX_Marshal ¶
func (m *QueryStakeRewardResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStakeRewardResponse) XXX_Merge ¶
func (m *QueryStakeRewardResponse) XXX_Merge(src proto.Message)
func (*QueryStakeRewardResponse) XXX_Size ¶
func (m *QueryStakeRewardResponse) XXX_Size() int
func (*QueryStakeRewardResponse) XXX_Unmarshal ¶
func (m *QueryStakeRewardResponse) XXX_Unmarshal(b []byte) error
type RewardPool ¶
type RewardPool struct { Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` RewardTokenDenom string `protobuf:"bytes,2,opt,name=rewardTokenDenom,proto3" json:"rewardTokenDenom,omitempty"` TotalRewardAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 127-byte string literal not displayed */ LeftRewardAmount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=leftRewardAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"leftRewardAmount"` RewardPerSecond github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=rewardPerSecond,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"rewardPerSecond"` StartTimestamp uint64 `protobuf:"varint,6,opt,name=startTimestamp,proto3" json:"startTimestamp,omitempty"` RewardPerPower github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,7,opt,name=rewardPerPower,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"rewardPerPower"` LastRewardTimestamp uint64 `protobuf:"varint,8,opt,name=lastRewardTimestamp,proto3" json:"lastRewardTimestamp,omitempty"` Creator string `protobuf:"bytes,9,opt,name=creator,proto3" json:"creator,omitempty"` TotalClaimedAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 130-byte string literal not displayed */ }
func (*RewardPool) Descriptor ¶
func (*RewardPool) Descriptor() ([]byte, []int)
func (*RewardPool) GetCreator ¶
func (m *RewardPool) GetCreator() string
func (*RewardPool) GetIndex ¶
func (m *RewardPool) GetIndex() uint32
func (*RewardPool) GetLastRewardTimestamp ¶
func (m *RewardPool) GetLastRewardTimestamp() uint64
func (*RewardPool) GetRewardTokenDenom ¶
func (m *RewardPool) GetRewardTokenDenom() string
func (*RewardPool) GetStartTimestamp ¶
func (m *RewardPool) GetStartTimestamp() uint64
func (*RewardPool) Marshal ¶
func (m *RewardPool) Marshal() (dAtA []byte, err error)
func (*RewardPool) MarshalToSizedBuffer ¶
func (m *RewardPool) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RewardPool) ProtoMessage ¶
func (*RewardPool) ProtoMessage()
func (*RewardPool) Reset ¶
func (m *RewardPool) Reset()
func (*RewardPool) Size ¶
func (m *RewardPool) Size() (n int)
func (*RewardPool) String ¶
func (m *RewardPool) String() string
func (*RewardPool) Unmarshal ¶
func (m *RewardPool) Unmarshal(dAtA []byte) error
func (*RewardPool) XXX_DiscardUnknown ¶
func (m *RewardPool) XXX_DiscardUnknown()
func (*RewardPool) XXX_Marshal ¶
func (m *RewardPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RewardPool) XXX_Merge ¶
func (m *RewardPool) XXX_Merge(src proto.Message)
func (*RewardPool) XXX_Size ¶
func (m *RewardPool) XXX_Size() int
func (*RewardPool) XXX_Unmarshal ¶
func (m *RewardPool) XXX_Unmarshal(b []byte) error
type RewardToken ¶
type RewardToken struct { RewardTokenDenom string `protobuf:"bytes,1,opt,name=rewardTokenDenom,proto3" json:"rewardTokenDenom,omitempty"` MinTotalRewardAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 133-byte string literal not displayed */ MinRewardPerSecond github_com_cosmos_cosmos_sdk_types.Int `` /* 129-byte string literal not displayed */ }
func (*RewardToken) Descriptor ¶
func (*RewardToken) Descriptor() ([]byte, []int)
func (*RewardToken) GetRewardTokenDenom ¶
func (m *RewardToken) GetRewardTokenDenom() string
func (*RewardToken) Marshal ¶
func (m *RewardToken) Marshal() (dAtA []byte, err error)
func (*RewardToken) MarshalToSizedBuffer ¶
func (m *RewardToken) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RewardToken) ProtoMessage ¶
func (*RewardToken) ProtoMessage()
func (*RewardToken) Reset ¶
func (m *RewardToken) Reset()
func (*RewardToken) Size ¶
func (m *RewardToken) Size() (n int)
func (*RewardToken) String ¶
func (m *RewardToken) String() string
func (*RewardToken) Unmarshal ¶
func (m *RewardToken) Unmarshal(dAtA []byte) error
func (*RewardToken) XXX_DiscardUnknown ¶
func (m *RewardToken) XXX_DiscardUnknown()
func (*RewardToken) XXX_Marshal ¶
func (m *RewardToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RewardToken) XXX_Merge ¶
func (m *RewardToken) XXX_Merge(src proto.Message)
func (*RewardToken) XXX_Size ¶
func (m *RewardToken) XXX_Size() int
func (*RewardToken) XXX_Unmarshal ¶
func (m *RewardToken) XXX_Unmarshal(b []byte) error
type StakeItem ¶
type StakeItem struct { Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` StakePoolIndex uint32 `protobuf:"varint,2,opt,name=stakePoolIndex,proto3" json:"stakePoolIndex,omitempty"` LockSecond uint64 `protobuf:"varint,3,opt,name=lockSecond,proto3" json:"lockSecond,omitempty"` // user stakedPower = powerRewardRate * stakedAmount PowerRewardRate github_com_stafihub_stafihub_utils.Dec `protobuf:"bytes,4,opt,name=powerRewardRate,proto3,customtype=github.com/stafihub/stafihub/utils.Dec" json:"powerRewardRate"` Enable bool `protobuf:"varint,5,opt,name=enable,proto3" json:"enable,omitempty"` }
func (*StakeItem) Descriptor ¶
func (*StakeItem) GetLockSecond ¶
func (*StakeItem) GetStakePoolIndex ¶
func (*StakeItem) MarshalToSizedBuffer ¶
func (*StakeItem) ProtoMessage ¶
func (*StakeItem) ProtoMessage()
func (*StakeItem) XXX_DiscardUnknown ¶
func (m *StakeItem) XXX_DiscardUnknown()
func (*StakeItem) XXX_Marshal ¶
func (*StakeItem) XXX_Unmarshal ¶
type StakeItemLimit ¶
type StakeItemLimit struct { MaxPowerRewardRate github_com_stafihub_stafihub_utils.Dec `` /* 129-byte string literal not displayed */ MaxLockSecond uint64 `protobuf:"varint,2,opt,name=maxLockSecond,proto3" json:"maxLockSecond,omitempty"` }
func (*StakeItemLimit) Descriptor ¶
func (*StakeItemLimit) Descriptor() ([]byte, []int)
func (*StakeItemLimit) GetMaxLockSecond ¶
func (m *StakeItemLimit) GetMaxLockSecond() uint64
func (*StakeItemLimit) Marshal ¶
func (m *StakeItemLimit) Marshal() (dAtA []byte, err error)
func (*StakeItemLimit) MarshalToSizedBuffer ¶
func (m *StakeItemLimit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StakeItemLimit) ProtoMessage ¶
func (*StakeItemLimit) ProtoMessage()
func (*StakeItemLimit) Reset ¶
func (m *StakeItemLimit) Reset()
func (*StakeItemLimit) Size ¶
func (m *StakeItemLimit) Size() (n int)
func (*StakeItemLimit) String ¶
func (m *StakeItemLimit) String() string
func (*StakeItemLimit) Unmarshal ¶
func (m *StakeItemLimit) Unmarshal(dAtA []byte) error
func (*StakeItemLimit) XXX_DiscardUnknown ¶
func (m *StakeItemLimit) XXX_DiscardUnknown()
func (*StakeItemLimit) XXX_Marshal ¶
func (m *StakeItemLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StakeItemLimit) XXX_Merge ¶
func (m *StakeItemLimit) XXX_Merge(src proto.Message)
func (*StakeItemLimit) XXX_Size ¶
func (m *StakeItemLimit) XXX_Size() int
func (*StakeItemLimit) XXX_Unmarshal ¶
func (m *StakeItemLimit) XXX_Unmarshal(b []byte) error
type StakePool ¶
type StakePool struct { Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // staked token denom StakeTokenDenom string `protobuf:"bytes,2,opt,name=stakeTokenDenom,proto3" json:"stakeTokenDenom,omitempty"` RewardPools []*RewardPool `protobuf:"bytes,3,rep,name=rewardPools,proto3" json:"rewardPools,omitempty"` // total (staked) balance of staked token TotalStakedAmount github_com_cosmos_cosmos_sdk_types.Int `` /* 127-byte string literal not displayed */ TotalStakedPower github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=totalStakedPower,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"totalStakedPower"` EmergencySwitch bool `protobuf:"varint,6,opt,name=emergencySwitch,proto3" json:"emergencySwitch,omitempty"` Creator string `protobuf:"bytes,7,opt,name=creator,proto3" json:"creator,omitempty"` }
func (*StakePool) Descriptor ¶
func (*StakePool) GetCreator ¶
func (*StakePool) GetEmergencySwitch ¶
func (*StakePool) GetRewardPools ¶
func (m *StakePool) GetRewardPools() []*RewardPool
func (*StakePool) GetStakeTokenDenom ¶
func (*StakePool) MarshalToSizedBuffer ¶
func (*StakePool) ProtoMessage ¶
func (*StakePool) ProtoMessage()
func (*StakePool) XXX_DiscardUnknown ¶
func (m *StakePool) XXX_DiscardUnknown()
func (*StakePool) XXX_Marshal ¶
func (*StakePool) XXX_Unmarshal ¶
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) AddMiningProvider ¶
func (*UnimplementedMsgServer) AddMiningProvider(ctx context.Context, req *MsgAddMiningProvider) (*MsgAddMiningProviderResponse, error)
func (*UnimplementedMsgServer) AddReward ¶
func (*UnimplementedMsgServer) AddReward(ctx context.Context, req *MsgAddReward) (*MsgAddRewardResponse, error)
func (*UnimplementedMsgServer) AddRewardPool ¶
func (*UnimplementedMsgServer) AddRewardPool(ctx context.Context, req *MsgAddRewardPool) (*MsgAddRewardPoolResponse, error)
func (*UnimplementedMsgServer) AddRewardToken ¶
func (*UnimplementedMsgServer) AddRewardToken(ctx context.Context, req *MsgAddRewardToken) (*MsgAddRewardTokenResponse, error)
func (*UnimplementedMsgServer) AddStakeItem ¶
func (*UnimplementedMsgServer) AddStakeItem(ctx context.Context, req *MsgAddStakeItem) (*MsgAddStakeItemResponse, error)
func (*UnimplementedMsgServer) AddStakePool ¶
func (*UnimplementedMsgServer) AddStakePool(ctx context.Context, req *MsgAddStakePool) (*MsgAddStakePoolResponse, error)
func (*UnimplementedMsgServer) AddStakeToken ¶
func (*UnimplementedMsgServer) AddStakeToken(ctx context.Context, req *MsgAddStakeToken) (*MsgAddStakeTokenResponse, error)
func (*UnimplementedMsgServer) ClaimReward ¶
func (*UnimplementedMsgServer) ClaimReward(ctx context.Context, req *MsgClaimReward) (*MsgClaimRewardResponse, error)
func (*UnimplementedMsgServer) EmergencyWithdraw ¶
func (*UnimplementedMsgServer) EmergencyWithdraw(ctx context.Context, req *MsgEmergencyWithdraw) (*MsgEmergencyWithdrawResponse, error)
func (*UnimplementedMsgServer) RmMiningProvider ¶
func (*UnimplementedMsgServer) RmMiningProvider(ctx context.Context, req *MsgRmMiningProvider) (*MsgRmMiningProviderResponse, error)
func (*UnimplementedMsgServer) RmRewardToken ¶
func (*UnimplementedMsgServer) RmRewardToken(ctx context.Context, req *MsgRmRewardToken) (*MsgRmRewardTokenResponse, error)
func (*UnimplementedMsgServer) RmStakeToken ¶
func (*UnimplementedMsgServer) RmStakeToken(ctx context.Context, req *MsgRmStakeToken) (*MsgRmStakeTokenResponse, error)
func (*UnimplementedMsgServer) SetMaxRewardPoolNumber ¶
func (*UnimplementedMsgServer) SetMaxRewardPoolNumber(ctx context.Context, req *MsgSetMaxRewardPoolNumber) (*MsgSetMaxRewardPoolNumberResponse, error)
func (*UnimplementedMsgServer) SetMaxStakeItemNumber ¶
func (*UnimplementedMsgServer) SetMaxStakeItemNumber(ctx context.Context, req *MsgSetMaxStakeItemNumber) (*MsgSetMaxStakeItemNumberResponse, error)
func (*UnimplementedMsgServer) SetStakeItemLimit ¶
func (*UnimplementedMsgServer) SetStakeItemLimit(ctx context.Context, req *MsgSetStakeItemLimit) (*MsgSetStakeItemLimitResponse, error)
func (*UnimplementedMsgServer) Stake ¶
func (*UnimplementedMsgServer) Stake(ctx context.Context, req *MsgStake) (*MsgStakeResponse, error)
func (*UnimplementedMsgServer) ToggleEmergencySwitch ¶
func (*UnimplementedMsgServer) ToggleEmergencySwitch(ctx context.Context, req *MsgToggleEmergencySwitch) (*MsgToggleEmergencySwitchResponse, error)
func (*UnimplementedMsgServer) ToggleProviderSwitch ¶
func (*UnimplementedMsgServer) ToggleProviderSwitch(ctx context.Context, req *MsgToggleProviderSwitch) (*MsgToggleProviderSwitchResponse, error)
func (*UnimplementedMsgServer) UpdateRewardPool ¶
func (*UnimplementedMsgServer) UpdateRewardPool(ctx context.Context, req *MsgUpdateRewardPool) (*MsgUpdateRewardPoolResponse, error)
func (*UnimplementedMsgServer) UpdateStakeItem ¶
func (*UnimplementedMsgServer) UpdateStakeItem(ctx context.Context, req *MsgUpdateStakeItem) (*MsgUpdateStakeItemResponse, error)
func (*UnimplementedMsgServer) Withdraw ¶
func (*UnimplementedMsgServer) Withdraw(ctx context.Context, req *MsgWithdraw) (*MsgWithdrawResponse, error)
func (*UnimplementedMsgServer) WithdrawRewardToken ¶
func (*UnimplementedMsgServer) WithdrawRewardToken(ctx context.Context, req *MsgWithdrawRewardToken) (*MsgWithdrawRewardTokenResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) MaxRewardPoolNumber ¶
func (*UnimplementedQueryServer) MaxRewardPoolNumber(ctx context.Context, req *QueryMaxRewardPoolNumberRequest) (*QueryMaxRewardPoolNumberResponse, error)
func (*UnimplementedQueryServer) MaxStakeItemNumber ¶
func (*UnimplementedQueryServer) MaxStakeItemNumber(ctx context.Context, req *QueryMaxStakeItemNumberRequest) (*QueryMaxStakeItemNumberResponse, error)
func (*UnimplementedQueryServer) MiningProviderList ¶
func (*UnimplementedQueryServer) MiningProviderList(ctx context.Context, req *QueryMiningProviderListRequest) (*QueryMiningProviderListResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) ProviderSwitch ¶
func (*UnimplementedQueryServer) ProviderSwitch(ctx context.Context, req *QueryProviderSwitchRequest) (*QueryProviderSwitchResponse, error)
func (*UnimplementedQueryServer) RewardTokenList ¶
func (*UnimplementedQueryServer) RewardTokenList(ctx context.Context, req *QueryRewardTokenListRequest) (*QueryRewardTokenListResponse, error)
func (*UnimplementedQueryServer) StakeItemList ¶
func (*UnimplementedQueryServer) StakeItemList(ctx context.Context, req *QueryStakeItemListRequest) (*QueryStakeItemListResponse, error)
func (*UnimplementedQueryServer) StakePoolInfo ¶
func (*UnimplementedQueryServer) StakePoolInfo(ctx context.Context, req *QueryStakePoolInfoRequest) (*QueryStakePoolInfoResponse, error)
func (*UnimplementedQueryServer) StakePoolList ¶
func (*UnimplementedQueryServer) StakePoolList(ctx context.Context, req *QueryStakePoolListRequest) (*QueryStakePoolListResponse, error)
func (*UnimplementedQueryServer) StakeRecord ¶
func (*UnimplementedQueryServer) StakeRecord(ctx context.Context, req *QueryStakeRecordRequest) (*QueryStakeRecordResponse, error)
func (*UnimplementedQueryServer) StakeRecordCount ¶
func (*UnimplementedQueryServer) StakeRecordCount(ctx context.Context, req *QueryStakeRecordCountRequest) (*QueryStakeRecordCountResponse, error)
func (*UnimplementedQueryServer) StakeRecordList ¶
func (*UnimplementedQueryServer) StakeRecordList(ctx context.Context, req *QueryStakeRecordListRequest) (*QueryStakeRecordListResponse, error)
func (*UnimplementedQueryServer) StakeReward ¶
func (*UnimplementedQueryServer) StakeReward(ctx context.Context, req *QueryStakeRewardRequest) (*QueryStakeRewardResponse, error)
type UserRewardInfo ¶
type UserRewardInfo struct { RewardPoolIndex uint32 `protobuf:"varint,1,opt,name=rewardPoolIndex,proto3" json:"rewardPoolIndex,omitempty"` RewardTokenDenom string `protobuf:"bytes,2,opt,name=rewardTokenDenom,proto3" json:"rewardTokenDenom,omitempty"` RewardDebt github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=rewardDebt,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"rewardDebt"` ClaimedAmount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=claimedAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"claimedAmount"` }
func (*UserRewardInfo) Descriptor ¶
func (*UserRewardInfo) Descriptor() ([]byte, []int)
func (*UserRewardInfo) GetRewardPoolIndex ¶
func (m *UserRewardInfo) GetRewardPoolIndex() uint32
func (*UserRewardInfo) GetRewardTokenDenom ¶
func (m *UserRewardInfo) GetRewardTokenDenom() string
func (*UserRewardInfo) Marshal ¶
func (m *UserRewardInfo) Marshal() (dAtA []byte, err error)
func (*UserRewardInfo) MarshalToSizedBuffer ¶
func (m *UserRewardInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserRewardInfo) ProtoMessage ¶
func (*UserRewardInfo) ProtoMessage()
func (*UserRewardInfo) Reset ¶
func (m *UserRewardInfo) Reset()
func (*UserRewardInfo) Size ¶
func (m *UserRewardInfo) Size() (n int)
func (*UserRewardInfo) String ¶
func (m *UserRewardInfo) String() string
func (*UserRewardInfo) Unmarshal ¶
func (m *UserRewardInfo) Unmarshal(dAtA []byte) error
func (*UserRewardInfo) XXX_DiscardUnknown ¶
func (m *UserRewardInfo) XXX_DiscardUnknown()
func (*UserRewardInfo) XXX_Marshal ¶
func (m *UserRewardInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserRewardInfo) XXX_Merge ¶
func (m *UserRewardInfo) XXX_Merge(src proto.Message)
func (*UserRewardInfo) XXX_Size ¶
func (m *UserRewardInfo) XXX_Size() int
func (*UserRewardInfo) XXX_Unmarshal ¶
func (m *UserRewardInfo) XXX_Unmarshal(b []byte) error
type UserStakeRecord ¶
type UserStakeRecord struct { UserAddress string `protobuf:"bytes,1,opt,name=userAddress,proto3" json:"userAddress,omitempty"` StakePoolIndex uint32 `protobuf:"varint,2,opt,name=stakePoolIndex,proto3" json:"stakePoolIndex,omitempty"` Index uint32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` StakedAmount github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=stakedAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"stakedAmount"` StakedPower github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=stakedPower,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"stakedPower"` // the begin timestamp StartTimestamp uint64 `protobuf:"varint,6,opt,name=startTimestamp,proto3" json:"startTimestamp,omitempty"` // promise not unstake before this timestamp LockEndTimestamp uint64 `protobuf:"varint,7,opt,name=lockEndTimestamp,proto3" json:"lockEndTimestamp,omitempty"` UserRewardInfos []*UserRewardInfo `protobuf:"bytes,8,rep,name=userRewardInfos,proto3" json:"userRewardInfos,omitempty"` StakeItemIndex uint32 `protobuf:"varint,9,opt,name=stakeItemIndex,proto3" json:"stakeItemIndex,omitempty"` }
func (*UserStakeRecord) Descriptor ¶
func (*UserStakeRecord) Descriptor() ([]byte, []int)
func (*UserStakeRecord) GetIndex ¶
func (m *UserStakeRecord) GetIndex() uint32
func (*UserStakeRecord) GetLockEndTimestamp ¶
func (m *UserStakeRecord) GetLockEndTimestamp() uint64
func (*UserStakeRecord) GetStakeItemIndex ¶
func (m *UserStakeRecord) GetStakeItemIndex() uint32
func (*UserStakeRecord) GetStakePoolIndex ¶
func (m *UserStakeRecord) GetStakePoolIndex() uint32
func (*UserStakeRecord) GetStartTimestamp ¶
func (m *UserStakeRecord) GetStartTimestamp() uint64
func (*UserStakeRecord) GetUserAddress ¶
func (m *UserStakeRecord) GetUserAddress() string
func (*UserStakeRecord) GetUserRewardInfos ¶
func (m *UserStakeRecord) GetUserRewardInfos() []*UserRewardInfo
func (*UserStakeRecord) Marshal ¶
func (m *UserStakeRecord) Marshal() (dAtA []byte, err error)
func (*UserStakeRecord) MarshalToSizedBuffer ¶
func (m *UserStakeRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserStakeRecord) ProtoMessage ¶
func (*UserStakeRecord) ProtoMessage()
func (*UserStakeRecord) Reset ¶
func (m *UserStakeRecord) Reset()
func (*UserStakeRecord) Size ¶
func (m *UserStakeRecord) Size() (n int)
func (*UserStakeRecord) String ¶
func (m *UserStakeRecord) String() string
func (*UserStakeRecord) Unmarshal ¶
func (m *UserStakeRecord) Unmarshal(dAtA []byte) error
func (*UserStakeRecord) XXX_DiscardUnknown ¶
func (m *UserStakeRecord) XXX_DiscardUnknown()
func (*UserStakeRecord) XXX_Marshal ¶
func (m *UserStakeRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserStakeRecord) XXX_Merge ¶
func (m *UserStakeRecord) XXX_Merge(src proto.Message)
func (*UserStakeRecord) XXX_Size ¶
func (m *UserStakeRecord) XXX_Size() int
func (*UserStakeRecord) XXX_Unmarshal ¶
func (m *UserStakeRecord) XXX_Unmarshal(b []byte) error
Source Files ¶
- codec.go
- errors.go
- events.go
- expected_keepers.go
- genesis.go
- genesis.pb.go
- keys.go
- message_add_mining_provider.go
- message_add_reward.go
- message_add_reward_pool.go
- message_add_reward_token.go
- message_add_stake_item.go
- message_add_stake_pool.go
- message_add_stake_token.go
- message_claim_reward.go
- message_emergency_withdraw.go
- message_rm_mining_provider.go
- message_rm_reward_token.go
- message_rm_stake_token.go
- message_set_max_reward_pool_number.go
- message_set_max_stake_item_number.go
- message_set_stake_item_limit.go
- message_stake.go
- message_toggle_emergency_switch.go
- message_toggle_provider_switch.go
- message_update_reward_pool.go
- message_update_stake_item.go
- message_withdraw.go
- message_withdraw_reward_token.go
- models.pb.go
- params.go
- params.pb.go
- query.pb.go
- query.pb.gw.go
- tx.pb.go
- types.go