add README.md

This commit is contained in:
haydenadams
2019-08-29 16:26:59 -04:00
parent 0e800be171
commit d6958dfec8
4 changed files with 20 additions and 9 deletions

17
README.md Normal file
View File

@ -0,0 +1,17 @@
## Installation:
1) Clone Uniswap
```
$ git clone https://github.com/Uniswap/contracts-vyper
$ cd contracts-vyper
```
2) Install dependencies
```
yarn
```
3) Run tests
```
yarn test
```

View File

@ -5,8 +5,7 @@
"devDependencies": {
"chai": "^4.2.0",
"ethereum-waffle": "^2.1.0",
"mocha": "^6.2.0",
"openzeppelin-solidity": "^2.3.0"
"mocha": "^6.2.0"
},
"scripts": {
"test": "waffle && mocha"

View File

@ -1,6 +1,6 @@
const chai = require('chai');
const {createMockProvider, deployContract, getWallets, solidity} = require('ethereum-waffle');
const BasicTokenMock = require('../build/Token');
const TestTokenMock = require('../build/TestERC20');
chai.use(solidity);
@ -12,7 +12,7 @@ describe('INTEGRATION: Example', () => {
let token;
beforeEach(async () => {
token = await deployContract(wallet, BasicTokenMock, ['HayCoin', 'HAY', 18, 1000]);
token = await deployContract(wallet, TestTokenMock, ['HayCoin', 'HAY', 18, 1000]);
});
it('Is named HayCoin', async () => {

View File

@ -4755,11 +4755,6 @@ once@^1.3.0, once@^1.3.1, once@^1.3.2, once@^1.4.0:
dependencies:
wrappy "1"
openzeppelin-solidity@^2.3.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/openzeppelin-solidity/-/openzeppelin-solidity-2.3.0.tgz#1ab7b4cc3782a5472ed61eb740c56a8bfdd74119"
integrity sha512-QYeiPLvB1oSbDt6lDQvvpx7k8ODczvE474hb2kLXZBPKMsxKT1WxTCHBYrCU7kS7hfAku4DcJ0jqOyL+jvjwQw==
ordered-read-streams@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/ordered-read-streams/-/ordered-read-streams-1.0.1.tgz#77c0cb37c41525d64166d990ffad7ec6a0e1363e"