Documentation

Index

Constants

View Source
const (
	AppName = "dex-demo"
)

Variables

View Source
var (
	// default home directories for gaiacli
	DefaultCLIHome = os.ExpandEnv("$HOME/.dexcli")

	// default home directories for gaiad
	DefaultNodeHome = os.ExpandEnv("$HOME/.dexd")

	ModuleBasics = module.NewBasicManager(
		genaccounts.AppModuleBasic{},
		genutil.AppModuleBasic{},
		auth.AppModuleBasic{},
		bank.AppModuleBasic{},
		staking.AppModuleBasic{},
		mint.AppModuleBasic{},
		distr.AppModuleBasic{},
		params.AppModuleBasic{},
		slashing.AppModuleBasic{},
		supply.AppModuleBasic{},
		asset.AppModuleBasic{},
		market.AppModuleBasic{},
		order.AppModuleBasic{},
	)
)

Functions

func MakeCodec

func MakeCodec() *codec.Codec

func NewDexApp

func NewDexApp(
	lgr log.Logger, appDB dbm.DB, mktDataDB dbm.DB, traceStore io.Writer, baseAppOptions ...func(*bam.BaseApp),
) *dexApp

Types

This section is empty.

Source Files