ETH Price: $3,135.39 (-4.25%)

Token

DeezChristmasNuts (DCN)
 

Overview

Max Total Supply

2,842 DCN

Holders

1,183

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
neinfussytoken.eth
Balance
1 DCN
0xb7e659c522115cfef11559ee10220875c6cffe02
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:
DeezChristmasNuts

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : DeezChristmasNuts.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";


contract OwnableDelegateProxy {}

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

contract DeezChristmasNuts is ERC721, Ownable {
    
    string public baseURI;
    
    uint16 MAX_NUTS = 3900;
    
    uint16 public totalSupply = 0;

    address proxyRegistryAddress;

    mapping(address => uint256) whitelist;

    mapping(address => uint256) alreadyMinted;

    bytes32 quadMerkleRoot = 0x8a5f23696618d8ec08d8ff0eddfdbea4115d7adc3338a9fc35f25e5f4a70b6b8;
    bytes32 tripleMerkleRoot = 0xdfa0cf29b15a72bd6811b80ca03972535022644df6a45542e8bc2c7f1a7d2565;
    bytes32 doubleMerkleRoot = 0x40de5e23047e3a36df0cdc034ad11cbef7c2db757629ee2b026386e7d0a92db0;
    bytes32 singleMerkleRoot = 0x1dd6f0f46cc19d13a505c433b4ceaad206e8143c68e5b77ee912f19c8ebc6225;

    bool public whitelistMinting;

    constructor(address _proxyRegistryAddress) ERC721("DeezChristmasNuts", "DCN") {
        proxyRegistryAddress = _proxyRegistryAddress;
        whitelistMinting = false;

        whitelist[0xEf72D8793Ab32d20358aa0303ae1405E8B695DA6] = 40;
        whitelist[0x4aE91684870B8B9C30fD79eF329dbaa96487948E] = 7;
        whitelist[0xBC2E6F35B3a525DEAa87919746cf6734E7591599] = 14;
        whitelist[0x0aBa7aAB3cA8B6330C9aE4C7989f347b5D4c9845] = 17;
        whitelist[0x177a683dCB55Dea54c422a15f4dF5bbcf4555985] = 19;
        whitelist[0xfDCF1850AF279738a00037486dA9A23e34E29bc1] = 6;
        whitelist[0x9c3bcBB07A40326B4A44D49df2Bdb83E6bce92aA] = 25;
        whitelist[0x19b44654A1FdD943AF5fb7fBC2C543fC7089A48a] = 5;
        whitelist[0x5bC124b3F28C301F497D3d44eB5c3225651143cb] = 27;
        whitelist[0x1097F467E199018e1F2E506cb646431E863C417f] = 9;
        whitelist[0x719f075ffFF05F1Ea5be249E1C160FFeEa881879] = 28;
        whitelist[0x27Da09392eb0a29511daB80F37f794FB7A103b3b] = 24;
        whitelist[0x82815C90D40073Ad14e1D0cB5bccbf8883862483] = 40;
        whitelist[0x27731cfE14982b9ccF8f7f9149B0CF854c51CA80] = 8;
        whitelist[0x1878388d2AbEF1D5305e2BF1c3Faaf2Cef037a8a] = 10;
        whitelist[0x9809F8AB3767555De4A41dC5E1Ffc15603B947c4] = 21;
        whitelist[0xFeEbB7251827A89143049d400573f71f54676adf] = 6;
        whitelist[0x0228dce3FDBc8381CDfCb3F7Ba9aa08f79b53D11] = 7;
        whitelist[0xfF47e41188Ed3B6598BD30730EccaCeF47985e7D] = 8;
        whitelist[0xa81D50239B25B41Ae762F481dA4DFE2F988A9211] = 35;
        whitelist[0x91684937A44b8bbee1aC193B753Ad50Ae16FC5F0] = 15;
        whitelist[0xAC701696fB691AE00a4d84C67b345Ba55f1C62a3] = 13;
        whitelist[0x9499054d02A725316d61fA896c29D58550ee4a5b] = 5;
        whitelist[0xD9CA2B65B8a90589a16354Ea178A14427b10AD32] = 5;
        whitelist[0x59AdCFcC37c5e58D954fb07162e3d0a14627E595] = 29;
        whitelist[0xD8e84A531b25faaFDa8C59F47ffCf41238AE2005] = 15;
        whitelist[0x54669Ca58bf3A59CaeA8AE5135Db491E4738f65A] = 26;
        whitelist[0x85Bf85Be063129f69D4D1633925A2E440805165A] = 5;
        whitelist[0x61431F590f9bFd848C7d51317A5e7d6e45bEccA2] = 26;
        whitelist[0x1b4b91bb747176451F0F7f73b636baBAfCF31Cc4] = 8;
        whitelist[0x9E68a58209aE4B04755CCEcD2E24A9dD0470755e] = 18;
        whitelist[0xd37893681919ab6b73A402c8E768F5E0ae54B52b] = 7;
        whitelist[0x19F25427742d51289AbA0F0D0EFB7C9d94EE02Db] = 10;
        whitelist[0xDaAf0EE861d80225FB906aeded033B034CA0bc7c] = 6;
        whitelist[0x1fbF4789Ac39De79936cCC29FA6789Db6848a275] = 7;
        whitelist[0x22d6d82aca6065547946b58DcEd7201670d1c1D0] = 12;
        whitelist[0xa28A86E0eAd66214efDC20E3c8193D0cE09268D1] = 14;
        whitelist[0xc5f5380FB9A03526bC256A5C8dfc845Eb9ade311] = 6;
        whitelist[0x791eE19eD660135878D35908D183b7171314D65D] = 8;
        whitelist[0xE3b42E0d193feB565D6fdF27571c178b887e274f] = 17;
        whitelist[0x56a5BBfB753CE8bC7bdeaAF5f68B073a658487B2] = 10;
        whitelist[0xCC850794Ba01EBD8142c8ca32e735f1A942068a0] = 5;
        whitelist[0x08Df0997964fAE66474C4A9Ddb1F7346aC5B5755] = 7;
        whitelist[0x0cac1CA1224c9793975DF39fDB6da713fe5eBA0A] = 5;
        whitelist[0x170a6428e8c06b2Bf63Eb5C32255125E251f7C4a] = 10;
        whitelist[0x8f2838D10F1047Db59D16FC617456C2d4EdA1BA4] = 8;
        whitelist[0x6cdF86e8892CDf00a7a144D81eDb8e8fb6325461] = 7;
        whitelist[0x00818d05Ec157c1E7A77E132761F5553e7800d49] = 5;
        whitelist[0x25aaD7773Ab2cE31b912381e81D3B8e38853FEC6] = 7;
        whitelist[0x379F2C9EE2EC7e52993222Ca95a067f20418CB91] = 9;
        whitelist[0xFce4B6287D101738d133a0AA7b5563316D1A04Dd] = 6;
        whitelist[0x1cb4bFA85adDbe39c028eEEF7f3677Abd86Eb8F6] = 15;
        whitelist[0xc9377B597CA47A54387C11C3bF257e226672C444] = 7;
        whitelist[0xb76f62C8995a14379A3D6d7BCBb8848473C63a29] = 9;
        whitelist[0x4577F7e3e6D7F249f3A4035c96bF14722eF5cfeC] = 7;
        whitelist[0x3810353c0eA030369c48448F992674657e77FDfa] = 5;
        whitelist[0xd88809018C63aB48c284342E24C11805d4870D43] = 5;
        whitelist[0x9f876D90731ea9d8B368BbC1e050A2082077085e] = 6;
        whitelist[0x4344Cf6B85BA6DD3A78ad051459cb1599B68124b] = 6;
        whitelist[0xEa5039f7346F0eE37C943c79dD368C78F0bc8Bac] = 5;
        whitelist[0x1cCDE298D9eA5621B7072caC8196db222164aa50] = 6;
        whitelist[0x7f5bEf39af11AA83dBC4366Dc12053834C1524f6] = 5;
        whitelist[0x274a5F5Ea6a2E0D184800FE891C4Aa5bCc715347] = 11;
        whitelist[0x0F293E7091aA4Fd1002Ee9D98Dd94Bbd310541b0] = 5;
        whitelist[0xf264330b74148F6717b60645350603Be913C0a91] = 5;
        whitelist[0xfa12CD4642C25f893CcBCb9c4b5FeF4c402940E7] = 7;
        whitelist[0x224F0f63DDcb29E9b53277D9000315d04Cc7CB8F] = 5;
        whitelist[0xdeeb758e147ea422E6bAd89bcfAFAbfAc0527949] = 16;
        whitelist[0x2cDA849421183AEFb697455E5610Db2ddF00dD1a] = 6;
        whitelist[0x4676B78d1eF20149d45bfC7eF3Fe4f127c184Be6] = 10;
        whitelist[0x94b5849D9880D5918E4C75e60c84F1c77EF627BF] = 6;
        whitelist[0x96acC14F8d521546637C3f4A6e08127da0f46139] = 5;
        whitelist[0x553aAcf16E6496F2778D810Ae37352C6342bd854] = 5;
        whitelist[0x02DEE48A27027B09b62ad062DC5e08B78eeE59E2] = 7;
        whitelist[0x548E68E4b2d2c0E02bBC43A29DF74B30C5BA1248] = 5;
        whitelist[0xa2F3AD23574867471231126B3C1a5B9b5c663E9A] = 5;
        whitelist[0x389Ea24a2f22E0113Efd1ae606B8E11659FAA8C8] = 12;
        whitelist[0xF4Dc66D1802d76D3B663556ff96F1F35dD01a9BB] = 5;
        whitelist[0xe705E2Cc9cCF39615f3a58fcc0F0D8fB0b6403bD] = 5;
        whitelist[0xD3acb55e8a58a29139e9404dEE5F0bAE5a21c7DA] = 6;
        whitelist[0xf4C3bc30D17B87462397BCBa443361056DC9E31D] = 5;
        whitelist[0xE7A5b718e6111eb3e389668cb76064C19AFDBc78] = 12;
        whitelist[0xdb2b59095Df5a0968DA15B5524f7773f37139528] = 5;
        whitelist[0x056171A08fe9cB2746A3F73C5d8d7c9c211754FF] = 5;
        whitelist[0x44ACeC69a158aAA061C364F8e83275a408B64fb3] = 6;
        whitelist[0x0C377e9832490D17b7F3F27f293386aDd677eD7B] = 5;
        whitelist[0xA21a8e443d516383B2f4108d581D4B4FD767214D] = 5;
        whitelist[0x75ee810CDcDd8750457BA6201F063B33CeBD0E71] = 10;
        whitelist[0x071Ee0E8A94184013cEB38a32d726012872E5354] = 5;
        whitelist[0x048977752E8163EF75e71B4D526e0a36F07A6DD5] = 6;
        whitelist[0x65607550d5D8233772ff5f09b668151381E80c12] = 5;
        whitelist[0xe5B2ebD020CaeB2CBa3d08d9748A7F2D257d1B24] = 5;
        whitelist[0x6d3A613DA670c4d12EA7B29B5774c60C6aeee955] = 5;
        whitelist[0x35389b42afDFca76317aE60920Cf6ae4406d2171] = 33;
        whitelist[0x6478c54d7e93801950Ef4970424D2E84BD1A7eA1] = 6;
        whitelist[0x801f59E2e3373e5401df55b37dC6E6f64bC82BBA] = 9;
        whitelist[0xF7c3ed5ae30561C65b3cd13cc265A5753Ba212Ef] = 33;
        whitelist[0x2b177fdb87A9Bab54b55f1eFf89B0Cf785513403] = 8;
        whitelist[0x01Fb51F8A664f0f2B7cf8f6EEE89F7C1b7e05Ba1] = 6;
        whitelist[0x2E999C8441e6EcA993966f1826199c8260D7237E] = 5;
        whitelist[0x7687B0b3ECD4D659aB6471c75FbeE8C6b069Bb27] = 5;
        whitelist[0x8aD5659a9c25Ee536cBF59c4d61BE4Ae27d25D0F] = 27;
        whitelist[0x37b8218472B7Ae973a94075eEBFa669C1fed0Ffd] = 5;
        whitelist[0x5Bf86144556B3EC85ce16efFb3e2fc458fF18F0B] = 5;
        whitelist[0xFA43c78aF9E7aa87DCB1E552645b27CC952108DD] = 7;
        whitelist[0x4aBff092BbF9e5705ba5216478F3AD0e3468b7E0] = 6;
        whitelist[0x19f8683373259db0c92360BC89D5D8e3624154df] = 5;
        whitelist[0xDAE5F98819cCC28E996c264E63421DB09b307B38] = 5;
        whitelist[0x2dAA384aE89124498D2Ab8115c6E5f2b6eE9d3De] = 5;
        whitelist[0x805b01E7F3Fe127769B249763250222630968b4d] = 7;
        whitelist[0xd5a9C4a92dDE274e126f82b215Fccb511147Cd8e] = 7;
        whitelist[0x32525ad3d4f20eA6732b5069CBD057a861a5Cb61] = 5;
        whitelist[0x7C229eC494Bc316dbAaf4eAB0FBbc19678eA315f] = 8;
        whitelist[0x004e20Cd7d2188fB812BfdB3F8F8bf3b3dA05874] = 5;
        whitelist[0x6e72A7916B0c2d6b09F7DBe8ee60536429633856] = 10;
    }

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

    function setBaseURI(string memory base) public onlyOwner {
        baseURI = base;
    }

    function _baseURI() internal view virtual override returns (string memory) {
        return baseURI;
    }

    function whitelistMint(uint256 amount) external {
        require(whitelistMinting, "Whitelist minting isn't allowed yet");
        require(totalSupply + amount <= MAX_NUTS, "Purchase would exceed max supply");
        require(whitelist[msg.sender] > 0, "Sender is not whitelisted!");
        require(alreadyMinted[msg.sender] + amount <= whitelist[msg.sender], "Mint amount would exceed allowance");

        for (uint256 i = 0; i < amount; i++) {
            _safeMint(msg.sender, totalSupply + 1);
            totalSupply += 1;
        }
        alreadyMinted[msg.sender] = alreadyMinted[msg.sender] + amount; 
    }

    function mintQuadMerkle(bytes32[] calldata _merkleProof) external {
        require(whitelistMinting, "Whitelist minting isn't allowed yet");
        require(totalSupply + 4 <= MAX_NUTS, "Purchase would exceed max supply");
        require(alreadyMinted[msg.sender] < 4, "User already minted 4!");

        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(MerkleProof.verify(_merkleProof, quadMerkleRoot, leaf), "User not whitelisted for 4 mints");

        for (uint256 i = 0; i < 4; i++) {
            _safeMint(msg.sender, totalSupply + 1);
            totalSupply += 1;
        }
        alreadyMinted[msg.sender] = 4;

    }

    function mintTripleMerkle(bytes32[] calldata _merkleProof) external {
        require(whitelistMinting, "Whitelist minting isn't allowed yet");
        require(totalSupply + 3 <= MAX_NUTS, "Purchase would exceed max supply");
        require(alreadyMinted[msg.sender] < 3, "User already minted 3!");

        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(MerkleProof.verify(_merkleProof, tripleMerkleRoot, leaf), "User not whitelisted for 3 mints");

        for (uint256 i = 0; i < 3; i++) {
            _safeMint(msg.sender, totalSupply + 1);
            totalSupply += 1;
        }  

        alreadyMinted[msg.sender] = 3;
        
    }

    function mintDoubleMerkle(bytes32[] calldata _merkleProof) external {
        require(whitelistMinting, "Whitelist minting isn't allowed yet");
        require(totalSupply + 2 <= MAX_NUTS, "Purchase would exceed max supply");
        require(alreadyMinted[msg.sender] < 2, "User already minted 2!");

        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(MerkleProof.verify(_merkleProof, doubleMerkleRoot, leaf), "User not whitelisted for 2 mints");

        for (uint256 i = 0; i < 2; i++) {
            _safeMint(msg.sender, totalSupply + 1);
            totalSupply += 1;
        }  

        alreadyMinted[msg.sender] = 2;
        
    }

    function mintSingle(bytes32[] calldata _merkleProof) external {
        require(whitelistMinting, "Whitelist minting isn't allowed yet");
        require(totalSupply + 1 <= MAX_NUTS, "Purchase would exceed max supply");
        require(alreadyMinted[msg.sender] < 1, "User already minted 1!");

        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(MerkleProof.verify(_merkleProof, singleMerkleRoot, leaf), "User not whitelisted for 1 mints");

        _safeMint(msg.sender, totalSupply + 1);
        totalSupply += 1;
        alreadyMinted[msg.sender] = 1;

        
    }

    function mint(address _address) public onlyOwner {
        require(totalSupply + 1 < MAX_NUTS, "All nuts have already been minted!");
        
        _safeMint(_address, totalSupply + 1);
        
        totalSupply += 1;
    }

    function tokenURI(uint256 tokenId) public view virtual override(ERC721) returns (string memory) {
        return string(abi.encodePacked(_baseURI(), uint2str(tokenId), ".json"));
    }

    function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721) {
        super._beforeTokenTransfer(from, to, tokenId);
    }

    function _burn(uint256 tokenId) internal override(ERC721) {
        super._burn(tokenId);
    }

    function supportsInterface(bytes4 interfaceId) public view override(ERC721) returns (bool) {
        return super.supportsInterface(interfaceId);
    }

    function enableWhitelistMinting() external onlyOwner {
        whitelistMinting = true;
    }


    /**
     * Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-less listings.
     */
    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);
    }

     /**
     * @dev override transfer to prevent transfer of calimed tokens
     */
    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 override transfer to prevent transfer of calimed tokens
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev override transfer to prevent transfer of calimed tokens
     */
    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);
    }
    
    function uint2str(uint _i) internal pure returns (string memory _uintAsString) {
        if (_i == 0) {
            return "0";
        }
        uint j = _i;
        uint len;
        while (j != 0) {
            len++;
            j /= 10;
        }
        bytes memory bstr = new bytes(len);
        uint k = len;
        while (_i != 0) {
            k = k-1;
            uint8 temp = (48 + uint8(_i - _i / 10 * 10));
            bytes1 b1 = bytes1(temp);
            bstr[k] = b1;
            _i /= 10;
        }
        return string(bstr);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

File 4 of 12 : 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 5 of 12 : 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 6 of 12 : 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 7 of 12 : 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 8 of 12 : 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 9 of 12 : 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 10 of 12 : MerkleProof.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = 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;
    }
}

File 11 of 12 : 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 12 of 12 : 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
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "london",
  "libraries": {},
  "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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableWhitelistMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mintDoubleMerkle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mintQuadMerkle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mintSingle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mintTripleMerkle","outputs":[],"stateMutability":"nonpayable","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"base","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"whitelistMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistMinting","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526008805463ffffffff1916610f3c1790557f8a5f23696618d8ec08d8ff0eddfdbea4115d7adc3338a9fc35f25e5f4a70b6b8600b557fdfa0cf29b15a72bd6811b80ca03972535022644df6a45542e8bc2c7f1a7d2565600c557f40de5e23047e3a36df0cdc034ad11cbef7c2db757629ee2b026386e7d0a92db0600d557f1dd6f0f46cc19d13a505c433b4ceaad206e8143c68e5b77ee912f19c8ebc6225600e55348015620000b257600080fd5b50604051620039f8380380620039f8833981016040819052620000d591620012f6565b60408051808201825260118152704465657a4368726973746d61734e75747360781b6020808301918252835180850190945260038452622221a760e91b908401528151919291620001299160009162001250565b5080516200013f90600190602084019062001250565b5050506200015c62000156620011fa60201b60201c565b620011fe565b600880546001600160a01b0390921664010000000002600160201b600160c01b0319909216919091178155600f805460ff191681556009602081905260287fc849d5f75ddea7474a74c136a4f200fd3950110fd62099e213bd6f032809f77081905560077f6efae830c8d117a55c0d70bdfac7926c692b4fb46cdf4990675ce8cbd548ce0e819055600e7fa2c8ce3b82a2fbb2fca2369bcdc05b173a5997c3f57acf877d1dbfeeedd9c8f181905560117f47947e512fe4eb17d22eb456866ccb768e96e8994aafc63ec6adf568671c18c881905560137f21994dd9203383a2f12a764c3adcee02a50121103a205809db7e84e6b01f2c665560067fe7458d105b65dd0678cf3cf822df558b6c6968a917f74e1d1c20401f318cb4c681905560197f6d3e4e7aab800fc5cda941df00d2772f0c393389ce1b1ab7ad395a197b7f39575560057fa3a6cd53c733030149f8c0428195e5c37284765da0a110f39170009d6a733255819055601b7f6683d8da43cf2d16cb1c8a57272a691e34b975bc9eb75e0eade427b32f72a8818190557fcd1be9fe39546b11903ae2dda72df9533d392ed56b2af32e6651642c58ce27c8889055601c7f0787cc6092503085f80b915c12db1504c2eaa5ab4e02569672a75339d82f076b5560187f5b54a5581c150e3fb2c982f8172bfb060da539ac4946f1a4f98792a1fe56b1d9557f0e85437aa1257975006ec41dbdef08603bbf8bfaa1525917fb201ba42f0c97d9969096557fbb38aaf93b5b5b482d2f9ecb05566ed86db35a4d1d8c31d02823c313197dece6899055600a7f27c5bccf86f6a8f3919c6e1cf5bf519177f90336f70a3cdd053bcfafae5871c581905560157fa90ead24984856283e713e5edd92f97b9ee5749d996b1e78bd1961d24f1b9366557fc64fdac927e2e76f3c861cfebaf9a482eeb5de85772b02ec6146ddf60424c6938390557f9b1af215ee243d602c1f268b65e8d42b28a514a844be9bc9235abf89c7466df68690557f3aa4bdb23da65770dbec6bfececa52d0605235409b9a23cfdc7be109fc5d74a38a905560237f117affdc26dfd885556ac5bcbdfabcbbc9966c4087f4763cfdf7fd0096d9ac27557f4114c4e602fd3db4b252b67ddf2025ea9776fca47871e4e493ed2a89f94907ff899055600d7f805c75fddd97c49bba884b2da7fa5c0f5ee441e26322a6237df1330d48c4d87d557fd2346429e68ec4156d5c31be692e2fe876ef89d14fc925c20ee7ec9bc7efa9198290557f3c50f320a6d8921a5ff690b80e16aa56651135d15ac6b97281d53437f551af99829055601d7f8bb3fc91e7063cb55998becebfa3c8fdac32682a444fd5ae78c0f16bcb2a9517557f2a5955f31b7c429452eb29a8e85c10b4088fc4a69c60c59e8dc47e08d1a7eb30899055601a7f49cfe949ae45cce86b8df6a27c624cd24c6b027942bba428782d45b6dbd27d198190557f4b3501e9ee67f4aed18f703f820e4018963f4379dfc03b017343d370bad3b9d38390557f32233f42c691703f0e05da65defc96039556ff9ac3f14cc995e6f039f9232b1f557f363484ded3bbcc135ea0d0f478039214adf0bfcd5757e9bc88f89979398542058a905560127f2715f7ce89f402ef8de146d2dbda042f99bc96a0ccc51851bc7cd0be14ee0b29557fbdd0a81d2cdc358feb24834ed30f58d6a915c035881645077e743470b4570d388690557fc506bdc30ed50f8d763af0f84fff32e501433c52cbe690ce1215386b87e4c15e8190557f3300b03f66dc015d9e86d2694af592bac256a0b004e9f73f7079cf2225761be28390557fdf5fdea4123e41514494ddd08fe4ea42b76810b5e11bd7e98198b6887b4e39f3869055600c7fd4a48478138ed9662ec10aaccc3b4adb21b8a5be63ef79206741d73b654488458190557f038366f0bda18ad0a33610366bee1d7e9c17c0d842ba4b495791c7fbd2224e2a959095557f4ec2d85d5ceb38780e8c73484ed248b73883795cc7f6e3b51cdef340b71bcde08390557fa4ec51e2fc866d4e5a3ee1ef171aa932df93b6801d9188527e8e35b2dce9f72e8a90557fbe37e465a11fe32cddabd9af35c54f04e09254b771e7ad855cbb11d90c51c74a939093557f7b83338c8dc9e38f05195e543307525ab6ac99d2b02212228cbd02eec6618b078390557faccd9fac31475c5068e7983de8eda27da13a56bf26af50bcf0058b9540e4a5288190557fc87977802e2094a365d540bed78a465b8979ffc5f62595ea8ea22a451df29a0f8590557f88cec9944f3837cf51b48dff101221798c363204e68fdae4d610da5e1219917e8190557f665a6444ec21d14051460f608b9b5fc690b11997c399984445fe1f27b92c45a38390557f1574ca73a3424d5455e8a79a7cc0b50383ab6efaa566f48a969c1805c383d0e98990557f9f0319fb613140b033f2712a7fe669a93630b8070776db21f7b43636e3249a5e8590557f5d34c50193b52f7d154b084dd6802509642a325b4c664afe6e8defa5d14f89838190557f6fd988164582d765d23856fdfbbf7024032457e17950fead8bfa046670fbe86d8590557f73c23df18cf8b5a275fbef2f00a50dd84add8fd2c36000d1a09a15cbb58885248790557f67b2b2b27ec45d67a6a948ee6f527a8f151ce96e3ff71f0716eaa5ff058a74178290557fe8a984871f19be6358d6fe96ede300942a70d95514ddd8110d611923f3aab832979097557f8e0538f7d65e48d6733f87b0dbe98d8e7919dd318b8022b09969009160dcbab88490557fd505621afcd7c4e1d4ec9d16644b5675f8d75a2ffb542786eebd99417063dfaa8690557fd432e6bf53d2f053a9809f53f1c57ed6ac1ddeb0d326c16ed618c5b202fa47bf8490557f9a49def512ece4ba392a3f7cd25c206b27a73a894bd4e0a887b9b5e3a194cf178790557fb2c4b18db863cdf1d97c322df6da83c159567aac3b3f958bd35ee7d1207c998a8790557fe58f91915aa5b6b88df80dc5154c1c49c9d6746e54d6640393db6505b258dbfd8190557f3b17fbaa880e698541947ff4e3e546eafd562dd435fe339bb069624fce5f31bf8190557f0f18deb48e0f8606244c4a29c03d3090d931d32ebf20ab1eb01989956a5f45cf8790557f0d9e4bab05c49e0efd8e1b856f170d75ba19753011ffe4a2ea7792ff1b96a2058190557f5d3144fcd280db8780f0161eeb43b990ed0b4e13f780b794008be3e455cb8651879055600b7fc9665a2554240ea9ed35353bc15f16500e731834a5cdb9a8ee5f0e40c10d491a557f65bc38283a4fba729e105eae573ca8dfc43277ae6a0cd1d4a21149e1c021ea0c8790557f807dec9f733c457d94388eb7c0a80a97195e1546aeb84d21d4d47243f70e20c48790557f3a524f0757cb0ae25fe79e66a213c49db1121e0f16d60e559225819144644ed38490557fe2e6a48562117fa082bc0a155a6db4e506db40e68f2e7f0685497abe0efabc5f87905560107fa58623737814d1c95702b7e1534898791f3f4c736a8f25228990cb402246a778557fa7352b733f2b22fcd054d714110ed08c5b81feb4537f9e600594de64495d05558190557fd4b5c0ece61bd2a0fd0d1861005e862580db410ada71ab22d1650d0f03f1d38f8290557fb2dea04ac0282e026496a3959790c0e0b2e221bab343eb507db21a11efd90afa8190557f491c1eafb0f79f6895c6930c96db5e27fefe21a90bfaf720dbcd012157896dc88790557fcbc1e2f3bdbf0f2b5b51b0c21a1f371ac67ebd3be65d5f99feabf8592f5667df8790557f6afa28024168d1bfda43a002c8eb9523a3b8a9550ca2c2359d15c78439d70ba98490557fc258cc691097ab3c4aa2812990bf330b664bda5d6b386f975a9683b9a66b9f4a8790557f1db0de175ae221d39ef5e43714942ead1f2bee33b55b1d8ab5a50e25c2dd33d08790557f116b0cd3d1820117f2890bf0f5d0b84a997c6d914ad81c349e19928dfca7ef708390557f73c6b193c12f3ccb7436cf996b6af1b720aa680f79183764b3498927f03124ad8790557fdbaa76ee53ac17286422cf234d9f346ca7a4361668b7ed916eef5976b28835798790557f0b5cd00aaa00a8dd45c0c0243b1e499389352c7e0261382f52cb82bb10d70a148190557f6f315f40486cee57e9eb07b19a6596d4ddbfcce38c1db42be55c3339f9cbc9cb8790557fe99e06a331178448e1f83b39caf58834f87564a30ba2a3d81942566844571bb6929092557f840dda02f44a293d25a1600083bfa77bea5d2ec1f0160ad9a0650158aa7f94228690557f6d42cb20ac18e61212c4007cd97662fe753d877cb628dd36b5fc4b7c15e663158690557fdae6568a89861daf90b02143314f9309a60053d1ee00c3d16c6d93f016e9d9e38290557fa1c1091ee161af58178246c7ee5bc9cf930464dc7aa70478c631da8bedfe32c28690557f24cb9196c85e2be9757d163e401bb0011ee57d97a3623f5eee1efdff0306e27b8690557f124fe081cfac895112c36c882731be012ddac16eeb20f056592b85d4713164428190557f8a378339c9608d392b12a85174d279647a2ae6557f57c221474d130f8462da618690557f37363454919d9d42fc98c84bdaed90cbc6b402e86a9c6feee3a636140c1e942c8290557f02c0ac44d9c41945003a82f5e4653edf9f157e415061f3e0fa9321ced1fa1dfb8690557f7ef6489f2707b54848f1c0a13bc02d4bfedf4f9184156b1c49b809aef1cb8c978690557fba6e409ba5ae349b24cd2657181568403636b9d8bd901c82b74905ead95745ed86905560217f178be850a55941589cb6f8689652527b2caf011a5f282b28255f06e50bd94ae08190557f55bf0b2ed2713710c0e900a0b3e269a2ab9f37e308f9372cc23e130cc20a906b8390557f4723adb5002807a7ecfbb1797f3e0d58ecc7e627a733f38a0cf8730b23e29d83959095557f0ea69c8d31b4ee6f99aeeed31b84fb9ab1aace85cd4fbad407d8aced8400db4b949094557fe7ce8317c971dfa7c4dcd4cecaccf1113fb6b48ed1a8e6263b36ebba38c685f08690557f86f6db9558d774d1d8c16e578e375f5115a612743b43ae69fef6a4fcade6fb758190557f572def4ff94a513604a15b9f98f6110a5b75770e442e479ed848428fb93bf5e38590557fea3696ad9ba0628bb48304362368c4e322cf20a2dad144b1bb1123f7e70b423c8590557fea56934781ab95bbcde660a524a2f482267c237efc4bd44ace354b6ad42feb0e929092557f8f1bf50727813ee47aad5f95dba0fc75726c8c62cdc9d395740de9c58921f6b78490557f46cca714be530e92a06efe6a43f10c09b11866184702e052431f40f762a962438490557f8bbbfe7c8675b083a4e4e8349b82a7284059daf2f637c0a1511ed33e170ab6e78190557fd9a68f67101809107e0745b05de125d9098c56e15865c8aadc3ae4cd766b9818919091557fd7c628b557de7c72da6ae9c46d676ff4118e79d9c7e9b0bb8589a72768a4aa718390557fb490618fc7ad55b5ff7e4147768f5cdf66d4006b8c2811556963844ef73a849a8390557fd571f1fb322a311249753f87011780f69fdd02a2b2f5be6ca1989ec9b1810fb38390557f599a3d1cbcc3553271b7ad6bf855bf92ddbcc3f751044cd9bdcfccaeef3d7b678190557ff30043701466e47917b1d46399d2e06d330ae123297b193d7e4bf9bc6f166a4f557fa757ba04194862ee2ab181b27f01429eac4777c523af01a1c1814d9c4c3160b48290557f8d4e4c385a43f59b1651d6d819f646db85e77effd4fd4027d991cffacbeb8597929092557f4e31f8a1c93eb43cfc686cf7ce45ee89f079f1e2b482ec3ee4f6aac8c620cd2555736e72a7916b0c2d6b09f7dbe8ee605364296338566000527f13a54580912564bd67c31e655d9410724faf72c59dcd6de3f908d02fc5f532745562001365565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200125e9062001328565b90600052602060002090601f016020900481019282620012825760008555620012cd565b82601f106200129d57805160ff1916838001178555620012cd565b82800160010185558215620012cd579182015b82811115620012cd578251825591602001919060010190620012b0565b50620012db929150620012df565b5090565b5b80821115620012db5760008155600101620012e0565b6000602082840312156200130957600080fd5b81516001600160a01b03811681146200132157600080fd5b9392505050565b600181811c908216806200133d57607f821691505b602082108114156200135f57634e487b7160e01b600052602260045260246000fd5b50919050565b61268380620013756000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80636a627842116100f957806395d89b4111610097578063c87b56dd11610071578063c87b56dd146103a5578063d176b5eb146103b8578063e985e9c5146103cb578063f2fde38b146103de57600080fd5b806395d89b4114610377578063a22cb4651461037f578063b88d4fde1461039257600080fd5b8063715018a6116100d3578063715018a614610338578063868ff4a2146103405780638da5cb5b14610353578063932bc7c31461036457600080fd5b80636a627842146102fc5780636c0360eb1461030f57806370a082311461031757600080fd5b80633ccfd60b1161016657806355f804b31161014057806355f804b3146102b6578063603d4f24146102c95780636352211e146102dc5780636992d229146102ef57600080fd5b80633ccfd60b1461028857806342842e0e1461029057806354eb61b5146102a357600080fd5b8063095ea7b3116101a2578063095ea7b3146102315780630b7b4bef1461024657806318160ddd1461024e57806323b872dd1461027557600080fd5b806301ffc9a7146101c957806306fdde03146101f1578063081812fc14610206575b600080fd5b6101dc6101d7366004611f70565b6103f1565b60405190151581526020015b60405180910390f35b6101f9610402565b6040516101e89190611fec565b610219610214366004611fff565b610494565b6040516001600160a01b0390911681526020016101e8565b61024461023f36600461202d565b61052e565b005b610244610644565b6008546102629062010000900461ffff1681565b60405161ffff90911681526020016101e8565b610244610283366004612059565b61067d565b6102446106ae565b61024461029e366004612059565b61070b565b6102446102b136600461209a565b610726565b6102446102c436600461219b565b610930565b6102446102d736600461209a565b61096d565b6102196102ea366004611fff565b610b6e565b600f546101dc9060ff1681565b61024461030a3660046121e4565b610be5565b6101f9610ce3565b61032a6103253660046121e4565b610d71565b6040519081526020016101e8565b610244610df8565b61024461034e366004611fff565b610e2e565b6006546001600160a01b0316610219565b61024461037236600461209a565b61100b565b6101f961120c565b61024461038d366004612201565b61121b565b6102446103a036600461223f565b6112e0565b6101f96103b3366004611fff565b611318565b6102446103c636600461209a565b611352565b6101dc6103d93660046122bf565b611537565b6102446103ec3660046121e4565b611600565b60006103fc8261169b565b92915050565b606060008054610411906122ed565b80601f016020809104026020016040519081016040528092919081815260200182805461043d906122ed565b801561048a5780601f1061045f5761010080835404028352916020019161048a565b820191906000526020600020905b81548152906001019060200180831161046d57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166105125760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061053982610b6e565b9050806001600160a01b0316836001600160a01b031614156105a75760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610509565b336001600160a01b03821614806105c357506105c38133611537565b6106355760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610509565b61063f83836116eb565b505050565b6006546001600160a01b0316331461066e5760405162461bcd60e51b815260040161050990612328565b600f805460ff19166001179055565b6106873382611759565b6106a35760405162461bcd60e51b81526004016105099061235d565b61063f838383611828565b6006546001600160a01b031633146106d85760405162461bcd60e51b815260040161050990612328565b6040514790339082156108fc029083906000818181858888f19350505050158015610707573d6000803e3d6000fd5b5050565b61063f838383604051806020016040528060008152506112e0565b600f5460ff166107485760405162461bcd60e51b8152600401610509906123ae565b60085461ffff808216916107659162010000909104166003612407565b61ffff1611156107875760405162461bcd60e51b81526004016105099061242d565b336000908152600a60205260409020546003116107df5760405162461bcd60e51b81526020600482015260166024820152755573657220616c7265616479206d696e74656420332160501b6044820152606401610509565b6000336040516020016107f29190612462565b60405160208183030381529060405280519060200120905061084b83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600c5491508490506119c8565b6108975760405162461bcd60e51b815260206004820181905260248201527f55736572206e6f742077686974656c697374656420666f722033206d696e74736044820152606401610509565b60005b6003811015610917576008546108ca9033906108c19062010000900461ffff166001612407565b61ffff16611a77565b6001600860028282829054906101000a900461ffff166108ea9190612407565b92506101000a81548161ffff021916908361ffff160217905550808061090f9061247f565b91505061089a565b5050336000908152600a60205260409020600390555050565b6006546001600160a01b0316331461095a5760405162461bcd60e51b815260040161050990612328565b8051610707906007906020840190611ec1565b600f5460ff1661098f5760405162461bcd60e51b8152600401610509906123ae565b60085461ffff808216916109ac9162010000909104166002612407565b61ffff1611156109ce5760405162461bcd60e51b81526004016105099061242d565b336000908152600a6020526040902054600211610a265760405162461bcd60e51b81526020600482015260166024820152755573657220616c7265616479206d696e74656420322160501b6044820152606401610509565b600033604051602001610a399190612462565b604051602081830303815290604052805190602001209050610a9283838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600d5491508490506119c8565b610ade5760405162461bcd60e51b815260206004820181905260248201527f55736572206e6f742077686974656c697374656420666f722032206d696e74736044820152606401610509565b60005b6002811015610b5557600854610b089033906108c19062010000900461ffff166001612407565b6001600860028282829054906101000a900461ffff16610b289190612407565b92506101000a81548161ffff021916908361ffff1602179055508080610b4d9061247f565b915050610ae1565b5050336000908152600a60205260409020600290555050565b6000818152600260205260408120546001600160a01b0316806103fc5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610509565b6006546001600160a01b03163314610c0f5760405162461bcd60e51b815260040161050990612328565b60085461ffff80821691610c2c9162010000909104166001612407565b61ffff1610610c885760405162461bcd60e51b815260206004820152602260248201527f416c6c206e757473206861766520616c7265616479206265656e206d696e7465604482015261642160f01b6064820152608401610509565b600854610ca69082906108c19062010000900461ffff166001612407565b6001600860028282829054906101000a900461ffff16610cc69190612407565b92506101000a81548161ffff021916908361ffff16021790555050565b60078054610cf0906122ed565b80601f0160208091040260200160405190810160405280929190818152602001828054610d1c906122ed565b8015610d695780601f10610d3e57610100808354040283529160200191610d69565b820191906000526020600020905b815481529060010190602001808311610d4c57829003601f168201915b505050505081565b60006001600160a01b038216610ddc5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610509565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610e225760405162461bcd60e51b815260040161050990612328565b610e2c6000611a91565b565b600f5460ff16610e505760405162461bcd60e51b8152600401610509906123ae565b60085461ffff80821691610e6c9184916201000090041661249a565b1115610e8a5760405162461bcd60e51b81526004016105099061242d565b33600090815260096020526040902054610ee65760405162461bcd60e51b815260206004820152601a60248201527f53656e646572206973206e6f742077686974656c6973746564210000000000006044820152606401610509565b33600090815260096020908152604080832054600a90925290912054610f0d90839061249a565b1115610f665760405162461bcd60e51b815260206004820152602260248201527f4d696e7420616d6f756e7420776f756c642065786365656420616c6c6f77616e604482015261636560f01b6064820152608401610509565b60005b81811015610fdc57600854610f8f9033906108c19062010000900461ffff166001612407565b6001600860028282829054906101000a900461ffff16610faf9190612407565b92506101000a81548161ffff021916908361ffff1602179055508080610fd49061247f565b915050610f69565b50336000908152600a6020526040902054610ff890829061249a565b336000908152600a602052604090205550565b600f5460ff1661102d5760405162461bcd60e51b8152600401610509906123ae565b60085461ffff8082169161104a9162010000909104166004612407565b61ffff16111561106c5760405162461bcd60e51b81526004016105099061242d565b336000908152600a60205260409020546004116110c45760405162461bcd60e51b81526020600482015260166024820152755573657220616c7265616479206d696e74656420342160501b6044820152606401610509565b6000336040516020016110d79190612462565b60405160208183030381529060405280519060200120905061113083838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600b5491508490506119c8565b61117c5760405162461bcd60e51b815260206004820181905260248201527f55736572206e6f742077686974656c697374656420666f722034206d696e74736044820152606401610509565b60005b60048110156111f3576008546111a69033906108c19062010000900461ffff166001612407565b6001600860028282829054906101000a900461ffff166111c69190612407565b92506101000a81548161ffff021916908361ffff16021790555080806111eb9061247f565b91505061117f565b5050336000908152600a60205260409020600490555050565b606060018054610411906122ed565b6001600160a01b0382163314156112745760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610509565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6112ea3383611759565b6113065760405162461bcd60e51b81526004016105099061235d565b61131284848484611ae3565b50505050565b6060611322611b16565b61132b83611b25565b60405160200161133c9291906124b2565b6040516020818303038152906040529050919050565b600f5460ff166113745760405162461bcd60e51b8152600401610509906123ae565b60085461ffff808216916113919162010000909104166001612407565b61ffff1611156113b35760405162461bcd60e51b81526004016105099061242d565b336000908152600a602052604090205460011161140b5760405162461bcd60e51b81526020600482015260166024820152755573657220616c7265616479206d696e74656420312160501b6044820152606401610509565b60003360405160200161141e9190612462565b60405160208183030381529060405280519060200120905061147783838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600e5491508490506119c8565b6114c35760405162461bcd60e51b815260206004820181905260248201527f55736572206e6f742077686974656c697374656420666f722031206d696e74736044820152606401610509565b6008546114e19033906108c19062010000900461ffff166001612407565b6001600860028282829054906101000a900461ffff166115019190612407565b825461ffff9182166101009390930a92830291909202199091161790555050336000908152600a60205260409020600190555050565b60085460405163c455279160e01b81526001600160a01b038481166004830152600092640100000000900481169190841690829063c455279190602401602060405180830381865afa158015611591573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b591906124f1565b6001600160a01b031614156115ce5760019150506103fc565b6001600160a01b0380851660009081526005602090815260408083209387168352929052205460ff165b949350505050565b6006546001600160a01b0316331461162a5760405162461bcd60e51b815260040161050990612328565b6001600160a01b03811661168f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610509565b61169881611a91565b50565b60006001600160e01b031982166380ac58cd60e01b14806116cc57506001600160e01b03198216635b5e139f60e01b145b806103fc57506301ffc9a760e01b6001600160e01b03198316146103fc565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061172082610b6e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166117d25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610509565b60006117dd83610b6e565b9050806001600160a01b0316846001600160a01b031614806118185750836001600160a01b031661180d84610494565b6001600160a01b0316145b806115f857506115f88185611537565b826001600160a01b031661183b82610b6e565b6001600160a01b0316146118a35760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610509565b6001600160a01b0382166119055760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610509565b6119106000826116eb565b6001600160a01b038316600090815260036020526040812080546001929061193990849061250e565b90915550506001600160a01b038216600090815260036020526040812080546001929061196790849061249a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600081815b8551811015611a6c5760008682815181106119ea576119ea612525565b60200260200101519050808311611a2c576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611a59565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080611a648161247f565b9150506119cd565b509092149392505050565b610707828260405180602001604052806000815250611c4e565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611aee848484611828565b611afa84848484611c81565b6113125760405162461bcd60e51b81526004016105099061253b565b606060078054610411906122ed565b606081611b495750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611b735780611b5d8161247f565b9150611b6c9050600a8361258d565b9150611b4d565b60008167ffffffffffffffff811115611b8e57611b8e61210f565b6040519080825280601f01601f191660200182016040528015611bb8576020820181803683370190505b509050815b8515611c4557611bce60018261250e565b90506000611bdd600a8861258d565b611be890600a6125af565b611bf2908861250e565b611bfd9060306125ce565b905060008160f81b905080848481518110611c1a57611c1a612525565b60200101906001600160f81b031916908160001a905350611c3c600a8961258d565b97505050611bbd565b50949350505050565b611c588383611d7f565b611c656000848484611c81565b61063f5760405162461bcd60e51b81526004016105099061253b565b60006001600160a01b0384163b15611d7457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611cc59033908990889088906004016125f3565b6020604051808303816000875af1925050508015611d00575060408051601f3d908101601f19168201909252611cfd91810190612630565b60015b611d5a573d808015611d2e576040519150601f19603f3d011682016040523d82523d6000602084013e611d33565b606091505b508051611d525760405162461bcd60e51b81526004016105099061253b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506115f8565b506001949350505050565b6001600160a01b038216611dd55760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610509565b6000818152600260205260409020546001600160a01b031615611e3a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610509565b6001600160a01b0382166000908152600360205260408120805460019290611e6390849061249a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611ecd906122ed565b90600052602060002090601f016020900481019282611eef5760008555611f35565b82601f10611f0857805160ff1916838001178555611f35565b82800160010185558215611f35579182015b82811115611f35578251825591602001919060010190611f1a565b50611f41929150611f45565b5090565b5b80821115611f415760008155600101611f46565b6001600160e01b03198116811461169857600080fd5b600060208284031215611f8257600080fd5b8135611f8d81611f5a565b9392505050565b60005b83811015611faf578181015183820152602001611f97565b838111156113125750506000910152565b60008151808452611fd8816020860160208601611f94565b601f01601f19169290920160200192915050565b602081526000611f8d6020830184611fc0565b60006020828403121561201157600080fd5b5035919050565b6001600160a01b038116811461169857600080fd5b6000806040838503121561204057600080fd5b823561204b81612018565b946020939093013593505050565b60008060006060848603121561206e57600080fd5b833561207981612018565b9250602084013561208981612018565b929592945050506040919091013590565b600080602083850312156120ad57600080fd5b823567ffffffffffffffff808211156120c557600080fd5b818501915085601f8301126120d957600080fd5b8135818111156120e857600080fd5b8660208260051b85010111156120fd57600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156121405761214061210f565b604051601f8501601f19908116603f011681019082821181831017156121685761216861210f565b8160405280935085815286868601111561218157600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156121ad57600080fd5b813567ffffffffffffffff8111156121c457600080fd5b8201601f810184136121d557600080fd5b6115f884823560208401612125565b6000602082840312156121f657600080fd5b8135611f8d81612018565b6000806040838503121561221457600080fd5b823561221f81612018565b91506020830135801515811461223457600080fd5b809150509250929050565b6000806000806080858703121561225557600080fd5b843561226081612018565b9350602085013561227081612018565b925060408501359150606085013567ffffffffffffffff81111561229357600080fd5b8501601f810187136122a457600080fd5b6122b387823560208401612125565b91505092959194509250565b600080604083850312156122d257600080fd5b82356122dd81612018565b9150602083013561223481612018565b600181811c9082168061230157607f821691505b6020821081141561232257634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60208082526023908201527f57686974656c697374206d696e74696e672069736e277420616c6c6f776564206040820152621e595d60ea1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600061ffff808316818516808303821115612424576124246123f1565b01949350505050565b6020808252818101527f507572636861736520776f756c6420657863656564206d617820737570706c79604082015260600190565b60609190911b6bffffffffffffffffffffffff1916815260140190565b6000600019821415612493576124936123f1565b5060010190565b600082198211156124ad576124ad6123f1565b500190565b600083516124c4818460208801611f94565b8351908301906124d8818360208801611f94565b64173539b7b760d91b9101908152600501949350505050565b60006020828403121561250357600080fd5b8151611f8d81612018565b600082821015612520576125206123f1565b500390565b634e487b7160e01b600052603260045260246000fd5b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6000826125aa57634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156125c9576125c96123f1565b500290565b600060ff821660ff84168060ff038211156125eb576125eb6123f1565b019392505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061262690830184611fc0565b9695505050505050565b60006020828403121561264257600080fd5b8151611f8d81611f5a56fea26469706673582212207d39b856c1e89cc4c84612778497e062b69cb38c030efb362270c8a72e16ea8564736f6c634300080a0033000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101c45760003560e01c80636a627842116100f957806395d89b4111610097578063c87b56dd11610071578063c87b56dd146103a5578063d176b5eb146103b8578063e985e9c5146103cb578063f2fde38b146103de57600080fd5b806395d89b4114610377578063a22cb4651461037f578063b88d4fde1461039257600080fd5b8063715018a6116100d3578063715018a614610338578063868ff4a2146103405780638da5cb5b14610353578063932bc7c31461036457600080fd5b80636a627842146102fc5780636c0360eb1461030f57806370a082311461031757600080fd5b80633ccfd60b1161016657806355f804b31161014057806355f804b3146102b6578063603d4f24146102c95780636352211e146102dc5780636992d229146102ef57600080fd5b80633ccfd60b1461028857806342842e0e1461029057806354eb61b5146102a357600080fd5b8063095ea7b3116101a2578063095ea7b3146102315780630b7b4bef1461024657806318160ddd1461024e57806323b872dd1461027557600080fd5b806301ffc9a7146101c957806306fdde03146101f1578063081812fc14610206575b600080fd5b6101dc6101d7366004611f70565b6103f1565b60405190151581526020015b60405180910390f35b6101f9610402565b6040516101e89190611fec565b610219610214366004611fff565b610494565b6040516001600160a01b0390911681526020016101e8565b61024461023f36600461202d565b61052e565b005b610244610644565b6008546102629062010000900461ffff1681565b60405161ffff90911681526020016101e8565b610244610283366004612059565b61067d565b6102446106ae565b61024461029e366004612059565b61070b565b6102446102b136600461209a565b610726565b6102446102c436600461219b565b610930565b6102446102d736600461209a565b61096d565b6102196102ea366004611fff565b610b6e565b600f546101dc9060ff1681565b61024461030a3660046121e4565b610be5565b6101f9610ce3565b61032a6103253660046121e4565b610d71565b6040519081526020016101e8565b610244610df8565b61024461034e366004611fff565b610e2e565b6006546001600160a01b0316610219565b61024461037236600461209a565b61100b565b6101f961120c565b61024461038d366004612201565b61121b565b6102446103a036600461223f565b6112e0565b6101f96103b3366004611fff565b611318565b6102446103c636600461209a565b611352565b6101dc6103d93660046122bf565b611537565b6102446103ec3660046121e4565b611600565b60006103fc8261169b565b92915050565b606060008054610411906122ed565b80601f016020809104026020016040519081016040528092919081815260200182805461043d906122ed565b801561048a5780601f1061045f5761010080835404028352916020019161048a565b820191906000526020600020905b81548152906001019060200180831161046d57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166105125760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061053982610b6e565b9050806001600160a01b0316836001600160a01b031614156105a75760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610509565b336001600160a01b03821614806105c357506105c38133611537565b6106355760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610509565b61063f83836116eb565b505050565b6006546001600160a01b0316331461066e5760405162461bcd60e51b815260040161050990612328565b600f805460ff19166001179055565b6106873382611759565b6106a35760405162461bcd60e51b81526004016105099061235d565b61063f838383611828565b6006546001600160a01b031633146106d85760405162461bcd60e51b815260040161050990612328565b6040514790339082156108fc029083906000818181858888f19350505050158015610707573d6000803e3d6000fd5b5050565b61063f838383604051806020016040528060008152506112e0565b600f5460ff166107485760405162461bcd60e51b8152600401610509906123ae565b60085461ffff808216916107659162010000909104166003612407565b61ffff1611156107875760405162461bcd60e51b81526004016105099061242d565b336000908152600a60205260409020546003116107df5760405162461bcd60e51b81526020600482015260166024820152755573657220616c7265616479206d696e74656420332160501b6044820152606401610509565b6000336040516020016107f29190612462565b60405160208183030381529060405280519060200120905061084b83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600c5491508490506119c8565b6108975760405162461bcd60e51b815260206004820181905260248201527f55736572206e6f742077686974656c697374656420666f722033206d696e74736044820152606401610509565b60005b6003811015610917576008546108ca9033906108c19062010000900461ffff166001612407565b61ffff16611a77565b6001600860028282829054906101000a900461ffff166108ea9190612407565b92506101000a81548161ffff021916908361ffff160217905550808061090f9061247f565b91505061089a565b5050336000908152600a60205260409020600390555050565b6006546001600160a01b0316331461095a5760405162461bcd60e51b815260040161050990612328565b8051610707906007906020840190611ec1565b600f5460ff1661098f5760405162461bcd60e51b8152600401610509906123ae565b60085461ffff808216916109ac9162010000909104166002612407565b61ffff1611156109ce5760405162461bcd60e51b81526004016105099061242d565b336000908152600a6020526040902054600211610a265760405162461bcd60e51b81526020600482015260166024820152755573657220616c7265616479206d696e74656420322160501b6044820152606401610509565b600033604051602001610a399190612462565b604051602081830303815290604052805190602001209050610a9283838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600d5491508490506119c8565b610ade5760405162461bcd60e51b815260206004820181905260248201527f55736572206e6f742077686974656c697374656420666f722032206d696e74736044820152606401610509565b60005b6002811015610b5557600854610b089033906108c19062010000900461ffff166001612407565b6001600860028282829054906101000a900461ffff16610b289190612407565b92506101000a81548161ffff021916908361ffff1602179055508080610b4d9061247f565b915050610ae1565b5050336000908152600a60205260409020600290555050565b6000818152600260205260408120546001600160a01b0316806103fc5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610509565b6006546001600160a01b03163314610c0f5760405162461bcd60e51b815260040161050990612328565b60085461ffff80821691610c2c9162010000909104166001612407565b61ffff1610610c885760405162461bcd60e51b815260206004820152602260248201527f416c6c206e757473206861766520616c7265616479206265656e206d696e7465604482015261642160f01b6064820152608401610509565b600854610ca69082906108c19062010000900461ffff166001612407565b6001600860028282829054906101000a900461ffff16610cc69190612407565b92506101000a81548161ffff021916908361ffff16021790555050565b60078054610cf0906122ed565b80601f0160208091040260200160405190810160405280929190818152602001828054610d1c906122ed565b8015610d695780601f10610d3e57610100808354040283529160200191610d69565b820191906000526020600020905b815481529060010190602001808311610d4c57829003601f168201915b505050505081565b60006001600160a01b038216610ddc5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610509565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610e225760405162461bcd60e51b815260040161050990612328565b610e2c6000611a91565b565b600f5460ff16610e505760405162461bcd60e51b8152600401610509906123ae565b60085461ffff80821691610e6c9184916201000090041661249a565b1115610e8a5760405162461bcd60e51b81526004016105099061242d565b33600090815260096020526040902054610ee65760405162461bcd60e51b815260206004820152601a60248201527f53656e646572206973206e6f742077686974656c6973746564210000000000006044820152606401610509565b33600090815260096020908152604080832054600a90925290912054610f0d90839061249a565b1115610f665760405162461bcd60e51b815260206004820152602260248201527f4d696e7420616d6f756e7420776f756c642065786365656420616c6c6f77616e604482015261636560f01b6064820152608401610509565b60005b81811015610fdc57600854610f8f9033906108c19062010000900461ffff166001612407565b6001600860028282829054906101000a900461ffff16610faf9190612407565b92506101000a81548161ffff021916908361ffff1602179055508080610fd49061247f565b915050610f69565b50336000908152600a6020526040902054610ff890829061249a565b336000908152600a602052604090205550565b600f5460ff1661102d5760405162461bcd60e51b8152600401610509906123ae565b60085461ffff8082169161104a9162010000909104166004612407565b61ffff16111561106c5760405162461bcd60e51b81526004016105099061242d565b336000908152600a60205260409020546004116110c45760405162461bcd60e51b81526020600482015260166024820152755573657220616c7265616479206d696e74656420342160501b6044820152606401610509565b6000336040516020016110d79190612462565b60405160208183030381529060405280519060200120905061113083838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600b5491508490506119c8565b61117c5760405162461bcd60e51b815260206004820181905260248201527f55736572206e6f742077686974656c697374656420666f722034206d696e74736044820152606401610509565b60005b60048110156111f3576008546111a69033906108c19062010000900461ffff166001612407565b6001600860028282829054906101000a900461ffff166111c69190612407565b92506101000a81548161ffff021916908361ffff16021790555080806111eb9061247f565b91505061117f565b5050336000908152600a60205260409020600490555050565b606060018054610411906122ed565b6001600160a01b0382163314156112745760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610509565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6112ea3383611759565b6113065760405162461bcd60e51b81526004016105099061235d565b61131284848484611ae3565b50505050565b6060611322611b16565b61132b83611b25565b60405160200161133c9291906124b2565b6040516020818303038152906040529050919050565b600f5460ff166113745760405162461bcd60e51b8152600401610509906123ae565b60085461ffff808216916113919162010000909104166001612407565b61ffff1611156113b35760405162461bcd60e51b81526004016105099061242d565b336000908152600a602052604090205460011161140b5760405162461bcd60e51b81526020600482015260166024820152755573657220616c7265616479206d696e74656420312160501b6044820152606401610509565b60003360405160200161141e9190612462565b60405160208183030381529060405280519060200120905061147783838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600e5491508490506119c8565b6114c35760405162461bcd60e51b815260206004820181905260248201527f55736572206e6f742077686974656c697374656420666f722031206d696e74736044820152606401610509565b6008546114e19033906108c19062010000900461ffff166001612407565b6001600860028282829054906101000a900461ffff166115019190612407565b825461ffff9182166101009390930a92830291909202199091161790555050336000908152600a60205260409020600190555050565b60085460405163c455279160e01b81526001600160a01b038481166004830152600092640100000000900481169190841690829063c455279190602401602060405180830381865afa158015611591573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b591906124f1565b6001600160a01b031614156115ce5760019150506103fc565b6001600160a01b0380851660009081526005602090815260408083209387168352929052205460ff165b949350505050565b6006546001600160a01b0316331461162a5760405162461bcd60e51b815260040161050990612328565b6001600160a01b03811661168f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610509565b61169881611a91565b50565b60006001600160e01b031982166380ac58cd60e01b14806116cc57506001600160e01b03198216635b5e139f60e01b145b806103fc57506301ffc9a760e01b6001600160e01b03198316146103fc565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061172082610b6e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166117d25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610509565b60006117dd83610b6e565b9050806001600160a01b0316846001600160a01b031614806118185750836001600160a01b031661180d84610494565b6001600160a01b0316145b806115f857506115f88185611537565b826001600160a01b031661183b82610b6e565b6001600160a01b0316146118a35760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610509565b6001600160a01b0382166119055760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610509565b6119106000826116eb565b6001600160a01b038316600090815260036020526040812080546001929061193990849061250e565b90915550506001600160a01b038216600090815260036020526040812080546001929061196790849061249a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600081815b8551811015611a6c5760008682815181106119ea576119ea612525565b60200260200101519050808311611a2c576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611a59565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080611a648161247f565b9150506119cd565b509092149392505050565b610707828260405180602001604052806000815250611c4e565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611aee848484611828565b611afa84848484611c81565b6113125760405162461bcd60e51b81526004016105099061253b565b606060078054610411906122ed565b606081611b495750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611b735780611b5d8161247f565b9150611b6c9050600a8361258d565b9150611b4d565b60008167ffffffffffffffff811115611b8e57611b8e61210f565b6040519080825280601f01601f191660200182016040528015611bb8576020820181803683370190505b509050815b8515611c4557611bce60018261250e565b90506000611bdd600a8861258d565b611be890600a6125af565b611bf2908861250e565b611bfd9060306125ce565b905060008160f81b905080848481518110611c1a57611c1a612525565b60200101906001600160f81b031916908160001a905350611c3c600a8961258d565b97505050611bbd565b50949350505050565b611c588383611d7f565b611c656000848484611c81565b61063f5760405162461bcd60e51b81526004016105099061253b565b60006001600160a01b0384163b15611d7457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611cc59033908990889088906004016125f3565b6020604051808303816000875af1925050508015611d00575060408051601f3d908101601f19168201909252611cfd91810190612630565b60015b611d5a573d808015611d2e576040519150601f19603f3d011682016040523d82523d6000602084013e611d33565b606091505b508051611d525760405162461bcd60e51b81526004016105099061253b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506115f8565b506001949350505050565b6001600160a01b038216611dd55760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610509565b6000818152600260205260409020546001600160a01b031615611e3a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610509565b6001600160a01b0382166000908152600360205260408120805460019290611e6390849061249a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611ecd906122ed565b90600052602060002090601f016020900481019282611eef5760008555611f35565b82601f10611f0857805160ff1916838001178555611f35565b82800160010185558215611f35579182015b82811115611f35578251825591602001919060010190611f1a565b50611f41929150611f45565b5090565b5b80821115611f415760008155600101611f46565b6001600160e01b03198116811461169857600080fd5b600060208284031215611f8257600080fd5b8135611f8d81611f5a565b9392505050565b60005b83811015611faf578181015183820152602001611f97565b838111156113125750506000910152565b60008151808452611fd8816020860160208601611f94565b601f01601f19169290920160200192915050565b602081526000611f8d6020830184611fc0565b60006020828403121561201157600080fd5b5035919050565b6001600160a01b038116811461169857600080fd5b6000806040838503121561204057600080fd5b823561204b81612018565b946020939093013593505050565b60008060006060848603121561206e57600080fd5b833561207981612018565b9250602084013561208981612018565b929592945050506040919091013590565b600080602083850312156120ad57600080fd5b823567ffffffffffffffff808211156120c557600080fd5b818501915085601f8301126120d957600080fd5b8135818111156120e857600080fd5b8660208260051b85010111156120fd57600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156121405761214061210f565b604051601f8501601f19908116603f011681019082821181831017156121685761216861210f565b8160405280935085815286868601111561218157600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156121ad57600080fd5b813567ffffffffffffffff8111156121c457600080fd5b8201601f810184136121d557600080fd5b6115f884823560208401612125565b6000602082840312156121f657600080fd5b8135611f8d81612018565b6000806040838503121561221457600080fd5b823561221f81612018565b91506020830135801515811461223457600080fd5b809150509250929050565b6000806000806080858703121561225557600080fd5b843561226081612018565b9350602085013561227081612018565b925060408501359150606085013567ffffffffffffffff81111561229357600080fd5b8501601f810187136122a457600080fd5b6122b387823560208401612125565b91505092959194509250565b600080604083850312156122d257600080fd5b82356122dd81612018565b9150602083013561223481612018565b600181811c9082168061230157607f821691505b6020821081141561232257634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60208082526023908201527f57686974656c697374206d696e74696e672069736e277420616c6c6f776564206040820152621e595d60ea1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600061ffff808316818516808303821115612424576124246123f1565b01949350505050565b6020808252818101527f507572636861736520776f756c6420657863656564206d617820737570706c79604082015260600190565b60609190911b6bffffffffffffffffffffffff1916815260140190565b6000600019821415612493576124936123f1565b5060010190565b600082198211156124ad576124ad6123f1565b500190565b600083516124c4818460208801611f94565b8351908301906124d8818360208801611f94565b64173539b7b760d91b9101908152600501949350505050565b60006020828403121561250357600080fd5b8151611f8d81612018565b600082821015612520576125206123f1565b500390565b634e487b7160e01b600052603260045260246000fd5b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6000826125aa57634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156125c9576125c96123f1565b500290565b600060ff821660ff84168060ff038211156125eb576125eb6123f1565b019392505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061262690830184611fc0565b9695505050505050565b60006020828403121561264257600080fd5b8151611f8d81611f5a56fea26469706673582212207d39b856c1e89cc4c84612778497e062b69cb38c030efb362270c8a72e16ea8564736f6c634300080a0033

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.