ETH Price: $2,934.06 (-7.07%)
Gas: 8 Gwei

Token

ASCII Smiles (SML)
 

Overview

Max Total Supply

146 SML

Holders

88

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 SML
0x06ac63ca66a0070bfa15070d7460004511cd964e
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
Smiles

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 10000 runs

Other Settings:
default evmVersion
File 1 of 14 : SmilesNFT.sol
//
//    ░█████╗░░██████╗░█████╗░██╗██╗    ░██████╗███╗░░░███╗██╗██╗░░░░░███████╗░██████╗
//    ██╔══██╗██╔════╝██╔══██╗██║██║    ██╔════╝████╗░████║██║██║░░░░░██╔════╝██╔════╝
//    ███████║╚█████╗░██║░░╚═╝██║██║    ╚█████╗░██╔████╔██║██║██║░░░░░█████╗░░╚█████╗░
//    ██╔══██║░╚═══██╗██║░░██╗██║██║    ░╚═══██╗██║╚██╔╝██║██║██║░░░░░██╔══╝░░░╚═══██╗
//    ██║░░██║██████╔╝╚█████╔╝██║██║    ██████╔╝██║░╚═╝░██║██║███████╗███████╗██████╔╝
//    ╚═╝░░╚═╝╚═════╝░░╚════╝░╚═╝╚═╝    ╚═════╝░╚═╝░░░░░╚═╝╚═╝╚══════╝╚══════╝╚═════╝░
//
// Website: https://smiles.cards
//
// SPDX-License-Identifier: MIT
pragma solidity 0.8.9;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./enumerable_simple.sol";

contract OwnableDelegateProxy {}

contract ProxyRegistry {
    mapping(address => OwnableDelegateProxy) public proxies;
}

contract Smiles is ERC721EnumerableSimple, Ownable {

    using Strings for uint256;
    using Address for address;
    
    struct iInfo {
        bytes4 item;
        uint8 rarity;
        bytes16 desc;
    }

    uint64 public MintPrice = 0.07 ether;
    uint16 public maxSupply = 10000;
    uint16 public giveaway_reserved = 200;
    uint16 public pre_mint_reserved = 1000;
    uint128 public REVEALED; // uint128
    bool public mint_active = false;
    bool public pre_mint_paused = true;
    address public constant CommunityFund = 0xBfDA4Ee93f99612f282F8bC4C234331406dbD4a0;
    bytes32 public merkleRoot;
    ASCIISmilesToken public ASCToken;
    address proxyRegistryAddress;
   
    iInfo[] private Hat;
    iInfo[] private Eye;
    iInfo[] private Nose;
    iInfo[] private Mouth;
    iInfo[] private Beard;
    iInfo private Empty = iInfo(0,0,0);

    mapping(uint256 => bytes32) private _nickname;

    event MintStopped();
    event MintStarted();
    event PreMintPaused();
    event PreMintStarted();
    event Revealed();
    event MerkleRootUpdated(bytes32 new_merkle_root);

    constructor(address _proxyRegistryAddress) ERC721("ASCII Smiles", "SML") {
        proxyRegistryAddress = _proxyRegistryAddress;
        
        Hat.push(iInfo('('   ,  9, 'Egghead'      ));
        Hat.push(iInfo('d'   , 19, 'Baseball'     ));
        Hat.push(iInfo('~'   , 29, 'Baby'         ));
        Hat.push(iInfo('3'   , 39, 'Rudolph'      ));
        Hat.push(iInfo('8'   , 49, 'Little Girl'  )); 
        Hat.push(iInfo('>'   , 59, 'Devil'        )); 
        Hat.push(iInfo('O'   , 68, 'Angel'        )); 
        Hat.push(iInfo('}'   , 78, 'Horns'        ));
        Hat.push(iInfo('<'   , 83, 'Dunce'        ));
        Hat.push(iInfo('S'   , 84, 'Fringe'        ));
        Hat.push(iInfo('+<'  , 85, 'Pope'         )); 
        Hat.push(iInfo('8<'  , 86, 'Wizard'       )); 
        Hat.push(iInfo('@}'  , 87, 'Flower'       )); 
        Hat.push(iInfo('=)'  , 88, 'Uncle Sam'    )); 
        Hat.push(iInfo('{'   , 89, 'Toupee'       )); 
        Hat.push(iInfo('*('  , 90, 'Pompon'       )); 
        Hat.push(iInfo('*<)' , 91, 'Clown'        ));
        Hat.push(iInfo('C='  , 92, 'Chef'         )); 
        Hat.push(iInfo('~~'  , 93, 'Snake'        )); 
        Hat.push(iInfo('&'   , 94, 'Curly'        )); 
        Hat.push(iInfo('@@'  , 95, 'Marge Simpson')); 
        Hat.push(iInfo(')'   , 96, 'Nordic'       )); 
        Hat.push(iInfo('='   , 97, 'Punk'         )); 
        Hat.push(iInfo('['   , 98, 'Walkman'      )); 
        Hat.push(iInfo('*<|' , 99, 'Santa Claus'  ));

        Eye.push(iInfo(':',  29, 'Regular'   ));
        Eye.push(iInfo(';',  49, 'Winking'   ));
        Eye.push(iInfo(':`', 69, 'Crying'    ));
        Eye.push(iInfo('`:', 79, 'Sweating'  ));
        Eye.push(iInfo('8',  84, 'Glasses'   ));
        Eye.push(iInfo('.',  89, 'One eyed'  ));
        Eye.push(iInfo('B',  91, 'Horn-rims' ));
        Eye.push(iInfo('+',  92, 'Crushed'   ));
        Eye.push(iInfo('0',  93, 'Snorkeling'));
        Eye.push(iInfo('=',  94, 'Happy'     ));
        Eye.push(iInfo('o',  95, 'Cyclops'   ));
        Eye.push(iInfo('X',  96, 'Blinded'   ));
        Eye.push(iInfo('#',  97, 'Dizzy'     ));
        Eye.push(iInfo('%',  98, 'Tired'     ));
        Eye.push(iInfo('|',  99, 'Asleep'    ));

        Nose.push(iInfo('-', 49, 'Straight' ));
        Nose.push(iInfo('^', 79, 'Pointy'   ));
        Nose.push(iInfo('o', 89, 'Clown'    ));
        Nose.push(iInfo('=', 93, 'Orangutan'));
        Nose.push(iInfo('~', 96, 'Wondering'));
        Nose.push(iInfo('*', 99, 'Drunk'    ));

        Mouth.push(iInfo(')',   39, 'Smiley'       ));
        Mouth.push(iInfo('(',   59, 'Sad'          ));
        Mouth.push(iInfo('D',   69, 'Laughing'     ));
        Mouth.push(iInfo('O',   79, 'Yelling'      ));
        Mouth.push(iInfo('C',   82, 'Bummed'       ));
        Mouth.push(iInfo('p',   85, 'Tongue'       ));
        Mouth.push(iInfo('Q',   88, 'Smoker'       ));
        Mouth.push(iInfo('I',   89, 'Indifferent'  ));
        Mouth.push(iInfo('*',   90, 'Kissing'      ));
        Mouth.push(iInfo('>',   91, 'Lewd'         ));
        Mouth.push(iInfo('<',   92, 'Walrus'       ));
        Mouth.push(iInfo(']',   93, 'Blockhead'    ));
        Mouth.push(iInfo('E',   94, 'Vampire'      ));
        Mouth.push(iInfo('@',   95, 'Yelling'      ));
        Mouth.push(iInfo('$',   96, 'Rich'         ));
        Mouth.push(iInfo('/',   97, 'Skeptical'    ));
        Mouth.push(iInfo('{',   98, 'Mustache'     ));
        Mouth.push(iInfo('(|)', 99, 'Homer Simpson'));

        Beard.push(iInfo('}',   9, 'Beard'    ));
        Beard.push(iInfo('X',  19, 'Bow-tie'  ));
        Beard.push(iInfo('{',  29, 'Shoulders'));
        Beard.push(iInfo('>',  39, 'Suit'     ));
        Beard.push(iInfo('~',  49, 'Goatee'   ));
        Beard.push(iInfo('>3', 59, 'Big bust' ));
        Beard.push(iInfo('3<', 69, 'Hands up' ));
        Beard.push(iInfo(']',  79, 'Robot'    ));
        Beard.push(iInfo('=',  89, 'Rave Dude'));
        Beard.push(iInfo('8<', 94, 'The Girl' ));
        Beard.push(iInfo('^<', 99, 'The Boy'  ));
    }

    fallback() external payable { }

    receive() external payable { }

    function getHat(uint256 tokenID) public view returns(iInfo memory){
        uint256 cRarity = random("SEEDRARITY", tokenID);
        if(cRarity < 20) {
            return pluck(tokenID, "SEEDHAT", Hat);
        } else {
            return Empty;
        }
    }

    function getEyes(uint256 tokenID) public view returns(iInfo memory){
        return pluck(tokenID, "SEEDEYES", Eye);
    }

    function getNose(uint256 tokenID) public view returns(iInfo memory){
        return pluck(tokenID, "SEEDNOSE", Nose);
    }

    function getMouth(uint256 tokenID) public view returns(iInfo memory){
        return pluck(tokenID, "SEEDMOUTH", Mouth);
    }

    function getBeard(uint256 tokenID) public view returns(iInfo memory){
        uint256 cRarity = random("SEEDRARITY", tokenID);
        if(cRarity < 4) {
            return pluck(tokenID, "SEEDBEARD", Beard);
        } else {
            return Empty;
        }
    }

    function getRarity(uint256 tokenID) public view returns(string[3] memory){
        uint256 cRarity = random("SEEDRARITY", tokenID);
        if(cRarity == 0)
            return ['#ffd500','#fff2b3','Legendary'];
        if(cRarity < 4)
            return ['#9c27b0','#eac0f2','Epic'];
        if(cRarity < 10)
            return ['#3f51b5','#c6cceb','Rare'];
        if(cRarity < 20)
            return ['#4caf50','#cae8ca','Uncommon'];
        return ['#9e9e9e','#d9d9d9','Common'];
    }

    function random(bytes16 seed, uint256 tokenID) private view returns (uint256) {
        require( REVEALED != 0, "Not revealed yet" );
        uint256 rand = uint256(keccak256(abi.encodePacked(seed, REVEALED, tokenID)));
        return rand % 100;
    }

    function pluck(uint256 tokenID, bytes16 seed, iInfo[] storage source) private view returns (iInfo storage) {
        uint256 rarity = random(seed, tokenID);
        for(uint i; i < source.length; i++) {
            if(rarity <= source[i].rarity) {
                return source[i];
            }
        }
        return Empty;
    }

    function getASCIISmile(uint256 tokenID) public view returns(string memory) {
        string[5] memory smilePart;
        uint256 cRarity = random("SEEDRARITY", tokenID);
        if(cRarity < 21)
            smilePart[0] = bytesToStr(getHat(tokenID).item);
        smilePart[1] = bytesToStr(getEyes(tokenID).item);
        smilePart[2] = bytesToStr(getNose(tokenID).item);
        smilePart[3] = bytesToStr(getMouth(tokenID).item);
        if(cRarity < 3)
            smilePart[4] = bytesToStr(getBeard(tokenID).item);
        string memory out = string(abi.encodePacked(smilePart[0],smilePart[1],smilePart[2],smilePart[3],smilePart[4]));
        return out;
    }
    
    function tokenURI(uint256 tokenID) override public view returns (string memory) {
        require(_exists(tokenID), "Nonexistent token");

        if( REVEALED == 0 ) {
            return string(abi.encodePacked(
                'data:application/json;base64,',
                Base64.encode(abi.encodePacked(
                    '{"name":"', 
                getNickname(tokenID), 
                '","description":"Unrevealed","image":"ipfs://Qmb7zK8nutb1Vh9gpitHpbhyZXxfCV8Af4rp5kaW67WLcS"}'
                ))));
        }
        string[3] memory cRarity = getRarity(tokenID);
        string[3] memory cHat = convert2array(getHat(tokenID));
        string[3] memory cEyes = convert2array(getEyes(tokenID));
        string[3] memory cNose = convert2array(getNose(tokenID));
        string[3] memory cMouth = convert2array(getMouth(tokenID));
        string[3] memory cBeard = convert2array(getBeard(tokenID));
        string[19] memory parts;

        parts[0] = '<svg xmlns="http://www.w3.org/2000/svg" width="550" height="930"><defs><radialGradient id="G"><stop offset="10%" stop-color="#eee" /><stop offset="70%" stop-color="';
        parts[1] = cRarity[1];
        parts[2] = '" /></radialGradient></defs><g fill="';
        parts[3] = cRarity[0];
        parts[4] = '" font-family="sans-serif" font-size="70"><rect stroke="';
        parts[5] = cRarity[0];
        parts[6] = '" width="510" height="890" x="20" y="20" fill="url(#G)" stroke-width="30" rx="50"/><text x="60" y="120">:-)</text><text x="430" y="120">:-)</text><text x="60" y="850">:-)</text><text x="430" y="850">:-)</text><text x="275" y="500" font-size="160" text-anchor="middle" writing-mode="tb">';
        parts[7] = cHat[0];
        parts[8] = '<tspan fill="#555">';
        parts[9] = cEyes[0];
        parts[10] = cNose[0];
        parts[11] = cMouth[0];
        parts[12] = '</tspan>';
        parts[13] = cBeard[0];
        parts[14] = '</text></g></svg>';
        
        string memory output = string(abi.encodePacked(parts[0], parts[1], parts[2],  parts[3],  parts[4],  parts[5],  parts[6],  parts[7],  parts[8]));
        output =               string(abi.encodePacked(output,   parts[9], parts[10], parts[11], parts[12], parts[13], parts[14]));

        string memory ASCIISmile = string(abi.encodePacked(cHat[2], cEyes[2], cNose[2], cMouth[2], cBeard[2]));

        parts[0] = '{"name": "';
        parts[1] = getNickname(tokenID);
        parts[2] = '", "description": "ASCII Smiles is a collection of emoticons saved in the Ethereum blockchain.", "image": "data:image/svg+xml;base64,';
        parts[3] = Base64.encode(bytes(output));
        parts[4] = '", "attributes": [{"trait_type": "Rarity","value":"';
        parts[5] = cRarity[2];
        parts[6] = '"},{"trait_type": "Hat","value":"';
        parts[7] = cHat[1];
        parts[8] = '"},{"trait_type": "Eyes","value":"';
        parts[9] = cEyes[1];
        parts[10] = '"},{"trait_type": "Nose","value":"';
        parts[11] = cNose[1];
        parts[12] = '"},{"trait_type": "Mouth","value":"';
        parts[13] = cMouth[1];
        parts[14] = '"},{"trait_type": "Beard","value":"';
        parts[15] = cBeard[1];
        parts[16] = '"},{"trait_type": "ASCII","value":"';
        parts[17] = ASCIISmile;
        parts[18] = '"}]}';

        output = string(abi.encodePacked(parts[0], parts[1], parts[2],  parts[3],  parts[4],  parts[5],  parts[6],  parts[7],  parts[8]));
        output = string(abi.encodePacked(output,   parts[9], parts[10], parts[11], parts[12], parts[13], parts[14], parts[15], parts[16]));
        output = string(abi.encodePacked(output,   parts[17], parts[18]));
        
        string memory jsonOut = Base64.encode(bytes(output));
        output = string(abi.encodePacked('data:application/json;base64,', jsonOut));
        return output;
    }
    
    function giveAway(address[] calldata _to) external onlyOwner {
        uint16 length = uint16(_to.length);
        require(giveaway_reserved >= length, "Exceeds giveaway supply" );
        giveaway_reserved -= length;
        for(uint256 i; i < length; i++){
            _mint(_to[i], totalSupply());
        }
    }

    function preMint(bytes32[] calldata merkleProof, uint16 num) public payable {
        require( !pre_mint_paused, "Pre mint is paused");
        require( !_msgSender().isContract(), "No contract allowed" );
        require( num > 0 && num <= 10, "Maximum 10 Smiles" );
        require( msg.value >= MintPrice * 5 / 7 * num, "Not enought Ether" );
        require( num <= pre_mint_reserved, "Exceeds pre mint supply" );
        require( balanceOf(_msgSender()) + num <= 10, "Maximum 10 Smiles per wallet" );
        require( MerkleProof.verify(merkleProof, merkleRoot,  keccak256(abi.encodePacked(_msgSender())) ), "Invalid proof");

        pre_mint_reserved = pre_mint_reserved - num;
        for(uint256 i; i < num; i++) {
            _mint(_msgSender(), totalSupply());
        }
    }

    function mintASCIISmiles(uint256 num) public payable {
        require( mint_active, "Mint is stopped");
        require( !_msgSender().isContract(), "No contract allowed");
        require( num > 0 && num <= 5, "Maximum 5 Smiles" );
        require( balanceOf(_msgSender()) + num <= 10, "Maximum 10 Smiles per wallet" );
        require( totalSupply() + num <= maxSupply - giveaway_reserved, "Exceeds maximum supply" );
        require( msg.value >= MintPrice * num, "Not enought Ether" );

        for(uint256 i; i < num; i++) {
            _mint(_msgSender(), totalSupply());
        }
    }

    function Reveal() public onlyOwner {
        require( REVEALED == 0, "Only once");
        REVEALED = uint128(uint256(blockhash(block.number - 1)));
        emit Revealed();
    }

    function setPrice(uint64 newPrice) public onlyOwner {
        MintPrice = newPrice;
    }

    function setNickname(uint256 tokenID, string memory nick) public {
        require( ownerOf(tokenID) == _msgSender(), 'Only token owner');
        bytes memory nickB = bytes(nick);
        require( nickB.length <=32, 'Maximum 32 bytes');
        _nickname[tokenID] = bytes32(nickB);
        ASCToken.payNick(_msgSender(), 50 * 10 ** 18);
    }

    function resetNickname(uint256 tokenID) public onlyOwner {
        _nickname[tokenID] = bytes32(0x00);
    }

    function getNickname(uint256 tokenID) public view returns (string memory result) {
        result = string(abi.encodePacked('ASCII Smile #', (tokenID+1).toString()));
        if(_nickname[tokenID] != 0x00)
            result = bytesToStr(_nickname[tokenID]);
    }

    function stopMint() public onlyOwner {
        mint_active = false;
        emit MintStopped();
    }

    function startMint() public onlyOwner {
        mint_active = true;
        emit MintStarted();
    }

    function pausePreMint() public onlyOwner {
        pre_mint_paused = true;
        emit PreMintPaused();
    }

    function unpausePreMint() public onlyOwner {
        pre_mint_paused = false;
        emit PreMintStarted();
    }

    function updateMerkleRoot(bytes32 newmerkleRoot) public onlyOwner {
        merkleRoot = newmerkleRoot;
        emit MerkleRootUpdated(merkleRoot);
    }

    function setASCToken(address _token) public onlyOwner {
        ASCToken = ASCIISmilesToken(_token);
    }

    function withdraw() public onlyOwner {
        uint256 _balance = address(this).balance ;
        require(_balance > 0, "Call without balance");
        payable(_msgSender()).transfer(_balance / 2);
        payable(CommunityFund).transfer(address(this).balance);
    }

    function reclaimERC20(IERC20 erc20Token) public onlyOwner {
        erc20Token.transfer(msg.sender, erc20Token.balanceOf(address(this)));
    }

    function decreaseMaxSupply(uint16 newMaxSupply) external onlyOwner {
        require(newMaxSupply < maxSupply, "only decrease");
        require(newMaxSupply >= totalSupply(), "bellow supply");
        maxSupply = newMaxSupply;
    }

    function walletOfOwner(address _owner) public view returns(uint256[] memory) {
        uint256 tokenCount = balanceOf(_owner);

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

    function isApprovedForAll(address owner, address operator) override public view returns (bool) {
        // Whitelist OpenSea proxy contract for easy trading.
        ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress);
        if (address(proxyRegistry.proxies(owner)) == operator) {
            return true;
        }
        return super.isApprovedForAll(owner, operator);
    }


    function is_pre_mint_allowed(bytes32[] calldata merkleProof, address account) public view  returns (bool) {
        if( balanceOf(account) >= 10 )
            return false;
        if( account.isContract() )
            return false;
        if( MerkleProof.verify(merkleProof, merkleRoot,  keccak256(abi.encodePacked(account))) )
            return true;
        return false;
    }
    
    function royaltyInfo(uint256, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount) {
        receiver = owner();
        royaltyAmount = (salePrice * 3) / 100;
    }

    function supportsInterface(bytes4 interfaceId) public view override(ERC721EnumerableSimple) returns (bool) {
        return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId);
    }

    function bytesToStr(bytes32 input) private pure returns (string memory) {
        uint256 i;
        bytes memory output;
        if(input[0] == 0)
            return '';
        while(input[i] != 0) {
            output = abi.encodePacked(output, input[i]);
            i++;
            if(i > 31) break;
        }
        return string(output);
    }

    function convert2array(iInfo memory iinfo) private pure returns (string[3] memory) {
        return [SVGEncode(iinfo.item), bytesToStr(iinfo.desc), bytesToStr(iinfo.item)];
    }

    function SVGEncode(bytes4 input) private pure returns(string memory) {
        uint256 i;
        bytes memory output;
        if(input[0] == 0)
            return '';
        while(input[i] != 0) {
            if(input[i] == '<') {
                output = abi.encodePacked(output, "&lt;");
            } else if(input[i] == '>') {
                output = abi.encodePacked(output, "&gt;");
            } else if(input[i] == '&') {
                output = abi.encodePacked(output, "&amp;");
            } else {
                output = abi.encodePacked(output, input[i]);
            }
            i++;
            if(i > 3) break;
        }
        return string(output);
    }
}

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

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

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

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

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

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

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

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

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

            // run over the input, 3 bytes at a time
            for {} lt(dataPtr, endPtr) {}
            {
                // read 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

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

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

        return result;
    }
}

interface ASCIISmilesToken is IERC20 {
    function payNick(address from, uint256 amount) external;
}

// @openzeppelin/contracts/cryptography/MerkleProof.sol

library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) internal pure returns (bool) {
        bytes32 computedHash = leaf;

        for (uint256 i; i < proof.length; i++) {
            bytes32 proofElement = proof[i];

            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }

        // Check if the computed hash (root) is equal to the provided root
        return computedHash == root;
    }
}

interface IERC2981 is IERC165 {
    /**
     * @dev Called with the sale price to determine how much royalty is owed and to whom.
     * @param tokenId - the NFT asset queried for royalty information
     * @param salePrice - the sale price of the NFT asset specified by `tokenId`
     * @return receiver - address of who should be sent the royalty payment
     * @return royaltyAmount - the royalty payment amount for `salePrice`
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 2 of 14 : enumerable_simple.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/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 ERC721EnumerableSimple 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;

    uint private _totalSupply;

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721EnumerableSimple.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return 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)) {
            assert(tokenId == _totalSupply); // Ensure token is minted sequentially
            _totalSupply += 1;
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            // do nothing
        } 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 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];
    }
}

File 3 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 4 of 14 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 5 of 14 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 6 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 10 of 14 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 11 of 14 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"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":false,"internalType":"bytes32","name":"new_merkle_root","type":"bytes32"}],"name":"MerkleRootUpdated","type":"event"},{"anonymous":false,"inputs":[],"name":"MintStarted","type":"event"},{"anonymous":false,"inputs":[],"name":"MintStopped","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":[],"name":"PreMintPaused","type":"event"},{"anonymous":false,"inputs":[],"name":"PreMintStarted","type":"event"},{"anonymous":false,"inputs":[],"name":"Revealed","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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"ASCToken","outputs":[{"internalType":"contract ASCIISmilesToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CommunityFund","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MintPrice","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REVEALED","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Reveal","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":[{"internalType":"uint16","name":"newMaxSupply","type":"uint16"}],"name":"decreaseMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"}],"name":"getASCIISmile","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"}],"name":"getBeard","outputs":[{"components":[{"internalType":"bytes4","name":"item","type":"bytes4"},{"internalType":"uint8","name":"rarity","type":"uint8"},{"internalType":"bytes16","name":"desc","type":"bytes16"}],"internalType":"struct Smiles.iInfo","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"}],"name":"getEyes","outputs":[{"components":[{"internalType":"bytes4","name":"item","type":"bytes4"},{"internalType":"uint8","name":"rarity","type":"uint8"},{"internalType":"bytes16","name":"desc","type":"bytes16"}],"internalType":"struct Smiles.iInfo","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"}],"name":"getHat","outputs":[{"components":[{"internalType":"bytes4","name":"item","type":"bytes4"},{"internalType":"uint8","name":"rarity","type":"uint8"},{"internalType":"bytes16","name":"desc","type":"bytes16"}],"internalType":"struct Smiles.iInfo","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"}],"name":"getMouth","outputs":[{"components":[{"internalType":"bytes4","name":"item","type":"bytes4"},{"internalType":"uint8","name":"rarity","type":"uint8"},{"internalType":"bytes16","name":"desc","type":"bytes16"}],"internalType":"struct Smiles.iInfo","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"}],"name":"getNickname","outputs":[{"internalType":"string","name":"result","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"}],"name":"getNose","outputs":[{"components":[{"internalType":"bytes4","name":"item","type":"bytes4"},{"internalType":"uint8","name":"rarity","type":"uint8"},{"internalType":"bytes16","name":"desc","type":"bytes16"}],"internalType":"struct Smiles.iInfo","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"}],"name":"getRarity","outputs":[{"internalType":"string[3]","name":"","type":"string[3]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_to","type":"address[]"}],"name":"giveAway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"giveaway_reserved","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"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":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"address","name":"account","type":"address"}],"name":"is_pre_mint_allowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"}],"name":"mintASCIISmiles","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mint_active","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pausePreMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint16","name":"num","type":"uint16"}],"name":"preMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"pre_mint_paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pre_mint_reserved","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"erc20Token","type":"address"}],"name":"reclaimERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"}],"name":"resetNickname","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"setASCToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"},{"internalType":"string","name":"nick","type":"string"}],"name":"setNickname","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"newPrice","type":"uint64"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpausePreMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newmerkleRoot","type":"bytes32"}],"name":"updateMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

600980546001600160a01b031668c8271000f8b0a10e4760b01b179055600a805461ffff61ffff60901b0119167301000000000000000000000000000000000003e817905560e06040526000608081905260a081905260c052601380546001600160a81b03191690553480156200007557600080fd5b5060405162009fbb38038062009fbb8339810160408190526200009891620040fa565b604080518082018252600c81526b415343494920536d696c657360a01b60208083019182528351808501909452600384526214d35360ea1b908401528151919291620000e79160009162004054565b508051620000fd90600190602084019062004054565b5050506200011a6200011462003ffe60201b60201c565b62004002565b80600d60006101000a8154816001600160a01b0302191690836001600160a01b03160217905550600e6040518060600160405280600560fb1b6001600160e01b0319168152602001600960ff168152602001661159d9da19585960ca1b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600e6040518060600160405280601960fa1b6001600160e01b0319168152602001601360ff1681526020016710985cd958985b1b60c21b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600e6040518060600160405280603f60f91b6001600160e01b0319168152602001601d60ff168152602001634261627960e01b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600e6040518060600160405280603360f81b6001600160e01b0319168152602001602760ff168152602001660a4eac8ded8e0d60cb1b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600e6040518060600160405280600760fb1b6001600160e01b0319168152602001603160ff1681526020016a131a5d1d1b194811da5c9b60aa1b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600e6040518060600160405280601f60f91b6001600160e01b0319168152602001603b60ff1681526020016411195d9a5b60da1b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600e6040518060600160405280604f60f81b6001600160e01b0319168152602001604460ff16815260200164105b99d95b60da1b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600e6040518060600160405280607d60f81b6001600160e01b0319168152602001604e60ff16815260200164486f726e7360d81b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600e6040518060600160405280600f60fa1b6001600160e01b0319168152602001605360ff1681526020016444756e636560d81b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600e6040518060600160405280605360f81b6001600160e01b0319168152602001605460ff168152602001654672696e676560d01b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600e6040518060600160405280610acf60f21b6001600160e01b0319168152602001605560ff16815260200163506f706560e01b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600e6040518060600160405280610e0f60f21b6001600160e01b0319168152602001605660ff1681526020016515da5e985c9960d21b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600e604051806060016040528061407d60f01b6001600160e01b0319168152602001605760ff16815260200165233637bbb2b960d11b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600e6040518060600160405280613d2960f01b6001600160e01b0319168152602001605860ff16815260200168556e636c652053616d60b81b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600e6040518060600160405280607b60f81b6001600160e01b0319168152602001605960ff16815260200165546f7570656560d01b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600e604051806060016040528061054560f31b6001600160e01b0319168152602001605a60ff168152602001652837b6b837b760d11b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600e6040518060600160405280622a3c2960e81b6001600160e01b0319168152602001605b60ff1681526020016421b637bbb760d91b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600e604051806060016040528061433d60f01b6001600160e01b0319168152602001605c60ff1681526020016321b432b360e11b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600e6040518060600160405280613f3f60f11b6001600160e01b0319168152602001605d60ff16815260200164536e616b6560d81b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600e6040518060600160405280601360f91b6001600160e01b0319168152602001605e60ff168152602001644375726c7960d81b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600e604051806060016040528061010160f61b6001600160e01b0319168152602001605f60ff1681526020016c26b0b933b29029b4b6b839b7b760991b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600e6040518060600160405280602960f81b6001600160e01b0319168152602001606060ff168152602001654e6f7264696360d01b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600e6040518060600160405280603d60f81b6001600160e01b0319168152602001606160ff1681526020016350756e6b60e01b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600e6040518060600160405280605b60f81b6001600160e01b0319168152602001606260ff168152602001662bb0b635b6b0b760c91b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600e6040518060600160405280620a8f1f60ea1b6001600160e01b0319168152602001606360ff1681526020016a53616e746120436c61757360a81b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600f6040518060600160405280601d60f91b6001600160e01b0319168152602001601d60ff168152602001662932b3bab630b960c91b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600f6040518060600160405280603b60f81b6001600160e01b0319168152602001603160ff1681526020016657696e6b696e6760c81b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600f60405180606001604052806101d360f51b6001600160e01b0319168152602001604560ff16815260200165437279696e6760d01b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600f604051806060016040528061301d60f11b6001600160e01b0319168152602001604f60ff168152602001675377656174696e6760c01b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600f6040518060600160405280600760fb1b6001600160e01b0319168152602001605460ff16815260200166476c617373657360c81b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600f6040518060600160405280601760f91b6001600160e01b0319168152602001605960ff1681526020016713db9948195e595960c21b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600f6040518060600160405280602160f91b6001600160e01b0319168152602001605b60ff16815260200168486f726e2d72696d7360b81b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600f6040518060600160405280602b60f81b6001600160e01b0319168152602001605c60ff1681526020016610dc9d5cda195960ca1b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600f6040518060600160405280600360fc1b6001600160e01b0319168152602001605d60ff16815260200169536e6f726b656c696e6760b01b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600f6040518060600160405280603d60f81b6001600160e01b0319168152602001605e60ff16815260200164486170707960d81b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600f6040518060600160405280606f60f81b6001600160e01b0319168152602001605f60ff168152602001664379636c6f707360c81b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600f6040518060600160405280600b60fb1b6001600160e01b0319168152602001606060ff16815260200166109b1a5b99195960ca1b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600f6040518060600160405280602360f81b6001600160e01b0319168152602001606160ff1681526020016444697a7a7960d81b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600f6040518060600160405280602560f81b6001600160e01b0319168152602001606260ff16815260200164151a5c995960da1b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c02179055505050600f6040518060600160405280601f60fa1b6001600160e01b0319168152602001606360ff16815260200165041736c6565760d41b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c0217905550505060106040518060600160405280602d60f81b6001600160e01b0319168152602001603160ff1681526020016714dd1c985a59da1d60c21b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c0217905550505060106040518060600160405280602f60f91b6001600160e01b0319168152602001604f60ff16815260200165506f696e747960d01b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c0217905550505060106040518060600160405280606f60f81b6001600160e01b0319168152602001605960ff1681526020016421b637bbb760d91b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c0217905550505060106040518060600160405280603d60f81b6001600160e01b0319168152602001605d60ff1681526020016827b930b733baba30b760b91b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c0217905550505060106040518060600160405280603f60f91b6001600160e01b0319168152602001606060ff16815260200168576f6e646572696e6760b81b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c0217905550505060106040518060600160405280601560f91b6001600160e01b0319168152602001606360ff168152602001644472756e6b60d81b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c0217905550505060116040518060600160405280602960f81b6001600160e01b0319168152602001602760ff16815260200165536d696c657960d01b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c0217905550505060116040518060600160405280600560fb1b6001600160e01b0319168152602001603b60ff1681526020016214d85960ea1b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c0217905550505060116040518060600160405280601160fa1b6001600160e01b0319168152602001604560ff168152602001674c61756768696e6760c01b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c0217905550505060116040518060600160405280604f60f81b6001600160e01b0319168152602001604f60ff1681526020016659656c6c696e6760c81b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c0217905550505060116040518060600160405280604360f81b6001600160e01b0319168152602001605260ff16815260200165109d5b5b595960d21b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c0217905550505060116040518060600160405280600760fc1b6001600160e01b0319168152602001605560ff16815260200165546f6e67756560d01b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c0217905550505060116040518060600160405280605160f81b6001600160e01b0319168152602001605860ff1681526020016529b6b7b5b2b960d11b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c0217905550505060116040518060600160405280604960f81b6001600160e01b0319168152602001605960ff1681526020016a125b991a5999995c995b9d60aa1b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c0217905550505060116040518060600160405280601560f91b6001600160e01b0319168152602001605a60ff168152602001664b697373696e6760c81b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c0217905550505060116040518060600160405280601f60f91b6001600160e01b0319168152602001605b60ff1681526020016313195dd960e21b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c0217905550505060116040518060600160405280600f60fa1b6001600160e01b0319168152602001605c60ff1681526020016557616c72757360d01b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c0217905550505060116040518060600160405280605d60f81b6001600160e01b0319168152602001605d60ff16815260200168109b1bd8dada19585960ba1b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c0217905550505060116040518060600160405280604560f81b6001600160e01b0319168152602001605e60ff1681526020016656616d7069726560c81b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c0217905550505060116040518060600160405280600160fe1b6001600160e01b0319168152602001605f60ff1681526020016659656c6c696e6760c81b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c0217905550505060116040518060600160405280600960fa1b6001600160e01b0319168152602001606060ff168152602001630a4d2c6d60e31b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c0217905550505060116040518060600160405280602f60f81b6001600160e01b0319168152602001606160ff1681526020016814dad95c1d1a58d85b60ba1b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c0217905550505060116040518060600160405280607b60f81b6001600160e01b0319168152602001606260ff168152602001674d7573746163686560c01b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c021790555050506011604051806060016040528062287c2960e81b6001600160e01b0319168152602001606360ff1681526020016c2437b6b2b91029b4b6b839b7b760991b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c0217905550505060126040518060600160405280607d60f81b6001600160e01b0319168152602001600960ff168152602001641099585c9960da1b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c0217905550505060126040518060600160405280600b60fb1b6001600160e01b0319168152602001601360ff16815260200166426f772d74696560c81b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c0217905550505060126040518060600160405280607b60f81b6001600160e01b0319168152602001601d60ff1681526020016853686f756c6465727360b81b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c0217905550505060126040518060600160405280601f60f91b6001600160e01b0319168152602001602760ff1681526020016314dd5a5d60e21b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c0217905550505060126040518060600160405280603f60f91b6001600160e01b0319168152602001603160ff16815260200165476f6174656560d01b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c0217905550505060126040518060600160405280613e3360f01b6001600160e01b0319168152602001603b60ff16815260200167109a59c8189d5cdd60c21b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c0217905550505060126040518060600160405280610ccf60f21b6001600160e01b0319168152602001604560ff16815260200167048616e64732075760c41b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c0217905550505060126040518060600160405280605d60f81b6001600160e01b0319168152602001604f60ff16815260200164149bd89bdd60da1b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c0217905550505060126040518060600160405280603d60f81b6001600160e01b0319168152602001605960ff1681526020016852617665204475646560b81b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c0217905550505060126040518060600160405280610e0f60f21b6001600160e01b0319168152602001605e60ff16815260200167151a194811da5c9b60c21b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c021790555050506012604051806060016040528061178f60f21b6001600160e01b0319168152602001606360ff1681526020016654686520426f7960c81b6001600160801b0319168152509080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548163ffffffff021916908360e01c021790555060208201518160000160046101000a81548160ff021916908360ff16021790555060408201518160000160056101000a8154816001600160801b03021916908360801c021790555050505062004169565b3390565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805462004062906200412c565b90600052602060002090601f016020900481019282620040865760008555620040d1565b82601f10620040a157805160ff1916838001178555620040d1565b82800160010185558215620040d1579182015b82811115620040d1578251825591602001919060010190620040b4565b50620040df929150620040e3565b5090565b5b80821115620040df5760008155600101620040e4565b6000602082840312156200410d57600080fd5b81516001600160a01b03811681146200412557600080fd5b9392505050565b600181811c908216806200414157607f821691505b602082108114156200416357634e487b7160e01b600052602260045260246000fd5b50919050565b615e4280620041796000396000f3fe60806040526004361061033f5760003560e01c806370a08231116101ae578063b88d4fde116100eb578063d66767501161008f578063f27b90821161006c578063f27b908214610ab1578063f2fde38b14610ad9578063fdbf9ef214610af9578063feb6b3d114610b4b57005b8063d667675014610a5e578063d92af1b714610a71578063e985e9c514610a9157005b8063c87b56dd116100c8578063c87b56dd146109ce578063d2571f88146109ee578063d558296514610a0e578063d5abeb0114610a2357005b8063b88d4fde1461096e578063c0d4c3071461098e578063c4d30bfa146109ae57005b806395d89b4111610152578063a22cb4651161012f578063a22cb465146108c9578063a40a65ab146108e9578063a76a9587146108fe578063b20bdf421461094e57005b806395d89b4114610879578063a16aff731461088e578063a1acf7eb146108ae57005b80638905fd4f1161018b5780638905fd4f146108135780638da5cb5b146108335780638ee0927b14610851578063935590851461086657005b806370a08231146107be578063715018a6146107de5780637ba4d359146107f357005b80633382c4d41161027c57806348758697116102205780635452568c116101fd5780635452568c146107285780636352211e1461075857806366b9f0d2146107785780636b2988721461078d57005b806348758697146106bb5780634ef5f464146106e85780634f6ccce71461070857005b80633ccfd60b116102595780633ccfd60b1461063957806342842e0e1461064e578063438b63001461066e5780634783f0ef1461069b57005b80633382c4d41461057057806334c2b620146105905780633a7b73b7146105b057005b8063229c2048116102e35780632a55205a116102c05780632a55205a146104e65780632be09561146105255780632eb4a7ab1461053a5780632f745c591461055057005b8063229c20481461048657806323b872dd146104a657806325f3fe9a146104c657005b8063081812fc1161031c578063081812fc146103ef578063095ea7b31461042757806313da22561461044757806318160ddd1461046757005b806301ffc9a7146103485780630339d8fd1461037d57806306fdde03146103cd57005b3661034657005b005b34801561035457600080fd5b50610368610363366004614d23565b610b6b565b60405190151581526020015b60405180910390f35b34801561038957600080fd5b506009546103ba907e01000000000000000000000000000000000000000000000000000000000000900461ffff1681565b60405161ffff9091168152602001610374565b3480156103d957600080fd5b506103e2610bc7565b6040516103749190614d98565b3480156103fb57600080fd5b5061040f61040a366004614dab565b610c59565b6040516001600160a01b039091168152602001610374565b34801561043357600080fd5b50610346610442366004614dd9565b610d04565b34801561045357600080fd5b50600c5461040f906001600160a01b031681565b34801561047357600080fd5b506008545b604051908152602001610374565b34801561049257600080fd5b506103466104a1366004614e05565b610e36565b3480156104b257600080fd5b506103466104c1366004614e2f565b610ee3565b3480156104d257600080fd5b506103466104e1366004614e82565b610f6a565b3480156104f257600080fd5b50610506610501366004614e9d565b6110e8565b604080516001600160a01b039093168352602083019190915201610374565b34801561053157600080fd5b5061034661111f565b34801561054657600080fd5b50610478600b5481565b34801561055c57600080fd5b5061047861056b366004614dd9565b6111e1565b34801561057c57600080fd5b5061034661058b366004614dab565b611289565b34801561059c57600080fd5b506103e26105ab366004614dab565b6112f4565b3480156105bc57600080fd5b506105d06105cb366004614dab565b61135a565b6040805182517fffffffff0000000000000000000000000000000000000000000000000000000016815260208084015160ff1690820152918101517fffffffffffffffffffffffffffffffff000000000000000000000000000000001690820152606001610374565b34801561064557600080fd5b506103466114de565b34801561065a57600080fd5b50610346610669366004614e2f565b611602565b34801561067a57600080fd5b5061068e610689366004614ebf565b61161d565b6040516103749190614edc565b3480156106a757600080fd5b506103466106b6366004614dab565b6116bf565b3480156106c757600080fd5b506106db6106d6366004614dab565b611754565b6040516103749190614f20565b3480156106f457600080fd5b50610346610703366004614ebf565b611b74565b34801561071457600080fd5b50610478610723366004614dab565b611c08565b34801561073457600080fd5b50600a54610368907201000000000000000000000000000000000000900460ff1681565b34801561076457600080fd5b5061040f610773366004614dab565b611c8b565b34801561078457600080fd5b50610346611d16565b34801561079957600080fd5b50600a5461036890730100000000000000000000000000000000000000900460ff1681565b3480156107ca57600080fd5b506104786107d9366004614ebf565b611e56565b3480156107ea57600080fd5b50610346611ef0565b3480156107ff57600080fd5b506103e261080e366004614dab565b611f56565b34801561081f57600080fd5b5061034661082e366004614ebf565b612060565b34801561083f57600080fd5b506009546001600160a01b031661040f565b34801561085d57600080fd5b506103466121ea565b610346610874366004614fb9565b612297565b34801561088557600080fd5b506103e261267d565b34801561089a57600080fd5b506103686108a936600461500d565b61268c565b3480156108ba57600080fd5b50600a546103ba9061ffff1681565b3480156108d557600080fd5b506103466108e4366004615072565b612749565b3480156108f557600080fd5b5061034661282c565b34801561090a57600080fd5b50600a5461092d906201000090046fffffffffffffffffffffffffffffffff1681565b6040516fffffffffffffffffffffffffffffffff9091168152602001610374565b34801561095a57600080fd5b506105d0610969366004614dab565b6128ef565b34801561097a57600080fd5b50610346610989366004615150565b6129b5565b34801561099a57600080fd5b506103466109a93660046151d0565b612a3d565b3480156109ba57600080fd5b506105d06109c9366004614dab565b612b98565b3480156109da57600080fd5b506103e26109e9366004614dab565b612be1565b3480156109fa57600080fd5b506105d0610a09366004614dab565b61324e565b348015610a1a57600080fd5b506103466132cc565b348015610a2f57600080fd5b506009546103ba907c0100000000000000000000000000000000000000000000000000000000900461ffff1681565b610346610a6c366004614dab565b613379565b348015610a7d57600080fd5b50610346610a8c366004615212565b613658565b348015610a9d57600080fd5b50610368610aac36600461526d565b6137bb565b348015610abd57600080fd5b5061040f73bfda4ee93f99612f282f8bc4c234331406dbd4a081565b348015610ae557600080fd5b50610346610af4366004614ebf565b6138a4565b348015610b0557600080fd5b50600954610b329074010000000000000000000000000000000000000000900467ffffffffffffffff1681565b60405167ffffffffffffffff9091168152602001610374565b348015610b5757600080fd5b506105d0610b66366004614dab565b613986565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a000000000000000000000000000000000000000000000000000000001480610bc15750610bc1826139cf565b92915050565b606060008054610bd69061529b565b80601f0160208091040260200160405190810160405280929190818152602001828054610c029061529b565b8015610c4f5780601f10610c2457610100808354040283529160200191610c4f565b820191906000526020600020905b815481529060010190602001808311610c3257829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610ce85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610d0f82611c8b565b9050806001600160a01b0316836001600160a01b03161415610d995760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610cdf565b336001600160a01b0382161480610db55750610db581336137bb565b610e275760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610cdf565b610e318383613a25565b505050565b6009546001600160a01b03163314610e905760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cdf565b6009805467ffffffffffffffff90921674010000000000000000000000000000000000000000027fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff909216919091179055565b610eed3382613aab565b610f5f5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610cdf565b610e31838383613b8b565b6009546001600160a01b03163314610fc45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cdf565b60095461ffff7c010000000000000000000000000000000000000000000000000000000090910481169082161061103d5760405162461bcd60e51b815260206004820152600d60248201527f6f6e6c79206465637265617365000000000000000000000000000000000000006044820152606401610cdf565b6008548161ffff1610156110935760405162461bcd60e51b815260206004820152600d60248201527f62656c6c6f7720737570706c79000000000000000000000000000000000000006044820152606401610cdf565b6009805461ffff9092167c0100000000000000000000000000000000000000000000000000000000027fffff0000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff909216919091179055565b6000806110fd6009546001600160a01b031690565b9150606461110c846003615318565b6111169190615384565b90509250929050565b6009546001600160a01b031633146111795760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cdf565b600a80547fffffffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffff1672010000000000000000000000000000000000001790556040517f452a344f03203071e1daf66e007976c85cb2380deabf1c91f3c4fb1fca41204990600090a1565b60006111ec83611e56565b82106112605760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610cdf565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6009546001600160a01b031633146112e35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cdf565b600090815260146020526040812055565b6060611309611304836001615398565b613d7b565b60405160200161131991906153b0565b60408051601f198184030181529181526000848152601460205220549091501561135557600082815260146020526040902054610bc190613ead565b919050565b60408051606081018252600080825260208201819052918101829052906113a17f534545445241524954590000000000000000000000000000000000000000000084613f8c565b90506004811015611456576113d8837f53454544424541524400000000000000000000000000000000000000000000006012614061565b60408051606081018252915460e081901b7fffffffff00000000000000000000000000000000000000000000000000000000168352640100000000810460ff16602084015265010000000000900460801b7fffffffffffffffffffffffffffffffff0000000000000000000000000000000016908201529392505050565b50506040805160608101825260135460e081901b7fffffffff00000000000000000000000000000000000000000000000000000000168252640100000000810460ff16602083015265010000000000900460801b7fffffffffffffffffffffffffffffffff000000000000000000000000000000001691810191909152919050565b50919050565b6009546001600160a01b031633146115385760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cdf565b47806115865760405162461bcd60e51b815260206004820152601460248201527f43616c6c20776974686f75742062616c616e63650000000000000000000000006044820152606401610cdf565b336108fc611595600284615384565b6040518115909202916000818181858888f193505050501580156115bd573d6000803e3d6000fd5b5060405173bfda4ee93f99612f282f8bc4c234331406dbd4a0904780156108fc02916000818181858888f193505050501580156115fe573d6000803e3d6000fd5b5050565b610e31838383604051806020016040528060008152506129b5565b6060600061162a83611e56565b905060008167ffffffffffffffff811115611647576116476150ab565b604051908082528060200260200182016040528015611670578160200160208202803683370190505b50905060005b828110156116b75761168885826111e1565b82828151811061169a5761169a6153f5565b6020908102919091010152806116af81615424565b915050611676565b509392505050565b6009546001600160a01b031633146117195760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cdf565b600b8190556040518181527f90004c04698bc3322499a575ed3752dd4abf33e0a7294c06a787a0fe01bea9419060200160405180910390a150565b61175c614c99565b60006117887f534545445241524954590000000000000000000000000000000000000000000084613f8c565b9050806118515760405180606001604052806040518060400160405280600781526020017f236666643530300000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f236666663262330000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600981526020017f4c6567656e646172790000000000000000000000000000000000000000000000815250815250915050919050565b600481101561191c5760405180606001604052806040518060400160405280600781526020017f233963323762300000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f236561633066320000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f4570696300000000000000000000000000000000000000000000000000000000815250815250915050919050565b600a8110156119e75760405180606001604052806040518060400160405280600781526020017f233366353162350000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f236336636365620000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f5261726500000000000000000000000000000000000000000000000000000000815250815250915050919050565b6014811015611ab25760405180606001604052806040518060400160405280600781526020017f233463616635300000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f236361653863610000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600881526020017f556e636f6d6d6f6e000000000000000000000000000000000000000000000000815250815250915050919050565b60405180606001604052806040518060400160405280600781526020017f233965396539650000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f236439643964390000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f436f6d6d6f6e0000000000000000000000000000000000000000000000000000815250815250915050919050565b6009546001600160a01b03163314611bce5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cdf565b600c80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6000611c1360085490565b8210611c875760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610cdf565b5090565b6000818152600260205260408120546001600160a01b031680610bc15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610cdf565b6009546001600160a01b03163314611d705760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cdf565b600a546201000090046fffffffffffffffffffffffffffffffff1615611dd85760405162461bcd60e51b815260206004820152600960248201527f4f6e6c79206f6e636500000000000000000000000000000000000000000000006044820152606401610cdf565b611de360014361545d565b600a80547fffffffffffffffffffffffffffff00000000000000000000000000000000ffff166201000092406fffffffffffffffffffffffffffffffff16929092029190911790556040517fe2a7169cedebe39671840370ae19ca4fc41be6191d4c77f174f189a4d8cd08c890600090a1565b60006001600160a01b038216611ed45760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610cdf565b506001600160a01b031660009081526003602052604090205490565b6009546001600160a01b03163314611f4a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cdf565b611f5460006140ee565b565b6060611f60614cc0565b6000611f8c7f534545445241524954590000000000000000000000000000000000000000000085613f8c565b90506015811015611fce57611fcb611fa38561324e565b517fffffffff0000000000000000000000000000000000000000000000000000000016613ead565b82525b611fda611fa385612b98565b6020830152611feb611fa3856128ef565b6040830152611ffc611fa385613986565b6060830152600381101561201c57612016611fa38561135a565b60808301525b8151602080840151604080860151606087015160808801519251600096612047969095949101615474565b60408051601f1981840301815291905295945050505050565b6009546001600160a01b031633146120ba5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cdf565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b0382169063a9059cbb90339083906370a082319060240160206040518083038186803b15801561211c57600080fd5b505afa158015612130573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061215491906154df565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b1580156121b257600080fd5b505af11580156121c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115fe91906154f8565b6009546001600160a01b031633146122445760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cdf565b600a80547fffffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffff1690556040517fef5ae26c28cf8880dd115ef821e5800f95d4f6ec5d9f72599481bc55ee88a79990600090a1565b600a54730100000000000000000000000000000000000000900460ff16156123015760405162461bcd60e51b815260206004820152601260248201527f507265206d696e742069732070617573656400000000000000000000000000006044820152606401610cdf565b612315335b6001600160a01b03163b151590565b156123625760405162461bcd60e51b815260206004820152601360248201527f4e6f20636f6e747261637420616c6c6f776564000000000000000000000000006044820152606401610cdf565b60008161ffff1611801561237b5750600a8161ffff1611155b6123c75760405162461bcd60e51b815260206004820152601160248201527f4d6178696d756d20313020536d696c65730000000000000000000000000000006044820152606401610cdf565b60095461ffff8216906007906124009074010000000000000000000000000000000000000000900467ffffffffffffffff166005615515565b61240a9190615545565b6124149190615515565b67ffffffffffffffff1634101561246d5760405162461bcd60e51b815260206004820152601160248201527f4e6f7420656e6f756768742045746865720000000000000000000000000000006044820152606401610cdf565b600a5461ffff90811690821611156124c75760405162461bcd60e51b815260206004820152601760248201527f4578636565647320707265206d696e7420737570706c790000000000000000006044820152606401610cdf565b600a61ffff82166124d733611e56565b6124e19190615398565b111561252f5760405162461bcd60e51b815260206004820152601c60248201527f4d6178696d756d20313020536d696c6573207065722077616c6c6574000000006044820152606401610cdf565b6125b883838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600b546040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b16602082015290925060340190505b60405160208183030381529060405280519060200120614158565b6126045760405162461bcd60e51b815260206004820152600d60248201527f496e76616c69642070726f6f66000000000000000000000000000000000000006044820152606401610cdf565b600a5461261690829061ffff1661556c565b600a80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff9290921691909117905560005b8161ffff1681101561267757612665335b600854614207565b8061266f81615424565b91505061264c565b50505050565b606060018054610bd69061529b565b6000600a61269983611e56565b106126a657506000612742565b6001600160a01b0382163b156126be57506000612742565b61273184848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600b546040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606089901b166020820152909250603401905061259d565b1561273e57506001612742565b5060005b9392505050565b6001600160a01b0382163314156127a25760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610cdf565b3360008181526005602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6009546001600160a01b031633146128865760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cdf565b600a80547fffffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffff167301000000000000000000000000000000000000001790556040517fd14c13c23c3e239dfc4e1fcd42e6f20efd1da4e71412a3fe4b93f56959bf233790600090a1565b6040805160608101825260008082526020820181905291810191909152612938827f534545444e4f53450000000000000000000000000000000000000000000000006010614061565b60408051606081018252915460e081901b7fffffffff00000000000000000000000000000000000000000000000000000000168352640100000000810460ff16602084015265010000000000900460801b7fffffffffffffffffffffffffffffffff00000000000000000000000000000000169082015292915050565b6129bf3383613aab565b612a315760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610cdf565b6126778484848461436d565b6009546001600160a01b03163314612a975760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cdf565b600954819061ffff8083167e01000000000000000000000000000000000000000000000000000000000000909204161015612b145760405162461bcd60e51b815260206004820152601760248201527f4578636565647320676976656177617920737570706c790000000000000000006044820152606401610cdf565b806009601e8282829054906101000a900461ffff16612b33919061556c565b92506101000a81548161ffff021916908361ffff16021790555060005b8161ffff1681101561267757612b86848483818110612b7157612b716153f5565b905060200201602081019061265d9190614ebf565b80612b9081615424565b915050612b50565b6040805160608101825260008082526020820181905291810191909152612938827f5345454445594553000000000000000000000000000000000000000000000000600f614061565b6000818152600260205260409020546060906001600160a01b0316612c485760405162461bcd60e51b815260206004820152601160248201527f4e6f6e6578697374656e7420746f6b656e0000000000000000000000000000006044820152606401610cdf565b600a546201000090046fffffffffffffffffffffffffffffffff16612cbd57612c97612c73836112f4565b604051602001612c83919061558f565b6040516020818303038152906040526143f6565b604051602001612ca79190615647565b6040516020818303038152906040529050919050565b6000612cc883611754565b90506000612cdd612cd88561324e565b6145cf565b90506000612ced612cd886612b98565b90506000612cfd612cd8876128ef565b90506000612d0d612cd888613986565b90506000612d1d612cd88961135a565b9050612d27614cda565b6040518060e0016040528060a48152602001615d4660a49139815260208781015181830152604080516060810190915260258082529091615aad90830139604080830191909152875160608084019190915281519081019091526038808252615c2360208301396080820152865160a082015260408051610140810190915261011e808252615b05602083013960c08201908152865160e08301908152604080518082018252601381527f3c747370616e2066696c6c3d2223353535223e00000000000000000000000000602080830191909152610100860191825289516101208701528851610140870152875161016087015282518084018452600881527f3c2f747370616e3e0000000000000000000000000000000000000000000000008183015261018087015286516101a087015282518084018452601181527f3c2f746578743e3c2f673e3c2f7376673e000000000000000000000000000000818301526101c087015285518187015184880151606089015160808a015160a08b0151995198519651975160009a612ecd9a969995989497939692959094929390910161568c565b60408051808303601f19018152908290526101208401516101408501516101608601516101808701516101a08801516101c0890151959750612f149688969060200161574d565b60408051808303601f190181528282528982015189830151898401518985015194890151939650600095612f519593949293919290602001615474565b60408051808303601f19018152828201909152600a82527f7b226e616d65223a20220000000000000000000000000000000000000000000060208301529084529050612f9c8b6112f4565b83600160200201819052506040518060c0016040528060858152602001615a28608591396040840152612fce826143f6565b6060808501919091526040805191820190526033808252615ad2602083013960808401526040808a015160a08501528051606081019091526021808252615c7d602083013960c084015260208881015160e0850152604080516060810190915260228082529091615cc190830139610100840152602087810151610120850152604080516060810190915260228082529091615c5b90830139610140840152602086810151610160850152604080516060810190915260238082529091615c9e908301396101808401526020858101516101a0850152604080516060810190915260238082529091615d23908301396101c08401526020848101516101e0850152604080516060810190915260238082529091615dea90830139610200840152610220830181905260408051808201909152600481527f227d5d7d000000000000000000000000000000000000000000000000000000006020820152836012602090810291909101919091528351848201516040808701516060880151608089015160a08a015160c08b015160e08c01516101008d0151965161317d9a9697959694959394929391920161568c565b60408051808303601f19018152908290526101208501516101408601516101608701516101808801516101a08901516101c08a01516101e08b01516102008c0151979a506131d0988b989060200161568c565b60408051808303601f19018152908290526102208501516102408601519194506131ff928592906020016157df565b6040516020818303038152906040529150600061321b836143f6565b90508060405160200161322e9190615647565b60408051601f198184030181529190529c9b505050505050505050505050565b60408051606081018252600080825260208201819052918101829052906132957f534545445241524954590000000000000000000000000000000000000000000084613f8c565b90506014811015611456576113d8837f5345454448415400000000000000000000000000000000000000000000000000600e614061565b6009546001600160a01b031633146133265760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cdf565b600a80547fffffffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffff1690556040517f58e0e1f03176dfa647922b700f27e00bfa7f939db5a6fb7dd47cc6dcd3cf619c90600090a1565b600a547201000000000000000000000000000000000000900460ff166133e15760405162461bcd60e51b815260206004820152600f60248201527f4d696e742069732073746f7070656400000000000000000000000000000000006044820152606401610cdf565b6133ea33612306565b156134375760405162461bcd60e51b815260206004820152601360248201527f4e6f20636f6e747261637420616c6c6f776564000000000000000000000000006044820152606401610cdf565b600081118015613448575060058111155b6134945760405162461bcd60e51b815260206004820152601060248201527f4d6178696d756d203520536d696c6573000000000000000000000000000000006044820152606401610cdf565b600a816134a033611e56565b6134aa9190615398565b11156134f85760405162461bcd60e51b815260206004820152601c60248201527f4d6178696d756d20313020536d696c6573207065722077616c6c6574000000006044820152606401610cdf565b60095461354d9061ffff7e0100000000000000000000000000000000000000000000000000000000000082048116917c010000000000000000000000000000000000000000000000000000000090041661556c565b61ffff168161355b60085490565b6135659190615398565b11156135b35760405162461bcd60e51b815260206004820152601660248201527f45786365656473206d6178696d756d20737570706c79000000000000000000006044820152606401610cdf565b6009546135e390829074010000000000000000000000000000000000000000900467ffffffffffffffff16615318565b3410156136325760405162461bcd60e51b815260206004820152601160248201527f4e6f7420656e6f756768742045746865720000000000000000000000000000006044820152606401610cdf565b60005b818110156115fe576136463361265d565b8061365081615424565b915050613635565b3361366283611c8b565b6001600160a01b0316146136b85760405162461bcd60e51b815260206004820152601060248201527f4f6e6c7920746f6b656e206f776e6572000000000000000000000000000000006044820152606401610cdf565b805181906020101561370c5760405162461bcd60e51b815260206004820152601060248201527f4d6178696d756d203332206279746573000000000000000000000000000000006044820152606401610cdf565b61371581615822565b600084815260146020526040902055600c546001600160a01b031663a3ca73bd336040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b1681526001600160a01b0390911660048201526802b5e3af16b18800006024820152604401600060405180830381600087803b15801561379e57600080fd5b505af11580156137b2573d6000803e3d6000fd5b50505050505050565b600d546040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b03848116600483015260009281169190841690829063c45527919060240160206040518083038186803b15801561382157600080fd5b505afa158015613835573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138599190615864565b6001600160a01b03161415613872576001915050610bc1565b6001600160a01b0380851660009081526005602090815260408083209387168352929052205460ff165b949350505050565b6009546001600160a01b031633146138fe5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cdf565b6001600160a01b03811661397a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610cdf565b613983816140ee565b50565b6040805160608101825260008082526020820181905291810191909152612938827f534545444d4f55544800000000000000000000000000000000000000000000006011614061565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d63000000000000000000000000000000000000000000000000000000001480610bc15750610bc18261464d565b600081815260046020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0384169081179091558190613a7282611c8b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316613b355760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610cdf565b6000613b4083611c8b565b9050806001600160a01b0316846001600160a01b03161480613b7b5750836001600160a01b0316613b7084610c59565b6001600160a01b0316145b8061389c575061389c81856137bb565b826001600160a01b0316613b9e82611c8b565b6001600160a01b031614613c1a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610cdf565b6001600160a01b038216613c955760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610cdf565b613ca0838383614730565b613cab600082613a25565b6001600160a01b0383166000908152600360205260408120805460019290613cd490849061545d565b90915550506001600160a01b0382166000908152600360205260408120805460019290613d02908490615398565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b606081613dbb57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115613de55780613dcf81615424565b9150613dde9050600a83615384565b9150613dbf565b60008167ffffffffffffffff811115613e0057613e006150ab565b6040519080825280601f01601f191660200182016040528015613e2a576020820181803683370190505b5090505b841561389c57613e3f60018361545d565b9150613e4c600a86615881565b613e57906030615398565b60f81b818381518110613e6c57613e6c6153f5565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613ea6600a86615384565b9450613e2e565b606060008183821a60f81b7fff0000000000000000000000000000000000000000000000000000000000000016613ef557505060408051602081019091526000815292915050565b838260208110613f0757613f076153f5565b1a60f81b7fff0000000000000000000000000000000000000000000000000000000000000016156127425780848360208110613f4557613f456153f5565b1a60f81b604051602001613f5a929190615895565b60405160208183030381529060405290508180613f7690615424565b925050601f821115613f8757612742565b613ef5565b600a546000906201000090046fffffffffffffffffffffffffffffffff16613ff65760405162461bcd60e51b815260206004820152601060248201527f4e6f742072657665616c656420796574000000000000000000000000000000006044820152606401610cdf565b600a54604080517fffffffffffffffffffffffffffffffff000000000000000000000000000000008681166020808401919091526201000090940460801b1660308201528082018590528151808203830181526060909101909152805191012061389c606482615881565b60008061406e8486613f8c565b905060005b83548110156140e25783818154811061408e5761408e6153f5565b600091825260209091200154640100000000900460ff1682116140d0578381815481106140bd576140bd6153f5565b9060005260206000200192505050612742565b806140da81615424565b915050614073565b50601395945050505050565b600980546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600081815b85518110156141fc57600086828151811061417a5761417a6153f5565b602002602001015190508083116141bc5760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506141e9565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806141f481615424565b91505061415d565b509092149392505050565b6001600160a01b03821661425d5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610cdf565b6000818152600260205260409020546001600160a01b0316156142c25760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610cdf565b6142ce60008383614730565b6001600160a01b03821660009081526003602052604081208054600192906142f7908490615398565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b614378848484613b8b565b614384848484846147c6565b6126775760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610cdf565b606081516000141561441657505060408051602081019091526000815290565b6000604051806060016040528060408152602001615ce360409139905060006003845160026144459190615398565b61444f9190615384565b61445a906004615318565b90506000614469826020615398565b67ffffffffffffffff811115614481576144816150ab565b6040519080825280601f01601f1916602001820160405280156144ab576020820181803683370190505b509050818152600183018586518101602084015b81831015614517576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f81168501518253506001016144bf565b600389510660018114614531576002811461457b576145c1565b7f3d3d0000000000000000000000000000000000000000000000000000000000007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe8301526145c1565b7f3d000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8301525b509398975050505050505050565b6145d7614c99565b60405180606001604052806145ef8460000151614973565b815260200161461484604001516fffffffffffffffffffffffffffffffff1916613ead565b815260200161464584600001517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916613ead565b905292915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806146e057507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610bc157507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610bc1565b6001600160a01b03831661476d57600854811461474f5761474f6158dc565b6001600860008282546147629190615398565b909155506147909050565b816001600160a01b0316836001600160a01b031614614790576147908382614bb8565b6001600160a01b0382166147a357505050565b826001600160a01b0316826001600160a01b031614610e3157610e318282614c55565b60006001600160a01b0384163b15614968576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a029061482390339089908890889060040161590b565b602060405180830381600087803b15801561483d57600080fd5b505af192505050801561486d575060408051601f3d908101601f1916820190925261486a91810190615947565b60015b61491d573d80801561489b576040519150601f19603f3d011682016040523d82523d6000602084013e6148a0565b606091505b5080516149155760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610cdf565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a020000000000000000000000000000000000000000000000000000000014905061389c565b506001949350505050565b606060008183821a60f81b7fff00000000000000000000000000000000000000000000000000000000000000166149bb57505060408051602081019091526000815292915050565b8382600481106149cd576149cd6153f5565b1a60f81b7fff00000000000000000000000000000000000000000000000000000000000000161561274257838260048110614a0a57614a0a6153f5565b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167f3c000000000000000000000000000000000000000000000000000000000000001415614a7e5780604051602001614a689190615964565b6040516020818303038152906040529050614b98565b838260048110614a9057614a906153f5565b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167f3e000000000000000000000000000000000000000000000000000000000000001415614aee5780604051602001614a6891906159a5565b838260048110614b0057614b006153f5565b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167f26000000000000000000000000000000000000000000000000000000000000001415614b5e5780604051602001614a6891906159e6565b80848360048110614b7157614b716153f5565b1a60f81b604051602001614b86929190615895565b60405160208183030381529060405290505b81614ba281615424565b9250506003821115614bb357612742565b6149bb565b60006001614bc584611e56565b614bcf919061545d565b600083815260076020526040902054909150808214614c22576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6000614c6083611e56565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60405180606001604052806003905b6060815260200190600190039081614ca85790505090565b6040805160a0810190915260608152600460208201614ca8565b60408051610260810190915260608152601260208201614ca8565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461398357600080fd5b600060208284031215614d3557600080fd5b813561274281614cf5565b60005b83811015614d5b578181015183820152602001614d43565b838111156126775750506000910152565b60008151808452614d84816020860160208601614d40565b601f01601f19169290920160200192915050565b6020815260006127426020830184614d6c565b600060208284031215614dbd57600080fd5b5035919050565b6001600160a01b038116811461398357600080fd5b60008060408385031215614dec57600080fd5b8235614df781614dc4565b946020939093013593505050565b600060208284031215614e1757600080fd5b813567ffffffffffffffff8116811461274257600080fd5b600080600060608486031215614e4457600080fd5b8335614e4f81614dc4565b92506020840135614e5f81614dc4565b929592945050506040919091013590565b803561ffff8116811461135557600080fd5b600060208284031215614e9457600080fd5b61274282614e70565b60008060408385031215614eb057600080fd5b50508035926020909101359150565b600060208284031215614ed157600080fd5b813561274281614dc4565b6020808252825182820181905260009190848201906040850190845b81811015614f1457835183529284019291840191600101614ef8565b50909695505050505050565b60208082526000906080830183820185845b6003811015614f6157601f19878503018352614f4f848351614d6c565b93509184019190840190600101614f32565b50919695505050505050565b60008083601f840112614f7f57600080fd5b50813567ffffffffffffffff811115614f9757600080fd5b6020830191508360208260051b8501011115614fb257600080fd5b9250929050565b600080600060408486031215614fce57600080fd5b833567ffffffffffffffff811115614fe557600080fd5b614ff186828701614f6d565b9094509250615004905060208501614e70565b90509250925092565b60008060006040848603121561502257600080fd5b833567ffffffffffffffff81111561503957600080fd5b61504586828701614f6d565b909450925050602084013561505981614dc4565b809150509250925092565b801515811461398357600080fd5b6000806040838503121561508557600080fd5b823561509081614dc4565b915060208301356150a081615064565b809150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff808411156150f5576150f56150ab565b604051601f8501601f19908116603f0116810190828211818310171561511d5761511d6150ab565b8160405280935085815286868601111561513657600080fd5b858560208301376000602087830101525050509392505050565b6000806000806080858703121561516657600080fd5b843561517181614dc4565b9350602085013561518181614dc4565b925060408501359150606085013567ffffffffffffffff8111156151a457600080fd5b8501601f810187136151b557600080fd5b6151c4878235602084016150da565b91505092959194509250565b600080602083850312156151e357600080fd5b823567ffffffffffffffff8111156151fa57600080fd5b61520685828601614f6d565b90969095509350505050565b6000806040838503121561522557600080fd5b82359150602083013567ffffffffffffffff81111561524357600080fd5b8301601f8101851361525457600080fd5b615263858235602084016150da565b9150509250929050565b6000806040838503121561528057600080fd5b823561528b81614dc4565b915060208301356150a081614dc4565b600181811c908216806152af57607f821691505b602082108114156114d8577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615350576153506152e9565b500290565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60008261539357615393615355565b500490565b600082198211156153ab576153ab6152e9565b500190565b7f415343494920536d696c652023000000000000000000000000000000000000008152600082516153e881600d850160208701614d40565b91909101600d0192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615456576154566152e9565b5060010190565b60008282101561546f5761546f6152e9565b500390565b60008651615486818460208b01614d40565b86519083019061549a818360208b01614d40565b86519101906154ad818360208a01614d40565b85519101906154c0818360208901614d40565b84519101906154d3818360208801614d40565b01979650505050505050565b6000602082840312156154f157600080fd5b5051919050565b60006020828403121561550a57600080fd5b815161274281615064565b600067ffffffffffffffff8083168185168183048111821515161561553c5761553c6152e9565b02949350505050565b600067ffffffffffffffff8084168061556057615560615355565b92169190910492915050565b600061ffff83811690831681811015615587576155876152e9565b039392505050565b7f7b226e616d65223a2200000000000000000000000000000000000000000000008152600082516155c7816009850160208701614d40565b7f222c226465736372697074696f6e223a22556e72657665616c6564222c22696d60099390910192830152507f616765223a22697066733a2f2f516d62377a4b386e757462315668396770697460298201527f48706268795a5878664356384166347270356b61573637574c6353227d0000006049820152606601919050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161567f81601d850160208701614d40565b91909101601d0192915050565b60008a5161569e818460208f01614d40565b8a516156b08183860160208f01614d40565b8a5191840101906156c5818360208e01614d40565b89516156d78183850160208e01614d40565b89519290910101906156ed818360208c01614d40565b87516156ff8183850160208c01614d40565b8751929091010190615715818360208a01614d40565b85516157278183850160208a01614d40565b855192909101019061573d818360208801614d40565b019b9a5050505050505050505050565b6000885160206157608285838e01614d40565b8951918401916157738184848e01614d40565b89519201916157858184848d01614d40565b88519201916157978184848c01614d40565b87519201916157a98184848b01614d40565b86519201916157bb8184848a01614d40565b85519201916157cd8184848901614d40565b919091019a9950505050505050505050565b600084516157f1818460208901614d40565b845190830190615805818360208901614d40565b8451910190615818818360208801614d40565b0195945050505050565b805160208083015191908110156114d8577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60209190910360031b1b16919050565b60006020828403121561587657600080fd5b815161274281614dc4565b60008261589057615890615355565b500690565b600083516158a7818460208801614d40565b7fff00000000000000000000000000000000000000000000000000000000000000939093169190920190815260010192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b60006001600160a01b0380871683528086166020840152508360408301526080606083015261593d6080830184614d6c565b9695505050505050565b60006020828403121561595957600080fd5b815161274281614cf5565b60008251615976818460208701614d40565b7f266c743b00000000000000000000000000000000000000000000000000000000920191825250600401919050565b600082516159b7818460208701614d40565b7f2667743b00000000000000000000000000000000000000000000000000000000920191825250600401919050565b600082516159f8818460208701614d40565b7f26616d703b00000000000000000000000000000000000000000000000000000092019182525060050191905056fe222c20226465736372697074696f6e223a2022415343494920536d696c6573206973206120636f6c6c656374696f6e206f6620656d6f7469636f6e7320736176656420696e2074686520457468657265756d20626c6f636b636861696e2e222c2022696d616765223a2022646174613a696d6167652f7376672b786d6c3b6261736536342c22202f3e3c2f72616469616c4772616469656e743e3c2f646566733e3c672066696c6c3d22222c202261747472696275746573223a205b7b2274726169745f74797065223a2022526172697479222c2276616c7565223a22222077696474683d2235313022206865696768743d223839302220783d2232302220793d223230222066696c6c3d2275726c2823472922207374726f6b652d77696474683d223330222072783d223530222f3e3c7465787420783d2236302220793d22313230223e3a2d293c2f746578743e3c7465787420783d223433302220793d22313230223e3a2d293c2f746578743e3c7465787420783d2236302220793d22383530223e3a2d293c2f746578743e3c7465787420783d223433302220793d22383530223e3a2d293c2f746578743e3c7465787420783d223237352220793d223530302220666f6e742d73697a653d223136302220746578742d616e63686f723d226d6964646c65222077726974696e672d6d6f64653d227462223e2220666f6e742d66616d696c793d2273616e732d73657269662220666f6e742d73697a653d223730223e3c72656374207374726f6b653d22227d2c7b2274726169745f74797065223a20224e6f7365222c2276616c7565223a22227d2c7b2274726169745f74797065223a2022486174222c2276616c7565223a22227d2c7b2274726169745f74797065223a20224d6f757468222c2276616c7565223a22227d2c7b2274726169745f74797065223a202245796573222c2276616c7565223a224142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f227d2c7b2274726169745f74797065223a20224265617264222c2276616c7565223a223c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f737667222077696474683d2235353022206865696768743d22393330223e3c646566733e3c72616469616c4772616469656e742069643d2247223e3c73746f70206f66667365743d22313025222073746f702d636f6c6f723d222365656522202f3e3c73746f70206f66667365743d22373025222073746f702d636f6c6f723d22227d2c7b2274726169745f74797065223a20224153434949222c2276616c7565223a22a2646970667358221220c4f56e0249be5e27e60eecb985c98f12dbf47889075441745ea826d9f0cb1be664736f6c63430008090033000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1

Deployed Bytecode

0x60806040526004361061033f5760003560e01c806370a08231116101ae578063b88d4fde116100eb578063d66767501161008f578063f27b90821161006c578063f27b908214610ab1578063f2fde38b14610ad9578063fdbf9ef214610af9578063feb6b3d114610b4b57005b8063d667675014610a5e578063d92af1b714610a71578063e985e9c514610a9157005b8063c87b56dd116100c8578063c87b56dd146109ce578063d2571f88146109ee578063d558296514610a0e578063d5abeb0114610a2357005b8063b88d4fde1461096e578063c0d4c3071461098e578063c4d30bfa146109ae57005b806395d89b4111610152578063a22cb4651161012f578063a22cb465146108c9578063a40a65ab146108e9578063a76a9587146108fe578063b20bdf421461094e57005b806395d89b4114610879578063a16aff731461088e578063a1acf7eb146108ae57005b80638905fd4f1161018b5780638905fd4f146108135780638da5cb5b146108335780638ee0927b14610851578063935590851461086657005b806370a08231146107be578063715018a6146107de5780637ba4d359146107f357005b80633382c4d41161027c57806348758697116102205780635452568c116101fd5780635452568c146107285780636352211e1461075857806366b9f0d2146107785780636b2988721461078d57005b806348758697146106bb5780634ef5f464146106e85780634f6ccce71461070857005b80633ccfd60b116102595780633ccfd60b1461063957806342842e0e1461064e578063438b63001461066e5780634783f0ef1461069b57005b80633382c4d41461057057806334c2b620146105905780633a7b73b7146105b057005b8063229c2048116102e35780632a55205a116102c05780632a55205a146104e65780632be09561146105255780632eb4a7ab1461053a5780632f745c591461055057005b8063229c20481461048657806323b872dd146104a657806325f3fe9a146104c657005b8063081812fc1161031c578063081812fc146103ef578063095ea7b31461042757806313da22561461044757806318160ddd1461046757005b806301ffc9a7146103485780630339d8fd1461037d57806306fdde03146103cd57005b3661034657005b005b34801561035457600080fd5b50610368610363366004614d23565b610b6b565b60405190151581526020015b60405180910390f35b34801561038957600080fd5b506009546103ba907e01000000000000000000000000000000000000000000000000000000000000900461ffff1681565b60405161ffff9091168152602001610374565b3480156103d957600080fd5b506103e2610bc7565b6040516103749190614d98565b3480156103fb57600080fd5b5061040f61040a366004614dab565b610c59565b6040516001600160a01b039091168152602001610374565b34801561043357600080fd5b50610346610442366004614dd9565b610d04565b34801561045357600080fd5b50600c5461040f906001600160a01b031681565b34801561047357600080fd5b506008545b604051908152602001610374565b34801561049257600080fd5b506103466104a1366004614e05565b610e36565b3480156104b257600080fd5b506103466104c1366004614e2f565b610ee3565b3480156104d257600080fd5b506103466104e1366004614e82565b610f6a565b3480156104f257600080fd5b50610506610501366004614e9d565b6110e8565b604080516001600160a01b039093168352602083019190915201610374565b34801561053157600080fd5b5061034661111f565b34801561054657600080fd5b50610478600b5481565b34801561055c57600080fd5b5061047861056b366004614dd9565b6111e1565b34801561057c57600080fd5b5061034661058b366004614dab565b611289565b34801561059c57600080fd5b506103e26105ab366004614dab565b6112f4565b3480156105bc57600080fd5b506105d06105cb366004614dab565b61135a565b6040805182517fffffffff0000000000000000000000000000000000000000000000000000000016815260208084015160ff1690820152918101517fffffffffffffffffffffffffffffffff000000000000000000000000000000001690820152606001610374565b34801561064557600080fd5b506103466114de565b34801561065a57600080fd5b50610346610669366004614e2f565b611602565b34801561067a57600080fd5b5061068e610689366004614ebf565b61161d565b6040516103749190614edc565b3480156106a757600080fd5b506103466106b6366004614dab565b6116bf565b3480156106c757600080fd5b506106db6106d6366004614dab565b611754565b6040516103749190614f20565b3480156106f457600080fd5b50610346610703366004614ebf565b611b74565b34801561071457600080fd5b50610478610723366004614dab565b611c08565b34801561073457600080fd5b50600a54610368907201000000000000000000000000000000000000900460ff1681565b34801561076457600080fd5b5061040f610773366004614dab565b611c8b565b34801561078457600080fd5b50610346611d16565b34801561079957600080fd5b50600a5461036890730100000000000000000000000000000000000000900460ff1681565b3480156107ca57600080fd5b506104786107d9366004614ebf565b611e56565b3480156107ea57600080fd5b50610346611ef0565b3480156107ff57600080fd5b506103e261080e366004614dab565b611f56565b34801561081f57600080fd5b5061034661082e366004614ebf565b612060565b34801561083f57600080fd5b506009546001600160a01b031661040f565b34801561085d57600080fd5b506103466121ea565b610346610874366004614fb9565b612297565b34801561088557600080fd5b506103e261267d565b34801561089a57600080fd5b506103686108a936600461500d565b61268c565b3480156108ba57600080fd5b50600a546103ba9061ffff1681565b3480156108d557600080fd5b506103466108e4366004615072565b612749565b3480156108f557600080fd5b5061034661282c565b34801561090a57600080fd5b50600a5461092d906201000090046fffffffffffffffffffffffffffffffff1681565b6040516fffffffffffffffffffffffffffffffff9091168152602001610374565b34801561095a57600080fd5b506105d0610969366004614dab565b6128ef565b34801561097a57600080fd5b50610346610989366004615150565b6129b5565b34801561099a57600080fd5b506103466109a93660046151d0565b612a3d565b3480156109ba57600080fd5b506105d06109c9366004614dab565b612b98565b3480156109da57600080fd5b506103e26109e9366004614dab565b612be1565b3480156109fa57600080fd5b506105d0610a09366004614dab565b61324e565b348015610a1a57600080fd5b506103466132cc565b348015610a2f57600080fd5b506009546103ba907c0100000000000000000000000000000000000000000000000000000000900461ffff1681565b610346610a6c366004614dab565b613379565b348015610a7d57600080fd5b50610346610a8c366004615212565b613658565b348015610a9d57600080fd5b50610368610aac36600461526d565b6137bb565b348015610abd57600080fd5b5061040f73bfda4ee93f99612f282f8bc4c234331406dbd4a081565b348015610ae557600080fd5b50610346610af4366004614ebf565b6138a4565b348015610b0557600080fd5b50600954610b329074010000000000000000000000000000000000000000900467ffffffffffffffff1681565b60405167ffffffffffffffff9091168152602001610374565b348015610b5757600080fd5b506105d0610b66366004614dab565b613986565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a000000000000000000000000000000000000000000000000000000001480610bc15750610bc1826139cf565b92915050565b606060008054610bd69061529b565b80601f0160208091040260200160405190810160405280929190818152602001828054610c029061529b565b8015610c4f5780601f10610c2457610100808354040283529160200191610c4f565b820191906000526020600020905b815481529060010190602001808311610c3257829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610ce85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610d0f82611c8b565b9050806001600160a01b0316836001600160a01b03161415610d995760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610cdf565b336001600160a01b0382161480610db55750610db581336137bb565b610e275760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610cdf565b610e318383613a25565b505050565b6009546001600160a01b03163314610e905760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cdf565b6009805467ffffffffffffffff90921674010000000000000000000000000000000000000000027fffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff909216919091179055565b610eed3382613aab565b610f5f5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610cdf565b610e31838383613b8b565b6009546001600160a01b03163314610fc45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cdf565b60095461ffff7c010000000000000000000000000000000000000000000000000000000090910481169082161061103d5760405162461bcd60e51b815260206004820152600d60248201527f6f6e6c79206465637265617365000000000000000000000000000000000000006044820152606401610cdf565b6008548161ffff1610156110935760405162461bcd60e51b815260206004820152600d60248201527f62656c6c6f7720737570706c79000000000000000000000000000000000000006044820152606401610cdf565b6009805461ffff9092167c0100000000000000000000000000000000000000000000000000000000027fffff0000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff909216919091179055565b6000806110fd6009546001600160a01b031690565b9150606461110c846003615318565b6111169190615384565b90509250929050565b6009546001600160a01b031633146111795760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cdf565b600a80547fffffffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffff1672010000000000000000000000000000000000001790556040517f452a344f03203071e1daf66e007976c85cb2380deabf1c91f3c4fb1fca41204990600090a1565b60006111ec83611e56565b82106112605760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610cdf565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6009546001600160a01b031633146112e35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cdf565b600090815260146020526040812055565b6060611309611304836001615398565b613d7b565b60405160200161131991906153b0565b60408051601f198184030181529181526000848152601460205220549091501561135557600082815260146020526040902054610bc190613ead565b919050565b60408051606081018252600080825260208201819052918101829052906113a17f534545445241524954590000000000000000000000000000000000000000000084613f8c565b90506004811015611456576113d8837f53454544424541524400000000000000000000000000000000000000000000006012614061565b60408051606081018252915460e081901b7fffffffff00000000000000000000000000000000000000000000000000000000168352640100000000810460ff16602084015265010000000000900460801b7fffffffffffffffffffffffffffffffff0000000000000000000000000000000016908201529392505050565b50506040805160608101825260135460e081901b7fffffffff00000000000000000000000000000000000000000000000000000000168252640100000000810460ff16602083015265010000000000900460801b7fffffffffffffffffffffffffffffffff000000000000000000000000000000001691810191909152919050565b50919050565b6009546001600160a01b031633146115385760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cdf565b47806115865760405162461bcd60e51b815260206004820152601460248201527f43616c6c20776974686f75742062616c616e63650000000000000000000000006044820152606401610cdf565b336108fc611595600284615384565b6040518115909202916000818181858888f193505050501580156115bd573d6000803e3d6000fd5b5060405173bfda4ee93f99612f282f8bc4c234331406dbd4a0904780156108fc02916000818181858888f193505050501580156115fe573d6000803e3d6000fd5b5050565b610e31838383604051806020016040528060008152506129b5565b6060600061162a83611e56565b905060008167ffffffffffffffff811115611647576116476150ab565b604051908082528060200260200182016040528015611670578160200160208202803683370190505b50905060005b828110156116b75761168885826111e1565b82828151811061169a5761169a6153f5565b6020908102919091010152806116af81615424565b915050611676565b509392505050565b6009546001600160a01b031633146117195760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cdf565b600b8190556040518181527f90004c04698bc3322499a575ed3752dd4abf33e0a7294c06a787a0fe01bea9419060200160405180910390a150565b61175c614c99565b60006117887f534545445241524954590000000000000000000000000000000000000000000084613f8c565b9050806118515760405180606001604052806040518060400160405280600781526020017f236666643530300000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f236666663262330000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600981526020017f4c6567656e646172790000000000000000000000000000000000000000000000815250815250915050919050565b600481101561191c5760405180606001604052806040518060400160405280600781526020017f233963323762300000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f236561633066320000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f4570696300000000000000000000000000000000000000000000000000000000815250815250915050919050565b600a8110156119e75760405180606001604052806040518060400160405280600781526020017f233366353162350000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f236336636365620000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f5261726500000000000000000000000000000000000000000000000000000000815250815250915050919050565b6014811015611ab25760405180606001604052806040518060400160405280600781526020017f233463616635300000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f236361653863610000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600881526020017f556e636f6d6d6f6e000000000000000000000000000000000000000000000000815250815250915050919050565b60405180606001604052806040518060400160405280600781526020017f233965396539650000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f236439643964390000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f436f6d6d6f6e0000000000000000000000000000000000000000000000000000815250815250915050919050565b6009546001600160a01b03163314611bce5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cdf565b600c80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6000611c1360085490565b8210611c875760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610cdf565b5090565b6000818152600260205260408120546001600160a01b031680610bc15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610cdf565b6009546001600160a01b03163314611d705760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cdf565b600a546201000090046fffffffffffffffffffffffffffffffff1615611dd85760405162461bcd60e51b815260206004820152600960248201527f4f6e6c79206f6e636500000000000000000000000000000000000000000000006044820152606401610cdf565b611de360014361545d565b600a80547fffffffffffffffffffffffffffff00000000000000000000000000000000ffff166201000092406fffffffffffffffffffffffffffffffff16929092029190911790556040517fe2a7169cedebe39671840370ae19ca4fc41be6191d4c77f174f189a4d8cd08c890600090a1565b60006001600160a01b038216611ed45760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610cdf565b506001600160a01b031660009081526003602052604090205490565b6009546001600160a01b03163314611f4a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cdf565b611f5460006140ee565b565b6060611f60614cc0565b6000611f8c7f534545445241524954590000000000000000000000000000000000000000000085613f8c565b90506015811015611fce57611fcb611fa38561324e565b517fffffffff0000000000000000000000000000000000000000000000000000000016613ead565b82525b611fda611fa385612b98565b6020830152611feb611fa3856128ef565b6040830152611ffc611fa385613986565b6060830152600381101561201c57612016611fa38561135a565b60808301525b8151602080840151604080860151606087015160808801519251600096612047969095949101615474565b60408051601f1981840301815291905295945050505050565b6009546001600160a01b031633146120ba5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cdf565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b0382169063a9059cbb90339083906370a082319060240160206040518083038186803b15801561211c57600080fd5b505afa158015612130573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061215491906154df565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b1580156121b257600080fd5b505af11580156121c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115fe91906154f8565b6009546001600160a01b031633146122445760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cdf565b600a80547fffffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffff1690556040517fef5ae26c28cf8880dd115ef821e5800f95d4f6ec5d9f72599481bc55ee88a79990600090a1565b600a54730100000000000000000000000000000000000000900460ff16156123015760405162461bcd60e51b815260206004820152601260248201527f507265206d696e742069732070617573656400000000000000000000000000006044820152606401610cdf565b612315335b6001600160a01b03163b151590565b156123625760405162461bcd60e51b815260206004820152601360248201527f4e6f20636f6e747261637420616c6c6f776564000000000000000000000000006044820152606401610cdf565b60008161ffff1611801561237b5750600a8161ffff1611155b6123c75760405162461bcd60e51b815260206004820152601160248201527f4d6178696d756d20313020536d696c65730000000000000000000000000000006044820152606401610cdf565b60095461ffff8216906007906124009074010000000000000000000000000000000000000000900467ffffffffffffffff166005615515565b61240a9190615545565b6124149190615515565b67ffffffffffffffff1634101561246d5760405162461bcd60e51b815260206004820152601160248201527f4e6f7420656e6f756768742045746865720000000000000000000000000000006044820152606401610cdf565b600a5461ffff90811690821611156124c75760405162461bcd60e51b815260206004820152601760248201527f4578636565647320707265206d696e7420737570706c790000000000000000006044820152606401610cdf565b600a61ffff82166124d733611e56565b6124e19190615398565b111561252f5760405162461bcd60e51b815260206004820152601c60248201527f4d6178696d756d20313020536d696c6573207065722077616c6c6574000000006044820152606401610cdf565b6125b883838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600b546040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b16602082015290925060340190505b60405160208183030381529060405280519060200120614158565b6126045760405162461bcd60e51b815260206004820152600d60248201527f496e76616c69642070726f6f66000000000000000000000000000000000000006044820152606401610cdf565b600a5461261690829061ffff1661556c565b600a80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff9290921691909117905560005b8161ffff1681101561267757612665335b600854614207565b8061266f81615424565b91505061264c565b50505050565b606060018054610bd69061529b565b6000600a61269983611e56565b106126a657506000612742565b6001600160a01b0382163b156126be57506000612742565b61273184848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600b546040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606089901b166020820152909250603401905061259d565b1561273e57506001612742565b5060005b9392505050565b6001600160a01b0382163314156127a25760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610cdf565b3360008181526005602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6009546001600160a01b031633146128865760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cdf565b600a80547fffffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffff167301000000000000000000000000000000000000001790556040517fd14c13c23c3e239dfc4e1fcd42e6f20efd1da4e71412a3fe4b93f56959bf233790600090a1565b6040805160608101825260008082526020820181905291810191909152612938827f534545444e4f53450000000000000000000000000000000000000000000000006010614061565b60408051606081018252915460e081901b7fffffffff00000000000000000000000000000000000000000000000000000000168352640100000000810460ff16602084015265010000000000900460801b7fffffffffffffffffffffffffffffffff00000000000000000000000000000000169082015292915050565b6129bf3383613aab565b612a315760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610cdf565b6126778484848461436d565b6009546001600160a01b03163314612a975760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cdf565b600954819061ffff8083167e01000000000000000000000000000000000000000000000000000000000000909204161015612b145760405162461bcd60e51b815260206004820152601760248201527f4578636565647320676976656177617920737570706c790000000000000000006044820152606401610cdf565b806009601e8282829054906101000a900461ffff16612b33919061556c565b92506101000a81548161ffff021916908361ffff16021790555060005b8161ffff1681101561267757612b86848483818110612b7157612b716153f5565b905060200201602081019061265d9190614ebf565b80612b9081615424565b915050612b50565b6040805160608101825260008082526020820181905291810191909152612938827f5345454445594553000000000000000000000000000000000000000000000000600f614061565b6000818152600260205260409020546060906001600160a01b0316612c485760405162461bcd60e51b815260206004820152601160248201527f4e6f6e6578697374656e7420746f6b656e0000000000000000000000000000006044820152606401610cdf565b600a546201000090046fffffffffffffffffffffffffffffffff16612cbd57612c97612c73836112f4565b604051602001612c83919061558f565b6040516020818303038152906040526143f6565b604051602001612ca79190615647565b6040516020818303038152906040529050919050565b6000612cc883611754565b90506000612cdd612cd88561324e565b6145cf565b90506000612ced612cd886612b98565b90506000612cfd612cd8876128ef565b90506000612d0d612cd888613986565b90506000612d1d612cd88961135a565b9050612d27614cda565b6040518060e0016040528060a48152602001615d4660a49139815260208781015181830152604080516060810190915260258082529091615aad90830139604080830191909152875160608084019190915281519081019091526038808252615c2360208301396080820152865160a082015260408051610140810190915261011e808252615b05602083013960c08201908152865160e08301908152604080518082018252601381527f3c747370616e2066696c6c3d2223353535223e00000000000000000000000000602080830191909152610100860191825289516101208701528851610140870152875161016087015282518084018452600881527f3c2f747370616e3e0000000000000000000000000000000000000000000000008183015261018087015286516101a087015282518084018452601181527f3c2f746578743e3c2f673e3c2f7376673e000000000000000000000000000000818301526101c087015285518187015184880151606089015160808a015160a08b0151995198519651975160009a612ecd9a969995989497939692959094929390910161568c565b60408051808303601f19018152908290526101208401516101408501516101608601516101808701516101a08801516101c0890151959750612f149688969060200161574d565b60408051808303601f190181528282528982015189830151898401518985015194890151939650600095612f519593949293919290602001615474565b60408051808303601f19018152828201909152600a82527f7b226e616d65223a20220000000000000000000000000000000000000000000060208301529084529050612f9c8b6112f4565b83600160200201819052506040518060c0016040528060858152602001615a28608591396040840152612fce826143f6565b6060808501919091526040805191820190526033808252615ad2602083013960808401526040808a015160a08501528051606081019091526021808252615c7d602083013960c084015260208881015160e0850152604080516060810190915260228082529091615cc190830139610100840152602087810151610120850152604080516060810190915260228082529091615c5b90830139610140840152602086810151610160850152604080516060810190915260238082529091615c9e908301396101808401526020858101516101a0850152604080516060810190915260238082529091615d23908301396101c08401526020848101516101e0850152604080516060810190915260238082529091615dea90830139610200840152610220830181905260408051808201909152600481527f227d5d7d000000000000000000000000000000000000000000000000000000006020820152836012602090810291909101919091528351848201516040808701516060880151608089015160a08a015160c08b015160e08c01516101008d0151965161317d9a9697959694959394929391920161568c565b60408051808303601f19018152908290526101208501516101408601516101608701516101808801516101a08901516101c08a01516101e08b01516102008c0151979a506131d0988b989060200161568c565b60408051808303601f19018152908290526102208501516102408601519194506131ff928592906020016157df565b6040516020818303038152906040529150600061321b836143f6565b90508060405160200161322e9190615647565b60408051601f198184030181529190529c9b505050505050505050505050565b60408051606081018252600080825260208201819052918101829052906132957f534545445241524954590000000000000000000000000000000000000000000084613f8c565b90506014811015611456576113d8837f5345454448415400000000000000000000000000000000000000000000000000600e614061565b6009546001600160a01b031633146133265760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cdf565b600a80547fffffffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffff1690556040517f58e0e1f03176dfa647922b700f27e00bfa7f939db5a6fb7dd47cc6dcd3cf619c90600090a1565b600a547201000000000000000000000000000000000000900460ff166133e15760405162461bcd60e51b815260206004820152600f60248201527f4d696e742069732073746f7070656400000000000000000000000000000000006044820152606401610cdf565b6133ea33612306565b156134375760405162461bcd60e51b815260206004820152601360248201527f4e6f20636f6e747261637420616c6c6f776564000000000000000000000000006044820152606401610cdf565b600081118015613448575060058111155b6134945760405162461bcd60e51b815260206004820152601060248201527f4d6178696d756d203520536d696c6573000000000000000000000000000000006044820152606401610cdf565b600a816134a033611e56565b6134aa9190615398565b11156134f85760405162461bcd60e51b815260206004820152601c60248201527f4d6178696d756d20313020536d696c6573207065722077616c6c6574000000006044820152606401610cdf565b60095461354d9061ffff7e0100000000000000000000000000000000000000000000000000000000000082048116917c010000000000000000000000000000000000000000000000000000000090041661556c565b61ffff168161355b60085490565b6135659190615398565b11156135b35760405162461bcd60e51b815260206004820152601660248201527f45786365656473206d6178696d756d20737570706c79000000000000000000006044820152606401610cdf565b6009546135e390829074010000000000000000000000000000000000000000900467ffffffffffffffff16615318565b3410156136325760405162461bcd60e51b815260206004820152601160248201527f4e6f7420656e6f756768742045746865720000000000000000000000000000006044820152606401610cdf565b60005b818110156115fe576136463361265d565b8061365081615424565b915050613635565b3361366283611c8b565b6001600160a01b0316146136b85760405162461bcd60e51b815260206004820152601060248201527f4f6e6c7920746f6b656e206f776e6572000000000000000000000000000000006044820152606401610cdf565b805181906020101561370c5760405162461bcd60e51b815260206004820152601060248201527f4d6178696d756d203332206279746573000000000000000000000000000000006044820152606401610cdf565b61371581615822565b600084815260146020526040902055600c546001600160a01b031663a3ca73bd336040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b1681526001600160a01b0390911660048201526802b5e3af16b18800006024820152604401600060405180830381600087803b15801561379e57600080fd5b505af11580156137b2573d6000803e3d6000fd5b50505050505050565b600d546040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b03848116600483015260009281169190841690829063c45527919060240160206040518083038186803b15801561382157600080fd5b505afa158015613835573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138599190615864565b6001600160a01b03161415613872576001915050610bc1565b6001600160a01b0380851660009081526005602090815260408083209387168352929052205460ff165b949350505050565b6009546001600160a01b031633146138fe5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cdf565b6001600160a01b03811661397a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610cdf565b613983816140ee565b50565b6040805160608101825260008082526020820181905291810191909152612938827f534545444d4f55544800000000000000000000000000000000000000000000006011614061565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d63000000000000000000000000000000000000000000000000000000001480610bc15750610bc18261464d565b600081815260046020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0384169081179091558190613a7282611c8b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316613b355760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610cdf565b6000613b4083611c8b565b9050806001600160a01b0316846001600160a01b03161480613b7b5750836001600160a01b0316613b7084610c59565b6001600160a01b0316145b8061389c575061389c81856137bb565b826001600160a01b0316613b9e82611c8b565b6001600160a01b031614613c1a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610cdf565b6001600160a01b038216613c955760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610cdf565b613ca0838383614730565b613cab600082613a25565b6001600160a01b0383166000908152600360205260408120805460019290613cd490849061545d565b90915550506001600160a01b0382166000908152600360205260408120805460019290613d02908490615398565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b606081613dbb57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115613de55780613dcf81615424565b9150613dde9050600a83615384565b9150613dbf565b60008167ffffffffffffffff811115613e0057613e006150ab565b6040519080825280601f01601f191660200182016040528015613e2a576020820181803683370190505b5090505b841561389c57613e3f60018361545d565b9150613e4c600a86615881565b613e57906030615398565b60f81b818381518110613e6c57613e6c6153f5565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613ea6600a86615384565b9450613e2e565b606060008183821a60f81b7fff0000000000000000000000000000000000000000000000000000000000000016613ef557505060408051602081019091526000815292915050565b838260208110613f0757613f076153f5565b1a60f81b7fff0000000000000000000000000000000000000000000000000000000000000016156127425780848360208110613f4557613f456153f5565b1a60f81b604051602001613f5a929190615895565b60405160208183030381529060405290508180613f7690615424565b925050601f821115613f8757612742565b613ef5565b600a546000906201000090046fffffffffffffffffffffffffffffffff16613ff65760405162461bcd60e51b815260206004820152601060248201527f4e6f742072657665616c656420796574000000000000000000000000000000006044820152606401610cdf565b600a54604080517fffffffffffffffffffffffffffffffff000000000000000000000000000000008681166020808401919091526201000090940460801b1660308201528082018590528151808203830181526060909101909152805191012061389c606482615881565b60008061406e8486613f8c565b905060005b83548110156140e25783818154811061408e5761408e6153f5565b600091825260209091200154640100000000900460ff1682116140d0578381815481106140bd576140bd6153f5565b9060005260206000200192505050612742565b806140da81615424565b915050614073565b50601395945050505050565b600980546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600081815b85518110156141fc57600086828151811061417a5761417a6153f5565b602002602001015190508083116141bc5760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506141e9565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806141f481615424565b91505061415d565b509092149392505050565b6001600160a01b03821661425d5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610cdf565b6000818152600260205260409020546001600160a01b0316156142c25760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610cdf565b6142ce60008383614730565b6001600160a01b03821660009081526003602052604081208054600192906142f7908490615398565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b614378848484613b8b565b614384848484846147c6565b6126775760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610cdf565b606081516000141561441657505060408051602081019091526000815290565b6000604051806060016040528060408152602001615ce360409139905060006003845160026144459190615398565b61444f9190615384565b61445a906004615318565b90506000614469826020615398565b67ffffffffffffffff811115614481576144816150ab565b6040519080825280601f01601f1916602001820160405280156144ab576020820181803683370190505b509050818152600183018586518101602084015b81831015614517576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f81168501518253506001016144bf565b600389510660018114614531576002811461457b576145c1565b7f3d3d0000000000000000000000000000000000000000000000000000000000007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe8301526145c1565b7f3d000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8301525b509398975050505050505050565b6145d7614c99565b60405180606001604052806145ef8460000151614973565b815260200161461484604001516fffffffffffffffffffffffffffffffff1916613ead565b815260200161464584600001517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916613ead565b905292915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806146e057507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610bc157507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610bc1565b6001600160a01b03831661476d57600854811461474f5761474f6158dc565b6001600860008282546147629190615398565b909155506147909050565b816001600160a01b0316836001600160a01b031614614790576147908382614bb8565b6001600160a01b0382166147a357505050565b826001600160a01b0316826001600160a01b031614610e3157610e318282614c55565b60006001600160a01b0384163b15614968576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a029061482390339089908890889060040161590b565b602060405180830381600087803b15801561483d57600080fd5b505af192505050801561486d575060408051601f3d908101601f1916820190925261486a91810190615947565b60015b61491d573d80801561489b576040519150601f19603f3d011682016040523d82523d6000602084013e6148a0565b606091505b5080516149155760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610cdf565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a020000000000000000000000000000000000000000000000000000000014905061389c565b506001949350505050565b606060008183821a60f81b7fff00000000000000000000000000000000000000000000000000000000000000166149bb57505060408051602081019091526000815292915050565b8382600481106149cd576149cd6153f5565b1a60f81b7fff00000000000000000000000000000000000000000000000000000000000000161561274257838260048110614a0a57614a0a6153f5565b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167f3c000000000000000000000000000000000000000000000000000000000000001415614a7e5780604051602001614a689190615964565b6040516020818303038152906040529050614b98565b838260048110614a9057614a906153f5565b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167f3e000000000000000000000000000000000000000000000000000000000000001415614aee5780604051602001614a6891906159a5565b838260048110614b0057614b006153f5565b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167f26000000000000000000000000000000000000000000000000000000000000001415614b5e5780604051602001614a6891906159e6565b80848360048110614b7157614b716153f5565b1a60f81b604051602001614b86929190615895565b60405160208183030381529060405290505b81614ba281615424565b9250506003821115614bb357612742565b6149bb565b60006001614bc584611e56565b614bcf919061545d565b600083815260076020526040902054909150808214614c22576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6000614c6083611e56565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60405180606001604052806003905b6060815260200190600190039081614ca85790505090565b6040805160a0810190915260608152600460208201614ca8565b60408051610260810190915260608152601260208201614ca8565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461398357600080fd5b600060208284031215614d3557600080fd5b813561274281614cf5565b60005b83811015614d5b578181015183820152602001614d43565b838111156126775750506000910152565b60008151808452614d84816020860160208601614d40565b601f01601f19169290920160200192915050565b6020815260006127426020830184614d6c565b600060208284031215614dbd57600080fd5b5035919050565b6001600160a01b038116811461398357600080fd5b60008060408385031215614dec57600080fd5b8235614df781614dc4565b946020939093013593505050565b600060208284031215614e1757600080fd5b813567ffffffffffffffff8116811461274257600080fd5b600080600060608486031215614e4457600080fd5b8335614e4f81614dc4565b92506020840135614e5f81614dc4565b929592945050506040919091013590565b803561ffff8116811461135557600080fd5b600060208284031215614e9457600080fd5b61274282614e70565b60008060408385031215614eb057600080fd5b50508035926020909101359150565b600060208284031215614ed157600080fd5b813561274281614dc4565b6020808252825182820181905260009190848201906040850190845b81811015614f1457835183529284019291840191600101614ef8565b50909695505050505050565b60208082526000906080830183820185845b6003811015614f6157601f19878503018352614f4f848351614d6c565b93509184019190840190600101614f32565b50919695505050505050565b60008083601f840112614f7f57600080fd5b50813567ffffffffffffffff811115614f9757600080fd5b6020830191508360208260051b8501011115614fb257600080fd5b9250929050565b600080600060408486031215614fce57600080fd5b833567ffffffffffffffff811115614fe557600080fd5b614ff186828701614f6d565b9094509250615004905060208501614e70565b90509250925092565b60008060006040848603121561502257600080fd5b833567ffffffffffffffff81111561503957600080fd5b61504586828701614f6d565b909450925050602084013561505981614dc4565b809150509250925092565b801515811461398357600080fd5b6000806040838503121561508557600080fd5b823561509081614dc4565b915060208301356150a081615064565b809150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff808411156150f5576150f56150ab565b604051601f8501601f19908116603f0116810190828211818310171561511d5761511d6150ab565b8160405280935085815286868601111561513657600080fd5b858560208301376000602087830101525050509392505050565b6000806000806080858703121561516657600080fd5b843561517181614dc4565b9350602085013561518181614dc4565b925060408501359150606085013567ffffffffffffffff8111156151a457600080fd5b8501601f810187136151b557600080fd5b6151c4878235602084016150da565b91505092959194509250565b600080602083850312156151e357600080fd5b823567ffffffffffffffff8111156151fa57600080fd5b61520685828601614f6d565b90969095509350505050565b6000806040838503121561522557600080fd5b82359150602083013567ffffffffffffffff81111561524357600080fd5b8301601f8101851361525457600080fd5b615263858235602084016150da565b9150509250929050565b6000806040838503121561528057600080fd5b823561528b81614dc4565b915060208301356150a081614dc4565b600181811c908216806152af57607f821691505b602082108114156114d8577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615350576153506152e9565b500290565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60008261539357615393615355565b500490565b600082198211156153ab576153ab6152e9565b500190565b7f415343494920536d696c652023000000000000000000000000000000000000008152600082516153e881600d850160208701614d40565b91909101600d0192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615456576154566152e9565b5060010190565b60008282101561546f5761546f6152e9565b500390565b60008651615486818460208b01614d40565b86519083019061549a818360208b01614d40565b86519101906154ad818360208a01614d40565b85519101906154c0818360208901614d40565b84519101906154d3818360208801614d40565b01979650505050505050565b6000602082840312156154f157600080fd5b5051919050565b60006020828403121561550a57600080fd5b815161274281615064565b600067ffffffffffffffff8083168185168183048111821515161561553c5761553c6152e9565b02949350505050565b600067ffffffffffffffff8084168061556057615560615355565b92169190910492915050565b600061ffff83811690831681811015615587576155876152e9565b039392505050565b7f7b226e616d65223a2200000000000000000000000000000000000000000000008152600082516155c7816009850160208701614d40565b7f222c226465736372697074696f6e223a22556e72657665616c6564222c22696d60099390910192830152507f616765223a22697066733a2f2f516d62377a4b386e757462315668396770697460298201527f48706268795a5878664356384166347270356b61573637574c6353227d0000006049820152606601919050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161567f81601d850160208701614d40565b91909101601d0192915050565b60008a5161569e818460208f01614d40565b8a516156b08183860160208f01614d40565b8a5191840101906156c5818360208e01614d40565b89516156d78183850160208e01614d40565b89519290910101906156ed818360208c01614d40565b87516156ff8183850160208c01614d40565b8751929091010190615715818360208a01614d40565b85516157278183850160208a01614d40565b855192909101019061573d818360208801614d40565b019b9a5050505050505050505050565b6000885160206157608285838e01614d40565b8951918401916157738184848e01614d40565b89519201916157858184848d01614d40565b88519201916157978184848c01614d40565b87519201916157a98184848b01614d40565b86519201916157bb8184848a01614d40565b85519201916157cd8184848901614d40565b919091019a9950505050505050505050565b600084516157f1818460208901614d40565b845190830190615805818360208901614d40565b8451910190615818818360208801614d40565b0195945050505050565b805160208083015191908110156114d8577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60209190910360031b1b16919050565b60006020828403121561587657600080fd5b815161274281614dc4565b60008261589057615890615355565b500690565b600083516158a7818460208801614d40565b7fff00000000000000000000000000000000000000000000000000000000000000939093169190920190815260010192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b60006001600160a01b0380871683528086166020840152508360408301526080606083015261593d6080830184614d6c565b9695505050505050565b60006020828403121561595957600080fd5b815161274281614cf5565b60008251615976818460208701614d40565b7f266c743b00000000000000000000000000000000000000000000000000000000920191825250600401919050565b600082516159b7818460208701614d40565b7f2667743b00000000000000000000000000000000000000000000000000000000920191825250600401919050565b600082516159f8818460208701614d40565b7f26616d703b00000000000000000000000000000000000000000000000000000092019182525060050191905056fe222c20226465736372697074696f6e223a2022415343494920536d696c6573206973206120636f6c6c656374696f6e206f6620656d6f7469636f6e7320736176656420696e2074686520457468657265756d20626c6f636b636861696e2e222c2022696d616765223a2022646174613a696d6167652f7376672b786d6c3b6261736536342c22202f3e3c2f72616469616c4772616469656e743e3c2f646566733e3c672066696c6c3d22222c202261747472696275746573223a205b7b2274726169745f74797065223a2022526172697479222c2276616c7565223a22222077696474683d2235313022206865696768743d223839302220783d2232302220793d223230222066696c6c3d2275726c2823472922207374726f6b652d77696474683d223330222072783d223530222f3e3c7465787420783d2236302220793d22313230223e3a2d293c2f746578743e3c7465787420783d223433302220793d22313230223e3a2d293c2f746578743e3c7465787420783d2236302220793d22383530223e3a2d293c2f746578743e3c7465787420783d223433302220793d22383530223e3a2d293c2f746578743e3c7465787420783d223237352220793d223530302220666f6e742d73697a653d223136302220746578742d616e63686f723d226d6964646c65222077726974696e672d6d6f64653d227462223e2220666f6e742d66616d696c793d2273616e732d73657269662220666f6e742d73697a653d223730223e3c72656374207374726f6b653d22227d2c7b2274726169745f74797065223a20224e6f7365222c2276616c7565223a22227d2c7b2274726169745f74797065223a2022486174222c2276616c7565223a22227d2c7b2274726169745f74797065223a20224d6f757468222c2276616c7565223a22227d2c7b2274726169745f74797065223a202245796573222c2276616c7565223a224142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f227d2c7b2274726169745f74797065223a20224265617264222c2276616c7565223a223c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f737667222077696474683d2235353022206865696768743d22393330223e3c646566733e3c72616469616c4772616469656e742069643d2247223e3c73746f70206f66667365743d22313025222073746f702d636f6c6f723d222365656522202f3e3c73746f70206f66667365743d22373025222073746f702d636f6c6f723d22227d2c7b2274726169745f74797065223a20224153434949222c2276616c7565223a22a2646970667358221220c4f56e0249be5e27e60eecb985c98f12dbf47889075441745ea826d9f0cb1be664736f6c63430008090033

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

000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1

-----Decoded View---------------
Arg [0] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1


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.