Documentation ¶
Index ¶
Constants ¶
View Source
const ( Bech32MainPrefix = "ixo" Bech32PrefixAccAddr = Bech32MainPrefix Bech32PrefixAccPub = Bech32MainPrefix + sdk.PrefixPublic Bech32PrefixValAddr = Bech32MainPrefix + sdk.PrefixValidator + sdk.PrefixOperator Bech32PrefixValPub = Bech32MainPrefix + sdk.PrefixValidator + sdk.PrefixOperator + sdk.PrefixPublic Bech32PrefixConsAddr = Bech32MainPrefix + sdk.PrefixValidator + sdk.PrefixConsensus Bech32PrefixConsPub = Bech32MainPrefix + sdk.PrefixValidator + sdk.PrefixConsensus + sdk.PrefixPublic )
Variables ¶
View Source
var ( // default home directories for ixocli DefaultCLIHome = os.ExpandEnv("$HOME/.ixocli") // default home directories for ixod DefaultNodeHome = os.ExpandEnv("$HOME/.ixod") // The module BasicManager is in charge of setting up basic, // non-dependant module elements, such as codec registration // and genesis verification. ModuleBasics = module.NewBasicManager( auth.AppModuleBasic{}, supply.AppModuleBasic{}, genutil.AppModuleBasic{}, bank.AppModuleBasic{}, staking.AppModuleBasic{}, mint.AppModuleBasic{}, distr.AppModuleBasic{}, gov.NewAppModuleBasic( paramsclient.ProposalHandler, distr.ProposalHandler, upgradeclient.ProposalHandler, ), params.AppModuleBasic{}, crisis.AppModuleBasic{}, slashing.AppModuleBasic{}, upgrade.AppModuleBasic{}, evidence.AppModuleBasic{}, did.AppModuleBasic{}, payments.AppModuleBasic{}, project.AppModuleBasic{}, bonds.AppModuleBasic{}, treasury.AppModuleBasic{}, oracles.AppModuleBasic{}, ) )
Functions ¶
func GetMaccPerms ¶ added in v0.14.0
GetMaccPerms returns a copy of the module account permissions
func NewIxoAnteHandler ¶
func NewIxoAnteHandler(app *ixoApp) sdk.AnteHandler
Types ¶
type GenesisState ¶ added in v0.14.0
type GenesisState map[string]json.RawMessage
The genesis state of the blockchain is represented here as a map of raw json messages key'd by a identifier string. The identifier is used to determine which module genesis information belongs to so it may be appropriately routed during init chain. Within this application default genesis information is retrieved from the ModuleBasicManager which populates json from each BasicModule object provided to it during init.
func NewDefaultGenesisState ¶ added in v0.14.0
func NewDefaultGenesisState() GenesisState
NewDefaultGenesisState generates the default state for the application.
Click to show internal directories.
Click to hide internal directories.