Documentation ¶
Index ¶
- func NewMsgServerImpl(m govtypes.MsgServer, k Keeper) govtypes.MsgServer
- type Keeper
- func (keeper Keeper) AddDeposit(ctx sdk.Context, proposalID uint64, depositorAddr sdk.AccAddress, ...) (bool, error)
- func (keeper Keeper) EGFActivateVotingPeriod(ctx sdk.Context, proposal govtypes.Proposal)
- func (keeper Keeper) EndBlocker(ctx sdk.Context)
- func (keeper Keeper) Tally(ctx sdk.Context, proposal types.Proposal) (passes bool, burnDeposits bool, tallyResults types.TallyResult)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Keeper ¶
func NewKeeper ¶
func NewKeeper(bk govtypes.BankKeeper, sk govtypes.StakingKeeper, key sdk.StoreKey, gk govkeeper.Keeper) Keeper
func (Keeper) AddDeposit ¶
func (keeper Keeper) AddDeposit(ctx sdk.Context, proposalID uint64, depositorAddr sdk.AccAddress, depositAmount sdk.Coins) (bool, error)
AddDeposit adds or updates a deposit of a specific depositor on a specific proposal Activates voting period when appropriate
func (Keeper) EGFActivateVotingPeriod ¶
func (Keeper) EndBlocker ¶
EndBlocker called every block, process inflation, update validator set.
Click to show internal directories.
Click to hide internal directories.