degenbot.builders.context ========================= .. py:module:: degenbot.builders.context .. autoapi-nested-parse:: 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 --------------- .. py:class:: BuilderContext Shared dependencies for all pool builders. Bot creates one ``BuilderContext`` and passes it to all builders. Each builder unpacks what it needs. ``Erc20Builder`` is a leaf dependency — it is constructed before the context and passed in. .. py:attribute:: database_path :type: pathlib.Path .. py:attribute:: pools :type: degenbot.registry.PoolRegistry .. py:attribute:: tokens :type: degenbot.registry.TokenRegistry .. py:attribute:: erc20_builder :type: degenbot.builders.erc20_builder.Erc20Builder .. py:attribute:: py_bot :type: degenbot._ffi.Bot .. py:attribute:: default_chain_id :type: degenbot.types.aliases.ChainId | None :value: None