Open viniabussafi opened 1 month ago
We can do better than uniswap_compatible_trades: https://github.com/duneanalytics/spellbook/blob/main/macros/models/_sector/dex/balancer_compatible_trades.sql FROM statements can be written like {{ source(project_decodedas ~ '' ~ blockchain, BPool_evt_LOG_SWAP) }}
Have a PR ready for this, but will hold until tomorrow due to this: https://github.com/duneanalytics/spellbook/pull/6078#issuecomment-2148446549
Working on PR
Tests have passed and results are behaving as expected for balancer spells. Beethoven spells are broken, need to check why
dex.prices is causing outliers on beethoven_x_fantom.liquidity. Will have to look into it in the future, but will keep this one as-is to try and get this PR merged as soon as I can
just got approved. Waiting for merge
change macros in order to make them compatible with friendly forks