ETH Price: $3,363.08 (+0.02%)
Gas: 4.93 Gwei

Token

MetaSpaceBabies (MSB)
 

Overview

Max Total Supply

684 MSB

Holders

230

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
5 MSB
0x55bb61e3f78a98a43a0dd93f366b1c3ef32bc30e
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
MSB

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
No with 200 runs

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

 //////////////////////////////////////////////////////////////////////
 //                                                                  //
 //    /////////////////// ///////////////////  /////////////////    //
 //  //   ____    ____   //      _______     //     ______      //   //
 //  //  |_   \  /   _|  //     /  ___  |    //    |_   _ \     //   //
 //  //    |   \/   |    //    |  (__ \_|    //      | |_) |    //   //
 //  //    | |\  /| |    //      /___ //     //      |  __ /    //   //
 //  //   _| |_\/_| |_   //    | \____) |    //     _| |__) |   //   //
 //  //  |_____||_____|  //    |_______/     //    |_______/    //   //
 //  //                  //                  //                 //   //
 //   /////////////////// /////////////////// //////////////////     //
 //     ==== META ====      ==== SPACE ====    ==== BABIES ====      //
 //                                                                  //
 //                  Smart Contract by: qazipolo.eth                 //
 //////////////////////////////////////////////////////////////////////

pragma solidity ^0.8.4;
pragma abicoder v2;

import "./ERC721A.sol"; // ERC721A standard by Azuki (Chiru Labs)
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

contract MSB is ERC721A, Ownable  {
    using SafeMath for uint256;
    bytes32 public merkleRoot;
    uint256 constant public MAX_SUPPLY= 10000;
    uint256 constant public WL_PRICE = 0.08 ether;
    uint256 constant public PRICE = 0.1 ether;
    uint256 constant public NAME_CHANGE_PRICE = 0.02 ether;
    uint256 public giveawayLimit = 100;
    string public baseTokenURI;
    bool public whitelistSaleIsActive;
    bool public saleIsActive;
    mapping(uint256 => string) public tokenName;    
    address public ownerWallet = 0x7DdF7e9AF7aA9325A15c3bd36749339e26f7dcb4;

    uint256 private nameLimit;
    mapping(uint256 => bool) nameInitialized;

    constructor() ERC721A("MetaSpaceBabies", "MSB") { }

    modifier callerIsUser() {
        require(tx.origin == msg.sender, "The caller is another contract");
        _;
    }

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

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

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

    function flipWhitelistSaleState() external onlyOwner {
        whitelistSaleIsActive = !whitelistSaleIsActive;
    }  

    function updateMerkleRoot(bytes32 newMerkleRoot) external onlyOwner {
        merkleRoot = newMerkleRoot;
    }

    function setNameLimit(uint256 limit) external onlyOwner {
        nameLimit = limit;
    }

    function whitelistMint(uint256 numberOfTokens, bytes32[] calldata merkleProof ) payable external callerIsUser {
        require(whitelistSaleIsActive, "Whitelist Sale must be active to mint");
        require(totalSupply().add(numberOfTokens) <= MAX_SUPPLY, "Total Supply has been minted");
        require(numberOfTokens > 0 && numberOfTokens <= 10, "Can only mint upto 10 NFTs in a transaction");
        require(msg.value == WL_PRICE.mul(numberOfTokens), "Ether value sent is not correct");
        require(numberMinted(msg.sender).add(numberOfTokens) <= 10,"Max 10 mints allowed per whitelisted wallet");

        // Verify the merkle proof
        require(MerkleProof.verify(merkleProof, merkleRoot,  keccak256(abi.encodePacked(msg.sender))  ), "Invalid proof");
		
		_safeMint(msg.sender, numberOfTokens);
    }

    function mint(uint256 numberOfTokens) external payable callerIsUser {
        require(saleIsActive, "Sale must be active to mint");
        require(totalSupply().add(numberOfTokens) <= MAX_SUPPLY, "Total Supply has been minted");
        require(msg.value == PRICE.mul(numberOfTokens), "Ether value sent is not correct");
        require(numberMinted(msg.sender).add(numberOfTokens) <= 10,"Max 10 mints allowed per wallet");

        _safeMint(msg.sender, numberOfTokens);
    }

    function withdrawAll() external onlyOwner {
        (bool success, ) = ownerWallet.call{value: address(this).balance}("");
        require(success, "Transfer failed.");
    }

    function setName(uint256 tokenId, string memory newName) public {
        require(msg.sender == ownerOf(tokenId),"Caller is not the owner of NFT");
        require(tokenId < nameLimit,"Token Id is not eligible");
        require(!nameInitialized[tokenId],"Name has already been set once");
        require(bytes(newName).length > 0 && bytes(newName).length <= 50,"Name exceeds allowed character limit");
        tokenName[tokenId] = newName;
        nameInitialized[tokenId] = true;
    }

    function changeName(uint256 tokenId, string memory newName) public payable {
        require(msg.sender == ownerOf(tokenId),"Caller is not the owner of NFT");
        require(msg.value == NAME_CHANGE_PRICE,"Incorrect Price sent for name change");
        require(bytes(newName).length > 0 && bytes(newName).length <= 50,"Name exceeds allowed character limit");
        tokenName[tokenId] = newName;
    }

    function giveAway(uint256 numberOfTokens, address to) external onlyOwner {
        require(giveawayLimit.sub(numberOfTokens) >= 0,"Giveaways exhausted");
        _safeMint(to, numberOfTokens);
        giveawayLimit = giveawayLimit.sub(numberOfTokens);
    }

    function numberMinted(address owner) public view returns (uint256) {
        return _numberMinted(owner);
    }

}

File 2 of 13 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (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 = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 3 of 13 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 4 of 13 : 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 5 of 13 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerQueryForNonexistentToken();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

    // The tokenId of the next token to be minted.
    uint256 internal _currentIndex;

    // The number of tokens burned.
    uint256 internal _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

    // 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;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    /**
     * To change the starting tokenId, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view returns (uint256) {
        // Counter underflow is impossible as _currentIndex does not decrement,
        // and it is initialized to _startTokenId()
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @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 override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return _addressData[owner].aux;
    }

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        _addressData[owner].aux = aux;
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr && curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant:
                    // There will always be an ownership that has an address and is not burned
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return _ownershipOf(tokenId).addr;
    }

    /**
     * @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) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        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 override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

        if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) {
            revert ApprovalCallerNotOwnerNorApproved();
        }

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

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

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        _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 {
        _transfer(from, to, tokenId);
        if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

    /**
     * @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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned;
    }

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity, _data, true);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(
        address to,
        uint256 quantity,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (safe && to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex != end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex != end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) private {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

        bool isApprovedOrOwner = (_msgSender() == from ||
            isApprovedForAll(from, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = to;
            currSlot.startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @dev This is equivalent to _burn(tokenId, false)
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        address from = prevOwnership.addr;

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSender() == from ||
                isApprovedForAll(from, _msgSender()) ||
                getApproved(tokenId) == _msgSender());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            AddressData storage addressData = _addressData[from];
            addressData.balance -= 1;
            addressData.numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = from;
            currSlot.startTimestamp = uint64(block.timestamp);
            currSlot.burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
            return retval == IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * 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, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     * And also called after one token has been burned.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

File 6 of 13 : 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 7 of 13 : 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 8 of 13 : 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 9 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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 10 of 13 : 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 13 : 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 12 of 13 : 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 13 of 13 : 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": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NAME_CHANGE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WL_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"newName","type":"string"}],"name":"changeName","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipWhitelistSaleState","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":"numberOfTokens","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"giveAway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"giveawayLimit","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":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ownerWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"newName","type":"string"}],"name":"setName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"limit","type":"uint256"}],"name":"setNameLimit","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":"","type":"uint256"}],"name":"tokenName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"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":"bytes32","name":"newMerkleRoot","type":"bytes32"}],"name":"updateMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistSaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526064600a55737ddf7e9af7aa9325a15c3bd36749339e26f7dcb4600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200006b57600080fd5b506040518060400160405280600f81526020017f4d657461537061636542616269657300000000000000000000000000000000008152506040518060400160405280600381526020017f4d534200000000000000000000000000000000000000000000000000000000008152508160029080519060200190620000f09291906200021b565b508060039080519060200190620001099291906200021b565b506200011a6200014860201b60201c565b600081905550505062000142620001366200014d60201b60201c565b6200015560201b60201c565b6200032f565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200022990620002fa565b90600052602060002090601f0160209004810192826200024d576000855562000299565b82601f106200026857805160ff191683800117855562000299565b8280016001018555821562000299579182015b82811115620002985782518255916020019190600101906200027b565b5b509050620002a89190620002ac565b5090565b5b80821115620002c7576000816000905550600101620002ad565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200031357607f821691505b602082108103620003295762000328620002cb565b5b50919050565b614a12806200033f6000396000f3fe60806040526004361061023b5760003560e01c8063853828b61161012e578063d1beca64116100ab578063e985e9c51161006f578063e985e9c514610812578063eb8d24441461084f578063f29708591461087a578063f2fde38b146108a3578063fe55932a146108cc5761023b565b8063d1beca641461073a578063d2cab05614610751578063d547cfb71461076d578063dc33e68114610798578063e725f877146107d55761023b565b8063a0712d68116100f2578063a0712d6814610673578063a22cb4651461068f578063b88d4fde146106b8578063c39cbef1146106e1578063c87b56dd146106fd5761023b565b8063853828b6146105b05780638d859f3e146105c75780638da5cb5b146105f25780639335dcb71461061d57806395d89b41146106485761023b565b806332cb6b0c116101bc57806355f804b31161018057806355f804b3146104cb57806358ae3c54146104f45780636352211e1461051f57806370a082311461055c578063715018a6146105995761023b565b806332cb6b0c1461040c57806334918dfd1461043757806342842e0e1461044e5780634783f0ef1461047757806354b6f161146104a05761023b565b806318160ddd1161020357806318160ddd1461033957806323b872dd14610364578063261d3b211461038d5780632eb4a7ab146103b657806331c3c7a0146103e15761023b565b806301ffc9a71461024057806306fdde031461027d578063081812fc146102a8578063095ea7b3146102e557806310b5454d1461030e575b600080fd5b34801561024c57600080fd5b50610267600480360381019061026291906134cf565b6108f5565b6040516102749190613517565b60405180910390f35b34801561028957600080fd5b506102926109d7565b60405161029f91906135cb565b60405180910390f35b3480156102b457600080fd5b506102cf60048036038101906102ca9190613623565b610a69565b6040516102dc9190613691565b60405180910390f35b3480156102f157600080fd5b5061030c600480360381019061030791906136d8565b610ae5565b005b34801561031a57600080fd5b50610323610bef565b6040516103309190613517565b60405180910390f35b34801561034557600080fd5b5061034e610c02565b60405161035b9190613727565b60405180910390f35b34801561037057600080fd5b5061038b60048036038101906103869190613742565b610c19565b005b34801561039957600080fd5b506103b460048036038101906103af9190613795565b610c29565b005b3480156103c257600080fd5b506103cb610d26565b6040516103d891906137ee565b60405180910390f35b3480156103ed57600080fd5b506103f6610d2c565b6040516104039190613727565b60405180910390f35b34801561041857600080fd5b50610421610d38565b60405161042e9190613727565b60405180910390f35b34801561044357600080fd5b5061044c610d3e565b005b34801561045a57600080fd5b5061047560048036038101906104709190613742565b610de6565b005b34801561048357600080fd5b5061049e60048036038101906104999190613835565b610e06565b005b3480156104ac57600080fd5b506104b5610e8c565b6040516104c29190613727565b60405180910390f35b3480156104d757600080fd5b506104f260048036038101906104ed9190613997565b610e97565b005b34801561050057600080fd5b50610509610f2d565b6040516105169190613727565b60405180910390f35b34801561052b57600080fd5b5061054660048036038101906105419190613623565b610f33565b6040516105539190613691565b60405180910390f35b34801561056857600080fd5b50610583600480360381019061057e91906139e0565b610f49565b6040516105909190613727565b60405180910390f35b3480156105a557600080fd5b506105ae611018565b005b3480156105bc57600080fd5b506105c56110a0565b005b3480156105d357600080fd5b506105dc6111ed565b6040516105e99190613727565b60405180910390f35b3480156105fe57600080fd5b506106076111f9565b6040516106149190613691565b60405180910390f35b34801561062957600080fd5b50610632611223565b60405161063f9190613691565b60405180910390f35b34801561065457600080fd5b5061065d611249565b60405161066a91906135cb565b60405180910390f35b61068d60048036038101906106889190613623565b6112db565b005b34801561069b57600080fd5b506106b660048036038101906106b19190613a39565b6114bd565b005b3480156106c457600080fd5b506106df60048036038101906106da9190613b1a565b611634565b005b6106fb60048036038101906106f69190613b9d565b6116b0565b005b34801561070957600080fd5b50610724600480360381019061071f9190613623565b6117ed565b60405161073191906135cb565b60405180910390f35b34801561074657600080fd5b5061074f61188b565b005b61076b60048036038101906107669190613c59565b611933565b005b34801561077957600080fd5b50610782611c1a565b60405161078f91906135cb565b60405180910390f35b3480156107a457600080fd5b506107bf60048036038101906107ba91906139e0565b611ca8565b6040516107cc9190613727565b60405180910390f35b3480156107e157600080fd5b506107fc60048036038101906107f79190613623565b611cba565b60405161080991906135cb565b60405180910390f35b34801561081e57600080fd5b5061083960048036038101906108349190613cb9565b611d5a565b6040516108469190613517565b60405180910390f35b34801561085b57600080fd5b50610864611dee565b6040516108719190613517565b60405180910390f35b34801561088657600080fd5b506108a1600480360381019061089c9190613623565b611e01565b005b3480156108af57600080fd5b506108ca60048036038101906108c591906139e0565b611e87565b005b3480156108d857600080fd5b506108f360048036038101906108ee9190613b9d565b611f7e565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109c057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109d057506109cf82612143565b5b9050919050565b6060600280546109e690613d28565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1290613d28565b8015610a5f5780601f10610a3457610100808354040283529160200191610a5f565b820191906000526020600020905b815481529060010190602001808311610a4257829003601f168201915b5050505050905090565b6000610a74826121ad565b610aaa576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610af082610f33565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610b57576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b766121fb565b73ffffffffffffffffffffffffffffffffffffffff1614158015610ba85750610ba681610ba16121fb565b611d5a565b155b15610bdf576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610bea838383612203565b505050565b600c60009054906101000a900460ff1681565b6000610c0c6122b5565b6001546000540303905090565b610c248383836122ba565b505050565b610c316121fb565b73ffffffffffffffffffffffffffffffffffffffff16610c4f6111f9565b73ffffffffffffffffffffffffffffffffffffffff1614610ca5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9c90613da5565b60405180910390fd5b6000610cbc83600a5461276e90919063ffffffff16565b1015610cfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf490613e11565b60405180910390fd5b610d078183612784565b610d1c82600a5461276e90919063ffffffff16565b600a819055505050565b60095481565b67011c37937e08000081565b61271081565b610d466121fb565b73ffffffffffffffffffffffffffffffffffffffff16610d646111f9565b73ffffffffffffffffffffffffffffffffffffffff1614610dba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db190613da5565b60405180910390fd5b600c60019054906101000a900460ff1615600c60016101000a81548160ff021916908315150217905550565b610e0183838360405180602001604052806000815250611634565b505050565b610e0e6121fb565b73ffffffffffffffffffffffffffffffffffffffff16610e2c6111f9565b73ffffffffffffffffffffffffffffffffffffffff1614610e82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7990613da5565b60405180910390fd5b8060098190555050565b66470de4df82000081565b610e9f6121fb565b73ffffffffffffffffffffffffffffffffffffffff16610ebd6111f9565b73ffffffffffffffffffffffffffffffffffffffff1614610f13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0a90613da5565b60405180910390fd5b80600b9080519060200190610f2992919061337d565b5050565b600a5481565b6000610f3e826127a2565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610fb0576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6110206121fb565b73ffffffffffffffffffffffffffffffffffffffff1661103e6111f9565b73ffffffffffffffffffffffffffffffffffffffff1614611094576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108b90613da5565b60405180910390fd5b61109e6000612a31565b565b6110a86121fb565b73ffffffffffffffffffffffffffffffffffffffff166110c66111f9565b73ffffffffffffffffffffffffffffffffffffffff161461111c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111390613da5565b60405180910390fd5b6000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff164760405161116490613e62565b60006040518083038185875af1925050503d80600081146111a1576040519150601f19603f3d011682016040523d82523d6000602084013e6111a6565b606091505b50509050806111ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e190613ec3565b60405180910390fd5b50565b67016345785d8a000081565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606003805461125890613d28565b80601f016020809104026020016040519081016040528092919081815260200182805461128490613d28565b80156112d15780601f106112a6576101008083540402835291602001916112d1565b820191906000526020600020905b8154815290600101906020018083116112b457829003601f168201915b5050505050905090565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611349576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134090613f2f565b60405180910390fd5b600c60019054906101000a900460ff16611398576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138f90613f9b565b60405180910390fd5b6127106113b5826113a7610c02565b612af790919063ffffffff16565b11156113f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ed90614007565b60405180910390fd5b6114118167016345785d8a0000612b0d90919063ffffffff16565b3414611452576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144990614073565b60405180910390fd5b600a61146f8261146133611ca8565b612af790919063ffffffff16565b11156114b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a7906140df565b60405180910390fd5b6114ba3382612784565b50565b6114c56121fb565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611529576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006115366121fb565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166115e36121fb565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116289190613517565b60405180910390a35050565b61163f8484846122ba565b61165e8373ffffffffffffffffffffffffffffffffffffffff16612b23565b8015611673575061167184848484612b46565b155b156116aa576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6116b982610f33565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611726576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171d9061414b565b60405180910390fd5b66470de4df820000341461176f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611766906141dd565b60405180910390fd5b6000815111801561178257506032815111155b6117c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b89061426f565b60405180910390fd5b80600d600084815260200190815260200160002090805190602001906117e892919061337d565b505050565b60606117f8826121ad565b61182e576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611838612c96565b905060008151036118585760405180602001604052806000815250611883565b8061186284612d28565b6040516020016118739291906142cb565b6040516020818303038152906040525b915050919050565b6118936121fb565b73ffffffffffffffffffffffffffffffffffffffff166118b16111f9565b73ffffffffffffffffffffffffffffffffffffffff1614611907576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fe90613da5565b60405180910390fd5b600c60009054906101000a900460ff1615600c60006101000a81548160ff021916908315150217905550565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146119a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199890613f2f565b60405180910390fd5b600c60009054906101000a900460ff166119f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e790614361565b60405180910390fd5b612710611a0d846119ff610c02565b612af790919063ffffffff16565b1115611a4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4590614007565b60405180910390fd5b600083118015611a5f5750600a8311155b611a9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a95906143f3565b60405180910390fd5b611ab98367011c37937e080000612b0d90919063ffffffff16565b3414611afa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af190614073565b60405180910390fd5b600a611b1784611b0933611ca8565b612af790919063ffffffff16565b1115611b58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4f90614485565b60405180910390fd5b611bcc828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060095433604051602001611bb191906144ed565b60405160208183030381529060405280519060200120612e88565b611c0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0290614554565b60405180910390fd5b611c153384612784565b505050565b600b8054611c2790613d28565b80601f0160208091040260200160405190810160405280929190818152602001828054611c5390613d28565b8015611ca05780601f10611c7557610100808354040283529160200191611ca0565b820191906000526020600020905b815481529060010190602001808311611c8357829003601f168201915b505050505081565b6000611cb382612e9f565b9050919050565b600d6020528060005260406000206000915090508054611cd990613d28565b80601f0160208091040260200160405190810160405280929190818152602001828054611d0590613d28565b8015611d525780601f10611d2757610100808354040283529160200191611d52565b820191906000526020600020905b815481529060010190602001808311611d3557829003601f168201915b505050505081565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c60019054906101000a900460ff1681565b611e096121fb565b73ffffffffffffffffffffffffffffffffffffffff16611e276111f9565b73ffffffffffffffffffffffffffffffffffffffff1614611e7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7490613da5565b60405180910390fd5b80600f8190555050565b611e8f6121fb565b73ffffffffffffffffffffffffffffffffffffffff16611ead6111f9565b73ffffffffffffffffffffffffffffffffffffffff1614611f03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611efa90613da5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611f72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f69906145e6565b60405180910390fd5b611f7b81612a31565b50565b611f8782610f33565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611ff4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611feb9061414b565b60405180910390fd5b600f548210612038576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202f90614652565b60405180910390fd5b6010600083815260200190815260200160002060009054906101000a900460ff1615612099576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612090906146be565b60405180910390fd5b600081511180156120ac57506032815111155b6120eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e29061426f565b60405180910390fd5b80600d6000848152602001908152602001600020908051906020019061211292919061337d565b5060016010600084815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816121b86122b5565b111580156121c7575060005482105b80156121f4575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b60006122c5826127a2565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612330576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166123516121fb565b73ffffffffffffffffffffffffffffffffffffffff161480612380575061237f8561237a6121fb565b611d5a565b5b806123c5575061238e6121fb565b73ffffffffffffffffffffffffffffffffffffffff166123ad84610a69565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806123fe576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612464576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6124718585856001612f09565b61247d60008487612203565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036126fc5760005482146126fb57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127678585856001612f0f565b5050505050565b6000818361277c919061470d565b905092915050565b61279e828260405180602001604052806000815250612f15565b5050565b6127aa613403565b6000829050806127b86122b5565b111580156127c7575060005481105b156129fa576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516129f857600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146128dc578092505050612a2c565b5b6001156129f757818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146129f2578092505050612a2c565b6128dd565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008183612b059190614741565b905092915050565b60008183612b1b9190614797565b905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b6c6121fb565b8786866040518563ffffffff1660e01b8152600401612b8e9493929190614846565b6020604051808303816000875af1925050508015612bca57506040513d601f19601f82011682018060405250810190612bc791906148a7565b60015b612c43573d8060008114612bfa576040519150601f19603f3d011682016040523d82523d6000602084013e612bff565b606091505b506000815103612c3b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600b8054612ca590613d28565b80601f0160208091040260200160405190810160405280929190818152602001828054612cd190613d28565b8015612d1e5780601f10612cf357610100808354040283529160200191612d1e565b820191906000526020600020905b815481529060010190602001808311612d0157829003601f168201915b5050505050905090565b606060008203612d6f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612e83565b600082905060005b60008214612da1578080612d8a906148d4565b915050600a82612d9a919061494b565b9150612d77565b60008167ffffffffffffffff811115612dbd57612dbc61386c565b5b6040519080825280601f01601f191660200182016040528015612def5781602001600182028036833780820191505090505b5090505b60008514612e7c57600182612e08919061470d565b9150600a85612e17919061497c565b6030612e239190614741565b60f81b818381518110612e3957612e386149ad565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612e75919061494b565b9450612df3565b8093505050505b919050565b600082612e958584612f27565b1490509392505050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b50505050565b50505050565b612f228383836001612f9c565b505050565b60008082905060005b8451811015612f91576000858281518110612f4e57612f4d6149ad565b5b60200260200101519050808311612f7057612f698382613366565b9250612f7d565b612f7a8184613366565b92505b508080612f89906148d4565b915050612f30565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603613008576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008403613042576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61304f6000868387612f09565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561321957506132188773ffffffffffffffffffffffffffffffffffffffff16612b23565b5b156132de575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461328e6000888480600101955088612b46565b6132c4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80820361321f5782600054146132d957600080fd5b613349565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082036132df575b81600081905550505061335f6000868387612f0f565b5050505050565b600082600052816020526040600020905092915050565b82805461338990613d28565b90600052602060002090601f0160209004810192826133ab57600085556133f2565b82601f106133c457805160ff19168380011785556133f2565b828001600101855582156133f2579182015b828111156133f15782518255916020019190600101906133d6565b5b5090506133ff9190613446565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561345f576000816000905550600101613447565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6134ac81613477565b81146134b757600080fd5b50565b6000813590506134c9816134a3565b92915050565b6000602082840312156134e5576134e461346d565b5b60006134f3848285016134ba565b91505092915050565b60008115159050919050565b613511816134fc565b82525050565b600060208201905061352c6000830184613508565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561356c578082015181840152602081019050613551565b8381111561357b576000848401525b50505050565b6000601f19601f8301169050919050565b600061359d82613532565b6135a7818561353d565b93506135b781856020860161354e565b6135c081613581565b840191505092915050565b600060208201905081810360008301526135e58184613592565b905092915050565b6000819050919050565b613600816135ed565b811461360b57600080fd5b50565b60008135905061361d816135f7565b92915050565b6000602082840312156136395761363861346d565b5b60006136478482850161360e565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061367b82613650565b9050919050565b61368b81613670565b82525050565b60006020820190506136a66000830184613682565b92915050565b6136b581613670565b81146136c057600080fd5b50565b6000813590506136d2816136ac565b92915050565b600080604083850312156136ef576136ee61346d565b5b60006136fd858286016136c3565b925050602061370e8582860161360e565b9150509250929050565b613721816135ed565b82525050565b600060208201905061373c6000830184613718565b92915050565b60008060006060848603121561375b5761375a61346d565b5b6000613769868287016136c3565b935050602061377a868287016136c3565b925050604061378b8682870161360e565b9150509250925092565b600080604083850312156137ac576137ab61346d565b5b60006137ba8582860161360e565b92505060206137cb858286016136c3565b9150509250929050565b6000819050919050565b6137e8816137d5565b82525050565b600060208201905061380360008301846137df565b92915050565b613812816137d5565b811461381d57600080fd5b50565b60008135905061382f81613809565b92915050565b60006020828403121561384b5761384a61346d565b5b600061385984828501613820565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6138a482613581565b810181811067ffffffffffffffff821117156138c3576138c261386c565b5b80604052505050565b60006138d6613463565b90506138e2828261389b565b919050565b600067ffffffffffffffff8211156139025761390161386c565b5b61390b82613581565b9050602081019050919050565b82818337600083830152505050565b600061393a613935846138e7565b6138cc565b90508281526020810184848401111561395657613955613867565b5b613961848285613918565b509392505050565b600082601f83011261397e5761397d613862565b5b813561398e848260208601613927565b91505092915050565b6000602082840312156139ad576139ac61346d565b5b600082013567ffffffffffffffff8111156139cb576139ca613472565b5b6139d784828501613969565b91505092915050565b6000602082840312156139f6576139f561346d565b5b6000613a04848285016136c3565b91505092915050565b613a16816134fc565b8114613a2157600080fd5b50565b600081359050613a3381613a0d565b92915050565b60008060408385031215613a5057613a4f61346d565b5b6000613a5e858286016136c3565b9250506020613a6f85828601613a24565b9150509250929050565b600067ffffffffffffffff821115613a9457613a9361386c565b5b613a9d82613581565b9050602081019050919050565b6000613abd613ab884613a79565b6138cc565b905082815260208101848484011115613ad957613ad8613867565b5b613ae4848285613918565b509392505050565b600082601f830112613b0157613b00613862565b5b8135613b11848260208601613aaa565b91505092915050565b60008060008060808587031215613b3457613b3361346d565b5b6000613b42878288016136c3565b9450506020613b53878288016136c3565b9350506040613b648782880161360e565b925050606085013567ffffffffffffffff811115613b8557613b84613472565b5b613b9187828801613aec565b91505092959194509250565b60008060408385031215613bb457613bb361346d565b5b6000613bc28582860161360e565b925050602083013567ffffffffffffffff811115613be357613be2613472565b5b613bef85828601613969565b9150509250929050565b600080fd5b600080fd5b60008083601f840112613c1957613c18613862565b5b8235905067ffffffffffffffff811115613c3657613c35613bf9565b5b602083019150836020820283011115613c5257613c51613bfe565b5b9250929050565b600080600060408486031215613c7257613c7161346d565b5b6000613c808682870161360e565b935050602084013567ffffffffffffffff811115613ca157613ca0613472565b5b613cad86828701613c03565b92509250509250925092565b60008060408385031215613cd057613ccf61346d565b5b6000613cde858286016136c3565b9250506020613cef858286016136c3565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613d4057607f821691505b602082108103613d5357613d52613cf9565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613d8f60208361353d565b9150613d9a82613d59565b602082019050919050565b60006020820190508181036000830152613dbe81613d82565b9050919050565b7f4769766561776179732065786861757374656400000000000000000000000000600082015250565b6000613dfb60138361353d565b9150613e0682613dc5565b602082019050919050565b60006020820190508181036000830152613e2a81613dee565b9050919050565b600081905092915050565b50565b6000613e4c600083613e31565b9150613e5782613e3c565b600082019050919050565b6000613e6d82613e3f565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b6000613ead60108361353d565b9150613eb882613e77565b602082019050919050565b60006020820190508181036000830152613edc81613ea0565b9050919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b6000613f19601e8361353d565b9150613f2482613ee3565b602082019050919050565b60006020820190508181036000830152613f4881613f0c565b9050919050565b7f53616c65206d7573742062652061637469766520746f206d696e740000000000600082015250565b6000613f85601b8361353d565b9150613f9082613f4f565b602082019050919050565b60006020820190508181036000830152613fb481613f78565b9050919050565b7f546f74616c20537570706c7920686173206265656e206d696e74656400000000600082015250565b6000613ff1601c8361353d565b9150613ffc82613fbb565b602082019050919050565b6000602082019050818103600083015261402081613fe4565b9050919050565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b600061405d601f8361353d565b915061406882614027565b602082019050919050565b6000602082019050818103600083015261408c81614050565b9050919050565b7f4d6178203130206d696e747320616c6c6f776564207065722077616c6c657400600082015250565b60006140c9601f8361353d565b91506140d482614093565b602082019050919050565b600060208201905081810360008301526140f8816140bc565b9050919050565b7f43616c6c6572206973206e6f7420746865206f776e6572206f66204e46540000600082015250565b6000614135601e8361353d565b9150614140826140ff565b602082019050919050565b6000602082019050818103600083015261416481614128565b9050919050565b7f496e636f72726563742050726963652073656e7420666f72206e616d6520636860008201527f616e676500000000000000000000000000000000000000000000000000000000602082015250565b60006141c760248361353d565b91506141d28261416b565b604082019050919050565b600060208201905081810360008301526141f6816141ba565b9050919050565b7f4e616d65206578636565647320616c6c6f77656420636861726163746572206c60008201527f696d697400000000000000000000000000000000000000000000000000000000602082015250565b600061425960248361353d565b9150614264826141fd565b604082019050919050565b600060208201905081810360008301526142888161424c565b9050919050565b600081905092915050565b60006142a582613532565b6142af818561428f565b93506142bf81856020860161354e565b80840191505092915050565b60006142d7828561429a565b91506142e3828461429a565b91508190509392505050565b7f57686974656c6973742053616c65206d7573742062652061637469766520746f60008201527f206d696e74000000000000000000000000000000000000000000000000000000602082015250565b600061434b60258361353d565b9150614356826142ef565b604082019050919050565b6000602082019050818103600083015261437a8161433e565b9050919050565b7f43616e206f6e6c79206d696e74207570746f203130204e46547320696e20612060008201527f7472616e73616374696f6e000000000000000000000000000000000000000000602082015250565b60006143dd602b8361353d565b91506143e882614381565b604082019050919050565b6000602082019050818103600083015261440c816143d0565b9050919050565b7f4d6178203130206d696e747320616c6c6f776564207065722077686974656c6960008201527f737465642077616c6c6574000000000000000000000000000000000000000000602082015250565b600061446f602b8361353d565b915061447a82614413565b604082019050919050565b6000602082019050818103600083015261449e81614462565b9050919050565b60008160601b9050919050565b60006144bd826144a5565b9050919050565b60006144cf826144b2565b9050919050565b6144e76144e282613670565b6144c4565b82525050565b60006144f982846144d6565b60148201915081905092915050565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b600061453e600d8361353d565b915061454982614508565b602082019050919050565b6000602082019050818103600083015261456d81614531565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006145d060268361353d565b91506145db82614574565b604082019050919050565b600060208201905081810360008301526145ff816145c3565b9050919050565b7f546f6b656e204964206973206e6f7420656c696769626c650000000000000000600082015250565b600061463c60188361353d565b915061464782614606565b602082019050919050565b6000602082019050818103600083015261466b8161462f565b9050919050565b7f4e616d652068617320616c7265616479206265656e20736574206f6e63650000600082015250565b60006146a8601e8361353d565b91506146b382614672565b602082019050919050565b600060208201905081810360008301526146d78161469b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614718826135ed565b9150614723836135ed565b925082821015614736576147356146de565b5b828203905092915050565b600061474c826135ed565b9150614757836135ed565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561478c5761478b6146de565b5b828201905092915050565b60006147a2826135ed565b91506147ad836135ed565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156147e6576147e56146de565b5b828202905092915050565b600081519050919050565b600082825260208201905092915050565b6000614818826147f1565b61482281856147fc565b935061483281856020860161354e565b61483b81613581565b840191505092915050565b600060808201905061485b6000830187613682565b6148686020830186613682565b6148756040830185613718565b8181036060830152614887818461480d565b905095945050505050565b6000815190506148a1816134a3565b92915050565b6000602082840312156148bd576148bc61346d565b5b60006148cb84828501614892565b91505092915050565b60006148df826135ed565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614911576149106146de565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614956826135ed565b9150614961836135ed565b9250826149715761497061491c565b5b828204905092915050565b6000614987826135ed565b9150614992836135ed565b9250826149a2576149a161491c565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea2646970667358221220794b741206dcf4115dd0f6f1a4e143160bf2fdfebaf005572b41677651690afa64736f6c634300080d0033

Deployed Bytecode

0x60806040526004361061023b5760003560e01c8063853828b61161012e578063d1beca64116100ab578063e985e9c51161006f578063e985e9c514610812578063eb8d24441461084f578063f29708591461087a578063f2fde38b146108a3578063fe55932a146108cc5761023b565b8063d1beca641461073a578063d2cab05614610751578063d547cfb71461076d578063dc33e68114610798578063e725f877146107d55761023b565b8063a0712d68116100f2578063a0712d6814610673578063a22cb4651461068f578063b88d4fde146106b8578063c39cbef1146106e1578063c87b56dd146106fd5761023b565b8063853828b6146105b05780638d859f3e146105c75780638da5cb5b146105f25780639335dcb71461061d57806395d89b41146106485761023b565b806332cb6b0c116101bc57806355f804b31161018057806355f804b3146104cb57806358ae3c54146104f45780636352211e1461051f57806370a082311461055c578063715018a6146105995761023b565b806332cb6b0c1461040c57806334918dfd1461043757806342842e0e1461044e5780634783f0ef1461047757806354b6f161146104a05761023b565b806318160ddd1161020357806318160ddd1461033957806323b872dd14610364578063261d3b211461038d5780632eb4a7ab146103b657806331c3c7a0146103e15761023b565b806301ffc9a71461024057806306fdde031461027d578063081812fc146102a8578063095ea7b3146102e557806310b5454d1461030e575b600080fd5b34801561024c57600080fd5b50610267600480360381019061026291906134cf565b6108f5565b6040516102749190613517565b60405180910390f35b34801561028957600080fd5b506102926109d7565b60405161029f91906135cb565b60405180910390f35b3480156102b457600080fd5b506102cf60048036038101906102ca9190613623565b610a69565b6040516102dc9190613691565b60405180910390f35b3480156102f157600080fd5b5061030c600480360381019061030791906136d8565b610ae5565b005b34801561031a57600080fd5b50610323610bef565b6040516103309190613517565b60405180910390f35b34801561034557600080fd5b5061034e610c02565b60405161035b9190613727565b60405180910390f35b34801561037057600080fd5b5061038b60048036038101906103869190613742565b610c19565b005b34801561039957600080fd5b506103b460048036038101906103af9190613795565b610c29565b005b3480156103c257600080fd5b506103cb610d26565b6040516103d891906137ee565b60405180910390f35b3480156103ed57600080fd5b506103f6610d2c565b6040516104039190613727565b60405180910390f35b34801561041857600080fd5b50610421610d38565b60405161042e9190613727565b60405180910390f35b34801561044357600080fd5b5061044c610d3e565b005b34801561045a57600080fd5b5061047560048036038101906104709190613742565b610de6565b005b34801561048357600080fd5b5061049e60048036038101906104999190613835565b610e06565b005b3480156104ac57600080fd5b506104b5610e8c565b6040516104c29190613727565b60405180910390f35b3480156104d757600080fd5b506104f260048036038101906104ed9190613997565b610e97565b005b34801561050057600080fd5b50610509610f2d565b6040516105169190613727565b60405180910390f35b34801561052b57600080fd5b5061054660048036038101906105419190613623565b610f33565b6040516105539190613691565b60405180910390f35b34801561056857600080fd5b50610583600480360381019061057e91906139e0565b610f49565b6040516105909190613727565b60405180910390f35b3480156105a557600080fd5b506105ae611018565b005b3480156105bc57600080fd5b506105c56110a0565b005b3480156105d357600080fd5b506105dc6111ed565b6040516105e99190613727565b60405180910390f35b3480156105fe57600080fd5b506106076111f9565b6040516106149190613691565b60405180910390f35b34801561062957600080fd5b50610632611223565b60405161063f9190613691565b60405180910390f35b34801561065457600080fd5b5061065d611249565b60405161066a91906135cb565b60405180910390f35b61068d60048036038101906106889190613623565b6112db565b005b34801561069b57600080fd5b506106b660048036038101906106b19190613a39565b6114bd565b005b3480156106c457600080fd5b506106df60048036038101906106da9190613b1a565b611634565b005b6106fb60048036038101906106f69190613b9d565b6116b0565b005b34801561070957600080fd5b50610724600480360381019061071f9190613623565b6117ed565b60405161073191906135cb565b60405180910390f35b34801561074657600080fd5b5061074f61188b565b005b61076b60048036038101906107669190613c59565b611933565b005b34801561077957600080fd5b50610782611c1a565b60405161078f91906135cb565b60405180910390f35b3480156107a457600080fd5b506107bf60048036038101906107ba91906139e0565b611ca8565b6040516107cc9190613727565b60405180910390f35b3480156107e157600080fd5b506107fc60048036038101906107f79190613623565b611cba565b60405161080991906135cb565b60405180910390f35b34801561081e57600080fd5b5061083960048036038101906108349190613cb9565b611d5a565b6040516108469190613517565b60405180910390f35b34801561085b57600080fd5b50610864611dee565b6040516108719190613517565b60405180910390f35b34801561088657600080fd5b506108a1600480360381019061089c9190613623565b611e01565b005b3480156108af57600080fd5b506108ca60048036038101906108c591906139e0565b611e87565b005b3480156108d857600080fd5b506108f360048036038101906108ee9190613b9d565b611f7e565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109c057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109d057506109cf82612143565b5b9050919050565b6060600280546109e690613d28565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1290613d28565b8015610a5f5780601f10610a3457610100808354040283529160200191610a5f565b820191906000526020600020905b815481529060010190602001808311610a4257829003601f168201915b5050505050905090565b6000610a74826121ad565b610aaa576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610af082610f33565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610b57576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b766121fb565b73ffffffffffffffffffffffffffffffffffffffff1614158015610ba85750610ba681610ba16121fb565b611d5a565b155b15610bdf576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610bea838383612203565b505050565b600c60009054906101000a900460ff1681565b6000610c0c6122b5565b6001546000540303905090565b610c248383836122ba565b505050565b610c316121fb565b73ffffffffffffffffffffffffffffffffffffffff16610c4f6111f9565b73ffffffffffffffffffffffffffffffffffffffff1614610ca5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9c90613da5565b60405180910390fd5b6000610cbc83600a5461276e90919063ffffffff16565b1015610cfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf490613e11565b60405180910390fd5b610d078183612784565b610d1c82600a5461276e90919063ffffffff16565b600a819055505050565b60095481565b67011c37937e08000081565b61271081565b610d466121fb565b73ffffffffffffffffffffffffffffffffffffffff16610d646111f9565b73ffffffffffffffffffffffffffffffffffffffff1614610dba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db190613da5565b60405180910390fd5b600c60019054906101000a900460ff1615600c60016101000a81548160ff021916908315150217905550565b610e0183838360405180602001604052806000815250611634565b505050565b610e0e6121fb565b73ffffffffffffffffffffffffffffffffffffffff16610e2c6111f9565b73ffffffffffffffffffffffffffffffffffffffff1614610e82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7990613da5565b60405180910390fd5b8060098190555050565b66470de4df82000081565b610e9f6121fb565b73ffffffffffffffffffffffffffffffffffffffff16610ebd6111f9565b73ffffffffffffffffffffffffffffffffffffffff1614610f13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0a90613da5565b60405180910390fd5b80600b9080519060200190610f2992919061337d565b5050565b600a5481565b6000610f3e826127a2565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610fb0576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6110206121fb565b73ffffffffffffffffffffffffffffffffffffffff1661103e6111f9565b73ffffffffffffffffffffffffffffffffffffffff1614611094576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108b90613da5565b60405180910390fd5b61109e6000612a31565b565b6110a86121fb565b73ffffffffffffffffffffffffffffffffffffffff166110c66111f9565b73ffffffffffffffffffffffffffffffffffffffff161461111c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111390613da5565b60405180910390fd5b6000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff164760405161116490613e62565b60006040518083038185875af1925050503d80600081146111a1576040519150601f19603f3d011682016040523d82523d6000602084013e6111a6565b606091505b50509050806111ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e190613ec3565b60405180910390fd5b50565b67016345785d8a000081565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606003805461125890613d28565b80601f016020809104026020016040519081016040528092919081815260200182805461128490613d28565b80156112d15780601f106112a6576101008083540402835291602001916112d1565b820191906000526020600020905b8154815290600101906020018083116112b457829003601f168201915b5050505050905090565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611349576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134090613f2f565b60405180910390fd5b600c60019054906101000a900460ff16611398576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138f90613f9b565b60405180910390fd5b6127106113b5826113a7610c02565b612af790919063ffffffff16565b11156113f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ed90614007565b60405180910390fd5b6114118167016345785d8a0000612b0d90919063ffffffff16565b3414611452576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144990614073565b60405180910390fd5b600a61146f8261146133611ca8565b612af790919063ffffffff16565b11156114b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a7906140df565b60405180910390fd5b6114ba3382612784565b50565b6114c56121fb565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611529576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006115366121fb565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166115e36121fb565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116289190613517565b60405180910390a35050565b61163f8484846122ba565b61165e8373ffffffffffffffffffffffffffffffffffffffff16612b23565b8015611673575061167184848484612b46565b155b156116aa576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6116b982610f33565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611726576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171d9061414b565b60405180910390fd5b66470de4df820000341461176f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611766906141dd565b60405180910390fd5b6000815111801561178257506032815111155b6117c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b89061426f565b60405180910390fd5b80600d600084815260200190815260200160002090805190602001906117e892919061337d565b505050565b60606117f8826121ad565b61182e576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611838612c96565b905060008151036118585760405180602001604052806000815250611883565b8061186284612d28565b6040516020016118739291906142cb565b6040516020818303038152906040525b915050919050565b6118936121fb565b73ffffffffffffffffffffffffffffffffffffffff166118b16111f9565b73ffffffffffffffffffffffffffffffffffffffff1614611907576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fe90613da5565b60405180910390fd5b600c60009054906101000a900460ff1615600c60006101000a81548160ff021916908315150217905550565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146119a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199890613f2f565b60405180910390fd5b600c60009054906101000a900460ff166119f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e790614361565b60405180910390fd5b612710611a0d846119ff610c02565b612af790919063ffffffff16565b1115611a4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4590614007565b60405180910390fd5b600083118015611a5f5750600a8311155b611a9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a95906143f3565b60405180910390fd5b611ab98367011c37937e080000612b0d90919063ffffffff16565b3414611afa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af190614073565b60405180910390fd5b600a611b1784611b0933611ca8565b612af790919063ffffffff16565b1115611b58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4f90614485565b60405180910390fd5b611bcc828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060095433604051602001611bb191906144ed565b60405160208183030381529060405280519060200120612e88565b611c0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0290614554565b60405180910390fd5b611c153384612784565b505050565b600b8054611c2790613d28565b80601f0160208091040260200160405190810160405280929190818152602001828054611c5390613d28565b8015611ca05780601f10611c7557610100808354040283529160200191611ca0565b820191906000526020600020905b815481529060010190602001808311611c8357829003601f168201915b505050505081565b6000611cb382612e9f565b9050919050565b600d6020528060005260406000206000915090508054611cd990613d28565b80601f0160208091040260200160405190810160405280929190818152602001828054611d0590613d28565b8015611d525780601f10611d2757610100808354040283529160200191611d52565b820191906000526020600020905b815481529060010190602001808311611d3557829003601f168201915b505050505081565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c60019054906101000a900460ff1681565b611e096121fb565b73ffffffffffffffffffffffffffffffffffffffff16611e276111f9565b73ffffffffffffffffffffffffffffffffffffffff1614611e7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7490613da5565b60405180910390fd5b80600f8190555050565b611e8f6121fb565b73ffffffffffffffffffffffffffffffffffffffff16611ead6111f9565b73ffffffffffffffffffffffffffffffffffffffff1614611f03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611efa90613da5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611f72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f69906145e6565b60405180910390fd5b611f7b81612a31565b50565b611f8782610f33565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611ff4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611feb9061414b565b60405180910390fd5b600f548210612038576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202f90614652565b60405180910390fd5b6010600083815260200190815260200160002060009054906101000a900460ff1615612099576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612090906146be565b60405180910390fd5b600081511180156120ac57506032815111155b6120eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e29061426f565b60405180910390fd5b80600d6000848152602001908152602001600020908051906020019061211292919061337d565b5060016010600084815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816121b86122b5565b111580156121c7575060005482105b80156121f4575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b60006122c5826127a2565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612330576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166123516121fb565b73ffffffffffffffffffffffffffffffffffffffff161480612380575061237f8561237a6121fb565b611d5a565b5b806123c5575061238e6121fb565b73ffffffffffffffffffffffffffffffffffffffff166123ad84610a69565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806123fe576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612464576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6124718585856001612f09565b61247d60008487612203565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036126fc5760005482146126fb57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127678585856001612f0f565b5050505050565b6000818361277c919061470d565b905092915050565b61279e828260405180602001604052806000815250612f15565b5050565b6127aa613403565b6000829050806127b86122b5565b111580156127c7575060005481105b156129fa576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516129f857600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146128dc578092505050612a2c565b5b6001156129f757818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146129f2578092505050612a2c565b6128dd565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008183612b059190614741565b905092915050565b60008183612b1b9190614797565b905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b6c6121fb565b8786866040518563ffffffff1660e01b8152600401612b8e9493929190614846565b6020604051808303816000875af1925050508015612bca57506040513d601f19601f82011682018060405250810190612bc791906148a7565b60015b612c43573d8060008114612bfa576040519150601f19603f3d011682016040523d82523d6000602084013e612bff565b606091505b506000815103612c3b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600b8054612ca590613d28565b80601f0160208091040260200160405190810160405280929190818152602001828054612cd190613d28565b8015612d1e5780601f10612cf357610100808354040283529160200191612d1e565b820191906000526020600020905b815481529060010190602001808311612d0157829003601f168201915b5050505050905090565b606060008203612d6f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612e83565b600082905060005b60008214612da1578080612d8a906148d4565b915050600a82612d9a919061494b565b9150612d77565b60008167ffffffffffffffff811115612dbd57612dbc61386c565b5b6040519080825280601f01601f191660200182016040528015612def5781602001600182028036833780820191505090505b5090505b60008514612e7c57600182612e08919061470d565b9150600a85612e17919061497c565b6030612e239190614741565b60f81b818381518110612e3957612e386149ad565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612e75919061494b565b9450612df3565b8093505050505b919050565b600082612e958584612f27565b1490509392505050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b50505050565b50505050565b612f228383836001612f9c565b505050565b60008082905060005b8451811015612f91576000858281518110612f4e57612f4d6149ad565b5b60200260200101519050808311612f7057612f698382613366565b9250612f7d565b612f7a8184613366565b92505b508080612f89906148d4565b915050612f30565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603613008576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008403613042576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61304f6000868387612f09565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561321957506132188773ffffffffffffffffffffffffffffffffffffffff16612b23565b5b156132de575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461328e6000888480600101955088612b46565b6132c4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80820361321f5782600054146132d957600080fd5b613349565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082036132df575b81600081905550505061335f6000868387612f0f565b5050505050565b600082600052816020526040600020905092915050565b82805461338990613d28565b90600052602060002090601f0160209004810192826133ab57600085556133f2565b82601f106133c457805160ff19168380011785556133f2565b828001600101855582156133f2579182015b828111156133f15782518255916020019190600101906133d6565b5b5090506133ff9190613446565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561345f576000816000905550600101613447565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6134ac81613477565b81146134b757600080fd5b50565b6000813590506134c9816134a3565b92915050565b6000602082840312156134e5576134e461346d565b5b60006134f3848285016134ba565b91505092915050565b60008115159050919050565b613511816134fc565b82525050565b600060208201905061352c6000830184613508565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561356c578082015181840152602081019050613551565b8381111561357b576000848401525b50505050565b6000601f19601f8301169050919050565b600061359d82613532565b6135a7818561353d565b93506135b781856020860161354e565b6135c081613581565b840191505092915050565b600060208201905081810360008301526135e58184613592565b905092915050565b6000819050919050565b613600816135ed565b811461360b57600080fd5b50565b60008135905061361d816135f7565b92915050565b6000602082840312156136395761363861346d565b5b60006136478482850161360e565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061367b82613650565b9050919050565b61368b81613670565b82525050565b60006020820190506136a66000830184613682565b92915050565b6136b581613670565b81146136c057600080fd5b50565b6000813590506136d2816136ac565b92915050565b600080604083850312156136ef576136ee61346d565b5b60006136fd858286016136c3565b925050602061370e8582860161360e565b9150509250929050565b613721816135ed565b82525050565b600060208201905061373c6000830184613718565b92915050565b60008060006060848603121561375b5761375a61346d565b5b6000613769868287016136c3565b935050602061377a868287016136c3565b925050604061378b8682870161360e565b9150509250925092565b600080604083850312156137ac576137ab61346d565b5b60006137ba8582860161360e565b92505060206137cb858286016136c3565b9150509250929050565b6000819050919050565b6137e8816137d5565b82525050565b600060208201905061380360008301846137df565b92915050565b613812816137d5565b811461381d57600080fd5b50565b60008135905061382f81613809565b92915050565b60006020828403121561384b5761384a61346d565b5b600061385984828501613820565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6138a482613581565b810181811067ffffffffffffffff821117156138c3576138c261386c565b5b80604052505050565b60006138d6613463565b90506138e2828261389b565b919050565b600067ffffffffffffffff8211156139025761390161386c565b5b61390b82613581565b9050602081019050919050565b82818337600083830152505050565b600061393a613935846138e7565b6138cc565b90508281526020810184848401111561395657613955613867565b5b613961848285613918565b509392505050565b600082601f83011261397e5761397d613862565b5b813561398e848260208601613927565b91505092915050565b6000602082840312156139ad576139ac61346d565b5b600082013567ffffffffffffffff8111156139cb576139ca613472565b5b6139d784828501613969565b91505092915050565b6000602082840312156139f6576139f561346d565b5b6000613a04848285016136c3565b91505092915050565b613a16816134fc565b8114613a2157600080fd5b50565b600081359050613a3381613a0d565b92915050565b60008060408385031215613a5057613a4f61346d565b5b6000613a5e858286016136c3565b9250506020613a6f85828601613a24565b9150509250929050565b600067ffffffffffffffff821115613a9457613a9361386c565b5b613a9d82613581565b9050602081019050919050565b6000613abd613ab884613a79565b6138cc565b905082815260208101848484011115613ad957613ad8613867565b5b613ae4848285613918565b509392505050565b600082601f830112613b0157613b00613862565b5b8135613b11848260208601613aaa565b91505092915050565b60008060008060808587031215613b3457613b3361346d565b5b6000613b42878288016136c3565b9450506020613b53878288016136c3565b9350506040613b648782880161360e565b925050606085013567ffffffffffffffff811115613b8557613b84613472565b5b613b9187828801613aec565b91505092959194509250565b60008060408385031215613bb457613bb361346d565b5b6000613bc28582860161360e565b925050602083013567ffffffffffffffff811115613be357613be2613472565b5b613bef85828601613969565b9150509250929050565b600080fd5b600080fd5b60008083601f840112613c1957613c18613862565b5b8235905067ffffffffffffffff811115613c3657613c35613bf9565b5b602083019150836020820283011115613c5257613c51613bfe565b5b9250929050565b600080600060408486031215613c7257613c7161346d565b5b6000613c808682870161360e565b935050602084013567ffffffffffffffff811115613ca157613ca0613472565b5b613cad86828701613c03565b92509250509250925092565b60008060408385031215613cd057613ccf61346d565b5b6000613cde858286016136c3565b9250506020613cef858286016136c3565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613d4057607f821691505b602082108103613d5357613d52613cf9565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613d8f60208361353d565b9150613d9a82613d59565b602082019050919050565b60006020820190508181036000830152613dbe81613d82565b9050919050565b7f4769766561776179732065786861757374656400000000000000000000000000600082015250565b6000613dfb60138361353d565b9150613e0682613dc5565b602082019050919050565b60006020820190508181036000830152613e2a81613dee565b9050919050565b600081905092915050565b50565b6000613e4c600083613e31565b9150613e5782613e3c565b600082019050919050565b6000613e6d82613e3f565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b6000613ead60108361353d565b9150613eb882613e77565b602082019050919050565b60006020820190508181036000830152613edc81613ea0565b9050919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b6000613f19601e8361353d565b9150613f2482613ee3565b602082019050919050565b60006020820190508181036000830152613f4881613f0c565b9050919050565b7f53616c65206d7573742062652061637469766520746f206d696e740000000000600082015250565b6000613f85601b8361353d565b9150613f9082613f4f565b602082019050919050565b60006020820190508181036000830152613fb481613f78565b9050919050565b7f546f74616c20537570706c7920686173206265656e206d696e74656400000000600082015250565b6000613ff1601c8361353d565b9150613ffc82613fbb565b602082019050919050565b6000602082019050818103600083015261402081613fe4565b9050919050565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b600061405d601f8361353d565b915061406882614027565b602082019050919050565b6000602082019050818103600083015261408c81614050565b9050919050565b7f4d6178203130206d696e747320616c6c6f776564207065722077616c6c657400600082015250565b60006140c9601f8361353d565b91506140d482614093565b602082019050919050565b600060208201905081810360008301526140f8816140bc565b9050919050565b7f43616c6c6572206973206e6f7420746865206f776e6572206f66204e46540000600082015250565b6000614135601e8361353d565b9150614140826140ff565b602082019050919050565b6000602082019050818103600083015261416481614128565b9050919050565b7f496e636f72726563742050726963652073656e7420666f72206e616d6520636860008201527f616e676500000000000000000000000000000000000000000000000000000000602082015250565b60006141c760248361353d565b91506141d28261416b565b604082019050919050565b600060208201905081810360008301526141f6816141ba565b9050919050565b7f4e616d65206578636565647320616c6c6f77656420636861726163746572206c60008201527f696d697400000000000000000000000000000000000000000000000000000000602082015250565b600061425960248361353d565b9150614264826141fd565b604082019050919050565b600060208201905081810360008301526142888161424c565b9050919050565b600081905092915050565b60006142a582613532565b6142af818561428f565b93506142bf81856020860161354e565b80840191505092915050565b60006142d7828561429a565b91506142e3828461429a565b91508190509392505050565b7f57686974656c6973742053616c65206d7573742062652061637469766520746f60008201527f206d696e74000000000000000000000000000000000000000000000000000000602082015250565b600061434b60258361353d565b9150614356826142ef565b604082019050919050565b6000602082019050818103600083015261437a8161433e565b9050919050565b7f43616e206f6e6c79206d696e74207570746f203130204e46547320696e20612060008201527f7472616e73616374696f6e000000000000000000000000000000000000000000602082015250565b60006143dd602b8361353d565b91506143e882614381565b604082019050919050565b6000602082019050818103600083015261440c816143d0565b9050919050565b7f4d6178203130206d696e747320616c6c6f776564207065722077686974656c6960008201527f737465642077616c6c6574000000000000000000000000000000000000000000602082015250565b600061446f602b8361353d565b915061447a82614413565b604082019050919050565b6000602082019050818103600083015261449e81614462565b9050919050565b60008160601b9050919050565b60006144bd826144a5565b9050919050565b60006144cf826144b2565b9050919050565b6144e76144e282613670565b6144c4565b82525050565b60006144f982846144d6565b60148201915081905092915050565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b600061453e600d8361353d565b915061454982614508565b602082019050919050565b6000602082019050818103600083015261456d81614531565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006145d060268361353d565b91506145db82614574565b604082019050919050565b600060208201905081810360008301526145ff816145c3565b9050919050565b7f546f6b656e204964206973206e6f7420656c696769626c650000000000000000600082015250565b600061463c60188361353d565b915061464782614606565b602082019050919050565b6000602082019050818103600083015261466b8161462f565b9050919050565b7f4e616d652068617320616c7265616479206265656e20736574206f6e63650000600082015250565b60006146a8601e8361353d565b91506146b382614672565b602082019050919050565b600060208201905081810360008301526146d78161469b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614718826135ed565b9150614723836135ed565b925082821015614736576147356146de565b5b828203905092915050565b600061474c826135ed565b9150614757836135ed565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561478c5761478b6146de565b5b828201905092915050565b60006147a2826135ed565b91506147ad836135ed565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156147e6576147e56146de565b5b828202905092915050565b600081519050919050565b600082825260208201905092915050565b6000614818826147f1565b61482281856147fc565b935061483281856020860161354e565b61483b81613581565b840191505092915050565b600060808201905061485b6000830187613682565b6148686020830186613682565b6148756040830185613718565b8181036060830152614887818461480d565b905095945050505050565b6000815190506148a1816134a3565b92915050565b6000602082840312156148bd576148bc61346d565b5b60006148cb84828501614892565b91505092915050565b60006148df826135ed565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614911576149106146de565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614956826135ed565b9150614961836135ed565b9250826149715761497061491c565b5b828204905092915050565b6000614987826135ed565b9150614992836135ed565b9250826149a2576149a161491c565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea2646970667358221220794b741206dcf4115dd0f6f1a4e143160bf2fdfebaf005572b41677651690afa64736f6c634300080d0033

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.