diff --git a/contracts/token/ERC721/ERC721Holder.sol b/contracts/token/ERC721/ERC721Holder.sol index 67048598f..0847857f6 100644 --- a/contracts/token/ERC721/ERC721Holder.sol +++ b/contracts/token/ERC721/ERC721Holder.sol @@ -1,9 +1,10 @@ pragma solidity ^0.4.24; +import "../../Initializable.sol"; import "./IERC721Receiver.sol"; -contract ERC721Holder is IERC721Receiver { +contract ERC721Holder is Initializable, IERC721Receiver { function onERC721Received( address, address, diff --git a/contracts/token/ERC721/IERC721.sol b/contracts/token/ERC721/IERC721.sol index 1d4ac1de4..c9f6dbf86 100644 --- a/contracts/token/ERC721/IERC721.sol +++ b/contracts/token/ERC721/IERC721.sol @@ -1,5 +1,6 @@ pragma solidity ^0.4.24; +import "../../Initializable.sol"; import "../../introspection/IERC165.sol"; @@ -7,7 +8,7 @@ import "../../introspection/IERC165.sol"; * @title ERC721 Non-Fungible Token Standard basic interface * @dev see https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md */ -contract IERC721 is IERC165 { +contract IERC721 is Initializable, IERC165 { event Transfer( address indexed from, diff --git a/contracts/token/ERC721/IERC721Enumerable.sol b/contracts/token/ERC721/IERC721Enumerable.sol index b848b7b69..89bb4e3b0 100644 --- a/contracts/token/ERC721/IERC721Enumerable.sol +++ b/contracts/token/ERC721/IERC721Enumerable.sol @@ -1,5 +1,6 @@ pragma solidity ^0.4.24; +import "../../Initializable.sol"; import "./IERC721.sol"; @@ -7,7 +8,7 @@ import "./IERC721.sol"; * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md */ -contract IERC721Enumerable is IERC721 { +contract IERC721Enumerable is Initializable, IERC721 { function totalSupply() public view returns (uint256); function tokenOfOwnerByIndex( address owner, diff --git a/contracts/token/ERC721/IERC721Full.sol b/contracts/token/ERC721/IERC721Full.sol index 10914dc23..f891f3ff0 100644 --- a/contracts/token/ERC721/IERC721Full.sol +++ b/contracts/token/ERC721/IERC721Full.sol @@ -1,5 +1,6 @@ pragma solidity ^0.4.24; +import "../../Initializable.sol"; import "./IERC721.sol"; import "./IERC721Enumerable.sol"; import "./IERC721Metadata.sol"; @@ -9,5 +10,5 @@ import "./IERC721Metadata.sol"; * @title ERC-721 Non-Fungible Token Standard, full implementation interface * @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md */ -contract IERC721Full is IERC721, IERC721Enumerable, IERC721Metadata { +contract IERC721Full is Initializable, IERC721, IERC721Enumerable, IERC721Metadata { } diff --git a/contracts/token/ERC721/IERC721Metadata.sol b/contracts/token/ERC721/IERC721Metadata.sol index ed7ab29d9..ccce7d75e 100644 --- a/contracts/token/ERC721/IERC721Metadata.sol +++ b/contracts/token/ERC721/IERC721Metadata.sol @@ -1,5 +1,6 @@ pragma solidity ^0.4.24; +import "../../Initializable.sol"; import "./IERC721.sol"; @@ -7,7 +8,7 @@ import "./IERC721.sol"; * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md */ -contract IERC721Metadata is IERC721 { +contract IERC721Metadata is Initializable, IERC721 { function name() external view returns (string); function symbol() external view returns (string); function tokenURI(uint256 tokenId) public view returns (string);