-
Notifications
You must be signed in to change notification settings - Fork 1.3k
added tama_meme_dex #8002
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
added tama_meme_dex #8002
Conversation
This reverts commit a3808ca.
@@ -150,3 +150,4 @@ logs/ | |||
!target/sources.json | |||
|
|||
dbt_subprojects/dex/spellbook-env/ | |||
dbt_subprojects/dex/dbt_cloud.yml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to recover this file.
WITH ronin_price AS ( | ||
SELECT | ||
hour, | ||
median_price AS ron_price | ||
FROM {{ source('dex', 'prices') }} | ||
WHERE contract_address = 0xe514d9deb7966c8be0ca922de8a064264ea6bcd4 | ||
), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This may not be the correct approach to implement a base_trades
spell,
please read the document first:
https://github.com/duneanalytics/spellbook/blob/main/dbt_subprojects/dex/models/trades/readme.md
ON bet.token = tc.token | ||
LEFT JOIN ronin_price AS rp | ||
ON DATE_TRUNC('hour', bet.call_block_time) = rp.hour | ||
WHERE call_block_time >= TRY_CAST('2025-01-21 14:07' AS TIMESTAMP) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The constant date and addresses can be introduced as jinja vars.
Thank you for contributing to Spellbook 🪄
Please open the PR in draft and mark as ready when you want to request a review.
Description:
Tama.meme is the first-ever fair-launch platform on Ronin, offering a decentralized way to launch and trade tokens. With a 1% fee on trades, users can pick tokens, buy them through a bonding curve, sell for gains or losses, and, if successful, move to Katana (DEX) for wider trading. The platform also includes a referral program to save on fees and earn rewards.
quick links for more information: