Documentation
¶
Index ¶
- Constants
- Variables
- func DepConfig() depinject.Config
- func RollbackCometAndAppState(a *App, cometCfg cmtcfg.Config, rollbackCfg config.RollbackConfig) (lastHeight int64, lastHash []byte, err error)
- func Run(ctx context.Context, cfg Config) error
- func Start(ctx context.Context, cfg Config) (func(context.Context) error, error)
- type App
- func (App) ExportAppStateAndValidators(_ bool, _, _ []string) (servertypes.ExportedApp, error)
- func (a App) GetAccountKeeper() authkeeper.AccountKeeper
- func (a App) GetBankKeeper() bankkeeper.Keeper
- func (a App) GetDistrKeeper() distrkeeper.Keeper
- func (a App) GetEvmStakingKeeper() *evmstakingkeeper.Keeper
- func (a App) GetMintKeeper() mintkeeper.Keeper
- func (a App) GetSlashingKeeper() slashingkeeper.Keeper
- func (a App) GetStakingKeeper() *stakingkeeper.Keeper
- func (a App) GetUpgradeKeeper() *upgradekeeper.Keeper
- func (App) LegacyAmino() *codec.LegacyAmino
- func (a *App) PreBlocker(ctx sdk.Context, _ *abci.RequestFinalizeBlock) (*sdk.ResponsePreBlock, error)
- func (a App) SetCometAPI(api comet.API)
- func (App) SimulationManager() *module.SimulationManager
- type Config
Constants ¶
View Source
const (
Bech32HRP = "story"
)
Bech32HRP is the human-readable-part of the Bech32 address format.
View Source
const Name = "story"
Variables ¶
View Source
var ( // `Upgrades` defines the upgrade handlers and store loaders for the application. // New upgrades should be added to this slice after they are implemented. Upgrades = []upgrades.Upgrade{ virgil.Upgrade, } // Forks are for hard forks that breaks backward compatibility. Forks = []upgrades.Fork{ virgil.Fork, } )
Functions ¶
func RollbackCometAndAppState ¶ added in v0.14.0
Types ¶
type App ¶
App 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 (App) ExportAppStateAndValidators ¶
func (App) ExportAppStateAndValidators(_ bool, _, _ []string) (servertypes.ExportedApp, error)
func (App) GetAccountKeeper ¶
func (a App) GetAccountKeeper() authkeeper.AccountKeeper
func (App) GetBankKeeper ¶
func (a App) GetBankKeeper() bankkeeper.Keeper
func (App) GetDistrKeeper ¶
func (a App) GetDistrKeeper() distrkeeper.Keeper
func (App) GetEvmStakingKeeper ¶ added in v0.10.0
func (a App) GetEvmStakingKeeper() *evmstakingkeeper.Keeper
func (App) GetMintKeeper ¶ added in v0.12.0
func (a App) GetMintKeeper() mintkeeper.Keeper
func (App) GetSlashingKeeper ¶ added in v0.10.0
func (a App) GetSlashingKeeper() slashingkeeper.Keeper
func (App) GetStakingKeeper ¶
func (a App) GetStakingKeeper() *stakingkeeper.Keeper
func (App) GetUpgradeKeeper ¶
func (a App) GetUpgradeKeeper() *upgradekeeper.Keeper
func (App) LegacyAmino ¶
func (App) LegacyAmino() *codec.LegacyAmino
func (*App) PreBlocker ¶
func (a *App) PreBlocker(ctx sdk.Context, _ *abci.RequestFinalizeBlock) (*sdk.ResponsePreBlock, error)
PreBlocker application updates every pre block.
func (App) SetCometAPI ¶
SetCometAPI sets the comet API client.
func (App) SimulationManager ¶
func (App) SimulationManager() *module.SimulationManager
Source Files
¶
Click to show internal directories.
Click to hide internal directories.