mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-06-13 22:41:02 +00:00
44b2a1d0ee3ba0680288654bb63f1a0012f23bc0
The SwapExecuted event has 5 fields (who, send_to, amountIn, amountOut, path), not 4. The old code was missing send_to, which caused the path (asset array) to be assigned the recipient address instead, resulting in all swaps showing as HEZ→HEZ regardless of actual token pairs. This fixes the swap history display to show correct token symbols.
Languages
HTML
81.1%
TypeScript
15.4%
Rust
2%
PLpgSQL
0.8%
JavaScript
0.5%
Other
0.1%