diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-07-07 00:51:23 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-07-07 01:58:28 +0800 |
commit | d2e422cd5eab26108e6c7a9f73c944f4b6fb4fdd (patch) | |
tree | 978dd0a5132eee644d2163a33e25a24fdd4a3f14 /packages/contracts/src/2.0.0/forwarder/MixinERC721.sol | |
parent | e796734659ddea76622d81b4416e0b36d5e7c0ed (diff) | |
download | dexon-sol-tools-d2e422cd5eab26108e6c7a9f73c944f4b6fb4fdd.tar dexon-sol-tools-d2e422cd5eab26108e6c7a9f73c944f4b6fb4fdd.tar.gz dexon-sol-tools-d2e422cd5eab26108e6c7a9f73c944f4b6fb4fdd.tar.bz2 dexon-sol-tools-d2e422cd5eab26108e6c7a9f73c944f4b6fb4fdd.tar.lz dexon-sol-tools-d2e422cd5eab26108e6c7a9f73c944f4b6fb4fdd.tar.xz dexon-sol-tools-d2e422cd5eab26108e6c7a9f73c944f4b6fb4fdd.tar.zst dexon-sol-tools-d2e422cd5eab26108e6c7a9f73c944f4b6fb4fdd.zip |
Apply new linter rules
Diffstat (limited to 'packages/contracts/src/2.0.0/forwarder/MixinERC721.sol')
-rw-r--r-- | packages/contracts/src/2.0.0/forwarder/MixinERC721.sol | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/packages/contracts/src/2.0.0/forwarder/MixinERC721.sol b/packages/contracts/src/2.0.0/forwarder/MixinERC721.sol index b2e8803a9..b5be223b6 100644 --- a/packages/contracts/src/2.0.0/forwarder/MixinERC721.sol +++ b/packages/contracts/src/2.0.0/forwarder/MixinERC721.sol @@ -16,17 +16,19 @@ */ -pragma solidity ^0.4.24; +pragma solidity 0.4.24; pragma experimental ABIEncoderV2; import "../utils/LibBytes/LibBytes.sol"; import "../tokens/ERC721Token/IERC721Token.sol"; + contract MixinERC721 { using LibBytes for bytes; - bytes4 constant ERC721_RECEIVED = bytes4(keccak256("onERC721Received(address,uint256,bytes)")); - bytes4 constant ERC721_RECEIVED_OPERATOR = bytes4(keccak256("onERC721Received(address,address,uint256,bytes)")); + + bytes4 constant internal ERC721_RECEIVED = bytes4(keccak256("onERC721Received(address,uint256,bytes)")); + bytes4 constant internal ERC721_RECEIVED_OPERATOR = bytes4(keccak256("onERC721Received(address,address,uint256,bytes)")); function onERC721Received(address, uint256, bytes memory) public |