@evrynetlabs/erc20-adaptor

1.0.2 • Public • Published

ERC20-Adaptor

A proxy contract for ERC20 based DeFi to use EER2 function

Installing / Getting started

You can compile and deploy this contract on remix

Developing

Build With

Prerequisites

  • Knowledge of EER-2 (Evrynet Enhancement Request) here
  • Truffle here
  • NPM here
  • Yarn here

Setting up Dev

$ npm install -g truffle 
$ npm install -g solc@0.5.0 
$ yarn install

Building

$ truffle build

Versioning

We use a SemVer for versioning. Please see the release.

Specification

Notes:

  • The following specifications use syntax from Solidity 0.5.0 (or above)

ERC20Adapter

This set of functions are all related to the ERC20 Token Standard

ERC20AdaptorFactory

function deployAdaptor(uint256 _creditTypeID) public returns (address)

Returns the ERC20Adapter address whch binds with credit type id

Test

Run truffle test to run the unit tests.

Style guide

We use the following command to maintain the formatting and linting.

yarn run solhint
yarn run prettier:solidity

Licensing

ERC20 Adapter is licensed under the Open Software License ("OSL") v. 3.0, also included in our repository in the LICENSE file.

Readme

Keywords

none

Package Sidebar

Install

npm i @evrynetlabs/erc20-adaptor

Weekly Downloads

3

Version

1.0.2

License

OSL-3.0

Unpacked Size

2.96 MB

Total Files

17

Last publish

Collaborators

  • gieno
  • iamliqiang
  • timothy_prac
  • devops-team-lightnet
  • kanoon
  • pk-lightnet