Skip to content

Commit

Permalink
add README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenadams committed Aug 29, 2019
1 parent 0e800be commit d6958df
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 9 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
```
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions test/testToken.js
Original file line number Diff line number Diff line change
@@ -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);
Expand All @@ -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 () => {
Expand Down
5 changes: 0 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d6958df

Please sign in to comment.