testapp

package
v0.0.16-bugfix Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2019 License: BSD-2-Clause Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestApp

type TestApp struct {
	Cdc *codec.Codec
	Cms types.MultiStore

	// Manage getting and setting accounts
	AccountKeeper   auth.AccountKeeper
	AccountXKeeper  authx.AccountXKeeper
	BankKeeper      bank.BaseKeeper
	BankxKeeper     bankx.Keeper // TODO rename to BankxKeeper
	SupplyKeeper    supply.Keeper
	StakingKeeper   staking.Keeper
	StakingXKeeper  stakingx.Keeper
	SlashingKeeper  slashing.Keeper
	DistrKeeper     dist.Keeper
	DistrxKeeper    distributionx.Keeper
	GovKeeper       gov.Keeper
	CrisisKeeper    crisis.Keeper
	IncentiveKeeper incentive.Keeper
	AssetKeeper     asset.Keeper
	TokenKeeper     asset.TokenKeeper
	ParamsKeeper    params.Keeper
	MarketKeeper    market.Keeper
	BancorKeeper    bancorlite.Keeper
	MsgQueProducer  msgqueue.MsgSender
	AliasKeeper     alias.Keeper
	CommentKeeper   comment.Keeper
	// contains filtered or unexported fields
}

Fake App for unit tests

func NewTestApp

func NewTestApp() *TestApp

func (*TestApp) ModuleAccountAddrs

func (app *TestApp) ModuleAccountAddrs() map[string]bool

func (*TestApp) NewCtx

func (app *TestApp) NewCtx() sdk.Context

Jump to

Keyboard shortcuts

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