Documentation ¶
Index ¶
- Variables
- func GetMaccPerms() map[string][]string
- func MakeCodec() *codec.Codec
- func RegisterCoinDenoms()
- func SetBech32AddressPrefixes(config *sdk.Config)
- type AnathaApp
- func (app *AnathaApp) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock
- func (app *AnathaApp) Codec() *codec.Codec
- func (app *AnathaApp) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock
- func (app *AnathaApp) ExportAppStateAndValidators(forZeroHeight bool, jailWhiteList []string) (appState json.RawMessage, validators []tmtypes.GenesisValidator, err error)
- func (app *AnathaApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain
- func (app *AnathaApp) LoadHeight(height int64) error
- func (app *AnathaApp) ModuleAccountAddrs() map[string]bool
- func (app *AnathaApp) NewAnteHandler() sdk.AnteHandler
- type GenesisState
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // default home directories for the application CLI DefaultCLIHome = os.ExpandEnv("$HOME/.anathacli") // DefaultNodeHome sets the folder where the applcation data and configuration will be stored DefaultNodeHome = os.ExpandEnv("$HOME/.anathad") // NewBasicManager is in charge of setting up basic module elemnets ModuleBasics = module.NewBasicManager( genutil.AppModuleBasic{}, auth.AppModuleBasic{}, bank.AppModuleBasic{}, supply.AppModuleBasic{}, staking.AppModuleBasic{}, mint.AppModuleBasic{}, gov.NewAppModuleBasic( upgradeclient.ProposalHandler, hraclient.RegisterBlockchainIdProposalHandler, hraclient.RemoveBlockchainIdProposalHandler, distributionclient.DevelopmentFundDistributionProposalHandler, distributionclient.SecurityTokenFundDistributionProposalHandler, feeclient.AddFeeExcludedMessageProposalHandler, feeclient.RemoveFeeExcludedMessageProposalHandler, treasuryclient.AddBuyBackLiquidityProposalHandler, treasuryclient.RemoveBuyBackLiquidityProposalHandler, treasuryclient.BurnDistributionProfitsProposalHandler, treasuryclient.TransferFromDistributionProfitsToBuyBackLiquidityProposalHandler, treasuryclient.TransferFromTreasuryToSwapEscrowProposalHandler, treasuryclient.TransferFromSwapEscrowToBuyBackProposalHandler, ), params.AppModuleBasic{}, crisis.AppModuleBasic{}, slashing.AppModuleBasic{}, upgrade.AppModuleBasic{}, evidence.AppModuleBasic{}, hra.AppModuleBasic{}, treasury.AppModuleBasic{}, distribution.AppModuleBasic{}, fee.AppModuleBasic{}, ) )
Functions ¶
func GetMaccPerms ¶
func RegisterCoinDenoms ¶
func RegisterCoinDenoms()
Types ¶
type AnathaApp ¶
func NewAnathaApp ¶
func NewAnathaApp(logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest bool, invCheckPeriod uint, skipUpgradeHeights map[int64]bool, baseAppOptions ...func(*bam.BaseApp)) *AnathaApp
NewAnathaApp is a constructor function for AnathaApp
func (*AnathaApp) BeginBlocker ¶
func (app *AnathaApp) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock
func (*AnathaApp) EndBlocker ¶
func (app *AnathaApp) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock
func (*AnathaApp) ExportAppStateAndValidators ¶
func (app *AnathaApp) 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 (*AnathaApp) InitChainer ¶
func (app *AnathaApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain
func (*AnathaApp) LoadHeight ¶
func (*AnathaApp) ModuleAccountAddrs ¶
ModuleAccountAddrs returns all the app's module account addresses.
func (*AnathaApp) NewAnteHandler ¶
func (app *AnathaApp) NewAnteHandler() sdk.AnteHandler
type GenesisState ¶
type GenesisState map[string]json.RawMessage
GenesisState represents chain state at the start of the chain. Any initial state (account balances) are stored here.
func NewDefaultGenesisState ¶
func NewDefaultGenesisState() GenesisState
Click to show internal directories.
Click to hide internal directories.