File size: 15,077 Bytes
f998fcd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
  "language": "Solidity",
  "sources": {
    "contracts/AnomuraData.sol": {
      "content": "// SPDX-License-Identifier: MIT\r\npragma solidity 0.8.11;\r\nimport {Ownable} from \"@openzeppelin/contracts/access/Ownable.sol\";\r\n\r\ninterface IAnomuraData\r\n{\r\n    struct Data {\r\n        string[] body;\r\n        string[] claws;\r\n        string[] legs;\r\n        string[] shell;\r\n        string[] headPieces;\r\n        string[] background;\r\n        string[] prefixes;\r\n        string[] suffixes;\r\n        string[] unique;\r\n        string[] backgroundPrefixes;\r\n    }\r\n\r\n    function getAnomuraData() external view returns(Data memory);\r\n}\r\n\r\ncontract AnomuraData is IAnomuraData, Ownable \r\n{\r\n    string[] private clawData;\r\n    string[] private legData;\r\n    string[] private bodyData;\r\n    string[] private shellData;\r\n    string[] private backgroundData;\r\n    string[] private headpiecesData;\r\n    string[] private prefixesData;\r\n    string[] private uniqueData;\r\n    string[] private suffixesData;\r\n    string[] private backgroundPrefixesData;\r\n\r\n    constructor()\r\n    {\r\n        clawData.push(\"Natural Claw\");\r\n        clawData.push(\"Coral Claw\");\r\n        clawData.push(\"Titian Claw\");\r\n        clawData.push(\"Pliers\");\r\n        clawData.push(\"Scissorhands\");\r\n        clawData.push(\"Laser Gun\");\r\n        clawData.push(\"Snow Claw\");\r\n        clawData.push(\"Sky Claw\");\r\n        clawData.push(\"Icicle Claw\");\r\n        clawData.push(\"Pincers\");\r\n        clawData.push(\"Hammer Logs\");\r\n        clawData.push(\"Carnivora Claw\");\r\n        clawData.push(\"Adventure Claw\");\r\n        clawData.push(\"Asteroids Lasergun\");\r\n        clawData.push(\"Pong Claw\");\r\n     \r\n        legData.push(\"Argent Leg\");\r\n        legData.push(\"Sunlit Leg\");\r\n        legData.push(\"Auroral Leg\");\r\n        legData.push(\"Steel Leg\");\r\n        legData.push(\"Tungsten Leg\");\r\n        legData.push(\"Titanium Leg\");\r\n        legData.push(\"Crystal Leg\");\r\n        legData.push(\"Empyrean Leg\");\r\n        legData.push(\"Azure Leg\");\r\n        legData.push(\"Bamboo Leg\");\r\n        legData.push(\"Walmara Leg\");\r\n        legData.push(\"Pintobortri Leg\");\r\n        legData.push(\"Adventure Leg\");\r\n        legData.push(\"Asteroids Leg\");\r\n        legData.push(\"Pong Leg\");\r\n      \r\n        bodyData.push(\"Premier Body\");\r\n        bodyData.push(\"Unhinged Body\");\r\n        bodyData.push(\"Mesmerizing Body\");\r\n        bodyData.push(\"Rave Body\");\r\n        bodyData.push(\"Combustion Body\");\r\n        bodyData.push(\"Radiating Eye\");\r\n        bodyData.push(\"Charring Body\");\r\n        bodyData.push(\"Inferno Body\");\r\n        bodyData.push(\"Siberian Body\");\r\n        bodyData.push(\"Antarctic Body\");\r\n        bodyData.push(\"Glacial Body\");\r\n        bodyData.push(\"Amethyst Body\");\r\n        bodyData.push(\"Beast\");\r\n        bodyData.push(\"Panga Panga\");\r\n        bodyData.push(\"Ceylon Ebony\");\r\n        bodyData.push(\"Katalox\");\r\n        bodyData.push(\"Diamond\");\r\n        bodyData.push(\"Golden\");\r\n        bodyData.push(\"Adventure Body\");\r\n        bodyData.push(\"Asteroids Body\");\r\n        bodyData.push(\"Pong Body\");\r\n\r\n        shellData.push(\"Auger Shell\");\r\n        shellData.push(\"Seasnail Shell\");\r\n        shellData.push(\"Miter Shell\");\r\n        shellData.push(\"Alembic\");\r\n        shellData.push(\"Chimney\");\r\n        shellData.push(\"Starship\");\r\n        shellData.push(\"Ice Cube\");\r\n        shellData.push(\"Ice Shell\");\r\n        shellData.push(\"Frosty\");\r\n        shellData.push(\"Mora\");\r\n        shellData.push(\"Carnivora\");\r\n        shellData.push(\"Pure Runes\");\r\n        shellData.push(\"Architect\");\r\n        shellData.push(\"Bee Hive\");\r\n        shellData.push(\"Coral\");\r\n        shellData.push(\"Crystal\");\r\n        shellData.push(\"Diamond\");\r\n        shellData.push(\"Ethereum\");\r\n        shellData.push(\"Golden Skull\");\r\n        shellData.push(\"Japan Temple\");\r\n        shellData.push(\"Planter\");\r\n        shellData.push(\"Snail\");\r\n        shellData.push(\"Tentacles\");\r\n        shellData.push(\"Tesla Coil\");\r\n        shellData.push(\"Cherry Blossom\");\r\n        shellData.push(\"Maple Green\");\r\n        shellData.push(\"Volcano\");\r\n        shellData.push(\"Adventure Shell\");\r\n        shellData.push(\"Asteroids Shell\");\r\n        shellData.push(\"Pong Shell\");\r\n\r\n        backgroundData.push(\"Crystal Cave\");\r\n        backgroundData.push(\"Crystal Cave Rainbow\");\r\n        backgroundData.push(\"Emerald Forest\");\r\n        backgroundData.push(\"Garden of Eden\");\r\n        backgroundData.push(\"Golden Glade\");\r\n        backgroundData.push(\"Beach\");\r\n        backgroundData.push(\"Magical Deep Sea\");\r\n        backgroundData.push(\"Natural Sea\");\r\n        backgroundData.push(\"Bioluminescent Abyss\");\r\n        backgroundData.push(\"Blazing Furnace\");\r\n        backgroundData.push(\"Steam Apparatus\");\r\n        backgroundData.push(\"Science Lab\");\r\n        backgroundData.push(\"Starship Throne\");\r\n        backgroundData.push(\"Happy Snowfield\");\r\n        backgroundData.push(\"Midnight Mountain\");\r\n        backgroundData.push(\"Cosmic Star\");\r\n        backgroundData.push(\"Sunset Cliffs\");\r\n        backgroundData.push(\"Space Nebula\");\r\n        backgroundData.push(\"Plains of Vietnam\");\r\n        backgroundData.push(\"ZED Run\");\r\n        backgroundData.push(\"African Savannah\");\r\n        backgroundData.push(\"Adventure Space\");\r\n        backgroundData.push(\"Asteroids Space\");\r\n        backgroundData.push(\"Pong Space\");\r\n\r\n        headpiecesData.push(\"Morning Sun Starfish\");\r\n        headpiecesData.push(\"Granulated Starfish\");\r\n        headpiecesData.push(\"Royal Starfish\");\r\n        headpiecesData.push(\"Sapphire\");\r\n        headpiecesData.push(\"Emerald\");\r\n        headpiecesData.push(\"Kunzite\");\r\n        headpiecesData.push(\"Rhodonite\");\r\n        headpiecesData.push(\"Aventurine\");\r\n        headpiecesData.push(\"Peridot\");\r\n        headpiecesData.push(\"Moldavite\");\r\n        headpiecesData.push(\"Jasper\");\r\n        headpiecesData.push(\"Alexandrite\");\r\n        headpiecesData.push(\"Copper Fire\");\r\n        headpiecesData.push(\"Chemical Fire\");\r\n        headpiecesData.push(\"Carmine Fire\");\r\n        headpiecesData.push(\"Adventure Key\");\r\n\r\n        prefixesData.push(\"Briny\");\r\n        prefixesData.push(\"Tempestuous\");\r\n        prefixesData.push(\"Limpid\");\r\n        prefixesData.push(\"Pacific\");\r\n        prefixesData.push(\"Atlantic\");\r\n        prefixesData.push(\"Abysmal\");\r\n        prefixesData.push(\"Profound\");\r\n        prefixesData.push(\"Misty\");\r\n        prefixesData.push(\"Solar\");\r\n        prefixesData.push(\"Empyrean\");\r\n        prefixesData.push(\"Sideral\");\r\n        prefixesData.push(\"Astral\");\r\n        prefixesData.push(\"Ethereal\");\r\n        prefixesData.push(\"Crystal\");\r\n        prefixesData.push(\"Quantum\");\r\n        prefixesData.push(\"Empiric\");\r\n        prefixesData.push(\"Alchemic\");\r\n        prefixesData.push(\"Crash Test\");\r\n        prefixesData.push(\"Nuclear\");\r\n        prefixesData.push(\"Syntethic\");\r\n        prefixesData.push(\"Tempered\");\r\n        prefixesData.push(\"Fossil\");\r\n        prefixesData.push(\"Craggy\");\r\n        prefixesData.push(\"Gemmed\");\r\n        prefixesData.push(\"Verdant\");\r\n        prefixesData.push(\"Lymphatic\");\r\n        prefixesData.push(\"Gnarled\");\r\n        prefixesData.push(\"Lithic\");\r\n\r\n        suffixesData.push(\"of the Coast\");\r\n        suffixesData.push(\"of Maelstrom\");\r\n        suffixesData.push(\"of Depths\");\r\n        suffixesData.push(\"of Eternity\");\r\n        suffixesData.push(\"of Peace\");\r\n        suffixesData.push(\"of Equilibrium\");\r\n\r\n        suffixesData.push(\"of the Universe\");\r\n        suffixesData.push(\"of the Galaxy\");\r\n        suffixesData.push(\"of Absolute Zero\");\r\n        suffixesData.push(\"of Constellations\");\r\n        suffixesData.push(\"of the Moon\");\r\n        suffixesData.push(\"of Lightspeed\");\r\n\r\n        suffixesData.push(\"of Evidence\");\r\n        suffixesData.push(\"of Relativity\");\r\n        suffixesData.push(\"of Evolution\");\r\n        suffixesData.push(\"of Consumption\");\r\n        suffixesData.push(\"of Progress\");\r\n        suffixesData.push(\"of Damascus\");\r\n\r\n        suffixesData.push(\"of Gaia\");\r\n        suffixesData.push(\"of The Wild\");\r\n        suffixesData.push(\"of Overgrowth\");\r\n        suffixesData.push(\"of Rebirth\");\r\n        suffixesData.push(\"of World Roots\");\r\n        suffixesData.push(\"of Stability\");\r\n\r\n        uniqueData.push(\"The Leviathan\");\r\n        uniqueData.push(\"Will of Oceanus\");\r\n        uniqueData.push(\"Suijin's Touch\");\r\n        uniqueData.push(\"Tiamat Kiss\");\r\n        uniqueData.push(\"Poseidon Vow\");\r\n        uniqueData.push(\"Long bao\");\r\n\r\n        uniqueData.push(\"Uranus Wish\");\r\n        uniqueData.push(\"Aim of Indra\");\r\n        uniqueData.push(\"Cry of Yuki Onna\");\r\n        uniqueData.push(\"Sirius\");\r\n        uniqueData.push(\"Vega\");\r\n        uniqueData.push(\"Altair\");\r\n\r\n        uniqueData.push(\"Ephestos Skill\");\r\n        uniqueData.push(\"Gift of Prometheus\");\r\n        uniqueData.push(\"Pandora's\");\r\n        uniqueData.push(\"Wit of Lu Dongbin\");\r\n        uniqueData.push(\"Thoth's Trick\");\r\n        uniqueData.push(\"Cyclopes Plan\");\r\n\r\n        uniqueData.push(\"Root of Dimu\");\r\n        uniqueData.push(\"Bhumi's Throne\");\r\n        uniqueData.push(\"Rive of Daphne\");\r\n        uniqueData.push(\"The Minotaur\");\r\n        uniqueData.push(\"Call of Cernunnos\");\r\n        uniqueData.push(\"Graze of Terra\");\r\n\r\n        backgroundPrefixesData.push(\"Bountiful\");\r\n        backgroundPrefixesData.push(\"Isolated\");\r\n        backgroundPrefixesData.push(\"Mechanical\");\r\n        backgroundPrefixesData.push(\"Reborn\");\r\n    }\r\n\r\n    function getAnomuraData() external view returns(Data memory anomuraData){\r\n        anomuraData = Data({\r\n            body: bodyData,\r\n            claws: clawData,\r\n            legs: legData,\r\n            shell: shellData,\r\n            headPieces: headpiecesData,\r\n            background: backgroundData,\r\n            prefixes: prefixesData,\r\n            suffixes: suffixesData,\r\n            unique: uniqueData,\r\n            backgroundPrefixes: backgroundPrefixesData\r\n        });\r\n    }\r\n}"
    },
    "@openzeppelin/contracts/access/Ownable.sol": {
      "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)\n\npragma solidity ^0.8.0;\n\nimport \"../utils/Context.sol\";\n\n/**\n * @dev Contract module which provides a basic access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * By default, the owner account will be the one that deploys the contract. This\n * can later be changed with {transferOwnership}.\n *\n * This module is used through inheritance. It will make available the modifier\n * `onlyOwner`, which can be applied to your functions to restrict their use to\n * the owner.\n */\nabstract contract Ownable is Context {\n    address private _owner;\n\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n    /**\n     * @dev Initializes the contract setting the deployer as the initial owner.\n     */\n    constructor() {\n        _transferOwnership(_msgSender());\n    }\n\n    /**\n     * @dev Throws if called by any account other than the owner.\n     */\n    modifier onlyOwner() {\n        _checkOwner();\n        _;\n    }\n\n    /**\n     * @dev Returns the address of the current owner.\n     */\n    function owner() public view virtual returns (address) {\n        return _owner;\n    }\n\n    /**\n     * @dev Throws if the sender is not the owner.\n     */\n    function _checkOwner() internal view virtual {\n        require(owner() == _msgSender(), \"Ownable: caller is not the owner\");\n    }\n\n    /**\n     * @dev Leaves the contract without owner. It will not be possible to call\n     * `onlyOwner` functions anymore. Can only be called by the current owner.\n     *\n     * NOTE: Renouncing ownership will leave the contract without an owner,\n     * thereby removing any functionality that is only available to the owner.\n     */\n    function renounceOwnership() public virtual onlyOwner {\n        _transferOwnership(address(0));\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Can only be called by the current owner.\n     */\n    function transferOwnership(address newOwner) public virtual onlyOwner {\n        require(newOwner != address(0), \"Ownable: new owner is the zero address\");\n        _transferOwnership(newOwner);\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Internal function without access restriction.\n     */\n    function _transferOwnership(address newOwner) internal virtual {\n        address oldOwner = _owner;\n        _owner = newOwner;\n        emit OwnershipTransferred(oldOwner, newOwner);\n    }\n}\n"
    },
    "@openzeppelin/contracts/utils/Context.sol": {
      "content": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n    function _msgSender() internal view virtual returns (address) {\n        return msg.sender;\n    }\n\n    function _msgData() internal view virtual returns (bytes calldata) {\n        return msg.data;\n    }\n}\n"
    }
  },
  "settings": {
    "optimizer": {
      "enabled": true,
      "runs": 200
    },
    "outputSelection": {
      "*": {
        "*": [
          "evm.bytecode",
          "evm.deployedBytecode",
          "devdoc",
          "userdoc",
          "metadata",
          "abi"
        ]
      }
    },
    "metadata": {
      "useLiteralContent": true
    },
    "libraries": {}
  }
}