Tutorials:Swap Autumn for Summer Tokens in Uniswap: Difference between revisions
Jump to navigation
Jump to search
BeginnersGuide>Marin No edit summary |
m (Move page script moved page Tutorials:Baa4 to Tutorials:Swap Autumn for Summer Tokens in Uniswap) |
| (One intermediate revision by one other user not shown) | |
(No difference)
| |
Latest revision as of 01:41, 4 November 2025
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:
Task:
Copy the Uniswap Universal Router contract address.
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