Skip to content

Commit

Permalink
Widen the pragma (Uniswap#71)
Browse files Browse the repository at this point in the history
* Widen the pragma

This reverts commit 528056e
  • Loading branch information
moodysalem authored Apr 17, 2020
1 parent 0897c5b commit 272713c
Show file tree
Hide file tree
Showing 11 changed files with 64 additions and 64 deletions.
76 changes: 38 additions & 38 deletions build/Combined-Json.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions build/ERC20.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions build/UniswapV2ERC20.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions build/UniswapV2Factory.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions build/UniswapV2Pair.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion contracts/interfaces/IERC20.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity =0.5.16;
pragma solidity >=0.5.0;

interface IERC20 {
event Approval(address indexed owner, address indexed spender, uint value);
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IUniswapV2Callee.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity =0.5.16;
pragma solidity >=0.5.0;

interface IUniswapV2Callee {
function uniswapV2Call(address sender, uint amount0, uint amount1, bytes calldata data) external;
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IUniswapV2ERC20.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity =0.5.16;
pragma solidity >=0.5.0;

interface IUniswapV2ERC20 {
event Approval(address indexed owner, address indexed spender, uint value);
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IUniswapV2Factory.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity =0.5.16;
pragma solidity >=0.5.0;

interface IUniswapV2Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IUniswapV2Pair.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity =0.5.16;
pragma solidity >=0.5.0;

interface IUniswapV2Pair {
event Approval(address indexed owner, address indexed spender, uint value);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"pretest": "yarn compile",
"test": "mocha",
"check-compile-output": "./scripts/check-compile-output.sh",
"prepublishOnly": "yarn compile"
"prepublishOnly": "yarn test"
},
"license": "GPL-3.0-or-later"
}

0 comments on commit 272713c

Please sign in to comment.