mine code example

Example 1: mine

{  "assets":[{    "address":"0x1985365e9f78359a9b6ad760e32412f4a445e862",    "balance":220983.60836825136,    "name":"Reputation",    "symbol":"REP",    "weight":0.5  },{    "address":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",    "balance":12985.038152311092,    "name":"Wrapped Ether",    "symbol":"WETH",    "weight":0.5  }],  "exchange":"0xec2d2240d02a8cf63c3fa0b7d2c5a3169a319496",  "ownershipToken":"0xec2d2240d02a8cf63c3fa0b7d2c5a3169a319496",  "platform":"Uniswap-v2",  "poolName":"Uniswap REP-WETH",  "roi":1.0002668160516575,  "tags":[],  "usdLiquidity":6320086.653501842,  "usdVolume":44020.287610281724}

Example 2: mine

{  "query": {    "excludeEmpty":null,    "limit":1,    "offset":0,    "orderBy":null,    "platform":"balancer",    "search":null,    "tags":null,    "totalRows":160  },  "results": [{    "assets": [{      "address":"0xb4efd85c19999d84251304bda99e90b92300bd93",      "balance":5257917.78767804,      "name":"Rocket Pool",      "symbol":"RPL",      "weight":0.9    },{      "address":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",      "balance":5965.40035908098,      "name":"Wrapped Ether",      "symbol":"WETH",      "weight":0.1    }],    "exchange":"0x454c1d458f9082252750ba42d60fae0887868a3b",    "ownershipToken":"0x454c1d458f9082252750ba42d60fae0887868a3b",    "platform":"Balancer",    "poolName":"Balancer 0x454c",    "roi":1.0002668160516575,    "tags":[],    "usdLiquidity":14464662.5998195,    "usdVolume":96862.38807722362  }]}

Example 3: mine

$ mvn clean install

Example 4: mine

$ mvn clean install -DskipITs

Example 5: mine

DOCKER_HOST=tcp://127.0.0.1:2375

Example 6: mine

[  {    "account": "0x6723b7641c8ac48a61f5f505ab1e9c03bb44a301",     "backed_by": [      {        "balance": 45447.549568058166,         "token": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"      },       {        "balance": 3636231.6093262574,         "token": "0xd46ba6d942050d489dbd938a2c909a5d5039a161"      }    ],     "exchange": "0xc5be99a02c6857f9eac67bbce58df5572498f40c",     "ownership": 87.8956021918904,     "ownership_tokens": 0.141612645,     "platform": "uniswap-v2",     "token": "0xc5be99a02c6857f9eac67bbce58df5572498f40c",     "usd_share_value": 21505860.23  }]

Example 7: mine

<dependency>
      <groupId>com.github.docker-java</groupId>
      <artifactId>docker-java</artifactId>
      <version>3.X.Y-SNAPSHOT</version>
</dependency>

Example 8: mine

DOCKER_HOST=tcp://127.0.0.1:2376
DOCKER_TLS_VERIFY=1
DOCKER_CERT_PATH=/Users/marcus/.docker/machine/machines/docker-1.11.2

Example 9: mine

export DOCKER_HOST=tcp://localhost:2376
export DOCKER_TLS_VERIFY=1
export DOCKER_CERT_PATH=/home/user/.docker/certs
export DOCKER_CONFIG=/home/user/.docker

Example 10: mine

<dependency>
      <groupId>com.github.docker-java</groupId>
      <artifactId>docker-java</artifactId>
      <!-- use latest version https://github.com/docker-java/docker-java/releases -->
      <version>3.X.Y</version>
</dependency>