Documentation

Index

Constants

View Source
const (
	Bech32MainPrefix = "votum"
)

Variables

View Source
var (
	// default home directories for the application CLI
	DefaultCLIHome = os.ExpandEnv("$HOME/.votumcli")

	// default home directories for the application daemon
	DefaultNodeHome = os.ExpandEnv("$HOME/.votumd")

	// The module BasicManager is in charge of setting up basic,
	// non-dependant module elements, such as codec registration
	// and genesis verification.
	ModuleBasics = module.NewBasicManager(
		genaccounts.AppModuleBasic{},
		genutil.AppModuleBasic{},
		auth.AppModuleBasic{},
		bank.AppModuleBasic{},
		staking.AppModuleBasic{},
		mint.AppModuleBasic{},
		distr.AppModuleBasic{},
		gov.NewAppModuleBasic(paramsclient.ProposalHandler, distr.ProposalHandler),
		params.AppModuleBasic{},
		crisis.AppModuleBasic{},
		slashing.AppModuleBasic{},
		supply.AppModuleBasic{},

		votum.NewAppModuleBasic(),
	)
)

Functions

func MakeCodec

func MakeCodec() *codec.Codec

    custom tx codec

    func NewVotumApp

    func NewVotumApp(logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest bool,
    	invCheckPeriod uint, baseAppOptions ...func(*bam.BaseApp)) *votumApp

      NewvotumApp returns a reference to an initialized votumApp.

      func SetBech32AddressPrefixes

      func SetBech32AddressPrefixes(config *sdk.Config)

      Types

      This section is empty.

      Source Files