mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-22 05:37:56 +00:00
243f3df4bd1a093f5340f0bde0dae20d231d3f70
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
75.2%
TypeScript
21.3%
Rust
1.9%
PLpgSQL
0.7%
JavaScript
0.6%
Other
0.2%