Documentation ¶
Index ¶
- Variables
- func AppConfig() depinject.Config
- type SonrApp
- func (app *SonrApp) ExportAppStateAndValidators(forZeroHeight bool, jailAllowedAddrs []string, modulesToExport []string) (servertypes.ExportedApp, error)
- func (app *SonrApp) GetKey(storeKey string) *storetypes.KVStoreKey
- func (app *SonrApp) LegacyAmino() *codec.LegacyAmino
- func (app *SonrApp) RegisterAPIRoutes(apiSvr *api.Server, apiConfig config.APIConfig)
- func (app *SonrApp) SimulationManager() *module.SimulationManager
Constants ¶
This section is empty.
Variables ¶
View Source
var AppConfigYAML []byte
View Source
var DefaultNodeHome string
DefaultNodeHome default home directories for the application daemon
Functions ¶
Types ¶
type SonrApp ¶ added in v0.8.6
type SonrApp struct { *runtime.App // keepers AccountKeeper authkeeper.AccountKeeper BankKeeper bankkeeper.Keeper GroupKeeper groupkeeper.Keeper StakingKeeper *stakingkeeper.Keeper DistrKeeper distrkeeper.Keeper ConsensusParamsKeeper consensuskeeper.Keeper IdentityKeeper identitykeeper.Keeper ServiceKeeper servicekeeper.Keeper // contains filtered or unexported fields }
SonrApp 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 NewSonrApp ¶ added in v0.8.6
func NewSonrApp( logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest bool, appOpts servertypes.AppOptions, baseAppOptions ...func(*baseapp.BaseApp), ) (*SonrApp, error)
NewSonrApp returns a reference to an initialized MiniApp.
func (*SonrApp) ExportAppStateAndValidators ¶ added in v0.8.6
func (app *SonrApp) ExportAppStateAndValidators( forZeroHeight bool, jailAllowedAddrs []string, modulesToExport []string, ) (servertypes.ExportedApp, error)
ExportAppStateAndValidators exports the state of the application for a genesis file.
func (*SonrApp) GetKey ¶ added in v0.8.6
func (app *SonrApp) GetKey(storeKey string) *storetypes.KVStoreKey
GetKey returns the KVStoreKey for the provided store key.
func (*SonrApp) LegacyAmino ¶ added in v0.8.6
func (app *SonrApp) LegacyAmino() *codec.LegacyAmino
LegacyAmino returns MiniApp's amino codec.
func (*SonrApp) RegisterAPIRoutes ¶ added in v0.8.6
RegisterAPIRoutes registers all application module routes with the provided API server.
func (*SonrApp) SimulationManager ¶ added in v0.8.6
func (app *SonrApp) SimulationManager() *module.SimulationManager
SimulationManager implements the SimulationApp interface
Click to show internal directories.
Click to hide internal directories.