Setting up same version of openzeppelin as loom example
This commit is contained in:
parent
f0fa6ad043
commit
6d37870846
|
@ -614,17 +614,12 @@ contract RootChain is ERC721Receiver {
|
|||
|
||||
/******************** ERC721 ********************/
|
||||
|
||||
function onERC721Received(
|
||||
address _operator,
|
||||
address _from,
|
||||
uint256 _tokenId,
|
||||
bytes _data
|
||||
)
|
||||
function onERC721Received(address _from, uint256 _uid, bytes)
|
||||
public
|
||||
isTokenApproved(msg.sender)
|
||||
returns(bytes4)
|
||||
{
|
||||
deposit(_from, uint64(_tokenId), uint32(1));
|
||||
deposit(_from, uint64(_uid), uint32(1));
|
||||
return ERC721_RECEIVED;
|
||||
}
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
"jquery": "^3.3.1",
|
||||
"lodash": "^4.17.10",
|
||||
"loom-js": "^1.14.0",
|
||||
"openzeppelin-solidity": "^1.11.0",
|
||||
"openzeppelin-solidity": "1.10.0",
|
||||
"react": "^16.3.2",
|
||||
"react-blockies": "^1.3.0",
|
||||
"react-bootstrap": "^0.32.1",
|
||||
|
|
Loading…
Reference in New Issue