Documentation ¶
Index ¶
- Constants
- Variables
- func GetDefaultDataSourcesAndOracleScripts(owner sdk.AccAddress) json.RawMessage
- func MakeCodec() *codec.Codec
- func NewBandApp(logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest bool, ...) *bandApp
- func NewDBBandApp(logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest bool, ...) *dbBandApp
- func SetBech32AddressPrefixesAndBip44CoinType(config *sdk.Config)
- type GenesisState
Constants ¶
View Source
const ( Bech32MainPrefix = "band" Bip44CoinType = 494 )
Variables ¶
View Source
var ( // default home directories for the application CLI DefaultCLIHome = os.ExpandEnv("$HOME/.bandcli") // default home directories for the application daemon DefaultNodeHome = os.ExpandEnv("$HOME/.bandd") // NewBasicManager is in charge of setting up basic module elements ModuleBasics = module.NewBasicManager( genaccounts.AppModuleBasic{}, genutil.AppModuleBasic{}, auth.AppModuleBasic{}, bank.AppModuleBasic{}, staking.AppModuleBasic{}, mint.AppModuleBasic{}, distr.AppModuleBasic{}, gov.NewAppModuleBasic(paramsclient.ProposalHandler, distr.ProposalHandler), params.AppModuleBasic{}, crisis.AppModuleBasic{}, slashing.AppModuleBasic{}, supply.AppModuleBasic{}, zoracle.AppModuleBasic{}, ) )
Functions ¶
func GetDefaultDataSourcesAndOracleScripts ¶
func GetDefaultDataSourcesAndOracleScripts(owner sdk.AccAddress) json.RawMessage
func NewBandApp ¶
func NewBandApp( logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest bool, invCheckPeriod uint, baseAppOptions ...func(*bam.BaseApp), ) *bandApp
NewBandApp is a constructor function for bandApp
func NewDBBandApp ¶
Types ¶
type GenesisState ¶
type GenesisState map[string]json.RawMessage
GenesisState defines a type alias for the Gaia genesis application state.
func NewDefaultGenesisState ¶
func NewDefaultGenesisState() GenesisState
NewDefaultGenesisState generates the default state for the application.
Click to show internal directories.
Click to hide internal directories.