Skip to content
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

OTSea DEX on Base #7390

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

PatelPrinci
Copy link
Contributor

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:

@github-actions github-actions bot marked this pull request as draft December 27, 2024 09:33
@github-actions github-actions bot added WIP work in progress dbt: dex covers the DEX dbt subproject labels Dec 27, 2024
@PatelPrinci PatelPrinci marked this pull request as ready for review December 28, 2024 01:01
@github-actions github-actions bot added ready-for-review this PR development is complete, please review and removed WIP work in progress labels Dec 28, 2024
@0xRobin 0xRobin self-assigned this Dec 29, 2024
evt_tx_hash AS tx_hash,
evt_index AS evt_index
FROM
{{ source('otsea_base', 'OTSeaV2_evt_SwappedTokensForETH') }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Seems like this only covers 1 event type, are there other events that this should cover? (swapping for other token, swapping eth for token,..).

evt_tx_to AS taker,
swapped AS token_sold_amount_raw,
received AS token_bought_amount_raw,
account AS token_sold_address,
Copy link
Collaborator

Choose a reason for hiding this comment

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

This isn't accurate as it takes the swappers address as the token address

@0xRobin 0xRobin marked this pull request as draft December 29, 2024 10:22
@github-actions github-actions bot added WIP work in progress and removed ready-for-review this PR development is complete, please review labels Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dbt: dex covers the DEX dbt subproject WIP work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants