ETH Price: $3,464.64 (+3.92%)

Token

KatWalkerz (KW)
 

Overview

Max Total Supply

2,500 KW

Holders

1,378

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 KW
0xc09956866623ac5c49cb543634b0a38a6eeaa862
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:
KatWalkerz

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 200 runs

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

// /ᐠ。▿。ᐟ\*ᵖᵘʳʳ*
// KatWalkerz
// author: sadat.eth

pragma solidity ^0.8.4;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Base64.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "./DefaultOperatorFilterer.sol";


contract KatWalkerz is ERC721, ReentrancyGuard, Ownable, DefaultOperatorFilterer {
    using Strings for uint256;

    // KW supply info
    uint256 public maxKatWalkerz;
    uint256 public maxPerWallet;
    uint256 public totalSupply;
    
    // KW metadata server
    string private kwServer;

    // KW burning rewards
    address private kwRewards;

    // KW royalty info
    address private vault;
    uint96 private royaltyBps = 770; // 7.7%
    bytes4 private constant IERC2981 = 0x2a55205a;

    // KW minting information
    bytes32 private katlist;
    mapping(address => uint256) public claimed;
    mapping(address => uint256) public minted;

    // Kat dev stuff
    enum Switch { STOP, WHITELIST, PUBLIC, BURN }
    Switch public phase;
    constructor() ERC721("KatWalkerz", "KW") { }


    // Mint, burn and airdrop functions

    function privateMint(uint256 combination, uint256 freeMints, bytes32[] calldata purr) external payable {
        require(phase == Switch.WHITELIST, "Whitelist not started");
        require(maxKatWalkerz > totalSupply, "sold out");
        require(combination >= 0 && combination <= 99999, "invalid combination");
        require(_katlist(_verify(msg.sender, freeMints), purr), "not in list");
        require(claimed[msg.sender] < freeMints, "no mints left");
        require(!_exists(combination), "try another");
        _mint(msg.sender, combination);
        totalSupply += 1;
        claimed[msg.sender] += 1;
    }

    function publicMint(uint256 combination) external payable {
        require(phase == Switch.PUBLIC, "public sale not started");
        require(maxKatWalkerz > totalSupply, "sold out");
        require(combination >= 0 && combination <= 99999, "invalid combination");
        require(minted[msg.sender] < maxPerWallet, "max minted");
        require(!_exists(combination), "try another");
        _mint(msg.sender, combination);
        totalSupply += 1;
        minted[msg.sender] += 1;
    }

    function katdrop(address to, uint256 amount) external onlyOwner {
        require(amount <= 10, "not allowed");
        require(amount + totalSupply <= maxKatWalkerz, "supply n/a");
        for (uint256 i; i < amount; i++) {
            bytes32 rand = keccak256(abi.encodePacked(block.timestamp, block.difficulty, i));
            uint256 kitty = uint256(uint256(rand) % 100000);
            require(!_exists(kitty));
            _mint(to, kitty);
        }
        totalSupply += amount;
    }

    function burn(uint256[] memory tokenIds) external payable {
        require(phase == Switch.BURN, "burning not started");
        IKatMonstarzReward rewardContract = IKatMonstarzReward(kwRewards);
        for (uint256 i; i < tokenIds.length; i++) {
            uint256 tokenId = tokenIds[i];
            require(ownerOf(tokenId) == msg.sender, "you can't burn this");
            _burn(tokenId);
            rewardContract.getReward(msg.sender);
        }
    }

    // Custom KatWalkerz functions to manage and configure

    function startWhitelist() public onlyOwner {
        phase = Switch.WHITELIST;
    }

    function startPublic() public onlyOwner {
        phase = Switch.PUBLIC;
    }

    function startBurn() public onlyOwner {
        phase = Switch.BURN;
    }

    function meow() public onlyOwner {
        phase = Switch.STOP;
    }

    function setKatlist(bytes32 _root) public onlyOwner {
        katlist = _root;
    }

    function setPayments(address _vault, uint96 _royaltyBps) external onlyOwner {
        vault = _vault;
        royaltyBps = _royaltyBps;
    }

    function setReward(address _rewardAddr) external onlyOwner {
        kwRewards = _rewardAddr;
    }

    function setMetadata(string memory _server) public onlyOwner {
        kwServer = _server;
    }

    function saleConfig(uint256 newSupply, uint256 newMaxMints) public onlyOwner {
        maxKatWalkerz = newSupply;
        maxPerWallet = newMaxMints;
    }

    function wagmi() public onlyOwner nonReentrant {
        (bool moon, ) = payable(vault).call{value: address(this).balance}("");
        require(moon);
    }

    function kwAvailability(uint256 tokenId) public view returns (bool) {
        return !_exists(tokenId);
    }

    // Standard contract functions for marketplaces and dapps

    function transferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator {
        super.transferFrom(from, to, tokenId);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator {
        super.safeTransferFrom(from, to, tokenId);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data)
        public
        override
        onlyAllowedOperator
    {
        super.safeTransferFrom(from, to, tokenId, data);
    }

    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view returns (address receiver, uint256 royaltyAmount) {
        require(_exists(_tokenId), "Nonexistent token");
        return (vault, (_salePrice * royaltyBps) / 10000);
    }

    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721) returns (bool) {
        if (interfaceId == IERC2981) {
            return true;
        }
        return super.supportsInterface(interfaceId);
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "Nonexistent token");

        // Special trait based on your KW balance
        uint256 evolve;
        address holder = ownerOf(tokenId);
        uint256 balance = balanceOf(holder);
        if (balance == 1) { evolve = 0; }
        else if (balance == 2) { evolve = 1; }
        else if (balance == 3) { evolve = 2; }
        else if (balance > 3 && balance < 8) { evolve = 3; }
        else if (balance > 7 && balance < 12) { evolve = 4; }
        else if (balance >= 12) { evolve = 5; }
        
        string memory combinationNo = _kitty(tokenId);
        
        return string(abi.encodePacked(kwServer, combinationNo, (evolve).toString()));
    }

    // Custom internal functions for contract

    function _kitty(uint256 tokenId) internal pure returns (string memory) {
        uint256[5] memory layers;
        for (uint256 i = 0; i < 5; i++) {
            layers[4 - i] = tokenId % 10;
            tokenId /= 10;
        }
        return string(abi.encodePacked(
            (layers[0]).toString(), (layers[1]).toString(), (layers[2]).toString(), (layers[3]).toString(), (layers[4]).toString()
        ));
    }

    function _verify(address account, uint256 freeMints) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked(account, freeMints));
    }

    function _katlist(bytes32 kat_, bytes32[] memory purr) internal view returns (bool) {
        return MerkleProof.verify(purr, katlist, kat_);
    }

}

interface IKatMonstarzReward {
    function getReward(address _address) external;
}

File 2 of 18 : DefaultOperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {OperatorFilterer} from "./OperatorFilterer.sol";

contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}

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

pragma solidity ^0.8.0;

/**
 * @dev Provides a set of functions to operate with Base64 strings.
 *
 * _Available since v4.5._
 */
library Base64 {
    /**
     * @dev Base64 Encoding/Decoding Table
     */
    string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /**
     * @dev Converts a `bytes` to its Bytes64 `string` representation.
     */
    function encode(bytes memory data) internal pure returns (string memory) {
        /**
         * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence
         * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol
         */
        if (data.length == 0) return "";

        // Loads the table into memory
        string memory table = _TABLE;

        // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter
        // and split into 4 numbers of 6 bits.
        // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up
        // - `data.length + 2`  -> Round up
        // - `/ 3`              -> Number of 3-bytes chunks
        // - `4 *`              -> 4 characters for each chunk
        string memory result = new string(4 * ((data.length + 2) / 3));

        /// @solidity memory-safe-assembly
        assembly {
            // Prepare the lookup table (skip the first "length" byte)
            let tablePtr := add(table, 1)

            // Prepare result pointer, jump over length
            let resultPtr := add(result, 32)

            // Run over the input, 3 bytes at a time
            for {
                let dataPtr := data
                let endPtr := add(data, mload(data))
            } lt(dataPtr, endPtr) {

            } {
                // Advance 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // To write each character, shift the 3 bytes (18 bits) chunk
                // 4 times in blocks of 6 bits for each character (18, 12, 6, 0)
                // and apply logical AND with 0x3F which is the number of
                // the previous character in the ASCII table prior to the Base64 Table
                // The result is then added to the table to get the character to write,
                // and finally write it in the result pointer but with a left shift
                // of 256 (1 byte) - 8 (1 ASCII char) = 248 bits

                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance
            }

            // When data `bytes` is not exactly 3 bytes long
            // it is padded with `=` characters at the end
            switch mod(mload(data), 3)
            case 1 {
                mstore8(sub(resultPtr, 1), 0x3d)
                mstore8(sub(resultPtr, 2), 0x3d)
            }
            case 2 {
                mstore8(sub(resultPtr, 1), 0x3d)
            }
        }

        return result;
    }
}

File 5 of 18 : 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 6 of 18 : 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 7 of 18 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 8 of 18 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);

        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 overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

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

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

        _afterTokenTransfer(address(0), to, tokenId);
    }

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

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

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

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

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

        _afterTokenTransfer(owner, address(0), tokenId);
    }

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

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

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

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 9 of 18 : OperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";

contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry constant operatorFilterRegistry =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(operatorFilterRegistry).code.length > 0) {
            if (subscribe) {
                operatorFilterRegistry.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    operatorFilterRegistry.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    operatorFilterRegistry.register(address(this));
                }
            }
        }
    }

    modifier onlyAllowedOperator() virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(operatorFilterRegistry).code.length > 0) {
            if (!operatorFilterRegistry.isOperatorAllowed(address(this), msg.sender)) {
                revert OperatorNotAllowed(msg.sender);
            }
        }
        _;
    }
}

File 10 of 18 : 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 11 of 18 : 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 12 of 18 : 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 13 of 18 : 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 14 of 18 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 16 of 18 : IOperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {EnumerableSet} from "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external returns (bool);
    function register(address registrant) external;
    function registerAndSubscribe(address registrant, address subscription) external;
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;
    function updateOperator(address registrant, address operator, bool filtered) external;
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
    function subscribe(address registrant, address registrantToSubscribe) external;
    function unsubscribe(address registrant, bool copyExistingEntries) external;
    function subscriptionOf(address addr) external returns (address registrant);
    function subscribers(address registrant) external returns (address[] memory);
    function subscriberAt(address registrant, uint256 index) external returns (address);
    function copyEntriesOf(address registrant, address registrantToCopy) external;
    function isOperatorFiltered(address registrant, address operator) external returns (bool);
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
    function filteredOperators(address addr) external returns (address[] memory);
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
    function isRegistered(address addr) external returns (bool);
    function codeHashOf(address addr) external returns (bytes32);
}

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

pragma solidity ^0.8.0;

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

File 18 of 18 : EnumerableSet.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableSet.sol)
// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 *
 * [WARNING]
 * ====
 * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure
 * unusable.
 * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
 *
 * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an
 * array of EnumerableSet.
 * ====
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastValue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastValue;
                // Update the index for the moved value
                set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        bytes32[] memory store = _values(set._inner);
        bytes32[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","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":[{"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":"tokenIds","type":"uint256[]"}],"name":"burn","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","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":"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":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"katdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"kwAvailability","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxKatWalkerz","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"meow","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"phase","outputs":[{"internalType":"enum KatWalkerz.Switch","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"combination","type":"uint256"},{"internalType":"uint256","name":"freeMints","type":"uint256"},{"internalType":"bytes32[]","name":"purr","type":"bytes32[]"}],"name":"privateMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"combination","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSupply","type":"uint256"},{"internalType":"uint256","name":"newMaxMints","type":"uint256"}],"name":"saleConfig","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":"bytes32","name":"_root","type":"bytes32"}],"name":"setKatlist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_server","type":"string"}],"name":"setMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_vault","type":"address"},{"internalType":"uint96","name":"_royaltyBps","type":"uint96"}],"name":"setPayments","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_rewardAddr","type":"address"}],"name":"setReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"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":[],"name":"wagmi","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600d80546001600160a01b031661018160a11b1790553480156200002757600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600a81526020016925b0ba2bb0b635b2b93d60b11b815250604051806040016040528060028152602001614b5760f01b81525081600090816200008e9190620002f4565b5060016200009d8282620002f4565b5050600160065550620000b033620001fd565b6daaeb6d7670e522a718067333cd4e3b15620001f55780156200014357604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200012457600080fd5b505af115801562000139573d6000803e3d6000fd5b50505050620001f5565b6001600160a01b03821615620001945760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000109565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620001db57600080fd5b505af1158015620001f0573d6000803e3d6000fd5b505050505b5050620003c0565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200027a57607f821691505b6020821081036200029b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002ef57600081815260208120601f850160051c81016020861015620002ca5750805b601f850160051c820191505b81811015620002eb57828155600101620002d6565b5050505b505050565b81516001600160401b038111156200031057620003106200024f565b620003288162000321845462000265565b84620002a1565b602080601f831160018114620003605760008415620003475750858301515b600019600386901b1c1916600185901b178555620002eb565b600085815260208120601f198616915b82811015620003915788860151825594840194600190910190840162000370565b5085821015620003b05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b612cdc80620003d06000396000f3fe6080604052600436106102255760003560e01c806395d89b4111610123578063c11442f8116100ab578063e5932c401161006f578063e5932c4014610640578063e960662b14610660578063e985e9c514610675578063f2fde38b146106be578063fa586cc4146106de57600080fd5b8063c11442f8146105b4578063c5a56599146105c9578063c87b56dd146105de578063c884ef83146105fe578063d75357061461062b57600080fd5b8063b1721a1e116100f2578063b1721a1e14610527578063b1c9fe6e1461053a578063b80f55c914610561578063b88d4fde14610574578063ba5c2cc91461059457600080fd5b806395d89b41146104b2578063a22cb465146104c7578063a49a1e7d146104e7578063a95a02281461050757600080fd5b806323b872dd116101b15780636352211e116101755780636352211e1461042a57806370a082311461044a578063715018a61461046a5780637f19c4121461047f5780638da5cb5b1461049457600080fd5b806323b872dd146103825780632a55205a146103a25780632db11544146103e157806342842e0e146103f4578063453c23101461041457600080fd5b8063095ea7b3116101f8578063095ea7b3146102dd57806310aa21f8146102ff5780631485ce681461031f57806318160ddd1461033f5780631e7269c51461035557600080fd5b806301ffc9a71461022a57806303818c5b1461025f57806306fdde0314610283578063081812fc146102a5575b600080fd5b34801561023657600080fd5b5061024a610245366004612360565b6106fe565b60405190151581526020015b60405180910390f35b34801561026b57600080fd5b5061027560085481565b604051908152602001610256565b34801561028f57600080fd5b5061029861072f565b60405161025691906123d5565b3480156102b157600080fd5b506102c56102c03660046123e8565b6107c1565b6040516001600160a01b039091168152602001610256565b3480156102e957600080fd5b506102fd6102f836600461241d565b6107e8565b005b34801561030b57600080fd5b506102fd61031a366004612447565b610902565b34801561032b57600080fd5b5061024a61033a3660046123e8565b61094c565b34801561034b57600080fd5b50610275600a5481565b34801561036157600080fd5b5061027561037036600461248a565b60106020526000908152604090205481565b34801561038e57600080fd5b506102fd61039d3660046124a5565b61095e565b3480156103ae57600080fd5b506103c26103bd3660046124e1565b610a12565b604080516001600160a01b039093168352602083019190915201610256565b6102fd6103ef3660046123e8565b610a9f565b34801561040057600080fd5b506102fd61040f3660046124a5565b610c67565b34801561042057600080fd5b5061027560095481565b34801561043657600080fd5b506102c56104453660046123e8565b610d1b565b34801561045657600080fd5b5061027561046536600461248a565b610d7b565b34801561047657600080fd5b506102fd610e01565b34801561048b57600080fd5b506102fd610e37565b3480156104a057600080fd5b506007546001600160a01b03166102c5565b3480156104be57600080fd5b50610298610e77565b3480156104d357600080fd5b506102fd6104e2366004612511565b610e86565b3480156104f357600080fd5b506102fd6105023660046125dc565b610e95565b34801561051357600080fd5b506102fd61052236600461241d565b610ecb565b6102fd610535366004612625565b61101b565b34801561054657600080fd5b506011546105549060ff1681565b60405161025691906126be565b6102fd61056f3660046126e6565b611295565b34801561058057600080fd5b506102fd61058f36600461278c565b6113fc565b3480156105a057600080fd5b506102fd6105af3660046123e8565b6114b7565b3480156105c057600080fd5b506102fd6114e6565b3480156105d557600080fd5b506102fd611524565b3480156105ea57600080fd5b506102986105f93660046123e8565b611562565b34801561060a57600080fd5b5061027561061936600461248a565b600f6020526000908152604090205481565b34801561063757600080fd5b506102fd611689565b34801561064c57600080fd5b506102fd61065b36600461248a565b611772565b34801561066c57600080fd5b506102fd6117be565b34801561068157600080fd5b5061024a610690366004612808565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156106ca57600080fd5b506102fd6106d936600461248a565b6117fc565b3480156106ea57600080fd5b506102fd6106f93660046124e1565b611897565b6000636ad56fd360e11b6001600160e01b031983160161072057506001919050565b610729826118cc565b92915050565b60606000805461073e9061283b565b80601f016020809104026020016040519081016040528092919081815260200182805461076a9061283b565b80156107b75780601f1061078c576101008083540402835291602001916107b7565b820191906000526020600020905b81548152906001019060200180831161079a57829003601f168201915b5050505050905090565b60006107cc8261191c565b506000908152600460205260409020546001600160a01b031690565b60006107f382610d1b565b9050806001600160a01b0316836001600160a01b0316036108655760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061088157506108818133610690565b6108f35760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000606482015260840161085c565b6108fd838361196c565b505050565b6007546001600160a01b0316331461092c5760405162461bcd60e51b815260040161085c90612875565b6001600160601b0316600160a01b026001600160a01b0390911617600d55565b6000610957826119da565b1592915050565b6daaeb6d7670e522a718067333cd4e3b15610a0757604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af11580156109c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e891906128aa565b610a0757604051633b79c77360e21b815233600482015260240161085c565b6108fd8383836119f7565b600080610a1e846119da565b610a5e5760405162461bcd60e51b81526020600482015260116024820152702737b732bc34b9ba32b73a103a37b5b2b760791b604482015260640161085c565b600d546001600160a01b0381169061271090610a8a90600160a01b90046001600160601b0316866128dd565b610a949190612912565b915091509250929050565b600260115460ff166003811115610ab857610ab86126a8565b14610b055760405162461bcd60e51b815260206004820152601760248201527f7075626c69632073616c65206e6f742073746172746564000000000000000000604482015260640161085c565b600a5460085411610b435760405162461bcd60e51b81526020600482015260086024820152671cdbdb19081bdd5d60c21b604482015260640161085c565b6201869f811115610b8c5760405162461bcd60e51b815260206004820152601360248201527234b73b30b634b21031b7b6b134b730ba34b7b760691b604482015260640161085c565b6009543360009081526010602052604090205410610bd95760405162461bcd60e51b815260206004820152600a6024820152691b585e081b5a5b9d195960b21b604482015260640161085c565b610be2816119da565b15610c1d5760405162461bcd60e51b815260206004820152600b60248201526a3a393c9030b737ba3432b960a91b604482015260640161085c565b610c273382611a28565b6001600a6000828254610c3a9190612926565b9091555050336000908152601060205260408120805460019290610c5f908490612926565b909155505050565b6daaeb6d7670e522a718067333cd4e3b15610d1057604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af1158015610ccd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cf191906128aa565b610d1057604051633b79c77360e21b815233600482015260240161085c565b6108fd838383611b5b565b6000818152600260205260408120546001600160a01b0316806107295760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161085c565b60006001600160a01b038216610de55760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b606482015260840161085c565b506001600160a01b031660009081526003602052604090205490565b6007546001600160a01b03163314610e2b5760405162461bcd60e51b815260040161085c90612875565b610e356000611b76565b565b6007546001600160a01b03163314610e615760405162461bcd60e51b815260040161085c90612875565b601180546001919060ff191682805b0217905550565b60606001805461073e9061283b565b610e91338383611bc8565b5050565b6007546001600160a01b03163314610ebf5760405162461bcd60e51b815260040161085c90612875565b600b610e91828261298c565b6007546001600160a01b03163314610ef55760405162461bcd60e51b815260040161085c90612875565b600a811115610f345760405162461bcd60e51b815260206004820152600b60248201526a1b9bdd08185b1b1bddd95960aa1b604482015260640161085c565b600854600a54610f449083612926565b1115610f7f5760405162461bcd60e51b815260206004820152600a602482015269737570706c79206e2f6160b01b604482015260640161085c565b60005b81811015610fff5760408051426020808301919091524482840152606080830185905283518084039091018152608090920190925280519101206000610fcb620186a083612a4c565b9050610fd6816119da565b15610fe057600080fd5b610fea8582611a28565b50508080610ff790612a60565b915050610f82565b5080600a60008282546110129190612926565b90915550505050565b600160115460ff166003811115611034576110346126a8565b146110795760405162461bcd60e51b815260206004820152601560248201527415da1a5d195b1a5cdd081b9bdd081cdd185c9d1959605a1b604482015260640161085c565b600a54600854116110b75760405162461bcd60e51b81526020600482015260086024820152671cdbdb19081bdd5d60c21b604482015260640161085c565b6201869f8411156111005760405162461bcd60e51b815260206004820152601360248201527234b73b30b634b21031b7b6b134b730ba34b7b760691b604482015260640161085c565b604080513360601b6bffffffffffffffffffffffff19166020808301919091526034808301879052835180840390910181526054909201909252805191012061117c90838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250611c9692505050565b6111b65760405162461bcd60e51b815260206004820152600b60248201526a1b9bdd081a5b881b1a5cdd60aa1b604482015260640161085c565b336000908152600f602052604090205483116112045760405162461bcd60e51b815260206004820152600d60248201526c1b9bc81b5a5b9d1cc81b19599d609a1b604482015260640161085c565b61120d846119da565b156112485760405162461bcd60e51b815260206004820152600b60248201526a3a393c9030b737ba3432b960a91b604482015260640161085c565b6112523385611a28565b6001600a60008282546112659190612926565b9091555050336000908152600f6020526040812080546001929061128a908490612926565b909155505050505050565b600360115460ff1660038111156112ae576112ae6126a8565b146112f15760405162461bcd60e51b8152602060048201526013602482015272189d5c9b9a5b99c81b9bdd081cdd185c9d1959606a1b604482015260640161085c565b600c546001600160a01b031660005b82518110156108fd57600083828151811061131d5761131d612a79565b60200260200101519050336001600160a01b031661133a82610d1b565b6001600160a01b0316146113865760405162461bcd60e51b8152602060048201526013602482015272796f752063616e2774206275726e207468697360681b604482015260640161085c565b61138f81611cac565b604051630c00007b60e41b81523360048201526001600160a01b0384169063c00007b090602401600060405180830381600087803b1580156113d057600080fd5b505af11580156113e4573d6000803e3d6000fd5b505050505080806113f490612a60565b915050611300565b6daaeb6d7670e522a718067333cd4e3b156114a557604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af1158015611462573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148691906128aa565b6114a557604051633b79c77360e21b815233600482015260240161085c565b6114b184848484611d47565b50505050565b6007546001600160a01b031633146114e15760405162461bcd60e51b815260040161085c90612875565b600e55565b6007546001600160a01b031633146115105760405162461bcd60e51b815260040161085c90612875565b601180546002919060ff1916600183610e70565b6007546001600160a01b0316331461154e5760405162461bcd60e51b815260040161085c90612875565b601180546000919060ff1916600183610e70565b606061156d826119da565b6115ad5760405162461bcd60e51b81526020600482015260116024820152702737b732bc34b9ba32b73a103a37b5b2b760791b604482015260640161085c565b6000806115b984610d1b565b905060006115c682610d7b565b9050806001036115d95760009250611644565b806002036115ea5760019250611644565b806003036115fb5760029250611644565b60038111801561160b5750600881105b156116195760039250611644565b6007811180156116295750600c81105b156116375760049250611644565b600c811061164457600592505b600061164f86611d79565b9050600b8161165d86611e43565b60405160200161166f93929190612a8f565b604051602081830303815290604052945050505050919050565b6007546001600160a01b031633146116b35760405162461bcd60e51b815260040161085c90612875565b6002600654036117055760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161085c565b6002600655600d546040516000916001600160a01b03169047908381818185875af1925050503d8060008114611757576040519150601f19603f3d011682016040523d82523d6000602084013e61175c565b606091505b505090508061176a57600080fd5b506001600655565b6007546001600160a01b0316331461179c5760405162461bcd60e51b815260040161085c90612875565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6007546001600160a01b031633146117e85760405162461bcd60e51b815260040161085c90612875565b601180546003919060ff1916600183610e70565b6007546001600160a01b031633146118265760405162461bcd60e51b815260040161085c90612875565b6001600160a01b03811661188b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161085c565b61189481611b76565b50565b6007546001600160a01b031633146118c15760405162461bcd60e51b815260040161085c90612875565b600891909155600955565b60006001600160e01b031982166380ac58cd60e01b14806118fd57506001600160e01b03198216635b5e139f60e01b145b8061072957506301ffc9a760e01b6001600160e01b0319831614610729565b611925816119da565b6118945760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161085c565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906119a182610d1b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000908152600260205260409020546001600160a01b0316151590565b611a013382611f4c565b611a1d5760405162461bcd60e51b815260040161085c90612b2a565b6108fd838383611fca565b6001600160a01b038216611a7e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161085c565b611a87816119da565b15611ad45760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161085c565b6001600160a01b0382166000908152600360205260408120805460019290611afd908490612926565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6108fd838383604051806020016040528060008152506113fc565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031603611c295760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161085c565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6000611ca582600e5485612166565b9392505050565b6000611cb782610d1b565b9050611cc460008361196c565b6001600160a01b0381166000908152600360205260408120805460019290611ced908490612b78565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b611d513383611f4c565b611d6d5760405162461bcd60e51b815260040161085c90612b2a565b6114b18484848461217c565b6060611d8361232c565b60005b6005811015611dda57611d9a600a85612a4c565b82611da6836004612b78565b60058110611db657611db6612a79565b6020020152611dc6600a85612912565b935080611dd281612a60565b915050611d86565b50611dec8160005b6020020151611e43565b611df7826001611de2565b611e02836002611de2565b611e0d846003611de2565b611e18856004611de2565b604051602001611e2c959493929190612b8f565b604051602081830303815290604052915050919050565b606081600003611e6a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611e945780611e7e81612a60565b9150611e8d9050600a83612912565b9150611e6e565b60008167ffffffffffffffff811115611eaf57611eaf61253d565b6040519080825280601f01601f191660200182016040528015611ed9576020820181803683370190505b5090505b8415611f4457611eee600183612b78565b9150611efb600a86612a4c565b611f06906030612926565b60f81b818381518110611f1b57611f1b612a79565b60200101906001600160f81b031916908160001a905350611f3d600a86612912565b9450611edd565b949350505050565b600080611f5883610d1b565b9050806001600160a01b0316846001600160a01b03161480611f9f57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80611f445750836001600160a01b0316611fb8846107c1565b6001600160a01b031614949350505050565b826001600160a01b0316611fdd82610d1b565b6001600160a01b0316146120415760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161085c565b6001600160a01b0382166120a35760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161085c565b6120ae60008261196c565b6001600160a01b03831660009081526003602052604081208054600192906120d7908490612b78565b90915550506001600160a01b0382166000908152600360205260408120805460019290612105908490612926565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60008261217385846121af565b14949350505050565b612187848484611fca565b612193848484846121fc565b6114b15760405162461bcd60e51b815260040161085c90612bfa565b600081815b84518110156121f4576121e0828683815181106121d3576121d3612a79565b60200260200101516122fd565b9150806121ec81612a60565b9150506121b4565b509392505050565b60006001600160a01b0384163b156122f257604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612240903390899088908890600401612c4c565b6020604051808303816000875af192505050801561227b575060408051601f3d908101601f1916820190925261227891810190612c89565b60015b6122d8573d8080156122a9576040519150601f19603f3d011682016040523d82523d6000602084013e6122ae565b606091505b5080516000036122d05760405162461bcd60e51b815260040161085c90612bfa565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611f44565b506001949350505050565b6000818310612319576000828152602084905260409020611ca5565b6000838152602083905260409020611ca5565b6040518060a001604052806005906020820280368337509192915050565b6001600160e01b03198116811461189457600080fd5b60006020828403121561237257600080fd5b8135611ca58161234a565b60005b83811015612398578181015183820152602001612380565b838111156114b15750506000910152565b600081518084526123c181602086016020860161237d565b601f01601f19169290920160200192915050565b602081526000611ca560208301846123a9565b6000602082840312156123fa57600080fd5b5035919050565b80356001600160a01b038116811461241857600080fd5b919050565b6000806040838503121561243057600080fd5b61243983612401565b946020939093013593505050565b6000806040838503121561245a57600080fd5b61246383612401565b915060208301356001600160601b038116811461247f57600080fd5b809150509250929050565b60006020828403121561249c57600080fd5b611ca582612401565b6000806000606084860312156124ba57600080fd5b6124c384612401565b92506124d160208501612401565b9150604084013590509250925092565b600080604083850312156124f457600080fd5b50508035926020909101359150565b801515811461189457600080fd5b6000806040838503121561252457600080fd5b61252d83612401565b9150602083013561247f81612503565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561257c5761257c61253d565b604052919050565b600067ffffffffffffffff83111561259e5761259e61253d565b6125b1601f8401601f1916602001612553565b90508281528383830111156125c557600080fd5b828260208301376000602084830101529392505050565b6000602082840312156125ee57600080fd5b813567ffffffffffffffff81111561260557600080fd5b8201601f8101841361261657600080fd5b611f4484823560208401612584565b6000806000806060858703121561263b57600080fd5b8435935060208501359250604085013567ffffffffffffffff8082111561266157600080fd5b818701915087601f83011261267557600080fd5b81358181111561268457600080fd5b8860208260051b850101111561269957600080fd5b95989497505060200194505050565b634e487b7160e01b600052602160045260246000fd5b60208101600483106126e057634e487b7160e01b600052602160045260246000fd5b91905290565b600060208083850312156126f957600080fd5b823567ffffffffffffffff8082111561271157600080fd5b818501915085601f83011261272557600080fd5b8135818111156127375761273761253d565b8060051b9150612748848301612553565b818152918301840191848101908884111561276257600080fd5b938501935b8385101561278057843582529385019390850190612767565b98975050505050505050565b600080600080608085870312156127a257600080fd5b6127ab85612401565b93506127b960208601612401565b925060408501359150606085013567ffffffffffffffff8111156127dc57600080fd5b8501601f810187136127ed57600080fd5b6127fc87823560208401612584565b91505092959194509250565b6000806040838503121561281b57600080fd5b61282483612401565b915061283260208401612401565b90509250929050565b600181811c9082168061284f57607f821691505b60208210810361286f57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000602082840312156128bc57600080fd5b8151611ca581612503565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156128f7576128f76128c7565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612921576129216128fc565b500490565b60008219821115612939576129396128c7565b500190565b601f8211156108fd57600081815260208120601f850160051c810160208610156129655750805b601f850160051c820191505b8181101561298457828155600101612971565b505050505050565b815167ffffffffffffffff8111156129a6576129a661253d565b6129ba816129b4845461283b565b8461293e565b602080601f8311600181146129ef57600084156129d75750858301515b600019600386901b1c1916600185901b178555612984565b600085815260208120601f198616915b82811015612a1e578886015182559484019460019091019084016129ff565b5085821015612a3c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082612a5b57612a5b6128fc565b500690565b600060018201612a7257612a726128c7565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6000808554612a9d8161283b565b60018281168015612ab55760018114612aca57612af9565b60ff1984168752821515830287019450612af9565b8960005260208060002060005b85811015612af05781548a820152908401908201612ad7565b50505082870194505b505050508451612b0d81836020890161237d565b8451910190612b2081836020880161237d565b0195945050505050565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b600082821015612b8a57612b8a6128c7565b500390565b60008651612ba1818460208b0161237d565b865190830190612bb5818360208b0161237d565b8651910190612bc8818360208a0161237d565b8551910190612bdb81836020890161237d565b8451910190612bee81836020880161237d565b01979650505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c7f908301846123a9565b9695505050505050565b600060208284031215612c9b57600080fd5b8151611ca58161234a56fea264697066735822122004370c1a68d582cd11b951c07b27418877c07e3b14ed028fe80d3d31c955f7bf64736f6c634300080f0033

Deployed Bytecode

0x6080604052600436106102255760003560e01c806395d89b4111610123578063c11442f8116100ab578063e5932c401161006f578063e5932c4014610640578063e960662b14610660578063e985e9c514610675578063f2fde38b146106be578063fa586cc4146106de57600080fd5b8063c11442f8146105b4578063c5a56599146105c9578063c87b56dd146105de578063c884ef83146105fe578063d75357061461062b57600080fd5b8063b1721a1e116100f2578063b1721a1e14610527578063b1c9fe6e1461053a578063b80f55c914610561578063b88d4fde14610574578063ba5c2cc91461059457600080fd5b806395d89b41146104b2578063a22cb465146104c7578063a49a1e7d146104e7578063a95a02281461050757600080fd5b806323b872dd116101b15780636352211e116101755780636352211e1461042a57806370a082311461044a578063715018a61461046a5780637f19c4121461047f5780638da5cb5b1461049457600080fd5b806323b872dd146103825780632a55205a146103a25780632db11544146103e157806342842e0e146103f4578063453c23101461041457600080fd5b8063095ea7b3116101f8578063095ea7b3146102dd57806310aa21f8146102ff5780631485ce681461031f57806318160ddd1461033f5780631e7269c51461035557600080fd5b806301ffc9a71461022a57806303818c5b1461025f57806306fdde0314610283578063081812fc146102a5575b600080fd5b34801561023657600080fd5b5061024a610245366004612360565b6106fe565b60405190151581526020015b60405180910390f35b34801561026b57600080fd5b5061027560085481565b604051908152602001610256565b34801561028f57600080fd5b5061029861072f565b60405161025691906123d5565b3480156102b157600080fd5b506102c56102c03660046123e8565b6107c1565b6040516001600160a01b039091168152602001610256565b3480156102e957600080fd5b506102fd6102f836600461241d565b6107e8565b005b34801561030b57600080fd5b506102fd61031a366004612447565b610902565b34801561032b57600080fd5b5061024a61033a3660046123e8565b61094c565b34801561034b57600080fd5b50610275600a5481565b34801561036157600080fd5b5061027561037036600461248a565b60106020526000908152604090205481565b34801561038e57600080fd5b506102fd61039d3660046124a5565b61095e565b3480156103ae57600080fd5b506103c26103bd3660046124e1565b610a12565b604080516001600160a01b039093168352602083019190915201610256565b6102fd6103ef3660046123e8565b610a9f565b34801561040057600080fd5b506102fd61040f3660046124a5565b610c67565b34801561042057600080fd5b5061027560095481565b34801561043657600080fd5b506102c56104453660046123e8565b610d1b565b34801561045657600080fd5b5061027561046536600461248a565b610d7b565b34801561047657600080fd5b506102fd610e01565b34801561048b57600080fd5b506102fd610e37565b3480156104a057600080fd5b506007546001600160a01b03166102c5565b3480156104be57600080fd5b50610298610e77565b3480156104d357600080fd5b506102fd6104e2366004612511565b610e86565b3480156104f357600080fd5b506102fd6105023660046125dc565b610e95565b34801561051357600080fd5b506102fd61052236600461241d565b610ecb565b6102fd610535366004612625565b61101b565b34801561054657600080fd5b506011546105549060ff1681565b60405161025691906126be565b6102fd61056f3660046126e6565b611295565b34801561058057600080fd5b506102fd61058f36600461278c565b6113fc565b3480156105a057600080fd5b506102fd6105af3660046123e8565b6114b7565b3480156105c057600080fd5b506102fd6114e6565b3480156105d557600080fd5b506102fd611524565b3480156105ea57600080fd5b506102986105f93660046123e8565b611562565b34801561060a57600080fd5b5061027561061936600461248a565b600f6020526000908152604090205481565b34801561063757600080fd5b506102fd611689565b34801561064c57600080fd5b506102fd61065b36600461248a565b611772565b34801561066c57600080fd5b506102fd6117be565b34801561068157600080fd5b5061024a610690366004612808565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156106ca57600080fd5b506102fd6106d936600461248a565b6117fc565b3480156106ea57600080fd5b506102fd6106f93660046124e1565b611897565b6000636ad56fd360e11b6001600160e01b031983160161072057506001919050565b610729826118cc565b92915050565b60606000805461073e9061283b565b80601f016020809104026020016040519081016040528092919081815260200182805461076a9061283b565b80156107b75780601f1061078c576101008083540402835291602001916107b7565b820191906000526020600020905b81548152906001019060200180831161079a57829003601f168201915b5050505050905090565b60006107cc8261191c565b506000908152600460205260409020546001600160a01b031690565b60006107f382610d1b565b9050806001600160a01b0316836001600160a01b0316036108655760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061088157506108818133610690565b6108f35760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000606482015260840161085c565b6108fd838361196c565b505050565b6007546001600160a01b0316331461092c5760405162461bcd60e51b815260040161085c90612875565b6001600160601b0316600160a01b026001600160a01b0390911617600d55565b6000610957826119da565b1592915050565b6daaeb6d7670e522a718067333cd4e3b15610a0757604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af11580156109c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e891906128aa565b610a0757604051633b79c77360e21b815233600482015260240161085c565b6108fd8383836119f7565b600080610a1e846119da565b610a5e5760405162461bcd60e51b81526020600482015260116024820152702737b732bc34b9ba32b73a103a37b5b2b760791b604482015260640161085c565b600d546001600160a01b0381169061271090610a8a90600160a01b90046001600160601b0316866128dd565b610a949190612912565b915091509250929050565b600260115460ff166003811115610ab857610ab86126a8565b14610b055760405162461bcd60e51b815260206004820152601760248201527f7075626c69632073616c65206e6f742073746172746564000000000000000000604482015260640161085c565b600a5460085411610b435760405162461bcd60e51b81526020600482015260086024820152671cdbdb19081bdd5d60c21b604482015260640161085c565b6201869f811115610b8c5760405162461bcd60e51b815260206004820152601360248201527234b73b30b634b21031b7b6b134b730ba34b7b760691b604482015260640161085c565b6009543360009081526010602052604090205410610bd95760405162461bcd60e51b815260206004820152600a6024820152691b585e081b5a5b9d195960b21b604482015260640161085c565b610be2816119da565b15610c1d5760405162461bcd60e51b815260206004820152600b60248201526a3a393c9030b737ba3432b960a91b604482015260640161085c565b610c273382611a28565b6001600a6000828254610c3a9190612926565b9091555050336000908152601060205260408120805460019290610c5f908490612926565b909155505050565b6daaeb6d7670e522a718067333cd4e3b15610d1057604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af1158015610ccd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cf191906128aa565b610d1057604051633b79c77360e21b815233600482015260240161085c565b6108fd838383611b5b565b6000818152600260205260408120546001600160a01b0316806107295760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161085c565b60006001600160a01b038216610de55760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b606482015260840161085c565b506001600160a01b031660009081526003602052604090205490565b6007546001600160a01b03163314610e2b5760405162461bcd60e51b815260040161085c90612875565b610e356000611b76565b565b6007546001600160a01b03163314610e615760405162461bcd60e51b815260040161085c90612875565b601180546001919060ff191682805b0217905550565b60606001805461073e9061283b565b610e91338383611bc8565b5050565b6007546001600160a01b03163314610ebf5760405162461bcd60e51b815260040161085c90612875565b600b610e91828261298c565b6007546001600160a01b03163314610ef55760405162461bcd60e51b815260040161085c90612875565b600a811115610f345760405162461bcd60e51b815260206004820152600b60248201526a1b9bdd08185b1b1bddd95960aa1b604482015260640161085c565b600854600a54610f449083612926565b1115610f7f5760405162461bcd60e51b815260206004820152600a602482015269737570706c79206e2f6160b01b604482015260640161085c565b60005b81811015610fff5760408051426020808301919091524482840152606080830185905283518084039091018152608090920190925280519101206000610fcb620186a083612a4c565b9050610fd6816119da565b15610fe057600080fd5b610fea8582611a28565b50508080610ff790612a60565b915050610f82565b5080600a60008282546110129190612926565b90915550505050565b600160115460ff166003811115611034576110346126a8565b146110795760405162461bcd60e51b815260206004820152601560248201527415da1a5d195b1a5cdd081b9bdd081cdd185c9d1959605a1b604482015260640161085c565b600a54600854116110b75760405162461bcd60e51b81526020600482015260086024820152671cdbdb19081bdd5d60c21b604482015260640161085c565b6201869f8411156111005760405162461bcd60e51b815260206004820152601360248201527234b73b30b634b21031b7b6b134b730ba34b7b760691b604482015260640161085c565b604080513360601b6bffffffffffffffffffffffff19166020808301919091526034808301879052835180840390910181526054909201909252805191012061117c90838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250611c9692505050565b6111b65760405162461bcd60e51b815260206004820152600b60248201526a1b9bdd081a5b881b1a5cdd60aa1b604482015260640161085c565b336000908152600f602052604090205483116112045760405162461bcd60e51b815260206004820152600d60248201526c1b9bc81b5a5b9d1cc81b19599d609a1b604482015260640161085c565b61120d846119da565b156112485760405162461bcd60e51b815260206004820152600b60248201526a3a393c9030b737ba3432b960a91b604482015260640161085c565b6112523385611a28565b6001600a60008282546112659190612926565b9091555050336000908152600f6020526040812080546001929061128a908490612926565b909155505050505050565b600360115460ff1660038111156112ae576112ae6126a8565b146112f15760405162461bcd60e51b8152602060048201526013602482015272189d5c9b9a5b99c81b9bdd081cdd185c9d1959606a1b604482015260640161085c565b600c546001600160a01b031660005b82518110156108fd57600083828151811061131d5761131d612a79565b60200260200101519050336001600160a01b031661133a82610d1b565b6001600160a01b0316146113865760405162461bcd60e51b8152602060048201526013602482015272796f752063616e2774206275726e207468697360681b604482015260640161085c565b61138f81611cac565b604051630c00007b60e41b81523360048201526001600160a01b0384169063c00007b090602401600060405180830381600087803b1580156113d057600080fd5b505af11580156113e4573d6000803e3d6000fd5b505050505080806113f490612a60565b915050611300565b6daaeb6d7670e522a718067333cd4e3b156114a557604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af1158015611462573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148691906128aa565b6114a557604051633b79c77360e21b815233600482015260240161085c565b6114b184848484611d47565b50505050565b6007546001600160a01b031633146114e15760405162461bcd60e51b815260040161085c90612875565b600e55565b6007546001600160a01b031633146115105760405162461bcd60e51b815260040161085c90612875565b601180546002919060ff1916600183610e70565b6007546001600160a01b0316331461154e5760405162461bcd60e51b815260040161085c90612875565b601180546000919060ff1916600183610e70565b606061156d826119da565b6115ad5760405162461bcd60e51b81526020600482015260116024820152702737b732bc34b9ba32b73a103a37b5b2b760791b604482015260640161085c565b6000806115b984610d1b565b905060006115c682610d7b565b9050806001036115d95760009250611644565b806002036115ea5760019250611644565b806003036115fb5760029250611644565b60038111801561160b5750600881105b156116195760039250611644565b6007811180156116295750600c81105b156116375760049250611644565b600c811061164457600592505b600061164f86611d79565b9050600b8161165d86611e43565b60405160200161166f93929190612a8f565b604051602081830303815290604052945050505050919050565b6007546001600160a01b031633146116b35760405162461bcd60e51b815260040161085c90612875565b6002600654036117055760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161085c565b6002600655600d546040516000916001600160a01b03169047908381818185875af1925050503d8060008114611757576040519150601f19603f3d011682016040523d82523d6000602084013e61175c565b606091505b505090508061176a57600080fd5b506001600655565b6007546001600160a01b0316331461179c5760405162461bcd60e51b815260040161085c90612875565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6007546001600160a01b031633146117e85760405162461bcd60e51b815260040161085c90612875565b601180546003919060ff1916600183610e70565b6007546001600160a01b031633146118265760405162461bcd60e51b815260040161085c90612875565b6001600160a01b03811661188b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161085c565b61189481611b76565b50565b6007546001600160a01b031633146118c15760405162461bcd60e51b815260040161085c90612875565b600891909155600955565b60006001600160e01b031982166380ac58cd60e01b14806118fd57506001600160e01b03198216635b5e139f60e01b145b8061072957506301ffc9a760e01b6001600160e01b0319831614610729565b611925816119da565b6118945760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161085c565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906119a182610d1b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000908152600260205260409020546001600160a01b0316151590565b611a013382611f4c565b611a1d5760405162461bcd60e51b815260040161085c90612b2a565b6108fd838383611fca565b6001600160a01b038216611a7e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161085c565b611a87816119da565b15611ad45760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161085c565b6001600160a01b0382166000908152600360205260408120805460019290611afd908490612926565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6108fd838383604051806020016040528060008152506113fc565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031603611c295760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161085c565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6000611ca582600e5485612166565b9392505050565b6000611cb782610d1b565b9050611cc460008361196c565b6001600160a01b0381166000908152600360205260408120805460019290611ced908490612b78565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b611d513383611f4c565b611d6d5760405162461bcd60e51b815260040161085c90612b2a565b6114b18484848461217c565b6060611d8361232c565b60005b6005811015611dda57611d9a600a85612a4c565b82611da6836004612b78565b60058110611db657611db6612a79565b6020020152611dc6600a85612912565b935080611dd281612a60565b915050611d86565b50611dec8160005b6020020151611e43565b611df7826001611de2565b611e02836002611de2565b611e0d846003611de2565b611e18856004611de2565b604051602001611e2c959493929190612b8f565b604051602081830303815290604052915050919050565b606081600003611e6a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611e945780611e7e81612a60565b9150611e8d9050600a83612912565b9150611e6e565b60008167ffffffffffffffff811115611eaf57611eaf61253d565b6040519080825280601f01601f191660200182016040528015611ed9576020820181803683370190505b5090505b8415611f4457611eee600183612b78565b9150611efb600a86612a4c565b611f06906030612926565b60f81b818381518110611f1b57611f1b612a79565b60200101906001600160f81b031916908160001a905350611f3d600a86612912565b9450611edd565b949350505050565b600080611f5883610d1b565b9050806001600160a01b0316846001600160a01b03161480611f9f57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80611f445750836001600160a01b0316611fb8846107c1565b6001600160a01b031614949350505050565b826001600160a01b0316611fdd82610d1b565b6001600160a01b0316146120415760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161085c565b6001600160a01b0382166120a35760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161085c565b6120ae60008261196c565b6001600160a01b03831660009081526003602052604081208054600192906120d7908490612b78565b90915550506001600160a01b0382166000908152600360205260408120805460019290612105908490612926565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60008261217385846121af565b14949350505050565b612187848484611fca565b612193848484846121fc565b6114b15760405162461bcd60e51b815260040161085c90612bfa565b600081815b84518110156121f4576121e0828683815181106121d3576121d3612a79565b60200260200101516122fd565b9150806121ec81612a60565b9150506121b4565b509392505050565b60006001600160a01b0384163b156122f257604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612240903390899088908890600401612c4c565b6020604051808303816000875af192505050801561227b575060408051601f3d908101601f1916820190925261227891810190612c89565b60015b6122d8573d8080156122a9576040519150601f19603f3d011682016040523d82523d6000602084013e6122ae565b606091505b5080516000036122d05760405162461bcd60e51b815260040161085c90612bfa565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611f44565b506001949350505050565b6000818310612319576000828152602084905260409020611ca5565b6000838152602083905260409020611ca5565b6040518060a001604052806005906020820280368337509192915050565b6001600160e01b03198116811461189457600080fd5b60006020828403121561237257600080fd5b8135611ca58161234a565b60005b83811015612398578181015183820152602001612380565b838111156114b15750506000910152565b600081518084526123c181602086016020860161237d565b601f01601f19169290920160200192915050565b602081526000611ca560208301846123a9565b6000602082840312156123fa57600080fd5b5035919050565b80356001600160a01b038116811461241857600080fd5b919050565b6000806040838503121561243057600080fd5b61243983612401565b946020939093013593505050565b6000806040838503121561245a57600080fd5b61246383612401565b915060208301356001600160601b038116811461247f57600080fd5b809150509250929050565b60006020828403121561249c57600080fd5b611ca582612401565b6000806000606084860312156124ba57600080fd5b6124c384612401565b92506124d160208501612401565b9150604084013590509250925092565b600080604083850312156124f457600080fd5b50508035926020909101359150565b801515811461189457600080fd5b6000806040838503121561252457600080fd5b61252d83612401565b9150602083013561247f81612503565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561257c5761257c61253d565b604052919050565b600067ffffffffffffffff83111561259e5761259e61253d565b6125b1601f8401601f1916602001612553565b90508281528383830111156125c557600080fd5b828260208301376000602084830101529392505050565b6000602082840312156125ee57600080fd5b813567ffffffffffffffff81111561260557600080fd5b8201601f8101841361261657600080fd5b611f4484823560208401612584565b6000806000806060858703121561263b57600080fd5b8435935060208501359250604085013567ffffffffffffffff8082111561266157600080fd5b818701915087601f83011261267557600080fd5b81358181111561268457600080fd5b8860208260051b850101111561269957600080fd5b95989497505060200194505050565b634e487b7160e01b600052602160045260246000fd5b60208101600483106126e057634e487b7160e01b600052602160045260246000fd5b91905290565b600060208083850312156126f957600080fd5b823567ffffffffffffffff8082111561271157600080fd5b818501915085601f83011261272557600080fd5b8135818111156127375761273761253d565b8060051b9150612748848301612553565b818152918301840191848101908884111561276257600080fd5b938501935b8385101561278057843582529385019390850190612767565b98975050505050505050565b600080600080608085870312156127a257600080fd5b6127ab85612401565b93506127b960208601612401565b925060408501359150606085013567ffffffffffffffff8111156127dc57600080fd5b8501601f810187136127ed57600080fd5b6127fc87823560208401612584565b91505092959194509250565b6000806040838503121561281b57600080fd5b61282483612401565b915061283260208401612401565b90509250929050565b600181811c9082168061284f57607f821691505b60208210810361286f57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000602082840312156128bc57600080fd5b8151611ca581612503565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156128f7576128f76128c7565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612921576129216128fc565b500490565b60008219821115612939576129396128c7565b500190565b601f8211156108fd57600081815260208120601f850160051c810160208610156129655750805b601f850160051c820191505b8181101561298457828155600101612971565b505050505050565b815167ffffffffffffffff8111156129a6576129a661253d565b6129ba816129b4845461283b565b8461293e565b602080601f8311600181146129ef57600084156129d75750858301515b600019600386901b1c1916600185901b178555612984565b600085815260208120601f198616915b82811015612a1e578886015182559484019460019091019084016129ff565b5085821015612a3c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082612a5b57612a5b6128fc565b500690565b600060018201612a7257612a726128c7565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6000808554612a9d8161283b565b60018281168015612ab55760018114612aca57612af9565b60ff1984168752821515830287019450612af9565b8960005260208060002060005b85811015612af05781548a820152908401908201612ad7565b50505082870194505b505050508451612b0d81836020890161237d565b8451910190612b2081836020880161237d565b0195945050505050565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b600082821015612b8a57612b8a6128c7565b500390565b60008651612ba1818460208b0161237d565b865190830190612bb5818360208b0161237d565b8651910190612bc8818360208a0161237d565b8551910190612bdb81836020890161237d565b8451910190612bee81836020880161237d565b01979650505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c7f908301846123a9565b9695505050505050565b600060208284031215612c9b57600080fd5b8151611ca58161234a56fea264697066735822122004370c1a68d582cd11b951c07b27418877c07e3b14ed028fe80d3d31c955f7bf64736f6c634300080f0033

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.