Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

ERC721 dependency bump and fixes to align with the new ERC721 changes.

  • Loading branch information...
MoMannn committed Jun 22, 2018
1 parent 4c1b515 commit ba3ca16d56b86fc97376bf84553026372c1864ae
Showing with 11 additions and 9 deletions.
  1. +7 −7 package-lock.json
  2. +1 −1 package.json
  3. +3 −1 test/mocks/NFTokenReceiverTestMock.sol

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -64,6 +64,6 @@
"web3-utils": "^1.0.0-beta.34"
},
"dependencies": {
"@0xcert/ethereum-erc721": "^1.6.0"
"@0xcert/ethereum-erc721": "^1.9.1"
}
}
@@ -5,17 +5,19 @@ import "@0xcert/ethereum-erc721/contracts/tokens/ERC721TokenReceiver.sol";
contract NFTokenReceiverTestMock is ERC721TokenReceiver {

function onERC721Received(
address _operator,
address _from,
uint256 _tokenId,
bytes _data
)
external
returns(bytes4)
{
_operator;
_from;
_tokenId;
_data;
return 0xf0b9e5ba;
return 0x150b7a02;
}

}

0 comments on commit ba3ca16

Please sign in to comment.
You can’t perform that action at this time.