ETH Price: $3,423.31 (-2.13%)
Gas: 4 Gwei

Token

Magma XYZ (MGM)
 

Overview

Max Total Supply

333 MGM

Holders

143

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 MGM
0x03098a0Ce26224bd072255Df7f20007AEA03eB35
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:
MagmaXYZ

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
No with 200 runs

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

pragma solidity ^0.8.15;

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

contract MagmaXYZ is ERC721A, Ownable {
    bool public private_sale_running = false;

    uint public MINT_PRICE = 0.45 ether;
    uint public constant MAX_SUPPLY = 333;

    bytes32 public merkle_root;

    string public magma_uri = "https://ipfs.io/ipfs/QmYmV1njXt1VnbEy3N1GFNp8P9sMATsa2JK7uGy5cRJA7w";

    constructor () ERC721A("Magma XYZ", "MGM") {
        _mint(0xD8e7A51Db8DD3baD4cDA2c1F73fE0AB7C8948Ca0, 1);
        _mint(0xf84d6D2dc4a432b98A7D5B3160373D33158A4C84, 1);
        _mint(0xd6a0C200c19a448a6e8cB32dd7142028BA2e160d, 1);
        _mint(0xE1e0Da672B12F7d0d025F4b52512AB1678b2c7FD, 1);
        _mint(0x20d01F676fd27C834555BBbD3D5193387D7F9864, 1);
        _mint(0x422A1c2B25EE6a05DfDe0622586eBf1a9861089f, 1);
        _mint(0xAA6B335b960AB5AD924760E66940e485f83d192e, 1);
        _mint(0xf511935B27Ede4D52Fe0BaB1A12c91A18ce37D30, 1);
        _mint(0x77FFf5d88e331c8945a8FCE36F4152B8DC00e3eB, 1);
        _mint(0xCe92d0465C705F303FAebc77Be4e6D039D1aAB9B, 1);
        _mint(0x901c20dfe0e6bef2d51d2B15111bbE1335171aD1, 1);
        _mint(0x96825C9205673F900E57D935eCFCeAb8b5174b2f, 1);
        _mint(0x0482940b6FbD08C715988a3e8678745C84FC41a6, 1);
        _mint(0x55eF759C558592719D1345f1fAf56Af2f855d4F1, 1);
        _mint(0x9d73Aae64ec16aa0C85f0261E9A4529316D533f7, 1);
        _mint(0x5e6a905F64db6d3Bdb163434e48a56c005221ffd, 1);
        _mint(0x156f3116488ed4681C748C3eeEca4913FAfe4b82, 1);
        _mint(0x857e72Fbf579Aa99e981e4CEC3C7F291298Fe875, 1);
        _mint(0x8dc55615282096F8C1edDd9B20535B89f10cB23d, 1);
        _mint(0x1aECfa80D1057D09f78D0D5d9C77E10183719CcD, 1);
        _mint(0x7F30c38f84550817E8c7B22482e4a0FcF22198a4, 1);
        _mint(0xc4Bc19C1e49392EE0f4A87f9429a87633661f0dA, 1);
        _mint(0x589842381042ba2D242A2a22F17B2555E1338F5e, 1);
        _mint(0xc695D7097A6A4208b33cC7B85f8a6844a90977DD, 1);
        _mint(0x7DB12c0D617a8Ab8E199D13AAE351efad4741ED1, 1);
        _mint(0x0f9E037386a64056F7228212445E195c8d9A1699, 1);
        _mint(0x9c8D9490AFAB6fA03b8D9BaD0477f6a60bEe640c, 1);
        _mint(0xaaFb164259D27122530Aef535DCD059F5B3Dc844, 1);
        _mint(0x9b49d5b5D938D60F6852eE4ea493009381e9417F, 1);
        _mint(0x3C1B5e2258914B406f9d39f3EcBF3129318Dd933, 1);
        _mint(0x66d6a455Dfdde005cb7c18d56fDeB5567c93213F, 1);
        _mint(0xF7f37F5Cc8A875e7C9E26895c1Fa40cA5e7C15fd, 1);
        _mint(0x17C58eb7D11062690c68d00D9eBA45a92Ba3cE42, 1);
        _mint(0x22bFae7e253d778F355CF1Cb642B776a9914BBa8, 1);
        _mint(0xa0a7b66706b7f5c178AE49486a1C98B32670C038, 1);
        _mint(0xADCB78c30Ad01602fF3fB5b354382A1C4e7F40c7, 1);
        _mint(0xBc549b5dCcaECf61FA730a8eED485F84942eE224, 1);
        _mint(0xDb11B192249b414Aa6cc1e7F1d7414eCF59C36aF, 1);
        _mint(0x39e8a934fcf1eFb57AB0146ecD6c21aE019699A3, 1);
        _mint(0x7f1c7059799066214E1EC67A26C89560BcAE36b5, 1);
        _mint(0xfEBded7dF0b739564Dcb218B4e673f0918528B8d, 1);
        _mint(0x547aaa1BF305120aBB5c08F2697DE2A4CBAE46B1, 1);
        _mint(0x071fC12bE4EE6a484Fa42d3acE02209c4E1e3881, 1);
        _mint(0x995606723eCb1Cc2fe9a29FC29Dd509C07652622, 1);
        _mint(0x6B5e85DACC1f14137d74A22C3d2af711f2Deed8D, 1);
        _mint(0xa7d35E31CdDfC08339b7DE28450699A88d6F22Bc, 1);
        _mint(0x176b450a96AA8d8390224bBa76ac2BCd067ae643, 1);
        _mint(0xEC91Ca2d1f06f451EfD652A184a55b63C4667FF9, 1);
        _mint(0x700F99EBB1467fE47CD45d1faacb568761310BE4, 1);
        _mint(0x6D2fBF5873F36d949d2cb54a76Ef9F54A06abd7E, 1);
        _mint(0xf02692a0A1c848658F176286A8CbF75010a9090B, 1);
        _mint(0x000091892804f655cC1ACA5BBe42944dbb972aB1, 1);
        _mint(0xFE59F409d7A05f8e24aa90626186Cc820c8e3005, 1);
        _mint(0xfc7a999B74e62889366E97CBe799C1Bd11864D89, 1);
        _mint(0xC25317F5713E0CAc7B5d1a0b7b024AE4747cE0d1, 1);
        _mint(0x11f00D6C9116555b5Dd46f5E283750013ed7aa5E, 1);
        _mint(0xe4F4c76d44A3ac80dB8f08DF3F4EF76f1ab5c8bE, 1);
        _mint(0xf606507aE2E57C1c9CD67a0Afd2674160b5f3547, 1);
        _mint(0xAf9C6231eF8e5266443873aCCBabF5F05907Fb08, 1);
        _mint(0xc7F90cf9033bA51C166002A960bc276274bB7769, 1);
        _mint(0xA36B368523e9cF66C44AAf2Dc34c170f78B92683, 1);
        _mint(0x444fBF93192ae44640978b1199Ca981905Fd35De, 1);
        _mint(0xB8f6aB7B30CFf81d3B285a792b2917b35C885675, 1);
        _mint(0x73eA14C0439a6ECE889736a13cB200DA9f793002, 1);
        _mint(0x6a819E934D153b396e4b720da0864E8f0FF03505, 1);
        _mint(0x9363732e97315DE21A1F8e2874F89e0439014188, 1);
        _mint(0xbE79537a8c41676dB192D11Adbf0Beee25B35154, 1);
        _mint(0x62012BaFD7Ca21e0911Eeb8fABb4EEf4AE70107c, 1);
        _mint(0x419FbF18E4A0c6F626E819b877134FC1b2E4c928, 1);
        _mint(0xe59cD95759071d5A814Fcf163a957175160d4042, 1);
        _mint(0xA661019204cC6baD53feF5c60f4E13Ee8580683f, 1);
        _mint(0x0342A4198FC62C21B7fFD3505a7BF0Ab87110838, 1);
        _mint(0x3539e0f40c1EE32CD89bDa6725a3c492cB985D97, 1);
        _mint(0x91C4690Ce6fAab2B035D52408dCF597534437400, 1);
        _mint(0x075d846f46CA9A80491FD49AC31dF27c73af3FDA, 1);
        _mint(0x8F3C958430fbe692a820109a140041a786735488, 1);
        _mint(0x816734Db8BC22FE34D9E2BFc3f3D86e638C232DF, 1);
        _mint(0x3ee9F3B3458f95C9b5a76e840d45681C576532B3, 1);
        _mint(0xAb5313bcDbe72A7fF12cD3D5015C0Cb00F2D13fB, 1);
        _mint(0x42D77B54372bFd86fde5e947E3e3972f8Ab41BDb, 1);
        _mint(0xc13F8Ea701959c574fa6d80d1589a675400255D8, 1);
        _mint(0xDBC63fEd38D97E674CAbaAD8A34BE0B7D77f45fA, 1);
        _mint(0x64352672D5bBda44a576B2Fe886F23B109724124, 1);
        _mint(0x466E8ED99edF2019f1a39872bB7Be828b76619E4, 1);
        _mint(0x317921Cc525e50D264C89Cf0DF2e507DA997a85B, 1);
        _mint(0xd4acc964864CBc22BDD212A3D0FA330a150AB7c8, 1);
        _mint(0x646b719a937045596Da82E7D35F0C80f0a6373bA, 1);
        _mint(0x5fD8F613Be904b065E421F2e2f0FCb1A4f350559, 1);
        _mint(0x738D976BBfc63128Ef614755956A009aDF2b49B0, 1);
        _mint(0x6D1b48F1C7dE27Fe5F629Aad32A497729EC857F4, 1);
        _mint(0x73729767bAe0525F07904468848A717f7CB0b423, 1);
        _mint(0x5a12bc7150AF1faEe26271FE999386c5B0EC608c, 1);
        _mint(0x741ad4e94f05595625808dc0EAb127020A5A908A, 1);
        _mint(0x4eDa683542e0B8DDA2AeE225013Ba11Dcd5CDc8C, 1);
        _mint(0x90E6bCCf52FcBC7F835F5055404cE4A7bdE0b2E3, 1);
        _mint(0x3C1B5e2258914B406f9d39f3EcBF3129318Dd933, 1);
        _mint(0x72d57Cb1fbCc3fA8AAdf525a41fCC4B299d0b79d, 1);
        _mint(0x00349Ef28D79B6CFF1b683845aADa0Fb93222619, 1);
        _mint(0x7276bf87a5F9ab58189368e72F6e5056d239b300, 1);
        _mint(0x7475aee718b78d82817906d7F5C700E64E508106, 1);
        _mint(0xdDc1006Adb7a56DC671E06A813e7C831ea1B3d90, 33);
    }
    
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        // return "https://ipfs.io/ipfs/QmYmV1njXt1VnbEy3N1GFNp8P9sMATsa2JK7uGy5cRJA7w";
        return magma_uri;
    }   

    function changeUri(string memory _new_uri) external onlyOwner {
        magma_uri = _new_uri;
    }

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

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

    function getNumClaimed(address _user) public view returns(uint64) {
        return _getAux(_user);
    }
    
    function whitelistMint(bytes32 [] calldata _merkleProof) external payable {
        require(tx.origin == msg.sender);
        require(private_sale_running, "Private sale is not running");
        require(msg.value == MINT_PRICE, "Incorrect ETH sent to mint");
        require(_totalMinted() < MAX_SUPPLY, "Not enough tokens left to mint");

        require(isWhitelisted(msg.sender, _merkleProof), "Invalid proof");

        uint64 num_claimed = _getAux(msg.sender);
        require(num_claimed == 0, "You can only claim 1 token");

        _setAux(msg.sender, 1);
        _mint(msg.sender, 1);
    }

    function burn(uint _token_id) external {
        _burn(_token_id, true);
    }

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

    function adminMint(address _destination, uint _quantity) external onlyOwner {
        require(_totalMinted() + _quantity <= MAX_SUPPLY, "Not enough tokens left to mint");
        _mint(_destination, _quantity);
    }

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

    function updateMintingPrice(uint _new_price) external onlyOwner {
        MINT_PRICE = _new_price;
    }
    
    function withdraw() external onlyOwner {
        payable(0x3799Ee1cD01A61Bcded7fEb949168D3dAb29Cf99).transfer(address(this).balance);
    }
}

File 2 of 6 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

File 3 of 6 : 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 4 of 6 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

/**
 * @dev ERC721 token receiver interface.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

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

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The bit position of `extraData` in packed ownership.
    uint256 private constant BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with `_mintERC2309`.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to `_mintERC2309`
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned.
    // See `_packedOwnershipOf` implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

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

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

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

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

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see `_totalMinted`.
     */
    function totalSupply() public view override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

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

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view returns (uint256) {
        return _burnCounter;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes of the XOR of
        // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165
        // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY;
    }

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

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

    /**
     * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an ownership that has an address and is not burned
                        // before an ownership that does not have an address and is not burned.
                        // Hence, curr will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP);
        ownership.burned = packed & BITMASK_BURNED != 0;
        ownership.extraData = uint24(packed >> BITPOS_EXTRA_DATA);
    }

    /**
     * Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

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

    /**
     * @dev Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, BITMASK_ADDRESS)
            // `owner | (block.timestamp << BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

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

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

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

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

        string memory baseURI = _baseURI();
        return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : '';
    }

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

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << BITPOS_NEXT_INITIALIZED`.
            result := shl(BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = ownerOf(tokenId);

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

        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), 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-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 {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

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

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

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

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

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            uint256 tokenId = startTokenId;
            uint256 end = startTokenId + quantity;
            do {
                emit Transfer(address(0), to, tokenId++);
            } while (tokenId < end);

            _currentIndex = end;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();

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

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);

            _currentIndex = startTokenId + quantity;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals;
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`.
        assembly {
            // Compute the slot.
            mstore(0x00, tokenId)
            mstore(0x20, tokenApprovalsPtr.slot)
            approvedAddressSlot := keccak256(0x00, 0x40)
            // Load the slot's value from storage.
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    /**
     * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`.
     */
    function _isOwnerOrApproved(
        address approvedAddress,
        address from,
        address msgSender
    ) private pure returns (bool result) {
        assembly {
            // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean.
            from := and(from, BITMASK_ADDRESS)
            // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
            msgSender := and(msgSender, BITMASK_ADDRESS)
            // `msgSender == from || msgSender == approvedAddress`.
            result := or(eq(msgSender, from), eq(msgSender, approvedAddress))
        }
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();

        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

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

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

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

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = address(uint160(prevOwnershipPacked));

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
        }

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

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                from,
                (BITMASK_BURNED | BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

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

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

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

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed = (packed & BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << BITPOS_EXTRA_DATA;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

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

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

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function _toString(uint256 value) internal pure returns (string memory ptr) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit),
            // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

            // Cache the end of the memory to calculate the length later.
            let end := ptr

            // We write the string from the rightmost digit to the leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // Costs a bit more than early returning for the zero case,
            // but cheaper in terms of deployment and overall runtime costs.
            for {
                // Initialize and perform the first pass without check.
                let temp := value
                // Move the pointer 1 byte leftwards to point to an empty character slot.
                ptr := sub(ptr, 1)
                // Write the character to the pointer. 48 is the ASCII index of '0'.
                mstore8(ptr, add(48, mod(temp, 10)))
                temp := div(temp, 10)
            } temp {
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
            } {
                // Body of the for loop.
                ptr := sub(ptr, 1)
                mstore8(ptr, add(48, mod(temp, 10)))
            }

            let length := sub(end, ptr)
            // Move the pointer 32 bytes leftwards to make room for the length.
            ptr := sub(ptr, 32)
            // Store the length.
            mstore(ptr, length)
        }
    }
}

File 5 of 6 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
        // Arbitrary data similar to `startTimestamp` that can be set through `_extraData`.
        uint24 extraData;
    }

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

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

    // ==============================
    //            IERC721
    // ==============================

    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

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

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

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

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

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

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

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

    // ==============================
    //        IERC721Metadata
    // ==============================

    /**
     * @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);

    // ==============================
    //            IERC2309
    // ==============================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`,
     * as defined in the ERC2309 standard. See `_mintERC2309` for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

File 6 of 6 : 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;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_destination","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"adminMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_token_id","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_new_uri","type":"string"}],"name":"changeUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"getNumClaimed","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"magma_uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkle_root","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"private_sale_running","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePrivateSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_new_price","type":"uint256"}],"name":"updateMintingPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_new_root","type":"bytes32"}],"name":"updateWhitelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600860146101000a81548160ff02191690831515021790555067063eb89da4ed000060095560405180608001604052806043815260200162004a0060439139600b908162000055919062001660565b503480156200006357600080fd5b506040518060400160405280600981526020017f4d61676d612058595a00000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f4d474d00000000000000000000000000000000000000000000000000000000008152508160029081620000e1919062001660565b508060039081620000f3919062001660565b50620001046200109260201b60201c565b60008190555050506200012c620001206200109b60201b60201c565b620010a360201b60201c565b6200015373d8e7a51db8dd3bad4cda2c1f73fe0ab7c8948ca060016200116960201b60201c565b6200017a73f84d6d2dc4a432b98a7d5b3160373d33158a4c8460016200116960201b60201c565b620001a173d6a0c200c19a448a6e8cb32dd7142028ba2e160d60016200116960201b60201c565b620001c873e1e0da672b12f7d0d025f4b52512ab1678b2c7fd60016200116960201b60201c565b620001ef7320d01f676fd27c834555bbbd3d5193387d7f986460016200116960201b60201c565b6200021673422a1c2b25ee6a05dfde0622586ebf1a9861089f60016200116960201b60201c565b6200023d73aa6b335b960ab5ad924760e66940e485f83d192e60016200116960201b60201c565b6200026473f511935b27ede4d52fe0bab1a12c91a18ce37d3060016200116960201b60201c565b6200028b7377fff5d88e331c8945a8fce36f4152b8dc00e3eb60016200116960201b60201c565b620002b273ce92d0465c705f303faebc77be4e6d039d1aab9b60016200116960201b60201c565b620002d973901c20dfe0e6bef2d51d2b15111bbe1335171ad160016200116960201b60201c565b620003007396825c9205673f900e57d935ecfceab8b5174b2f60016200116960201b60201c565b62000327730482940b6fbd08c715988a3e8678745c84fc41a660016200116960201b60201c565b6200034e7355ef759c558592719d1345f1faf56af2f855d4f160016200116960201b60201c565b62000375739d73aae64ec16aa0c85f0261e9a4529316d533f760016200116960201b60201c565b6200039c735e6a905f64db6d3bdb163434e48a56c005221ffd60016200116960201b60201c565b620003c373156f3116488ed4681c748c3eeeca4913fafe4b8260016200116960201b60201c565b620003ea73857e72fbf579aa99e981e4cec3c7f291298fe87560016200116960201b60201c565b62000411738dc55615282096f8c1eddd9b20535b89f10cb23d60016200116960201b60201c565b62000438731aecfa80d1057d09f78d0d5d9c77e10183719ccd60016200116960201b60201c565b6200045f737f30c38f84550817e8c7b22482e4a0fcf22198a460016200116960201b60201c565b6200048673c4bc19c1e49392ee0f4a87f9429a87633661f0da60016200116960201b60201c565b620004ad73589842381042ba2d242a2a22f17b2555e1338f5e60016200116960201b60201c565b620004d473c695d7097a6a4208b33cc7b85f8a6844a90977dd60016200116960201b60201c565b620004fb737db12c0d617a8ab8e199d13aae351efad4741ed160016200116960201b60201c565b62000522730f9e037386a64056f7228212445e195c8d9a169960016200116960201b60201c565b62000549739c8d9490afab6fa03b8d9bad0477f6a60bee640c60016200116960201b60201c565b6200057073aafb164259d27122530aef535dcd059f5b3dc84460016200116960201b60201c565b62000597739b49d5b5d938d60f6852ee4ea493009381e9417f60016200116960201b60201c565b620005be733c1b5e2258914b406f9d39f3ecbf3129318dd93360016200116960201b60201c565b620005e57366d6a455dfdde005cb7c18d56fdeb5567c93213f60016200116960201b60201c565b6200060c73f7f37f5cc8a875e7c9e26895c1fa40ca5e7c15fd60016200116960201b60201c565b620006337317c58eb7d11062690c68d00d9eba45a92ba3ce4260016200116960201b60201c565b6200065a7322bfae7e253d778f355cf1cb642b776a9914bba860016200116960201b60201c565b6200068173a0a7b66706b7f5c178ae49486a1c98b32670c03860016200116960201b60201c565b620006a873adcb78c30ad01602ff3fb5b354382a1c4e7f40c760016200116960201b60201c565b620006cf73bc549b5dccaecf61fa730a8eed485f84942ee22460016200116960201b60201c565b620006f673db11b192249b414aa6cc1e7f1d7414ecf59c36af60016200116960201b60201c565b6200071d7339e8a934fcf1efb57ab0146ecd6c21ae019699a360016200116960201b60201c565b62000744737f1c7059799066214e1ec67a26c89560bcae36b560016200116960201b60201c565b6200076b73febded7df0b739564dcb218b4e673f0918528b8d60016200116960201b60201c565b6200079273547aaa1bf305120abb5c08f2697de2a4cbae46b160016200116960201b60201c565b620007b973071fc12be4ee6a484fa42d3ace02209c4e1e388160016200116960201b60201c565b620007e073995606723ecb1cc2fe9a29fc29dd509c0765262260016200116960201b60201c565b62000807736b5e85dacc1f14137d74a22c3d2af711f2deed8d60016200116960201b60201c565b6200082e73a7d35e31cddfc08339b7de28450699a88d6f22bc60016200116960201b60201c565b6200085573176b450a96aa8d8390224bba76ac2bcd067ae64360016200116960201b60201c565b6200087c73ec91ca2d1f06f451efd652a184a55b63c4667ff960016200116960201b60201c565b620008a373700f99ebb1467fe47cd45d1faacb568761310be460016200116960201b60201c565b620008ca736d2fbf5873f36d949d2cb54a76ef9f54a06abd7e60016200116960201b60201c565b620008f173f02692a0a1c848658f176286a8cbf75010a9090b60016200116960201b60201c565b620009167191892804f655cc1aca5bbe42944dbb972ab160016200116960201b60201c565b6200093d73fe59f409d7a05f8e24aa90626186cc820c8e300560016200116960201b60201c565b6200096473fc7a999b74e62889366e97cbe799c1bd11864d8960016200116960201b60201c565b6200098b73c25317f5713e0cac7b5d1a0b7b024ae4747ce0d160016200116960201b60201c565b620009b27311f00d6c9116555b5dd46f5e283750013ed7aa5e60016200116960201b60201c565b620009d973e4f4c76d44a3ac80db8f08df3f4ef76f1ab5c8be60016200116960201b60201c565b62000a0073f606507ae2e57c1c9cd67a0afd2674160b5f354760016200116960201b60201c565b62000a2773af9c6231ef8e5266443873accbabf5f05907fb0860016200116960201b60201c565b62000a4e73c7f90cf9033ba51c166002a960bc276274bb776960016200116960201b60201c565b62000a7573a36b368523e9cf66c44aaf2dc34c170f78b9268360016200116960201b60201c565b62000a9c73444fbf93192ae44640978b1199ca981905fd35de60016200116960201b60201c565b62000ac373b8f6ab7b30cff81d3b285a792b2917b35c88567560016200116960201b60201c565b62000aea7373ea14c0439a6ece889736a13cb200da9f79300260016200116960201b60201c565b62000b11736a819e934d153b396e4b720da0864e8f0ff0350560016200116960201b60201c565b62000b38739363732e97315de21a1f8e2874f89e043901418860016200116960201b60201c565b62000b5f73be79537a8c41676db192d11adbf0beee25b3515460016200116960201b60201c565b62000b867362012bafd7ca21e0911eeb8fabb4eef4ae70107c60016200116960201b60201c565b62000bad73419fbf18e4a0c6f626e819b877134fc1b2e4c92860016200116960201b60201c565b62000bd473e59cd95759071d5a814fcf163a957175160d404260016200116960201b60201c565b62000bfb73a661019204cc6bad53fef5c60f4e13ee8580683f60016200116960201b60201c565b62000c22730342a4198fc62c21b7ffd3505a7bf0ab8711083860016200116960201b60201c565b62000c49733539e0f40c1ee32cd89bda6725a3c492cb985d9760016200116960201b60201c565b62000c707391c4690ce6faab2b035d52408dcf59753443740060016200116960201b60201c565b62000c9773075d846f46ca9a80491fd49ac31df27c73af3fda60016200116960201b60201c565b62000cbe738f3c958430fbe692a820109a140041a78673548860016200116960201b60201c565b62000ce573816734db8bc22fe34d9e2bfc3f3d86e638c232df60016200116960201b60201c565b62000d0c733ee9f3b3458f95c9b5a76e840d45681c576532b360016200116960201b60201c565b62000d3373ab5313bcdbe72a7ff12cd3d5015c0cb00f2d13fb60016200116960201b60201c565b62000d5a7342d77b54372bfd86fde5e947e3e3972f8ab41bdb60016200116960201b60201c565b62000d8173c13f8ea701959c574fa6d80d1589a675400255d860016200116960201b60201c565b62000da873dbc63fed38d97e674cabaad8a34be0b7d77f45fa60016200116960201b60201c565b62000dcf7364352672d5bbda44a576b2fe886f23b10972412460016200116960201b60201c565b62000df673466e8ed99edf2019f1a39872bb7be828b76619e460016200116960201b60201c565b62000e1d73317921cc525e50d264c89cf0df2e507da997a85b60016200116960201b60201c565b62000e4473d4acc964864cbc22bdd212a3d0fa330a150ab7c860016200116960201b60201c565b62000e6b73646b719a937045596da82e7d35f0c80f0a6373ba60016200116960201b60201c565b62000e92735fd8f613be904b065e421f2e2f0fcb1a4f35055960016200116960201b60201c565b62000eb973738d976bbfc63128ef614755956a009adf2b49b060016200116960201b60201c565b62000ee0736d1b48f1c7de27fe5f629aad32a497729ec857f460016200116960201b60201c565b62000f077373729767bae0525f07904468848a717f7cb0b42360016200116960201b60201c565b62000f2e735a12bc7150af1faee26271fe999386c5b0ec608c60016200116960201b60201c565b62000f5573741ad4e94f05595625808dc0eab127020a5a908a60016200116960201b60201c565b62000f7c734eda683542e0b8dda2aee225013ba11dcd5cdc8c60016200116960201b60201c565b62000fa37390e6bccf52fcbc7f835f5055404ce4a7bde0b2e360016200116960201b60201c565b62000fca733c1b5e2258914b406f9d39f3ecbf3129318dd93360016200116960201b60201c565b62000ff17372d57cb1fbcc3fa8aadf525a41fcc4b299d0b79d60016200116960201b60201c565b6200101772349ef28d79b6cff1b683845aada0fb9322261960016200116960201b60201c565b6200103e737276bf87a5f9ab58189368e72f6e5056d239b30060016200116960201b60201c565b62001065737475aee718b78d82817906d7f5c700e64e50810660016200116960201b60201c565b6200108c73ddc1006adb7a56dc671e06a813e7c831ea1b3d9060216200116960201b60201c565b62001747565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603620011d6576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000820362001211576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6200122660008483856200136660201b60201c565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550620012b5836200129760008660006200136c60201b60201c565b620012a8856200139c60201b60201c565b17620013ac60201b60201c565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210620012d957806000819055505050620013616000848385620013d760201b60201c565b505050565b50505050565b60008060e883901c905060e86200138b868684620013dd60201b60201c565b62ffffff16901b9150509392505050565b60006001821460e11b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60009392505050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200146857607f821691505b6020821081036200147e576200147d62001420565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620014e87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620014a9565b620014f48683620014a9565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620015416200153b62001535846200150c565b62001516565b6200150c565b9050919050565b6000819050919050565b6200155d8362001520565b620015756200156c8262001548565b848454620014b6565b825550505050565b600090565b6200158c6200157d565b6200159981848462001552565b505050565b5b81811015620015c157620015b560008262001582565b6001810190506200159f565b5050565b601f8211156200161057620015da8162001484565b620015e58462001499565b81016020851015620015f5578190505b6200160d620016048562001499565b8301826200159e565b50505b505050565b600082821c905092915050565b6000620016356000198460080262001615565b1980831691505092915050565b600062001650838362001622565b9150826002028217905092915050565b6200166b82620013e6565b67ffffffffffffffff811115620016875762001686620013f1565b5b6200169382546200144f565b620016a0828285620015c5565b600060209050601f831160018114620016d85760008415620016c3578287015190505b620016cf858262001642565b8655506200173f565b601f198416620016e88662001484565b60005b828110156200171257848901518255600182019150602085019450602081019050620016eb565b868310156200173257848901516200172e601f89168262001622565b8355505b6001600288020188555050505b505050505050565b6132a980620017576000396000f3fe6080604052600436106101e35760003560e01c8063715018a611610102578063c87b56dd11610095578063e985e9c511610064578063e985e9c5146106bd578063eb1f9f6e146106fa578063f2fde38b14610723578063fd5e8efe1461074c576101e3565b8063c87b56dd14610603578063ca5d9cda14610640578063dfe5dd681461067d578063e58306f914610694576101e3565b806395d89b41116100d157806395d89b411461055b578063a22cb46514610586578063b88d4fde146105af578063c002d23d146105d8576101e3565b8063715018a6146104c357806379e739ef146104da5780638da5cb5b146105055780639168e23e14610530576101e3565b80633ccfd60b1161017a5780635a23dd99116101495780635a23dd99146103e35780636352211e146104205780636957637b1461045d57806370a0823114610486576101e3565b80633ccfd60b1461035157806342842e0e1461036857806342966c68146103915780635788ff36146103ba576101e3565b806318160ddd116101b657806318160ddd146102b657806323b872dd146102e157806332cb6b0c1461030a578063372f657c14610335576101e3565b806301ffc9a7146101e857806306fdde0314610225578063081812fc14610250578063095ea7b31461028d575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a9190612220565b610777565b60405161021c9190612268565b60405180910390f35b34801561023157600080fd5b5061023a610809565b604051610247919061231c565b60405180910390f35b34801561025c57600080fd5b5061027760048036038101906102729190612374565b61089b565b60405161028491906123e2565b60405180910390f35b34801561029957600080fd5b506102b460048036038101906102af9190612429565b610917565b005b3480156102c257600080fd5b506102cb610a58565b6040516102d89190612478565b60405180910390f35b3480156102ed57600080fd5b5061030860048036038101906103039190612493565b610a6f565b005b34801561031657600080fd5b5061031f610d91565b60405161032c9190612478565b60405180910390f35b61034f600480360381019061034a919061254b565b610d97565b005b34801561035d57600080fd5b50610366610f6c565b005b34801561037457600080fd5b5061038f600480360381019061038a9190612493565b610fd1565b005b34801561039d57600080fd5b506103b860048036038101906103b39190612374565b610ff1565b005b3480156103c657600080fd5b506103e160048036038101906103dc9190612374565b610fff565b005b3480156103ef57600080fd5b5061040a60048036038101906104059190612598565b611011565b6040516104179190612268565b60405180910390f35b34801561042c57600080fd5b5061044760048036038101906104429190612374565b611055565b60405161045491906123e2565b60405180910390f35b34801561046957600080fd5b50610484600480360381019061047f919061262e565b611067565b005b34801561049257600080fd5b506104ad60048036038101906104a8919061265b565b611079565b6040516104ba9190612478565b60405180910390f35b3480156104cf57600080fd5b506104d8611131565b005b3480156104e657600080fd5b506104ef611145565b6040516104fc919061231c565b60405180910390f35b34801561051157600080fd5b5061051a6111d3565b60405161052791906123e2565b60405180910390f35b34801561053c57600080fd5b506105456111fd565b6040516105529190612268565b60405180910390f35b34801561056757600080fd5b50610570611210565b60405161057d919061231c565b60405180910390f35b34801561059257600080fd5b506105ad60048036038101906105a891906126b4565b6112a2565b005b3480156105bb57600080fd5b506105d660048036038101906105d19190612824565b611419565b005b3480156105e457600080fd5b506105ed61148c565b6040516105fa9190612478565b60405180910390f35b34801561060f57600080fd5b5061062a60048036038101906106259190612374565b611492565b604051610637919061231c565b60405180910390f35b34801561064c57600080fd5b506106676004803603810190610662919061265b565b611526565b60405161067491906128ca565b60405180910390f35b34801561068957600080fd5b50610692611538565b005b3480156106a057600080fd5b506106bb60048036038101906106b69190612429565b61156c565b005b3480156106c957600080fd5b506106e460048036038101906106df91906128e5565b6115d9565b6040516106f19190612268565b60405180910390f35b34801561070657600080fd5b50610721600480360381019061071c91906129c6565b61166d565b005b34801561072f57600080fd5b5061074a6004803603810190610745919061265b565b611688565b005b34801561075857600080fd5b5061076161170b565b60405161076e9190612a1e565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107d257506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108025750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461081890612a68565b80601f016020809104026020016040519081016040528092919081815260200182805461084490612a68565b80156108915780601f1061086657610100808354040283529160200191610891565b820191906000526020600020905b81548152906001019060200180831161087457829003601f168201915b5050505050905090565b60006108a682611711565b6108dc576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061092282611055565b90508073ffffffffffffffffffffffffffffffffffffffff16610943611770565b73ffffffffffffffffffffffffffffffffffffffff16146109a65761096f8161096a611770565b6115d9565b6109a5576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610a62611778565b6001546000540303905090565b6000610a7a82611781565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ae1576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610aed8461184d565b91509150610b038187610afe611770565b61186f565b610b4f57610b1886610b13611770565b6115d9565b610b4e576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610bb5576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610bc286868660016118b3565b8015610bcd57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610c9b85610c778888876118b9565b7c0200000000000000000000000000000000000000000000000000000000176118e1565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610d215760006001850190506000600460008381526020019081526020016000205403610d1f576000548114610d1e578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610d89868686600161190c565b505050505050565b61014d81565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610dcf57600080fd5b600860149054906101000a900460ff16610e1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1590612ae5565b60405180910390fd5b6009543414610e62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5990612b51565b60405180910390fd5b61014d610e6d611912565b10610ead576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea490612bbd565b60405180910390fd5b610eb8338383611011565b610ef7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eee90612c29565b60405180910390fd5b6000610f0233611925565b905060008167ffffffffffffffff1614610f51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4890612c95565b60405180910390fd5b610f5c336001611972565b610f67336001611a28565b505050565b610f74611bfa565b733799ee1cd01a61bcded7feb949168d3dab29cf9973ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610fce573d6000803e3d6000fd5b50565b610fec83838360405180602001604052806000815250611419565b505050565b610ffc816001611c78565b50565b611007611bfa565b8060098190555050565b600080846040516020016110259190612cfd565b60405160208183030381529060405280519060200120905061104b8484600a5484611eca565b9150509392505050565b600061106082611781565b9050919050565b61106f611bfa565b80600a8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036110e0576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611139611bfa565b6111436000611ee3565b565b600b805461115290612a68565b80601f016020809104026020016040519081016040528092919081815260200182805461117e90612a68565b80156111cb5780601f106111a0576101008083540402835291602001916111cb565b820191906000526020600020905b8154815290600101906020018083116111ae57829003601f168201915b505050505081565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600860149054906101000a900460ff1681565b60606003805461121f90612a68565b80601f016020809104026020016040519081016040528092919081815260200182805461124b90612a68565b80156112985780601f1061126d57610100808354040283529160200191611298565b820191906000526020600020905b81548152906001019060200180831161127b57829003601f168201915b5050505050905090565b6112aa611770565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361130e576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061131b611770565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166113c8611770565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161140d9190612268565b60405180910390a35050565b611424848484610a6f565b60008373ffffffffffffffffffffffffffffffffffffffff163b146114865761144f84848484611fa9565b611485576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60095481565b6060600b80546114a190612a68565b80601f01602080910402602001604051908101604052809291908181526020018280546114cd90612a68565b801561151a5780601f106114ef5761010080835404028352916020019161151a565b820191906000526020600020905b8154815290600101906020018083116114fd57829003601f168201915b50505050509050919050565b600061153182611925565b9050919050565b611540611bfa565b600860149054906101000a900460ff1615600860146101000a81548160ff021916908315150217905550565b611574611bfa565b61014d81611580611912565b61158a9190612d47565b11156115cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c290612bbd565b60405180910390fd5b6115d58282611a28565b5050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611675611bfa565b80600b90816116849190612f49565b5050565b611690611bfa565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036116ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f69061308d565b60405180910390fd5b61170881611ee3565b50565b600a5481565b60008161171c611778565b1115801561172b575060005482105b8015611769575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b60008082905080611790611778565b11611816576000548110156118155760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603611813575b600081036118095760046000836001900393508381526020019081526020016000205490506117df565b8092505050611848565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86118d08686846120f9565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600061191c611778565b60005403905090565b600060c0600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600082905060c081901b77ffffffffffffffffffffffffffffffffffffffffffffffff831617915081600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611a94576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008203611ace576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611adb60008483856118b3565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611b5283611b4360008660006118b9565b611b4c85612102565b176118e1565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210611b7657806000819055505050611bf5600084838561190c565b505050565b611c02612112565b73ffffffffffffffffffffffffffffffffffffffff16611c206111d3565b73ffffffffffffffffffffffffffffffffffffffff1614611c76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6d906130f9565b60405180910390fd5b565b6000611c8383611781565b90506000819050600080611c968661184d565b915091508415611cff57611cb28184611cad611770565b61186f565b611cfe57611cc783611cc2611770565b6115d9565b611cfd576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b611d0d8360008860016118b3565b8015611d1857600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611dc083611d7d856000886118b9565b7c02000000000000000000000000000000000000000000000000000000007c010000000000000000000000000000000000000000000000000000000017176118e1565b600460008881526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000851603611e465760006001870190506000600460008381526020019081526020016000205403611e44576000548114611e43578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611eb083600088600161190c565b600160008154809291906001019190505550505050505050565b600082611ed886868561211a565b149050949350505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611fcf611770565b8786866040518563ffffffff1660e01b8152600401611ff1949392919061316e565b6020604051808303816000875af192505050801561202d57506040513d601f19601f8201168201806040525081019061202a91906131cf565b60015b6120a6573d806000811461205d576040519150601f19603f3d011682016040523d82523d6000602084013e612062565b606091505b50600081510361209e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60009392505050565b60006001821460e11b9050919050565b600033905090565b60008082905060005b858590508110156121665761215182878784818110612145576121446131fc565b5b90506020020135612172565b9150808061215e9061322b565b915050612123565b50809150509392505050565b600081831061218a57612185828461219d565b612195565b612194838361219d565b5b905092915050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6121fd816121c8565b811461220857600080fd5b50565b60008135905061221a816121f4565b92915050565b600060208284031215612236576122356121be565b5b60006122448482850161220b565b91505092915050565b60008115159050919050565b6122628161224d565b82525050565b600060208201905061227d6000830184612259565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156122bd5780820151818401526020810190506122a2565b838111156122cc576000848401525b50505050565b6000601f19601f8301169050919050565b60006122ee82612283565b6122f8818561228e565b935061230881856020860161229f565b612311816122d2565b840191505092915050565b6000602082019050818103600083015261233681846122e3565b905092915050565b6000819050919050565b6123518161233e565b811461235c57600080fd5b50565b60008135905061236e81612348565b92915050565b60006020828403121561238a576123896121be565b5b60006123988482850161235f565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006123cc826123a1565b9050919050565b6123dc816123c1565b82525050565b60006020820190506123f760008301846123d3565b92915050565b612406816123c1565b811461241157600080fd5b50565b600081359050612423816123fd565b92915050565b600080604083850312156124405761243f6121be565b5b600061244e85828601612414565b925050602061245f8582860161235f565b9150509250929050565b6124728161233e565b82525050565b600060208201905061248d6000830184612469565b92915050565b6000806000606084860312156124ac576124ab6121be565b5b60006124ba86828701612414565b93505060206124cb86828701612414565b92505060406124dc8682870161235f565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f84011261250b5761250a6124e6565b5b8235905067ffffffffffffffff811115612528576125276124eb565b5b602083019150836020820283011115612544576125436124f0565b5b9250929050565b60008060208385031215612562576125616121be565b5b600083013567ffffffffffffffff8111156125805761257f6121c3565b5b61258c858286016124f5565b92509250509250929050565b6000806000604084860312156125b1576125b06121be565b5b60006125bf86828701612414565b935050602084013567ffffffffffffffff8111156125e0576125df6121c3565b5b6125ec868287016124f5565b92509250509250925092565b6000819050919050565b61260b816125f8565b811461261657600080fd5b50565b60008135905061262881612602565b92915050565b600060208284031215612644576126436121be565b5b600061265284828501612619565b91505092915050565b600060208284031215612671576126706121be565b5b600061267f84828501612414565b91505092915050565b6126918161224d565b811461269c57600080fd5b50565b6000813590506126ae81612688565b92915050565b600080604083850312156126cb576126ca6121be565b5b60006126d985828601612414565b92505060206126ea8582860161269f565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612731826122d2565b810181811067ffffffffffffffff821117156127505761274f6126f9565b5b80604052505050565b60006127636121b4565b905061276f8282612728565b919050565b600067ffffffffffffffff82111561278f5761278e6126f9565b5b612798826122d2565b9050602081019050919050565b82818337600083830152505050565b60006127c76127c284612774565b612759565b9050828152602081018484840111156127e3576127e26126f4565b5b6127ee8482856127a5565b509392505050565b600082601f83011261280b5761280a6124e6565b5b813561281b8482602086016127b4565b91505092915050565b6000806000806080858703121561283e5761283d6121be565b5b600061284c87828801612414565b945050602061285d87828801612414565b935050604061286e8782880161235f565b925050606085013567ffffffffffffffff81111561288f5761288e6121c3565b5b61289b878288016127f6565b91505092959194509250565b600067ffffffffffffffff82169050919050565b6128c4816128a7565b82525050565b60006020820190506128df60008301846128bb565b92915050565b600080604083850312156128fc576128fb6121be565b5b600061290a85828601612414565b925050602061291b85828601612414565b9150509250929050565b600067ffffffffffffffff8211156129405761293f6126f9565b5b612949826122d2565b9050602081019050919050565b600061296961296484612925565b612759565b905082815260208101848484011115612985576129846126f4565b5b6129908482856127a5565b509392505050565b600082601f8301126129ad576129ac6124e6565b5b81356129bd848260208601612956565b91505092915050565b6000602082840312156129dc576129db6121be565b5b600082013567ffffffffffffffff8111156129fa576129f96121c3565b5b612a0684828501612998565b91505092915050565b612a18816125f8565b82525050565b6000602082019050612a336000830184612a0f565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612a8057607f821691505b602082108103612a9357612a92612a39565b5b50919050565b7f507269766174652073616c65206973206e6f742072756e6e696e670000000000600082015250565b6000612acf601b8361228e565b9150612ada82612a99565b602082019050919050565b60006020820190508181036000830152612afe81612ac2565b9050919050565b7f496e636f7272656374204554482073656e7420746f206d696e74000000000000600082015250565b6000612b3b601a8361228e565b9150612b4682612b05565b602082019050919050565b60006020820190508181036000830152612b6a81612b2e565b9050919050565b7f4e6f7420656e6f75676820746f6b656e73206c65667420746f206d696e740000600082015250565b6000612ba7601e8361228e565b9150612bb282612b71565b602082019050919050565b60006020820190508181036000830152612bd681612b9a565b9050919050565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b6000612c13600d8361228e565b9150612c1e82612bdd565b602082019050919050565b60006020820190508181036000830152612c4281612c06565b9050919050565b7f596f752063616e206f6e6c7920636c61696d203120746f6b656e000000000000600082015250565b6000612c7f601a8361228e565b9150612c8a82612c49565b602082019050919050565b60006020820190508181036000830152612cae81612c72565b9050919050565b60008160601b9050919050565b6000612ccd82612cb5565b9050919050565b6000612cdf82612cc2565b9050919050565b612cf7612cf2826123c1565b612cd4565b82525050565b6000612d098284612ce6565b60148201915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612d528261233e565b9150612d5d8361233e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612d9257612d91612d18565b5b828201905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302612dff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612dc2565b612e098683612dc2565b95508019841693508086168417925050509392505050565b6000819050919050565b6000612e46612e41612e3c8461233e565b612e21565b61233e565b9050919050565b6000819050919050565b612e6083612e2b565b612e74612e6c82612e4d565b848454612dcf565b825550505050565b600090565b612e89612e7c565b612e94818484612e57565b505050565b5b81811015612eb857612ead600082612e81565b600181019050612e9a565b5050565b601f821115612efd57612ece81612d9d565b612ed784612db2565b81016020851015612ee6578190505b612efa612ef285612db2565b830182612e99565b50505b505050565b600082821c905092915050565b6000612f2060001984600802612f02565b1980831691505092915050565b6000612f398383612f0f565b9150826002028217905092915050565b612f5282612283565b67ffffffffffffffff811115612f6b57612f6a6126f9565b5b612f758254612a68565b612f80828285612ebc565b600060209050601f831160018114612fb35760008415612fa1578287015190505b612fab8582612f2d565b865550613013565b601f198416612fc186612d9d565b60005b82811015612fe957848901518255600182019150602085019450602081019050612fc4565b868310156130065784890151613002601f891682612f0f565b8355505b6001600288020188555050505b505050505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061307760268361228e565b91506130828261301b565b604082019050919050565b600060208201905081810360008301526130a68161306a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006130e360208361228e565b91506130ee826130ad565b602082019050919050565b60006020820190508181036000830152613112816130d6565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061314082613119565b61314a8185613124565b935061315a81856020860161229f565b613163816122d2565b840191505092915050565b600060808201905061318360008301876123d3565b61319060208301866123d3565b61319d6040830185612469565b81810360608301526131af8184613135565b905095945050505050565b6000815190506131c9816121f4565b92915050565b6000602082840312156131e5576131e46121be565b5b60006131f3848285016131ba565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006132368261233e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361326857613267612d18565b5b60018201905091905056fea264697066735822122004b7391df55a7fb56f4f5c8921648e1e8728714bd6ec9692704a88b3c69f3c6364736f6c634300080f003368747470733a2f2f697066732e696f2f697066732f516d596d56316e6a587431566e624579334e3147464e70385039734d41547361324a4b377547793563524a413777

Deployed Bytecode

0x6080604052600436106101e35760003560e01c8063715018a611610102578063c87b56dd11610095578063e985e9c511610064578063e985e9c5146106bd578063eb1f9f6e146106fa578063f2fde38b14610723578063fd5e8efe1461074c576101e3565b8063c87b56dd14610603578063ca5d9cda14610640578063dfe5dd681461067d578063e58306f914610694576101e3565b806395d89b41116100d157806395d89b411461055b578063a22cb46514610586578063b88d4fde146105af578063c002d23d146105d8576101e3565b8063715018a6146104c357806379e739ef146104da5780638da5cb5b146105055780639168e23e14610530576101e3565b80633ccfd60b1161017a5780635a23dd99116101495780635a23dd99146103e35780636352211e146104205780636957637b1461045d57806370a0823114610486576101e3565b80633ccfd60b1461035157806342842e0e1461036857806342966c68146103915780635788ff36146103ba576101e3565b806318160ddd116101b657806318160ddd146102b657806323b872dd146102e157806332cb6b0c1461030a578063372f657c14610335576101e3565b806301ffc9a7146101e857806306fdde0314610225578063081812fc14610250578063095ea7b31461028d575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a9190612220565b610777565b60405161021c9190612268565b60405180910390f35b34801561023157600080fd5b5061023a610809565b604051610247919061231c565b60405180910390f35b34801561025c57600080fd5b5061027760048036038101906102729190612374565b61089b565b60405161028491906123e2565b60405180910390f35b34801561029957600080fd5b506102b460048036038101906102af9190612429565b610917565b005b3480156102c257600080fd5b506102cb610a58565b6040516102d89190612478565b60405180910390f35b3480156102ed57600080fd5b5061030860048036038101906103039190612493565b610a6f565b005b34801561031657600080fd5b5061031f610d91565b60405161032c9190612478565b60405180910390f35b61034f600480360381019061034a919061254b565b610d97565b005b34801561035d57600080fd5b50610366610f6c565b005b34801561037457600080fd5b5061038f600480360381019061038a9190612493565b610fd1565b005b34801561039d57600080fd5b506103b860048036038101906103b39190612374565b610ff1565b005b3480156103c657600080fd5b506103e160048036038101906103dc9190612374565b610fff565b005b3480156103ef57600080fd5b5061040a60048036038101906104059190612598565b611011565b6040516104179190612268565b60405180910390f35b34801561042c57600080fd5b5061044760048036038101906104429190612374565b611055565b60405161045491906123e2565b60405180910390f35b34801561046957600080fd5b50610484600480360381019061047f919061262e565b611067565b005b34801561049257600080fd5b506104ad60048036038101906104a8919061265b565b611079565b6040516104ba9190612478565b60405180910390f35b3480156104cf57600080fd5b506104d8611131565b005b3480156104e657600080fd5b506104ef611145565b6040516104fc919061231c565b60405180910390f35b34801561051157600080fd5b5061051a6111d3565b60405161052791906123e2565b60405180910390f35b34801561053c57600080fd5b506105456111fd565b6040516105529190612268565b60405180910390f35b34801561056757600080fd5b50610570611210565b60405161057d919061231c565b60405180910390f35b34801561059257600080fd5b506105ad60048036038101906105a891906126b4565b6112a2565b005b3480156105bb57600080fd5b506105d660048036038101906105d19190612824565b611419565b005b3480156105e457600080fd5b506105ed61148c565b6040516105fa9190612478565b60405180910390f35b34801561060f57600080fd5b5061062a60048036038101906106259190612374565b611492565b604051610637919061231c565b60405180910390f35b34801561064c57600080fd5b506106676004803603810190610662919061265b565b611526565b60405161067491906128ca565b60405180910390f35b34801561068957600080fd5b50610692611538565b005b3480156106a057600080fd5b506106bb60048036038101906106b69190612429565b61156c565b005b3480156106c957600080fd5b506106e460048036038101906106df91906128e5565b6115d9565b6040516106f19190612268565b60405180910390f35b34801561070657600080fd5b50610721600480360381019061071c91906129c6565b61166d565b005b34801561072f57600080fd5b5061074a6004803603810190610745919061265b565b611688565b005b34801561075857600080fd5b5061076161170b565b60405161076e9190612a1e565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107d257506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108025750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461081890612a68565b80601f016020809104026020016040519081016040528092919081815260200182805461084490612a68565b80156108915780601f1061086657610100808354040283529160200191610891565b820191906000526020600020905b81548152906001019060200180831161087457829003601f168201915b5050505050905090565b60006108a682611711565b6108dc576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061092282611055565b90508073ffffffffffffffffffffffffffffffffffffffff16610943611770565b73ffffffffffffffffffffffffffffffffffffffff16146109a65761096f8161096a611770565b6115d9565b6109a5576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610a62611778565b6001546000540303905090565b6000610a7a82611781565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ae1576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610aed8461184d565b91509150610b038187610afe611770565b61186f565b610b4f57610b1886610b13611770565b6115d9565b610b4e576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610bb5576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610bc286868660016118b3565b8015610bcd57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610c9b85610c778888876118b9565b7c0200000000000000000000000000000000000000000000000000000000176118e1565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610d215760006001850190506000600460008381526020019081526020016000205403610d1f576000548114610d1e578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610d89868686600161190c565b505050505050565b61014d81565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610dcf57600080fd5b600860149054906101000a900460ff16610e1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1590612ae5565b60405180910390fd5b6009543414610e62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5990612b51565b60405180910390fd5b61014d610e6d611912565b10610ead576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea490612bbd565b60405180910390fd5b610eb8338383611011565b610ef7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eee90612c29565b60405180910390fd5b6000610f0233611925565b905060008167ffffffffffffffff1614610f51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4890612c95565b60405180910390fd5b610f5c336001611972565b610f67336001611a28565b505050565b610f74611bfa565b733799ee1cd01a61bcded7feb949168d3dab29cf9973ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610fce573d6000803e3d6000fd5b50565b610fec83838360405180602001604052806000815250611419565b505050565b610ffc816001611c78565b50565b611007611bfa565b8060098190555050565b600080846040516020016110259190612cfd565b60405160208183030381529060405280519060200120905061104b8484600a5484611eca565b9150509392505050565b600061106082611781565b9050919050565b61106f611bfa565b80600a8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036110e0576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611139611bfa565b6111436000611ee3565b565b600b805461115290612a68565b80601f016020809104026020016040519081016040528092919081815260200182805461117e90612a68565b80156111cb5780601f106111a0576101008083540402835291602001916111cb565b820191906000526020600020905b8154815290600101906020018083116111ae57829003601f168201915b505050505081565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600860149054906101000a900460ff1681565b60606003805461121f90612a68565b80601f016020809104026020016040519081016040528092919081815260200182805461124b90612a68565b80156112985780601f1061126d57610100808354040283529160200191611298565b820191906000526020600020905b81548152906001019060200180831161127b57829003601f168201915b5050505050905090565b6112aa611770565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361130e576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061131b611770565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166113c8611770565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161140d9190612268565b60405180910390a35050565b611424848484610a6f565b60008373ffffffffffffffffffffffffffffffffffffffff163b146114865761144f84848484611fa9565b611485576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60095481565b6060600b80546114a190612a68565b80601f01602080910402602001604051908101604052809291908181526020018280546114cd90612a68565b801561151a5780601f106114ef5761010080835404028352916020019161151a565b820191906000526020600020905b8154815290600101906020018083116114fd57829003601f168201915b50505050509050919050565b600061153182611925565b9050919050565b611540611bfa565b600860149054906101000a900460ff1615600860146101000a81548160ff021916908315150217905550565b611574611bfa565b61014d81611580611912565b61158a9190612d47565b11156115cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c290612bbd565b60405180910390fd5b6115d58282611a28565b5050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611675611bfa565b80600b90816116849190612f49565b5050565b611690611bfa565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036116ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f69061308d565b60405180910390fd5b61170881611ee3565b50565b600a5481565b60008161171c611778565b1115801561172b575060005482105b8015611769575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b60008082905080611790611778565b11611816576000548110156118155760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603611813575b600081036118095760046000836001900393508381526020019081526020016000205490506117df565b8092505050611848565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86118d08686846120f9565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600061191c611778565b60005403905090565b600060c0600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600082905060c081901b77ffffffffffffffffffffffffffffffffffffffffffffffff831617915081600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611a94576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008203611ace576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611adb60008483856118b3565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611b5283611b4360008660006118b9565b611b4c85612102565b176118e1565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210611b7657806000819055505050611bf5600084838561190c565b505050565b611c02612112565b73ffffffffffffffffffffffffffffffffffffffff16611c206111d3565b73ffffffffffffffffffffffffffffffffffffffff1614611c76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6d906130f9565b60405180910390fd5b565b6000611c8383611781565b90506000819050600080611c968661184d565b915091508415611cff57611cb28184611cad611770565b61186f565b611cfe57611cc783611cc2611770565b6115d9565b611cfd576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b611d0d8360008860016118b3565b8015611d1857600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611dc083611d7d856000886118b9565b7c02000000000000000000000000000000000000000000000000000000007c010000000000000000000000000000000000000000000000000000000017176118e1565b600460008881526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000851603611e465760006001870190506000600460008381526020019081526020016000205403611e44576000548114611e43578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611eb083600088600161190c565b600160008154809291906001019190505550505050505050565b600082611ed886868561211a565b149050949350505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611fcf611770565b8786866040518563ffffffff1660e01b8152600401611ff1949392919061316e565b6020604051808303816000875af192505050801561202d57506040513d601f19601f8201168201806040525081019061202a91906131cf565b60015b6120a6573d806000811461205d576040519150601f19603f3d011682016040523d82523d6000602084013e612062565b606091505b50600081510361209e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60009392505050565b60006001821460e11b9050919050565b600033905090565b60008082905060005b858590508110156121665761215182878784818110612145576121446131fc565b5b90506020020135612172565b9150808061215e9061322b565b915050612123565b50809150509392505050565b600081831061218a57612185828461219d565b612195565b612194838361219d565b5b905092915050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6121fd816121c8565b811461220857600080fd5b50565b60008135905061221a816121f4565b92915050565b600060208284031215612236576122356121be565b5b60006122448482850161220b565b91505092915050565b60008115159050919050565b6122628161224d565b82525050565b600060208201905061227d6000830184612259565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156122bd5780820151818401526020810190506122a2565b838111156122cc576000848401525b50505050565b6000601f19601f8301169050919050565b60006122ee82612283565b6122f8818561228e565b935061230881856020860161229f565b612311816122d2565b840191505092915050565b6000602082019050818103600083015261233681846122e3565b905092915050565b6000819050919050565b6123518161233e565b811461235c57600080fd5b50565b60008135905061236e81612348565b92915050565b60006020828403121561238a576123896121be565b5b60006123988482850161235f565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006123cc826123a1565b9050919050565b6123dc816123c1565b82525050565b60006020820190506123f760008301846123d3565b92915050565b612406816123c1565b811461241157600080fd5b50565b600081359050612423816123fd565b92915050565b600080604083850312156124405761243f6121be565b5b600061244e85828601612414565b925050602061245f8582860161235f565b9150509250929050565b6124728161233e565b82525050565b600060208201905061248d6000830184612469565b92915050565b6000806000606084860312156124ac576124ab6121be565b5b60006124ba86828701612414565b93505060206124cb86828701612414565b92505060406124dc8682870161235f565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f84011261250b5761250a6124e6565b5b8235905067ffffffffffffffff811115612528576125276124eb565b5b602083019150836020820283011115612544576125436124f0565b5b9250929050565b60008060208385031215612562576125616121be565b5b600083013567ffffffffffffffff8111156125805761257f6121c3565b5b61258c858286016124f5565b92509250509250929050565b6000806000604084860312156125b1576125b06121be565b5b60006125bf86828701612414565b935050602084013567ffffffffffffffff8111156125e0576125df6121c3565b5b6125ec868287016124f5565b92509250509250925092565b6000819050919050565b61260b816125f8565b811461261657600080fd5b50565b60008135905061262881612602565b92915050565b600060208284031215612644576126436121be565b5b600061265284828501612619565b91505092915050565b600060208284031215612671576126706121be565b5b600061267f84828501612414565b91505092915050565b6126918161224d565b811461269c57600080fd5b50565b6000813590506126ae81612688565b92915050565b600080604083850312156126cb576126ca6121be565b5b60006126d985828601612414565b92505060206126ea8582860161269f565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612731826122d2565b810181811067ffffffffffffffff821117156127505761274f6126f9565b5b80604052505050565b60006127636121b4565b905061276f8282612728565b919050565b600067ffffffffffffffff82111561278f5761278e6126f9565b5b612798826122d2565b9050602081019050919050565b82818337600083830152505050565b60006127c76127c284612774565b612759565b9050828152602081018484840111156127e3576127e26126f4565b5b6127ee8482856127a5565b509392505050565b600082601f83011261280b5761280a6124e6565b5b813561281b8482602086016127b4565b91505092915050565b6000806000806080858703121561283e5761283d6121be565b5b600061284c87828801612414565b945050602061285d87828801612414565b935050604061286e8782880161235f565b925050606085013567ffffffffffffffff81111561288f5761288e6121c3565b5b61289b878288016127f6565b91505092959194509250565b600067ffffffffffffffff82169050919050565b6128c4816128a7565b82525050565b60006020820190506128df60008301846128bb565b92915050565b600080604083850312156128fc576128fb6121be565b5b600061290a85828601612414565b925050602061291b85828601612414565b9150509250929050565b600067ffffffffffffffff8211156129405761293f6126f9565b5b612949826122d2565b9050602081019050919050565b600061296961296484612925565b612759565b905082815260208101848484011115612985576129846126f4565b5b6129908482856127a5565b509392505050565b600082601f8301126129ad576129ac6124e6565b5b81356129bd848260208601612956565b91505092915050565b6000602082840312156129dc576129db6121be565b5b600082013567ffffffffffffffff8111156129fa576129f96121c3565b5b612a0684828501612998565b91505092915050565b612a18816125f8565b82525050565b6000602082019050612a336000830184612a0f565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612a8057607f821691505b602082108103612a9357612a92612a39565b5b50919050565b7f507269766174652073616c65206973206e6f742072756e6e696e670000000000600082015250565b6000612acf601b8361228e565b9150612ada82612a99565b602082019050919050565b60006020820190508181036000830152612afe81612ac2565b9050919050565b7f496e636f7272656374204554482073656e7420746f206d696e74000000000000600082015250565b6000612b3b601a8361228e565b9150612b4682612b05565b602082019050919050565b60006020820190508181036000830152612b6a81612b2e565b9050919050565b7f4e6f7420656e6f75676820746f6b656e73206c65667420746f206d696e740000600082015250565b6000612ba7601e8361228e565b9150612bb282612b71565b602082019050919050565b60006020820190508181036000830152612bd681612b9a565b9050919050565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b6000612c13600d8361228e565b9150612c1e82612bdd565b602082019050919050565b60006020820190508181036000830152612c4281612c06565b9050919050565b7f596f752063616e206f6e6c7920636c61696d203120746f6b656e000000000000600082015250565b6000612c7f601a8361228e565b9150612c8a82612c49565b602082019050919050565b60006020820190508181036000830152612cae81612c72565b9050919050565b60008160601b9050919050565b6000612ccd82612cb5565b9050919050565b6000612cdf82612cc2565b9050919050565b612cf7612cf2826123c1565b612cd4565b82525050565b6000612d098284612ce6565b60148201915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612d528261233e565b9150612d5d8361233e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612d9257612d91612d18565b5b828201905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302612dff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612dc2565b612e098683612dc2565b95508019841693508086168417925050509392505050565b6000819050919050565b6000612e46612e41612e3c8461233e565b612e21565b61233e565b9050919050565b6000819050919050565b612e6083612e2b565b612e74612e6c82612e4d565b848454612dcf565b825550505050565b600090565b612e89612e7c565b612e94818484612e57565b505050565b5b81811015612eb857612ead600082612e81565b600181019050612e9a565b5050565b601f821115612efd57612ece81612d9d565b612ed784612db2565b81016020851015612ee6578190505b612efa612ef285612db2565b830182612e99565b50505b505050565b600082821c905092915050565b6000612f2060001984600802612f02565b1980831691505092915050565b6000612f398383612f0f565b9150826002028217905092915050565b612f5282612283565b67ffffffffffffffff811115612f6b57612f6a6126f9565b5b612f758254612a68565b612f80828285612ebc565b600060209050601f831160018114612fb35760008415612fa1578287015190505b612fab8582612f2d565b865550613013565b601f198416612fc186612d9d565b60005b82811015612fe957848901518255600182019150602085019450602081019050612fc4565b868310156130065784890151613002601f891682612f0f565b8355505b6001600288020188555050505b505050505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061307760268361228e565b91506130828261301b565b604082019050919050565b600060208201905081810360008301526130a68161306a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006130e360208361228e565b91506130ee826130ad565b602082019050919050565b60006020820190508181036000830152613112816130d6565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061314082613119565b61314a8185613124565b935061315a81856020860161229f565b613163816122d2565b840191505092915050565b600060808201905061318360008301876123d3565b61319060208301866123d3565b61319d6040830185612469565b81810360608301526131af8184613135565b905095945050505050565b6000815190506131c9816121f4565b92915050565b6000602082840312156131e5576131e46121be565b5b60006131f3848285016131ba565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006132368261233e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361326857613267612d18565b5b60018201905091905056fea264697066735822122004b7391df55a7fb56f4f5c8921648e1e8728714bd6ec9692704a88b3c69f3c6364736f6c634300080f0033

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.