ETH Price: $3,410.72 (-7.24%)
Gas: 5.43 Gwei
 

Overview

Max Total Supply

59 IRL Alpha Pass

Holders

50

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
chriswood.eth
Balance
1 IRL Alpha Pass
0x9db8e05caf73ec0cfa9ba4458e81521e5c5f739c
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:
Pass

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.8.7;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "./ERC721Enumerable.sol";

//          ___________ _        ___   _     ______ _   _   ___            //
//         |_   _| ___ \ |      / _ \ | |    | ___ \ | | | / _ \           //
// ______    | | | |_/ / |     / /_\ \| |    | |_/ / |_| |/ /_\ \  ______  //
//|______|   | | |    /| |     |  _  || |    |  __/|  _  ||  _  | |______| //
//          _| |_| |\ \| |____ | | | || |____| |   | | | || | | |          //
//          \___/\_| \_\_____/ \_| |_/\_____/\_|   \_| |_/\_| |_/          //


contract Pass is ERC721Enumerable, ERC2981, Ownable {
    string  public              baseURI;
    string  public              contractMetadata;
    address public              proxyRegistryAddress;
    address public              withdrawAddress;

    uint256 public              MaxSupply       = 440;
    uint256 public constant     neonPrice       = 1.0 ether;
    uint256 public constant     noirPrice       = 0.25 ether;
    uint256 public constant     maxNeonPasses   = 69;
    uint256 public constant     maxNoirPasses   = 351;
    uint256 public              neonCount       = 0;
    uint256 public              noirCount       = 0;
    bool public                 premintIsActive = true;
    bool public                 saleIsActive    = false;

    mapping(address => bool)    public projectProxy;
    mapping (uint256 => string) internal _tokenURIs;

    mapping(address => bool)    private alphaHaver;
    mapping(address => bool)    private neonPremint;
    mapping(address => bool)    private noirPremint;
    mapping(address => uint256) public  mintPerWallet;

    uint256 private constant perWalletLimit = 3;

    string private constant _neonMetadata      = "QmPJYFF4V1GuBqtL4URabfMUoxchuoWB4PxCY9d3nH2qAw";
    string private constant _noirMetadata      = "QmUbNqszgBN2VsPCfiz8ez9j7FKtQhn6ndoiZ1zBon4RvH";
    string private constant _noirPartyMetadata = "QmTGoYjwreFcbU5cSc7vCoPtUhguAXaeFQsoxvtmzcrq6W";
    string private constant _neonPartyMetadata = "QmZj3PfYqvCbTMLUEX4q2PnuefDcCfdRS3tT82wyPRvQQg";

    event MintNeon(address minter);
    event MintNoir(address minter);

    constructor(
        string memory _baseURI,
        address _proxyRegistryAddress,
        string memory _contractMetadata,
        address _withdrawAddress
    )
        ERC721("IRL", "IRL Alpha Pass")
    {
        baseURI              = _baseURI;
        proxyRegistryAddress = _proxyRegistryAddress;
        contractMetadata     = _contractMetadata;
        withdrawAddress      = _withdrawAddress;
        _setDefaultRoyalty(withdrawAddress, 750);

        // The Party Crew!
        alphaHaver[0xB3B222F9A47C1DAd79b4318d298deF4B07B3b0c1] = true;
        alphaHaver[0x2Ad5AC132e307d55Dde390E6Fd0b80209735E900] = true;
        alphaHaver[0x4a4958222fdD1674148e5117F0b784f7D1c06e9a] = true;
        alphaHaver[0x4B5bF7fCCCbd98450b215b619B7DbDb036a3dd46] = true;
        alphaHaver[0xDfaFC2b5AA357B6Abd449079A6A739e9351e302c] = true;
        alphaHaver[0xbC50552A5EFA8a0448821ab96164aB03E023044d] = true;
        alphaHaver[0x7cf5D886771bBF65Cd22d8d63E703c1325Eb79E0] = true;
        alphaHaver[0xb337FB8e4Cd712E8716992899842A47Bd95d9c34] = true;
        alphaHaver[0x647C6F3b6fBdecBB41c1D3D8783E793833D5B991] = true;
        alphaHaver[0x15f4DB34B519A4585513371B15b5a5381235dA3e] = true;
        alphaHaver[0x0a5fAC45Bb46C3579b51470018f5893aCf4C4114] = true;
        alphaHaver[0x6d5B79F66FFd63568Ab5f583C6fccd00413afd2a] = true;
        alphaHaver[0x6A45B137c9681cf3CF531Eb61E68545779FACC36] = true;
        alphaHaver[0x0817E382a40d484A8b90C792b399667174E50aB8] = true;
        alphaHaver[0x5dBA9f769dEf51CFE74A90DCC2D0acDA8a43EFF8] = true;
        alphaHaver[0x9689ee48E0BB9e169422dBC999Acd5308045Fe1A] = true;
        alphaHaver[0xBA34F770905BCA025b74e3e32130159d069998BA] = true;
        alphaHaver[0xAA4e17A7a9f3E46339715F214D261D139805E4a4] = true;
        alphaHaver[0xc61961193cACA4cd561e815886Fc13e96Cf18d26] = true;
        alphaHaver[0x4834614C3993e059A5F70a2d48A4Ea90d30e7C13] = true;
        alphaHaver[0x89f59DD98463c2Dbe42B76812666D6E187448E8f] = true;
        alphaHaver[0x097f71D2aBAF370e686fB3F3d773592D9B0031eD] = true;
    }

    function mintNeon(address to) public payable {
        require(saleIsActive, "Sale must be active to mint Pass!");

        if (premintIsActive) {
          require(neonPremint[to], "Must be on Neon Premint List");
        }

        require(msg.value >= neonPrice, "You need more ether!");
        require(mintPerWallet[to] < perWalletLimit, "You've already minted too many!");
        require(neonCount + 1 <= maxNeonPasses, "There's no more Neon Passes to mint!");

        uint256 id = _owners.length;

        string memory metadata;
        if (hasTheAlpha(to) || neonPremint[to] ) {
          metadata = _neonPartyMetadata;
        } else {
          metadata = _neonMetadata;
        }

        _tokenURIs[id] = metadata;
        _mint(to, id);

        mintPerWallet[to] = mintPerWallet[to] + 1;
        ++neonCount;
        emit MintNeon(to);
    }

    function mintNoir(address to) public payable {
        require(saleIsActive, "Sale must be active to mint Pass!");

        if (premintIsActive) {
          require(noirPremint[to], "Must be on Noir Premint List");
        }

        require(mintPerWallet[to] < perWalletLimit, "You've already minted too many!");
        require(msg.value >= noirPrice, "You need more ether!");
        require(noirCount + 1 <= maxNoirPasses, "There's no more Noir Passes to mint!");

        uint256 id = _owners.length;

        string memory metadata;
        if (hasTheAlpha(to) || noirPremint[to] ) {
          metadata = _noirPartyMetadata;
        } else {
          metadata = _noirMetadata;
        }

        _tokenURIs[id] = metadata;
        _mint(to, id);

        mintPerWallet[to] = mintPerWallet[to] + 1;
        ++noirCount;
        emit MintNeon(to);
    }

    function flipProxyState(address proxyAddress) public onlyOwner {
        projectProxy[proxyAddress] = !projectProxy[proxyAddress];
    }

    function burn(uint256 tokenId) public {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "Not approved to burn.");
        _resetTokenRoyalty(tokenId);
        _burn(tokenId);
    }

    function withdraw() public  {
        (bool success, ) = withdrawAddress.call{value: address(this).balance}("");
        require(success, "Failed to send to withdrawAddress.");
    }

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

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

    function batchTransferFrom(address _from, address _to, uint256[] memory _tokenIds) public {
        for (uint256 i = 0; i < _tokenIds.length; i++) {
            transferFrom(_from, _to, _tokenIds[i]);
        }
    }

    function batchSafeTransferFrom(address _from, address _to, uint256[] memory _tokenIds, bytes memory data_) public {
        for (uint256 i = 0; i < _tokenIds.length; i++) {
            safeTransferFrom(_from, _to, _tokenIds[i], data_);
        }
    }

    function isOwnerOf(address account, uint256[] calldata _tokenIds) external view returns (bool){
        for(uint256 i; i < _tokenIds.length; ++i ){
            if(_owners[_tokenIds[i]] != account)
                return false;
        }

        return true;
    }

    function isApprovedForAll(address _owner, address operator) public view override returns (bool) {
        OpenSeaProxyRegistry proxyRegistry = OpenSeaProxyRegistry(proxyRegistryAddress);
        if (address(proxyRegistry.proxies(_owner)) == operator || projectProxy[operator]) return true;
        return super.isApprovedForAll(_owner, operator);
    }

    function _mint(address to, uint256 tokenId) internal virtual override {
        _owners.push(to);
        emit Transfer(address(0), to, tokenId);
    }

    function setNeonPremintList(address[] calldata _addresses) public {
        for (uint256 i = 0; i < _addresses.length; i++) {
          neonPremint[_addresses[i]] = true;
        }
    }

    string[] private doNotWorryAboutIt = [
      "QmWGsLs4Pek1JPHdEAKvrbyw7rgoSMuKaRTJBcbBq2on4Q",
      "QmUTgna4rmEUNfdMNGxEUuxz2gsMNKnERyFvx5bMTqAonb",
      "QmeDZgjqFUpfutXDthhbEKMNGyGSWYdsqsxTFNpx9SGLA3"
      "QmUQKRHXUoRnmKCgvtP2enW2356W8Y24ye6DDBAs9uj8ba",
      "QmdzxDsW82YpkPXxxAyq79hSDvagk5cc7Jk84PsyXX292Q",
      "QmcYBX6ERYFRCeSFiFGb9W2xuQ2YNRwtJUvpCBajv2AHjK",
      "QmUrySu8kFzFwpfTXHQNycYcFtkDHWmdMxVFauZsHHs6ex",
      "QmTpTTJ43ivdQpdftbg6puYc4nt8VnUGYs8MhKsNUrTYBD",
      "Qmcb3c9uHi6H1Urb422xA9tG7GtP2P2njxhQQHj68zHs6c",
      "QmdK5jzTwiSYTGwo5kkEQCC8nac6ZURb7YvjoDTf6WmSF4",
      "QmYhKrx92VctAbFUk4YMqn269EGrvy3fyu7NH3S4bdC7nY",
      "QmSLV5Yo4ycYb4Eyq3SemrjS87Zbj8YX19mRfbGW4cvtP9",
      "QmXusMHd2W8MRjFdWMYuR8dkUcQU99vJ8Q7SvFQATRvzNE",
      "QmcoVHtJW3p3Y3aqX9CfJYB7uMrwjs3CxF32WsNctGsoG8",
      "QmeKHkcvpjzM5VZFDMkxYkFPf53YXBUotBuW3euyN5NJqP",
      "QmP2V4AUhgVeTHTLi8Q9pKDQt3GRhJKJiapkdXv1mvEc8X",
      "QmTdwGg8Dzh6fZeWkq2hGanZSsKUvzGaLoEFxZpg3jQTcV",
      "QmaQKbHhZtFG4227pszDEsF99eXCDEux5TyeXn6ii1YsBK",
      "QmNgeWNGimn1psx7LkhxXCeC9PGVJA4nNxBSiyyarHjEED",
      "QmQaTdXLeeh3BYAT3XSMLKA8FRnxF6eXnquT9fdCERUUZo"
    ];

    // We have to charge you something, or you'll just grab all of them
    uint256 private constant     hackerPriceInWei = 0.08 ether;
    uint256 private              hackerCount      = 0;

    function caveatEmptor(address to) public payable {
        require(saleIsActive, "Sale must be active to mint Pass!");

        require(mintPerWallet[to] < perWalletLimit, "You've already minted too many!");
        require(msg.value >= hackerPriceInWei, "You need more ether!");
        require(hackerCount + 1 <= doNotWorryAboutIt.length, "There's no more Neon Passes to mint!");

        uint256 id = _owners.length;

        string memory metadata = doNotWorryAboutIt[hackerCount];

        _tokenURIs[id] = metadata;
        _mint(to, id);

        mintPerWallet[to] = mintPerWallet[to] + 1;
        ++hackerCount;
    }

    function setContractURI(string memory _contractURI) public onlyOwner {
        contractMetadata = _contractURI;
    }

    function contractURI() public view returns (string memory) {
        return contractMetadata;
    }

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

    function setWithdrawAddress(address newAddress) public onlyOwner {
        withdrawAddress = newAddress;
    }

    function tokenURI(uint256 _tokenId) public view override returns (string memory) {
        require(keccak256(abi.encodePacked(_tokenURIs[_tokenId])) != keccak256(abi.encodePacked("")));
        string memory uri = _tokenURIs[_tokenId];
        return string(abi.encodePacked(baseURI, uri));
    }

    function setProxyRegistryAddress(address _proxyRegistryAddress) external onlyOwner {
        proxyRegistryAddress = _proxyRegistryAddress;
    }

    // 10 Neon and 10 Noir passes to early contributors of GoodWork
    // who got us here where we are today without pay!
    function rewardTheEarlyCrew() external onlyOwner {
        require(_owners.length == 0, 'Minting already has begun.');

        for(uint256 i; i < 10; i++) {
          _tokenURIs[i] = _neonPartyMetadata;
          _mint(owner(), i);
          ++neonCount;
        }

        for(uint256 i = 10; i < 20; i++) {
          _tokenURIs[i] = _noirPartyMetadata;
          _mint(owner(), i);
          ++noirCount;
        }

    }

    function addAlphaHaver(address _degen) public onlyOwner {
      alphaHaver[_degen] = true;
    }

    function hasTheAlpha(address _degen) public view returns(bool) {
      bool userHasAlpha = alphaHaver[_degen];
      return userHasAlpha;
    }

    function updateAlphaStatus(uint256 tokenId) public onlyOwner {
      bytes32 uri = keccak256(abi.encodePacked(_tokenURIs[tokenId]));
      require(
        uri == keccak256(abi.encodePacked(_neonMetadata)) ||
        uri == keccak256(abi.encodePacked(_noirMetadata)),
        "Only can upgrade plain regular passes"
      );

      if (uri == keccak256(abi.encodePacked(_neonMetadata))) {
        _tokenURIs[tokenId] = _neonPartyMetadata;
      } else {
        _tokenURIs[tokenId] = _noirPartyMetadata;
      }
    }

    function flipSaleState() public onlyOwner {
        saleIsActive = !saleIsActive;
    }

    function flipPremintState() public onlyOwner {
        premintIsActive = !premintIsActive;
    }

    function setNoirPremintList(address[] calldata _addresses) public {
        for (uint256 i = 0; i < _addresses.length; i++) {
          noirPremint[_addresses[i]] = true;
        }
    }

    function setTokenMetadata(uint256 _tokenId, string calldata uri) public onlyOwner {
      _tokenURIs[_tokenId] = uri;
    }

    function setRoyaltyInfo(address receiver, uint96 feeBasisPoints) external onlyOwner {
        _setDefaultRoyalty(receiver, feeBasisPoints);
    }

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 3 of 15 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `tokenId` must be already minted.
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

File 4 of 15 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.7;

import "./ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account but rips out the core of the gas-wasting processing that comes from OpenZeppelin.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) {
        return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);
    }

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

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

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

        uint count;
        for(uint i; i < _owners.length; i++){
            if(owner == _owners[i]){
                if(count == index) return i;
                else count++;
            }
        }

        revert("ERC721Enumerable: owner index out of bounds");
    }
}

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

pragma solidity ^0.8.0;

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

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

File 6 of 15 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

File 9 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.7;

import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "./Address.sol";

abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    string private _name;
    string private _symbol;

    // Mapping from token ID to owner address
    address[] internal _owners;

    mapping(uint256 => address) private _tokenApprovals;
    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
        // Do we need this IERC???
        override(ERC165, IERC165)
        // 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 (uint)
    {
        require(owner != address(0), "ERC721: balance query for the zero address");

        uint count;
        for( uint i; i < _owners.length; ++i ){
          if( owner == _owners[i] )
            ++count;
        }
        return count;
    }

    /**
     * @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 {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) {
        // Not sure if this should be less than or equal, but we'll try
        return tokenId <= _owners.length && _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);
        _owners.push(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);

        // _resetTokenRoyalty(tokenId);

        _owners[tokenId] = address(0);

        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);
        _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 10 of 15 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 12 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * 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;

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 15 of 15 : Address.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.6;

library Address {
    function isContract(address account) internal view returns (bool) {
        uint size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"address","name":"_proxyRegistryAddress","type":"address"},{"internalType":"string","name":"_contractMetadata","type":"string"},{"internalType":"address","name":"_withdrawAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter","type":"address"}],"name":"MintNeon","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter","type":"address"}],"name":"MintNoir","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_degen","type":"address"}],"name":"addAlphaHaver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"bytes","name":"data_","type":"bytes"}],"name":"batchSafeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"batchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"caveatEmptor","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"contractMetadata","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipPremintState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"proxyAddress","type":"address"}],"name":"flipProxyState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_degen","type":"address"}],"name":"hasTheAlpha","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"account","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"isOwnerOf","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxNeonPasses","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxNoirPasses","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mintNeon","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mintNoir","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"neonCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"neonPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"noirCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"noirPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"premintIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"projectProxy","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardTheEarlyCrew","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_contractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"setNeonPremintList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"setNoirPremintList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"name":"setProxyRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeBasisPoints","type":"uint96"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"uri","type":"string"}],"name":"setTokenMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setWithdrawAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"updateAlphaStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

6101b8600c556000600d819055600e55600f805461ffff19166001179055610340604052602e6102e0818152608091829190620047f96103003981526020016040518060600160405280602e8152602001620047cb602e913981526020016040518060800160405280605c815260200162004713605c913981526020016040518060600160405280602e81526020016200476f602e913981526020016040518060600160405280602e8152602001620048df602e913981526020016040518060600160405280602e81526020016200490d602e913981526020016040518060600160405280602e815260200162004883602e913981526020016040518060600160405280602e81526020016200462d602e913981526020016040518060600160405280602e8152602001620045ff602e913981526020016040518060600160405280602e8152602001620045d1602e913981526020016040518060600160405280602e8152602001620048b1602e913981526020016040518060600160405280602e8152602001620046e5602e913981526020016040518060600160405280602e815260200162004827602e913981526020016040518060600160405280602e8152602001620046b7602e913981526020016040518060600160405280602e815260200162004855602e913981526020016040518060600160405280602e81526020016200479d602e913981526020016040518060600160405280602e8152602001620045a3602e913981526020016040518060600160405280602e81526020016200465b602e913981526020016040518060600160405280602e815260200162004689602e9139905262000279906016906013620008b6565b5060006017553480156200028c57600080fd5b506040516200493b3803806200493b833981016040819052620002af9162000af3565b604080518082018252600381526212549360ea1b60208083019182528351808501909452600e84526d49524c20416c706861205061737360901b90840152815191929162000300916000916200091a565b508051620003169060019060208401906200091a565b505050620003336200032d6200075b60201b60201c565b6200075f565b8351620003489060089060208701906200091a565b50600a80546001600160a01b0319166001600160a01b0385161790558151620003799060099060208501906200091a565b50600b80546001600160a01b0319166001600160a01b038316908117909155620003a6906102ee620007b1565b5050601260205250507f383728aca2540581b99302ab2f5562e7279e83e7fe8db094f850ed8a572254488054600160ff1991821681179092557ff4c9ab3a7ac4a87682c8bdb5172894323092dcce02194e958534d92c72b574ea80548216831790557f5faed6e32c2d61de859187b82a8dc441544ad8cd6437b4b29c6238caac2ef42280548216831790557fa70eb930c23de5715b9b528610da1231f967aca37aab6253baca9de45054e8d580548216831790557f4e4c45def6ec2672cca03a402124498e2a5482ea5b569374ca867e66a3d2833480548216831790557f0b4b522f99f4862310041c222d5fd8401ff703a16b3fe96149c080227ca3cce980548216831790557f45f4f325bb89c8382f6310ffd5f541d63fc1fc127072e2bb3df13ad9d40e5fc780548216831790557fe8d8e65e6cfc4045a7411511f94e8c6d0d2b3c0d65d677de65a53cf0e805397a80548216831790557f96e515a277fa591518ce91e55630b621c4b98c5fa76f040bc0385cde262d7d9c80548216831790557f791229d27f8e15e964e25cc59297ca10b9b3bd6eb47c1c0a7c38d4ca58f86c9680548216831790557f11670274466564341acbb019a8cc52d819ead754098017bec5b944c424c274d080548216831790557fb2ec6e6e9bef984155810f5bcb63e0cbd27a83ef84c111fb38c9a4338b9667bf80548216831790557fe97856b54a718d49a09ccad49d429837deacb855dd2ad1597361c9b73edb566480548216831790557f0920643d425278893a346d3f4b1a7e2877fa7167dbafb5534f37fb7ce6bf1a6580548216831790557ea5d93fd38a9eeeee6820889b67939bd7e5447d23a74fab406fb9244b62e7e780548216831790557fe0b7fee6147c52ff9c92cee3a1b36e26c40d16a84a2f366b1db7ecd890991e5780548216831790557faa36c509c7c25fb5dea41e9ca627d5088bb2dff12933123bfb533ff52c566edf80548216831790557f97228d82b75b82ca6483222d7d044198fd5af1c4785793efdab79046aaf3182580548216831790557f4eda2db75646c1a7bdb81aeef6ebe83c4a833ff77271ecb32b2805871c3fd02d80548216831790557ff9eb8e33dbca9381a9054c620a9c4fb904cd35f0d06c5149fa836bd2d8ef665a80548216831790557f5c565b7a1516977c015136efe60cba397a136e90d888e390596c3b1be4a6e94d805482168317905573097f71d2abaf370e686fb3f3d773592d9b0031ed6000527fcccad6589fe38fd2193cb8f4d0438edabea8aa88e757b8d1b00b738e92befc6c8054909116909117905562000bd5565b3390565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6127106001600160601b0382161115620008255760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b0382166200087d5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016200081c565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600555565b82805482825590600052602060002090810192821562000908579160200282015b82811115620009085782518051620008f79184916020909101906200091a565b5091602001919060010190620008d7565b5062000916929150620009a5565b5090565b828054620009289062000b82565b90600052602060002090601f0160209004810192826200094c576000855562000997565b82601f106200096757805160ff191683800117855562000997565b8280016001018555821562000997579182015b82811115620009975782518255916020019190600101906200097a565b5062000916929150620009c6565b8082111562000916576000620009bc8282620009dd565b50600101620009a5565b5b80821115620009165760008155600101620009c7565b508054620009eb9062000b82565b6000825580601f10620009fc575050565b601f01602090049060005260206000209081019062000a1c9190620009c6565b50565b80516001600160a01b038116811462000a3757600080fd5b919050565b600082601f83011262000a4e57600080fd5b81516001600160401b038082111562000a6b5762000a6b62000bbf565b604051601f8301601f19908116603f0116810190828211818310171562000a965762000a9662000bbf565b8160405283815260209250868385880101111562000ab357600080fd5b600091505b8382101562000ad7578582018301518183018401529082019062000ab8565b8382111562000ae95760008385830101525b9695505050505050565b6000806000806080858703121562000b0a57600080fd5b84516001600160401b038082111562000b2257600080fd5b62000b308883890162000a3c565b955062000b406020880162000a1f565b9450604087015191508082111562000b5757600080fd5b5062000b668782880162000a3c565b92505062000b776060860162000a1f565b905092959194509250565b600181811c9082168062000b9757607f821691505b6020821081141562000bb957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6139be8062000be56000396000f3fe6080604052600436106103975760003560e01c806370a08231116101dc578063b88d4fde11610102578063e8a3d485116100a0578063f3993d111161006f578063f3993d1114610a6e578063f73c814b14610a8e578063fb86818e14610aae578063fd28944c14610ace57600080fd5b8063e8a3d485146109fa578063e985e9c514610a0f578063eb8d244414610a2f578063f2fde38b14610a4e57600080fd5b8063cd7c0326116100dc578063cd7c032614610989578063cdeb8d30146109a9578063d26ea6c0146109c5578063e477a54d146109e557600080fd5b8063b88d4fde14610936578063bf37d84e14610956578063c87b56dd1461096957600080fd5b80639187e1d41161017a578063a76b4d5611610149578063a76b4d56146108dc578063b1c9717f146108f1578063b36c12841461090b578063b4b62c351461092157600080fd5b80639187e1d414610867578063938e3d7b1461088757806395d89b41146108a7578063a22cb465146108bc57600080fd5b80637cbd9b3d116101b65780637cbd9b3d146107fe578063866c3429146108145780638a903aad146108345780638da5cb5b1461084957600080fd5b806370a08231146107ad578063715018a6146107cd578063755cafef146107e257600080fd5b806342842e0e116102c157806355f804b31161025f5780635f5c46a21161022e5780635f5c46a214610745578063601bbc57146107655780636352211e146107785780636c0360eb1461079857600080fd5b806355f804b3146106c257806357908b32146106e25780635a4fee30146106f55780635bab26e21461071557600080fd5b8063438b63001161029b578063438b6300146106355780634d44660c146106625780634f6ccce714610682578063510ef1de146106a257600080fd5b806342842e0e146105df57806342966c68146105ff57806343814db71461061f57600080fd5b806318160ddd1161033957806334918dfd1161030857806334918dfd1461055c578063375482ef146105715780633ab1a494146105aa5780633ccfd60b146105ca57600080fd5b806318160ddd146104c857806323b872dd146104dd5780632a55205a146104fd5780632f745c591461053c57600080fd5b8063081812fc11610375578063081812fc14610415578063095ea7b31461044d57806313413cd21461046d5780631581b600146104a857600080fd5b806301ffc9a71461039c57806302fa7c47146103d157806306fdde03146103f3575b600080fd5b3480156103a857600080fd5b506103bc6103b736600461324c565b610ae4565b60405190151581526020015b60405180910390f35b3480156103dd57600080fd5b506103f16103ec3660046131d0565b610af5565b005b3480156103ff57600080fd5b50610408610b36565b6040516103c89190613537565b34801561042157600080fd5b506104356104303660046132ec565b610bc8565b6040516001600160a01b0390911681526020016103c8565b34801561045957600080fd5b506103f16104683660046131a4565b610c50565b34801561047957600080fd5b5061049a610488366004612f3a565b60156020526000908152604090205481565b6040519081526020016103c8565b3480156104b457600080fd5b50600b54610435906001600160a01b031681565b3480156104d457600080fd5b5060025461049a565b3480156104e957600080fd5b506103f16104f836600461307b565b610d66565b34801561050957600080fd5b5061051d610518366004613381565b610d98565b604080516001600160a01b0390931683526020830191909152016103c8565b34801561054857600080fd5b5061049a6105573660046131a4565b610e46565b34801561056857600080fd5b506103f1610ef9565b34801561057d57600080fd5b506103bc61058c366004612f3a565b6001600160a01b031660009081526012602052604090205460ff1690565b3480156105b657600080fd5b506103f16105c5366004612f3a565b610f40565b3480156105d657600080fd5b506103f1610f8c565b3480156105eb57600080fd5b506103f16105fa36600461307b565b61103d565b34801561060b57600080fd5b506103f161061a3660046132ec565b611058565b34801561062b57600080fd5b5061049a600e5481565b34801561064157600080fd5b50610655610650366004612f3a565b6110bd565b6040516103c891906134f3565b34801561066e57600080fd5b506103bc61067d36600461311c565b611176565b34801561068e57600080fd5b5061049a61069d3660046132ec565b6111f8565b3480156106ae57600080fd5b506103f16106bd366004613305565b611265565b3480156106ce57600080fd5b506103f16106dd3660046132a3565b6112ae565b6103f16106f0366004612f3a565b6112eb565b34801561070157600080fd5b506103f1610710366004612ff2565b61155e565b34801561072157600080fd5b506103bc610730366004612f3a565b60106020526000908152604090205460ff1681565b34801561075157600080fd5b506103f161076036600461320a565b6115a8565b6103f1610773366004612f3a565b61161a565b34801561078457600080fd5b506104356107933660046132ec565b611885565b3480156107a457600080fd5b50610408611911565b3480156107b957600080fd5b5061049a6107c8366004612f3a565b61199f565b3480156107d957600080fd5b506103f1611a6d565b3480156107ee57600080fd5b5061049a6703782dace9d9000081565b34801561080a57600080fd5b5061049a600d5481565b34801561082057600080fd5b506103f161082f36600461320a565b611aa3565b34801561084057600080fd5b5061049a604581565b34801561085557600080fd5b506007546001600160a01b0316610435565b34801561087357600080fd5b506103f1610882366004612f3a565b611b15565b34801561089357600080fd5b506103f16108a23660046132a3565b611b63565b3480156108b357600080fd5b50610408611ba0565b3480156108c857600080fd5b506103f16108d7366004613171565b611baf565b3480156108e857600080fd5b50610408611c74565b3480156108fd57600080fd5b50600f546103bc9060ff1681565b34801561091757600080fd5b5061049a600c5481565b34801561092d57600080fd5b506103f1611c81565b34801561094257600080fd5b506103f16109513660046130bc565b611e08565b6103f1610964366004612f3a565b611e3a565b34801561097557600080fd5b506104086109843660046132ec565b612028565b34801561099557600080fd5b50600a54610435906001600160a01b031681565b3480156109b557600080fd5b5061049a670de0b6b3a764000081565b3480156109d157600080fd5b506103f16109e0366004612f3a565b61213d565b3480156109f157600080fd5b506103f1612189565b348015610a0657600080fd5b506104086121c7565b348015610a1b57600080fd5b506103bc610a2a366004612f57565b6121d6565b348015610a3b57600080fd5b50600f546103bc90610100900460ff1681565b348015610a5a57600080fd5b506103f1610a69366004612f3a565b6122c9565b348015610a7a57600080fd5b506103f1610a89366004612f90565b612361565b348015610a9a57600080fd5b506103f1610aa9366004612f3a565b6123a3565b348015610aba57600080fd5b506103f1610ac93660046132ec565b6123f6565b348015610ada57600080fd5b5061049a61015f81565b6000610aef826125f6565b92915050565b6007546001600160a01b03163314610b285760405162461bcd60e51b8152600401610b1f906136d1565b60405180910390fd5b610b32828261261b565b5050565b606060008054610b459061380d565b80601f0160208091040260200160405190810160405280929190818152602001828054610b719061380d565b8015610bbe5780601f10610b9357610100808354040283529160200191610bbe565b820191906000526020600020905b815481529060010190602001808311610ba157829003601f168201915b5050505050905090565b6000610bd382612718565b610c345760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b1f565b506000908152600360205260409020546001600160a01b031690565b6000610c5b82611885565b9050806001600160a01b0316836001600160a01b03161415610cc95760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610b1f565b336001600160a01b0382161480610ce55750610ce581336121d6565b610d575760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610b1f565b610d618383612763565b505050565b610d71335b826127d1565b610d8d5760405162461bcd60e51b8152600401610b1f90613706565b610d61838383612893565b60008281526006602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610e0d5750604080518082019091526005546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610e2c906001600160601b0316876137c2565b610e3691906137a0565b91519350909150505b9250929050565b6000610e518361199f565b8210610e6f5760405162461bcd60e51b8152600401610b1f9061358b565b6000805b600254811015610ee05760028181548110610e9057610e90613879565b6000918252602090912001546001600160a01b0386811691161415610ece5783821415610ec0579150610aef9050565b81610eca81613848565b9250505b80610ed881613848565b915050610e73565b5060405162461bcd60e51b8152600401610b1f9061358b565b6007546001600160a01b03163314610f235760405162461bcd60e51b8152600401610b1f906136d1565b600f805461ff001981166101009182900460ff1615909102179055565b6007546001600160a01b03163314610f6a5760405162461bcd60e51b8152600401610b1f906136d1565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b600b546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610fd9576040519150601f19603f3d011682016040523d82523d6000602084013e610fde565b606091505b505090508061103a5760405162461bcd60e51b815260206004820152602260248201527f4661696c656420746f2073656e6420746f207769746864726177416464726573604482015261399760f11b6064820152608401610b1f565b50565b610d6183838360405180602001604052806000815250611e08565b61106133610d6b565b6110a55760405162461bcd60e51b81526020600482015260156024820152742737ba1030b8383937bb32b2103a3790313ab9371760591b6044820152606401610b1f565b60008181526006602052604081205561103a816129e9565b606060006110ca8361199f565b9050806110eb5760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff8111156111065761110661388f565b60405190808252806020026020018201604052801561112f578160200160208202803683370190505b50905060005b828110156110e3576111478582610e46565b82828151811061115957611159613879565b60209081029190910101528061116e81613848565b915050611135565b6000805b828110156111eb57846001600160a01b031660028585848181106111a0576111a0613879565b90506020020135815481106111b7576111b7613879565b6000918252602090912001546001600160a01b0316146111db5760009150506111f1565b6111e481613848565b905061117a565b50600190505b9392505050565b60025460009082106112615760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610b1f565b5090565b6007546001600160a01b0316331461128f5760405162461bcd60e51b8152600401610b1f906136d1565b60008381526011602052604090206112a8908383612cee565b50505050565b6007546001600160a01b031633146112d85760405162461bcd60e51b8152600401610b1f906136d1565b8051610b32906008906020840190612d6e565b600f54610100900460ff166113125760405162461bcd60e51b8152600401610b1f9061354a565b600f5460ff1615611385576001600160a01b03811660009081526013602052604090205460ff166113855760405162461bcd60e51b815260206004820152601c60248201527f4d757374206265206f6e204e656f6e205072656d696e74204c697374000000006044820152606401610b1f565b670de0b6b3a76400003410156113ad5760405162461bcd60e51b8152600401610b1f9061365f565b6001600160a01b0381166000908152601560205260409020546003116113e55760405162461bcd60e51b8152600401610b1f90613628565b6045600d5460016113f69190613788565b11156114145760405162461bcd60e51b8152600401610b1f9061368d565b600254606061143b836001600160a01b031660009081526012602052604090205460ff1690565b8061145e57506001600160a01b03831660009081526013602052604090205460ff165b15611483576040518060600160405280602e81526020016138d1602e9139905061149f565b6040518060600160405280602e815260200161392d602e913990505b600082815260116020908152604090912082516114be92840190612d6e565b506114c98383612a6b565b6001600160a01b0383166000908152601560205260409020546114ed906001613788565b6001600160a01b038416600090815260156020526040812091909155600d805490919061151990613848565b909155506040516001600160a01b03841681527f5b6ebc1b7eb8b8e3213d1d1590c55fe58607ab5ddbb9dd28cabe7b772f05c38e9060200160405180910390a1505050565b60005b82518110156115a15761158f858585848151811061158157611581613879565b602002602001015185611e08565b8061159981613848565b915050611561565b5050505050565b60005b81811015610d61576001601360008585858181106115cb576115cb613879565b90506020020160208101906115e09190612f3a565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061161281613848565b9150506115ab565b600f54610100900460ff166116415760405162461bcd60e51b8152600401610b1f9061354a565b600f5460ff16156116b4576001600160a01b03811660009081526014602052604090205460ff166116b45760405162461bcd60e51b815260206004820152601c60248201527f4d757374206265206f6e204e6f6972205072656d696e74204c697374000000006044820152606401610b1f565b6001600160a01b0381166000908152601560205260409020546003116116ec5760405162461bcd60e51b8152600401610b1f90613628565b6703782dace9d900003410156117145760405162461bcd60e51b8152600401610b1f9061365f565b61015f600e5460016117269190613788565b11156117805760405162461bcd60e51b8152602060048201526024808201527f54686572652773206e6f206d6f7265204e6f69722050617373657320746f206d604482015263696e742160e01b6064820152608401610b1f565b60025460606117a7836001600160a01b031660009081526012602052604090205460ff1690565b806117ca57506001600160a01b03831660009081526014602052604090205460ff165b156117ef576040518060600160405280602e81526020016138ff602e9139905061180b565b6040518060600160405280602e815260200161395b602e913990505b6000828152601160209081526040909120825161182a92840190612d6e565b506118358383612a6b565b6001600160a01b038316600090815260156020526040902054611859906001613788565b6001600160a01b038416600090815260156020526040812091909155600e805490919061151990613848565b6000806002838154811061189b5761189b613879565b6000918252602090912001546001600160a01b0316905080610aef5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610b1f565b6008805461191e9061380d565b80601f016020809104026020016040519081016040528092919081815260200182805461194a9061380d565b80156119975780601f1061196c57610100808354040283529160200191611997565b820191906000526020600020905b81548152906001019060200180831161197a57829003601f168201915b505050505081565b60006001600160a01b038216611a0a5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610b1f565b6000805b600254811015611a665760028181548110611a2b57611a2b613879565b6000918252602090912001546001600160a01b0385811691161415611a5657611a5382613848565b91505b611a5f81613848565b9050611a0e565b5092915050565b6007546001600160a01b03163314611a975760405162461bcd60e51b8152600401610b1f906136d1565b611aa16000612ae7565b565b60005b81811015610d6157600160146000858585818110611ac657611ac6613879565b9050602002016020810190611adb9190612f3a565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580611b0d81613848565b915050611aa6565b6007546001600160a01b03163314611b3f5760405162461bcd60e51b8152600401610b1f906136d1565b6001600160a01b03166000908152601260205260409020805460ff19166001179055565b6007546001600160a01b03163314611b8d5760405162461bcd60e51b8152600401610b1f906136d1565b8051610b32906009906020840190612d6e565b606060018054610b459061380d565b6001600160a01b038216331415611c085760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610b1f565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6009805461191e9061380d565b6007546001600160a01b03163314611cab5760405162461bcd60e51b8152600401610b1f906136d1565b60025415611cfb5760405162461bcd60e51b815260206004820152601a60248201527f4d696e74696e6720616c72656164792068617320626567756e2e0000000000006044820152606401610b1f565b60005b600a811015611d84576040518060600160405280602e81526020016138d1602e913960008281526011602090815260409091208251611d439391929190910190612d6e565b50611d5f611d596007546001600160a01b031690565b82612a6b565b600d60008154611d6e90613848565b9091555080611d7c81613848565b915050611cfe565b50600a5b601481101561103a576040518060600160405280602e81526020016138ff602e913960008281526011602090815260409091208251611dcd9391929190910190612d6e565b50611de3611d596007546001600160a01b031690565b600e60008154611df290613848565b9091555080611e0081613848565b915050611d88565b611e1233836127d1565b611e2e5760405162461bcd60e51b8152600401610b1f90613706565b6112a884848484612b39565b600f54610100900460ff16611e615760405162461bcd60e51b8152600401610b1f9061354a565b6001600160a01b038116600090815260156020526040902054600311611e995760405162461bcd60e51b8152600401610b1f90613628565b67011c37937e080000341015611ec15760405162461bcd60e51b8152600401610b1f9061365f565b601654601754611ed2906001613788565b1115611ef05760405162461bcd60e51b8152600401610b1f9061368d565b60025460175460168054600092908110611f0c57611f0c613879565b906000526020600020018054611f219061380d565b80601f0160208091040260200160405190810160405280929190818152602001828054611f4d9061380d565b8015611f9a5780601f10611f6f57610100808354040283529160200191611f9a565b820191906000526020600020905b815481529060010190602001808311611f7d57829003601f168201915b50505060008581526011602090815260409091208451949550611fc4949093509085019150612d6e565b50611fcf8383612a6b565b6001600160a01b038316600090815260156020526040902054611ff3906001613788565b6001600160a01b0384166000908152601560205260408120919091556017805490919061201f90613848565b90915550505050565b60408051600080825260208083018085528351902085835260119091529083902060609391926120589201613485565b60405160208183030381529060405280519060200120141561207957600080fd5b600082815260116020526040812080546120929061380d565b80601f01602080910402602001604051908101604052809291908181526020018280546120be9061380d565b801561210b5780601f106120e05761010080835404028352916020019161210b565b820191906000526020600020905b8154815290600101906020018083116120ee57829003601f168201915b50505050509050600881604051602001612126929190613491565b604051602081830303815290604052915050919050565b6007546001600160a01b031633146121675760405162461bcd60e51b8152600401610b1f906136d1565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6007546001600160a01b031633146121b35760405162461bcd60e51b8152600401610b1f906136d1565b600f805460ff19811660ff90911615179055565b606060098054610b459061380d565b600a5460405163c455279160e01b81526001600160a01b03848116600483015260009281169190841690829063c45527919060240160206040518083038186803b15801561222357600080fd5b505afa158015612237573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061225b9190613286565b6001600160a01b0316148061228857506001600160a01b03831660009081526010602052604090205460ff165b15612297576001915050610aef565b6001600160a01b0380851660009081526004602090815260408083209387168352929052205460ff165b949350505050565b6007546001600160a01b031633146122f35760405162461bcd60e51b8152600401610b1f906136d1565b6001600160a01b0381166123585760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b1f565b61103a81612ae7565b60005b81518110156112a857612391848484848151811061238457612384613879565b6020026020010151610d66565b8061239b81613848565b915050612364565b6007546001600160a01b031633146123cd5760405162461bcd60e51b8152600401610b1f906136d1565b6001600160a01b03166000908152601060205260409020805460ff19811660ff90911615179055565b6007546001600160a01b031633146124205760405162461bcd60e51b8152600401610b1f906136d1565b6000818152601160209081526040808320905161243d9201613485565b6040516020818303038152906040528051906020012090506040518060600160405280602e815260200161392d602e913960405160200161247e9190613469565b604051602081830303815290604052805190602001208114806124de57506040518060600160405280602e815260200161395b602e91396040516020016124c59190613469565b6040516020818303038152906040528051906020012081145b6125385760405162461bcd60e51b815260206004820152602560248201527f4f6e6c792063616e207570677261646520706c61696e20726567756c61722070604482015264617373657360d81b6064820152608401610b1f565b6040518060600160405280602e815260200161392d602e91396040516020016125619190613469565b604051602081830303815290604052805190602001208114156125ba576040518060600160405280602e81526020016138d1602e913960008381526011602090815260409091208251610d619391929190910190612d6e565b6040518060600160405280602e81526020016138ff602e913960008381526011602090815260409091208251610d619391929190910190612d6e565b60006001600160e01b0319821663152a902d60e11b1480610aef5750610aef82612b6c565b6127106001600160601b03821611156126895760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610b1f565b6001600160a01b0382166126df5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610b1f565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600555565b6002546000908211801590610aef575060006001600160a01b03166002838154811061274657612746613879565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b038416908117909155819061279882611885565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006127dc82612718565b61283d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b1f565b600061284883611885565b9050806001600160a01b0316846001600160a01b031614806128835750836001600160a01b031661287884610bc8565b6001600160a01b0316145b806122c157506122c181856121d6565b826001600160a01b03166128a682611885565b6001600160a01b03161461290e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610b1f565b6001600160a01b0382166129705760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610b1f565b61297b600082612763565b816002828154811061298f5761298f613879565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b60006129f482611885565b9050612a01600083612763565b600060028381548110612a1657612a16613879565b6000918252602082200180546001600160a01b0319166001600160a01b0393841617905560405184928416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612b44848484612893565b612b5084848484612b91565b6112a85760405162461bcd60e51b8152600401610b1f906135d6565b60006001600160e01b0319821663780e9d6360e01b1480610aef5750610aef82612c9e565b60006001600160a01b0384163b15612c9357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612bd59033908990889088906004016134b6565b602060405180830381600087803b158015612bef57600080fd5b505af1925050508015612c1f575060408051601f3d908101601f19168201909252612c1c91810190613269565b60015b612c79573d808015612c4d576040519150601f19603f3d011682016040523d82523d6000602084013e612c52565b606091505b508051612c715760405162461bcd60e51b8152600401610b1f906135d6565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506122c1565b506001949350505050565b60006001600160e01b031982166380ac58cd60e01b1480612ccf57506001600160e01b03198216635b5e139f60e01b145b80610aef57506301ffc9a760e01b6001600160e01b0319831614610aef565b828054612cfa9061380d565b90600052602060002090601f016020900481019282612d1c5760008555612d62565b82601f10612d355782800160ff19823516178555612d62565b82800160010185558215612d62579182015b82811115612d62578235825591602001919060010190612d47565b50611261929150612de2565b828054612d7a9061380d565b90600052602060002090601f016020900481019282612d9c5760008555612d62565b82601f10612db557805160ff1916838001178555612d62565b82800160010185558215612d62579182015b82811115612d62578251825591602001919060010190612dc7565b5b808211156112615760008155600101612de3565b600067ffffffffffffffff831115612e1157612e1161388f565b612e24601f8401601f1916602001613757565b9050828152838383011115612e3857600080fd5b828260208301376000602084830101529392505050565b60008083601f840112612e6157600080fd5b50813567ffffffffffffffff811115612e7957600080fd5b6020830191508360208260051b8501011115610e3f57600080fd5b600082601f830112612ea557600080fd5b8135602067ffffffffffffffff821115612ec157612ec161388f565b8160051b612ed0828201613757565b838152828101908684018388018501891015612eeb57600080fd5b600093505b85841015612f0e578035835260019390930192918401918401612ef0565b50979650505050505050565b600082601f830112612f2b57600080fd5b6111f183833560208501612df7565b600060208284031215612f4c57600080fd5b81356111f1816138a5565b60008060408385031215612f6a57600080fd5b8235612f75816138a5565b91506020830135612f85816138a5565b809150509250929050565b600080600060608486031215612fa557600080fd5b8335612fb0816138a5565b92506020840135612fc0816138a5565b9150604084013567ffffffffffffffff811115612fdc57600080fd5b612fe886828701612e94565b9150509250925092565b6000806000806080858703121561300857600080fd5b8435613013816138a5565b93506020850135613023816138a5565b9250604085013567ffffffffffffffff8082111561304057600080fd5b61304c88838901612e94565b9350606087013591508082111561306257600080fd5b5061306f87828801612f1a565b91505092959194509250565b60008060006060848603121561309057600080fd5b833561309b816138a5565b925060208401356130ab816138a5565b929592945050506040919091013590565b600080600080608085870312156130d257600080fd5b84356130dd816138a5565b935060208501356130ed816138a5565b925060408501359150606085013567ffffffffffffffff81111561311057600080fd5b61306f87828801612f1a565b60008060006040848603121561313157600080fd5b833561313c816138a5565b9250602084013567ffffffffffffffff81111561315857600080fd5b61316486828701612e4f565b9497909650939450505050565b6000806040838503121561318457600080fd5b823561318f816138a5565b915060208301358015158114612f8557600080fd5b600080604083850312156131b757600080fd5b82356131c2816138a5565b946020939093013593505050565b600080604083850312156131e357600080fd5b82356131ee816138a5565b915060208301356001600160601b0381168114612f8557600080fd5b6000806020838503121561321d57600080fd5b823567ffffffffffffffff81111561323457600080fd5b61324085828601612e4f565b90969095509350505050565b60006020828403121561325e57600080fd5b81356111f1816138ba565b60006020828403121561327b57600080fd5b81516111f1816138ba565b60006020828403121561329857600080fd5b81516111f1816138a5565b6000602082840312156132b557600080fd5b813567ffffffffffffffff8111156132cc57600080fd5b8201601f810184136132dd57600080fd5b6122c184823560208401612df7565b6000602082840312156132fe57600080fd5b5035919050565b60008060006040848603121561331a57600080fd5b83359250602084013567ffffffffffffffff8082111561333957600080fd5b818601915086601f83011261334d57600080fd5b81358181111561335c57600080fd5b87602082850101111561336e57600080fd5b6020830194508093505050509250925092565b6000806040838503121561339457600080fd5b50508035926020909101359150565b600081518084526133bb8160208601602086016137e1565b601f01601f19169290920160200192915050565b8054600090600181811c90808316806133e957607f831692505b602080841082141561340b57634e487b7160e01b600052602260045260246000fd5b81801561341f57600181146134305761345d565b60ff1986168952848901965061345d565b60008881526020902060005b868110156134555781548b82015290850190830161343c565b505084890196505b50505050505092915050565b6000825161347b8184602087016137e1565b9190910192915050565b60006111f182846133cf565b600061349d82856133cf565b83516134ad8183602088016137e1565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906134e9908301846133a3565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561352b5783518352928401929184019160010161350f565b50909695505050505050565b6020815260006111f160208301846133a3565b60208082526021908201527f53616c65206d7573742062652061637469766520746f206d696e7420506173736040820152602160f81b606082015260800190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601f908201527f596f7527766520616c7265616479206d696e74656420746f6f206d616e792100604082015260600190565b602080825260149082015273596f75206e656564206d6f72652065746865722160601b604082015260600190565b60208082526024908201527f54686572652773206e6f206d6f7265204e656f6e2050617373657320746f206d604082015263696e742160e01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff811182821017156137805761378061388f565b604052919050565b6000821982111561379b5761379b613863565b500190565b6000826137bd57634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156137dc576137dc613863565b500290565b60005b838110156137fc5781810151838201526020016137e4565b838111156112a85750506000910152565b600181811c9082168061382157607f821691505b6020821081141561384257634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561385c5761385c613863565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461103a57600080fd5b6001600160e01b03198116811461103a57600080fdfe516d5a6a3350665971764362544d4c554558347132506e7565664463436664525333745438327779505276515167516d54476f596a77726546636255356353633776436f507455686775415861654651736f7876746d7a6372713657516d504a59464634563147754271744c3455526162664d556f786368756f574234507843593964336e4832714177516d55624e71737a67424e325673504366697a38657a396a37464b7451686e366e646f695a317a426f6e34527648a26469706673582212206353bb915014edcf40a03a4c42fa259e8ff851f857788df247b9b6b0d41ff85f64736f6c63430008070033516d61514b6248685a7446473432323770737a4445734639396558434445757835547965586e366969315973424b516d59684b72783932566374416246556b34594d716e323639454772767933667975374e48335334626443376e59516d644b356a7a54776953595447776f356b6b45514343386e6163365a5552623759766a6f44546636576d534634516d63623363397548693648315572623432327841397447374774503250326e6a78685151486a36387a48733663516d4e6765574e47696d6e31707378374c6b687858436543395047564a41346e4e7842536979796172486a454544516d51615464584c65656833425941543358534d4c4b413846526e78463665586e71755439666443455255555a6f516d654b486b6376706a7a4d35565a46444d6b78596b4650663533595842556f74427557336575794e354e4a7150516d5875734d48643257384d526a4664574d59755238646b556351553939764a38513753764651415452767a4e45516d65445a676a71465570667574584474686862454b4d4e477947535759647371737854464e70783953474c4133516d55514b524858556f526e6d4b436776745032656e57323335365738593234796536444442417339756a386261516d647a78447357383259706b5058787841797137396853447661676b356363374a6b3834507379585832393251516d546477476738447a6836665a65576b71326847616e5a53734b55767a47614c6f4546785a7067336a51546356516d5554676e6134726d45554e66644d4e4778455575787a3267734d4e4b6e45527946767835624d5471416f6e62516d5747734c733450656b314a50486445414b76726279773772676f534d754b6152544a4263624271326f6e3451516d636f5648744a5733703359336171583943664a594237754d72776a7333437846333257734e637447736f4738516d503256344155686756655448544c69385139704b445174334752684a4b4a6961706b645876316d7645633858516d547054544a3433697664517064667462673670755963346e7438566e55475973384d684b734e557254594244516d534c5635596f3479635962344579713353656d726a5338375a626a38595831396d5266624757346376745039516d63594258364552594652436553466946476239573278755132594e5277744a5576704342616a763241486a4b516d5572795375386b467a46777066545848514e7963596346746b4448576d644d78564661755a734848733665780000000000000000000000000000000000000000000000000000000000000080000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c100000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000d35190c31e775bbad32ff079f2267288883fb5910000000000000000000000000000000000000000000000000000000000000007697066733a2f2f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d523352586978646b6a58627846366d44413256516873437448584d34683954466232344c6b6b484e397037390000000000000000000000

Deployed Bytecode

0x6080604052600436106103975760003560e01c806370a08231116101dc578063b88d4fde11610102578063e8a3d485116100a0578063f3993d111161006f578063f3993d1114610a6e578063f73c814b14610a8e578063fb86818e14610aae578063fd28944c14610ace57600080fd5b8063e8a3d485146109fa578063e985e9c514610a0f578063eb8d244414610a2f578063f2fde38b14610a4e57600080fd5b8063cd7c0326116100dc578063cd7c032614610989578063cdeb8d30146109a9578063d26ea6c0146109c5578063e477a54d146109e557600080fd5b8063b88d4fde14610936578063bf37d84e14610956578063c87b56dd1461096957600080fd5b80639187e1d41161017a578063a76b4d5611610149578063a76b4d56146108dc578063b1c9717f146108f1578063b36c12841461090b578063b4b62c351461092157600080fd5b80639187e1d414610867578063938e3d7b1461088757806395d89b41146108a7578063a22cb465146108bc57600080fd5b80637cbd9b3d116101b65780637cbd9b3d146107fe578063866c3429146108145780638a903aad146108345780638da5cb5b1461084957600080fd5b806370a08231146107ad578063715018a6146107cd578063755cafef146107e257600080fd5b806342842e0e116102c157806355f804b31161025f5780635f5c46a21161022e5780635f5c46a214610745578063601bbc57146107655780636352211e146107785780636c0360eb1461079857600080fd5b806355f804b3146106c257806357908b32146106e25780635a4fee30146106f55780635bab26e21461071557600080fd5b8063438b63001161029b578063438b6300146106355780634d44660c146106625780634f6ccce714610682578063510ef1de146106a257600080fd5b806342842e0e146105df57806342966c68146105ff57806343814db71461061f57600080fd5b806318160ddd1161033957806334918dfd1161030857806334918dfd1461055c578063375482ef146105715780633ab1a494146105aa5780633ccfd60b146105ca57600080fd5b806318160ddd146104c857806323b872dd146104dd5780632a55205a146104fd5780632f745c591461053c57600080fd5b8063081812fc11610375578063081812fc14610415578063095ea7b31461044d57806313413cd21461046d5780631581b600146104a857600080fd5b806301ffc9a71461039c57806302fa7c47146103d157806306fdde03146103f3575b600080fd5b3480156103a857600080fd5b506103bc6103b736600461324c565b610ae4565b60405190151581526020015b60405180910390f35b3480156103dd57600080fd5b506103f16103ec3660046131d0565b610af5565b005b3480156103ff57600080fd5b50610408610b36565b6040516103c89190613537565b34801561042157600080fd5b506104356104303660046132ec565b610bc8565b6040516001600160a01b0390911681526020016103c8565b34801561045957600080fd5b506103f16104683660046131a4565b610c50565b34801561047957600080fd5b5061049a610488366004612f3a565b60156020526000908152604090205481565b6040519081526020016103c8565b3480156104b457600080fd5b50600b54610435906001600160a01b031681565b3480156104d457600080fd5b5060025461049a565b3480156104e957600080fd5b506103f16104f836600461307b565b610d66565b34801561050957600080fd5b5061051d610518366004613381565b610d98565b604080516001600160a01b0390931683526020830191909152016103c8565b34801561054857600080fd5b5061049a6105573660046131a4565b610e46565b34801561056857600080fd5b506103f1610ef9565b34801561057d57600080fd5b506103bc61058c366004612f3a565b6001600160a01b031660009081526012602052604090205460ff1690565b3480156105b657600080fd5b506103f16105c5366004612f3a565b610f40565b3480156105d657600080fd5b506103f1610f8c565b3480156105eb57600080fd5b506103f16105fa36600461307b565b61103d565b34801561060b57600080fd5b506103f161061a3660046132ec565b611058565b34801561062b57600080fd5b5061049a600e5481565b34801561064157600080fd5b50610655610650366004612f3a565b6110bd565b6040516103c891906134f3565b34801561066e57600080fd5b506103bc61067d36600461311c565b611176565b34801561068e57600080fd5b5061049a61069d3660046132ec565b6111f8565b3480156106ae57600080fd5b506103f16106bd366004613305565b611265565b3480156106ce57600080fd5b506103f16106dd3660046132a3565b6112ae565b6103f16106f0366004612f3a565b6112eb565b34801561070157600080fd5b506103f1610710366004612ff2565b61155e565b34801561072157600080fd5b506103bc610730366004612f3a565b60106020526000908152604090205460ff1681565b34801561075157600080fd5b506103f161076036600461320a565b6115a8565b6103f1610773366004612f3a565b61161a565b34801561078457600080fd5b506104356107933660046132ec565b611885565b3480156107a457600080fd5b50610408611911565b3480156107b957600080fd5b5061049a6107c8366004612f3a565b61199f565b3480156107d957600080fd5b506103f1611a6d565b3480156107ee57600080fd5b5061049a6703782dace9d9000081565b34801561080a57600080fd5b5061049a600d5481565b34801561082057600080fd5b506103f161082f36600461320a565b611aa3565b34801561084057600080fd5b5061049a604581565b34801561085557600080fd5b506007546001600160a01b0316610435565b34801561087357600080fd5b506103f1610882366004612f3a565b611b15565b34801561089357600080fd5b506103f16108a23660046132a3565b611b63565b3480156108b357600080fd5b50610408611ba0565b3480156108c857600080fd5b506103f16108d7366004613171565b611baf565b3480156108e857600080fd5b50610408611c74565b3480156108fd57600080fd5b50600f546103bc9060ff1681565b34801561091757600080fd5b5061049a600c5481565b34801561092d57600080fd5b506103f1611c81565b34801561094257600080fd5b506103f16109513660046130bc565b611e08565b6103f1610964366004612f3a565b611e3a565b34801561097557600080fd5b506104086109843660046132ec565b612028565b34801561099557600080fd5b50600a54610435906001600160a01b031681565b3480156109b557600080fd5b5061049a670de0b6b3a764000081565b3480156109d157600080fd5b506103f16109e0366004612f3a565b61213d565b3480156109f157600080fd5b506103f1612189565b348015610a0657600080fd5b506104086121c7565b348015610a1b57600080fd5b506103bc610a2a366004612f57565b6121d6565b348015610a3b57600080fd5b50600f546103bc90610100900460ff1681565b348015610a5a57600080fd5b506103f1610a69366004612f3a565b6122c9565b348015610a7a57600080fd5b506103f1610a89366004612f90565b612361565b348015610a9a57600080fd5b506103f1610aa9366004612f3a565b6123a3565b348015610aba57600080fd5b506103f1610ac93660046132ec565b6123f6565b348015610ada57600080fd5b5061049a61015f81565b6000610aef826125f6565b92915050565b6007546001600160a01b03163314610b285760405162461bcd60e51b8152600401610b1f906136d1565b60405180910390fd5b610b32828261261b565b5050565b606060008054610b459061380d565b80601f0160208091040260200160405190810160405280929190818152602001828054610b719061380d565b8015610bbe5780601f10610b9357610100808354040283529160200191610bbe565b820191906000526020600020905b815481529060010190602001808311610ba157829003601f168201915b5050505050905090565b6000610bd382612718565b610c345760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b1f565b506000908152600360205260409020546001600160a01b031690565b6000610c5b82611885565b9050806001600160a01b0316836001600160a01b03161415610cc95760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610b1f565b336001600160a01b0382161480610ce55750610ce581336121d6565b610d575760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610b1f565b610d618383612763565b505050565b610d71335b826127d1565b610d8d5760405162461bcd60e51b8152600401610b1f90613706565b610d61838383612893565b60008281526006602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610e0d5750604080518082019091526005546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610e2c906001600160601b0316876137c2565b610e3691906137a0565b91519350909150505b9250929050565b6000610e518361199f565b8210610e6f5760405162461bcd60e51b8152600401610b1f9061358b565b6000805b600254811015610ee05760028181548110610e9057610e90613879565b6000918252602090912001546001600160a01b0386811691161415610ece5783821415610ec0579150610aef9050565b81610eca81613848565b9250505b80610ed881613848565b915050610e73565b5060405162461bcd60e51b8152600401610b1f9061358b565b6007546001600160a01b03163314610f235760405162461bcd60e51b8152600401610b1f906136d1565b600f805461ff001981166101009182900460ff1615909102179055565b6007546001600160a01b03163314610f6a5760405162461bcd60e51b8152600401610b1f906136d1565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b600b546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610fd9576040519150601f19603f3d011682016040523d82523d6000602084013e610fde565b606091505b505090508061103a5760405162461bcd60e51b815260206004820152602260248201527f4661696c656420746f2073656e6420746f207769746864726177416464726573604482015261399760f11b6064820152608401610b1f565b50565b610d6183838360405180602001604052806000815250611e08565b61106133610d6b565b6110a55760405162461bcd60e51b81526020600482015260156024820152742737ba1030b8383937bb32b2103a3790313ab9371760591b6044820152606401610b1f565b60008181526006602052604081205561103a816129e9565b606060006110ca8361199f565b9050806110eb5760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff8111156111065761110661388f565b60405190808252806020026020018201604052801561112f578160200160208202803683370190505b50905060005b828110156110e3576111478582610e46565b82828151811061115957611159613879565b60209081029190910101528061116e81613848565b915050611135565b6000805b828110156111eb57846001600160a01b031660028585848181106111a0576111a0613879565b90506020020135815481106111b7576111b7613879565b6000918252602090912001546001600160a01b0316146111db5760009150506111f1565b6111e481613848565b905061117a565b50600190505b9392505050565b60025460009082106112615760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610b1f565b5090565b6007546001600160a01b0316331461128f5760405162461bcd60e51b8152600401610b1f906136d1565b60008381526011602052604090206112a8908383612cee565b50505050565b6007546001600160a01b031633146112d85760405162461bcd60e51b8152600401610b1f906136d1565b8051610b32906008906020840190612d6e565b600f54610100900460ff166113125760405162461bcd60e51b8152600401610b1f9061354a565b600f5460ff1615611385576001600160a01b03811660009081526013602052604090205460ff166113855760405162461bcd60e51b815260206004820152601c60248201527f4d757374206265206f6e204e656f6e205072656d696e74204c697374000000006044820152606401610b1f565b670de0b6b3a76400003410156113ad5760405162461bcd60e51b8152600401610b1f9061365f565b6001600160a01b0381166000908152601560205260409020546003116113e55760405162461bcd60e51b8152600401610b1f90613628565b6045600d5460016113f69190613788565b11156114145760405162461bcd60e51b8152600401610b1f9061368d565b600254606061143b836001600160a01b031660009081526012602052604090205460ff1690565b8061145e57506001600160a01b03831660009081526013602052604090205460ff165b15611483576040518060600160405280602e81526020016138d1602e9139905061149f565b6040518060600160405280602e815260200161392d602e913990505b600082815260116020908152604090912082516114be92840190612d6e565b506114c98383612a6b565b6001600160a01b0383166000908152601560205260409020546114ed906001613788565b6001600160a01b038416600090815260156020526040812091909155600d805490919061151990613848565b909155506040516001600160a01b03841681527f5b6ebc1b7eb8b8e3213d1d1590c55fe58607ab5ddbb9dd28cabe7b772f05c38e9060200160405180910390a1505050565b60005b82518110156115a15761158f858585848151811061158157611581613879565b602002602001015185611e08565b8061159981613848565b915050611561565b5050505050565b60005b81811015610d61576001601360008585858181106115cb576115cb613879565b90506020020160208101906115e09190612f3a565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061161281613848565b9150506115ab565b600f54610100900460ff166116415760405162461bcd60e51b8152600401610b1f9061354a565b600f5460ff16156116b4576001600160a01b03811660009081526014602052604090205460ff166116b45760405162461bcd60e51b815260206004820152601c60248201527f4d757374206265206f6e204e6f6972205072656d696e74204c697374000000006044820152606401610b1f565b6001600160a01b0381166000908152601560205260409020546003116116ec5760405162461bcd60e51b8152600401610b1f90613628565b6703782dace9d900003410156117145760405162461bcd60e51b8152600401610b1f9061365f565b61015f600e5460016117269190613788565b11156117805760405162461bcd60e51b8152602060048201526024808201527f54686572652773206e6f206d6f7265204e6f69722050617373657320746f206d604482015263696e742160e01b6064820152608401610b1f565b60025460606117a7836001600160a01b031660009081526012602052604090205460ff1690565b806117ca57506001600160a01b03831660009081526014602052604090205460ff165b156117ef576040518060600160405280602e81526020016138ff602e9139905061180b565b6040518060600160405280602e815260200161395b602e913990505b6000828152601160209081526040909120825161182a92840190612d6e565b506118358383612a6b565b6001600160a01b038316600090815260156020526040902054611859906001613788565b6001600160a01b038416600090815260156020526040812091909155600e805490919061151990613848565b6000806002838154811061189b5761189b613879565b6000918252602090912001546001600160a01b0316905080610aef5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610b1f565b6008805461191e9061380d565b80601f016020809104026020016040519081016040528092919081815260200182805461194a9061380d565b80156119975780601f1061196c57610100808354040283529160200191611997565b820191906000526020600020905b81548152906001019060200180831161197a57829003601f168201915b505050505081565b60006001600160a01b038216611a0a5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610b1f565b6000805b600254811015611a665760028181548110611a2b57611a2b613879565b6000918252602090912001546001600160a01b0385811691161415611a5657611a5382613848565b91505b611a5f81613848565b9050611a0e565b5092915050565b6007546001600160a01b03163314611a975760405162461bcd60e51b8152600401610b1f906136d1565b611aa16000612ae7565b565b60005b81811015610d6157600160146000858585818110611ac657611ac6613879565b9050602002016020810190611adb9190612f3a565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580611b0d81613848565b915050611aa6565b6007546001600160a01b03163314611b3f5760405162461bcd60e51b8152600401610b1f906136d1565b6001600160a01b03166000908152601260205260409020805460ff19166001179055565b6007546001600160a01b03163314611b8d5760405162461bcd60e51b8152600401610b1f906136d1565b8051610b32906009906020840190612d6e565b606060018054610b459061380d565b6001600160a01b038216331415611c085760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610b1f565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6009805461191e9061380d565b6007546001600160a01b03163314611cab5760405162461bcd60e51b8152600401610b1f906136d1565b60025415611cfb5760405162461bcd60e51b815260206004820152601a60248201527f4d696e74696e6720616c72656164792068617320626567756e2e0000000000006044820152606401610b1f565b60005b600a811015611d84576040518060600160405280602e81526020016138d1602e913960008281526011602090815260409091208251611d439391929190910190612d6e565b50611d5f611d596007546001600160a01b031690565b82612a6b565b600d60008154611d6e90613848565b9091555080611d7c81613848565b915050611cfe565b50600a5b601481101561103a576040518060600160405280602e81526020016138ff602e913960008281526011602090815260409091208251611dcd9391929190910190612d6e565b50611de3611d596007546001600160a01b031690565b600e60008154611df290613848565b9091555080611e0081613848565b915050611d88565b611e1233836127d1565b611e2e5760405162461bcd60e51b8152600401610b1f90613706565b6112a884848484612b39565b600f54610100900460ff16611e615760405162461bcd60e51b8152600401610b1f9061354a565b6001600160a01b038116600090815260156020526040902054600311611e995760405162461bcd60e51b8152600401610b1f90613628565b67011c37937e080000341015611ec15760405162461bcd60e51b8152600401610b1f9061365f565b601654601754611ed2906001613788565b1115611ef05760405162461bcd60e51b8152600401610b1f9061368d565b60025460175460168054600092908110611f0c57611f0c613879565b906000526020600020018054611f219061380d565b80601f0160208091040260200160405190810160405280929190818152602001828054611f4d9061380d565b8015611f9a5780601f10611f6f57610100808354040283529160200191611f9a565b820191906000526020600020905b815481529060010190602001808311611f7d57829003601f168201915b50505060008581526011602090815260409091208451949550611fc4949093509085019150612d6e565b50611fcf8383612a6b565b6001600160a01b038316600090815260156020526040902054611ff3906001613788565b6001600160a01b0384166000908152601560205260408120919091556017805490919061201f90613848565b90915550505050565b60408051600080825260208083018085528351902085835260119091529083902060609391926120589201613485565b60405160208183030381529060405280519060200120141561207957600080fd5b600082815260116020526040812080546120929061380d565b80601f01602080910402602001604051908101604052809291908181526020018280546120be9061380d565b801561210b5780601f106120e05761010080835404028352916020019161210b565b820191906000526020600020905b8154815290600101906020018083116120ee57829003601f168201915b50505050509050600881604051602001612126929190613491565b604051602081830303815290604052915050919050565b6007546001600160a01b031633146121675760405162461bcd60e51b8152600401610b1f906136d1565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6007546001600160a01b031633146121b35760405162461bcd60e51b8152600401610b1f906136d1565b600f805460ff19811660ff90911615179055565b606060098054610b459061380d565b600a5460405163c455279160e01b81526001600160a01b03848116600483015260009281169190841690829063c45527919060240160206040518083038186803b15801561222357600080fd5b505afa158015612237573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061225b9190613286565b6001600160a01b0316148061228857506001600160a01b03831660009081526010602052604090205460ff165b15612297576001915050610aef565b6001600160a01b0380851660009081526004602090815260408083209387168352929052205460ff165b949350505050565b6007546001600160a01b031633146122f35760405162461bcd60e51b8152600401610b1f906136d1565b6001600160a01b0381166123585760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b1f565b61103a81612ae7565b60005b81518110156112a857612391848484848151811061238457612384613879565b6020026020010151610d66565b8061239b81613848565b915050612364565b6007546001600160a01b031633146123cd5760405162461bcd60e51b8152600401610b1f906136d1565b6001600160a01b03166000908152601060205260409020805460ff19811660ff90911615179055565b6007546001600160a01b031633146124205760405162461bcd60e51b8152600401610b1f906136d1565b6000818152601160209081526040808320905161243d9201613485565b6040516020818303038152906040528051906020012090506040518060600160405280602e815260200161392d602e913960405160200161247e9190613469565b604051602081830303815290604052805190602001208114806124de57506040518060600160405280602e815260200161395b602e91396040516020016124c59190613469565b6040516020818303038152906040528051906020012081145b6125385760405162461bcd60e51b815260206004820152602560248201527f4f6e6c792063616e207570677261646520706c61696e20726567756c61722070604482015264617373657360d81b6064820152608401610b1f565b6040518060600160405280602e815260200161392d602e91396040516020016125619190613469565b604051602081830303815290604052805190602001208114156125ba576040518060600160405280602e81526020016138d1602e913960008381526011602090815260409091208251610d619391929190910190612d6e565b6040518060600160405280602e81526020016138ff602e913960008381526011602090815260409091208251610d619391929190910190612d6e565b60006001600160e01b0319821663152a902d60e11b1480610aef5750610aef82612b6c565b6127106001600160601b03821611156126895760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610b1f565b6001600160a01b0382166126df5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610b1f565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600555565b6002546000908211801590610aef575060006001600160a01b03166002838154811061274657612746613879565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b038416908117909155819061279882611885565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006127dc82612718565b61283d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b1f565b600061284883611885565b9050806001600160a01b0316846001600160a01b031614806128835750836001600160a01b031661287884610bc8565b6001600160a01b0316145b806122c157506122c181856121d6565b826001600160a01b03166128a682611885565b6001600160a01b03161461290e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610b1f565b6001600160a01b0382166129705760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610b1f565b61297b600082612763565b816002828154811061298f5761298f613879565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b60006129f482611885565b9050612a01600083612763565b600060028381548110612a1657612a16613879565b6000918252602082200180546001600160a01b0319166001600160a01b0393841617905560405184928416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612b44848484612893565b612b5084848484612b91565b6112a85760405162461bcd60e51b8152600401610b1f906135d6565b60006001600160e01b0319821663780e9d6360e01b1480610aef5750610aef82612c9e565b60006001600160a01b0384163b15612c9357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612bd59033908990889088906004016134b6565b602060405180830381600087803b158015612bef57600080fd5b505af1925050508015612c1f575060408051601f3d908101601f19168201909252612c1c91810190613269565b60015b612c79573d808015612c4d576040519150601f19603f3d011682016040523d82523d6000602084013e612c52565b606091505b508051612c715760405162461bcd60e51b8152600401610b1f906135d6565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506122c1565b506001949350505050565b60006001600160e01b031982166380ac58cd60e01b1480612ccf57506001600160e01b03198216635b5e139f60e01b145b80610aef57506301ffc9a760e01b6001600160e01b0319831614610aef565b828054612cfa9061380d565b90600052602060002090601f016020900481019282612d1c5760008555612d62565b82601f10612d355782800160ff19823516178555612d62565b82800160010185558215612d62579182015b82811115612d62578235825591602001919060010190612d47565b50611261929150612de2565b828054612d7a9061380d565b90600052602060002090601f016020900481019282612d9c5760008555612d62565b82601f10612db557805160ff1916838001178555612d62565b82800160010185558215612d62579182015b82811115612d62578251825591602001919060010190612dc7565b5b808211156112615760008155600101612de3565b600067ffffffffffffffff831115612e1157612e1161388f565b612e24601f8401601f1916602001613757565b9050828152838383011115612e3857600080fd5b828260208301376000602084830101529392505050565b60008083601f840112612e6157600080fd5b50813567ffffffffffffffff811115612e7957600080fd5b6020830191508360208260051b8501011115610e3f57600080fd5b600082601f830112612ea557600080fd5b8135602067ffffffffffffffff821115612ec157612ec161388f565b8160051b612ed0828201613757565b838152828101908684018388018501891015612eeb57600080fd5b600093505b85841015612f0e578035835260019390930192918401918401612ef0565b50979650505050505050565b600082601f830112612f2b57600080fd5b6111f183833560208501612df7565b600060208284031215612f4c57600080fd5b81356111f1816138a5565b60008060408385031215612f6a57600080fd5b8235612f75816138a5565b91506020830135612f85816138a5565b809150509250929050565b600080600060608486031215612fa557600080fd5b8335612fb0816138a5565b92506020840135612fc0816138a5565b9150604084013567ffffffffffffffff811115612fdc57600080fd5b612fe886828701612e94565b9150509250925092565b6000806000806080858703121561300857600080fd5b8435613013816138a5565b93506020850135613023816138a5565b9250604085013567ffffffffffffffff8082111561304057600080fd5b61304c88838901612e94565b9350606087013591508082111561306257600080fd5b5061306f87828801612f1a565b91505092959194509250565b60008060006060848603121561309057600080fd5b833561309b816138a5565b925060208401356130ab816138a5565b929592945050506040919091013590565b600080600080608085870312156130d257600080fd5b84356130dd816138a5565b935060208501356130ed816138a5565b925060408501359150606085013567ffffffffffffffff81111561311057600080fd5b61306f87828801612f1a565b60008060006040848603121561313157600080fd5b833561313c816138a5565b9250602084013567ffffffffffffffff81111561315857600080fd5b61316486828701612e4f565b9497909650939450505050565b6000806040838503121561318457600080fd5b823561318f816138a5565b915060208301358015158114612f8557600080fd5b600080604083850312156131b757600080fd5b82356131c2816138a5565b946020939093013593505050565b600080604083850312156131e357600080fd5b82356131ee816138a5565b915060208301356001600160601b0381168114612f8557600080fd5b6000806020838503121561321d57600080fd5b823567ffffffffffffffff81111561323457600080fd5b61324085828601612e4f565b90969095509350505050565b60006020828403121561325e57600080fd5b81356111f1816138ba565b60006020828403121561327b57600080fd5b81516111f1816138ba565b60006020828403121561329857600080fd5b81516111f1816138a5565b6000602082840312156132b557600080fd5b813567ffffffffffffffff8111156132cc57600080fd5b8201601f810184136132dd57600080fd5b6122c184823560208401612df7565b6000602082840312156132fe57600080fd5b5035919050565b60008060006040848603121561331a57600080fd5b83359250602084013567ffffffffffffffff8082111561333957600080fd5b818601915086601f83011261334d57600080fd5b81358181111561335c57600080fd5b87602082850101111561336e57600080fd5b6020830194508093505050509250925092565b6000806040838503121561339457600080fd5b50508035926020909101359150565b600081518084526133bb8160208601602086016137e1565b601f01601f19169290920160200192915050565b8054600090600181811c90808316806133e957607f831692505b602080841082141561340b57634e487b7160e01b600052602260045260246000fd5b81801561341f57600181146134305761345d565b60ff1986168952848901965061345d565b60008881526020902060005b868110156134555781548b82015290850190830161343c565b505084890196505b50505050505092915050565b6000825161347b8184602087016137e1565b9190910192915050565b60006111f182846133cf565b600061349d82856133cf565b83516134ad8183602088016137e1565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906134e9908301846133a3565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561352b5783518352928401929184019160010161350f565b50909695505050505050565b6020815260006111f160208301846133a3565b60208082526021908201527f53616c65206d7573742062652061637469766520746f206d696e7420506173736040820152602160f81b606082015260800190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601f908201527f596f7527766520616c7265616479206d696e74656420746f6f206d616e792100604082015260600190565b602080825260149082015273596f75206e656564206d6f72652065746865722160601b604082015260600190565b60208082526024908201527f54686572652773206e6f206d6f7265204e656f6e2050617373657320746f206d604082015263696e742160e01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff811182821017156137805761378061388f565b604052919050565b6000821982111561379b5761379b613863565b500190565b6000826137bd57634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156137dc576137dc613863565b500290565b60005b838110156137fc5781810151838201526020016137e4565b838111156112a85750506000910152565b600181811c9082168061382157607f821691505b6020821081141561384257634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561385c5761385c613863565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461103a57600080fd5b6001600160e01b03198116811461103a57600080fdfe516d5a6a3350665971764362544d4c554558347132506e7565664463436664525333745438327779505276515167516d54476f596a77726546636255356353633776436f507455686775415861654651736f7876746d7a6372713657516d504a59464634563147754271744c3455526162664d556f786368756f574234507843593964336e4832714177516d55624e71737a67424e325673504366697a38657a396a37464b7451686e366e646f695a317a426f6e34527648a26469706673582212206353bb915014edcf40a03a4c42fa259e8ff851f857788df247b9b6b0d41ff85f64736f6c63430008070033

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

0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c100000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000d35190c31e775bbad32ff079f2267288883fb5910000000000000000000000000000000000000000000000000000000000000007697066733a2f2f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d523352586978646b6a58627846366d44413256516873437448584d34683954466232344c6b6b484e397037390000000000000000000000

-----Decoded View---------------
Arg [0] : _baseURI (string): ipfs://
Arg [1] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
Arg [2] : _contractMetadata (string): ipfs://QmR3RXixdkjXbxF6mDA2VQhsCtHXM4h9TFb24LkkHN9p79
Arg [3] : _withdrawAddress (address): 0xd35190c31E775bBAd32Ff079f2267288883FB591

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [3] : 000000000000000000000000d35190c31e775bbad32ff079f2267288883fb591
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [5] : 697066733a2f2f00000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [7] : 697066733a2f2f516d523352586978646b6a58627846366d4441325651687343
Arg [8] : 7448584d34683954466232344c6b6b484e397037390000000000000000000000


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.