changed 4 years ago
Published Linked with GitHub

Quick guide to redeem LP token

See ERC1155 tokens in liquidate Tx

  1. Open the scanner website of Avalanche chain https://snowtrace.io/

  2. Search your transaction hash on SNOWTRACE then open Logs tab

  3. Search for Topic0 0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62 (Keccak256 of TransferSingle event)

  4. Convert hex to decimal number on Data fields of that log

    you can convert hex to number on https://www.rapidtables.com/convert/number/hex-to-decimal.html

  5. Found ERC1155 token ID
    Wrapper address: 0xb41de9c1f50697cc3fd63f24ede2b40f6269cbcb
    ERC1155 Token ID: 68907035526356988853748602528973822117271871978149139370743453141536829840
    Amount: 95147922298

How to redeem LP tokens (after you see ERC1155 token ID)

  1. Search Wrapper contract 0xb41de9c1f50697cc3fd63f24ede2b40f6269cbcb(from previous step 5) on SNOWTRACE, go to contract tab, click Write as Proxy
  2. Connect your wallet
  3. Call burn on Wrapper contract to claim LP tokens by entering input id (token id) and amount
  4. Check you LP tokens and JOE token balance on your wallet or burn transaction
Select a repo