Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewQuerier ¶
func NewQuerier(k PreStakingKeeper) sdk.Querier
func PreStakingRecord ¶
func PreStakingRecord(ctx sdk.Context, req abci.RequestQuery, k PreStakingKeeper) ([]byte, error)
func StakingRecord ¶
func StakingRecord(ctx sdk.Context, req abci.RequestQuery, k PreStakingKeeper) ([]byte, error)
Types ¶
type PreStakingKeeper ¶
type PreStakingKeeper struct { AccountKeeper account.AccountKeeper SupplyKeeper supply.Keeper StakingKeeper keeper.StakingKeeper // contains filtered or unexported fields }
func NewPreStakingKeeper ¶
func NewPreStakingKeeper(cdc *codec.Codec, key sdk.StoreKey, ak account.AccountKeeper, sk supply.Keeper, stakingKeeper keeper.StakingKeeper, ps params.Subspace, cdb dbm.DB) PreStakingKeeper
func (PreStakingKeeper) GetAccountPreStaking ¶
func (ps PreStakingKeeper) GetAccountPreStaking(ctx sdk.Context, delegator sdk.AccAddress) sdk.Int
func (PreStakingKeeper) SetAccountPreStaking ¶
func (ps PreStakingKeeper) SetAccountPreStaking(ctx sdk.Context, delegator sdk.AccAddress, amount sdk.Int)
Click to show internal directories.
Click to hide internal directories.