0.1.0-RC1 • Published 7 years ago
dx-mgn-pool v0.1.0-RC1
DX-MGN-POOL
The following repo contains all the smart contracts for the pool. Its goal is to collect liquidity that will automatically and continuously trade on the dutch exchange (in form of sell orders). It will thus generate MGN, which the liquidity provider can claim according to their share, once the pooling period has ended.
A rough state diagram of the contract looks like this:

Get setup
# Install dependencies
npm install
# In one tab: Run ganache
npm run rpcMigrations
Local:
npm run migrateRinkeby:
npm run migrate -- --network rinkebyMainnet:
npm run migrate -- --network mainnetParticipation Bot
For Ganache (deterministic)
docker build --rm -t participate .
docker run -t -i -e NETWORK=development -e RPC_URL=host.docker.internal participateFor Rinkeby
docker build --rm -t participate .
docker run -t -i -e NETWORK=rinkeby participate0.1.0-RC1
7 years ago