Jump to content
Enumivo Community

Recommended Posts

Posted (edited)

Enumivo Liquidity Network v2 Beta


We have deployed a token contract named test.coin with the following tokens:

TELN: Test ELN Variablecoin
TUSD: Test USD Stablecoin
TEOS: Test EOS Stablecoin
TETH: Test ETH Stablecoin
TBTC: Test BTC Stablecoin

We also have a market maker contract named test.mm
The market maker follows a bancor style with 50% connector weight and a shared token.
TELN is shared with all stablecoins.

This means all stablecoins in circulation are equal in market cap and at the same time they are each twice the value of TELN in the market maker.

For the initial state, ELN v2 Beta has the following values:

31300.08814320 TELN
10.09738745 TUSD
1.26237944 TEOS
0.03600000 TETH
0.00116000 TBTC

To get these data:

enucli -u https://api.enumivo.org get currency balance test.coin test.mm TELN
31300.08814320 TELN
enucli -u https://api.enumivo.org get currency stats test.coin TUSD
{
  "TUSD": {
    "supply": "10.09738745 TUSD",
    "max_supply": "1000000000.00000000 TUSD",
    "issuer": "test.mm"
  }
}
enucli -u https://api.enumivo.org get currency stats test.coin TEOS
{
  "TEOS": {
    "supply": "1.26237944 TEOS",
    "max_supply": "1000000000.00000000 TEOS",
    "issuer": "test.mm"
  }
}
enucli -u https://api.enumivo.org get currency stats test.coin TETH
{
  "TETH": {
    "supply": "0.03600000 TETH",
    "max_supply": "1000000000.00000000 TETH",
    "issuer": "test.mm"
  }
}
enucli -u https://api.enumivo.org get currency stats test.coin TBTC
{
  "TBTC": {
    "supply": "0.00116000 TBTC",
    "max_supply": "1000000000.00000000 TBTC",
    "issuer": "test.mm"
  }
}

The data is interpreted as follows:

31300.08814320 TELN * 2 = 10.09738745 TUSD = 1.26237944 TEOS = 0.03600000 TETH = 0.00116000 TBTC

sample calculations:

10.09738745 TUSD / 0.00116000 TBTC = 8,704.64 TUSD/TBTC
10.09738745 TUSD / 0.03600000 TETH = 280.48 TUSD/TETH
0.00116000 TBTC / 0.03600000 TETH = 0.03222 TBTC/TETH

31300.08814320 TELN * 2 / 10.09738745 TUSD = 6,199.6409 TELN/TUSD
31300.08814320 TELN * 2 / 0.00116000 TBTC = 53,965,669.21 TELN/TBTC

How to trade with ELN v2 Beta
The following markets are available:
TELN/TUSD
TELN/TEOS
TELN/TETH
TELN/TBTC

Send a token to test.mm and put in the memo the token you want to get.
Buying a stablecoin increases its price and at the same time, since TELN is shared among all stablecoins, decreases the price of the 3 other tokens.


If you buy TUSD, you increase the value of TUSD, and in effect, TEOS, TETH, TBTC will decrease in value.
Selling a stablecoin decreases its value, and at the same time increase the value of all other 3 stablecoins.

If you want to get TELN, i'll give you 1M to test, just reply with your account name.
This is a test and later we will have a user interface, and teleport mechanism to teleport your EOS stablecoins to eosio mainnet and back.
 

We will also add stablecoin to stablecoin trading later.

Edited by PeiLin

Share this post


Link to post
Share on other sites

Remember these are test tokens and we will test alongside the community. We will deploy it soon live if the tests are good.

Share this post


Link to post
Share on other sites
Posted (edited)
11 minutes ago, PeiLin said:

please send some TELN to pei.lin

Sent

Edited by Tom

Share this post


Link to post
Share on other sites

These are good test amounts to send to test.mm

 

enucli -u https://api.enumivo.org push action test.coin transfer '[ "tradecrypto1", "test.mm", "10000.00000000 TELN", "TUSD" ]' -p tradecrypto1
enucli -u https://api.enumivo.org push action test.coin transfer '[ "tradecrypto1", "test.mm", "10000.00000000 TELN", "TEOS" ]' -p tradecrypto1
enucli -u https://api.enumivo.org push action test.coin transfer '[ "tradecrypto1", "test.mm", "10000.00000000 TELN", "TETH" ]' -p tradecrypto1
enucli -u https://api.enumivo.org push action test.coin transfer '[ "tradecrypto1", "test.mm", "10000.00000000 TELN", "TBTC" ]' -p tradecrypto1
enucli -u https://api.enumivo.org push action test.coin transfer '[ "tradecrypto1", "test.mm", "0.10000000 TUSD", "TELN" ]' -p tradecrypto1
enucli -u https://api.enumivo.org push action test.coin transfer '[ "tradecrypto1", "test.mm", "0.00100000 TEOS", "TELN" ]' -p tradecrypto1
enucli -u https://api.enumivo.org push action test.coin transfer '[ "tradecrypto1", "test.mm", "0.00010000 TETH", "TELN" ]' -p tradecrypto1
enucli -u https://api.enumivo.org push action test.coin transfer '[ "tradecrypto1", "test.mm", "0.00000100 TBTC", "TELN" ]' -p tradecrypto1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×