Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "bancorx", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "BancorX Utility", | ||
@@ -12,2 +12,8 @@ "main": "index.js", | ||
], | ||
"keywords": [ | ||
"bancor", | ||
"bancorx", | ||
"eos", | ||
"eosio" | ||
], | ||
"repository": "git@github.com:eos-nation/bancorx.git", | ||
@@ -14,0 +20,0 @@ "author": "Denis Carriere <denis@eosnation.io>", |
@@ -35,9 +35,13 @@ # BancorX utility | ||
> token balance of EOS (eosio.token) in the relay: 77814.0638 EOS | ||
> token balance of BNT (bntbntbntbnt) in the relay: 429519.5539120331 BNT | ||
> The Formula: | ||
> 10.0000 / (77814.0638 + 10.0000) * 429519.5539120331 | ||
> 55.19109809221157 | ||
- token balance of EOS (`eosio.token`) in the relay: `77814.0638 EOS` | ||
- token balance of BNT (`bntbntbntbnt`) in the relay: `429519.5539120331 BNT` | ||
**The Formula:** | ||
```js | ||
10.0000 / (77814.0638 + 10.0000) * 429519.5539120331 | ||
55.19109809221157 | ||
``` | ||
```js | ||
const source_balance = 77814.0638 // EOS | ||
@@ -44,0 +48,0 @@ const target_balance = 429519.5539120331 // BNT |
11310
77