blockdb0403_token_to_token_prices_l3_v1_snapshots — Level-3 (venue-aggregated) impact grid that routes liquidity across pools for token_in → token_out. Insert reverse token order for the opposite direction.
blockdb0403_token_to_token_l3_v1_points — Grid-point level liquidity/price data for each L3 snapshot.
L3 snapshots support the full tick range defined by Uniswap v3/v4 (from -887272 to +887272), standardized across all AMMs.
Foreign key to blockdb0403_token_to_token_prices_l3_v1_snapshots.snapshot_id; cascades on delete.
point_index
SMALLINT
Zero-based position in the impact grid (0 … grid_points - 1).
offset_bps_abs
INTEGER
Absolute basis-point offset from mid price.
size_in
NUMERIC(78,18)
Aggregated routed input notionals to reach this impact level.
size_out
NUMERIC(78,18)
Routed output notionals at this impact level.
price_at_point
NUMERIC(78,18)
Average realized price (token_out per 1 token_in) including routing impact.
Constraints & Indexes: Primary key (snapshot_id, point_index), FK back to the snapshot with cascade delete, and non-negative offsets via ck_l3_offset_nonneg. Indexed on (snapshot_id, offset_bps_abs) for ordered scans.