Documentation ¶
Index ¶
- Variables
- func GetMaccPerms() map[string][]string
- func MakeCodec() *codec.Codec
- func SetConfig()
- type GenesisState
- type NewApp
- func (app *NewApp) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock
- func (app *NewApp) Codec() *codec.Codec
- func (app *NewApp) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock
- func (app *NewApp) ExportAppStateAndValidators(forZeroHeight bool, jailWhiteList []string) (appState json.RawMessage, validators []tmtypes.GenesisValidator, err error)
- func (app *NewApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain
- func (app *NewApp) LoadHeight(height int64) error
- func (app *NewApp) ModuleAccountAddrs() map[string]bool
- func (app *NewApp) SimulationManager() *module.SimulationManager
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultCLIHome = os.ExpandEnv("$HOME/.pscli") DefaultNodeHome = os.ExpandEnv("$HOME/.psd") ModuleBasics = module.NewBasicManager( genutil.AppModuleBasic{}, auth.AppModuleBasic{}, bank.AppModuleBasic{}, staking.AppModuleBasic{}, params.AppModuleBasic{}, supply.AppModuleBasic{}, ps.AppModuleBasic{}, ) )
View Source
var ( AccountAddressPrefix = "cosmos" AccountPubKeyPrefix = "cosmospub" ValidatorAddressPrefix = "cosmosvaloper" ValidatorPubKeyPrefix = "cosmosvaloperpub" ConsNodeAddressPrefix = "cosmosvalcons" ConsNodePubKeyPrefix = "cosmosvalconspub" )
Functions ¶
func GetMaccPerms ¶
Types ¶
type GenesisState ¶
type GenesisState map[string]json.RawMessage
func NewDefaultGenesisState ¶
func NewDefaultGenesisState() GenesisState
type NewApp ¶
func NewInitApp ¶
func (*NewApp) BeginBlocker ¶
func (app *NewApp) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock
func (*NewApp) EndBlocker ¶
func (app *NewApp) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock
func (*NewApp) ExportAppStateAndValidators ¶
func (app *NewApp) ExportAppStateAndValidators( forZeroHeight bool, jailWhiteList []string, ) (appState json.RawMessage, validators []tmtypes.GenesisValidator, err error)
ExportAppStateAndValidators exports the state of the application for a genesis file.
func (*NewApp) InitChainer ¶
func (app *NewApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain
func (*NewApp) LoadHeight ¶
func (*NewApp) ModuleAccountAddrs ¶
func (*NewApp) SimulationManager ¶
func (app *NewApp) SimulationManager() *module.SimulationManager
Click to show internal directories.
Click to hide internal directories.