Documentation ¶
Index ¶
- Constants
- Variables
- func DepConfig() depinject.Config
- func Rollback(ctx context.Context, cfg Config, removeBlock bool) 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{} // Forks are for hard forks that breaks backward compatibility. Forks = []upgrades.Fork{} )
Functions ¶
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 CreateApp ¶ added in v0.10.2
TODO: Refactor CreateApp() to be used within the Start function, as most of the code originates from there.
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. TODO: Figure out how to use depinject to set this.
func (App) SimulationManager ¶
func (App) SimulationManager() *module.SimulationManager
Source Files ¶
Click to show internal directories.
Click to hide internal directories.