ETH Price: $3,419.28 (+2.98%)

Token

Pythagorean Masks (PythagoreanMasks)
 

Overview

Max Total Supply

5,032 PythagoreanMasks

Holders

1,222

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
fiberous.eth
Balance
2 PythagoreanMasks
0x6f24b0abcce33e3d8fb15ef00bf8bc331ec99af4
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:
PythagoreanMasks

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : PythagoreanMasks.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.6;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/utils/ERC721Holder.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Address.sol";

interface IRandomizer {
    function getRandomNumber(uint256 upperLimit, uint256 idForUniquenessInBlock) external view returns (uint256);
}

interface IN is IERC721 {
    function getFirst(uint256 tokenId) external view returns (uint256);

    function getSecond(uint256 tokenId) external view returns (uint256);

    function getThird(uint256 tokenId) external view returns (uint256);

    function getFourth(uint256 tokenId) external view returns (uint256);

    function getFifth(uint256 tokenId) external view returns (uint256);

    function getSixth(uint256 tokenId) external view returns (uint256);

    function getSeventh(uint256 tokenId) external view returns (uint256);

    function getEight(uint256 tokenId) external view returns (uint256);
}

interface IPunk {
    function balanceOf(address wallet) external view returns (uint256);
}

/*
    https://twitter.com/_n_collective

    Numbers are the basis of the entire universe, the base layer of perceived reality. The rest is but a mere expression of those.
    Numbers are all around us, have always been, will always be.

    And God said, let there be Code; and there was Code. You may argue that I’m on mushrooms now but if our base reality itself is
    an expression of an underlying algorithm, wouldn't the n be just another loop of algorithmic reality creation; layer on top of layer, infinite, inception?
    And so, as the Big Bang is a symbolic manifestation of the creation of our reality, the @the_n_project_ is just another
     Big Bang of an alternate reality — the metaverse.

    Pythagorean Masks are the first of the creations of the @_n_Collective.
    The Collective settled on Masks as a design choice in order to amplify the idea that the individual who wears them shall hide
    his identity for that the Collective can shine. The Collective are the Mask holders, the Mask wearers;
    it represents your belonging to a community, the Collective, with the potential to shape reality in unprecedented ways.

    He who wears the Pythagorean Mask oaths to the Collective honest loyalty, for what is to come is beyond our scope of understanding.

    Welcome to the n Collective.
*/
contract PythagoreanMasks is ERC721, Ownable, ReentrancyGuard, ERC721Holder {
    IN public constant n = IN(0x05a46f1E545526FB803FF974C790aCeA34D1f2D6);
    IPunk public constant punk = IPunk(0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB);
    IRandomizer public constant randomizer = IRandomizer(0x498Ed28C41Eec6732A455158692760c7a3743ECB);

    uint256 public constant RESERVED_N_TOKENS_TO_MINT = 4005;
    uint256 public constant RESERVED_PUNK_TOKENS_TO_MINT = 1001;
    uint256 public constant RESERVED_TEAM_TOKENS_TO_MINT = 879;
    uint256 public constant RESERVED_OPEN_TOKENS_TO_MINT = 3003;
    uint256 public constant MAX_SUPPLY = 8888;
    uint256 public constant MINT_FEE = 0.0369258147 ether;

    mapping(address => uint256) public nHoldersMintedByAddress;
    uint256 public totalNHoldersMinted;
    mapping(address => uint256) public punkHoldersMintedByAddress;
    uint256 public totalPunkHoldersMinted;
    uint256 public totalTeamMinted;
    uint256 public totalOpenMinted;
    uint256 public totalSupply;
    bool public _finishInitialization;
    uint256 public endMintingPeriodDateAndTime;
    uint256 public nextVestingPeriodDataAndTime;

    string[15] private _firstAssets;
    string[15] private _secondAssets;
    string[15] private _thirdAssets;
    string[15] private _fourthAssets;
    string[15] private _fifthAssets;
    string[15] private _sixthAssets;
    string[15] private _seventhAssets;
    string[15] private _eightAssets;

    modifier onlyWhenInit() {
        require(!_finishInitialization, "Wut?");
        _;
    }

    modifier onlyWhenFinishInit() {
        require(_finishInitialization, "Can't call this yet");
        _;
    }

    modifier includesMintFee(uint256 amountToMint) {
        require(msg.value >= MINT_FEE * amountToMint, "Mint cost 0.0369258147 eth per token");
        _;
    }

    modifier onlyInMintingPeriod() {
        require(endMintingPeriodDateAndTime > block.timestamp, "Claiming period is over");
        _;
    }

    constructor(uint256 _endMintingPeriodDateAndTime) ERC721("Pythagorean Masks", "PythagoreanMasks") {
        endMintingPeriodDateAndTime = _endMintingPeriodDateAndTime;
        nextVestingPeriodDataAndTime = block.timestamp + (30 * 24 * 60 * 60);
    }

    function setFirstAssets(string[15] memory first) public onlyOwner onlyWhenInit {
        _firstAssets = first;
    }

    function setSecondAssets(string[15] memory second) public onlyOwner onlyWhenInit {
        _secondAssets = second;
    }

    function setThirdAssets(string[15] memory third) public onlyOwner onlyWhenInit {
        _thirdAssets = third;
    }

    function setFourthAssets(string[15] memory fourth) public onlyOwner onlyWhenInit {
        _fourthAssets = fourth;
    }

    function setFifthAssets(string[15] memory fifth) public onlyOwner onlyWhenInit {
        _fifthAssets = fifth;
    }

    function setSixthAssets(string[15] memory sixth) public onlyOwner onlyWhenInit {
        _sixthAssets = sixth;
    }

    function setSeventhAssets(string[15] memory seventh) public onlyOwner onlyWhenInit {
        _seventhAssets = seventh;
    }

    function setEightAssets(string[15] memory eight) public onlyOwner onlyWhenInit {
        _eightAssets = eight;
    }

    function finishInitialization(address newOwner) public onlyOwner onlyWhenInit {
        _finishInitialization = true;
        transferOwnership(newOwner);
    }

    function claimVestedTeamTokens(uint256[] memory tokenIds) public onlyOwner onlyWhenFinishInit {
        require(block.timestamp > nextVestingPeriodDataAndTime, "can't claim yet");
        // Vesting period every 1 month
        nextVestingPeriodDataAndTime = nextVestingPeriodDataAndTime + (30 * 24 * 60 * 60);
        for (uint256 i; i < tokenIds.length && i < 88; i++) {
            _safeTransfer(address(this), owner(), tokenIds[i], "");
        }
    }

    function mintToken(uint256 amountToMint)
        public
        payable
        nonReentrant
        includesMintFee(amountToMint)
        onlyInMintingPeriod
        onlyWhenFinishInit
    {
        require(amountToMint > 0, "Amount cannot be zero");
        require(totalOpenMinted < RESERVED_OPEN_TOKENS_TO_MINT, "Can't mint anymore");
        uint256 i;
        uint256 randomNumber = randomizer.getRandomNumber(MAX_SUPPLY, totalSupply);
        for (; i < amountToMint && totalOpenMinted < RESERVED_OPEN_TOKENS_TO_MINT; i++) {
            totalOpenMinted++;
            randomNumber = mintNextToken(randomNumber, msg.sender) + 1;
        }
        uint256 mintingFee = i * MINT_FEE;
        if (mintingFee > 0) {
            Address.sendValue(payable(owner()), mintingFee);
        }
        if (msg.value - mintingFee > 0) {
            Address.sendValue(payable(msg.sender), msg.value - mintingFee);
        }
    }

    function mintTokenReservedForNHolders(uint256 amountToMint)
        public
        payable
        nonReentrant
        includesMintFee(amountToMint)
        onlyInMintingPeriod
        onlyWhenFinishInit
    {
        require(amountToMint > 0, "Amount cannot be zero");
        require(totalNHoldersMinted < RESERVED_N_TOKENS_TO_MINT, "Can't mint anymore");
        uint256 balance = n.balanceOf(msg.sender);
        require(balance > 0 && balance > nHoldersMintedByAddress[msg.sender], "Insufficient balance");
        uint256 i;
        uint256 randomNumber = randomizer.getRandomNumber(MAX_SUPPLY, totalSupply);
        for (
            ;
            i < amountToMint &&
                totalNHoldersMinted < RESERVED_N_TOKENS_TO_MINT &&
                balance > nHoldersMintedByAddress[msg.sender];
            i++
        ) {
            totalNHoldersMinted++;
            nHoldersMintedByAddress[msg.sender]++;
            randomNumber = mintNextToken(randomNumber, msg.sender) + 1;
        }
        uint256 mintingFee = i * MINT_FEE;
        if (mintingFee > 0) {
            Address.sendValue(payable(owner()), mintingFee);
        }
        if (msg.value - mintingFee > 0) {
            Address.sendValue(payable(msg.sender), msg.value - mintingFee);
        }
    }

    function mintTokenReservedForPunkHolders(uint256 amountToMint)
        public
        payable
        nonReentrant
        includesMintFee(amountToMint)
        onlyInMintingPeriod
        onlyWhenFinishInit
    {
        require(amountToMint > 0, "Amount cannot be zero");
        require(totalPunkHoldersMinted < RESERVED_PUNK_TOKENS_TO_MINT, "Can't mint anymore");
        uint256 balance = punk.balanceOf(msg.sender);
        require(balance > 0 && balance > punkHoldersMintedByAddress[msg.sender], "Insufficient balance");
        uint256 i;
        uint256 randomNumber = randomizer.getRandomNumber(MAX_SUPPLY, totalSupply);
        for (
            ;
            i < amountToMint &&
                totalPunkHoldersMinted < RESERVED_PUNK_TOKENS_TO_MINT &&
                balance > punkHoldersMintedByAddress[msg.sender];
            i++
        ) {
            totalPunkHoldersMinted++;
            punkHoldersMintedByAddress[msg.sender]++;
            randomNumber = mintNextToken(randomNumber, msg.sender) + 1;
        }
        uint256 mintingFee = i * MINT_FEE;
        if (mintingFee > 0) {
            Address.sendValue(payable(owner()), mintingFee);
        }
        if (msg.value - mintingFee > 0) {
            Address.sendValue(payable(msg.sender), msg.value - mintingFee);
        }
    }

    function mintTokenReservedForTeam(uint256 amountToMint)
        public
        nonReentrant
        onlyOwner
        onlyInMintingPeriod
        onlyWhenFinishInit
    {
        require(totalTeamMinted < RESERVED_TEAM_TOKENS_TO_MINT, "Can't mint anymore");
        uint256 randomNumber = randomizer.getRandomNumber(MAX_SUPPLY, totalSupply);
        for (uint256 i; i < amountToMint && totalTeamMinted < RESERVED_TEAM_TOKENS_TO_MINT; i++) {
            totalTeamMinted++;
            // Only 10% now
            randomNumber = mintNextToken(randomNumber, totalTeamMinted > 87 ? address(this) : msg.sender) + 1;
        }
    }

    function getFirst(uint256 tokenId) public view returns (uint256) {
        return n.getFirst(tokenId);
    }

    function getSecond(uint256 tokenId) public view returns (uint256) {
        return n.getSecond(tokenId);
    }

    function getThird(uint256 tokenId) public view returns (uint256) {
        return n.getThird(tokenId);
    }

    function getFourth(uint256 tokenId) public view returns (uint256) {
        return n.getFourth(tokenId);
    }

    function getFifth(uint256 tokenId) public view returns (uint256) {
        return n.getFifth(tokenId);
    }

    function getSixth(uint256 tokenId) public view returns (uint256) {
        return n.getSixth(tokenId);
    }

    function getSeventh(uint256 tokenId) public view returns (uint256) {
        return n.getSeventh(tokenId);
    }

    function getEight(uint256 tokenId) public view returns (uint256) {
        return n.getEight(tokenId);
    }

    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        string[12] memory parts;

        parts[
            0
        ] = '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 842 902"><defs><style> .cls-1{fill:#060606;}.cls-2{fill:url(#linear-gradient);}.cls-3{fill:url(#linear-gradient-2);}.cls-4{fill:url(#linear-gradient-3);}.cls-5{fill:url(#linear-gradient-4);}.cls-6{fill:url(#linear-gradient-5);}.cls-7{fill:url(#linear-gradient-6);}.cls-8{fill:url(#linear-gradient-7);}.cls-9{fill:url(#linear-gradient-8);}.cls-10{fill:url(#linear-gradient-9);}.cls-11{fill:url(#linear-gradient-10);} </style><linearGradient id="linear-gradient" x1="209.77" y1="593.77" x2="468.51" y2="548.14" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#aaa"/><stop offset="0.01" stop-color="#acacac"/><stop offset="0.16" stop-color="#d0d0d0"/><stop offset="0.3" stop-color="#eaeaea"/><stop offset="0.43" stop-color="#fafafa"/><stop offset="0.53" stop-color="#fff"/></linearGradient><linearGradient id="linear-gradient-2" x1="314" y1="573.93" x2="314" y2="841.6" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#aaa"/><stop offset="0.44" stop-color="#dbdbdb"/><stop offset="0.8" stop-color="#fff"/></linearGradient><linearGradient id="linear-gradient-3" x1="369.19" y1="485.41" x2="275.93" y2="646.94" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#aaa"/><stop offset="0.13" stop-color="silver" stop-opacity="0.74"/><stop offset="0.28" stop-color="#d7d7d7" stop-opacity="0.47"/><stop offset="0.42" stop-color="#e8e8e8" stop-opacity="0.27"/><stop offset="0.56" stop-color="#f5f5f5" stop-opacity="0.12"/><stop offset="0.68" stop-color="#fcfcfc" stop-opacity="0.03"/><stop offset="0.78" stop-color="#fff" stop-opacity="0"/></linearGradient><linearGradient id="linear-gradient-4" x1="409.55" y1="666.27" x2="371.34" y2="666.27" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#aaa"/><stop offset="0.25" stop-color="silver"/><stop offset="0.78" stop-color="#f7f7f7"/><stop offset="0.85" stop-color="#fff"/></linearGradient><linearGradient id="linear-gradient-5" x1="394.32" y1="669.89" x2="394.32" y2="689.04" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#aaa"/><stop offset="0.3" stop-color="silver"/><stop offset="0.92" stop-color="#f7f7f7"/><stop offset="1" stop-color="#fff"/></linearGradient><linearGradient id="linear-gradient-6" x1="395.2" y1="659.62" x2="395.2" y2="708.24" gradientUnits="userSpaceOnUse"><stop offset="0.38" stop-color="#aaa"/><stop offset="0.48" stop-color="#acacac" stop-opacity="0.98"/><stop offset="0.58" stop-color="#b2b2b2" stop-opacity="0.91"/><stop offset="0.67" stop-color="#bbb" stop-opacity="0.8"/><stop offset="0.76" stop-color="#c8c8c8" stop-opacity="0.64"/><stop offset="0.85" stop-color="#dadada" stop-opacity="0.44"/><stop offset="0.94" stop-color="#eee" stop-opacity="0.2"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></linearGradient><linearGradient id="linear-gradient-7" x1="411.09" y1="690.84" x2="411.09" y2="643.92" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#aaa"/><stop offset="0.06" stop-color="#b4b4b4"/><stop offset="0.28" stop-color="#d4d4d4"/><stop offset="0.49" stop-color="#ececec"/><stop offset="0.68" stop-color="#fafafa"/><stop offset="0.85" stop-color="#fff"/></linearGradient><linearGradient id="linear-gradient-8" x1="379.82" y1="841.71" x2="379.82" y2="783.12" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#aaa"/><stop offset="0.17" stop-color="silver" stop-opacity="0.75"/><stop offset="0.55" stop-color="#ededed" stop-opacity="0.21"/><stop offset="0.72" stop-color="#fff" stop-opacity="0"/></linearGradient><linearGradient id="linear-gradient-9" x1="394.9" y1="762.41" x2="394.9" y2="803.85" gradientUnits="userSpaceOnUse"><stop offset="0.08" stop-color="#aaa"/><stop offset="0.26" stop-color="#c8c8c8" stop-opacity="0.65"/><stop offset="0.44" stop-color="#e0e0e0" stop-opacity="0.37"/><stop offset="0.59" stop-color="#f1f1f1" stop-opacity="0.17"/><stop offset="0.71" stop-color="#fbfbfb" stop-opacity="0.04"/><stop offset="0.79" stop-color="#fff" stop-opacity="0"/></linearGradient><linearGradient id="linear-gradient-10" x1="319.93" y1="509.65" x2="306.85" y2="583.81" gradientUnits="userSpaceOnUse"><stop offset="0.37" stop-color="#aaa"/><stop offset="0.43" stop-color="#b1b1b1" stop-opacity="0.91"/><stop offset="1" stop-color="#fff" stop-opacity="0"/></linearGradient></defs>';

        parts[1] = buildVariation(_firstAssets[getFirst(tokenId)]);
        parts[2] = buildVariation(_secondAssets[getSecond(tokenId)]);

        // Must be third
        parts[3] = buildVariation(
            '<path class="cls-2" d="M216.1,359.5l-12.4,52a34.9,34.9,0,0,0,3.5,24.9l8.1,14.6s11.6,26.1,3.1,56.2l-7.5,27.7a120.3,120.3,0,0,0,5,77.2c9.2,22,21.6,49.3,34.9,71.8,27,45.6,51.7,92.7,51.7,92.7s35.6,66.3,118.5,63.2V278.7s-97.8.6-171.2,38A64.5,64.5,0,0,0,216.1,359.5Z"/><path class="cls-3" d="M421,740.2V841.6c-82.4,1-118.5-65-118.5-65s-24.7-47.1-51.7-92.7c-13.3-22.5-25.7-49.8-34.9-71.8a120.2,120.2,0,0,1-8.9-38.2s1.6,29.9,36,44.3l48.8,25.7s28.8,14,36.6,45.8l9.6,26.6A22.7,22.7,0,0,0,355.5,731c7.7,1.3,17.4,2.7,25.2,2.7Z"/><path class="cls-4" d="M205.7,433.5s21.7,34.7,115.7,37c0,0,16.2-1.1,36.9,8.9a99.2,99.2,0,0,1,37.1,31.5l2.8,4a70.4,70.4,0,0,1,13,47c-1.7,21.2-4.5,49.8-7.9,64.4L401.7,641a59.4,59.4,0,0,0,1.7,22.2l4.1,15.4a15.8,15.8,0,0,0,12.7,11.6h.8v40.4l-93.5-72.4A326.8,326.8,0,0,1,223.2,519.4l-4.8-12.2s8.4-26.7-3.1-56.2Z"/><path class="cls-5" d="M409.5,683.2l-7.4-25.8a35.7,35.7,0,0,1-.7-8.1H385.2a13.1,13.1,0,0,0-11.4,6.6c-2.2,3.9-3.6,9.7-1.2,17.4Z"/><path class="cls-6" d="M372.6,673.3s1.2-3.9,9-3.3a23.8,23.8,0,0,1,10,3.1l17.9,10.1a17.5,17.5,0,0,0,3.2,3.5,13.3,13.3,0,0,0,3.7,2.3l-26.9-6.7-6.6-1.5C378.7,680,370.5,677.8,372.6,673.3Z"/><path class="cls-7" d="M372.2,659.6a29.3,29.3,0,0,0,0,15.3s-.5,4.3,13.8,6.5l29.5,7.2s2.9,2.1,5.5,1.7v17.9s-29.7-3.3-46.9-25c-5.2-6.5-6.1-14-2.7-23C371.5,659.9,371.9,659.8,372.2,659.6Z"/><path class="cls-1" d="M380.9,680.4c.4-1.7,4.3-2.7,8.2-1.7s6.7,3.4,6.3,5"/><path class="cls-8" d="M421,690.8s-6.1.4-11.5-7.6l-7.6-26.9s-1.3-4.5-.4-12.4H421Z"/><path class="cls-9" d="M421,841.6s-28.2,2.3-59-12.6-22.3-45.9-22.3-45.9l81.3,8Z"/><path class="cls-10" d="M372.2,775c8.3-7.1,21.2-12.6,48.8-12.6v41.5l-45-12.1A9.7,9.7,0,0,1,372.2,775Z"/><path class="cls-11" d="M394.3,566.5s-14.1-11-43.8-7.2-56.9-4.1-67.4-10.1c0,0-30.5-17-45-54,0,0-3.3,52.6,53.6,81.5S394.3,566.5,394.3,566.5Z"/>'
        );

        parts[5] = buildVariation(_thirdAssets[getThird(tokenId)]);
        parts[6] = buildVariation(_fourthAssets[getFourth(tokenId)]);
        parts[7] = buildVariation(_fifthAssets[getFifth(tokenId)]);
        parts[8] = buildVariation(_sixthAssets[getSixth(tokenId)]);
        parts[9] = buildVariation(_seventhAssets[getSeventh(tokenId)]);
        parts[10] = buildVariation(_eightAssets[getEight(tokenId)]);

        parts[11] = "</svg>";

        string memory output = string(
            abi.encodePacked(parts[0], parts[1], parts[2], parts[3], parts[4], parts[5], parts[6], parts[7], parts[8])
        );
        output = string(abi.encodePacked(output, parts[9], parts[10], parts[11]));

        string memory json = Base64.encode(
            bytes(
                string(
                    abi.encodePacked(
                        '{"name": "Pythagorean Mask # ',
                        toString(tokenId),
                        '", "description": "The Pythagorean school of thought teaches us that numbers are the basis of the entire universe, the base layer of perceived reality. The rest is but a mere expression of those. Numbers are all around us, have always been, will always be. Welcome to the n Collective.", "image": "data:image/svg+xml;base64,',
                        Base64.encode(bytes(output)),
                        '"}'
                    )
                )
            )
        );
        output = string(abi.encodePacked("data:application/json;base64,", json));

        return output;
    }

    function buildVariation(string memory variation) internal pure returns (string memory output) {
        output = string(
            abi.encodePacked(
                "<g>",
                variation,
                "</g>",
                '<g transform="scale(-1 1) translate(-842,0)">',
                variation,
                "</g>"
            )
        );
    }

    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT license
        // 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);
    }

    // For gas efficiency, allowing to send the random number
    function mintNextToken(uint256 randomNumber, address to) internal returns (uint256) {
        uint256 nextTokenId = getNextToken(randomNumber);
        _safeMint(to, nextTokenId);
        totalSupply++;
        return nextTokenId;
    }

    function getNextToken(uint256 randomNumber) internal view returns (uint256) {
        uint256 nextToken = randomNumber;
        for (uint256 i; i < MAX_SUPPLY; i++) {
            if (!_exists(nextToken)) {
                break;
            }
            nextToken = (nextToken + 1) % MAX_SUPPLY;
        }
        return nextToken;
    }
}

/// [MIT License]
/// @title Base64
/// @notice Provides a function for encoding some bytes in base64
/// @author Brecht Devos <[email protected]>
library Base64 {
    bytes internal constant TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /// @notice Encodes some bytes to the base64 representation
    function encode(bytes memory data) internal pure returns (string memory) {
        uint256 len = data.length;
        if (len == 0) return "";

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

        // Add some extra buffer at the end
        bytes memory result = new bytes(encodedLen + 32);

        bytes memory table = TABLE;

        assembly {
            let tablePtr := add(table, 1)
            let resultPtr := add(result, 32)

            for {
                let i := 0
            } lt(i, len) {

            } {
                i := add(i, 3)
                let input := and(mload(add(data, i)), 0xffffff)

                let out := mload(add(tablePtr, and(shr(18, input), 0x3F)))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(input, 0x3F))), 0xFF))
                out := shl(224, out)

                mstore(resultPtr, out)

                resultPtr := add(resultPtr, 4)
            }

            switch mod(len, 3)
            case 1 {
                mstore(sub(resultPtr, 2), shl(240, 0x3d3d))
            }
            case 2 {
                mstore(sub(resultPtr, 1), shl(248, 0x3d))
            }

            mstore(result, encodedLen)
        }

        return string(result);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 3 of 13 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

File 4 of 13 : ERC721Holder.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721Receiver.sol";

/**
 * @dev Implementation of the {IERC721Receiver} interface.
 *
 * Accepts all token transfers.
 * Make sure the contract is able to use its token with {IERC721-safeTransferFrom}, {IERC721-approve} or {IERC721-setApprovalForAll}.
 */
contract ERC721Holder is IERC721Receiver {
    /**
     * @dev See {IERC721Receiver-onERC721Received}.
     *
     * Always returns `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address,
        address,
        uint256,
        bytes memory
    ) public virtual override returns (bytes4) {
        return this.onERC721Received.selector;
    }
}

File 5 of 13 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 6 of 13 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 7 of 13 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 8 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

File 10 of 13 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 11 of 13 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_endMintingPeriodDateAndTime","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVED_N_TOKENS_TO_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVED_OPEN_TOKENS_TO_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVED_PUNK_TOKENS_TO_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVED_TEAM_TOKENS_TO_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_finishInitialization","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"tokenIds","type":"uint256[]"}],"name":"claimVestedTeamTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endMintingPeriodDateAndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"finishInitialization","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getEight","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getFifth","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getFirst","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getFourth","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getSecond","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getSeventh","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getSixth","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getThird","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountToMint","type":"uint256"}],"name":"mintToken","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountToMint","type":"uint256"}],"name":"mintTokenReservedForNHolders","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountToMint","type":"uint256"}],"name":"mintTokenReservedForPunkHolders","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountToMint","type":"uint256"}],"name":"mintTokenReservedForTeam","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"n","outputs":[{"internalType":"contract IN","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nHoldersMintedByAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextVestingPeriodDataAndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","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":"punk","outputs":[{"internalType":"contract IPunk","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"punkHoldersMintedByAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"randomizer","outputs":[{"internalType":"contract IRandomizer","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string[15]","name":"eight","type":"string[15]"}],"name":"setEightAssets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string[15]","name":"fifth","type":"string[15]"}],"name":"setFifthAssets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string[15]","name":"first","type":"string[15]"}],"name":"setFirstAssets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string[15]","name":"fourth","type":"string[15]"}],"name":"setFourthAssets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string[15]","name":"second","type":"string[15]"}],"name":"setSecondAssets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string[15]","name":"seventh","type":"string[15]"}],"name":"setSeventhAssets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string[15]","name":"sixth","type":"string[15]"}],"name":"setSixthAssets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string[15]","name":"third","type":"string[15]"}],"name":"setThirdAssets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalNHoldersMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalOpenMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalPunkHoldersMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTeamMinted","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"}]

60806040523480156200001157600080fd5b5060405162005695380380620056958339810160408190526200003491620001e7565b60408051808201825260118152705079746861676f7265616e204d61736b7360781b60208083019182528351808501909452601084526f5079746861676f7265616e4d61736b7360801b908401528151919291620000959160009162000141565b508051620000ab90600190602084019062000141565b505050620000c8620000c2620000eb60201b60201c565b620000ef565b60016007556010819055620000e14262278d0062000201565b6011555062000265565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200014f9062000228565b90600052602060002090601f016020900481019282620001735760008555620001be565b82601f106200018e57805160ff1916838001178555620001be565b82800160010185558215620001be579182015b82811115620001be578251825591602001919060010190620001a1565b50620001cc929150620001d0565b5090565b5b80821115620001cc5760008155600101620001d1565b600060208284031215620001fa57600080fd5b5051919050565b600082198211156200022357634e487b7160e01b600052601160045260246000fd5b500190565b600181811c908216806200023d57607f821691505b602082108114156200025f57634e487b7160e01b600052602260045260246000fd5b50919050565b61542080620002756000396000f3fe6080604052600436106103815760003560e01c80636e9b5d35116101d15780639ec29b8211610102578063d7bf81a3116100a0578063e985e9c51161006f578063e985e9c514610a06578063f10fb58414610a4f578063f2fde38b14610a77578063fa7f71b114610a9757600080fd5b8063d7bf81a314610990578063de4f5bda146109ab578063e2fcdbf5146109d3578063e5c8b170146109f357600080fd5b8063b88d4fde116100dc578063b88d4fde14610923578063bb707e7414610943578063c634d0321461095d578063c87b56dd1461097057600080fd5b80639ec29b82146108d0578063a22cb465146108f0578063a8b9dda41461091057600080fd5b80638b54a6771161016f5780638dc4b2fc116101495780638dc4b2fc146108655780638e6248e1146108855780639347e43f1461089b57806395d89b41146108bb57600080fd5b80638b54a677146108115780638c921d06146108275780638da5cb5b1461084757600080fd5b806379d0b428116101ab57806379d0b428146107a55780637b196cff146107c55780637e7b94a8146107db5780638aa001fc146107f157600080fd5b80636e9b5d351461075057806370a0823114610770578063715018a61461079057600080fd5b806332cb6b0c116102b65780634edecb3b11610254578063599d8d2c11610223578063599d8d2c146106d05780635e28a758146106f05780636352211e14610710578063667386f71461073057600080fd5b80634edecb3b146106645780634ee051701461067a5780634f239a8e146106905780634f712b44146106b057600080fd5b806342d9d8761161029057806342d9d876146105eb578063477be2f81461060b5780634be691cf146106215780634d5ed48b1461063757600080fd5b806332cb6b0c1461059f57806341297459146105b557806342842e0e146105cb57600080fd5b806318a55c3d1161032357806323b872dd116102fd57806323b872dd1461051757806328dd3c10146105375780632b9ff134146105575780632e52d6061461057757600080fd5b806318a55c3d146104b45780631a2832e8146104e15780631c95f73f146104f757600080fd5b8063095ea7b31161035f578063095ea7b3146104155780630b2503a614610437578063150b7a021461046557806318160ddd1461049e57600080fd5b806301ffc9a71461038657806306fdde03146103bb578063081812fc146103dd575b600080fd5b34801561039257600080fd5b506103a66103a13660046132c5565b610ab7565b60405190151581526020015b60405180910390f35b3480156103c757600080fd5b506103d0610b09565b6040516103b29190613795565b3480156103e957600080fd5b506103fd6103f83660046132ff565b610b9b565b6040516001600160a01b0390911681526020016103b2565b34801561042157600080fd5b50610435610430366004613138565b610c35565b005b34801561044357600080fd5b506104576104523660046132ff565b610d4b565b6040519081526020016103b2565b34801561047157600080fd5b50610485610480366004613080565b610dd2565b6040516001600160e01b031990911681526020016103b2565b3480156104aa57600080fd5b50610457600e5481565b3480156104c057600080fd5b506104576104cf366004612fef565b600a6020526000908152604090205481565b3480156104ed57600080fd5b50610457600c5481565b34801561050357600080fd5b50610435610512366004613162565b610de3565b34801561052357600080fd5b50610435610532366004613044565b610e41565b34801561054357600080fd5b50610435610552366004613162565b610e72565b34801561056357600080fd5b50610435610572366004613162565b610ecc565b34801561058357600080fd5b506103fd7305a46f1e545526fb803ff974c790acea34d1f2d681565b3480156105ab57600080fd5b506104576122b881565b3480156105c157600080fd5b5061045760115481565b3480156105d757600080fd5b506104356105e6366004613044565b610f26565b3480156105f757600080fd5b506104576106063660046132ff565b610f41565b34801561061757600080fd5b5061045760095481565b34801561062d57600080fd5b5061045761036f81565b34801561064357600080fd5b50610457610652366004612fef565b60086020526000908152604090205481565b34801561067057600080fd5b506104576103e981565b34801561068657600080fd5b50610457600d5481565b34801561069c57600080fd5b506104356106ab3660046132ff565b610f7c565b3480156106bc57600080fd5b506104356106cb366004613162565b61113a565b3480156106dc57600080fd5b506104356106eb366004613162565b611194565b3480156106fc57600080fd5b5061043561070b366004612fef565b6111ee565b34801561071c57600080fd5b506103fd61072b3660046132ff565b611254565b34801561073c57600080fd5b5061045761074b3660046132ff565b6112cb565b34801561075c57600080fd5b5061043561076b366004613162565b611306565b34801561077c57600080fd5b5061045761078b366004612fef565b611360565b34801561079c57600080fd5b506104356113e7565b3480156107b157600080fd5b506104356107c0366004613162565b61141d565b3480156107d157600080fd5b50610457610bbb81565b3480156107e757600080fd5b5061045760105481565b3480156107fd57600080fd5b5061045761080c3660046132ff565b611477565b34801561081d57600080fd5b50610457600b5481565b34801561083357600080fd5b506104576108423660046132ff565b6114b2565b34801561085357600080fd5b506006546001600160a01b03166103fd565b34801561087157600080fd5b50610435610880366004613162565b6114ed565b34801561089157600080fd5b50610457610fa581565b3480156108a757600080fd5b506104576108b63660046132ff565b611547565b3480156108c757600080fd5b506103d0611582565b3480156108dc57600080fd5b506104576108eb3660046132ff565b611591565b3480156108fc57600080fd5b5061043561090b3660046130fc565b6115cc565b61043561091e3660046132ff565b611691565b34801561092f57600080fd5b5061043561093e366004613080565b6119e6565b34801561094f57600080fd5b50600f546103a69060ff1681565b61043561096b3660046132ff565b611a1e565b34801561097c57600080fd5b506103d061098b3660046132ff565b611c45565b34801561099c57600080fd5b5061045766832fd5343c430081565b3480156109b757600080fd5b506103fd73b47e3cd837ddf8e4c57f05d70ab865de6e193bbb81565b3480156109df57600080fd5b506104356109ee366004613218565b611ee7565b610435610a013660046132ff565b611ff8565b348015610a1257600080fd5b506103a6610a21366004613011565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610a5b57600080fd5b506103fd73498ed28c41eec6732a455158692760c7a3743ecb81565b348015610a8357600080fd5b50610435610a92366004612fef565b6122e5565b348015610aa357600080fd5b50610457610ab23660046132ff565b61237d565b60006001600160e01b031982166380ac58cd60e01b1480610ae857506001600160e01b03198216635b5e139f60e01b145b80610b0357506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060008054610b1890613ac1565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4490613ac1565b8015610b915780601f10610b6657610100808354040283529160200191610b91565b820191906000526020600020905b815481529060010190602001808311610b7457829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610c195760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610c4082611254565b9050806001600160a01b0316836001600160a01b03161415610cae5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610c10565b336001600160a01b0382161480610cca5750610cca8133610a21565b610d3c5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610c10565b610d4683836123b8565b505050565b60405163059281d360e11b8152600481018290526000907305a46f1e545526fb803ff974c790acea34d1f2d690630b2503a6906024015b60206040518083038186803b158015610d9a57600080fd5b505afa158015610dae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b039190613318565b630a85bd0160e11b5b949350505050565b6006546001600160a01b03163314610e0d5760405162461bcd60e51b8152600401610c10906138d7565b600f5460ff1615610e305760405162461bcd60e51b8152600401610c10906138b9565b610e3d601282600f612e17565b5050565b610e4b3382612426565b610e675760405162461bcd60e51b8152600401610c109061390c565b610d46838383612519565b6006546001600160a01b03163314610e9c5760405162461bcd60e51b8152600401610c10906138d7565b600f5460ff1615610ebf5760405162461bcd60e51b8152600401610c10906138b9565b610e3d604e82600f612e17565b6006546001600160a01b03163314610ef65760405162461bcd60e51b8152600401610c10906138d7565b600f5460ff1615610f195760405162461bcd60e51b8152600401610c10906138b9565b610e3d605d82600f612e17565b610d46838383604051806020016040528060008152506119e6565b60405163216cec3b60e11b8152600481018290526000907305a46f1e545526fb803ff974c790acea34d1f2d6906342d9d87690602401610d82565b60026007541415610f9f5760405162461bcd60e51b8152600401610c109061395d565b60026007556006546001600160a01b03163314610fce5760405162461bcd60e51b8152600401610c10906138d7565b4260105411610fef5760405162461bcd60e51b8152600401610c1090613853565b600f5460ff166110115760405162461bcd60e51b8152600401610c10906137a8565b61036f600c54106110345760405162461bcd60e51b8152600401610c1090613827565b600e546040516337347e0560e11b81526122b86004820152602481019190915260009073498ed28c41eec6732a455158692760c7a3743ecb90636e68fc0a9060440160206040518083038186803b15801561108e57600080fd5b505afa1580156110a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c69190613318565b905060005b82811080156110dd575061036f600c54105b1561113057600c80549060006110f283613afc565b9190505550611111826057600c541161110b57336126b9565b306126b9565b61111c906001613a33565b91508061112881613afc565b9150506110cb565b5050600160075550565b6006546001600160a01b031633146111645760405162461bcd60e51b8152600401610c10906138d7565b600f5460ff16156111875760405162461bcd60e51b8152600401610c10906138b9565b610e3d603082600f612e17565b6006546001600160a01b031633146111be5760405162461bcd60e51b8152600401610c10906138d7565b600f5460ff16156111e15760405162461bcd60e51b8152600401610c10906138b9565b610e3d602182600f612e17565b6006546001600160a01b031633146112185760405162461bcd60e51b8152600401610c10906138d7565b600f5460ff161561123b5760405162461bcd60e51b8152600401610c10906138b9565b600f805460ff19166001179055611251816122e5565b50565b6000818152600260205260408120546001600160a01b031680610b035760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610c10565b60405163667386f760e01b8152600481018290526000907305a46f1e545526fb803ff974c790acea34d1f2d69063667386f790602401610d82565b6006546001600160a01b031633146113305760405162461bcd60e51b8152600401610c10906138d7565b600f5460ff16156113535760405162461bcd60e51b8152600401610c10906138b9565b610e3d603f82600f612e17565b60006001600160a01b0382166113cb5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610c10565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146114115760405162461bcd60e51b8152600401610c10906138d7565b61141b60006126ee565b565b6006546001600160a01b031633146114475760405162461bcd60e51b8152600401610c10906138d7565b600f5460ff161561146a5760405162461bcd60e51b8152600401610c10906138b9565b610e3d606c82600f612e17565b6040516322a8007f60e21b8152600481018290526000907305a46f1e545526fb803ff974c790acea34d1f2d690638aa001fc90602401610d82565b6040516346490e8360e11b8152600481018290526000907305a46f1e545526fb803ff974c790acea34d1f2d690638c921d0690602401610d82565b6006546001600160a01b031633146115175760405162461bcd60e51b8152600401610c10906138d7565b600f5460ff161561153a5760405162461bcd60e51b8152600401610c10906138b9565b610e3d607b82600f612e17565b604051639347e43f60e01b8152600481018290526000907305a46f1e545526fb803ff974c790acea34d1f2d690639347e43f90602401610d82565b606060018054610b1890613ac1565b604051634f614dc160e11b8152600481018290526000907305a46f1e545526fb803ff974c790acea34d1f2d690639ec29b8290602401610d82565b6001600160a01b0382163314156116255760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610c10565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600260075414156116b45760405162461bcd60e51b8152600401610c109061395d565b6002600755806116cb8166832fd5343c4300613a5f565b3410156116ea5760405162461bcd60e51b8152600401610c1090613994565b426010541161170b5760405162461bcd60e51b8152600401610c1090613853565b600f5460ff1661172d5760405162461bcd60e51b8152600401610c10906137a8565b6000821161174d5760405162461bcd60e51b8152600401610c109061388a565b6103e9600b54106117705760405162461bcd60e51b8152600401610c1090613827565b6040516370a0823160e01b815233600482015260009073b47e3cd837ddf8e4c57f05d70ab865de6e193bbb906370a082319060240160206040518083038186803b1580156117bd57600080fd5b505afa1580156117d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117f59190613318565b90506000811180156118155750336000908152600a602052604090205481115b6118585760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b6044820152606401610c10565b600e546040516337347e0560e11b81526122b860048201526024810191909152600090819073498ed28c41eec6732a455158692760c7a3743ecb90636e68fc0a9060440160206040518083038186803b1580156118b457600080fd5b505afa1580156118c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118ec9190613318565b90505b848210801561190157506103e9600b54105b801561191b5750336000908152600a602052604090205483115b1561197e57600b805490600061193083613afc565b9091555050336000908152600a6020526040812080549161195083613afc565b919050555061195f81336126b9565b61196a906001613a33565b90508161197681613afc565b9250506118ef565b600061199166832fd5343c430084613a5f565b905080156119b4576119b46119ae6006546001600160a01b031690565b82612740565b60006119c08234613a7e565b11156119d9576119d9336119d48334613a7e565b612740565b5050600160075550505050565b6119f03383612426565b611a0c5760405162461bcd60e51b8152600401610c109061390c565b611a1884848484612859565b50505050565b60026007541415611a415760405162461bcd60e51b8152600401610c109061395d565b600260075580611a588166832fd5343c4300613a5f565b341015611a775760405162461bcd60e51b8152600401610c1090613994565b4260105411611a985760405162461bcd60e51b8152600401610c1090613853565b600f5460ff16611aba5760405162461bcd60e51b8152600401610c10906137a8565b60008211611ada5760405162461bcd60e51b8152600401610c109061388a565b610bbb600d5410611afd5760405162461bcd60e51b8152600401610c1090613827565b600e546040516337347e0560e11b81526122b860048201526024810191909152600090819073498ed28c41eec6732a455158692760c7a3743ecb90636e68fc0a9060440160206040518083038186803b158015611b5957600080fd5b505afa158015611b6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b919190613318565b90505b8382108015611ba65750610bbb600d54105b15611be957600d8054906000611bbb83613afc565b9190505550611bca81336126b9565b611bd5906001613a33565b905081611be181613afc565b925050611b94565b6000611bfc66832fd5343c430084613a5f565b90508015611c1957611c196119ae6006546001600160a01b031690565b6000611c258234613a7e565b1115611c3957611c39336119d48334613a7e565b50506001600755505050565b6060611c4f612e67565b6040518061112001604052806110fb8152602001613b9a6110fb91398152611d1a6012611c7b856112cb565b600f8110611c8b57611c8b613b57565b018054611c9790613ac1565b80601f0160208091040260200160405190810160405280929190818152602001828054611cc390613ac1565b8015611d105780601f10611ce557610100808354040283529160200191611d10565b820191906000526020600020905b815481529060010190602001808311611cf357829003601f168201915b505050505061288c565b6020820152611d2d6021611c7b85611477565b8160026020020181905250611d5c6040518061074001604052806107168152602001614cd5610716913961288c565b6060820152611d6f6030611c7b8561237d565b60a0820152611d82603f611c7b85611591565b60c0820152611d95604e611c7b85610d4b565b60e0820152611da8605d611c7b85610f41565b610100820152611dbc606c611c7b856114b2565b610120820152611dd0607b611c7b85611547565b61014082015260408051808201825260068152651e17b9bb339f60d11b602080830191909152610160840191909152825181840151838501516060860151608087015160a088015160c089015160e08a01516101008b0151995160009a611e399a9091016133d0565b60408051808303601f1901815290829052610120840151610140850151610160860151929450611e6e93859390602001613379565b60405160208183030381529060405290506000611ebb611e8d866128b7565b611e96846129b5565b604051602001611ea7929190613523565b6040516020818303038152906040526129b5565b905080604051602001611ece9190613713565b60408051601f1981840301815291905295945050505050565b6006546001600160a01b03163314611f115760405162461bcd60e51b8152600401610c10906138d7565b600f5460ff16611f335760405162461bcd60e51b8152600401610c10906137a8565b6011544211611f765760405162461bcd60e51b815260206004820152600f60248201526e18d85b89dd0818db185a5b481e595d608a1b6044820152606401610c10565b601154611f869062278d00613a33565b60115560005b815181108015611f9c5750605881105b15610e3d57611fe630611fb76006546001600160a01b031690565b848481518110611fc957611fc9613b57565b602002602001015160405180602001604052806000815250612859565b80611ff081613afc565b915050611f8c565b6002600754141561201b5760405162461bcd60e51b8152600401610c109061395d565b6002600755806120328166832fd5343c4300613a5f565b3410156120515760405162461bcd60e51b8152600401610c1090613994565b42601054116120725760405162461bcd60e51b8152600401610c1090613853565b600f5460ff166120945760405162461bcd60e51b8152600401610c10906137a8565b600082116120b45760405162461bcd60e51b8152600401610c109061388a565b610fa5600954106120d75760405162461bcd60e51b8152600401610c1090613827565b6040516370a0823160e01b81523360048201526000907305a46f1e545526fb803ff974c790acea34d1f2d6906370a082319060240160206040518083038186803b15801561212457600080fd5b505afa158015612138573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061215c9190613318565b905060008111801561217c57503360009081526008602052604090205481115b6121bf5760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b6044820152606401610c10565b600e546040516337347e0560e11b81526122b860048201526024810191909152600090819073498ed28c41eec6732a455158692760c7a3743ecb90636e68fc0a9060440160206040518083038186803b15801561221b57600080fd5b505afa15801561222f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122539190613318565b90505b84821080156122685750610fa5600954105b801561228257503360009081526008602052604090205483115b1561197e576009805490600061229783613afc565b90915550503360009081526008602052604081208054916122b783613afc565b91905055506122c681336126b9565b6122d1906001613a33565b9050816122dd81613afc565b925050612256565b6006546001600160a01b0316331461230f5760405162461bcd60e51b8152600401610c10906138d7565b6001600160a01b0381166123745760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c10565b611251816126ee565b60405163fa7f71b160e01b8152600481018290526000907305a46f1e545526fb803ff974c790acea34d1f2d69063fa7f71b190602401610d82565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906123ed82611254565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661249f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610c10565b60006124aa83611254565b9050806001600160a01b0316846001600160a01b031614806124e55750836001600160a01b03166124da84610b9b565b6001600160a01b0316145b80610ddb57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff16610ddb565b826001600160a01b031661252c82611254565b6001600160a01b0316146125945760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610c10565b6001600160a01b0382166125f65760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610c10565b6126016000826123b8565b6001600160a01b038316600090815260036020526040812080546001929061262a908490613a7e565b90915550506001600160a01b0382166000908152600360205260408120805460019290612658908490613a33565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000806126c584612b1b565b90506126d18382612b7e565b600e80549060006126e183613afc565b9091555090949350505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b804710156127905760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610c10565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146127dd576040519150601f19603f3d011682016040523d82523d6000602084013e6127e2565b606091505b5050905080610d465760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610c10565b612864848484612519565b61287084848484612b98565b611a185760405162461bcd60e51b8152600401610c10906137d5565b606081826040516020016128a1929190613490565b6040516020818303038152906040529050919050565b6060816128db5750506040805180820190915260018152600360fc1b602082015290565b8160005b811561290557806128ef81613afc565b91506128fe9050600a83613a4b565b91506128df565b60008167ffffffffffffffff81111561292057612920613b6d565b6040519080825280601f01601f19166020018201604052801561294a576020820181803683370190505b5090505b8415610ddb5761295f600183613a7e565b915061296c600a86613b17565b612977906030613a33565b60f81b81838151811061298c5761298c613b57565b60200101906001600160f81b031916908160001a9053506129ae600a86613a4b565b945061294e565b8051606090806129d5575050604080516020810190915260008152919050565b600060036129e4836002613a33565b6129ee9190613a4b565b6129f9906004613a5f565b90506000612a08826020613a33565b67ffffffffffffffff811115612a2057612a20613b6d565b6040519080825280601f01601f191660200182016040528015612a4a576020820181803683370190505b5090506000604051806060016040528060408152602001614c95604091399050600181016020830160005b86811015612ad6576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b835260049092019101612a75565b506003860660018114612af05760028114612b0157612b0d565b613d3d60f01b600119830152612b0d565b603d60f81b6000198301525b505050918152949350505050565b600081815b6122b8811015612b77576000828152600260205260409020546001600160a01b0316612b4b57612b77565b6122b8612b59836001613a33565b612b639190613b17565b915080612b6f81613afc565b915050612b20565b5092915050565b610e3d828260405180602001604052806000815250612ca2565b60006001600160a01b0384163b15612c9a57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612bdc903390899088908890600401613758565b602060405180830381600087803b158015612bf657600080fd5b505af1925050508015612c26575060408051601f3d908101601f19168201909252612c23918101906132e2565b60015b612c80573d808015612c54576040519150601f19603f3d011682016040523d82523d6000602084013e612c59565b606091505b508051612c785760405162461bcd60e51b8152600401610c10906137d5565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610ddb565b506001610ddb565b612cac8383612cd5565b612cb96000848484612b98565b610d465760405162461bcd60e51b8152600401610c10906137d5565b6001600160a01b038216612d2b5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610c10565b6000818152600260205260409020546001600160a01b031615612d905760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610c10565b6001600160a01b0382166000908152600360205260408120805460019290612db9908490613a33565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82600f8101928215612e57579160200282015b82811115612e575782518051612e47918491602090910190612e8f565b5091602001919060010190612e2a565b50612e63929150612f0f565b5090565b604051806101800160405280600c905b6060815260200190600190039081612e775790505090565b828054612e9b90613ac1565b90600052602060002090601f016020900481019282612ebd5760008555612f03565b82601f10612ed657805160ff1916838001178555612f03565b82800160010185558215612f03579182015b82811115612f03578251825591602001919060010190612ee8565b50612e63929150612f2c565b80821115612e63576000612f238282612f41565b50600101612f0f565b5b80821115612e635760008155600101612f2d565b508054612f4d90613ac1565b6000825580601f10612f5d575050565b601f0160209004906000526020600020908101906112519190612f2c565b600067ffffffffffffffff831115612f9557612f95613b6d565b612fa8601f8401601f1916602001613a02565b9050828152838383011115612fbc57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b0381168114612fea57600080fd5b919050565b60006020828403121561300157600080fd5b61300a82612fd3565b9392505050565b6000806040838503121561302457600080fd5b61302d83612fd3565b915061303b60208401612fd3565b90509250929050565b60008060006060848603121561305957600080fd5b61306284612fd3565b925061307060208501612fd3565b9150604084013590509250925092565b6000806000806080858703121561309657600080fd5b61309f85612fd3565b93506130ad60208601612fd3565b925060408501359150606085013567ffffffffffffffff8111156130d057600080fd5b8501601f810187136130e157600080fd5b6130f087823560208401612f7b565b91505092959194509250565b6000806040838503121561310f57600080fd5b61311883612fd3565b91506020830135801515811461312d57600080fd5b809150509250929050565b6000806040838503121561314b57600080fd5b61315483612fd3565b946020939093013593505050565b6000602080838503121561317557600080fd5b823567ffffffffffffffff8082111561318d57600080fd5b8185019150601f86818401126131a257600080fd5b6131aa6139d8565b8084896101e0870111156131bd57600080fd5b60005b600f811015613209578135868111156131d857600080fd5b87018581018c136131e857600080fd5b6131f68c82358b8401612f7b565b85525092870192908701906001016131c0565b50909998505050505050505050565b6000602080838503121561322b57600080fd5b823567ffffffffffffffff8082111561324357600080fd5b818501915085601f83011261325757600080fd5b81358181111561326957613269613b6d565b8060051b915061327a848301613a02565b8181528481019084860184860187018a101561329557600080fd5b600095505b838610156132b857803583526001959095019491860191860161329a565b5098975050505050505050565b6000602082840312156132d757600080fd5b813561300a81613b83565b6000602082840312156132f457600080fd5b815161300a81613b83565b60006020828403121561331157600080fd5b5035919050565b60006020828403121561332a57600080fd5b5051919050565b60008151808452613349816020860160208601613a95565b601f01601f19169290920160200192915050565b6000815161336f818560208601613a95565b9290920192915050565b6000855161338b818460208a01613a95565b85519083019061339f818360208a01613a95565b85519101906133b2818360208901613a95565b84519101906133c5818360208801613a95565b019695505050505050565b60008a516133e2818460208f01613a95565b8a516133f48183860160208f01613a95565b8a519184010190613409818360208e01613a95565b895191019061341c818360208d01613a95565b885161342e8183850160208d01613a95565b8851929091010190613444818360208b01613a95565b86516134568183850160208b01613a95565b865192909101019061346c818360208901613a95565b845161347e8183850160208901613a95565b9101019b9a5050505050505050505050565b621e339f60e91b8152600083516134ae816003850160208801613a95565b631e17b39f60e11b60039184019182018190527f3c67207472616e73666f726d3d227363616c65282d31203129207472616e736c60078301526c30ba3294169c1a19161814911f60991b60278301528451613510816034850160208901613a95565b6034920191820152603801949350505050565b7f7b226e616d65223a20225079746861676f7265616e204d61736b20232000000081526000835161355b81601d850160208801613a95565b7f222c20226465736372697074696f6e223a2022546865205079746861676f7265601d918401918201527f616e207363686f6f6c206f662074686f75676874207465616368657320757320603d8201527f74686174206e756d626572732061726520746865206261736973206f66207468605d8201527f6520656e7469726520756e6976657273652c207468652062617365206c617965607d8201527f72206f6620706572636569766564207265616c6974792e205468652072657374609d8201527f206973206275742061206d6572652065787072657373696f6e206f662074686f60bd8201527f73652e204e756d626572732061726520616c6c2061726f756e642075732c206860dd8201527f61766520616c77617973206265656e2c2077696c6c20616c776179732062652e60fd8201527f2057656c636f6d6520746f20746865206e20436f6c6c6563746976652e222c2061011d8201527f22696d616765223a2022646174613a696d6167652f7376672b786d6c3b62617361013d82015263194d8d0b60e21b61015d82015261370a6136fc61016183018661335d565b61227d60f01b815260020190565b95945050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161374b81601d850160208701613a95565b91909101601d0192915050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061378b90830184613331565b9695505050505050565b60208152600061300a6020830184613331565b60208082526013908201527210d85b89dd0818d85b1b081d1a1a5cc81e595d606a1b604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526012908201527143616e2774206d696e7420616e796d6f726560701b604082015260600190565b60208082526017908201527f436c61696d696e6720706572696f64206973206f766572000000000000000000604082015260600190565b602080825260159082015274416d6f756e742063616e6e6f74206265207a65726f60581b604082015260600190565b6020808252600490820152635775743f60e01b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60208082526024908201527f4d696e7420636f737420302e303336393235383134372065746820706572207460408201526337b5b2b760e11b606082015260800190565b6040516101e0810167ffffffffffffffff811182821017156139fc576139fc613b6d565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715613a2b57613a2b613b6d565b604052919050565b60008219821115613a4657613a46613b2b565b500190565b600082613a5a57613a5a613b41565b500490565b6000816000190483118215151615613a7957613a79613b2b565b500290565b600082821015613a9057613a90613b2b565b500390565b60005b83811015613ab0578181015183820152602001613a98565b83811115611a185750506000910152565b600181811c90821680613ad557607f821691505b60208210811415613af657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613b1057613b10613b2b565b5060010190565b600082613b2657613b26613b41565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461125157600080fdfe3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f7376672220786d6c6e733a786c696e6b3d22687474703a2f2f7777772e77332e6f72672f313939392f786c696e6b222076696577426f783d223020302038343220393032223e3c646566733e3c7374796c653e202e636c732d317b66696c6c3a233036303630363b7d2e636c732d327b66696c6c3a75726c28236c696e6561722d6772616469656e74293b7d2e636c732d337b66696c6c3a75726c28236c696e6561722d6772616469656e742d32293b7d2e636c732d347b66696c6c3a75726c28236c696e6561722d6772616469656e742d33293b7d2e636c732d357b66696c6c3a75726c28236c696e6561722d6772616469656e742d34293b7d2e636c732d367b66696c6c3a75726c28236c696e6561722d6772616469656e742d35293b7d2e636c732d377b66696c6c3a75726c28236c696e6561722d6772616469656e742d36293b7d2e636c732d387b66696c6c3a75726c28236c696e6561722d6772616469656e742d37293b7d2e636c732d397b66696c6c3a75726c28236c696e6561722d6772616469656e742d38293b7d2e636c732d31307b66696c6c3a75726c28236c696e6561722d6772616469656e742d39293b7d2e636c732d31317b66696c6c3a75726c28236c696e6561722d6772616469656e742d3130293b7d203c2f7374796c653e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e74222078313d223230392e3737222079313d223539332e3737222078323d223436382e3531222079323d223534382e313422206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d2230222073746f702d636f6c6f723d2223616161222f3e3c73746f70206f66667365743d22302e3031222073746f702d636f6c6f723d2223616361636163222f3e3c73746f70206f66667365743d22302e3136222073746f702d636f6c6f723d2223643064306430222f3e3c73746f70206f66667365743d22302e33222073746f702d636f6c6f723d2223656165616561222f3e3c73746f70206f66667365743d22302e3433222073746f702d636f6c6f723d2223666166616661222f3e3c73746f70206f66667365743d22302e3533222073746f702d636f6c6f723d2223666666222f3e3c2f6c696e6561724772616469656e743e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d32222078313d22333134222079313d223537332e3933222078323d22333134222079323d223834312e3622206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d2230222073746f702d636f6c6f723d2223616161222f3e3c73746f70206f66667365743d22302e3434222073746f702d636f6c6f723d2223646264626462222f3e3c73746f70206f66667365743d22302e38222073746f702d636f6c6f723d2223666666222f3e3c2f6c696e6561724772616469656e743e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d33222078313d223336392e3139222079313d223438352e3431222078323d223237352e3933222079323d223634362e393422206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d2230222073746f702d636f6c6f723d2223616161222f3e3c73746f70206f66667365743d22302e3133222073746f702d636f6c6f723d2273696c766572222073746f702d6f7061636974793d22302e3734222f3e3c73746f70206f66667365743d22302e3238222073746f702d636f6c6f723d2223643764376437222073746f702d6f7061636974793d22302e3437222f3e3c73746f70206f66667365743d22302e3432222073746f702d636f6c6f723d2223653865386538222073746f702d6f7061636974793d22302e3237222f3e3c73746f70206f66667365743d22302e3536222073746f702d636f6c6f723d2223663566356635222073746f702d6f7061636974793d22302e3132222f3e3c73746f70206f66667365743d22302e3638222073746f702d636f6c6f723d2223666366636663222073746f702d6f7061636974793d22302e3033222f3e3c73746f70206f66667365743d22302e3738222073746f702d636f6c6f723d2223666666222073746f702d6f7061636974793d2230222f3e3c2f6c696e6561724772616469656e743e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d34222078313d223430392e3535222079313d223636362e3237222078323d223337312e3334222079323d223636362e323722206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d2230222073746f702d636f6c6f723d2223616161222f3e3c73746f70206f66667365743d22302e3235222073746f702d636f6c6f723d2273696c766572222f3e3c73746f70206f66667365743d22302e3738222073746f702d636f6c6f723d2223663766376637222f3e3c73746f70206f66667365743d22302e3835222073746f702d636f6c6f723d2223666666222f3e3c2f6c696e6561724772616469656e743e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d35222078313d223339342e3332222079313d223636392e3839222078323d223339342e3332222079323d223638392e303422206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d2230222073746f702d636f6c6f723d2223616161222f3e3c73746f70206f66667365743d22302e33222073746f702d636f6c6f723d2273696c766572222f3e3c73746f70206f66667365743d22302e3932222073746f702d636f6c6f723d2223663766376637222f3e3c73746f70206f66667365743d2231222073746f702d636f6c6f723d2223666666222f3e3c2f6c696e6561724772616469656e743e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d36222078313d223339352e32222079313d223635392e3632222078323d223339352e32222079323d223730382e323422206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d22302e3338222073746f702d636f6c6f723d2223616161222f3e3c73746f70206f66667365743d22302e3438222073746f702d636f6c6f723d2223616361636163222073746f702d6f7061636974793d22302e3938222f3e3c73746f70206f66667365743d22302e3538222073746f702d636f6c6f723d2223623262326232222073746f702d6f7061636974793d22302e3931222f3e3c73746f70206f66667365743d22302e3637222073746f702d636f6c6f723d2223626262222073746f702d6f7061636974793d22302e38222f3e3c73746f70206f66667365743d22302e3736222073746f702d636f6c6f723d2223633863386338222073746f702d6f7061636974793d22302e3634222f3e3c73746f70206f66667365743d22302e3835222073746f702d636f6c6f723d2223646164616461222073746f702d6f7061636974793d22302e3434222f3e3c73746f70206f66667365743d22302e3934222073746f702d636f6c6f723d2223656565222073746f702d6f7061636974793d22302e32222f3e3c73746f70206f66667365743d2231222073746f702d636f6c6f723d2223666666222073746f702d6f7061636974793d2230222f3e3c2f6c696e6561724772616469656e743e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d37222078313d223431312e3039222079313d223639302e3834222078323d223431312e3039222079323d223634332e393222206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d2230222073746f702d636f6c6f723d2223616161222f3e3c73746f70206f66667365743d22302e3036222073746f702d636f6c6f723d2223623462346234222f3e3c73746f70206f66667365743d22302e3238222073746f702d636f6c6f723d2223643464346434222f3e3c73746f70206f66667365743d22302e3439222073746f702d636f6c6f723d2223656365636563222f3e3c73746f70206f66667365743d22302e3638222073746f702d636f6c6f723d2223666166616661222f3e3c73746f70206f66667365743d22302e3835222073746f702d636f6c6f723d2223666666222f3e3c2f6c696e6561724772616469656e743e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d38222078313d223337392e3832222079313d223834312e3731222078323d223337392e3832222079323d223738332e313222206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d2230222073746f702d636f6c6f723d2223616161222f3e3c73746f70206f66667365743d22302e3137222073746f702d636f6c6f723d2273696c766572222073746f702d6f7061636974793d22302e3735222f3e3c73746f70206f66667365743d22302e3535222073746f702d636f6c6f723d2223656465646564222073746f702d6f7061636974793d22302e3231222f3e3c73746f70206f66667365743d22302e3732222073746f702d636f6c6f723d2223666666222073746f702d6f7061636974793d2230222f3e3c2f6c696e6561724772616469656e743e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d39222078313d223339342e39222079313d223736322e3431222078323d223339342e39222079323d223830332e383522206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d22302e3038222073746f702d636f6c6f723d2223616161222f3e3c73746f70206f66667365743d22302e3236222073746f702d636f6c6f723d2223633863386338222073746f702d6f7061636974793d22302e3635222f3e3c73746f70206f66667365743d22302e3434222073746f702d636f6c6f723d2223653065306530222073746f702d6f7061636974793d22302e3337222f3e3c73746f70206f66667365743d22302e3539222073746f702d636f6c6f723d2223663166316631222073746f702d6f7061636974793d22302e3137222f3e3c73746f70206f66667365743d22302e3731222073746f702d636f6c6f723d2223666266626662222073746f702d6f7061636974793d22302e3034222f3e3c73746f70206f66667365743d22302e3739222073746f702d636f6c6f723d2223666666222073746f702d6f7061636974793d2230222f3e3c2f6c696e6561724772616469656e743e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d3130222078313d223331392e3933222079313d223530392e3635222078323d223330362e3835222079323d223538332e383122206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d22302e3337222073746f702d636f6c6f723d2223616161222f3e3c73746f70206f66667365743d22302e3433222073746f702d636f6c6f723d2223623162316231222073746f702d6f7061636974793d22302e3931222f3e3c73746f70206f66667365743d2231222073746f702d636f6c6f723d2223666666222073746f702d6f7061636974793d2230222f3e3c2f6c696e6561724772616469656e743e3c2f646566733e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f3c7061746820636c6173733d22636c732d322220643d224d3231362e312c3335392e356c2d31322e342c35326133342e392c33342e392c302c302c302c332e352c32342e396c382e312c31342e367331312e362c32362e312c332e312c35362e326c2d372e352c32372e37613132302e332c3132302e332c302c302c302c352c37372e3263392e322c32322c32312e362c34392e332c33342e392c37312e382c32372c34352e362c35312e372c39322e372c35312e372c39322e377333352e362c36362e332c3131382e352c36332e32563237382e37732d39372e382e362d3137312e322c33384136342e352c36342e352c302c302c302c3231362e312c3335392e355a222f3e3c7061746820636c6173733d22636c732d332220643d224d3432312c3734302e32563834312e36632d38322e342c312d3131382e352d36352d3131382e352d3635732d32342e372d34372e312d35312e372d39322e37632d31332e332d32322e352d32352e372d34392e382d33342e392d37312e38613132302e322c3132302e322c302c302c312d382e392d33382e3273312e362c32392e392c33362c34342e336c34382e382c32352e377332382e382c31342c33362e362c34352e386c392e362c32362e364132322e372c32322e372c302c302c302c3335352e352c37333163372e372c312e332c31372e342c322e372c32352e322c322e375a222f3e3c7061746820636c6173733d22636c732d342220643d224d3230352e372c3433332e357332312e372c33342e372c3131352e372c333763302c302c31362e322d312e312c33362e392c382e396139392e322c39392e322c302c302c312c33372e312c33312e356c322e382c346137302e342c37302e342c302c302c312c31332c3437632d312e372c32312e322d342e352c34392e382d372e392c36342e344c3430312e372c3634316135392e342c35392e342c302c302c302c312e372c32322e326c342e312c31352e346131352e382c31352e382c302c302c302c31322e372c31312e36682e387634302e346c2d39332e352d37322e34413332362e382c3332362e382c302c302c312c3232332e322c3531392e346c2d342e382d31322e3273382e342d32362e372d332e312d35362e325a222f3e3c7061746820636c6173733d22636c732d352220643d224d3430392e352c3638332e326c2d372e342d32352e386133352e372c33352e372c302c302c312d2e372d382e31483338352e326131332e312c31332e312c302c302c302d31312e342c362e36632d322e322c332e392d332e362c392e372d312e322c31372e345a222f3e3c7061746820636c6173733d22636c732d362220643d224d3337322e362c3637332e3373312e322d332e392c392d332e336132332e382c32332e382c302c302c312c31302c332e316c31372e392c31302e316131372e352c31372e352c302c302c302c332e322c332e352c31332e332c31332e332c302c302c302c332e372c322e336c2d32362e392d362e372d362e362d312e35433337382e372c3638302c3337302e352c3637372e382c3337322e362c3637332e335a222f3e3c7061746820636c6173733d22636c732d372220643d224d3337322e322c3635392e366132392e332c32392e332c302c302c302c302c31352e33732d2e352c342e332c31332e382c362e356c32392e352c372e3273322e392c322e312c352e352c312e377631372e39732d32392e372d332e332d34362e392d3235632d352e322d362e352d362e312d31342d322e372d3233433337312e352c3635392e392c3337312e392c3635392e382c3337322e322c3635392e365a222f3e3c7061746820636c6173733d22636c732d312220643d224d3338302e392c3638302e34632e342d312e372c342e332d322e372c382e322d312e3773362e372c332e342c362e332c35222f3e3c7061746820636c6173733d22636c732d382220643d224d3432312c3639302e38732d362e312e342d31312e352d372e366c2d372e362d32362e39732d312e332d342e352d2e342d31322e34483432315a222f3e3c7061746820636c6173733d22636c732d392220643d224d3432312c3834312e36732d32382e322c322e332d35392d31322e362d32322e332d34352e392d32322e332d34352e396c38312e332c385a222f3e3c7061746820636c6173733d22636c732d31302220643d224d3337322e322c37373563382e332d372e312c32312e322d31322e362c34382e382d31322e367634312e356c2d34352d31322e3141392e372c392e372c302c302c312c3337322e322c3737355a222f3e3c7061746820636c6173733d22636c732d31312220643d224d3339342e332c3536362e35732d31342e312d31312d34332e382d372e322d35362e392d342e312d36372e342d31302e3163302c302d33302e352d31372d34352d35342c302c302d332e332c35322e362c35332e362c38312e35533339342e332c3536362e352c3339342e332c3536362e355a222f3ea264697066735822122025ccb5fc8315c0855d085a3a93d170bc08db7271fa23ee696592525f90b336a664736f6c63430008060033000000000000000000000000000000000000000000000000000000006148f650

Deployed Bytecode

0x6080604052600436106103815760003560e01c80636e9b5d35116101d15780639ec29b8211610102578063d7bf81a3116100a0578063e985e9c51161006f578063e985e9c514610a06578063f10fb58414610a4f578063f2fde38b14610a77578063fa7f71b114610a9757600080fd5b8063d7bf81a314610990578063de4f5bda146109ab578063e2fcdbf5146109d3578063e5c8b170146109f357600080fd5b8063b88d4fde116100dc578063b88d4fde14610923578063bb707e7414610943578063c634d0321461095d578063c87b56dd1461097057600080fd5b80639ec29b82146108d0578063a22cb465146108f0578063a8b9dda41461091057600080fd5b80638b54a6771161016f5780638dc4b2fc116101495780638dc4b2fc146108655780638e6248e1146108855780639347e43f1461089b57806395d89b41146108bb57600080fd5b80638b54a677146108115780638c921d06146108275780638da5cb5b1461084757600080fd5b806379d0b428116101ab57806379d0b428146107a55780637b196cff146107c55780637e7b94a8146107db5780638aa001fc146107f157600080fd5b80636e9b5d351461075057806370a0823114610770578063715018a61461079057600080fd5b806332cb6b0c116102b65780634edecb3b11610254578063599d8d2c11610223578063599d8d2c146106d05780635e28a758146106f05780636352211e14610710578063667386f71461073057600080fd5b80634edecb3b146106645780634ee051701461067a5780634f239a8e146106905780634f712b44146106b057600080fd5b806342d9d8761161029057806342d9d876146105eb578063477be2f81461060b5780634be691cf146106215780634d5ed48b1461063757600080fd5b806332cb6b0c1461059f57806341297459146105b557806342842e0e146105cb57600080fd5b806318a55c3d1161032357806323b872dd116102fd57806323b872dd1461051757806328dd3c10146105375780632b9ff134146105575780632e52d6061461057757600080fd5b806318a55c3d146104b45780631a2832e8146104e15780631c95f73f146104f757600080fd5b8063095ea7b31161035f578063095ea7b3146104155780630b2503a614610437578063150b7a021461046557806318160ddd1461049e57600080fd5b806301ffc9a71461038657806306fdde03146103bb578063081812fc146103dd575b600080fd5b34801561039257600080fd5b506103a66103a13660046132c5565b610ab7565b60405190151581526020015b60405180910390f35b3480156103c757600080fd5b506103d0610b09565b6040516103b29190613795565b3480156103e957600080fd5b506103fd6103f83660046132ff565b610b9b565b6040516001600160a01b0390911681526020016103b2565b34801561042157600080fd5b50610435610430366004613138565b610c35565b005b34801561044357600080fd5b506104576104523660046132ff565b610d4b565b6040519081526020016103b2565b34801561047157600080fd5b50610485610480366004613080565b610dd2565b6040516001600160e01b031990911681526020016103b2565b3480156104aa57600080fd5b50610457600e5481565b3480156104c057600080fd5b506104576104cf366004612fef565b600a6020526000908152604090205481565b3480156104ed57600080fd5b50610457600c5481565b34801561050357600080fd5b50610435610512366004613162565b610de3565b34801561052357600080fd5b50610435610532366004613044565b610e41565b34801561054357600080fd5b50610435610552366004613162565b610e72565b34801561056357600080fd5b50610435610572366004613162565b610ecc565b34801561058357600080fd5b506103fd7305a46f1e545526fb803ff974c790acea34d1f2d681565b3480156105ab57600080fd5b506104576122b881565b3480156105c157600080fd5b5061045760115481565b3480156105d757600080fd5b506104356105e6366004613044565b610f26565b3480156105f757600080fd5b506104576106063660046132ff565b610f41565b34801561061757600080fd5b5061045760095481565b34801561062d57600080fd5b5061045761036f81565b34801561064357600080fd5b50610457610652366004612fef565b60086020526000908152604090205481565b34801561067057600080fd5b506104576103e981565b34801561068657600080fd5b50610457600d5481565b34801561069c57600080fd5b506104356106ab3660046132ff565b610f7c565b3480156106bc57600080fd5b506104356106cb366004613162565b61113a565b3480156106dc57600080fd5b506104356106eb366004613162565b611194565b3480156106fc57600080fd5b5061043561070b366004612fef565b6111ee565b34801561071c57600080fd5b506103fd61072b3660046132ff565b611254565b34801561073c57600080fd5b5061045761074b3660046132ff565b6112cb565b34801561075c57600080fd5b5061043561076b366004613162565b611306565b34801561077c57600080fd5b5061045761078b366004612fef565b611360565b34801561079c57600080fd5b506104356113e7565b3480156107b157600080fd5b506104356107c0366004613162565b61141d565b3480156107d157600080fd5b50610457610bbb81565b3480156107e757600080fd5b5061045760105481565b3480156107fd57600080fd5b5061045761080c3660046132ff565b611477565b34801561081d57600080fd5b50610457600b5481565b34801561083357600080fd5b506104576108423660046132ff565b6114b2565b34801561085357600080fd5b506006546001600160a01b03166103fd565b34801561087157600080fd5b50610435610880366004613162565b6114ed565b34801561089157600080fd5b50610457610fa581565b3480156108a757600080fd5b506104576108b63660046132ff565b611547565b3480156108c757600080fd5b506103d0611582565b3480156108dc57600080fd5b506104576108eb3660046132ff565b611591565b3480156108fc57600080fd5b5061043561090b3660046130fc565b6115cc565b61043561091e3660046132ff565b611691565b34801561092f57600080fd5b5061043561093e366004613080565b6119e6565b34801561094f57600080fd5b50600f546103a69060ff1681565b61043561096b3660046132ff565b611a1e565b34801561097c57600080fd5b506103d061098b3660046132ff565b611c45565b34801561099c57600080fd5b5061045766832fd5343c430081565b3480156109b757600080fd5b506103fd73b47e3cd837ddf8e4c57f05d70ab865de6e193bbb81565b3480156109df57600080fd5b506104356109ee366004613218565b611ee7565b610435610a013660046132ff565b611ff8565b348015610a1257600080fd5b506103a6610a21366004613011565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610a5b57600080fd5b506103fd73498ed28c41eec6732a455158692760c7a3743ecb81565b348015610a8357600080fd5b50610435610a92366004612fef565b6122e5565b348015610aa357600080fd5b50610457610ab23660046132ff565b61237d565b60006001600160e01b031982166380ac58cd60e01b1480610ae857506001600160e01b03198216635b5e139f60e01b145b80610b0357506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060008054610b1890613ac1565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4490613ac1565b8015610b915780601f10610b6657610100808354040283529160200191610b91565b820191906000526020600020905b815481529060010190602001808311610b7457829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610c195760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610c4082611254565b9050806001600160a01b0316836001600160a01b03161415610cae5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610c10565b336001600160a01b0382161480610cca5750610cca8133610a21565b610d3c5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610c10565b610d4683836123b8565b505050565b60405163059281d360e11b8152600481018290526000907305a46f1e545526fb803ff974c790acea34d1f2d690630b2503a6906024015b60206040518083038186803b158015610d9a57600080fd5b505afa158015610dae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b039190613318565b630a85bd0160e11b5b949350505050565b6006546001600160a01b03163314610e0d5760405162461bcd60e51b8152600401610c10906138d7565b600f5460ff1615610e305760405162461bcd60e51b8152600401610c10906138b9565b610e3d601282600f612e17565b5050565b610e4b3382612426565b610e675760405162461bcd60e51b8152600401610c109061390c565b610d46838383612519565b6006546001600160a01b03163314610e9c5760405162461bcd60e51b8152600401610c10906138d7565b600f5460ff1615610ebf5760405162461bcd60e51b8152600401610c10906138b9565b610e3d604e82600f612e17565b6006546001600160a01b03163314610ef65760405162461bcd60e51b8152600401610c10906138d7565b600f5460ff1615610f195760405162461bcd60e51b8152600401610c10906138b9565b610e3d605d82600f612e17565b610d46838383604051806020016040528060008152506119e6565b60405163216cec3b60e11b8152600481018290526000907305a46f1e545526fb803ff974c790acea34d1f2d6906342d9d87690602401610d82565b60026007541415610f9f5760405162461bcd60e51b8152600401610c109061395d565b60026007556006546001600160a01b03163314610fce5760405162461bcd60e51b8152600401610c10906138d7565b4260105411610fef5760405162461bcd60e51b8152600401610c1090613853565b600f5460ff166110115760405162461bcd60e51b8152600401610c10906137a8565b61036f600c54106110345760405162461bcd60e51b8152600401610c1090613827565b600e546040516337347e0560e11b81526122b86004820152602481019190915260009073498ed28c41eec6732a455158692760c7a3743ecb90636e68fc0a9060440160206040518083038186803b15801561108e57600080fd5b505afa1580156110a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c69190613318565b905060005b82811080156110dd575061036f600c54105b1561113057600c80549060006110f283613afc565b9190505550611111826057600c541161110b57336126b9565b306126b9565b61111c906001613a33565b91508061112881613afc565b9150506110cb565b5050600160075550565b6006546001600160a01b031633146111645760405162461bcd60e51b8152600401610c10906138d7565b600f5460ff16156111875760405162461bcd60e51b8152600401610c10906138b9565b610e3d603082600f612e17565b6006546001600160a01b031633146111be5760405162461bcd60e51b8152600401610c10906138d7565b600f5460ff16156111e15760405162461bcd60e51b8152600401610c10906138b9565b610e3d602182600f612e17565b6006546001600160a01b031633146112185760405162461bcd60e51b8152600401610c10906138d7565b600f5460ff161561123b5760405162461bcd60e51b8152600401610c10906138b9565b600f805460ff19166001179055611251816122e5565b50565b6000818152600260205260408120546001600160a01b031680610b035760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610c10565b60405163667386f760e01b8152600481018290526000907305a46f1e545526fb803ff974c790acea34d1f2d69063667386f790602401610d82565b6006546001600160a01b031633146113305760405162461bcd60e51b8152600401610c10906138d7565b600f5460ff16156113535760405162461bcd60e51b8152600401610c10906138b9565b610e3d603f82600f612e17565b60006001600160a01b0382166113cb5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610c10565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146114115760405162461bcd60e51b8152600401610c10906138d7565b61141b60006126ee565b565b6006546001600160a01b031633146114475760405162461bcd60e51b8152600401610c10906138d7565b600f5460ff161561146a5760405162461bcd60e51b8152600401610c10906138b9565b610e3d606c82600f612e17565b6040516322a8007f60e21b8152600481018290526000907305a46f1e545526fb803ff974c790acea34d1f2d690638aa001fc90602401610d82565b6040516346490e8360e11b8152600481018290526000907305a46f1e545526fb803ff974c790acea34d1f2d690638c921d0690602401610d82565b6006546001600160a01b031633146115175760405162461bcd60e51b8152600401610c10906138d7565b600f5460ff161561153a5760405162461bcd60e51b8152600401610c10906138b9565b610e3d607b82600f612e17565b604051639347e43f60e01b8152600481018290526000907305a46f1e545526fb803ff974c790acea34d1f2d690639347e43f90602401610d82565b606060018054610b1890613ac1565b604051634f614dc160e11b8152600481018290526000907305a46f1e545526fb803ff974c790acea34d1f2d690639ec29b8290602401610d82565b6001600160a01b0382163314156116255760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610c10565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600260075414156116b45760405162461bcd60e51b8152600401610c109061395d565b6002600755806116cb8166832fd5343c4300613a5f565b3410156116ea5760405162461bcd60e51b8152600401610c1090613994565b426010541161170b5760405162461bcd60e51b8152600401610c1090613853565b600f5460ff1661172d5760405162461bcd60e51b8152600401610c10906137a8565b6000821161174d5760405162461bcd60e51b8152600401610c109061388a565b6103e9600b54106117705760405162461bcd60e51b8152600401610c1090613827565b6040516370a0823160e01b815233600482015260009073b47e3cd837ddf8e4c57f05d70ab865de6e193bbb906370a082319060240160206040518083038186803b1580156117bd57600080fd5b505afa1580156117d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117f59190613318565b90506000811180156118155750336000908152600a602052604090205481115b6118585760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b6044820152606401610c10565b600e546040516337347e0560e11b81526122b860048201526024810191909152600090819073498ed28c41eec6732a455158692760c7a3743ecb90636e68fc0a9060440160206040518083038186803b1580156118b457600080fd5b505afa1580156118c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118ec9190613318565b90505b848210801561190157506103e9600b54105b801561191b5750336000908152600a602052604090205483115b1561197e57600b805490600061193083613afc565b9091555050336000908152600a6020526040812080549161195083613afc565b919050555061195f81336126b9565b61196a906001613a33565b90508161197681613afc565b9250506118ef565b600061199166832fd5343c430084613a5f565b905080156119b4576119b46119ae6006546001600160a01b031690565b82612740565b60006119c08234613a7e565b11156119d9576119d9336119d48334613a7e565b612740565b5050600160075550505050565b6119f03383612426565b611a0c5760405162461bcd60e51b8152600401610c109061390c565b611a1884848484612859565b50505050565b60026007541415611a415760405162461bcd60e51b8152600401610c109061395d565b600260075580611a588166832fd5343c4300613a5f565b341015611a775760405162461bcd60e51b8152600401610c1090613994565b4260105411611a985760405162461bcd60e51b8152600401610c1090613853565b600f5460ff16611aba5760405162461bcd60e51b8152600401610c10906137a8565b60008211611ada5760405162461bcd60e51b8152600401610c109061388a565b610bbb600d5410611afd5760405162461bcd60e51b8152600401610c1090613827565b600e546040516337347e0560e11b81526122b860048201526024810191909152600090819073498ed28c41eec6732a455158692760c7a3743ecb90636e68fc0a9060440160206040518083038186803b158015611b5957600080fd5b505afa158015611b6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b919190613318565b90505b8382108015611ba65750610bbb600d54105b15611be957600d8054906000611bbb83613afc565b9190505550611bca81336126b9565b611bd5906001613a33565b905081611be181613afc565b925050611b94565b6000611bfc66832fd5343c430084613a5f565b90508015611c1957611c196119ae6006546001600160a01b031690565b6000611c258234613a7e565b1115611c3957611c39336119d48334613a7e565b50506001600755505050565b6060611c4f612e67565b6040518061112001604052806110fb8152602001613b9a6110fb91398152611d1a6012611c7b856112cb565b600f8110611c8b57611c8b613b57565b018054611c9790613ac1565b80601f0160208091040260200160405190810160405280929190818152602001828054611cc390613ac1565b8015611d105780601f10611ce557610100808354040283529160200191611d10565b820191906000526020600020905b815481529060010190602001808311611cf357829003601f168201915b505050505061288c565b6020820152611d2d6021611c7b85611477565b8160026020020181905250611d5c6040518061074001604052806107168152602001614cd5610716913961288c565b6060820152611d6f6030611c7b8561237d565b60a0820152611d82603f611c7b85611591565b60c0820152611d95604e611c7b85610d4b565b60e0820152611da8605d611c7b85610f41565b610100820152611dbc606c611c7b856114b2565b610120820152611dd0607b611c7b85611547565b61014082015260408051808201825260068152651e17b9bb339f60d11b602080830191909152610160840191909152825181840151838501516060860151608087015160a088015160c089015160e08a01516101008b0151995160009a611e399a9091016133d0565b60408051808303601f1901815290829052610120840151610140850151610160860151929450611e6e93859390602001613379565b60405160208183030381529060405290506000611ebb611e8d866128b7565b611e96846129b5565b604051602001611ea7929190613523565b6040516020818303038152906040526129b5565b905080604051602001611ece9190613713565b60408051601f1981840301815291905295945050505050565b6006546001600160a01b03163314611f115760405162461bcd60e51b8152600401610c10906138d7565b600f5460ff16611f335760405162461bcd60e51b8152600401610c10906137a8565b6011544211611f765760405162461bcd60e51b815260206004820152600f60248201526e18d85b89dd0818db185a5b481e595d608a1b6044820152606401610c10565b601154611f869062278d00613a33565b60115560005b815181108015611f9c5750605881105b15610e3d57611fe630611fb76006546001600160a01b031690565b848481518110611fc957611fc9613b57565b602002602001015160405180602001604052806000815250612859565b80611ff081613afc565b915050611f8c565b6002600754141561201b5760405162461bcd60e51b8152600401610c109061395d565b6002600755806120328166832fd5343c4300613a5f565b3410156120515760405162461bcd60e51b8152600401610c1090613994565b42601054116120725760405162461bcd60e51b8152600401610c1090613853565b600f5460ff166120945760405162461bcd60e51b8152600401610c10906137a8565b600082116120b45760405162461bcd60e51b8152600401610c109061388a565b610fa5600954106120d75760405162461bcd60e51b8152600401610c1090613827565b6040516370a0823160e01b81523360048201526000907305a46f1e545526fb803ff974c790acea34d1f2d6906370a082319060240160206040518083038186803b15801561212457600080fd5b505afa158015612138573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061215c9190613318565b905060008111801561217c57503360009081526008602052604090205481115b6121bf5760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b6044820152606401610c10565b600e546040516337347e0560e11b81526122b860048201526024810191909152600090819073498ed28c41eec6732a455158692760c7a3743ecb90636e68fc0a9060440160206040518083038186803b15801561221b57600080fd5b505afa15801561222f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122539190613318565b90505b84821080156122685750610fa5600954105b801561228257503360009081526008602052604090205483115b1561197e576009805490600061229783613afc565b90915550503360009081526008602052604081208054916122b783613afc565b91905055506122c681336126b9565b6122d1906001613a33565b9050816122dd81613afc565b925050612256565b6006546001600160a01b0316331461230f5760405162461bcd60e51b8152600401610c10906138d7565b6001600160a01b0381166123745760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c10565b611251816126ee565b60405163fa7f71b160e01b8152600481018290526000907305a46f1e545526fb803ff974c790acea34d1f2d69063fa7f71b190602401610d82565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906123ed82611254565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661249f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610c10565b60006124aa83611254565b9050806001600160a01b0316846001600160a01b031614806124e55750836001600160a01b03166124da84610b9b565b6001600160a01b0316145b80610ddb57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff16610ddb565b826001600160a01b031661252c82611254565b6001600160a01b0316146125945760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610c10565b6001600160a01b0382166125f65760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610c10565b6126016000826123b8565b6001600160a01b038316600090815260036020526040812080546001929061262a908490613a7e565b90915550506001600160a01b0382166000908152600360205260408120805460019290612658908490613a33565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000806126c584612b1b565b90506126d18382612b7e565b600e80549060006126e183613afc565b9091555090949350505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b804710156127905760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610c10565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146127dd576040519150601f19603f3d011682016040523d82523d6000602084013e6127e2565b606091505b5050905080610d465760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610c10565b612864848484612519565b61287084848484612b98565b611a185760405162461bcd60e51b8152600401610c10906137d5565b606081826040516020016128a1929190613490565b6040516020818303038152906040529050919050565b6060816128db5750506040805180820190915260018152600360fc1b602082015290565b8160005b811561290557806128ef81613afc565b91506128fe9050600a83613a4b565b91506128df565b60008167ffffffffffffffff81111561292057612920613b6d565b6040519080825280601f01601f19166020018201604052801561294a576020820181803683370190505b5090505b8415610ddb5761295f600183613a7e565b915061296c600a86613b17565b612977906030613a33565b60f81b81838151811061298c5761298c613b57565b60200101906001600160f81b031916908160001a9053506129ae600a86613a4b565b945061294e565b8051606090806129d5575050604080516020810190915260008152919050565b600060036129e4836002613a33565b6129ee9190613a4b565b6129f9906004613a5f565b90506000612a08826020613a33565b67ffffffffffffffff811115612a2057612a20613b6d565b6040519080825280601f01601f191660200182016040528015612a4a576020820181803683370190505b5090506000604051806060016040528060408152602001614c95604091399050600181016020830160005b86811015612ad6576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b835260049092019101612a75565b506003860660018114612af05760028114612b0157612b0d565b613d3d60f01b600119830152612b0d565b603d60f81b6000198301525b505050918152949350505050565b600081815b6122b8811015612b77576000828152600260205260409020546001600160a01b0316612b4b57612b77565b6122b8612b59836001613a33565b612b639190613b17565b915080612b6f81613afc565b915050612b20565b5092915050565b610e3d828260405180602001604052806000815250612ca2565b60006001600160a01b0384163b15612c9a57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612bdc903390899088908890600401613758565b602060405180830381600087803b158015612bf657600080fd5b505af1925050508015612c26575060408051601f3d908101601f19168201909252612c23918101906132e2565b60015b612c80573d808015612c54576040519150601f19603f3d011682016040523d82523d6000602084013e612c59565b606091505b508051612c785760405162461bcd60e51b8152600401610c10906137d5565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610ddb565b506001610ddb565b612cac8383612cd5565b612cb96000848484612b98565b610d465760405162461bcd60e51b8152600401610c10906137d5565b6001600160a01b038216612d2b5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610c10565b6000818152600260205260409020546001600160a01b031615612d905760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610c10565b6001600160a01b0382166000908152600360205260408120805460019290612db9908490613a33565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82600f8101928215612e57579160200282015b82811115612e575782518051612e47918491602090910190612e8f565b5091602001919060010190612e2a565b50612e63929150612f0f565b5090565b604051806101800160405280600c905b6060815260200190600190039081612e775790505090565b828054612e9b90613ac1565b90600052602060002090601f016020900481019282612ebd5760008555612f03565b82601f10612ed657805160ff1916838001178555612f03565b82800160010185558215612f03579182015b82811115612f03578251825591602001919060010190612ee8565b50612e63929150612f2c565b80821115612e63576000612f238282612f41565b50600101612f0f565b5b80821115612e635760008155600101612f2d565b508054612f4d90613ac1565b6000825580601f10612f5d575050565b601f0160209004906000526020600020908101906112519190612f2c565b600067ffffffffffffffff831115612f9557612f95613b6d565b612fa8601f8401601f1916602001613a02565b9050828152838383011115612fbc57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b0381168114612fea57600080fd5b919050565b60006020828403121561300157600080fd5b61300a82612fd3565b9392505050565b6000806040838503121561302457600080fd5b61302d83612fd3565b915061303b60208401612fd3565b90509250929050565b60008060006060848603121561305957600080fd5b61306284612fd3565b925061307060208501612fd3565b9150604084013590509250925092565b6000806000806080858703121561309657600080fd5b61309f85612fd3565b93506130ad60208601612fd3565b925060408501359150606085013567ffffffffffffffff8111156130d057600080fd5b8501601f810187136130e157600080fd5b6130f087823560208401612f7b565b91505092959194509250565b6000806040838503121561310f57600080fd5b61311883612fd3565b91506020830135801515811461312d57600080fd5b809150509250929050565b6000806040838503121561314b57600080fd5b61315483612fd3565b946020939093013593505050565b6000602080838503121561317557600080fd5b823567ffffffffffffffff8082111561318d57600080fd5b8185019150601f86818401126131a257600080fd5b6131aa6139d8565b8084896101e0870111156131bd57600080fd5b60005b600f811015613209578135868111156131d857600080fd5b87018581018c136131e857600080fd5b6131f68c82358b8401612f7b565b85525092870192908701906001016131c0565b50909998505050505050505050565b6000602080838503121561322b57600080fd5b823567ffffffffffffffff8082111561324357600080fd5b818501915085601f83011261325757600080fd5b81358181111561326957613269613b6d565b8060051b915061327a848301613a02565b8181528481019084860184860187018a101561329557600080fd5b600095505b838610156132b857803583526001959095019491860191860161329a565b5098975050505050505050565b6000602082840312156132d757600080fd5b813561300a81613b83565b6000602082840312156132f457600080fd5b815161300a81613b83565b60006020828403121561331157600080fd5b5035919050565b60006020828403121561332a57600080fd5b5051919050565b60008151808452613349816020860160208601613a95565b601f01601f19169290920160200192915050565b6000815161336f818560208601613a95565b9290920192915050565b6000855161338b818460208a01613a95565b85519083019061339f818360208a01613a95565b85519101906133b2818360208901613a95565b84519101906133c5818360208801613a95565b019695505050505050565b60008a516133e2818460208f01613a95565b8a516133f48183860160208f01613a95565b8a519184010190613409818360208e01613a95565b895191019061341c818360208d01613a95565b885161342e8183850160208d01613a95565b8851929091010190613444818360208b01613a95565b86516134568183850160208b01613a95565b865192909101019061346c818360208901613a95565b845161347e8183850160208901613a95565b9101019b9a5050505050505050505050565b621e339f60e91b8152600083516134ae816003850160208801613a95565b631e17b39f60e11b60039184019182018190527f3c67207472616e73666f726d3d227363616c65282d31203129207472616e736c60078301526c30ba3294169c1a19161814911f60991b60278301528451613510816034850160208901613a95565b6034920191820152603801949350505050565b7f7b226e616d65223a20225079746861676f7265616e204d61736b20232000000081526000835161355b81601d850160208801613a95565b7f222c20226465736372697074696f6e223a2022546865205079746861676f7265601d918401918201527f616e207363686f6f6c206f662074686f75676874207465616368657320757320603d8201527f74686174206e756d626572732061726520746865206261736973206f66207468605d8201527f6520656e7469726520756e6976657273652c207468652062617365206c617965607d8201527f72206f6620706572636569766564207265616c6974792e205468652072657374609d8201527f206973206275742061206d6572652065787072657373696f6e206f662074686f60bd8201527f73652e204e756d626572732061726520616c6c2061726f756e642075732c206860dd8201527f61766520616c77617973206265656e2c2077696c6c20616c776179732062652e60fd8201527f2057656c636f6d6520746f20746865206e20436f6c6c6563746976652e222c2061011d8201527f22696d616765223a2022646174613a696d6167652f7376672b786d6c3b62617361013d82015263194d8d0b60e21b61015d82015261370a6136fc61016183018661335d565b61227d60f01b815260020190565b95945050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161374b81601d850160208701613a95565b91909101601d0192915050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061378b90830184613331565b9695505050505050565b60208152600061300a6020830184613331565b60208082526013908201527210d85b89dd0818d85b1b081d1a1a5cc81e595d606a1b604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526012908201527143616e2774206d696e7420616e796d6f726560701b604082015260600190565b60208082526017908201527f436c61696d696e6720706572696f64206973206f766572000000000000000000604082015260600190565b602080825260159082015274416d6f756e742063616e6e6f74206265207a65726f60581b604082015260600190565b6020808252600490820152635775743f60e01b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60208082526024908201527f4d696e7420636f737420302e303336393235383134372065746820706572207460408201526337b5b2b760e11b606082015260800190565b6040516101e0810167ffffffffffffffff811182821017156139fc576139fc613b6d565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715613a2b57613a2b613b6d565b604052919050565b60008219821115613a4657613a46613b2b565b500190565b600082613a5a57613a5a613b41565b500490565b6000816000190483118215151615613a7957613a79613b2b565b500290565b600082821015613a9057613a90613b2b565b500390565b60005b83811015613ab0578181015183820152602001613a98565b83811115611a185750506000910152565b600181811c90821680613ad557607f821691505b60208210811415613af657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613b1057613b10613b2b565b5060010190565b600082613b2657613b26613b41565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461125157600080fdfe3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f7376672220786d6c6e733a786c696e6b3d22687474703a2f2f7777772e77332e6f72672f313939392f786c696e6b222076696577426f783d223020302038343220393032223e3c646566733e3c7374796c653e202e636c732d317b66696c6c3a233036303630363b7d2e636c732d327b66696c6c3a75726c28236c696e6561722d6772616469656e74293b7d2e636c732d337b66696c6c3a75726c28236c696e6561722d6772616469656e742d32293b7d2e636c732d347b66696c6c3a75726c28236c696e6561722d6772616469656e742d33293b7d2e636c732d357b66696c6c3a75726c28236c696e6561722d6772616469656e742d34293b7d2e636c732d367b66696c6c3a75726c28236c696e6561722d6772616469656e742d35293b7d2e636c732d377b66696c6c3a75726c28236c696e6561722d6772616469656e742d36293b7d2e636c732d387b66696c6c3a75726c28236c696e6561722d6772616469656e742d37293b7d2e636c732d397b66696c6c3a75726c28236c696e6561722d6772616469656e742d38293b7d2e636c732d31307b66696c6c3a75726c28236c696e6561722d6772616469656e742d39293b7d2e636c732d31317b66696c6c3a75726c28236c696e6561722d6772616469656e742d3130293b7d203c2f7374796c653e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e74222078313d223230392e3737222079313d223539332e3737222078323d223436382e3531222079323d223534382e313422206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d2230222073746f702d636f6c6f723d2223616161222f3e3c73746f70206f66667365743d22302e3031222073746f702d636f6c6f723d2223616361636163222f3e3c73746f70206f66667365743d22302e3136222073746f702d636f6c6f723d2223643064306430222f3e3c73746f70206f66667365743d22302e33222073746f702d636f6c6f723d2223656165616561222f3e3c73746f70206f66667365743d22302e3433222073746f702d636f6c6f723d2223666166616661222f3e3c73746f70206f66667365743d22302e3533222073746f702d636f6c6f723d2223666666222f3e3c2f6c696e6561724772616469656e743e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d32222078313d22333134222079313d223537332e3933222078323d22333134222079323d223834312e3622206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d2230222073746f702d636f6c6f723d2223616161222f3e3c73746f70206f66667365743d22302e3434222073746f702d636f6c6f723d2223646264626462222f3e3c73746f70206f66667365743d22302e38222073746f702d636f6c6f723d2223666666222f3e3c2f6c696e6561724772616469656e743e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d33222078313d223336392e3139222079313d223438352e3431222078323d223237352e3933222079323d223634362e393422206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d2230222073746f702d636f6c6f723d2223616161222f3e3c73746f70206f66667365743d22302e3133222073746f702d636f6c6f723d2273696c766572222073746f702d6f7061636974793d22302e3734222f3e3c73746f70206f66667365743d22302e3238222073746f702d636f6c6f723d2223643764376437222073746f702d6f7061636974793d22302e3437222f3e3c73746f70206f66667365743d22302e3432222073746f702d636f6c6f723d2223653865386538222073746f702d6f7061636974793d22302e3237222f3e3c73746f70206f66667365743d22302e3536222073746f702d636f6c6f723d2223663566356635222073746f702d6f7061636974793d22302e3132222f3e3c73746f70206f66667365743d22302e3638222073746f702d636f6c6f723d2223666366636663222073746f702d6f7061636974793d22302e3033222f3e3c73746f70206f66667365743d22302e3738222073746f702d636f6c6f723d2223666666222073746f702d6f7061636974793d2230222f3e3c2f6c696e6561724772616469656e743e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d34222078313d223430392e3535222079313d223636362e3237222078323d223337312e3334222079323d223636362e323722206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d2230222073746f702d636f6c6f723d2223616161222f3e3c73746f70206f66667365743d22302e3235222073746f702d636f6c6f723d2273696c766572222f3e3c73746f70206f66667365743d22302e3738222073746f702d636f6c6f723d2223663766376637222f3e3c73746f70206f66667365743d22302e3835222073746f702d636f6c6f723d2223666666222f3e3c2f6c696e6561724772616469656e743e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d35222078313d223339342e3332222079313d223636392e3839222078323d223339342e3332222079323d223638392e303422206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d2230222073746f702d636f6c6f723d2223616161222f3e3c73746f70206f66667365743d22302e33222073746f702d636f6c6f723d2273696c766572222f3e3c73746f70206f66667365743d22302e3932222073746f702d636f6c6f723d2223663766376637222f3e3c73746f70206f66667365743d2231222073746f702d636f6c6f723d2223666666222f3e3c2f6c696e6561724772616469656e743e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d36222078313d223339352e32222079313d223635392e3632222078323d223339352e32222079323d223730382e323422206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d22302e3338222073746f702d636f6c6f723d2223616161222f3e3c73746f70206f66667365743d22302e3438222073746f702d636f6c6f723d2223616361636163222073746f702d6f7061636974793d22302e3938222f3e3c73746f70206f66667365743d22302e3538222073746f702d636f6c6f723d2223623262326232222073746f702d6f7061636974793d22302e3931222f3e3c73746f70206f66667365743d22302e3637222073746f702d636f6c6f723d2223626262222073746f702d6f7061636974793d22302e38222f3e3c73746f70206f66667365743d22302e3736222073746f702d636f6c6f723d2223633863386338222073746f702d6f7061636974793d22302e3634222f3e3c73746f70206f66667365743d22302e3835222073746f702d636f6c6f723d2223646164616461222073746f702d6f7061636974793d22302e3434222f3e3c73746f70206f66667365743d22302e3934222073746f702d636f6c6f723d2223656565222073746f702d6f7061636974793d22302e32222f3e3c73746f70206f66667365743d2231222073746f702d636f6c6f723d2223666666222073746f702d6f7061636974793d2230222f3e3c2f6c696e6561724772616469656e743e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d37222078313d223431312e3039222079313d223639302e3834222078323d223431312e3039222079323d223634332e393222206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d2230222073746f702d636f6c6f723d2223616161222f3e3c73746f70206f66667365743d22302e3036222073746f702d636f6c6f723d2223623462346234222f3e3c73746f70206f66667365743d22302e3238222073746f702d636f6c6f723d2223643464346434222f3e3c73746f70206f66667365743d22302e3439222073746f702d636f6c6f723d2223656365636563222f3e3c73746f70206f66667365743d22302e3638222073746f702d636f6c6f723d2223666166616661222f3e3c73746f70206f66667365743d22302e3835222073746f702d636f6c6f723d2223666666222f3e3c2f6c696e6561724772616469656e743e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d38222078313d223337392e3832222079313d223834312e3731222078323d223337392e3832222079323d223738332e313222206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d2230222073746f702d636f6c6f723d2223616161222f3e3c73746f70206f66667365743d22302e3137222073746f702d636f6c6f723d2273696c766572222073746f702d6f7061636974793d22302e3735222f3e3c73746f70206f66667365743d22302e3535222073746f702d636f6c6f723d2223656465646564222073746f702d6f7061636974793d22302e3231222f3e3c73746f70206f66667365743d22302e3732222073746f702d636f6c6f723d2223666666222073746f702d6f7061636974793d2230222f3e3c2f6c696e6561724772616469656e743e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d39222078313d223339342e39222079313d223736322e3431222078323d223339342e39222079323d223830332e383522206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d22302e3038222073746f702d636f6c6f723d2223616161222f3e3c73746f70206f66667365743d22302e3236222073746f702d636f6c6f723d2223633863386338222073746f702d6f7061636974793d22302e3635222f3e3c73746f70206f66667365743d22302e3434222073746f702d636f6c6f723d2223653065306530222073746f702d6f7061636974793d22302e3337222f3e3c73746f70206f66667365743d22302e3539222073746f702d636f6c6f723d2223663166316631222073746f702d6f7061636974793d22302e3137222f3e3c73746f70206f66667365743d22302e3731222073746f702d636f6c6f723d2223666266626662222073746f702d6f7061636974793d22302e3034222f3e3c73746f70206f66667365743d22302e3739222073746f702d636f6c6f723d2223666666222073746f702d6f7061636974793d2230222f3e3c2f6c696e6561724772616469656e743e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d3130222078313d223331392e3933222079313d223530392e3635222078323d223330362e3835222079323d223538332e383122206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d22302e3337222073746f702d636f6c6f723d2223616161222f3e3c73746f70206f66667365743d22302e3433222073746f702d636f6c6f723d2223623162316231222073746f702d6f7061636974793d22302e3931222f3e3c73746f70206f66667365743d2231222073746f702d636f6c6f723d2223666666222073746f702d6f7061636974793d2230222f3e3c2f6c696e6561724772616469656e743e3c2f646566733e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f3c7061746820636c6173733d22636c732d322220643d224d3231362e312c3335392e356c2d31322e342c35326133342e392c33342e392c302c302c302c332e352c32342e396c382e312c31342e367331312e362c32362e312c332e312c35362e326c2d372e352c32372e37613132302e332c3132302e332c302c302c302c352c37372e3263392e322c32322c32312e362c34392e332c33342e392c37312e382c32372c34352e362c35312e372c39322e372c35312e372c39322e377333352e362c36362e332c3131382e352c36332e32563237382e37732d39372e382e362d3137312e322c33384136342e352c36342e352c302c302c302c3231362e312c3335392e355a222f3e3c7061746820636c6173733d22636c732d332220643d224d3432312c3734302e32563834312e36632d38322e342c312d3131382e352d36352d3131382e352d3635732d32342e372d34372e312d35312e372d39322e37632d31332e332d32322e352d32352e372d34392e382d33342e392d37312e38613132302e322c3132302e322c302c302c312d382e392d33382e3273312e362c32392e392c33362c34342e336c34382e382c32352e377332382e382c31342c33362e362c34352e386c392e362c32362e364132322e372c32322e372c302c302c302c3335352e352c37333163372e372c312e332c31372e342c322e372c32352e322c322e375a222f3e3c7061746820636c6173733d22636c732d342220643d224d3230352e372c3433332e357332312e372c33342e372c3131352e372c333763302c302c31362e322d312e312c33362e392c382e396139392e322c39392e322c302c302c312c33372e312c33312e356c322e382c346137302e342c37302e342c302c302c312c31332c3437632d312e372c32312e322d342e352c34392e382d372e392c36342e344c3430312e372c3634316135392e342c35392e342c302c302c302c312e372c32322e326c342e312c31352e346131352e382c31352e382c302c302c302c31322e372c31312e36682e387634302e346c2d39332e352d37322e34413332362e382c3332362e382c302c302c312c3232332e322c3531392e346c2d342e382d31322e3273382e342d32362e372d332e312d35362e325a222f3e3c7061746820636c6173733d22636c732d352220643d224d3430392e352c3638332e326c2d372e342d32352e386133352e372c33352e372c302c302c312d2e372d382e31483338352e326131332e312c31332e312c302c302c302d31312e342c362e36632d322e322c332e392d332e362c392e372d312e322c31372e345a222f3e3c7061746820636c6173733d22636c732d362220643d224d3337322e362c3637332e3373312e322d332e392c392d332e336132332e382c32332e382c302c302c312c31302c332e316c31372e392c31302e316131372e352c31372e352c302c302c302c332e322c332e352c31332e332c31332e332c302c302c302c332e372c322e336c2d32362e392d362e372d362e362d312e35433337382e372c3638302c3337302e352c3637372e382c3337322e362c3637332e335a222f3e3c7061746820636c6173733d22636c732d372220643d224d3337322e322c3635392e366132392e332c32392e332c302c302c302c302c31352e33732d2e352c342e332c31332e382c362e356c32392e352c372e3273322e392c322e312c352e352c312e377631372e39732d32392e372d332e332d34362e392d3235632d352e322d362e352d362e312d31342d322e372d3233433337312e352c3635392e392c3337312e392c3635392e382c3337322e322c3635392e365a222f3e3c7061746820636c6173733d22636c732d312220643d224d3338302e392c3638302e34632e342d312e372c342e332d322e372c382e322d312e3773362e372c332e342c362e332c35222f3e3c7061746820636c6173733d22636c732d382220643d224d3432312c3639302e38732d362e312e342d31312e352d372e366c2d372e362d32362e39732d312e332d342e352d2e342d31322e34483432315a222f3e3c7061746820636c6173733d22636c732d392220643d224d3432312c3834312e36732d32382e322c322e332d35392d31322e362d32322e332d34352e392d32322e332d34352e396c38312e332c385a222f3e3c7061746820636c6173733d22636c732d31302220643d224d3337322e322c37373563382e332d372e312c32312e322d31322e362c34382e382d31322e367634312e356c2d34352d31322e3141392e372c392e372c302c302c312c3337322e322c3737355a222f3e3c7061746820636c6173733d22636c732d31312220643d224d3339342e332c3536362e35732d31342e312d31312d34332e382d372e322d35362e392d342e312d36372e342d31302e3163302c302d33302e352d31372d34352d35342c302c302d332e332c35322e362c35332e362c38312e35533339342e332c3536362e352c3339342e332c3536362e355a222f3ea264697066735822122025ccb5fc8315c0855d085a3a93d170bc08db7271fa23ee696592525f90b336a664736f6c63430008060033

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

000000000000000000000000000000000000000000000000000000006148f650

-----Decoded View---------------
Arg [0] : _endMintingPeriodDateAndTime (uint256): 1632171600

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000006148f650


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.