diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-04-17 02:47:28 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-17 02:47:28 +0800 |
commit | d263f7783fabe89cc9714b596068eccdc5babc1c (patch) | |
tree | 54a5c8f0a88320f3df8330d95506aea96e808bd3 /packages/deployer/test/fixtures/contracts/base | |
parent | 1fcf3c5dc44d10648e14d6b10c174930eecf27b1 (diff) | |
parent | d8ef76fd5efe63ec8f6205a73494ce388e64391f (diff) | |
download | dexon-0x-contracts-d263f7783fabe89cc9714b596068eccdc5babc1c.tar dexon-0x-contracts-d263f7783fabe89cc9714b596068eccdc5babc1c.tar.gz dexon-0x-contracts-d263f7783fabe89cc9714b596068eccdc5babc1c.tar.bz2 dexon-0x-contracts-d263f7783fabe89cc9714b596068eccdc5babc1c.tar.lz dexon-0x-contracts-d263f7783fabe89cc9714b596068eccdc5babc1c.tar.xz dexon-0x-contracts-d263f7783fabe89cc9714b596068eccdc5babc1c.tar.zst dexon-0x-contracts-d263f7783fabe89cc9714b596068eccdc5babc1c.zip |
Merge pull request #512 from 0xProject/feature/resolver
Dependencies resolver for deployer
Diffstat (limited to 'packages/deployer/test/fixtures/contracts/base')
3 files changed, 2 insertions, 29 deletions
diff --git a/packages/deployer/test/fixtures/contracts/base/Ownable.sol b/packages/deployer/test/fixtures/contracts/base/Ownable.sol deleted file mode 100644 index 2a74c3717..000000000 --- a/packages/deployer/test/fixtures/contracts/base/Ownable.sol +++ /dev/null @@ -1,27 +0,0 @@ -pragma solidity 0.4.14; - -/* - * Ownable - * - * Base contract with an owner. - * Provides onlyOwner modifier, which prevents function from running if it is called by anyone other than the owner. - */ - -contract Ownable { - address public owner; - - function Ownable() { - owner = msg.sender; - } - - modifier onlyOwner() { - require(msg.sender == owner); - _; - } - - function transferOwnership(address newOwner) onlyOwner { - if (newOwner != address(0)) { - owner = newOwner; - } - } -} diff --git a/packages/deployer/test/fixtures/contracts/base/SafeMath.sol b/packages/deployer/test/fixtures/contracts/base/SafeMath.sol index 7414684a8..92ce11cde 100644 --- a/packages/deployer/test/fixtures/contracts/base/SafeMath.sol +++ b/packages/deployer/test/fixtures/contracts/base/SafeMath.sol @@ -1,4 +1,4 @@ -pragma solidity 0.4.14; +pragma solidity ^0.4.14; contract SafeMath { function safeMul(uint a, uint b) internal constant returns (uint256) { diff --git a/packages/deployer/test/fixtures/contracts/base/Token.sol b/packages/deployer/test/fixtures/contracts/base/Token.sol index c03f8c567..483010d7d 100644 --- a/packages/deployer/test/fixtures/contracts/base/Token.sol +++ b/packages/deployer/test/fixtures/contracts/base/Token.sol @@ -1,4 +1,4 @@ -pragma solidity 0.4.14; +pragma solidity ^0.4.14; contract Token { |