Skip to content

feat(squeeze): launchpad deployments, trades, labels (Base, Robinhood, Solana) - #9904

Draft
flockain wants to merge 1 commit into
duneanalytics:mainfrom
flockain:feat/squeeze-launchpad
Draft

feat(squeeze): launchpad deployments, trades, labels (Base, Robinhood, Solana)#9904
flockain wants to merge 1 commit into
duneanalytics:mainfrom
flockain:feat/squeeze-launchpad

Conversation

@flockain

Copy link
Copy Markdown

Summary

Adds Squeeze launchpad abstractions (deployments + trades + address labels).

Methodology

  • EVM: Airlock create filtered by integrator 0x6C61feE73584670AbEd65101946734006DAB12d6; assets from decoded create outputs
  • Solana: raydium_launchlab filtered by platform_config = FpKUW9…AW3h
  • Trades: join Squeeze assets to dex.trades / LaunchLab trades (attribution table; may double-count vs Uniswap/Raydium)

Notes for reviewers

Test plan

  • CI dbt slim ci green (may need decoded Airlock sources first)
  • Spot-check Base Create txs against known Squeeze launches
  • Spot-check Solana LaunchLab pools with Squeeze platformId
  • Confirm Robinhood chain tables resolve (blockchain = 'robinhood')
  • Confirm labels_squeeze appears in labels.addresses union

Made with Cursor

Identify Squeeze launches on Base/Robinhood via Doppler Airlock integrator
and on Solana via Raydium LaunchLab platform_config.

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions
github-actions Bot marked this pull request as draft July 25, 2026 17:48
@github-actions github-actions Bot added WIP work in progress dbt: daily covers the Daily dbt subproject labels Jul 25, 2026
@github-actions

Copy link
Copy Markdown

CLA Assistant Lite bot:
Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 3 potential issues.

Fix All in Cursor

Bugbot Autofix is ON, but it could not run because the branch was deleted or merged before autofix could start.

Want higher recall? High effort reviews run extra passes and find more bugs. A team admin can switch effort levels in the Cursor dashboard.

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit b83fbe4. Configure here.

AND (
t.token_bought_address = d.token
OR t.token_sold_address = d.token
)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OR-join on dex.trades

High Severity

The join to dex.trades uses OR across token_bought_address and token_sold_address, which forces a Trino NestedLoopJoin on a very large fact table. If both sides of a trade are Squeeze tokens, the join also emits duplicate merge keys and can fail MERGE.

Additional Locations (1)
Fix in Cursor Fix in Web

Triggered by learned rule: Flag OR-join conditions forcing Trino NestedLoopJoin — split into UNION ALL of equi-joins

Reviewed by Cursor Bugbot for commit b83fbe4. Configure here.

{% else %}
AND b.block_time >= TIMESTAMP '{{ project_start_date }}'
{% endif %}
GROUP BY b.pool_id, b.base_token_mint, b.quote_token_mint, b.platform_config

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Launch time drifts on merge

High Severity

squeeze_solana_launches MERGEs on pool_id while computing MIN(block_time) only over the incremental window. Later trades for an existing pool overwrite the stored launch time with a later minimum, corrupting launch timestamps.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit b83fbe4. Configure here.

- block_month
- blockchain
- tx_hash
- evt_index

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing unique-key null tests

Medium Severity

New incremental MERGE models have unique_combination_of_columns aligned with unique_key, but lack not_null tests on each unique-key column. That violates the merge-key schema test rule and leaves NULL key collisions unchecked.

Additional Locations (2)
Fix in Cursor Fix in Web

Triggered by learned rule: Flag new incremental MERGE models missing schema tests on unique_key columns

Reviewed by Cursor Bugbot for commit b83fbe4. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dbt: daily covers the Daily dbt subproject WIP work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant