degenbot.builders.context¶
Shared dependency context for pool builders.
Collected from Bot’s constructor wiring so builders receive a single parameter instead of 5-6 individual dependencies. Adding a new builder requires zero additional wiring in Bot.
Module Contents¶
- class degenbot.builders.context.BuilderContext¶
Shared dependencies for all pool builders.
Bot creates one
BuilderContextand passes it to all builders. Each builder unpacks what it needs.Erc20Builderis a leaf dependency — it is constructed before the context and passed in.- database_path: pathlib.Path¶
- erc20_builder: degenbot.builders.erc20_builder.Erc20Builder¶
- py_bot: degenbot._ffi.Bot¶
- default_chain_id: degenbot.types.aliases.ChainId | None = None¶