Documentation ¶
Index ¶
- Variables
- func GetMaccPerms() map[string][]string
- func MakeCodec() *codec.Codec
- func NewAnteHandler(ak authkeeper.AccountKeeper, supplyKeeper supplykeeper.Keeper, ...) sdk.AnteHandler
- 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/.poacli") DefaultNodeHome = os.ExpandEnv("$HOME/.poad") ModuleBasics = module.NewBasicManager( genutil.AppModuleBasic{}, auth.AppModuleBasic{}, bank.AppModuleBasic{}, params.AppModuleBasic{}, supply.AppModuleBasic{}, poa.AppModuleBasic{}, issuer.AppModuleBasic{}, did.AppModuleBasic{}, regulator.AppModuleBasic{}, ) )
View Source
var ( AccountAddressPrefix = "cosmos" AccountPubKeyPrefix = "cosmospub" ValidatorAddressPrefix = "cosmosvaloper" ValidatorPubKeyPrefix = "cosmosvaloperpub" ConsNodeAddressPrefix = "cosmosvalcons" ConsNodePubKeyPrefix = "cosmosvalconspub" )
Functions ¶
func GetMaccPerms ¶
func NewAnteHandler ¶
func NewAnteHandler( ak authkeeper.AccountKeeper, supplyKeeper supplykeeper.Keeper, ik issuerkeeper.Keeper, dk didkeeper.Keeper, sigGasConsumer authante.SignatureVerificationGasConsumer, ) sdk.AnteHandler
NewAnteHandler returns an AnteHandler that checks and increments sequence numbers, checks signatures & account numbers, and deducts fees from the first signer.
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.