Versions in this module Expand all Collapse all v1 v1.7.3 Jan 2, 2023 v1.7.2 Jan 2, 2023 Changes in this version + const AttributeValueAmount + const AttributeValueCategory + const AttributeValueCreator + const AttributeValuePoolId + const AttributeValueProposal + const AttributeValueReward + const EscrowCollector + const EventTypeAppendReward + const EventTypeCreatePool + const EventTypeCreatePoolWithCommunityPool + const EventTypeDestroyPool + const EventTypeHarvest + const EventTypeStake + const EventTypeUnstake + const MaxDescriptionLength + const ModuleName + const PrefixFarmPool + const ProposalTypeCreateFarmPool + const QuerierRoute + const QueryRecord + const RewardCollector + const RouterKey + const StoreKey + const TypeMsgAdjustPool + const TypeMsgCreatePool + const TypeMsgCreateProposal + const TypeMsgDestroyPool + const TypeMsgHarvest + const TypeMsgStake + const TypeMsgUnstake + var ActiveFarmPoolKey = []byte + var DefaultMaxRewardCategories = uint32(2) + var DefaultPoolCreationFee = sdk.NewCoin(sdk.DefaultBondDenom, sdk.NewInt(5000)) + var DefaulttTaxRate = sdk.NewDecWithPrec(4, 1) + var Delimiter = []byte + var ErrAllEmpty = sdkerrors.Register(ModuleName, 15, "shouldn't all be empty") + var ErrBadDistribution = sdkerrors.Register(ModuleName, 16, "community pool does not have sufficient coins to distribute") + var ErrExpiredHeight = sdkerrors.Register(ModuleName, 2, "expired block height") + var ErrFarmerNotFound = sdkerrors.Register(ModuleName, 10, "the farmer does not exist") + var ErrIntOverflowFarm = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") + var ErrInvalidAppend = sdkerrors.Register(ModuleName, 13, "cannot add new token as a reward") + var ErrInvalidDescription = sdkerrors.Register(ModuleName, 12, ...) + var ErrInvalidLPToken = sdkerrors.Register(ModuleName, 3, "invalid lp token denom") + var ErrInvalidLengthFarm = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidOperate = sdkerrors.Register(ModuleName, 9, "invalid operate") + var ErrInvalidPoolId = sdkerrors.Register(ModuleName, 11, "invalid pool id") + var ErrInvalidProposal = sdkerrors.Register(ModuleName, 18, "invalid proposal") + var ErrInvalidRefund = sdkerrors.Register(ModuleName, 17, "invalid refund amount") + var ErrInvalidRewardRule = sdkerrors.Register(ModuleName, 14, "invalid reward rule") + var ErrNotMatch = sdkerrors.Register(ModuleName, 4, "the data does not match") + var ErrPoolExist = sdkerrors.Register(ModuleName, 7, "the farm pool already exist") + var ErrPoolExpired = sdkerrors.Register(ModuleName, 5, "the farm pool has expired") + var ErrPoolNotFound = sdkerrors.Register(ModuleName, 8, "the farm pool does not exist") + var ErrPoolNotStart = sdkerrors.Register(ModuleName, 6, "the farm pool don't start") + var ErrUnexpectedEndOfGroupFarm = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") + var EscrowInfoKey = []byte + var FarmPoolKey = []byte + var FarmPoolRuleKey = []byte + var FarmPoolSeq = []byte + var FarmerKey = []byte + var KeyMaxRewardCategories = []byte("MaxRewardCategories") + var KeyPoolCreationFee = []byte("CreatePoolFee") + var KeyTaxRate = []byte("TaxRate") + var ModuleCdc = codec.NewAminoCodec(amino) + func KeyActiveFarmPool(height int64, poolId string) []byte + func KeyEscrowInfo(proposalId uint64) []byte + func KeyFarmInfo(address, poolId string) []byte + func KeyFarmPool(poolId string) []byte + func KeyFarmPoolSeq() []byte + func KeyRewardRule(poolId, reward string) []byte + func MustMarshalPoolId(cdc codec.Codec, poolId string) []byte + func MustUnMarshalPoolId(cdc codec.Codec, poolId []byte) string + func PrefixActiveFarmPool(height int64) []byte + func PrefixFarmInfo(address string) []byte + func PrefixRewardRule(poolId string) []byte + func RegisterInterfaces(registry types.InterfaceRegistry) + func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) + func RegisterMsgServer(s grpc1.Server, srv MsgServer) + func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error + func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error + func RegisterQueryServer(s grpc1.Server, srv QueryServer) + func SetDefaultGenesisState(state GenesisState) + func ValidateAddress(sender string) error + func ValidateCoins(field string, coins ...sdk.Coin) error + func ValidateDescription(description string) error + func ValidateFund(rewardPerBlock, fundApplied, fundSelfBond []sdk.Coin) error + func ValidateGenesis(data GenesisState) error + func ValidateLpTokenDenom(denom string) error + func ValidateReward(rewardPerBlock, totalReward sdk.Coins) error + func ValidatepPoolId(poolId string) (uint64, error) + type AccountKeeper interface + GetAccount func(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI + GetModuleAccount func(ctx sdk.Context, moduleName string) authtypes.ModuleAccountI + GetModuleAddress func(name string) sdk.AccAddress + SetModuleAccount func(ctx sdk.Context, macc authtypes.ModuleAccountI) + type BankKeeper interface + BurnCoins func(ctx sdk.Context, name string, amt sdk.Coins) error + GetAllBalances func(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins + SendCoinsFromAccountToModule func(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, ...) error + SendCoinsFromModuleToAccount func(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, ...) error + SendCoinsFromModuleToModule func(ctx sdk.Context, senderModule string, recipientModule string, amt sdk.Coins) error + SpendableCoins func(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins + type CommunityPoolCreateFarmProposal struct + Description string + FundApplied []types.Coin + FundSelfBond []types.Coin + LptDenom string + PoolDescription string + RewardPerBlock []types.Coin + Title string + func (*CommunityPoolCreateFarmProposal) Descriptor() ([]byte, []int) + func (*CommunityPoolCreateFarmProposal) ProtoMessage() + func (cfp *CommunityPoolCreateFarmProposal) GetDescription() string + func (cfp *CommunityPoolCreateFarmProposal) GetTitle() string + func (cfp *CommunityPoolCreateFarmProposal) ProposalRoute() string + func (cfp *CommunityPoolCreateFarmProposal) ProposalType() string + func (cfp *CommunityPoolCreateFarmProposal) ValidateBasic() error + func (cfp CommunityPoolCreateFarmProposal) String() string + func (m *CommunityPoolCreateFarmProposal) Marshal() (dAtA []byte, err error) + func (m *CommunityPoolCreateFarmProposal) MarshalTo(dAtA []byte) (int, error) + func (m *CommunityPoolCreateFarmProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *CommunityPoolCreateFarmProposal) Reset() + func (m *CommunityPoolCreateFarmProposal) Size() (n int) + func (m *CommunityPoolCreateFarmProposal) Unmarshal(dAtA []byte) error + func (m *CommunityPoolCreateFarmProposal) XXX_DiscardUnknown() + func (m *CommunityPoolCreateFarmProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CommunityPoolCreateFarmProposal) XXX_Merge(src proto.Message) + func (m *CommunityPoolCreateFarmProposal) XXX_Size() int + func (m *CommunityPoolCreateFarmProposal) XXX_Unmarshal(b []byte) error + func (this *CommunityPoolCreateFarmProposal) Equal(that interface{}) bool + type DistrKeeper interface + GetFeePool func(ctx sdk.Context) (feePool distrtypes.FeePool) + SetFeePool func(ctx sdk.Context, feePool distrtypes.FeePool) + type EscrowInfo struct + FundApplied []types.Coin + FundSelfBond []types.Coin + ProposalId uint64 + Proposer string + func (*EscrowInfo) Descriptor() ([]byte, []int) + func (*EscrowInfo) ProtoMessage() + func (m *EscrowInfo) Marshal() (dAtA []byte, err error) + func (m *EscrowInfo) MarshalTo(dAtA []byte) (int, error) + func (m *EscrowInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *EscrowInfo) Reset() + func (m *EscrowInfo) Size() (n int) + func (m *EscrowInfo) String() string + func (m *EscrowInfo) Unmarshal(dAtA []byte) error + func (m *EscrowInfo) XXX_DiscardUnknown() + func (m *EscrowInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *EscrowInfo) XXX_Merge(src proto.Message) + func (m *EscrowInfo) XXX_Size() int + func (m *EscrowInfo) XXX_Unmarshal(b []byte) error + func (this *EscrowInfo) Equal(that interface{}) bool + type FarmInfo struct + Address string + Locked github_com_cosmos_cosmos_sdk_types.Int + PoolId string + RewardDebt github_com_cosmos_cosmos_sdk_types.Coins + func (*FarmInfo) Descriptor() ([]byte, []int) + func (*FarmInfo) ProtoMessage() + func (m *FarmInfo) Marshal() (dAtA []byte, err error) + func (m *FarmInfo) MarshalTo(dAtA []byte) (int, error) + func (m *FarmInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *FarmInfo) Reset() + func (m *FarmInfo) Size() (n int) + func (m *FarmInfo) String() string + func (m *FarmInfo) Unmarshal(dAtA []byte) error + func (m *FarmInfo) XXX_DiscardUnknown() + func (m *FarmInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *FarmInfo) XXX_Merge(src proto.Message) + func (m *FarmInfo) XXX_Size() int + func (m *FarmInfo) XXX_Unmarshal(b []byte) error + func (this *FarmInfo) Equal(that interface{}) bool + type FarmPool struct + Creator string + Description string + Editable bool + EndHeight int64 + Id string + LastHeightDistrRewards int64 + Rules []RewardRule + StartHeight int64 + TotalLptLocked github_com_cosmos_cosmos_sdk_types.Coin + func (*FarmPool) Descriptor() ([]byte, []int) + func (*FarmPool) ProtoMessage() + func (m *FarmPool) Marshal() (dAtA []byte, err error) + func (m *FarmPool) MarshalTo(dAtA []byte) (int, error) + func (m *FarmPool) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *FarmPool) Reset() + func (m *FarmPool) Size() (n int) + func (m *FarmPool) String() string + func (m *FarmPool) Unmarshal(dAtA []byte) error + func (m *FarmPool) XXX_DiscardUnknown() + func (m *FarmPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *FarmPool) XXX_Merge(src proto.Message) + func (m *FarmPool) XXX_Size() int + func (m *FarmPool) XXX_Unmarshal(b []byte) error + func (pool FarmPool) CaclRewards(farmInfo FarmInfo, deltaAmt sdk.Int) (rewards, rewardDebt sdk.Coins) + func (pool FarmPool) ExpiredHeight() (int64, error) + func (pool FarmPool) Started(ctx sdk.Context) bool + func (this *FarmPool) Equal(that interface{}) bool + type FarmPoolEntry struct + Creator string + Description string + Editable bool + EndHeight int64 + Expired bool + Id string + RemainingReward github_com_cosmos_cosmos_sdk_types.Coins + RewardPerBlock github_com_cosmos_cosmos_sdk_types.Coins + StartHeight int64 + TotalLptLocked github_com_cosmos_cosmos_sdk_types.Coin + TotalReward github_com_cosmos_cosmos_sdk_types.Coins + func (*FarmPoolEntry) Descriptor() ([]byte, []int) + func (*FarmPoolEntry) ProtoMessage() + func (m *FarmPoolEntry) GetCreator() string + func (m *FarmPoolEntry) GetDescription() string + func (m *FarmPoolEntry) GetEditable() bool + func (m *FarmPoolEntry) GetEndHeight() int64 + func (m *FarmPoolEntry) GetExpired() bool + func (m *FarmPoolEntry) GetId() string + func (m *FarmPoolEntry) GetRemainingReward() github_com_cosmos_cosmos_sdk_types.Coins + func (m *FarmPoolEntry) GetRewardPerBlock() github_com_cosmos_cosmos_sdk_types.Coins + func (m *FarmPoolEntry) GetStartHeight() int64 + func (m *FarmPoolEntry) GetTotalReward() github_com_cosmos_cosmos_sdk_types.Coins + func (m *FarmPoolEntry) Marshal() (dAtA []byte, err error) + func (m *FarmPoolEntry) MarshalTo(dAtA []byte) (int, error) + func (m *FarmPoolEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *FarmPoolEntry) Reset() + func (m *FarmPoolEntry) Size() (n int) + func (m *FarmPoolEntry) String() string + func (m *FarmPoolEntry) Unmarshal(dAtA []byte) error + func (m *FarmPoolEntry) XXX_DiscardUnknown() + func (m *FarmPoolEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *FarmPoolEntry) XXX_Merge(src proto.Message) + func (m *FarmPoolEntry) XXX_Size() int + func (m *FarmPoolEntry) XXX_Unmarshal(b []byte) error + type GenesisState struct + Escrow []EscrowInfo + FarmInfos []FarmInfo + Params Params + Pools []FarmPool + Sequence uint64 + func DefaultGenesisState() *GenesisState + func NewGenesisState(params Params, pools []FarmPool, farmInfos []FarmInfo, sequence uint64, ...) *GenesisState + func (*GenesisState) Descriptor() ([]byte, []int) + func (*GenesisState) ProtoMessage() + func (m *GenesisState) GetEscrow() []EscrowInfo + func (m *GenesisState) GetFarmInfos() []FarmInfo + func (m *GenesisState) GetParams() Params + func (m *GenesisState) GetPools() []FarmPool + func (m *GenesisState) GetSequence() uint64 + 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 (m *GenesisState) Reset() + func (m *GenesisState) Size() (n int) + func (m *GenesisState) String() string + func (m *GenesisState) Unmarshal(dAtA []byte) 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 GovKeeper interface + AddDeposit func(ctx sdk.Context, proposalID uint64, depositorAddr sdk.AccAddress, ...) (bool, error) + GetGovernanceAccount func(ctx sdk.Context) authtypes.ModuleAccountI + GetProposal func(ctx sdk.Context, proposalID uint64) (v1.Proposal, bool) + SubmitProposal func(ctx sdk.Context, messages []sdk.Msg, metadata string) (v1.Proposal, error) + type LockedInfo struct + Locked github_com_cosmos_cosmos_sdk_types.Coin + PendingReward github_com_cosmos_cosmos_sdk_types.Coins + PoolId string + func (*LockedInfo) Descriptor() ([]byte, []int) + func (*LockedInfo) ProtoMessage() + func (m *LockedInfo) GetPendingReward() github_com_cosmos_cosmos_sdk_types.Coins + func (m *LockedInfo) GetPoolId() string + func (m *LockedInfo) Marshal() (dAtA []byte, err error) + func (m *LockedInfo) MarshalTo(dAtA []byte) (int, error) + func (m *LockedInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *LockedInfo) Reset() + func (m *LockedInfo) Size() (n int) + func (m *LockedInfo) String() string + func (m *LockedInfo) Unmarshal(dAtA []byte) error + func (m *LockedInfo) XXX_DiscardUnknown() + func (m *LockedInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *LockedInfo) XXX_Merge(src proto.Message) + func (m *LockedInfo) XXX_Size() int + func (m *LockedInfo) XXX_Unmarshal(b []byte) error + type MsgAdjustPool struct + AdditionalReward github_com_cosmos_cosmos_sdk_types.Coins + Creator string + PoolId string + RewardPerBlock github_com_cosmos_cosmos_sdk_types.Coins + func (*MsgAdjustPool) Descriptor() ([]byte, []int) + func (*MsgAdjustPool) ProtoMessage() + func (m *MsgAdjustPool) Marshal() (dAtA []byte, err error) + func (m *MsgAdjustPool) MarshalTo(dAtA []byte) (int, error) + func (m *MsgAdjustPool) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgAdjustPool) Reset() + func (m *MsgAdjustPool) Size() (n int) + func (m *MsgAdjustPool) String() string + func (m *MsgAdjustPool) Unmarshal(dAtA []byte) error + func (m *MsgAdjustPool) XXX_DiscardUnknown() + func (m *MsgAdjustPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgAdjustPool) XXX_Merge(src proto.Message) + func (m *MsgAdjustPool) XXX_Size() int + func (m *MsgAdjustPool) XXX_Unmarshal(b []byte) error + func (msg MsgAdjustPool) GetSignBytes() []byte + func (msg MsgAdjustPool) GetSigners() []sdk.AccAddress + func (msg MsgAdjustPool) Route() string + func (msg MsgAdjustPool) Type() string + func (msg MsgAdjustPool) ValidateBasic() error + func (this *MsgAdjustPool) Equal(that interface{}) bool + type MsgAdjustPoolResponse struct + func (*MsgAdjustPoolResponse) Descriptor() ([]byte, []int) + func (*MsgAdjustPoolResponse) ProtoMessage() + func (m *MsgAdjustPoolResponse) Marshal() (dAtA []byte, err error) + func (m *MsgAdjustPoolResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgAdjustPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgAdjustPoolResponse) Reset() + func (m *MsgAdjustPoolResponse) Size() (n int) + func (m *MsgAdjustPoolResponse) String() string + func (m *MsgAdjustPoolResponse) Unmarshal(dAtA []byte) error + func (m *MsgAdjustPoolResponse) XXX_DiscardUnknown() + func (m *MsgAdjustPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgAdjustPoolResponse) XXX_Merge(src proto.Message) + func (m *MsgAdjustPoolResponse) XXX_Size() int + func (m *MsgAdjustPoolResponse) XXX_Unmarshal(b []byte) error + type MsgClient interface + AdjustPool func(ctx context.Context, in *MsgAdjustPool, opts ...grpc.CallOption) (*MsgAdjustPoolResponse, error) + CreatePool func(ctx context.Context, in *MsgCreatePool, opts ...grpc.CallOption) (*MsgCreatePoolResponse, error) + CreatePoolWithCommunityPool func(ctx context.Context, in *MsgCreatePoolWithCommunityPool, ...) (*MsgCreatePoolWithCommunityPoolResponse, error) + DestroyPool func(ctx context.Context, in *MsgDestroyPool, opts ...grpc.CallOption) (*MsgDestroyPoolResponse, error) + Harvest func(ctx context.Context, in *MsgHarvest, opts ...grpc.CallOption) (*MsgHarvestResponse, error) + Stake func(ctx context.Context, in *MsgStake, opts ...grpc.CallOption) (*MsgStakeResponse, error) + Unstake func(ctx context.Context, in *MsgUnstake, opts ...grpc.CallOption) (*MsgUnstakeResponse, error) + func NewMsgClient(cc grpc1.ClientConn) MsgClient + type MsgCreatePool struct + Creator string + Description string + Editable bool + LptDenom string + RewardPerBlock github_com_cosmos_cosmos_sdk_types.Coins + StartHeight int64 + TotalReward github_com_cosmos_cosmos_sdk_types.Coins + func (*MsgCreatePool) Descriptor() ([]byte, []int) + func (*MsgCreatePool) ProtoMessage() + func (m *MsgCreatePool) Marshal() (dAtA []byte, err error) + func (m *MsgCreatePool) MarshalTo(dAtA []byte) (int, error) + func (m *MsgCreatePool) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgCreatePool) Reset() + func (m *MsgCreatePool) Size() (n int) + func (m *MsgCreatePool) String() string + func (m *MsgCreatePool) Unmarshal(dAtA []byte) error + func (m *MsgCreatePool) XXX_DiscardUnknown() + func (m *MsgCreatePool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgCreatePool) XXX_Merge(src proto.Message) + func (m *MsgCreatePool) XXX_Size() int + func (m *MsgCreatePool) XXX_Unmarshal(b []byte) error + func (msg MsgCreatePool) GetSignBytes() []byte + func (msg MsgCreatePool) GetSigners() []sdk.AccAddress + func (msg MsgCreatePool) Route() string + func (msg MsgCreatePool) Type() string + func (msg MsgCreatePool) ValidateBasic() error + func (this *MsgCreatePool) Equal(that interface{}) bool + type MsgCreatePoolResponse struct + func (*MsgCreatePoolResponse) Descriptor() ([]byte, []int) + func (*MsgCreatePoolResponse) ProtoMessage() + func (m *MsgCreatePoolResponse) Marshal() (dAtA []byte, err error) + func (m *MsgCreatePoolResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgCreatePoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgCreatePoolResponse) Reset() + func (m *MsgCreatePoolResponse) Size() (n int) + func (m *MsgCreatePoolResponse) String() string + func (m *MsgCreatePoolResponse) Unmarshal(dAtA []byte) error + func (m *MsgCreatePoolResponse) XXX_DiscardUnknown() + func (m *MsgCreatePoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgCreatePoolResponse) XXX_Merge(src proto.Message) + func (m *MsgCreatePoolResponse) XXX_Size() int + func (m *MsgCreatePoolResponse) XXX_Unmarshal(b []byte) error + type MsgCreatePoolWithCommunityPool struct + Content CommunityPoolCreateFarmProposal + InitialDeposit github_com_cosmos_cosmos_sdk_types.Coins + Proposer string + func (*MsgCreatePoolWithCommunityPool) Descriptor() ([]byte, []int) + func (*MsgCreatePoolWithCommunityPool) ProtoMessage() + func (m *MsgCreatePoolWithCommunityPool) Marshal() (dAtA []byte, err error) + func (m *MsgCreatePoolWithCommunityPool) MarshalTo(dAtA []byte) (int, error) + func (m *MsgCreatePoolWithCommunityPool) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgCreatePoolWithCommunityPool) Reset() + func (m *MsgCreatePoolWithCommunityPool) Size() (n int) + func (m *MsgCreatePoolWithCommunityPool) String() string + func (m *MsgCreatePoolWithCommunityPool) Unmarshal(dAtA []byte) error + func (m *MsgCreatePoolWithCommunityPool) XXX_DiscardUnknown() + func (m *MsgCreatePoolWithCommunityPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgCreatePoolWithCommunityPool) XXX_Merge(src proto.Message) + func (m *MsgCreatePoolWithCommunityPool) XXX_Size() int + func (m *MsgCreatePoolWithCommunityPool) XXX_Unmarshal(b []byte) error + func (msg MsgCreatePoolWithCommunityPool) GetSignBytes() []byte + func (msg MsgCreatePoolWithCommunityPool) GetSigners() []sdk.AccAddress + func (msg MsgCreatePoolWithCommunityPool) Route() string + func (msg MsgCreatePoolWithCommunityPool) Type() string + func (msg MsgCreatePoolWithCommunityPool) ValidateBasic() error + func (this *MsgCreatePoolWithCommunityPool) Equal(that interface{}) bool + type MsgCreatePoolWithCommunityPoolResponse struct + func (*MsgCreatePoolWithCommunityPoolResponse) Descriptor() ([]byte, []int) + func (*MsgCreatePoolWithCommunityPoolResponse) ProtoMessage() + func (m *MsgCreatePoolWithCommunityPoolResponse) Marshal() (dAtA []byte, err error) + func (m *MsgCreatePoolWithCommunityPoolResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgCreatePoolWithCommunityPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgCreatePoolWithCommunityPoolResponse) Reset() + func (m *MsgCreatePoolWithCommunityPoolResponse) Size() (n int) + func (m *MsgCreatePoolWithCommunityPoolResponse) String() string + func (m *MsgCreatePoolWithCommunityPoolResponse) Unmarshal(dAtA []byte) error + func (m *MsgCreatePoolWithCommunityPoolResponse) XXX_DiscardUnknown() + func (m *MsgCreatePoolWithCommunityPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgCreatePoolWithCommunityPoolResponse) XXX_Merge(src proto.Message) + func (m *MsgCreatePoolWithCommunityPoolResponse) XXX_Size() int + func (m *MsgCreatePoolWithCommunityPoolResponse) XXX_Unmarshal(b []byte) error + type MsgDestroyPool struct + Creator string + PoolId string + func (*MsgDestroyPool) Descriptor() ([]byte, []int) + func (*MsgDestroyPool) ProtoMessage() + func (m *MsgDestroyPool) Marshal() (dAtA []byte, err error) + func (m *MsgDestroyPool) MarshalTo(dAtA []byte) (int, error) + func (m *MsgDestroyPool) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgDestroyPool) Reset() + func (m *MsgDestroyPool) Size() (n int) + func (m *MsgDestroyPool) String() string + func (m *MsgDestroyPool) Unmarshal(dAtA []byte) error + func (m *MsgDestroyPool) XXX_DiscardUnknown() + func (m *MsgDestroyPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgDestroyPool) XXX_Merge(src proto.Message) + func (m *MsgDestroyPool) XXX_Size() int + func (m *MsgDestroyPool) XXX_Unmarshal(b []byte) error + func (msg MsgDestroyPool) GetSignBytes() []byte + func (msg MsgDestroyPool) GetSigners() []sdk.AccAddress + func (msg MsgDestroyPool) Route() string + func (msg MsgDestroyPool) Type() string + func (msg MsgDestroyPool) ValidateBasic() error + func (this *MsgDestroyPool) Equal(that interface{}) bool + type MsgDestroyPoolResponse struct + func (*MsgDestroyPoolResponse) Descriptor() ([]byte, []int) + func (*MsgDestroyPoolResponse) ProtoMessage() + func (m *MsgDestroyPoolResponse) Marshal() (dAtA []byte, err error) + func (m *MsgDestroyPoolResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgDestroyPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgDestroyPoolResponse) Reset() + func (m *MsgDestroyPoolResponse) Size() (n int) + func (m *MsgDestroyPoolResponse) String() string + func (m *MsgDestroyPoolResponse) Unmarshal(dAtA []byte) error + func (m *MsgDestroyPoolResponse) XXX_DiscardUnknown() + func (m *MsgDestroyPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgDestroyPoolResponse) XXX_Merge(src proto.Message) + func (m *MsgDestroyPoolResponse) XXX_Size() int + func (m *MsgDestroyPoolResponse) XXX_Unmarshal(b []byte) error + type MsgHarvest struct + PoolId string + Sender string + func (*MsgHarvest) Descriptor() ([]byte, []int) + func (*MsgHarvest) ProtoMessage() + func (m *MsgHarvest) Marshal() (dAtA []byte, err error) + func (m *MsgHarvest) MarshalTo(dAtA []byte) (int, error) + func (m *MsgHarvest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgHarvest) Reset() + func (m *MsgHarvest) Size() (n int) + func (m *MsgHarvest) String() string + func (m *MsgHarvest) Unmarshal(dAtA []byte) error + func (m *MsgHarvest) XXX_DiscardUnknown() + func (m *MsgHarvest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgHarvest) XXX_Merge(src proto.Message) + func (m *MsgHarvest) XXX_Size() int + func (m *MsgHarvest) XXX_Unmarshal(b []byte) error + func (msg MsgHarvest) GetSignBytes() []byte + func (msg MsgHarvest) GetSigners() []sdk.AccAddress + func (msg MsgHarvest) Route() string + func (msg MsgHarvest) Type() string + func (msg MsgHarvest) ValidateBasic() error + func (this *MsgHarvest) Equal(that interface{}) bool + type MsgHarvestResponse struct + Reward github_com_cosmos_cosmos_sdk_types.Coins + func (*MsgHarvestResponse) Descriptor() ([]byte, []int) + func (*MsgHarvestResponse) ProtoMessage() + func (m *MsgHarvestResponse) Marshal() (dAtA []byte, err error) + func (m *MsgHarvestResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgHarvestResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgHarvestResponse) Reset() + func (m *MsgHarvestResponse) Size() (n int) + func (m *MsgHarvestResponse) String() string + func (m *MsgHarvestResponse) Unmarshal(dAtA []byte) error + func (m *MsgHarvestResponse) XXX_DiscardUnknown() + func (m *MsgHarvestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgHarvestResponse) XXX_Merge(src proto.Message) + func (m *MsgHarvestResponse) XXX_Size() int + func (m *MsgHarvestResponse) XXX_Unmarshal(b []byte) error + type MsgServer interface + AdjustPool func(context.Context, *MsgAdjustPool) (*MsgAdjustPoolResponse, error) + CreatePool func(context.Context, *MsgCreatePool) (*MsgCreatePoolResponse, error) + CreatePoolWithCommunityPool func(context.Context, *MsgCreatePoolWithCommunityPool) (*MsgCreatePoolWithCommunityPoolResponse, error) + DestroyPool func(context.Context, *MsgDestroyPool) (*MsgDestroyPoolResponse, error) + Harvest func(context.Context, *MsgHarvest) (*MsgHarvestResponse, error) + Stake func(context.Context, *MsgStake) (*MsgStakeResponse, error) + Unstake func(context.Context, *MsgUnstake) (*MsgUnstakeResponse, error) + type MsgStake struct + Amount github_com_cosmos_cosmos_sdk_types.Coin + PoolId string + Sender string + func (*MsgStake) Descriptor() ([]byte, []int) + func (*MsgStake) ProtoMessage() + 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 (m *MsgStake) Reset() + func (m *MsgStake) Size() (n int) + func (m *MsgStake) String() string + func (m *MsgStake) Unmarshal(dAtA []byte) 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 + func (msg MsgStake) GetSignBytes() []byte + func (msg MsgStake) GetSigners() []sdk.AccAddress + func (msg MsgStake) Route() string + func (msg MsgStake) Type() string + func (msg MsgStake) ValidateBasic() error + func (this *MsgStake) Equal(that interface{}) bool + type MsgStakeResponse struct + Reward github_com_cosmos_cosmos_sdk_types.Coins + func (*MsgStakeResponse) Descriptor() ([]byte, []int) + func (*MsgStakeResponse) ProtoMessage() + 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 (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 MsgUnstake struct + Amount github_com_cosmos_cosmos_sdk_types.Coin + PoolId string + Sender string + func (*MsgUnstake) Descriptor() ([]byte, []int) + func (*MsgUnstake) ProtoMessage() + func (m *MsgUnstake) Marshal() (dAtA []byte, err error) + func (m *MsgUnstake) MarshalTo(dAtA []byte) (int, error) + func (m *MsgUnstake) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgUnstake) Reset() + func (m *MsgUnstake) Size() (n int) + func (m *MsgUnstake) String() string + func (m *MsgUnstake) Unmarshal(dAtA []byte) error + func (m *MsgUnstake) XXX_DiscardUnknown() + func (m *MsgUnstake) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgUnstake) XXX_Merge(src proto.Message) + func (m *MsgUnstake) XXX_Size() int + func (m *MsgUnstake) XXX_Unmarshal(b []byte) error + func (msg MsgUnstake) GetSignBytes() []byte + func (msg MsgUnstake) GetSigners() []sdk.AccAddress + func (msg MsgUnstake) Route() string + func (msg MsgUnstake) Type() string + func (msg MsgUnstake) ValidateBasic() error + func (this *MsgUnstake) Equal(that interface{}) bool + type MsgUnstakeResponse struct + Reward github_com_cosmos_cosmos_sdk_types.Coins + func (*MsgUnstakeResponse) Descriptor() ([]byte, []int) + func (*MsgUnstakeResponse) ProtoMessage() + func (m *MsgUnstakeResponse) Marshal() (dAtA []byte, err error) + func (m *MsgUnstakeResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgUnstakeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgUnstakeResponse) Reset() + func (m *MsgUnstakeResponse) Size() (n int) + func (m *MsgUnstakeResponse) String() string + func (m *MsgUnstakeResponse) Unmarshal(dAtA []byte) error + func (m *MsgUnstakeResponse) XXX_DiscardUnknown() + func (m *MsgUnstakeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgUnstakeResponse) XXX_Merge(src proto.Message) + func (m *MsgUnstakeResponse) XXX_Size() int + func (m *MsgUnstakeResponse) XXX_Unmarshal(b []byte) error + type Params struct + MaxRewardCategories uint32 + PoolCreationFee github_com_cosmos_cosmos_sdk_types.Coin + TaxRate github_com_cosmos_cosmos_sdk_types.Dec + func DefaultParams() Params + func NewParams(createPoolFee sdk.Coin, maxRewardCategories uint32, taxRate sdk.Dec) Params + func (*Params) Descriptor() ([]byte, []int) + func (*Params) ProtoMessage() + 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 (m *Params) Reset() + func (m *Params) Size() (n int) + func (m *Params) String() string + func (m *Params) Unmarshal(dAtA []byte) 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 + func (p *Params) ParamSetPairs() paramstypes.ParamSetPairs + func (p Params) Validate() error + type QueryClient interface + FarmPool func(ctx context.Context, in *QueryFarmPoolRequest, opts ...grpc.CallOption) (*QueryFarmPoolResponse, error) + FarmPools func(ctx context.Context, in *QueryFarmPoolsRequest, opts ...grpc.CallOption) (*QueryFarmPoolsResponse, error) + Farmer func(ctx context.Context, in *QueryFarmerRequest, opts ...grpc.CallOption) (*QueryFarmerResponse, error) + Params func(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) + func NewQueryClient(cc grpc1.ClientConn) QueryClient + type QueryFarmPoolRequest struct + Id string + func (*QueryFarmPoolRequest) Descriptor() ([]byte, []int) + func (*QueryFarmPoolRequest) ProtoMessage() + func (m *QueryFarmPoolRequest) GetId() string + func (m *QueryFarmPoolRequest) Marshal() (dAtA []byte, err error) + func (m *QueryFarmPoolRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryFarmPoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryFarmPoolRequest) Reset() + func (m *QueryFarmPoolRequest) Size() (n int) + func (m *QueryFarmPoolRequest) String() string + func (m *QueryFarmPoolRequest) Unmarshal(dAtA []byte) error + func (m *QueryFarmPoolRequest) XXX_DiscardUnknown() + func (m *QueryFarmPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryFarmPoolRequest) XXX_Merge(src proto.Message) + func (m *QueryFarmPoolRequest) XXX_Size() int + func (m *QueryFarmPoolRequest) XXX_Unmarshal(b []byte) error + type QueryFarmPoolResponse struct + Pool *FarmPoolEntry + func (*QueryFarmPoolResponse) Descriptor() ([]byte, []int) + func (*QueryFarmPoolResponse) ProtoMessage() + func (m *QueryFarmPoolResponse) GetPool() *FarmPoolEntry + func (m *QueryFarmPoolResponse) Marshal() (dAtA []byte, err error) + func (m *QueryFarmPoolResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryFarmPoolResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryFarmPoolResponse) Reset() + func (m *QueryFarmPoolResponse) Size() (n int) + func (m *QueryFarmPoolResponse) String() string + func (m *QueryFarmPoolResponse) Unmarshal(dAtA []byte) error + func (m *QueryFarmPoolResponse) XXX_DiscardUnknown() + func (m *QueryFarmPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryFarmPoolResponse) XXX_Merge(src proto.Message) + func (m *QueryFarmPoolResponse) XXX_Size() int + func (m *QueryFarmPoolResponse) XXX_Unmarshal(b []byte) error + type QueryFarmPoolsRequest struct + Pagination *query.PageRequest + func (*QueryFarmPoolsRequest) Descriptor() ([]byte, []int) + func (*QueryFarmPoolsRequest) ProtoMessage() + func (m *QueryFarmPoolsRequest) GetPagination() *query.PageRequest + func (m *QueryFarmPoolsRequest) Marshal() (dAtA []byte, err error) + func (m *QueryFarmPoolsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryFarmPoolsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryFarmPoolsRequest) Reset() + func (m *QueryFarmPoolsRequest) Size() (n int) + func (m *QueryFarmPoolsRequest) String() string + func (m *QueryFarmPoolsRequest) Unmarshal(dAtA []byte) error + func (m *QueryFarmPoolsRequest) XXX_DiscardUnknown() + func (m *QueryFarmPoolsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryFarmPoolsRequest) XXX_Merge(src proto.Message) + func (m *QueryFarmPoolsRequest) XXX_Size() int + func (m *QueryFarmPoolsRequest) XXX_Unmarshal(b []byte) error + type QueryFarmPoolsResponse struct + Pagination *query.PageResponse + Pools []*FarmPoolEntry + func (*QueryFarmPoolsResponse) Descriptor() ([]byte, []int) + func (*QueryFarmPoolsResponse) ProtoMessage() + func (m *QueryFarmPoolsResponse) GetPagination() *query.PageResponse + func (m *QueryFarmPoolsResponse) GetPools() []*FarmPoolEntry + func (m *QueryFarmPoolsResponse) Marshal() (dAtA []byte, err error) + func (m *QueryFarmPoolsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryFarmPoolsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryFarmPoolsResponse) Reset() + func (m *QueryFarmPoolsResponse) Size() (n int) + func (m *QueryFarmPoolsResponse) String() string + func (m *QueryFarmPoolsResponse) Unmarshal(dAtA []byte) error + func (m *QueryFarmPoolsResponse) XXX_DiscardUnknown() + func (m *QueryFarmPoolsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryFarmPoolsResponse) XXX_Merge(src proto.Message) + func (m *QueryFarmPoolsResponse) XXX_Size() int + func (m *QueryFarmPoolsResponse) XXX_Unmarshal(b []byte) error + type QueryFarmerRequest struct + Farmer string + PoolId string + func (*QueryFarmerRequest) Descriptor() ([]byte, []int) + func (*QueryFarmerRequest) ProtoMessage() + func (m *QueryFarmerRequest) GetFarmer() string + func (m *QueryFarmerRequest) GetPoolId() string + func (m *QueryFarmerRequest) Marshal() (dAtA []byte, err error) + func (m *QueryFarmerRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryFarmerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryFarmerRequest) Reset() + func (m *QueryFarmerRequest) Size() (n int) + func (m *QueryFarmerRequest) String() string + func (m *QueryFarmerRequest) Unmarshal(dAtA []byte) error + func (m *QueryFarmerRequest) XXX_DiscardUnknown() + func (m *QueryFarmerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryFarmerRequest) XXX_Merge(src proto.Message) + func (m *QueryFarmerRequest) XXX_Size() int + func (m *QueryFarmerRequest) XXX_Unmarshal(b []byte) error + type QueryFarmerResponse struct + Height int64 + List []*LockedInfo + func (*QueryFarmerResponse) Descriptor() ([]byte, []int) + func (*QueryFarmerResponse) ProtoMessage() + func (m *QueryFarmerResponse) GetHeight() int64 + func (m *QueryFarmerResponse) GetList() []*LockedInfo + func (m *QueryFarmerResponse) Marshal() (dAtA []byte, err error) + func (m *QueryFarmerResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryFarmerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryFarmerResponse) Reset() + func (m *QueryFarmerResponse) Size() (n int) + func (m *QueryFarmerResponse) String() string + func (m *QueryFarmerResponse) Unmarshal(dAtA []byte) error + func (m *QueryFarmerResponse) XXX_DiscardUnknown() + func (m *QueryFarmerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryFarmerResponse) XXX_Merge(src proto.Message) + func (m *QueryFarmerResponse) XXX_Size() int + func (m *QueryFarmerResponse) XXX_Unmarshal(b []byte) error + type QueryParamsRequest struct + func (*QueryParamsRequest) Descriptor() ([]byte, []int) + func (*QueryParamsRequest) ProtoMessage() + 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 (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 struct + Params Params + func (*QueryParamsResponse) Descriptor() ([]byte, []int) + func (*QueryParamsResponse) ProtoMessage() + 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 (m *QueryParamsResponse) Reset() + func (m *QueryParamsResponse) Size() (n int) + func (m *QueryParamsResponse) String() string + func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error + func (m *QueryParamsResponse) XXX_DiscardUnknown() + func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryParamsResponse) XXX_Merge(src proto.Message) + func (m *QueryParamsResponse) XXX_Size() int + func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error + type QueryServer interface + FarmPool func(context.Context, *QueryFarmPoolRequest) (*QueryFarmPoolResponse, error) + FarmPools func(context.Context, *QueryFarmPoolsRequest) (*QueryFarmPoolsResponse, error) + Farmer func(context.Context, *QueryFarmerRequest) (*QueryFarmerResponse, error) + Params func(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) + type RewardRule struct + RemainingReward github_com_cosmos_cosmos_sdk_types.Int + Reward string + RewardPerBlock github_com_cosmos_cosmos_sdk_types.Int + RewardPerShare github_com_cosmos_cosmos_sdk_types.Dec + TotalReward github_com_cosmos_cosmos_sdk_types.Int + func (*RewardRule) Descriptor() ([]byte, []int) + func (*RewardRule) ProtoMessage() + func (m *RewardRule) Marshal() (dAtA []byte, err error) + func (m *RewardRule) MarshalTo(dAtA []byte) (int, error) + func (m *RewardRule) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *RewardRule) Reset() + func (m *RewardRule) Size() (n int) + func (m *RewardRule) String() string + func (m *RewardRule) Unmarshal(dAtA []byte) error + func (m *RewardRule) XXX_DiscardUnknown() + func (m *RewardRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RewardRule) XXX_Merge(src proto.Message) + func (m *RewardRule) XXX_Size() int + func (m *RewardRule) XXX_Unmarshal(b []byte) error + func (this *RewardRule) Equal(that interface{}) bool + type RewardRules []RewardRule + func (rs RewardRules) Contains(reward sdk.Coins) bool + func (rs RewardRules) RewardsPerBlock() (coins sdk.Coins) + func (rs RewardRules) TotalReward() (total sdk.Coins) + func (rs RewardRules) UpdateWith(rewardPerBlock sdk.Coins) RewardRules + type UnimplementedMsgServer struct + func (*UnimplementedMsgServer) AdjustPool(ctx context.Context, req *MsgAdjustPool) (*MsgAdjustPoolResponse, error) + func (*UnimplementedMsgServer) CreatePool(ctx context.Context, req *MsgCreatePool) (*MsgCreatePoolResponse, error) + func (*UnimplementedMsgServer) CreatePoolWithCommunityPool(ctx context.Context, req *MsgCreatePoolWithCommunityPool) (*MsgCreatePoolWithCommunityPoolResponse, error) + func (*UnimplementedMsgServer) DestroyPool(ctx context.Context, req *MsgDestroyPool) (*MsgDestroyPoolResponse, error) + func (*UnimplementedMsgServer) Harvest(ctx context.Context, req *MsgHarvest) (*MsgHarvestResponse, error) + func (*UnimplementedMsgServer) Stake(ctx context.Context, req *MsgStake) (*MsgStakeResponse, error) + func (*UnimplementedMsgServer) Unstake(ctx context.Context, req *MsgUnstake) (*MsgUnstakeResponse, error) + type UnimplementedQueryServer struct + func (*UnimplementedQueryServer) FarmPool(ctx context.Context, req *QueryFarmPoolRequest) (*QueryFarmPoolResponse, error) + func (*UnimplementedQueryServer) FarmPools(ctx context.Context, req *QueryFarmPoolsRequest) (*QueryFarmPoolsResponse, error) + func (*UnimplementedQueryServer) Farmer(ctx context.Context, req *QueryFarmerRequest) (*QueryFarmerResponse, error) + func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error) + type ValidateLPToken func(ctx sdk.Context, lpTokenDenom string) error