# Selling old tokens & unstaking

* Tokens from our [February 2021 product](https://docs.ideamarket.io/past-experiments/social-account-markets) (Twitter accounts tokenized and traded on a bonding curve) can still be bridged and sold from the "Wallet" tab in your [Ideamarket profile](https://docs.ideamarket.io/navigating-the-app/user-profile).
* Tokens from our [Early 2022 product](https://docs.ideamarket.io/past-experiments/the-url-market) (URLs tokenized and traded on a bonding curve) can be sold using the process below. It’s a bit of a workaround, but 100% doable and all your money is available. (If your tokens are/were locked, scroll down and follow the Unlocking instructions before you follow the Selling instructions.)&#x20;

**Step 1:** Go to your wallet address on [arbiscan.io](https://arbiscan.io)

**Step 2:** Click on the "Token" dropdown and do the following for each different IDT token you own:

* Note how many IDT tokens you own. This number will be used as an input later.&#x20;

  <figure><img src="https://1973863284-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MO3FS4hHpv7FRVGrwnt%2Fuploads%2FKC96n6EnNn8yiebTud0f%2Fimage.png?alt=media&#x26;token=236f2b84-7cc7-41d8-a364-6f7af1ed2c2d" alt=""><figcaption></figcaption></figure>
* Click the IDT token in the dropdown, which opens a page that shows its “contract address.” Copy the token contract address to your clipboard.

  <figure><img src="https://1973863284-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MO3FS4hHpv7FRVGrwnt%2Fuploads%2FKZGqaVFU7rD92nxIhjTV%2Fimage.png?alt=media&#x26;token=a062c443-00a2-4df8-9406-d3b8c45d6ecc" alt=""><figcaption></figcaption></figure>

**Step 3:** Go to [this page](https://arbiscan.io/address/0x15ae05599809af9d1a04c10bef217bc04060dd81#writeProxyContract) and click “Connect to Web3” to connect your wallet.&#x20;

<figure><img src="https://1973863284-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MO3FS4hHpv7FRVGrwnt%2Fuploads%2FbIARGuwZp5OQUNyAqAjo%2Fimage.png?alt=media&#x26;token=efaf54b8-9b68-4bb2-afb8-eb7771481698" alt=""><figcaption></figcaption></figure>

* Scroll down to the "sellTokens" function.
* Input:
  * for the “ideaToken” field — the token address you copied
  * for "amount" — the number of that IDT token you own, padded by 18 decimal places (ex: If you own 27 IDT, input 27000000000000000000)
  * for “minPrice” — 0
  * for “recipient” — the address you want DAI to get paid out to (probably just your wallet)

**Step 4:** Click 'Confirm' and execute the transaction in your wallet.

### If your tokens are locked…

Before you can sell you will have to **unlock them:**

**Step 1:** Visit [this link](https://arbiscan.io/address/0xec4e1a014faf0d966332e62970cd7c6553671d76#readProxyContract) and go to the "getLockedEntries" function

**Step 2:** Input:

* for the “ideaToken” field — The token address of the IDT token you are trying to unlock/sell
* for “user” — The wallet address that locked them
* for “maxEntries” — 10
* Then click 'Confirm' and execute the transaction in your wallet.
* You will get as an output a list of timestamps, depending on how many times you locked that particular token (it will usually just be one number).

**Step 3:** Copy this number/list, visit [this link](https://arbiscan.io/address/0xec4e1a014faf0d966332e62970cd7c6553671d76#writeProxyContract), and find the “Withdraw” function.

**Step 4:** Input:

* for “lockedEntries” — The number or list you copied
* for “tokenAddress” — the token address of the IDT token in question
* for “recipient” — the desired recipient address, probably just your wallet

Click 'Confirm' and execute the transaction in your wallet.

Your tokens should now be unlocked and sellable using the process above.

### For our current (Sept 2022) product:

## Unstaking IMO from users

If you have staked IMO on users, here’s how to unstake it:

1. Connect your wallet

2. Go to **My Profile** in the upper right

3. Go to the **Holdings** tab

4. For each user in the list, visit their profile and click the blue “Stake” button in the right sidebar.

5. In the popup, select **Unstake** and fill in the amount of IMO you want to withdraw from that user’s profile. (Click **Max** to autofill the total amount.)

6. Click **Allow Ideamarket to withdraw your \[user]** and confirm the transaction in Metmask. Then click **Unstake** and do the same.

7. Your unstaked IMO should now be in your Metamask wallet.

## Unstake from ETH-IMO liquidity pool on SushiSwap

1. In the header menu, go to the IMO dropdown and click **“Unstake from old version.”**

2. Click the “**Stake ETH-IMO**” tab, choose **Unstake**, and and fill out the form.
