eToken - an eToro stablecoin
eToken is stablecoin implementation by eToro targeting the Ethereum platform.
To test the library and setup the development environment, issue the following commands in a shell:
yarn install
yarn test # compile and test
You need to have yarn
and node
installed.
This repository has only been tested on UNIX-derived systems.
See separate document.
Path | Description |
---|---|
contracts/ |
All the solidity files making up the implementation |
contracts/token |
Contains the eToken implementation |
contracts/token/ERC20 |
ERC20 implementation using an external storage |
contracts/roles |
Defines the roles implementation, i.e. whitelisting, blacklisting, miners etc. |
contracts/lifecycle |
Implements lifecycle behaviors. Taken from OpenZeppelin |
contracts/mocks |
Contracts used specifically for testing purposes |
test/ |
Contains testing code in JavaScript |
scripts/ |
Specific scripts for testing, coverage & upgrading tokens |