GithubHelp home page GithubHelp logo

Comments (7)

jeff-dude avatar jeff-dude commented on September 8, 2024 1

yeah they use custom decimals per market that are different from the actual token decimals. I can add this into #6093 to fix

sounds good, i've linked the PR to close this when merged

from spellbook.

jeff-dude avatar jeff-dude commented on September 8, 2024

@andrewhong5297 fyi, do you want to help look into this bug?

from spellbook.

jeff-dude avatar jeff-dude commented on September 8, 2024

I'm not sure how the phoenix transactions are loaded into this table. If someone can point me in the right direction, I can take a look.

here is the phoenix model:
https://github.com/duneanalytics/spellbook/blob/main/models/phoenix/phoenix_v1_trades.sql

you can compile that into raw sql and run on dune to investigate further

from spellbook.

andrewhong5297 avatar andrewhong5297 commented on September 8, 2024

yeah they use custom decimals per market that are different from the actual token decimals. I can add this into #6093 to fix

from spellbook.

andrewhong5297 avatar andrewhong5297 commented on September 8, 2024

I've fixed it, query here from test CI output https://dune.com/queries/3819568

from spellbook.

alexeyrodriguez avatar alexeyrodriguez commented on September 8, 2024

@andrewhong5297 is this really fixed? When I run the query of the reporter, I see that the amount of Bonk swapped for USDC-Bonk is 0.01289 rather than the 128,900,000 that the reporter suggests.

from spellbook.

andrewhong5297 avatar andrewhong5297 commented on September 8, 2024

The fix has not been merged yet, see this PR #6281

from spellbook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.