ETH Price: $3,469.24 (+0.62%)

Token

Gladiator Wolves (GW)
 

Overview

Max Total Supply

204 GW

Holders

127

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 GW
0x023d0355195dae794095e87824e538ba60e3c360
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:
GladiatorWolves

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
No with 200 runs

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

pragma solidity ^0.8.15;

import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract GladiatorWolves is ERC721A, Ownable {
    using Strings for uint256;
    bool public private_sale_running = false;
    bool public public_sale_running = false;
    uint public MINT_PRICE = 0.0069 ether;
    bool public revealed = false;
    uint public constant MAX_SUPPLY = 2222;
    bytes32 public merkle_root;
    string public uriPrefix = "";
    string public hiddenMetadataUri;
    address public paymentSplitAddress;

    constructor (string memory _hiddenMetadataUri, address _paymentSplitAddress) ERC721A("Gladiator Wolves", "GW") {
        hiddenMetadataUri = _hiddenMetadataUri;
        paymentSplitAddress = _paymentSplitAddress;
    }

    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }

    function isWhitelisted(address _user, bytes32 [] calldata _merkleProof) public view returns(bool) {
        bytes32 leaf = keccak256(abi.encodePacked(_user));
        return MerkleProof.verify(_merkleProof, merkle_root, leaf);
    }

    function getNumClaimed(address _user) public view returns(uint64) {
        return _getAux(_user);
    }
    
    function whitelistMint(bytes32 [] calldata _merkleProof) external payable {
        require(tx.origin == msg.sender);
        require(private_sale_running, "PRIVATE_SALE_NOT_RUNNING");
        require(msg.value == MINT_PRICE, "INCORRECT_ETH_AMOUNT");
        require(_totalMinted() < MAX_SUPPLY, "TOTAL_SUPPLY_REACHED");
        require(isWhitelisted(msg.sender, _merkleProof), "INVALID_PROOF");

        uint64 num_claimed = _getAux(msg.sender);
        require(num_claimed == 0, "CAN_ONLY_MINT_1");
        _setAux(msg.sender, 1);
        _mint(msg.sender, 1);
    }

    function publicMint() external payable {
        require(tx.origin == msg.sender);
        require(public_sale_running, "PUBLIC_SALE_NOT_RUNNING");
        require(msg.value == MINT_PRICE, "INCORRECT_ETH_AMOUNT");
        require(_totalMinted() < MAX_SUPPLY, "TOTAL_SUPPLY_REACHED");
        _mint(msg.sender, 1);
    }

    function adminMint(address _to, uint256 _amount) external onlyOwner{
        require(_totalMinted() < MAX_SUPPLY, "TOTAL_SUPPLY_REACHED");
        require(_amount <= 30, "TO_MANY_PER_TX");
        _mint(_to, _amount);
    }

    function togglePrivateSale() external onlyOwner {
        private_sale_running = !private_sale_running;
    }

    function togglePublicSale() external onlyOwner{
        public_sale_running = !public_sale_running;
    }

    function updateWhitelistMerkleRoot(bytes32 _new_root) external onlyOwner {
        merkle_root = _new_root;
    }

    function updateMintingPrice(uint _new_price) external onlyOwner {
        MINT_PRICE = _new_price;
    }
        
    function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) {
        require(_exists(_tokenId), "ERC721Metadata: URI query for nonexistent token");
        if(revealed == false){
            return hiddenMetadataUri;
        }
            return
            bytes(uriPrefix).length > 0
                ? string(
                    abi.encodePacked(
                        uriPrefix,
                        _tokenId.toString(),
                        ".json"
                    )
                )
                : "";
    } 
    
    function setUriPrefix(string memory _uriPrefix) public onlyOwner {
            uriPrefix = _uriPrefix;
    }


    function toggleRevealed() external onlyOwner {
        revealed = !revealed;
    }

    function withdraw() public onlyOwner {
    (bool os, ) = payable(paymentSplitAddress).call{value: address(this).balance}('');
    require(os);
  }
}

File 2 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 3 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 4 of 13 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree 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.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
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 Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle 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++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 5 of 13 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v3.3.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.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';

/**
 * @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, IERC721A {
    using Address for address;
    using Strings for uint256;

    // 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 override 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) if (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) if(!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()) if(!_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;
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    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 {
        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 (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 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) 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;

            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 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 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 8 of 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 9 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 10 of 13 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v3.3.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';

/**
 * @dev Interface of an ERC721A compliant contract.
 */
interface IERC721A is IERC721, IERC721Metadata {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

    /**
     * The caller cannot approve to the current owner.
     */
    error ApprovalToCurrentOwner();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

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

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     * 
     * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
     */
    function totalSupply() external view returns (uint256);
}

File 11 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 12 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 13 of 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":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"},{"internalType":"address","name":"_paymentSplitAddress","type":"address"}],"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":"MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"adminMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"getNumClaimed","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkle_root","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paymentSplitAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"private_sale_running","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"public_sale_running","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","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":[],"name":"togglePrivateSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_new_price","type":"uint256"}],"name":"updateMintingPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_new_root","type":"bytes32"}],"name":"updateWhitelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600860146101000a81548160ff0219169083151502179055506000600860156101000a81548160ff0219169083151502179055506618838370f340006009556000600a60006101000a81548160ff02191690831515021790555060405180602001604052806000815250600c908162000080919062000528565b503480156200008e57600080fd5b5060405162004b8d38038062004b8d8339818101604052810190620000b49190620007e2565b6040518060400160405280601081526020017f476c61646961746f7220576f6c766573000000000000000000000000000000008152506040518060400160405280600281526020017f4757000000000000000000000000000000000000000000000000000000000000815250816002908162000131919062000528565b50806003908162000143919062000528565b5062000154620001d760201b60201c565b60008190555050506200017c62000170620001e060201b60201c565b620001e860201b60201c565b81600d90816200018d919062000528565b5080600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505062000848565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200033057607f821691505b602082108103620003465762000345620002e8565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620003b07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000371565b620003bc868362000371565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200040962000403620003fd84620003d4565b620003de565b620003d4565b9050919050565b6000819050919050565b6200042583620003e8565b6200043d620004348262000410565b8484546200037e565b825550505050565b600090565b6200045462000445565b620004618184846200041a565b505050565b5b8181101562000489576200047d6000826200044a565b60018101905062000467565b5050565b601f821115620004d857620004a2816200034c565b620004ad8462000361565b81016020851015620004bd578190505b620004d5620004cc8562000361565b83018262000466565b50505b505050565b600082821c905092915050565b6000620004fd60001984600802620004dd565b1980831691505092915050565b6000620005188383620004ea565b9150826002028217905092915050565b6200053382620002ae565b67ffffffffffffffff8111156200054f576200054e620002b9565b5b6200055b825462000317565b620005688282856200048d565b600060209050601f831160018114620005a057600084156200058b578287015190505b6200059785826200050a565b86555062000607565b601f198416620005b0866200034c565b60005b82811015620005da57848901518255600182019150602085019450602081019050620005b3565b86831015620005fa5784890151620005f6601f891682620004ea565b8355505b6001600288020188555050505b505050505050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b62000649826200062d565b810181811067ffffffffffffffff821117156200066b576200066a620002b9565b5b80604052505050565b6000620006806200060f565b90506200068e82826200063e565b919050565b600067ffffffffffffffff821115620006b157620006b0620002b9565b5b620006bc826200062d565b9050602081019050919050565b60005b83811015620006e9578082015181840152602081019050620006cc565b83811115620006f9576000848401525b50505050565b600062000716620007108462000693565b62000674565b90508281526020810184848401111562000735576200073462000628565b5b62000742848285620006c9565b509392505050565b600082601f83011262000762576200076162000623565b5b815162000774848260208601620006ff565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620007aa826200077d565b9050919050565b620007bc816200079d565b8114620007c857600080fd5b50565b600081519050620007dc81620007b1565b92915050565b60008060408385031215620007fc57620007fb62000619565b5b600083015167ffffffffffffffff8111156200081d576200081c6200061e565b5b6200082b858286016200074a565b92505060206200083e85828601620007cb565b9150509250929050565b61433580620008586000396000f3fe6080604052600436106102255760003560e01c8063715018a611610123578063c87b56dd116100ab578063e58306f91161006f578063e58306f91461078f578063e6f6ef1e146107b8578063e985e9c5146107e3578063f2fde38b14610820578063fd5e8efe1461084957610225565b8063c87b56dd146106bc578063ca5d9cda146106f9578063dc7db9ed14610736578063dfe5dd6814610761578063e222c7f91461077857610225565b806395d89b41116100f257806395d89b41146105e9578063a22cb46514610614578063a45ba8e71461063d578063b88d4fde14610668578063c002d23d1461069157610225565b8063715018a6146105535780637ec4a6591461056a5780638da5cb5b146105935780639168e23e146105be57610225565b80633ccfd60b116101b15780635bc020bc116101755780635bc020bc1461046e57806362b99ad4146104855780636352211e146104b05780636957637b146104ed57806370a082311461051657610225565b80633ccfd60b1461039d57806342842e0e146103b457806351830227146103dd5780635788ff36146104085780635a23dd991461043157610225565b806318160ddd116101f857806318160ddd146102f857806323b872dd1461032357806326092b831461034c57806332cb6b0c14610356578063372f657c1461038157610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063095ea7b3146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190612efd565b610874565b60405161025e9190612f45565b60405180910390f35b34801561027357600080fd5b5061027c610956565b6040516102899190612ff9565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b49190613051565b6109e8565b6040516102c691906130bf565b60405180910390f35b3480156102db57600080fd5b506102f660048036038101906102f19190613106565b610a64565b005b34801561030457600080fd5b5061030d610b68565b60405161031a9190613155565b60405180910390f35b34801561032f57600080fd5b5061034a60048036038101906103459190613170565b610b7f565b005b610354610b8f565b005b34801561036257600080fd5b5061036b610cb2565b6040516103789190613155565b60405180910390f35b61039b60048036038101906103969190613228565b610cb8565b005b3480156103a957600080fd5b506103b2610e8d565b005b3480156103c057600080fd5b506103db60048036038101906103d69190613170565b610fa4565b005b3480156103e957600080fd5b506103f2610fc4565b6040516103ff9190612f45565b60405180910390f35b34801561041457600080fd5b5061042f600480360381019061042a9190613051565b610fd7565b005b34801561043d57600080fd5b5061045860048036038101906104539190613275565b61105d565b6040516104659190612f45565b60405180910390f35b34801561047a57600080fd5b506104836110e1565b005b34801561049157600080fd5b5061049a611189565b6040516104a79190612ff9565b60405180910390f35b3480156104bc57600080fd5b506104d760048036038101906104d29190613051565b611217565b6040516104e491906130bf565b60405180910390f35b3480156104f957600080fd5b50610514600480360381019061050f919061330b565b61122d565b005b34801561052257600080fd5b5061053d60048036038101906105389190613338565b6112b3565b60405161054a9190613155565b60405180910390f35b34801561055f57600080fd5b50610568611382565b005b34801561057657600080fd5b50610591600480360381019061058c9190613495565b61140a565b005b34801561059f57600080fd5b506105a8611499565b6040516105b591906130bf565b60405180910390f35b3480156105ca57600080fd5b506105d36114c3565b6040516105e09190612f45565b60405180910390f35b3480156105f557600080fd5b506105fe6114d6565b60405161060b9190612ff9565b60405180910390f35b34801561062057600080fd5b5061063b6004803603810190610636919061350a565b611568565b005b34801561064957600080fd5b506106526116df565b60405161065f9190612ff9565b60405180910390f35b34801561067457600080fd5b5061068f600480360381019061068a91906135eb565b61176d565b005b34801561069d57600080fd5b506106a66117e5565b6040516106b39190613155565b60405180910390f35b3480156106c857600080fd5b506106e360048036038101906106de9190613051565b6117eb565b6040516106f09190612ff9565b60405180910390f35b34801561070557600080fd5b50610720600480360381019061071b9190613338565b611941565b60405161072d9190613691565b60405180910390f35b34801561074257600080fd5b5061074b611953565b60405161075891906130bf565b60405180910390f35b34801561076d57600080fd5b50610776611979565b005b34801561078457600080fd5b5061078d611a21565b005b34801561079b57600080fd5b506107b660048036038101906107b19190613106565b611ac9565b005b3480156107c457600080fd5b506107cd611be2565b6040516107da9190612f45565b60405180910390f35b3480156107ef57600080fd5b5061080a600480360381019061080591906136ac565b611bf5565b6040516108179190612f45565b60405180910390f35b34801561082c57600080fd5b5061084760048036038101906108429190613338565b611c89565b005b34801561085557600080fd5b5061085e611d80565b60405161086b91906136fb565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061093f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061094f575061094e82611d86565b5b9050919050565b60606002805461096590613745565b80601f016020809104026020016040519081016040528092919081815260200182805461099190613745565b80156109de5780601f106109b3576101008083540402835291602001916109de565b820191906000526020600020905b8154815290600101906020018083116109c157829003601f168201915b5050505050905090565b60006109f382611df0565b610a29576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a6f82611217565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610ad6576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610af5611e3e565b73ffffffffffffffffffffffffffffffffffffffff1614610b5857610b2181610b1c611e3e565b611bf5565b610b57576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b610b63838383611e46565b505050565b6000610b72611ef8565b6001546000540303905090565b610b8a838383611f01565b505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610bc757600080fd5b600860159054906101000a900460ff16610c16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0d906137c2565b60405180910390fd5b6009543414610c5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c519061382e565b60405180910390fd5b6108ae610c656123b5565b10610ca5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9c9061389a565b60405180910390fd5b610cb03360016123c8565b565b6108ae81565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610cf057600080fd5b600860149054906101000a900460ff16610d3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3690613906565b60405180910390fd5b6009543414610d83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7a9061382e565b60405180910390fd5b6108ae610d8e6123b5565b10610dce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc59061389a565b60405180910390fd5b610dd933838361105d565b610e18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0f90613972565b60405180910390fd5b6000610e23336126a2565b905060008167ffffffffffffffff1614610e72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e69906139de565b60405180910390fd5b610e7d336001612702565b610e883360016123c8565b505050565b610e95611e3e565b73ffffffffffffffffffffffffffffffffffffffff16610eb3611499565b73ffffffffffffffffffffffffffffffffffffffff1614610f09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0090613a4a565b60405180910390fd5b6000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051610f5190613a9b565b60006040518083038185875af1925050503d8060008114610f8e576040519150601f19603f3d011682016040523d82523d6000602084013e610f93565b606091505b5050905080610fa157600080fd5b50565b610fbf8383836040518060200160405280600081525061176d565b505050565b600a60009054906101000a900460ff1681565b610fdf611e3e565b73ffffffffffffffffffffffffffffffffffffffff16610ffd611499565b73ffffffffffffffffffffffffffffffffffffffff1614611053576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104a90613a4a565b60405180910390fd5b8060098190555050565b600080846040516020016110719190613af8565b6040516020818303038152906040528051906020012090506110d7848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b548361276f565b9150509392505050565b6110e9611e3e565b73ffffffffffffffffffffffffffffffffffffffff16611107611499565b73ffffffffffffffffffffffffffffffffffffffff161461115d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115490613a4a565b60405180910390fd5b600a60009054906101000a900460ff1615600a60006101000a81548160ff021916908315150217905550565b600c805461119690613745565b80601f01602080910402602001604051908101604052809291908181526020018280546111c290613745565b801561120f5780601f106111e45761010080835404028352916020019161120f565b820191906000526020600020905b8154815290600101906020018083116111f257829003601f168201915b505050505081565b600061122282612786565b600001519050919050565b611235611e3e565b73ffffffffffffffffffffffffffffffffffffffff16611253611499565b73ffffffffffffffffffffffffffffffffffffffff16146112a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a090613a4a565b60405180910390fd5b80600b8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361131a576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61138a611e3e565b73ffffffffffffffffffffffffffffffffffffffff166113a8611499565b73ffffffffffffffffffffffffffffffffffffffff16146113fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f590613a4a565b60405180910390fd5b6114086000612a11565b565b611412611e3e565b73ffffffffffffffffffffffffffffffffffffffff16611430611499565b73ffffffffffffffffffffffffffffffffffffffff1614611486576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147d90613a4a565b60405180910390fd5b80600c90816114959190613cbf565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600860149054906101000a900460ff1681565b6060600380546114e590613745565b80601f016020809104026020016040519081016040528092919081815260200182805461151190613745565b801561155e5780601f106115335761010080835404028352916020019161155e565b820191906000526020600020905b81548152906001019060200180831161154157829003601f168201915b5050505050905090565b611570611e3e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036115d4576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006115e1611e3e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661168e611e3e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116d39190612f45565b60405180910390a35050565b600d80546116ec90613745565b80601f016020809104026020016040519081016040528092919081815260200182805461171890613745565b80156117655780601f1061173a57610100808354040283529160200191611765565b820191906000526020600020905b81548152906001019060200180831161174857829003601f168201915b505050505081565b611778848484611f01565b6117978373ffffffffffffffffffffffffffffffffffffffff16612ad7565b156117df576117a884848484612afa565b6117de576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60095481565b60606117f682611df0565b611835576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182c90613e03565b60405180910390fd5b60001515600a60009054906101000a900460ff161515036118e257600d805461185d90613745565b80601f016020809104026020016040519081016040528092919081815260200182805461188990613745565b80156118d65780601f106118ab576101008083540402835291602001916118d6565b820191906000526020600020905b8154815290600101906020018083116118b957829003601f168201915b5050505050905061193c565b6000600c80546118f190613745565b90501161190d5760405180602001604052806000815250611939565b600c61191883612c4a565b604051602001611929929190613f2e565b6040516020818303038152906040525b90505b919050565b600061194c826126a2565b9050919050565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611981611e3e565b73ffffffffffffffffffffffffffffffffffffffff1661199f611499565b73ffffffffffffffffffffffffffffffffffffffff16146119f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ec90613a4a565b60405180910390fd5b600860149054906101000a900460ff1615600860146101000a81548160ff021916908315150217905550565b611a29611e3e565b73ffffffffffffffffffffffffffffffffffffffff16611a47611499565b73ffffffffffffffffffffffffffffffffffffffff1614611a9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9490613a4a565b60405180910390fd5b600860159054906101000a900460ff1615600860156101000a81548160ff021916908315150217905550565b611ad1611e3e565b73ffffffffffffffffffffffffffffffffffffffff16611aef611499565b73ffffffffffffffffffffffffffffffffffffffff1614611b45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3c90613a4a565b60405180910390fd5b6108ae611b506123b5565b10611b90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b879061389a565b60405180910390fd5b601e811115611bd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bcb90613fa9565b60405180910390fd5b611bde82826123c8565b5050565b600860159054906101000a900460ff1681565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c91611e3e565b73ffffffffffffffffffffffffffffffffffffffff16611caf611499565b73ffffffffffffffffffffffffffffffffffffffff1614611d05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfc90613a4a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611d74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6b9061403b565b60405180910390fd5b611d7d81612a11565b50565b600b5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081611dfb611ef8565b11158015611e0a575060005482105b8015611e37575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b6000611f0c82612786565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611f77576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611f98611e3e565b73ffffffffffffffffffffffffffffffffffffffff161480611fc75750611fc685611fc1611e3e565b611bf5565b5b8061200c5750611fd5611e3e565b73ffffffffffffffffffffffffffffffffffffffff16611ff4846109e8565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612045576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036120ab576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6120b88585856001612daa565b6120c460008487611e46565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160361234357600054821461234257878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123ae8585856001612db0565b5050505050565b60006123bf611ef8565b60005403905090565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612434576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000820361246e576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61247b6000848385612daa565b81600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555081600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550826004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600083820190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821061261e5781600081905550505061269d6000848385612db0565b505050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160189054906101000a900467ffffffffffffffff169050919050565b80600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160186101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505050565b60008261277c8584612db6565b1490509392505050565b61278e612e4e565b60008290508061279c611ef8565b116129da576000548110156129d9576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516129d757600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146128bb578092505050612a0c565b5b6001156129d657818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146129d1578092505050612a0c565b6128bc565b5b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b20611e3e565b8786866040518563ffffffff1660e01b8152600401612b4294939291906140b0565b6020604051808303816000875af1925050508015612b7e57506040513d601f19601f82011682018060405250810190612b7b9190614111565b60015b612bf7573d8060008114612bae576040519150601f19603f3d011682016040523d82523d6000602084013e612bb3565b606091505b506000815103612bef576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060008203612c91576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612da5565b600082905060005b60008214612cc3578080612cac9061416d565b915050600a82612cbc91906141e4565b9150612c99565b60008167ffffffffffffffff811115612cdf57612cde61336a565b5b6040519080825280601f01601f191660200182016040528015612d115781602001600182028036833780820191505090505b5090505b60008514612d9e57600182612d2a9190614215565b9150600a85612d399190614249565b6030612d45919061427a565b60f81b818381518110612d5b57612d5a6142d0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612d9791906141e4565b9450612d15565b8093505050505b919050565b50505050565b50505050565b60008082905060005b8451811015612e0157612dec82868381518110612ddf57612dde6142d0565b5b6020026020010151612e0c565b91508080612df99061416d565b915050612dbf565b508091505092915050565b6000818310612e2457612e1f8284612e37565b612e2f565b612e2e8383612e37565b5b905092915050565b600082600052816020526040600020905092915050565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612eda81612ea5565b8114612ee557600080fd5b50565b600081359050612ef781612ed1565b92915050565b600060208284031215612f1357612f12612e9b565b5b6000612f2184828501612ee8565b91505092915050565b60008115159050919050565b612f3f81612f2a565b82525050565b6000602082019050612f5a6000830184612f36565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612f9a578082015181840152602081019050612f7f565b83811115612fa9576000848401525b50505050565b6000601f19601f8301169050919050565b6000612fcb82612f60565b612fd58185612f6b565b9350612fe5818560208601612f7c565b612fee81612faf565b840191505092915050565b600060208201905081810360008301526130138184612fc0565b905092915050565b6000819050919050565b61302e8161301b565b811461303957600080fd5b50565b60008135905061304b81613025565b92915050565b60006020828403121561306757613066612e9b565b5b60006130758482850161303c565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006130a98261307e565b9050919050565b6130b98161309e565b82525050565b60006020820190506130d460008301846130b0565b92915050565b6130e38161309e565b81146130ee57600080fd5b50565b600081359050613100816130da565b92915050565b6000806040838503121561311d5761311c612e9b565b5b600061312b858286016130f1565b925050602061313c8582860161303c565b9150509250929050565b61314f8161301b565b82525050565b600060208201905061316a6000830184613146565b92915050565b60008060006060848603121561318957613188612e9b565b5b6000613197868287016130f1565b93505060206131a8868287016130f1565b92505060406131b98682870161303c565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f8401126131e8576131e76131c3565b5b8235905067ffffffffffffffff811115613205576132046131c8565b5b602083019150836020820283011115613221576132206131cd565b5b9250929050565b6000806020838503121561323f5761323e612e9b565b5b600083013567ffffffffffffffff81111561325d5761325c612ea0565b5b613269858286016131d2565b92509250509250929050565b60008060006040848603121561328e5761328d612e9b565b5b600061329c868287016130f1565b935050602084013567ffffffffffffffff8111156132bd576132bc612ea0565b5b6132c9868287016131d2565b92509250509250925092565b6000819050919050565b6132e8816132d5565b81146132f357600080fd5b50565b600081359050613305816132df565b92915050565b60006020828403121561332157613320612e9b565b5b600061332f848285016132f6565b91505092915050565b60006020828403121561334e5761334d612e9b565b5b600061335c848285016130f1565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6133a282612faf565b810181811067ffffffffffffffff821117156133c1576133c061336a565b5b80604052505050565b60006133d4612e91565b90506133e08282613399565b919050565b600067ffffffffffffffff821115613400576133ff61336a565b5b61340982612faf565b9050602081019050919050565b82818337600083830152505050565b6000613438613433846133e5565b6133ca565b90508281526020810184848401111561345457613453613365565b5b61345f848285613416565b509392505050565b600082601f83011261347c5761347b6131c3565b5b813561348c848260208601613425565b91505092915050565b6000602082840312156134ab576134aa612e9b565b5b600082013567ffffffffffffffff8111156134c9576134c8612ea0565b5b6134d584828501613467565b91505092915050565b6134e781612f2a565b81146134f257600080fd5b50565b600081359050613504816134de565b92915050565b6000806040838503121561352157613520612e9b565b5b600061352f858286016130f1565b9250506020613540858286016134f5565b9150509250929050565b600067ffffffffffffffff8211156135655761356461336a565b5b61356e82612faf565b9050602081019050919050565b600061358e6135898461354a565b6133ca565b9050828152602081018484840111156135aa576135a9613365565b5b6135b5848285613416565b509392505050565b600082601f8301126135d2576135d16131c3565b5b81356135e284826020860161357b565b91505092915050565b6000806000806080858703121561360557613604612e9b565b5b6000613613878288016130f1565b9450506020613624878288016130f1565b93505060406136358782880161303c565b925050606085013567ffffffffffffffff81111561365657613655612ea0565b5b613662878288016135bd565b91505092959194509250565b600067ffffffffffffffff82169050919050565b61368b8161366e565b82525050565b60006020820190506136a66000830184613682565b92915050565b600080604083850312156136c3576136c2612e9b565b5b60006136d1858286016130f1565b92505060206136e2858286016130f1565b9150509250929050565b6136f5816132d5565b82525050565b600060208201905061371060008301846136ec565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061375d57607f821691505b6020821081036137705761376f613716565b5b50919050565b7f5055424c49435f53414c455f4e4f545f52554e4e494e47000000000000000000600082015250565b60006137ac601783612f6b565b91506137b782613776565b602082019050919050565b600060208201905081810360008301526137db8161379f565b9050919050565b7f494e434f52524543545f4554485f414d4f554e54000000000000000000000000600082015250565b6000613818601483612f6b565b9150613823826137e2565b602082019050919050565b600060208201905081810360008301526138478161380b565b9050919050565b7f544f54414c5f535550504c595f52454143484544000000000000000000000000600082015250565b6000613884601483612f6b565b915061388f8261384e565b602082019050919050565b600060208201905081810360008301526138b381613877565b9050919050565b7f505249564154455f53414c455f4e4f545f52554e4e494e470000000000000000600082015250565b60006138f0601883612f6b565b91506138fb826138ba565b602082019050919050565b6000602082019050818103600083015261391f816138e3565b9050919050565b7f494e56414c49445f50524f4f4600000000000000000000000000000000000000600082015250565b600061395c600d83612f6b565b915061396782613926565b602082019050919050565b6000602082019050818103600083015261398b8161394f565b9050919050565b7f43414e5f4f4e4c595f4d494e545f310000000000000000000000000000000000600082015250565b60006139c8600f83612f6b565b91506139d382613992565b602082019050919050565b600060208201905081810360008301526139f7816139bb565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613a34602083612f6b565b9150613a3f826139fe565b602082019050919050565b60006020820190508181036000830152613a6381613a27565b9050919050565b600081905092915050565b50565b6000613a85600083613a6a565b9150613a9082613a75565b600082019050919050565b6000613aa682613a78565b9150819050919050565b60008160601b9050919050565b6000613ac882613ab0565b9050919050565b6000613ada82613abd565b9050919050565b613af2613aed8261309e565b613acf565b82525050565b6000613b048284613ae1565b60148201915081905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613b757fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613b38565b613b7f8683613b38565b95508019841693508086168417925050509392505050565b6000819050919050565b6000613bbc613bb7613bb28461301b565b613b97565b61301b565b9050919050565b6000819050919050565b613bd683613ba1565b613bea613be282613bc3565b848454613b45565b825550505050565b600090565b613bff613bf2565b613c0a818484613bcd565b505050565b5b81811015613c2e57613c23600082613bf7565b600181019050613c10565b5050565b601f821115613c7357613c4481613b13565b613c4d84613b28565b81016020851015613c5c578190505b613c70613c6885613b28565b830182613c0f565b50505b505050565b600082821c905092915050565b6000613c9660001984600802613c78565b1980831691505092915050565b6000613caf8383613c85565b9150826002028217905092915050565b613cc882612f60565b67ffffffffffffffff811115613ce157613ce061336a565b5b613ceb8254613745565b613cf6828285613c32565b600060209050601f831160018114613d295760008415613d17578287015190505b613d218582613ca3565b865550613d89565b601f198416613d3786613b13565b60005b82811015613d5f57848901518255600182019150602085019450602081019050613d3a565b86831015613d7c5784890151613d78601f891682613c85565b8355505b6001600288020188555050505b505050505050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613ded602f83612f6b565b9150613df882613d91565b604082019050919050565b60006020820190508181036000830152613e1c81613de0565b9050919050565b600081905092915050565b60008154613e3b81613745565b613e458186613e23565b94506001821660008114613e605760018114613e7557613ea8565b60ff1983168652811515820286019350613ea8565b613e7e85613b13565b60005b83811015613ea057815481890152600182019150602081019050613e81565b838801955050505b50505092915050565b6000613ebc82612f60565b613ec68185613e23565b9350613ed6818560208601612f7c565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613f18600583613e23565b9150613f2382613ee2565b600582019050919050565b6000613f3a8285613e2e565b9150613f468284613eb1565b9150613f5182613f0b565b91508190509392505050565b7f544f5f4d414e595f5045525f5458000000000000000000000000000000000000600082015250565b6000613f93600e83612f6b565b9150613f9e82613f5d565b602082019050919050565b60006020820190508181036000830152613fc281613f86565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614025602683612f6b565b915061403082613fc9565b604082019050919050565b6000602082019050818103600083015261405481614018565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006140828261405b565b61408c8185614066565b935061409c818560208601612f7c565b6140a581612faf565b840191505092915050565b60006080820190506140c560008301876130b0565b6140d260208301866130b0565b6140df6040830185613146565b81810360608301526140f18184614077565b905095945050505050565b60008151905061410b81612ed1565b92915050565b60006020828403121561412757614126612e9b565b5b6000614135848285016140fc565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006141788261301b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036141aa576141a961413e565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006141ef8261301b565b91506141fa8361301b565b92508261420a576142096141b5565b5b828204905092915050565b60006142208261301b565b915061422b8361301b565b92508282101561423e5761423d61413e565b5b828203905092915050565b60006142548261301b565b915061425f8361301b565b92508261426f5761426e6141b5565b5b828206905092915050565b60006142858261301b565b91506142908361301b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156142c5576142c461413e565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea26469706673582212205788a424fba494df752c0f8862bde0ec32932f9edd4641d3f4e57922c64b19ce64736f6c634300080f003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000009d0d0fe29d6335ec09911f2847cd505470cea03b0000000000000000000000000000000000000000000000000000000000000042697066733a2f2f6261666b726569686f70726d7670683470666f6e6862687932616f346975767033696532376a77667a6f617136357637677768357278616679656d000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102255760003560e01c8063715018a611610123578063c87b56dd116100ab578063e58306f91161006f578063e58306f91461078f578063e6f6ef1e146107b8578063e985e9c5146107e3578063f2fde38b14610820578063fd5e8efe1461084957610225565b8063c87b56dd146106bc578063ca5d9cda146106f9578063dc7db9ed14610736578063dfe5dd6814610761578063e222c7f91461077857610225565b806395d89b41116100f257806395d89b41146105e9578063a22cb46514610614578063a45ba8e71461063d578063b88d4fde14610668578063c002d23d1461069157610225565b8063715018a6146105535780637ec4a6591461056a5780638da5cb5b146105935780639168e23e146105be57610225565b80633ccfd60b116101b15780635bc020bc116101755780635bc020bc1461046e57806362b99ad4146104855780636352211e146104b05780636957637b146104ed57806370a082311461051657610225565b80633ccfd60b1461039d57806342842e0e146103b457806351830227146103dd5780635788ff36146104085780635a23dd991461043157610225565b806318160ddd116101f857806318160ddd146102f857806323b872dd1461032357806326092b831461034c57806332cb6b0c14610356578063372f657c1461038157610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063095ea7b3146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190612efd565b610874565b60405161025e9190612f45565b60405180910390f35b34801561027357600080fd5b5061027c610956565b6040516102899190612ff9565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b49190613051565b6109e8565b6040516102c691906130bf565b60405180910390f35b3480156102db57600080fd5b506102f660048036038101906102f19190613106565b610a64565b005b34801561030457600080fd5b5061030d610b68565b60405161031a9190613155565b60405180910390f35b34801561032f57600080fd5b5061034a60048036038101906103459190613170565b610b7f565b005b610354610b8f565b005b34801561036257600080fd5b5061036b610cb2565b6040516103789190613155565b60405180910390f35b61039b60048036038101906103969190613228565b610cb8565b005b3480156103a957600080fd5b506103b2610e8d565b005b3480156103c057600080fd5b506103db60048036038101906103d69190613170565b610fa4565b005b3480156103e957600080fd5b506103f2610fc4565b6040516103ff9190612f45565b60405180910390f35b34801561041457600080fd5b5061042f600480360381019061042a9190613051565b610fd7565b005b34801561043d57600080fd5b5061045860048036038101906104539190613275565b61105d565b6040516104659190612f45565b60405180910390f35b34801561047a57600080fd5b506104836110e1565b005b34801561049157600080fd5b5061049a611189565b6040516104a79190612ff9565b60405180910390f35b3480156104bc57600080fd5b506104d760048036038101906104d29190613051565b611217565b6040516104e491906130bf565b60405180910390f35b3480156104f957600080fd5b50610514600480360381019061050f919061330b565b61122d565b005b34801561052257600080fd5b5061053d60048036038101906105389190613338565b6112b3565b60405161054a9190613155565b60405180910390f35b34801561055f57600080fd5b50610568611382565b005b34801561057657600080fd5b50610591600480360381019061058c9190613495565b61140a565b005b34801561059f57600080fd5b506105a8611499565b6040516105b591906130bf565b60405180910390f35b3480156105ca57600080fd5b506105d36114c3565b6040516105e09190612f45565b60405180910390f35b3480156105f557600080fd5b506105fe6114d6565b60405161060b9190612ff9565b60405180910390f35b34801561062057600080fd5b5061063b6004803603810190610636919061350a565b611568565b005b34801561064957600080fd5b506106526116df565b60405161065f9190612ff9565b60405180910390f35b34801561067457600080fd5b5061068f600480360381019061068a91906135eb565b61176d565b005b34801561069d57600080fd5b506106a66117e5565b6040516106b39190613155565b60405180910390f35b3480156106c857600080fd5b506106e360048036038101906106de9190613051565b6117eb565b6040516106f09190612ff9565b60405180910390f35b34801561070557600080fd5b50610720600480360381019061071b9190613338565b611941565b60405161072d9190613691565b60405180910390f35b34801561074257600080fd5b5061074b611953565b60405161075891906130bf565b60405180910390f35b34801561076d57600080fd5b50610776611979565b005b34801561078457600080fd5b5061078d611a21565b005b34801561079b57600080fd5b506107b660048036038101906107b19190613106565b611ac9565b005b3480156107c457600080fd5b506107cd611be2565b6040516107da9190612f45565b60405180910390f35b3480156107ef57600080fd5b5061080a600480360381019061080591906136ac565b611bf5565b6040516108179190612f45565b60405180910390f35b34801561082c57600080fd5b5061084760048036038101906108429190613338565b611c89565b005b34801561085557600080fd5b5061085e611d80565b60405161086b91906136fb565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061093f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061094f575061094e82611d86565b5b9050919050565b60606002805461096590613745565b80601f016020809104026020016040519081016040528092919081815260200182805461099190613745565b80156109de5780601f106109b3576101008083540402835291602001916109de565b820191906000526020600020905b8154815290600101906020018083116109c157829003601f168201915b5050505050905090565b60006109f382611df0565b610a29576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a6f82611217565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610ad6576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610af5611e3e565b73ffffffffffffffffffffffffffffffffffffffff1614610b5857610b2181610b1c611e3e565b611bf5565b610b57576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b610b63838383611e46565b505050565b6000610b72611ef8565b6001546000540303905090565b610b8a838383611f01565b505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610bc757600080fd5b600860159054906101000a900460ff16610c16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0d906137c2565b60405180910390fd5b6009543414610c5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c519061382e565b60405180910390fd5b6108ae610c656123b5565b10610ca5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9c9061389a565b60405180910390fd5b610cb03360016123c8565b565b6108ae81565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610cf057600080fd5b600860149054906101000a900460ff16610d3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3690613906565b60405180910390fd5b6009543414610d83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7a9061382e565b60405180910390fd5b6108ae610d8e6123b5565b10610dce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc59061389a565b60405180910390fd5b610dd933838361105d565b610e18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0f90613972565b60405180910390fd5b6000610e23336126a2565b905060008167ffffffffffffffff1614610e72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e69906139de565b60405180910390fd5b610e7d336001612702565b610e883360016123c8565b505050565b610e95611e3e565b73ffffffffffffffffffffffffffffffffffffffff16610eb3611499565b73ffffffffffffffffffffffffffffffffffffffff1614610f09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0090613a4a565b60405180910390fd5b6000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051610f5190613a9b565b60006040518083038185875af1925050503d8060008114610f8e576040519150601f19603f3d011682016040523d82523d6000602084013e610f93565b606091505b5050905080610fa157600080fd5b50565b610fbf8383836040518060200160405280600081525061176d565b505050565b600a60009054906101000a900460ff1681565b610fdf611e3e565b73ffffffffffffffffffffffffffffffffffffffff16610ffd611499565b73ffffffffffffffffffffffffffffffffffffffff1614611053576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104a90613a4a565b60405180910390fd5b8060098190555050565b600080846040516020016110719190613af8565b6040516020818303038152906040528051906020012090506110d7848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b548361276f565b9150509392505050565b6110e9611e3e565b73ffffffffffffffffffffffffffffffffffffffff16611107611499565b73ffffffffffffffffffffffffffffffffffffffff161461115d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115490613a4a565b60405180910390fd5b600a60009054906101000a900460ff1615600a60006101000a81548160ff021916908315150217905550565b600c805461119690613745565b80601f01602080910402602001604051908101604052809291908181526020018280546111c290613745565b801561120f5780601f106111e45761010080835404028352916020019161120f565b820191906000526020600020905b8154815290600101906020018083116111f257829003601f168201915b505050505081565b600061122282612786565b600001519050919050565b611235611e3e565b73ffffffffffffffffffffffffffffffffffffffff16611253611499565b73ffffffffffffffffffffffffffffffffffffffff16146112a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a090613a4a565b60405180910390fd5b80600b8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361131a576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61138a611e3e565b73ffffffffffffffffffffffffffffffffffffffff166113a8611499565b73ffffffffffffffffffffffffffffffffffffffff16146113fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f590613a4a565b60405180910390fd5b6114086000612a11565b565b611412611e3e565b73ffffffffffffffffffffffffffffffffffffffff16611430611499565b73ffffffffffffffffffffffffffffffffffffffff1614611486576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147d90613a4a565b60405180910390fd5b80600c90816114959190613cbf565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600860149054906101000a900460ff1681565b6060600380546114e590613745565b80601f016020809104026020016040519081016040528092919081815260200182805461151190613745565b801561155e5780601f106115335761010080835404028352916020019161155e565b820191906000526020600020905b81548152906001019060200180831161154157829003601f168201915b5050505050905090565b611570611e3e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036115d4576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006115e1611e3e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661168e611e3e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116d39190612f45565b60405180910390a35050565b600d80546116ec90613745565b80601f016020809104026020016040519081016040528092919081815260200182805461171890613745565b80156117655780601f1061173a57610100808354040283529160200191611765565b820191906000526020600020905b81548152906001019060200180831161174857829003601f168201915b505050505081565b611778848484611f01565b6117978373ffffffffffffffffffffffffffffffffffffffff16612ad7565b156117df576117a884848484612afa565b6117de576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60095481565b60606117f682611df0565b611835576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182c90613e03565b60405180910390fd5b60001515600a60009054906101000a900460ff161515036118e257600d805461185d90613745565b80601f016020809104026020016040519081016040528092919081815260200182805461188990613745565b80156118d65780601f106118ab576101008083540402835291602001916118d6565b820191906000526020600020905b8154815290600101906020018083116118b957829003601f168201915b5050505050905061193c565b6000600c80546118f190613745565b90501161190d5760405180602001604052806000815250611939565b600c61191883612c4a565b604051602001611929929190613f2e565b6040516020818303038152906040525b90505b919050565b600061194c826126a2565b9050919050565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611981611e3e565b73ffffffffffffffffffffffffffffffffffffffff1661199f611499565b73ffffffffffffffffffffffffffffffffffffffff16146119f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ec90613a4a565b60405180910390fd5b600860149054906101000a900460ff1615600860146101000a81548160ff021916908315150217905550565b611a29611e3e565b73ffffffffffffffffffffffffffffffffffffffff16611a47611499565b73ffffffffffffffffffffffffffffffffffffffff1614611a9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9490613a4a565b60405180910390fd5b600860159054906101000a900460ff1615600860156101000a81548160ff021916908315150217905550565b611ad1611e3e565b73ffffffffffffffffffffffffffffffffffffffff16611aef611499565b73ffffffffffffffffffffffffffffffffffffffff1614611b45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3c90613a4a565b60405180910390fd5b6108ae611b506123b5565b10611b90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b879061389a565b60405180910390fd5b601e811115611bd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bcb90613fa9565b60405180910390fd5b611bde82826123c8565b5050565b600860159054906101000a900460ff1681565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c91611e3e565b73ffffffffffffffffffffffffffffffffffffffff16611caf611499565b73ffffffffffffffffffffffffffffffffffffffff1614611d05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfc90613a4a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611d74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6b9061403b565b60405180910390fd5b611d7d81612a11565b50565b600b5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081611dfb611ef8565b11158015611e0a575060005482105b8015611e37575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b6000611f0c82612786565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611f77576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611f98611e3e565b73ffffffffffffffffffffffffffffffffffffffff161480611fc75750611fc685611fc1611e3e565b611bf5565b5b8061200c5750611fd5611e3e565b73ffffffffffffffffffffffffffffffffffffffff16611ff4846109e8565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612045576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036120ab576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6120b88585856001612daa565b6120c460008487611e46565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff160361234357600054821461234257878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123ae8585856001612db0565b5050505050565b60006123bf611ef8565b60005403905090565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612434576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000820361246e576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61247b6000848385612daa565b81600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555081600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550826004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600083820190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821061261e5781600081905550505061269d6000848385612db0565b505050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160189054906101000a900467ffffffffffffffff169050919050565b80600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160186101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505050565b60008261277c8584612db6565b1490509392505050565b61278e612e4e565b60008290508061279c611ef8565b116129da576000548110156129d9576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516129d757600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146128bb578092505050612a0c565b5b6001156129d657818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146129d1578092505050612a0c565b6128bc565b5b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b20611e3e565b8786866040518563ffffffff1660e01b8152600401612b4294939291906140b0565b6020604051808303816000875af1925050508015612b7e57506040513d601f19601f82011682018060405250810190612b7b9190614111565b60015b612bf7573d8060008114612bae576040519150601f19603f3d011682016040523d82523d6000602084013e612bb3565b606091505b506000815103612bef576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060008203612c91576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612da5565b600082905060005b60008214612cc3578080612cac9061416d565b915050600a82612cbc91906141e4565b9150612c99565b60008167ffffffffffffffff811115612cdf57612cde61336a565b5b6040519080825280601f01601f191660200182016040528015612d115781602001600182028036833780820191505090505b5090505b60008514612d9e57600182612d2a9190614215565b9150600a85612d399190614249565b6030612d45919061427a565b60f81b818381518110612d5b57612d5a6142d0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612d9791906141e4565b9450612d15565b8093505050505b919050565b50505050565b50505050565b60008082905060005b8451811015612e0157612dec82868381518110612ddf57612dde6142d0565b5b6020026020010151612e0c565b91508080612df99061416d565b915050612dbf565b508091505092915050565b6000818310612e2457612e1f8284612e37565b612e2f565b612e2e8383612e37565b5b905092915050565b600082600052816020526040600020905092915050565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612eda81612ea5565b8114612ee557600080fd5b50565b600081359050612ef781612ed1565b92915050565b600060208284031215612f1357612f12612e9b565b5b6000612f2184828501612ee8565b91505092915050565b60008115159050919050565b612f3f81612f2a565b82525050565b6000602082019050612f5a6000830184612f36565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612f9a578082015181840152602081019050612f7f565b83811115612fa9576000848401525b50505050565b6000601f19601f8301169050919050565b6000612fcb82612f60565b612fd58185612f6b565b9350612fe5818560208601612f7c565b612fee81612faf565b840191505092915050565b600060208201905081810360008301526130138184612fc0565b905092915050565b6000819050919050565b61302e8161301b565b811461303957600080fd5b50565b60008135905061304b81613025565b92915050565b60006020828403121561306757613066612e9b565b5b60006130758482850161303c565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006130a98261307e565b9050919050565b6130b98161309e565b82525050565b60006020820190506130d460008301846130b0565b92915050565b6130e38161309e565b81146130ee57600080fd5b50565b600081359050613100816130da565b92915050565b6000806040838503121561311d5761311c612e9b565b5b600061312b858286016130f1565b925050602061313c8582860161303c565b9150509250929050565b61314f8161301b565b82525050565b600060208201905061316a6000830184613146565b92915050565b60008060006060848603121561318957613188612e9b565b5b6000613197868287016130f1565b93505060206131a8868287016130f1565b92505060406131b98682870161303c565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f8401126131e8576131e76131c3565b5b8235905067ffffffffffffffff811115613205576132046131c8565b5b602083019150836020820283011115613221576132206131cd565b5b9250929050565b6000806020838503121561323f5761323e612e9b565b5b600083013567ffffffffffffffff81111561325d5761325c612ea0565b5b613269858286016131d2565b92509250509250929050565b60008060006040848603121561328e5761328d612e9b565b5b600061329c868287016130f1565b935050602084013567ffffffffffffffff8111156132bd576132bc612ea0565b5b6132c9868287016131d2565b92509250509250925092565b6000819050919050565b6132e8816132d5565b81146132f357600080fd5b50565b600081359050613305816132df565b92915050565b60006020828403121561332157613320612e9b565b5b600061332f848285016132f6565b91505092915050565b60006020828403121561334e5761334d612e9b565b5b600061335c848285016130f1565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6133a282612faf565b810181811067ffffffffffffffff821117156133c1576133c061336a565b5b80604052505050565b60006133d4612e91565b90506133e08282613399565b919050565b600067ffffffffffffffff821115613400576133ff61336a565b5b61340982612faf565b9050602081019050919050565b82818337600083830152505050565b6000613438613433846133e5565b6133ca565b90508281526020810184848401111561345457613453613365565b5b61345f848285613416565b509392505050565b600082601f83011261347c5761347b6131c3565b5b813561348c848260208601613425565b91505092915050565b6000602082840312156134ab576134aa612e9b565b5b600082013567ffffffffffffffff8111156134c9576134c8612ea0565b5b6134d584828501613467565b91505092915050565b6134e781612f2a565b81146134f257600080fd5b50565b600081359050613504816134de565b92915050565b6000806040838503121561352157613520612e9b565b5b600061352f858286016130f1565b9250506020613540858286016134f5565b9150509250929050565b600067ffffffffffffffff8211156135655761356461336a565b5b61356e82612faf565b9050602081019050919050565b600061358e6135898461354a565b6133ca565b9050828152602081018484840111156135aa576135a9613365565b5b6135b5848285613416565b509392505050565b600082601f8301126135d2576135d16131c3565b5b81356135e284826020860161357b565b91505092915050565b6000806000806080858703121561360557613604612e9b565b5b6000613613878288016130f1565b9450506020613624878288016130f1565b93505060406136358782880161303c565b925050606085013567ffffffffffffffff81111561365657613655612ea0565b5b613662878288016135bd565b91505092959194509250565b600067ffffffffffffffff82169050919050565b61368b8161366e565b82525050565b60006020820190506136a66000830184613682565b92915050565b600080604083850312156136c3576136c2612e9b565b5b60006136d1858286016130f1565b92505060206136e2858286016130f1565b9150509250929050565b6136f5816132d5565b82525050565b600060208201905061371060008301846136ec565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061375d57607f821691505b6020821081036137705761376f613716565b5b50919050565b7f5055424c49435f53414c455f4e4f545f52554e4e494e47000000000000000000600082015250565b60006137ac601783612f6b565b91506137b782613776565b602082019050919050565b600060208201905081810360008301526137db8161379f565b9050919050565b7f494e434f52524543545f4554485f414d4f554e54000000000000000000000000600082015250565b6000613818601483612f6b565b9150613823826137e2565b602082019050919050565b600060208201905081810360008301526138478161380b565b9050919050565b7f544f54414c5f535550504c595f52454143484544000000000000000000000000600082015250565b6000613884601483612f6b565b915061388f8261384e565b602082019050919050565b600060208201905081810360008301526138b381613877565b9050919050565b7f505249564154455f53414c455f4e4f545f52554e4e494e470000000000000000600082015250565b60006138f0601883612f6b565b91506138fb826138ba565b602082019050919050565b6000602082019050818103600083015261391f816138e3565b9050919050565b7f494e56414c49445f50524f4f4600000000000000000000000000000000000000600082015250565b600061395c600d83612f6b565b915061396782613926565b602082019050919050565b6000602082019050818103600083015261398b8161394f565b9050919050565b7f43414e5f4f4e4c595f4d494e545f310000000000000000000000000000000000600082015250565b60006139c8600f83612f6b565b91506139d382613992565b602082019050919050565b600060208201905081810360008301526139f7816139bb565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613a34602083612f6b565b9150613a3f826139fe565b602082019050919050565b60006020820190508181036000830152613a6381613a27565b9050919050565b600081905092915050565b50565b6000613a85600083613a6a565b9150613a9082613a75565b600082019050919050565b6000613aa682613a78565b9150819050919050565b60008160601b9050919050565b6000613ac882613ab0565b9050919050565b6000613ada82613abd565b9050919050565b613af2613aed8261309e565b613acf565b82525050565b6000613b048284613ae1565b60148201915081905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613b757fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613b38565b613b7f8683613b38565b95508019841693508086168417925050509392505050565b6000819050919050565b6000613bbc613bb7613bb28461301b565b613b97565b61301b565b9050919050565b6000819050919050565b613bd683613ba1565b613bea613be282613bc3565b848454613b45565b825550505050565b600090565b613bff613bf2565b613c0a818484613bcd565b505050565b5b81811015613c2e57613c23600082613bf7565b600181019050613c10565b5050565b601f821115613c7357613c4481613b13565b613c4d84613b28565b81016020851015613c5c578190505b613c70613c6885613b28565b830182613c0f565b50505b505050565b600082821c905092915050565b6000613c9660001984600802613c78565b1980831691505092915050565b6000613caf8383613c85565b9150826002028217905092915050565b613cc882612f60565b67ffffffffffffffff811115613ce157613ce061336a565b5b613ceb8254613745565b613cf6828285613c32565b600060209050601f831160018114613d295760008415613d17578287015190505b613d218582613ca3565b865550613d89565b601f198416613d3786613b13565b60005b82811015613d5f57848901518255600182019150602085019450602081019050613d3a565b86831015613d7c5784890151613d78601f891682613c85565b8355505b6001600288020188555050505b505050505050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613ded602f83612f6b565b9150613df882613d91565b604082019050919050565b60006020820190508181036000830152613e1c81613de0565b9050919050565b600081905092915050565b60008154613e3b81613745565b613e458186613e23565b94506001821660008114613e605760018114613e7557613ea8565b60ff1983168652811515820286019350613ea8565b613e7e85613b13565b60005b83811015613ea057815481890152600182019150602081019050613e81565b838801955050505b50505092915050565b6000613ebc82612f60565b613ec68185613e23565b9350613ed6818560208601612f7c565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613f18600583613e23565b9150613f2382613ee2565b600582019050919050565b6000613f3a8285613e2e565b9150613f468284613eb1565b9150613f5182613f0b565b91508190509392505050565b7f544f5f4d414e595f5045525f5458000000000000000000000000000000000000600082015250565b6000613f93600e83612f6b565b9150613f9e82613f5d565b602082019050919050565b60006020820190508181036000830152613fc281613f86565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614025602683612f6b565b915061403082613fc9565b604082019050919050565b6000602082019050818103600083015261405481614018565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006140828261405b565b61408c8185614066565b935061409c818560208601612f7c565b6140a581612faf565b840191505092915050565b60006080820190506140c560008301876130b0565b6140d260208301866130b0565b6140df6040830185613146565b81810360608301526140f18184614077565b905095945050505050565b60008151905061410b81612ed1565b92915050565b60006020828403121561412757614126612e9b565b5b6000614135848285016140fc565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006141788261301b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036141aa576141a961413e565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006141ef8261301b565b91506141fa8361301b565b92508261420a576142096141b5565b5b828204905092915050565b60006142208261301b565b915061422b8361301b565b92508282101561423e5761423d61413e565b5b828203905092915050565b60006142548261301b565b915061425f8361301b565b92508261426f5761426e6141b5565b5b828206905092915050565b60006142858261301b565b91506142908361301b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156142c5576142c461413e565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea26469706673582212205788a424fba494df752c0f8862bde0ec32932f9edd4641d3f4e57922c64b19ce64736f6c634300080f0033

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

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000009d0d0fe29d6335ec09911f2847cd505470cea03b0000000000000000000000000000000000000000000000000000000000000042697066733a2f2f6261666b726569686f70726d7670683470666f6e6862687932616f346975767033696532376a77667a6f617136357637677768357278616679656d000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _hiddenMetadataUri (string): ipfs://bafkreihoprmvph4pfonhbhy2ao4iuvp3ie27jwfzoaq65v7gwh5rxafyem
Arg [1] : _paymentSplitAddress (address): 0x9D0D0Fe29d6335Ec09911F2847cd505470CeA03b

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000009d0d0fe29d6335ec09911f2847cd505470cea03b
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000042
Arg [3] : 697066733a2f2f6261666b726569686f70726d7670683470666f6e6862687932
Arg [4] : 616f346975767033696532376a77667a6f617136357637677768357278616679
Arg [5] : 656d000000000000000000000000000000000000000000000000000000000000


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.