Tutorials:Swap Autumn for Summer Tokens in Uniswap: Difference between revisions
Jump to navigation
Jump to search
BeginnersGuide>Marin No edit summary |
No edit summary |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 15: | Line 15: | ||
[[File:SwapUniswapAutumnSummer.jpg|800px]] | [[File:SwapUniswapAutumnSummer.jpg|800px]] | ||
==Exercise:== | ==Exercise:== | ||
Latest revision as of 06:05, 13 January 2026
Swap Autumn for Summer Tokens in Uniswap
Let's swap back our 143 Autumn tokens for Summer tokens using Uniswap:
We have to give permissions to Uniswap to use our tokens, sign the transaction and confirm the swap:
And review the transaction in Polygonscan:
Exercise:
Let's break down the transactions to see what is happening.
- 0xFOE sent 143 Autumn to 0x3A18 (Autumn Liquidity Pool)
- 0x3A18 sent 1.022 Wrapped Matic to Universal Router
- Universal Router sent 1.022 Wrapped Matic to 0x0cf (Summer Liquidity Pool)
- 0x0cf sent 143.011 Summer to Universal Router
- Universal Router sent 142.653 Summer to 0xFOE
- Universal Router sent 0.3575 Summer to 0x23b (Uniswap Fee Collector)
Notice
- The Uniswap fee is paid in Summer to the Fee collector contract