-
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
Swapline DEX on Base #7534
base: main
Are you sure you want to change the base?
Swapline DEX on Base #7534
Conversation
Duped PR with #7532 ? |
Apologies for the duplicate PR. By mistake, the code was pushed from an
old branch, so I created a new branch and pushed the updated code. Please
consider the latest PR for review. Thank you!
…On Fri, 24 Jan 2025 at 15:37, Huang Geyang ***@***.***> wrote:
Duped PR with #7532 <#7532>
?
—
Reply to this email directly, view it on GitHub
<#7534 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BNGN7KOCAPQVLGJSKXLUXML2MIGG3AVCNFSM6AAAAABVZIAFVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJSGE2DAOJWG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
@Hosuke This time, I’ve attempted to implement the method using the Uniswap V2 model as you recommended, but I’m encountering an error again. Could you please help me troubleshoot and resolve the issue? Your guidance would be greatly appreciated. |
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.
Please verify the schema of sources used.
Try using the swapline_base.swaplinepair_evt_swap
source.
blockchain = 'base', | ||
project = 'swapline', | ||
version = '1', | ||
Pair_evt_Swap = source('swapline_base', 'LBPair_evt_Swap'), |
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.
Sorry I could not find this source in the data explorer.
@Hosuke
If you're not seeing the source swapline_base.LBPair_evt_Swap, you can run
the following query to check its availability:
*SELECT * FROM swapline_base.lbpair_evt_swap *
*LIMIT 100;*
…On Thu, 30 Jan 2025 at 04:47, Huang Geyang ***@***.***> wrote:
***@***.**** requested changes on this pull request.
Please verify the schema of sources used.
Try using the swapline_base.swaplinepair_evt_swap source.
------------------------------
In
dbt_subprojects/dex/models/trades/base/platforms/swapline_base_base_trades.sql
<#7534 (comment)>
:
> + schema = 'swapline_base',
+ alias = 'base_trades',
+ materialized = 'incremental',
+ file_format = 'delta',
+ incremental_strategy = 'merge',
+ unique_key = ['tx_hash', 'evt_index'],
+ incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.block_time')]
+ )
+}}
+
+{{
+ uniswap_compatible_v2_trades(
+ blockchain = 'base',
+ project = 'swapline',
+ version = '1',
+ Pair_evt_Swap = source('swapline_base', 'LBPair_evt_Swap'),
Sorry I could not find this source in the data explorer.
—
Reply to this email directly, view it on GitHub
<#7534 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BNGN7KMH7Q7NQTE5VXJM3KD2NFOR5AVCNFSM6AAAAABVZIAFVOVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDKOBSGU3TSMBVGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I see... |
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: