ETH Price: $3,961.59 (+2.38%)

Token

NODES (NODE)
 

Overview

Max Total Supply

1,399 NODE

Holders

446

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
*花开堪折直须折.eth
Balance
1 NODE
0xfdcd504b7697496f8DBEA8d0aB7b2617665060DC
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:
Nodes

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : Nodes.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;

import "./ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "./AnonymiceLibrary.sol";

/// @custom:security-contact [email protected]
contract Nodes is ERC721A, Ownable {
    using AnonymiceLibrary for uint8;

    struct Trait {
        string traitName;
        string traitType;
    }

    // Mint enable
    bool public MINT_ENABLE = false;
    bool public PUBLIC_ENABLE = false;
    uint256 public START_BLOCK = 0;

    // Should be set with functions.
    string private p5Url;
    string private p5Integrity;
    string private pakoUrl;
    string private pakoIntegrity;
    string private imageUrl;
    string private imageUrlExtension;
    string private animationUrl;
    string private gzip;
    string private description;
    string private c;
    string private meta;

    string private constant traitType = "{\"trait_type\":\"";
    string private constant traitValue = "\",\"value\":\"";
    string private constant terminator = "\"}";
    uint8[11] private seq = [1, 1, 2, 2, 1, 1, 1, 2, 1, 1, 1];
    uint8[9] private costs = [0,3,4,0,5,3,4,0,5];
    uint8 private constant fuseCost = 2;
    uint private constant ONE_DAY = 86400; // in secs
    uint8 private constant TRAIT_COUNT = 5;
    uint8 private constant PADDED_TRAIT_COUNT = 2;
    uint256 private constant mult = 16807;
    uint256 private constant mod = 2147483647;

    uint private immutable TRAIT_TOKEN_EPOCH = ONE_DAY;
    uint private immutable FUSE_COOLDOWN = ONE_DAY * 3;
    uint private immutable PRICE;
    uint16 public immutable GENISIS_CAP;
    bytes32 public generalMerkleRoot;
    bytes32 public devMerkleRoot;
    uint16 public immutable FUSED_CAP;
    
    // n options per trait.
    uint16[][TRAIT_COUNT] private rarityTree;

    mapping(address => uint) private addrToMintedQ;
    mapping(address => uint) private addrToMintedP;
    mapping(string => bool) private hashToMinted;
    mapping(uint => string) private tokenIdToHash;
    mapping(uint => uint) private tokenIdToTimestamp;
    mapping(uint => uint) private tokenIdToCooldown;
    mapping(uint => uint) private tokenIdToSpent;
    mapping(uint => uint16) private tokenIdToSizeX;
    mapping(uint => uint16) private tokenIdToSizeY;
    mapping(uint256 => Trait[]) private traitTypes;
    mapping(address => uint) private lastWrite;

    // team mints
    uint8 public teamMints = 0;


    constructor(bytes32 _generalMerkleRoot, bytes32 _devMerkleRoot, uint16 genesisCap) ERC721A("NODES", "NODE", 12, genesisCap) {
        // Palette
        rarityTree[0] = [630, 450, 360, 270, 270, 100, 450, 360, 450, 450, 360, 270, 270, 360, 270, 360, 270, 360, 270, 540, 180, 270, 270, 270, 360, 360, 270, 450, 450];
        // Connectivity (N/R) - 1&2
        rarityTree[1] = [195, 388, 388, 388, 1553, 777, 777, 1942, 1165, 485, 388, 777, 777];
        // Node Size - 1&2
        rarityTree[2] = [2500, 2500, 5000];
        // Symmetry
        rarityTree[3] = [3334, 3333, 3333];
        // Node Type - 1&2
        rarityTree[4] = [1613, 645, 968, 1613, 1290, 968, 1290, 645, 645, 323];
        generalMerkleRoot = _generalMerkleRoot;
        devMerkleRoot = _devMerkleRoot;
        // price in Wei, this is 0.05 ETH.
        PRICE = 50000000000000000;
        GENISIS_CAP = genesisCap;
        FUSED_CAP = genesisCap * 2;
        imageUrlExtension = ".gif";
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier noContract() {
        require(!AnonymiceLibrary.isContract(msg.sender), "c0");
        _;
    }

    modifier disallowIfStateIsChanging() {
        // Do what you want in your own house, but guests should be nice
        require(owner() == msg.sender || lastWrite[msg.sender] < block.number, "no.");
        _;
    }

    /**
    ______  ___ _____ ___      ___   _______ _____    
    |  _  \/ _ \_   _/ _ \    / / | | | ___ \_   _|   
    | | | / /_\ \| |/ /_\ \  / /| | | | |_/ / | | ___ 
    | | | |  _  || ||  _  | / / | | | |    /  | |/ __|
    | |/ /| | | || || | | |/ /  | |_| | |\ \ _| |\__ \
    |___/ \_| |_/\_/\_| |_/_/    \___/\_| \_|\___/___/                                           
    */

    /**
     * @dev Hash to HTML function
     */
    function tokenHTML(uint256 tokenId)
        public
        view
        disallowIfStateIsChanging
        returns (string memory)
    {
        require(_exists(tokenId),"e0");
        return string(
            abi.encodePacked(
                headData(),
                tokenIdToHash[tokenId],
                "%27%3B%20const%20size%20%3D%20%5B",
                tokenIdToSizeX[tokenId] > 0 ? AnonymiceLibrary.toString(tokenIdToSizeX[tokenId]) : "500",
                "%2C",
                tokenIdToSizeY[tokenId] > 0 ? AnonymiceLibrary.toString(tokenIdToSizeY[tokenId]) : "500",
                "%5D%3B%20const%20g%20%3D%20%27",
                gzip,
                "%27%3B%20const%20e%20%3D%20Function(%27%22use%20strict%22%3Breturn%20(%27%20%2B%20pako.inflate(new%20Uint8Array(atob(g).split(%27%27).map(function(x)%7Breturn%20x.charCodeAt(0)%3B%20%7D))%2C%20%7B%20to%3A%20%27string%27%20%7D)%2B%20%27)%27)()%3B%20new%20p5(e.nodes%2C%20%27nodes%27)%3B%20%3C%2Fscript%3E%3Cdiv%20id%3D%22nodes%22%20name%3D%22nodes%22%3E%3C%2Fdiv%3E%3C%2Fbody%3E%3C%2Fhtml%3E"
            )
        );
    }

    function headData() private view returns (bytes memory) {
        return abi.encodePacked(
             "data:text/html,%3Chtml%3E%3Chead%3E",
                meta,
                "%3Cscript%20src%3D%22",
                p5Url,
                "%22%20integrity%3D%22",
                p5Integrity,
                "%22%20crossorigin%3D%22anonymous%22%20referrerpolicy%3D%22no-referrer%22%3E%3C%2Fscript%3E%3Cscript%20src%3D%22",
                pakoUrl,
                "%22%20integrity%3D%22",
                pakoIntegrity,
                "%22%20crossorigin%3D%22anonymous%22%20referrerpolicy%3D%22no-referrer%22%3E%3C%2Fscript%3E%3C%2Fhead%3E%3C%2Fbody%3E%3Cscript%3Econst%20h%20%3D%20%27"
        );
    }

    /**
     * @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
        disallowIfStateIsChanging
        returns (string memory)
    {
        require(_exists(_tokenId), "e0");
        return
            string(
                abi.encodePacked(
                    "data:application/json;base64,",
                    AnonymiceLibrary.encode(
                        bytes(
                            string(
                                abi.encodePacked(
                                    "{\"name\": \"NODES #",
                                    AnonymiceLibrary.toString(_tokenId),
                                    "\",\"description\": \"",
                                    description,
                                    "\",\"animation_url\": \"",
                                    bytes(animationUrl).length > 0 ? animationUrl : tokenHTML(_tokenId),
                                    bytes(animationUrl).length > 0 ? AnonymiceLibrary.toString(_tokenId) : "",
                                    "\",\"external_url\": \"",
                                    tokenHTML(_tokenId),
                                    "\",\"image\": \"",
                                    imageUrl,
                                    AnonymiceLibrary.toString(_tokenId),
                                    imageUrlExtension,
                                    "\",\"attributes\": ",
                                    hashToMetadata(getTokenHash(_tokenId)),
                                    "}"
                                )
                            )
                        )
                    )
                )
            );
    }

    /**
    ___  ________ _   _ _____ _____ _   _ _____ 
    |  \/  |_   _| \ | |_   _|_   _| \ | |  __ \
    | .  . | | | |  \| | | |   | | |  \| | |  \/
    | |\/| | | | | . ` | | |   | | | . ` | | __ 
    | |  | |_| |_| |\  | | |  _| |_| |\  | |_\ \
    \_|  |_/\___/\_| \_/ \_/  \___/\_| \_/\____/                                          
    */
    function mintNodes(uint256 quantity, bytes32[] calldata merkleProof) public payable noContract {
        require(msg.value >= PRICE * quantity,"m1");
        lastWrite[msg.sender] = block.number;
        mint(quantity, merkleProof, false); 
    }

    function mintNodesTeam(uint256 quantity, bytes32[] calldata merkleProof) public noContract {
        mint(quantity, merkleProof, true);
    }

    function mint(uint256 quantity, bytes32[] calldata merkleProof, bool isTeamMint) private {
        uint256 limit = isTeamMint ? 12 : 2;
        require((PUBLIC_ENABLE ? addrToMintedP[msg.sender] : addrToMintedQ[msg.sender]) + quantity <= limit, "m2");
        require((totalGenesisSupply() + quantity) <= GENISIS_CAP, "m3");
        require(MerkleProof.verify(merkleProof, isTeamMint ? devMerkleRoot : generalMerkleRoot, keccak256(abi.encodePacked(msg.sender))), "m4");
        _safeMint(msg.sender, quantity);
        if(isTeamMint) {
            // accountability is good.
            teamMints += uint8(quantity);
            // make sure team can't mint more than our allotment during public mint.
            require(addrToMintedQ[msg.sender] + addrToMintedP[msg.sender] + quantity <= limit, "m6");
        } else {
            require(MINT_ENABLE == true, "m0");
            // Require that you have not minted before for further protection against flash bots.
            require((PUBLIC_ENABLE ? addrToMintedP[msg.sender] : addrToMintedQ[msg.sender]) == 0, "m5");
        }
        if(PUBLIC_ENABLE) {
            addrToMintedP[msg.sender] += quantity;
        } else {
            addrToMintedQ[msg.sender] += quantity;
        }
    }

    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity,
        bytes memory data
    ) internal override {
        if(from == address(0)) {
            if(data.length > 0) {
                // THIS IS NOT A BATCH CAPABLE FUNCTION BECAUSE FUSING DOES NOT SUPPORT THIS
                require(quantity == 1, "btt0");
                tokenIdToHash[startTokenId] = string(data);
            } else {
                // This is batch capabable.
                string memory hashi = hash(startTokenId, to, uint8(quantity));
                for(uint i = 0; i < quantity; i++) {
                    tokenIdToHash[startTokenId + i] = string(abi.encodePacked("00", AnonymiceLibrary.substring(hashi, 0 + i*12, 12 + i*12)));
                }
            }
        }
    }

    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal override {
      // Nuke token counters
      for(uint i = 0; i < quantity; i++) {
          tokenIdToTimestamp[startTokenId + i] = block.timestamp;
          tokenIdToCooldown[startTokenId + i] = block.timestamp + FUSE_COOLDOWN;
          delete tokenIdToSpent[startTokenId + i];
          delete tokenIdToSizeX[startTokenId + i];
          delete tokenIdToSizeY[startTokenId + i];
      }
    }

    /**
    ______ _   _ _____ _____ _   _ _____ 
    |  ___| | | /  ___|_   _| \ | |  __ \
    | |_  | | | \ `--.  | | |  \| | |  \/
    |  _| | | | |`--. \ | | | . ` | | __ 
    | |   | |_| /\__/ /_| |_| |\  | |_\ \
    \_|    \___/\____/ \___/\_| \_/\____/
    */
    function fuse(
        uint256 tokenId0,
        uint256 tokenId1,
        int8[9] memory phenotype,
        uint256 tokenCostPreference
    ) public noContract {
        require(MINT_ENABLE);
        require(ownerOf(tokenId0) == msg.sender && ownerOf(tokenId1) == msg.sender, "f1");
        require(tokenId0 != tokenId1, "f2");
        require(getRemainingCooldown(tokenId0) == 0 && getRemainingCooldown(tokenId1) == 0, "f3");
        string memory h1 = getTokenHash(tokenId0);
        string memory h2 = getTokenHash(tokenId1);

        // Phenotype = [0,1,0,...,1]
        //           = [p1,p2,p1,...,p2]]
        string memory out;
        uint8 curr = 2;
        uint8 cost = fuseCost;

        for(uint8 i = 0; i < phenotype.length; i++) { 
            if(phenotype[i] == -2) {
                out = string(abi.encodePacked(out, AnonymiceLibrary.substring(h1, curr, curr + seq[i + 2])));
            } else if(phenotype[i] == -1) {
                out = string(abi.encodePacked(out, AnonymiceLibrary.substring(h2, curr, curr + seq[i + 2])));
            } else {
                // you cannot set 0 color, 3 sym1, 7 sym2
                require(phenotype[i] >= 0 && i != 0 && i != 3 && i != 7, "f4");
                // 0, 1, 2, 3, 4, 1, 2, 3, 4
                // safe to convert to unsigned type as we already checked bounds above.
                require(uint8(phenotype[i]) < rarityTree[i < 5 ? i : i - 4].length, "f5");
                cost += costs[i];
                uint8 rar = uint8(phenotype[i]);
                out = string(
                    abi.encodePacked(out, string(abi.encodePacked((rar <= 9 && seq[i+2] == 2) ? "0" : "", rar.toString())))
                );
            }
            curr += seq[i+2];
        }

        uint256 bal0 = getTraitTokenBalance(tokenId0);
        uint256 bal1 = getTraitTokenBalance(tokenId1);
        uint256 t0spend;
        uint256 t1spend;
        require(bal0 + bal1 >= uint256(cost), "f6");
        if(tokenCostPreference == tokenId0) {
            t0spend = cost > bal0 ? bal0 : cost;
            t1spend = cost > t0spend ? cost - t0spend : 0;
        } else {
            t1spend = cost > bal1 ? bal1 : cost;
            t0spend = cost > t1spend ? cost - t1spend : 0;
        }
        tokenIdToSpent[tokenId0] += t0spend;
        tokenIdToSpent[tokenId1] += t1spend;
        _safeMint(msg.sender, 1, abi.encodePacked("01", out));
        burnIfFused(tokenId0, h1);
        burnIfFused(tokenId1, h2);
        // It would be much better if this could fail fast.
        require(totalChildSupply() <= FUSED_CAP, "f7");
    }

    function burnIfFused(uint256 tokenId, string memory h1) private {
        if(AnonymiceLibrary.parseInt(AnonymiceLibrary.substring(h1, 1, 2)) != 0) {
            safeTransferFrom(msg.sender, address(0xdead), tokenId);
            // Pieces that are sacrificed through fusing will have their art updated.
            tokenIdToHash[tokenId] = string(abi.encodePacked("1",AnonymiceLibrary.substring(h1, 1, bytes(h1).length)));
            burn();
            // cooldown happens via transfer, also it doesn't matter since its dead.
        } else {
            tokenIdToCooldown[tokenId] = block.timestamp + FUSE_COOLDOWN;
        }
    }


    /**
    ______           _ _       _____             
    | ___ \         (_) |     |_   _|            
    | |_/ /__ _ _ __ _| |_ _   _| |_ __ ___  ___ 
    |    // _` | '__| | __| | | | | '__/ _ \/ _ \
    | |\ \ (_| | |  | | |_| |_| | | | |  __/  __/
    \_| \_\__,_|_|  |_|\__|\__, \_/_|  \___|\___|
                            __/ |                
                            |___/                    
    */

    /**
     * @dev Converts a digit from 0 - 10000 into its corresponding rarity based on the given rarity tier.
     * @param _randinput The input from 0 - 10000 to use for rarity gen.
     * @param _rarityTier The tier to use.
     */
    function rarityGen(uint256 _randinput, uint8 _rarityTier)
        private
        view
        returns (uint8)
    {
        uint16 currentLowerBound = 0;
        for (uint8 i = 0; i < rarityTree[_rarityTier].length; i++) {
            uint16 thisPercentage = rarityTree[_rarityTier][i];
            if (
                _randinput >= currentLowerBound &&
                _randinput < currentLowerBound + thisPercentage
            ) return i;
            currentLowerBound = currentLowerBound + thisPercentage;
        }
        revert("r1");
    }

    /**
     * @dev Generates a 12*q digit hash from a tokenId, address, and random number.
     * @param _t The token id to be used within the hash.
     * @param _a The address to be used within the hash.
     */
    function hash(
        uint256 _t,
        address _a,
        uint8 q
    ) private returns (string memory) {
        string memory currentHash;
        string memory out;
        uint8 draws = 0;
        uint8 selected = 0;
        // You MUST NOT hash changing attributes like block.timestamp if you haven't thought about flash bot protection.
        uint256 seed =
                uint256(
                    keccak256(
                        abi.encodePacked(
                            block.timestamp,
                            block.difficulty,
                            _t,
                            _a,
                            c
                        )
                    )
                ) % 123456789;
        // This is a robust uniform random algo which is only slightly less random than Math.random().
        uint256 x = (seed * mult + 1) % mod;
        do {
            for (uint8 i = 0; i < TRAIT_COUNT; i++) {
                uint16 _randinput = uint16(x % 10000);
                x = (x * mult + 1) % mod;
                uint8 rar = rarityGen(_randinput, i);
                currentHash = string(
                    abi.encodePacked(currentHash, string(abi.encodePacked((rar <= 9 && i <= 1) ? "0" : "", rar.toString())))
                );
            }

            if(!hashToMinted[currentHash]) {
                selected++;
                hashToMinted[currentHash] = true;
                // Set the secondary hash for fusing.
                uint8 offset = 2;
                out = string(
                    abi.encodePacked(out, currentHash, AnonymiceLibrary.substring(currentHash, offset, TRAIT_COUNT + offset))
                );
            }
            currentHash = "";
            draws++;
            if(draws >= q*2) {
                revert("h1");
            }
        } while (selected < q);

        return out;
    }

    /**
     * @dev Hash to metadata function
     */
    function hashToMetadata(string memory _hash)
        private
        view
        returns (string memory)
    {
        uint8 curr = 0;
        uint8 idx = 0;
        string memory metadataString;
        for(uint8 i = 0; i < seq.length; i++) {
            idx = AnonymiceLibrary.parseInt(
                AnonymiceLibrary.substring(_hash, curr, curr + seq[i])
            );
            metadataString = string(
                abi.encodePacked(
                    metadataString,
                    traitType,
                    abi.encodePacked(traitTypes[i > 6 ? i - 4 : i][idx].traitType, i > 6 ? "2" : ""),
                    traitValue,
                    traitTypes[i > 6 ? i - 4 : i][idx].traitName,
                    terminator,
                    i < seq.length-1 ? "," : ""
                )
            );
            curr += seq[i];
        }
        return string(abi.encodePacked("[", metadataString, "]"));
    }

    /**
     _____      _   _              _______      _   _            
    |  __ \    | | | |            / /  ___|    | | | |           
    | |  \/ ___| |_| |_ ___ _ __ / /\ `--.  ___| |_| |_ ___ _ __ 
    | | __ / _ \ __| __/ _ \ '__/ /  `--. \/ _ \ __| __/ _ \ '__|
    | |_\ \  __/ |_| ||  __/ | / /  /\__/ /  __/ |_| ||  __/ |   
    \____/\___|\__|\__\___|_|/_/   \____/ \___|\__|\__\___|_|                                                        
    */

    /**
     * @dev Toggles minting, so it can be start/stopped by the contract owner.
     */
    function toggleMint() public onlyOwner {
        MINT_ENABLE = !MINT_ENABLE;
        if(START_BLOCK == 0) {
            START_BLOCK = block.number;
        }
    }

    /**
     * @dev Toggles minting, so it can be start/stopped by the contract owner.
     */
    function togglePublic() public onlyOwner {
        PUBLIC_ENABLE = !PUBLIC_ENABLE;
    }

    function getTraitTokenBalance(uint256 tokenId) public view returns(uint) {
        require(_exists(tokenId), "e0");
        return ((block.timestamp - tokenIdToTimestamp[tokenId]) / TRAIT_TOKEN_EPOCH) - tokenIdToSpent[tokenId];
    }

    function getRemainingCooldown(uint256 tokenId) public view returns (uint) {
        require(_exists(tokenId), "e0");
        return block.timestamp > tokenIdToCooldown[tokenId] ? 0 : tokenIdToCooldown[tokenId] - block.timestamp;
    }

    /**
     * @dev Gets the hash for an existing token.
     */
    function getTokenHash(uint256 tokenId) public view disallowIfStateIsChanging returns (string memory)  {
        require(_exists(tokenId), "e0");
        return tokenIdToHash[tokenId];
    }

    /**
     * @dev returns the size of the token as javscript list.
     */ 
    function getTokenSize(uint tokenId) public view disallowIfStateIsChanging returns (string memory) {
        require(_exists(tokenId), "e0");
        return string(
                abi.encodePacked(
                    "[",
                    tokenIdToSizeX[tokenId],
                    ",",
                    tokenIdToSizeY[tokenId],
                    "]"
                )
            );
    }

    /**
     * @dev Add a trait type
     * @param _traitTypeIndex The trait type index
     * @param traits Array of traits to add
     */
    function addTraitType(uint256 _traitTypeIndex, Trait[] memory traits)
        public
        onlyOwner
    {
        delete traitTypes[_traitTypeIndex];
        for (uint256 i = 0; i < traits.length; i++) {
            traitTypes[_traitTypeIndex].push(
                Trait(
                    traits[i].traitName,
                    traits[i].traitType
                )
            );
        }
        return;
    }

    function setSizeForTokenId(uint256 tokenId, uint16 xInPixels, uint16 yInPixels) public {
        require(ownerOf(tokenId) == msg.sender, "s0");
        if(xInPixels > 0 && xInPixels <= 5000 && yInPixels > 0 && yInPixels <= 5000) {
            tokenIdToSizeX[tokenId] = xInPixels;
            tokenIdToSizeY[tokenId] = yInPixels;
        } else {
            revert("s1");
        }
    }

    /**
     * @dev Sets the meta tag for the page.
     * @param _meta the meta tag contents.
     */
    function setMeta(string memory _meta) public onlyOwner {
        meta = _meta;
    }

    /**
     * @dev Sets the p5.js mirroring URL - this can be changed if cloudflare ever disappears.
     * @param _p5Url The address of the p5.js file hosted on CDN (URL encoded).
     */

    function setp5Address(string memory _p5Url) public onlyOwner {
        p5Url = _p5Url;
    }

    /**
     * @dev Sets the SHA-512 hash of the p5.js library hosted on the CDN.
     * @param _p5Integrity The SHA-512 Hash of the p5.js library.
     */
    function setp5Integrity(string memory _p5Integrity) public onlyOwner {
        p5Integrity = _p5Integrity;
    }

    /**
     * @dev Sets the pako.js mirroring URL - this can be changed if cloudflare ever disappears.
     * @param _pakoUrl The address of the p5.js file hosted on CDN (URL encoded).
     */

    function setPakoAddress(string memory _pakoUrl) public onlyOwner {
        pakoUrl = _pakoUrl;
    }

    /**
     * @dev Sets the SHA-512 hash of the p5.js library hosted on the CDN.
     * @param _pakoIntegrity The SHA-512 Hash of the p5.js library.
     */
    function setPakoIntegrity(string memory _pakoIntegrity) public onlyOwner {
        pakoIntegrity = _pakoIntegrity;
    }

    /**
     * @dev Sets the B64 encoded Gzipped source string for HTML mirroring.
     * @param _b64Gzip the B64 encoded Gzipped source string for HTML mirroring.
     */
    function setGzipSource(string memory _b64Gzip) public onlyOwner {
        gzip = _b64Gzip;
    }
    
    /**
     * @dev Sets the base image url, this will be the Nodes API, and can be replaced by a static IPFS resource
     * after mint, so the API can be retired.
     * @param _imageUrl The URL of the image API or the IPFS static resource (URL encoded).
     */
    function setImageUrl(string memory _imageUrl) public onlyOwner {
        imageUrl = _imageUrl;
    }

    /**
    * @dev Set the image type extension on the base image url. We'd like to use webp if openSea will let us.
    */
    function setImageUrlExtension(string memory _imageUrlExtension) public onlyOwner {
        imageUrlExtension = _imageUrlExtension;
    }
    
    /**
     * @dev Sets the base animation url, this will be an IPFS hosted version of the API to render the Nodes
     * artwork without needing to hit the mirrored HTML endpoint which OpenSea can't do yet.
     * @param _animationUrl The URL of the Nodes viewer hosted on IPFS.
     */
    function setAnimationUrl(string memory _animationUrl) public onlyOwner {
        animationUrl = _animationUrl;
    }

    /**
     * @dev Sets the description returned in the tokenURI.
     */
    function setDescription(string memory _description) public onlyOwner {
        description = _description;
    }

    /**
     * @dev Clears all set traits. Note these can also just be overwritten since its tied to a mapping.
     */
    function clearTraits() public onlyOwner {
        for (uint8 i = 0; i < TRAIT_COUNT+2; i++) {
            delete traitTypes[i];
        }
    }

    /**
     * @dev Sets the general and team merkle roots.
     */
    function setMerkelRoots(bytes32 _generalMerkleRoot, bytes32 _devMerkleRoot) public onlyOwner {
        generalMerkleRoot = _generalMerkleRoot;
        devMerkleRoot = _devMerkleRoot;
    }

    /**
     * @dev lever.
     */
    function setC(string memory _c) public onlyOwner {
        c = _c;
    }

    /**
     * Pays the team for their hard work.
     */
    function payTheDevs() public onlyOwner {
        (bool success, ) = owner().call{value: address(this).balance}("");
        require(success);
    }
}

File 2 of 14 : AnonymiceLibrary.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;

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 3 of 14 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 4 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

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() {
        _transferOwnership(_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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 5 of 14 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creators: locationtba.eth, 2pmflow.eth

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Does not support burning tokens to address(0).
 */
contract ERC721A is
  Context,
  ERC165,
  IERC721,
  IERC721Metadata,
  IERC721Enumerable
{
  using Address for address;
  using Strings for uint256;

  struct TokenOwnership {
    address addr;
    uint64 startTimestamp;
  }

  struct AddressData {
    uint128 balance;
    uint128 numberMinted;
  }

  uint256 private currentIndex = 0;
  uint256 private burnedCount = 0;
  uint256 private immutable startChildIndex;
  uint256 private currentChildIndex;
  uint256 internal immutable maxBatchSize;

  // Token name
  string private _name;

  // Token symbol
  string private _symbol;

  // Mapping from token ID to ownership details
  // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details.
  mapping(uint256 => TokenOwnership) private _ownerships;

  // Mapping owner address to address data
  mapping(address => AddressData) private _addressData;

  // 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
   * `maxBatchSize` refers to how much a minter can mint at a time.
   */
  constructor(
    string memory name_,
    string memory symbol_,
    uint256 maxBatchSize_,
    uint256 maxGenesisCap_
  ) {
    require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero");
    _name = name_;
    _symbol = symbol_;
    maxBatchSize = maxBatchSize_;
    startChildIndex = maxGenesisCap_;
    currentChildIndex = maxGenesisCap_;
  }

  /**
   * @dev See {IERC721Enumerable-totalSupply}.
   */
  function totalSupply() public view override returns (uint256) {
    return totalGenesisSupply() + totalChildSupply();
  }

  function totalGenesisSupply() public view returns (uint256) {
    return currentIndex;
  }

  function totalChildSupply() public view returns (uint256) {
    return currentChildIndex - startChildIndex - burnedCount;
  }

  function burn() internal {
    burnedCount++;
  }

  /**
   * @dev See {IERC721Enumerable-tokenByIndex}.
   */
  function tokenByIndex(uint256 index) public view override returns (uint256) {
    require(index < totalGenesisSupply() || (index >= startChildIndex && index < totalChildSupply() + startChildIndex) , "ERC721A: global index out of bounds");
    return index;
  }

  /**
   * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
   * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
   * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
   */
  function tokenOfOwnerByIndex(address owner, uint256 index)
    public
    view
    override
    returns (uint256)
  {
    require(index < balanceOf(owner), "ERC721A: owner index out of bounds");
    address currOwnershipAddr = address(0);
    uint256 tokenIdsIdx = 0;
    for(uint8 j = 0; j < 2; j++) {
      uint256 numMintedSoFar = j < 1 ? totalGenesisSupply() : totalChildSupply() + startChildIndex + burnedCount;
      for (uint256 i = j < 1 ? 0 : startChildIndex; i < numMintedSoFar; i++) {
        TokenOwnership memory ownership = _ownerships[i];
        if (ownership.addr != address(0)) {
          currOwnershipAddr = ownership.addr;
        }
        if (currOwnershipAddr == owner) {
          if (tokenIdsIdx == index) {
            return i;
          }
          tokenIdsIdx++;
        }
      }
    }
    revert("ERC721A: unable to get token of owner by index");
  }

  /**
   * @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 ||
      interfaceId == type(IERC721Enumerable).interfaceId ||
      super.supportsInterface(interfaceId);
  }

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

  function _numberMinted(address owner) internal view returns (uint256) {
    require(
      owner != address(0),
      "ERC721A: number minted query for the zero address"
    );
    return uint256(_addressData[owner].numberMinted);
  }

  function ownershipOf(uint256 tokenId)
    internal
    view
    returns (TokenOwnership memory)
  {
    require(_exists(tokenId), "ERC721A: owner query for nonexistent token");

    uint256 lowestTokenToCheck;
    if (tokenId >= maxBatchSize) {
      lowestTokenToCheck = tokenId - maxBatchSize + 1;
    }

    for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) {
      TokenOwnership memory ownership = _ownerships[curr];
      if (ownership.addr != address(0)) {
        return ownership;
      }
    }

    revert("ERC721A: unable to determine the owner of token");
  }

  /**
   * @dev See {IERC721-ownerOf}.
   */
  function ownerOf(uint256 tokenId) public view override returns (address) {
    return ownershipOf(tokenId).addr;
  }

  /**
   * @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 override {
    address owner = ERC721A.ownerOf(tokenId);
    require(to != owner, "ERC721A: approval to current owner");

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

    _approve(to, tokenId, owner);
  }

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

    return _tokenApprovals[tokenId];
  }

  /**
   * @dev See {IERC721-setApprovalForAll}.
   */
  function setApprovalForAll(address operator, bool approved) public override {
    require(operator != _msgSender(), "ERC721A: 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 override {
    _transfer(from, to, tokenId);
  }

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

  /**
   * @dev See {IERC721-safeTransferFrom}.
   */
  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) public override {
    _transfer(from, to, tokenId);
    require(
      _checkOnERC721Received(from, to, tokenId, _data),
      "ERC721A: 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`),
   */
  function _exists(uint256 tokenId) internal view returns (bool) {
    return tokenId < currentIndex || tokenId >= startChildIndex && tokenId < currentChildIndex;
  }

  function _safeMint(address to, uint256 quantity) internal {
    _safeMint(to, quantity, "");
  }

  /**
   * @dev Mints `quantity` tokens and transfers them to `to`.
   *
   * Requirements:
   *
   * - `to` cannot be the zero address.
   * - `quantity` cannot be larger than the max batch size.
   *
   * Emits a {Transfer} event.
   */
  function _safeMint(
    address to,
    uint256 quantity,
    bytes memory _data
  ) internal {
    bool child = _data.length > 0;
    uint256 startTokenId = child ? currentChildIndex : currentIndex;
    require(to != address(0), "ERC721A: mint to the zero address");
    // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering.
    require(!_exists(startTokenId), "ERC721A: token already minted");
    require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high");

    _beforeTokenTransfers(address(0), to, startTokenId, quantity, _data);

    AddressData memory addressData = _addressData[to];
    _addressData[to] = AddressData(
      addressData.balance + uint128(quantity),
      addressData.numberMinted + uint128(quantity)
    );
    _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp));

    uint256 updatedIndex = startTokenId;

    for (uint256 i = 0; i < quantity; i++) {
      emit Transfer(address(0), to, updatedIndex);
      require(
        _checkOnERC721Received(address(0), to, updatedIndex, _data),
        "ERC721A: transfer to non ERC721Receiver implementer"
      );
      updatedIndex++;
    }

    currentIndex = child ? currentIndex : updatedIndex;
    currentChildIndex = child ? updatedIndex : currentChildIndex;
    _afterTokenTransfers(address(0), to, startTokenId, quantity);
  }

  /**
   * @dev Transfers `tokenId` from `from` to `to`.
   *
   * 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
  ) private {
    TokenOwnership memory prevOwnership = ownershipOf(tokenId);

    bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
      getApproved(tokenId) == _msgSender() ||
      isApprovedForAll(prevOwnership.addr, _msgSender()));

    require(
      isApprovedOrOwner,
      "ERC721A: transfer caller is not owner nor approved"
    );

    require(
      prevOwnership.addr == from,
      "ERC721A: transfer from incorrect owner"
    );
    require(to != address(0), "ERC721A: transfer to the zero address");

    _beforeTokenTransfers(from, to, tokenId, 1, "");

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

    _addressData[from].balance -= 1;
    _addressData[to].balance += 1;
    _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp));

    // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
    // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
    uint256 nextTokenId = tokenId + 1;
    if (_ownerships[nextTokenId].addr == address(0)) {
      if (_exists(nextTokenId)) {
        _ownerships[nextTokenId] = TokenOwnership(
          prevOwnership.addr,
          prevOwnership.startTimestamp
        );
      }
    }

    emit Transfer(from, to, tokenId);
    _afterTokenTransfers(from, to, tokenId, 1);
  }

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

  uint256 public nextOwnerToExplicitlySet = 0;

  /**
   * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf().
   */
  function _setOwnersExplicit(uint256 quantity) internal {
    uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet;
    require(quantity > 0, "quantity must be nonzero");
    uint256 endIndex = oldNextOwnerToSet + quantity - 1;
    if (endIndex > currentIndex - 1) {
      endIndex = currentIndex - 1;
    }
    // We know if the last one in the group exists, all in the group exist, due to serial ordering.
    require(_exists(endIndex), "not enough minted yet for this cleanup");
    for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) {
      if (_ownerships[i].addr == address(0)) {
        TokenOwnership memory ownership = ownershipOf(i);
        _ownerships[i] = TokenOwnership(
          ownership.addr,
          ownership.startTimestamp
        );
      }
    }
    nextOwnerToExplicitlySet = endIndex + 1;
  }

  /**
   * @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(to).onERC721Received.selector;
      } catch (bytes memory reason) {
        if (reason.length == 0) {
          revert("ERC721A: transfer to non ERC721Receiver implementer");
        } else {
          assembly {
            revert(add(32, reason), mload(reason))
          }
        }
      }
    } else {
      return true;
    }
  }

  /**
   * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
   *
   * startTokenId - the first token id to be transferred
   * quantity - the amount to be transferred
   *
   * 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`.
   */
  function _beforeTokenTransfers(
    address from,
    address to,
    uint256 startTokenId,
    uint256 quantity,
    bytes memory data
  ) internal virtual {}

  /**
   * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
   * minting.
   *
   * startTokenId - the first token id to be transferred
   * quantity - the amount to be transferred
   *
   * Calling conditions:
   *
   * - when `from` and `to` are both non-zero.
   * - `from` and `to` are never both zero.
   */
  function _afterTokenTransfers(
    address from,
    address to,
    uint256 startTokenId,
    uint256 quantity
  ) internal virtual {}
}

File 6 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

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;
    }
}

File 7 of 14 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

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 8 of 14 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

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 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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 10 of 14 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

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);

    /**
     * @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 11 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

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 12 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

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 13 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

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 14 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"bytes32","name":"_generalMerkleRoot","type":"bytes32"},{"internalType":"bytes32","name":"_devMerkleRoot","type":"bytes32"},{"internalType":"uint16","name":"genesisCap","type":"uint16"}],"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":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":[],"name":"FUSED_CAP","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GENISIS_CAP","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_ENABLE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_ENABLE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"START_BLOCK","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_traitTypeIndex","type":"uint256"},{"components":[{"internalType":"string","name":"traitName","type":"string"},{"internalType":"string","name":"traitType","type":"string"}],"internalType":"struct Nodes.Trait[]","name":"traits","type":"tuple[]"}],"name":"addTraitType","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":"clearTraits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId0","type":"uint256"},{"internalType":"uint256","name":"tokenId1","type":"uint256"},{"internalType":"int8[9]","name":"phenotype","type":"int8[9]"},{"internalType":"uint256","name":"tokenCostPreference","type":"uint256"}],"name":"fuse","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"generalMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getRemainingCooldown","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getTokenHash","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getTokenSize","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getTraitTokenBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintNodes","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintNodesTeam","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"payTheDevs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","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":"string","name":"_animationUrl","type":"string"}],"name":"setAnimationUrl","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":"string","name":"_c","type":"string"}],"name":"setC","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_description","type":"string"}],"name":"setDescription","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_b64Gzip","type":"string"}],"name":"setGzipSource","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_imageUrl","type":"string"}],"name":"setImageUrl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_imageUrlExtension","type":"string"}],"name":"setImageUrlExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_generalMerkleRoot","type":"bytes32"},{"internalType":"bytes32","name":"_devMerkleRoot","type":"bytes32"}],"name":"setMerkelRoots","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_meta","type":"string"}],"name":"setMeta","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_pakoUrl","type":"string"}],"name":"setPakoAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_pakoIntegrity","type":"string"}],"name":"setPakoIntegrity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint16","name":"xInPixels","type":"uint16"},{"internalType":"uint16","name":"yInPixels","type":"uint16"}],"name":"setSizeForTokenId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_p5Url","type":"string"}],"name":"setp5Address","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_p5Integrity","type":"string"}],"name":"setp5Integrity","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":[],"name":"teamMints","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenHTML","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"totalChildSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalGenesisSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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"}]

600080805560018181556009829055600a805461ffff60a01b19169055600b9182556102c060405261016081815261018082905260026101a08190526101c08190526101e0839052610200839052610220839052610240526102608290526102808290526102a09190915262000079916017919062000534565b506040805161012081018252600080825260036020830181905260049383018490526060830182905260056080840181905260a084019190915260c083019390935260e0820152610100810191909152620000d990601890600962000534565b506201518060c0819052620000f090600362000714565b60e052602b805460ff191690553480156200010a57600080fd5b5060405162005ede38038062005ede8339810160408190526200012d9162000736565b604051806040016040528060058152602001644e4f44455360d81b815250604051806040016040528060048152602001634e4f444560e01b815250600c8361ffff1660008211620001d45760405162461bcd60e51b815260206004820152602760248201527f455243373231413a206d61782062617463682073697a65206d757374206265206044820152666e6f6e7a65726f60c81b606482015260840160405180910390fd5b8351620001e9906003906020870190620005ce565b508251620001ff906004906020860190620005ce565b5060a0919091526080819052600255506200021c905033620004e2565b604080516103a08101825261027681526101c26020820181905261016892820183905261010e6060830181905260808301819052606460a084015260c0830182905260e08301849052610100830182905261012083018290526101408301849052610160830181905261018083018190526101a083018490526101c083018190526101e0830184905261020083018190526102208301849052610240830181905261021c61026084015260b46102808401526102a083018190526102c083018190526102e08301819052610300830184905261032083019390935261034082019290925261036081018290526103808101919091526200032190601b90601d6200064b565b50604080516101a08101825260c381526101846020820181905291810182905260608101829052610611608082015261030960a0820181905260c0820181905261079660e083015261048d6101008301526101e56101208301526101408201929092526101608101829052610180810191909152620003a590601c90600d6200064b565b50604080516060810182526109c4808252602082015261138891810191909152620003d590601d9060036200064b565b5060408051606081018252610d068152610d0560208201819052918101919091526200040690601e9060036200064b565b50604080516101408101825261064d808252610285602083018190526103c8938301849052606083019190915261050a6080830181905260a083019390935260c082019290925260e081018290526101008101919091526101436101208201526200047690601f90600a6200064b565b506019839055601a82905566b1a2bc2ec500006101005261ffff811661012052620004a381600262000778565b61ffff1661014052604080518082019091526004808252631733b4b360e11b6020909201918252620004d891601191620005ce565b50505050620007e2565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600183019183908215620005bc5791602002820160005b838211156200058b57835183826101000a81548160ff021916908360ff16021790555092602001926001016020816000010492830192600103026200054b565b8015620005ba5782816101000a81549060ff02191690556001016020816000010492830192600103026200058b565b505b50620005ca929150620006e7565b5090565b828054620005dc90620007a5565b90600052602060002090601f016020900481019282620006005760008555620005bc565b82601f106200061b57805160ff1916838001178555620005bc565b82800160010185558215620005bc579182015b82811115620005bc5782518255916020019190600101906200062e565b82805482825590600052602060002090600f01601090048101928215620005bc5791602002820160005b83821115620006b757835183826101000a81548161ffff021916908361ffff160217905550926020019260020160208160010104928301926001030262000675565b8015620005ba5782816101000a81549061ffff0219169055600201602081600101049283019260010302620006b7565b5b80821115620005ca5760008155600101620006e8565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615620007315762000731620006fe565b500290565b6000806000606084860312156200074c57600080fd5b8351925060208401519150604084015161ffff811681146200076d57600080fd5b809150509250925092565b600061ffff808316818516818304811182151516156200079c576200079c620006fe565b02949350505050565b600181811c90821680620007ba57607f821691505b60208210811415620007dc57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e05161010051610120516101405161565b620008836000396000818161073f015261208a0152600081816106a30152612b9e01526000610e2f0152600081816135f70152613cbe015260006112e0015260008181612efc01528181612f260152613317015260008181610fdf01528181611034015281816114040152818161142f0152818161266501526126d5015261565b6000f3fe60806040526004361061036b5760003560e01c8063715018a6116101c6578063a22cb465116100f7578063dcbbe13a11610095578063ed44ee681161006f578063ed44ee6814610a12578063f2fde38b14610a32578063faa7502414610a52578063fb8448f014610a6757600080fd5b8063dcbbe13a14610994578063e50106d6146109a9578063e985e9c5146109c957600080fd5b8063b88d4fde116100d1578063b88d4fde14610929578063c87b56dd14610949578063d3dd5fe014610969578063d7224ba01461097e57600080fd5b8063a22cb465146108c9578063aa877a1a146108e9578063b79bebaf1461090957600080fd5b8063926d174511610164578063981d87711161013e578063981d877114610854578063993ae38814610869578063a0cc0dc514610889578063a1d40403146108a957600080fd5b8063926d1745146107ff578063953d3c111461081f57806395d89b411461083f57600080fd5b806380652bc0116101a057806380652bc0146107815780638da5cb5b146107a15780638e3dcabf146107bf57806390c3f38f146107df57600080fd5b8063715018a61461071857806376bde0781461072d5780637e26b0d01461076157600080fd5b80632abff1f2116102a05780634dfc1abc1161023e578063582a38a611610218578063582a38a6146106705780635f10b279146106915780636352211e146106d857806370a08231146106f857600080fd5b80634dfc1abc1461061b5780634ef1c7351461063b5780634f6ccce71461065057600080fd5b8063378f33be1161027a578063378f33be1461059957806339b3e826146105c557806342842e0e146105db5780634b8cfcbc146105fb57600080fd5b80632abff1f2146105395780632f745c5914610559578063349d27481461057957600080fd5b806318160ddd1161030d57806323b872dd116102e757806323b872dd146104c657806326909ab3146104e657806327b2eb61146104f957806328e56c5e1461051957600080fd5b806318160ddd1461047b5780631b72e3cd146104905780631e67be5e146104b057600080fd5b8063081812fc11610349578063081812fc146103eb578063095ea7b314610423578063098afd4b14610445578063145758e91461045a57600080fd5b806301ffc9a71461037057806306ba4fae146103a557806306fdde03146103c9575b600080fd5b34801561037c57600080fd5b5061039061038b3660046143bf565b610a87565b60405190151581526020015b60405180910390f35b3480156103b157600080fd5b506103bb601a5481565b60405190815260200161039c565b3480156103d557600080fd5b506103de610af4565b60405161039c919061443b565b3480156103f757600080fd5b5061040b61040636600461444e565b610b86565b6040516001600160a01b03909116815260200161039c565b34801561042f57600080fd5b5061044361043e36600461447e565b610c14565b005b34801561045157600080fd5b50610443610d2c565b34801561046657600080fd5b50600a5461039090600160a81b900460ff1681565b34801561048757600080fd5b506103bb610da2565b34801561049c57600080fd5b506104436104ab3660046145b0565b610dbe565b3480156104bc57600080fd5b506103bb60195481565b3480156104d257600080fd5b506104436104e13660046145e4565b610dff565b6104436104f4366004614620565b610e0a565b34801561050557600080fd5b5061044361051436600461469e565b610ea8565b34801561052557600080fd5b506104436105343660046145b0565b610edd565b34801561054557600080fd5b506104436105543660046145b0565b610f1a565b34801561056557600080fd5b506103bb61057436600461447e565b610f57565b34801561058557600080fd5b506104436105943660046146c0565b611175565b3480156105a557600080fd5b50602b546105b39060ff1681565b60405160ff909116815260200161039c565b3480156105d157600080fd5b506103bb600b5481565b3480156105e757600080fd5b506104436105f63660046145e4565b611281565b34801561060757600080fd5b506103bb61061636600461444e565b61129c565b34801561062757600080fd5b506104436106363660046145b0565b61131e565b34801561064757600080fd5b5061044361135b565b34801561065c57600080fd5b506103bb61066b36600461444e565b6113f6565b34801561067c57600080fd5b50600a5461039090600160a01b900460ff1681565b34801561069d57600080fd5b506106c57f000000000000000000000000000000000000000000000000000000000000000081565b60405161ffff909116815260200161039c565b3480156106e457600080fd5b5061040b6106f336600461444e565b6114bf565b34801561070457600080fd5b506103bb6107133660046147e8565b6114d1565b34801561072457600080fd5b50610443611562565b34801561073957600080fd5b506106c57f000000000000000000000000000000000000000000000000000000000000000081565b34801561076d57600080fd5b506103de61077c36600461444e565b611598565b34801561078d57600080fd5b5061044361079c3660046145b0565b611686565b3480156107ad57600080fd5b50600a546001600160a01b031661040b565b3480156107cb57600080fd5b506103bb6107da36600461444e565b6116c3565b3480156107eb57600080fd5b506104436107fa3660046145b0565b611726565b34801561080b57600080fd5b5061044361081a3660046145b0565b611763565b34801561082b57600080fd5b5061044361083a3660046145b0565b6117a0565b34801561084b57600080fd5b506103de6117dd565b34801561086057600080fd5b506104436117ec565b34801561087557600080fd5b506104436108843660046145b0565b611837565b34801561089557600080fd5b506103de6108a436600461444e565b611874565b3480156108b557600080fd5b506104436108c43660046145b0565b61198b565b3480156108d557600080fd5b506104436108e4366004614803565b6119c8565b3480156108f557600080fd5b5061044361090436600461483f565b611a8d565b34801561091557600080fd5b506103de61092436600461444e565b6120f7565b34801561093557600080fd5b506104436109443660046148c9565b612241565b34801561095557600080fd5b506103de61096436600461444e565b61227a565b34801561097557600080fd5b50610443612448565b34801561098a57600080fd5b506103bb60095481565b3480156109a057600080fd5b506000546103bb565b3480156109b557600080fd5b506104436109c43660046145b0565b61249e565b3480156109d557600080fd5b506103906109e4366004614944565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b348015610a1e57600080fd5b50610443610a2d366004614989565b6124db565b348015610a3e57600080fd5b50610443610a4d3660046147e8565b6125c6565b348015610a5e57600080fd5b506103bb61265e565b348015610a7357600080fd5b50610443610a82366004614620565b61269b565b60006001600160e01b031982166380ac58cd60e01b1480610ab857506001600160e01b03198216635b5e139f60e01b145b80610ad357506001600160e01b0319821663780e9d6360e01b145b80610aee57506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060038054610b03906149c5565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2f906149c5565b8015610b7c5780601f10610b5157610100808354040283529160200191610b7c565b820191906000526020600020905b815481529060010190602001808311610b5f57829003601f168201915b5050505050905090565b6000610b91826126c7565b610bf85760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610c1f826114bf565b9050806001600160a01b0316836001600160a01b03161415610c8e5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610bef565b336001600160a01b0382161480610caa5750610caa81336109e4565b610d1c5760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610bef565b610d27838383612706565b505050565b600a546001600160a01b03163314610d565760405162461bcd60e51b8152600401610bef90614a00565b60005b610d6560056002614a4b565b60ff168160ff161015610d9f5760ff81166000908152602960205260408120610d8d9161428e565b80610d9781614a70565b915050610d59565b50565b6000610dac61265e565b600054610db99190614a90565b905090565b600a546001600160a01b03163314610de85760405162461bcd60e51b8152600401610bef90614a00565b8051610dfb9060159060208401906142af565b5050565b610d27838383612762565b333b15610e295760405162461bcd60e51b8152600401610bef90614aa8565b610e53837f0000000000000000000000000000000000000000000000000000000000000000614ac4565b341015610e875760405162461bcd60e51b81526020600482015260026024820152616d3160f01b6044820152606401610bef565b336000908152602a60205260408120439055610d2790849084908490612b0f565b600a546001600160a01b03163314610ed25760405162461bcd60e51b8152600401610bef90614a00565b601991909155601a55565b600a546001600160a01b03163314610f075760405162461bcd60e51b8152600401610bef90614a00565b8051610dfb9060129060208401906142af565b600a546001600160a01b03163314610f445760405162461bcd60e51b8152600401610bef90614a00565b8051610dfb9060109060208401906142af565b6000610f62836114d1565b8210610fbb5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610bef565b60008060005b60028160ff16101561111557600060018260ff161061101f576001547f000000000000000000000000000000000000000000000000000000000000000061100661265e565b6110109190614a90565b61101a9190614a90565b611023565b6000545b9050600060018360ff1610611058577f000000000000000000000000000000000000000000000000000000000000000061105b565b60005b90505b81811015611100576000818152600560209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b031691830191909152156110b057805195505b886001600160a01b0316866001600160a01b031614156110ed57878514156110df57509450610aee9350505050565b846110e981614ae3565b9550505b50806110f881614ae3565b91505061105e565b5050808061110d90614a70565b915050610fc1565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610bef565b600a546001600160a01b0316331461119f5760405162461bcd60e51b8152600401610bef90614a00565b60008281526029602052604081206111b69161428e565b60005b8151811015610d27576029600084815260200190815260200160002060405180604001604052808484815181106111f2576111f2614afe565b602002602001015160000151815260200184848151811061121557611215614afe565b60209081029190910181015181015190915282546001810184556000938452928190208251805193946002029091019261125292849201906142af565b50602082810151805161126b92600185019201906142af565b505050808061127990614ae3565b9150506111b9565b610d2783838360405180602001604052806000815250612241565b60006112a7826126c7565b6112c35760405162461bcd60e51b8152600401610bef90614b14565b6000828152602660209081526040808320546024909252909120547f00000000000000000000000000000000000000000000000000000000000000009061130a9042614b30565b6113149190614b5d565b610aee9190614b30565b600a546001600160a01b031633146113485760405162461bcd60e51b8152600401610bef90614a00565b8051610dfb9060169060208401906142af565b600a546001600160a01b031633146113855760405162461bcd60e51b8152600401610bef90614a00565b6000611399600a546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d80600081146113e3576040519150601f19603f3d011682016040523d82523d6000602084013e6113e8565b606091505b5050905080610d9f57600080fd5b6000805482108061146357507f0000000000000000000000000000000000000000000000000000000000000000821015801561146357507f000000000000000000000000000000000000000000000000000000000000000061145661265e565b6114609190614a90565b82105b6114bb5760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610bef565b5090565b60006114ca82612e7c565b5192915050565b60006001600160a01b03821661153d5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610bef565b506001600160a01b03166000908152600660205260409020546001600160801b031690565b600a546001600160a01b0316331461158c5760405162461bcd60e51b8152600401610bef90614a00565b6115966000613023565b565b6060336115ad600a546001600160a01b031690565b6001600160a01b031614806115d05750336000908152602a602052604090205443115b6115ec5760405162461bcd60e51b8152600401610bef90614b71565b6115f5826126c7565b6116115760405162461bcd60e51b8152600401610bef90614b14565b6000828152602760208181526040808420546028835293819020549051605b60f81b928101929092526001600160f01b031960f094851b81166021840152600b60fa1b6023840152931b9092166024830152605d60f81b6026830152015b60405160208183030381529060405290505b919050565b600a546001600160a01b031633146116b05760405162461bcd60e51b8152600401610bef90614a00565b8051610dfb90600f9060208401906142af565b60006116ce826126c7565b6116ea5760405162461bcd60e51b8152600401610bef90614b14565b600082815260256020526040902054421161171e57600082815260256020526040902054611719904290614b30565b610aee565b600092915050565b600a546001600160a01b031633146117505760405162461bcd60e51b8152600401610bef90614a00565b8051610dfb9060149060208401906142af565b600a546001600160a01b0316331461178d5760405162461bcd60e51b8152600401610bef90614a00565b8051610dfb90600c9060208401906142af565b600a546001600160a01b031633146117ca5760405162461bcd60e51b8152600401610bef90614a00565b8051610dfb9060139060208401906142af565b606060048054610b03906149c5565b600a546001600160a01b031633146118165760405162461bcd60e51b8152600401610bef90614a00565b600a805460ff60a81b198116600160a81b9182900460ff1615909102179055565b600a546001600160a01b031633146118615760405162461bcd60e51b8152600401610bef90614a00565b8051610dfb9060119060208401906142af565b606033611889600a546001600160a01b031690565b6001600160a01b031614806118ac5750336000908152602a602052604090205443115b6118c85760405162461bcd60e51b8152600401610bef90614b71565b6118d1826126c7565b6118ed5760405162461bcd60e51b8152600401610bef90614b14565b60008281526023602052604090208054611906906149c5565b80601f0160208091040260200160405190810160405280929190818152602001828054611932906149c5565b801561197f5780601f106119545761010080835404028352916020019161197f565b820191906000526020600020905b81548152906001019060200180831161196257829003601f168201915b50505050509050919050565b600a546001600160a01b031633146119b55760405162461bcd60e51b8152600401610bef90614a00565b8051610dfb90600d9060208401906142af565b6001600160a01b038216331415611a215760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610bef565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b333b15611aac5760405162461bcd60e51b8152600401610bef90614aa8565b600a54600160a01b900460ff16611ac257600080fd5b33611acc856114bf565b6001600160a01b0316148015611af2575033611ae7846114bf565b6001600160a01b0316145b611b235760405162461bcd60e51b8152602060048201526002602482015261663160f01b6044820152606401610bef565b82841415611b585760405162461bcd60e51b8152602060048201526002602482015261331960f11b6044820152606401610bef565b611b61846116c3565b158015611b745750611b72836116c3565b155b611ba55760405162461bcd60e51b8152602060048201526002602482015261663360f01b6044820152606401610bef565b6000611bb085611874565b90506000611bbd85611874565b9050606060028060005b60098160ff161015611f2657878160ff1660098110611be857611be8614afe565b602002015160000b6001191415611c705783611c498760ff86166017611c0f866002614a4b565b60ff16600b8110611c2257611c22614afe565b602081049190910154611c4191601f166101000a900460ff1688614a4b565b60ff16613075565b604051602001611c5a929190614baa565b6040516020818303038152906040529350611ed3565b878160ff1660098110611c8557611c85614afe565b602002015160000b6000191415611cac5783611c498660ff86166017611c0f866002614a4b565b6000888260ff1660098110611cc357611cc3614afe565b602002015160000b12158015611cdb575060ff811615155b8015611ceb57508060ff16600314155b8015611cfb57508060ff16600714155b611d2c5760405162461bcd60e51b8152602060048201526002602482015261198d60f21b6044820152606401610bef565b601b60058260ff1610611d4957611d44600483614bd9565b611d4b565b815b60ff1660058110611d5e57611d5e614afe565b01548860ff831660098110611d7557611d75614afe565b602002015160ff1610611daf5760405162461bcd60e51b8152602060048201526002602482015261663560f01b6044820152606401610bef565b60188160ff1660098110611dc557611dc5614afe565b602081049190910154611de491601f166101000a900460ff1683614a4b565b91506000888260ff1660098110611dfd57611dfd614afe565b602002015190508460098260ff1611158015611e5157506017611e21846002614a4b565b60ff16600b8110611e3457611e34614afe565b602091828204019190069054906101000a900460ff1660ff166002145b611e6a5760405180602001604052806000815250611e85565b604051806040016040528060018152602001600360fc1b8152505b611e918360ff16613141565b604051602001611ea2929190614baa565b60408051601f1981840301815290829052611ec09291602001614baa565b6040516020818303038152906040529450505b6017611ee0826002614a4b565b60ff16600b8110611ef357611ef3614afe565b602081049190910154611f1291601f166101000a900460ff1684614a4b565b925080611f1e81614a70565b915050611bc7565b506000611f328a61129c565b90506000611f3f8a61129c565b905060008060ff8516611f528486614a90565b1015611f855760405162461bcd60e51b8152602060048201526002602482015261331b60f11b6044820152606401610bef565b8c8a1415611fc957838560ff1611611fa0578460ff16611fa2565b835b9150818560ff1611611fb5576000611fc2565b611fc28260ff8716614b30565b9050612001565b828560ff1611611fdc578460ff16611fde565b825b9050808560ff1611611ff1576000611ffe565b611ffe8160ff8716614b30565b91505b60008d8152602660205260408120805484929061201f908490614a90565b909155505060008c81526026602052604081208054839290612042908490614a90565b92505081905550612074336001896040516020016120609190614bfc565b604051602081830303815290604052613246565b61207e8d8a613572565b6120888c89613572565b7f000000000000000000000000000000000000000000000000000000000000000061ffff166120b561265e565b11156120e85760405162461bcd60e51b8152602060048201526002602482015261663760f01b6044820152606401610bef565b50505050505050505050505050565b60603361210c600a546001600160a01b031690565b6001600160a01b0316148061212f5750336000908152602a602052604090205443115b61214b5760405162461bcd60e51b8152600401610bef90614b71565b612154826126c7565b6121705760405162461bcd60e51b8152600401610bef90614b14565b61217861362f565b600083815260236020908152604080832060279092529091205461ffff166121bb576040518060400160405280600381526020016203530360ec1b8152506121d7565b6000848152602760205260409020546121d79061ffff16613141565b60008581526028602052604090205461ffff1661220f576040518060400160405280600381526020016203530360ec1b81525061222b565b60008581526028602052604090205461222b9061ffff16613141565b601360405160200161166f959493929190614cc0565b61224c848484612762565b61225884848484613663565b6122745760405162461bcd60e51b8152600401610bef90614f65565b50505050565b60603361228f600a546001600160a01b031690565b6001600160a01b031614806122b25750336000908152602a602052604090205443115b6122ce5760405162461bcd60e51b8152600401610bef90614b71565b6122d7826126c7565b6122f35760405162461bcd60e51b8152600401610bef90614b14565b6124386122ff83613141565b6014600060128054612310906149c5565b90501161232557612320856120f7565b6123b1565b60128054612332906149c5565b80601f016020809104026020016040519081016040528092919081815260200182805461235e906149c5565b80156123ab5780601f10612380576101008083540402835291602001916123ab565b820191906000526020600020905b81548152906001019060200180831161238e57829003601f168201915b50505050505b6000601280546123c0906149c5565b9050116123dc57604051806020016040528060008152506123e5565b6123e586613141565b6123ee876120f7565b60106123f989613141565b601161240c6124078c611874565b613761565b60405160200161242499989796959493929190614fb8565b604051602081830303815290604052613a03565b60405160200161166f919061510c565b600a546001600160a01b031633146124725760405162461bcd60e51b8152600401610bef90614a00565b600a805460ff60a01b198116600160a01b9182900460ff1615909102179055600b546115965743600b55565b600a546001600160a01b031633146124c85760405162461bcd60e51b8152600401610bef90614a00565b8051610dfb90600e9060208401906142af565b336124e5846114bf565b6001600160a01b0316146125205760405162461bcd60e51b8152602060048201526002602482015261073360f41b6044820152606401610bef565b60008261ffff1611801561253a57506113888261ffff1611155b801561254a575060008161ffff16115b801561255c57506113888161ffff1611155b15612599576000928352602760209081526040808520805461ffff1990811661ffff96871617909155602890925290932080549093169116179055565b60405162461bcd60e51b8152602060048201526002602482015261733160f01b6044820152606401610bef565b600a546001600160a01b031633146125f05760405162461bcd60e51b8152600401610bef90614a00565b6001600160a01b0381166126555760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bef565b610d9f81613023565b60006001547f00000000000000000000000000000000000000000000000000000000000000006002546126919190614b30565b610db99190614b30565b333b156126ba5760405162461bcd60e51b8152600401610bef90614aa8565b610d278383836001612b0f565b60008054821080610aee57507f00000000000000000000000000000000000000000000000000000000000000008210158015610aee5750506002541190565b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061276d82612e7c565b80519091506000906001600160a01b0316336001600160a01b031614806127a457503361279984610b86565b6001600160a01b0316145b806127b6575081516127b690336109e4565b9050806128205760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610bef565b846001600160a01b031682600001516001600160a01b0316146128945760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610bef565b6001600160a01b0384166128f85760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610bef565b612915858585600160405180602001604052806000815250613b6a565b6129256000848460000151612706565b6001600160a01b03851660009081526006602052604081208054600192906129579084906001600160801b0316615151565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b038616600090815260066020526040812080546001945090926129a391859116615179565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b0380871682526001600160401b03428116602080850191825260008981526005909152948520935184549151909216600160a01b026001600160e01b03199091169190921617179055612a2a846001614a90565b6000818152600560205260409020549091506001600160a01b0316612ab957612a52816126c7565b15612ab95760408051808201825284516001600160a01b0390811682526020808701516001600160401b039081168285019081526000878152600590935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612b078686866001613c8e565b505050505050565b600081612b1d576002612b20565b600c5b600a5460ff918216925082918791600160a81b900416612b4e57336000908152602080526040902054612b5f565b336000908152602160205260409020545b612b699190614a90565b1115612b9c5760405162461bcd60e51b8152602060048201526002602482015261369960f11b6044820152606401610bef565b7f000000000000000000000000000000000000000000000000000000000000000061ffff1685612bcb60005490565b612bd59190614a90565b1115612c085760405162461bcd60e51b81526020600482015260026024820152616d3360f01b6044820152606401610bef565b612c8a848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250869250612c4d91505057601954612c51565b601a545b6040516bffffffffffffffffffffffff193360601b16602082015260340160405160208183030381529060405280519060200120613d88565b612cbb5760405162461bcd60e51b81526020600482015260026024820152611b4d60f21b6044820152606401610bef565b612cc53386613d9e565b8115612d6a57602b8054869190600090612ce390849060ff16614a4b565b825460ff9182166101009390930a928302919092021990911617905550336000908152602160209081526040808320549180529091205482918791612d289190614a90565b612d329190614a90565b1115612d655760405162461bcd60e51b8152602060048201526002602482015261369b60f11b6044820152606401610bef565b612e15565b600a54600160a01b900460ff161515600114612dad5760405162461bcd60e51b815260206004820152600260248201526106d360f41b6044820152606401610bef565b600a54600160a81b900460ff16612dd257336000908152602080526040902054612de3565b336000908152602160205260409020545b15612e155760405162461bcd60e51b81526020600482015260026024820152616d3560f01b6044820152606401610bef565b600a54600160a81b900460ff1615612e51573360009081526021602052604081208054879290612e46908490614a90565b90915550612e759050565b33600090815260208052604081208054879290612e6f908490614a90565b90915550505b5050505050565b6040805180820190915260008082526020820152612e99826126c7565b612ef85760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610bef565b60007f00000000000000000000000000000000000000000000000000000000000000008310612f5957612f4b7f000000000000000000000000000000000000000000000000000000000000000084614b30565b612f56906001614a90565b90505b825b818110612fc2576000818152600560209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215612faf57949350505050565b5080612fba8161519b565b915050612f5b565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b6064820152608401610bef565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60608360006130848585614b30565b6001600160401b0381111561309b5761309b6144a8565b6040519080825280601f01601f1916602001820160405280156130c5576020820181803683370190505b509050845b84811015613137578281815181106130e4576130e4614afe565b01602001516001600160f81b031916826130fe8884614b30565b8151811061310e5761310e614afe565b60200101906001600160f81b031916908160001a9053508061312f81614ae3565b9150506130ca565b5095945050505050565b6060816131655750506040805180820190915260018152600360fc1b602082015290565b8160005b811561318f578061317981614ae3565b91506131889050600a83614b5d565b9150613169565b6000816001600160401b038111156131a9576131a96144a8565b6040519080825280601f01601f1916602001820160405280156131d3576020820181803683370190505b5090505b841561323e576131e8600183614b30565b91506131f5600a866151b2565b613200906030614a90565b60f81b81838151811061321557613215614afe565b60200101906001600160f81b031916908160001a905350613237600a86614b5d565b94506131d7565b949350505050565b805115156000816132595760005461325d565b6002545b90506001600160a01b0385166132bf5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610bef565b6132c8816126c7565b156133155760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610bef565b7f00000000000000000000000000000000000000000000000000000000000000008411156133905760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b6064820152608401610bef565b61339e600086838787613b6a565b6001600160a01b0385166000908152600660209081526040918290208251808401845290546001600160801b038082168352600160801b90910416918101919091528151808301909252805190919081906133fa908890615179565b6001600160801b031681526020018683602001516134189190615179565b6001600160801b039081169091526001600160a01b0380891660008181526006602090815260408083208751978301518716600160801b029790961696909617909455845180860186529182526001600160401b034281168386019081528883526005909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b868110156135375760405182906001600160a01b038a16906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46134fb6000898489613663565b6135175760405162461bcd60e51b8152600401610bef90614f65565b8161352181614ae3565b925050808061352f90614ae3565b9150506134ae565b50836135435780613547565b6000545b6000558361355757600254613559565b805b6002556135696000888589613c8e565b50505050505050565b6135876135828260016002613075565b613db8565b60ff16156135f25761359c3361dead84611281565b6135a98160018351613075565b6040516020016135b991906151c6565b60408051601f1981840301815291815260008481526023602090815291902082516135e9939192909101906142af565b50610dfb613e76565b61361c7f000000000000000000000000000000000000000000000000000000000000000042614a90565b6000838152602560205260409020555050565b60606016600c600d600e600f60405160200161364f9594939291906151ef565b604051602081830303815290604052905090565b60006001600160a01b0384163b1561375657604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906136a79033908990889088906004016153ac565b6020604051808303816000875af19250505080156136e2575060408051601f3d908101601f191682019092526136df918101906153e9565b60015b61373c573d808015613710576040519150601f19603f3d011682016040523d82523d6000602084013e613715565b606091505b5080516137345760405162461bcd60e51b8152600401610bef90614f65565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061323e565b506001949350505050565b6060600080606060005b600b8160ff1610156139d8576137b7613582878660ff1660178560ff16600b811061379857613798614afe565b602081049190910154611c4191601f166101000a900460ff1689614a4b565b9250816040518060400160405280600f81526020016e3d913a3930b4ba2fba3cb832911d1160891b8152506029600060068560ff16116137f75784613802565b613802600486614bd9565b60ff1681526020019081526020016000208560ff168154811061382757613827614afe565b906000526020600020906002020160010160068460ff16116138585760405180602001604052806000815250613873565b604051806040016040528060018152602001601960f91b8152505b604051602001613884929190615406565b60408051601f19818403018152828201909152600b82526a1116113b30b63ab2911d1160a91b60208301529060296000600660ff8816116138c557866138d0565b6138d0600488614bd9565b60ff1681526020019081526020016000208760ff16815481106138f5576138f5614afe565b906000526020600020906002020160000160405180604001604052806002815260200161227d60f01b8152506001600b61392f9190614b30565b8760ff161061394d5760405180602001604052806000815250613968565b604051806040016040528060018152602001600b60fa1b8152505b60405160200161397e9796959493929190615422565b604051602081830303815290604052915060178160ff16600b81106139a5576139a5614afe565b6020810491909101546139c491601f166101000a900460ff1685614a4b565b9350806139d081614a70565b91505061376b565b50806040516020016139ea91906154ae565b6040516020818303038152906040529350505050919050565b6060815160001415613a2357505060408051602081019091526000815290565b60006040518060600160405280604081526020016155e66040913990506000600384516002613a529190614a90565b613a5c9190614b5d565b613a67906004614ac4565b90506000613a76826020614a90565b6001600160401b03811115613a8d57613a8d6144a8565b6040519080825280601f01601f191660200182016040528015613ab7576020820181803683370190505b509050818152600183018586518101602084015b81831015613b255760039283018051603f601282901c811687015160f890811b8552600c83901c8216880151811b6001860152600683901c8216880151811b60028601529116860151901b93820193909352600401613acb565b600389510660018114613b3f5760028114613b5057613b5c565b613d3d60f01b600119830152613b5c565b603d60f81b6000198301525b509398975050505050505050565b6001600160a01b038516612e7557805115613bdd5781600114613bb85760405162461bcd60e51b8152600401610bef906020808252600490820152630627474360e41b604082015260600190565b60008381526023602090815260409091208251613bd7928401906142af565b50612e75565b6000613bea848685613e8d565b905060005b8381101561356957613c2c82613c0683600c614ac4565b613c11906000614a90565b613c1c84600c614ac4565b613c2790600c614a90565b613075565b604051602001613c3c91906154e2565b60408051601f1981840301815291905260236000613c5a8489614a90565b81526020019081526020016000209080519060200190613c7b9291906142af565b5080613c8681614ae3565b915050613bef565b60005b81811015612e75574260246000613ca88487614a90565b8152602081019190915260400160002055613ce37f000000000000000000000000000000000000000000000000000000000000000042614a90565b60256000613cf18487614a90565b815260200190815260200160002081905550602660008285613d139190614a90565b815260200190815260200160002060009055602760008285613d359190614a90565b815260208101919091526040016000908120805461ffff19169055602890613d5d8386614a90565b81526020810191909152604001600020805461ffff1916905580613d8081614ae3565b915050613c91565b600082613d95858461412b565b14949350505050565b610dfb828260405180602001604052806000815250613246565b60008181805b82518160ff161015613e6e576030838260ff1681518110613de157613de1614afe565b016020015160f81c10801590613e1457506039838260ff1681518110613e0957613e09614afe565b016020015160f81c11155b15613e5c57613e24600a836154ff565b91506030838260ff1681518110613e3d57613e3d614afe565b0160200151613e4f919060f81c614bd9565b613e599083614a4b565b91505b80613e6681614a70565b915050613dbe565b509392505050565b60018054906000613e8683614ae3565b9190505550565b6060806060600080600063075bcd1542448b8b6015604051602001613eb6959493929190615528565b6040516020818303038152906040528051906020012060001c613ed991906151b2565b90506000637fffffff613eee6141a784614ac4565b613ef9906001614a90565b613f0391906151b2565b90505b60005b600560ff8216101561400d576000613f23612710846151b2565b9050637fffffff613f366141a785614ac4565b613f41906001614a90565b613f4b91906151b2565b92506000613f5d8261ffff1684614197565b90508860098260ff1611158015613f78575060018460ff1611155b613f915760405180602001604052806000815250613fac565b604051806040016040528060018152602001600360fc1b8152505b613fb88360ff16613141565b604051602001613fc9929190614baa565b60408051601f1981840301815290829052613fe79291602001614baa565b60405160208183030381529060405298505050808061400590614a70565b915050613f09565b5060228660405161401e9190615569565b9081526040519081900360200190205460ff166140ad578261403f81614a70565b93505060016022876040516140549190615569565b908152604051908190036020019020805491151560ff19909216919091179055600285876140888184611c41816005614a4b565b60405160200161409a93929190615585565b6040516020818303038152906040529550505b6040805160208101909152600081529550836140c881614a70565b94506140d790508860026154ff565b60ff168460ff16106141105760405162461bcd60e51b8152602060048201526002602482015261683160f01b6044820152606401610bef565b8760ff168360ff1610613f0657509298975050505050505050565b600081815b8451811015613e6e57600085828151811061414d5761414d614afe565b602002602001015190508083116141735760008381526020829052604090209250614184565b600081815260208490526040902092505b508061418f81614ae3565b915050614130565b600080805b601b8460ff16600581106141b2576141b2614afe565b015460ff82161015614260576000601b8560ff16600581106141d6576141d6614afe565b018260ff16815481106141eb576141eb614afe565b90600052602060002090601091828204019190066002029054906101000a900461ffff1690508261ffff168610158015614231575061422a81846155c8565b61ffff1686105b1561424057509150610aee9050565b61424a81846155c8565b925050808061425890614a70565b91505061419c565b5060405162461bcd60e51b8152602060048201526002602482015261723160f01b6044820152606401610bef565b5080546000825560020290600052602060002090810190610d9f919061432f565b8280546142bb906149c5565b90600052602060002090601f0160209004810192826142dd5760008555614323565b82601f106142f657805160ff1916838001178555614323565b82800160010185558215614323579182015b82811115614323578251825591602001919060010190614308565b506114bb92915061435a565b808211156114bb576000614343828261436f565b61435160018301600061436f565b5060020161432f565b5b808211156114bb576000815560010161435b565b50805461437b906149c5565b6000825580601f1061438b575050565b601f016020900490600052602060002090810190610d9f919061435a565b6001600160e01b031981168114610d9f57600080fd5b6000602082840312156143d157600080fd5b81356143dc816143a9565b9392505050565b60005b838110156143fe5781810151838201526020016143e6565b838111156122745750506000910152565b600081518084526144278160208601602086016143e3565b601f01601f19169290920160200192915050565b6020815260006143dc602083018461440f565b60006020828403121561446057600080fd5b5035919050565b80356001600160a01b038116811461168157600080fd5b6000806040838503121561449157600080fd5b61449a83614467565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156144e0576144e06144a8565b60405290565b60405161012081016001600160401b03811182821017156144e0576144e06144a8565b604051601f8201601f191681016001600160401b0381118282101715614531576145316144a8565b604052919050565b60006001600160401b03831115614552576145526144a8565b614565601f8401601f1916602001614509565b905082815283838301111561457957600080fd5b828260208301376000602084830101529392505050565b600082601f8301126145a157600080fd5b6143dc83833560208501614539565b6000602082840312156145c257600080fd5b81356001600160401b038111156145d857600080fd5b61323e84828501614590565b6000806000606084860312156145f957600080fd5b61460284614467565b925061461060208501614467565b9150604084013590509250925092565b60008060006040848603121561463557600080fd5b8335925060208401356001600160401b038082111561465357600080fd5b818601915086601f83011261466757600080fd5b81358181111561467657600080fd5b8760208260051b850101111561468b57600080fd5b6020830194508093505050509250925092565b600080604083850312156146b157600080fd5b50508035926020909101359150565b60008060408084860312156146d457600080fd5b833592506020808501356001600160401b03808211156146f357600080fd5b818701915087601f83011261470757600080fd5b813581811115614719576147196144a8565b8060051b614728858201614509565b918252838101850191858101908b84111561474257600080fd5b86860192505b838310156147d6578235858111156147605760008081fd5b8601808d03601f19018913156147765760008081fd5b61477e6144be565b88820135878111156147905760008081fd5b61479e8f8b83860101614590565b82525089820135878111156147b35760008081fd5b6147c18f8b83860101614590565b828b0152508352509186019190860190614748565b80985050505050505050509250929050565b6000602082840312156147fa57600080fd5b6143dc82614467565b6000806040838503121561481657600080fd5b61481f83614467565b91506020830135801515811461483457600080fd5b809150509250929050565b600080600080610180858703121561485657600080fd5b84359350602080860135935086605f87011261487157600080fd5b6148796144e6565b8061016088018981111561488c57600080fd5b604089015b818110156148b8578035600081810b82146148aa578081fd5b508452928401928401614891565b509699959850965050933593505050565b600080600080608085870312156148df57600080fd5b6148e885614467565b93506148f660208601614467565b92506040850135915060608501356001600160401b0381111561491857600080fd5b8501601f8101871361492957600080fd5b61493887823560208401614539565b91505092959194509250565b6000806040838503121561495757600080fd5b61496083614467565b915061496e60208401614467565b90509250929050565b803561ffff8116811461168157600080fd5b60008060006060848603121561499e57600080fd5b833592506149ae60208501614977565b91506149bc60408501614977565b90509250925092565b600181811c908216806149d957607f821691505b602082108114156149fa57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600060ff821660ff84168060ff03821115614a6857614a68614a35565b019392505050565b600060ff821660ff811415614a8757614a87614a35565b60010192915050565b60008219821115614aa357614aa3614a35565b500190565b602080825260029082015261063360f41b604082015260600190565b6000816000190483118215151615614ade57614ade614a35565b500290565b6000600019821415614af757614af7614a35565b5060010190565b634e487b7160e01b600052603260045260246000fd5b602080825260029082015261065360f41b604082015260600190565b600082821015614b4257614b42614a35565b500390565b634e487b7160e01b600052601260045260246000fd5b600082614b6c57614b6c614b47565b500490565b60208082526003908201526237379760e91b604082015260600190565b60008151614ba08185602086016143e3565b9290920192915050565b60008351614bbc8184602088016143e3565b835190830190614bd08183602088016143e3565b01949350505050565b600060ff821660ff841680821015614bf357614bf3614a35565b90039392505050565b61303160f01b815260008251614c198160028501602087016143e3565b9190910160020192915050565b8054600090600181811c9080831680614c4057607f831692505b6020808410821415614c6257634e487b7160e01b600052602260045260246000fd5b818015614c765760018114614c8757614cb4565b60ff19861689528489019650614cb4565b60008881526020902060005b86811015614cac5781548b820152908501908301614c93565b505084890196505b50505050505092915050565b60008651614cd2818460208b016143e3565b614cde81840188614c26565b90507f253237253342253230636f6e737425323073697a6525323025334425323025358152602160f91b60208201528551614d20816021840160208a016143e3565b6225324360e81b602192909101918201528451614d448160248401602089016143e3565b7f253544253342253230636f6e737425323067253230253344253230253237000060249290910191820152614d7c6042820185614c26565b7f253237253342253230636f6e73742532306525323025334425323046756e637481527f696f6e282532372532327573652532307374726963742532322533427265747560208201527f726e2532302825323725323025324225323070616b6f2e696e666c617465286e60408201527f657725323055696e743841727261792861746f622867292e73706c697428253260608201527f37253237292e6d61702866756e6374696f6e28782925374272657475726e253260808201527f30782e63686172436f646541742830292533422532302537442929253243253260a08201527f30253742253230746f253341253230253237737472696e67253237253230253760c08201527f4429253242253230253237292532372928292533422532306e6577253230703560e08201527f28652e6e6f6465732532432532302532376e6f646573253237292533422532306101008201527f25334325324673637269707425334525334364697625323069642533442532326101208201527f6e6f6465732532322532306e616d652533442532326e6f6465732532322533456101408201527f253343253246646976253345253343253246626f64792533452533432532466861016082015265746d6c25334560d01b6101808201526101860198975050505050505050565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b707b226e616d65223a20224e4f444553202360781b81528951600090614fe5816011850160208f016143e3565b711116113232b9b1b934b83a34b7b7111d101160711b601191840191820152615011602382018c614c26565b7311161130b734b6b0ba34b7b72fbab936111d101160611b81528a51909150615041816014840160208e016143e3565b8951910190615057816014840160208d016143e3565b7211161132bc3a32b93730b62fbab936111d101160691b60149290910191820152875161508b816027840160208c016143e3565b6b11161134b6b0b3b2911d101160a11b602792909101918201526150fc6150ef6150e96150cd6150c76150c1603387018d614c26565b8b614b8e565b89614c26565b6f011161130ba3a3934b13aba32b9911d160851b815260100190565b86614b8e565b607d60f81b815260010190565b9c9b505050505050505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161514481601d8501602087016143e3565b91909101601d0192915050565b60006001600160801b038381169083168181101561517157615171614a35565b039392505050565b60006001600160801b03808316818516808303821115614bd057614bd0614a35565b6000816151aa576151aa614a35565b506000190190565b6000826151c1576151c1614b47565b500690565b603160f81b8152600082516151e28160018501602087016143e3565b9190910160010192915050565b7f646174613a746578742f68746d6c2c25334368746d6c2533452533436865616481526225334560e81b6020820152600061522d6023830188614c26565b741299a1b9b1b934b83a12991839b9319299a212991960591b81526152556015820188614c26565b90507412991912991834b73a32b3b934ba3c9299a212991960591b8082526152806015830188614c26565b91507f25323225323063726f73736f726967696e253344253232616e6f6e796d6f75738083527f2532322532307265666572726572706f6c6963792533442532326e6f2d7265668060208501527f657272657225323225334525334325324673637269707425334525334373637260408501526e34b83a12991839b9319299a212991960891b6060850152615318606f850189614c26565b935082845261532a6015850188614c26565b91825260208201527f657272657225323225334525334325324673637269707425334525334325324660408201527f68656164253345253343253246626f6479253345253343736372697074253345606082015274636f6e73742532306825323025334425323025323760581b60808201526095019998505050505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906153df9083018461440f565b9695505050505050565b6000602082840312156153fb57600080fd5b81516143dc816143a9565b60006154128285614c26565b8351614bd08183602088016143e3565b6000885160206154358285838e016143e3565b8951918401916154488184848e016143e3565b895192019161545a8184848d016143e3565b885192019161546c8184848c016143e3565b61547881840189614c26565b925050855161548a8184848a016143e3565b855192019161549c81848489016143e3565b919091019a9950505050505050505050565b605b60f81b8152600082516154ca8160018501602087016143e3565b605d60f81b6001939091019283015250600201919050565b61030360f41b815260008251614c198160028501602087016143e3565b600060ff821660ff84168160ff048111821515161561552057615520614a35565b029392505050565b8581528460208201528360408201526bffffffffffffffffffffffff198360601b166060820152600061555e6074830184614c26565b979650505050505050565b6000825161557b8184602087016143e3565b9190910192915050565b600084516155978184602089016143e3565b8451908301906155ab8183602089016143e3565b84519101906155be8183602088016143e3565b0195945050505050565b600061ffff808316818516808303821115614bd057614bd0614a3556fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa264697066735822122010456def1a8870a2277ab0d8a31075ad50b2db5b4f6ed78e8360f4e70db2291a64736f6c634300080c00333e968949270a223de87fff5fae90c6b8a3597d92f2e8dc43eb1be8c20294cc0ee1c7ba2af1fe9f0c396266ec87232215190bb8eaf5a8b46328fa04854c9e5e8b0000000000000000000000000000000000000000000000000000000000000400

Deployed Bytecode

0x60806040526004361061036b5760003560e01c8063715018a6116101c6578063a22cb465116100f7578063dcbbe13a11610095578063ed44ee681161006f578063ed44ee6814610a12578063f2fde38b14610a32578063faa7502414610a52578063fb8448f014610a6757600080fd5b8063dcbbe13a14610994578063e50106d6146109a9578063e985e9c5146109c957600080fd5b8063b88d4fde116100d1578063b88d4fde14610929578063c87b56dd14610949578063d3dd5fe014610969578063d7224ba01461097e57600080fd5b8063a22cb465146108c9578063aa877a1a146108e9578063b79bebaf1461090957600080fd5b8063926d174511610164578063981d87711161013e578063981d877114610854578063993ae38814610869578063a0cc0dc514610889578063a1d40403146108a957600080fd5b8063926d1745146107ff578063953d3c111461081f57806395d89b411461083f57600080fd5b806380652bc0116101a057806380652bc0146107815780638da5cb5b146107a15780638e3dcabf146107bf57806390c3f38f146107df57600080fd5b8063715018a61461071857806376bde0781461072d5780637e26b0d01461076157600080fd5b80632abff1f2116102a05780634dfc1abc1161023e578063582a38a611610218578063582a38a6146106705780635f10b279146106915780636352211e146106d857806370a08231146106f857600080fd5b80634dfc1abc1461061b5780634ef1c7351461063b5780634f6ccce71461065057600080fd5b8063378f33be1161027a578063378f33be1461059957806339b3e826146105c557806342842e0e146105db5780634b8cfcbc146105fb57600080fd5b80632abff1f2146105395780632f745c5914610559578063349d27481461057957600080fd5b806318160ddd1161030d57806323b872dd116102e757806323b872dd146104c657806326909ab3146104e657806327b2eb61146104f957806328e56c5e1461051957600080fd5b806318160ddd1461047b5780631b72e3cd146104905780631e67be5e146104b057600080fd5b8063081812fc11610349578063081812fc146103eb578063095ea7b314610423578063098afd4b14610445578063145758e91461045a57600080fd5b806301ffc9a71461037057806306ba4fae146103a557806306fdde03146103c9575b600080fd5b34801561037c57600080fd5b5061039061038b3660046143bf565b610a87565b60405190151581526020015b60405180910390f35b3480156103b157600080fd5b506103bb601a5481565b60405190815260200161039c565b3480156103d557600080fd5b506103de610af4565b60405161039c919061443b565b3480156103f757600080fd5b5061040b61040636600461444e565b610b86565b6040516001600160a01b03909116815260200161039c565b34801561042f57600080fd5b5061044361043e36600461447e565b610c14565b005b34801561045157600080fd5b50610443610d2c565b34801561046657600080fd5b50600a5461039090600160a81b900460ff1681565b34801561048757600080fd5b506103bb610da2565b34801561049c57600080fd5b506104436104ab3660046145b0565b610dbe565b3480156104bc57600080fd5b506103bb60195481565b3480156104d257600080fd5b506104436104e13660046145e4565b610dff565b6104436104f4366004614620565b610e0a565b34801561050557600080fd5b5061044361051436600461469e565b610ea8565b34801561052557600080fd5b506104436105343660046145b0565b610edd565b34801561054557600080fd5b506104436105543660046145b0565b610f1a565b34801561056557600080fd5b506103bb61057436600461447e565b610f57565b34801561058557600080fd5b506104436105943660046146c0565b611175565b3480156105a557600080fd5b50602b546105b39060ff1681565b60405160ff909116815260200161039c565b3480156105d157600080fd5b506103bb600b5481565b3480156105e757600080fd5b506104436105f63660046145e4565b611281565b34801561060757600080fd5b506103bb61061636600461444e565b61129c565b34801561062757600080fd5b506104436106363660046145b0565b61131e565b34801561064757600080fd5b5061044361135b565b34801561065c57600080fd5b506103bb61066b36600461444e565b6113f6565b34801561067c57600080fd5b50600a5461039090600160a01b900460ff1681565b34801561069d57600080fd5b506106c57f000000000000000000000000000000000000000000000000000000000000040081565b60405161ffff909116815260200161039c565b3480156106e457600080fd5b5061040b6106f336600461444e565b6114bf565b34801561070457600080fd5b506103bb6107133660046147e8565b6114d1565b34801561072457600080fd5b50610443611562565b34801561073957600080fd5b506106c57f000000000000000000000000000000000000000000000000000000000000080081565b34801561076d57600080fd5b506103de61077c36600461444e565b611598565b34801561078d57600080fd5b5061044361079c3660046145b0565b611686565b3480156107ad57600080fd5b50600a546001600160a01b031661040b565b3480156107cb57600080fd5b506103bb6107da36600461444e565b6116c3565b3480156107eb57600080fd5b506104436107fa3660046145b0565b611726565b34801561080b57600080fd5b5061044361081a3660046145b0565b611763565b34801561082b57600080fd5b5061044361083a3660046145b0565b6117a0565b34801561084b57600080fd5b506103de6117dd565b34801561086057600080fd5b506104436117ec565b34801561087557600080fd5b506104436108843660046145b0565b611837565b34801561089557600080fd5b506103de6108a436600461444e565b611874565b3480156108b557600080fd5b506104436108c43660046145b0565b61198b565b3480156108d557600080fd5b506104436108e4366004614803565b6119c8565b3480156108f557600080fd5b5061044361090436600461483f565b611a8d565b34801561091557600080fd5b506103de61092436600461444e565b6120f7565b34801561093557600080fd5b506104436109443660046148c9565b612241565b34801561095557600080fd5b506103de61096436600461444e565b61227a565b34801561097557600080fd5b50610443612448565b34801561098a57600080fd5b506103bb60095481565b3480156109a057600080fd5b506000546103bb565b3480156109b557600080fd5b506104436109c43660046145b0565b61249e565b3480156109d557600080fd5b506103906109e4366004614944565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b348015610a1e57600080fd5b50610443610a2d366004614989565b6124db565b348015610a3e57600080fd5b50610443610a4d3660046147e8565b6125c6565b348015610a5e57600080fd5b506103bb61265e565b348015610a7357600080fd5b50610443610a82366004614620565b61269b565b60006001600160e01b031982166380ac58cd60e01b1480610ab857506001600160e01b03198216635b5e139f60e01b145b80610ad357506001600160e01b0319821663780e9d6360e01b145b80610aee57506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060038054610b03906149c5565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2f906149c5565b8015610b7c5780601f10610b5157610100808354040283529160200191610b7c565b820191906000526020600020905b815481529060010190602001808311610b5f57829003601f168201915b5050505050905090565b6000610b91826126c7565b610bf85760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610c1f826114bf565b9050806001600160a01b0316836001600160a01b03161415610c8e5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610bef565b336001600160a01b0382161480610caa5750610caa81336109e4565b610d1c5760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610bef565b610d27838383612706565b505050565b600a546001600160a01b03163314610d565760405162461bcd60e51b8152600401610bef90614a00565b60005b610d6560056002614a4b565b60ff168160ff161015610d9f5760ff81166000908152602960205260408120610d8d9161428e565b80610d9781614a70565b915050610d59565b50565b6000610dac61265e565b600054610db99190614a90565b905090565b600a546001600160a01b03163314610de85760405162461bcd60e51b8152600401610bef90614a00565b8051610dfb9060159060208401906142af565b5050565b610d27838383612762565b333b15610e295760405162461bcd60e51b8152600401610bef90614aa8565b610e53837f00000000000000000000000000000000000000000000000000b1a2bc2ec50000614ac4565b341015610e875760405162461bcd60e51b81526020600482015260026024820152616d3160f01b6044820152606401610bef565b336000908152602a60205260408120439055610d2790849084908490612b0f565b600a546001600160a01b03163314610ed25760405162461bcd60e51b8152600401610bef90614a00565b601991909155601a55565b600a546001600160a01b03163314610f075760405162461bcd60e51b8152600401610bef90614a00565b8051610dfb9060129060208401906142af565b600a546001600160a01b03163314610f445760405162461bcd60e51b8152600401610bef90614a00565b8051610dfb9060109060208401906142af565b6000610f62836114d1565b8210610fbb5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610bef565b60008060005b60028160ff16101561111557600060018260ff161061101f576001547f000000000000000000000000000000000000000000000000000000000000040061100661265e565b6110109190614a90565b61101a9190614a90565b611023565b6000545b9050600060018360ff1610611058577f000000000000000000000000000000000000000000000000000000000000040061105b565b60005b90505b81811015611100576000818152600560209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b031691830191909152156110b057805195505b886001600160a01b0316866001600160a01b031614156110ed57878514156110df57509450610aee9350505050565b846110e981614ae3565b9550505b50806110f881614ae3565b91505061105e565b5050808061110d90614a70565b915050610fc1565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610bef565b600a546001600160a01b0316331461119f5760405162461bcd60e51b8152600401610bef90614a00565b60008281526029602052604081206111b69161428e565b60005b8151811015610d27576029600084815260200190815260200160002060405180604001604052808484815181106111f2576111f2614afe565b602002602001015160000151815260200184848151811061121557611215614afe565b60209081029190910181015181015190915282546001810184556000938452928190208251805193946002029091019261125292849201906142af565b50602082810151805161126b92600185019201906142af565b505050808061127990614ae3565b9150506111b9565b610d2783838360405180602001604052806000815250612241565b60006112a7826126c7565b6112c35760405162461bcd60e51b8152600401610bef90614b14565b6000828152602660209081526040808320546024909252909120547f00000000000000000000000000000000000000000000000000000000000151809061130a9042614b30565b6113149190614b5d565b610aee9190614b30565b600a546001600160a01b031633146113485760405162461bcd60e51b8152600401610bef90614a00565b8051610dfb9060169060208401906142af565b600a546001600160a01b031633146113855760405162461bcd60e51b8152600401610bef90614a00565b6000611399600a546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d80600081146113e3576040519150601f19603f3d011682016040523d82523d6000602084013e6113e8565b606091505b5050905080610d9f57600080fd5b6000805482108061146357507f0000000000000000000000000000000000000000000000000000000000000400821015801561146357507f000000000000000000000000000000000000000000000000000000000000040061145661265e565b6114609190614a90565b82105b6114bb5760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610bef565b5090565b60006114ca82612e7c565b5192915050565b60006001600160a01b03821661153d5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610bef565b506001600160a01b03166000908152600660205260409020546001600160801b031690565b600a546001600160a01b0316331461158c5760405162461bcd60e51b8152600401610bef90614a00565b6115966000613023565b565b6060336115ad600a546001600160a01b031690565b6001600160a01b031614806115d05750336000908152602a602052604090205443115b6115ec5760405162461bcd60e51b8152600401610bef90614b71565b6115f5826126c7565b6116115760405162461bcd60e51b8152600401610bef90614b14565b6000828152602760208181526040808420546028835293819020549051605b60f81b928101929092526001600160f01b031960f094851b81166021840152600b60fa1b6023840152931b9092166024830152605d60f81b6026830152015b60405160208183030381529060405290505b919050565b600a546001600160a01b031633146116b05760405162461bcd60e51b8152600401610bef90614a00565b8051610dfb90600f9060208401906142af565b60006116ce826126c7565b6116ea5760405162461bcd60e51b8152600401610bef90614b14565b600082815260256020526040902054421161171e57600082815260256020526040902054611719904290614b30565b610aee565b600092915050565b600a546001600160a01b031633146117505760405162461bcd60e51b8152600401610bef90614a00565b8051610dfb9060149060208401906142af565b600a546001600160a01b0316331461178d5760405162461bcd60e51b8152600401610bef90614a00565b8051610dfb90600c9060208401906142af565b600a546001600160a01b031633146117ca5760405162461bcd60e51b8152600401610bef90614a00565b8051610dfb9060139060208401906142af565b606060048054610b03906149c5565b600a546001600160a01b031633146118165760405162461bcd60e51b8152600401610bef90614a00565b600a805460ff60a81b198116600160a81b9182900460ff1615909102179055565b600a546001600160a01b031633146118615760405162461bcd60e51b8152600401610bef90614a00565b8051610dfb9060119060208401906142af565b606033611889600a546001600160a01b031690565b6001600160a01b031614806118ac5750336000908152602a602052604090205443115b6118c85760405162461bcd60e51b8152600401610bef90614b71565b6118d1826126c7565b6118ed5760405162461bcd60e51b8152600401610bef90614b14565b60008281526023602052604090208054611906906149c5565b80601f0160208091040260200160405190810160405280929190818152602001828054611932906149c5565b801561197f5780601f106119545761010080835404028352916020019161197f565b820191906000526020600020905b81548152906001019060200180831161196257829003601f168201915b50505050509050919050565b600a546001600160a01b031633146119b55760405162461bcd60e51b8152600401610bef90614a00565b8051610dfb90600d9060208401906142af565b6001600160a01b038216331415611a215760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610bef565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b333b15611aac5760405162461bcd60e51b8152600401610bef90614aa8565b600a54600160a01b900460ff16611ac257600080fd5b33611acc856114bf565b6001600160a01b0316148015611af2575033611ae7846114bf565b6001600160a01b0316145b611b235760405162461bcd60e51b8152602060048201526002602482015261663160f01b6044820152606401610bef565b82841415611b585760405162461bcd60e51b8152602060048201526002602482015261331960f11b6044820152606401610bef565b611b61846116c3565b158015611b745750611b72836116c3565b155b611ba55760405162461bcd60e51b8152602060048201526002602482015261663360f01b6044820152606401610bef565b6000611bb085611874565b90506000611bbd85611874565b9050606060028060005b60098160ff161015611f2657878160ff1660098110611be857611be8614afe565b602002015160000b6001191415611c705783611c498760ff86166017611c0f866002614a4b565b60ff16600b8110611c2257611c22614afe565b602081049190910154611c4191601f166101000a900460ff1688614a4b565b60ff16613075565b604051602001611c5a929190614baa565b6040516020818303038152906040529350611ed3565b878160ff1660098110611c8557611c85614afe565b602002015160000b6000191415611cac5783611c498660ff86166017611c0f866002614a4b565b6000888260ff1660098110611cc357611cc3614afe565b602002015160000b12158015611cdb575060ff811615155b8015611ceb57508060ff16600314155b8015611cfb57508060ff16600714155b611d2c5760405162461bcd60e51b8152602060048201526002602482015261198d60f21b6044820152606401610bef565b601b60058260ff1610611d4957611d44600483614bd9565b611d4b565b815b60ff1660058110611d5e57611d5e614afe565b01548860ff831660098110611d7557611d75614afe565b602002015160ff1610611daf5760405162461bcd60e51b8152602060048201526002602482015261663560f01b6044820152606401610bef565b60188160ff1660098110611dc557611dc5614afe565b602081049190910154611de491601f166101000a900460ff1683614a4b565b91506000888260ff1660098110611dfd57611dfd614afe565b602002015190508460098260ff1611158015611e5157506017611e21846002614a4b565b60ff16600b8110611e3457611e34614afe565b602091828204019190069054906101000a900460ff1660ff166002145b611e6a5760405180602001604052806000815250611e85565b604051806040016040528060018152602001600360fc1b8152505b611e918360ff16613141565b604051602001611ea2929190614baa565b60408051601f1981840301815290829052611ec09291602001614baa565b6040516020818303038152906040529450505b6017611ee0826002614a4b565b60ff16600b8110611ef357611ef3614afe565b602081049190910154611f1291601f166101000a900460ff1684614a4b565b925080611f1e81614a70565b915050611bc7565b506000611f328a61129c565b90506000611f3f8a61129c565b905060008060ff8516611f528486614a90565b1015611f855760405162461bcd60e51b8152602060048201526002602482015261331b60f11b6044820152606401610bef565b8c8a1415611fc957838560ff1611611fa0578460ff16611fa2565b835b9150818560ff1611611fb5576000611fc2565b611fc28260ff8716614b30565b9050612001565b828560ff1611611fdc578460ff16611fde565b825b9050808560ff1611611ff1576000611ffe565b611ffe8160ff8716614b30565b91505b60008d8152602660205260408120805484929061201f908490614a90565b909155505060008c81526026602052604081208054839290612042908490614a90565b92505081905550612074336001896040516020016120609190614bfc565b604051602081830303815290604052613246565b61207e8d8a613572565b6120888c89613572565b7f000000000000000000000000000000000000000000000000000000000000080061ffff166120b561265e565b11156120e85760405162461bcd60e51b8152602060048201526002602482015261663760f01b6044820152606401610bef565b50505050505050505050505050565b60603361210c600a546001600160a01b031690565b6001600160a01b0316148061212f5750336000908152602a602052604090205443115b61214b5760405162461bcd60e51b8152600401610bef90614b71565b612154826126c7565b6121705760405162461bcd60e51b8152600401610bef90614b14565b61217861362f565b600083815260236020908152604080832060279092529091205461ffff166121bb576040518060400160405280600381526020016203530360ec1b8152506121d7565b6000848152602760205260409020546121d79061ffff16613141565b60008581526028602052604090205461ffff1661220f576040518060400160405280600381526020016203530360ec1b81525061222b565b60008581526028602052604090205461222b9061ffff16613141565b601360405160200161166f959493929190614cc0565b61224c848484612762565b61225884848484613663565b6122745760405162461bcd60e51b8152600401610bef90614f65565b50505050565b60603361228f600a546001600160a01b031690565b6001600160a01b031614806122b25750336000908152602a602052604090205443115b6122ce5760405162461bcd60e51b8152600401610bef90614b71565b6122d7826126c7565b6122f35760405162461bcd60e51b8152600401610bef90614b14565b6124386122ff83613141565b6014600060128054612310906149c5565b90501161232557612320856120f7565b6123b1565b60128054612332906149c5565b80601f016020809104026020016040519081016040528092919081815260200182805461235e906149c5565b80156123ab5780601f10612380576101008083540402835291602001916123ab565b820191906000526020600020905b81548152906001019060200180831161238e57829003601f168201915b50505050505b6000601280546123c0906149c5565b9050116123dc57604051806020016040528060008152506123e5565b6123e586613141565b6123ee876120f7565b60106123f989613141565b601161240c6124078c611874565b613761565b60405160200161242499989796959493929190614fb8565b604051602081830303815290604052613a03565b60405160200161166f919061510c565b600a546001600160a01b031633146124725760405162461bcd60e51b8152600401610bef90614a00565b600a805460ff60a01b198116600160a01b9182900460ff1615909102179055600b546115965743600b55565b600a546001600160a01b031633146124c85760405162461bcd60e51b8152600401610bef90614a00565b8051610dfb90600e9060208401906142af565b336124e5846114bf565b6001600160a01b0316146125205760405162461bcd60e51b8152602060048201526002602482015261073360f41b6044820152606401610bef565b60008261ffff1611801561253a57506113888261ffff1611155b801561254a575060008161ffff16115b801561255c57506113888161ffff1611155b15612599576000928352602760209081526040808520805461ffff1990811661ffff96871617909155602890925290932080549093169116179055565b60405162461bcd60e51b8152602060048201526002602482015261733160f01b6044820152606401610bef565b600a546001600160a01b031633146125f05760405162461bcd60e51b8152600401610bef90614a00565b6001600160a01b0381166126555760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bef565b610d9f81613023565b60006001547f00000000000000000000000000000000000000000000000000000000000004006002546126919190614b30565b610db99190614b30565b333b156126ba5760405162461bcd60e51b8152600401610bef90614aa8565b610d278383836001612b0f565b60008054821080610aee57507f00000000000000000000000000000000000000000000000000000000000004008210158015610aee5750506002541190565b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061276d82612e7c565b80519091506000906001600160a01b0316336001600160a01b031614806127a457503361279984610b86565b6001600160a01b0316145b806127b6575081516127b690336109e4565b9050806128205760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610bef565b846001600160a01b031682600001516001600160a01b0316146128945760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610bef565b6001600160a01b0384166128f85760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610bef565b612915858585600160405180602001604052806000815250613b6a565b6129256000848460000151612706565b6001600160a01b03851660009081526006602052604081208054600192906129579084906001600160801b0316615151565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b038616600090815260066020526040812080546001945090926129a391859116615179565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b0380871682526001600160401b03428116602080850191825260008981526005909152948520935184549151909216600160a01b026001600160e01b03199091169190921617179055612a2a846001614a90565b6000818152600560205260409020549091506001600160a01b0316612ab957612a52816126c7565b15612ab95760408051808201825284516001600160a01b0390811682526020808701516001600160401b039081168285019081526000878152600590935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612b078686866001613c8e565b505050505050565b600081612b1d576002612b20565b600c5b600a5460ff918216925082918791600160a81b900416612b4e57336000908152602080526040902054612b5f565b336000908152602160205260409020545b612b699190614a90565b1115612b9c5760405162461bcd60e51b8152602060048201526002602482015261369960f11b6044820152606401610bef565b7f000000000000000000000000000000000000000000000000000000000000040061ffff1685612bcb60005490565b612bd59190614a90565b1115612c085760405162461bcd60e51b81526020600482015260026024820152616d3360f01b6044820152606401610bef565b612c8a848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250869250612c4d91505057601954612c51565b601a545b6040516bffffffffffffffffffffffff193360601b16602082015260340160405160208183030381529060405280519060200120613d88565b612cbb5760405162461bcd60e51b81526020600482015260026024820152611b4d60f21b6044820152606401610bef565b612cc53386613d9e565b8115612d6a57602b8054869190600090612ce390849060ff16614a4b565b825460ff9182166101009390930a928302919092021990911617905550336000908152602160209081526040808320549180529091205482918791612d289190614a90565b612d329190614a90565b1115612d655760405162461bcd60e51b8152602060048201526002602482015261369b60f11b6044820152606401610bef565b612e15565b600a54600160a01b900460ff161515600114612dad5760405162461bcd60e51b815260206004820152600260248201526106d360f41b6044820152606401610bef565b600a54600160a81b900460ff16612dd257336000908152602080526040902054612de3565b336000908152602160205260409020545b15612e155760405162461bcd60e51b81526020600482015260026024820152616d3560f01b6044820152606401610bef565b600a54600160a81b900460ff1615612e51573360009081526021602052604081208054879290612e46908490614a90565b90915550612e759050565b33600090815260208052604081208054879290612e6f908490614a90565b90915550505b5050505050565b6040805180820190915260008082526020820152612e99826126c7565b612ef85760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610bef565b60007f000000000000000000000000000000000000000000000000000000000000000c8310612f5957612f4b7f000000000000000000000000000000000000000000000000000000000000000c84614b30565b612f56906001614a90565b90505b825b818110612fc2576000818152600560209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215612faf57949350505050565b5080612fba8161519b565b915050612f5b565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b6064820152608401610bef565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60608360006130848585614b30565b6001600160401b0381111561309b5761309b6144a8565b6040519080825280601f01601f1916602001820160405280156130c5576020820181803683370190505b509050845b84811015613137578281815181106130e4576130e4614afe565b01602001516001600160f81b031916826130fe8884614b30565b8151811061310e5761310e614afe565b60200101906001600160f81b031916908160001a9053508061312f81614ae3565b9150506130ca565b5095945050505050565b6060816131655750506040805180820190915260018152600360fc1b602082015290565b8160005b811561318f578061317981614ae3565b91506131889050600a83614b5d565b9150613169565b6000816001600160401b038111156131a9576131a96144a8565b6040519080825280601f01601f1916602001820160405280156131d3576020820181803683370190505b5090505b841561323e576131e8600183614b30565b91506131f5600a866151b2565b613200906030614a90565b60f81b81838151811061321557613215614afe565b60200101906001600160f81b031916908160001a905350613237600a86614b5d565b94506131d7565b949350505050565b805115156000816132595760005461325d565b6002545b90506001600160a01b0385166132bf5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610bef565b6132c8816126c7565b156133155760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610bef565b7f000000000000000000000000000000000000000000000000000000000000000c8411156133905760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b6064820152608401610bef565b61339e600086838787613b6a565b6001600160a01b0385166000908152600660209081526040918290208251808401845290546001600160801b038082168352600160801b90910416918101919091528151808301909252805190919081906133fa908890615179565b6001600160801b031681526020018683602001516134189190615179565b6001600160801b039081169091526001600160a01b0380891660008181526006602090815260408083208751978301518716600160801b029790961696909617909455845180860186529182526001600160401b034281168386019081528883526005909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b868110156135375760405182906001600160a01b038a16906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46134fb6000898489613663565b6135175760405162461bcd60e51b8152600401610bef90614f65565b8161352181614ae3565b925050808061352f90614ae3565b9150506134ae565b50836135435780613547565b6000545b6000558361355757600254613559565b805b6002556135696000888589613c8e565b50505050505050565b6135876135828260016002613075565b613db8565b60ff16156135f25761359c3361dead84611281565b6135a98160018351613075565b6040516020016135b991906151c6565b60408051601f1981840301815291815260008481526023602090815291902082516135e9939192909101906142af565b50610dfb613e76565b61361c7f000000000000000000000000000000000000000000000000000000000003f48042614a90565b6000838152602560205260409020555050565b60606016600c600d600e600f60405160200161364f9594939291906151ef565b604051602081830303815290604052905090565b60006001600160a01b0384163b1561375657604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906136a79033908990889088906004016153ac565b6020604051808303816000875af19250505080156136e2575060408051601f3d908101601f191682019092526136df918101906153e9565b60015b61373c573d808015613710576040519150601f19603f3d011682016040523d82523d6000602084013e613715565b606091505b5080516137345760405162461bcd60e51b8152600401610bef90614f65565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061323e565b506001949350505050565b6060600080606060005b600b8160ff1610156139d8576137b7613582878660ff1660178560ff16600b811061379857613798614afe565b602081049190910154611c4191601f166101000a900460ff1689614a4b565b9250816040518060400160405280600f81526020016e3d913a3930b4ba2fba3cb832911d1160891b8152506029600060068560ff16116137f75784613802565b613802600486614bd9565b60ff1681526020019081526020016000208560ff168154811061382757613827614afe565b906000526020600020906002020160010160068460ff16116138585760405180602001604052806000815250613873565b604051806040016040528060018152602001601960f91b8152505b604051602001613884929190615406565b60408051601f19818403018152828201909152600b82526a1116113b30b63ab2911d1160a91b60208301529060296000600660ff8816116138c557866138d0565b6138d0600488614bd9565b60ff1681526020019081526020016000208760ff16815481106138f5576138f5614afe565b906000526020600020906002020160000160405180604001604052806002815260200161227d60f01b8152506001600b61392f9190614b30565b8760ff161061394d5760405180602001604052806000815250613968565b604051806040016040528060018152602001600b60fa1b8152505b60405160200161397e9796959493929190615422565b604051602081830303815290604052915060178160ff16600b81106139a5576139a5614afe565b6020810491909101546139c491601f166101000a900460ff1685614a4b565b9350806139d081614a70565b91505061376b565b50806040516020016139ea91906154ae565b6040516020818303038152906040529350505050919050565b6060815160001415613a2357505060408051602081019091526000815290565b60006040518060600160405280604081526020016155e66040913990506000600384516002613a529190614a90565b613a5c9190614b5d565b613a67906004614ac4565b90506000613a76826020614a90565b6001600160401b03811115613a8d57613a8d6144a8565b6040519080825280601f01601f191660200182016040528015613ab7576020820181803683370190505b509050818152600183018586518101602084015b81831015613b255760039283018051603f601282901c811687015160f890811b8552600c83901c8216880151811b6001860152600683901c8216880151811b60028601529116860151901b93820193909352600401613acb565b600389510660018114613b3f5760028114613b5057613b5c565b613d3d60f01b600119830152613b5c565b603d60f81b6000198301525b509398975050505050505050565b6001600160a01b038516612e7557805115613bdd5781600114613bb85760405162461bcd60e51b8152600401610bef906020808252600490820152630627474360e41b604082015260600190565b60008381526023602090815260409091208251613bd7928401906142af565b50612e75565b6000613bea848685613e8d565b905060005b8381101561356957613c2c82613c0683600c614ac4565b613c11906000614a90565b613c1c84600c614ac4565b613c2790600c614a90565b613075565b604051602001613c3c91906154e2565b60408051601f1981840301815291905260236000613c5a8489614a90565b81526020019081526020016000209080519060200190613c7b9291906142af565b5080613c8681614ae3565b915050613bef565b60005b81811015612e75574260246000613ca88487614a90565b8152602081019190915260400160002055613ce37f000000000000000000000000000000000000000000000000000000000003f48042614a90565b60256000613cf18487614a90565b815260200190815260200160002081905550602660008285613d139190614a90565b815260200190815260200160002060009055602760008285613d359190614a90565b815260208101919091526040016000908120805461ffff19169055602890613d5d8386614a90565b81526020810191909152604001600020805461ffff1916905580613d8081614ae3565b915050613c91565b600082613d95858461412b565b14949350505050565b610dfb828260405180602001604052806000815250613246565b60008181805b82518160ff161015613e6e576030838260ff1681518110613de157613de1614afe565b016020015160f81c10801590613e1457506039838260ff1681518110613e0957613e09614afe565b016020015160f81c11155b15613e5c57613e24600a836154ff565b91506030838260ff1681518110613e3d57613e3d614afe565b0160200151613e4f919060f81c614bd9565b613e599083614a4b565b91505b80613e6681614a70565b915050613dbe565b509392505050565b60018054906000613e8683614ae3565b9190505550565b6060806060600080600063075bcd1542448b8b6015604051602001613eb6959493929190615528565b6040516020818303038152906040528051906020012060001c613ed991906151b2565b90506000637fffffff613eee6141a784614ac4565b613ef9906001614a90565b613f0391906151b2565b90505b60005b600560ff8216101561400d576000613f23612710846151b2565b9050637fffffff613f366141a785614ac4565b613f41906001614a90565b613f4b91906151b2565b92506000613f5d8261ffff1684614197565b90508860098260ff1611158015613f78575060018460ff1611155b613f915760405180602001604052806000815250613fac565b604051806040016040528060018152602001600360fc1b8152505b613fb88360ff16613141565b604051602001613fc9929190614baa565b60408051601f1981840301815290829052613fe79291602001614baa565b60405160208183030381529060405298505050808061400590614a70565b915050613f09565b5060228660405161401e9190615569565b9081526040519081900360200190205460ff166140ad578261403f81614a70565b93505060016022876040516140549190615569565b908152604051908190036020019020805491151560ff19909216919091179055600285876140888184611c41816005614a4b565b60405160200161409a93929190615585565b6040516020818303038152906040529550505b6040805160208101909152600081529550836140c881614a70565b94506140d790508860026154ff565b60ff168460ff16106141105760405162461bcd60e51b8152602060048201526002602482015261683160f01b6044820152606401610bef565b8760ff168360ff1610613f0657509298975050505050505050565b600081815b8451811015613e6e57600085828151811061414d5761414d614afe565b602002602001015190508083116141735760008381526020829052604090209250614184565b600081815260208490526040902092505b508061418f81614ae3565b915050614130565b600080805b601b8460ff16600581106141b2576141b2614afe565b015460ff82161015614260576000601b8560ff16600581106141d6576141d6614afe565b018260ff16815481106141eb576141eb614afe565b90600052602060002090601091828204019190066002029054906101000a900461ffff1690508261ffff168610158015614231575061422a81846155c8565b61ffff1686105b1561424057509150610aee9050565b61424a81846155c8565b925050808061425890614a70565b91505061419c565b5060405162461bcd60e51b8152602060048201526002602482015261723160f01b6044820152606401610bef565b5080546000825560020290600052602060002090810190610d9f919061432f565b8280546142bb906149c5565b90600052602060002090601f0160209004810192826142dd5760008555614323565b82601f106142f657805160ff1916838001178555614323565b82800160010185558215614323579182015b82811115614323578251825591602001919060010190614308565b506114bb92915061435a565b808211156114bb576000614343828261436f565b61435160018301600061436f565b5060020161432f565b5b808211156114bb576000815560010161435b565b50805461437b906149c5565b6000825580601f1061438b575050565b601f016020900490600052602060002090810190610d9f919061435a565b6001600160e01b031981168114610d9f57600080fd5b6000602082840312156143d157600080fd5b81356143dc816143a9565b9392505050565b60005b838110156143fe5781810151838201526020016143e6565b838111156122745750506000910152565b600081518084526144278160208601602086016143e3565b601f01601f19169290920160200192915050565b6020815260006143dc602083018461440f565b60006020828403121561446057600080fd5b5035919050565b80356001600160a01b038116811461168157600080fd5b6000806040838503121561449157600080fd5b61449a83614467565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156144e0576144e06144a8565b60405290565b60405161012081016001600160401b03811182821017156144e0576144e06144a8565b604051601f8201601f191681016001600160401b0381118282101715614531576145316144a8565b604052919050565b60006001600160401b03831115614552576145526144a8565b614565601f8401601f1916602001614509565b905082815283838301111561457957600080fd5b828260208301376000602084830101529392505050565b600082601f8301126145a157600080fd5b6143dc83833560208501614539565b6000602082840312156145c257600080fd5b81356001600160401b038111156145d857600080fd5b61323e84828501614590565b6000806000606084860312156145f957600080fd5b61460284614467565b925061461060208501614467565b9150604084013590509250925092565b60008060006040848603121561463557600080fd5b8335925060208401356001600160401b038082111561465357600080fd5b818601915086601f83011261466757600080fd5b81358181111561467657600080fd5b8760208260051b850101111561468b57600080fd5b6020830194508093505050509250925092565b600080604083850312156146b157600080fd5b50508035926020909101359150565b60008060408084860312156146d457600080fd5b833592506020808501356001600160401b03808211156146f357600080fd5b818701915087601f83011261470757600080fd5b813581811115614719576147196144a8565b8060051b614728858201614509565b918252838101850191858101908b84111561474257600080fd5b86860192505b838310156147d6578235858111156147605760008081fd5b8601808d03601f19018913156147765760008081fd5b61477e6144be565b88820135878111156147905760008081fd5b61479e8f8b83860101614590565b82525089820135878111156147b35760008081fd5b6147c18f8b83860101614590565b828b0152508352509186019190860190614748565b80985050505050505050509250929050565b6000602082840312156147fa57600080fd5b6143dc82614467565b6000806040838503121561481657600080fd5b61481f83614467565b91506020830135801515811461483457600080fd5b809150509250929050565b600080600080610180858703121561485657600080fd5b84359350602080860135935086605f87011261487157600080fd5b6148796144e6565b8061016088018981111561488c57600080fd5b604089015b818110156148b8578035600081810b82146148aa578081fd5b508452928401928401614891565b509699959850965050933593505050565b600080600080608085870312156148df57600080fd5b6148e885614467565b93506148f660208601614467565b92506040850135915060608501356001600160401b0381111561491857600080fd5b8501601f8101871361492957600080fd5b61493887823560208401614539565b91505092959194509250565b6000806040838503121561495757600080fd5b61496083614467565b915061496e60208401614467565b90509250929050565b803561ffff8116811461168157600080fd5b60008060006060848603121561499e57600080fd5b833592506149ae60208501614977565b91506149bc60408501614977565b90509250925092565b600181811c908216806149d957607f821691505b602082108114156149fa57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600060ff821660ff84168060ff03821115614a6857614a68614a35565b019392505050565b600060ff821660ff811415614a8757614a87614a35565b60010192915050565b60008219821115614aa357614aa3614a35565b500190565b602080825260029082015261063360f41b604082015260600190565b6000816000190483118215151615614ade57614ade614a35565b500290565b6000600019821415614af757614af7614a35565b5060010190565b634e487b7160e01b600052603260045260246000fd5b602080825260029082015261065360f41b604082015260600190565b600082821015614b4257614b42614a35565b500390565b634e487b7160e01b600052601260045260246000fd5b600082614b6c57614b6c614b47565b500490565b60208082526003908201526237379760e91b604082015260600190565b60008151614ba08185602086016143e3565b9290920192915050565b60008351614bbc8184602088016143e3565b835190830190614bd08183602088016143e3565b01949350505050565b600060ff821660ff841680821015614bf357614bf3614a35565b90039392505050565b61303160f01b815260008251614c198160028501602087016143e3565b9190910160020192915050565b8054600090600181811c9080831680614c4057607f831692505b6020808410821415614c6257634e487b7160e01b600052602260045260246000fd5b818015614c765760018114614c8757614cb4565b60ff19861689528489019650614cb4565b60008881526020902060005b86811015614cac5781548b820152908501908301614c93565b505084890196505b50505050505092915050565b60008651614cd2818460208b016143e3565b614cde81840188614c26565b90507f253237253342253230636f6e737425323073697a6525323025334425323025358152602160f91b60208201528551614d20816021840160208a016143e3565b6225324360e81b602192909101918201528451614d448160248401602089016143e3565b7f253544253342253230636f6e737425323067253230253344253230253237000060249290910191820152614d7c6042820185614c26565b7f253237253342253230636f6e73742532306525323025334425323046756e637481527f696f6e282532372532327573652532307374726963742532322533427265747560208201527f726e2532302825323725323025324225323070616b6f2e696e666c617465286e60408201527f657725323055696e743841727261792861746f622867292e73706c697428253260608201527f37253237292e6d61702866756e6374696f6e28782925374272657475726e253260808201527f30782e63686172436f646541742830292533422532302537442929253243253260a08201527f30253742253230746f253341253230253237737472696e67253237253230253760c08201527f4429253242253230253237292532372928292533422532306e6577253230703560e08201527f28652e6e6f6465732532432532302532376e6f646573253237292533422532306101008201527f25334325324673637269707425334525334364697625323069642533442532326101208201527f6e6f6465732532322532306e616d652533442532326e6f6465732532322533456101408201527f253343253246646976253345253343253246626f64792533452533432532466861016082015265746d6c25334560d01b6101808201526101860198975050505050505050565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b707b226e616d65223a20224e4f444553202360781b81528951600090614fe5816011850160208f016143e3565b711116113232b9b1b934b83a34b7b7111d101160711b601191840191820152615011602382018c614c26565b7311161130b734b6b0ba34b7b72fbab936111d101160611b81528a51909150615041816014840160208e016143e3565b8951910190615057816014840160208d016143e3565b7211161132bc3a32b93730b62fbab936111d101160691b60149290910191820152875161508b816027840160208c016143e3565b6b11161134b6b0b3b2911d101160a11b602792909101918201526150fc6150ef6150e96150cd6150c76150c1603387018d614c26565b8b614b8e565b89614c26565b6f011161130ba3a3934b13aba32b9911d160851b815260100190565b86614b8e565b607d60f81b815260010190565b9c9b505050505050505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161514481601d8501602087016143e3565b91909101601d0192915050565b60006001600160801b038381169083168181101561517157615171614a35565b039392505050565b60006001600160801b03808316818516808303821115614bd057614bd0614a35565b6000816151aa576151aa614a35565b506000190190565b6000826151c1576151c1614b47565b500690565b603160f81b8152600082516151e28160018501602087016143e3565b9190910160010192915050565b7f646174613a746578742f68746d6c2c25334368746d6c2533452533436865616481526225334560e81b6020820152600061522d6023830188614c26565b741299a1b9b1b934b83a12991839b9319299a212991960591b81526152556015820188614c26565b90507412991912991834b73a32b3b934ba3c9299a212991960591b8082526152806015830188614c26565b91507f25323225323063726f73736f726967696e253344253232616e6f6e796d6f75738083527f2532322532307265666572726572706f6c6963792533442532326e6f2d7265668060208501527f657272657225323225334525334325324673637269707425334525334373637260408501526e34b83a12991839b9319299a212991960891b6060850152615318606f850189614c26565b935082845261532a6015850188614c26565b91825260208201527f657272657225323225334525334325324673637269707425334525334325324660408201527f68656164253345253343253246626f6479253345253343736372697074253345606082015274636f6e73742532306825323025334425323025323760581b60808201526095019998505050505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906153df9083018461440f565b9695505050505050565b6000602082840312156153fb57600080fd5b81516143dc816143a9565b60006154128285614c26565b8351614bd08183602088016143e3565b6000885160206154358285838e016143e3565b8951918401916154488184848e016143e3565b895192019161545a8184848d016143e3565b885192019161546c8184848c016143e3565b61547881840189614c26565b925050855161548a8184848a016143e3565b855192019161549c81848489016143e3565b919091019a9950505050505050505050565b605b60f81b8152600082516154ca8160018501602087016143e3565b605d60f81b6001939091019283015250600201919050565b61030360f41b815260008251614c198160028501602087016143e3565b600060ff821660ff84168160ff048111821515161561552057615520614a35565b029392505050565b8581528460208201528360408201526bffffffffffffffffffffffff198360601b166060820152600061555e6074830184614c26565b979650505050505050565b6000825161557b8184602087016143e3565b9190910192915050565b600084516155978184602089016143e3565b8451908301906155ab8183602089016143e3565b84519101906155be8183602088016143e3565b0195945050505050565b600061ffff808316818516808303821115614bd057614bd0614a3556fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa264697066735822122010456def1a8870a2277ab0d8a31075ad50b2db5b4f6ed78e8360f4e70db2291a64736f6c634300080c0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

3e968949270a223de87fff5fae90c6b8a3597d92f2e8dc43eb1be8c20294cc0ee1c7ba2af1fe9f0c396266ec87232215190bb8eaf5a8b46328fa04854c9e5e8b0000000000000000000000000000000000000000000000000000000000000400

-----Decoded View---------------
Arg [0] : _generalMerkleRoot (bytes32): 0x3e968949270a223de87fff5fae90c6b8a3597d92f2e8dc43eb1be8c20294cc0e
Arg [1] : _devMerkleRoot (bytes32): 0xe1c7ba2af1fe9f0c396266ec87232215190bb8eaf5a8b46328fa04854c9e5e8b
Arg [2] : genesisCap (uint16): 1024

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 3e968949270a223de87fff5fae90c6b8a3597d92f2e8dc43eb1be8c20294cc0e
Arg [1] : e1c7ba2af1fe9f0c396266ec87232215190bb8eaf5a8b46328fa04854c9e5e8b
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000400


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.