ETH Price: $2,505.19 (-1.19%)

Token

Anonymice Burned (bMICE)
 

Overview

Max Total Supply

33 bMICE

Holders

15

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
*anony🐭️.eth
Balance
5 bMICE
0xDEe87255fB9D768Ac3FF0185792Fc13ab8b8112B
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
AnonymiceBurnedReveal

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 17 : AnonymiceBurnedReveal.sol
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/access/Ownable.sol";
import '@openzeppelin/contracts/utils/math/SafeMath.sol';
import '@openzeppelin/contracts/interfaces/IERC721.sol';
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "./AnonymiceLibrary.sol";
import "./OriginalAnonymiceInterface.sol";


//
//  THIS CONTRACT IS THE REVEAL CONTRACT FOR anonymiceburned.com !!
//  To own a burned mice, make sure to first mint it from contract 0x86B130EBb01A1c22f0bE5215dA29daBbEBC43eA8
//  then come here and claim it using the reveal() function. You can easily do that from our dApp on anonymiceburned.com
//
//  This was necessary due to a small bug on mint contract that prevents OpenSea from seeing the minted mice.
//  This contract will be also the core and sole cave of the burned mice!
//

//        d8888                                                   d8b                       888888b.                                           888
//       d88888                                                   Y8P                       888  "88b                                          888
//      d88P888                                                                             888  .88P                                          888
//     d88P 888 88888b.   .d88b.  88888b.  888  888 88888b.d88b.  888  .d8888b .d88b.       8888888K.  888  888 888d888 88888b.   .d88b.   .d88888
//    d88P  888 888 "88b d88""88b 888 "88b 888  888 888 "888 "88b 888 d88P"   d8P  Y8b      888  "Y88b 888  888 888P"   888 "88b d8P  Y8b d88" 888
//   d88P   888 888  888 888  888 888  888 888  888 888  888  888 888 888     88888888      888    888 888  888 888     888  888 88888888 888  888
//  d8888888888 888  888 Y88..88P 888  888 Y88b 888 888  888  888 888 Y88b.   Y8b.          888   d88P Y88b 888 888     888  888 Y8b.     Y88b 888
// d88P     888 888  888  "Y88P"  888  888  "Y88888 888  888  888 888  "Y8888P "Y8888       8888888P"   "Y88888 888     888  888  "Y8888   "Y88888
//                                              888
//                                         Y8b d88P
//                                          "Y88P"

contract AnonymiceBurnedReveal is ERC721Enumerable, Ownable {

    using AnonymiceLibrary for uint8;

    //Mappings
    mapping(uint256 => bool) private _tokenAlreadyRevealed;
    uint16[6450] internal tokenToOriginalMiceId;
    OriginalAnonymiceInterface.Trait[] internal burnedTraitType;

    //uint256s
    uint256 MAX_SUPPLY = 6450;

    //addresses
    address anonymiceContract = 0xbad6186E92002E312078b5a1dAfd5ddf63d3f731;
    address anonymiceResurrectionContract = 0x86B130EBb01A1c22f0bE5215dA29daBbEBC43eA8;

    //string arrays
    string[] LETTERS = [ "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m",
        "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"
    ];

    //events
    event TokenMinted(uint256 supply);

    constructor() ERC721("Anonymice Burned", "bMICE") {
    }

    //  β–ˆβ–ˆβ–ˆβ•—   β–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ•—   β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ•—   β–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—     β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•—   β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ•—   β–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ•—   β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
    //  β–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•‘β•šβ•β•β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β•     β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β•β•šβ•β•β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β•
    //  β–ˆβ–ˆβ•”β–ˆβ–ˆβ–ˆβ–ˆβ•”β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ–ˆβ•—    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘        β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
    //  β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘    β–ˆβ–ˆβ•”β•β•β•  β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘        β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β•šβ•β•β•β•β–ˆβ–ˆβ•‘
    //  β–ˆβ–ˆβ•‘ β•šβ•β• β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•    β–ˆβ–ˆβ•‘     β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘
    //  β•šβ•β•     β•šβ•β•β•šβ•β•β•šβ•β•  β•šβ•β•β•β•   β•šβ•β•   β•šβ•β•β•šβ•β•  β•šβ•β•β•β• β•šβ•β•β•β•β•β•     β•šβ•β•      β•šβ•β•β•β•β•β• β•šβ•β•  β•šβ•β•β•β• β•šβ•β•β•β•β•β•   β•šβ•β•   β•šβ•β• β•šβ•β•β•β•β•β• β•šβ•β•  β•šβ•β•β•β•β•šβ•β•β•β•β•β•β•


    /**
     * @dev Mint internal, this is to avoid code duplication.
     */
    function mintInternal(uint256 tokenId, uint256 originalTokenId, address to) internal {
        tokenToOriginalMiceId[tokenId] = uint16(originalTokenId);
        _safeMint(to, tokenId);
        emit TokenMinted(tokenId);
    }

    /**
     * @dev Kills the mice again, this time forever.
     * @param _tokenId The token to burn.
     */
    function killForever(uint256 _tokenId) public {
        require(ownerOf(_tokenId) == msg.sender);
        //Burn token
        _transfer(
            msg.sender,
            0x000000000000000000000000000000000000dEaD,
            _tokenId
        );
    }

    //  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—     β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•—   β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ•—   β–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ•—   β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
    //  β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—    β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β•β•šβ•β•β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β•
    //  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘        β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
    //  β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β•  β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘    β–ˆβ–ˆβ•”β•β•β•  β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘        β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β•šβ•β•β•β•β–ˆβ–ˆβ•‘
    //  β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•    β–ˆβ–ˆβ•‘     β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘
    //  β•šβ•β•  β•šβ•β•β•šβ•β•β•β•β•β•β•β•šβ•β•  β•šβ•β•β•šβ•β•β•β•β•β•     β•šβ•β•      β•šβ•β•β•β•β•β• β•šβ•β•  β•šβ•β•β•β• β•šβ•β•β•β•β•β•   β•šβ•β•   β•šβ•β• β•šβ•β•β•β•β•β• β•šβ•β•  β•šβ•β•β•β•β•šβ•β•β•β•β•β•β•


    /**
     * @dev Helper function to reduce pixel size within contract
     */
    function letterToNumber(string memory _inputLetter)
    internal
    view
    returns (uint8)
    {
        for (uint8 i = 0; i < LETTERS.length; i++) {
            if (
                keccak256(abi.encodePacked((LETTERS[i]))) ==
                keccak256(abi.encodePacked((_inputLetter)))
            ) return (i + 1);
        }
        revert();
    }

    /**
     * @dev Hash to SVG function
     */
    function hashToSVG(string memory _hash)
    public
    view
    returns (string memory)
    {
        string memory svgString;
        bool[24][24] memory placedPixels;
        OriginalAnonymiceInterface originalMiceCollection = OriginalAnonymiceInterface(anonymiceContract);

        for (uint8 i = 0; i < 9; i++) {
            uint8 thisTraitIndex = AnonymiceLibrary.parseInt(
                AnonymiceLibrary.substring(_hash, i, i + 1)
            );
            OriginalAnonymiceInterface.Trait memory trait;
            if (i == 0) {
                trait = OriginalAnonymiceInterface.Trait(
                    burnedTraitType[thisTraitIndex].traitName,
                    burnedTraitType[thisTraitIndex].traitType,
                    burnedTraitType[thisTraitIndex].pixels,
                    burnedTraitType[thisTraitIndex].pixelCount
                );
            } else {
                (string memory traitName, string memory traitType, string memory pixels, uint pixelCount) =
                    originalMiceCollection.traitTypes(i, thisTraitIndex);
                trait = OriginalAnonymiceInterface.Trait(
                    traitName,
                        traitType,
                        pixels,
                        pixelCount
                );
            }

            for (
                uint16 j = 0;
                j < trait.pixelCount;
                j++
            ) {
                string memory thisPixel = AnonymiceLibrary.substring(
                    trait.pixels,
                    j * 4,
                    j * 4 + 4
                );

                uint8 x = letterToNumber(
                    AnonymiceLibrary.substring(thisPixel, 0, 1)
                );
                uint8 y = letterToNumber(
                    AnonymiceLibrary.substring(thisPixel, 1, 2)
                );

                if (placedPixels[x][y]) continue;

                svgString = string(
                    abi.encodePacked(
                        svgString,
                        "<rect class='c",
                        AnonymiceLibrary.substring(thisPixel, 2, 4),
                        "' x='",
                        x.toString(),
                        "' y='",
                        y.toString(),
                        "'/>"
                    )
                );

                placedPixels[x][y] = true;
            }
        }

        svgString = string(
            abi.encodePacked(
                '<svg id="mouse-svg" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMin meet" viewBox="0 0 24 24"> ',
                svgString,
                "<style>rect{width:1px;height:1px;} #mouse-svg{shape-rendering: crispedges;} .c00{fill:#000000}.c01{fill:#B1ADAC}.c02{fill:#D7D7D7}.c03{fill:#FFA6A6}.c04{fill:#FFD4D5}.c05{fill:#B9AD95}.c06{fill:#E2D6BE}.c07{fill:#7F625A}.c08{fill:#A58F82}.c09{fill:#4B1E0B}.c10{fill:#6D2C10}.c11{fill:#D8D8D8}.c12{fill:#F5F5F5}.c13{fill:#433D4B}.c14{fill:#8D949C}.c15{fill:#05FF00}.c16{fill:#01C700}.c17{fill:#0B8F08}.c18{fill:#421C13}.c19{fill:#6B392A}.c20{fill:#A35E40}.c21{fill:#DCBD91}.c22{fill:#777777}.c23{fill:#848484}.c24{fill:#ABABAB}.c25{fill:#BABABA}.c26{fill:#C7C7C7}.c27{fill:#EAEAEA}.c28{fill:#0C76AA}.c29{fill:#0E97DB}.c30{fill:#10A4EC}.c31{fill:#13B0FF}.c32{fill:#2EB9FE}.c33{fill:#54CCFF}.c34{fill:#50C0F2}.c35{fill:#54CCFF}.c36{fill:#72DAFF}.c37{fill:#B6EAFF}.c38{fill:#FFFFFF}.c39{fill:#954546}.c40{fill:#0B87F7}.c41{fill:#FF2626}.c42{fill:#180F02}.c43{fill:#2B2319}.c44{fill:#FBDD4B}.c45{fill:#F5B923}.c46{fill:#CC8A18}.c47{fill:#3C2203}.c48{fill:#53320B}.c49{fill:#7B501D}.c50{fill:#FFE646}.c51{fill:#FFD627}.c52{fill:#F5B700}.c53{fill:#242424}.c54{fill:#4A4A4A}.c55{fill:#676767}.c56{fill:#F08306}.c57{fill:#FCA30E}.c58{fill:#FEBC0E}.c59{fill:#FBEC1C}.c60{fill:#14242F}.c61{fill:#B06837}.c62{fill:#8F4B0E}.c63{fill:#D88227}.c64{fill:#B06837}.c65{fill:#4F10FF}.c66{fill:#3D9EFD}.c67{fill:#98FFE0}.c68{fill:#45C4F8}</style></svg>"
            )
        );

        return svgString;
    }

    /**
     * @dev Hash to metadata function
     */
    function hashToMetadata(string memory _hash, uint _tokenId)
    public
    view
    returns (string memory)
    {
        string memory metadataString;
        OriginalAnonymiceInterface originalMiceCollection = OriginalAnonymiceInterface(anonymiceContract);

        for (uint8 i = 0; i < 9; i++) {
            uint8 thisTraitIndex = AnonymiceLibrary.parseInt(
                AnonymiceLibrary.substring(_hash, i, i + 1)
            );

            OriginalAnonymiceInterface.Trait memory trait;
            if (i == 0) {
                trait = OriginalAnonymiceInterface.Trait(
                    burnedTraitType[thisTraitIndex].traitName,
                    burnedTraitType[thisTraitIndex].traitType,
                    burnedTraitType[thisTraitIndex].pixels,
                    burnedTraitType[thisTraitIndex].pixelCount
                );
            } else {
                (string memory traitName, string memory traitType, string memory pixels, uint pixelCount) =
                originalMiceCollection.traitTypes(i, thisTraitIndex);
                trait = OriginalAnonymiceInterface.Trait(
                    traitName,
                    traitType,
                    pixels,
                    pixelCount
                );
            }

            metadataString = string(
                abi.encodePacked(
                    metadataString,
                    '{"trait_type":"',
                        trait.traitType,
                    '","value":"',
                        trait.traitName,
                    '"}'
                )
            );

            if (i != 8)
                metadataString = string(abi.encodePacked(metadataString, ","));
        }

        // add the property of original token id number
        metadataString = string(
            abi.encodePacked(
                metadataString,
                ',{"trait_type":"',
                'original_mice',
                '","value":"',
                AnonymiceLibrary.toString(tokenToOriginalMiceId[_tokenId]),
                '"}'
            )
        );

        return string(abi.encodePacked("[", metadataString, "]"));
    }

    /**
     * @dev Returns the SVG and metadata for a token Id
     * @param _tokenId The tokenId to return the SVG and metadata for.
     */
    function tokenURI(uint256 _tokenId)
    public
    view
    override
    returns (string memory)
    {
        require(_exists(_tokenId));

        string memory tokenHash = _tokenIdToHash(_tokenId);

        return
        string(
            abi.encodePacked(
                "data:application/json;base64,",
                AnonymiceLibrary.encode(
                    bytes(
                        string(
                            abi.encodePacked(
                                '{"name": "Anonymice #',
                                AnonymiceLibrary.toString(_tokenId),
                                '", "description": "Anonymice Burned is a collection of 6,450 burned mices from the Anonymice collection, with the same traits as the burned ones. Like the original collection, metadata and images are generated and stored 100% on-chain. No IPFS, no API. Just the Ethereum blockchain. And a group of resurrected mices", "image": "data:image/svg+xml;base64,',
                                AnonymiceLibrary.encode(
                                    bytes(hashToSVG(tokenHash))
                                ),
                                '","attributes":',
                                hashToMetadata(tokenHash, _tokenId),
                                "}"
                            )
                        )
                    )
                )
            )
        );
    }

    /**
     * @dev Returns a hash for a given tokenId
     * @param _tokenId The tokenId to return the hash for.
     */
    function _tokenIdToHash(uint256 _tokenId)
    public
    view
    returns (string memory)
    {
        OriginalAnonymiceInterface originalMiceCollection = OriginalAnonymiceInterface(anonymiceContract);
        string memory tokenHash = originalMiceCollection._tokenIdToHash(uint256(tokenToOriginalMiceId[_tokenId]));
        //If this is a burned token, override the previous hash
        if (ownerOf(_tokenId) == 0x000000000000000000000000000000000000dEaD) {
            tokenHash = string(
                abi.encodePacked(
                    "1",
                    AnonymiceLibrary.substring(tokenHash, 1, 9)
                )
            );
        } else {
            tokenHash = string(
                abi.encodePacked(
                    "0",
                    AnonymiceLibrary.substring(tokenHash, 1, 9)
                )
            );
        }

        return tokenHash;
    }

    function reveal() public {
        // get tokens of the owner
        ERC721Enumerable resurrectionContract = ERC721Enumerable(anonymiceResurrectionContract);
        ERC721Enumerable originalContract = ERC721Enumerable(anonymiceContract);
        uint numOfTokens = resurrectionContract.balanceOf(msg.sender);
        for (uint i=0; i<numOfTokens; i++) {
            uint tokenId = resurrectionContract.tokenOfOwnerByIndex(msg.sender, i);
            if (_tokenAlreadyRevealed[tokenId]) {
                continue;
            }
            uint originalTokenId = originalContract.tokenOfOwnerByIndex(0x000000000000000000000000000000000000dEaD, tokenId);
            mintInternal(tokenId, originalTokenId, msg.sender);
            _tokenAlreadyRevealed[tokenId] = true;
        }
    }

    /**
     * @dev Returns the wallet of a given wallet. Mainly for ease for frontend devs.
     * @param _wallet The wallet to get the tokens of.
     */
    function walletOfOwner(address _wallet)
    public
    view
    returns (uint256[] memory)
    {
        uint256 tokenCount = balanceOf(_wallet);

        uint256[] memory tokensId = new uint256[](tokenCount);
        for (uint256 i; i < tokenCount; i++) {
            tokensId[i] = tokenOfOwnerByIndex(_wallet, i);
        }
        return tokensId;
    }


//   β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•—    β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ•—   β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—     β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•—   β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ•—   β–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ•—   β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
//  β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘    β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—    β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β•β•šβ•β•β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β•
//  β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘ β–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘        β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
//  β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•  β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—    β–ˆβ–ˆβ•”β•β•β•  β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘        β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘β•šβ•β•β•β•β–ˆβ–ˆβ•‘
//  β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β•šβ–ˆβ–ˆβ–ˆβ•”β–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘    β–ˆβ–ˆβ•‘     β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘ β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘
//   β•šβ•β•β•β•β•β•  β•šβ•β•β•β•šβ•β•β• β•šβ•β•  β•šβ•β•β•β•β•šβ•β•β•β•β•β•β•β•šβ•β•  β•šβ•β•    β•šβ•β•      β•šβ•β•β•β•β•β• β•šβ•β•  β•šβ•β•β•β• β•šβ•β•β•β•β•β•   β•šβ•β•   β•šβ•β• β•šβ•β•β•β•β•β• β•šβ•β•  β•šβ•β•β•β•β•šβ•β•β•β•β•β•β•


    /**
     * @dev Clears the traits.
     */
    function clearBurnedTraits() public onlyOwner {
        for (uint256 i = 0; i < burnedTraitType.length; i++) {
            delete burnedTraitType[i];
        }
    }

    /**
     * @dev Add trait types of burned
     * @param traits Array of traits to add
     */

    function addBurnedTraitType(OriginalAnonymiceInterface.Trait[] memory traits)
    public
    onlyOwner
    {
        for (uint256 i = 0; i < traits.length; i++) {
            burnedTraitType.push(
                OriginalAnonymiceInterface.Trait(
                    traits[i].traitName,
                    traits[i].traitType,
                    traits[i].pixels,
                    traits[i].pixelCount
                )
            );
        }

        return;
    }

    /**
     * @dev Collects the total amount in the contract
     */
    function withdraw() public onlyOwner {
        uint256 balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }

    /**
     * @dev Collects the total amount in the contract
     * @param newAddress The new address of the anonymice contract
     */
    function setAnonymiceOriginalContractAddress(address newAddress) public onlyOwner {
        anonymiceContract = newAddress;
    }
    /**
     * @dev Collects the total amount in the contract
     * @param newAddress The new address of the anonymice contract
     */
    function setAnonymiceResurrectionContractAddress(address newAddress) public onlyOwner {
        anonymiceResurrectionContract = newAddress;
    }

}

File 2 of 17 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 17 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 4 of 17 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../token/ERC721/IERC721.sol";

File 5 of 17 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) {
        return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 6 of 17 : AnonymiceLibrary.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

library AnonymiceLibrary {
    string internal constant TABLE =
    "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    function encode(bytes memory data) internal pure returns (string memory) {
        if (data.length == 0) return "";

        // load the table into memory
        string memory table = TABLE;

        // multiply by 4/3 rounded up
        uint256 encodedLen = 4 * ((data.length + 2) / 3);

        // add some extra buffer at the end required for the writing
        string memory result = new string(encodedLen + 32);

        assembly {
        // set the actual output length
            mstore(result, encodedLen)

        // prepare the lookup table
            let tablePtr := add(table, 1)

        // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))

        // result ptr, jump over length
            let resultPtr := add(result, 32)

        // run over the input, 3 bytes at a time
            for {

            } lt(dataPtr, endPtr) {

            } {
                dataPtr := add(dataPtr, 3)

            // read 3 bytes
                let input := mload(dataPtr)

            // write 4 characters
                mstore(
                resultPtr,
                shl(248, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                )
                resultPtr := add(resultPtr, 1)
                mstore(
                resultPtr,
                shl(248, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                )
                resultPtr := add(resultPtr, 1)
                mstore(
                resultPtr,
                shl(248, mload(add(tablePtr, and(shr(6, input), 0x3F))))
                )
                resultPtr := add(resultPtr, 1)
                mstore(
                resultPtr,
                shl(248, mload(add(tablePtr, and(input, 0x3F))))
                )
                resultPtr := add(resultPtr, 1)
            }

        // padding with '='
            switch mod(mload(data), 3)
            case 1 {
                mstore(sub(resultPtr, 2), shl(240, 0x3d3d))
            }
            case 2 {
                mstore(sub(resultPtr, 1), shl(248, 0x3d))
            }
        }

        return result;
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    function parseInt(string memory _a)
    internal
    pure
    returns (uint8 _parsedInt)
    {
        bytes memory bresult = bytes(_a);
        uint8 mint = 0;
        for (uint8 i = 0; i < bresult.length; i++) {
            if (
                (uint8(uint8(bresult[i])) >= 48) &&
                (uint8(uint8(bresult[i])) <= 57)
            ) {
                mint *= 10;
                mint += uint8(bresult[i]) - 48;
            }
        }
        return mint;
    }

    function substring(
        string memory str,
        uint256 startIndex,
        uint256 endIndex
    ) internal pure returns (string memory) {
        bytes memory strBytes = bytes(str);
        bytes memory result = new bytes(endIndex - startIndex);
        for (uint256 i = startIndex; i < endIndex; i++) {
            result[i - startIndex] = strBytes[i];
        }
        return string(result);
    }

    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }
}

File 7 of 17 : OriginalAnonymiceInterface.sol
pragma solidity ^0.8.4;

interface OriginalAnonymiceInterface {
    struct Trait {
        string traitName;
        string traitType;
        string pixels;
        uint256 pixelCount;
    }
    function _tokenIdToHash(uint _tokenId) external view returns (string memory);
    function traitTypes(uint a, uint b) external view returns (string memory, string memory, string memory, uint);
}

File 8 of 17 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 9 of 17 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

File 10 of 17 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 11 of 17 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 12 of 17 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 13 of 17 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 14 of 17 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 15 of 17 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 16 of 17 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 17 of 17 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"supply","type":"uint256"}],"name":"TokenMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"_tokenIdToHash","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"string","name":"traitName","type":"string"},{"internalType":"string","name":"traitType","type":"string"},{"internalType":"string","name":"pixels","type":"string"},{"internalType":"uint256","name":"pixelCount","type":"uint256"}],"internalType":"struct OriginalAnonymiceInterface.Trait[]","name":"traits","type":"tuple[]"}],"name":"addBurnedTraitType","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"clearBurnedTraits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_hash","type":"string"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"hashToMetadata","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_hash","type":"string"}],"name":"hashToSVG","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"killForever","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setAnonymiceOriginalContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setAnonymiceResurrectionContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6119326101a1556101a280546001600160a01b031990811673bad6186e92002e312078b5a1dafd5ddf63d3f731179091556101a380549091167386b130ebb01a1c22f0be5215da29dabbebc43ea817905560016103c0818152606160f81b6103e0526080908152610400828152603160f91b6104205260a052610440828152606360f81b6104605260c052610480828152601960fa1b6104a05260e0526104c0828152606560f81b6104e05261010052610500828152603360f91b6105205261012052610540828152606760f81b6105605261014052610580828152600d60fb1b6105a052610160526105c0828152606960f81b6105e05261018052610600828152603560f91b610620526101a052610640828152606b60f81b610660526101c052610680828152601b60fa1b6106a0526101e0526106c0828152606d60f81b6106e05261020052610700828152603760f91b6107205261022052610740828152606f60f81b6107605261024052610780828152600760fc1b6107a052610260526107c0828152607160f81b6107e05261028052610800828152603960f91b610820526102a052610840828152607360f81b610860526102c052610880828152601d60fa1b6108a0526102e0526108c0828152607560f81b6108e05261030052610900828152603b60f91b6109205261032052610940828152607760f81b6109605261034052610980828152600f60fb1b6109a052610360526109c0828152607960f81b6109e05261038052610a40604052610a00918252603d60f91b610a20526103a09190915262000258906101a490601a6200034b565b503480156200026657600080fd5b50604080518082018252601081526f105b9bdb9e5b5a58d948109d5c9b995960821b602080830191825283518085019094526005845264624d49434560d81b908401528151919291620002bc91600091620003af565b508051620002d2906001906020840190620003af565b505050620002ef620002e9620002f560201b60201c565b620002f9565b620004f1565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280548282559060005260206000209081019282156200039d579160200282015b828111156200039d57825180516200038c918491602090910190620003af565b50916020019190600101906200036c565b50620003ab9291506200043a565b5090565b828054620003bd90620004b4565b90600052602060002090601f016020900481019282620003e157600085556200042c565b82601f10620003fc57805160ff19168380011785556200042c565b828001600101855582156200042c579182015b828111156200042c5782518255916020019190600101906200040f565b50620003ab9291506200045b565b80821115620003ab57600062000451828262000472565b506001016200043a565b5b80821115620003ab57600081556001016200045c565b5080546200048090620004b4565b6000825580601f1062000491575050565b601f016020900490600052602060002090810190620004b191906200045b565b50565b600181811c90821680620004c957607f821691505b60208210811415620004eb57634e487b7160e01b600052602260045260246000fd5b50919050565b6143c080620005016000396000f3fe608060405234801561001057600080fd5b50600436106101d95760003560e01c806370a0823111610104578063a475b5dd116100a2578063c87b56dd11610071578063c87b56dd146103d4578063cb697ea2146103e7578063e985e9c5146103fa578063f2fde38b1461043657600080fd5b8063a475b5dd14610393578063aee1bef41461039b578063b88d4fde146103ae578063b9e6cfad146103c157600080fd5b80638da5cb5b116100de5780638da5cb5b1461035457806392eca3401461036557806395d89b4114610378578063a22cb4651461038057600080fd5b806370a0823114610326578063715018a61461033957806389ce30741461034157600080fd5b806323b872dd1161017c578063438b63001161014b578063438b6300146102d85780634f6ccce7146102f8578063564acc3a1461030b5780636352211e1461031357600080fd5b806323b872dd146102975780632f745c59146102aa5780633ccfd60b146102bd57806342842e0e146102c557600080fd5b8063081812fc116101b8578063081812fc14610232578063095ea7b31461025d5780630b7fe9b51461027257806318160ddd1461028557600080fd5b80625ea307146101de57806301ffc9a71461020757806306fdde031461022a575b600080fd5b6101f16101ec36600461321a565b610449565b6040516101fe9190613f8d565b60405180910390f35b61021a6102153660046130b1565b6105a1565b60405190151581526020016101fe565b6101f16105cc565b61024561024036600461321a565b61065e565b6040516001600160a01b0390911681526020016101fe565b61027061026b366004612fc7565b6106f8565b005b61027061028036600461321a565b61080e565b6008545b6040519081526020016101fe565b6102706102a5366004612eda565b61083b565b6102896102b8366004612fc7565b61086c565b610270610902565b6102706102d3366004612eda565b61095f565b6102eb6102e6366004612e8e565b61097a565b6040516101fe9190613f49565b61028961030636600461321a565b610a37565b610270610ad8565b61024561032136600461321a565b610b84565b610289610334366004612e8e565b610bfb565b610270610c82565b6101f161034f3660046130e9565b610cb8565b600a546001600160a01b0316610245565b610270610373366004612e8e565b611254565b6101f16112a1565b61027061038e366004612f8d565b6112b0565b610270611375565b6102706103a9366004612ff0565b61156f565b6102706103bc366004612f15565b6116f9565b6101f16103cf3660046131d8565b61172b565b6101f16103e236600461321a565b611be8565b6102706103f5366004612e8e565b611c8d565b61021a610408366004612ea8565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610270610444366004612e8e565b611cda565b6101a2546060906001600160a01b0316600081625ea307600c86611932811061048257634e487b7160e01b600052603260045260246000fd5b601091828204019190066002029054906101000a900461ffff1661ffff166040518263ffffffff1660e01b81526004016104be91815260200190565b60006040518083038186803b1580156104d657600080fd5b505afa1580156104ea573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610512919081019061311b565b905061051d84610b84565b6001600160a01b031661dead6001600160a01b0316141561056b576105458160016009611d72565b6040516020016105559190613efa565b604051602081830303815290604052905061059a565b6105788160016009611d72565b604051602001610588919061351f565b60405160208183030381529060405290505b9392505050565b60006001600160e01b0319821663780e9d6360e01b14806105c657506105c682611e68565b92915050565b6060600080546105db90614246565b80601f016020809104026020016040519081016040528092919081815260200182805461060790614246565b80156106545780601f1061062957610100808354040283529160200191610654565b820191906000526020600020905b81548152906001019060200180831161063757829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166106dc5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061070382610b84565b9050806001600160a01b0316836001600160a01b031614156107715760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106d3565b336001600160a01b038216148061078d575061078d8133610408565b6107ff5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106d3565b6108098383611eb8565b505050565b3361081882610b84565b6001600160a01b03161461082b57600080fd5b6108383361dead83611f26565b50565b61084533826120d1565b6108615760405162461bcd60e51b81526004016106d390614027565b610809838383611f26565b600061087783610bfb565b82106108d95760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016106d3565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b0316331461092c5760405162461bcd60e51b81526004016106d390613ff2565b6040514790339082156108fc029083906000818181858888f1935050505015801561095b573d6000803e3d6000fd5b5050565b610809838383604051806020016040528060008152506116f9565b6060600061098783610bfb565b90506000816001600160401b038111156109b157634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156109da578160200160208202803683370190505b50905060005b82811015610a2f576109f2858261086c565b828281518110610a1257634e487b7160e01b600052603260045260246000fd5b602090810291909101015280610a27816142a3565b9150506109e0565b509392505050565b6000610a4260085490565b8210610aa55760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016106d3565b60088281548110610ac657634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600a546001600160a01b03163314610b025760405162461bcd60e51b81526004016106d390613ff2565b60005b6101a054811015610838576101a08181548110610b3257634e487b7160e01b600052603260045260246000fd5b60009182526020822060049091020190610b4c8282612c16565b610b5a600183016000612c16565b610b68600283016000612c16565b5060006003919091015580610b7c816142a3565b915050610b05565b6000818152600260205260408120546001600160a01b0316806105c65760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106d3565b60006001600160a01b038216610c665760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106d3565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610cac5760405162461bcd60e51b81526004016106d390613ff2565b610cb660006121c8565b565b606080610cc3612c50565b6101a2546001600160a01b031660005b60098160ff161015611229576000610d04610cff8860ff8516610cf7866001614135565b60ff16611d72565b61221a565b9050610d316040518060800160405280606081526020016060815260200160608152602001600081525090565b60ff8316610fd15760405180608001604052806101a08460ff1681548110610d6957634e487b7160e01b600052603260045260246000fd5b90600052602060002090600402016000018054610d8590614246565b80601f0160208091040260200160405190810160405280929190818152602001828054610db190614246565b8015610dfe5780601f10610dd357610100808354040283529160200191610dfe565b820191906000526020600020905b815481529060010190602001808311610de157829003601f168201915b505050505081526020016101a08460ff1681548110610e2d57634e487b7160e01b600052603260045260246000fd5b90600052602060002090600402016001018054610e4990614246565b80601f0160208091040260200160405190810160405280929190818152602001828054610e7590614246565b8015610ec25780601f10610e9757610100808354040283529160200191610ec2565b820191906000526020600020905b815481529060010190602001808311610ea557829003601f168201915b505050505081526020016101a08460ff1681548110610ef157634e487b7160e01b600052603260045260246000fd5b90600052602060002090600402016002018054610f0d90614246565b80601f0160208091040260200160405190810160405280929190818152602001828054610f3990614246565b8015610f865780601f10610f5b57610100808354040283529160200191610f86565b820191906000526020600020905b815481529060010190602001808311610f6957829003601f168201915b505050505081526020016101a08460ff1681548110610fb557634e487b7160e01b600052603260045260246000fd5b9060005260206000209060040201600301548152509050611085565b6040516317d84c6960e11b815260ff8085166004830152831660248201526000908190819081906001600160a01b03891690632fb098d29060440160006040518083038186803b15801561102457600080fd5b505afa158015611038573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611060919081019061314d565b6040805160808101825294855260208501939093529183015260608201529450505050505b60005b81606001518161ffff1610156112135760006110d283604001518360046110af919061416e565b61ffff166110be85600461416e565b6110c99060046140f7565b61ffff16611d72565b905060006110eb6110e68360006001611d72565b6122fa565b905060006110ff6110e68460016002611d72565b9050888260ff166018811061112457634e487b7160e01b600052603260045260246000fd5b60200201518160ff166018811061114b57634e487b7160e01b600052603260045260246000fd5b60200201511561115d57505050611201565b8961116b8460026004611d72565b6111778460ff166123b1565b6111838460ff166123b1565b60405160200161119694939291906132d3565b60405160208183030381529060405299506001898360ff16601881106111cc57634e487b7160e01b600052603260045260246000fd5b60200201518260ff16601881106111f357634e487b7160e01b600052603260045260246000fd5b911515602090920201525050505b8061120b81614281565b915050611088565b5050508080611221906142be565b915050610cd3565b508260405160200161123b919061377d565b60408051601f1981840301815291905295945050505050565b600a546001600160a01b0316331461127e5760405162461bcd60e51b81526004016106d390613ff2565b6101a380546001600160a01b0319166001600160a01b0392909216919091179055565b6060600180546105db90614246565b6001600160a01b0382163314156113095760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106d3565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6101a3546101a2546040516370a0823160e01b81523360048201526001600160a01b03928316929091169060009083906370a082319060240160206040518083038186803b1580156113c657600080fd5b505afa1580156113da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fe9190613232565b905060005b8181101561156957604051632f745c5960e01b8152336004820152602481018290526000906001600160a01b03861690632f745c599060440160206040518083038186803b15801561145457600080fd5b505afa158015611468573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148c9190613232565b6000818152600b602052604090205490915060ff16156114ac5750611557565b604051632f745c5960e01b815261dead6004820152602481018290526000906001600160a01b03861690632f745c599060440160206040518083038186803b1580156114f757600080fd5b505afa15801561150b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061152f9190613232565b905061153c8282336124ca565b506000908152600b60205260409020805460ff191660011790555b80611561816142a3565b915050611403565b50505050565b600a546001600160a01b031633146115995760405162461bcd60e51b81526004016106d390613ff2565b60005b815181101561095b576101a060405180608001604052808484815181106115d357634e487b7160e01b600052603260045260246000fd5b602002602001015160000151815260200184848151811061160457634e487b7160e01b600052603260045260246000fd5b602002602001015160200151815260200184848151811061163557634e487b7160e01b600052603260045260246000fd5b602002602001015160400151815260200184848151811061166657634e487b7160e01b600052603260045260246000fd5b602090810291909101810151606001519091528254600181018455600093845292819020825180519394600402909101926116a49284920190612c7e565b5060208281015180516116bd9260018501920190612c7e565b50604082015180516116d9916002840191602090910190612c7e565b5060608201518160030155505080806116f1906142a3565b91505061159c565b61170333836120d1565b61171f5760405162461bcd60e51b81526004016106d390614027565b61156984848484612554565b6101a25460609081906001600160a01b031660005b60098160ff161015611b52576000611764610cff8860ff8516610cf7866001614135565b90506117916040518060800160405280606081526020016060815260200160608152602001600081525090565b60ff8316611a315760405180608001604052806101a08460ff16815481106117c957634e487b7160e01b600052603260045260246000fd5b906000526020600020906004020160000180546117e590614246565b80601f016020809104026020016040519081016040528092919081815260200182805461181190614246565b801561185e5780601f106118335761010080835404028352916020019161185e565b820191906000526020600020905b81548152906001019060200180831161184157829003601f168201915b505050505081526020016101a08460ff168154811061188d57634e487b7160e01b600052603260045260246000fd5b906000526020600020906004020160010180546118a990614246565b80601f01602080910402602001604051908101604052809291908181526020018280546118d590614246565b80156119225780601f106118f757610100808354040283529160200191611922565b820191906000526020600020905b81548152906001019060200180831161190557829003601f168201915b505050505081526020016101a08460ff168154811061195157634e487b7160e01b600052603260045260246000fd5b9060005260206000209060040201600201805461196d90614246565b80601f016020809104026020016040519081016040528092919081815260200182805461199990614246565b80156119e65780601f106119bb576101008083540402835291602001916119e6565b820191906000526020600020905b8154815290600101906020018083116119c957829003601f168201915b505050505081526020016101a08460ff1681548110611a1557634e487b7160e01b600052603260045260246000fd5b9060005260206000209060040201600301548152509050611ae5565b6040516317d84c6960e11b815260ff8085166004830152831660248201526000908190819081906001600160a01b03891690632fb098d29060440160006040518083038186803b158015611a8457600080fd5b505afa158015611a98573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ac0919081019061314d565b6040805160808101825294855260208501939093529183015260608201529450505050505b6020808201518251604051611afe93899392910161337a565b60405160208183030381529060405294508260ff16600814611b3d5784604051602001611b2b91906132ae565b60405160208183030381529060405294505b50508080611b4a906142be565b915050611740565b5081611b9c600c866119328110611b7957634e487b7160e01b600052603260045260246000fd5b601091828204019190066002029054906101000a900461ffff1661ffff166123b1565b604051602001611bad929190613400565b604051602081830303815290604052915081604051602001611bcf9190613e81565b6040516020818303038152906040529250505092915050565b6000818152600260205260409020546060906001600160a01b0316611c0c57600080fd5b6000611c1783610449565b9050611c66611c25846123b1565b611c36611c3184610cb8565b612587565b611c40848761172b565b604051602001611c5293929190613548565b604051602081830303815290604052612587565b604051602001611c769190613eb5565b604051602081830303815290604052915050919050565b600a546001600160a01b03163314611cb75760405162461bcd60e51b81526004016106d390613ff2565b6101a280546001600160a01b0319166001600160a01b0392909216919091179055565b600a546001600160a01b03163314611d045760405162461bcd60e51b81526004016106d390613ff2565b6001600160a01b038116611d695760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106d3565b610838816121c8565b6060836000611d8185856141e0565b6001600160401b03811115611da657634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611dd0576020820181803683370190505b509050845b84811015611e5e57828181518110611dfd57634e487b7160e01b600052603260045260246000fd5b01602001516001600160f81b03191682611e1788846141e0565b81518110611e3557634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535080611e56816142a3565b915050611dd5565b5095945050505050565b60006001600160e01b031982166380ac58cd60e01b1480611e9957506001600160e01b03198216635b5e139f60e01b145b806105c657506301ffc9a760e01b6001600160e01b03198316146105c6565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611eed82610b84565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b826001600160a01b0316611f3982610b84565b6001600160a01b031614611fa15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016106d3565b6001600160a01b0382166120035760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106d3565b61200e8383836126fc565b612019600082611eb8565b6001600160a01b03831660009081526003602052604081208054600192906120429084906141e0565b90915550506001600160a01b038216600090815260036020526040812080546001929061207090849061411d565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000818152600260205260408120546001600160a01b031661214a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106d3565b600061215583610b84565b9050806001600160a01b0316846001600160a01b031614806121905750836001600160a01b03166121858461065e565b6001600160a01b0316145b806121c057506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008181805b82518160ff161015610a2f576030838260ff168151811061225157634e487b7160e01b600052603260045260246000fd5b016020015160f81c1080159061229257506039838260ff168151811061228757634e487b7160e01b600052603260045260246000fd5b016020015160f81c11155b156122e8576122a2600a836141b7565b91506030838260ff16815181106122c957634e487b7160e01b600052603260045260246000fd5b01602001516122db919060f81c6141f7565b6122e59083614135565b91505b806122f2816142be565b915050612220565b6000805b6101a45460ff821610156123ab578260405160200161231d9190613292565b604051602081830303815290604052805190602001206101a48260ff168154811061235857634e487b7160e01b600052603260045260246000fd5b906000526020600020016040516020016123729190613484565b6040516020818303038152906040528051906020012014156123995761059a816001614135565b806123a3816142be565b9150506122fe565b50600080fd5b6060816123d55750506040805180820190915260018152600360fc1b602082015290565b8160005b81156123ff57806123e9816142a3565b91506123f89050600a8361415a565b91506123d9565b6000816001600160401b0381111561242757634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612451576020820181803683370190505b5090505b84156121c0576124666001836141e0565b9150612473600a866142de565b61247e90603061411d565b60f81b8183815181106124a157634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506124c3600a8661415a565b9450612455565b81600c8461193281106124ed57634e487b7160e01b600052603260045260246000fd5b601091828204019190066002026101000a81548161ffff021916908361ffff16021790555061251c81846127b4565b6040518381527ff00d28232b285f24f2e38415deb2ceb31069e70d4505838b3911b4f02058502e9060200160405180910390a1505050565b61255f848484611f26565b61256b848484846127ce565b6115695760405162461bcd60e51b81526004016106d390613fa0565b60608151600014156125a757505060408051602081019091526000815290565b600060405180606001604052806040815260200161434b60409139905060006003845160026125d6919061411d565b6125e0919061415a565b6125eb906004614198565b905060006125fa82602061411d565b6001600160401b0381111561261f57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612649576020820181803683370190505b509050818152600183018586518101602084015b818310156126b75760039283018051603f601282901c811687015160f890811b8552600c83901c8216880151811b6001860152600683901c8216880151811b60028601529116860151901b9382019390935260040161265d565b6003895106600181146126d157600281146126e2576126ee565b613d3d60f01b6001198301526126ee565b603d60f81b6000198301525b509398975050505050505050565b6001600160a01b0383166127575761275281600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61277a565b816001600160a01b0316836001600160a01b03161461277a5761277a83826128db565b6001600160a01b0382166127915761080981612978565b826001600160a01b0316826001600160a01b031614610809576108098282612a51565b61095b828260405180602001604052806000815250612a95565b60006001600160a01b0384163b156128d057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612812903390899088908890600401613f16565b602060405180830381600087803b15801561282c57600080fd5b505af192505050801561285c575060408051601f3d908101601f19168201909252612859918101906130cd565b60015b6128b6573d80801561288a576040519150601f19603f3d011682016040523d82523d6000602084013e61288f565b606091505b5080516128ae5760405162461bcd60e51b81526004016106d390613fa0565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506121c0565b506001949350505050565b600060016128e884610bfb565b6128f291906141e0565b600083815260076020526040902054909150808214612945576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061298a906001906141e0565b600083815260096020526040812054600880549394509092849081106129c057634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080600883815481106129ef57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480612a3557634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612a5c83610bfb565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b612a9f8383612ac8565b612aac60008484846127ce565b6108095760405162461bcd60e51b81526004016106d390613fa0565b6001600160a01b038216612b1e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106d3565b6000818152600260205260409020546001600160a01b031615612b835760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106d3565b612b8f600083836126fc565b6001600160a01b0382166000908152600360205260408120805460019290612bb890849061411d565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b508054612c2290614246565b6000825580601f10612c32575050565b601f0160209004906000526020600020908101906108389190612d02565b6040518061030001604052806018905b612c68612d17565b815260200190600190039081612c605790505090565b828054612c8a90614246565b90600052602060002090601f016020900481019282612cac5760008555612cf2565b82601f10612cc557805160ff1916838001178555612cf2565b82800160010185558215612cf2579182015b82811115612cf2578251825591602001919060010190612cd7565b50612cfe929150612d02565b5090565b5b80821115612cfe5760008155600101612d03565b6040518061030001604052806018906020820280368337509192915050565b6000612d49612d44846140d0565b6140a0565b9050828152838383011115612d5d57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b0381168114612d8b57600080fd5b919050565b600082601f830112612da0578081fd5b61059a83833560208501612d36565b600082601f830112612dbf578081fd5b8151612dcd612d44826140d0565b818152846020838601011115612de1578283fd5b6121c082602083016020870161421a565b600060808284031215612e03578081fd5b612e0b614078565b905081356001600160401b0380821115612e2457600080fd5b612e3085838601612d90565b83526020840135915080821115612e4657600080fd5b612e5285838601612d90565b60208401526040840135915080821115612e6b57600080fd5b50612e7884828501612d90565b6040830152506060820135606082015292915050565b600060208284031215612e9f578081fd5b61059a82612d74565b60008060408385031215612eba578081fd5b612ec383612d74565b9150612ed160208401612d74565b90509250929050565b600080600060608486031215612eee578081fd5b612ef784612d74565b9250612f0560208501612d74565b9150604084013590509250925092565b60008060008060808587031215612f2a578081fd5b612f3385612d74565b9350612f4160208601612d74565b92506040850135915060608501356001600160401b03811115612f62578182fd5b8501601f81018713612f72578182fd5b612f8187823560208401612d36565b91505092959194509250565b60008060408385031215612f9f578182fd5b612fa883612d74565b915060208301358015158114612fbc578182fd5b809150509250929050565b60008060408385031215612fd9578182fd5b612fe283612d74565b946020939093013593505050565b60006020808385031215613002578182fd5b82356001600160401b0380821115613018578384fd5b818501915085601f83011261302b578384fd5b81358181111561303d5761303d61431e565b8060051b61304c8582016140a0565b8281528581019085870183870188018b1015613066578889fd5b8893505b848410156130a35780358681111561308057898afd5b61308e8c8a838b0101612df2565b8452506001939093019291870191870161306a565b509998505050505050505050565b6000602082840312156130c2578081fd5b813561059a81614334565b6000602082840312156130de578081fd5b815161059a81614334565b6000602082840312156130fa578081fd5b81356001600160401b0381111561310f578182fd5b6121c084828501612d90565b60006020828403121561312c578081fd5b81516001600160401b03811115613141578182fd5b6121c084828501612daf565b60008060008060808587031215613162578182fd5b84516001600160401b0380821115613178578384fd5b61318488838901612daf565b95506020870151915080821115613199578384fd5b6131a588838901612daf565b945060408701519150808211156131ba578384fd5b506131c787828801612daf565b606096909601519497939650505050565b600080604083850312156131ea578182fd5b82356001600160401b038111156131ff578283fd5b61320b85828601612d90565b95602094909401359450505050565b60006020828403121561322b578081fd5b5035919050565b600060208284031215613243578081fd5b5051919050565b6000815180845261326281602086016020860161421a565b601f01601f19169290920160200192915050565b6000815161328881856020860161421a565b9290920192915050565b600082516132a481846020870161421a565b9190910192915050565b600082516132c081846020870161421a565b600b60fa1b920191825250600101919050565b600085516132e5818460208a0161421a565b6d3c7265637420636c6173733d276360901b908301908152855161331081600e840160208a0161421a565b642720783d2760d81b600e9290910191820152845161333681601384016020890161421a565b642720793d2760d81b60139290910191820152835161335c81601884016020880161421a565b6213979f60e91b60189290910191820152601b019695505050505050565b6000845161338c81846020890161421a565b6e3d913a3930b4ba2fba3cb832911d1160891b90830190815284516133b881600f84016020890161421a565b6a1116113b30b63ab2911d1160a91b600f929091019182015283516133e481601a84016020880161421a565b61227d60f01b601a9290910191820152601c0195945050505050565b6000835161341281846020880161421a565b6f163d913a3930b4ba2fba3cb832911d1160811b9083019081526c6f726967696e616c5f6d69636560981b60108201526a1116113b30b63ab2911d1160a91b601d820152835161346981602884016020880161421a565b61227d60f01b60289290910191820152602a01949350505050565b600080835482600182811c9150808316806134a057607f831692505b60208084108214156134c057634e487b7160e01b87526022600452602487fd5b8180156134d457600181146134e557613511565b60ff19861689528489019650613511565b60008a815260209020885b868110156135095781548b8201529085019083016134f0565b505084890196505b509498975050505050505050565b600360fc1b81526000825161353b81600185016020870161421a565b9190910160010192915050565b747b226e616d65223a2022416e6f6e796d696365202360581b8152835160009061357981601585016020890161421a565b7f222c20226465736372697074696f6e223a2022416e6f6e796d696365204275726015918401918201527f6e6564206973206120636f6c6c656374696f6e206f6620362c3435302062757260358201527f6e6564206d696365732066726f6d2074686520416e6f6e796d69636520636f6c60558201527f6c656374696f6e2c2077697468207468652073616d652074726169747320617360758201527f20746865206275726e6564206f6e65732e204c696b6520746865206f7269676960958201527f6e616c20636f6c6c656374696f6e2c206d6574616461746120616e6420696d6160b58201527f676573206172652067656e65726174656420616e642073746f7265642031303060d58201527f25206f6e2d636861696e2e204e6f20495046532c206e6f204150492e204a757360f58201527f742074686520457468657265756d20626c6f636b636861696e2e20416e6420616101158201527f2067726f7570206f66207265737572726563746564206d69636573222c2022696101358201527f6d616765223a2022646174613a696d6167652f7376672b786d6c3b6261736536610155820152610d0b60f21b610175820152613773613766613760613745610177850189613276565b6e11161130ba3a3934b13aba32b9911d60891b8152600f0190565b86613276565b607d60f81b815260010190565b9695505050505050565b7f3c7376672069643d226d6f7573652d7376672220786d6c6e733d22687474703a81527f2f2f7777772e77332e6f72672f323030302f737667222070726573657276654160208201527f7370656374526174696f3d22784d696e594d696e206d6565742220766965774260408201526f037bc1e9118101810191a10191a111f160851b60608201526000825161381a81607085016020870161421a565b7f3c7374796c653e726563747b77696474683a3170783b6865696768743a31707860709390910192830152507f3b7d20236d6f7573652d7376677b73686170652d72656e646572696e673a206360908201527f7269737065646765733b7d202e6330307b66696c6c3a233030303030307d2e6360b08201527f30317b66696c6c3a234231414441437d2e6330327b66696c6c3a23443744374460d08201527f377d2e6330337b66696c6c3a234646413641367d2e6330347b66696c6c3a234660f08201527f46443444357d2e6330357b66696c6c3a234239414439357d2e6330367b66696c6101108201527f6c3a234532443642457d2e6330377b66696c6c3a233746363235417d2e6330386101308201527f7b66696c6c3a234135384638327d2e6330397b66696c6c3a233442314530427d6101508201527f2e6331307b66696c6c3a233644324331307d2e6331317b66696c6c3a234438446101708201527f3844387d2e6331327b66696c6c3a234635463546357d2e6331337b66696c6c3a6101908201527f233433334434427d2e6331347b66696c6c3a233844393439437d2e6331357b666101b08201527f696c6c3a233035464630307d2e6331367b66696c6c3a233031433730307d2e636101d08201527f31377b66696c6c3a233042384630387d2e6331387b66696c6c3a2334323143316101f08201527f337d2e6331397b66696c6c3a233642333932417d2e6332307b66696c6c3a23416102108201527f33354534307d2e6332317b66696c6c3a234443424439317d2e6332327b66696c6102308201527f6c3a233737373737377d2e6332337b66696c6c3a233834383438347d2e6332346102508201527f7b66696c6c3a234142414241427d2e6332357b66696c6c3a234241424142417d6102708201527f2e6332367b66696c6c3a234337433743377d2e6332377b66696c6c3a234541456102908201527f4145417d2e6332387b66696c6c3a233043373641417d2e6332397b66696c6c3a6102b08201527f233045393744427d2e6333307b66696c6c3a233130413445437d2e6333317b666102d08201527f696c6c3a233133423046467d2e6333327b66696c6c3a233245423946457d2e636102f08201527f33337b66696c6c3a233534434346467d2e6333347b66696c6c3a2335304330466103108201527f327d2e6333357b66696c6c3a233534434346467d2e6333367b66696c6c3a23376103308201527f32444146467d2e6333377b66696c6c3a234236454146467d2e6333387b66696c6103508201527f6c3a234646464646467d2e6333397b66696c6c3a233935343534367d2e6334306103708201527f7b66696c6c3a233042383746377d2e6334317b66696c6c3a234646323632367d6103908201527f2e6334327b66696c6c3a233138304630327d2e6334337b66696c6c3a233242326103b08201527f3331397d2e6334347b66696c6c3a234642444434427d2e6334357b66696c6c3a6103d08201527f234635423932337d2e6334367b66696c6c3a234343384131387d2e6334377b666103f08201527f696c6c3a233343323230337d2e6334387b66696c6c3a233533333230427d2e636104108201527f34397b66696c6c3a233742353031447d2e6335307b66696c6c3a2346464536346104308201527f367d2e6335317b66696c6c3a234646443632377d2e6335327b66696c6c3a23466104508201527f35423730307d2e6335337b66696c6c3a233234323432347d2e6335347b66696c6104708201527f6c3a233441344134417d2e6335357b66696c6c3a233637363736377d2e6335366104908201527f7b66696c6c3a234630383330367d2e6335377b66696c6c3a234643413330457d6104b08201527f2e6335387b66696c6c3a234645424330457d2e6335397b66696c6c3a234642456104d08201527f4331437d2e6336307b66696c6c3a233134323432467d2e6336317b66696c6c3a6104f08201527f234230363833377d2e6336327b66696c6c3a233846344230457d2e6336337b666105108201527f696c6c3a234438383232377d2e6336347b66696c6c3a234230363833377d2e636105308201527f36357b66696c6c3a233446313046467d2e6336367b66696c6c3a2333443945466105508201527f447d2e6336377b66696c6c3a233938464645307d2e6336387b66696c6c3a2334610570820152731aa19a231c3e9e17b9ba3cb6329f1e17b9bb339f60611b6105908201526105a401919050565b605b60f81b815260008251613e9d81600185016020870161421a565b605d60f81b6001939091019283015250600201919050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815260008251613eed81601d85016020870161421a565b91909101601d0192915050565b603160f81b81526000825161353b81600185016020870161421a565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906137739083018461324a565b6020808252825182820181905260009190848201906040850190845b81811015613f8157835183529284019291840191600101613f65565b50909695505050505050565b60208152600061059a602083018461324a565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051608081016001600160401b038111828210171561409a5761409a61431e565b60405290565b604051601f8201601f191681016001600160401b03811182821017156140c8576140c861431e565b604052919050565b60006001600160401b038211156140e9576140e961431e565b50601f01601f191660200190565b600061ffff808316818516808303821115614114576141146142f2565b01949350505050565b60008219821115614130576141306142f2565b500190565b600060ff821660ff84168060ff03821115614152576141526142f2565b019392505050565b60008261416957614169614308565b500490565b600061ffff8083168185168183048111821515161561418f5761418f6142f2565b02949350505050565b60008160001904831182151516156141b2576141b26142f2565b500290565b600060ff821660ff84168160ff04811182151516156141d8576141d86142f2565b029392505050565b6000828210156141f2576141f26142f2565b500390565b600060ff821660ff841680821015614211576142116142f2565b90039392505050565b60005b8381101561423557818101518382015260200161421d565b838111156115695750506000910152565b600181811c9082168061425a57607f821691505b6020821081141561427b57634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff80831681811415614299576142996142f2565b6001019392505050565b60006000198214156142b7576142b76142f2565b5060010190565b600060ff821660ff8114156142d5576142d56142f2565b60010192915050565b6000826142ed576142ed614308565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461083857600080fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220778eb58f04111f2e0227d569137336ca712f7659fafce28a937a9b860a570bcd64736f6c63430008040033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101d95760003560e01c806370a0823111610104578063a475b5dd116100a2578063c87b56dd11610071578063c87b56dd146103d4578063cb697ea2146103e7578063e985e9c5146103fa578063f2fde38b1461043657600080fd5b8063a475b5dd14610393578063aee1bef41461039b578063b88d4fde146103ae578063b9e6cfad146103c157600080fd5b80638da5cb5b116100de5780638da5cb5b1461035457806392eca3401461036557806395d89b4114610378578063a22cb4651461038057600080fd5b806370a0823114610326578063715018a61461033957806389ce30741461034157600080fd5b806323b872dd1161017c578063438b63001161014b578063438b6300146102d85780634f6ccce7146102f8578063564acc3a1461030b5780636352211e1461031357600080fd5b806323b872dd146102975780632f745c59146102aa5780633ccfd60b146102bd57806342842e0e146102c557600080fd5b8063081812fc116101b8578063081812fc14610232578063095ea7b31461025d5780630b7fe9b51461027257806318160ddd1461028557600080fd5b80625ea307146101de57806301ffc9a71461020757806306fdde031461022a575b600080fd5b6101f16101ec36600461321a565b610449565b6040516101fe9190613f8d565b60405180910390f35b61021a6102153660046130b1565b6105a1565b60405190151581526020016101fe565b6101f16105cc565b61024561024036600461321a565b61065e565b6040516001600160a01b0390911681526020016101fe565b61027061026b366004612fc7565b6106f8565b005b61027061028036600461321a565b61080e565b6008545b6040519081526020016101fe565b6102706102a5366004612eda565b61083b565b6102896102b8366004612fc7565b61086c565b610270610902565b6102706102d3366004612eda565b61095f565b6102eb6102e6366004612e8e565b61097a565b6040516101fe9190613f49565b61028961030636600461321a565b610a37565b610270610ad8565b61024561032136600461321a565b610b84565b610289610334366004612e8e565b610bfb565b610270610c82565b6101f161034f3660046130e9565b610cb8565b600a546001600160a01b0316610245565b610270610373366004612e8e565b611254565b6101f16112a1565b61027061038e366004612f8d565b6112b0565b610270611375565b6102706103a9366004612ff0565b61156f565b6102706103bc366004612f15565b6116f9565b6101f16103cf3660046131d8565b61172b565b6101f16103e236600461321a565b611be8565b6102706103f5366004612e8e565b611c8d565b61021a610408366004612ea8565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610270610444366004612e8e565b611cda565b6101a2546060906001600160a01b0316600081625ea307600c86611932811061048257634e487b7160e01b600052603260045260246000fd5b601091828204019190066002029054906101000a900461ffff1661ffff166040518263ffffffff1660e01b81526004016104be91815260200190565b60006040518083038186803b1580156104d657600080fd5b505afa1580156104ea573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610512919081019061311b565b905061051d84610b84565b6001600160a01b031661dead6001600160a01b0316141561056b576105458160016009611d72565b6040516020016105559190613efa565b604051602081830303815290604052905061059a565b6105788160016009611d72565b604051602001610588919061351f565b60405160208183030381529060405290505b9392505050565b60006001600160e01b0319821663780e9d6360e01b14806105c657506105c682611e68565b92915050565b6060600080546105db90614246565b80601f016020809104026020016040519081016040528092919081815260200182805461060790614246565b80156106545780601f1061062957610100808354040283529160200191610654565b820191906000526020600020905b81548152906001019060200180831161063757829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166106dc5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061070382610b84565b9050806001600160a01b0316836001600160a01b031614156107715760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106d3565b336001600160a01b038216148061078d575061078d8133610408565b6107ff5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106d3565b6108098383611eb8565b505050565b3361081882610b84565b6001600160a01b03161461082b57600080fd5b6108383361dead83611f26565b50565b61084533826120d1565b6108615760405162461bcd60e51b81526004016106d390614027565b610809838383611f26565b600061087783610bfb565b82106108d95760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016106d3565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b0316331461092c5760405162461bcd60e51b81526004016106d390613ff2565b6040514790339082156108fc029083906000818181858888f1935050505015801561095b573d6000803e3d6000fd5b5050565b610809838383604051806020016040528060008152506116f9565b6060600061098783610bfb565b90506000816001600160401b038111156109b157634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156109da578160200160208202803683370190505b50905060005b82811015610a2f576109f2858261086c565b828281518110610a1257634e487b7160e01b600052603260045260246000fd5b602090810291909101015280610a27816142a3565b9150506109e0565b509392505050565b6000610a4260085490565b8210610aa55760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016106d3565b60088281548110610ac657634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600a546001600160a01b03163314610b025760405162461bcd60e51b81526004016106d390613ff2565b60005b6101a054811015610838576101a08181548110610b3257634e487b7160e01b600052603260045260246000fd5b60009182526020822060049091020190610b4c8282612c16565b610b5a600183016000612c16565b610b68600283016000612c16565b5060006003919091015580610b7c816142a3565b915050610b05565b6000818152600260205260408120546001600160a01b0316806105c65760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106d3565b60006001600160a01b038216610c665760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106d3565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610cac5760405162461bcd60e51b81526004016106d390613ff2565b610cb660006121c8565b565b606080610cc3612c50565b6101a2546001600160a01b031660005b60098160ff161015611229576000610d04610cff8860ff8516610cf7866001614135565b60ff16611d72565b61221a565b9050610d316040518060800160405280606081526020016060815260200160608152602001600081525090565b60ff8316610fd15760405180608001604052806101a08460ff1681548110610d6957634e487b7160e01b600052603260045260246000fd5b90600052602060002090600402016000018054610d8590614246565b80601f0160208091040260200160405190810160405280929190818152602001828054610db190614246565b8015610dfe5780601f10610dd357610100808354040283529160200191610dfe565b820191906000526020600020905b815481529060010190602001808311610de157829003601f168201915b505050505081526020016101a08460ff1681548110610e2d57634e487b7160e01b600052603260045260246000fd5b90600052602060002090600402016001018054610e4990614246565b80601f0160208091040260200160405190810160405280929190818152602001828054610e7590614246565b8015610ec25780601f10610e9757610100808354040283529160200191610ec2565b820191906000526020600020905b815481529060010190602001808311610ea557829003601f168201915b505050505081526020016101a08460ff1681548110610ef157634e487b7160e01b600052603260045260246000fd5b90600052602060002090600402016002018054610f0d90614246565b80601f0160208091040260200160405190810160405280929190818152602001828054610f3990614246565b8015610f865780601f10610f5b57610100808354040283529160200191610f86565b820191906000526020600020905b815481529060010190602001808311610f6957829003601f168201915b505050505081526020016101a08460ff1681548110610fb557634e487b7160e01b600052603260045260246000fd5b9060005260206000209060040201600301548152509050611085565b6040516317d84c6960e11b815260ff8085166004830152831660248201526000908190819081906001600160a01b03891690632fb098d29060440160006040518083038186803b15801561102457600080fd5b505afa158015611038573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611060919081019061314d565b6040805160808101825294855260208501939093529183015260608201529450505050505b60005b81606001518161ffff1610156112135760006110d283604001518360046110af919061416e565b61ffff166110be85600461416e565b6110c99060046140f7565b61ffff16611d72565b905060006110eb6110e68360006001611d72565b6122fa565b905060006110ff6110e68460016002611d72565b9050888260ff166018811061112457634e487b7160e01b600052603260045260246000fd5b60200201518160ff166018811061114b57634e487b7160e01b600052603260045260246000fd5b60200201511561115d57505050611201565b8961116b8460026004611d72565b6111778460ff166123b1565b6111838460ff166123b1565b60405160200161119694939291906132d3565b60405160208183030381529060405299506001898360ff16601881106111cc57634e487b7160e01b600052603260045260246000fd5b60200201518260ff16601881106111f357634e487b7160e01b600052603260045260246000fd5b911515602090920201525050505b8061120b81614281565b915050611088565b5050508080611221906142be565b915050610cd3565b508260405160200161123b919061377d565b60408051601f1981840301815291905295945050505050565b600a546001600160a01b0316331461127e5760405162461bcd60e51b81526004016106d390613ff2565b6101a380546001600160a01b0319166001600160a01b0392909216919091179055565b6060600180546105db90614246565b6001600160a01b0382163314156113095760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106d3565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6101a3546101a2546040516370a0823160e01b81523360048201526001600160a01b03928316929091169060009083906370a082319060240160206040518083038186803b1580156113c657600080fd5b505afa1580156113da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fe9190613232565b905060005b8181101561156957604051632f745c5960e01b8152336004820152602481018290526000906001600160a01b03861690632f745c599060440160206040518083038186803b15801561145457600080fd5b505afa158015611468573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148c9190613232565b6000818152600b602052604090205490915060ff16156114ac5750611557565b604051632f745c5960e01b815261dead6004820152602481018290526000906001600160a01b03861690632f745c599060440160206040518083038186803b1580156114f757600080fd5b505afa15801561150b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061152f9190613232565b905061153c8282336124ca565b506000908152600b60205260409020805460ff191660011790555b80611561816142a3565b915050611403565b50505050565b600a546001600160a01b031633146115995760405162461bcd60e51b81526004016106d390613ff2565b60005b815181101561095b576101a060405180608001604052808484815181106115d357634e487b7160e01b600052603260045260246000fd5b602002602001015160000151815260200184848151811061160457634e487b7160e01b600052603260045260246000fd5b602002602001015160200151815260200184848151811061163557634e487b7160e01b600052603260045260246000fd5b602002602001015160400151815260200184848151811061166657634e487b7160e01b600052603260045260246000fd5b602090810291909101810151606001519091528254600181018455600093845292819020825180519394600402909101926116a49284920190612c7e565b5060208281015180516116bd9260018501920190612c7e565b50604082015180516116d9916002840191602090910190612c7e565b5060608201518160030155505080806116f1906142a3565b91505061159c565b61170333836120d1565b61171f5760405162461bcd60e51b81526004016106d390614027565b61156984848484612554565b6101a25460609081906001600160a01b031660005b60098160ff161015611b52576000611764610cff8860ff8516610cf7866001614135565b90506117916040518060800160405280606081526020016060815260200160608152602001600081525090565b60ff8316611a315760405180608001604052806101a08460ff16815481106117c957634e487b7160e01b600052603260045260246000fd5b906000526020600020906004020160000180546117e590614246565b80601f016020809104026020016040519081016040528092919081815260200182805461181190614246565b801561185e5780601f106118335761010080835404028352916020019161185e565b820191906000526020600020905b81548152906001019060200180831161184157829003601f168201915b505050505081526020016101a08460ff168154811061188d57634e487b7160e01b600052603260045260246000fd5b906000526020600020906004020160010180546118a990614246565b80601f01602080910402602001604051908101604052809291908181526020018280546118d590614246565b80156119225780601f106118f757610100808354040283529160200191611922565b820191906000526020600020905b81548152906001019060200180831161190557829003601f168201915b505050505081526020016101a08460ff168154811061195157634e487b7160e01b600052603260045260246000fd5b9060005260206000209060040201600201805461196d90614246565b80601f016020809104026020016040519081016040528092919081815260200182805461199990614246565b80156119e65780601f106119bb576101008083540402835291602001916119e6565b820191906000526020600020905b8154815290600101906020018083116119c957829003601f168201915b505050505081526020016101a08460ff1681548110611a1557634e487b7160e01b600052603260045260246000fd5b9060005260206000209060040201600301548152509050611ae5565b6040516317d84c6960e11b815260ff8085166004830152831660248201526000908190819081906001600160a01b03891690632fb098d29060440160006040518083038186803b158015611a8457600080fd5b505afa158015611a98573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ac0919081019061314d565b6040805160808101825294855260208501939093529183015260608201529450505050505b6020808201518251604051611afe93899392910161337a565b60405160208183030381529060405294508260ff16600814611b3d5784604051602001611b2b91906132ae565b60405160208183030381529060405294505b50508080611b4a906142be565b915050611740565b5081611b9c600c866119328110611b7957634e487b7160e01b600052603260045260246000fd5b601091828204019190066002029054906101000a900461ffff1661ffff166123b1565b604051602001611bad929190613400565b604051602081830303815290604052915081604051602001611bcf9190613e81565b6040516020818303038152906040529250505092915050565b6000818152600260205260409020546060906001600160a01b0316611c0c57600080fd5b6000611c1783610449565b9050611c66611c25846123b1565b611c36611c3184610cb8565b612587565b611c40848761172b565b604051602001611c5293929190613548565b604051602081830303815290604052612587565b604051602001611c769190613eb5565b604051602081830303815290604052915050919050565b600a546001600160a01b03163314611cb75760405162461bcd60e51b81526004016106d390613ff2565b6101a280546001600160a01b0319166001600160a01b0392909216919091179055565b600a546001600160a01b03163314611d045760405162461bcd60e51b81526004016106d390613ff2565b6001600160a01b038116611d695760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106d3565b610838816121c8565b6060836000611d8185856141e0565b6001600160401b03811115611da657634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611dd0576020820181803683370190505b509050845b84811015611e5e57828181518110611dfd57634e487b7160e01b600052603260045260246000fd5b01602001516001600160f81b03191682611e1788846141e0565b81518110611e3557634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535080611e56816142a3565b915050611dd5565b5095945050505050565b60006001600160e01b031982166380ac58cd60e01b1480611e9957506001600160e01b03198216635b5e139f60e01b145b806105c657506301ffc9a760e01b6001600160e01b03198316146105c6565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611eed82610b84565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b826001600160a01b0316611f3982610b84565b6001600160a01b031614611fa15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016106d3565b6001600160a01b0382166120035760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106d3565b61200e8383836126fc565b612019600082611eb8565b6001600160a01b03831660009081526003602052604081208054600192906120429084906141e0565b90915550506001600160a01b038216600090815260036020526040812080546001929061207090849061411d565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000818152600260205260408120546001600160a01b031661214a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106d3565b600061215583610b84565b9050806001600160a01b0316846001600160a01b031614806121905750836001600160a01b03166121858461065e565b6001600160a01b0316145b806121c057506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008181805b82518160ff161015610a2f576030838260ff168151811061225157634e487b7160e01b600052603260045260246000fd5b016020015160f81c1080159061229257506039838260ff168151811061228757634e487b7160e01b600052603260045260246000fd5b016020015160f81c11155b156122e8576122a2600a836141b7565b91506030838260ff16815181106122c957634e487b7160e01b600052603260045260246000fd5b01602001516122db919060f81c6141f7565b6122e59083614135565b91505b806122f2816142be565b915050612220565b6000805b6101a45460ff821610156123ab578260405160200161231d9190613292565b604051602081830303815290604052805190602001206101a48260ff168154811061235857634e487b7160e01b600052603260045260246000fd5b906000526020600020016040516020016123729190613484565b6040516020818303038152906040528051906020012014156123995761059a816001614135565b806123a3816142be565b9150506122fe565b50600080fd5b6060816123d55750506040805180820190915260018152600360fc1b602082015290565b8160005b81156123ff57806123e9816142a3565b91506123f89050600a8361415a565b91506123d9565b6000816001600160401b0381111561242757634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612451576020820181803683370190505b5090505b84156121c0576124666001836141e0565b9150612473600a866142de565b61247e90603061411d565b60f81b8183815181106124a157634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506124c3600a8661415a565b9450612455565b81600c8461193281106124ed57634e487b7160e01b600052603260045260246000fd5b601091828204019190066002026101000a81548161ffff021916908361ffff16021790555061251c81846127b4565b6040518381527ff00d28232b285f24f2e38415deb2ceb31069e70d4505838b3911b4f02058502e9060200160405180910390a1505050565b61255f848484611f26565b61256b848484846127ce565b6115695760405162461bcd60e51b81526004016106d390613fa0565b60608151600014156125a757505060408051602081019091526000815290565b600060405180606001604052806040815260200161434b60409139905060006003845160026125d6919061411d565b6125e0919061415a565b6125eb906004614198565b905060006125fa82602061411d565b6001600160401b0381111561261f57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612649576020820181803683370190505b509050818152600183018586518101602084015b818310156126b75760039283018051603f601282901c811687015160f890811b8552600c83901c8216880151811b6001860152600683901c8216880151811b60028601529116860151901b9382019390935260040161265d565b6003895106600181146126d157600281146126e2576126ee565b613d3d60f01b6001198301526126ee565b603d60f81b6000198301525b509398975050505050505050565b6001600160a01b0383166127575761275281600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61277a565b816001600160a01b0316836001600160a01b03161461277a5761277a83826128db565b6001600160a01b0382166127915761080981612978565b826001600160a01b0316826001600160a01b031614610809576108098282612a51565b61095b828260405180602001604052806000815250612a95565b60006001600160a01b0384163b156128d057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612812903390899088908890600401613f16565b602060405180830381600087803b15801561282c57600080fd5b505af192505050801561285c575060408051601f3d908101601f19168201909252612859918101906130cd565b60015b6128b6573d80801561288a576040519150601f19603f3d011682016040523d82523d6000602084013e61288f565b606091505b5080516128ae5760405162461bcd60e51b81526004016106d390613fa0565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506121c0565b506001949350505050565b600060016128e884610bfb565b6128f291906141e0565b600083815260076020526040902054909150808214612945576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061298a906001906141e0565b600083815260096020526040812054600880549394509092849081106129c057634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080600883815481106129ef57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480612a3557634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612a5c83610bfb565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b612a9f8383612ac8565b612aac60008484846127ce565b6108095760405162461bcd60e51b81526004016106d390613fa0565b6001600160a01b038216612b1e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106d3565b6000818152600260205260409020546001600160a01b031615612b835760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106d3565b612b8f600083836126fc565b6001600160a01b0382166000908152600360205260408120805460019290612bb890849061411d565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b508054612c2290614246565b6000825580601f10612c32575050565b601f0160209004906000526020600020908101906108389190612d02565b6040518061030001604052806018905b612c68612d17565b815260200190600190039081612c605790505090565b828054612c8a90614246565b90600052602060002090601f016020900481019282612cac5760008555612cf2565b82601f10612cc557805160ff1916838001178555612cf2565b82800160010185558215612cf2579182015b82811115612cf2578251825591602001919060010190612cd7565b50612cfe929150612d02565b5090565b5b80821115612cfe5760008155600101612d03565b6040518061030001604052806018906020820280368337509192915050565b6000612d49612d44846140d0565b6140a0565b9050828152838383011115612d5d57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b0381168114612d8b57600080fd5b919050565b600082601f830112612da0578081fd5b61059a83833560208501612d36565b600082601f830112612dbf578081fd5b8151612dcd612d44826140d0565b818152846020838601011115612de1578283fd5b6121c082602083016020870161421a565b600060808284031215612e03578081fd5b612e0b614078565b905081356001600160401b0380821115612e2457600080fd5b612e3085838601612d90565b83526020840135915080821115612e4657600080fd5b612e5285838601612d90565b60208401526040840135915080821115612e6b57600080fd5b50612e7884828501612d90565b6040830152506060820135606082015292915050565b600060208284031215612e9f578081fd5b61059a82612d74565b60008060408385031215612eba578081fd5b612ec383612d74565b9150612ed160208401612d74565b90509250929050565b600080600060608486031215612eee578081fd5b612ef784612d74565b9250612f0560208501612d74565b9150604084013590509250925092565b60008060008060808587031215612f2a578081fd5b612f3385612d74565b9350612f4160208601612d74565b92506040850135915060608501356001600160401b03811115612f62578182fd5b8501601f81018713612f72578182fd5b612f8187823560208401612d36565b91505092959194509250565b60008060408385031215612f9f578182fd5b612fa883612d74565b915060208301358015158114612fbc578182fd5b809150509250929050565b60008060408385031215612fd9578182fd5b612fe283612d74565b946020939093013593505050565b60006020808385031215613002578182fd5b82356001600160401b0380821115613018578384fd5b818501915085601f83011261302b578384fd5b81358181111561303d5761303d61431e565b8060051b61304c8582016140a0565b8281528581019085870183870188018b1015613066578889fd5b8893505b848410156130a35780358681111561308057898afd5b61308e8c8a838b0101612df2565b8452506001939093019291870191870161306a565b509998505050505050505050565b6000602082840312156130c2578081fd5b813561059a81614334565b6000602082840312156130de578081fd5b815161059a81614334565b6000602082840312156130fa578081fd5b81356001600160401b0381111561310f578182fd5b6121c084828501612d90565b60006020828403121561312c578081fd5b81516001600160401b03811115613141578182fd5b6121c084828501612daf565b60008060008060808587031215613162578182fd5b84516001600160401b0380821115613178578384fd5b61318488838901612daf565b95506020870151915080821115613199578384fd5b6131a588838901612daf565b945060408701519150808211156131ba578384fd5b506131c787828801612daf565b606096909601519497939650505050565b600080604083850312156131ea578182fd5b82356001600160401b038111156131ff578283fd5b61320b85828601612d90565b95602094909401359450505050565b60006020828403121561322b578081fd5b5035919050565b600060208284031215613243578081fd5b5051919050565b6000815180845261326281602086016020860161421a565b601f01601f19169290920160200192915050565b6000815161328881856020860161421a565b9290920192915050565b600082516132a481846020870161421a565b9190910192915050565b600082516132c081846020870161421a565b600b60fa1b920191825250600101919050565b600085516132e5818460208a0161421a565b6d3c7265637420636c6173733d276360901b908301908152855161331081600e840160208a0161421a565b642720783d2760d81b600e9290910191820152845161333681601384016020890161421a565b642720793d2760d81b60139290910191820152835161335c81601884016020880161421a565b6213979f60e91b60189290910191820152601b019695505050505050565b6000845161338c81846020890161421a565b6e3d913a3930b4ba2fba3cb832911d1160891b90830190815284516133b881600f84016020890161421a565b6a1116113b30b63ab2911d1160a91b600f929091019182015283516133e481601a84016020880161421a565b61227d60f01b601a9290910191820152601c0195945050505050565b6000835161341281846020880161421a565b6f163d913a3930b4ba2fba3cb832911d1160811b9083019081526c6f726967696e616c5f6d69636560981b60108201526a1116113b30b63ab2911d1160a91b601d820152835161346981602884016020880161421a565b61227d60f01b60289290910191820152602a01949350505050565b600080835482600182811c9150808316806134a057607f831692505b60208084108214156134c057634e487b7160e01b87526022600452602487fd5b8180156134d457600181146134e557613511565b60ff19861689528489019650613511565b60008a815260209020885b868110156135095781548b8201529085019083016134f0565b505084890196505b509498975050505050505050565b600360fc1b81526000825161353b81600185016020870161421a565b9190910160010192915050565b747b226e616d65223a2022416e6f6e796d696365202360581b8152835160009061357981601585016020890161421a565b7f222c20226465736372697074696f6e223a2022416e6f6e796d696365204275726015918401918201527f6e6564206973206120636f6c6c656374696f6e206f6620362c3435302062757260358201527f6e6564206d696365732066726f6d2074686520416e6f6e796d69636520636f6c60558201527f6c656374696f6e2c2077697468207468652073616d652074726169747320617360758201527f20746865206275726e6564206f6e65732e204c696b6520746865206f7269676960958201527f6e616c20636f6c6c656374696f6e2c206d6574616461746120616e6420696d6160b58201527f676573206172652067656e65726174656420616e642073746f7265642031303060d58201527f25206f6e2d636861696e2e204e6f20495046532c206e6f204150492e204a757360f58201527f742074686520457468657265756d20626c6f636b636861696e2e20416e6420616101158201527f2067726f7570206f66207265737572726563746564206d69636573222c2022696101358201527f6d616765223a2022646174613a696d6167652f7376672b786d6c3b6261736536610155820152610d0b60f21b610175820152613773613766613760613745610177850189613276565b6e11161130ba3a3934b13aba32b9911d60891b8152600f0190565b86613276565b607d60f81b815260010190565b9695505050505050565b7f3c7376672069643d226d6f7573652d7376672220786d6c6e733d22687474703a81527f2f2f7777772e77332e6f72672f323030302f737667222070726573657276654160208201527f7370656374526174696f3d22784d696e594d696e206d6565742220766965774260408201526f037bc1e9118101810191a10191a111f160851b60608201526000825161381a81607085016020870161421a565b7f3c7374796c653e726563747b77696474683a3170783b6865696768743a31707860709390910192830152507f3b7d20236d6f7573652d7376677b73686170652d72656e646572696e673a206360908201527f7269737065646765733b7d202e6330307b66696c6c3a233030303030307d2e6360b08201527f30317b66696c6c3a234231414441437d2e6330327b66696c6c3a23443744374460d08201527f377d2e6330337b66696c6c3a234646413641367d2e6330347b66696c6c3a234660f08201527f46443444357d2e6330357b66696c6c3a234239414439357d2e6330367b66696c6101108201527f6c3a234532443642457d2e6330377b66696c6c3a233746363235417d2e6330386101308201527f7b66696c6c3a234135384638327d2e6330397b66696c6c3a233442314530427d6101508201527f2e6331307b66696c6c3a233644324331307d2e6331317b66696c6c3a234438446101708201527f3844387d2e6331327b66696c6c3a234635463546357d2e6331337b66696c6c3a6101908201527f233433334434427d2e6331347b66696c6c3a233844393439437d2e6331357b666101b08201527f696c6c3a233035464630307d2e6331367b66696c6c3a233031433730307d2e636101d08201527f31377b66696c6c3a233042384630387d2e6331387b66696c6c3a2334323143316101f08201527f337d2e6331397b66696c6c3a233642333932417d2e6332307b66696c6c3a23416102108201527f33354534307d2e6332317b66696c6c3a234443424439317d2e6332327b66696c6102308201527f6c3a233737373737377d2e6332337b66696c6c3a233834383438347d2e6332346102508201527f7b66696c6c3a234142414241427d2e6332357b66696c6c3a234241424142417d6102708201527f2e6332367b66696c6c3a234337433743377d2e6332377b66696c6c3a234541456102908201527f4145417d2e6332387b66696c6c3a233043373641417d2e6332397b66696c6c3a6102b08201527f233045393744427d2e6333307b66696c6c3a233130413445437d2e6333317b666102d08201527f696c6c3a233133423046467d2e6333327b66696c6c3a233245423946457d2e636102f08201527f33337b66696c6c3a233534434346467d2e6333347b66696c6c3a2335304330466103108201527f327d2e6333357b66696c6c3a233534434346467d2e6333367b66696c6c3a23376103308201527f32444146467d2e6333377b66696c6c3a234236454146467d2e6333387b66696c6103508201527f6c3a234646464646467d2e6333397b66696c6c3a233935343534367d2e6334306103708201527f7b66696c6c3a233042383746377d2e6334317b66696c6c3a234646323632367d6103908201527f2e6334327b66696c6c3a233138304630327d2e6334337b66696c6c3a233242326103b08201527f3331397d2e6334347b66696c6c3a234642444434427d2e6334357b66696c6c3a6103d08201527f234635423932337d2e6334367b66696c6c3a234343384131387d2e6334377b666103f08201527f696c6c3a233343323230337d2e6334387b66696c6c3a233533333230427d2e636104108201527f34397b66696c6c3a233742353031447d2e6335307b66696c6c3a2346464536346104308201527f367d2e6335317b66696c6c3a234646443632377d2e6335327b66696c6c3a23466104508201527f35423730307d2e6335337b66696c6c3a233234323432347d2e6335347b66696c6104708201527f6c3a233441344134417d2e6335357b66696c6c3a233637363736377d2e6335366104908201527f7b66696c6c3a234630383330367d2e6335377b66696c6c3a234643413330457d6104b08201527f2e6335387b66696c6c3a234645424330457d2e6335397b66696c6c3a234642456104d08201527f4331437d2e6336307b66696c6c3a233134323432467d2e6336317b66696c6c3a6104f08201527f234230363833377d2e6336327b66696c6c3a233846344230457d2e6336337b666105108201527f696c6c3a234438383232377d2e6336347b66696c6c3a234230363833377d2e636105308201527f36357b66696c6c3a233446313046467d2e6336367b66696c6c3a2333443945466105508201527f447d2e6336377b66696c6c3a233938464645307d2e6336387b66696c6c3a2334610570820152731aa19a231c3e9e17b9ba3cb6329f1e17b9bb339f60611b6105908201526105a401919050565b605b60f81b815260008251613e9d81600185016020870161421a565b605d60f81b6001939091019283015250600201919050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815260008251613eed81601d85016020870161421a565b91909101601d0192915050565b603160f81b81526000825161353b81600185016020870161421a565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906137739083018461324a565b6020808252825182820181905260009190848201906040850190845b81811015613f8157835183529284019291840191600101613f65565b50909695505050505050565b60208152600061059a602083018461324a565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051608081016001600160401b038111828210171561409a5761409a61431e565b60405290565b604051601f8201601f191681016001600160401b03811182821017156140c8576140c861431e565b604052919050565b60006001600160401b038211156140e9576140e961431e565b50601f01601f191660200190565b600061ffff808316818516808303821115614114576141146142f2565b01949350505050565b60008219821115614130576141306142f2565b500190565b600060ff821660ff84168060ff03821115614152576141526142f2565b019392505050565b60008261416957614169614308565b500490565b600061ffff8083168185168183048111821515161561418f5761418f6142f2565b02949350505050565b60008160001904831182151516156141b2576141b26142f2565b500290565b600060ff821660ff84168160ff04811182151516156141d8576141d86142f2565b029392505050565b6000828210156141f2576141f26142f2565b500390565b600060ff821660ff841680821015614211576142116142f2565b90039392505050565b60005b8381101561423557818101518382015260200161421d565b838111156115695750506000910152565b600181811c9082168061425a57607f821691505b6020821081141561427b57634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff80831681811415614299576142996142f2565b6001019392505050565b60006000198214156142b7576142b76142f2565b5060010190565b600060ff821660ff8114156142d5576142d56142f2565b60010192915050565b6000826142ed576142ed614308565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461083857600080fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220778eb58f04111f2e0227d569137336ca712f7659fafce28a937a9b860a570bcd64736f6c63430008040033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.