ETH Price: $2,521.07 (-0.77%)

Token

FrankenPunks (FP)
 

Overview

Max Total Supply

10,000 FP

Holders

4,669

Market

Volume (24H)

0.0119 ETH

Min Price (24H)

$14.87 @ 0.005900 ETH

Max Price (24H)

$15.13 @ 0.006000 ETH

Other Info

Balance
0 FP
0xe340e4fd15949ee2919d6e829bacff9124cb144b
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

3D FrankenPunks come in an evil array of shapes, traits, and sizes with a few surprises along the way. The collection size is 10,000. Each FrankenPunk allows its owner to vote on creating experiences and influencing project developments which are paid for by the Punksville Community Treasury.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
FrankenPunks

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

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

/**
 _______  _______  _______  _        _        _______  _          _______           _        _        _______
(  ____ \(  ____ )(  ___  )( (    /|| \    /\(  ____ \( (    /|  (  ____ )|\     /|( (    /|| \    /\(  ____ \
| (    \/| (    )|| (   ) ||  \  ( ||  \  / /| (    \/|  \  ( |  | (    )|| )   ( ||  \  ( ||  \  / /| (    \/
| (__    | (____)|| (___) ||   \ | ||  (_/ / | (__    |   \ | |  | (____)|| |   | ||   \ | ||  (_/ / | (_____
|  __)   |     __)|  ___  || (\ \) ||   _ (  |  __)   | (\ \) |  |  _____)| |   | || (\ \) ||   _ (  (_____  )
| (      | (\ (   | (   ) || | \   ||  ( \ \ | (      | | \   |  | (      | |   | || | \   ||  ( \ \       ) |
| )      | ) \ \__| )   ( || )  \  ||  /  \ \| (____/\| )  \  |  | )      | (___) || )  \  ||  /  \ \/\____) |
|/       |/   \__/|/     \||/    )_)|_/    \/(_______/|/    )_)  |/       (_______)|/    )_)|_/    \/\_______)

*/

pragma solidity ^0.8.9;

import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";
import { ERC721 } from "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import { Address } from "@openzeppelin/contracts/utils/Address.sol";
import { Strings } from "@openzeppelin/contracts/utils/Strings.sol";
import { MerkleProof } from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

/**
 * @title FrankenPunks contract.
 * @author The FrankenPunks team.
 *
 * @notice Implements a fair and random NFT distribution, based on the Hashmasks/BAYC model.
 *
 *  Additional features include:
 *   - Merkle-tree whitelist with customizable number of mints per address.
 *   - Dutch-auction pricing.
 *   - On-chain support for a pre-reveal placeholder image.
 *   - Contract-level metadata.
 *   - Finalization of metadata to prevent further changes.
 */
contract FrankenPunks is ERC721, Ownable {
    using Strings for uint256;

    event SetPresaleMerkleRoot(bytes32 root);
    event SetProvenanceHash(string provenanceHash);
    event SetAuctionStartAndEnd(uint256 auctionStart, uint256 auctionEnd);
    event SetPresaleIsActive(bool presaleIsActive);
    event SetSaleIsActive(bool saleIsActive);
    event SetIsRevealed(bool isRevealed);
    event Finalized();
    event SetRoyaltyInfo(address royaltyRecipient, uint256 royaltyAmountNumerator);
    event SetStartingIndexBlockNumber(uint256 blockNumber, bool usedForce);
    event SetStartingIndex(uint256 startingIndex, uint256 blockNumber);
    event SetBaseURI(string baseURI);
    event SetPlaceholderURI(string placeholderURI);
    event SetContractURI(string contractURI);
    event Withdrew(uint256 balance);

    uint256 public constant MAX_SUPPLY = 10000;
    uint256 public constant MAX_MINT_PER_TX = 5;
    uint256 public constant RESERVED_SUPPLY = 300;
    uint256 public constant PRESALE_PRICE = 0.088 ether;
    uint256 public constant AUCTION_PRICE_START = 0.5 ether;
    uint256 public constant AUCTION_PRICE_END = 0.088 ether;
    string public constant TOKEN_URI_EXTENSION = ".json";
    uint256 public constant ROYALTY_AMOUNT_DENOMINATOR = 1e18;
    bytes4 private constant INTERFACE_ID_ERC2981 = 0x2a55205a;

    /// @notice The root of the Merkle tree with addresses allowed to mint in the presale.
    bytes32 public _presaleMerkleRoot;

    /// @notice Hash which commits to the content, metadata, and original sequence of the NFTs.
    string public _provenanceHash;

    /// @notice The start time, used to set the price. Does not affect whether minting is allowed.
    uint256 public _auctionStart;

    /// @notice The end time, used to set the price. Does not affect whether minting is allowed.
    uint256 public _auctionEnd;

    /// @notice Controls whether minting is allowed via the presale mint function.
    bool public _presaleIsActive = false;

    /// @notice Controls whether minting is allowed via the regular mint function.
    bool public _saleIsActive = false;

    /// @notice Whether the placeholder URI should be returned for all tokens.
    bool public _isRevealed = false;

    /// @notice Whether further changes to the provenance hash and token URI have been disabled.
    bool public _isFinalized = false;

    /// @notice The recipient of ERC-2981 royalties.
    address public _royaltyRecipient;

    /// @notice The royalty rate for ERC-2981 royalties, as a fraction of ROYALTY_AMOUNT_DENOMINATOR.
    uint256 public _royaltyAmountNumerator;

    /// @notice The number of presale mints completed by address.
    mapping(address => uint256) public _numPresaleMints;

    /// @notice Whether the address used the voucher amount specified in the Merkle tree.
    ///  Note that we assume each address is only included once in the Merkle tree.
    mapping(address => bool) public _usedVoucher;

    /// @notice The block number to be used to derive the starting index.
    uint256 public _startingIndexBlockNumber;

    /// @notice The starting index, chosen pseudorandomly to ensure a fair and random distribution.
    uint256 public _startingIndex;

    /// @notice Whether the starting index was set.
    bool public _startingIndexWasSet;

    string internal _baseTokenURI;
    string internal _placeholderURI;
    string internal _contractURI;

    uint256 internal _totalSupply;

    modifier notFinalized() {
        require(
            !_isFinalized,
            "Metadata is finalized"
        );
        _;
    }

    constructor(
        string memory placeholderURI
    ) ERC721("FrankenPunks", "FP") {
        _placeholderURI = placeholderURI;
    }

    function setPresaleMerkleRoot(bytes32 root) external onlyOwner {
        _presaleMerkleRoot = root;
        emit SetPresaleMerkleRoot(root);
    }

    function setProvenanceHash(string calldata provenanceHash) external onlyOwner notFinalized {
        _provenanceHash = provenanceHash;
        emit SetProvenanceHash(provenanceHash);
    }

    function setAuctionStartAndEnd(uint256 auctionStart, uint256 auctionEnd) external onlyOwner {
        require(
            auctionStart <= auctionEnd,
            "Start must precede end"
        );
        _auctionStart = auctionStart;
        _auctionEnd = auctionEnd;
        emit SetAuctionStartAndEnd(auctionStart, auctionEnd);
    }

    function setPresaleIsActive(bool presaleIsActive) external onlyOwner {
        _presaleIsActive = presaleIsActive;
        emit SetPresaleIsActive(presaleIsActive);
    }

    function setSaleIsActive(bool saleIsActive) external onlyOwner {
        require(
            !saleIsActive || (_auctionStart != 0 && _auctionEnd != 0),
            "Auction params must be set"
        );
        _saleIsActive = saleIsActive;
        emit SetSaleIsActive(saleIsActive);
    }

    function setIsRevealed(bool isRevealed) external onlyOwner notFinalized {
        _isRevealed = isRevealed;
        emit SetIsRevealed(isRevealed);
    }

    function finalize() external onlyOwner notFinalized {
        require(
            _isRevealed,
            "Must be revealed to finalize"
        );
        _isFinalized = true;
        emit Finalized();
    }

    function setRoyaltyInfo(address royaltyRecipient, uint256 royaltyAmountNumerator) external onlyOwner {
        _royaltyRecipient = royaltyRecipient;
        _royaltyAmountNumerator = royaltyAmountNumerator;
        emit SetRoyaltyInfo(royaltyRecipient, royaltyAmountNumerator);
    }

    function setBaseURI(string calldata baseURI) external onlyOwner notFinalized {
        _baseTokenURI = baseURI;
        emit SetBaseURI(baseURI);
    }

    function setPlaceholderURI(string calldata placeholderURI) external onlyOwner {
        _placeholderURI = placeholderURI;
        emit SetPlaceholderURI(placeholderURI);
    }

    function setContractURI(string calldata newContractURI) external onlyOwner {
        _contractURI = newContractURI;
        emit SetContractURI(newContractURI);
    }

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

    function mintReservedTokens(address recipient, uint256 numToMint) external onlyOwner {
        uint256 startingSupply = _totalSupply;

        require(
            startingSupply + numToMint <= RESERVED_SUPPLY,
            "Mint would exceed reserved supply"
        );

        // Update the total supply.
        _totalSupply = startingSupply + numToMint;

        // Note: First token has ID #0.
        for (uint256 i = 0; i < numToMint; i++) {
            // Use _mint() instead of _safeMint() since we won't mint to contracts.
            _mint(recipient, startingSupply + i);
        }
    }

    function fallbackSetStartingIndexBlockNumber() external onlyOwner {
        require(
            _startingIndexBlockNumber == 0,
            "Block number was set"
        );
        _setStartingIndexBlockNumber(true);
    }

    /**
     * @notice Called by users to mint from the presale.
     */
    function mintPresale(
        uint256 numToMint,
        uint256 maxMints,
        uint256 voucherAmount,
        bytes32[] calldata merkleProof
    ) external payable {
        require(
            _presaleIsActive,
            "Presale not active"
        );

        // The Merkle tree node contains: (address account, uint256 maxMints, uint256 voucherAmount)
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender, maxMints, voucherAmount));

        // Verify the mint params are part of the Merkle tree, given the Merkle proof.
        require(
            MerkleProof.verify(merkleProof, _presaleMerkleRoot, leaf),
            "Invalid Merkle proof"
        );

        // Require that the minter does not exceed their max allocation given by the Merkle tree.
        uint256 newNumPresaleMints = _numPresaleMints[msg.sender] + numToMint;
        require(
            newNumPresaleMints <= maxMints,
            "Presale mints exceeded"
        );

        // Use the voucher amount if it wasn't previously used.
        uint256 remainingVoucherAmount = 0;
        if (voucherAmount != 0 && !_usedVoucher[msg.sender]) {
            remainingVoucherAmount = voucherAmount;
            _usedVoucher[msg.sender] = true;
        }

        // Update storage (do this before minting as mint recipients may have callbacks).
        _numPresaleMints[msg.sender] = newNumPresaleMints;

        // Mint tokens, checking for sufficient payment and supply.
        _mintInner(numToMint, true, remainingVoucherAmount);
    }

    /**
     * @notice Called by users to mint from the main sale.
     */
    function mint(uint256 numToMint) external payable {
        require(
            _saleIsActive,
            "Sale not active"
        );
        require(
            numToMint <= MAX_MINT_PER_TX,
            "numToMint too large"
        );

        // Mint tokens, checking for sufficient payment and supply.
        _mintInner(numToMint, false, 0);
    }

    /**
     * @notice Fix the starting index using the previously determined block number.
     */
    function setStartingIndex() external {
        require(
            !_startingIndexWasSet,
            "Starting index was set"
        );

        uint256 targetBlock = _startingIndexBlockNumber;

        require(
            targetBlock != 0,
            "Block number not set"
        );

        // If the hash for the desired block is unavailable, fall back to the most recent block.
        if (block.number - targetBlock > 256) {
            targetBlock = block.number - 1;
        }

        uint256 startingIndex = uint256(blockhash(targetBlock)) % MAX_SUPPLY;
        _startingIndex = startingIndex;
        _startingIndexWasSet = true;
        emit SetStartingIndex(startingIndex, targetBlock);
    }

    /**
     * @notice Query tokens owned by an address, in a given range.
     *
     * Adapted from Nanopass: https://etherscan.io/address/0xf54cc94f1f2f5de012b6aa51f1e7ebdc43ef5afc#code
     */
    function tokensOfOwner(address owner, uint256 startId, uint256 endId) external view returns(uint256[] memory) {
        uint256 tokenCount = balanceOf(owner);
        uint256[] memory ownerTokens = new uint256[](tokenCount);
        uint256 ownerIndex = 0;
        for (uint256 tokenId = startId; tokenId < endId; tokenId++) {
            if (ownerIndex == tokenCount) break;

            if (ownerOf(tokenId) == owner) {
                ownerTokens[ownerIndex] = tokenId;
                ownerIndex++;
            }
        }
        return ownerTokens;
    }

    /**
     * @notice Query all tokens owned by an address.
     *
     * Adapted from Nanopass: https://etherscan.io/address/0xf54cc94f1f2f5de012b6aa51f1e7ebdc43ef5afc#code
     */
    function walletOfOwner(address owner) external view returns(uint256[] memory) {
        return this.tokensOfOwner(owner, 0, _totalSupply);
    }

    /**
     * @notice Implements ERC-2981 royalty info interface.
     */
    function royaltyInfo(uint256 /* tokenId */, uint256 salePrice) external view returns (address, uint256) {
        return (_royaltyRecipient, salePrice * _royaltyAmountNumerator / ROYALTY_AMOUNT_DENOMINATOR);
    }

    function contractURI() external view returns (string memory) {
        return _contractURI;
    }

    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );

        if (!_isRevealed) {
            return _placeholderURI;
        }

        string memory baseURI = _baseTokenURI;
        return bytes(baseURI).length > 0
            ? string(abi.encodePacked(baseURI, tokenId.toString(), TOKEN_URI_EXTENSION))
            : "";
    }
    
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return (
            interfaceId == INTERFACE_ID_ERC2981 ||
            super.supportsInterface(interfaceId)
        );
    }

    function totalSupply() public view returns (uint256) {
        return _totalSupply;
    }

    function getCurrentAuctionPrice() public view returns (uint256) {
        uint256 auctionStart = _auctionStart;
        uint256 auctionEnd = _auctionEnd;
        uint256 timestamp = block.timestamp;
        if (auctionStart == 0 || auctionEnd == 0 || auctionStart >= timestamp) {
            return AUCTION_PRICE_START;
        }
        if (auctionEnd <= timestamp) {
            return AUCTION_PRICE_END;
        }

        // If timestamp is between start and end, interpolate to find the price.
        uint256 progress = (timestamp - auctionStart) * 1e18 / (auctionEnd - auctionStart);
        return AUCTION_PRICE_START - ((AUCTION_PRICE_START - AUCTION_PRICE_END) * progress / 1e18);
    }

    function getCost(uint256 numToMint, bool isPresale) public view returns (uint256) {
        if (isPresale) {
            return numToMint * PRESALE_PRICE;
        }
        return numToMint * getCurrentAuctionPrice();
    }

    /**
     * @dev Mints `numToMint` tokens to msg.sender.
     *
     *  Reverts if the max supply would be exceeded.
     *  Reverts if the payment amount (`msg.value`) is insufficient.
     */
    function _mintInner(uint256 numToMint, bool isPresale, uint256 voucherAmount) internal {
        uint256 startingSupply = _totalSupply;

        require(
            startingSupply + numToMint <= MAX_SUPPLY,
            "Mint would exceed max supply"
        );
        require(
            getCost(numToMint, isPresale) <= msg.value + voucherAmount,
            "Insufficient payment"
        );
        require(
            !Address.isContract(msg.sender),
            "Cannot mint from a contract"
        );

        // Update the total supply.
        _totalSupply = startingSupply + numToMint;

        // Note: First token has ID #0.
        for (uint256 i = 0; i < numToMint; i++) {
            // Use _mint() instead of _safeMint() since we won't mint to contracts.
            _mint(msg.sender, startingSupply + i);
        }

        // Finalize the starting index block number when the last token is purchased.
        if (startingSupply + numToMint == MAX_SUPPLY) {
            // NOTE: Do not set the starting index block automatically if the provenance has is not published!
            // If the provenance hash is not ready by the end of the sale, then the block number can be set
            // with fallbackSetStartingIndexBlockNumber(), which is also fine.
            if (bytes(_provenanceHash).length != 0) {
                _setStartingIndexBlockNumber(false);
            }
        }
    }

    function _setStartingIndexBlockNumber(bool usedForce) internal {
        // Add one to make it even harder to manipulate.
        // Ref: https://github.com/the-torn/floot#floot-seed-generation
        uint256 blockNumber = block.number + 1;
        _startingIndexBlockNumber = blockNumber;
        emit SetStartingIndexBlockNumber(blockNumber, usedForce);
    }
}

File 2 of 12 : 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 12 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

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

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

File 4 of 12 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 5 of 12 : 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 6 of 12 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

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

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }
        return computedHash;
    }
}

File 7 of 12 : 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 8 of 12 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 9 of 12 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 10 of 12 : 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 11 of 12 : 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 12 of 12 : 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);
}

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":"placeholderURI","type":"string"}],"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":[],"name":"Finalized","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":false,"internalType":"uint256","name":"auctionStart","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"auctionEnd","type":"uint256"}],"name":"SetAuctionStartAndEnd","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"baseURI","type":"string"}],"name":"SetBaseURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"contractURI","type":"string"}],"name":"SetContractURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"isRevealed","type":"bool"}],"name":"SetIsRevealed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"placeholderURI","type":"string"}],"name":"SetPlaceholderURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"presaleIsActive","type":"bool"}],"name":"SetPresaleIsActive","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"SetPresaleMerkleRoot","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"provenanceHash","type":"string"}],"name":"SetProvenanceHash","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"royaltyRecipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"royaltyAmountNumerator","type":"uint256"}],"name":"SetRoyaltyInfo","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"saleIsActive","type":"bool"}],"name":"SetSaleIsActive","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"startingIndex","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"SetStartingIndex","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"blockNumber","type":"uint256"},{"indexed":false,"internalType":"bool","name":"usedForce","type":"bool"}],"name":"SetStartingIndexBlockNumber","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"balance","type":"uint256"}],"name":"Withdrew","type":"event"},{"inputs":[],"name":"AUCTION_PRICE_END","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"AUCTION_PRICE_START","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVED_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROYALTY_AMOUNT_DENOMINATOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOKEN_URI_EXTENSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_auctionEnd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_auctionStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_isFinalized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_numPresaleMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_presaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_presaleMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_provenanceHash","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_royaltyAmountNumerator","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_royaltyRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_startingIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_startingIndexBlockNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_startingIndexWasSet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_usedVoucher","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fallbackSetStartingIndexBlockNumber","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"finalize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numToMint","type":"uint256"},{"internalType":"bool","name":"isPresale","type":"bool"}],"name":"getCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentAuctionPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numToMint","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numToMint","type":"uint256"},{"internalType":"uint256","name":"maxMints","type":"uint256"},{"internalType":"uint256","name":"voucherAmount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintPresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"numToMint","type":"uint256"}],"name":"mintReservedTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"auctionStart","type":"uint256"},{"internalType":"uint256","name":"auctionEnd","type":"uint256"}],"name":"setAuctionStartAndEnd","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newContractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isRevealed","type":"bool"}],"name":"setIsRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"placeholderURI","type":"string"}],"name":"setPlaceholderURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"presaleIsActive","type":"bool"}],"name":"setPresaleIsActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setPresaleMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"royaltyRecipient","type":"address"},{"internalType":"uint256","name":"royaltyAmountNumerator","type":"uint256"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"saleIsActive","type":"bool"}],"name":"setSaleIsActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStartingIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"startId","type":"uint256"},{"internalType":"uint256","name":"endId","type":"uint256"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"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"}]

6080604052600b805463ffffffff191690553480156200001e57600080fd5b50604051620037f8380380620037f88339810160408190526200004191620001f1565b604080518082018252600c81526b4672616e6b656e50756e6b7360a01b602080830191825283518085019094526002845261046560f41b9084015281519192916200008f9160009162000135565b508051620000a590600190602084019062000135565b505050620000c2620000bc620000df60201b60201c565b620000e3565b8051620000d790601390602084019062000135565b50506200030a565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200014390620002cd565b90600052602060002090601f016020900481019282620001675760008555620001b2565b82601f106200018257805160ff1916838001178555620001b2565b82800160010185558215620001b2579182015b82811115620001b257825182559160200191906001019062000195565b50620001c0929150620001c4565b5090565b5b80821115620001c05760008155600101620001c5565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156200020557600080fd5b82516001600160401b03808211156200021d57600080fd5b818501915085601f8301126200023257600080fd5b815181811115620002475762000247620001db565b604051601f8201601f19908116603f01168101908382118183101715620002725762000272620001db565b8160405282815288868487010111156200028b57600080fd5b600093505b82841015620002af578484018601518185018701529285019262000290565b82841115620002c15760008684830101525b98975050505050505050565b600181811c90821680620002e257607f821691505b602082108114156200030457634e487b7160e01b600052602260045260246000fd5b50919050565b6134de806200031a6000396000f3fe6080604052600436106103b85760003560e01c80636352211e116101f2578063a50c73bf1161010d578063e8a3d485116100a0578063eb1a190e1161006f578063eb1a190e14610ae4578063f2fde38b14610afe578063f461b24e14610b1e578063fbc5718414610b3457600080fd5b8063e8a3d48514610a5b578063e971d5b714610a70578063e985e9c514610a86578063e986655014610acf57600080fd5b8063ca2bbb6f116100dc578063ca2bbb6f146109ea578063d134dd4a14610a0a578063e2e784d514610a3b578063e51c52f9146107b757600080fd5b8063a50c73bf14610974578063b88d4fde1461098a578063c839fe94146109aa578063c87b56dd146109ca57600080fd5b80638da5cb5b1161018557806395d89b411161015457806395d89b411461091657806399a30c121461092b578063a0712d6814610941578063a22cb4651461095457600080fd5b80638da5cb5b146108ae5780638ecad721146108cc578063911aff16146108e1578063938e3d7b146108f657600080fd5b8063727a612e116101c1578063727a612e146108445780637a36dadb146108575780637dfc3386146108785780638096b48d1461089857600080fd5b80636352211e146107d35780637043e9e8146107f357806370a082311461080f578063715018a61461082f57600080fd5b806331a53e9a116102e257806349a5980a1161027557806355f804b31161024457806355f804b31461075857806357535c43146107785780635d893ba01461079857806362dc6e21146107b757600080fd5b806349a5980a146106f95780634bb278f31461071957806351c7115b1461072e578063534308cc1461074357600080fd5b8063403aef27116102b1578063403aef271461067057806342842e0e1461068c578063438b6300146106ac57806344285c8c146106d957600080fd5b806331a53e9a1461060f57806332cb6b0c146106255780633574a2dd1461063b5780633ccfd60b1461065b57600080fd5b8063109695231161035a57806323b872dd1161032957806323b872dd1461056057806328d7b276146105805780632a55205a146105a05780632e210d6b146105df57600080fd5b806310969523146104e95780631525131c14610509578063163346741461053157806318160ddd1461054b57600080fd5b806306fdde031161039657806306fdde031461044f578063081812fc1461047157806308a3547e146104a9578063095ea7b3146104c957600080fd5b806301ffc9a7146103bd57806302c88989146103f257806305f6ae0014610414575b600080fd5b3480156103c957600080fd5b506103dd6103d8366004612ca2565b610b4a565b60405190151581526020015b60405180910390f35b3480156103fe57600080fd5b5061041261040d366004612cd4565b610b75565b005b34801561042057600080fd5b5061044161042f366004612d06565b600d6020526000908152604090205481565b6040519081526020016103e9565b34801561045b57600080fd5b50610464610c62565b6040516103e99190612d79565b34801561047d57600080fd5b5061049161048c366004612d8c565b610cf4565b6040516001600160a01b0390911681526020016103e9565b3480156104b557600080fd5b506104126104c4366004612cd4565b610d89565b3480156104d557600080fd5b506104126104e4366004612da5565b610df4565b3480156104f557600080fd5b50610412610504366004612dcf565b610f0a565b34801561051557600080fd5b50600b546104919064010000000090046001600160a01b031681565b34801561053d57600080fd5b506011546103dd9060ff1681565b34801561055757600080fd5b50601554610441565b34801561056c57600080fd5b5061041261057b366004612e41565b610fa8565b34801561058c57600080fd5b5061041261059b366004612d8c565b610fd9565b3480156105ac57600080fd5b506105c06105bb366004612e7d565b611038565b604080516001600160a01b0390931683526020830191909152016103e9565b3480156105eb57600080fd5b506103dd6105fa366004612d06565b600e6020526000908152604090205460ff1681565b34801561061b57600080fd5b5061044161012c81565b34801561063157600080fd5b5061044161271081565b34801561064757600080fd5b50610412610656366004612dcf565b61107d565b34801561066757600080fd5b506104126110e5565b34801561067c57600080fd5b506104416706f05b59d3b2000081565b34801561069857600080fd5b506104126106a7366004612e41565b61116f565b3480156106b857600080fd5b506106cc6106c7366004612d06565b61118a565b6040516103e99190612e9f565b3480156106e557600080fd5b506104126106f4366004612e7d565b61121a565b34801561070557600080fd5b50610412610714366004612cd4565b6112cd565b34801561072557600080fd5b5061041261136c565b34801561073a57600080fd5b50610441611456565b34801561074f57600080fd5b5061046461152c565b34801561076457600080fd5b50610412610773366004612dcf565b6115ba565b34801561078457600080fd5b50610412610793366004612da5565b61164c565b3480156107a457600080fd5b50600b546103dd90610100900460ff1681565b3480156107c357600080fd5b50610441670138a388a43c000081565b3480156107df57600080fd5b506104916107ee366004612d8c565b611721565b3480156107ff57600080fd5b50610441670de0b6b3a764000081565b34801561081b57600080fd5b5061044161082a366004612d06565b611798565b34801561083b57600080fd5b5061041261181f565b610412610852366004612ed7565b611855565b34801561086357600080fd5b50600b546103dd906301000000900460ff1681565b34801561088457600080fd5b50610441610893366004612f67565b611a38565b3480156108a457600080fd5b50610441600a5481565b3480156108ba57600080fd5b506006546001600160a01b0316610491565b3480156108d857600080fd5b50610441600581565b3480156108ed57600080fd5b50610412611a72565b34801561090257600080fd5b50610412610911366004612dcf565b611aed565b34801561092257600080fd5b50610464611b55565b34801561093757600080fd5b5061044160075481565b61041261094f366004612d8c565b611b64565b34801561096057600080fd5b5061041261096f366004612f93565b611c03565b34801561098057600080fd5b50610441600c5481565b34801561099657600080fd5b506104126109a5366004613004565b611c12565b3480156109b657600080fd5b506106cc6109c53660046130c4565b611c44565b3480156109d657600080fd5b506104646109e5366004612d8c565b611d1f565b3480156109f657600080fd5b50600b546103dd9062010000900460ff1681565b348015610a1657600080fd5b5061046460405180604001604052806005815260200164173539b7b760d91b81525081565b348015610a4757600080fd5b50610412610a56366004612da5565b611f3d565b348015610a6757600080fd5b50610464611fce565b348015610a7c57600080fd5b50610441600f5481565b348015610a9257600080fd5b506103dd610aa13660046130f7565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610adb57600080fd5b50610412611fdd565b348015610af057600080fd5b50600b546103dd9060ff1681565b348015610b0a57600080fd5b50610412610b19366004612d06565b6120eb565b348015610b2a57600080fd5b5061044160095481565b348015610b4057600080fd5b5061044160105481565b60006001600160e01b0319821663152a902d60e11b1480610b6f5750610b6f82612183565b92915050565b6006546001600160a01b03163314610ba85760405162461bcd60e51b8152600401610b9f90613121565b60405180910390fd5b801580610bc2575060095415801590610bc25750600a5415155b610c0e5760405162461bcd60e51b815260206004820152601a60248201527f41756374696f6e20706172616d73206d757374206265207365740000000000006044820152606401610b9f565b600b80548215156101000261ff00199091161790556040517f20fe3d468e18cc677a838aefa7188273b78ab4acfafec99620be1db979d4e79b90610c5790831515815260200190565b60405180910390a150565b606060008054610c7190613156565b80601f0160208091040260200160405190810160405280929190818152602001828054610c9d90613156565b8015610cea5780601f10610cbf57610100808354040283529160200191610cea565b820191906000526020600020905b815481529060010190602001808311610ccd57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610d6d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b9f565b506000908152600460205260409020546001600160a01b031690565b6006546001600160a01b03163314610db35760405162461bcd60e51b8152600401610b9f90613121565b600b805460ff19168215159081179091556040519081527f04682f4e7af4746fc1bf0302c8d29247fa327140e8639404464b3191dc5257f190602001610c57565b6000610dff82611721565b9050806001600160a01b0316836001600160a01b03161415610e6d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610b9f565b336001600160a01b0382161480610e895750610e898133610aa1565b610efb5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610b9f565b610f0583836121d3565b505050565b6006546001600160a01b03163314610f345760405162461bcd60e51b8152600401610b9f90613121565b600b546301000000900460ff1615610f5e5760405162461bcd60e51b8152600401610b9f90613191565b610f6a60088383612bf3565b507f6760362308ca665d8ad5234d7f09a8ac815ee45be8350cad464cb1e4eadd34ee8282604051610f9c9291906131c0565b60405180910390a15050565b610fb23382612241565b610fce5760405162461bcd60e51b8152600401610b9f906131ef565b610f05838383612338565b6006546001600160a01b031633146110035760405162461bcd60e51b8152600401610b9f90613121565b60078190556040518181527f27fda2f09bdfc247a689f64681c7850adf9ddb3086af9cd89b0a7c724b24f7f690602001610c57565b600080600b60049054906101000a90046001600160a01b0316670de0b6b3a7640000600c54856110689190613256565b611072919061328b565b915091509250929050565b6006546001600160a01b031633146110a75760405162461bcd60e51b8152600401610b9f90613121565b6110b360138383612bf3565b507f330b2ff4a885bf6f80261e9830cdeec700b2d965f52f12a62f9e9f3b628fcae98282604051610f9c9291906131c0565b6006546001600160a01b0316331461110f5760405162461bcd60e51b8152600401610b9f90613121565b6040514790339082156108fc029083906000818181858888f1935050505015801561113e573d6000803e3d6000fd5b506040518181527fb6b476da71cea8275cac6b1720c04966afaff5e637472cedb6cbd32c43a2325190602001610c57565b610f0583838360405180602001604052806000815250611c12565b60155460405163320e7fa560e21b81526001600160a01b0383166004820152600060248201526044810191909152606090309063c839fe949060640160006040518083038186803b1580156111de57600080fd5b505afa1580156111f2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b6f919081019061329f565b6006546001600160a01b031633146112445760405162461bcd60e51b8152600401610b9f90613121565b8082111561128d5760405162461bcd60e51b815260206004820152601660248201527514dd185c9d081b5d5cdd081c1c9958d9591948195b9960521b6044820152606401610b9f565b6009829055600a81905560408051838152602081018390527f892ac57e8e47eb93a754d7dad53b04af7fd3c4fd9a5246aae24ca76ee29394349101610f9c565b6006546001600160a01b031633146112f75760405162461bcd60e51b8152600401610b9f90613121565b600b546301000000900460ff16156113215760405162461bcd60e51b8152600401610b9f90613191565b600b8054821515620100000262ff0000199091161790556040517f40dcfa5db899ec74bc8371886cd6b7550aa92fd52a425b9c498a839183f2886c90610c5790831515815260200190565b6006546001600160a01b031633146113965760405162461bcd60e51b8152600401610b9f90613121565b600b546301000000900460ff16156113c05760405162461bcd60e51b8152600401610b9f90613191565b600b5462010000900460ff166114185760405162461bcd60e51b815260206004820152601c60248201527f4d7573742062652072657665616c656420746f2066696e616c697a65000000006044820152606401610b9f565b600b805463ff000000191663010000001790556040517f6823b073d48d6e3a7d385eeb601452d680e74bb46afe3255a7d778f3a9b1768190600090a1565b600954600a54600091904282158061146c575081155b806114775750808310155b1561148d576706f05b59d3b20000935050505090565b8082116114a557670138a388a43c0000935050505090565b60006114b18484613345565b6114bb8584613345565b6114cd90670de0b6b3a7640000613256565b6114d7919061328b565b9050670de0b6b3a7640000816114fd670138a388a43c00006706f05b59d3b20000613345565b6115079190613256565b611511919061328b565b611523906706f05b59d3b20000613345565b94505050505090565b6008805461153990613156565b80601f016020809104026020016040519081016040528092919081815260200182805461156590613156565b80156115b25780601f10611587576101008083540402835291602001916115b2565b820191906000526020600020905b81548152906001019060200180831161159557829003601f168201915b505050505081565b6006546001600160a01b031633146115e45760405162461bcd60e51b8152600401610b9f90613121565b600b546301000000900460ff161561160e5760405162461bcd60e51b8152600401610b9f90613191565b61161a60128383612bf3565b507f23c8c9488efebfd474e85a7956de6f39b17c7ab88502d42a623db2d8e382bbaa8282604051610f9c9291906131c0565b6006546001600160a01b031633146116765760405162461bcd60e51b8152600401610b9f90613121565b60155461012c611686838361335c565b11156116de5760405162461bcd60e51b815260206004820152602160248201527f4d696e7420776f756c642065786365656420726573657276656420737570706c6044820152607960f81b6064820152608401610b9f565b6116e8828261335c565b60155560005b8281101561171b5761170984611704838561335c565b6124d8565b8061171381613374565b9150506116ee565b50505050565b6000818152600260205260408120546001600160a01b031680610b6f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610b9f565b60006001600160a01b0382166118035760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610b9f565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146118495760405162461bcd60e51b8152600401610b9f90613121565b611853600061261a565b565b600b5460ff1661189c5760405162461bcd60e51b815260206004820152601260248201527150726573616c65206e6f742061637469766560701b6044820152606401610b9f565b6040516bffffffffffffffffffffffff193360601b166020820152603481018590526054810184905260009060740160405160208183030381529060405280519060200120905061192483838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600754915084905061266c565b6119675760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b21026b2b935b63290383937b7b360611b6044820152606401610b9f565b336000908152600d602052604081205461198290889061335c565b9050858111156119cd5760405162461bcd60e51b8152602060048201526016602482015275141c995cd85b19481b5a5b9d1cc8195e18d95959195960521b6044820152606401610b9f565b600085158015906119ee5750336000908152600e602052604090205460ff16155b15611a105750336000908152600e60205260409020805460ff19166001179055845b336000908152600d60205260409020829055611a2e88600183612682565b5050505050505050565b60008115611a5957611a52670138a388a43c000084613256565b9050610b6f565b611a61611456565b611a6b9084613256565b9392505050565b6006546001600160a01b03163314611a9c5760405162461bcd60e51b8152600401610b9f90613121565b600f5415611ae35760405162461bcd60e51b8152602060048201526014602482015273109b1bd8dac81b9d5b58995c881dd85cc81cd95d60621b6044820152606401610b9f565b61185360016127ee565b6006546001600160a01b03163314611b175760405162461bcd60e51b8152600401610b9f90613121565b611b2360148383612bf3565b507f5ca9f750836b0b7efdace104f07b5c9f0df0650c0fd24f5163e99044ae36ea528282604051610f9c9291906131c0565b606060018054610c7190613156565b600b54610100900460ff16611bad5760405162461bcd60e51b815260206004820152600f60248201526e53616c65206e6f742061637469766560881b6044820152606401610b9f565b6005811115611bf45760405162461bcd60e51b81526020600482015260136024820152726e756d546f4d696e7420746f6f206c6172676560681b6044820152606401610b9f565b611c0081600080612682565b50565b611c0e33838361283a565b5050565b611c1c3383612241565b611c385760405162461bcd60e51b8152600401610b9f906131ef565b61171b84848484612909565b60606000611c5185611798565b905060008167ffffffffffffffff811115611c6e57611c6e612fbd565b604051908082528060200260200182016040528015611c97578160200160208202803683370190505b5090506000855b85811015611d135783821415611cb357611d13565b876001600160a01b0316611cc682611721565b6001600160a01b03161415611d015780838381518110611ce857611ce861338f565b602090810291909101015281611cfd81613374565b9250505b80611d0b81613374565b915050611c9e565b50909695505050505050565b6000818152600260205260409020546060906001600160a01b0316611d9e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610b9f565b600b5462010000900460ff16611e405760138054611dbb90613156565b80601f0160208091040260200160405190810160405280929190818152602001828054611de790613156565b8015611e345780601f10611e0957610100808354040283529160200191611e34565b820191906000526020600020905b815481529060010190602001808311611e1757829003601f168201915b50505050509050919050565b600060128054611e4f90613156565b80601f0160208091040260200160405190810160405280929190818152602001828054611e7b90613156565b8015611ec85780601f10611e9d57610100808354040283529160200191611ec8565b820191906000526020600020905b815481529060010190602001808311611eab57829003601f168201915b505050505090506000815111611eed5760405180602001604052806000815250611a6b565b80611ef78461293c565b60405180604001604052806005815260200164173539b7b760d91b815250604051602001611f27939291906133a5565b6040516020818303038152906040529392505050565b6006546001600160a01b03163314611f675760405162461bcd60e51b8152600401610b9f90613121565b600b8054640100000000600160c01b0319166401000000006001600160a01b03851690810291909117909155600c82905560408051918252602082018390527fff26d16febb506bdb66324138b1086facb8bd304fc773e610e0aa1593b7a07469101610f9c565b606060148054610c7190613156565b60115460ff16156120295760405162461bcd60e51b815260206004820152601660248201527514dd185c9d1a5b99c81a5b99195e081dd85cc81cd95d60521b6044820152606401610b9f565b600f54806120705760405162461bcd60e51b8152602060048201526014602482015273109b1bd8dac81b9d5b58995c881b9bdd081cd95d60621b6044820152606401610b9f565b61010061207d8243613345565b11156120915761208e600143613345565b90505b60006120a061271083406133e8565b60108190556011805460ff1916600117905560408051828152602081018590529192507f4e12e01cce6276f68d12cd23abdbdbd9f61cc07392cb3f67ff062026e4ea94119101610f9c565b6006546001600160a01b031633146121155760405162461bcd60e51b8152600401610b9f90613121565b6001600160a01b03811661217a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b9f565b611c008161261a565b60006001600160e01b031982166380ac58cd60e01b14806121b457506001600160e01b03198216635b5e139f60e01b145b80610b6f57506301ffc9a760e01b6001600160e01b0319831614610b6f565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061220882611721565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166122ba5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b9f565b60006122c583611721565b9050806001600160a01b0316846001600160a01b031614806123005750836001600160a01b03166122f584610cf4565b6001600160a01b0316145b8061233057506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661234b82611721565b6001600160a01b0316146123b35760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610b9f565b6001600160a01b0382166124155760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610b9f565b6124206000826121d3565b6001600160a01b0383166000908152600360205260408120805460019290612449908490613345565b90915550506001600160a01b038216600090815260036020526040812080546001929061247790849061335c565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b03821661252e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610b9f565b6000818152600260205260409020546001600160a01b0316156125935760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610b9f565b6001600160a01b03821660009081526003602052604081208054600192906125bc90849061335c565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000826126798584612a3a565b14949350505050565b601554612710612692858361335c565b11156126e05760405162461bcd60e51b815260206004820152601c60248201527f4d696e7420776f756c6420657863656564206d617820737570706c79000000006044820152606401610b9f565b6126ea823461335c565b6126f48585611a38565b11156127395760405162461bcd60e51b8152602060048201526014602482015273125b9cdd59999a58da595b9d081c185e5b595b9d60621b6044820152606401610b9f565b333b156127885760405162461bcd60e51b815260206004820152601b60248201527f43616e6e6f74206d696e742066726f6d206120636f6e747261637400000000006044820152606401610b9f565b612792848261335c565b60155560005b848110156127c0576127ae33611704838561335c565b806127b881613374565b915050612798565b506127106127ce858361335c565b141561171b57600880546127e190613156565b15905061171b5761171b60005b60006127fb43600161335c565b600f8190556040805182815284151560208201529192507f2a07db8574dc962def4d39a4ba6778311d248b820d078f37ff676c67ea9d2df69101610f9c565b816001600160a01b0316836001600160a01b0316141561289c5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610b9f565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612914848484612338565b61292084848484612ae6565b61171b5760405162461bcd60e51b8152600401610b9f906133fc565b6060816129605750506040805180820190915260018152600360fc1b602082015290565b8160005b811561298a578061297481613374565b91506129839050600a8361328b565b9150612964565b60008167ffffffffffffffff8111156129a5576129a5612fbd565b6040519080825280601f01601f1916602001820160405280156129cf576020820181803683370190505b5090505b8415612330576129e4600183613345565b91506129f1600a866133e8565b6129fc90603061335c565b60f81b818381518110612a1157612a1161338f565b60200101906001600160f81b031916908160001a905350612a33600a8661328b565b94506129d3565b600081815b8451811015612ade576000858281518110612a5c57612a5c61338f565b60200260200101519050808311612a9e576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612acb565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080612ad681613374565b915050612a3f565b509392505050565b60006001600160a01b0384163b15612be857604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612b2a90339089908890889060040161344e565b602060405180830381600087803b158015612b4457600080fd5b505af1925050508015612b74575060408051601f3d908101601f19168201909252612b719181019061348b565b60015b612bce573d808015612ba2576040519150601f19603f3d011682016040523d82523d6000602084013e612ba7565b606091505b508051612bc65760405162461bcd60e51b8152600401610b9f906133fc565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612330565b506001949350505050565b828054612bff90613156565b90600052602060002090601f016020900481019282612c215760008555612c67565b82601f10612c3a5782800160ff19823516178555612c67565b82800160010185558215612c67579182015b82811115612c67578235825591602001919060010190612c4c565b50612c73929150612c77565b5090565b5b80821115612c735760008155600101612c78565b6001600160e01b031981168114611c0057600080fd5b600060208284031215612cb457600080fd5b8135611a6b81612c8c565b80358015158114612ccf57600080fd5b919050565b600060208284031215612ce657600080fd5b611a6b82612cbf565b80356001600160a01b0381168114612ccf57600080fd5b600060208284031215612d1857600080fd5b611a6b82612cef565b60005b83811015612d3c578181015183820152602001612d24565b8381111561171b5750506000910152565b60008151808452612d65816020860160208601612d21565b601f01601f19169290920160200192915050565b602081526000611a6b6020830184612d4d565b600060208284031215612d9e57600080fd5b5035919050565b60008060408385031215612db857600080fd5b612dc183612cef565b946020939093013593505050565b60008060208385031215612de257600080fd5b823567ffffffffffffffff80821115612dfa57600080fd5b818501915085601f830112612e0e57600080fd5b813581811115612e1d57600080fd5b866020828501011115612e2f57600080fd5b60209290920196919550909350505050565b600080600060608486031215612e5657600080fd5b612e5f84612cef565b9250612e6d60208501612cef565b9150604084013590509250925092565b60008060408385031215612e9057600080fd5b50508035926020909101359150565b6020808252825182820181905260009190848201906040850190845b81811015611d1357835183529284019291840191600101612ebb565b600080600080600060808688031215612eef57600080fd5b853594506020860135935060408601359250606086013567ffffffffffffffff80821115612f1c57600080fd5b818801915088601f830112612f3057600080fd5b813581811115612f3f57600080fd5b8960208260051b8501011115612f5457600080fd5b9699959850939650602001949392505050565b60008060408385031215612f7a57600080fd5b82359150612f8a60208401612cbf565b90509250929050565b60008060408385031215612fa657600080fd5b612faf83612cef565b9150612f8a60208401612cbf565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612ffc57612ffc612fbd565b604052919050565b6000806000806080858703121561301a57600080fd5b61302385612cef565b93506020613032818701612cef565b935060408601359250606086013567ffffffffffffffff8082111561305657600080fd5b818801915088601f83011261306a57600080fd5b81358181111561307c5761307c612fbd565b61308e601f8201601f19168501612fd3565b915080825289848285010111156130a457600080fd5b808484018584013760008482840101525080935050505092959194509250565b6000806000606084860312156130d957600080fd5b6130e284612cef565b95602085013595506040909401359392505050565b6000806040838503121561310a57600080fd5b61311383612cef565b9150612f8a60208401612cef565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061316a57607f821691505b6020821081141561318b57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526015908201527413595d1859185d18481a5cc8199a5b985b1a5e9959605a1b604082015260600190565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561327057613270613240565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261329a5761329a613275565b500490565b600060208083850312156132b257600080fd5b825167ffffffffffffffff808211156132ca57600080fd5b818501915085601f8301126132de57600080fd5b8151818111156132f0576132f0612fbd565b8060051b9150613301848301612fd3565b818152918301840191848101908884111561331b57600080fd5b938501935b8385101561333957845182529385019390850190613320565b98975050505050505050565b60008282101561335757613357613240565b500390565b6000821982111561336f5761336f613240565b500190565b600060001982141561338857613388613240565b5060010190565b634e487b7160e01b600052603260045260246000fd5b600084516133b7818460208901612d21565b8451908301906133cb818360208901612d21565b84519101906133de818360208801612d21565b0195945050505050565b6000826133f7576133f7613275565b500690565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061348190830184612d4d565b9695505050505050565b60006020828403121561349d57600080fd5b8151611a6b81612c8c56fea26469706673582212206af7ce32e8111acd55c7fb4fd6bbce62e92d0026260e49a7ae805ebf23d9331164736f6c6343000809003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000042697066733a2f2f6261666b7265696874767a7165666465756d7264616932337a6b71626567793277356834343534697477626b6f357763757072326c7867676a6775000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106103b85760003560e01c80636352211e116101f2578063a50c73bf1161010d578063e8a3d485116100a0578063eb1a190e1161006f578063eb1a190e14610ae4578063f2fde38b14610afe578063f461b24e14610b1e578063fbc5718414610b3457600080fd5b8063e8a3d48514610a5b578063e971d5b714610a70578063e985e9c514610a86578063e986655014610acf57600080fd5b8063ca2bbb6f116100dc578063ca2bbb6f146109ea578063d134dd4a14610a0a578063e2e784d514610a3b578063e51c52f9146107b757600080fd5b8063a50c73bf14610974578063b88d4fde1461098a578063c839fe94146109aa578063c87b56dd146109ca57600080fd5b80638da5cb5b1161018557806395d89b411161015457806395d89b411461091657806399a30c121461092b578063a0712d6814610941578063a22cb4651461095457600080fd5b80638da5cb5b146108ae5780638ecad721146108cc578063911aff16146108e1578063938e3d7b146108f657600080fd5b8063727a612e116101c1578063727a612e146108445780637a36dadb146108575780637dfc3386146108785780638096b48d1461089857600080fd5b80636352211e146107d35780637043e9e8146107f357806370a082311461080f578063715018a61461082f57600080fd5b806331a53e9a116102e257806349a5980a1161027557806355f804b31161024457806355f804b31461075857806357535c43146107785780635d893ba01461079857806362dc6e21146107b757600080fd5b806349a5980a146106f95780634bb278f31461071957806351c7115b1461072e578063534308cc1461074357600080fd5b8063403aef27116102b1578063403aef271461067057806342842e0e1461068c578063438b6300146106ac57806344285c8c146106d957600080fd5b806331a53e9a1461060f57806332cb6b0c146106255780633574a2dd1461063b5780633ccfd60b1461065b57600080fd5b8063109695231161035a57806323b872dd1161032957806323b872dd1461056057806328d7b276146105805780632a55205a146105a05780632e210d6b146105df57600080fd5b806310969523146104e95780631525131c14610509578063163346741461053157806318160ddd1461054b57600080fd5b806306fdde031161039657806306fdde031461044f578063081812fc1461047157806308a3547e146104a9578063095ea7b3146104c957600080fd5b806301ffc9a7146103bd57806302c88989146103f257806305f6ae0014610414575b600080fd5b3480156103c957600080fd5b506103dd6103d8366004612ca2565b610b4a565b60405190151581526020015b60405180910390f35b3480156103fe57600080fd5b5061041261040d366004612cd4565b610b75565b005b34801561042057600080fd5b5061044161042f366004612d06565b600d6020526000908152604090205481565b6040519081526020016103e9565b34801561045b57600080fd5b50610464610c62565b6040516103e99190612d79565b34801561047d57600080fd5b5061049161048c366004612d8c565b610cf4565b6040516001600160a01b0390911681526020016103e9565b3480156104b557600080fd5b506104126104c4366004612cd4565b610d89565b3480156104d557600080fd5b506104126104e4366004612da5565b610df4565b3480156104f557600080fd5b50610412610504366004612dcf565b610f0a565b34801561051557600080fd5b50600b546104919064010000000090046001600160a01b031681565b34801561053d57600080fd5b506011546103dd9060ff1681565b34801561055757600080fd5b50601554610441565b34801561056c57600080fd5b5061041261057b366004612e41565b610fa8565b34801561058c57600080fd5b5061041261059b366004612d8c565b610fd9565b3480156105ac57600080fd5b506105c06105bb366004612e7d565b611038565b604080516001600160a01b0390931683526020830191909152016103e9565b3480156105eb57600080fd5b506103dd6105fa366004612d06565b600e6020526000908152604090205460ff1681565b34801561061b57600080fd5b5061044161012c81565b34801561063157600080fd5b5061044161271081565b34801561064757600080fd5b50610412610656366004612dcf565b61107d565b34801561066757600080fd5b506104126110e5565b34801561067c57600080fd5b506104416706f05b59d3b2000081565b34801561069857600080fd5b506104126106a7366004612e41565b61116f565b3480156106b857600080fd5b506106cc6106c7366004612d06565b61118a565b6040516103e99190612e9f565b3480156106e557600080fd5b506104126106f4366004612e7d565b61121a565b34801561070557600080fd5b50610412610714366004612cd4565b6112cd565b34801561072557600080fd5b5061041261136c565b34801561073a57600080fd5b50610441611456565b34801561074f57600080fd5b5061046461152c565b34801561076457600080fd5b50610412610773366004612dcf565b6115ba565b34801561078457600080fd5b50610412610793366004612da5565b61164c565b3480156107a457600080fd5b50600b546103dd90610100900460ff1681565b3480156107c357600080fd5b50610441670138a388a43c000081565b3480156107df57600080fd5b506104916107ee366004612d8c565b611721565b3480156107ff57600080fd5b50610441670de0b6b3a764000081565b34801561081b57600080fd5b5061044161082a366004612d06565b611798565b34801561083b57600080fd5b5061041261181f565b610412610852366004612ed7565b611855565b34801561086357600080fd5b50600b546103dd906301000000900460ff1681565b34801561088457600080fd5b50610441610893366004612f67565b611a38565b3480156108a457600080fd5b50610441600a5481565b3480156108ba57600080fd5b506006546001600160a01b0316610491565b3480156108d857600080fd5b50610441600581565b3480156108ed57600080fd5b50610412611a72565b34801561090257600080fd5b50610412610911366004612dcf565b611aed565b34801561092257600080fd5b50610464611b55565b34801561093757600080fd5b5061044160075481565b61041261094f366004612d8c565b611b64565b34801561096057600080fd5b5061041261096f366004612f93565b611c03565b34801561098057600080fd5b50610441600c5481565b34801561099657600080fd5b506104126109a5366004613004565b611c12565b3480156109b657600080fd5b506106cc6109c53660046130c4565b611c44565b3480156109d657600080fd5b506104646109e5366004612d8c565b611d1f565b3480156109f657600080fd5b50600b546103dd9062010000900460ff1681565b348015610a1657600080fd5b5061046460405180604001604052806005815260200164173539b7b760d91b81525081565b348015610a4757600080fd5b50610412610a56366004612da5565b611f3d565b348015610a6757600080fd5b50610464611fce565b348015610a7c57600080fd5b50610441600f5481565b348015610a9257600080fd5b506103dd610aa13660046130f7565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610adb57600080fd5b50610412611fdd565b348015610af057600080fd5b50600b546103dd9060ff1681565b348015610b0a57600080fd5b50610412610b19366004612d06565b6120eb565b348015610b2a57600080fd5b5061044160095481565b348015610b4057600080fd5b5061044160105481565b60006001600160e01b0319821663152a902d60e11b1480610b6f5750610b6f82612183565b92915050565b6006546001600160a01b03163314610ba85760405162461bcd60e51b8152600401610b9f90613121565b60405180910390fd5b801580610bc2575060095415801590610bc25750600a5415155b610c0e5760405162461bcd60e51b815260206004820152601a60248201527f41756374696f6e20706172616d73206d757374206265207365740000000000006044820152606401610b9f565b600b80548215156101000261ff00199091161790556040517f20fe3d468e18cc677a838aefa7188273b78ab4acfafec99620be1db979d4e79b90610c5790831515815260200190565b60405180910390a150565b606060008054610c7190613156565b80601f0160208091040260200160405190810160405280929190818152602001828054610c9d90613156565b8015610cea5780601f10610cbf57610100808354040283529160200191610cea565b820191906000526020600020905b815481529060010190602001808311610ccd57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610d6d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b9f565b506000908152600460205260409020546001600160a01b031690565b6006546001600160a01b03163314610db35760405162461bcd60e51b8152600401610b9f90613121565b600b805460ff19168215159081179091556040519081527f04682f4e7af4746fc1bf0302c8d29247fa327140e8639404464b3191dc5257f190602001610c57565b6000610dff82611721565b9050806001600160a01b0316836001600160a01b03161415610e6d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610b9f565b336001600160a01b0382161480610e895750610e898133610aa1565b610efb5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610b9f565b610f0583836121d3565b505050565b6006546001600160a01b03163314610f345760405162461bcd60e51b8152600401610b9f90613121565b600b546301000000900460ff1615610f5e5760405162461bcd60e51b8152600401610b9f90613191565b610f6a60088383612bf3565b507f6760362308ca665d8ad5234d7f09a8ac815ee45be8350cad464cb1e4eadd34ee8282604051610f9c9291906131c0565b60405180910390a15050565b610fb23382612241565b610fce5760405162461bcd60e51b8152600401610b9f906131ef565b610f05838383612338565b6006546001600160a01b031633146110035760405162461bcd60e51b8152600401610b9f90613121565b60078190556040518181527f27fda2f09bdfc247a689f64681c7850adf9ddb3086af9cd89b0a7c724b24f7f690602001610c57565b600080600b60049054906101000a90046001600160a01b0316670de0b6b3a7640000600c54856110689190613256565b611072919061328b565b915091509250929050565b6006546001600160a01b031633146110a75760405162461bcd60e51b8152600401610b9f90613121565b6110b360138383612bf3565b507f330b2ff4a885bf6f80261e9830cdeec700b2d965f52f12a62f9e9f3b628fcae98282604051610f9c9291906131c0565b6006546001600160a01b0316331461110f5760405162461bcd60e51b8152600401610b9f90613121565b6040514790339082156108fc029083906000818181858888f1935050505015801561113e573d6000803e3d6000fd5b506040518181527fb6b476da71cea8275cac6b1720c04966afaff5e637472cedb6cbd32c43a2325190602001610c57565b610f0583838360405180602001604052806000815250611c12565b60155460405163320e7fa560e21b81526001600160a01b0383166004820152600060248201526044810191909152606090309063c839fe949060640160006040518083038186803b1580156111de57600080fd5b505afa1580156111f2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b6f919081019061329f565b6006546001600160a01b031633146112445760405162461bcd60e51b8152600401610b9f90613121565b8082111561128d5760405162461bcd60e51b815260206004820152601660248201527514dd185c9d081b5d5cdd081c1c9958d9591948195b9960521b6044820152606401610b9f565b6009829055600a81905560408051838152602081018390527f892ac57e8e47eb93a754d7dad53b04af7fd3c4fd9a5246aae24ca76ee29394349101610f9c565b6006546001600160a01b031633146112f75760405162461bcd60e51b8152600401610b9f90613121565b600b546301000000900460ff16156113215760405162461bcd60e51b8152600401610b9f90613191565b600b8054821515620100000262ff0000199091161790556040517f40dcfa5db899ec74bc8371886cd6b7550aa92fd52a425b9c498a839183f2886c90610c5790831515815260200190565b6006546001600160a01b031633146113965760405162461bcd60e51b8152600401610b9f90613121565b600b546301000000900460ff16156113c05760405162461bcd60e51b8152600401610b9f90613191565b600b5462010000900460ff166114185760405162461bcd60e51b815260206004820152601c60248201527f4d7573742062652072657665616c656420746f2066696e616c697a65000000006044820152606401610b9f565b600b805463ff000000191663010000001790556040517f6823b073d48d6e3a7d385eeb601452d680e74bb46afe3255a7d778f3a9b1768190600090a1565b600954600a54600091904282158061146c575081155b806114775750808310155b1561148d576706f05b59d3b20000935050505090565b8082116114a557670138a388a43c0000935050505090565b60006114b18484613345565b6114bb8584613345565b6114cd90670de0b6b3a7640000613256565b6114d7919061328b565b9050670de0b6b3a7640000816114fd670138a388a43c00006706f05b59d3b20000613345565b6115079190613256565b611511919061328b565b611523906706f05b59d3b20000613345565b94505050505090565b6008805461153990613156565b80601f016020809104026020016040519081016040528092919081815260200182805461156590613156565b80156115b25780601f10611587576101008083540402835291602001916115b2565b820191906000526020600020905b81548152906001019060200180831161159557829003601f168201915b505050505081565b6006546001600160a01b031633146115e45760405162461bcd60e51b8152600401610b9f90613121565b600b546301000000900460ff161561160e5760405162461bcd60e51b8152600401610b9f90613191565b61161a60128383612bf3565b507f23c8c9488efebfd474e85a7956de6f39b17c7ab88502d42a623db2d8e382bbaa8282604051610f9c9291906131c0565b6006546001600160a01b031633146116765760405162461bcd60e51b8152600401610b9f90613121565b60155461012c611686838361335c565b11156116de5760405162461bcd60e51b815260206004820152602160248201527f4d696e7420776f756c642065786365656420726573657276656420737570706c6044820152607960f81b6064820152608401610b9f565b6116e8828261335c565b60155560005b8281101561171b5761170984611704838561335c565b6124d8565b8061171381613374565b9150506116ee565b50505050565b6000818152600260205260408120546001600160a01b031680610b6f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610b9f565b60006001600160a01b0382166118035760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610b9f565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146118495760405162461bcd60e51b8152600401610b9f90613121565b611853600061261a565b565b600b5460ff1661189c5760405162461bcd60e51b815260206004820152601260248201527150726573616c65206e6f742061637469766560701b6044820152606401610b9f565b6040516bffffffffffffffffffffffff193360601b166020820152603481018590526054810184905260009060740160405160208183030381529060405280519060200120905061192483838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600754915084905061266c565b6119675760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b21026b2b935b63290383937b7b360611b6044820152606401610b9f565b336000908152600d602052604081205461198290889061335c565b9050858111156119cd5760405162461bcd60e51b8152602060048201526016602482015275141c995cd85b19481b5a5b9d1cc8195e18d95959195960521b6044820152606401610b9f565b600085158015906119ee5750336000908152600e602052604090205460ff16155b15611a105750336000908152600e60205260409020805460ff19166001179055845b336000908152600d60205260409020829055611a2e88600183612682565b5050505050505050565b60008115611a5957611a52670138a388a43c000084613256565b9050610b6f565b611a61611456565b611a6b9084613256565b9392505050565b6006546001600160a01b03163314611a9c5760405162461bcd60e51b8152600401610b9f90613121565b600f5415611ae35760405162461bcd60e51b8152602060048201526014602482015273109b1bd8dac81b9d5b58995c881dd85cc81cd95d60621b6044820152606401610b9f565b61185360016127ee565b6006546001600160a01b03163314611b175760405162461bcd60e51b8152600401610b9f90613121565b611b2360148383612bf3565b507f5ca9f750836b0b7efdace104f07b5c9f0df0650c0fd24f5163e99044ae36ea528282604051610f9c9291906131c0565b606060018054610c7190613156565b600b54610100900460ff16611bad5760405162461bcd60e51b815260206004820152600f60248201526e53616c65206e6f742061637469766560881b6044820152606401610b9f565b6005811115611bf45760405162461bcd60e51b81526020600482015260136024820152726e756d546f4d696e7420746f6f206c6172676560681b6044820152606401610b9f565b611c0081600080612682565b50565b611c0e33838361283a565b5050565b611c1c3383612241565b611c385760405162461bcd60e51b8152600401610b9f906131ef565b61171b84848484612909565b60606000611c5185611798565b905060008167ffffffffffffffff811115611c6e57611c6e612fbd565b604051908082528060200260200182016040528015611c97578160200160208202803683370190505b5090506000855b85811015611d135783821415611cb357611d13565b876001600160a01b0316611cc682611721565b6001600160a01b03161415611d015780838381518110611ce857611ce861338f565b602090810291909101015281611cfd81613374565b9250505b80611d0b81613374565b915050611c9e565b50909695505050505050565b6000818152600260205260409020546060906001600160a01b0316611d9e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610b9f565b600b5462010000900460ff16611e405760138054611dbb90613156565b80601f0160208091040260200160405190810160405280929190818152602001828054611de790613156565b8015611e345780601f10611e0957610100808354040283529160200191611e34565b820191906000526020600020905b815481529060010190602001808311611e1757829003601f168201915b50505050509050919050565b600060128054611e4f90613156565b80601f0160208091040260200160405190810160405280929190818152602001828054611e7b90613156565b8015611ec85780601f10611e9d57610100808354040283529160200191611ec8565b820191906000526020600020905b815481529060010190602001808311611eab57829003601f168201915b505050505090506000815111611eed5760405180602001604052806000815250611a6b565b80611ef78461293c565b60405180604001604052806005815260200164173539b7b760d91b815250604051602001611f27939291906133a5565b6040516020818303038152906040529392505050565b6006546001600160a01b03163314611f675760405162461bcd60e51b8152600401610b9f90613121565b600b8054640100000000600160c01b0319166401000000006001600160a01b03851690810291909117909155600c82905560408051918252602082018390527fff26d16febb506bdb66324138b1086facb8bd304fc773e610e0aa1593b7a07469101610f9c565b606060148054610c7190613156565b60115460ff16156120295760405162461bcd60e51b815260206004820152601660248201527514dd185c9d1a5b99c81a5b99195e081dd85cc81cd95d60521b6044820152606401610b9f565b600f54806120705760405162461bcd60e51b8152602060048201526014602482015273109b1bd8dac81b9d5b58995c881b9bdd081cd95d60621b6044820152606401610b9f565b61010061207d8243613345565b11156120915761208e600143613345565b90505b60006120a061271083406133e8565b60108190556011805460ff1916600117905560408051828152602081018590529192507f4e12e01cce6276f68d12cd23abdbdbd9f61cc07392cb3f67ff062026e4ea94119101610f9c565b6006546001600160a01b031633146121155760405162461bcd60e51b8152600401610b9f90613121565b6001600160a01b03811661217a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b9f565b611c008161261a565b60006001600160e01b031982166380ac58cd60e01b14806121b457506001600160e01b03198216635b5e139f60e01b145b80610b6f57506301ffc9a760e01b6001600160e01b0319831614610b6f565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061220882611721565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166122ba5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b9f565b60006122c583611721565b9050806001600160a01b0316846001600160a01b031614806123005750836001600160a01b03166122f584610cf4565b6001600160a01b0316145b8061233057506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661234b82611721565b6001600160a01b0316146123b35760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610b9f565b6001600160a01b0382166124155760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610b9f565b6124206000826121d3565b6001600160a01b0383166000908152600360205260408120805460019290612449908490613345565b90915550506001600160a01b038216600090815260036020526040812080546001929061247790849061335c565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b03821661252e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610b9f565b6000818152600260205260409020546001600160a01b0316156125935760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610b9f565b6001600160a01b03821660009081526003602052604081208054600192906125bc90849061335c565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000826126798584612a3a565b14949350505050565b601554612710612692858361335c565b11156126e05760405162461bcd60e51b815260206004820152601c60248201527f4d696e7420776f756c6420657863656564206d617820737570706c79000000006044820152606401610b9f565b6126ea823461335c565b6126f48585611a38565b11156127395760405162461bcd60e51b8152602060048201526014602482015273125b9cdd59999a58da595b9d081c185e5b595b9d60621b6044820152606401610b9f565b333b156127885760405162461bcd60e51b815260206004820152601b60248201527f43616e6e6f74206d696e742066726f6d206120636f6e747261637400000000006044820152606401610b9f565b612792848261335c565b60155560005b848110156127c0576127ae33611704838561335c565b806127b881613374565b915050612798565b506127106127ce858361335c565b141561171b57600880546127e190613156565b15905061171b5761171b60005b60006127fb43600161335c565b600f8190556040805182815284151560208201529192507f2a07db8574dc962def4d39a4ba6778311d248b820d078f37ff676c67ea9d2df69101610f9c565b816001600160a01b0316836001600160a01b0316141561289c5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610b9f565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612914848484612338565b61292084848484612ae6565b61171b5760405162461bcd60e51b8152600401610b9f906133fc565b6060816129605750506040805180820190915260018152600360fc1b602082015290565b8160005b811561298a578061297481613374565b91506129839050600a8361328b565b9150612964565b60008167ffffffffffffffff8111156129a5576129a5612fbd565b6040519080825280601f01601f1916602001820160405280156129cf576020820181803683370190505b5090505b8415612330576129e4600183613345565b91506129f1600a866133e8565b6129fc90603061335c565b60f81b818381518110612a1157612a1161338f565b60200101906001600160f81b031916908160001a905350612a33600a8661328b565b94506129d3565b600081815b8451811015612ade576000858281518110612a5c57612a5c61338f565b60200260200101519050808311612a9e576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612acb565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080612ad681613374565b915050612a3f565b509392505050565b60006001600160a01b0384163b15612be857604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612b2a90339089908890889060040161344e565b602060405180830381600087803b158015612b4457600080fd5b505af1925050508015612b74575060408051601f3d908101601f19168201909252612b719181019061348b565b60015b612bce573d808015612ba2576040519150601f19603f3d011682016040523d82523d6000602084013e612ba7565b606091505b508051612bc65760405162461bcd60e51b8152600401610b9f906133fc565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612330565b506001949350505050565b828054612bff90613156565b90600052602060002090601f016020900481019282612c215760008555612c67565b82601f10612c3a5782800160ff19823516178555612c67565b82800160010185558215612c67579182015b82811115612c67578235825591602001919060010190612c4c565b50612c73929150612c77565b5090565b5b80821115612c735760008155600101612c78565b6001600160e01b031981168114611c0057600080fd5b600060208284031215612cb457600080fd5b8135611a6b81612c8c565b80358015158114612ccf57600080fd5b919050565b600060208284031215612ce657600080fd5b611a6b82612cbf565b80356001600160a01b0381168114612ccf57600080fd5b600060208284031215612d1857600080fd5b611a6b82612cef565b60005b83811015612d3c578181015183820152602001612d24565b8381111561171b5750506000910152565b60008151808452612d65816020860160208601612d21565b601f01601f19169290920160200192915050565b602081526000611a6b6020830184612d4d565b600060208284031215612d9e57600080fd5b5035919050565b60008060408385031215612db857600080fd5b612dc183612cef565b946020939093013593505050565b60008060208385031215612de257600080fd5b823567ffffffffffffffff80821115612dfa57600080fd5b818501915085601f830112612e0e57600080fd5b813581811115612e1d57600080fd5b866020828501011115612e2f57600080fd5b60209290920196919550909350505050565b600080600060608486031215612e5657600080fd5b612e5f84612cef565b9250612e6d60208501612cef565b9150604084013590509250925092565b60008060408385031215612e9057600080fd5b50508035926020909101359150565b6020808252825182820181905260009190848201906040850190845b81811015611d1357835183529284019291840191600101612ebb565b600080600080600060808688031215612eef57600080fd5b853594506020860135935060408601359250606086013567ffffffffffffffff80821115612f1c57600080fd5b818801915088601f830112612f3057600080fd5b813581811115612f3f57600080fd5b8960208260051b8501011115612f5457600080fd5b9699959850939650602001949392505050565b60008060408385031215612f7a57600080fd5b82359150612f8a60208401612cbf565b90509250929050565b60008060408385031215612fa657600080fd5b612faf83612cef565b9150612f8a60208401612cbf565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612ffc57612ffc612fbd565b604052919050565b6000806000806080858703121561301a57600080fd5b61302385612cef565b93506020613032818701612cef565b935060408601359250606086013567ffffffffffffffff8082111561305657600080fd5b818801915088601f83011261306a57600080fd5b81358181111561307c5761307c612fbd565b61308e601f8201601f19168501612fd3565b915080825289848285010111156130a457600080fd5b808484018584013760008482840101525080935050505092959194509250565b6000806000606084860312156130d957600080fd5b6130e284612cef565b95602085013595506040909401359392505050565b6000806040838503121561310a57600080fd5b61311383612cef565b9150612f8a60208401612cef565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061316a57607f821691505b6020821081141561318b57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526015908201527413595d1859185d18481a5cc8199a5b985b1a5e9959605a1b604082015260600190565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561327057613270613240565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261329a5761329a613275565b500490565b600060208083850312156132b257600080fd5b825167ffffffffffffffff808211156132ca57600080fd5b818501915085601f8301126132de57600080fd5b8151818111156132f0576132f0612fbd565b8060051b9150613301848301612fd3565b818152918301840191848101908884111561331b57600080fd5b938501935b8385101561333957845182529385019390850190613320565b98975050505050505050565b60008282101561335757613357613240565b500390565b6000821982111561336f5761336f613240565b500190565b600060001982141561338857613388613240565b5060010190565b634e487b7160e01b600052603260045260246000fd5b600084516133b7818460208901612d21565b8451908301906133cb818360208901612d21565b84519101906133de818360208801612d21565b0195945050505050565b6000826133f7576133f7613275565b500690565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061348190830184612d4d565b9695505050505050565b60006020828403121561349d57600080fd5b8151611a6b81612c8c56fea26469706673582212206af7ce32e8111acd55c7fb4fd6bbce62e92d0026260e49a7ae805ebf23d9331164736f6c63430008090033

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

00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000042697066733a2f2f6261666b7265696874767a7165666465756d7264616932337a6b71626567793277356834343534697477626b6f357763757072326c7867676a6775000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : placeholderURI (string): ipfs://bafkreihtvzqefdeumrdai23zkqbegy2w5h4454itwbko5wcupr2lxggjgu

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000042
Arg [2] : 697066733a2f2f6261666b7265696874767a7165666465756d7264616932337a
Arg [3] : 6b71626567793277356834343534697477626b6f357763757072326c7867676a
Arg [4] : 6775000000000000000000000000000000000000000000000000000000000000


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.