Tutorials:Swap Summer for Autumn Tokens in Metamask

From Seasonal Tokens
Revision as of 01:41, 4 November 2025 by Move page script (talk | contribs) (Move page script moved page Tutorials:Baa3 to Tutorials:Swap Summer for Autumn Tokens in Metamask)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Swap Summer for Autumn Tokens

Let's swap our 137 Summer tokens for Autumn tokens using the built in MetaMask tab:

Swap1.jpg

And review the transaction in Polygonscan:

Metamask Swap

SwapMMsummerAutumn.jpg

There are many intermediate transactions between various smart contracts, notice that the Summer and Autumn Uniswap liquidity pool contracts are involved in the transaction.

The Transacton Action was swapping 137 Summer for 143 Autumn. We (0xFOE...) Interacted with the Metamask: Swap Router.

Task:

Copy the Metamask Swap Router contract address.

Exercise:

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

  1. 0xFOE sent 137 Summer to 0xc59 (MM internal contract)
  2. 0xc59 sent 137 Summer to 0xf08 (MM internal contract)
  3. 0xf08 sent 137 Summer to 0x0cf (Summer Liquidity Pool)
  4. 0x0cf sent 0.981 Wrapped Matic (POL) to 0xf08
  5. 0xf08 sent 0.981 WMatic to 0x3A18 (Autumn Liquidity Pool)
  6. 0x3A18 sent 143 Autumn to 0xf08
  7. 0xf08 sent 143 Autumn to 0xc59
  8. 0xc59 sent 143 Autumn to 0xFOE

Notice

  • The Metamask fee is included in the exchange rate of Summer to Autumn.