Documentation ¶
Index ¶
- Variables
- func MakeCodec() *codec.Codec
- type KuchainApp
- func (app *KuchainApp) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock
- func (app *KuchainApp) Codec() *codec.Codec
- func (app *KuchainApp) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock
- func (app *KuchainApp) ExportAppStateAndValidators(forZeroHeight bool, jailWhiteList []string) (appState json.RawMessage, validators []tmtypes.GenesisValidator, err error)
- func (app *KuchainApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain
- func (app *KuchainApp) LoadHeight(height int64) error
- func (app *KuchainApp) ModuleAccountAddrs() map[string]bool
- func (app *KuchainApp) Name() string
- func (app *KuchainApp) SimulationManager() *module.SimulationManager
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultCLIHome default home directories for ktscli DefaultCLIHome = os.ExpandEnv("$HOME/.ktscli") // DefaultNodeHome default home directories for ktsd DefaultNodeHome = os.ExpandEnv("$HOME/.ktsd") )
View Source
var ( // ModuleBasics The module BasicManager is in charge of setting up basic, // non-dependant module elements, such as codec registration // and genesis verification. ModuleBasics = module.NewBasicManager( genutil.AppModuleBasic{}, account.AppModuleBasic{}, asset.AppModuleBasic{}, params.AppModuleBasic{}, distr.AppModuleBasic{}, supply.AppModuleBasic{}, kustaking.AppModuleBasic{}, kustaking.AppModuleBasic{}, slashing.AppModuleBasic{}, evidence.AppModuleBasic{}, gov.NewAppModuleBasic(kuparamsclient.ProposalHandler, distr.ProposalHandler), mint.AppModuleBasic{}, kuparams.AppModuleBasic{}, ) )
Functions ¶
Types ¶
type KuchainApp ¶
KuchainApp extended ABCI application
func NewKuchainApp ¶
func NewKuchainApp( logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest bool, invCheckPeriod uint, baseAppOptions ...func(*bam.BaseApp), ) *KuchainApp
NewKuchainApp returns a reference to an initialized KuchainApp.
func (*KuchainApp) BeginBlocker ¶
func (app *KuchainApp) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock
BeginBlocker application updates every begin block
func (*KuchainApp) Codec ¶
func (app *KuchainApp) Codec() *codec.Codec
Codec returns the application's sealed codec.
func (*KuchainApp) EndBlocker ¶
func (app *KuchainApp) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock
EndBlocker application updates every end block
func (*KuchainApp) ExportAppStateAndValidators ¶
func (app *KuchainApp) ExportAppStateAndValidators(forZeroHeight bool, jailWhiteList []string, ) (appState json.RawMessage, validators []tmtypes.GenesisValidator, err error)
ExportAppStateAndValidators export the state of Kuchain for a genesis file
func (*KuchainApp) InitChainer ¶
func (app *KuchainApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain
InitChainer application update at chain initialization
func (*KuchainApp) LoadHeight ¶
func (app *KuchainApp) LoadHeight(height int64) error
LoadHeight loads a particular height
func (*KuchainApp) ModuleAccountAddrs ¶
func (app *KuchainApp) ModuleAccountAddrs() map[string]bool
ModuleAccountAddrs returns all the app's module account addresses.
func (*KuchainApp) SimulationManager ¶
func (app *KuchainApp) SimulationManager() *module.SimulationManager
SimulationManager implements the SimulationApp interface
Click to show internal directories.
Click to hide internal directories.