Skip to content
This repository has been archived by the owner on Mar 19, 2019. It is now read-only.

Commit

Permalink
Merge pull request #274 from Loopring/version1.2
Browse files Browse the repository at this point in the history
Version1.2
  • Loading branch information
kongliangzhong authored Mar 9, 2018
2 parents 8b0880b + 23fd59c commit c9e0347
Show file tree
Hide file tree
Showing 17 changed files with 40 additions and 3,311 deletions.
2 changes: 1 addition & 1 deletion contracts/LoopringProtocol.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
limitations under the License.
*/
pragma solidity 0.4.18;
pragma solidity 0.4.19;


/// @title Loopring Token Exchange Protocol Contract Interface
Expand Down
2 changes: 1 addition & 1 deletion contracts/LoopringProtocolImpl.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
limitations under the License.
*/
pragma solidity 0.4.18;
pragma solidity 0.4.19;

import "./lib/ERC20.sol";
import "./lib/MathBytes32.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/Migrations.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity 0.4.18;
pragma solidity 0.4.19;


contract Migrations {
Expand Down
2 changes: 1 addition & 1 deletion contracts/NameRegistry.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
limitations under the License.
*/
pragma solidity 0.4.18;
pragma solidity 0.4.19;


/// @title Ethereum Address Register Contract
Expand Down
2 changes: 1 addition & 1 deletion contracts/TokenRegistry.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
limitations under the License.
*/
pragma solidity 0.4.18;
pragma solidity 0.4.19;

import "./lib/Claimable.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/TokenTransferDelegate.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
limitations under the License.
*/
pragma solidity 0.4.18;
pragma solidity 0.4.19;

import "./lib/ERC20.sol";
import "./lib/MathUint.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/TransferableMultsig.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
limitations under the License.
*/
pragma solidity 0.4.18;
pragma solidity 0.4.19;


/// @title Transferable Multisignature Contract
Expand Down
4 changes: 2 additions & 2 deletions contracts/lib/Claimable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
limitations under the License.
*/
pragma solidity 0.4.18;
pragma solidity 0.4.19;

import "./Ownable.sol";

Expand Down Expand Up @@ -45,4 +45,4 @@ contract Claimable is Ownable {
owner = pendingOwner;
pendingOwner = 0x0;
}
}
}
6 changes: 3 additions & 3 deletions contracts/lib/ERC20.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
limitations under the License.
*/
pragma solidity 0.4.18;
pragma solidity 0.4.19;


/// @title ERC20 Token Interface
/// @dev see https://github.com/ethereum/EIPs/issues/20
/// @author Daniel Wang - <[email protected]>
contract ERC20 {
uint public totalSupply;

event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);

Expand All @@ -32,4 +32,4 @@ contract ERC20 {
function transfer(address to, uint256 value) public returns (bool);
function transferFrom(address from, address to, uint256 value) public returns (bool);
function approve(address spender, uint256 value) public returns (bool);
}
}
2 changes: 1 addition & 1 deletion contracts/lib/MathBytes32.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
limitations under the License.
*/
pragma solidity 0.4.18;
pragma solidity 0.4.19;


/// @title Utility Functions for byte32
Expand Down
2 changes: 1 addition & 1 deletion contracts/lib/MathUint.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
limitations under the License.
*/
pragma solidity 0.4.18;
pragma solidity 0.4.19;


/// @title Utility Functions for uint
Expand Down
2 changes: 1 addition & 1 deletion contracts/lib/MathUint8.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
limitations under the License.
*/
pragma solidity 0.4.18;
pragma solidity 0.4.19;


/// @title Utility Functions for uint8
Expand Down
4 changes: 2 additions & 2 deletions contracts/lib/Ownable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
limitations under the License.
*/
pragma solidity 0.4.18;
pragma solidity 0.4.19;


/// @title Ownable
Expand Down Expand Up @@ -50,4 +50,4 @@ contract Ownable {
OwnershipTransferred(owner, newOwner);
owner = newOwner;
}
}
}
2 changes: 1 addition & 1 deletion contracts/test/DummyToken.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity 0.4.18;
pragma solidity 0.4.19;

import "zeppelin-solidity/contracts/token/ERC20/MintableToken.sol";

Expand Down
27 changes: 20 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"dirty-chai": "^2.0.0",
"chai": "^2.2.1",
"ganache-cli": "^6.0.3",
"truffle": "4.0.1",
"solc": "0.4.18",
"truffle": "4.1.3",
"solc": "0.4.19",
"solium": "^1.1.5",
"typescript": "2.4.2",
"tslint": "5.8.0",
Expand Down
Loading

0 comments on commit c9e0347

Please sign in to comment.