Emergency withdraw & claim
What to do to claim your prize manually or withdraw your bets if something goes wrong
Last updated
Was this helpful?
What to do to claim your prize manually or withdraw your bets if something goes wrong
Last updated
Was this helpful?
You need to search for the contract in Polygonscan. You will see an screen like this:
Under Contract tab, you will see 3 buttons: Code, Read Contract, and Write Contract. Press Write Contract and, if you are not connected, you will see a red dot and a link with "Connect to Web3" button that, when clicked, prompts Metamask to allow to do transactions.
When you are succesfull connected you can perform transactions with the contract. If you press Write button inside 'emergencyWithdraw' containers, you will start the emergency withdraw. You will only be able to do an emergency withdraw when something wrongs happen in the round and we need to stop it for whatever reason. If the round is carried out correctly, once the bet is made, the bet will not be able to be withdrawn
You can also claim your prize once the round has ended, by writing `claimPrize` method clicking in the 'Write' button. If you have already claimed your prize, the transaction will fail.