├── .env.sample ├── .gitignore ├── .nvmrc ├── LICENSE ├── README.md ├── contracts ├── ERC1155Tradable.sol ├── IFactory.sol ├── ILootBox.sol ├── Migrations.sol ├── MyCollectible.sol ├── MyFactory.sol ├── MyLootBox.sol ├── SafeMath.sol ├── Strings.sol └── test │ ├── MockProxyRegistry.sol │ └── TestForReentrancyAttack.sol ├── flatten.sh ├── lib └── testValuesCommon.js ├── metadata-api ├── .gitignore ├── Procfile ├── app.py ├── images │ ├── bases │ │ ├── base-crab.png │ │ ├── base-goldfish.png │ │ ├── base-jellyfish.png │ │ ├── base-narwhal.png │ │ ├── base-starfish.png │ │ └── base-tealfish.png │ ├── box │ │ ├── lootbox.png │ │ └── multiple-eggs.png │ ├── eyes │ │ ├── eyes-big.png │ │ ├── eyes-content.png │ │ ├── eyes-joy.png │ │ ├── eyes-sleepy.png │ │ └── eyes-wink.png │ ├── factory │ │ ├── egg.png │ │ └── four-eggs.png │ ├── mouths │ │ ├── mouth-cute.png │ │ ├── mouth-happy.png │ │ ├── mouth-pleased.png │ │ ├── mouth-smirk.png │ │ └── mouth-surprised.png │ └── output │ │ ├── 1.png │ │ ├── 3.png │ │ ├── 7.png │ │ └── temp.txt ├── requirements.txt └── src │ └── pip-delete-this-directory.txt ├── migrations ├── 1_initial_migration.js └── 2_deploy_contracts.js ├── package.json ├── scripts ├── advanced │ └── mint.js ├── initial_sale.js └── sell.js ├── test ├── ERC1155Tradable.js ├── MyCollectible.js ├── MyFactory.js └── MyLootBox.js ├── truffle-config.js └── yarn.lock /.env.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/.env.sample -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/.gitignore -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | 8.11.2 -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/README.md -------------------------------------------------------------------------------- /contracts/ERC1155Tradable.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/contracts/ERC1155Tradable.sol -------------------------------------------------------------------------------- /contracts/IFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/contracts/IFactory.sol -------------------------------------------------------------------------------- /contracts/ILootBox.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/contracts/ILootBox.sol -------------------------------------------------------------------------------- /contracts/Migrations.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/contracts/Migrations.sol -------------------------------------------------------------------------------- /contracts/MyCollectible.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/contracts/MyCollectible.sol -------------------------------------------------------------------------------- /contracts/MyFactory.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/contracts/MyFactory.sol -------------------------------------------------------------------------------- /contracts/MyLootBox.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/contracts/MyLootBox.sol -------------------------------------------------------------------------------- /contracts/SafeMath.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/contracts/SafeMath.sol -------------------------------------------------------------------------------- /contracts/Strings.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/contracts/Strings.sol -------------------------------------------------------------------------------- /contracts/test/MockProxyRegistry.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/contracts/test/MockProxyRegistry.sol -------------------------------------------------------------------------------- /contracts/test/TestForReentrancyAttack.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/contracts/test/TestForReentrancyAttack.sol -------------------------------------------------------------------------------- /flatten.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/flatten.sh -------------------------------------------------------------------------------- /lib/testValuesCommon.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/lib/testValuesCommon.js -------------------------------------------------------------------------------- /metadata-api/.gitignore: -------------------------------------------------------------------------------- 1 | env/ 2 | .idea/ 3 | credentials/* 4 | .env 5 | -------------------------------------------------------------------------------- /metadata-api/Procfile: -------------------------------------------------------------------------------- 1 | web: gunicorn app:app --log-file=- 2 | -------------------------------------------------------------------------------- /metadata-api/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/metadata-api/app.py -------------------------------------------------------------------------------- /metadata-api/images/bases/base-crab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/metadata-api/images/bases/base-crab.png -------------------------------------------------------------------------------- /metadata-api/images/bases/base-goldfish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/metadata-api/images/bases/base-goldfish.png -------------------------------------------------------------------------------- /metadata-api/images/bases/base-jellyfish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/metadata-api/images/bases/base-jellyfish.png -------------------------------------------------------------------------------- /metadata-api/images/bases/base-narwhal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/metadata-api/images/bases/base-narwhal.png -------------------------------------------------------------------------------- /metadata-api/images/bases/base-starfish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/metadata-api/images/bases/base-starfish.png -------------------------------------------------------------------------------- /metadata-api/images/bases/base-tealfish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/metadata-api/images/bases/base-tealfish.png -------------------------------------------------------------------------------- /metadata-api/images/box/lootbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/metadata-api/images/box/lootbox.png -------------------------------------------------------------------------------- /metadata-api/images/box/multiple-eggs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/metadata-api/images/box/multiple-eggs.png -------------------------------------------------------------------------------- /metadata-api/images/eyes/eyes-big.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/metadata-api/images/eyes/eyes-big.png -------------------------------------------------------------------------------- /metadata-api/images/eyes/eyes-content.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/metadata-api/images/eyes/eyes-content.png -------------------------------------------------------------------------------- /metadata-api/images/eyes/eyes-joy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/metadata-api/images/eyes/eyes-joy.png -------------------------------------------------------------------------------- /metadata-api/images/eyes/eyes-sleepy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/metadata-api/images/eyes/eyes-sleepy.png -------------------------------------------------------------------------------- /metadata-api/images/eyes/eyes-wink.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/metadata-api/images/eyes/eyes-wink.png -------------------------------------------------------------------------------- /metadata-api/images/factory/egg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/metadata-api/images/factory/egg.png -------------------------------------------------------------------------------- /metadata-api/images/factory/four-eggs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/metadata-api/images/factory/four-eggs.png -------------------------------------------------------------------------------- /metadata-api/images/mouths/mouth-cute.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/metadata-api/images/mouths/mouth-cute.png -------------------------------------------------------------------------------- /metadata-api/images/mouths/mouth-happy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/metadata-api/images/mouths/mouth-happy.png -------------------------------------------------------------------------------- /metadata-api/images/mouths/mouth-pleased.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/metadata-api/images/mouths/mouth-pleased.png -------------------------------------------------------------------------------- /metadata-api/images/mouths/mouth-smirk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/metadata-api/images/mouths/mouth-smirk.png -------------------------------------------------------------------------------- /metadata-api/images/mouths/mouth-surprised.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/metadata-api/images/mouths/mouth-surprised.png -------------------------------------------------------------------------------- /metadata-api/images/output/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/metadata-api/images/output/1.png -------------------------------------------------------------------------------- /metadata-api/images/output/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/metadata-api/images/output/3.png -------------------------------------------------------------------------------- /metadata-api/images/output/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/metadata-api/images/output/7.png -------------------------------------------------------------------------------- /metadata-api/images/output/temp.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /metadata-api/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/metadata-api/requirements.txt -------------------------------------------------------------------------------- /metadata-api/src/pip-delete-this-directory.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/metadata-api/src/pip-delete-this-directory.txt -------------------------------------------------------------------------------- /migrations/1_initial_migration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/migrations/1_initial_migration.js -------------------------------------------------------------------------------- /migrations/2_deploy_contracts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/migrations/2_deploy_contracts.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/package.json -------------------------------------------------------------------------------- /scripts/advanced/mint.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/scripts/advanced/mint.js -------------------------------------------------------------------------------- /scripts/initial_sale.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/scripts/initial_sale.js -------------------------------------------------------------------------------- /scripts/sell.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/scripts/sell.js -------------------------------------------------------------------------------- /test/ERC1155Tradable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/test/ERC1155Tradable.js -------------------------------------------------------------------------------- /test/MyCollectible.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/test/MyCollectible.js -------------------------------------------------------------------------------- /test/MyFactory.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/test/MyFactory.js -------------------------------------------------------------------------------- /test/MyLootBox.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/test/MyLootBox.js -------------------------------------------------------------------------------- /truffle-config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/truffle-config.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProjectOpenSea/opensea-erc1155/HEAD/yarn.lock --------------------------------------------------------------------------------