Documentation ¶
Index ¶
- Constants
- 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 ¶
View Source
const (
AccountAddressPrefix = "cosmos"
)
Variables ¶
View Source
var ( DefaultCLIHome = os.ExpandEnv("$HOME/.bauthcli") DefaultNodeHome = os.ExpandEnv("$HOME/.bauthd") ModuleBasics = module.NewBasicManager( genutil.AppModuleBasic{}, auth.AppModuleBasic{}, bank.AppModuleBasic{}, staking.AppModuleBasic{}, params.AppModuleBasic{}, supply.AppModuleBasic{}, bauth.AppModuleBasic{}, ) )
View Source
var ( AccountPubKeyPrefix = AccountAddressPrefix + "pub" ValidatorAddressPrefix = AccountAddressPrefix + "valoper" ValidatorPubKeyPrefix = AccountAddressPrefix + "valoperpub" ConsNodeAddressPrefix = AccountAddressPrefix + "valcons" ConsNodePubKeyPrefix = AccountAddressPrefix + "valconspub" )
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.