Documentation ¶
Index ¶
- Constants
- Variables
- func AppConfig() depinject.Config
- type AxmApp
- func (app *AxmApp) ExportAppStateAndValidators(forZeroHeight bool, jailAllowedAddrs []string, modulesToExport []string) (servertypes.ExportedApp, error)
- func (app *AxmApp) GetKey(storeKey string) *storetypes.KVStoreKey
- func (app *AxmApp) LegacyAmino() *codec.LegacyAmino
- func (app *AxmApp) RegisterAPIRoutes(apiSvr *api.Server, apiConfig config.APIConfig)
- func (app *AxmApp) RegisterUpgradeHandlers()
- func (app *AxmApp) SimulationManager() *module.SimulationManager
Constants ¶
View Source
const UpgradeNameV102 = "v1.0.2"
View Source
const UpgradeNameV103 = "v1.0.3"
Variables ¶
View Source
var AppConfigYAML []byte
View Source
var DefaultNodeHome string
DefaultNodeHome default home directories for the application daemon
Functions ¶
Types ¶
type AxmApp ¶
type AxmApp struct { *runtime.App // keepers AccountKeeper authkeeper.AccountKeeper BankKeeper bankkeeper.Keeper StakingKeeper *stakingkeeper.Keeper SlashingKeeper slashigkeeper.Keeper DistrKeeper distrkeeper.Keeper ConsensusParamsKeeper consensuskeeper.Keeper ReferralKeeper referral.Keeper VoteKeeper vote.Keeper UpgradeKeeper *upgradekeeper.Keeper // contains filtered or unexported fields }
AxmApp extends an ABCI application, but with most of its parameters exported. They are exported for convenience in creating helper functions, as object capabilities aren't needed for testing.
func NewAxmApp ¶
func NewAxmApp( logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest bool, appOpts servertypes.AppOptions, baseAppOptions ...func(*baseapp.BaseApp), ) (*AxmApp, error)
NewAxmApp returns a reference to an initialized AxmApp.
func (*AxmApp) ExportAppStateAndValidators ¶
func (app *AxmApp) ExportAppStateAndValidators( forZeroHeight bool, jailAllowedAddrs []string, modulesToExport []string, ) (servertypes.ExportedApp, error)
ExportAppStateAndValidators exports the state of the application for a genesis file.
func (*AxmApp) GetKey ¶
func (app *AxmApp) GetKey(storeKey string) *storetypes.KVStoreKey
GetKey returns the KVStoreKey for the provided store key.
func (*AxmApp) LegacyAmino ¶
func (app *AxmApp) LegacyAmino() *codec.LegacyAmino
LegacyAmino returns AxmApp's amino codec.
func (*AxmApp) RegisterAPIRoutes ¶
RegisterAPIRoutes registers all application module routes with the provided API server.
func (*AxmApp) RegisterUpgradeHandlers ¶ added in v1.0.2
func (app *AxmApp) RegisterUpgradeHandlers()
func (*AxmApp) SimulationManager ¶
func (app *AxmApp) SimulationManager() *module.SimulationManager
SimulationManager implements the SimulationApp interface
Click to show internal directories.
Click to hide internal directories.