keeper

package
v1.5.33 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

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) Logger

func (ps PreStakingKeeper) Logger(ctx sdk.Context) log.Logger

func (PreStakingKeeper) SetAccountPreStaking

func (ps PreStakingKeeper) SetAccountPreStaking(ctx sdk.Context, delegator sdk.AccAddress, amount sdk.Int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL