Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@gnosis.pm/dx-mgn-pool

Package Overview
Dependencies
Maintainers
13
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gnosis.pm/dx-mgn-pool

Smart contracts and migration scripts for the MGN-pool for trading at the dutch-Exchange

  • 0.1.0-RC1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
20
increased by1900%
Maintainers
13
Weekly downloads
 
Created
Source

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:

dx-mgn-pool state diagram

Get setup

# Install dependencies
npm install

# In one tab: Run ganache
npm run rpc

Migrations

Local:

npm run migrate

Rinkeby:

npm run migrate -- --network rinkeby

Mainnet:

npm run migrate -- --network mainnet

Participation Bot

For Ganache (deterministic)

docker build --rm -t participate .
docker run -t -i -e NETWORK=development -e RPC_URL=host.docker.internal participate

For Rinkeby

docker build --rm -t participate .
docker run -t -i -e NETWORK=rinkeby participate

Keywords

FAQs

Package last updated on 12 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc