diff options
author | Alex Shafranovich <alex@cen.by> | 2018-07-06 02:01:14 +0800 |
---|---|---|
committer | Alex Shafranovich <alex@cen.by> | 2018-07-06 02:01:14 +0800 |
commit | f21b042ed1df87ff546fa5cfdae91832e1e3ba2b (patch) | |
tree | e843f5eaf7a7a52c830e50132f64ce2a503aa95d /packages/contracts/src/2.0.0/utils | |
parent | d8c7c9803c92a5069aae73d5fcbcf4920b18e0ab (diff) | |
download | dexon-sol-tools-f21b042ed1df87ff546fa5cfdae91832e1e3ba2b.tar.gz dexon-sol-tools-f21b042ed1df87ff546fa5cfdae91832e1e3ba2b.tar.zst dexon-sol-tools-f21b042ed1df87ff546fa5cfdae91832e1e3ba2b.zip |
Contracts 2.0.0 were linted with solhint
Diffstat (limited to 'packages/contracts/src/2.0.0/utils')
3 files changed, 3 insertions, 0 deletions
diff --git a/packages/contracts/src/2.0.0/utils/LibBytes/LibBytes.sol b/packages/contracts/src/2.0.0/utils/LibBytes/LibBytes.sol index 78b1ddf7c..c2fff5efb 100644 --- a/packages/contracts/src/2.0.0/utils/LibBytes/LibBytes.sol +++ b/packages/contracts/src/2.0.0/utils/LibBytes/LibBytes.sol @@ -18,6 +18,7 @@ pragma solidity ^0.4.24; + library LibBytes { using LibBytes for bytes; diff --git a/packages/contracts/src/2.0.0/utils/Ownable/Ownable.sol b/packages/contracts/src/2.0.0/utils/Ownable/Ownable.sol index 6f5761cc7..489793a95 100644 --- a/packages/contracts/src/2.0.0/utils/Ownable/Ownable.sol +++ b/packages/contracts/src/2.0.0/utils/Ownable/Ownable.sol @@ -10,6 +10,7 @@ pragma experimental ABIEncoderV2; import "./IOwnable.sol"; + contract Ownable is IOwnable { address public owner; diff --git a/packages/contracts/src/2.0.0/utils/SafeMath/SafeMath.sol b/packages/contracts/src/2.0.0/utils/SafeMath/SafeMath.sol index e137f6ca5..ec0a3fe76 100644 --- a/packages/contracts/src/2.0.0/utils/SafeMath/SafeMath.sol +++ b/packages/contracts/src/2.0.0/utils/SafeMath/SafeMath.sol @@ -1,6 +1,7 @@ pragma solidity ^0.4.24; pragma experimental ABIEncoderV2; + contract SafeMath { function safeMul(uint a, uint b) internal |