Skip to content
EOS RAMtoken smart contract
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
scripts
src
.gitignore
CMakeLists.txt
LICENSE
README.md

README.md

EOS RAMtoken

RAM token is fully backed by EOS system RAM bytes.

Contract Actions

You can either use:

Transfer With Memo

Send either EOS (to buy RAM) or RAM (to sell RAM)
And then put in the memo one of the options;
ttl,convert(waits in the exchange for a buyer, if not matched, converts on tll expire)
ttl (0-uint32 in minutes, waits on exchange, if not matched, send back on tll expire)
[null] and then ttl,cancel:txid”64 characters” (without the quotes) to cancel it/withdraw

Or:

Public Actions:

buy (buyer, value, ttl, force_buy) -> needs extra permission
sell (seller, value, ttl, force_sell) -> needs extra permission
cancel (order_id) // cancels order by order id
cancelbytxid (txid) // cancels order by transaction id

Private Actions (requires exchange owner):

init(fee_recipient) // Initialize exchange
setfeerecip(account) // Sets fee recipient account
setproxy(proxy) // Sets transfer proxy contract
start() // Unfreezes exchange (requires admin permission)
stop() // Freezes exchange and RAM token transfer (requires admin permission)
clrallorders(reason) // Clears order books and returns funds to traders (requires admin permission)
clrorders(sym, reason) // Clears order book of token and returns funds to traders (requires admin permission)

Accounts

Mainnet

ramtoken.io

Exchange: ramtokendapp
Token: ramtokenmoon
Exchange fee: ramtokenfees
Transfer proxy: proxytransax

CryptoKylin Testnet

kylin.ramtoken.io

Exchange: eramexchange
Token: ramramramtkn
Exchange fee: ramxchangfee
Transfer proxy: proxytransax

Jungle Testnet

Exchange: eramexchange
Token: ramramramtkn
Exchange fee: ramxchangfee
Transfer proxy: proxytransax

Permissions

Exchange account

  • owner, admin, active

Token account

  • active

Fee account

  • active

Ricardian Contract

This exchange and token deployment is subject to Ricardian Contract. This Ricardian Contract is writen in the spirit of "v2 constitution".

You can’t perform that action at this time.