ETH Price: $3,365.49 (-1.50%)
Gas: 8 Gwei

Token

Goat Soup (GSOUP)
 

Overview

Max Total Supply

3,744 GSOUP

Holders

1,970

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
awry.eth
Balance
1 GSOUP
0x8a7c6ec12736e752bdbb3980d96ded2e3e475f02
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Goat Soup is a fully on-chain Genesis project by Andy Milonakis. The utility will include invites to parties, events, IRL art shows, merch as well as occasionally free airdrops. Also, the first hip-hop single track release on OpenSea will be a free mint to all Goat Soup holders. Check out [Discord](https://discord.gg/goatsoup) Or hit Andy up on [Twitter](https://twitter.com/andymilonakis)

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
GoatSoup

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "GoatLibrary.sol";

contract GoatSoup is ERC721, Ownable {
    using ECDSA for bytes32;

    uint256 private constant GS_PRICE = 0.08 ether;
    uint256 private constant GS_PRIVATE_MAX = 3500;
    uint256 private constant GS_SALE_MAX = 3744;
    uint256 private constant GS_AIRDROP = 100;
    address private constant GS_TEAM = 0xfa5d05Df712B059B74cCeFe4084785BE7f2ea1B8;

    mapping(string => bool) private _nonces;
    address private _signer = 0x818cDA2bA9CbC2dE202105E08dF37a26793f96A1;
    uint256 private _reserveCounter;
    uint256 private _presaleCounter;
    uint256 private _publicCounter;

    mapping(address => bool) public purchasedPresales;
    uint256 public currentSupply;
    bool public saleLive = false;
    bool public presaleLive = false;

    struct Attribute {
        string name;
        string attr_type;
        string svgPath;
        uint256 pixelCount;
    }

    mapping(uint256 => Attribute[]) _attributes;
    mapping(uint256 => uint256) _tokens;
    uint256 _nonce;

    constructor() ERC721("Goat Soup", "GSOUP") { }

    function verifyPublicMint(address sender, uint256 amount, string memory nonce, bytes memory signature) private view returns(bool) {
        bytes32 hash = keccak256(abi.encodePacked(sender, amount, nonce));
        return _signer == hash.recover(signature);
    }

    function verify(address sender, bytes memory signature) private view returns(bool) {
        bytes32 hash = keccak256(abi.encodePacked(sender));
        return _signer == hash.recover(signature);
    }
    
    function mint(uint256 amount, string memory nonce, bytes memory signature) external payable {
        require(saleLive, "NOT_RELEASED");
        require(totalSupply() < GS_SALE_MAX, "SOLD_OUT");
        require(amount <= 2, "MAX_PER_TX_SALE");
        require(!_nonces[nonce], "NONCE_USED");
        require(verifyPublicMint(msg.sender, amount, nonce, signature), "INVALID_TRANSACTION");
        require(_publicCounter + amount <= GS_SALE_MAX - _presaleCounter - GS_AIRDROP, "MAX_PUBLIC_SALE");
        require(msg.value * amount >= GS_PRICE, "INSUFFICIENT_ETH_SENT");
        
        _nonces[nonce] = true;
        _publicCounter += amount;
        for(uint256 i = 0; i < amount; i++) {
            internalMint(msg.sender);
        }
    }

    function presale(bytes memory signature) external payable {
        require(presaleLive, "NOT_RELEASED");
        require(totalSupply() < GS_SALE_MAX, "SOLD_OUT");
        require(_presaleCounter < GS_PRIVATE_MAX, "MAX_PRIVATE_SALE");
        require(!purchasedPresales[msg.sender], "MAX_PER_PRESALE");
        require(verify(msg.sender, signature), "INVALID_TRANSACTION");
        require(msg.value >= GS_PRICE, "INSUFFICIENT_ETH_SENT");

        purchasedPresales[msg.sender] = true;
        _presaleCounter++;
        internalMint(msg.sender);
    }

    function reserveGoatSoup(address[] calldata _receivers) external onlyOwner {   
        require(totalSupply() + _receivers.length <= GS_SALE_MAX);
        _reserveCounter += _receivers.length;
        require(_reserveCounter <= GS_AIRDROP);  

        for (uint256 i = 0; i < _receivers.length; i++) {
            internalMint(_receivers[i]);
        }
    }

    function internalMint(address destination) internal {
        _tokens[currentSupply] = _generateAttributeSet(currentSupply, destination);
        _mint(destination, currentSupply);
        currentSupply++;
    }

    function flipSaleState() external onlyOwner {
        saleLive = !saleLive;
    }

    function flipPresaleState() external onlyOwner {
        presaleLive = !presaleLive;
    }

    function setSignerAddress(address newSigner) external onlyOwner {
        _signer = newSigner;
    }

    function withdraw() external onlyOwner {
        payable(GS_TEAM).transfer(address(this).balance);
    }
    
    function totalSupply() public view returns (uint) {
        return currentSupply;
    }

    function tokensOfOwner(address _owner, uint startId, uint endId) external view returns(uint256[] memory ) {
        uint256 tokenCount = balanceOf(_owner);
        if (tokenCount == 0) {
            return new uint256[](0);
        } else {
            uint256[] memory result = new uint256[](tokenCount);
            uint256 index = 0;

            for (uint256 tokenId = startId; tokenId < endId; tokenId++) {
                if (index == tokenCount) break;

                if (ownerOf(tokenId) == _owner) {
                    result[index] = tokenId;
                    index++;
                }
            }

            return result;
        }
    }
    
    function _generateAttributeSet(uint256 _tokenId, address _sender) internal returns(uint256) {
        _nonce++;
        uint256 rndNumber = uint256(keccak256(abi.encodePacked(block.difficulty, block.timestamp, _tokenId, _sender, _nonce)));

        uint256 hash = GoatLibrary.selectTraitSoup(rndNumber % 100);
        rndNumber >>= 12;
        hash |= GoatLibrary.selectTraitBowl(rndNumber % 100) << 8;
        rndNumber >>= 12;
        hash |= GoatLibrary.selectTraitFur(rndNumber % 100) << 16;
        rndNumber >>= 12;
        hash |= GoatLibrary.selectTraitTeeth(rndNumber % 100) << 24;
        rndNumber >>= 12;
        hash |= GoatLibrary.selectTraitHorns(rndNumber % 100) << 32;
        rndNumber >>= 12;
        hash |= GoatLibrary.selectTraitHats(rndNumber % 100) << 40;
        rndNumber >>= 12;
        hash |= GoatLibrary.selectTraitEyes(rndNumber % 100) << 48;

        return hash;
    }
    
    // credits to Anoynmice Mouse Dev for the inspiration of the SVG generation and compression algorithm
    // which is an MIT licensed contract
    function _generateSvg(uint256 _traitSet) internal view returns(string memory) {
        string memory svg;

        for(uint256 i = 0; i < 7; i++) {
            uint256 idx = _traitSet & 0xff;
            
            for(uint256 p = 0; p < _attributes[i][idx].pixelCount; p++) {
                string memory data = GoatLibrary.substring(_attributes[i][idx].svgPath, p * 5, p * 5 + 5);
                uint8 x = uint8(bytes(data)[0]) - 97;
                uint8 y = uint8(bytes(data)[1]) - 97;
                                
                svg = string(abi.encodePacked(
                        svg,"<rect class='g",GoatLibrary.substring(data, 2, 5),"' x='", GoatLibrary.toString(x),"' y='",GoatLibrary.toString(y),"'/>"
                    )
                );
            }

            _traitSet >>= 8;
        }
        
        svg = string(abi.encodePacked(
                "<svg id='gs' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='xMinYMin meet' viewBox='0 0 24 24'>",
                svg,
                "<style>#gs{shape-rendering: crispedges;}rect{width:1px;height:1px;}.g100{fill:#000000}.g101{fill:#313131}.g102{fill:#252525}.g103{fill:#414040}.g104{fill:#4D4D4D}.g105{fill:#363636}.g106{fill:#003471}.g107{fill:#004A80}.g108{fill:#005E20}.g109{fill:#74A33E}.g110{fill:#6A9736}.g111{fill:#0054A6}.g112{fill:#598527}.g113{fill:#ABA000}.g114{fill:#CFBA5D}.g115{fill:#E8D782}.g116{fill:#E5D685}.g117{fill:#E0CE78}.g118{fill:#D7C264}.g119{fill:#C1AC50}.g120{fill:#DBC86D}.g121{fill:#D4BE5D}.g122{fill:#CCCCCC}.g123{fill:#FFFFFF}.g124{fill:#EBEBEB}.g125{fill:#C4393C}.g126{fill:#D14448}.g127{fill:#BC282C}.g128{fill:#B1191D}.g129{fill:#2C2422}.g130{fill:#6D6A6A}.g131{fill:#603913}.g132{fill:#593008}.g133{fill:#B5B5B5}.g134{fill:#563310}.g135{fill:#683F18}.g136{fill:#5C330B}.g137{fill:#5B3511}.g138{fill:#197B30}.g139{fill:#D7CC03}.g140{fill:#FFF200}.g141{fill:#8B3E0E}.g142{fill:#A34E19}.g143{fill:#D7640C}.g144{fill:#BD5717}.g145{fill:#2075A8}.g146{fill:#5F99BB}.g147{fill:#4D463E}.g148{fill:#F33C43}.g149{fill:#0E5024}.g150{fill:#5D981A}.g151{fill:#0C5D28}.g152{fill:#824E1C}.g153{fill:#C69C6D}.g154{fill:#362F2D}.g155{fill:#A67C52}.g156{fill:#F8F8F8}.g157{fill:#111111}.g158{fill:#636363}.g159{fill:#827C53}.g160{fill:#2F2D1E}.g161{fill:#00FFFF}.g162{fill:#27E5E5}.g163{fill:#2E3192}.g164{fill:#E60009}.g165{fill:#ED1C24}.g166{fill:#F6F6F6}.g167{fill:#08FFF4}.g168{fill:#00E4DA}.g169{fill:#6DCFF6}.g170{fill:#EFAE20}.g171{fill:#F8D00F}.g172{fill:#ECB223}.g173{fill:#F2B423}.g174{fill:#F7CE12}.g175{fill:#F7CF0D}.g176{fill:#F5BC13}.g177{fill:#F6CB0D}.g178{fill:#FBBA1E}.g179{fill:#F5CC10}.g180{fill:#F8D00E}.g181{fill:#F3BC1B}.g182{fill:#F6CD0F}.g183{fill:#FBBB1B}.g184{fill:#F9CD12}.g185{fill:#F6BA1B}.g186{fill:#F6C90E}.g187{fill:#EEAD1D}.g188{fill:#F7CB12}.g189{fill:#EBAC1F}.g190{fill:#ECAA16}.g191{fill:#F7C614}.g192{fill:#F0B31A}.g193{fill:#EDAE23}.g194{fill:#F2AD21}.g195{fill:#F3B71B}.g196{fill:#F3BF14}.g197{fill:#E4A12E}.g198{fill:#E5A124}.g199{fill:#EAA621}.g200{fill:#F4B51C}.g201{fill:#F5B619}.g202{fill:#F2B21C}.g203{fill:#F6B71C}.g204{fill:#FFFF00}.g205{fill:#03A600}.g206{fill:#A6001C}.g207{fill:#A1B92F}.g208{fill:#B2813E}.g209{fill:#BB9F4B}.g210{fill:#FCF8FF}.g211{fill:#5D8429}.g212{fill:#6E930F}.g213{fill:#E9EBB9}.g214{fill:#B59854}.g215{fill:#C4994B}.g216{fill:#69A22D}.g217{fill:#7EA21A}.g218{fill:#CAE4A7}.g219{fill:#779A18}.g220{fill:#B2CC09}.g221{fill:#C4EA32}.g222{fill:#7C9F0D}.g223{fill:#C1D224}.g224{fill:#A2CA1C}.g225{fill:#947235}.g226{fill:#906D29}.g227{fill:#6EA21A}.g228{fill:#EBF6D4}.g229{fill:#8AB510}.g230{fill:#8C692F}.g231{fill:#8B6A34}.g232{fill:#86B62E}.g233{fill:#8D9F3B}.g234{fill:#6FA11E}.g235{fill:#F6FBF4}.g236{fill:#FFFFFA}.g237{fill:#D7EFA1}.g238{fill:#F49AC1}.g239{fill:#F06EAA}.g240{fill:#FDBED9}.g241{fill:#F3438F}.g242{fill:#FBD1E3}.g243{fill:#B9006E}.g244{fill:#1A1A18}.g245{fill:#E01313}.g246{fill:#B7B7B7}.g247{fill:#C92121}.g248{fill:#FF0000}.g249{fill:#FF4747}.g250{fill:#6D3703}.g251{fill:#763B02}.g252{fill:#81450B}.g253{fill:#6D3907}.g254{fill:#99724A}.g255{fill:#894C11}.g256{fill:#8C6239}.g257{fill:#592D00}.g258{fill:#9B4E00}.g259{fill:#B47A40}.g260{fill:#261300}.g261{fill:#F9FB96}.g262{fill:#5674B9}.g263{fill:#7DA7D9}.g264{fill:#B5D3F6}.g265{fill:#F26522}.g266{fill:#D65A20}.g267{fill:#8A8A8A}.g268{fill:#8E8E8E}.g269{fill:#ACA49E}.g270{fill:#8560A8}.g271{fill:#F26C4F}.g272{fill:#007236}.g273{fill:#00A651}.g274{fill:#616161}.g275{fill:#BE8053}.g276{fill:#575656}.g277{fill:#A87046}.g278{fill:#302F2F}.g279{fill:#679CF1}.g280{fill:#3C81F0}.g281{fill:#26518F}.g282{fill:#CEB858}.g283{fill:#D6C162}.g284{fill:#EDE198}.g285{fill:#E9DC8E}.g286{fill:#E1D07B}.g287{fill:#D9C569}.g288{fill:#F3EBA7}.g289{fill:#F0E6A0}.g290{fill:#DDCA72}.g291{fill:#F5EEAC}.g292{fill:#BFBCBC}.g293{fill:#ACACAC}.g294{fill:#D7D7D7}.g295{fill:#7FFEA1}.g296{fill:#0FFF50}.g297{fill:#64FB8D}.g298{fill:#FD48AB}.g299{fill:#FF1494}.g300{fill:#980F5A}.g301{fill:#F1A367}.g302{fill:#F08B3C}.g303{fill:#8F5526}.g304{fill:#BB77E2}.g305{fill:#AA51DC}.g306{fill:#643283}.g307{fill:#8E11BF}.g308{fill:#B32DE8}.g309{fill:#F13655}.g310{fill:#BF1330}.g311{fill:#00BFF3}.g312{fill:#069AC3}.g313{fill:#B1462E}.g314{fill:#3CB878}.g315{fill:#0D9951}.g316{fill:#DCD331}.g317{fill:#BBD8A8}.g318{fill:#F26D7D}.g319{fill:#9E0B0F}.g320{fill:#9B5D2F}.g321{fill:#CD0C12}.g322{fill:#FCE695}.g323{fill:#C7945B}.g324{fill:#E9C364}.g325{fill:#F6ED5C}.g326{fill:#754C24}.g327{fill:#CDA0DE}.g328{fill:#E7BAF8}.g329{fill:#DDB2ED}.g330{fill:#AE7C4B}.g331{fill:#E1AEF5}.g332{fill:#CDA3DD}.g333{fill:#E3B5F5}.g334{fill:#E8BFF9}.g335{fill:#BE92D0}.g336{fill:#720F0F}.g337{fill:#1C84C8}.g338{fill:#FBFBFB}.g339{fill:#4DC0B8}.g340{fill:#F7941D}.g341{fill:#FECB4B}.g342{fill:#65D7CF}.g343{fill:#DCA825}.g344{fill:#5C5354}.g345{fill:#FFD8AD}.g346{fill:#C8C9CB}.g347{fill:#706C6D}.g348{fill:#38F152}.g349{fill:#636161}.g350{fill:#A7A7A7}.g351{fill:#AA7147}.g352{fill:#FF5900}.g353{fill:#7A0026}.g354{fill:#7A1010}.g355{fill:#7A2910}.g356{fill:#FF5300}.g357{fill:#E9D837}.g358{fill:#39B54A}.g359{fill:#FFF596}.g360{fill:#FDC689}.g361{fill:#685647}.g362{fill:#C79672}.g363{fill:#9EFAB6}.g364{fill:#4CFB7C}.g365{fill:#CB67FC}.g366{fill:#DA92FE}.g367{fill:#343434}.g368{fill:#BB33FF}.g369{fill:#F9F9F9}.g370{fill:#ACB8B7}.g371{fill:#E58A1D}.g372{fill:#B6714B}.g373{fill:#E0BF6C}.g374{fill:#A67DBD}.g375{fill:#7B2E00}.g376{fill:#A0410D}.g377{fill:#EDE10C}.g378{fill:#BD8CBF}.g379{fill:#2CF222}</style></svg>"
            )
        );
        
        return svg;
    }

    // credits to Anoynmice Mouse Dev for the implementation of the trait set conversion to OpenSea metadata JSON format,
    // which is an MIT licensed contract
    function hashToMetadata(uint256 _traitSet) internal view returns (string memory) {
        string memory metadataString;

        for (uint8 i = 0; i < 7; i++) {
            uint256 idx = _traitSet & 0xff;

            metadataString = string(abi.encodePacked(metadataString,'{"trait_type":"',_attributes[i][idx].attr_type,'","value":"',_attributes[i][idx].name,'"}'));
            
            if (i != 6)
                metadataString = string(abi.encodePacked(metadataString, ","));
            
            _traitSet >>= 8;
        }

        return string(abi.encodePacked("[", metadataString, "]"));
    }
    
    function tokenURI(uint256 _id) public view override returns (string memory) {
        require(_exists(_id), "TOKEN_DOES_NOT_EXIST");
        
        uint256 hash = _tokens[_id];
        
        return
            string(
                abi.encodePacked(
                    "data:application/json;base64,",
                    GoatLibrary.encode(
                        bytes(
                            string(
                                abi.encodePacked(
                                    '{"name": "Goat Soup #',
                                    GoatLibrary.toString(_id),
                                    '", "description": "Goat Soup genesis collection is a fully on chain NFT series of 3,744. All the metadata and images are generated and stored 100% on-chain.", "image": "data:image/svg+xml;base64,',
                                    GoatLibrary.encode(
                                        bytes(_generateSvg(hash))
                                    ),
                                    '","attributes":',
                                        hashToMetadata(hash),
                                    "}"
                                )
                            )
                        )
                    )
                )
            );
    }
    
    function clearAttributes() external onlyOwner {
        for(uint8 i = 0; i < 7; i++) {
            delete _attributes[i];
        }
    }
    
    function addAttributes(uint _attributeIndex, Attribute[] memory attributes) external onlyOwner {
        for(uint8 i = 0; i < attributes.length; i++) {
            _attributes[_attributeIndex].push(
                Attribute(
                    attributes[i].name,
                    attributes[i].attr_type,
                    attributes[i].svgPath,
                    attributes[i].pixelCount
                )
            );
        }
    }
}

File 2 of 15 : GoatLibrary.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

library GoatLibrary {
    // Provides a function for encoding some bytes in base64
    // By Brecht Devos <[email protected]>
    string internal constant TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
    
    function encode(bytes memory data) internal pure returns (string memory) {
        if (data.length == 0) return "";

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

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

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

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

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

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

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

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

            } lt(dataPtr, endPtr) {

            } {
                dataPtr := add(dataPtr, 3)

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

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

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

        return result;
    }

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

    function substring(string memory str, uint startIndex, uint endIndex) internal pure returns (string memory) {
        bytes memory strBytes = bytes(str);
        bytes memory result = new bytes(endIndex-startIndex);
        for(uint i = startIndex; i < endIndex; i++) {
            result[i-startIndex] = strBytes[i];
        }
        return string(result);
    }
    
    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);
    }

    function selectTraitSoup(uint256 _rnd) internal pure returns(uint256) {
        if(_rnd < 2) { return 0; }
        if(_rnd < 6) { return 1; }
        if(_rnd < 11) { return 2; }
        if(_rnd < 18) { return 3; }
        if(_rnd < 26) { return 4; }
        if(_rnd < 34) { return 5; }
        if(_rnd < 42) { return 6; }
        if(_rnd < 52) { return 7; }
        if(_rnd < 65) { return 8; }
        if(_rnd < 80) { return 9; }
        return 10;
    }

    function selectTraitBowl(uint256 _rnd) internal pure returns(uint256) {
        if(_rnd < 2) { return 0; }
        if(_rnd < 6) { return 1; }
        if(_rnd < 11) { return 2; }
        if(_rnd < 18) { return 3; }
        if(_rnd < 25) { return 4; }
        if(_rnd < 33) { return 5; }
        if(_rnd < 42) { return 6; }
        if(_rnd < 52) { return 7; }
        if(_rnd < 64) { return 8; }
        return 9;
    }

    function selectTraitFur(uint256 _rnd) internal pure returns(uint256) {
        if(_rnd < 2) { return 0; }
        if(_rnd < 5) { return 1; }
        if(_rnd < 9) { return 2; }
        if(_rnd < 14) { return 3; }
        if(_rnd < 24) { return 4; }
        if(_rnd < 34) { return 5; }
        if(_rnd < 50) { return 6; }
        if(_rnd < 70) { return 7; }
        return 8;
    }

    function selectTraitTeeth(uint256 _rnd) internal pure returns(uint256) {
        if(_rnd < 2) { return 0; }
        if(_rnd < 7) { return 1; }
        if(_rnd < 17) { return 2; }
        if(_rnd < 35) { return 3; }
        if(_rnd < 60) { return 4; }
        return 5;
    }

    function selectTraitHorns(uint256 _rnd) internal pure returns(uint256) {
        if(_rnd < 5) { return 0; }
        if(_rnd < 15) { return 1; }
        if(_rnd < 50) { return 2; }
        return 3;
    }

    function selectTraitHats(uint256 _rnd) internal pure returns(uint256) {
        if(_rnd < 1) { return 0; }
        if(_rnd < 3) { return 1; }
        if(_rnd < 6) { return 2; }
        if(_rnd < 9) { return 3; }
        if(_rnd < 15) { return 4; }
        if(_rnd < 22) { return 5; }
        if(_rnd < 29) { return 6; }
        if(_rnd < 38) { return 7; }
        if(_rnd < 48) { return 8; }
        if(_rnd < 59) { return 9; }
        return 10;
    }
    
    function selectTraitEyes(uint256 _rnd) internal pure returns(uint256) {
        if(_rnd < 1) { return 0; }
        if(_rnd < 3) { return 1; }
        if(_rnd < 6) { return 2; }
        if(_rnd < 11) { return 3; }
        if(_rnd < 19) { return 4; }
        if(_rnd < 31) { return 5; }
        if(_rnd < 49) { return 6; }
        if(_rnd < 72) { return 7; }
        return 8;
    }
}

File 3 of 15 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s;
        uint8 v;
        assembly {
            s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
            v := add(shr(255, vs), 27)
        }
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 5 of 15 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 6 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/ERC721.sol)

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 {
        _setApprovalForAll(_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 Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @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 7 of 15 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 8 of 15 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 9 of 15 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 10 of 15 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 11 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Address.sol)

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 12 of 15 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 13 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 14 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 15 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"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":[{"internalType":"uint256","name":"_attributeIndex","type":"uint256"},{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"attr_type","type":"string"},{"internalType":"string","name":"svgPath","type":"string"},{"internalType":"uint256","name":"pixelCount","type":"uint256"}],"internalType":"struct GoatSoup.Attribute[]","name":"attributes","type":"tuple[]"}],"name":"addAttributes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"clearAttributes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipPresaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleState","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":"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":"amount","type":"uint256"},{"internalType":"string","name":"nonce","type":"string"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"presale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"presaleLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"purchasedPresales","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_receivers","type":"address[]"}],"name":"reserveGoatSoup","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":[],"name":"saleLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newSigner","type":"address"}],"name":"setSignerAddress","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":"_id","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"startId","type":"uint256"},{"internalType":"uint256","name":"endId","type":"uint256"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600880546001600160a01b03191673818cda2ba9cbc2de202105e08df37a26793f96a1179055600e805461ffff191690553480156200004257600080fd5b5060408051808201825260098152680476f617420536f75760bc1b602080830191825283518085019094526005845264047534f55560dc1b908401528151919291620000919160009162000120565b508051620000a790600190602084019062000120565b505050620000c4620000be620000ca60201b60201c565b620000ce565b62000203565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200012e90620001c6565b90600052602060002090601f0160209004810192826200015257600085556200019d565b82601f106200016d57805160ff19168380011785556200019d565b828001600101855582156200019d579182015b828111156200019d57825182559160200191906001019062000180565b50620001ab929150620001af565b5090565b5b80821115620001ab5760008155600101620001b0565b600181811c90821680620001db57607f821691505b60208210811415620001fd57634e487b7160e01b600052602260045260246000fd5b50919050565b61546780620002136000396000f3fe6080604052600436106101d85760003560e01c80636ac121d311610102578063a22cb46511610095578063e081b78111610064578063e081b7811461052c578063e985e9c514610546578063f2fde38b1461058f578063f81227d4146105af57600080fd5b8063a22cb4651461049f578063b88d4fde146104bf578063c839fe94146104df578063c87b56dd1461050c57600080fd5b8063785cc997116100d1578063785cc9971461043a57806383a9e0491461044d5780638da5cb5b1461046c57806395d89b411461048a57600080fd5b80636ac121d3146103da57806370a08231146103ef578063715018a61461040f578063771282f61461042457600080fd5b806323b872dd1161017a5780633ccfd60b116101495780633ccfd60b1461036557806342842e0e1461037a5780634d0ca03e1461039a5780636352211e146103ba57600080fd5b806323b872dd146102ed5780632665525f1461030d57806334918dfd14610320578063394941741461033557600080fd5b806306fdde03116101b657806306fdde0314610254578063081812fc14610276578063095ea7b3146102ae57806318160ddd146102ce57600080fd5b806301ffc9a7146101dd578063046dc166146102125780630490590f14610234575b600080fd5b3480156101e957600080fd5b506101fd6101f8366004612f4e565b6105c4565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b5061023261022d366004612d4e565b610616565b005b34801561024057600080fd5b5061023261024f366004612ed9565b61066b565b34801561026057600080fd5b50610269610732565b60405161020991906150ed565b34801561028257600080fd5b50610296610291366004612fbd565b6107c4565b6040516001600160a01b039091168152602001610209565b3480156102ba57600080fd5b506102326102c9366004612e7c565b610859565b3480156102da57600080fd5b50600d545b604051908152602001610209565b3480156102f957600080fd5b50610232610308366004612d9c565b61096a565b61023261031b366004612f88565b61099b565b34801561032c57600080fd5b50610232610b92565b34801561034157600080fd5b506101fd610350366004612d4e565b600c6020526000908152604090205460ff1681565b34801561037157600080fd5b50610232610bd0565b34801561038657600080fd5b50610232610395366004612d9c565b610c3a565b3480156103a657600080fd5b506102326103b5366004612fd6565b610c55565b3480156103c657600080fd5b506102966103d5366004612fbd565b610dc6565b3480156103e657600080fd5b50610232610e3d565b3480156103fb57600080fd5b506102df61040a366004612d4e565b610ea3565b34801561041b57600080fd5b50610232610f2a565b34801561043057600080fd5b506102df600d5481565b610232610448366004613132565b610f60565b34801561045957600080fd5b50600e546101fd90610100900460ff1681565b34801561047857600080fd5b506006546001600160a01b0316610296565b34801561049657600080fd5b50610269611211565b3480156104ab57600080fd5b506102326104ba366004612e40565b611220565b3480156104cb57600080fd5b506102326104da366004612dd8565b61122f565b3480156104eb57600080fd5b506104ff6104fa366004612ea6565b611261565b60405161020991906150a9565b34801561051857600080fd5b50610269610527366004612fbd565b611359565b34801561053857600080fd5b50600e546101fd9060ff1681565b34801561055257600080fd5b506101fd610561366004612d69565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561059b57600080fd5b506102326105aa366004612d4e565b611439565b3480156105bb57600080fd5b506102326114d1565b60006001600160e01b031982166380ac58cd60e01b14806105f557506001600160e01b03198216635b5e139f60e01b145b8061061057506301ffc9a760e01b6001600160e01b03198316145b92915050565b6006546001600160a01b031633146106495760405162461bcd60e51b815260040161064090615152565b60405180910390fd5b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b031633146106955760405162461bcd60e51b815260040161064090615152565b610ea0816106a2600d5490565b6106ac9190615232565b11156106b757600080fd5b81819050600960008282546106cc9190615232565b9091555050600954606410156106e157600080fd5b60005b8181101561072d5761071b838383818110610701576107016153af565b90506020020160208101906107169190612d4e565b611518565b806107258161531e565b9150506106e4565b505050565b606060008054610741906152e3565b80601f016020809104026020016040519081016040528092919081815260200182805461076d906152e3565b80156107ba5780601f1061078f576101008083540402835291602001916107ba565b820191906000526020600020905b81548152906001019060200180831161079d57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661083d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610640565b506000908152600460205260409020546001600160a01b031690565b600061086482610dc6565b9050806001600160a01b0316836001600160a01b031614156108d25760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610640565b336001600160a01b03821614806108ee57506108ee8133610561565b6109605760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610640565b61072d838361155e565b61097433826115cc565b6109905760405162461bcd60e51b815260040161064090615187565b61072d8383836116c3565b600e54610100900460ff166109e15760405162461bcd60e51b815260206004820152600c60248201526b1393d517d49153115054d15160a21b6044820152606401610640565b610ea06109ed600d5490565b10610a255760405162461bcd60e51b815260206004820152600860248201526714d3d31117d3d55560c21b6044820152606401610640565b610dac600a5410610a6b5760405162461bcd60e51b815260206004820152601060248201526f4d41585f505249564154455f53414c4560801b6044820152606401610640565b336000908152600c602052604090205460ff1615610abd5760405162461bcd60e51b815260206004820152600f60248201526e4d41585f5045525f50524553414c4560881b6044820152606401610640565b610ac73382611863565b610b095760405162461bcd60e51b815260206004820152601360248201527224a72b20a624a22faa2920a729a0a1aa24a7a760691b6044820152606401610640565b67011c37937e080000341015610b595760405162461bcd60e51b8152602060048201526015602482015274125394d551919250d251539517d1551217d4d15395605a1b6044820152606401610640565b336000908152600c60205260408120805460ff19166001179055600a805491610b818361531e565b9190505550610b8f33611518565b50565b6006546001600160a01b03163314610bbc5760405162461bcd60e51b815260040161064090615152565b600e805460ff19811660ff90911615179055565b6006546001600160a01b03163314610bfa5760405162461bcd60e51b815260040161064090615152565b60405173fa5d05df712b059b74ccefe4084785be7f2ea1b8904780156108fc02916000818181858888f19350505050158015610b8f573d6000803e3d6000fd5b61072d8383836040518060200160405280600081525061122f565b6006546001600160a01b03163314610c7f5760405162461bcd60e51b815260040161064090615152565b60005b81518160ff16101561072d57600f60008481526020019081526020016000206040518060800160405280848460ff1681518110610cc157610cc16153af565b6020026020010151600001518152602001848460ff1681518110610ce757610ce76153af565b6020026020010151602001518152602001848460ff1681518110610d0d57610d0d6153af565b6020026020010151604001518152602001848460ff1681518110610d3357610d336153af565b60209081029190910181015160600151909152825460018101845560009384529281902082518051939460040290910192610d719284920190612b8e565b506020828101518051610d8a9260018501920190612b8e565b5060408201518051610da6916002840191602090910190612b8e565b506060820151816003015550508080610dbe90615339565b915050610c82565b6000818152600260205260408120546001600160a01b0316806106105760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610640565b6006546001600160a01b03163314610e675760405162461bcd60e51b815260040161064090615152565b60005b60078160ff161015610b8f5760ff81166000908152600f60205260408120610e9191612c12565b80610e9b81615339565b915050610e6a565b60006001600160a01b038216610f0e5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610640565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610f545760405162461bcd60e51b815260040161064090615152565b610f5e60006118c4565b565b600e5460ff16610fa15760405162461bcd60e51b815260206004820152600c60248201526b1393d517d49153115054d15160a21b6044820152606401610640565b610ea0610fad600d5490565b10610fe55760405162461bcd60e51b815260206004820152600860248201526714d3d31117d3d55560c21b6044820152606401610640565b60028311156110285760405162461bcd60e51b815260206004820152600f60248201526e4d41585f5045525f54585f53414c4560881b6044820152606401610640565b60078260405161103891906132c0565b9081526040519081900360200190205460ff16156110855760405162461bcd60e51b815260206004820152600a6024820152691393d390d157d554d15160b21b6044820152606401610640565b61109133848484611916565b6110d35760405162461bcd60e51b815260206004820152601360248201527224a72b20a624a22faa2920a729a0a1aa24a7a760691b6044820152606401610640565b6064600a54610ea06110e5919061527d565b6110ef919061527d565b83600b546110fd9190615232565b111561113d5760405162461bcd60e51b815260206004820152600f60248201526e4d41585f5055424c49435f53414c4560881b6044820152606401610640565b67011c37937e080000611150843461525e565b10156111965760405162461bcd60e51b8152602060048201526015602482015274125394d551919250d251539517d1551217d4d15395605a1b6044820152606401610640565b60016007836040516111a891906132c0565b908152602001604051809103902060006101000a81548160ff02191690831515021790555082600b60008282546111df9190615232565b90915550600090505b8381101561120b576111f933611518565b806112038161531e565b9150506111e8565b50505050565b606060018054610741906152e3565b61122b33838361196d565b5050565b61123933836115cc565b6112555760405162461bcd60e51b815260040161064090615187565b61120b84848484611a3c565b6060600061126e85610ea3565b90508061128b575050604080516000815260208101909152611352565b60008167ffffffffffffffff8111156112a6576112a66153c5565b6040519080825280602002602001820160405280156112cf578160200160208202803683370190505b5090506000855b8581101561134b57838214156112eb5761134b565b876001600160a01b03166112fe82610dc6565b6001600160a01b031614156113395780838381518110611320576113206153af565b6020908102919091010152816113358161531e565b9250505b806113438161531e565b9150506112d6565b5090925050505b9392505050565b6000818152600260205260409020546060906001600160a01b03166113b75760405162461bcd60e51b81526020600482015260146024820152731513d2d15397d113d154d7d393d517d1561254d560621b6044820152606401610640565b6000828152601060205260409020546114126113d284611a6f565b6113e36113de84611b6d565b611d9f565b6113ec84611f07565b6040516020016113fe93929190613415565b604051602081830303815290604052611d9f565b6040516020016114229190615027565b604051602081830303815290604052915050919050565b6006546001600160a01b031633146114635760405162461bcd60e51b815260040161064090615152565b6001600160a01b0381166114c85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610640565b610b8f816118c4565b6006546001600160a01b031633146114fb5760405162461bcd60e51b815260040161064090615152565b600e805461ff001981166101009182900460ff1615909102179055565b611524600d548261200b565b600d80546000908152601060205260409020919091555461154690829061214f565b600d80549060006115568361531e565b919050555050565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061159382610dc6565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166116455760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610640565b600061165083610dc6565b9050806001600160a01b0316846001600160a01b0316148061168b5750836001600160a01b0316611680846107c4565b6001600160a01b0316145b806116bb57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166116d682610dc6565b6001600160a01b03161461173e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610640565b6001600160a01b0382166117a05760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610640565b6117ab60008261155e565b6001600160a01b03831660009081526003602052604081208054600192906117d490849061527d565b90915550506001600160a01b0382166000908152600360205260408120805460019290611802908490615232565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6040516bffffffffffffffffffffffff19606084901b166020820152600090819060340160408051601f19818403018152919052805160209091012090506118ab8184612291565b6008546001600160a01b03918216911614949350505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008085858560405160200161192e93929190613281565b60408051601f19818403018152919052805160209091012090506119528184612291565b6008546001600160a01b039182169116149695505050505050565b816001600160a01b0316836001600160a01b031614156119cf5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610640565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611a478484846116c3565b611a53848484846122b5565b61120b5760405162461bcd60e51b815260040161064090615100565b606081611a935750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611abd5780611aa78161531e565b9150611ab69050600a8361524a565b9150611a97565b60008167ffffffffffffffff811115611ad857611ad86153c5565b6040519080825280601f01601f191660200182016040528015611b02576020820181803683370190505b5090505b84156116bb57611b1760018361527d565b9150611b24600a86615359565b611b2f906030615232565b60f81b818381518110611b4457611b446153af565b60200101906001600160f81b031916908160001a905350611b66600a8661524a565b9450611b06565b60608060005b6007811015611d765760ff841660005b6000838152600f60205260409020805483908110611ba357611ba36153af565b906000526020600020906004020160030154811015611d5b576000838152600f602052604081208054611ca3919085908110611be157611be16153af565b90600052602060002090600402016002018054611bfd906152e3565b80601f0160208091040260200160405190810160405280929190818152602001828054611c29906152e3565b8015611c765780601f10611c4b57610100808354040283529160200191611c76565b820191906000526020600020905b815481529060010190602001808311611c5957829003601f168201915b5050505050836005611c88919061525e565b611c9385600561525e565b611c9e906005615232565b6123bf565b90506000606182600081518110611cbc57611cbc6153af565b0160200151611cce919060f81c615294565b90506000606183600181518110611ce757611ce76153af565b0160200151611cf9919060f81c615294565b905086611d0984600260056123bf565b611d158460ff16611a6f565b611d218460ff16611a6f565b604051602001611d34949392919061336e565b60405160208183030381529060405296505050508080611d539061531e565b915050611b83565b505060089390931c9280611d6e8161531e565b915050611b73565b5080604051602001611d889190613595565b60408051601f198184030181529190529392505050565b6060815160001415611dbf57505060408051602081019091526000815290565b60006040518060600160405280604081526020016153f26040913990506000600384516002611dee9190615232565b611df8919061524a565b611e0390600461525e565b90506000611e12826020615232565b67ffffffffffffffff811115611e2a57611e2a6153c5565b6040519080825280601f01601f191660200182016040528015611e54576020820181803683370190505b509050818152600183018586518101602084015b81831015611ec25760039283018051603f601282901c811687015160f890811b8552600c83901c8216880151811b6001860152600683901c8216880151811b60028601529116860151901b93820193909352600401611e68565b600389510660018114611edc5760028114611eed57611ef9565b613d3d60f01b600119830152611ef9565b603d60f81b6000198301525b509398975050505050505050565b60608060005b60078160ff161015611ff95760ff8181166000908152600f6020526040902080549186169184919083908110611f4557611f456153af565b9060005260206000209060040201600101600f60008560ff1681526020019081526020016000208381548110611f7d57611f7d6153af565b9060005260206000209060040201600001604051602001611fa093929190613301565b60405160208183030381529060405292508160ff16600614611fdf5782604051602001611fcd91906132dc565b60405160208183030381529060405292505b5060089390931c9280611ff181615339565b915050611f0d565b50806040516020016114229190614ff3565b601180546000918261201c8361531e565b909155505060115460408051446020808301919091524282840152606080830188905286901b6bffffffffffffffffffffffff191660808301526094808301949094528251808303909401845260b49091019091528151910120600061208b612086606484615359565b61248c565b600c9290921c91905060086120a96120a4606485615359565b612540565b600c9390931c92901b1760106120c86120c3606485615359565b6125e3565b600c9390931c92901b1760186120e76120e2606485615359565b612675565b600c9390931c92901b176020612106612101606485615359565b6126d4565b600c9390931c92901b176028612125612120606485615359565b612711565b600c9390931c92901b17603061214461213f606485615359565b6127bd565b901b17949350505050565b6001600160a01b0382166121a55760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610640565b6000818152600260205260409020546001600160a01b03161561220a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610640565b6001600160a01b0382166000908152600360205260408120805460019290612233908490615232565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008060006122a08585612847565b915091506122ad816128b7565b509392505050565b60006001600160a01b0384163b156123b757604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906122f990339089908890889060040161506c565b602060405180830381600087803b15801561231357600080fd5b505af1925050508015612343575060408051601f3d908101601f1916820190925261234091810190612f6b565b60015b61239d573d808015612371576040519150601f19603f3d011682016040523d82523d6000602084013e612376565b606091505b5080516123955760405162461bcd60e51b815260040161064090615100565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506116bb565b5060016116bb565b60608360006123ce858561527d565b67ffffffffffffffff8111156123e6576123e66153c5565b6040519080825280601f01601f191660200182016040528015612410576020820181803683370190505b509050845b848110156124825782818151811061242f5761242f6153af565b01602001516001600160f81b03191682612449888461527d565b81518110612459576124596153af565b60200101906001600160f81b031916908160001a9053508061247a8161531e565b915050612415565b5095945050505050565b6000600282101561249f57506000919050565b60068210156124b057506001919050565b600b8210156124c157506002919050565b60128210156124d257506003919050565b601a8210156124e357506004919050565b60228210156124f457506005919050565b602a82101561250557506006919050565b603482101561251657506007919050565b604182101561252757506008919050565b605082101561253857506009919050565b50600a919050565b6000600282101561255357506000919050565b600682101561256457506001919050565b600b82101561257557506002919050565b601282101561258657506003919050565b601982101561259757506004919050565b60218210156125a857506005919050565b602a8210156125b957506006919050565b60348210156125ca57506007919050565b60408210156125db57506008919050565b506009919050565b600060028210156125f657506000919050565b600582101561260757506001919050565b600982101561261857506002919050565b600e82101561262957506003919050565b601882101561263a57506004919050565b602282101561264b57506005919050565b603282101561265c57506006919050565b604682101561266d57506007919050565b506008919050565b6000600282101561268857506000919050565b600782101561269957506001919050565b60118210156126aa57506002919050565b60238210156126bb57506003919050565b603c8210156126cc57506004919050565b506005919050565b600060058210156126e757506000919050565b600f8210156126f857506001919050565b603282101561270957506002919050565b506003919050565b6000600182101561272457506000919050565b600382101561273557506001919050565b600682101561274657506002919050565b600982101561275757506003919050565b600f82101561276857506004919050565b601682101561277957506005919050565b601d82101561278a57506006919050565b602682101561279b57506007919050565b60308210156127ac57506008919050565b603b82101561253857506009919050565b600060018210156127d057506000919050565b60038210156127e157506001919050565b60068210156127f257506002919050565b600b82101561280357506003919050565b601382101561281457506004919050565b601f82101561282557506005919050565b603182101561283657506006919050565b604882101561266d57506007919050565b60008082516041141561287e5760208301516040840151606085015160001a61287287828585612a72565b945094505050506128b0565b8251604014156128a8576020830151604084015161289d868383612b5f565b9350935050506128b0565b506000905060025b9250929050565b60008160048111156128cb576128cb615399565b14156128d45750565b60018160048111156128e8576128e8615399565b14156129365760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610640565b600281600481111561294a5761294a615399565b14156129985760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610640565b60038160048111156129ac576129ac615399565b1415612a055760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610640565b6004816004811115612a1957612a19615399565b1415610b8f5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610640565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612aa95750600090506003612b56565b8460ff16601b14158015612ac157508460ff16601c14155b15612ad25750600090506004612b56565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612b26573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612b4f57600060019250925050612b56565b9150600090505b94509492505050565b6000806001600160ff1b03831660ff84901c601b01612b8087828885612a72565b935093505050935093915050565b828054612b9a906152e3565b90600052602060002090601f016020900481019282612bbc5760008555612c02565b82601f10612bd557805160ff1916838001178555612c02565b82800160010185558215612c02579182015b82811115612c02578251825591602001919060010190612be7565b50612c0e929150612c33565b5090565b5080546000825560040290600052602060002090810190610b8f9190612c48565b5b80821115612c0e5760008155600101612c34565b80821115612c0e576000612c5c8282612c88565b612c6a600183016000612c88565b612c78600283016000612c88565b5060006003820155600401612c48565b508054612c94906152e3565b6000825580601f10612ca4575050565b601f016020900490600052602060002090810190610b8f9190612c33565b80356001600160a01b0381168114612cd957600080fd5b919050565b600082601f830112612cef57600080fd5b813567ffffffffffffffff811115612d0957612d096153c5565b612d1c601f8201601f1916602001615201565b818152846020838601011115612d3157600080fd5b816020850160208301376000918101602001919091529392505050565b600060208284031215612d6057600080fd5b61135282612cc2565b60008060408385031215612d7c57600080fd5b612d8583612cc2565b9150612d9360208401612cc2565b90509250929050565b600080600060608486031215612db157600080fd5b612dba84612cc2565b9250612dc860208501612cc2565b9150604084013590509250925092565b60008060008060808587031215612dee57600080fd5b612df785612cc2565b9350612e0560208601612cc2565b925060408501359150606085013567ffffffffffffffff811115612e2857600080fd5b612e3487828801612cde565b91505092959194509250565b60008060408385031215612e5357600080fd5b612e5c83612cc2565b915060208301358015158114612e7157600080fd5b809150509250929050565b60008060408385031215612e8f57600080fd5b612e9883612cc2565b946020939093013593505050565b600080600060608486031215612ebb57600080fd5b612ec484612cc2565b95602085013595506040909401359392505050565b60008060208385031215612eec57600080fd5b823567ffffffffffffffff80821115612f0457600080fd5b818501915085601f830112612f1857600080fd5b813581811115612f2757600080fd5b8660208260051b8501011115612f3c57600080fd5b60209290920196919550909350505050565b600060208284031215612f6057600080fd5b8135611352816153db565b600060208284031215612f7d57600080fd5b8151611352816153db565b600060208284031215612f9a57600080fd5b813567ffffffffffffffff811115612fb157600080fd5b6116bb84828501612cde565b600060208284031215612fcf57600080fd5b5035919050565b60008060408385031215612fe957600080fd5b8235915060208084013567ffffffffffffffff8082111561300957600080fd5b818601915086601f83011261301d57600080fd5b81358181111561302f5761302f6153c5565b8060051b61303e858201615201565b8281528581019085870183870188018c101561305957600080fd5b600093505b848410156131205780358681111561307557600080fd5b87016080818e03601f1901121561308b57600080fd5b6130936151d8565b89820135888111156130a457600080fd5b6130b28f8c83860101612cde565b8252506040820135888111156130c757600080fd5b6130d58f8c83860101612cde565b8b830152506060820135888111156130ec57600080fd5b6130fa8f8c83860101612cde565b60408301525060809190910135606082015283526001939093019291870191870161305e565b50809750505050505050509250929050565b60008060006060848603121561314757600080fd5b83359250602084013567ffffffffffffffff8082111561316657600080fd5b61317287838801612cde565b9350604086013591508082111561318857600080fd5b5061319586828701612cde565b9150509250925092565b600081518084526131b78160208601602086016152b7565b601f01601f19169290920160200192915050565b600081516131dd8185602086016152b7565b9290920192915050565b8054600090600181811c908083168061320157607f831692505b602080841082141561322357634e487b7160e01b600052602260045260246000fd5b818015613237576001811461324857613275565b60ff19861689528489019650613275565b60008881526020902060005b8681101561326d5781548b820152908501908301613254565b505084890196505b50505050505092915050565b6bffffffffffffffffffffffff198460601b168152826014820152600082516132b18160348501602087016152b7565b91909101603401949350505050565b600082516132d28184602087016152b7565b9190910192915050565b600082516132ee8184602087016152b7565b600b60fa1b920191825250600101919050565b600084516133138184602089016152b7565b6e3d913a3930b4ba2fba3cb832911d1160891b908301908152613339600f8201866131e7565b6a1116113b30b63ab2911d1160a91b81529050613359600b8201856131e7565b61227d60f01b81526002019695505050505050565b60008551613380818460208a016152b7565b6d3c7265637420636c6173733d276760901b90830190815285516133ab81600e840160208a016152b7565b642720783d2760d81b600e929091019182015284516133d18160138401602089016152b7565b642720793d2760d81b6013929091019182015283516133f78160188401602088016152b7565b6213979f60e91b60189290910191820152601b019695505050505050565b747b226e616d65223a2022476f617420536f7570202360581b815283516000906134468160158501602089016152b7565b7f222c20226465736372697074696f6e223a2022476f617420536f75702067656e6015918401918201527f6573697320636f6c6c656374696f6e20697320612066756c6c79206f6e20636860358201527f61696e204e465420736572696573206f6620332c3734342e20416c6c2074686560558201527f206d6574616461746120616e6420696d61676573206172652067656e6572617460758201527f656420616e642073746f7265642031303025206f6e2d636861696e2e222c202260958201527f696d616765223a2022646174613a696d6167652f7376672b786d6c3b6261736560b5820152620d8d0b60ea1b60d5820152845161354d8160d88401602089016152b7565b61358a61357d61357760d8848601016e11161130ba3a3934b13aba32b9911d60891b8152600f0190565b876131cb565b607d60f81b815260010190565b979650505050505050565b7f3c7376672069643d2767732720786d6c6e733d27687474703a2f2f7777772e7781527f332e6f72672f323030302f73766727207072657365727665417370656374526160208201527f74696f3d27784d696e594d696e206d656574272076696577426f783d2730203060408201526710191a10191a139f60c11b60608201526000825161362a8160688501602087016152b7565b7f3c7374796c653e2367737b73686170652d72656e646572696e673a206372697360689390910192830152507f7065646765733b7d726563747b77696474683a3170783b6865696768743a317060888201527f783b7d2e673130307b66696c6c3a233030303030307d2e673130317b66696c6c60a88201527f3a233331333133317d2e673130327b66696c6c3a233235323532357d2e67313060c88201527f337b66696c6c3a233431343034307d2e673130347b66696c6c3a23344434443460e88201527f447d2e673130357b66696c6c3a233336333633367d2e673130367b66696c6c3a6101088201527f233030333437317d2e673130377b66696c6c3a233030344138307d2e673130386101288201527f7b66696c6c3a233030354532307d2e673130397b66696c6c3a233734413333456101488201527f7d2e673131307b66696c6c3a233641393733367d2e673131317b66696c6c3a236101688201527f3030353441367d2e673131327b66696c6c3a233539383532377d2e673131337b6101888201527f66696c6c3a234142413030307d2e673131347b66696c6c3a234346424135447d6101a88201527f2e673131357b66696c6c3a234538443738327d2e673131367b66696c6c3a23456101c88201527f35443638357d2e673131377b66696c6c3a234530434537387d2e673131387b666101e88201527f696c6c3a234437433236347d2e673131397b66696c6c3a234331414335307d2e6102088201527f673132307b66696c6c3a234442433836447d2e673132317b66696c6c3a2344346102288201527f424535447d2e673132327b66696c6c3a234343434343437d2e673132337b66696102488201527f6c6c3a234646464646467d2e673132347b66696c6c3a234542454245427d2e676102688201527f3132357b66696c6c3a234334333933437d2e673132367b66696c6c3a234431346102888201527f3434387d2e673132377b66696c6c3a234243323832437d2e673132387b66696c6102a88201527f6c3a234231313931447d2e673132397b66696c6c3a233243323432327d2e67316102c88201527f33307b66696c6c3a233644364136417d2e673133317b66696c6c3a23363033396102e88201527f31337d2e673133327b66696c6c3a233539333030387d2e673133337b66696c6c6103088201527f3a234235423542357d2e673133347b66696c6c3a233536333331307d2e6731336103288201527f357b66696c6c3a233638334631387d2e673133367b66696c6c3a2335433333306103488201527f427d2e673133377b66696c6c3a233542333531317d2e673133387b66696c6c3a6103688201527f233139374233307d2e673133397b66696c6c3a234437434330337d2e673134306103888201527f7b66696c6c3a234646463230307d2e673134317b66696c6c3a233842334530456103a88201527f7d2e673134327b66696c6c3a234133344531397d2e673134337b66696c6c3a236103c88201527f4437363430437d2e673134347b66696c6c3a234244353731377d2e673134357b6103e88201527f66696c6c3a233230373541387d2e673134367b66696c6c3a233546393942427d6104088201527f2e673134377b66696c6c3a233444343633457d2e673134387b66696c6c3a23466104288201527f33334334337d2e673134397b66696c6c3a233045353032347d2e673135307b666104488201527f696c6c3a233544393831417d2e673135317b66696c6c3a233043354432387d2e6104688201527f673135327b66696c6c3a233832344531437d2e673135337b66696c6c3a2343366104888201527f394336447d2e673135347b66696c6c3a233336324632447d2e673135357b66696104a88201527f6c6c3a234136374335327d2e673135367b66696c6c3a234638463846387d2e676104c88201527f3135377b66696c6c3a233131313131317d2e673135387b66696c6c3a233633366104e88201527f3336337d2e673135397b66696c6c3a233832374335337d2e673136307b66696c6105088201527f6c3a233246324431457d2e673136317b66696c6c3a233030464646467d2e67316105288201527f36327b66696c6c3a233237453545357d2e673136337b66696c6c3a23324533316105488201527f39327d2e673136347b66696c6c3a234536303030397d2e673136357b66696c6c6105688201527f3a234544314332347d2e673136367b66696c6c3a234636463646367d2e6731366105888201527f377b66696c6c3a233038464646347d2e673136387b66696c6c3a2330304534446105a88201527f417d2e673136397b66696c6c3a233644434646367d2e673137307b66696c6c3a6105c88201527f234546414532307d2e673137317b66696c6c3a234638443030467d2e673137326105e88201527f7b66696c6c3a234543423232337d2e673137337b66696c6c3a234632423432336106088201527f7d2e673137347b66696c6c3a234637434531327d2e673137357b66696c6c3a236106288201527f4637434630447d2e673137367b66696c6c3a234635424331337d2e673137377b6106488201527f66696c6c3a234636434230447d2e673137387b66696c6c3a234642424131457d6106688201527f2e673137397b66696c6c3a234635434331307d2e673138307b66696c6c3a23466106888201527f38443030457d2e673138317b66696c6c3a234633424331427d2e673138327b666106a88201527f696c6c3a234636434430467d2e673138337b66696c6c3a234642424231427d2e6106c88201527f673138347b66696c6c3a234639434431327d2e673138357b66696c6c3a2346366106e88201527f424131427d2e673138367b66696c6c3a234636433930457d2e673138377b66696107088201527f6c6c3a234545414431447d2e673138387b66696c6c3a234637434231327d2e676107288201527f3138397b66696c6c3a234542414331467d2e673139307b66696c6c3a234543416107488201527f4131367d2e673139317b66696c6c3a234637433631347d2e673139327b66696c6107688201527f6c3a234630423331417d2e673139337b66696c6c3a234544414532337d2e67316107888201527f39347b66696c6c3a234632414432317d2e673139357b66696c6c3a23463342376107a88201527f31427d2e673139367b66696c6c3a234633424631347d2e673139377b66696c6c6107c88201527f3a234534413132457d2e673139387b66696c6c3a234535413132347d2e6731396107e88201527f397b66696c6c3a234541413632317d2e673230307b66696c6c3a2346344235316108088201527f437d2e673230317b66696c6c3a234635423631397d2e673230327b66696c6c3a6108288201527f234632423231437d2e673230337b66696c6c3a234636423731437d2e673230346108488201527f7b66696c6c3a234646464630307d2e673230357b66696c6c3a233033413630306108688201527f7d2e673230367b66696c6c3a234136303031437d2e673230377b66696c6c3a236108888201527f4131423932467d2e673230387b66696c6c3a234232383133457d2e673230397b6108a88201527f66696c6c3a234242394634427d2e673231307b66696c6c3a234643463846467d6108c88201527f2e673231317b66696c6c3a233544383432397d2e673231327b66696c6c3a23366108e88201527f45393330467d2e673231337b66696c6c3a234539454242397d2e673231347b666109088201527f696c6c3a234235393835347d2e673231357b66696c6c3a234334393934427d2e6109288201527f673231367b66696c6c3a233639413232447d2e673231377b66696c6c3a2337456109488201527f413231417d2e673231387b66696c6c3a234341453441377d2e673231397b66696109688201527f6c6c3a233737394131387d2e673232307b66696c6c3a234232434330397d2e676109888201527f3232317b66696c6c3a234334454133327d2e673232327b66696c6c3a233743396109a88201527f4630447d2e673232337b66696c6c3a234331443232347d2e673232347b66696c6109c88201527f6c3a234132434131437d2e673232357b66696c6c3a233934373233357d2e67326109e88201527f32367b66696c6c3a233930364432397d2e673232377b66696c6c3a2336454132610a088201527f31417d2e673232387b66696c6c3a234542463644347d2e673232397b66696c6c610a288201527f3a233841423531307d2e673233307b66696c6c3a233843363932467d2e673233610a488201527f317b66696c6c3a233842364133347d2e673233327b66696c6c3a233836423632610a688201527f457d2e673233337b66696c6c3a233844394633427d2e673233347b66696c6c3a610a888201527f233646413131457d2e673233357b66696c6c3a234636464246347d2e67323336610aa88201527f7b66696c6c3a234646464646417d2e673233377b66696c6c3a23443745464131610ac88201527f7d2e673233387b66696c6c3a234634394143317d2e673233397b66696c6c3a23610ae88201527f4630364541417d2e673234307b66696c6c3a234644424544397d2e673234317b610b088201527f66696c6c3a234633343338467d2e673234327b66696c6c3a234642443145337d610b288201527f2e673234337b66696c6c3a234239303036457d2e673234347b66696c6c3a2331610b488201527f41314131387d2e673234357b66696c6c3a234530313331337d2e673234367b66610b688201527f696c6c3a234237423742377d2e673234377b66696c6c3a234339323132317d2e610b888201527f673234387b66696c6c3a234646303030307d2e673234397b66696c6c3a234646610ba88201527f343734377d2e673235307b66696c6c3a233644333730337d2e673235317b6669610bc88201527f6c6c3a233736334230327d2e673235327b66696c6c3a233831343530427d2e67610be88201527f3235337b66696c6c3a233644333930377d2e673235347b66696c6c3a23393937610c088201527f3234417d2e673235357b66696c6c3a233839344331317d2e673235367b66696c610c288201527f6c3a233843363233397d2e673235377b66696c6c3a233539324430307d2e6732610c488201527f35387b66696c6c3a233942344530307d2e673235397b66696c6c3a2342343741610c688201527f34307d2e673236307b66696c6c3a233236313330307d2e673236317b66696c6c610c888201527f3a234639464239367d2e673236327b66696c6c3a233536373442397d2e673236610ca88201527f337b66696c6c3a233744413744397d2e673236347b66696c6c3a234235443346610cc88201527f367d2e673236357b66696c6c3a234632363532327d2e673236367b66696c6c3a610ce88201527f234436354132307d2e673236377b66696c6c3a233841384138417d2e67323638610d088201527f7b66696c6c3a233845384538457d2e673236397b66696c6c3a23414341343945610d288201527f7d2e673237307b66696c6c3a233835363041387d2e673237317b66696c6c3a23610d488201527f4632364334467d2e673237327b66696c6c3a233030373233367d2e673237337b610d688201527f66696c6c3a233030413635317d2e673237347b66696c6c3a233631363136317d610d888201527f2e673237357b66696c6c3a234245383035337d2e673237367b66696c6c3a2335610da88201527f37353635367d2e673237377b66696c6c3a234138373034367d2e673237387b66610dc88201527f696c6c3a233330324632467d2e673237397b66696c6c3a233637394346317d2e610de88201527f673238307b66696c6c3a233343383146307d2e673238317b66696c6c3a233236610e088201527f353138467d2e673238327b66696c6c3a234345423835387d2e673238337b6669610e288201527f6c6c3a234436433136327d2e673238347b66696c6c3a234544453139387d2e67610e488201527f3238357b66696c6c3a234539444338457d2e673238367b66696c6c3a23453144610e688201527f3037427d2e673238377b66696c6c3a234439433536397d2e673238387b66696c610e888201527f6c3a234633454241377d2e673238397b66696c6c3a234630453641307d2e6732610ea88201527f39307b66696c6c3a234444434137327d2e673239317b66696c6c3a2346354545610ec88201527f41437d2e673239327b66696c6c3a234246424342437d2e673239337b66696c6c610ee88201527f3a234143414341437d2e673239347b66696c6c3a234437443744377d2e673239610f088201527f357b66696c6c3a233746464541317d2e673239367b66696c6c3a233046464635610f288201527f307d2e673239377b66696c6c3a233634464238447d2e673239387b66696c6c3a610f488201527f234644343841427d2e673239397b66696c6c3a234646313439347d2e67333030610f688201527f7b66696c6c3a233938304635417d2e673330317b66696c6c3a23463141333637610f888201527f7d2e673330327b66696c6c3a234630384233437d2e673330337b66696c6c3a23610fa88201527f3846353532367d2e673330347b66696c6c3a234242373745327d2e673330357b610fc88201527f66696c6c3a234141353144437d2e673330367b66696c6c3a233634333238337d610fe88201527f2e673330377b66696c6c3a233845313142467d2e673330387b66696c6c3a23426110088201527f33324445387d2e673330397b66696c6c3a234631333635357d2e673331307b666110288201527f696c6c3a234246313333307d2e673331317b66696c6c3a233030424646337d2e6110488201527f673331327b66696c6c3a233036394143337d2e673331337b66696c6c3a2342316110688201527f343632457d2e673331347b66696c6c3a233343423837387d2e673331357b66696110888201527f6c6c3a233044393935317d2e673331367b66696c6c3a234443443333317d2e676110a88201527f3331377b66696c6c3a234242443841387d2e673331387b66696c6c3a234632366110c88201527f4437447d2e673331397b66696c6c3a233945304230467d2e673332307b66696c6110e88201527f6c3a233942354432467d2e673332317b66696c6c3a234344304331327d2e67336111088201527f32327b66696c6c3a234643453639357d2e673332337b66696c6c3a23433739346111288201527f35427d2e673332347b66696c6c3a234539433336347d2e673332357b66696c6c6111488201527f3a234636454435437d2e673332367b66696c6c3a233735344332347d2e6733326111688201527f377b66696c6c3a234344413044457d2e673332387b66696c6c3a2345374241466111888201527f387d2e673332397b66696c6c3a234444423245447d2e673333307b66696c6c3a6111a88201527f234145374334427d2e673333317b66696c6c3a234531414546357d2e673333326111c88201527f7b66696c6c3a234344413344447d2e673333337b66696c6c3a234533423546356111e88201527f7d2e673333347b66696c6c3a234538424646397d2e673333357b66696c6c3a236112088201527f4245393244307d2e673333367b66696c6c3a233732304630467d2e673333377b6112288201527f66696c6c3a233143383443387d2e673333387b66696c6c3a234642464246427d6112488201527f2e673333397b66696c6c3a233444433042387d2e673334307b66696c6c3a23466112688201527f37393431447d2e673334317b66696c6c3a234645434234427d2e673334327b666112888201527f696c6c3a233635443743467d2e673334337b66696c6c3a234443413832357d2e6112a88201527f673334347b66696c6c3a233543353335347d2e673334357b66696c6c3a2346466112c88201527f443841447d2e673334367b66696c6c3a234338433943427d2e673334377b66696112e88201527f6c6c3a233730364336447d2e673334387b66696c6c3a233338463135327d2e676113088201527f3334397b66696c6c3a233633363136317d2e673335307b66696c6c3a234137416113288201527f3741377d2e673335317b66696c6c3a234141373134377d2e673335327b66696c6113488201527f6c3a234646353930307d2e673335337b66696c6c3a233741303032367d2e67336113688201527f35347b66696c6c3a233741313031307d2e673335357b66696c6c3a23374132396113888201527f31307d2e673335367b66696c6c3a234646353330307d2e673335377b66696c6c6113a88201527f3a234539443833377d2e673335387b66696c6c3a233339423534417d2e6733356113c88201527f397b66696c6c3a234646463539367d2e673336307b66696c6c3a2346444336386113e88201527f397d2e673336317b66696c6c3a233638353634377d2e673336327b66696c6c3a6114088201527f234337393637327d2e673336337b66696c6c3a233945464142367d2e673336346114288201527f7b66696c6c3a233443464237437d2e673336357b66696c6c3a234342363746436114488201527f7d2e673336367b66696c6c3a234441393246457d2e673336377b66696c6c3a236114688201527f3334333433347d2e673336387b66696c6c3a234242333346467d2e673336397b6114888201527f66696c6c3a234639463946397d2e673337307b66696c6c3a234143423842377d6114a88201527f2e673337317b66696c6c3a234535384131447d2e673337327b66696c6c3a23426114c88201527f36373134427d2e673337337b66696c6c3a234530424636437d2e673337347b666114e88201527f696c6c3a234136374442447d2e673337357b66696c6c3a233742324530307d2e6115088201527f673337367b66696c6c3a234130343130447d2e673337377b66696c6c3a2345446115288201527f453130437d2e673337387b66696c6c3a234244384342467d2e673337397b66696115488201527f6c6c3a233243463232327d3c2f7374796c653e3c2f7376673e0000000000000061156882015261158101919050565b605b60f81b81526000825161500f8160018501602087016152b7565b605d60f81b6001939091019283015250600201919050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161505f81601d8501602087016152b7565b91909101601d0192915050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061509f9083018461319f565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156150e1578351835292840192918401916001016150c5565b50909695505050505050565b602081526000611352602083018461319f565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6040516080810167ffffffffffffffff811182821017156151fb576151fb6153c5565b60405290565b604051601f8201601f1916810167ffffffffffffffff8111828210171561522a5761522a6153c5565b604052919050565b600082198211156152455761524561536d565b500190565b60008261525957615259615383565b500490565b60008160001904831182151516156152785761527861536d565b500290565b60008282101561528f5761528f61536d565b500390565b600060ff821660ff8416808210156152ae576152ae61536d565b90039392505050565b60005b838110156152d25781810151838201526020016152ba565b8381111561120b5750506000910152565b600181811c908216806152f757607f821691505b6020821081141561531857634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156153325761533261536d565b5060010190565b600060ff821660ff8114156153505761535061536d565b60010192915050565b60008261536857615368615383565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610b8f57600080fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220ecd15476a516907e93c42e70327d16bdac4120b540bd366c26dd28b7bb49eb3264736f6c63430008070033

Deployed Bytecode

0x6080604052600436106101d85760003560e01c80636ac121d311610102578063a22cb46511610095578063e081b78111610064578063e081b7811461052c578063e985e9c514610546578063f2fde38b1461058f578063f81227d4146105af57600080fd5b8063a22cb4651461049f578063b88d4fde146104bf578063c839fe94146104df578063c87b56dd1461050c57600080fd5b8063785cc997116100d1578063785cc9971461043a57806383a9e0491461044d5780638da5cb5b1461046c57806395d89b411461048a57600080fd5b80636ac121d3146103da57806370a08231146103ef578063715018a61461040f578063771282f61461042457600080fd5b806323b872dd1161017a5780633ccfd60b116101495780633ccfd60b1461036557806342842e0e1461037a5780634d0ca03e1461039a5780636352211e146103ba57600080fd5b806323b872dd146102ed5780632665525f1461030d57806334918dfd14610320578063394941741461033557600080fd5b806306fdde03116101b657806306fdde0314610254578063081812fc14610276578063095ea7b3146102ae57806318160ddd146102ce57600080fd5b806301ffc9a7146101dd578063046dc166146102125780630490590f14610234575b600080fd5b3480156101e957600080fd5b506101fd6101f8366004612f4e565b6105c4565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b5061023261022d366004612d4e565b610616565b005b34801561024057600080fd5b5061023261024f366004612ed9565b61066b565b34801561026057600080fd5b50610269610732565b60405161020991906150ed565b34801561028257600080fd5b50610296610291366004612fbd565b6107c4565b6040516001600160a01b039091168152602001610209565b3480156102ba57600080fd5b506102326102c9366004612e7c565b610859565b3480156102da57600080fd5b50600d545b604051908152602001610209565b3480156102f957600080fd5b50610232610308366004612d9c565b61096a565b61023261031b366004612f88565b61099b565b34801561032c57600080fd5b50610232610b92565b34801561034157600080fd5b506101fd610350366004612d4e565b600c6020526000908152604090205460ff1681565b34801561037157600080fd5b50610232610bd0565b34801561038657600080fd5b50610232610395366004612d9c565b610c3a565b3480156103a657600080fd5b506102326103b5366004612fd6565b610c55565b3480156103c657600080fd5b506102966103d5366004612fbd565b610dc6565b3480156103e657600080fd5b50610232610e3d565b3480156103fb57600080fd5b506102df61040a366004612d4e565b610ea3565b34801561041b57600080fd5b50610232610f2a565b34801561043057600080fd5b506102df600d5481565b610232610448366004613132565b610f60565b34801561045957600080fd5b50600e546101fd90610100900460ff1681565b34801561047857600080fd5b506006546001600160a01b0316610296565b34801561049657600080fd5b50610269611211565b3480156104ab57600080fd5b506102326104ba366004612e40565b611220565b3480156104cb57600080fd5b506102326104da366004612dd8565b61122f565b3480156104eb57600080fd5b506104ff6104fa366004612ea6565b611261565b60405161020991906150a9565b34801561051857600080fd5b50610269610527366004612fbd565b611359565b34801561053857600080fd5b50600e546101fd9060ff1681565b34801561055257600080fd5b506101fd610561366004612d69565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561059b57600080fd5b506102326105aa366004612d4e565b611439565b3480156105bb57600080fd5b506102326114d1565b60006001600160e01b031982166380ac58cd60e01b14806105f557506001600160e01b03198216635b5e139f60e01b145b8061061057506301ffc9a760e01b6001600160e01b03198316145b92915050565b6006546001600160a01b031633146106495760405162461bcd60e51b815260040161064090615152565b60405180910390fd5b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b031633146106955760405162461bcd60e51b815260040161064090615152565b610ea0816106a2600d5490565b6106ac9190615232565b11156106b757600080fd5b81819050600960008282546106cc9190615232565b9091555050600954606410156106e157600080fd5b60005b8181101561072d5761071b838383818110610701576107016153af565b90506020020160208101906107169190612d4e565b611518565b806107258161531e565b9150506106e4565b505050565b606060008054610741906152e3565b80601f016020809104026020016040519081016040528092919081815260200182805461076d906152e3565b80156107ba5780601f1061078f576101008083540402835291602001916107ba565b820191906000526020600020905b81548152906001019060200180831161079d57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661083d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610640565b506000908152600460205260409020546001600160a01b031690565b600061086482610dc6565b9050806001600160a01b0316836001600160a01b031614156108d25760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610640565b336001600160a01b03821614806108ee57506108ee8133610561565b6109605760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610640565b61072d838361155e565b61097433826115cc565b6109905760405162461bcd60e51b815260040161064090615187565b61072d8383836116c3565b600e54610100900460ff166109e15760405162461bcd60e51b815260206004820152600c60248201526b1393d517d49153115054d15160a21b6044820152606401610640565b610ea06109ed600d5490565b10610a255760405162461bcd60e51b815260206004820152600860248201526714d3d31117d3d55560c21b6044820152606401610640565b610dac600a5410610a6b5760405162461bcd60e51b815260206004820152601060248201526f4d41585f505249564154455f53414c4560801b6044820152606401610640565b336000908152600c602052604090205460ff1615610abd5760405162461bcd60e51b815260206004820152600f60248201526e4d41585f5045525f50524553414c4560881b6044820152606401610640565b610ac73382611863565b610b095760405162461bcd60e51b815260206004820152601360248201527224a72b20a624a22faa2920a729a0a1aa24a7a760691b6044820152606401610640565b67011c37937e080000341015610b595760405162461bcd60e51b8152602060048201526015602482015274125394d551919250d251539517d1551217d4d15395605a1b6044820152606401610640565b336000908152600c60205260408120805460ff19166001179055600a805491610b818361531e565b9190505550610b8f33611518565b50565b6006546001600160a01b03163314610bbc5760405162461bcd60e51b815260040161064090615152565b600e805460ff19811660ff90911615179055565b6006546001600160a01b03163314610bfa5760405162461bcd60e51b815260040161064090615152565b60405173fa5d05df712b059b74ccefe4084785be7f2ea1b8904780156108fc02916000818181858888f19350505050158015610b8f573d6000803e3d6000fd5b61072d8383836040518060200160405280600081525061122f565b6006546001600160a01b03163314610c7f5760405162461bcd60e51b815260040161064090615152565b60005b81518160ff16101561072d57600f60008481526020019081526020016000206040518060800160405280848460ff1681518110610cc157610cc16153af565b6020026020010151600001518152602001848460ff1681518110610ce757610ce76153af565b6020026020010151602001518152602001848460ff1681518110610d0d57610d0d6153af565b6020026020010151604001518152602001848460ff1681518110610d3357610d336153af565b60209081029190910181015160600151909152825460018101845560009384529281902082518051939460040290910192610d719284920190612b8e565b506020828101518051610d8a9260018501920190612b8e565b5060408201518051610da6916002840191602090910190612b8e565b506060820151816003015550508080610dbe90615339565b915050610c82565b6000818152600260205260408120546001600160a01b0316806106105760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610640565b6006546001600160a01b03163314610e675760405162461bcd60e51b815260040161064090615152565b60005b60078160ff161015610b8f5760ff81166000908152600f60205260408120610e9191612c12565b80610e9b81615339565b915050610e6a565b60006001600160a01b038216610f0e5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610640565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610f545760405162461bcd60e51b815260040161064090615152565b610f5e60006118c4565b565b600e5460ff16610fa15760405162461bcd60e51b815260206004820152600c60248201526b1393d517d49153115054d15160a21b6044820152606401610640565b610ea0610fad600d5490565b10610fe55760405162461bcd60e51b815260206004820152600860248201526714d3d31117d3d55560c21b6044820152606401610640565b60028311156110285760405162461bcd60e51b815260206004820152600f60248201526e4d41585f5045525f54585f53414c4560881b6044820152606401610640565b60078260405161103891906132c0565b9081526040519081900360200190205460ff16156110855760405162461bcd60e51b815260206004820152600a6024820152691393d390d157d554d15160b21b6044820152606401610640565b61109133848484611916565b6110d35760405162461bcd60e51b815260206004820152601360248201527224a72b20a624a22faa2920a729a0a1aa24a7a760691b6044820152606401610640565b6064600a54610ea06110e5919061527d565b6110ef919061527d565b83600b546110fd9190615232565b111561113d5760405162461bcd60e51b815260206004820152600f60248201526e4d41585f5055424c49435f53414c4560881b6044820152606401610640565b67011c37937e080000611150843461525e565b10156111965760405162461bcd60e51b8152602060048201526015602482015274125394d551919250d251539517d1551217d4d15395605a1b6044820152606401610640565b60016007836040516111a891906132c0565b908152602001604051809103902060006101000a81548160ff02191690831515021790555082600b60008282546111df9190615232565b90915550600090505b8381101561120b576111f933611518565b806112038161531e565b9150506111e8565b50505050565b606060018054610741906152e3565b61122b33838361196d565b5050565b61123933836115cc565b6112555760405162461bcd60e51b815260040161064090615187565b61120b84848484611a3c565b6060600061126e85610ea3565b90508061128b575050604080516000815260208101909152611352565b60008167ffffffffffffffff8111156112a6576112a66153c5565b6040519080825280602002602001820160405280156112cf578160200160208202803683370190505b5090506000855b8581101561134b57838214156112eb5761134b565b876001600160a01b03166112fe82610dc6565b6001600160a01b031614156113395780838381518110611320576113206153af565b6020908102919091010152816113358161531e565b9250505b806113438161531e565b9150506112d6565b5090925050505b9392505050565b6000818152600260205260409020546060906001600160a01b03166113b75760405162461bcd60e51b81526020600482015260146024820152731513d2d15397d113d154d7d393d517d1561254d560621b6044820152606401610640565b6000828152601060205260409020546114126113d284611a6f565b6113e36113de84611b6d565b611d9f565b6113ec84611f07565b6040516020016113fe93929190613415565b604051602081830303815290604052611d9f565b6040516020016114229190615027565b604051602081830303815290604052915050919050565b6006546001600160a01b031633146114635760405162461bcd60e51b815260040161064090615152565b6001600160a01b0381166114c85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610640565b610b8f816118c4565b6006546001600160a01b031633146114fb5760405162461bcd60e51b815260040161064090615152565b600e805461ff001981166101009182900460ff1615909102179055565b611524600d548261200b565b600d80546000908152601060205260409020919091555461154690829061214f565b600d80549060006115568361531e565b919050555050565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061159382610dc6565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166116455760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610640565b600061165083610dc6565b9050806001600160a01b0316846001600160a01b0316148061168b5750836001600160a01b0316611680846107c4565b6001600160a01b0316145b806116bb57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166116d682610dc6565b6001600160a01b03161461173e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610640565b6001600160a01b0382166117a05760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610640565b6117ab60008261155e565b6001600160a01b03831660009081526003602052604081208054600192906117d490849061527d565b90915550506001600160a01b0382166000908152600360205260408120805460019290611802908490615232565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6040516bffffffffffffffffffffffff19606084901b166020820152600090819060340160408051601f19818403018152919052805160209091012090506118ab8184612291565b6008546001600160a01b03918216911614949350505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008085858560405160200161192e93929190613281565b60408051601f19818403018152919052805160209091012090506119528184612291565b6008546001600160a01b039182169116149695505050505050565b816001600160a01b0316836001600160a01b031614156119cf5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610640565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611a478484846116c3565b611a53848484846122b5565b61120b5760405162461bcd60e51b815260040161064090615100565b606081611a935750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611abd5780611aa78161531e565b9150611ab69050600a8361524a565b9150611a97565b60008167ffffffffffffffff811115611ad857611ad86153c5565b6040519080825280601f01601f191660200182016040528015611b02576020820181803683370190505b5090505b84156116bb57611b1760018361527d565b9150611b24600a86615359565b611b2f906030615232565b60f81b818381518110611b4457611b446153af565b60200101906001600160f81b031916908160001a905350611b66600a8661524a565b9450611b06565b60608060005b6007811015611d765760ff841660005b6000838152600f60205260409020805483908110611ba357611ba36153af565b906000526020600020906004020160030154811015611d5b576000838152600f602052604081208054611ca3919085908110611be157611be16153af565b90600052602060002090600402016002018054611bfd906152e3565b80601f0160208091040260200160405190810160405280929190818152602001828054611c29906152e3565b8015611c765780601f10611c4b57610100808354040283529160200191611c76565b820191906000526020600020905b815481529060010190602001808311611c5957829003601f168201915b5050505050836005611c88919061525e565b611c9385600561525e565b611c9e906005615232565b6123bf565b90506000606182600081518110611cbc57611cbc6153af565b0160200151611cce919060f81c615294565b90506000606183600181518110611ce757611ce76153af565b0160200151611cf9919060f81c615294565b905086611d0984600260056123bf565b611d158460ff16611a6f565b611d218460ff16611a6f565b604051602001611d34949392919061336e565b60405160208183030381529060405296505050508080611d539061531e565b915050611b83565b505060089390931c9280611d6e8161531e565b915050611b73565b5080604051602001611d889190613595565b60408051601f198184030181529190529392505050565b6060815160001415611dbf57505060408051602081019091526000815290565b60006040518060600160405280604081526020016153f26040913990506000600384516002611dee9190615232565b611df8919061524a565b611e0390600461525e565b90506000611e12826020615232565b67ffffffffffffffff811115611e2a57611e2a6153c5565b6040519080825280601f01601f191660200182016040528015611e54576020820181803683370190505b509050818152600183018586518101602084015b81831015611ec25760039283018051603f601282901c811687015160f890811b8552600c83901c8216880151811b6001860152600683901c8216880151811b60028601529116860151901b93820193909352600401611e68565b600389510660018114611edc5760028114611eed57611ef9565b613d3d60f01b600119830152611ef9565b603d60f81b6000198301525b509398975050505050505050565b60608060005b60078160ff161015611ff95760ff8181166000908152600f6020526040902080549186169184919083908110611f4557611f456153af565b9060005260206000209060040201600101600f60008560ff1681526020019081526020016000208381548110611f7d57611f7d6153af565b9060005260206000209060040201600001604051602001611fa093929190613301565b60405160208183030381529060405292508160ff16600614611fdf5782604051602001611fcd91906132dc565b60405160208183030381529060405292505b5060089390931c9280611ff181615339565b915050611f0d565b50806040516020016114229190614ff3565b601180546000918261201c8361531e565b909155505060115460408051446020808301919091524282840152606080830188905286901b6bffffffffffffffffffffffff191660808301526094808301949094528251808303909401845260b49091019091528151910120600061208b612086606484615359565b61248c565b600c9290921c91905060086120a96120a4606485615359565b612540565b600c9390931c92901b1760106120c86120c3606485615359565b6125e3565b600c9390931c92901b1760186120e76120e2606485615359565b612675565b600c9390931c92901b176020612106612101606485615359565b6126d4565b600c9390931c92901b176028612125612120606485615359565b612711565b600c9390931c92901b17603061214461213f606485615359565b6127bd565b901b17949350505050565b6001600160a01b0382166121a55760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610640565b6000818152600260205260409020546001600160a01b03161561220a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610640565b6001600160a01b0382166000908152600360205260408120805460019290612233908490615232565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008060006122a08585612847565b915091506122ad816128b7565b509392505050565b60006001600160a01b0384163b156123b757604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906122f990339089908890889060040161506c565b602060405180830381600087803b15801561231357600080fd5b505af1925050508015612343575060408051601f3d908101601f1916820190925261234091810190612f6b565b60015b61239d573d808015612371576040519150601f19603f3d011682016040523d82523d6000602084013e612376565b606091505b5080516123955760405162461bcd60e51b815260040161064090615100565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506116bb565b5060016116bb565b60608360006123ce858561527d565b67ffffffffffffffff8111156123e6576123e66153c5565b6040519080825280601f01601f191660200182016040528015612410576020820181803683370190505b509050845b848110156124825782818151811061242f5761242f6153af565b01602001516001600160f81b03191682612449888461527d565b81518110612459576124596153af565b60200101906001600160f81b031916908160001a9053508061247a8161531e565b915050612415565b5095945050505050565b6000600282101561249f57506000919050565b60068210156124b057506001919050565b600b8210156124c157506002919050565b60128210156124d257506003919050565b601a8210156124e357506004919050565b60228210156124f457506005919050565b602a82101561250557506006919050565b603482101561251657506007919050565b604182101561252757506008919050565b605082101561253857506009919050565b50600a919050565b6000600282101561255357506000919050565b600682101561256457506001919050565b600b82101561257557506002919050565b601282101561258657506003919050565b601982101561259757506004919050565b60218210156125a857506005919050565b602a8210156125b957506006919050565b60348210156125ca57506007919050565b60408210156125db57506008919050565b506009919050565b600060028210156125f657506000919050565b600582101561260757506001919050565b600982101561261857506002919050565b600e82101561262957506003919050565b601882101561263a57506004919050565b602282101561264b57506005919050565b603282101561265c57506006919050565b604682101561266d57506007919050565b506008919050565b6000600282101561268857506000919050565b600782101561269957506001919050565b60118210156126aa57506002919050565b60238210156126bb57506003919050565b603c8210156126cc57506004919050565b506005919050565b600060058210156126e757506000919050565b600f8210156126f857506001919050565b603282101561270957506002919050565b506003919050565b6000600182101561272457506000919050565b600382101561273557506001919050565b600682101561274657506002919050565b600982101561275757506003919050565b600f82101561276857506004919050565b601682101561277957506005919050565b601d82101561278a57506006919050565b602682101561279b57506007919050565b60308210156127ac57506008919050565b603b82101561253857506009919050565b600060018210156127d057506000919050565b60038210156127e157506001919050565b60068210156127f257506002919050565b600b82101561280357506003919050565b601382101561281457506004919050565b601f82101561282557506005919050565b603182101561283657506006919050565b604882101561266d57506007919050565b60008082516041141561287e5760208301516040840151606085015160001a61287287828585612a72565b945094505050506128b0565b8251604014156128a8576020830151604084015161289d868383612b5f565b9350935050506128b0565b506000905060025b9250929050565b60008160048111156128cb576128cb615399565b14156128d45750565b60018160048111156128e8576128e8615399565b14156129365760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610640565b600281600481111561294a5761294a615399565b14156129985760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610640565b60038160048111156129ac576129ac615399565b1415612a055760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610640565b6004816004811115612a1957612a19615399565b1415610b8f5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610640565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612aa95750600090506003612b56565b8460ff16601b14158015612ac157508460ff16601c14155b15612ad25750600090506004612b56565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612b26573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612b4f57600060019250925050612b56565b9150600090505b94509492505050565b6000806001600160ff1b03831660ff84901c601b01612b8087828885612a72565b935093505050935093915050565b828054612b9a906152e3565b90600052602060002090601f016020900481019282612bbc5760008555612c02565b82601f10612bd557805160ff1916838001178555612c02565b82800160010185558215612c02579182015b82811115612c02578251825591602001919060010190612be7565b50612c0e929150612c33565b5090565b5080546000825560040290600052602060002090810190610b8f9190612c48565b5b80821115612c0e5760008155600101612c34565b80821115612c0e576000612c5c8282612c88565b612c6a600183016000612c88565b612c78600283016000612c88565b5060006003820155600401612c48565b508054612c94906152e3565b6000825580601f10612ca4575050565b601f016020900490600052602060002090810190610b8f9190612c33565b80356001600160a01b0381168114612cd957600080fd5b919050565b600082601f830112612cef57600080fd5b813567ffffffffffffffff811115612d0957612d096153c5565b612d1c601f8201601f1916602001615201565b818152846020838601011115612d3157600080fd5b816020850160208301376000918101602001919091529392505050565b600060208284031215612d6057600080fd5b61135282612cc2565b60008060408385031215612d7c57600080fd5b612d8583612cc2565b9150612d9360208401612cc2565b90509250929050565b600080600060608486031215612db157600080fd5b612dba84612cc2565b9250612dc860208501612cc2565b9150604084013590509250925092565b60008060008060808587031215612dee57600080fd5b612df785612cc2565b9350612e0560208601612cc2565b925060408501359150606085013567ffffffffffffffff811115612e2857600080fd5b612e3487828801612cde565b91505092959194509250565b60008060408385031215612e5357600080fd5b612e5c83612cc2565b915060208301358015158114612e7157600080fd5b809150509250929050565b60008060408385031215612e8f57600080fd5b612e9883612cc2565b946020939093013593505050565b600080600060608486031215612ebb57600080fd5b612ec484612cc2565b95602085013595506040909401359392505050565b60008060208385031215612eec57600080fd5b823567ffffffffffffffff80821115612f0457600080fd5b818501915085601f830112612f1857600080fd5b813581811115612f2757600080fd5b8660208260051b8501011115612f3c57600080fd5b60209290920196919550909350505050565b600060208284031215612f6057600080fd5b8135611352816153db565b600060208284031215612f7d57600080fd5b8151611352816153db565b600060208284031215612f9a57600080fd5b813567ffffffffffffffff811115612fb157600080fd5b6116bb84828501612cde565b600060208284031215612fcf57600080fd5b5035919050565b60008060408385031215612fe957600080fd5b8235915060208084013567ffffffffffffffff8082111561300957600080fd5b818601915086601f83011261301d57600080fd5b81358181111561302f5761302f6153c5565b8060051b61303e858201615201565b8281528581019085870183870188018c101561305957600080fd5b600093505b848410156131205780358681111561307557600080fd5b87016080818e03601f1901121561308b57600080fd5b6130936151d8565b89820135888111156130a457600080fd5b6130b28f8c83860101612cde565b8252506040820135888111156130c757600080fd5b6130d58f8c83860101612cde565b8b830152506060820135888111156130ec57600080fd5b6130fa8f8c83860101612cde565b60408301525060809190910135606082015283526001939093019291870191870161305e565b50809750505050505050509250929050565b60008060006060848603121561314757600080fd5b83359250602084013567ffffffffffffffff8082111561316657600080fd5b61317287838801612cde565b9350604086013591508082111561318857600080fd5b5061319586828701612cde565b9150509250925092565b600081518084526131b78160208601602086016152b7565b601f01601f19169290920160200192915050565b600081516131dd8185602086016152b7565b9290920192915050565b8054600090600181811c908083168061320157607f831692505b602080841082141561322357634e487b7160e01b600052602260045260246000fd5b818015613237576001811461324857613275565b60ff19861689528489019650613275565b60008881526020902060005b8681101561326d5781548b820152908501908301613254565b505084890196505b50505050505092915050565b6bffffffffffffffffffffffff198460601b168152826014820152600082516132b18160348501602087016152b7565b91909101603401949350505050565b600082516132d28184602087016152b7565b9190910192915050565b600082516132ee8184602087016152b7565b600b60fa1b920191825250600101919050565b600084516133138184602089016152b7565b6e3d913a3930b4ba2fba3cb832911d1160891b908301908152613339600f8201866131e7565b6a1116113b30b63ab2911d1160a91b81529050613359600b8201856131e7565b61227d60f01b81526002019695505050505050565b60008551613380818460208a016152b7565b6d3c7265637420636c6173733d276760901b90830190815285516133ab81600e840160208a016152b7565b642720783d2760d81b600e929091019182015284516133d18160138401602089016152b7565b642720793d2760d81b6013929091019182015283516133f78160188401602088016152b7565b6213979f60e91b60189290910191820152601b019695505050505050565b747b226e616d65223a2022476f617420536f7570202360581b815283516000906134468160158501602089016152b7565b7f222c20226465736372697074696f6e223a2022476f617420536f75702067656e6015918401918201527f6573697320636f6c6c656374696f6e20697320612066756c6c79206f6e20636860358201527f61696e204e465420736572696573206f6620332c3734342e20416c6c2074686560558201527f206d6574616461746120616e6420696d61676573206172652067656e6572617460758201527f656420616e642073746f7265642031303025206f6e2d636861696e2e222c202260958201527f696d616765223a2022646174613a696d6167652f7376672b786d6c3b6261736560b5820152620d8d0b60ea1b60d5820152845161354d8160d88401602089016152b7565b61358a61357d61357760d8848601016e11161130ba3a3934b13aba32b9911d60891b8152600f0190565b876131cb565b607d60f81b815260010190565b979650505050505050565b7f3c7376672069643d2767732720786d6c6e733d27687474703a2f2f7777772e7781527f332e6f72672f323030302f73766727207072657365727665417370656374526160208201527f74696f3d27784d696e594d696e206d656574272076696577426f783d2730203060408201526710191a10191a139f60c11b60608201526000825161362a8160688501602087016152b7565b7f3c7374796c653e2367737b73686170652d72656e646572696e673a206372697360689390910192830152507f7065646765733b7d726563747b77696474683a3170783b6865696768743a317060888201527f783b7d2e673130307b66696c6c3a233030303030307d2e673130317b66696c6c60a88201527f3a233331333133317d2e673130327b66696c6c3a233235323532357d2e67313060c88201527f337b66696c6c3a233431343034307d2e673130347b66696c6c3a23344434443460e88201527f447d2e673130357b66696c6c3a233336333633367d2e673130367b66696c6c3a6101088201527f233030333437317d2e673130377b66696c6c3a233030344138307d2e673130386101288201527f7b66696c6c3a233030354532307d2e673130397b66696c6c3a233734413333456101488201527f7d2e673131307b66696c6c3a233641393733367d2e673131317b66696c6c3a236101688201527f3030353441367d2e673131327b66696c6c3a233539383532377d2e673131337b6101888201527f66696c6c3a234142413030307d2e673131347b66696c6c3a234346424135447d6101a88201527f2e673131357b66696c6c3a234538443738327d2e673131367b66696c6c3a23456101c88201527f35443638357d2e673131377b66696c6c3a234530434537387d2e673131387b666101e88201527f696c6c3a234437433236347d2e673131397b66696c6c3a234331414335307d2e6102088201527f673132307b66696c6c3a234442433836447d2e673132317b66696c6c3a2344346102288201527f424535447d2e673132327b66696c6c3a234343434343437d2e673132337b66696102488201527f6c6c3a234646464646467d2e673132347b66696c6c3a234542454245427d2e676102688201527f3132357b66696c6c3a234334333933437d2e673132367b66696c6c3a234431346102888201527f3434387d2e673132377b66696c6c3a234243323832437d2e673132387b66696c6102a88201527f6c3a234231313931447d2e673132397b66696c6c3a233243323432327d2e67316102c88201527f33307b66696c6c3a233644364136417d2e673133317b66696c6c3a23363033396102e88201527f31337d2e673133327b66696c6c3a233539333030387d2e673133337b66696c6c6103088201527f3a234235423542357d2e673133347b66696c6c3a233536333331307d2e6731336103288201527f357b66696c6c3a233638334631387d2e673133367b66696c6c3a2335433333306103488201527f427d2e673133377b66696c6c3a233542333531317d2e673133387b66696c6c3a6103688201527f233139374233307d2e673133397b66696c6c3a234437434330337d2e673134306103888201527f7b66696c6c3a234646463230307d2e673134317b66696c6c3a233842334530456103a88201527f7d2e673134327b66696c6c3a234133344531397d2e673134337b66696c6c3a236103c88201527f4437363430437d2e673134347b66696c6c3a234244353731377d2e673134357b6103e88201527f66696c6c3a233230373541387d2e673134367b66696c6c3a233546393942427d6104088201527f2e673134377b66696c6c3a233444343633457d2e673134387b66696c6c3a23466104288201527f33334334337d2e673134397b66696c6c3a233045353032347d2e673135307b666104488201527f696c6c3a233544393831417d2e673135317b66696c6c3a233043354432387d2e6104688201527f673135327b66696c6c3a233832344531437d2e673135337b66696c6c3a2343366104888201527f394336447d2e673135347b66696c6c3a233336324632447d2e673135357b66696104a88201527f6c6c3a234136374335327d2e673135367b66696c6c3a234638463846387d2e676104c88201527f3135377b66696c6c3a233131313131317d2e673135387b66696c6c3a233633366104e88201527f3336337d2e673135397b66696c6c3a233832374335337d2e673136307b66696c6105088201527f6c3a233246324431457d2e673136317b66696c6c3a233030464646467d2e67316105288201527f36327b66696c6c3a233237453545357d2e673136337b66696c6c3a23324533316105488201527f39327d2e673136347b66696c6c3a234536303030397d2e673136357b66696c6c6105688201527f3a234544314332347d2e673136367b66696c6c3a234636463646367d2e6731366105888201527f377b66696c6c3a233038464646347d2e673136387b66696c6c3a2330304534446105a88201527f417d2e673136397b66696c6c3a233644434646367d2e673137307b66696c6c3a6105c88201527f234546414532307d2e673137317b66696c6c3a234638443030467d2e673137326105e88201527f7b66696c6c3a234543423232337d2e673137337b66696c6c3a234632423432336106088201527f7d2e673137347b66696c6c3a234637434531327d2e673137357b66696c6c3a236106288201527f4637434630447d2e673137367b66696c6c3a234635424331337d2e673137377b6106488201527f66696c6c3a234636434230447d2e673137387b66696c6c3a234642424131457d6106688201527f2e673137397b66696c6c3a234635434331307d2e673138307b66696c6c3a23466106888201527f38443030457d2e673138317b66696c6c3a234633424331427d2e673138327b666106a88201527f696c6c3a234636434430467d2e673138337b66696c6c3a234642424231427d2e6106c88201527f673138347b66696c6c3a234639434431327d2e673138357b66696c6c3a2346366106e88201527f424131427d2e673138367b66696c6c3a234636433930457d2e673138377b66696107088201527f6c6c3a234545414431447d2e673138387b66696c6c3a234637434231327d2e676107288201527f3138397b66696c6c3a234542414331467d2e673139307b66696c6c3a234543416107488201527f4131367d2e673139317b66696c6c3a234637433631347d2e673139327b66696c6107688201527f6c3a234630423331417d2e673139337b66696c6c3a234544414532337d2e67316107888201527f39347b66696c6c3a234632414432317d2e673139357b66696c6c3a23463342376107a88201527f31427d2e673139367b66696c6c3a234633424631347d2e673139377b66696c6c6107c88201527f3a234534413132457d2e673139387b66696c6c3a234535413132347d2e6731396107e88201527f397b66696c6c3a234541413632317d2e673230307b66696c6c3a2346344235316108088201527f437d2e673230317b66696c6c3a234635423631397d2e673230327b66696c6c3a6108288201527f234632423231437d2e673230337b66696c6c3a234636423731437d2e673230346108488201527f7b66696c6c3a234646464630307d2e673230357b66696c6c3a233033413630306108688201527f7d2e673230367b66696c6c3a234136303031437d2e673230377b66696c6c3a236108888201527f4131423932467d2e673230387b66696c6c3a234232383133457d2e673230397b6108a88201527f66696c6c3a234242394634427d2e673231307b66696c6c3a234643463846467d6108c88201527f2e673231317b66696c6c3a233544383432397d2e673231327b66696c6c3a23366108e88201527f45393330467d2e673231337b66696c6c3a234539454242397d2e673231347b666109088201527f696c6c3a234235393835347d2e673231357b66696c6c3a234334393934427d2e6109288201527f673231367b66696c6c3a233639413232447d2e673231377b66696c6c3a2337456109488201527f413231417d2e673231387b66696c6c3a234341453441377d2e673231397b66696109688201527f6c6c3a233737394131387d2e673232307b66696c6c3a234232434330397d2e676109888201527f3232317b66696c6c3a234334454133327d2e673232327b66696c6c3a233743396109a88201527f4630447d2e673232337b66696c6c3a234331443232347d2e673232347b66696c6109c88201527f6c3a234132434131437d2e673232357b66696c6c3a233934373233357d2e67326109e88201527f32367b66696c6c3a233930364432397d2e673232377b66696c6c3a2336454132610a088201527f31417d2e673232387b66696c6c3a234542463644347d2e673232397b66696c6c610a288201527f3a233841423531307d2e673233307b66696c6c3a233843363932467d2e673233610a488201527f317b66696c6c3a233842364133347d2e673233327b66696c6c3a233836423632610a688201527f457d2e673233337b66696c6c3a233844394633427d2e673233347b66696c6c3a610a888201527f233646413131457d2e673233357b66696c6c3a234636464246347d2e67323336610aa88201527f7b66696c6c3a234646464646417d2e673233377b66696c6c3a23443745464131610ac88201527f7d2e673233387b66696c6c3a234634394143317d2e673233397b66696c6c3a23610ae88201527f4630364541417d2e673234307b66696c6c3a234644424544397d2e673234317b610b088201527f66696c6c3a234633343338467d2e673234327b66696c6c3a234642443145337d610b288201527f2e673234337b66696c6c3a234239303036457d2e673234347b66696c6c3a2331610b488201527f41314131387d2e673234357b66696c6c3a234530313331337d2e673234367b66610b688201527f696c6c3a234237423742377d2e673234377b66696c6c3a234339323132317d2e610b888201527f673234387b66696c6c3a234646303030307d2e673234397b66696c6c3a234646610ba88201527f343734377d2e673235307b66696c6c3a233644333730337d2e673235317b6669610bc88201527f6c6c3a233736334230327d2e673235327b66696c6c3a233831343530427d2e67610be88201527f3235337b66696c6c3a233644333930377d2e673235347b66696c6c3a23393937610c088201527f3234417d2e673235357b66696c6c3a233839344331317d2e673235367b66696c610c288201527f6c3a233843363233397d2e673235377b66696c6c3a233539324430307d2e6732610c488201527f35387b66696c6c3a233942344530307d2e673235397b66696c6c3a2342343741610c688201527f34307d2e673236307b66696c6c3a233236313330307d2e673236317b66696c6c610c888201527f3a234639464239367d2e673236327b66696c6c3a233536373442397d2e673236610ca88201527f337b66696c6c3a233744413744397d2e673236347b66696c6c3a234235443346610cc88201527f367d2e673236357b66696c6c3a234632363532327d2e673236367b66696c6c3a610ce88201527f234436354132307d2e673236377b66696c6c3a233841384138417d2e67323638610d088201527f7b66696c6c3a233845384538457d2e673236397b66696c6c3a23414341343945610d288201527f7d2e673237307b66696c6c3a233835363041387d2e673237317b66696c6c3a23610d488201527f4632364334467d2e673237327b66696c6c3a233030373233367d2e673237337b610d688201527f66696c6c3a233030413635317d2e673237347b66696c6c3a233631363136317d610d888201527f2e673237357b66696c6c3a234245383035337d2e673237367b66696c6c3a2335610da88201527f37353635367d2e673237377b66696c6c3a234138373034367d2e673237387b66610dc88201527f696c6c3a233330324632467d2e673237397b66696c6c3a233637394346317d2e610de88201527f673238307b66696c6c3a233343383146307d2e673238317b66696c6c3a233236610e088201527f353138467d2e673238327b66696c6c3a234345423835387d2e673238337b6669610e288201527f6c6c3a234436433136327d2e673238347b66696c6c3a234544453139387d2e67610e488201527f3238357b66696c6c3a234539444338457d2e673238367b66696c6c3a23453144610e688201527f3037427d2e673238377b66696c6c3a234439433536397d2e673238387b66696c610e888201527f6c3a234633454241377d2e673238397b66696c6c3a234630453641307d2e6732610ea88201527f39307b66696c6c3a234444434137327d2e673239317b66696c6c3a2346354545610ec88201527f41437d2e673239327b66696c6c3a234246424342437d2e673239337b66696c6c610ee88201527f3a234143414341437d2e673239347b66696c6c3a234437443744377d2e673239610f088201527f357b66696c6c3a233746464541317d2e673239367b66696c6c3a233046464635610f288201527f307d2e673239377b66696c6c3a233634464238447d2e673239387b66696c6c3a610f488201527f234644343841427d2e673239397b66696c6c3a234646313439347d2e67333030610f688201527f7b66696c6c3a233938304635417d2e673330317b66696c6c3a23463141333637610f888201527f7d2e673330327b66696c6c3a234630384233437d2e673330337b66696c6c3a23610fa88201527f3846353532367d2e673330347b66696c6c3a234242373745327d2e673330357b610fc88201527f66696c6c3a234141353144437d2e673330367b66696c6c3a233634333238337d610fe88201527f2e673330377b66696c6c3a233845313142467d2e673330387b66696c6c3a23426110088201527f33324445387d2e673330397b66696c6c3a234631333635357d2e673331307b666110288201527f696c6c3a234246313333307d2e673331317b66696c6c3a233030424646337d2e6110488201527f673331327b66696c6c3a233036394143337d2e673331337b66696c6c3a2342316110688201527f343632457d2e673331347b66696c6c3a233343423837387d2e673331357b66696110888201527f6c6c3a233044393935317d2e673331367b66696c6c3a234443443333317d2e676110a88201527f3331377b66696c6c3a234242443841387d2e673331387b66696c6c3a234632366110c88201527f4437447d2e673331397b66696c6c3a233945304230467d2e673332307b66696c6110e88201527f6c3a233942354432467d2e673332317b66696c6c3a234344304331327d2e67336111088201527f32327b66696c6c3a234643453639357d2e673332337b66696c6c3a23433739346111288201527f35427d2e673332347b66696c6c3a234539433336347d2e673332357b66696c6c6111488201527f3a234636454435437d2e673332367b66696c6c3a233735344332347d2e6733326111688201527f377b66696c6c3a234344413044457d2e673332387b66696c6c3a2345374241466111888201527f387d2e673332397b66696c6c3a234444423245447d2e673333307b66696c6c3a6111a88201527f234145374334427d2e673333317b66696c6c3a234531414546357d2e673333326111c88201527f7b66696c6c3a234344413344447d2e673333337b66696c6c3a234533423546356111e88201527f7d2e673333347b66696c6c3a234538424646397d2e673333357b66696c6c3a236112088201527f4245393244307d2e673333367b66696c6c3a233732304630467d2e673333377b6112288201527f66696c6c3a233143383443387d2e673333387b66696c6c3a234642464246427d6112488201527f2e673333397b66696c6c3a233444433042387d2e673334307b66696c6c3a23466112688201527f37393431447d2e673334317b66696c6c3a234645434234427d2e673334327b666112888201527f696c6c3a233635443743467d2e673334337b66696c6c3a234443413832357d2e6112a88201527f673334347b66696c6c3a233543353335347d2e673334357b66696c6c3a2346466112c88201527f443841447d2e673334367b66696c6c3a234338433943427d2e673334377b66696112e88201527f6c6c3a233730364336447d2e673334387b66696c6c3a233338463135327d2e676113088201527f3334397b66696c6c3a233633363136317d2e673335307b66696c6c3a234137416113288201527f3741377d2e673335317b66696c6c3a234141373134377d2e673335327b66696c6113488201527f6c3a234646353930307d2e673335337b66696c6c3a233741303032367d2e67336113688201527f35347b66696c6c3a233741313031307d2e673335357b66696c6c3a23374132396113888201527f31307d2e673335367b66696c6c3a234646353330307d2e673335377b66696c6c6113a88201527f3a234539443833377d2e673335387b66696c6c3a233339423534417d2e6733356113c88201527f397b66696c6c3a234646463539367d2e673336307b66696c6c3a2346444336386113e88201527f397d2e673336317b66696c6c3a233638353634377d2e673336327b66696c6c3a6114088201527f234337393637327d2e673336337b66696c6c3a233945464142367d2e673336346114288201527f7b66696c6c3a233443464237437d2e673336357b66696c6c3a234342363746436114488201527f7d2e673336367b66696c6c3a234441393246457d2e673336377b66696c6c3a236114688201527f3334333433347d2e673336387b66696c6c3a234242333346467d2e673336397b6114888201527f66696c6c3a234639463946397d2e673337307b66696c6c3a234143423842377d6114a88201527f2e673337317b66696c6c3a234535384131447d2e673337327b66696c6c3a23426114c88201527f36373134427d2e673337337b66696c6c3a234530424636437d2e673337347b666114e88201527f696c6c3a234136374442447d2e673337357b66696c6c3a233742324530307d2e6115088201527f673337367b66696c6c3a234130343130447d2e673337377b66696c6c3a2345446115288201527f453130437d2e673337387b66696c6c3a234244384342467d2e673337397b66696115488201527f6c6c3a233243463232327d3c2f7374796c653e3c2f7376673e0000000000000061156882015261158101919050565b605b60f81b81526000825161500f8160018501602087016152b7565b605d60f81b6001939091019283015250600201919050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161505f81601d8501602087016152b7565b91909101601d0192915050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061509f9083018461319f565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156150e1578351835292840192918401916001016150c5565b50909695505050505050565b602081526000611352602083018461319f565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6040516080810167ffffffffffffffff811182821017156151fb576151fb6153c5565b60405290565b604051601f8201601f1916810167ffffffffffffffff8111828210171561522a5761522a6153c5565b604052919050565b600082198211156152455761524561536d565b500190565b60008261525957615259615383565b500490565b60008160001904831182151516156152785761527861536d565b500290565b60008282101561528f5761528f61536d565b500390565b600060ff821660ff8416808210156152ae576152ae61536d565b90039392505050565b60005b838110156152d25781810151838201526020016152ba565b8381111561120b5750506000910152565b600181811c908216806152f757607f821691505b6020821081141561531857634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156153325761533261536d565b5060010190565b600060ff821660ff8114156153505761535061536d565b60010192915050565b60008261536857615368615383565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610b8f57600080fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220ecd15476a516907e93c42e70327d16bdac4120b540bd366c26dd28b7bb49eb3264736f6c63430008070033

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.