├── .babelrc ├── .circleci └── config.yml ├── .gitignore ├── ERC821.md ├── LICENSE ├── README.md ├── contracts ├── AssetRegistryStorage.sol ├── ERC165.sol ├── ERC721Base.sol ├── ERC721Enumerable.sol ├── ERC721Holder.sol ├── ERC721Metadata.sol ├── FullAssetRegistry.sol ├── IERC721Base.sol ├── IERC721Enumerable.sol ├── IERC721Metadata.sol ├── IERC721Receiver.sol └── Migrations.sol ├── migrations ├── 1_initial_migration.js └── 2_deploy_contracts.js ├── package.json ├── scripts └── test.sh ├── test ├── Exchange.sol ├── ExchangeStandardAssetRegistry.js ├── Holder.sol ├── NonHolder.sol ├── StandardAssetRegistry.js ├── StandardAssetRegistryTest.sol ├── helpers │ └── assertRevert.js └── utils.js └── truffle.js /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/decentraland/erc721/HEAD/.babelrc -------------------------------------------------------------------------------- /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/decentraland/erc721/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .idea 3 | build 4 | package-lock.json -------------------------------------------------------------------------------- /ERC821.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/decentraland/erc721/HEAD/ERC821.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/decentraland/erc721/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/decentraland/erc721/HEAD/README.md -------------------------------------------------------------------------------- /contracts/AssetRegistryStorage.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/decentraland/erc721/HEAD/contracts/AssetRegistryStorage.sol -------------------------------------------------------------------------------- /contracts/ERC165.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/decentraland/erc721/HEAD/contracts/ERC165.sol -------------------------------------------------------------------------------- /contracts/ERC721Base.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/decentraland/erc721/HEAD/contracts/ERC721Base.sol -------------------------------------------------------------------------------- /contracts/ERC721Enumerable.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/decentraland/erc721/HEAD/contracts/ERC721Enumerable.sol -------------------------------------------------------------------------------- /contracts/ERC721Holder.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/decentraland/erc721/HEAD/contracts/ERC721Holder.sol -------------------------------------------------------------------------------- /contracts/ERC721Metadata.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/decentraland/erc721/HEAD/contracts/ERC721Metadata.sol -------------------------------------------------------------------------------- /contracts/FullAssetRegistry.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/decentraland/erc721/HEAD/contracts/FullAssetRegistry.sol -------------------------------------------------------------------------------- /contracts/IERC721Base.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/decentraland/erc721/HEAD/contracts/IERC721Base.sol -------------------------------------------------------------------------------- /contracts/IERC721Enumerable.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/decentraland/erc721/HEAD/contracts/IERC721Enumerable.sol -------------------------------------------------------------------------------- /contracts/IERC721Metadata.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/decentraland/erc721/HEAD/contracts/IERC721Metadata.sol -------------------------------------------------------------------------------- /contracts/IERC721Receiver.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/decentraland/erc721/HEAD/contracts/IERC721Receiver.sol -------------------------------------------------------------------------------- /contracts/Migrations.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/decentraland/erc721/HEAD/contracts/Migrations.sol -------------------------------------------------------------------------------- /migrations/1_initial_migration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/decentraland/erc721/HEAD/migrations/1_initial_migration.js -------------------------------------------------------------------------------- /migrations/2_deploy_contracts.js: -------------------------------------------------------------------------------- 1 | module.exports = function (deployer) { 2 | } 3 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/decentraland/erc721/HEAD/package.json -------------------------------------------------------------------------------- /scripts/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/decentraland/erc721/HEAD/scripts/test.sh -------------------------------------------------------------------------------- /test/Exchange.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/decentraland/erc721/HEAD/test/Exchange.sol -------------------------------------------------------------------------------- /test/ExchangeStandardAssetRegistry.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/decentraland/erc721/HEAD/test/ExchangeStandardAssetRegistry.js -------------------------------------------------------------------------------- /test/Holder.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/decentraland/erc721/HEAD/test/Holder.sol -------------------------------------------------------------------------------- /test/NonHolder.sol: -------------------------------------------------------------------------------- 1 | pragma solidity ^0.4.18; 2 | 3 | contract NonHolder { 4 | } 5 | -------------------------------------------------------------------------------- /test/StandardAssetRegistry.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/decentraland/erc721/HEAD/test/StandardAssetRegistry.js -------------------------------------------------------------------------------- /test/StandardAssetRegistryTest.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/decentraland/erc721/HEAD/test/StandardAssetRegistryTest.sol -------------------------------------------------------------------------------- /test/helpers/assertRevert.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/decentraland/erc721/HEAD/test/helpers/assertRevert.js -------------------------------------------------------------------------------- /test/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/decentraland/erc721/HEAD/test/utils.js -------------------------------------------------------------------------------- /truffle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/decentraland/erc721/HEAD/truffle.js --------------------------------------------------------------------------------