Expand description
Bootstrap module for initializing services and creating handlers.
This module provides functions to initialize the necessary services and create handlers for processing blocks and triggers. It also includes helper functions for filtering and processing monitors and networks.
§Services
FilterService
: Handles filtering of blockchain dataTriggerExecutionService
: Manages trigger executionNotificationService
: Handles notifications
§Handlers
create_block_handler
: Creates a block handler function that processes new blocks from the blockchaincreate_trigger_handler
: Creates a trigger handler function that processes trigger events from the block processing pipeline
Functions§
- Creates a block handler function that processes new blocks from the blockchain.
- Creates a trigger handler function that processes trigger events from the block processing pipeline.
- Get contract specs for all applicable monitors
- Checks if a network has any active monitors.
- Initializes all required services for the blockchain monitor.
- Processes a single block for all applicable monitors.
Type Aliases§
- Type alias for handling ServiceResult