-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Curve code added #7386
base: main
Are you sure you want to change the base?
Curve code added #7386
Conversation
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.
LGTM.✅
Thank you @PatelPrinci
@@ -13,6 +13,7 @@ FROM (VALUES | |||
('uniswap', 'Uniswap', 'Direct', 'Uniswap') | |||
, ('pancakeswap', 'PancakeSwap', 'Direct', 'PancakeSwap') | |||
, ('curve', 'Curve', 'Direct', 'CurveFinance') | |||
, ('curvefi', 'Curve', 'Direct', 'CurveFinance') |
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've been using curve
as the name for Curve Finance (See row above)
|
||
SELECT | ||
'base' AS blockchain, | ||
'curvefi' AS project, |
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.
'curve' instead of 'curvefi'
FROM | ||
{{ source('curvefi_base', 'StableSwap_evt_TokenExchange') }} | ||
{% if is_incremental() %} | ||
WHERE | ||
{{ incremental_predicate('evt_block_time') }} | ||
{% endif %} |
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 doesn't fully follow the current logic we have for Curve on other chains.
Is the deployment on base different then on other chains?
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.
I am thinking this too.
This implementation covers stable
pool type swaps.
Thank you for contributing to Spellbook 🪄
Please open the PR in draft and mark as ready when you want to request a review.
Description:
[...]
quick links for more information: