ETH Price: $3,481.62 (+4.43%)

Token

CryptoEddies (EDDIE)
 

Overview

Max Total Supply

1,602 EDDIE

Holders

386

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
3 EDDIE
0x98d285e030bb281cb4c12ea4f8ced5980f76ee98
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:
CryptoEddies

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : CryptoEddies.sol
// SPDX-License-Identifier: MIT

/*
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX  CRYPTO EDDIES  XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   by @eddietree  XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXNWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXNWWWx'....................................:0WWWNXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXNNNo.                                    ,ONNNXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXNWWNd'..;looooooooooooooooooooooooooooooooooooc,..;OWWWNXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXNNWNl   ,xOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOo.  .kWNNNXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXNWWNd,',:llldkOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOxollc;'';OWWWNXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXWMMN:   ;kOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOd.  .xMMMNXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXWMMN:   ,kOOOOOOOOOOO0000000KKKKKKKKKKKKKKKKK00000000Kx.  .xMMMNXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXWMMN:   ;kOOOOOOOOOOOKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKk'  .xMMMNXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXWMMN:   ;kOOOOOOO000KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKk'  .xMMMNXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXWMMN:   ;kOOOOOO0KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKk'  .xMMMNXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXWMMN:   ;kOOOOOO0KKKKKKKOl;;ckKKKKKKKKKKKKKKKKkc;;lOXXk'  .xMMMNXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXWMMN:   ;kOOOOOO0KKKKKKKk'  .oKKKKKKKKKKKKKKKXo.  .xXXk'  .xMMMNXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXNNNXxllc.   ;kOOOOOO0KKKKKKK0occc::::cxKKKKKKKkc:::cccoOKKk'  .xMMMNXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXNWMMX;       ;kOOOOOO0KKKKKKKKKKXO,    cKKKKKKKl   'OXXXKKKk'  .xMMMNXXXXXXXXXXXXXXXX
XXXXXXXXXXXXNNNKxoolc:::::::okOOOOOO0KKKKKKK0occc:::::xKKKKKKKxc:::cccoOKXk'  .xMMMNXXXXXXXXXXXXXXXX
XXXXXXXXXXXNWMM0'  .oKKKKKKK0OOOOOOO0KKKKKKXk'  .oKKKKKKKKKKKKKKXKo.  .xKXk'  .xMMMNXXXXXXXXXXXXXXXX
XXXXXXXXXXXNWMM0'  .oKKKKKKKK000OOOO0KKKKKKKOl;;:kKKKKKKKKK0000KKKkc;;lOKKOl;;:lddd0NNNXXXXXXXXXXXXX
XXXXXXXXXXXNWMM0'  .oKKKKKKKKKKK0OOO0KKKKKKKKKKKKKKKKKKKKK0kkkOKKKKKKKKKKKKKKKO,   oWMMNXXXXXXXXXXXX
XXXXXXXXXXXXNWWKo;;:coooooookKKKK0000KKKKKKKKKKK0xooookKKKxc::d0KKOdood0KKKKKKO,   oWMMNXXXXXXXXXXXX
XXXXXXXXXXXXXXXNWWMX;       :0KKKKKKKKKKKKKKKKKXO,    cKKKc   ;0KXo.  .xKKKKKXO,   oWMMNXXXXXXXXXXXX
XXXXXXXXXXXXXXXXNWWXo,,,,,,,coodkKKKKKKKKKKKKKKK0c''',codo:''':oddc,'':kXKKKKXO,   oWMMNXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXNWWWWWWNl   ;0KKKKKKKKKKKKKKKKKKKO;   :0K0l.  ,kKKKKKKKKKKO,   oWMMNXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXNWWWWWWNx,'':dddkKKKKKKKKKKKKKKKX0l..'oKKKd'..:OXKKKKK0kddo:'',xWWWNXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXNNNNd.  ,OXKKKKKKKKKKKKKKKK000KKKKK0000KKKKKKKk,  .dNNNNXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXNXK000o'..;dxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxo;..,kWWWNXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXNWMWo...;k0Ol.                                    'xXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXKK0l...c0KKd'............................     ...,OWWWNXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXNWWNl...:kOO0KKX0OOOOOOOOOOOOOOOOOOOOOOOOOOOOOc.  .xKKXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXX0c...cKKK0OOO0KKKKKKKKKKKKKKKKKKKKKKKKK0OOOl.  '0MMWNXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXNWWXc..'cxkk0KKKo...:OKKKKKKKOkkO0KKKK0kkO0KKKo'...   '0MMWNXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXWMMX;   lKKKKKKKl.  ,x000KKKKOkkk0KKKKOkkk0KKKl       ,ONNNXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXWMMX;   cKKKKKKK0xxxl'..;kXKKK000KKKKKK000KKKKl   .oxxo,'.:OWWWNXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXWMMX;  .c000KKKKKKKKo.  .xKKKKKKKKKKKKKKKKKKKKl   'kXXx.  .kMMWNXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXNNX0kkkc'''oKKKKKKKo.  .xKK0dlloxkkkkkkkk0KKKl   'kXXx.  .kMMWNXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXWMMNc   :0KKKKKKo.  .xKKOl:::oxxxxxxxxOKKKl   'kKKd.  .kMMWNXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXNNNX0xxxc,,,,,,,;loox0KKOl:::oxxxxxxxxOKKKl    ',,:oxxkKNNNXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXNMMWl       'kXKKKKKOl;::oxxxxxxxxOKKKl       '0MMWNXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXNNNN0ddd;   'OXXkc,,;;:::oxxxxxxxxOKKKl   .lddkKNNNXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXNMMMd   'OXXd.   ':::oxxxxxxxxOKKKl   ,KMMWNXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXNMMMd   'OKXx.  .lOOO0KKK0o,,,oKKKl   ,KMMWNXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXNMMMd   'OKKd.  .kMMMMMMMNc   :0XKl   ,KMMWXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXNWWWx'..:OXXk;..;OWWWWWWWNo...lKKKd'..cKWWNXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
*/

pragma solidity ^0.8.4;

import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import 'base64-sol/base64.sol';

import "./EddieRenderer.sol";
import "./CryptoDeddies.sol";

/// @title CryptoEddies
/// @author Eddie Lee
/// @notice CryptoEddies is an 100% on-chain experimental NFT character project.
contract CryptoEddies is EddieRenderer, ERC721A, Ownable {
    
    uint256 public constant MAX_TOKEN_SUPPLY = 3500;

    // 3 pricing tiers
    uint256 public tier0_price = 0.01 ether;
    uint256 public tier1_price = 0.015 ether;
    uint256 public tier2_price = 0.02 ether;
    uint256 public tier0_supply = 2000;
    uint256 public tier1_supply = 1000;

    uint256 public maxMintsPerPersonPublic = 150;
    uint256 public maxMintsPerPersonWhitelist = 1;
    uint public constant MAX_HP = 5;

    CryptoDeddies public contractGhost;

    enum MintStatus {
        CLOSED, // 0
        WHITELIST, // 1
        PUBLIC // 2
    }

    MintStatus public mintStatus = MintStatus.CLOSED;
    bool public revealed = false;

    mapping(uint256 => uint256) public seeds; // seeds for image + stats
    mapping(uint256 => uint) public hp; // health power

    // events
    event EddieDied(uint256 indexed tokenId); // emitted when an HP goes to zero
    event EddieRerolled(uint256 indexed tokenId); // emitted when an Eddie gets re-rolled
    event EddieSacrificed(uint256 indexed tokenId); // emitted when an Eddie gets sacrificed

    constructor() ERC721A("CryptoEddies", "EDDIE") {
    }

    modifier verifySupply(uint256 numEddiesToMint) {
        //require(tx.origin == msg.sender,  "No bots");
        require(numEddiesToMint > 0, "Mint at least 1");
        require(_totalMinted() + numEddiesToMint <= MAX_TOKEN_SUPPLY, "Exceeds max supply");

        _;
    }

    modifier verifyTokenId(uint256 tokenId) {
        require(tokenId >= _startTokenId() && tokenId <= _totalMinted(), "Out of bounds");
        _;
    }

    function _mintEddies(address to, uint256 numEddiesToMint) private verifySupply(numEddiesToMint) {
        uint256 startTokenId = _startTokenId() + _totalMinted();
         for(uint256 tokenId = startTokenId; tokenId < startTokenId+numEddiesToMint; tokenId++) {
            _saveSeed(tokenId);
            hp[tokenId] = MAX_HP;
         }

         _safeMint(to, numEddiesToMint);
    }

    function reserveEddies(address to, uint256 numEddiesToMint) external onlyOwner {
        _mintEddies(to, numEddiesToMint);
    }

    function reserveEddiesToManyFolk(address[] calldata addresses, uint256 numEddiesToMint) external {
        uint256 num = addresses.length;
        for (uint256 i = 0; i < num; ++i) {
            address to = addresses[i];
            _mintEddies(to, numEddiesToMint);
        }
    }

    /// @notice Mints CryptoEddies into your wallet! payableAmount is the total amount of ETH to mint all numEddiesToMint (costPerCryptoEddie * numEddiesToMint)
    /// @param numEddiesToMint The number of CryptoEddies you want to mint
    function mintEddies(uint256 numEddiesToMint) external payable {
        require(mintStatus == MintStatus.PUBLIC, "Public mint closed");
        require(msg.value >= _getPrice(numEddiesToMint), "Incorrect ether" );
        require(_numberMinted(msg.sender) + numEddiesToMint <= maxMintsPerPersonPublic, "Exceeds max mints");

        _mintEddies(msg.sender, numEddiesToMint);
    }

    function _rerollEddie(uint256 tokenId) verifyTokenId(tokenId) private {
        require(revealed == true, "Not revealed");
        require(hp[tokenId] > 0, "No HP");
        require(msg.sender == ownerOf(tokenId), "Not yours");

        _saveSeed(tokenId);   
        _takeDamageHP(tokenId, msg.sender);

        emit EddieRerolled(tokenId);
    }

    /// @notice Rerolls the visuals and stats of one CryptoEddie, deals -1 HP damage!
    /// @param tokenId The token ID for the CryptoEddie to reroll
    function rerollEddie(uint256 tokenId) external {
        _rerollEddie(tokenId);
    }

    function rerollEddieMany(uint256[] calldata tokenIds) external {
        uint256 num = tokenIds.length;
        for (uint256 i = 0; i < num; ++i) {
            uint256 tokenId = tokenIds[i];
            _rerollEddie(tokenId);
        }
    }

    function _saveSeed(uint256 tokenId) private {
        seeds[tokenId] = uint256(keccak256(abi.encodePacked(blockhash(block.number - 1), tokenId, msg.sender)));
    }

    // @notice Destroys your CryptoEddie, spawning a ghost
    /// @param tokenId The token ID for the CryptoEddie
    function burnSacrifice(uint256 tokenId) external {
        require(msg.sender == ownerOf(tokenId), "Not yours");
        _burn(tokenId);

        // if not already dead, force kill and spawn ghost
        if (hp[tokenId] > 0) {
            hp[tokenId] = 0;
            emit EddieDied(tokenId);

            if (address(contractGhost) != address(0)) {
                contractGhost.spawnGhost(msg.sender, tokenId, seeds[tokenId]);
            }
        }

        emit EddieSacrificed(tokenId);
    }

    function _startTokenId() override internal pure virtual returns (uint256) {
        return 1;
    }

    // taken from 'ERC721AQueryable.sol'
    function tokensOfOwner(address owner) external view returns (uint256[] memory) {
        unchecked {
            uint256 tokenIdsIdx;
            address currOwnershipAddr;
            uint256 tokenIdsLength = balanceOf(owner);
            uint256[] memory tokenIds = new uint256[](tokenIdsLength);
            TokenOwnership memory ownership;
            for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            return tokenIds;
        }
    }

    function _getPrice(uint256 numPayable) private view returns (uint256) {
        uint256 numMintedAlready = _totalMinted();

        return numPayable 
            * (numMintedAlready < tier0_supply ? 
                tier0_price 
                : ( (numMintedAlready < (tier0_supply+tier1_supply)) ? tier1_price : tier2_price));
    }

    function setPricing(uint256[] calldata pricingData) external onlyOwner {
        tier0_supply = pricingData[0];
        tier0_price = pricingData[1];

        tier1_supply = pricingData[2];
        tier1_price = pricingData[3];

        tier2_price = pricingData[4];

        require(tier0_supply + tier1_supply <= MAX_TOKEN_SUPPLY);
    }

    function setPublicMintStatus(uint256 _status) external onlyOwner {
        mintStatus = MintStatus(_status);
    }

    function setMaxMints(uint256 _maxMintsPublic, uint256 _maxMintsWhitelist) external onlyOwner {
        maxMintsPerPersonPublic = _maxMintsPublic;
        maxMintsPerPersonWhitelist = _maxMintsWhitelist;
    }

    function setContractGhost(address newAddress) external onlyOwner {
        contractGhost = CryptoDeddies(newAddress);
    }

    function setRevealed(bool _revealed) external onlyOwner {
        revealed = _revealed;
    }

    // props to @cygaar_dev
    error SteveAokiNotAllowed();
    address public constant STEVE_AOKI_ADDRESS = 0xe4bBCbFf51e61D0D95FcC5016609aC8354B177C4;

    function _beforeTokenTransfers(address from, address to, uint256 startTokenId, uint256 quantity) internal override {
        if (to == STEVE_AOKI_ADDRESS) { // sorry Mr. Aoki
            revert SteveAokiNotAllowed();
        }

        if (from == address(0) || to == address(0))  // bypass for minting and burning
            return;

        for (uint256 tokenId = startTokenId; tokenId < startTokenId + quantity; ++tokenId) {
            //require(hp[tokenId] > 0, "No more HP"); // soulbound?

            // transfers reduces HP
            _takeDamageHP(tokenId, from);
        }
    }

    function _takeDamageHP(uint256 tokenId, address mintGhostTo) private verifyTokenId(tokenId){
        if (hp[tokenId] == 0) // to make sure it doesn't wrap around
            return;

        hp[tokenId] -= 1;

        if (hp[tokenId] == 0) {
            emit EddieDied(tokenId);

            if (address(contractGhost) != address(0)) {
                contractGhost.spawnGhost(mintGhostTo, tokenId, seeds[tokenId]);
            }
        }
    }

    function rewardHP(uint256 tokenId, uint hpRewarded) external onlyOwner verifyTokenId(tokenId) {
        require(hp[tokenId] > 0, "Already dead");
        hp[tokenId] += hpRewarded;

        if (hp[tokenId] > MAX_HP) 
            hp[tokenId] = MAX_HP;
    }

    function rewardManyHP(uint256[] calldata tokenIds, uint hpRewarded) external {
        uint256 num = tokenIds.length;
        for (uint256 i = 0; i < num; ++i) {
            uint256 tokenId = tokenIds[i];

            if (hp[tokenId] > 0 ) { // not dead
                hp[tokenId] += hpRewarded;

                if (hp[tokenId] > MAX_HP) 
                    hp[tokenId] = MAX_HP;
            }
        }
    }

    /// @notice Retrieves the HP
    /// @param tokenId The token ID for the CryptoEddie
    /// @return hp the amount of HP for the CryptoEddie
    function getHP(uint256 tokenId) external view verifyTokenId(tokenId) returns(uint){
        return hp[tokenId];
    }

    function numberMinted(address addr) external view returns(uint256){
        return _numberMinted(addr);
    }

    ///////////////////////////
    // -- MERKLE NERD STUFF --
    ///////////////////////////
    bytes32 public merkleRoot = 0x0;

    function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner {
        merkleRoot = _merkleRoot;
    }

    function _verifyMerkle(bytes32[] calldata _proof, bytes32 _leaf) private view returns (bool) {
        return MerkleProof.verify(_proof, merkleRoot, _leaf);
    }

    function verifyMerkle(bytes32[] calldata _proof, bytes32 _leaf) external view returns (bool) {
        return _verifyMerkle(_proof, _leaf);
    }

    function verifyMerkleAddress(bytes32[] calldata _proof, address from) external view returns (bool) {
        bytes32 leaf = keccak256(abi.encodePacked(from));
        return _verifyMerkle(_proof, leaf);
    }

    function mintEddiesMerkle(bytes32[] calldata _merkleProof, uint256 numEddiesToMint) external payable {
        require(mintStatus == MintStatus.WHITELIST || mintStatus == MintStatus.PUBLIC, "Merkle mint closed");
        
        uint256 numMintedAlready = _numberMinted(msg.sender);
        require(numMintedAlready + numEddiesToMint <= maxMintsPerPersonPublic, "Exceeds max mints");

        // calculate how much you need to pay beyond whitelisted amount
        uint256 numToMintFromWhitelist = 0;
        if (numMintedAlready < maxMintsPerPersonWhitelist) {
            numToMintFromWhitelist = (maxMintsPerPersonWhitelist - numMintedAlready);
        }

        // num to actually buy
        uint256 numToMintPayable = numEddiesToMint - numToMintFromWhitelist;
        require(msg.value >= _getPrice(numToMintPayable), "Incorrect ether sent" );
    
        // verify merkle        
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(_verifyMerkle(_merkleProof, leaf), "Invalid proof");

        _mintEddies(msg.sender, numEddiesToMint);
    }

    ///////////////////////////
    // -- TOKEN URI --
    ///////////////////////////
    function _tokenURI(uint256 tokenId) private view returns (string memory) {
        string[6] memory lookup = [  '0', '1', '2', '3', '4', '5'];
        uint256 seed = seeds[tokenId];
        string memory image = _getSVG(seed);

        string memory json = Base64.encode(
            bytes(string(
                abi.encodePacked(
                    '{"name": ', '"CryptoEddie #', Strings.toString(tokenId),'",',
                    '"description": "CryptoEddies is an 100% on-chain experimental NFT character project with unique functionality, inspired by retro Japanese RPGs.",',
                    '"attributes":[',
                        _getTraitsMetadata(seed),
                        _getStatsMetadata(seed),
                        '{"trait_type":"HP", "value":',lookup[hp[tokenId]],', "max_value":',lookup[MAX_HP],'}'
                    '],',
                    '"image": "data:image/svg+xml;base64,', Base64.encode(bytes(image)), '"}' 
                )
            ))
        );

        return string(abi.encodePacked('data:application/json;base64,', json));
    }

    function _tokenUnrevealedURI(uint256 tokenId) private view returns (string memory) {
        uint256 seed = seeds[tokenId];
        string memory image = _getUnrevealedSVG(seed);

        string memory json = Base64.encode(
            bytes(string(
                abi.encodePacked(
                    '{"name": ', '"CryptoEddie #', Strings.toString(tokenId),'",',
                    '"description": "CryptoEddies is an 100% on-chain experimental character art project, chillin on the Ethereum blockchain.",',
                    '"attributes":[{"trait_type":"Unrevealed", "value":"True"}],',
                    '"image": "data:image/svg+xml;base64,', Base64.encode(bytes(image)), '"}' 
                )
            ))
        );

        return string(abi.encodePacked('data:application/json;base64,', json));
    }

    function tokenURI(uint256 tokenId) override(ERC721A) public view verifyTokenId(tokenId) returns (string memory) {
        if (revealed) 
            return _tokenURI(tokenId);
        else
            return _tokenUnrevealedURI(tokenId);
    }

    function _randStat(uint256 seed, uint256 div, uint256 min, uint256 max) private pure returns (uint256) {
        return min + (seed/div) % (max-min);
    }

    function _getStatsMetadata(uint256 seed) private pure returns (string memory) {
        string[11] memory lookup = [ '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10' ];

        string memory metadata = string(abi.encodePacked(
          '{"trait_type":"Determination", "display_type": "number", "value":', lookup[_randStat(seed, 2, 2, 10)], '},',
          '{"trait_type":"Love", "display_type": "number", "value":', lookup[_randStat(seed, 3, 2, 10)], '},',
          '{"trait_type":"Cringe", "display_type": "number", "value":', lookup[_randStat(seed, 4, 2, 10)], '},',
          '{"trait_type":"Bonk", "display_type": "number", "value":', lookup[_randStat(seed, 5, 2, 10)], '},',
          '{"trait_type":"Magic Defense", "display_type": "number", "value":', lookup[_randStat(seed, 6, 2, 10)], '},'
        ));

        return metadata;
    }

    function withdraw() external onlyOwner {
        uint balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }
}

File 2 of 11 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

/**
 * @dev Interface of ERC721 token receiver.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Reference type for token approval.
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // Mask of an entry in packed address data.
    uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant _BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant _BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant _BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant _BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant _BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The bit position of `extraData` in packed ownership.
    uint256 private constant _BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with {_mintERC2309}.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309}
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

    // The `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID to be minted.
    uint256 private _currentIndex;

    // The number of tokens burned.
    uint256 private _burnCounter;

    // 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 {_packedOwnershipOf} implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

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

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

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

    /**
     * @dev Returns the starting token ID.
     * To change the starting token ID, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view virtual returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * @dev Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view virtual returns (uint256) {
        // Counter underflow is impossible as `_currentIndex` does not decrement,
        // and it is initialized to `_startTokenId()`.
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view virtual returns (uint256) {
        return _burnCounter;
    }

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> _BITPOS_AUX);
    }

    /**
     * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal virtual {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes
        // of the XOR of all function selectors in the interface.
        // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
        // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();
        return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : '';
    }

    /**
     * @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, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @dev Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around over time.
     */
    function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal virtual {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & _BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP);
        ownership.burned = packed & _BITMASK_BURNED != 0;
        ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA);
    }

    /**
     * @dev Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`.
            result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @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) public virtual override {
        address owner = ownerOf(tokenId);

        if (_msgSenderERC721A() != owner)
            if (!isApprovedForAll(owner, _msgSenderERC721A())) {
                revert ApprovalCallerNotOwnerNorApproved();
            }

        _tokenApprovals[tokenId].value = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @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) public virtual override {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

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

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

    /**
     * @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. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`.
     */
    function _isSenderApprovedOrOwner(
        address approvedAddress,
        address owner,
        address msgSender
    ) private pure returns (bool result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
            msgSender := and(msgSender, _BITMASK_ADDRESS)
            // `msgSender == owner || msgSender == approvedAddress`.
            result := or(eq(msgSender, owner), eq(msgSender, approvedAddress))
        }
    }

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) public virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();

        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

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

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @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 memory _data
    ) public virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token IDs
     * are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * `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`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token IDs
     * have been transferred. This includes minting.
     * And also called after one token has been burned.
     *
     * `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` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * `from` - Previous owner of the given token ID.
     * `to` - Target address that will receive the token.
     * `tokenId` - Token ID to be transferred.
     * `_data` - Optional data to send along with the call.
     *
     * Returns whether the call correctly returned the expected magic value.
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _mint(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (quantity == 0) revert MintZeroQuantity();

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

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

            _currentIndex = end;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();

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

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);

            _currentIndex = startTokenId + quantity;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * See {_mint}.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal virtual {
        _mint(to, quantity);

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal virtual {
        _safeMint(to, quantity, '');
    }

    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = address(uint160(prevOwnershipPacked));

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                from,
                (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

    // =============================================================
    //                     EXTRA DATA OPERATIONS
    // =============================================================

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA;
    }

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a uint256 to its ASCII string decimal representation.
     */
    function _toString(uint256 value) internal pure virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit),
            // but we allocate 0x80 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 0x20 + 3 * 0x20 = 0x80.
            str := add(mload(0x40), 0x80)
            // Update the free memory pointer to allocate.
            mstore(0x40, str)

            // Cache the end of the memory to calculate the length later.
            let end := str

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

            let length := sub(end, str)
            // Move the pointer 32 bytes leftwards to make room for the length.
            str := sub(str, 0x20)
            // Store the length.
            mstore(str, length)
        }
    }
}

File 3 of 11 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 4 of 11 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

    /**
     * @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);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 5 of 11 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree 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.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
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 Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle 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++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 6 of 11 : base64.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0;

/// @title Base64
/// @author Brecht Devos - <[email protected]>
/// @notice Provides functions for encoding/decoding base64
library Base64 {
    string internal constant TABLE_ENCODE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
    bytes  internal constant TABLE_DECODE = hex"0000000000000000000000000000000000000000000000000000000000000000"
                                            hex"00000000000000000000003e0000003f3435363738393a3b3c3d000000000000"
                                            hex"00000102030405060708090a0b0c0d0e0f101112131415161718190000000000"
                                            hex"001a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132330000000000";

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

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

        // 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) {}
            {
                // read 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // write 4 characters
                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(shr( 6, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, 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;
    }

    function decode(string memory _data) internal pure returns (bytes memory) {
        bytes memory data = bytes(_data);

        if (data.length == 0) return new bytes(0);
        require(data.length % 4 == 0, "invalid base64 decoder input");

        // load the table into memory
        bytes memory table = TABLE_DECODE;

        // every 4 characters represent 3 bytes
        uint256 decodedLen = (data.length / 4) * 3;

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

        assembly {
            // padding with '='
            let lastBytes := mload(add(data, mload(data)))
            if eq(and(lastBytes, 0xFF), 0x3d) {
                decodedLen := sub(decodedLen, 1)
                if eq(and(lastBytes, 0xFFFF), 0x3d3d) {
                    decodedLen := sub(decodedLen, 1)
                }
            }

            // set the actual output length
            mstore(result, decodedLen)

            // 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, 4 characters at a time
            for {} lt(dataPtr, endPtr) {}
            {
               // read 4 characters
               dataPtr := add(dataPtr, 4)
               let input := mload(dataPtr)

               // write 3 bytes
               let output := add(
                   add(
                       shl(18, and(mload(add(tablePtr, and(shr(24, input), 0xFF))), 0xFF)),
                       shl(12, and(mload(add(tablePtr, and(shr(16, input), 0xFF))), 0xFF))),
                   add(
                       shl( 6, and(mload(add(tablePtr, and(shr( 8, input), 0xFF))), 0xFF)),
                               and(mload(add(tablePtr, and(        input , 0xFF))), 0xFF)
                    )
                )
                mstore(resultPtr, shl(232, output))
                resultPtr := add(resultPtr, 3)
            }
        }

        return result;
    }
}

File 7 of 11 : EddieRenderer.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import 'base64-sol/base64.sol';

import "./EddieData.sol";

contract EddieRenderer is EddieData {

  string[] public bgPaletteColors = [
    'b5eaea', 'b5c7ea', 'eab6b5', 'c3eab5', 'eab5d9',
    'fafc51', '3a89ff', '5eff8f', 'ff6efa', 'a1a1a1'
  ];
  
  struct CharacterData {
    uint background;

    uint body;
    uint head;
    uint eyes;
    uint mouth;
    uint hair;
  }

  function getSVG(uint256 seed) external view returns (string memory) {
    return _getSVG(seed);
  }

  function _getSVG(uint256 seed) internal view returns (string memory) {
    CharacterData memory data = _generateCharacterData(seed);

    string memory image = string(abi.encodePacked(
      '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" shape-rendering="crispEdges" width="768" height="768">'
      '<rect width="100%" height="100%" fill="#', bgPaletteColors[data.background], '"/>',
      _renderRects(heads[data.head], fullPalettes),
      _renderRects(bodies[data.body], fullPalettes),
      _renderRects(hair[data.hair], fullPalettes),
      _renderRects(mouths[data.mouth], fullPalettes),
      _renderRects(eyes[data.eyes], fullPalettes),
      '</svg>'
    ));

    return image;
  }

  function getGhostSVG(uint256 seed) external view returns (string memory) {
    return _getGhostSVG(seed);
  }

  function _getGhostSVG(uint256 seed) internal view returns (string memory) {
    CharacterData memory data = _generateCharacterData(seed);

    string memory image = string(abi.encodePacked(
      '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" shape-rendering="crispEdges" width="768" height="768">'
      '<rect width="100%" height="100%" fill="#3b89ff"/>',
      //_renderRects(bodies[data.body], fullPalettes),
      //_renderRects(heads[data.head], fullPalettes),
      _renderRects(misc[0], fullPalettes), // ghost body
      _renderRects(hair[data.hair], fullPalettes),
      _renderRects(mouths[data.mouth], fullPalettes),
      _renderRects(eyes[data.eyes], fullPalettes),
      '</svg>'
    ));

    return image;
  }

  function getUnrevealedSVG(uint256 seed) external view returns (string memory) {
    return _getUnrevealedSVG(seed);
  }

  function _getUnrevealedSVG(uint256 seed) internal view returns (string memory) {
    CharacterData memory data = _generateCharacterData(seed);

    string memory image = string(abi.encodePacked(
      '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" shape-rendering="crispEdges" width="768" height="768">'
      '<rect width="100%" height="100%" fill="#', bgPaletteColors[data.background], '"/>',
      _renderRects(misc[1], fullPalettes), // ghost body
      '</svg>'
    ));

    return image;
  }

  function getTraitsMetadata(uint256 seed) external view returns (string memory) {
    return _getTraitsMetadata(seed);
  }

  function _getTraitsMetadata(uint256 seed) internal view returns (string memory) {
    CharacterData memory data = _generateCharacterData(seed);

    string[24] memory lookup = [
      '0', '1', '2', '3', '4', '5', '6', '7',
      '8', '9', '10', '11', '12', '13', '14', '15',
      '16', '17', '18', '19', '20', '21', '22', '23'
    ];

    string memory metadata = string(abi.encodePacked(
      '{"trait_type":"Background", "value":"', lookup[data.background+1], '"},',
      '{"trait_type":"Outfit", "value":"', bodies_traits[data.body], '"},',
      '{"trait_type":"Class", "value":"', heads_traits[data.head], '"},',
      '{"trait_type":"Eyes", "value":"', eyes_traits[data.eyes], '"},',
      '{"trait_type":"Mouth", "value":"', mouths_traits[data.mouth], '"},',
      '{"trait_type":"Head", "value":"', hair_traits[data.hair], '"},'
    ));

    return metadata;
  }

  function _renderRects(bytes memory data, string[] memory palette) private pure returns (string memory) {
    string[24] memory lookup = [
      '0', '1', '2', '3', '4', '5', '6', '7',
      '8', '9', '10', '11', '12', '13', '14', '15',
      '16', '17', '18', '19', '20', '21', '22', '23'
    ];

    string memory rects;
    uint256 drawIndex = 0;

    for (uint256 i = 0; i < data.length; i = i+2) {
      uint8 runLength = uint8(data[i]); // we assume runLength of any non-transparent segment cannot exceed image width (24px)
      uint8 colorIndex = uint8(data[i+1]);

      if (colorIndex != 0) { // transparent
        uint8 x = uint8(drawIndex % 24);
        uint8 y = uint8(drawIndex / 24);
        string memory color = palette[colorIndex];

        rects = string(abi.encodePacked(rects, '<rect width="', lookup[runLength], '" height="1" x="', lookup[x], '" y="', lookup[y], '" fill="#', color, '"/>'));
      }
      drawIndex += runLength;
    }

    return rects;
  }

  function _generateCharacterData(uint256 seed) private view returns (CharacterData memory) {
    return CharacterData({
      background: seed % bgPaletteColors.length,
      
      body: bodies_indices[(seed/2) % bodies_indices.length],
      head: heads_indices[(seed/3) % heads_indices.length],
      eyes: eyes_indices[(seed/4) % eyes_indices.length],
      mouth: mouths_indices[(seed/5) % mouths_indices.length],
      hair: hair_indices[(seed/6) % hair_indices.length]
    });
  }
}

File 8 of 11 : CryptoDeddies.sol
// SPDX-License-Identifier: MIT

/*
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000  CRYPTO EDDIE GHOST 0000000000000000000000000000000000000
000000000000000000000000000000000000000000    by @eddietree    0000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000KXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXK000000000000000000000000000
00000000000000000000000000000000KNWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWK000000000000000000000000000
00000000000000000000000000000KXXKOxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxk0XXKK00000000000000000000000
0000000000000000000000000000KNWMK;                                     .kMMWX00000000000000000000000
000000000000000000000000KKKKKOOOxc''''''''''''''''''''''''''''''''''''';dOOO0KKKK0000000000000000000
000000000000000000000000XWWW0,  .xNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNO,  .dWWWX0000000000000000000
000000000000000000000KKKK000x;..,OWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMKc..'o000KKKKK000000000000000
00000000000000000000XWWWk'..,kXXNWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWNXX0c...oNWWXK00000000000000
00000000000000000000XWMMx.  .OMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMX:   lNMMNK00000000000000
00000000000000000000XWMMx.  .OMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMX:   lNMMNK00000000000000
00000000000000000000XWMMx.  .OMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMX:   lNMMNK00000000000000
00000000000000000000XWMMx.  .OMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMX:   lNMMNK00000000000000
00000000000000000000XWMMx.  .OMMMMMMMMMMMWWWWWWWWWWWWWWWWWWWMMMMWWWWWWWWWWWK:   lNMMNK00000000000000
00000000000000000000XWMMx.  .OMMMMMMMMMMWKkxxxxxxxxxxxxxxxxKWMWKkxxxxxxxxxxdc,,;xNMMNK00000000000000
00000000000000000000XWMWx.  .OMMMMMMMMMWWOlccccccccccccccclkNWW0lcccccccccccccclkNMMNK00000000000000
0000000000000000KNNXkc::'   .lkkkkkkkkkkxdlccokO0xl;..';cccoxkxdlccok00x;..';cclkNMMNK00000000000000
0000000000000000NWMWo       .;cccccccccccccccxXWM0o'   ,cccccccccccdXWM0,   ,cclkNMMNK00000000000000
000000000000KXXXxlclloolollodkOOOOOOOOOOOdlccxXWM0o'   ,ccldkOOxlccdXWM0,   ,cclkNMMNK00000000000000
00000000000KNWMNc   cNMMMMMMMMMMMMMMMMMMWOlccxXWM0o'   ,cclONWW0lccdXWM0,   ,cclkNMMNK00000000000000
00000000000KNMMNc   cNMMMMMMMMMMMMMMMMMMWOlccokOOxl;..';cclONMW0lccokOOx;..';cccloookKXXK00000000000
00000000000KNMMNc   cNMMMMMMMMMMMMMMMMMMW0lccccccccccccccclONWW0lccccccccccccccc'   ;XMMNK0000000000
00000000000KXNNXd:;:ldxxxxxxONMMMMMMMMMMWKkxxo;,,;coxxxxxxkKWMWXkxxxxxxxxxxxxxxx;   ;XMMNK0000000000
000000000000000KXWWNo.      'OMMMMMMMMMMMMWWWx.  .cOWWWWWWWWMMMMWWWWWWWWWWWWWWWNl   ;XMMNK0000000000
0000000000000000XNNNx;,,,,,,:dkkOXMMMMMMMMMMM0:,,:ldkkkO000O000Okkk0WMMMMMMMMMMNl   ;XMMNK0000000000
00000000000000000000XNNNNNNNO'  .kWMMMMMMMMMMWWNNOo,  .',,,,;,,'.  ;KMMMMMMMMMMNl   ;XMMNK0000000000
00000000000000000000XNWWWWWW0:..,d000XMMMMMMMMMMMKxc..'',,,,,,,''..cKMMMMMMWX00Ol'..lKWWNK0000000000
0000000000000000000000KKK0K0KXXX0:. .dWMMMMMMMMMMWWNXX0l,,,,,,,l0XXNWMMMMMMXc...lKNXXK0K000000000000
0000000000000000000000000KKKKKKKO:...l0KKKKKKKKKKKKKKKOc'''''''cOKKKKKKKKKKOc...oNWWXK00000000000000
000000000000000000000000KNWW0;..'dKK0l.................         ...........'oKKKKKKK0000000000000000
00000000000000000000000KKXXXk,..'kWMNo..       ... .. .............      . .xWWWX0000000000000000000
00000000000000000000XNWNk;..;x00KNMMWX00000000000000000000000000000o.  .o0000KKKK0000000000000000000
00000000000000000000XNNNx.  '0MMMWNNWWMMMMMMMMMMMMMMMMMMMMMMMMMWWNNk.  .kMMWX00000000000000000000000
0000000000000000XNNNx;,,cxkk0NMMXo,,;kWMMMMMMMMMMMMMMMMMMMMMMMWO:,,.   .kMMWX00000000000000000000000
000000000000000KNWMWo   ;KMMMMMMK;   oNWWMMMMMMMMMMMMMMMMMMMMMWd.      .kWWWX00000000000000000000000
0000000KXNNNNNNNWMMWo   ,KMMMMMMW0xddl:;:xNMMMMMMMMMMMMMMMMMMMWd.  .lxddc;;ckXNNK0000000000000000000
0000000KWMMMMMMMMMMWo   ;KMMMMMMMMMMNc   :XMMMMMMMMMMMMMMMMMMMWd.  ,0MM0,  .dWMWX0000000000000000000
000KXNN0occccccl0WMWKdoolcccdXMMMMMMNc   :XMMMMMMMMMMMMMMMMMMMWd.  ,0MM0'  .dWMWX0000000000000000000
000XWMMO.       oWMMMMMMx.  .OMMMMMMNc   :XMMMMMMMMMMMMMMMMMMMWd.  ,0MM0,  .dWMWX0000000000000000000
XXXOollllllllllllllllllllllllllllllllllllkWMMMMMMMMMMMMMMMMMMMWd.  .:lllllloOXXXK0000000000000000000
MMWx.  '0MMMMMMNc       ;KMMO'       oWMMMMMMMMMMMMMMMMMMMMMMMWd.      .kMMWX00000000000000000000000
NNNOl::coddxXMMWkc::::::dNMMXo::::::cOWMMMMMMMMMMMMMMMMMMMMMMMWd.  .,::l0NNXK00000000000000000000000
000XWWWO.  .kWMMMWWMMWMMMMMMMWWWWMWMMMMMMMMMMMMMMMMMMMMMMMMMMMWd.  ,0WWNK000000000000000000000000000
000KNNN0c,,:oxxkXWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWKkkxo;,;lKNNXK000000000000000000000000000
0000000KNWW0;  .dWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNl.  :KWWNK0000000000000000000000000000000
0000000KWMMK,   oWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNl   :XMMNK0000000000000000000000000000000
*/
// thx CB1 for the name

pragma solidity ^0.8.4;

import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import 'base64-sol/base64.sol';

import "./EddieRenderer.sol";

contract CryptoDeddies is ERC721A, Ownable {
    struct GhostData {
        uint256 eddieTokenId;
        uint256 eddieTokenSeed;
    }

    EddieRenderer public contractRenderer;

    mapping(uint256 => GhostData) public ghostData; // tokenid => ghost data
    error EddieGhostIsSoulbound();
    event EddieGhostSpawned(uint256 indexed tokenId, uint256 indexed eddieTokenId, uint256 indexed eddieTokenSeed); // emitted when an HP goes to zero

    constructor(address _contractRenderer) ERC721A("CryptoDeddies", "DEDDIE") {
        contractRenderer = EddieRenderer(_contractRenderer);
    }

    modifier verifyTokenId(uint256 tokenId) {
        require(tokenId >= _startTokenId() && tokenId <= _totalMinted(), "Out of bounds");
        _;
    }

    function _startTokenId() override internal pure virtual returns (uint256) {
        return 1;
    }

    function spawnGhost(address to, uint256 eddieTokenId, uint256 eddieTokenSeed) external {
        require(msg.sender == address(contractRenderer), "Only callable from contract");
        _mintGhost(to, eddieTokenId, eddieTokenSeed);
    }

    function spawnGhostAdmin(address to, uint256 eddieTokenId, uint256 eddieTokenSeed) external onlyOwner {
        _mintGhost(to, eddieTokenId, eddieTokenSeed);
    }

    function _mintGhost(address to, uint256 eddieTokenId, uint256 eddieTokenSeed) private {
        _safeMint(to, 1);

        // save ghost data
        uint256 tokenId = _totalMinted();
        ghostData[tokenId] = GhostData({
            eddieTokenId: eddieTokenId,
            eddieTokenSeed: eddieTokenSeed
        });

        emit EddieGhostSpawned(tokenId, eddieTokenId, eddieTokenSeed);
    }

    // block transfers (soulbound)
    function _beforeTokenTransfers(address from, address, uint256, uint256) internal pure override {
        //if (from != address(0) && to != address(0)) {
        if (from != address(0)) { // not burnable
            revert EddieGhostIsSoulbound();
        }
    }

    function setContractRenderer(address newAddress) external onlyOwner {
        contractRenderer = EddieRenderer(newAddress);
    }

    function tokenURI(uint256 tokenId) override(ERC721A) public view verifyTokenId(tokenId) returns (string memory) {
        require(_exists(tokenId), "Nonexistent token");

        GhostData memory ghost = ghostData[tokenId];
        uint256 eddieTokenId = ghost.eddieTokenId;
        uint256 seed = ghost.eddieTokenSeed;

        string memory image = contractRenderer.getGhostSVG(seed);

        string memory json = Base64.encode(
            bytes(string(
                abi.encodePacked(
                    '{"name": ', '"CryptoDeddie Ghost #', Strings.toString(eddieTokenId),'",',
                    '"description": "CryptoDeddie Ghost is a memorialized ghost of your original CryptoEddie, forever soulbound to your wallet.",',
                    '"attributes":[',
                        contractRenderer.getTraitsMetadata(seed),
                        '{"trait_type":"Dead", "value":"True"}, {"trait_type":"Soulbound", "value":"True"}'
                    '],',
                    '"image": "data:image/svg+xml;base64,', Base64.encode(bytes(image)), '"}' 
                )
            ))
        );

        return string(abi.encodePacked('data:application/json;base64,', json));
    }

    function withdraw() public onlyOwner {
        uint balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }
}

File 9 of 11 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of ERC721A.
 */
interface IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the
     * ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    // =============================================================
    //                            STRUCTS
    // =============================================================

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Stores the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
        // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}.
        uint24 extraData;
    }

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() external view returns (uint256);

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

    // =============================================================
    //                            IERC721
    // =============================================================

    /**
     * @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,
        bytes calldata data
    ) external;

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` 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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @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);

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

    /**
     * @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);

    // =============================================================
    //                           IERC2309
    // =============================================================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId`
     * (inclusive) is transferred from `from` to `to`, as defined in the
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

File 10 of 11 : 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 11 of 11 : EddieData.sol
// SPDX-License-Identifier: MIT
// AUTOGENERATED FILE by @eddietree on Thu Aug 18 2022 01:31:47 GMT-0700 (Pacific Daylight Time)

pragma solidity ^0.8.0;

contract EddieData {
	string[] public fullPalettes = ['ff00ff', '000000', 'ffffff', 'ff0000', '00ff00', '0000ff', '65656e', '212124', '343438', '212123', 'f83a00', 'fff200', 'ff5900', '0096ff', '2e07f2', '1f1f21', '858ac7', 'e31e27', '7e00de', 'f200ff', '292929', 'f5368f', 'ffff00', 'ff8282', '599cff', 'b2e1f8', 'ff9696', 'ff4747', '919191', 'b8b8b8', 'ff5e00', 'ff995e', 'ff3300', 'd32027', 'f3e106', 'd46a6d', '172f3b', '163545', 'f73b3b', '2c7899', '3fabd9', '2e81a5', '2f82a6', '44b0de', '237843', '47a66b', 'f3f700', 'ba6047', 'a85740', '592f23', '44c3c9', 'ede068', 'ffed4f', '68b84d', '599e42', '038604', '9c9083', '7a7166', '696158', '7ddcff', '00bbff', '009bd4', '5ed4ff', 'edda9d', 'eda200', '004f24', '00c458', '00a44b', '00ad4e', 'ff9500', 'f7ff0f', 'eaf041', 'cfd60d', 'faf5aa', 'ced439', 'b5b535', 'ffa3a3', 'a37b46', '966930', '579aff', '217aff', '4eff00', 'fffc00', 'ffff26', '007dfc', '0067cf', 'fcca97', '8a633c', 'cb8d52', 'fcf0c6', '180d1f', 'a16010', 'e5a925', '3a3a3a', '2057a8', 'b82323', 'ff3030', '3c3c3c', '0004fa', '2b2b2b', 'ff0009', '3150d6', '7c541a', 'ba2b00', 'bfb731', '505050', '729144', '9aa6c1', '3f3556', 'd246e8', 'e74dff', '00974c', '9ec45c', '20d47a', 'eded61', '78573e', 'b89174', '2b478f', '0024ff', '363b3c', '202324', '3587ab', '0044ff', '0145fd', 'b4633b', 'b5643b', '40b2e6', '83c6e5', '115c52', 'ffcc99', '64c0e8', '3a8228', 'fcd502', '165c58', 'f7c328', '8a1212', '008787', '2c3aa8', '8a3c3c', 'e8fd4d', '439958', '5e83ec', '00a800', '006600', '404040', 'c5b2a0', 'fd8c69', 'f7e83e', 'f75a3e', 'fccf03', '68d4cc', 'be8ade', 'b778de', '568746', '67ab50', 'fce2a9', '6edbb7', 'fcb39d', '79dbba', 'c74832', '40cfbc', '7dd8ff', 'dbf4ff', '9ce1ff', 'fbdd97', 'f9de9a', 'f9de9b', 'fade9a', 'f9df9b', 'fadf9b', 'fade9b', 'f8dfa0', 'f8e0a0', 'f7e0a0', 'f5e1a6', 'f4e2a6', 'f5e2a6', 'f4e2a7', 'f5e2a7', 'f2e4ad', 'f3e4ad', 'f2e3ad', 'efe6b5', 'efe5b4', 'f0e5b5', 'efe6b4', 'efe5b5', 'ece8bc', 'ece9bd', 'ece8bd', 'ece9bc', 'e9ebc5', 'e8ebc5', 'e9eac5', 'e9ebc4', 'e6edcd', 'e5eecd', 'e5eece', 'e6eecd', 'e5edcd', 'e5edce', 'e2f0d5', 'e2efd6', 'e2f0d6', 'e2efd5', 'dff2de', 'dcf4e5', 'dcf4e4', 'dcf5e5', 'dbf4e5', 'dcf5e4', 'd9f7ec', 'd9f6ec', 'd7f9f2', 'd7f8f2', 'd6f8f2', 'd4f9f7', 'd4faf7', 'd3fbfb', 'b7c6e8', 'e5edff', 'fae848', 'fae248'];

	///////////////////////////////////////
	// eyes
	bytes[] public eyes = [
		bytes(hex'840003061700020616000206040001020d000106090701020a00040604070108040701020a0004060307010801070108030701020d0001060907010217000102'),
		bytes(hex'c400010201090100010113000102010903020200040a03000101090001020101010201090302010a010b020a0100020101020b000102010901020200030a0300010101020b0003021700010117000101'),
		bytes(hex'e300020e0300020e0d00040e0202030e0202010e0f00010e0202010e0100010e0202010e1000020e0300020e'),
		bytes(hex'd300010101020d00040201000402010101020a0004020205030202030102010101020d000102020501020100010202030102010101020d000402010004020101'),
		bytes(hex'e200040d0100040d0c00040d01020101030d01020101010d0f00010d01020101010d0100010d01020101010d0f00040d0100040d'),
		bytes(hex'e200040c0100040c0c00040c01020101030c01020101010c0f00010c01020101010c0100010c01020101010c0f00040c0100040c'),
		bytes(hex'e30001010400010113000101020001011300010104000101'),
		bytes(hex'df000b011000030102000102010111000301'),
		bytes(hex'df00050f0210020f0210010f0f00010f0210020f0210010f11000110020f01000110020f'),
		bytes(hex'df0003110212021302120213100001120213021202130112110001130212010001130212'),
		bytes(hex'e2000101010001010200010101000101110001010400010111000101010001010200010101000101'),
		bytes(hex'e200040101000301100001020201020001020201'),
		bytes(hex'e30001010400010111000101010001010200010101000101'),
		bytes(hex'e200030102000301110001020101020001020101'),
		bytes(hex'9c00070110000101060201010f0001010802010101020d00010102020101030201010102010101020a000401040201030302010101020d00010102020101030201010102010101020d00010103020301020201010f0001010602010111000601'),
		bytes(hex'9c00070110000101060201010f0001010802010101020d00010101020117010101170102011701010117010101020a00040102020118030201180102010101020d0001010202011801010102010101180102010101020d000101020201180102010101020118010201010f0001010102011803020118010111000601'),
		bytes(hex'9b000801010001020d0001010816010101020c00010108160101010001020c0001010216010103160101011601010e000101081601010e0001010216010103160101011601010e00010103160301021601010f000101081610000801'),
		bytes(hex'e200031402000314100001140115011402000114011501141000031402000314'),
		bytes(hex'e2000302020003021000020201010200010102021000030202000302'),
		bytes(hex'e200030202000302100001020101010202000102010101021000030202000302'),
		bytes(hex'e300030101000301110001020101020001020101120001020101020001020101'),
		bytes(hex'cc0001160300011613000b0301030a0001160103010203160102061601160c000b0301030c00011603000116'),
		bytes(hex'e200030102000301110001020101020001020101120001020101020001020101'),
		bytes(hex'cc000101030001011100020105000101110001020101030001010102110001020101030001010102'),
		bytes(hex'b2000319140005191300011903010119030001010f00011901010103010101190100020101020f000119030101190200010101020f0005191200041914000219'),
		bytes(hex'e200030102000301110001020101020001020101120001010102020001010102'),
		bytes(hex'e3000301010003011100011a0101011a0100011a0101011a1100031a0100031a'),
		bytes(hex'e2000301020003011100010201010200010201011200020202000202'),
		bytes(hex'e900010110000401010002010102110001020101030001010102'),
		bytes(hex'e200020117000102020101000301110001020101030001010102'),
		bytes(hex'e200020105000101110001020201010002010102110001020101030001010102'),
		bytes(hex'e200030102000301290001010102030001010102')
	];

	string[] public eyes_traits = [
		'Virtual Reality',
		'Scouter',
		'Glasses',
		'3D Glasses',
		'Big Blue Glasses',
		'Big Red Glasses',
		'Shut',
		'Pirate',
		'Future Too Bright',
		'Stunners',
		'RIP',
		'Smug',
		'Overjoyed',
		'Sus',
		'Good Face',
		'Sad Face',
		'Happy Note',
		'Corrupted',
		'Dizzy',
		'Low Key Shook',
		'Optimistic',
		'Maximalist',
		'Watchful',
		'Worried',
		'Terminatooor',
		'Senpai',
		'Stoney Baloney',
		'Skyward',
		'Raised Left',
		'Raise Right',
		'U Mad Bro',
		'Naughty'
	];

	uint8[] public eyes_indices = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31];

	///////////////////////////////////////
	// mouths
	bytes[] public mouths = [
		bytes(hex'ff004400010118000301'),
		bytes(hex'ff004500010101000101010001011400010101000101'),
		bytes(hex'ff00450001010300010114000301'),
		bytes(hex'ff004400010118000101021b010115000203'),
		bytes(hex'ff001000010117000c010d0001010a1c0e000101021c011d031c011d021c0f000101071c11000101021c011d021c13000101031c15000101011c010116000101'),
		bytes(hex'ff001000010117000c010d0001010a030e0001010203021e0103021e02030f0001010703110001010103021e0203130001010303150001010103010116000101'),
		bytes(hex'2d000102300001022e0001021700010248000102170001022f00010229000101011f0202012015000201'),
		bytes(hex'ff005c000201'),
		bytes(hex'ff004300010f0600010f1100060f'),
		bytes(hex'ff005c0002010102010101020201'),
		bytes(hex'ff00460003011500010101000101'),
		bytes(hex'ff00460003011400010103000101'),
		bytes(hex'ff005e000301'),
		bytes(hex'ff005c000601')
	];

	string[] public mouths_traits = [
		'Smirk',
		'Uwu',
		'Smile',
		'Silly',
		'Grey Bandana',
		'Red Bandana',
		'Smoking',
		'Hmmm',
		'Big Honkin Smile',
		'Buck',
		'Micro Sad',
		'Sad',
		'Blah',
		'Unsatisfied'
	];

	uint8[] public mouths_indices = [0,1,2,3,4,5,6,7,8,9,10,11,12,13];

	///////////////////////////////////////
	// hair
	bytes[] public hair = [
		bytes(hex'200009020e000102090101020c000102010103240625010101020a000102010102240925010101020500050201010124062502000225010101020500010205010124052504000125010101020500010201010424062504260125010106000202030114000302'),
		bytes(hex'200009020e000102090101020c00010201010921010101020a0001020101042101220121012201210122022101010102090001020101042105220221010101020a0001010b210101010001020900010101210b23020101020b000c230101010214000201010216000102'),
		bytes(hex'200009020e000102090103020a00010201010129022a022b07010102080001020101022a022b0201072a01010102070001020101012a022b0101092a0101010208000101012a012b01010a2a0101010208000101012a01010a2a01010102'),
		bytes(hex'200009020e000102090101020c000102010103270628010101020a000102010102270928010101020500050201010127062802000228010101020500010205010127052804000128010101020500010201010427062804260128010106000202030114000302'),
		bytes(hex'200009020e000102090101020c0001020101032c062d010101020a0001020101022c092d01010102050005020101012c062d0201022d01010102050001020501012c052d0401012d01010102050001020101042c062d042e012d010106000202030114000302'),
		bytes(hex'0b00010201010202130001020101012f02010102110001020101012f0130022f010101020f0001020101033102300131010101020d0001020101012f0630012f010101020b0001020101012f01300731010101020b000102010101310730022f010101020c000a31'),
		bytes(hex'200009020e00020204010102030101020c0002020101043501010335010101020b0001020101013501360137010201010236010201010135010101020a0001020101013509360101010209000102010101350a3601010102090001020101013502360300023603000101010209000102010102360900010101020b0002360900010101020b0002360900010101020b0002360900010101020c000136'),
		bytes(hex'3a00050211000202050102020e00010202010532020101020c00010201010932010101020a000102010101330a34010101020b0001330a34'),
		bytes(hex'2800010216000102010101020e00070201010102010101020c00010207010202010101020b00010201010a02010101020900010201010b020101010209000102010103020300020203000101010209000102010102020900010101020b0002020900010101020b0002020900010101020b0002020900010101020c000102'),
		bytes(hex'2100020201000202010002020f0001020201010202010102020102020c000102010102380101023801010238020101020a000102010102380139013802390138013903380101010209000102010101380a390138010108000102010101380c39010108000102010103390300023903000201010208000102010102390900010101020b0002390900010101020b0002390900010101020b0002390900010101020c000139'),
		bytes(hex'090007020e00030204010102020102020b0001020301043b0101023b02010102090001020101043b033c013b023c023b01010102070001020101023b0b3c01010102060001020101023b043c023d013c023d013c013d013c013b01010102050001020101013b033c0a3d023c01010102040001020101013b013c013d013c033d0600023d013c01010102040001020101013b013c033d0900013d013c01010102040002020101023c023d0900023d01010102040001020101023c033d0900013d01010102050001020101023c033d0900013d01010102060001020101013c0200013d130001020101013d17000101013d160001020101'),
		bytes(hex'090007020f000202070102020c00010202010738020101020a000102010103380139013802390138013902380101010208000102010102380a3901380101010206000102010102380439013a0339013a0339010101020600010201010539073a03390101010204000102010102380239023a0700023a01390101010204000102010101380239023a0900023a0101010204000102010101380139013a0139013a0900023a01010102040001020101013a0139033a0900013a0101010206000102010101390100023a0b00010206000102010101390200013a130001020101013a160001020101013a160001020101'),
		bytes(hex'200009020e000102090101020c00010201010938010101020a0001020101023809390101010209000102010101380a39010101020900010201010b3901010102090001020101033908000101010209000102010102390900010101020b0002390900010101020b0002390900010101020b0002390900010101020c000139'),
		bytes(hex'390008020e000202080101020c0001020201083e010101020a0001020101023e093c01010102080001020101023e0a3c01010102080001020101013e073c0100033c01010102080001020101043c080001010102080001020101033c0900010101020b00023c0900010101020b00023c0900010101020c00013c2b0001020101013c150001020101023c14000202'),
		bytes(hex'2800010216000102010101020e0007020101013f010101020c0001020701013f0140010101020b00010201010a40010101020900010201010b400101010209000102010103400300024003000101010209000102010102400900010101020b0002400900010101020b0002400900010101020b0002400900010101020c000140'),
		bytes(hex'2800010216000102010101020e00070201010138010101020c000102070101380139010101020b00010201010a39010101020900010201010b390101010209000102010103390300023903000101010209000102010102390900010101020b0002390900010101020b0002390900010101020b0002390900010101020c000139'),
		bytes(hex'2100010205000102100001020101010203000102010101020e00010201010103010101020100010201010103010101020d00010201010203010101000101020301010102'),
		bytes(hex'0a0001020141010215000202014103021100010206410102100001410342014101430142014101020e00014104440142014101440142014101020e00014107440141100003410344024113000341'),
		bytes(hex'0b00010203010102110002020101014501010145010101020f00010204010145030101020d00010201010846010101020b00010201010346010201010146010201010246010102020800010201010b460301010209000346014709450101010209000246014702000745010101020a000246014715000146014716000146014716000247170001471700014717000148'),
		bytes(hex'080001020201010203000102010101020d000102010102490101030201010149010101020c00010201010149014602010102010101490146010101020c000102010103460101010001010246010101020e0001010246010102000146020001020d000249064601490e0001490246074a01460d0001490146014a0700014a0d000146014a16000146014a16000146014a16000146014a1700014a'),
		bytes(hex'2100010205000102100001020101010203000102010101020e00010201010102010101020100010201010102010101020d00010201010202010101000101020201010102'),
		bytes(hex'08000b020c00020203010302030102020b000102010103020101010201010302010101020b00010201010102014c01020101010001010102014c0102010101020b00010201000102014c0102010102000102014c0102010101020c000a02010101020b00020216000102170001021700010217000102'),
		bytes(hex'05000402020003020200040209000102020104020101040202010102090001020101014b0101020201010116010102020101011601010102090001020101014b0116020103160201021601010102090001020101024b091601010102090001020101024b011601030216010302160103011601010102090001020101034b081601010b000101'),
		bytes(hex'ff00'),
		bytes(hex'090004021300020203010302100001020101034d0301010211000201014e034d010101020d000102020101000101044e014d010101020b0001020101094e014d010101020900010201010b4e01010102090001020101034e0300024e030001010102090001020101024e0900010101020b00024e0900010101020b00024e0900010101020b00024e0900010101020c00014e'),
		bytes(hex'1d0003021400010203010102120001020101034f0101120001020101014f025003011000010202010b500b00010202000b500a000102020003501500025016000250160002501600025017000150'),
		bytes(hex'1d000302140001020301010212000102010103530101120001020101035303011000010202010b530b00010202000b530a000102020003531500025316000253160002531600025317000153'),
		bytes(hex'800001510152015101520151015203510e0003510152015101520151015203510d0003511500025116000251160002511600025117000151'),
		bytes(hex'63000254170002541700015401550b5401550800025402550b54015507000254'),
		bytes(hex'6300025a1700025a17000e5a0800105a0700025a')
	];

	string[] public hair_traits = [
		'Black Hat',
		'Bear Market Hat',
		'Cap Front',
		'Topo Hat',
		'Chill Green Hat',
		'Poop',
		'Froggy',
		'Eric',
		'Old But Still Cool',
		'Straight Bussin',
		'Clowin',
		'Success Perm',
		'Poppin',
		'Neetori',
		'Blonde',
		'Cool Guy',
		'Devil Horns',
		'Leaf',
		'Ducky',
		'Pipichu',
		'Catbot',
		'Easter',
		'King',
		'Bald',
		'90s',
		'3000',
		'Sun Bun',
		'Too Cool',
		'Blue Bandana',
		'Black Bandana'
	];

	uint8[] public hair_indices = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,23,24,25,26,27,28,29];

	///////////////////////////////////////
	// bodies
	bytes[] public bodies = [
		bytes(hex'ff006e000102010101561400010201010356010112000102010104560157015804560101010209000102010103560159015701580659010101020800010201010256025901570158035901580259010101020800010201010256015901570158075901010102080001020101025601590157015802590158045901010102080001020101025601590157015805590158015901010102080001020101025601590157015801590158055901010102'),
		bytes(hex'ff006e0001020101015b140001020101035b01011200010201010a5b01010102090001020101065b065c01010102080001020101025b025c045b045c01010102080001020101035b055c045b01010102080001020101045b085c01010102080001020101025b015c035b065c01010102080001020101025b035c035b045c01010102'),
		bytes(hex'ff006e0001020101015f140001020101035f01011200010201010a5f01010102090001020101035f096001010102080001020101025f0a6001010102080001020101025f0a6001010102080001020101025f0a6001010102080001020101025f0a6001010102080001020101025f0a6001010102'),
		bytes(hex'ff006d0001020101025d140001020201025d0101120002020101045d0101015d0101025d0c0001020101025d0101025d0101015d0101015d0d0001020101015d02000101055d120006011200065e1200015e0400015e1200015e0400015e'),
		bytes(hex'ff00eb000561120006612a00010304000103'),
		bytes(hex'ff00eb00050214000302'),
		bytes(hex'ff008800010101631600046301010100010102630e00026301000363010102630f0001630300016301010363130005641200066312000163040001631200016304000163'),
		bytes(hex'ff00890001651600046501010100010102650e00026501000365010102650f000165030001650101036513000366010301661200066512000165040001651200016504000165'),
		bytes(hex'ff00b800010316000303070001030e0002030100050201000103100006621200016204000162'),
		bytes(hex'ff008900016f1600096f0e00026f0100026f0370016f0f00016f02710100016f017001720170016f010001710e0002710100016f0370016f010001711000066f1200016f0400016f1200016f0400016f'),
		bytes(hex'ff008900016a1600046a0101016b0101026a0e00026a0100026a0101016c0101016a0f00016a0300016a0101016b0101016a13000268010102681200066912000169040001691200016904000169'),
		bytes(hex'ff00890001021600040201010167010102020e000202010002020101010a010101020f000102030001020101010a0101010213000268010102681200066912000169040001691200016904000169'),
		bytes(hex'ff00890001021600040201010100010102020e00020201000302010102020f00010203000502130005681200060212000102040001021200010204000102'),
		bytes(hex'ff00eb00056d1300046e'),
		bytes(hex'ff00ff00030006761200017604000176'),
		bytes(hex'ff00890001731600027301740173017401730174017301740e00027301000173017401730174017301740f000173030001730174017301740173130005731200067512000175040001751200017504000175'),
		bytes(hex'ff0089000177160009770e000277010006770f00017703000577130005781200067912000179040001791200017904000179'),
		bytes(hex'ff008900017e1600017e017f017e017f018001000180017f017e0e0002810100017f017e017f0180017f017e0f0001810300017f017e017f017e017f1300017e017f017e017f017e1200017e017f017e017f017e017f1200017e0400017e'),
		bytes(hex'ff008900017a1600097a0e00017b017a0100067a0f00017a0300057a1300057a1200017c047d017c1200017c0400017c'),
		bytes(hex'ff0089000182160009820e0002820100028201160182011601820f000182030001820316018213000582120006161200011604000116'),
		bytes(hex'ff00a3000583120003830184028313000183018401830184018313000583120006851200018504000185'),
		bytes(hex'ff00a300010203000102120006021300050213000502120006881200018804000188'),
		bytes(hex'ff0089000189160009890e00028901000389020101890f0001890300018902010289130005891200068a1200018a0400018a'),
		bytes(hex'ff0089000186160009860e00028601000286012b0186012b01860f00018603000286012b0286130005861200068712000187040001871200018704000187'),
		bytes(hex'ff008900018b1600098b0e00028b0100038b018c028b0f00018b0300018b038c018b1300058b1200068d1200018d0400018d1200018d0400018d'),
		bytes(hex'ff00a300019001000190010001901200019001000190010001901400019001000190010001901400019001000190140001900100019001000190'),
		bytes(hex'ff00ed00018e1600038e1500018e018f018e')
	];

	string[] public bodies_traits = [
		'Burrito',
		'Monk',
		'Comfy',
		'Hoodie',
		'Astro',
		'Underwear',
		'Ninja',
		'Jiu Jitsu Gi Blue',
		'Boxer',
		'Andy',
		'Myles',
		'Business Time',
		'Freddie',
		'Hot Speedo',
		'Swimmer',
		'Argyle',
		'Steve',
		'Romphim',
		'Meme Frog',
		'Go Bruins',
		'Staying Fit',
		'LA Summer',
		'Bicyclist',
		'Funktronic',
		'Ganja Shirt From College',
		'Net',
		'Leaf'
	];

	uint8[] public bodies_indices = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26];

	///////////////////////////////////////
	// heads
	bytes[] public heads = [
		bytes(hex'500009020e000102090101020c00010201010991010101020a00010201010b910101010209000102010103910881010101020900010201010291098101010102090001020101029109810101010208000102020102910981010101020700010201010281029109810101010207000102010103810191058101920481010101020700010202010c81010101020800020201010b81010101020a00010201010981010101020a00010201010181090101020a00010201010981010101020a00010201010281010102810192018101920181020101020a000102010103810101058101010181010101020a000102010102810101058101010181010101020b00010202010681020101020d0001020101018104010181010101020e00010201010181010102020101018101010102'),
		bytes(hex'500009020e000102090101020c00010201010993010101020a00010201010b930101010209000102010103930894010101020900010201010293099401010102090001020101029309940101010208000102020102930994010101020700010201010294029309940101010207000102010103940193059401950494010101020700010202010c94010101020800020201010b94010101020a00010201010994010101020a00010201010194090101020a00010201010994010101020a00010201010294010102940195019401950194020101020a000102010103940101059401010194010101020a000102010102940101059401010194010101020b00010202010694020101020d0001020101019404010194010101020e00010201010194010102020101019401010102'),
		bytes(hex'500009020e000102090101020c00010201010999010101020a00010201010b99010101020900010201010399089a010101020900010201010299099a010101020900010201010299099a010101020800010202010299099a01010102070001020101029a0299099a01010102070001020101039a0199059a0192049a010101020700010202010c9a010101020800020201010b9a010101020a0001020101099a010101020a00010201010136090101020a0001020101099a010101020a0001020101029a01010136059a020101020a0001020101039a01010136049a0101019a010101020a0001020101029a01010136049a0101019a010101020b0001020201069a020101020d0001020101019a0401019a010101020e0001020101019a010102020101019a01010102'),
		bytes(hex'500009020e000102090101020c0001020101099b010101020a00010201010b9b01010102090001020101039b089c01010102090001020101029b099c01010102090001020101029b099c01010102080001020201029b099c01010102070001020101029c029b099c01010102070001020101039c019b059c019d049c010101020700010202010c9c010101020800020201010b9c010101020a0001020101099c010101020a0001020101019e090101020a0001020101099e010101020a0001020101029e0101029e019f019e019f019e020101020a0001020101039e0101059e010101a0010101020a0001020101029e0101059e010101a0010101020b0001020201069e020101020d0001020101019e0401019e010101020e0001020101019e010102020101019e01010102'),
		bytes(hex'500009020e000102090101020c00010201010996010101020a00010201010b960101010209000102010103960897010101020900010201010296099701010102090001020101029609970101010208000102020102960997010101020700010201010297029609970101010207000102010103970196059701920497010101020700010202010c97010101020800020201010b97010101020a00010201010997010101020a00010201010198090101020a00010201010998010101020a00010201010298010102980192019801920198020101020a000102010103980101059801010198010101020a000102010102980101059801010198010101020b00010202010698020101020d0001020101019804010198010101020e00010201010198010102020101019801010102'),
		bytes(hex'500009020e000102090101020c00010201010902010101020a00010201010b02010101020900010201010b02010101020900010201010b02010101020900010201010b02010101020800010202010b02010101020700010201010d0201010102070001020101090201920402010101020700010202010c02010101020800020201010b02010101020a00010201010902010101020a00010201010102090101020a00010201010902010101020a00010201010202010102020192010201920102020101020a000102010103020101050201010102010101020a000102010102020101050201010102010101020b00010202010602020101020d0001020101010204010102010101020e00010201010102010102020101010201010102'),
		bytes(hex'500009020e000102090101020c000102010109a1010101020a00010201010ba10101010209000102010103a108a20101010209000102010102a109a20101010209000102010102a109a20101010209000102010102a109a20101010209000102010102a109a20101010209000102010102a105a2019204a20101010208000102010102a10aa20101010209000102010101a10aa2010101020a000102010109a2010101020a000102010101a3090101020a000102010108a201a3010101020a000102010102a2010101a305a2020101020a000102010103a2010101a304a2010101a2010101020a000102010102a2010101a304a2010101a2010101020b000102020106a2020101020d000102010101a2040101a2010101020e000102010101a201010202010101a201010102'),
		bytes(hex'500009020e000102090101020c000102010109a4010101020a00010201010ba40101010209000102010101a505a601a701a801a901a601aa0101010209000102010101ab01ac01ad01ac01ad01ac01ad01ac03ad0101010209000102010101ae01af01b001b102b001b201ae01b001ae01b00101010208000102020102b301b402b301b401b501b401b501b301b40101010207000102010101b601b701b601b801b901b701ba02b604b90101010207000102010101bb01bc01bd01be01bd02bb03bd01bb01be01bc01bd0101010207000102020102bf01c001c101c202c002bf01c001bf01c00101010208000202010101c301c401c501c401c601c402c702c801c3010101020a000102010101c901ca01c902cb01cc01cb01c901cb010101020a000102010101cd090101020a000102010101ce01cf02ce02d001d101d001d2010101020a000102010101d301d4010102d404d3020101020a000102010101d501d601d7010102d601d702d5010101d6010101020a000102010101d801d9010101d804d9010101d9010101020b000102020106da020101020d000102010101da040101da010101020e000102010101da01010202010101da01010102'),
		bytes(hex'500009020e000102090101020c000102010109dd010101020a000102010102dd070202dd0101010209000102010101dd010209dd0101010209000102010101dd010209dd0101010209000102010101dd010209dd010101020800010202010bdd0101010207000102010102020bdd0101010207000102010103dd010205dd019203dd0102010101020700010202010cdd010101020800020201010bdd010101020a000102010109dd010101020a000102010101de090101020a000102010101dd010207dd010101020a000102010101dd0102010102dd019f01dd019f01dd020101020a000102010102dd0102010105dd01010102010101020a000102010102dd010101dd020202dd010101dd010101020b000102020106dd020101020d000102010101dd040101dd010101020e000102010101dd01010202010101dd01010102')
	];

	string[] public heads_traits = [
		'Human',
		'Tengu',
		'Meme Frog',
		'Orc',
		'Night Elf',
		'Spoopy',
		'AI Bot',
		'Prismatic',
		'Golden Boy'
	];

	uint8[] public heads_indices = [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,2,2,2,3,3,3,4,4,5,6,6,7,8];

	///////////////////////////////////////
	// misc
	bytes[] public misc = [
		bytes(hex'500009020e000102090101020c000102010109db010101020a000102010103db08dc0101010209000102010102db09dc0101010209000102010102db09dc0101010209000102010102db09dc0101010208000102020102db09dc0101010207000102010104db09dc0101010207000102010103db03dc029203dc029201dc010101020700010202010cdc010101020800020201010bdc010101020a000102010109dc010101020a000102010101db090101020a000102010104db05dc010101020a000102010102db010106dc0201010208000302010101db02dc010105dc010101dc010101020600010202010202010102dc010105dc010101dc0101010205000102010102db020101db020106dc0201010207000102010104db08dc0101010209000102010103db07dc01010102'),
		bytes(hex'500009020e000102090101020c0001020b0101020a0001020d0101020900010205010302050101020900010204010502040101020900010203010202030102020301010208000102040102020301020203010102070001020a010202030101020700010209010202050101020700010207010202060101020800020205010202060101020a0001020b0101020a00010205010202040101020a00010206010202030101020a0001020c0101020a0001020d0101020a0001020c0101020b0001020a0101020d000102080101020e0001020301020203010102')
	];

	string[] public misc_traits = [
		'Ghost',
		'Mystery'
	];
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"SteveAokiNotAllowed","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"EddieDied","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"EddieRerolled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"EddieSacrificed","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":"MAX_HP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOKEN_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STEVE_AOKI_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"bgPaletteColors","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"bodies","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"bodies_indices","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"bodies_traits","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burnSacrifice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractGhost","outputs":[{"internalType":"contract CryptoDeddies","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"eyes","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"eyes_indices","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"eyes_traits","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"fullPalettes","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"seed","type":"uint256"}],"name":"getGhostSVG","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getHP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"seed","type":"uint256"}],"name":"getSVG","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"seed","type":"uint256"}],"name":"getTraitsMetadata","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"seed","type":"uint256"}],"name":"getUnrevealedSVG","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"hair","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"hair_indices","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"hair_traits","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"heads","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"heads_indices","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"heads_traits","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"hp","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":[],"name":"maxMintsPerPersonPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintsPerPersonWhitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numEddiesToMint","type":"uint256"}],"name":"mintEddies","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"numEddiesToMint","type":"uint256"}],"name":"mintEddiesMerkle","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintStatus","outputs":[{"internalType":"enum CryptoEddies.MintStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"misc","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"misc_traits","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"mouths","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"mouths_indices","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"mouths_traits","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"numberMinted","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"rerollEddie","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"rerollEddieMany","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"numEddiesToMint","type":"uint256"}],"name":"reserveEddies","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256","name":"numEddiesToMint","type":"uint256"}],"name":"reserveEddiesToManyFolk","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"hpRewarded","type":"uint256"}],"name":"rewardHP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"uint256","name":"hpRewarded","type":"uint256"}],"name":"rewardManyHP","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":"uint256","name":"","type":"uint256"}],"name":"seeds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setContractGhost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintsPublic","type":"uint256"},{"internalType":"uint256","name":"_maxMintsWhitelist","type":"uint256"}],"name":"setMaxMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"pricingData","type":"uint256[]"}],"name":"setPricing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_status","type":"uint256"}],"name":"setPublicMintStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_revealed","type":"bool"}],"name":"setRevealed","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":"tier0_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tier0_supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tier1_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tier1_supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tier2_price","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","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"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"},{"internalType":"bytes32","name":"_leaf","type":"bytes32"}],"name":"verifyMerkle","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"},{"internalType":"address","name":"from","type":"address"}],"name":"verifyMerkleAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6006611c608181526533331818333360d11b611c80526080908152611ca08281526503030303030360d41b611cc05260a052611ce08281526533333333333360d11b611d005260c052611d208281526506666303030360d41b611d405260e052611d608281526503030666630360d41b611d805261010052611da08281526518181818333360d11b611dc05261012052611de08281526536353635366560d01b611e005261014052611e20828152650c8c4c8c4c8d60d21b611e405261016052611e608281526506668666866760d31b611e805261018052611ea08281526532313231323360d01b611ec0526101a052611ee08281526506638336130360d41b611f00526101c052611f208281526506666663230360d41b611f40526101e052611f608281526506666353930360d41b611f805261020052611fa08281526518181c9b333360d11b611fc05261022052611fe0828152651932981bb31960d11b61200052610240526120208281526531663166323160d01b61204052610260526120608281526538353861633760d01b61208052610280526120a08281526565333165323760d01b6120c0526102a0526120e08281526537653030646560d01b612100526102c0526121208281526533191818333360d11b612140526102e0526121608281526532393239323960d01b61218052610300526121a082815265331a999b1c3360d11b6121c052610320526121e08281526506666666630360d41b61220052610340526122208281526533331c191c1960d11b6122405261036052612260828152651a9c9cb1b33360d11b61228052610380526122a0828152650c464ca62cc760d31b6122c0526103a0526122e08281526533331c9b1c9b60d11b612300526103c0526123208281526566663437343760d01b612340526103e0526123608281526539313931393160d01b61238052610400526123a0828152650c470c470c4760d31b6123c052610420526123e08281526506666356530360d41b61240052610440526124208281526566663939356560d01b61244052610460526124608281526506666333330360d41b61248052610480526124a08281526564333230323760d01b6124c0526104a0526124e0828152653319b298981b60d11b612500526104c05261252082815265190d0d984d9960d21b612540526104e05261256082815265189b993319b160d11b61258052610500526125a08281526531363335343560d01b6125c052610520526125e082815265331b99b119b160d11b61260052610540526126208281526532633738393960d01b61264052610560526126608281526533666162643960d01b61268052610580526126a08281526532653831613560d01b6126c0526105a0526126e08281526519331c19309b60d11b612700526105c0526127208281526534346230646560d01b612740526105e0526127608281526532333738343360d01b61278052610600526127a0828152651a1bb09b1b3160d11b6127c052610620526127e08281526506633663730360d41b61280052610640526128208281526562613630343760d01b61284052610660526128608281526506138353734360d41b61288052610680526128a08281526535393266323360d01b6128c0526106a0526128e08281526534346333633960d01b612900526106c052612920828152650cac8ca606c760d31b612940526106e05261296082815265333332b21a3360d11b61298052610700526129a0828152650d8e188e0d1960d21b6129c052610720526129e0828152651a9c9cb29a1960d11b612a005261074052612a20828152650c0cce0d8c0d60d21b612a405261076052612a608281526539633930383360d01b612a805261078052612aa0828152651bb09b989b1b60d11b612ac0526107a052612ae08281526506c726c626a760d31b612b00526107c052612b20828152651bb23231b33360d11b612b40526107e052612b608281526518183131333360d11b612b805261080052612ba0828152650c0c0e58990d60d21b612bc05261082052612be0828152651ab2b21a333360d11b612c005261084052612c2082815265195919184e5960d21b612c405261086052612c608281526506564613230360d41b612c805261088052612ca0828152650c0c0d198c8d60d21b612cc0526108a052612ce08281526506060c6686a760d31b612d00526108c052612d20828152651818309a1a3160d11b612d40526108e052612d608281526530306164346560d01b612d805261090052612da08281526506666393530360d41b612dc05261092052612de082815265331bb333183360d11b612e005261094052612e208281526565616630343160d01b612e405261096052612e608281526518d9990d8c1960d21b612e805261098052612ea08281526566616635616160d01b612ec0526109a052612ee08281526563656434333960d01b612f00526109c052612f208281526562356235333560d01b612f40526109e052612f608281526566666133613360d01b612f8052610a0052612fa08281526530999bb11a1b60d11b612fc052610a2052612fe08281526503936363933360d41b61300052610a4052613020828152651a9b9cb0b33360d11b61304052610a60526130608281526519189bb0b33360d11b61308052610a80526130a08281526503465666630360d41b6130c052610aa0526130e08281526506666666330360d41b61310052610ac0526131208281526533333333191b60d11b61314052610ae0526131608281526530303764666360d01b61318052610b00526131a08281526518181b1bb1b360d11b6131c052610b20526131e08281526566636361393760d01b61320052610b40526132208281526538613633336360d01b61324052610b60526132608281526531b11c321a9960d11b61328052610b80526132a0828152653331b318319b60d11b6132c052610ba0526132e082815265189c183218b360d11b61330052610bc0526133208281526506131363031360d41b61334052610be0526133608281526565356139323560d01b61338052610c00526133a08281526533613361336160d01b6133c052610c20526133e082815265064606a6ec2760d31b61340052610c40526134208281526562383233323360d01b61344052610c60526134608281526506666333033360d41b61348052610c80526134a08281526533633363336360d01b6134c052610ca0526134e08281526530303034666160d01b61350052610cc0526135208281526519311931193160d11b61354052610ce0526135608281526566663030303960d01b61358052610d00526135a08281526519989a98321b60d11b6135c052610d20526135e08281526537633534316160d01b61360052610d40526136208281526506261326230360d41b61364052610d60526136608281526562666237333160d01b61368052610d80526136a08281526503530353035360d41b6136c052610da0526136e0828152650dcc8e4c4d0d60d21b61370052610dc0526137208281526539616136633160d01b61374052610de0526137608281526519b3199a9a9b60d11b61378052610e00526137a0828152650c864686cca760d31b6137c052610e20526137e082815265329b9a32333360d11b61380052610e40526138208281526530303937346360d01b61384052610e60526138608281526539656334356360d01b61388052610e80526138a08281526532306434376160d01b6138c052610ea0526138e08281526565646564363160d01b61390052610ec0526139208281526537383537336560d01b61394052610ee05261396082815265188e0e4c4dcd60d21b61398052610f00526139a08281526519311a1b9c3360d11b6139c052610f20526139e0828152651818191a333360d11b613a0052610f4052613a208281526533363362336360d01b613a4052610f6052613a60828152650c8c0c8ccc8d60d21b613a8052610f8052613aa082815265199a9c1bb0b160d11b613ac052610fa052613ae08281526518181a1a333360d11b613b0052610fc052613b20828152650c0c4d0d599960d21b613b4052610fe052613b6082815265311a1b1999b160d11b613b805261100052613ba082815265311a9b1a19b160d11b613bc05261102052613be0828152651a183119329b60d11b613c005261104052613c208281526538336336653560d01b613c405261106052613c608281526518989ab19a9960d11b613c805261108052613ca08281526566666363393960d01b613cc0526110a052613ce08281526506c68c660ca760d31b613d00526110c052613d2082815265066c2706464760d31b613d40526110e052613d60828152653331b21a981960d11b613d805261110052613da0828152650626c6ac66a760d31b613dc05261112052613de0828152650cc6ec66664760d31b613e005261114052613e20828152651c309899189960d11b613e405261116052613e608281526530303837383760d01b613e805261118052613ea082815265064c666c2c2760d31b613ec0526111a052613ee08281526538613363336360d01b613f00526111c052613f2082815265194e19990d1960d21b613f40526111e052613f60828152650686672726a760d31b613f805261120052613fa08281526535653833656360d01b613fc05261122052613fe08281526503030613830360d41b61400052611240526140208281526503030363630360d41b61404052611260526140608281526503430343034360d41b61408052611280526140a08281526506335623261360d41b6140c0526112a0526140e08281526566643863363960d01b614100526112c0526141208281526566376538336560d01b614140526112e0526141608281526566373561336560d01b61418052611300526141a08281526566636366303360d01b6141c052611320526141e08281526536386434636360d01b61420052611340526142208281526562653861646560d01b61424052611360526142608281526562373738646560d01b61428052611380526142a0828152651a9b1c1b9a1b60d11b6142c0526113a0526142e08281526503637616235360d41b614300526113c0526143208281526566636532613960d01b614340526113e0526143608281526536656462623760d01b61438052611400526143a0828152651998d88cce5960d21b6143c052611420526143e08281526537396462626160d01b614400526114405261442082815265319b9a1c199960d11b61444052611460526144608281526534306366626360d01b61448052611480526144a0828152651bb2321c333360d11b6144c0526114a0526144e0828152653231331a333360d11b614500526114c052614520828152651cb1b298b33360d11b614540526114e0526145608281526566626464393760d01b61458052611500526145a08281526566396465396160d01b6145c052611520526145e082815265331cb2329cb160d11b61460052611540526146208281526566616465396160d01b614640526115605261466082815265331cb2331cb160d11b61468052611580526146a0828152653330b2331cb160d11b6146c0526115a0526146e0828152653330b2329cb160d11b614700526115c0526147208281526506638646661360d41b614740526115e0526147608281526506638653061360d41b61478052611600526147a08281526506637653061360d41b6147c052611620526147e082815265331ab298b09b60d11b614800526116405261482082815265331a3299309b60d11b614840526116605261486082815265331ab299309b60d11b61488052611680526148a08281526566346532613760d01b6148c0526116a0526148e08281526566356532613760d01b614900526116c05261492082815265198c994d185960d21b614940526116e05261496082815265198cd94d185960d21b61498052611700526149a082815265198c994cd85960d21b6149c052611720526149e08281526565666536623560d01b614a005261174052614a20828152651959994d588d60d21b614a405261176052614a608281526566306535623560d01b614a805261178052614aa0828152651959994d988d60d21b614ac0526117a052614ae08281526565666535623560d01b614b00526117c052614b208281526565636538626360d01b614b40526117e052614b60828152651958d94e589960d21b614b805261180052614ba0828152651958d94e189960d21b614bc05261182052614be08281526565636539626360d01b614c005261184052614c208281526565396562633560d01b614c405261186052614c608281526565386562633560d01b614c805261188052614ca08281526565396561633560d01b614cc0526118a052614ce082815265194e595898cd60d21b614d00526118c052614d2082815265194d995918d960d21b614d40526118e052614d6082815265194d595958d960d21b614d805261190052614da08281526565356565636560d01b614dc05261192052614de082815265194d995958d960d21b614e005261194052614e2082815265194d595918d960d21b614e405261196052614e608281526565356564636560d01b614e805261198052614ea08281526565326630643560d01b614ec0526119a052614ee082815265329932b3321b60d11b614f00526119c052614f208281526532993318321b60d11b614f40526119e052614f608281526565326566643560d01b614f8052611a0052614fa08281526564666632646560d01b614fc052611a2052614fe08281526564636634653560d01b61500052611a4052615020828152651918d98d194d60d21b61504052611a60526150608281526564636635653560d01b61508052611a80526150a08281526564626634653560d01b6150c052611aa0526150e0828152651918d98d594d60d21b61510052611ac0526151208281526564396637656360d01b61514052611ae0526151608281526564396636656360d01b61518052611b00526151a082815265321bb31cb31960d11b6151c052611b20526151e082815265321bb31c331960d11b61520052611b405261522082815265321b331c331960d11b61524052611b60526152608281526564346639663760d01b61528052611b80526152a08281526564346661663760d01b6152c052611ba0526152e0828152653219b331333160d11b61530052611bc052615320828152650c46ec66cca760d31b61534052611be05261536082815265329ab2b2333360d11b61538052611c00526153a0828152650ccc2ca7068760d31b6153c052611c20526154206040526153e0918252650ccc2ca6468760d31b61540052611c4091909152620015009060009060df62003e85565b506040805161046081018252610400810182815290918291906200c8be61042084013981526020016040518060800160405280605081526020016200a6b86050913981526020016040518060600160405280602c81526020016200b468602c913981526020016040518060600160405280604081526020016200c2886040913981526020016040518060600160405280603481526020016200c3326034913981526020016040518060600160405280603481526020016200a76e6034913981526020016040518060400160405280601881526020017fe30001010400010113000101020001011300010104000101000000000000000081525081526020016040518060400160405280601281526020017fdf000b011000030102000102010111000301000000000000000000000000000081525081526020016040518060600160405280602481526020016200a5246024913981526020016040518060600160405280602481526020016200adf66024913981526020016040518060600160405280602881526020016200adce6028913981526020016040518060400160405280601481526020017fe20004010100030110000102020102000102020100000000000000000000000081525081526020016040518060400160405280601881526020017fe30001010400010111000101010001010200010101000101000000000000000081525081526020016040518060400160405280601481526020017fe20003010200030111000102010102000102010100000000000000000000000081525081526020016040518060800160405280606081526020016200bc066060913981526020016040518060a00160405280607c81526020016200aadc607c913981526020016040518060800160405280605c81526020016200acf4605c913981526020016040518060400160405280602081526020017fe20003140200031410000114011501140200011401150114100003140200031481525081526020016040518060400160405280601c81526020017fe20003020200030210000202010102000101020210000302020003020000000081525081526020016040518060400160405280602081526020017fe20003020200030210000102010101020200010201010102100003020200030281525081526020016040518060400160405280602081526020017fe30003010100030111000102010102000102010112000102010102000102010181525081526020016040518060600160405280602c81526020016200c592602c913981526020016040518060400160405280602081526020017fe20003010200030111000102010102000102010112000102010102000102010181525081526020016040518060600160405280602881526020016200accc6028913981526020016040518060600160405280604081526020016200b57460409139815260408051808201825260208082527fe2000301020003011100010201010200010201011200010101020200010101028282015280840191909152815180830183528181527fe3000301010003011100011a0101011a0100011a0101011a1100031a0100031a818301528284015281518083018352601c81527fe20003010200030111000102010102000102010112000202020002020000000081830152606084015281518083018352601a8082527fe900010110000401010002010102110001020101030001010102000000000000828401526080850191909152825180840184529081527fe2000201170001020201010003011100010201010300010101020000000000008183015260a0840152815180830183528181527fe2000201050001011100010202010100020101021100010201010300010101028183015260c08401528151808301909252601482527fe2000301020003012900010101020300010101020000000000000000000000008282015260e09092015262001aad9160019162003ee9565b506040805161044081018252600f61040082018181526e5669727475616c205265616c69747960881b61042084015282528251808401845260078082526629b1b7baba32b960c91b602083810191909152808501929092528451808601865281815266476c617373657360c81b818401528486015284518086018652600a80825269334420476c617373657360b01b82850152606086019190915285518087018752601081526f42696720426c756520476c617373657360801b818501526080860152855180870187529384526e4269672052656420476c617373657360881b8484015260a08501939093528451808601865260048082526314da1d5d60e21b8285015260c08601919091528551808701875260068082526550697261746560d01b8286015260e0870191909152865180880188526011815270119d5d1d5c9948151bdbc8109c9a59da1d607a1b81860152610100870152865180880188526008808252675374756e6e65727360c01b828701526101208801919091528751808901895260038082526205249560ec1b828801526101408901919091528851808a018a5293845263536d756760e01b848701526101608801939093528751808901895260098082526813dd995c9a9bde595960ba1b828801526101808901919091528851808a018a529384526253757360e81b848701526101a08801939093528751808901895283815268476f6f64204661636560b81b818701526101c08801528751808901895281815267536164204661636560c01b818701526101e088015287518089018952868152694861707079204e6f746560b01b81870152610200880152875180890189528381526810dbdc9c9d5c1d195960ba1b8187015261022088015287518089018952600581526444697a7a7960d81b8187015261024088015287518089018952600d81526c4c6f77204b65792053686f6f6b60981b8187015261026088015287518089018952868152694f7074696d697374696360b01b81870152610280880152875180890189529586526913585e1a5b585b1a5cdd60b21b868601526102a0870195909552865180880188529485526715d85d18da199d5b60c21b858501526102c0860194909452855180870187528281526615dbdc9c9a595960ca1b818501526102e086015285518087018752600c81526b2a32b936b4b730ba37b7b7b960a11b81850152610300860152855180870187529384526553656e70616960d01b8484015261032085019390935284518086018652600e81526d53746f6e65792042616c6f6e657960901b81840152610340850152845180860186528181526614dade5dd85c9960ca1b8184015261036085015284518086018652600b8082526a14985a5cd959081319599d60aa1b82850152610380860191909152855180870187529081526a14985a5cd948149a59da1d60aa1b818401526103a0850152845180860186529283526855204d61642042726f60b81b838301526103c08401929092528351808501909452908352664e61756768747960c81b838201526103e082019290925262001f2b916002919062003f49565b50604080516104008101825260008152600160208083019190915260029282019290925260036060820181905260046080830152600560a0830152600660c0830152600760e083015260086101008301526009610120830152600a610140830152600b610160830152600c610180830152600d6101a0830152600e6101c0830152600f6101e08301526010610200830152601161022083015260126102408301526013610260830152601461028083015260156102a083015260166102c083015260176102e083015260186103008301526019610320830152601a610340830152601b610360830152601c610380830152601d6103a0830152601e6103c0830152601f6103e0830152620020429290919062003f9b565b50604051806101c001604052806040518060400160405280600a81526020017fff0044000101180003010000000000000000000000000000000000000000000081525081526020016040518060400160405280601681526020017fff0045000101010001010100010114000101010001010000000000000000000081525081526020016040518060400160405280600e81526020017fff0045000101030001011400030100000000000000000000000000000000000081525081526020016040518060400160405280601281526020017fff004400010118000101021b010115000203000000000000000000000000000081525081526020016040518060600160405280604081526020016200c4926040913981526020016040518060600160405280604081526020016200c5be6040913981526020016040518060600160405280602a81526020016200a7a2602a913981526020016040518060400160405280600681526020017fff005c000201000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600e81526020017fff004300010f0600010f1100060f00000000000000000000000000000000000081525081526020016040518060400160405280600e81526020017fff005c000201010201010102020100000000000000000000000000000000000081525081526020016040518060400160405280600e81526020017fff0046000301150001010100010100000000000000000000000000000000000081525081526020016040518060400160405280600e81526020017fff0046000301140001010300010100000000000000000000000000000000000081525081526020016040518060400160405280600681526020017fff005e000301000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017fff005c0006010000000000000000000000000000000000000000000000000000815250815250600490600e6200234592919062004044565b50604080516102008101825260056101c0820181815264536d69726b60d81b6101e084015282528251808401845260038082526255777560e81b602083810191909152808501929092528451808601865283815264536d696c6560d81b8184015284860152845180860186528381526453696c6c7960d81b81840152606085015284518086018652600c81526b477265792042616e64616e6160a01b81840152608085015284518086018652600b8082526a5265642042616e64616e6160a81b8285015260a0860191909152855180870187526007815266536d6f6b696e6760c81b8185015260c086015285518087018752600480825263486d6d6d60e01b8286015260e087019190915286518088018852601081526f42696720486f6e6b696e20536d696c6560801b8186015261010087015286518088018852818152634275636b60e01b81860152610120870152865180880188526009815268135a58dc9bc814d85960ba1b81860152610140870152865180880188529283526214d85960ea1b838501526101608601929092528551808701875291825263084d8c2d60e31b82840152610180850191909152845180860190955284526a155b9cd85d1a5cd99a595960aa1b908401526101a0820192909252620025289190600e62004096565b50604080516101c08101825260008152600160208201526002918101919091526003606082015260046080820152600560a0820152600660c08201819052600760e083015260086101008301526009610120830152600a610140830152600b610160830152600c610180830152600d6101a0830152620025aa91600e62003f9b565b5060408051610460810190915260666103c0820181815282916200a7086103e084013981526020016040518060a00160405280606a81526020016200c2c8606a913981526020016040518060800160405280605e81526020016200b5b4605e913981526020016040518060a00160405280606681526020016200b3ca6066913981526020016040518060a00160405280606681526020016200b04a6066913981526020016040518060a00160405280606881526020016200b92e6068913981526020016040518060c00160405280609c81526020016200b4d8609c913981526020016040518060600160405280603881526020016200bfde6038913981526020016040518060a00160405280607e81526020016200bf60607e913981526020016040518060e0016040528060a481526020016200bebc60a49139815260200160405180610120016040528060f681526020016200c19260f69139815260200160405180610120016040528060ee81526020016200b23060ee913981526020016040518060a00160405280607e81526020016200ad50607e913981526020016040518060c00160405280608e81526020016200bc66608e913981526020016040518060a00160405280608081526020016200ae1a6080913981526020016040518060a00160405280608081526020016200b9966080913981526020016040518060800160405280604481526020016200b6126044913981526020016040518060800160405280604e81526020016200b37c604e913981526020016040518060c00160405280609081526020016200ab586090913981526020016040518060c00160405280609a81526020016200bdf0609a913981526020016040518060800160405280604481526020016200b4946044913981526020016040518060a00160405280607681526020016200aa666076913981526020016040518060c00160405280608681526020016200c4d26086913981526020016040518060400160405280600281526020017fff0000000000000000000000000000000000000000000000000000000000000081525081526020016040518060c00160405280609281526020016200ac3a6092913981526020016040518060800160405280604e81526020016200bda2604e913981526020016040518060800160405280604c81526020016200c8fe604c913981526020016040518060600160405280603881526020016200b4306038913981526020016040518060400160405280602081526020017f63000254170002541700015401550b5401550800025402550b5401550700025481525081526020016040518060400160405280601481526020017f6300025a1700025a17000e5a0800105a0700025a000000000000000000000000815250815250600790601e620029bb929190620040e8565b50604080516104008101825260096103c0820181815268109b1858dac812185d60ba1b6103e0840152825282518084018452600f8082526e1099585c8813585c9ad95d0812185d608a1b60208381019190915280850192909252845180860186529283526810d85c08119c9bdb9d60ba1b838301528385019290925283518085018552600880825267151bdc1bc812185d60c21b828401526060850191909152845180860186528381526e10da1a5b1b0811dc99595b8812185d608a1b818401526080850152845180860186526004808252630506f6f760e41b8285015260a08601919091528551808701875260068082526546726f67677960d01b8286015260c087019190915286518088018852828152634572696360e01b8186015260e087015286518088018852601281527113db1908109d5d0814dd1a5b1b0810dbdbdb60721b81860152610100870152865180880188529485526e29ba3930b4b3b43a10213ab9b9b4b760891b85850152610120860194909452855180870187528481526521b637bbb4b760d11b8185015261014086015285518087018752600c8082526b53756363657373205065726d60a01b8286015261016087019190915286518088018852858152652837b83834b760d11b81860152610180870152865180880188526007808252664e6565746f726960c81b828701526101a08801919091528751808901895286815265426c6f6e646560d01b818701526101c08801528751808901895284815267436f6f6c2047757960c01b818701526101e088015287518089018952600b81526a446576696c20486f726e7360a81b8187015261020088015287518089018952838152632632b0b360e11b818701526102208801528751808901895260058152644475636b7960d81b8187015261024088015287518089018952818152665069706963687560c81b81870152610260880152875180890189528681526510d85d189bdd60d21b81870152610280880152875180890189529586526522b0b9ba32b960d11b868601526102a087019590955286518088018852828152634b696e6760e01b818601526102c0870152865180880188528281526310985b1960e21b818601526102e087015286518088018852600381526239307360e81b8186015261030087015286518088018852918252630333030360e41b82850152610320860191909152855180870187529384526629bab710213ab760c91b848401526103408501939093528451808601865281815267151bdbc810dbdbdb60c21b81840152610360850152845180860186529283526b426c75652042616e64616e6160a01b838301526103808401929092528351808501909452600d84526c426c61636b2042616e64616e6160981b908401526103a082019290925262002dca9190601e6200413a565b50604080516103e08101825260008152600160208201526002918101919091526003606082015260046080820152600560a0820152600660c0820152600760e0820152600861010082015260096101208201819052600a610140830152600b610160830152600c610180830152600d6101a0830152600e6101c0830152600f6101e08301526010610200830152601161022083015260126102408301526013610260830152601461028083015260156102a083015260166102c083015260176102e0830181905261030083015260186103208301526019610340830152601a610360830152601b610380830152601c6103a0830152601d6103c083015262002ed491601f62003f9b565b5060408051610440810190915260ae610360820181815282916200bcf461038084013981526020016040518060c00160405280608281526020016200b7806082913981526020016040518060a00160405280607481526020016200c84a6074913981526020016040518060800160405280605e81526020016200c630605e913981526020016040518060400160405280601281526020017fff00eb000561120006612a00010304000103000000000000000000000000000081525081526020016040518060400160405280600a81526020017fff00eb000502140003020000000000000000000000000000000000000000000081525081526020016040518060800160405280604481526020016200c94a6044913981526020016040518060800160405280604681526020016200ae9a6046913981526020016040518060600160405280602681526020016200ba166026913981526020016040518060800160405280605081526020016200ba3c6050913981526020016040518060800160405280604e81526020016200c016604e913981526020016040518060800160405280604e81526020016200bbb8604e913981526020016040518060600160405280603e81526020016200aa28603e913981526020016040518060400160405280600a81526020017fff00eb00056d1300046e0000000000000000000000000000000000000000000081525081526020016040518060400160405280601081526020017fff00ff000300067612000176040001760000000000000000000000000000000081525081526020016040518060800160405280605281526020016200abe86052913981526020016040518060600160405280603281526020016200be8a6032913981526020016040518060800160405280605e81526020016200b31e605e913981526020016040518060600160405280603081526020016200a6886030913981526020016040518060600160405280603681526020016200a91a6036913981526020016040518060600160405280602a81526020016200b0b0602a913981526020016040518060600160405280602281526020016200a8f86022913981526020016040518060600160405280603281526020016200c5fe6032913981526020016040518060600160405280603e81526020016200b00c603e913981526020016040518060600160405280603a81526020016200c558603a913981526020016040518060600160405280603a81526020016200b1f6603a913981526020016040518060400160405280601281526020017fff00ed00018e1600038e1500018e018f018e0000000000000000000000000000815250815250600a90601b620032be9291906200418c565b50604080516103a08101825260076103608201818152664275727269746f60c81b6103808401528252825180840184526004808252634d6f6e6b60e01b6020838101919091528085019290925284518086018652600580825264436f6d667960d81b828501528587019190915285518087018752600680825265486f6f64696560d01b8286015260608701919091528651808801885282815264417374726f60d81b818601526080870152865180880188526009808252682ab73232b93bb2b0b960b91b8287015260a088019190915287518089018952838152644e696e6a6160d81b8187015260c08801528751808901895260118152704a6975204a6974737520476920426c756560781b8187015260e088015287518089018952838152642137bc32b960d91b818701526101008801528751808901895284815263416e647960e01b8187015261012088015287518089018952838152644d796c657360d81b8187015261014088015287518089018952600d81526c427573696e6573732054696d6560981b8187015261016088015287518089018952868152664672656464696560c81b8187015261018088015287518089018952600a80825269486f742053706565646f60b01b828801526101a08901919091528851808a018a528781526629bbb4b6b6b2b960c91b818801526101c08901528851808a018a5292835265417267796c6560d01b838701526101e08801929092528751808901895292835264537465766560d81b838601526102008701929092528651808801885294855266526f6d7068696d60c81b8585015261022086019490945285518087018752818152684d656d652046726f6760b81b818501526102408601528551808701875281815268476f20427275696e7360b81b8185015261026086015285518087018752600b8082526a14dd185e5a5b99c8119a5d60aa1b82860152610280870191909152865180880188528281526826209029bab6b6b2b960b91b818601526102a08701528651808801885291825268109a58de58db1a5cdd60ba1b828501526102c0860191909152855180870187529384526946756e6b74726f6e696360b01b848401526102e085019390935284518086018652601881527f47616e6a612053686972742046726f6d20436f6c6c65676500000000000000008184015261030085015284518086018652600381526213995d60ea1b8184015261032085015284518086019095528452632632b0b360e11b908401526103408201929092526200366a9190601b620041de565b50604080516103608101825260008152600160208201526002918101919091526003606082015260046080820152600560a0820152600660c0820152600760e082015260086101008201526009610120820152600a610140820152600b610160820152600c6101808201819052600d6101a0830152600e6101c0830152600f6101e08301526010610200830152601161022083015260126102408301526013610260830152601461028083015260156102a083015260166102c083015260176102e083015260186103008301526019610320830152601a6103408301526200375491601b62003f9b565b5060408051610280810190915261012c610120820181815282916200aee0610140840139815260200160405180610160016040528061012c81526020016200a7cc61012c9139815260200160405180610160016040528061012a81526020016200b65661012a9139815260200160405180610160016040528061012c81526020016200b80261012c9139815260200160405180610160016040528061012c81526020016200ba8c61012c9139815260200160405180610140016040528061011c81526020016200b0da61011c9139815260200160405180610160016040528061012c81526020016200c36661012c91398152602001604051806101e001604052806101bc81526020016200c68e6101bc9139815260200160405180610160016040528061014081526020016200a548610140913990526200389a90600d90600962004230565b5060408051610160810182526005610120820181815264243ab6b0b760d91b6101408401528252825180840184529081526454656e677560d81b60208281019190915280830191909152825180840184526009808252684d656d652046726f6760b81b82840152838501919091528351808501855260038152624f726360e81b81840152606084015283518085018552818152682734b3b43a1022b63360b91b8184015260808401528351808501855260068082526553706f6f707960d01b8285015260a08501919091528451808601865290815265105248109bdd60d21b8184015260c08401528351808501855281815268507269736d6174696360b81b8184015260e08401528351808501909452600a845269476f6c64656e20426f7960b01b91840191909152610100820192909252620039db91600e919062004282565b50604080516105c081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101829052610200810182905261022081018290526102408101829052610260810182905261028081018290526102a081018290526102c081018290526102e08101829052610300810182905261032081018290526103408101829052610360810182905261038081018290526103a081019190915260016103c082018190526103e08201819052610400820152600261042082018190526104408201819052610460820152600361048082018190526104a082018190526104c082015260046104e08201819052610500820152600561052082015260066105408201819052610560820152600761058082015260086105a082015262003b5d90600f90602e62003f9b565b50604051806040016040528060405180610160016040528061012e81526020016200c06461012e9139815260200160405180610100016040528060d881526020016200a95060d89139905262003bb8906010906002620042d4565b506040805160808101825260058183019081526411da1bdcdd60da1b60608301528152815180830190925260078252664d79737465727960c81b60208381019190915281019190915262003c1190601190600262004326565b506040805161018081018252600661014082018181526562356561656160d01b6101608401528252825180840184528181526562356337656160d01b60208281019190915280840191909152835180850185528281526565616236623560d01b8183015283850152835180850185528281526563336561623560d01b818301526060840152835180850185528281526565616235643960d01b818301526080840152835180850185528281526566616663353160d01b8183015260a0840152835180850185528281526519b09c1cb33360d11b8183015260c084015283518085018552828152651ab2b3331c3360d11b8183015260e0840152835180850185528281526566663665666160d01b8183015261010084015283518085019094529083526561316131613160d01b9083015261012081019190915262003d5a90601290600a62004378565b50662386f26fc10000601c5566354a6ba7a18000601d5566470de4df820000601e556107d0601f556103e8602055609660215560016022556023805461ffff60a01b19169055600060265534801562003db257600080fd5b50604080518082018252600c81526b43727970746f45646469657360a01b602080830191825283518085019094526005845264454444494560d81b90840152815191929162003e0491601591620043ca565b50805162003e1a906016906020840190620043ca565b505060016013555062003e2d3362003e33565b62004529565b601b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805482825590600052602060002090810192821562003ed7579160200282015b8281111562003ed7578251805162003ec6918491602090910190620043ca565b509160200191906001019062003ea6565b5062003ee592915062004447565b5090565b82805482825590600052602060002090810192821562003f3b579160200282015b8281111562003f3b578251805162003f2a918491602090910190620043ca565b509160200191906001019062003f0a565b5062003ee592915062004468565b82805482825590600052602060002090810192821562003ed7579160200282015b8281111562003ed7578251805162003f8a918491602090910190620043ca565b509160200191906001019062003f6a565b82805482825590600052602060002090601f01602090048101928215620040365791602002820160005b838211156200400557835183826101000a81548160ff021916908360ff160217905550926020019260010160208160000104928301926001030262003fc5565b8015620040345782816101000a81549060ff021916905560010160208160000104928301926001030262004005565b505b5062003ee592915062004489565b82805482825590600052602060002090810192821562003f3b579160200282015b8281111562003f3b578251805162004085918491602090910190620043ca565b509160200191906001019062004065565b82805482825590600052602060002090810192821562003ed7579160200282015b8281111562003ed75782518051620040d7918491602090910190620043ca565b5091602001919060010190620040b7565b82805482825590600052602060002090810192821562003f3b579160200282015b8281111562003f3b578251805162004129918491602090910190620043ca565b509160200191906001019062004109565b82805482825590600052602060002090810192821562003ed7579160200282015b8281111562003ed757825180516200417b918491602090910190620043ca565b50916020019190600101906200415b565b82805482825590600052602060002090810192821562003f3b579160200282015b8281111562003f3b5782518051620041cd918491602090910190620043ca565b5091602001919060010190620041ad565b82805482825590600052602060002090810192821562003ed7579160200282015b8281111562003ed757825180516200421f918491602090910190620043ca565b5091602001919060010190620041ff565b82805482825590600052602060002090810192821562003f3b579160200282015b8281111562003f3b578251805162004271918491602090910190620043ca565b509160200191906001019062004251565b82805482825590600052602060002090810192821562003ed7579160200282015b8281111562003ed75782518051620042c3918491602090910190620043ca565b5091602001919060010190620042a3565b82805482825590600052602060002090810192821562003f3b579160200282015b8281111562003f3b578251805162004315918491602090910190620043ca565b5091602001919060010190620042f5565b82805482825590600052602060002090810192821562003ed7579160200282015b8281111562003ed7578251805162004367918491602090910190620043ca565b509160200191906001019062004347565b82805482825590600052602060002090810192821562003ed7579160200282015b8281111562003ed75782518051620043b9918491602090910190620043ca565b509160200191906001019062004399565b828054620043d890620044f8565b90600052602060002090601f016020900481019282620043fc576000855562004036565b82601f106200441757805160ff191683800117855562004036565b8280016001018555821562004036579182015b82811115620040365782518255916020019190600101906200442a565b8082111562003ee55760006200445e8282620044a0565b5060010162004447565b8082111562003ee55760006200447f8282620044a0565b5060010162004468565b5b8082111562003ee557600081556001016200448a565b508054620044ae90620044f8565b6000825580601f10620044bf575050565b601f016020900490600052602060002090810190620044df919062004489565b50565b634e487b7160e01b600052602260045260246000fd5b6002810460018216806200450d57607f821691505b60208210811415620045235762004523620044e2565b50919050565b615feb80620045396000396000f3fe6080604052600436106104525760003560e01c806387be5c981161023f578063b39a299e11610139578063e0357403116100b6578063ebb8e2971161007a578063ebb8e29714610d31578063f0503e8014610d51578063f2fde38b14610d7e578063f658575114610d9e578063fb38397114610dbe57600080fd5b8063e035740314610ca5578063e0a8085314610cbb578063e489d51014610cdb578063e603068814610cf1578063e985e9c514610d1157600080fd5b8063c7ece1a5116100fd578063c7ece1a514610c05578063c87b56dd14610c25578063d485204414610c45578063d9a526ce14610c65578063dc33e68114610c8557600080fd5b8063b39a299e14610b58578063b88d4fde14610b78578063be985ac914610b98578063c4893d5114610bb8578063c7e51dcb14610be557600080fd5b8063958ba0bf116101c7578063a3053dd51161018b578063a3053dd514610ac2578063a3bcb09a14610ae2578063ad99cc8a14610b02578063ae3aab3b14610b18578063af42527f14610b3857600080fd5b8063958ba0bf14610a1f57806395d89b4114610a3f57806398a871f014610a545780639da3f8fd14610a74578063a22cb46514610aa257600080fd5b80638f9d96de1161020e5780638f9d96de146109965780639016f18d146109b657806390e14215146109c957806390f1d5dc146109df5780639299e7c8146109ff57600080fd5b806387be5c981461091857806387d187ee1461093857806388aab716146109585780638da5cb5b1461097857600080fd5b80634d899d86116103505780636404fcd1116102d85780637cac00f01161029c5780637cac00f01461086b5780637cb647591461088b5780637e980e00146108ab57806381bbc8ef146108cb5780638462151c146108eb57600080fd5b80636404fcd1146107d8578063697e2224146107f8578063708b8f991461080e57806370a0823114610836578063715018a61461085657600080fd5b806358dc90ec1161031f57806358dc90ec146107425780635a503f13146107625780635b2b538614610782578063632d76bd146107a25780636352211e146107b857600080fd5b80634d899d86146106b457806351830227146106d457806352b5ef0a146106f557806353165ab91461072257600080fd5b80631f1bbf40116103de5780632f2f049d116103a25780632f2f049d1461062a5780633ccfd60b1461064a5780633d9c5f371461065f57806342842e0e1461067457806344cee73c1461069457600080fd5b80631f1bbf40146105ab57806323b872dd146105cb57806328ad15f4146105eb5780632dd6668a146106015780632eb4a7ab1461061457600080fd5b8063095ea7b311610425578063095ea7b3146104fc5780630b2698981461051e5780630d76a6cf1461053e5780631224f8301461056b57806318160ddd1461058e57600080fd5b806301ffc9a7146104575780630596e1261461048d57806306fdde03146104ba578063081812fc146104cf575b600080fd5b34801561046357600080fd5b50610477610472366004614800565b610dde565b604051610484919061482b565b60405180910390f35b34801561049957600080fd5b506104ad6104a836600461484a565b610e30565b60405161048491906148c9565b3480156104c657600080fd5b506104ad610edc565b3480156104db57600080fd5b506104ef6104ea36600461484a565b610f6e565b60405161048491906148f4565b34801561050857600080fd5b5061051c610517366004614916565b610fb2565b005b34801561052a57600080fd5b5061051c6105393660046149a4565b611052565b34801561054a57600080fd5b5060235461055e906001600160a01b031681565b6040516104849190614a0a565b34801561057757600080fd5b5061058160215481565b6040516104849190614a1e565b34801561059a57600080fd5b506014546013540360001901610581565b3480156105b757600080fd5b506104ad6105c636600461484a565b611119565b3480156105d757600080fd5b5061051c6105e6366004614a2c565b611129565b3480156105f757600080fd5b5061058160205481565b61051c61060f36600461484a565b6112bf565b34801561062057600080fd5b5061058160265481565b34801561063657600080fd5b506104ad61064536600461484a565b61136f565b34801561065657600080fd5b5061051c61137a565b34801561066b57600080fd5b50610581600581565b34801561068057600080fd5b5061051c61068f366004614a2c565b6113b1565b3480156106a057600080fd5b506104ad6106af36600461484a565b6113d1565b3480156106c057600080fd5b5061051c6106cf366004614a7c565b6113e1565b3480156106e057600080fd5b5060235461047790600160a81b900460ff1681565b34801561070157600080fd5b5061071561071036600461484a565b61143a565b6040516104849190614ad5565b34801561072e57600080fd5b5061051c61073d36600461484a565b61146e565b34801561074e57600080fd5b5061051c61075d366004614916565b611477565b34801561076e57600080fd5b506104ad61077d36600461484a565b611489565b34801561078e57600080fd5b5061071561079d36600461484a565b611499565b3480156107ae57600080fd5b50610581601e5481565b3480156107c457600080fd5b506104ef6107d336600461484a565b6114a9565b3480156107e457600080fd5b506104ad6107f336600461484a565b6114b4565b34801561080457600080fd5b50610581601c5481565b34801561081a57600080fd5b506104ef73e4bbcbff51e61d0d95fcc5016609ac8354b177c481565b34801561084257600080fd5b50610581610851366004614ae3565b6114bf565b34801561086257600080fd5b5061051c61150d565b34801561087757600080fd5b5061051c610886366004614ae3565b611521565b34801561089757600080fd5b5061051c6108a636600461484a565b61154b565b3480156108b757600080fd5b5061051c6108c636600461484a565b611558565b3480156108d757600080fd5b506104776108e6366004614b04565b61169a565b3480156108f757600080fd5b5061090b610906366004614ae3565b6116da565b6040516104849190614bb1565b34801561092457600080fd5b5061071561093336600461484a565b6117e9565b34801561094457600080fd5b5061058161095336600461484a565b6117f9565b34801561096457600080fd5b506104ad61097336600461484a565b611848565b34801561098457600080fd5b50601b546001600160a01b03166104ef565b3480156109a257600080fd5b506107156109b136600461484a565b611858565b61051c6109c4366004614a7c565b611868565b3480156109d557600080fd5b5061058160225481565b3480156109eb57600080fd5b506104ad6109fa36600461484a565b6119be565b348015610a0b57600080fd5b506104ad610a1a36600461484a565b6119ce565b348015610a2b57600080fd5b506104ad610a3a36600461484a565b6119de565b348015610a4b57600080fd5b506104ad6119ee565b348015610a6057600080fd5b506104ad610a6f36600461484a565b6119fd565b348015610a8057600080fd5b50602354610a9590600160a01b900460ff1681565b6040516104849190614c0b565b348015610aae57600080fd5b5061051c610abd366004614c2c565b611a0d565b348015610ace57600080fd5b506104ad610add36600461484a565b611aa6565b348015610aee57600080fd5b50610477610afd366004614a7c565b611ab6565b348015610b0e57600080fd5b50610581601d5481565b348015610b2457600080fd5b5061051c610b3336600461484a565b611acb565b348015610b4457600080fd5b506104ad610b5336600461484a565b611b0f565b348015610b6457600080fd5b506104ad610b7336600461484a565b611b1f565b348015610b8457600080fd5b5061051c610b93366004614d4b565b611b2f565b348015610ba457600080fd5b506104ad610bb336600461484a565b611b79565b348015610bc457600080fd5b50610581610bd336600461484a565b60256020526000908152604090205481565b348015610bf157600080fd5b50610715610c0036600461484a565b611b84565b348015610c1157600080fd5b5061051c610c20366004614dc9565b611b94565b348015610c3157600080fd5b506104ad610c4036600461484a565b611ba7565b348015610c5157600080fd5b506104ad610c6036600461484a565b611c09565b348015610c7157600080fd5b5061051c610c803660046149a4565b611c14565b348015610c9157600080fd5b50610581610ca0366004614ae3565b611c57565b348015610cb157600080fd5b50610581601f5481565b348015610cc757600080fd5b5061051c610cd6366004614deb565b611c62565b348015610ce757600080fd5b50610581610dac81565b348015610cfd57600080fd5b506104ad610d0c36600461484a565b611c88565b348015610d1d57600080fd5b50610477610d2c366004614e0c565b611c98565b348015610d3d57600080fd5b5061051c610d4c366004614a7c565b611cc6565b348015610d5d57600080fd5b50610581610d6c36600461484a565b60246020526000908152604090205481565b348015610d8a57600080fd5b5061051c610d99366004614ae3565b611d69565b348015610daa57600080fd5b5061051c610db9366004614dc9565b611da0565b348015610dca57600080fd5b506104ad610dd936600461484a565b611e58565b60006301ffc9a760e01b6001600160e01b031983161480610e0f57506380ac58cd60e01b6001600160e01b03198316145b80610e2a5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60078181548110610e4057600080fd5b906000526020600020016000915090508054610e5b90614e55565b80601f0160208091040260200160405190810160405280929190818152602001828054610e8790614e55565b8015610ed45780601f10610ea957610100808354040283529160200191610ed4565b820191906000526020600020905b815481529060010190602001808311610eb757829003601f168201915b505050505081565b606060158054610eeb90614e55565b80601f0160208091040260200160405190810160405280929190818152602001828054610f1790614e55565b8015610f645780601f10610f3957610100808354040283529160200191610f64565b820191906000526020600020905b815481529060010190602001808311610f4757829003601f168201915b5050505050905090565b6000610f7982611e68565b610f96576040516333d1c03960e21b815260040160405180910390fd5b506000908152601960205260409020546001600160a01b031690565b6000610fbd826114a9565b9050336001600160a01b03821614610ff657610fd98133611c98565b610ff6576040516367d9dca160e11b815260040160405180910390fd5b60008281526019602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61105a611e9d565b8181600081811061106d5761106d614e7c565b6020029190910135601f55508181600181811061108c5761108c614e7c565b6020029190910135601c5550818160028181106110ab576110ab614e7c565b90506020020135602081905550818160038181106110cb576110cb614e7c565b6020029190910135601d5550818160048181106110ea576110ea614e7c565b90506020020135601e81905550610dac602054601f5461110a9190614ea8565b111561111557600080fd5b5050565b600e8181548110610e4057600080fd5b600061113482611ec7565b9050836001600160a01b0316816001600160a01b0316146111675760405162a1148160e81b815260040160405180910390fd5b600082815260196020526040902080546111938187335b6001600160a01b039081169116811491141790565b6111be576111a18633611c98565b6111be57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166111e557604051633a954ecd60e21b815260040160405180910390fd5b6111f28686866001611f37565b80156111fd57600082555b6001600160a01b038681166000908152601860205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260176020526040902055600160e11b831661128857600184016000818152601760205260409020546112865760135481146112865760008181526017602052604090208490555b505b83856001600160a01b0316876001600160a01b0316600080516020615f9683398151915260405160405180910390a4505050505050565b6002602354600160a01b900460ff1660028111156112df576112df614bc2565b146113055760405162461bcd60e51b81526004016112fc90614eec565b60405180910390fd5b61130e81611fc9565b34101561132d5760405162461bcd60e51b81526004016112fc90614f22565b6021548161133a33612013565b6113449190614ea8565b11156113625760405162461bcd60e51b81526004016112fc90614f5a565b61136c338261203b565b50565b6060610e2a826120f2565b611382611e9d565b6040514790339082156108fc029083906000818181858888f19350505050158015611115573d6000803e3d6000fd5b6113cc83838360405180602001604052806000815250611b2f565b505050565b600a8181548110610e4057600080fd5b8160005b8181101561143357600085858381811061140157611401614e7c565b90506020020160208101906114169190614ae3565b9050611422818561203b565b5061142c81614f6a565b90506113e5565b5050505050565b6009818154811061144a57600080fd5b9060005260206000209060209182820401919006915054906101000a900460ff1681565b61136c81612720565b61147f611e9d565b611115828261203b565b600d8181548110610e4057600080fd5b6003818154811061144a57600080fd5b6000610e2a82611ec7565b6060610e2a82612829565b60006001600160a01b0382166114e8576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152601860205260409020546001600160401b031690565b611515611e9d565b61151f6000612ba8565b565b611529611e9d565b602380546001600160a01b0319166001600160a01b0392909216919091179055565b611553611e9d565b602655565b611561816114a9565b6001600160a01b0316336001600160a01b0316146115915760405162461bcd60e51b81526004016112fc90614fa5565b61159a81612bfa565b6000818152602560205260409020541561166c576000818152602560205260408082208290555182917fc1b3760fc574b5ee510d3e6bae7f855b7b4e17967da0fec0882aab3cbab3afe891a26023546001600160a01b03161561166c5760235460008281526024602052604090819020549051633c4dde0160e21b81526001600160a01b039092169163f1377804916116399133918691600401614fb5565b600060405180830381600087803b15801561165357600080fd5b505af1158015611667573d6000803e3d6000fd5b505050505b60405181907fb6198b9c863f6d8c55d9cdeb75b5cd140a17c2c4995c67a952014964e8c7924490600090a250565b600080826040516020016116ae9190615005565b6040516020818303038152906040528051906020012090506116d1858583612c05565b95945050505050565b606060008060006116ea856114bf565b90506000816001600160401b0381111561170657611706614c5f565b60405190808252806020026020018201604052801561172f578160200160208202803683370190505b50905061175c60408051608081018252600080825260208201819052918101829052606081019190915290565b60015b8386146117dd5761176f81612c48565b9150816040015115611780576117d5565b81516001600160a01b03161561179557815194505b876001600160a01b0316856001600160a01b031614156117d557808387806001019850815181106117c8576117c8614e7c565b6020026020010181815250505b60010161175f565b50909695505050505050565b6006818154811061144a57600080fd5b600081600181101580156118145750611810612cc6565b8111155b6118305760405162461bcd60e51b81526004016112fc9061503e565b60008381526025602052604090205491505b50919050565b60118181548110610e4057600080fd5b600f818154811061144a57600080fd5b6001602354600160a01b900460ff16600281111561188857611888614bc2565b14806118b157506002602354600160a01b900460ff1660028111156118af576118af614bc2565b145b6118cd5760405162461bcd60e51b81526004016112fc90615077565b60006118d833612013565b6021549091506118e88383614ea8565b11156119065760405162461bcd60e51b81526004016112fc90614f5a565b600060225482101561192357816022546119209190615087565b90505b600061192f8285615087565b905061193a81611fc9565b3410156119595760405162461bcd60e51b81526004016112fc906150c9565b60003360405160200161196c9190615005565b60405160208183030381529060405280519060200120905061198f878783612c05565b6119ab5760405162461bcd60e51b81526004016112fc906150fd565b6119b5338661203b565b50505050505050565b60048181548110610e4057600080fd5b60028181548110610e4057600080fd5b60008181548110610e4057600080fd5b606060168054610eeb90614e55565b60088181548110610e4057600080fd5b6001600160a01b038216331415611a375760405163b06307db60e01b815260040160405180910390fd5b336000818152601a602090815260408083206001600160a01b038716808552925291829020805460ff191685151517905590519091907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190611a9a90859061482b565b60405180910390a35050565b60018181548110610e4057600080fd5b6000611ac3848484612c05565b949350505050565b611ad3611e9d565b806002811115611ae557611ae5614bc2565b6023805460ff60a01b1916600160a01b836002811115611b0757611b07614bc2565b021790555050565b60108181548110610e4057600080fd5b60058181548110610e4057600080fd5b611b3a848484611129565b6001600160a01b0383163b15611b7357611b5684848484612cd0565b611b73576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610e2a82612dc7565b600c818154811061144a57600080fd5b611b9c611e9d565b602191909155602255565b60608160018110158015611bc25750611bbe612cc6565b8111155b611bde5760405162461bcd60e51b81526004016112fc9061503e565b602354600160a81b900460ff1615611c0057611bf983613575565b9150611842565b611bf9836136df565b6060610e2a82613750565b8060005b81811015611b73576000848483818110611c3457611c34614e7c565b905060200201359050611c4681612720565b50611c5081614f6a565b9050611c18565b6000610e2a82612013565b611c6a611e9d565b60238054911515600160a81b0260ff60a81b19909216919091179055565b60128181548110610e4057600080fd5b6001600160a01b039182166000908152601a6020908152604080832093909416825291909152205460ff1690565b8160005b81811015611433576000858583818110611ce657611ce6614e7c565b905060200201359050600060256000838152602001908152602001600020541115611d585760008181526025602052604081208054869290611d29908490614ea8565b909155505060008181526025602052604090205460051015611d58576000818152602560205260409020600590555b50611d6281614f6a565b9050611cca565b611d71611e9d565b6001600160a01b038116611d975760405162461bcd60e51b81526004016112fc9061510d565b61136c81612ba8565b611da8611e9d565b8160018110158015611dc15750611dbd612cc6565b8111155b611ddd5760405162461bcd60e51b81526004016112fc9061503e565b600083815260256020526040902054611e085760405162461bcd60e51b81526004016112fc9061517a565b60008381526025602052604081208054849290611e26908490614ea8565b9091555050600083815260256020526040902054600510156113cc575050600090815260256020526040902060059055565b600b8181548110610e4057600080fd5b600081600111158015611e7c575060135482105b8015610e2a575050600090815260176020526040902054600160e01b161590565b601b546001600160a01b0316331461151f5760405162461bcd60e51b81526004016112fc906151bc565b60008180600111611f1e57601354811015611f1e57600081815260176020526040902054600160e01b8116611f1c575b80611f15575060001901600081815260176020526040902054611ef7565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6001600160a01b03831673e4bbcbff51e61d0d95fcc5016609ac8354b177c41415611f75576040516321ff3fbb60e21b815260040160405180910390fd5b6001600160a01b0384161580611f9257506001600160a01b038316155b15611f9c57611b73565b815b611fa88284614ea8565b81101561143357611fb9818661390b565b611fc281614f6a565b9050611f9e565b600080611fd4612cc6565b9050601f54811061200557602054601f54611fef9190614ea8565b8110611ffd57601e54612009565b601d54612009565b601c545b611f1590846151cc565b6001600160a01b03166000908152601860205260409081902054901c6001600160401b031690565b806000811161205c5760405162461bcd60e51b81526004016112fc90615211565b610dac81612068612cc6565b6120729190614ea8565b11156120905760405162461bcd60e51b81526004016112fc9061524a565b600061209a612cc6565b6120a5906001614ea8565b9050805b6120b38483614ea8565b8110156120e7576120c381613a3b565b600081815260256020526040902060059055806120df81614f6a565b9150506120a9565b50611b738484613a83565b606060006120ff83613a9d565b90506000612284601060008154811061211a5761211a614e7c565b90600052602060002001805461212f90614e55565b80601f016020809104026020016040519081016040528092919081815260200182805461215b90614e55565b80156121a85780601f1061217d576101008083540402835291602001916121a8565b820191906000526020600020905b81548152906001019060200180831161218b57829003601f168201915b50505050506000805480602002602001604051908101604052809291908181526020016000905b8282101561227b5783829060005260206000200180546121ee90614e55565b80601f016020809104026020016040519081016040528092919081815260200182805461221a90614e55565b80156122675780601f1061223c57610100808354040283529160200191612267565b820191906000526020600020905b81548152906001019060200180831161224a57829003601f168201915b5050505050815260200190600101906121cf565b50505050613c81565b6123ff60078460a001518154811061229e5761229e614e7c565b9060005260206000200180546122b390614e55565b80601f01602080910402602001604051908101604052809291908181526020018280546122df90614e55565b801561232c5780601f106123015761010080835404028352916020019161232c565b820191906000526020600020905b81548152906001019060200180831161230f57829003601f168201915b50505050506000805480602002602001604051908101604052809291908181526020016000905b8282101561227b57838290600052602060002001805461237290614e55565b80601f016020809104026020016040519081016040528092919081815260200182805461239e90614e55565b80156123eb5780601f106123c0576101008083540402835291602001916123eb565b820191906000526020600020905b8154815290600101906020018083116123ce57829003601f168201915b505050505081526020019060010190612353565b61257a600485608001518154811061241957612419614e7c565b90600052602060002001805461242e90614e55565b80601f016020809104026020016040519081016040528092919081815260200182805461245a90614e55565b80156124a75780601f1061247c576101008083540402835291602001916124a7565b820191906000526020600020905b81548152906001019060200180831161248a57829003601f168201915b50505050506000805480602002602001604051908101604052809291908181526020016000905b8282101561227b5783829060005260206000200180546124ed90614e55565b80601f016020809104026020016040519081016040528092919081815260200182805461251990614e55565b80156125665780601f1061253b57610100808354040283529160200191612566565b820191906000526020600020905b81548152906001019060200180831161254957829003601f168201915b5050505050815260200190600101906124ce565b6126f5600186606001518154811061259457612594614e7c565b9060005260206000200180546125a990614e55565b80601f01602080910402602001604051908101604052809291908181526020018280546125d590614e55565b80156126225780601f106125f757610100808354040283529160200191612622565b820191906000526020600020905b81548152906001019060200180831161260557829003601f168201915b50505050506000805480602002602001604051908101604052809291908181526020016000905b8282101561227b57838290600052602060002001805461266890614e55565b80601f016020809104026020016040519081016040528092919081815260200182805461269490614e55565b80156126e15780601f106126b6576101008083540402835291602001916126e1565b820191906000526020600020905b8154815290600101906020018083116126c457829003601f168201915b505050505081526020019060010190612649565b604051602001612708949392919061527c565b60408051601f19818403018152919052949350505050565b80600181101580156127395750612735612cc6565b8111155b6127555760405162461bcd60e51b81526004016112fc9061503e565b602354600160a81b900460ff1615156001146127835760405162461bcd60e51b81526004016112fc906153b6565b6000828152602560205260409020546127ae5760405162461bcd60e51b81526004016112fc906153e2565b6127b7826114a9565b6001600160a01b0316336001600160a01b0316146127e75760405162461bcd60e51b81526004016112fc90614fa5565b6127f082613a3b565b6127fa823361390b565b60405182907f180097c0f693b32adc5ebc4a2b16a6d6f161da41e9333be8eca0697abb29559490600090a25050565b6060600061283683613a9d565b604080516103408101825260016103008201818152600360fc1b610320840152825282518084018452818152603160f81b6020828101919091528084019190915283518085018552828152601960f91b818301528385015283518085018552828152603360f81b81830152606084015283518085018552828152600d60fa1b81830152608084015283518085018552828152603560f81b8183015260a084015283518085018552828152601b60f91b8183015260c084015283518085018552828152603760f81b8183015260e084015283518085018552828152600760fb1b8183015261010084015283518085018552828152603960f81b8183015261012084015283518085018552600280825261031360f41b828401526101408501919091528451808601865281815261313160f01b818401526101608501528451808601865281815261189960f11b818401526101808501528451808601865281815261313360f01b818401526101a085015284518086018652818152610c4d60f21b818401526101c08501528451808601865281815261313560f01b818401526101e08501528451808601865281815261189b60f11b818401526102008501528451808601865281815261313760f01b818401526102208501528451808601865281815261062760f31b818401526102408501528451808601865281815261313960f01b818401526102608501528451808601865281815261032360f41b818401526102808501528451808601865281815261323160f01b818401526102a08501528451808601865281815261191960f11b818401526102c08501528451808601909552845261323360f01b908401526102e08201929092528251929350916000918391612ac091614ea8565b60188110612ad057612ad0614e7c565b6020020151600b846020015181548110612aec57612aec614e7c565b90600052602060002001600e856040015181548110612b0d57612b0d614e7c565b906000526020600020016002866060015181548110612b2e57612b2e614e7c565b906000526020600020016005876080015181548110612b4f57612b4f614e7c565b9060005260206000200160088860a0015181548110612b7057612b70614e7c565b90600052602060002001604051602001612b8f9695949392919061551e565b60408051601f1981840301815291905295945050505050565b601b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61136c816000614040565b6000611ac3848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506026549150859050614180565b604080516080810182526000808252602082018190529181018290526060810191909152600082815260176020526040902054610e2a90604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b6013546000190190565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612d05903390899088908890600401615644565b602060405180830381600087803b158015612d1f57600080fd5b505af1925050508015612d4f575060408051601f3d908101601f19168201909252612d4c91810190615689565b60015b612daa573d808015612d7d576040519150601f19603f3d011682016040523d82523d6000602084013e612d82565b606091505b508051612da2576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60606000612dd483613a9d565b905060006012826000015181548110612def57612def614e7c565b90600052602060002001612f74600d846040015181548110612e1357612e13614e7c565b906000526020600020018054612e2890614e55565b80601f0160208091040260200160405190810160405280929190818152602001828054612e5490614e55565b8015612ea15780601f10612e7657610100808354040283529160200191612ea1565b820191906000526020600020905b815481529060010190602001808311612e8457829003601f168201915b50505050506000805480602002602001604051908101604052809291908181526020016000905b8282101561227b578382906000526020600020018054612ee790614e55565b80601f0160208091040260200160405190810160405280929190818152602001828054612f1390614e55565b8015612f605780601f10612f3557610100808354040283529160200191612f60565b820191906000526020600020905b815481529060010190602001808311612f4357829003601f168201915b505050505081526020019060010190612ec8565b6130ef600a856020015181548110612f8e57612f8e614e7c565b906000526020600020018054612fa390614e55565b80601f0160208091040260200160405190810160405280929190818152602001828054612fcf90614e55565b801561301c5780601f10612ff15761010080835404028352916020019161301c565b820191906000526020600020905b815481529060010190602001808311612fff57829003601f168201915b50505050506000805480602002602001604051908101604052809291908181526020016000905b8282101561227b57838290600052602060002001805461306290614e55565b80601f016020809104026020016040519081016040528092919081815260200182805461308e90614e55565b80156130db5780601f106130b0576101008083540402835291602001916130db565b820191906000526020600020905b8154815290600101906020018083116130be57829003601f168201915b505050505081526020019060010190613043565b61326a60078660a001518154811061310957613109614e7c565b90600052602060002001805461311e90614e55565b80601f016020809104026020016040519081016040528092919081815260200182805461314a90614e55565b80156131975780601f1061316c57610100808354040283529160200191613197565b820191906000526020600020905b81548152906001019060200180831161317a57829003601f168201915b50505050506000805480602002602001604051908101604052809291908181526020016000905b8282101561227b5783829060005260206000200180546131dd90614e55565b80601f016020809104026020016040519081016040528092919081815260200182805461320990614e55565b80156132565780601f1061322b57610100808354040283529160200191613256565b820191906000526020600020905b81548152906001019060200180831161323957829003601f168201915b5050505050815260200190600101906131be565b6133e5600487608001518154811061328457613284614e7c565b90600052602060002001805461329990614e55565b80601f01602080910402602001604051908101604052809291908181526020018280546132c590614e55565b80156133125780601f106132e757610100808354040283529160200191613312565b820191906000526020600020905b8154815290600101906020018083116132f557829003601f168201915b50505050506000805480602002602001604051908101604052809291908181526020016000905b8282101561227b57838290600052602060002001805461335890614e55565b80601f016020809104026020016040519081016040528092919081815260200182805461338490614e55565b80156133d15780601f106133a6576101008083540402835291602001916133d1565b820191906000526020600020905b8154815290600101906020018083116133b457829003601f168201915b505050505081526020019060010190613339565b61356060018860600151815481106133ff576133ff614e7c565b90600052602060002001805461341490614e55565b80601f016020809104026020016040519081016040528092919081815260200182805461344090614e55565b801561348d5780601f106134625761010080835404028352916020019161348d565b820191906000526020600020905b81548152906001019060200180831161347057829003601f168201915b50505050506000805480602002602001604051908101604052809291908181526020016000905b8282101561227b5783829060005260206000200180546134d390614e55565b80601f01602080910402602001604051908101604052809291908181526020018280546134ff90614e55565b801561354c5780601f106135215761010080835404028352916020019161354c565b820191906000526020600020905b81548152906001019060200180831161352f57829003601f168201915b5050505050815260200190600101906134b4565b6040516020016127089695949392919061577b565b6040805161010081018252600160c08201818152600360fc1b60e0840152825282518084018452818152603160f81b6020828101919091528084019190915283518085018552828152601960f91b818301528385015283518085018552828152603360f81b8183015260608481019190915284518086018652838152600d60fa1b81840152608085015284518086018652928352603560f81b8383015260a08401929092526000858152602490915292832054909261363382612dc7565b905060006136b261364387614196565b61364c85612829565b61365586614293565b60008a81526025602052604090205488906006811061367657613676614e7c565b602002015160a089015161368988614490565b60405160200161369e969594939291906158c4565b604051602081830303815290604052614490565b9050806040516020016136c59190615a3c565b604051602081830303815290604052945050505050919050565b6000818152602460205260408120546060916136fa82613750565b9050600061372461370a86614196565b61371384614490565b60405160200161369e929190615a6e565b9050806040516020016137379190615a3c565b6040516020818303038152906040529350505050919050565b6060600061375d83613a9d565b90506000601282600001518154811061377857613778614e7c565b906000526020600020016138fa601060018154811061379957613799614e7c565b9060005260206000200180546137ae90614e55565b80601f01602080910402602001604051908101604052809291908181526020018280546137da90614e55565b80156138275780601f106137fc57610100808354040283529160200191613827565b820191906000526020600020905b81548152906001019060200180831161380a57829003601f168201915b50505050506000805480602002602001604051908101604052809291908181526020016000905b8282101561227b57838290600052602060002001805461386d90614e55565b80601f016020809104026020016040519081016040528092919081815260200182805461389990614e55565b80156138e65780601f106138bb576101008083540402835291602001916138e6565b820191906000526020600020905b8154815290600101906020018083116138c957829003601f168201915b50505050508152602001906001019061384e565b604051602001612708929190615ba1565b81600181101580156139245750613920612cc6565b8111155b6139405760405162461bcd60e51b81526004016112fc9061503e565b60008381526025602052604090205461395857505050565b6000838152602560205260408120805460019290613977908490615087565b90915550506000838152602560205260409020546113cc5760405183907fc1b3760fc574b5ee510d3e6bae7f855b7b4e17967da0fec0882aab3cbab3afe890600090a26023546001600160a01b0316156113cc5760235460008481526024602052604090819020549051633c4dde0160e21b81526001600160a01b039092169163f137780491613a0d9186918891600401614fb5565b600060405180830381600087803b158015613a2757600080fd5b505af11580156119b5573d6000803e3d6000fd5b613a46600143615087565b408133604051602001613a5b93929190615be6565b60408051601f1981840301815291815281516020928301206000938452602490925290912055565b6111158282604051806020016040528060008152506145f5565b613ad66040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6040805160c081019091526012548190613af09085615c33565b8152600c8054602090920191613b07600287615c47565b613b119190615c33565b81548110613b2157613b21614e7c565b6000918252602091829020828204015460ff601f9092166101000a9004168252600f80549290910191613b55600387615c47565b613b5f9190615c33565b81548110613b6f57613b6f614e7c565b6000918252602091829020828204015460ff601f9092166101000a9004168252600380549290910191613ba3600487615c47565b613bad9190615c33565b81548110613bbd57613bbd614e7c565b6000918252602091829020828204015460ff601f9092166101000a9004168252600680549290910191613bf1600587615c47565b613bfb9190615c33565b81548110613c0b57613c0b614e7c565b6000918252602091829020828204015460ff601f9092166101000a9004168252600980549290910191613c3f600687615c47565b613c499190615c33565b81548110613c5957613c59614e7c565b60009182526020918290209181049091015460ff601f9092166101000a900416905292915050565b604080516103408101825260016103008201818152600360fc1b610320840152825282518084018452818152603160f81b6020828101919091528084019190915283518085018552828152601960f91b818301528385015283518085018552828152603360f81b8183015260608481019190915284518086018652838152600d60fa1b81840152608085015284518086018652838152603560f81b8184015260a085015284518086018652838152601b60f91b8184015260c085015284518086018652838152603760f81b8184015260e085015284518086018652838152600760fb1b8184015261010085015284518086018652928352603960f81b8383015261012084019290925283518085018552600280825261031360f41b828401526101408501919091528451808601865281815261313160f01b818401526101608501528451808601865281815261189960f11b818401526101808501528451808601865281815261313360f01b818401526101a085015284518086018652818152610c4d60f21b818401526101c08501528451808601865281815261313560f01b818401526101e08501528451808601865281815261189b60f11b818401526102008501528451808601865281815261313760f01b818401526102208501528451808601865281815261062760f31b818401526102408501528451808601865281815261313960f01b818401526102608501528451808601865281815261032360f41b818401526102808501528451808601865281815261323160f01b818401526102a08501528451808601865281815261191960f11b818401526102c08501528451808601909552845261323360f01b908401526102e0820192909252816000805b8651811015614035576000878281518110613f2057613f20614e7c565b016020015160f81c9050600088613f38846001614ea8565b81518110613f4857613f48614e7c565b016020015160f81c90508015614010576000613f65601886615c33565b90506000613f74601887615c47565b905060008a8460ff1681518110613f8d57613f8d614e7c565b6020026020010151905087898660ff1660188110613fad57613fad614e7c565b60200201518a8560ff1660188110613fc757613fc7614e7c565b60200201518b8560ff1660188110613fe157613fe1614e7c565b602002015184604051602001613ffb959493929190615c71565b60405160208183030381529060405297505050505b61401d60ff831685614ea8565b9350505080600261402e9190614ea8565b9050613f03565b509095945050505050565b600061404b83611ec7565b90508060008061406986600090815260196020526040902080549091565b9150915084156140a95761407e81843361117e565b6140a95761408c8333611c98565b6140a957604051632ce44b5f60e11b815260040160405180910390fd5b6140b7836000886001611f37565b80156140c257600082555b6001600160a01b038316600081815260186020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260176020526040902055600160e11b841661414957600186016000818152601760205260409020546141475760135481146141475760008181526017602052604090208590555b505b60405186906000906001600160a01b03861690600080516020615f96833981519152908390a4505060148054600101905550505050565b60008261418d858461465b565b14949350505050565b6060816141ba5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156141e457806141ce81614f6a565b91506141dd9050600a83615c47565b91506141be565b6000816001600160401b038111156141fe576141fe614c5f565b6040519080825280601f01601f191660200182016040528015614228576020820181803683370190505b5090505b8415611ac35761423d600183615087565b915061424a600a86615c33565b614255906030614ea8565b60f81b81838151811061426a5761426a614e7c565b60200101906001600160f81b031916908160001a90535061428c600a86615c47565b945061422c565b604080516101a08101825260016101608201818152600360fc1b610180840152825282518084018452818152603160f81b6020828101919091528084019190915283518085018552828152601960f91b818301528385015283518085018552828152603360f81b8183015260608481019190915284518086018652838152600d60fa1b81840152608085015284518086018652838152603560f81b8184015260a085015284518086018652838152601b60f91b8184015260c085015284518086018652838152603760f81b8184015260e085015284518086018652838152600760fb1b8184015261010085015284518086018652928352603960f81b838301526101208401929092528351808501909452600280855261031360f41b918501919091526101408301939093529160009082906143d390869080600a6146a8565b600b81106143e3576143e3614e7c565b6020020151826143f88660036002600a6146a8565b600b811061440857614408614e7c565b60200201518361441d8760046002600a6146a8565b600b811061442d5761442d614e7c565b6020020151846144428860056002600a6146a8565b600b811061445257614452614e7c565b6020020151856144678960066002600a6146a8565b600b811061447757614477614e7c565b6020020151604051602001612708959493929190615e6a565b60608151600014156144b057505060408051602081019091526000815290565b6000604051806060016040528060408152602001615f5660409139905060006003845160026144df9190614ea8565b6144e99190615c47565b6144f49060046151cc565b90506000614503826020614ea8565b6001600160401b0381111561451a5761451a614c5f565b6040519080825280601f01601f191660200182016040528015614544576020820181803683370190505b509050818152600183018586518101602084015b818310156145b0576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825350600101614558565b6003895106600181146145ca57600281146145db576145e7565b613d3d60f01b6001198301526145e7565b603d60f81b6000198301525b509398975050505050505050565b6145ff83836146d2565b6001600160a01b0383163b156113cc576013548281035b6146296000868380600101945086612cd0565b614646576040516368d2bf6b60e11b815260040160405180910390fd5b81811061461657816013541461143357600080fd5b600081815b84518110156146a05761468c8286838151811061467f5761467f614e7c565b60200260200101516147b2565b91508061469881614f6a565b915050614660565b509392505050565b60006146b48383615087565b6146be8587615c47565b6146c89190615c33565b6116d19084614ea8565b601354816146f35760405163b562e8dd60e01b815260040160405180910390fd5b6147006000848385611f37565b6001600160a01b03831660008181526018602090815260408083208054680100000000000000018802019055848352601790915281206001851460e11b4260a01b17831790558284019083908390600080516020615f968339815191528180a4600183015b81811461478b5780836000600080516020615f96833981519152600080a4600101614765565b50816147a957604051622e076360e81b815260040160405180910390fd5b60135550505050565b60008183106147ce576000828152602084905260409020611f15565b5060009182526020526040902090565b6001600160e01b031981165b811461136c57600080fd5b8035610e2a816147de565b60006020828403121561481557614815600080fd5b6000611ac384846147f5565b8015155b82525050565b60208101610e2a8284614821565b806147ea565b8035610e2a81614839565b60006020828403121561485f5761485f600080fd5b6000611ac3848461483f565b60005b8381101561488657818101518382015260200161486e565b83811115611b735750506000910152565b60006148a1825190565b8084526020840193506148b881856020860161486b565b601f01601f19169290920192915050565b60208082528101611f158184614897565b60006001600160a01b038216610e2a565b614825816148da565b60208101610e2a82846148eb565b6147ea816148da565b8035610e2a81614902565b6000806040838503121561492c5761492c600080fd5b6000614938858561490b565b92505060206149498582860161483f565b9150509250929050565b60008083601f84011261496857614968600080fd5b5081356001600160401b0381111561498257614982600080fd5b60208301915083602082028301111561499d5761499d600080fd5b9250929050565b600080602083850312156149ba576149ba600080fd5b82356001600160401b038111156149d3576149d3600080fd5b6149df85828601614953565b92509250509250929050565b6000610e2a826148da565b6000610e2a826149eb565b614825816149f6565b60208101610e2a8284614a01565b80614825565b60208101610e2a8284614a18565b600080600060608486031215614a4457614a44600080fd5b6000614a50868661490b565b9350506020614a618682870161490b565b9250506040614a728682870161483f565b9150509250925092565b600080600060408486031215614a9457614a94600080fd5b83356001600160401b03811115614aad57614aad600080fd5b614ab986828701614953565b93509350506020614a728682870161483f565b60ff8116614825565b60208101610e2a8284614acc565b600060208284031215614af857614af8600080fd5b6000611ac3848461490b565b600080600060408486031215614b1c57614b1c600080fd5b83356001600160401b03811115614b3557614b35600080fd5b614b4186828701614953565b93509350506020614a728682870161490b565b6000614b608383614a18565b505060200190565b6000614b72825190565b80845260209384019383018060005b83811015614ba6578151614b958882614b54565b975060208301925050600101614b81565b509495945050505050565b60208082528101611f158184614b68565b634e487b7160e01b600052602160045260246000fd5b6003811061136c5761136c614bc2565b80614bf281614bd8565b919050565b6000610e2a82614be8565b61482581614bf7565b60208101610e2a8284614c02565b8015156147ea565b8035610e2a81614c19565b60008060408385031215614c4257614c42600080fd5b6000614c4e858561490b565b925050602061494985828601614c21565b634e487b7160e01b600052604160045260246000fd5b601f19601f83011681018181106001600160401b0382111715614c9a57614c9a614c5f565b6040525050565b6000614cac60405190565b9050614bf28282614c75565b60006001600160401b03821115614cd157614cd1614c5f565b601f19601f83011660200192915050565b82818337506000910152565b6000614d01614cfc84614cb8565b614ca1565b905082815260208101848484011115614d1c57614d1c600080fd5b6146a0848285614ce2565b600082601f830112614d3b57614d3b600080fd5b8135611ac3848260208601614cee565b60008060008060808587031215614d6457614d64600080fd5b6000614d70878761490b565b9450506020614d818782880161490b565b9350506040614d928782880161483f565b92505060608501356001600160401b03811115614db157614db1600080fd5b614dbd87828801614d27565b91505092959194509250565b60008060408385031215614ddf57614ddf600080fd5b6000614938858561483f565b600060208284031215614e0057614e00600080fd5b6000611ac38484614c21565b60008060408385031215614e2257614e22600080fd5b6000614e2e858561490b565b92505060206149498582860161490b565b634e487b7160e01b600052602260045260246000fd5b600281046001821680614e6957607f821691505b6020821081141561184257611842614e3f565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008219821115614ebb57614ebb614e92565b500190565b6012815260006020820171141d589b1a58c81b5a5b9d0818db1bdcd95960721b815291505b5060200190565b60208082528101610e2a81614ec0565b600f81526000602082016e24b731b7b93932b1ba1032ba3432b960891b81529150614ee5565b60208082528101610e2a81614efc565b601181526000602082017045786365656473206d6178206d696e747360781b81529150614ee5565b60208082528101610e2a81614f32565b6000600019821415614f7e57614f7e614e92565b5060010190565b60098152600060208201684e6f7420796f75727360b81b81529150614ee5565b60208082528101610e2a81614f85565b60608101614fc382866148eb565b614fd06020830185614a18565b611ac36040830184614a18565b6000610e2a8260601b90565b6000610e2a82614fdd565b614825615000826148da565b614fe9565b60006150118284614ff4565b50601401919050565b600d81526000602082016c4f7574206f6620626f756e647360981b81529150614ee5565b60208082528101610e2a8161501a565b601281526000602082017113595c9adb19481b5a5b9d0818db1bdcd95960721b81529150614ee5565b60208082528101610e2a8161504e565b60008282101561509957615099614e92565b500390565b6014815260006020820173125b98dbdc9c9958dd08195d1a195c881cd95b9d60621b81529150614ee5565b60208082528101610e2a8161509e565b600d81526000602082016c24b73b30b634b210383937b7b360991b81529150614ee5565b60208082528101610e2a816150d9565b60208082528101610e2a81602681527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160208201526564647265737360d01b604082015260600190565b600c81526000602082016b105b1c9958591e481919585960a21b81529150614ee5565b60208082528101610e2a81615157565b60208082527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657291019081526000614ee5565b60208082528101610e2a8161518a565b60008160001904831182151516156151e6576151e6614e92565b500290565b600f81526000602082016e4d696e74206174206c65617374203160881b81529150614ee5565b60208082528101610e2a816151eb565b601281526000602082017145786365656473206d617820737570706c7960701b81529150614ee5565b60208082528101610e2a81615221565b6000615264825190565b61527281856020860161486b565b9290920192915050565b7f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323081527f30302f737667222076696577426f783d2230203020323420323422207368617060208201527f652d72656e646572696e673d2263726973704564676573222077696474683d2260408201527f37363822206865696768743d22373638223e3c726563742077696474683d223160608201527f30302522206865696768743d2231303025222066696c6c3d222333623839666660808201526211179f60e91b60a082015260a3016000615352828761525a565b915061535e828661525a565b915061536a828561525a565b9150615376828461525a565b651e17b9bb339f60d11b81529150600682015b9695505050505050565b600c81526000602082016b139bdd081c995d99585b195960a21b81529150614ee5565b60208082528101610e2a81615393565b600581526000602082016404e6f2048560dc1b81529150614ee5565b60208082528101610e2a816153c6565b62089f4b60ea1b815260005b5060030190565b6000815461541281614e55565b600182168015615429576001811461543a5761546a565b60ff1983168652818601935061546a565b60008581526020902060005b8381101561546257815488820152600190910190602001615446565b838801955050505b50505092915050565b7f7b2274726169745f74797065223a22436c617373222c202276616c7565223a2281526000614ee5565b7f7b2274726169745f74797065223a2245796573222c202276616c7565223a2200815260005b50601f0190565b7f7b2274726169745f74797065223a224d6f757468222c202276616c7565223a2281526000614ee5565b7f7b2274726169745f74797065223a2248656164222c202276616c7565223a2200815260006154c3565b7f7b2274726169745f74797065223a224261636b67726f756e64222c202276616c8152643ab2911d1160d91b6020820152602501600061555e828961525a565b9150615569826153f2565b7f7b2274726169745f74797065223a224f7574666974222c202276616c7565223a8152601160f91b602082015260210191506155a58288615405565b91506155b0826153f2565b91506155bb82615473565b91506155c78287615405565b91506155d2826153f2565b91506155dd8261549d565b91506155e98286615405565b91506155f4826153f2565b91506155ff826154ca565b915061560b8285615405565b9150615616826153f2565b9150615621826154f4565b915061562d8284615405565b9150615638826153f2565b98975050505050505050565b6080810161565282876148eb565b61565f60208301866148eb565b61566c6040830185614a18565b81810360608301526153898184614897565b8051610e2a816147de565b60006020828403121561569e5761569e600080fd5b6000611ac3848461567e565b7f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323081527f30302f737667222076696577426f783d2230203020323420323422207368617060208201527f652d72656e646572696e673d2263726973704564676573222077696474683d2260408201527f37363822206865696768743d22373638223e3c726563742077696474683d223160608201527f30302522206865696768743d2231303025222066696c6c3d22230000000000006080820152609a0190565b6211179f60e91b815260006153fe565b6000615786826156aa565b91506157928289615405565b915061579d8261576b565b91506157a9828861525a565b91506157b5828761525a565b91506157c1828661525a565b91506157cd828561525a565b91506157d9828461525a565b651e17b9bb339f60d11b8152915060068201615638565b6803d913730b6b2911d160bd1b815260005b5060090190565b6d2243727970746f4564646965202360901b815260005b50600e0190565b61088b60f21b815260005b5060020190565b6d2261747472696275746573223a5b60901b81526000615820565b6d16101136b0bc2fbb30b63ab2911d60911b81526000615820565b621f574b60ea1b815260006153fe565b7f22696d616765223a2022646174613a696d6167652f7376672b786d6c3b626173815263194d8d0b60e21b602082015260240190565b61227d60f01b81526000615832565b60006158cf826157f0565b91506158da82615809565b91506158e6828961525a565b91506158f182615827565b7f226465736372697074696f6e223a202243727970746f4564646965732069732081527f616e2031303025206f6e2d636861696e206578706572696d656e74616c204e4660208201527f54206368617261637465722070726f6a656374207769746820756e697175652060408201527f66756e6374696f6e616c6974792c20696e73706972656420627920726574726f6060820152700812985c185b995cd948149411dccb888b607a1b608082015260910191506159ae82615839565b91506159ba828861525a565b91506159c6828761525a565b7f7b2274726169745f74797065223a224850222c202276616c7565223a000000008152601c0191506159f8828661525a565b9150615a0382615854565b9150615a0f828561525a565b9150615a1a8261586f565b9150615a258261587f565b9150615a31828461525a565b9150615638826158b5565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000008152601d016000611f15828461525a565b6000615a79826157f0565b9150615a8482615809565b9150615a90828561525a565b9150615a9b82615827565b7f226465736372697074696f6e223a202243727970746f4564646965732069732081527f616e2031303025206f6e2d636861696e206578706572696d656e74616c20636860208201527f61726163746572206172742070726f6a6563742c206368696c6c696e206f6e2060408201527f74686520457468657265756d20626c6f636b636861696e2e222c00000000000060608201527f2261747472696275746573223a5b7b2274726169745f74797065223a22556e72607a8201527f657665616c6564222c202276616c7565223a2254727565227d5d2c0000000000609a82015260b5019150615b8a8261587f565b9150615b96828461525a565b9150611ac3826158b5565b6000615bac826156aa565b9150615bb88285615405565b9150615bc38261576b565b9150615bcf828461525a565b651e17b9bb339f60d11b8152915060068201611ac3565b6000615bf28286614a18565b602082019150615c028285614a18565b602082019150615c128284614ff4565b506014019392505050565b634e487b7160e01b600052601260045260246000fd5b600082615c4257615c42615c1d565b500690565b600082615c5657615c56615c1d565b500490565b68222066696c6c3d222360b81b81526000615802565b6000615c7d828861525a565b6c1e3932b1ba103bb4b23a341e9160991b8152600d019150615c9f828761525a565b6f11103432b4b3b43a1e911891103c1e9160811b81526010019150615cc4828661525a565b6411103c9e9160d91b81526005019150615cde828561525a565b9150615ce982615c5b565b9150615cf5828461525a565b9150615d008261576b565b979650505050505050565b7f7b2274726169745f74797065223a2244657465726d696e6174696f6e222c202281527f646973706c61795f74797065223a20226e756d626572222c202276616c7565226020820152601d60f91b604082015260005b5060410190565b611f4b60f21b81526000615832565b7f7b2274726169745f74797065223a224c6f7665222c2022646973706c61795f748152773cb832911d1011373ab6b132b9111610113b30b63ab2911d60411b602082015260005b5060380190565b7f7b2274726169745f74797065223a22426f6e6b222c2022646973706c61795f748152773cb832911d1011373ab6b132b9111610113b30b63ab2911d60411b60208201526000615dbe565b7f7b2274726169745f74797065223a224d6167696320446566656e7365222c202281527f646973706c61795f74797065223a20226e756d626572222c202276616c7565226020820152601d60f91b60408201526000615d61565b6000615e7582615d0b565b9150615e81828861525a565b9150615e8c82615d68565b9150615e9782615d77565b9150615ea3828761525a565b9150615eae82615d68565b7f7b2274726169745f74797065223a224372696e6765222c2022646973706c617981527f5f74797065223a20226e756d626572222c202276616c7565223a0000000000006020820152603a019150615f06828661525a565b9150615f1182615d68565b9150615f1c82615dc5565b9150615f28828561525a565b9150615f3382615d68565b9150615f3e82615e10565b9150615f4a828461525a565b9150615d0082615d6856fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212209b6202437b0eee97bed6843dac23f48deb6d09aad55cfc56d372ff8886801f9c64736f6c63430008090033df00050f0210020f0210010f0f00010f0210020f0210010f11000110020f01000110020f500009020e000102090101020c000102010109dd010101020a000102010102dd070202dd0101010209000102010101dd010209dd0101010209000102010101dd010209dd0101010209000102010101dd010209dd010101020800010202010bdd0101010207000102010102020bdd0101010207000102010103dd010205dd019203dd0102010101020700010202010cdd010101020800020201010bdd010101020a000102010109dd010101020a000102010101de090101020a000102010101dd010207dd010101020a000102010101dd0102010102dd019f01dd019f01dd020101020a000102010102dd0102010105dd01010102010101020a000102010102dd010101dd020202dd010101dd010101020b000102020106dd020101020d000102010101dd040101dd010101020e000102010101dd01010202010101dd01010102ff008900017a1600097a0e00017b017a0100067a0f00017a0300057a1300057a1200017c047d017c1200017c0400017cc400010201090100010113000102010903020200040a03000101090001020101010201090302010a010b020a0100020101020b000102010901020200030a0300010101020b0003021700010117000101200009020e000102090101020c000102010103240625010101020a000102010102240925010101020500050201010124062502000225010101020500010205010124052504000125010101020500010201010424062504260125010106000202030114000302e200040c0100040c0c00040c01020101030c01020101010c0f00010c01020101010c0100010c01020101010c0f00040c0100040c2d000102300001022e0001021700010248000102170001022f00010229000101011f0202012015000201500009020e000102090101020c00010201010993010101020a00010201010b930101010209000102010103930894010101020900010201010293099401010102090001020101029309940101010208000102020102930994010101020700010201010294029309940101010207000102010103940193059401950494010101020700010202010c94010101020800020201010b94010101020a00010201010994010101020a00010201010194090101020a00010201010994010101020a00010201010294010102940195019401950194020101020a000102010103940101059401010194010101020a000102010102940101059401010194010101020b00010202010694020101020d0001020101019404010194010101020e00010201010194010102020101019401010102ff00a300010203000102120006021300050213000502120006881200018804000188ff0089000182160009820e0002820100028201160182011601820f000182030001820316018213000582120006161200011604000116500009020e000102090101020c0001020b0101020a0001020d0101020900010205010302050101020900010204010502040101020900010203010202030102020301010208000102040102020301020203010102070001020a010202030101020700010209010202050101020700010207010202060101020800020205010202060101020a0001020b0101020a00010205010202040101020a00010206010202030101020a0001020c0101020a0001020d0101020a0001020c0101020b0001020a0101020d000102080101020e0001020301020203010102ff00890001021600040201010100010102020e00020201000302010102020f0001020300050213000568120006021200010204000102120001020400010208000b020c00020203010302030102020b000102010103020101010201010302010101020b00010201010102014c01020101010001010102014c0102010101020b00010201000102014c0102010102000102014c0102010101020c000a02010101020b000202160001021700010217000102170001029c00070110000101060201010f0001010802010101020d00010101020117010101170102011701010117010101020a00040102020118030201180102010101020d0001010202011801010102010101180102010101020d000101020201180102010101020118010201010f00010101020118030201180101110006010b00010203010102110002020101014501010145010101020f00010204010145030101020d00010201010846010101020b00010201010346010201010146010201010246010102020800010201010b460301010209000346014709450101010209000246014702000745010101020a000246014715000146014716000146014716000247170001471700014717000148ff00890001731600027301740173017401730174017301740e00027301000173017401730174017301740f000173030001730174017301740173130005731200067512000175040001751200017504000175090004021300020203010302100001020101034d0301010211000201014e034d010101020d000102020101000101044e014d010101020b0001020101094e014d010101020900010201010b4e01010102090001020101034e0300024e030001010102090001020101024e0900010101020b00024e0900010101020b00024e0900010101020b00024e0900010101020c00014ecc0001010300010111000201050001011100010201010300010101021100010201010300010101029b000801010001020d0001010816010101020c00010108160101010001020c0001010216010103160101011601010e000101081601010e0001010216010103160101011601010e00010103160301021601010f000101081610000801200009020e000102090101020c00010201010938010101020a0001020101023809390101010209000102010101380a39010101020900010201010b3901010102090001020101033908000101010209000102010102390900010101020b0002390900010101020b0002390900010101020b0002390900010101020c000139e2000101010001010200010101000101110001010400010111000101010001010200010101000101df00031102120213021202131000011202130212021301121100011302120100011302122800010216000102010101020e0007020101013f010101020c0001020701013f0140010101020b00010201010a40010101020900010201010b400101010209000102010103400300024003000101010209000102010102400900010101020b0002400900010101020b0002400900010101020b0002400900010101020c000140ff00890001651600046501010100010102650e00026501000365010102650f000165030001650101036513000366010301661200066512000165040001651200016504000165500009020e000102090101020c00010201010991010101020a00010201010b910101010209000102010103910881010101020900010201010291098101010102090001020101029109810101010208000102020102910981010101020700010201010281029109810101010207000102010103810191058101920481010101020700010202010c81010101020800020201010b81010101020a00010201010981010101020a00010201010181090101020a00010201010981010101020a00010201010281010102810192018101920181020101020a000102010103810101058101010181010101020a000102010102810101058101010181010101020b00010202010681020101020d0001020101018104010181010101020e00010201010181010102020101018101010102ff0089000186160009860e00028601000286012b0186012b01860f00018603000286012b0286130005861200068712000187040001871200018704000187200009020e000102090101020c0001020101032c062d010101020a0001020101022c092d01010102050005020101012c062d0201022d01010102050001020501012c052d0401012d01010102050001020101042c062d042e012d010106000202030114000302ff00a3000583120003830184028313000183018401830184018313000583120006851200018504000185500009020e000102090101020c00010201010902010101020a00010201010b02010101020900010201010b02010101020900010201010b02010101020900010201010b02010101020800010202010b02010101020700010201010d0201010102070001020101090201920402010101020700010202010c02010101020800020201010b02010101020a00010201010902010101020a00010201010102090101020a00010201010902010101020a00010201010202010102020192010201920102020101020a000102010103020101050201010102010101020a000102010102020101050201010102010101020b00010202010602020101020d0001020101010204010102010101020e00010201010102010102020101010201010102ff00a300019001000190010001901200019001000190010001901400019001000190010001901400019001000190140001900100019001000190090007020f000202070102020c00010202010738020101020a000102010103380139013802390138013902380101010208000102010102380a3901380101010206000102010102380439013a0339013a0339010101020600010201010539073a03390101010204000102010102380239023a0700023a01390101010204000102010101380239023a0900023a0101010204000102010101380139013a0139013a0900023a01010102040001020101013a0139033a0900013a0101010206000102010101390100023a0b00010206000102010101390200013a130001020101013a160001020101013a160001020101ff008900017e1600017e017f017e017f018001000180017f017e0e0002810100017f017e017f0180017f017e0f0001810300017f017e017f017e017f1300017e017f017e017f017e1200017e017f017e017f017e017f1200017e0400017e0a0001020141010215000202014103021100010206410102100001410342014101430142014101020e00014104440142014101440142014101020e00014107440141100003410344024113000341200009020e000102090101020c000102010103270628010101020a000102010102270928010101020500050201010127062802000228010101020500010205010127052804000128010101020500010201010427062804260128010106000202030114000302800001510152015101520151015203510e0003510152015101520151015203510d0003511500025116000251160002511600025117000151e300020e0300020e0d00040e0202030e0202010e0f00010e0202010e0100010e0202010e1000020e0300020e2100010205000102100001020101010203000102010101020e00010201010102010101020100010201010102010101020d00010201010202010101000101020201010102200009020e00020204010102030101020c0002020101043501010335010101020b0001020101013501360137010201010236010201010135010101020a0001020101013509360101010209000102010101350a3601010102090001020101013502360300023603000101010209000102010102360900010101020b0002360900010101020b0002360900010101020b0002360900010101020c000136b2000319140005191300011903010119030001010f00011901010103010101190100020101020f000119030101190200010101020f0005191200041914000219200009020e000102090103020a00010201010129022a022b07010102080001020101022a022b0201072a01010102070001020101012a022b0101092a0101010208000101012a012b01010a2a0101010208000101012a01010a2a010101022100010205000102100001020101010203000102010101020e00010201010103010101020100010201010103010101020d00010201010203010101000101020301010102500009020e000102090101020c00010201010999010101020a00010201010b99010101020900010201010399089a010101020900010201010299099a010101020900010201010299099a010101020800010202010299099a01010102070001020101029a0299099a01010102070001020101039a0199059a0192049a010101020700010202010c9a010101020800020201010b9a010101020a0001020101099a010101020a00010201010136090101020a0001020101099a010101020a0001020101029a01010136059a020101020a0001020101039a01010136049a0101019a010101020a0001020101029a01010136049a0101019a010101020b0001020201069a020101020d0001020101019a0401019a010101020e0001020101019a010102020101019a01010102ff006e0001020101015b140001020101035b01011200010201010a5b01010102090001020101065b065c01010102080001020101025b025c045b045c01010102080001020101035b055c045b01010102080001020101045b085c01010102080001020101025b015c035b065c01010102080001020101025b035c035b045c01010102500009020e000102090101020c0001020101099b010101020a00010201010b9b01010102090001020101039b089c01010102090001020101029b099c01010102090001020101029b099c01010102080001020201029b099c01010102070001020101029c029b099c01010102070001020101039c019b059c019d049c010101020700010202010c9c010101020800020201010b9c010101020a0001020101099c010101020a0001020101019e090101020a0001020101099e010101020a0001020101029e0101029e019f019e019f019e020101020a0001020101039e0101059e010101a0010101020a0001020101029e0101059e010101a0010101020b0001020201069e020101020d0001020101019e0401019e010101020e0001020101019e010102020101019e010101020b00010201010202130001020101012f02010102110001020101012f0130022f010101020f0001020101033102300131010101020d0001020101012f0630012f010101020b0001020101012f01300731010101020b000102010101310730022f010101020c000a312800010216000102010101020e00070201010138010101020c000102070101380139010101020b00010201010a39010101020900010201010b390101010209000102010103390300023903000101010209000102010102390900010101020b0002390900010101020b0002390900010101020b0002390900010101020c000139ff00b800010316000303070001030e0002030100050201000103100006621200016204000162ff008900016f1600096f0e00026f0100026f0370016f0f00016f02710100016f017001720170016f010001710e0002710100016f0370016f010001711000066f1200016f0400016f1200016f0400016f500009020e000102090101020c00010201010996010101020a00010201010b960101010209000102010103960897010101020900010201010296099701010102090001020101029609970101010208000102020102960997010101020700010201010297029609970101010207000102010103970196059701920497010101020700010202010c97010101020800020201010b97010101020a00010201010997010101020a00010201010198090101020a00010201010998010101020a00010201010298010102980192019801920198020101020a000102010103980101059801010198010101020a000102010102980101059801010198010101020b00010202010698020101020d0001020101019804010198010101020e00010201010198010102020101019801010102ff00890001021600040201010167010102020e000202010002020101010a010101020f000102030001020101010a01010102130002680101026812000669120001690400016912000169040001699c00070110000101060201010f0001010802010101020d00010102020101030201010102010101020a000401040201030302010101020d00010102020101030201010102010101020d00010103020301020201010f0001010602010111000601390008020e000202080101020c0001020201083e010101020a0001020101023e093c01010102080001020101023e0a3c01010102080001020101013e073c0100033c01010102080001020101043c080001010102080001020101033c0900010101020b00023c0900010101020b00023c0900010101020c00013c2b0001020101013c150001020101023c14000202ff006e0001020101015614000102010103560101120001020101045601570158045601010102090001020101035601590157015806590101010208000102010102560259015701580359015802590101010208000102010102560159015701580759010101020800010201010256015901570158025901580459010101020800010201010256015901570158055901580159010101020800010201010256015901570158015901580559010101021d0003021400010203010102120001020101034f0101120001020101014f025003011000010202010b500b00010202000b500a000102020003501500025016000250160002501600025017000150080001020201010203000102010101020d000102010102490101030201010149010101020c00010201010149014602010102010101490146010101020c000102010103460101010001010246010101020e0001010246010102000146020001020d000249064601490e0001490246074a01460d0001490146014a0700014a0d000146014a16000146014a16000146014a16000146014a1700014aff0089000177160009770e000277010006770f000177030005771300057812000679120001790400017912000179040001792100020201000202010002020f0001020201010202010102020102020c000102010102380101023801010238020101020a000102010102380139013802390138013903380101010209000102010101380a390138010108000102010101380c39010108000102010103390300023903000201010208000102010102390900010101020b0002390900010101020b0002390900010101020b0002390900010101020c0001392800010216000102010101020e00070201010102010101020c00010207010202010101020b00010201010a02010101020900010201010b020101010209000102010103020300020203000101010209000102010102020900010101020b0002020900010101020b0002020900010101020b0002020900010101020c0001023a00050211000202050102020e00010202010532020101020c00010201010932010101020a000102010101330a34010101020b0001330a34ff008900016a1600046a0101016b0101026a0e00026a0100026a0101016c0101016a0f00016a0300016a0101016b0101016a13000268010102681200066912000169040001691200016904000169500009020e000102090101020c000102010109db010101020a000102010103db08dc0101010209000102010102db09dc0101010209000102010102db09dc0101010209000102010102db09dc0101010208000102020102db09dc0101010207000102010104db09dc0101010207000102010103db03dc029203dc029201dc010101020700010202010cdc010101020800020201010bdc010101020a000102010109dc010101020a000102010101db090101020a000102010104db05dc010101020a000102010102db010106dc0201010208000302010101db02dc010105dc010101dc010101020600010202010202010102dc010105dc010101dc0101010205000102010102db020101db020106dc0201010207000102010104db08dc0101010209000102010103db07dc01010102090007020e00030204010102020102020b0001020301043b0101023b02010102090001020101043b033c013b023c023b01010102070001020101023b0b3c01010102060001020101023b043c023d013c023d013c013d013c013b01010102050001020101013b033c0a3d023c01010102040001020101013b013c013d013c033d0600023d013c01010102040001020101013b013c033d0900013d013c01010102040002020101023c023d0900023d01010102040001020101023c033d0900013d01010102050001020101023c033d0900013d01010102060001020101013c0200013d130001020101013d17000101013d160001020101d300010101020d00040201000402010101020a0004020205030202030102010101020d000102020501020100010202030102010101020d000402010004020101200009020e000102090101020c00010201010921010101020a0001020101042101220121012201210122022101010102090001020101042105220221010101020a0001010b210101010001020900010101210b23020101020b000c230101010214000201010216000102e200040d0100040d0c00040d01020101030d01020101010d0f00010d01020101010d0100010d01020101010d0f00040d0100040d500009020e000102090101020c000102010109a1010101020a00010201010ba10101010209000102010103a108a20101010209000102010102a109a20101010209000102010102a109a20101010209000102010102a109a20101010209000102010102a109a20101010209000102010102a105a2019204a20101010208000102010102a10aa20101010209000102010101a10aa2010101020a000102010109a2010101020a000102010101a3090101020a000102010108a201a3010101020a000102010102a2010101a305a2020101020a000102010103a2010101a304a2010101a2010101020a000102010102a2010101a304a2010101a2010101020b000102020106a2020101020d000102010101a2040101a2010101020e000102010101a201010202010101a201010102ff001000010117000c010d0001010a1c0e000101021c011d031c011d021c0f000101071c11000101021c011d021c13000101031c15000101011c01011600010105000402020003020200040209000102020104020101040202010102090001020101014b0101020201010116010102020101011601010102090001020101014b0116020103160201021601010102090001020101024b091601010102090001020101024b011601030216010302160103011601010102090001020101034b081601010b000101ff008900018b1600098b0e00028b0100038b018c028b0f00018b0300018b038c018b1300058b1200068d1200018d0400018d1200018d0400018dcc0001160300011613000b0301030a0001160103010203160102061601160c000b0301030c00011603000116ff001000010117000c010d0001010a030e0001010203021e0103021e02030f0001010703110001010103021e0203130001010303150001010103010116000101ff0089000189160009890e00028901000389020101890f0001890300018902010289130005891200068a1200018a0400018aff006d0001020101025d140001020201025d0101120002020101045d0101015d0101025d0c0001020101025d0101025d0101015d0101015d0d0001020101015d02000101055d120006011200065e1200015e0400015e1200015e0400015e500009020e000102090101020c000102010109a4010101020a00010201010ba40101010209000102010101a505a601a701a801a901a601aa0101010209000102010101ab01ac01ad01ac01ad01ac01ad01ac03ad0101010209000102010101ae01af01b001b102b001b201ae01b001ae01b00101010208000102020102b301b402b301b401b501b401b501b301b40101010207000102010101b601b701b601b801b901b701ba02b604b90101010207000102010101bb01bc01bd01be01bd02bb03bd01bb01be01bc01bd0101010207000102020102bf01c001c101c202c002bf01c001bf01c00101010208000202010101c301c401c501c401c601c402c702c801c3010101020a000102010101c901ca01c902cb01cc01cb01c901cb010101020a000102010101cd090101020a000102010101ce01cf02ce02d001d101d001d2010101020a000102010101d301d4010102d404d3020101020a000102010101d501d601d7010102d601d702d5010101d6010101020a000102010101d801d9010101d804d9010101d9010101020b000102020106da020101020d000102010101da040101da010101020e000102010101da01010202010101da01010102ff006e0001020101015f140001020101035f01011200010201010a5f01010102090001020101035f096001010102080001020101025f0a6001010102080001020101025f0a6001010102080001020101025f0a6001010102080001020101025f0a6001010102080001020101025f0a6001010102840003061700020616000206040001020d000106090701020a00040604070108040701020a0004060307010801070108030701020d00010609070102170001021d000302140001020301010212000102010103530101120001020101035303011000010202010b530b00010202000b530a000102020003531500025316000253160002531600025317000153ff008800010101631600046301010100010102630e00026301000363010102630f0001630300016301010363130005641200066312000163040001631200016304000163

Deployed Bytecode

0x6080604052600436106104525760003560e01c806387be5c981161023f578063b39a299e11610139578063e0357403116100b6578063ebb8e2971161007a578063ebb8e29714610d31578063f0503e8014610d51578063f2fde38b14610d7e578063f658575114610d9e578063fb38397114610dbe57600080fd5b8063e035740314610ca5578063e0a8085314610cbb578063e489d51014610cdb578063e603068814610cf1578063e985e9c514610d1157600080fd5b8063c7ece1a5116100fd578063c7ece1a514610c05578063c87b56dd14610c25578063d485204414610c45578063d9a526ce14610c65578063dc33e68114610c8557600080fd5b8063b39a299e14610b58578063b88d4fde14610b78578063be985ac914610b98578063c4893d5114610bb8578063c7e51dcb14610be557600080fd5b8063958ba0bf116101c7578063a3053dd51161018b578063a3053dd514610ac2578063a3bcb09a14610ae2578063ad99cc8a14610b02578063ae3aab3b14610b18578063af42527f14610b3857600080fd5b8063958ba0bf14610a1f57806395d89b4114610a3f57806398a871f014610a545780639da3f8fd14610a74578063a22cb46514610aa257600080fd5b80638f9d96de1161020e5780638f9d96de146109965780639016f18d146109b657806390e14215146109c957806390f1d5dc146109df5780639299e7c8146109ff57600080fd5b806387be5c981461091857806387d187ee1461093857806388aab716146109585780638da5cb5b1461097857600080fd5b80634d899d86116103505780636404fcd1116102d85780637cac00f01161029c5780637cac00f01461086b5780637cb647591461088b5780637e980e00146108ab57806381bbc8ef146108cb5780638462151c146108eb57600080fd5b80636404fcd1146107d8578063697e2224146107f8578063708b8f991461080e57806370a0823114610836578063715018a61461085657600080fd5b806358dc90ec1161031f57806358dc90ec146107425780635a503f13146107625780635b2b538614610782578063632d76bd146107a25780636352211e146107b857600080fd5b80634d899d86146106b457806351830227146106d457806352b5ef0a146106f557806353165ab91461072257600080fd5b80631f1bbf40116103de5780632f2f049d116103a25780632f2f049d1461062a5780633ccfd60b1461064a5780633d9c5f371461065f57806342842e0e1461067457806344cee73c1461069457600080fd5b80631f1bbf40146105ab57806323b872dd146105cb57806328ad15f4146105eb5780632dd6668a146106015780632eb4a7ab1461061457600080fd5b8063095ea7b311610425578063095ea7b3146104fc5780630b2698981461051e5780630d76a6cf1461053e5780631224f8301461056b57806318160ddd1461058e57600080fd5b806301ffc9a7146104575780630596e1261461048d57806306fdde03146104ba578063081812fc146104cf575b600080fd5b34801561046357600080fd5b50610477610472366004614800565b610dde565b604051610484919061482b565b60405180910390f35b34801561049957600080fd5b506104ad6104a836600461484a565b610e30565b60405161048491906148c9565b3480156104c657600080fd5b506104ad610edc565b3480156104db57600080fd5b506104ef6104ea36600461484a565b610f6e565b60405161048491906148f4565b34801561050857600080fd5b5061051c610517366004614916565b610fb2565b005b34801561052a57600080fd5b5061051c6105393660046149a4565b611052565b34801561054a57600080fd5b5060235461055e906001600160a01b031681565b6040516104849190614a0a565b34801561057757600080fd5b5061058160215481565b6040516104849190614a1e565b34801561059a57600080fd5b506014546013540360001901610581565b3480156105b757600080fd5b506104ad6105c636600461484a565b611119565b3480156105d757600080fd5b5061051c6105e6366004614a2c565b611129565b3480156105f757600080fd5b5061058160205481565b61051c61060f36600461484a565b6112bf565b34801561062057600080fd5b5061058160265481565b34801561063657600080fd5b506104ad61064536600461484a565b61136f565b34801561065657600080fd5b5061051c61137a565b34801561066b57600080fd5b50610581600581565b34801561068057600080fd5b5061051c61068f366004614a2c565b6113b1565b3480156106a057600080fd5b506104ad6106af36600461484a565b6113d1565b3480156106c057600080fd5b5061051c6106cf366004614a7c565b6113e1565b3480156106e057600080fd5b5060235461047790600160a81b900460ff1681565b34801561070157600080fd5b5061071561071036600461484a565b61143a565b6040516104849190614ad5565b34801561072e57600080fd5b5061051c61073d36600461484a565b61146e565b34801561074e57600080fd5b5061051c61075d366004614916565b611477565b34801561076e57600080fd5b506104ad61077d36600461484a565b611489565b34801561078e57600080fd5b5061071561079d36600461484a565b611499565b3480156107ae57600080fd5b50610581601e5481565b3480156107c457600080fd5b506104ef6107d336600461484a565b6114a9565b3480156107e457600080fd5b506104ad6107f336600461484a565b6114b4565b34801561080457600080fd5b50610581601c5481565b34801561081a57600080fd5b506104ef73e4bbcbff51e61d0d95fcc5016609ac8354b177c481565b34801561084257600080fd5b50610581610851366004614ae3565b6114bf565b34801561086257600080fd5b5061051c61150d565b34801561087757600080fd5b5061051c610886366004614ae3565b611521565b34801561089757600080fd5b5061051c6108a636600461484a565b61154b565b3480156108b757600080fd5b5061051c6108c636600461484a565b611558565b3480156108d757600080fd5b506104776108e6366004614b04565b61169a565b3480156108f757600080fd5b5061090b610906366004614ae3565b6116da565b6040516104849190614bb1565b34801561092457600080fd5b5061071561093336600461484a565b6117e9565b34801561094457600080fd5b5061058161095336600461484a565b6117f9565b34801561096457600080fd5b506104ad61097336600461484a565b611848565b34801561098457600080fd5b50601b546001600160a01b03166104ef565b3480156109a257600080fd5b506107156109b136600461484a565b611858565b61051c6109c4366004614a7c565b611868565b3480156109d557600080fd5b5061058160225481565b3480156109eb57600080fd5b506104ad6109fa36600461484a565b6119be565b348015610a0b57600080fd5b506104ad610a1a36600461484a565b6119ce565b348015610a2b57600080fd5b506104ad610a3a36600461484a565b6119de565b348015610a4b57600080fd5b506104ad6119ee565b348015610a6057600080fd5b506104ad610a6f36600461484a565b6119fd565b348015610a8057600080fd5b50602354610a9590600160a01b900460ff1681565b6040516104849190614c0b565b348015610aae57600080fd5b5061051c610abd366004614c2c565b611a0d565b348015610ace57600080fd5b506104ad610add36600461484a565b611aa6565b348015610aee57600080fd5b50610477610afd366004614a7c565b611ab6565b348015610b0e57600080fd5b50610581601d5481565b348015610b2457600080fd5b5061051c610b3336600461484a565b611acb565b348015610b4457600080fd5b506104ad610b5336600461484a565b611b0f565b348015610b6457600080fd5b506104ad610b7336600461484a565b611b1f565b348015610b8457600080fd5b5061051c610b93366004614d4b565b611b2f565b348015610ba457600080fd5b506104ad610bb336600461484a565b611b79565b348015610bc457600080fd5b50610581610bd336600461484a565b60256020526000908152604090205481565b348015610bf157600080fd5b50610715610c0036600461484a565b611b84565b348015610c1157600080fd5b5061051c610c20366004614dc9565b611b94565b348015610c3157600080fd5b506104ad610c4036600461484a565b611ba7565b348015610c5157600080fd5b506104ad610c6036600461484a565b611c09565b348015610c7157600080fd5b5061051c610c803660046149a4565b611c14565b348015610c9157600080fd5b50610581610ca0366004614ae3565b611c57565b348015610cb157600080fd5b50610581601f5481565b348015610cc757600080fd5b5061051c610cd6366004614deb565b611c62565b348015610ce757600080fd5b50610581610dac81565b348015610cfd57600080fd5b506104ad610d0c36600461484a565b611c88565b348015610d1d57600080fd5b50610477610d2c366004614e0c565b611c98565b348015610d3d57600080fd5b5061051c610d4c366004614a7c565b611cc6565b348015610d5d57600080fd5b50610581610d6c36600461484a565b60246020526000908152604090205481565b348015610d8a57600080fd5b5061051c610d99366004614ae3565b611d69565b348015610daa57600080fd5b5061051c610db9366004614dc9565b611da0565b348015610dca57600080fd5b506104ad610dd936600461484a565b611e58565b60006301ffc9a760e01b6001600160e01b031983161480610e0f57506380ac58cd60e01b6001600160e01b03198316145b80610e2a5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60078181548110610e4057600080fd5b906000526020600020016000915090508054610e5b90614e55565b80601f0160208091040260200160405190810160405280929190818152602001828054610e8790614e55565b8015610ed45780601f10610ea957610100808354040283529160200191610ed4565b820191906000526020600020905b815481529060010190602001808311610eb757829003601f168201915b505050505081565b606060158054610eeb90614e55565b80601f0160208091040260200160405190810160405280929190818152602001828054610f1790614e55565b8015610f645780601f10610f3957610100808354040283529160200191610f64565b820191906000526020600020905b815481529060010190602001808311610f4757829003601f168201915b5050505050905090565b6000610f7982611e68565b610f96576040516333d1c03960e21b815260040160405180910390fd5b506000908152601960205260409020546001600160a01b031690565b6000610fbd826114a9565b9050336001600160a01b03821614610ff657610fd98133611c98565b610ff6576040516367d9dca160e11b815260040160405180910390fd5b60008281526019602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61105a611e9d565b8181600081811061106d5761106d614e7c565b6020029190910135601f55508181600181811061108c5761108c614e7c565b6020029190910135601c5550818160028181106110ab576110ab614e7c565b90506020020135602081905550818160038181106110cb576110cb614e7c565b6020029190910135601d5550818160048181106110ea576110ea614e7c565b90506020020135601e81905550610dac602054601f5461110a9190614ea8565b111561111557600080fd5b5050565b600e8181548110610e4057600080fd5b600061113482611ec7565b9050836001600160a01b0316816001600160a01b0316146111675760405162a1148160e81b815260040160405180910390fd5b600082815260196020526040902080546111938187335b6001600160a01b039081169116811491141790565b6111be576111a18633611c98565b6111be57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166111e557604051633a954ecd60e21b815260040160405180910390fd5b6111f28686866001611f37565b80156111fd57600082555b6001600160a01b038681166000908152601860205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260176020526040902055600160e11b831661128857600184016000818152601760205260409020546112865760135481146112865760008181526017602052604090208490555b505b83856001600160a01b0316876001600160a01b0316600080516020615f9683398151915260405160405180910390a4505050505050565b6002602354600160a01b900460ff1660028111156112df576112df614bc2565b146113055760405162461bcd60e51b81526004016112fc90614eec565b60405180910390fd5b61130e81611fc9565b34101561132d5760405162461bcd60e51b81526004016112fc90614f22565b6021548161133a33612013565b6113449190614ea8565b11156113625760405162461bcd60e51b81526004016112fc90614f5a565b61136c338261203b565b50565b6060610e2a826120f2565b611382611e9d565b6040514790339082156108fc029083906000818181858888f19350505050158015611115573d6000803e3d6000fd5b6113cc83838360405180602001604052806000815250611b2f565b505050565b600a8181548110610e4057600080fd5b8160005b8181101561143357600085858381811061140157611401614e7c565b90506020020160208101906114169190614ae3565b9050611422818561203b565b5061142c81614f6a565b90506113e5565b5050505050565b6009818154811061144a57600080fd5b9060005260206000209060209182820401919006915054906101000a900460ff1681565b61136c81612720565b61147f611e9d565b611115828261203b565b600d8181548110610e4057600080fd5b6003818154811061144a57600080fd5b6000610e2a82611ec7565b6060610e2a82612829565b60006001600160a01b0382166114e8576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152601860205260409020546001600160401b031690565b611515611e9d565b61151f6000612ba8565b565b611529611e9d565b602380546001600160a01b0319166001600160a01b0392909216919091179055565b611553611e9d565b602655565b611561816114a9565b6001600160a01b0316336001600160a01b0316146115915760405162461bcd60e51b81526004016112fc90614fa5565b61159a81612bfa565b6000818152602560205260409020541561166c576000818152602560205260408082208290555182917fc1b3760fc574b5ee510d3e6bae7f855b7b4e17967da0fec0882aab3cbab3afe891a26023546001600160a01b03161561166c5760235460008281526024602052604090819020549051633c4dde0160e21b81526001600160a01b039092169163f1377804916116399133918691600401614fb5565b600060405180830381600087803b15801561165357600080fd5b505af1158015611667573d6000803e3d6000fd5b505050505b60405181907fb6198b9c863f6d8c55d9cdeb75b5cd140a17c2c4995c67a952014964e8c7924490600090a250565b600080826040516020016116ae9190615005565b6040516020818303038152906040528051906020012090506116d1858583612c05565b95945050505050565b606060008060006116ea856114bf565b90506000816001600160401b0381111561170657611706614c5f565b60405190808252806020026020018201604052801561172f578160200160208202803683370190505b50905061175c60408051608081018252600080825260208201819052918101829052606081019190915290565b60015b8386146117dd5761176f81612c48565b9150816040015115611780576117d5565b81516001600160a01b03161561179557815194505b876001600160a01b0316856001600160a01b031614156117d557808387806001019850815181106117c8576117c8614e7c565b6020026020010181815250505b60010161175f565b50909695505050505050565b6006818154811061144a57600080fd5b600081600181101580156118145750611810612cc6565b8111155b6118305760405162461bcd60e51b81526004016112fc9061503e565b60008381526025602052604090205491505b50919050565b60118181548110610e4057600080fd5b600f818154811061144a57600080fd5b6001602354600160a01b900460ff16600281111561188857611888614bc2565b14806118b157506002602354600160a01b900460ff1660028111156118af576118af614bc2565b145b6118cd5760405162461bcd60e51b81526004016112fc90615077565b60006118d833612013565b6021549091506118e88383614ea8565b11156119065760405162461bcd60e51b81526004016112fc90614f5a565b600060225482101561192357816022546119209190615087565b90505b600061192f8285615087565b905061193a81611fc9565b3410156119595760405162461bcd60e51b81526004016112fc906150c9565b60003360405160200161196c9190615005565b60405160208183030381529060405280519060200120905061198f878783612c05565b6119ab5760405162461bcd60e51b81526004016112fc906150fd565b6119b5338661203b565b50505050505050565b60048181548110610e4057600080fd5b60028181548110610e4057600080fd5b60008181548110610e4057600080fd5b606060168054610eeb90614e55565b60088181548110610e4057600080fd5b6001600160a01b038216331415611a375760405163b06307db60e01b815260040160405180910390fd5b336000818152601a602090815260408083206001600160a01b038716808552925291829020805460ff191685151517905590519091907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190611a9a90859061482b565b60405180910390a35050565b60018181548110610e4057600080fd5b6000611ac3848484612c05565b949350505050565b611ad3611e9d565b806002811115611ae557611ae5614bc2565b6023805460ff60a01b1916600160a01b836002811115611b0757611b07614bc2565b021790555050565b60108181548110610e4057600080fd5b60058181548110610e4057600080fd5b611b3a848484611129565b6001600160a01b0383163b15611b7357611b5684848484612cd0565b611b73576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610e2a82612dc7565b600c818154811061144a57600080fd5b611b9c611e9d565b602191909155602255565b60608160018110158015611bc25750611bbe612cc6565b8111155b611bde5760405162461bcd60e51b81526004016112fc9061503e565b602354600160a81b900460ff1615611c0057611bf983613575565b9150611842565b611bf9836136df565b6060610e2a82613750565b8060005b81811015611b73576000848483818110611c3457611c34614e7c565b905060200201359050611c4681612720565b50611c5081614f6a565b9050611c18565b6000610e2a82612013565b611c6a611e9d565b60238054911515600160a81b0260ff60a81b19909216919091179055565b60128181548110610e4057600080fd5b6001600160a01b039182166000908152601a6020908152604080832093909416825291909152205460ff1690565b8160005b81811015611433576000858583818110611ce657611ce6614e7c565b905060200201359050600060256000838152602001908152602001600020541115611d585760008181526025602052604081208054869290611d29908490614ea8565b909155505060008181526025602052604090205460051015611d58576000818152602560205260409020600590555b50611d6281614f6a565b9050611cca565b611d71611e9d565b6001600160a01b038116611d975760405162461bcd60e51b81526004016112fc9061510d565b61136c81612ba8565b611da8611e9d565b8160018110158015611dc15750611dbd612cc6565b8111155b611ddd5760405162461bcd60e51b81526004016112fc9061503e565b600083815260256020526040902054611e085760405162461bcd60e51b81526004016112fc9061517a565b60008381526025602052604081208054849290611e26908490614ea8565b9091555050600083815260256020526040902054600510156113cc575050600090815260256020526040902060059055565b600b8181548110610e4057600080fd5b600081600111158015611e7c575060135482105b8015610e2a575050600090815260176020526040902054600160e01b161590565b601b546001600160a01b0316331461151f5760405162461bcd60e51b81526004016112fc906151bc565b60008180600111611f1e57601354811015611f1e57600081815260176020526040902054600160e01b8116611f1c575b80611f15575060001901600081815260176020526040902054611ef7565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6001600160a01b03831673e4bbcbff51e61d0d95fcc5016609ac8354b177c41415611f75576040516321ff3fbb60e21b815260040160405180910390fd5b6001600160a01b0384161580611f9257506001600160a01b038316155b15611f9c57611b73565b815b611fa88284614ea8565b81101561143357611fb9818661390b565b611fc281614f6a565b9050611f9e565b600080611fd4612cc6565b9050601f54811061200557602054601f54611fef9190614ea8565b8110611ffd57601e54612009565b601d54612009565b601c545b611f1590846151cc565b6001600160a01b03166000908152601860205260409081902054901c6001600160401b031690565b806000811161205c5760405162461bcd60e51b81526004016112fc90615211565b610dac81612068612cc6565b6120729190614ea8565b11156120905760405162461bcd60e51b81526004016112fc9061524a565b600061209a612cc6565b6120a5906001614ea8565b9050805b6120b38483614ea8565b8110156120e7576120c381613a3b565b600081815260256020526040902060059055806120df81614f6a565b9150506120a9565b50611b738484613a83565b606060006120ff83613a9d565b90506000612284601060008154811061211a5761211a614e7c565b90600052602060002001805461212f90614e55565b80601f016020809104026020016040519081016040528092919081815260200182805461215b90614e55565b80156121a85780601f1061217d576101008083540402835291602001916121a8565b820191906000526020600020905b81548152906001019060200180831161218b57829003601f168201915b50505050506000805480602002602001604051908101604052809291908181526020016000905b8282101561227b5783829060005260206000200180546121ee90614e55565b80601f016020809104026020016040519081016040528092919081815260200182805461221a90614e55565b80156122675780601f1061223c57610100808354040283529160200191612267565b820191906000526020600020905b81548152906001019060200180831161224a57829003601f168201915b5050505050815260200190600101906121cf565b50505050613c81565b6123ff60078460a001518154811061229e5761229e614e7c565b9060005260206000200180546122b390614e55565b80601f01602080910402602001604051908101604052809291908181526020018280546122df90614e55565b801561232c5780601f106123015761010080835404028352916020019161232c565b820191906000526020600020905b81548152906001019060200180831161230f57829003601f168201915b50505050506000805480602002602001604051908101604052809291908181526020016000905b8282101561227b57838290600052602060002001805461237290614e55565b80601f016020809104026020016040519081016040528092919081815260200182805461239e90614e55565b80156123eb5780601f106123c0576101008083540402835291602001916123eb565b820191906000526020600020905b8154815290600101906020018083116123ce57829003601f168201915b505050505081526020019060010190612353565b61257a600485608001518154811061241957612419614e7c565b90600052602060002001805461242e90614e55565b80601f016020809104026020016040519081016040528092919081815260200182805461245a90614e55565b80156124a75780601f1061247c576101008083540402835291602001916124a7565b820191906000526020600020905b81548152906001019060200180831161248a57829003601f168201915b50505050506000805480602002602001604051908101604052809291908181526020016000905b8282101561227b5783829060005260206000200180546124ed90614e55565b80601f016020809104026020016040519081016040528092919081815260200182805461251990614e55565b80156125665780601f1061253b57610100808354040283529160200191612566565b820191906000526020600020905b81548152906001019060200180831161254957829003601f168201915b5050505050815260200190600101906124ce565b6126f5600186606001518154811061259457612594614e7c565b9060005260206000200180546125a990614e55565b80601f01602080910402602001604051908101604052809291908181526020018280546125d590614e55565b80156126225780601f106125f757610100808354040283529160200191612622565b820191906000526020600020905b81548152906001019060200180831161260557829003601f168201915b50505050506000805480602002602001604051908101604052809291908181526020016000905b8282101561227b57838290600052602060002001805461266890614e55565b80601f016020809104026020016040519081016040528092919081815260200182805461269490614e55565b80156126e15780601f106126b6576101008083540402835291602001916126e1565b820191906000526020600020905b8154815290600101906020018083116126c457829003601f168201915b505050505081526020019060010190612649565b604051602001612708949392919061527c565b60408051601f19818403018152919052949350505050565b80600181101580156127395750612735612cc6565b8111155b6127555760405162461bcd60e51b81526004016112fc9061503e565b602354600160a81b900460ff1615156001146127835760405162461bcd60e51b81526004016112fc906153b6565b6000828152602560205260409020546127ae5760405162461bcd60e51b81526004016112fc906153e2565b6127b7826114a9565b6001600160a01b0316336001600160a01b0316146127e75760405162461bcd60e51b81526004016112fc90614fa5565b6127f082613a3b565b6127fa823361390b565b60405182907f180097c0f693b32adc5ebc4a2b16a6d6f161da41e9333be8eca0697abb29559490600090a25050565b6060600061283683613a9d565b604080516103408101825260016103008201818152600360fc1b610320840152825282518084018452818152603160f81b6020828101919091528084019190915283518085018552828152601960f91b818301528385015283518085018552828152603360f81b81830152606084015283518085018552828152600d60fa1b81830152608084015283518085018552828152603560f81b8183015260a084015283518085018552828152601b60f91b8183015260c084015283518085018552828152603760f81b8183015260e084015283518085018552828152600760fb1b8183015261010084015283518085018552828152603960f81b8183015261012084015283518085018552600280825261031360f41b828401526101408501919091528451808601865281815261313160f01b818401526101608501528451808601865281815261189960f11b818401526101808501528451808601865281815261313360f01b818401526101a085015284518086018652818152610c4d60f21b818401526101c08501528451808601865281815261313560f01b818401526101e08501528451808601865281815261189b60f11b818401526102008501528451808601865281815261313760f01b818401526102208501528451808601865281815261062760f31b818401526102408501528451808601865281815261313960f01b818401526102608501528451808601865281815261032360f41b818401526102808501528451808601865281815261323160f01b818401526102a08501528451808601865281815261191960f11b818401526102c08501528451808601909552845261323360f01b908401526102e08201929092528251929350916000918391612ac091614ea8565b60188110612ad057612ad0614e7c565b6020020151600b846020015181548110612aec57612aec614e7c565b90600052602060002001600e856040015181548110612b0d57612b0d614e7c565b906000526020600020016002866060015181548110612b2e57612b2e614e7c565b906000526020600020016005876080015181548110612b4f57612b4f614e7c565b9060005260206000200160088860a0015181548110612b7057612b70614e7c565b90600052602060002001604051602001612b8f9695949392919061551e565b60408051601f1981840301815291905295945050505050565b601b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61136c816000614040565b6000611ac3848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506026549150859050614180565b604080516080810182526000808252602082018190529181018290526060810191909152600082815260176020526040902054610e2a90604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b6013546000190190565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612d05903390899088908890600401615644565b602060405180830381600087803b158015612d1f57600080fd5b505af1925050508015612d4f575060408051601f3d908101601f19168201909252612d4c91810190615689565b60015b612daa573d808015612d7d576040519150601f19603f3d011682016040523d82523d6000602084013e612d82565b606091505b508051612da2576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60606000612dd483613a9d565b905060006012826000015181548110612def57612def614e7c565b90600052602060002001612f74600d846040015181548110612e1357612e13614e7c565b906000526020600020018054612e2890614e55565b80601f0160208091040260200160405190810160405280929190818152602001828054612e5490614e55565b8015612ea15780601f10612e7657610100808354040283529160200191612ea1565b820191906000526020600020905b815481529060010190602001808311612e8457829003601f168201915b50505050506000805480602002602001604051908101604052809291908181526020016000905b8282101561227b578382906000526020600020018054612ee790614e55565b80601f0160208091040260200160405190810160405280929190818152602001828054612f1390614e55565b8015612f605780601f10612f3557610100808354040283529160200191612f60565b820191906000526020600020905b815481529060010190602001808311612f4357829003601f168201915b505050505081526020019060010190612ec8565b6130ef600a856020015181548110612f8e57612f8e614e7c565b906000526020600020018054612fa390614e55565b80601f0160208091040260200160405190810160405280929190818152602001828054612fcf90614e55565b801561301c5780601f10612ff15761010080835404028352916020019161301c565b820191906000526020600020905b815481529060010190602001808311612fff57829003601f168201915b50505050506000805480602002602001604051908101604052809291908181526020016000905b8282101561227b57838290600052602060002001805461306290614e55565b80601f016020809104026020016040519081016040528092919081815260200182805461308e90614e55565b80156130db5780601f106130b0576101008083540402835291602001916130db565b820191906000526020600020905b8154815290600101906020018083116130be57829003601f168201915b505050505081526020019060010190613043565b61326a60078660a001518154811061310957613109614e7c565b90600052602060002001805461311e90614e55565b80601f016020809104026020016040519081016040528092919081815260200182805461314a90614e55565b80156131975780601f1061316c57610100808354040283529160200191613197565b820191906000526020600020905b81548152906001019060200180831161317a57829003601f168201915b50505050506000805480602002602001604051908101604052809291908181526020016000905b8282101561227b5783829060005260206000200180546131dd90614e55565b80601f016020809104026020016040519081016040528092919081815260200182805461320990614e55565b80156132565780601f1061322b57610100808354040283529160200191613256565b820191906000526020600020905b81548152906001019060200180831161323957829003601f168201915b5050505050815260200190600101906131be565b6133e5600487608001518154811061328457613284614e7c565b90600052602060002001805461329990614e55565b80601f01602080910402602001604051908101604052809291908181526020018280546132c590614e55565b80156133125780601f106132e757610100808354040283529160200191613312565b820191906000526020600020905b8154815290600101906020018083116132f557829003601f168201915b50505050506000805480602002602001604051908101604052809291908181526020016000905b8282101561227b57838290600052602060002001805461335890614e55565b80601f016020809104026020016040519081016040528092919081815260200182805461338490614e55565b80156133d15780601f106133a6576101008083540402835291602001916133d1565b820191906000526020600020905b8154815290600101906020018083116133b457829003601f168201915b505050505081526020019060010190613339565b61356060018860600151815481106133ff576133ff614e7c565b90600052602060002001805461341490614e55565b80601f016020809104026020016040519081016040528092919081815260200182805461344090614e55565b801561348d5780601f106134625761010080835404028352916020019161348d565b820191906000526020600020905b81548152906001019060200180831161347057829003601f168201915b50505050506000805480602002602001604051908101604052809291908181526020016000905b8282101561227b5783829060005260206000200180546134d390614e55565b80601f01602080910402602001604051908101604052809291908181526020018280546134ff90614e55565b801561354c5780601f106135215761010080835404028352916020019161354c565b820191906000526020600020905b81548152906001019060200180831161352f57829003601f168201915b5050505050815260200190600101906134b4565b6040516020016127089695949392919061577b565b6040805161010081018252600160c08201818152600360fc1b60e0840152825282518084018452818152603160f81b6020828101919091528084019190915283518085018552828152601960f91b818301528385015283518085018552828152603360f81b8183015260608481019190915284518086018652838152600d60fa1b81840152608085015284518086018652928352603560f81b8383015260a08401929092526000858152602490915292832054909261363382612dc7565b905060006136b261364387614196565b61364c85612829565b61365586614293565b60008a81526025602052604090205488906006811061367657613676614e7c565b602002015160a089015161368988614490565b60405160200161369e969594939291906158c4565b604051602081830303815290604052614490565b9050806040516020016136c59190615a3c565b604051602081830303815290604052945050505050919050565b6000818152602460205260408120546060916136fa82613750565b9050600061372461370a86614196565b61371384614490565b60405160200161369e929190615a6e565b9050806040516020016137379190615a3c565b6040516020818303038152906040529350505050919050565b6060600061375d83613a9d565b90506000601282600001518154811061377857613778614e7c565b906000526020600020016138fa601060018154811061379957613799614e7c565b9060005260206000200180546137ae90614e55565b80601f01602080910402602001604051908101604052809291908181526020018280546137da90614e55565b80156138275780601f106137fc57610100808354040283529160200191613827565b820191906000526020600020905b81548152906001019060200180831161380a57829003601f168201915b50505050506000805480602002602001604051908101604052809291908181526020016000905b8282101561227b57838290600052602060002001805461386d90614e55565b80601f016020809104026020016040519081016040528092919081815260200182805461389990614e55565b80156138e65780601f106138bb576101008083540402835291602001916138e6565b820191906000526020600020905b8154815290600101906020018083116138c957829003601f168201915b50505050508152602001906001019061384e565b604051602001612708929190615ba1565b81600181101580156139245750613920612cc6565b8111155b6139405760405162461bcd60e51b81526004016112fc9061503e565b60008381526025602052604090205461395857505050565b6000838152602560205260408120805460019290613977908490615087565b90915550506000838152602560205260409020546113cc5760405183907fc1b3760fc574b5ee510d3e6bae7f855b7b4e17967da0fec0882aab3cbab3afe890600090a26023546001600160a01b0316156113cc5760235460008481526024602052604090819020549051633c4dde0160e21b81526001600160a01b039092169163f137780491613a0d9186918891600401614fb5565b600060405180830381600087803b158015613a2757600080fd5b505af11580156119b5573d6000803e3d6000fd5b613a46600143615087565b408133604051602001613a5b93929190615be6565b60408051601f1981840301815291815281516020928301206000938452602490925290912055565b6111158282604051806020016040528060008152506145f5565b613ad66040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6040805160c081019091526012548190613af09085615c33565b8152600c8054602090920191613b07600287615c47565b613b119190615c33565b81548110613b2157613b21614e7c565b6000918252602091829020828204015460ff601f9092166101000a9004168252600f80549290910191613b55600387615c47565b613b5f9190615c33565b81548110613b6f57613b6f614e7c565b6000918252602091829020828204015460ff601f9092166101000a9004168252600380549290910191613ba3600487615c47565b613bad9190615c33565b81548110613bbd57613bbd614e7c565b6000918252602091829020828204015460ff601f9092166101000a9004168252600680549290910191613bf1600587615c47565b613bfb9190615c33565b81548110613c0b57613c0b614e7c565b6000918252602091829020828204015460ff601f9092166101000a9004168252600980549290910191613c3f600687615c47565b613c499190615c33565b81548110613c5957613c59614e7c565b60009182526020918290209181049091015460ff601f9092166101000a900416905292915050565b604080516103408101825260016103008201818152600360fc1b610320840152825282518084018452818152603160f81b6020828101919091528084019190915283518085018552828152601960f91b818301528385015283518085018552828152603360f81b8183015260608481019190915284518086018652838152600d60fa1b81840152608085015284518086018652838152603560f81b8184015260a085015284518086018652838152601b60f91b8184015260c085015284518086018652838152603760f81b8184015260e085015284518086018652838152600760fb1b8184015261010085015284518086018652928352603960f81b8383015261012084019290925283518085018552600280825261031360f41b828401526101408501919091528451808601865281815261313160f01b818401526101608501528451808601865281815261189960f11b818401526101808501528451808601865281815261313360f01b818401526101a085015284518086018652818152610c4d60f21b818401526101c08501528451808601865281815261313560f01b818401526101e08501528451808601865281815261189b60f11b818401526102008501528451808601865281815261313760f01b818401526102208501528451808601865281815261062760f31b818401526102408501528451808601865281815261313960f01b818401526102608501528451808601865281815261032360f41b818401526102808501528451808601865281815261323160f01b818401526102a08501528451808601865281815261191960f11b818401526102c08501528451808601909552845261323360f01b908401526102e0820192909252816000805b8651811015614035576000878281518110613f2057613f20614e7c565b016020015160f81c9050600088613f38846001614ea8565b81518110613f4857613f48614e7c565b016020015160f81c90508015614010576000613f65601886615c33565b90506000613f74601887615c47565b905060008a8460ff1681518110613f8d57613f8d614e7c565b6020026020010151905087898660ff1660188110613fad57613fad614e7c565b60200201518a8560ff1660188110613fc757613fc7614e7c565b60200201518b8560ff1660188110613fe157613fe1614e7c565b602002015184604051602001613ffb959493929190615c71565b60405160208183030381529060405297505050505b61401d60ff831685614ea8565b9350505080600261402e9190614ea8565b9050613f03565b509095945050505050565b600061404b83611ec7565b90508060008061406986600090815260196020526040902080549091565b9150915084156140a95761407e81843361117e565b6140a95761408c8333611c98565b6140a957604051632ce44b5f60e11b815260040160405180910390fd5b6140b7836000886001611f37565b80156140c257600082555b6001600160a01b038316600081815260186020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260176020526040902055600160e11b841661414957600186016000818152601760205260409020546141475760135481146141475760008181526017602052604090208590555b505b60405186906000906001600160a01b03861690600080516020615f96833981519152908390a4505060148054600101905550505050565b60008261418d858461465b565b14949350505050565b6060816141ba5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156141e457806141ce81614f6a565b91506141dd9050600a83615c47565b91506141be565b6000816001600160401b038111156141fe576141fe614c5f565b6040519080825280601f01601f191660200182016040528015614228576020820181803683370190505b5090505b8415611ac35761423d600183615087565b915061424a600a86615c33565b614255906030614ea8565b60f81b81838151811061426a5761426a614e7c565b60200101906001600160f81b031916908160001a90535061428c600a86615c47565b945061422c565b604080516101a08101825260016101608201818152600360fc1b610180840152825282518084018452818152603160f81b6020828101919091528084019190915283518085018552828152601960f91b818301528385015283518085018552828152603360f81b8183015260608481019190915284518086018652838152600d60fa1b81840152608085015284518086018652838152603560f81b8184015260a085015284518086018652838152601b60f91b8184015260c085015284518086018652838152603760f81b8184015260e085015284518086018652838152600760fb1b8184015261010085015284518086018652928352603960f81b838301526101208401929092528351808501909452600280855261031360f41b918501919091526101408301939093529160009082906143d390869080600a6146a8565b600b81106143e3576143e3614e7c565b6020020151826143f88660036002600a6146a8565b600b811061440857614408614e7c565b60200201518361441d8760046002600a6146a8565b600b811061442d5761442d614e7c565b6020020151846144428860056002600a6146a8565b600b811061445257614452614e7c565b6020020151856144678960066002600a6146a8565b600b811061447757614477614e7c565b6020020151604051602001612708959493929190615e6a565b60608151600014156144b057505060408051602081019091526000815290565b6000604051806060016040528060408152602001615f5660409139905060006003845160026144df9190614ea8565b6144e99190615c47565b6144f49060046151cc565b90506000614503826020614ea8565b6001600160401b0381111561451a5761451a614c5f565b6040519080825280601f01601f191660200182016040528015614544576020820181803683370190505b509050818152600183018586518101602084015b818310156145b0576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825350600101614558565b6003895106600181146145ca57600281146145db576145e7565b613d3d60f01b6001198301526145e7565b603d60f81b6000198301525b509398975050505050505050565b6145ff83836146d2565b6001600160a01b0383163b156113cc576013548281035b6146296000868380600101945086612cd0565b614646576040516368d2bf6b60e11b815260040160405180910390fd5b81811061461657816013541461143357600080fd5b600081815b84518110156146a05761468c8286838151811061467f5761467f614e7c565b60200260200101516147b2565b91508061469881614f6a565b915050614660565b509392505050565b60006146b48383615087565b6146be8587615c47565b6146c89190615c33565b6116d19084614ea8565b601354816146f35760405163b562e8dd60e01b815260040160405180910390fd5b6147006000848385611f37565b6001600160a01b03831660008181526018602090815260408083208054680100000000000000018802019055848352601790915281206001851460e11b4260a01b17831790558284019083908390600080516020615f968339815191528180a4600183015b81811461478b5780836000600080516020615f96833981519152600080a4600101614765565b50816147a957604051622e076360e81b815260040160405180910390fd5b60135550505050565b60008183106147ce576000828152602084905260409020611f15565b5060009182526020526040902090565b6001600160e01b031981165b811461136c57600080fd5b8035610e2a816147de565b60006020828403121561481557614815600080fd5b6000611ac384846147f5565b8015155b82525050565b60208101610e2a8284614821565b806147ea565b8035610e2a81614839565b60006020828403121561485f5761485f600080fd5b6000611ac3848461483f565b60005b8381101561488657818101518382015260200161486e565b83811115611b735750506000910152565b60006148a1825190565b8084526020840193506148b881856020860161486b565b601f01601f19169290920192915050565b60208082528101611f158184614897565b60006001600160a01b038216610e2a565b614825816148da565b60208101610e2a82846148eb565b6147ea816148da565b8035610e2a81614902565b6000806040838503121561492c5761492c600080fd5b6000614938858561490b565b92505060206149498582860161483f565b9150509250929050565b60008083601f84011261496857614968600080fd5b5081356001600160401b0381111561498257614982600080fd5b60208301915083602082028301111561499d5761499d600080fd5b9250929050565b600080602083850312156149ba576149ba600080fd5b82356001600160401b038111156149d3576149d3600080fd5b6149df85828601614953565b92509250509250929050565b6000610e2a826148da565b6000610e2a826149eb565b614825816149f6565b60208101610e2a8284614a01565b80614825565b60208101610e2a8284614a18565b600080600060608486031215614a4457614a44600080fd5b6000614a50868661490b565b9350506020614a618682870161490b565b9250506040614a728682870161483f565b9150509250925092565b600080600060408486031215614a9457614a94600080fd5b83356001600160401b03811115614aad57614aad600080fd5b614ab986828701614953565b93509350506020614a728682870161483f565b60ff8116614825565b60208101610e2a8284614acc565b600060208284031215614af857614af8600080fd5b6000611ac3848461490b565b600080600060408486031215614b1c57614b1c600080fd5b83356001600160401b03811115614b3557614b35600080fd5b614b4186828701614953565b93509350506020614a728682870161490b565b6000614b608383614a18565b505060200190565b6000614b72825190565b80845260209384019383018060005b83811015614ba6578151614b958882614b54565b975060208301925050600101614b81565b509495945050505050565b60208082528101611f158184614b68565b634e487b7160e01b600052602160045260246000fd5b6003811061136c5761136c614bc2565b80614bf281614bd8565b919050565b6000610e2a82614be8565b61482581614bf7565b60208101610e2a8284614c02565b8015156147ea565b8035610e2a81614c19565b60008060408385031215614c4257614c42600080fd5b6000614c4e858561490b565b925050602061494985828601614c21565b634e487b7160e01b600052604160045260246000fd5b601f19601f83011681018181106001600160401b0382111715614c9a57614c9a614c5f565b6040525050565b6000614cac60405190565b9050614bf28282614c75565b60006001600160401b03821115614cd157614cd1614c5f565b601f19601f83011660200192915050565b82818337506000910152565b6000614d01614cfc84614cb8565b614ca1565b905082815260208101848484011115614d1c57614d1c600080fd5b6146a0848285614ce2565b600082601f830112614d3b57614d3b600080fd5b8135611ac3848260208601614cee565b60008060008060808587031215614d6457614d64600080fd5b6000614d70878761490b565b9450506020614d818782880161490b565b9350506040614d928782880161483f565b92505060608501356001600160401b03811115614db157614db1600080fd5b614dbd87828801614d27565b91505092959194509250565b60008060408385031215614ddf57614ddf600080fd5b6000614938858561483f565b600060208284031215614e0057614e00600080fd5b6000611ac38484614c21565b60008060408385031215614e2257614e22600080fd5b6000614e2e858561490b565b92505060206149498582860161490b565b634e487b7160e01b600052602260045260246000fd5b600281046001821680614e6957607f821691505b6020821081141561184257611842614e3f565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008219821115614ebb57614ebb614e92565b500190565b6012815260006020820171141d589b1a58c81b5a5b9d0818db1bdcd95960721b815291505b5060200190565b60208082528101610e2a81614ec0565b600f81526000602082016e24b731b7b93932b1ba1032ba3432b960891b81529150614ee5565b60208082528101610e2a81614efc565b601181526000602082017045786365656473206d6178206d696e747360781b81529150614ee5565b60208082528101610e2a81614f32565b6000600019821415614f7e57614f7e614e92565b5060010190565b60098152600060208201684e6f7420796f75727360b81b81529150614ee5565b60208082528101610e2a81614f85565b60608101614fc382866148eb565b614fd06020830185614a18565b611ac36040830184614a18565b6000610e2a8260601b90565b6000610e2a82614fdd565b614825615000826148da565b614fe9565b60006150118284614ff4565b50601401919050565b600d81526000602082016c4f7574206f6620626f756e647360981b81529150614ee5565b60208082528101610e2a8161501a565b601281526000602082017113595c9adb19481b5a5b9d0818db1bdcd95960721b81529150614ee5565b60208082528101610e2a8161504e565b60008282101561509957615099614e92565b500390565b6014815260006020820173125b98dbdc9c9958dd08195d1a195c881cd95b9d60621b81529150614ee5565b60208082528101610e2a8161509e565b600d81526000602082016c24b73b30b634b210383937b7b360991b81529150614ee5565b60208082528101610e2a816150d9565b60208082528101610e2a81602681527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160208201526564647265737360d01b604082015260600190565b600c81526000602082016b105b1c9958591e481919585960a21b81529150614ee5565b60208082528101610e2a81615157565b60208082527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657291019081526000614ee5565b60208082528101610e2a8161518a565b60008160001904831182151516156151e6576151e6614e92565b500290565b600f81526000602082016e4d696e74206174206c65617374203160881b81529150614ee5565b60208082528101610e2a816151eb565b601281526000602082017145786365656473206d617820737570706c7960701b81529150614ee5565b60208082528101610e2a81615221565b6000615264825190565b61527281856020860161486b565b9290920192915050565b7f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323081527f30302f737667222076696577426f783d2230203020323420323422207368617060208201527f652d72656e646572696e673d2263726973704564676573222077696474683d2260408201527f37363822206865696768743d22373638223e3c726563742077696474683d223160608201527f30302522206865696768743d2231303025222066696c6c3d222333623839666660808201526211179f60e91b60a082015260a3016000615352828761525a565b915061535e828661525a565b915061536a828561525a565b9150615376828461525a565b651e17b9bb339f60d11b81529150600682015b9695505050505050565b600c81526000602082016b139bdd081c995d99585b195960a21b81529150614ee5565b60208082528101610e2a81615393565b600581526000602082016404e6f2048560dc1b81529150614ee5565b60208082528101610e2a816153c6565b62089f4b60ea1b815260005b5060030190565b6000815461541281614e55565b600182168015615429576001811461543a5761546a565b60ff1983168652818601935061546a565b60008581526020902060005b8381101561546257815488820152600190910190602001615446565b838801955050505b50505092915050565b7f7b2274726169745f74797065223a22436c617373222c202276616c7565223a2281526000614ee5565b7f7b2274726169745f74797065223a2245796573222c202276616c7565223a2200815260005b50601f0190565b7f7b2274726169745f74797065223a224d6f757468222c202276616c7565223a2281526000614ee5565b7f7b2274726169745f74797065223a2248656164222c202276616c7565223a2200815260006154c3565b7f7b2274726169745f74797065223a224261636b67726f756e64222c202276616c8152643ab2911d1160d91b6020820152602501600061555e828961525a565b9150615569826153f2565b7f7b2274726169745f74797065223a224f7574666974222c202276616c7565223a8152601160f91b602082015260210191506155a58288615405565b91506155b0826153f2565b91506155bb82615473565b91506155c78287615405565b91506155d2826153f2565b91506155dd8261549d565b91506155e98286615405565b91506155f4826153f2565b91506155ff826154ca565b915061560b8285615405565b9150615616826153f2565b9150615621826154f4565b915061562d8284615405565b9150615638826153f2565b98975050505050505050565b6080810161565282876148eb565b61565f60208301866148eb565b61566c6040830185614a18565b81810360608301526153898184614897565b8051610e2a816147de565b60006020828403121561569e5761569e600080fd5b6000611ac3848461567e565b7f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323081527f30302f737667222076696577426f783d2230203020323420323422207368617060208201527f652d72656e646572696e673d2263726973704564676573222077696474683d2260408201527f37363822206865696768743d22373638223e3c726563742077696474683d223160608201527f30302522206865696768743d2231303025222066696c6c3d22230000000000006080820152609a0190565b6211179f60e91b815260006153fe565b6000615786826156aa565b91506157928289615405565b915061579d8261576b565b91506157a9828861525a565b91506157b5828761525a565b91506157c1828661525a565b91506157cd828561525a565b91506157d9828461525a565b651e17b9bb339f60d11b8152915060068201615638565b6803d913730b6b2911d160bd1b815260005b5060090190565b6d2243727970746f4564646965202360901b815260005b50600e0190565b61088b60f21b815260005b5060020190565b6d2261747472696275746573223a5b60901b81526000615820565b6d16101136b0bc2fbb30b63ab2911d60911b81526000615820565b621f574b60ea1b815260006153fe565b7f22696d616765223a2022646174613a696d6167652f7376672b786d6c3b626173815263194d8d0b60e21b602082015260240190565b61227d60f01b81526000615832565b60006158cf826157f0565b91506158da82615809565b91506158e6828961525a565b91506158f182615827565b7f226465736372697074696f6e223a202243727970746f4564646965732069732081527f616e2031303025206f6e2d636861696e206578706572696d656e74616c204e4660208201527f54206368617261637465722070726f6a656374207769746820756e697175652060408201527f66756e6374696f6e616c6974792c20696e73706972656420627920726574726f6060820152700812985c185b995cd948149411dccb888b607a1b608082015260910191506159ae82615839565b91506159ba828861525a565b91506159c6828761525a565b7f7b2274726169745f74797065223a224850222c202276616c7565223a000000008152601c0191506159f8828661525a565b9150615a0382615854565b9150615a0f828561525a565b9150615a1a8261586f565b9150615a258261587f565b9150615a31828461525a565b9150615638826158b5565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000008152601d016000611f15828461525a565b6000615a79826157f0565b9150615a8482615809565b9150615a90828561525a565b9150615a9b82615827565b7f226465736372697074696f6e223a202243727970746f4564646965732069732081527f616e2031303025206f6e2d636861696e206578706572696d656e74616c20636860208201527f61726163746572206172742070726f6a6563742c206368696c6c696e206f6e2060408201527f74686520457468657265756d20626c6f636b636861696e2e222c00000000000060608201527f2261747472696275746573223a5b7b2274726169745f74797065223a22556e72607a8201527f657665616c6564222c202276616c7565223a2254727565227d5d2c0000000000609a82015260b5019150615b8a8261587f565b9150615b96828461525a565b9150611ac3826158b5565b6000615bac826156aa565b9150615bb88285615405565b9150615bc38261576b565b9150615bcf828461525a565b651e17b9bb339f60d11b8152915060068201611ac3565b6000615bf28286614a18565b602082019150615c028285614a18565b602082019150615c128284614ff4565b506014019392505050565b634e487b7160e01b600052601260045260246000fd5b600082615c4257615c42615c1d565b500690565b600082615c5657615c56615c1d565b500490565b68222066696c6c3d222360b81b81526000615802565b6000615c7d828861525a565b6c1e3932b1ba103bb4b23a341e9160991b8152600d019150615c9f828761525a565b6f11103432b4b3b43a1e911891103c1e9160811b81526010019150615cc4828661525a565b6411103c9e9160d91b81526005019150615cde828561525a565b9150615ce982615c5b565b9150615cf5828461525a565b9150615d008261576b565b979650505050505050565b7f7b2274726169745f74797065223a2244657465726d696e6174696f6e222c202281527f646973706c61795f74797065223a20226e756d626572222c202276616c7565226020820152601d60f91b604082015260005b5060410190565b611f4b60f21b81526000615832565b7f7b2274726169745f74797065223a224c6f7665222c2022646973706c61795f748152773cb832911d1011373ab6b132b9111610113b30b63ab2911d60411b602082015260005b5060380190565b7f7b2274726169745f74797065223a22426f6e6b222c2022646973706c61795f748152773cb832911d1011373ab6b132b9111610113b30b63ab2911d60411b60208201526000615dbe565b7f7b2274726169745f74797065223a224d6167696320446566656e7365222c202281527f646973706c61795f74797065223a20226e756d626572222c202276616c7565226020820152601d60f91b60408201526000615d61565b6000615e7582615d0b565b9150615e81828861525a565b9150615e8c82615d68565b9150615e9782615d77565b9150615ea3828761525a565b9150615eae82615d68565b7f7b2274726169745f74797065223a224372696e6765222c2022646973706c617981527f5f74797065223a20226e756d626572222c202276616c7565223a0000000000006020820152603a019150615f06828661525a565b9150615f1182615d68565b9150615f1c82615dc5565b9150615f28828561525a565b9150615f3382615d68565b9150615f3e82615e10565b9150615f4a828461525a565b9150615d0082615d6856fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212209b6202437b0eee97bed6843dac23f48deb6d09aad55cfc56d372ff8886801f9c64736f6c63430008090033

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.