A realit.io arbitrator implementation used by the DXdao to act as an arbitrator for disputed markets on Omen.
As soon as a Omen market is being resolved through realitio, anybody who denies the result of the community-driven resolution can trigger a dispute resolution process by the DXdao, by paying a fee. The DXdao will find consens through their governance process and submit a final outcome to the market.
Network | Address |
---|---|
xDai | 0xFe14059344b74043Af518d12931600C0f52dF7c5 |
To run the tests, follow these steps. You must have at least node v10 and yarn installed.
First clone the repository:
git clone https://github.com/nicoelzer/omen-arbitrator.git
Move into the omen-arbitrator working directory
cd omen-arbitrator/
Install dependencies
yarn install
Run tests
yarn test
Create a new .env file in the main directory with the following variables:
PRIVATE_KEY=xxx
INFURA_KEY=xxx
Deploying contracts to xDai:
yarn deploy:xdai
Deploying contracts to Mainnet:
yarn deploy:mainnet