Omm docs

If you can't lock up OMM

Get help if you see an error when trying to lock up your Omm Tokens.

About the error

If you previously staked your OMM and voted for the Binance Node validator, you may get an error when you first try to lock up OMM.
When you lock up OMM, the smart contract also updates your votes and checks that each validator address is correct. The error occurs because Binance Node recently changed their address, and if you hadn't updated your votes in a while, it will check the old address which is now invalid.

What you should do

To fix the error, you'll need to clear your votes. Because you can't lock up OMM, you don't have any bOMM, so you're unable to adjust your votes in the app. These steps will help you clear your votes via the smart contracts, with the help of the ICONex wallet.

Clear your votes

Install the ICONex browser extension if you don't already use it, and add the affected wallet. Then:
1. Click the ICONex icon in your browser, click Access My Wallet, then go to the Contract tab.
2. Enter the OMM delegation contract address: cx841f29ec6ce98b527d49a275e87d427627f1afe5. The API field will auto-fill.
What you should see after completing step 2.
3. Click Confirm to reveal an additional section underneath.
4. Choose clearPrevious from the first dropdown.
What you should see after completing step 4.
5. Add your wallet address to the _user field, then choose the wallet in ICONex to reset delegations for. Confirm the password when prompted.
6. Enter 100000000 for the step limit, then click Write.
What you should see after completing step 6.
7. Make sure the user and wallet addresses match in the ICONex modal, then click Write again to confirm the transaction.
Your votes have now been reset.

Lock up OMM and adjust your votes

You can now use the app to lock up your OMM and choose which validators to vote for:
  1. 1.
    Go to the Omm Vote page and sign in.
  2. 2.
    Click ‘Lock up OMM’ in the Vote overview section, then choose the amount of OMM to lock up and for how long.
  3. 3.
    Click Confirm and complete the transaction.
  4. 4.
    Go to the 'Your votes' section, then click 'Adjust validators' and edit the list.
  5. 5.
    Click Save and confirm your changes.