package
0.28.0
Repository: https://github.com/kava-labs/kava.git
Documentation: pkg.go.dev

# Functions

DefaultGenesisState returns default genesis state.
DefaultParams returns default params.
DefaultStakingRewardsState returns default params.
NewCommunityCDPRepayDebtProposal creates a new community pool cdp debt repay proposal.
NewCommunityCDPWithdrawCollateralProposal creates a new community pool cdp debt repay proposal.
NewCommunityPoolLendDepositProposal creates a new community pool deposit proposal.
NewCommunityPoolLendWithdrawProposal creates a new community pool lend withdraw proposal.
NewGenesisState returns a new genesis state object.
No description provided by the author
NewMsgFundCommunityPool returns a new MsgFundCommunityPool.
NewMsgUpdateParams returns a new MsgUpdateParams.
NewParams returns a new params object.
No description provided by the author
NewStakingRewardsState returns a new staking rewards state object.
RegisterInterfaces registers proto messages under their interfaces for unmarshalling, in addition to registering the msg service for handling tx msgs.
RegisterLegacyAminoCodec registers all the necessary types and interfaces for the module.
No description provided by the author
RegisterQueryHandler registers the http handlers for service Query to "mux".
RegisterQueryHandlerClient registers the http handlers for service Query to "mux".
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterQueryHandlerServer registers the http handlers for service Query to "mux".
No description provided by the author

# Constants

Community module event types.
Community module event types.
Community module event types.
Community module event types.
Community module event types.
Community module event types.
LegacyCommunityPoolModuleName is the module account name used by the legacy community pool It is used to determine the address of the old community pool to be returned with the legacy balance.
ModuleAccountName is the name of the module's account.
module name.
ProposalTypeCommunityCDPRepayDebt defines the type for a CommunityCDPRepayDebtProposal.
ProposalTypeCommunityCDPWithdrawCollateral defines the type for a CommunityCDPWithdrawCollateralProposal.
ProposalTypeCommunityPoolLendDeposit defines the type for a CommunityPoolLendDepositProposal.
ProposalTypeCommunityPoolLendWithdraw defines the type for a CommunityPoolLendDepositProposal.
Query endpoints supported by community.
RouterKey is the top-level router key for the module.
StoreKey Top level store key where all module items will be stored.

# Variables

DefaultLastAccumulationTime is zero.
DefaultLastTruncationError is zero.
DefaultStakingRewardsPerSecond is zero and should be set by genesis or upgrade.
No description provided by the author
DefaultStakingRewardsPerSecond is zero and should be set by genesis or upgrade.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
key prefixes for store.
No description provided by the author
key prefixes for store.

# Structs

CommunityCDPRepayDebtProposal repays a cdp debt position owned by the community module This proposal exists primarily to allow committees to repay community module cdp debts.
CommunityCDPWithdrawCollateralProposal withdraws cdp collateral owned by the community module This proposal exists primarily to allow committees to withdraw community module cdp collateral.
CommunityPoolLendDepositProposal deposits from the community pool into lend.
CommunityPoolLendWithdrawProposal withdraws a lend position back to the community pool.
GenesisState defines the community module's genesis state.
MsgFundCommunityPool allows an account to directly fund the community module account.
MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type.
MsgUpdateParams allows an account to update the community module parameters.
MsgUpdateParamsResponse defines the Msg/UpdateParams response type.
Params defines the parameters of the community module.
QueryAnnualizedRewardsRequest defines the request type for querying the annualized rewards.
QueryAnnualizedRewardsResponse defines the response type for querying the annualized rewards.
QueryBalanceRequest defines the request type for querying x/community balance.
QueryBalanceResponse defines the response type for querying x/community balance.
QueryParams defines the request type for querying x/community params.
QueryParamsResponse defines the response type for querying x/community params.
QueryTotalBalanceRequest defines the request type for querying total community pool balance.
QueryTotalBalanceResponse defines the response type for querying total community pool balance.
StakingRewardsState represents the state of staking reward accumulation between blocks.
UnimplementedMsgServer can be embedded to have forward compatible implementations.
UnimplementedQueryServer can be embedded to have forward compatible implementations.

# Interfaces

AccountKeeper defines the contract required for account APIs.
BankKeeper defines the contract needed to be fulfilled for banking dependencies.
CdpKeeper defines the contract needed to be fulfilled for cdp dependencies.
DistributionKeeper defines the contract needed to be fulfilled for distribution dependencies.
HardKeeper defines the contract needed to be fulfilled for Kava Lend dependencies.
No description provided by the author
No description provided by the author
MsgClient is the client API for Msg service.
MsgServer is the server API for Msg service.
QueryClient is the client API for Query service.
QueryServer is the server API for Query service.
StakingKeeper expected interface for the staking keeper.