create_detection
Documentation for eth_defi.tokenised_fund.securitize.backfill.create_detection function.
- create_detection(product, deployment_block, first_seen_at)
Create a scanner-compatible detection for a reviewed DSToken.
A migration uses the product registry as its authoritative lead source, rather than reprocessing unrelated discovery events from the chain.
- Parameters
product (eth_defi.tokenised_fund.securitize.description.SecuritizeProduct) – Reviewed Securitize product.
deployment_block (int) – First block containing the DSToken proxy code.
first_seen_at (datetime.datetime) – Deployment timestamp in naive UTC.
- Returns
Detection record accepted by metadata extraction.
- Return type