@proto-kit/sequencer • Docs
Documentation / @proto-kit/sequencer / AppChainModule
Class: AppChainModule<Config>
Used by various module sub-types that may need to be configured
Extends
ConfigurableModule<Config>
Extended by
Type Parameters
• Config = NoConfig
Constructors
new AppChainModule()
new AppChainModule<
Config>():AppChainModule<Config>
Returns
AppChainModule<Config>
Inherited from
ConfigurableModule.constructor
Properties
appChain?
optionalappChain:AppChain<any>
Defined in
packages/sequencer/src/appChain/AppChainModule.ts:12
currentConfig
protectedcurrentConfig:undefined|Config
Store the config separately, so that we can apply additional checks when retrieving it via the getter
Inherited from
ConfigurableModule.currentConfig
Defined in
packages/common/dist/config/ConfigurableModule.d.ts:17
presets
staticpresets:Presets<unknown> ={}
Defined in
packages/sequencer/src/appChain/AppChainModule.ts:10
Accessors
config
Get Signature
get config():
Config
Returns
Config
Set Signature
set config(
config):void
Parameters
• config: Config
Returns
void
Inherited from
Defined in
packages/common/dist/config/ConfigurableModule.d.ts:18
Methods
create()
create(
childContainerProvider):void
Parameters
• childContainerProvider: ChildContainerProvider
Returns
void
Inherited from
Defined in
packages/common/dist/config/ConfigurableModule.d.ts:20