add README.md
This commit is contained in:
17
README.md
Normal file
17
README.md
Normal 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
|
||||
```
|
||||
@ -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"
|
||||
|
||||
@ -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 () => {
|
||||
|
||||
@ -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"
|
||||
|
||||
Reference in New Issue
Block a user