testapp

package
v0.0.0-...-b1b35ba Latest Latest
Warning

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

Go to latest
Published: May 6, 2020 License: Apache-2.0 Imports: 35 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 store.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