Tutorials:Swap Autumn for Summer Tokens in Uniswap: Difference between revisions

From Seasonal Tokens
Jump to navigation Jump to search
BeginnersGuide>Marin
No edit summary
 
 
(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:

Swap4.jpg

We have to give permissions to Uniswap to use our tokens, sign the transaction and confirm the swap:

Swap6.jpg

And review the transaction in Polygonscan:

UniSwap Transaction

SwapUniswapAutumnSummer.jpg


Task:

Copy the Uniswap Universal Router contract address.

Exercise:

Let's break down the transactions to see what is happening.

  1. 0xFOE sent 143 Autumn to 0x3A18 (Autumn Liquidity Pool)
  2. 0x3A18 sent 1.022 Wrapped Matic to Universal Router
  3. Universal Router sent 1.022 Wrapped Matic to 0x0cf (Summer Liquidity Pool)
  4. 0x0cf sent 143.011 Summer to Universal Router
  5. Universal Router sent 142.653 Summer to 0xFOE
  6. Universal Router sent 0.3575 Summer to 0x23b (Uniswap Fee Collector)


Notice

  • The Uniswap fee is paid in Summer to the Fee collector contract