Documentation ¶
Index ¶
- Variables
- func MakeCodec() *codec.Codec
- type OinApp
- func (app *OinApp) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock
- func (app *OinApp) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock
- func (app *OinApp) ExportAppStateAndValidators(forZeroHeight bool, jailWhiteList []string) (appState json.RawMessage, validators []tmtypes.GenesisValidator, err error)
- func (app *OinApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain
- func (app *OinApp) LoadHeight(height int64) error
- func (app *OinApp) ModuleAccountAddrs() map[string]bool
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // default home directories for the application CLI DefaultCLIHome = os.ExpandEnv("$HOME/.oincli") // DefaultNodeHome sets the folder where the applcation data and configuration will be stored DefaultNodeHome = os.ExpandEnv("$HOME/.oind") // NewBasicManager is in charge of setting up basic module elemnets ModuleBasics = module.NewBasicManager( genaccounts.AppModuleBasic{}, genutil.AppModuleBasic{}, auth.AppModuleBasic{}, bank.AppModuleBasic{}, staking.AppModuleBasic{}, mint.AppModuleBasic{}, distr.AppModuleBasic{}, params.AppModuleBasic{}, crisis.AppModuleBasic{}, slashing.AppModuleBasic{}, supply.AppModuleBasic{}, mapping.AppModuleBasic{}, coinswap.AppModuleBasic{}, ) )
Functions ¶
Types ¶
type OinApp ¶
func (*OinApp) BeginBlocker ¶
func (app *OinApp) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock
application updates every begin block
func (*OinApp) EndBlocker ¶
func (app *OinApp) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock
application updates every end block
func (*OinApp) ExportAppStateAndValidators ¶
func (app *OinApp) ExportAppStateAndValidators(forZeroHeight bool, jailWhiteList []string, ) (appState json.RawMessage, validators []tmtypes.GenesisValidator, err error)
export the state of oin for a genesis file
func (*OinApp) InitChainer ¶
func (app *OinApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain
application update at chain initialization
func (*OinApp) LoadHeight ¶
load a particular height
func (*OinApp) ModuleAccountAddrs ¶
ModuleAccountAddrs returns all the app's module account addresses.
Click to show internal directories.
Click to hide internal directories.