aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/src/2.0.0/test/DummyERC721Receiver
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-07-27 07:30:07 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-08-17 08:31:21 +0800
commitbb3c34589130c6453f4a7ec5a96c75f729b24a67 (patch)
tree72da54e3a4e344c8125c9a9944b81c4d29aa8485 /packages/contracts/src/2.0.0/test/DummyERC721Receiver
parent0f3201d72a181c3dc7bafba9a82c141f91463ce9 (diff)
downloaddexon-sol-tools-bb3c34589130c6453f4a7ec5a96c75f729b24a67.tar
dexon-sol-tools-bb3c34589130c6453f4a7ec5a96c75f729b24a67.tar.gz
dexon-sol-tools-bb3c34589130c6453f4a7ec5a96c75f729b24a67.tar.bz2
dexon-sol-tools-bb3c34589130c6453f4a7ec5a96c75f729b24a67.tar.lz
dexon-sol-tools-bb3c34589130c6453f4a7ec5a96c75f729b24a67.tar.xz
dexon-sol-tools-bb3c34589130c6453f4a7ec5a96c75f729b24a67.tar.zst
dexon-sol-tools-bb3c34589130c6453f4a7ec5a96c75f729b24a67.zip
Update ERC20Token
Diffstat (limited to 'packages/contracts/src/2.0.0/test/DummyERC721Receiver')
-rw-r--r--packages/contracts/src/2.0.0/test/DummyERC721Receiver/DummyERC721Receiver.sol4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/contracts/src/2.0.0/test/DummyERC721Receiver/DummyERC721Receiver.sol b/packages/contracts/src/2.0.0/test/DummyERC721Receiver/DummyERC721Receiver.sol
index 5dce74a14..a29ef078f 100644
--- a/packages/contracts/src/2.0.0/test/DummyERC721Receiver/DummyERC721Receiver.sol
+++ b/packages/contracts/src/2.0.0/test/DummyERC721Receiver/DummyERC721Receiver.sol
@@ -32,6 +32,10 @@ contract DummyERC721Receiver is
IERC721Receiver
{
+ // Function selector for ERC721Receiver.onERC721Received
+ // 0x150b7a02
+ bytes4 constant internal ERC721_RECEIVED = bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"));
+
event TokenReceived(
address from,
uint256 tokenId,