Topledger / solana-programs

Apache License 2.0
24 stars 1 forks source link

request: Dex parser not parsing all the inner instructions token amounts properly #35

Open hashimaslam opened 3 weeks ago

hashimaslam commented 3 weeks ago

example tx: https://solscan.io/tx/4ENgQPCkvpbnmxAQQ5LH6D19SE6c3Jp5x9BxmQZi2e9sbKgdW9m1KySQioHHsJPzQryTiE9nDyDjvirDpUFTpLe7

Radiyum protocol makes 10 swaps

All are on Raydium Liquidity Pool V4

When I use the substream to stream in the block all the 10 swaps are parsed but the token in and token out amounts are not relevant to the individual swaps instead it all points to the same token in and token out amount.

attached output of the block here: https://gist.github.com/hashimaslam/9504d71e7ad197165e9bb309dc3802eb

dkdocs commented 2 weeks ago

Hi @hashimaslam , this issue has been fixed in the latest package tl-solana-dex-trades-1-0-19-v1.0.19.spkg.