Documentation ¶
Index ¶
- Variables
- func ModuleBasics() module.BasicManager
- func NewAnteHandler(options HandlerOptions) (sdk.AnteHandler, error)
- func RegisterSwaggerAPI(_ client.Context, rtr *mux.Router)
- type EncodingConfig
- type GenesisState
- type HandlerOptions
- type SecretNetworkApp
- func (app *SecretNetworkApp) AppCodec() codec.Codec
- func (app *SecretNetworkApp) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock
- func (app *SecretNetworkApp) BlockedAddrs() map[string]bool
- func (app *SecretNetworkApp) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock
- func (app *SecretNetworkApp) ExportAppStateAndValidators(forZeroHeight bool, jailAllowedAddrs []string) (servertypes.ExportedApp, error)
- func (app *SecretNetworkApp) GetBaseApp() *baseapp.BaseApp
- func (app *SecretNetworkApp) GetIBCKeeper() *ibckeeper.Keeper
- func (app *SecretNetworkApp) GetScopedIBCKeeper() capabilitykeeper.ScopedKeeper
- func (app *SecretNetworkApp) GetStakingKeeper() stakingkeeper.Keeper
- func (app *SecretNetworkApp) GetTxConfig() client.TxConfig
- func (app *SecretNetworkApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain
- func (app *SecretNetworkApp) LegacyAmino() *codec.LegacyAmino
- func (app *SecretNetworkApp) LoadHeight(height int64) error
- func (app *SecretNetworkApp) ModuleAccountAddrs() map[string]bool
- func (app *SecretNetworkApp) Name() string
- func (app *SecretNetworkApp) RegisterAPIRoutes(apiSvr *api.Server, apiConfig config.APIConfig)
- func (app *SecretNetworkApp) RegisterTendermintService(clientCtx client.Context)
- func (app *SecretNetworkApp) RegisterTxService(clientCtx client.Context)
- func (app *SecretNetworkApp) SimulationManager() *module.SimulationManager
- type WasmWrapper
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func ModuleBasics ¶
func ModuleBasics() module.BasicManager
ModuleBasics returns all app modules basics
func NewAnteHandler ¶
func NewAnteHandler(options HandlerOptions) (sdk.AnteHandler, error)
Types ¶
type EncodingConfig ¶
type EncodingConfig struct { InterfaceRegistry types.InterfaceRegistry Marshaler codec.Codec TxConfig client.TxConfig Amino *codec.LegacyAmino }
EncodingConfig specifies the concrete encoding types to use for a given app. This is provided for compatibility between protobuf and amino implementations.
func MakeEncodingConfig ¶
func MakeEncodingConfig() EncodingConfig
type GenesisState ¶
type GenesisState map[string]json.RawMessage
GenesisState 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 ¶
func NewDefaultGenesisState() GenesisState
NewDefaultGenesisState generates the default state for the application.
type HandlerOptions ¶
type HandlerOptions struct { ante.HandlerOptions IBCKeeper *keeper.Keeper WasmConfig *compute.WasmConfig TXCounterStoreKey sdk.StoreKey }
HandlerOptions extend the SDK's AnteHandler options by requiring the IBC channel keeper.
type SecretNetworkApp ¶
type SecretNetworkApp struct { *baseapp.BaseApp // keepers AppKeepers keepers.SecretAppKeepers // contains filtered or unexported fields }
SecretNetworkApp extended ABCI application
func NewSecretNetworkApp ¶
func NewSecretNetworkApp( logger tmlog.Logger, db dbm.DB, traceStore io.Writer, loadLatest bool, skipUpgradeHeights map[int64]bool, homePath string, invCheckPeriod uint, bootstrap bool, appOpts servertypes.AppOptions, computeConfig *compute.WasmConfig, baseAppOptions ...func(*baseapp.BaseApp), ) *SecretNetworkApp
NewSecretNetworkApp is a constructor function for enigmaChainApp
func (*SecretNetworkApp) AppCodec ¶
func (app *SecretNetworkApp) AppCodec() codec.Codec
func (*SecretNetworkApp) BeginBlocker ¶
func (app *SecretNetworkApp) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock
BeginBlocker application updates every begin block
func (*SecretNetworkApp) BlockedAddrs ¶
func (app *SecretNetworkApp) BlockedAddrs() map[string]bool
BlockedAddrs returns all the app's module account addresses that are not allowed to receive external tokens.
func (*SecretNetworkApp) EndBlocker ¶
func (app *SecretNetworkApp) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock
EndBlocker application updates every end block
func (*SecretNetworkApp) ExportAppStateAndValidators ¶
func (app *SecretNetworkApp) ExportAppStateAndValidators(forZeroHeight bool, jailAllowedAddrs []string, ) (servertypes.ExportedApp, error)
func (*SecretNetworkApp) GetBaseApp ¶
func (app *SecretNetworkApp) GetBaseApp() *baseapp.BaseApp
func (*SecretNetworkApp) GetIBCKeeper ¶
func (app *SecretNetworkApp) GetIBCKeeper() *ibckeeper.Keeper
func (*SecretNetworkApp) GetScopedIBCKeeper ¶
func (app *SecretNetworkApp) GetScopedIBCKeeper() capabilitykeeper.ScopedKeeper
func (*SecretNetworkApp) GetStakingKeeper ¶
func (app *SecretNetworkApp) GetStakingKeeper() stakingkeeper.Keeper
func (*SecretNetworkApp) GetTxConfig ¶
func (app *SecretNetworkApp) GetTxConfig() client.TxConfig
func (*SecretNetworkApp) InitChainer ¶
func (app *SecretNetworkApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain
InitChainer application update at chain initialization
func (*SecretNetworkApp) LegacyAmino ¶
func (app *SecretNetworkApp) LegacyAmino() *codec.LegacyAmino
LegacyAmino returns the application's sealed codec.
func (*SecretNetworkApp) LoadHeight ¶
func (app *SecretNetworkApp) LoadHeight(height int64) error
LoadHeight loads a particular height
func (*SecretNetworkApp) ModuleAccountAddrs ¶
func (app *SecretNetworkApp) ModuleAccountAddrs() map[string]bool
ModuleAccountAddrs returns all the app's module account addresses.
func (*SecretNetworkApp) Name ¶
func (app *SecretNetworkApp) Name() string
Name returns the name of the App
func (*SecretNetworkApp) RegisterAPIRoutes ¶
func (app *SecretNetworkApp) RegisterAPIRoutes(apiSvr *api.Server, apiConfig config.APIConfig)
RegisterAPIRoutes registers all application module routes with the provided API server.
func (*SecretNetworkApp) RegisterTendermintService ¶
func (app *SecretNetworkApp) RegisterTendermintService(clientCtx client.Context)
func (*SecretNetworkApp) RegisterTxService ¶
func (app *SecretNetworkApp) RegisterTxService(clientCtx client.Context)
func (*SecretNetworkApp) SimulationManager ¶
func (app *SecretNetworkApp) SimulationManager() *module.SimulationManager
SimulationManager implements the SimulationApp interface
type WasmWrapper ¶
type WasmWrapper struct {
Wasm compute.WasmConfig `mapstructure:"wasm"`
}
WasmWrapper allows us to use namespacing in the config file This is only used for parsing in the app, x/compute expects WasmConfig