ETH Price: $2,514.98 (+2.48%)

Contract

0x21dDA0199679308b989765d3737d32c08EF8ab96
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...194640602024-03-18 20:29:59168 days ago1710793799IN
0x21dDA019...08EF8ab96
0 ETH0.0010198238.80752121
Set Approval For...194640592024-03-18 20:29:47168 days ago1710793787IN
0x21dDA019...08EF8ab96
0 ETH0.0017531637.96454335
Set Approval For...190745602024-01-24 5:57:35223 days ago1706075855IN
0x21dDA019...08EF8ab96
0 ETH0.000368767.98547917
Set Approval For...170842632023-04-20 0:43:47502 days ago1681951427IN
0x21dDA019...08EF8ab96
0 ETH0.0022838949.45733335
Set Approval For...167244302023-02-28 4:57:11553 days ago1677560231IN
0x21dDA019...08EF8ab96
0 ETH0.0006889214.91861827
Set Approval For...165569262023-02-04 17:32:11576 days ago1675531931IN
0x21dDA019...08EF8ab96
0 ETH0.0011972425.92611531
Set Approval For...165457272023-02-03 3:58:59578 days ago1675396739IN
0x21dDA019...08EF8ab96
0 ETH0.0010528122.79865706
Set Approval For...163719122023-01-09 21:25:35602 days ago1673299535IN
0x21dDA019...08EF8ab96
0 ETH0.0009437835.91415703
Set Approval For...163719122023-01-09 21:25:35602 days ago1673299535IN
0x21dDA019...08EF8ab96
0 ETH0.0016584735.91415703
Safe Transfer Fr...163706592023-01-09 17:12:23602 days ago1673284343IN
0x21dDA019...08EF8ab96
0 ETH0.0037249657.79984384
Transfer From162916972022-12-29 16:46:11613 days ago1672332371IN
0x21dDA019...08EF8ab96
0 ETH0.0013127721.32929657
Set Approval For...162905372022-12-29 12:52:59613 days ago1672318379IN
0x21dDA019...08EF8ab96
0 ETH0.0008472918.31465565
Transfer From162773072022-12-27 16:34:47615 days ago1672158887IN
0x21dDA019...08EF8ab96
0 ETH0.0013335921.66756753
Transfer From162769852022-12-27 15:29:47615 days ago1672154987IN
0x21dDA019...08EF8ab96
0 ETH0.0007575312.3079932
Safe Transfer Fr...162768512022-12-27 15:02:59615 days ago1672153379IN
0x21dDA019...08EF8ab96
0 ETH0.0013530220.28486286
Set Approval For...162768512022-12-27 15:02:59615 days ago1672153379IN
0x21dDA019...08EF8ab96
0 ETH0.0009384320.28486286
Set Approval For...162047582022-12-17 13:36:47625 days ago1671284207IN
0x21dDA019...08EF8ab96
0 ETH0.0006954315.05945428
Set Approval For...161827832022-12-14 11:58:11628 days ago1671019091IN
0x21dDA019...08EF8ab96
0 ETH0.0006555414.19578855
Set Approval For...158804072022-11-02 5:59:59671 days ago1667368799IN
0x21dDA019...08EF8ab96
0 ETH0.000411958.90471176
Transfer From157861642022-10-20 1:55:35684 days ago1666230935IN
0x21dDA019...08EF8ab96
0 ETH0.0009636119.57617088
Transfer From157861612022-10-20 1:54:59684 days ago1666230899IN
0x21dDA019...08EF8ab96
0 ETH0.0011996618.08465292
Set Approval For...157359302022-10-13 1:32:11691 days ago1665624731IN
0x21dDA019...08EF8ab96
0 ETH0.0011614325.15072054
Set Approval For...156805212022-10-05 7:50:11698 days ago1664956211IN
0x21dDA019...08EF8ab96
0 ETH0.000166556.83956399
Safe Transfer Fr...156373762022-09-29 7:01:23704 days ago1664434883IN
0x21dDA019...08EF8ab96
0 ETH0.000570710.8
Safe Transfer Fr...156373582022-09-29 6:57:47704 days ago1664434667IN
0x21dDA019...08EF8ab96
0 ETH0.000552210.45
View all transactions

Latest 3 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
145201392022-04-04 14:49:01882 days ago1649083741
0x21dDA019...08EF8ab96
4.32 ETH
143392102022-03-07 10:38:09910 days ago1646649489
0x21dDA019...08EF8ab96
16.3 ETH
143155782022-03-03 18:09:18914 days ago1646330958
0x21dDA019...08EF8ab96
46.4 ETH
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x8cE102bC...8e52Fa4ef
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
GraffitiBears

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-03-02
*/

// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol


// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

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

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

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

// File: @openzeppelin/contracts/utils/Strings.sol


// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

// File: @openzeppelin/contracts/utils/cryptography/ECDSA.sol


// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;


/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

// File: @openzeppelin/contracts/utils/Context.sol


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;


/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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

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

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

// File: @openzeppelin/contracts/utils/Address.sol


// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

// File: @openzeppelin/contracts/token/ERC721/IERC721.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

// File: erc721a/contracts/ERC721A.sol


// Creator: Chiru Labs

pragma solidity ^0.8.4;









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

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 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**128 - 1 (max value of uint128).
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    using Address for address;
    using Strings for uint256;

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

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
    }

    // Compiler will pack the following 
    // _currentIndex and _burnCounter into a single 256bit word.
    
    // The tokenId of the next token to be minted.
    uint128 internal _currentIndex;

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex times
        unchecked {
            return _currentIndex - _burnCounter;    
        }
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        uint256 numMintedSoFar = _currentIndex;
        uint256 tokenIdsIdx;

        // Counter overflow is impossible as the loop breaks when
        // uint256 i is equal to another uint256 numMintedSoFar.
        unchecked {
            for (uint256 i; i < numMintedSoFar; i++) {
                TokenOwnership memory ownership = _ownerships[i];
                if (!ownership.burned) {
                    if (tokenIdsIdx == index) {
                        return i;
                    }
                    tokenIdsIdx++;
                }
            }
        }
        revert TokenIndexOutOfBounds();
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
        if (index >= balanceOf(owner)) revert OwnerIndexOutOfBounds();
        uint256 numMintedSoFar = _currentIndex;
        uint256 tokenIdsIdx;
        address currOwnershipAddr;

        // Counter overflow is impossible as the loop breaks when
        // uint256 i is equal to another uint256 numMintedSoFar.
        unchecked {
            for (uint256 i; i < numMintedSoFar; i++) {
                TokenOwnership memory ownership = _ownerships[i];
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    if (tokenIdsIdx == index) {
                        return i;
                    }
                    tokenIdsIdx++;
                }
            }
        }

        // Execution should never reach this point.
        revert();
    }

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

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

    function _numberMinted(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert MintedQueryForZeroAddress();
        return uint256(_addressData[owner].numberMinted);
    }

    function _numberBurned(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert BurnedQueryForZeroAddress();
        return uint256(_addressData[owner].numberBurned);
    }

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        if (!_checkOnERC721Received(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 tokenId < _currentIndex && !_ownerships[tokenId].burned;
    }

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

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

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

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

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

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

            uint256 updatedIndex = startTokenId;

            for (uint256 i; i < quantity; i++) {
                emit Transfer(address(0), to, updatedIndex);
                if (safe && !_checkOnERC721Received(address(0), to, updatedIndex, _data)) {
                    revert TransferToNonERC721ReceiverImplementer();
                }
                updatedIndex++;
            }

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            isApprovedForAll(prevOwnership.addr, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // 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**128.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

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

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

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

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

        _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

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

        // 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**128.
        unchecked {
            _addressData[prevOwnership.addr].balance -= 1;
            _addressData[prevOwnership.addr].numberBurned += 1;

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

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

        emit Transfer(prevOwnership.addr, address(0), tokenId);
        _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

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

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

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

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

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

// File: contracts/contract.sol



pragma solidity ^0.8.12;





contract GraffitiBears is ERC721A, Ownable {
    using Strings for uint256;

    uint256 public constant RESERVED_TOKENS = 199;
    uint256 public constant FOR_SALE_TOKENS = 9999 - RESERVED_TOKENS;
    address public constant RESERVED_TOKENS_ADDRESS = 0x4b0f06669e762f872e3D96509437e13427a886da;

    uint256 public tokenPricePresale = 0.08 ether;
    uint256 public tokenPricePublicSale = 0.12 ether;

    uint256 public maxTokensPerTransaction = 10;
    uint256 public maxTokensPerAddress = 12;
    uint256 public maxTokensPerAddressOG = 4;
    uint256 public maxTokensPerAddressMember = 3;

    uint256 public presaleTotalLimit = 1200;

    bytes32 public whitelistRootOG = 0xc15a2afef7d407c51263a8c3e8fb7196f3ea213b938e06d8547e01fc6e18dca0;
    bytes32 public whitelistRootMember;

    string public tokenBaseURI = "ipfs://QmXPvLEw1KbSCcrLTsGBYC4YsgeLs3z8A9TRRz5zktwtJ5/";

    bool public hasPresaleStarted = false;
    bool public hasPublicSaleStarted = false;

    uint256 public soldAmount = 0;
    mapping(address => uint256) public purchased;

    constructor() ERC721A("GraffitiBears", "BEARS") {
        _safeMint(RESERVED_TOKENS_ADDRESS, RESERVED_TOKENS);
    }

    function setPresaleStarted(bool val) external onlyOwner {
        hasPresaleStarted = val;
    }

    function setPublicSaleStarted(bool val) external onlyOwner {
        hasPublicSaleStarted = val;
    }

    function setTokenPricePresale(uint256 val) external onlyOwner {
        tokenPricePresale = val;
    }
    
    function setTokenPricePublicSale(uint256 val) external onlyOwner {
        tokenPricePublicSale = val;
    }

    function setMaxTokensPerTransaction(uint256 val) external onlyOwner {
        maxTokensPerTransaction = val;
    }

    function setMaxTokensPerAddress(uint256 val) external onlyOwner {
        maxTokensPerAddress = val;
    }

    function setMaxTokensPerAddressOG(uint256 val) external onlyOwner {
        maxTokensPerAddressOG = val;
    }
    
    function setMaxTokensPerAddressMember(uint256 val) external onlyOwner {
        maxTokensPerAddressMember = val;
    }

    function setPresaleTotalLimit(uint256 val) external onlyOwner {
        presaleTotalLimit = val;
    }

    function setWhitelistRootOG(bytes32 val) external onlyOwner {
        whitelistRootOG = val;
    }

    function setWhitelistRootMember(bytes32 val) external onlyOwner {
        whitelistRootMember = val;
    }

    function tokenPrice() public view returns (uint256) {
        if (hasPublicSaleStarted) {
            return tokenPricePublicSale;
        }
        return tokenPricePresale;
    }

    function getMaxTokensForPhase(address target, bytes32[] memory proof) public view returns (uint256) {
        bytes32 leaf = keccak256(abi.encodePacked(target));

        if (!hasPresaleStarted) {
            return 0;
        }

        if (hasPublicSaleStarted) {
            return maxTokensPerAddress;
        }

        if (MerkleProof.verify(proof, whitelistRootOG, leaf)) {
            return maxTokensPerAddressOG;
        }
        
        if (MerkleProof.verify(proof, whitelistRootMember, leaf)) {
            return maxTokensPerAddressMember;
        }

        return 0;
    }

    function getMaxTokensAllowed(address target, bytes32[] memory proof) public view returns (uint256) {
        uint256 maxAllowedTokens = getMaxTokensForPhase(target, proof);

        uint256 purchasedTokens = purchased[target];
        if (purchasedTokens >= maxAllowedTokens) {
            return 0;
        }
        uint256 maxTokensAllowedForAddress = maxAllowedTokens - purchasedTokens;
        maxAllowedTokens = min(maxAllowedTokens, maxTokensAllowedForAddress);

        if (!hasPublicSaleStarted) {
            if (soldAmount >= presaleTotalLimit) {
                return 0;
            }
            uint256 presaleTokensLeft = presaleTotalLimit - soldAmount;
            maxAllowedTokens = min(maxAllowedTokens, presaleTokensLeft);
        }

        if (soldAmount >= FOR_SALE_TOKENS) {
            return 0;
        }
        uint256 publicSaleTokensLeft = FOR_SALE_TOKENS - soldAmount;
        maxAllowedTokens = min(maxAllowedTokens, publicSaleTokensLeft);

        return min(maxAllowedTokens, maxTokensPerTransaction);
    }

    function getContractInfo(address target, bytes32[] memory proof) external view returns (
        bool _hasPresaleStarted,
        bool _hasPublicSaleStarted,
        uint256 _maxTokensAllowed,
        uint256 _tokenPrice,
        uint256 _soldAmount,
        uint256 _purchasedAmount,
        uint256 _presaleTotalLimit,
        bytes32 _whitelistRootOG,
        bytes32 _whitelistRootMember
    ) {
        _hasPresaleStarted = hasPresaleStarted;
        _hasPublicSaleStarted = hasPublicSaleStarted;
        _maxTokensAllowed = getMaxTokensAllowed(target, proof);
        _tokenPrice = tokenPrice();
        _soldAmount = soldAmount;
        _purchasedAmount = purchased[target];
        _presaleTotalLimit = presaleTotalLimit;
        _whitelistRootOG = whitelistRootOG;
        _whitelistRootMember = whitelistRootMember;
    }

    function mint(uint256 amount, bytes32[] memory proof) external payable {
        require(hasPresaleStarted, "Cannot mint before presale");
        require(msg.value >= tokenPrice() * amount, "Incorrect ETH sent");
        require(amount <= getMaxTokensAllowed(msg.sender, proof), "Cannot mint more than the max allowed tokens");

        _safeMint(msg.sender, amount);
        purchased[msg.sender] += amount;
        soldAmount += amount;
    }

    function _baseURI() internal view override(ERC721A) returns (string memory) {
        return tokenBaseURI;
    }
   
    function setBaseURI(string calldata URI) external onlyOwner {
        tokenBaseURI = URI;
    }

    function withdraw() external onlyOwner {
        require(payable(msg.sender).send(address(this).balance));
    }
    
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerIndexOutOfBounds","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TokenIndexOutOfBounds","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"FOR_SALE_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVED_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVED_TOKENS_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"getContractInfo","outputs":[{"internalType":"bool","name":"_hasPresaleStarted","type":"bool"},{"internalType":"bool","name":"_hasPublicSaleStarted","type":"bool"},{"internalType":"uint256","name":"_maxTokensAllowed","type":"uint256"},{"internalType":"uint256","name":"_tokenPrice","type":"uint256"},{"internalType":"uint256","name":"_soldAmount","type":"uint256"},{"internalType":"uint256","name":"_purchasedAmount","type":"uint256"},{"internalType":"uint256","name":"_presaleTotalLimit","type":"uint256"},{"internalType":"bytes32","name":"_whitelistRootOG","type":"bytes32"},{"internalType":"bytes32","name":"_whitelistRootMember","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"getMaxTokensAllowed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"getMaxTokensForPhase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hasPresaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hasPublicSaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokensPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokensPerAddressMember","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokensPerAddressOG","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokensPerTransaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"payable","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":"presaleTotalLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"purchased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"string","name":"URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setMaxTokensPerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setMaxTokensPerAddressMember","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setMaxTokensPerAddressOG","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setMaxTokensPerTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"setPresaleStarted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setPresaleTotalLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"setPublicSaleStarted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setTokenPricePresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setTokenPricePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"val","type":"bytes32"}],"name":"setWhitelistRootMember","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"val","type":"bytes32"}],"name":"setWhitelistRootOG","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"soldAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"tokenBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPricePresale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPricePublicSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistRootMember","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistRootOG","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

Deployed Bytecode

0x6080604052600436106103355760003560e01c80635d2f80b4116101ab578063b0220015116100f7578063dcb826b811610095578063f85aff941161006f578063f85aff94146109a4578063f92b7a21146109ba578063fa1a5f59146109d0578063fdd4b0f0146109e657600080fd5b8063dcb826b81461091b578063e985e9c51461093b578063f2fde38b1461098457600080fd5b8063bc031fe2116100d1578063bc031fe21461089d578063c87b56dd146108b3578063dbb84f11146108d3578063dc504f13146108f357600080fd5b8063b022001514610850578063b88d4fde1461086a578063ba41b0c61461088a57600080fd5b806378c5fe37116101645780638da5cb5b1161013e5780638da5cb5b146107dd57806392fcc773146107fb57806395d89b411461081b578063a22cb4651461083057600080fd5b806378c5fe371461079c5780637e046f30146107b25780637ff9b596146107c857600080fd5b80635d2f80b4146106f25780636352211e1461071257806368fc68c7146107325780636ecbac791461074757806370a0823114610767578063715018a61461078757600080fd5b80632b88adc41161028557806346c4dc27116102235780634f6ccce7116101fd5780634f6ccce714610665578063522fe98e1461068557806355f804b3146106b25780635af46b4b146106d257600080fd5b806346c4dc271461061b5780634d8fae951461063b5780634e99b8001461065057600080fd5b8063311df29a1161025f578063311df29a146105a65780633ccfd60b146105c657806342842e0e146105db5780634324851a146105fb57600080fd5b80632b88adc41461050a5780632d84a94c146105205780632f745c591461058657600080fd5b806314ff2779116102f257806323b872dd116102cc57806323b872dd1461049e57806324a97fb6146104be578063285de8ca146104d45780632b038411146104f457600080fd5b806314ff27791461042b57806318160ddd1461044b57806323a1baaa1461048857600080fd5b8063013b22cb1461033a57806301ffc9a71461035c57806306fdde0314610391578063081812fc146103b3578063095ea7b3146103eb5780631449d3e61461040b575b600080fd5b34801561034657600080fd5b5061035a61035536600461204d565b610a05565b005b34801561036857600080fd5b5061037c61037736600461207c565b610a3d565b60405190151581526020015b60405180910390f35b34801561039d57600080fd5b506103a6610aaa565b60405161038891906120f1565b3480156103bf57600080fd5b506103d36103ce36600461204d565b610b3c565b6040516001600160a01b039091168152602001610388565b3480156103f757600080fd5b5061035a610406366004612120565b610b80565b34801561041757600080fd5b5061035a61042636600461204d565b610c0e565b34801561043757600080fd5b5061035a61044636600461204d565b610c3d565b34801561045757600080fd5b5061047a6000546001600160801b03600160801b82048116918116919091031690565b604051908152602001610388565b34801561049457600080fd5b5061047a600b5481565b3480156104aa57600080fd5b5061035a6104b936600461214a565b610c6c565b3480156104ca57600080fd5b5061047a600c5481565b3480156104e057600080fd5b5061047a6104ef366004612240565b610c77565b34801561050057600080fd5b5061047a60085481565b34801561051657600080fd5b5061047a600d5481565b34801561052c57600080fd5b5061054061053b366004612240565b610d26565b604080519915158a5297151560208a0152968801959095526060870193909352608086019190915260a085015260c084015260e083015261010082015261012001610388565b34801561059257600080fd5b5061047a6105a1366004612120565b610d93565b3480156105b257600080fd5b5061035a6105c136600461204d565b610e8f565b3480156105d257600080fd5b5061035a610ebe565b3480156105e757600080fd5b5061035a6105f636600461214a565b610f0e565b34801561060757600080fd5b5061047a610616366004612240565b610f29565b34801561062757600080fd5b5061035a61063636600461204d565b61102a565b34801561064757600080fd5b5061047a611059565b34801561065c57600080fd5b506103a6611069565b34801561067157600080fd5b5061047a61068036600461204d565b6110f7565b34801561069157600080fd5b5061047a6106a036600461228d565b60146020526000908152604090205481565b3480156106be57600080fd5b5061035a6106cd3660046122a8565b6111a1565b3480156106de57600080fd5b5061035a6106ed366004612329565b6111d7565b3480156106fe57600080fd5b5061035a61070d36600461204d565b61121b565b34801561071e57600080fd5b506103d361072d36600461204d565b61124a565b34801561073e57600080fd5b5061047a60c781565b34801561075357600080fd5b5061035a610762366004612329565b61125c565b34801561077357600080fd5b5061047a61078236600461228d565b611299565b34801561079357600080fd5b5061035a6112e7565b3480156107a857600080fd5b5061047a60095481565b3480156107be57600080fd5b5061047a600e5481565b3480156107d457600080fd5b5061047a61131b565b3480156107e957600080fd5b506007546001600160a01b03166103d3565b34801561080757600080fd5b5061035a61081636600461204d565b61133c565b34801561082757600080fd5b506103a661136b565b34801561083c57600080fd5b5061035a61084b366004612344565b61137a565b34801561085c57600080fd5b5060125461037c9060ff1681565b34801561087657600080fd5b5061035a610885366004612377565b611410565b61035a610898366004612436565b61144a565b3480156108a957600080fd5b5061047a60105481565b3480156108bf57600080fd5b506103a66108ce36600461204d565b6115ac565b3480156108df57600080fd5b5061035a6108ee36600461204d565b611631565b3480156108ff57600080fd5b506103d3734b0f06669e762f872e3d96509437e13427a886da81565b34801561092757600080fd5b5061035a61093636600461204d565b611660565b34801561094757600080fd5b5061037c610956366004612466565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561099057600080fd5b5061035a61099f36600461228d565b61168f565b3480156109b057600080fd5b5061047a600a5481565b3480156109c657600080fd5b5061047a600f5481565b3480156109dc57600080fd5b5061047a60135481565b3480156109f257600080fd5b5060125461037c90610100900460ff1681565b6007546001600160a01b03163314610a385760405162461bcd60e51b8152600401610a2f90612490565b60405180910390fd5b600c55565b60006001600160e01b031982166380ac58cd60e01b1480610a6e57506001600160e01b03198216635b5e139f60e01b145b80610a8957506001600160e01b0319821663780e9d6360e01b145b80610aa457506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060018054610ab9906124c5565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae5906124c5565b8015610b325780601f10610b0757610100808354040283529160200191610b32565b820191906000526020600020905b815481529060010190602001808311610b1557829003601f168201915b5050505050905090565b6000610b4782611739565b610b64576040516333d1c03960e21b815260040160405180910390fd5b506000908152600560205260409020546001600160a01b031690565b6000610b8b8261124a565b9050806001600160a01b0316836001600160a01b03161415610bc05760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610be05750610bde8133610956565b155b15610bfe576040516367d9dca160e11b815260040160405180910390fd5b610c0983838361176d565b505050565b6007546001600160a01b03163314610c385760405162461bcd60e51b8152600401610a2f90612490565b600a55565b6007546001600160a01b03163314610c675760405162461bcd60e51b8152600401610a2f90612490565b600e55565b610c098383836117c9565b6040516bffffffffffffffffffffffff19606084901b166020820152600090819060340160408051601f19818403018152919052805160209091012060125490915060ff16610cca576000915050610aa4565b601254610100900460ff1615610ce4575050600b54610aa4565b610cf183600f54836119e6565b15610d00575050600c54610aa4565b610d0d83601054836119e6565b15610d1c575050600d54610aa4565b5060009392505050565b60125460ff808216916101009004166000808080808080610d478b8b610f29565b9650610d5161131b565b6013546001600160a01b03909c16600090815260146020526040902054600e54600f546010549c9f9b9e9a9d50929b999a919990985091965090945092505050565b6000610d9e83611299565b8210610dbd576040516306ed618760e11b815260040160405180910390fd5b600080546001600160801b03169080805b83811015610e8957600081815260036020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161580159282019290925290610e355750610e81565b80516001600160a01b031615610e4a57805192505b876001600160a01b0316836001600160a01b03161415610e7f5786841415610e7857509350610aa492505050565b6001909301925b505b600101610dce565b50600080fd5b6007546001600160a01b03163314610eb95760405162461bcd60e51b8152600401610a2f90612490565b600855565b6007546001600160a01b03163314610ee85760405162461bcd60e51b8152600401610a2f90612490565b60405133904780156108fc02916000818181858888f19350505050610f0c57600080fd5b565b610c0983838360405180602001604052806000815250611410565b600080610f368484610c77565b6001600160a01b038516600090815260146020526040902054909150818110610f6457600092505050610aa4565b6000610f708284612516565b9050610f7c83826119fc565b601254909350610100900460ff16610fc757600e5460135410610fa55760009350505050610aa4565b6000601354600e54610fb79190612516565b9050610fc384826119fc565b9350505b610fd460c761270f612516565b60135410610fe85760009350505050610aa4565b601354600090610ffb60c761270f612516565b6110059190612516565b905061101184826119fc565b935061101f84600a546119fc565b979650505050505050565b6007546001600160a01b031633146110545760405162461bcd60e51b8152600401610a2f90612490565b600955565b61106660c761270f612516565b81565b60118054611076906124c5565b80601f01602080910402602001604051908101604052809291908181526020018280546110a2906124c5565b80156110ef5780601f106110c4576101008083540402835291602001916110ef565b820191906000526020600020905b8154815290600101906020018083116110d257829003601f168201915b505050505081565b600080546001600160801b031681805b8281101561118757600081815260036020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff1615159181018290529061117e57858314156111775750949350505050565b6001909201915b50600101611107565b506040516329c8c00760e21b815260040160405180910390fd5b6007546001600160a01b031633146111cb5760405162461bcd60e51b8152600401610a2f90612490565b610c0960118383611fb4565b6007546001600160a01b031633146112015760405162461bcd60e51b8152600401610a2f90612490565b601280549115156101000261ff0019909216919091179055565b6007546001600160a01b031633146112455760405162461bcd60e51b8152600401610a2f90612490565b600f55565b600061125582611a12565b5192915050565b6007546001600160a01b031633146112865760405162461bcd60e51b8152600401610a2f90612490565b6012805460ff1916911515919091179055565b60006001600160a01b0382166112c2576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600460205260409020546001600160401b031690565b6007546001600160a01b031633146113115760405162461bcd60e51b8152600401610a2f90612490565b610f0c6000611b34565b601254600090610100900460ff1615611335575060095490565b5060085490565b6007546001600160a01b031633146113665760405162461bcd60e51b8152600401610a2f90612490565b600d55565b606060028054610ab9906124c5565b6001600160a01b0382163314156113a45760405163b06307db60e01b815260040160405180910390fd5b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61141b8484846117c9565b61142784848484611b86565b611444576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60125460ff1661149c5760405162461bcd60e51b815260206004820152601a60248201527f43616e6e6f74206d696e74206265666f72652070726573616c650000000000006044820152606401610a2f565b816114a561131b565b6114af919061252d565b3410156114f35760405162461bcd60e51b8152602060048201526012602482015271125b98dbdc9c9958dd08115512081cd95b9d60721b6044820152606401610a2f565b6114fd3382610f29565b8211156115615760405162461bcd60e51b815260206004820152602c60248201527f43616e6e6f74206d696e74206d6f7265207468616e20746865206d617820616c60448201526b6c6f77656420746f6b656e7360a01b6064820152608401610a2f565b61156b3383611c86565b336000908152601460205260408120805484929061158a90849061254c565b9250508190555081601360008282546115a3919061254c565b90915550505050565b60606115b782611739565b6115d457604051630a14c4b560e41b815260040160405180910390fd5b60006115de611ca4565b90508051600014156115ff576040518060200160405280600081525061162a565b8061160984611cb3565b60405160200161161a929190612564565b6040516020818303038152906040525b9392505050565b6007546001600160a01b0316331461165b5760405162461bcd60e51b8152600401610a2f90612490565b600b55565b6007546001600160a01b0316331461168a5760405162461bcd60e51b8152600401610a2f90612490565b601055565b6007546001600160a01b031633146116b95760405162461bcd60e51b8152600401610a2f90612490565b6001600160a01b03811661171e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a2f565b61172781611b34565b50565b6001600160a01b03163b151590565b600080546001600160801b031682108015610aa4575050600090815260036020526040902054600160e01b900460ff161590565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006117d482611a12565b80519091506000906001600160a01b0316336001600160a01b03161480611802575081516118029033610956565b8061181d57503361181284610b3c565b6001600160a01b0316145b90508061183d57604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146118725760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03841661189957604051633a954ecd60e21b815260040160405180910390fd5b6118a9600084846000015161176d565b6001600160a01b038581166000908152600460209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600390945282852080546001600160e01b031916909417600160a01b42909216919091021790925590860180835291205490911661199c576000546001600160801b031681101561199c57825160008281526003602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6000826119f38584611db0565b14949350505050565b6000818310611a0b578161162a565b5090919050565b60408051606081018252600080825260208201819052918101829052905482906001600160801b0316811015611b1b57600081815260036020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290611b195780516001600160a01b031615611ab0579392505050565b5060001901600081815260036020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611b14579392505050565b611ab0565b505b604051636f96cda160e11b815260040160405180910390fd5b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b15611c7a57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611bca903390899088908890600401612593565b6020604051808303816000875af1925050508015611c05575060408051601f3d908101601f19168201909252611c02918101906125d0565b60015b611c60573d808015611c33576040519150601f19603f3d011682016040523d82523d6000602084013e611c38565b606091505b508051611c58576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611c7e565b5060015b949350505050565b611ca0828260405180602001604052806000815250611e24565b5050565b606060118054610ab9906124c5565b606081611cd75750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611d015780611ceb816125ed565b9150611cfa9050600a8361261e565b9150611cdb565b6000816001600160401b03811115611d1b57611d1b612186565b6040519080825280601f01601f191660200182016040528015611d45576020820181803683370190505b5090505b8415611c7e57611d5a600183612516565b9150611d67600a86612632565b611d7290603061254c565b60f81b818381518110611d8757611d87612646565b60200101906001600160f81b031916908160001a905350611da9600a8661261e565b9450611d49565b600081815b8451811015611e1c576000858281518110611dd257611dd2612646565b60200260200101519050808311611df85760008381526020829052604090209250611e09565b600081815260208490526040902092505b5080611e14816125ed565b915050611db5565b509392505050565b610c0983838360016000546001600160801b03166001600160a01b038516611e5e57604051622e076360e81b815260040160405180910390fd5b83611e7c5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260046020908152604080832080546001600160801b031981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c018116909202179091558584526003909252822080546001600160e01b031916909317600160a01b42909216919091021790915581905b85811015611f8e5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4838015611f645750611f626000888488611b86565b155b15611f82576040516368d2bf6b60e11b815260040160405180910390fd5b60019182019101611f0d565b50600080546001600160801b0319166001600160801b03929092169190911790556119df565b828054611fc0906124c5565b90600052602060002090601f016020900481019282611fe25760008555612028565b82601f10611ffb5782800160ff19823516178555612028565b82800160010185558215612028579182015b8281111561202857823582559160200191906001019061200d565b50612034929150612038565b5090565b5b808211156120345760008155600101612039565b60006020828403121561205f57600080fd5b5035919050565b6001600160e01b03198116811461172757600080fd5b60006020828403121561208e57600080fd5b813561162a81612066565b60005b838110156120b457818101518382015260200161209c565b838111156114445750506000910152565b600081518084526120dd816020860160208601612099565b601f01601f19169290920160200192915050565b60208152600061162a60208301846120c5565b80356001600160a01b038116811461211b57600080fd5b919050565b6000806040838503121561213357600080fd5b61213c83612104565b946020939093013593505050565b60008060006060848603121561215f57600080fd5b61216884612104565b925061217660208501612104565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156121c4576121c4612186565b604052919050565b600082601f8301126121dd57600080fd5b813560206001600160401b038211156121f8576121f8612186565b8160051b61220782820161219c565b928352848101820192828101908785111561222157600080fd5b83870192505b8483101561101f57823582529183019190830190612227565b6000806040838503121561225357600080fd5b61225c83612104565b915060208301356001600160401b0381111561227757600080fd5b612283858286016121cc565b9150509250929050565b60006020828403121561229f57600080fd5b61162a82612104565b600080602083850312156122bb57600080fd5b82356001600160401b03808211156122d257600080fd5b818501915085601f8301126122e657600080fd5b8135818111156122f557600080fd5b86602082850101111561230757600080fd5b60209290920196919550909350505050565b8035801515811461211b57600080fd5b60006020828403121561233b57600080fd5b61162a82612319565b6000806040838503121561235757600080fd5b61236083612104565b915061236e60208401612319565b90509250929050565b6000806000806080858703121561238d57600080fd5b61239685612104565b935060206123a5818701612104565b93506040860135925060608601356001600160401b03808211156123c857600080fd5b818801915088601f8301126123dc57600080fd5b8135818111156123ee576123ee612186565b612400601f8201601f1916850161219c565b9150808252898482850101111561241657600080fd5b808484018584013760008482840101525080935050505092959194509250565b6000806040838503121561244957600080fd5b8235915060208301356001600160401b0381111561227757600080fd5b6000806040838503121561247957600080fd5b61248283612104565b915061236e60208401612104565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c908216806124d957607f821691505b602082108114156124fa57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008282101561252857612528612500565b500390565b600081600019048311821515161561254757612547612500565b500290565b6000821982111561255f5761255f612500565b500190565b60008351612576818460208801612099565b83519083019061258a818360208801612099565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906125c6908301846120c5565b9695505050505050565b6000602082840312156125e257600080fd5b815161162a81612066565b600060001982141561260157612601612500565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261262d5761262d612608565b500490565b60008261264157612641612608565b500690565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220915f2d68e0009d9162c6caf2a74b0e5639b17febe3f2b0b541adb5e27c20e92364736f6c634300080c0033

Deployed Bytecode Sourcemap

58302:6162:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60206:112;;;;;;;;;;-1:-1:-1;60206:112:0;;;;;:::i;:::-;;:::i;:::-;;41765:372;;;;;;;;;;-1:-1:-1;41765:372:0;;;;;:::i;:::-;;:::i;:::-;;;750:14:1;;743:22;725:41;;713:2;698:18;41765:372:0;;;;;;;;44375:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;45878:204::-;;;;;;;;;;-1:-1:-1;45878:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;45878:204:0;1528:203:1;45441:371:0;;;;;;;;;;-1:-1:-1;45441:371:0;;;;;:::i;:::-;;:::i;59966:116::-;;;;;;;;;;-1:-1:-1;59966:116:0;;;;;:::i;:::-;;:::i;60458:104::-;;;;;;;;;;-1:-1:-1;60458:104:0;;;;;:::i;:::-;;:::i;39002:280::-;;;;;;;;;;;;39055:7;39247:12;-1:-1:-1;;;;;;;;39247:12:0;;;;39231:13;;;:28;;;;39224:35;;39002:280;;;;2319:25:1;;;2307:2;2292:18;39002:280:0;2173:177:1;58769:39:0;;;;;;;;;;;;;;;;46735:170;;;;;;;;;;-1:-1:-1;46735:170:0;;;;;:::i;:::-;;:::i;58815:40::-;;;;;;;;;;;;;;;;60987:610;;;;;;;;;;-1:-1:-1;60987:610:0;;;;;:::i;:::-;;:::i;58610:45::-;;;;;;;;;;;;;;;;58862:44;;;;;;;;;;;;;;;;62679:851;;;;;;;;;;-1:-1:-1;62679:851:0;;;;;:::i;:::-;;:::i;:::-;;;;4628:14:1;;4621:22;4603:41;;4687:14;;4680:22;4675:2;4660:18;;4653:50;4719:18;;;4712:34;;;;4777:2;4762:18;;4755:34;;;;4820:3;4805:19;;4798:35;;;;4864:3;4849:19;;4842:35;4908:3;4893:19;;4886:35;4952:3;4937:19;;4930:35;4996:3;4981:19;;4974:35;4590:3;4575:19;62679:851:0;4244:771:1;40588:1105:0;;;;;;;;;;-1:-1:-1;40588:1105:0;;;;;:::i;:::-;;:::i;59732:104::-;;;;;;;;;;-1:-1:-1;59732:104:0;;;;;:::i;:::-;;:::i;64229:114::-;;;;;;;;;;;;;:::i;46976:185::-;;;;;;;;;;-1:-1:-1;46976:185:0;;;;;:::i;:::-;;:::i;61605:1066::-;;;;;;;;;;-1:-1:-1;61605:1066:0;;;;;:::i;:::-;;:::i;59848:110::-;;;;;;;;;;-1:-1:-1;59848:110:0;;;;;:::i;:::-;;:::i;58438:64::-;;;;;;;;;;;;;:::i;59112:85::-;;;;;;;;;;;;;:::i;39575:713::-;;;;;;;;;;-1:-1:-1;39575:713:0;;;;;:::i;:::-;;:::i;59335:44::-;;;;;;;;;;-1:-1:-1;59335:44:0;;;;;:::i;:::-;;;;;;;;;;;;;;64124:97;;;;;;;;;;-1:-1:-1;64124:97:0;;;;;:::i;:::-;;:::i;59620:104::-;;;;;;;;;;-1:-1:-1;59620:104:0;;;;;:::i;:::-;;:::i;60570:100::-;;;;;;;;;;-1:-1:-1;60570:100:0;;;;;:::i;:::-;;:::i;44184:124::-;;;;;;;;;;-1:-1:-1;44184:124:0;;;;;:::i;:::-;;:::i;58386:45::-;;;;;;;;;;;;58428:3;58386:45;;59514:98;;;;;;;;;;-1:-1:-1;59514:98:0;;;;;:::i;:::-;;:::i;42201:206::-;;;;;;;;;;-1:-1:-1;42201:206:0;;;;;:::i;:::-;;:::i;16686:103::-;;;;;;;;;;;;;:::i;58662:48::-;;;;;;;;;;;;;;;;58915:39;;;;;;;;;;;;;;;;60794:185;;;;;;;;;;;;;:::i;16035:87::-;;;;;;;;;;-1:-1:-1;16108:6:0;;-1:-1:-1;;;;;16108:6:0;16035:87;;60330:120;;;;;;;;;;-1:-1:-1;60330:120:0;;;;;:::i;:::-;;:::i;44544:104::-;;;;;;;;;;;;;:::i;46154:279::-;;;;;;;;;;-1:-1:-1;46154:279:0;;;;;:::i;:::-;;:::i;59206:37::-;;;;;;;;;;-1:-1:-1;59206:37:0;;;;;;;;47232:342;;;;;;;;;;-1:-1:-1;47232:342:0;;;;;:::i;:::-;;:::i;63538:453::-;;;;;;:::i;:::-;;:::i;59069:34::-;;;;;;;;;;;;;;;;44719:318;;;;;;;;;;-1:-1:-1;44719:318:0;;;;;:::i;:::-;;:::i;60090:108::-;;;;;;;;;;-1:-1:-1;60090:108:0;;;;;:::i;:::-;;:::i;58509:92::-;;;;;;;;;;;;58559:42;58509:92;;60678:108;;;;;;;;;;-1:-1:-1;60678:108:0;;;;;:::i;:::-;;:::i;46504:164::-;;;;;;;;;;-1:-1:-1;46504:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;46625:25:0;;;46601:4;46625:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;46504:164;16944:201;;;;;;;;;;-1:-1:-1;16944:201:0;;;;;:::i;:::-;;:::i;58719:43::-;;;;;;;;;;;;;;;;58963:99;;;;;;;;;;;;;;;;59299:29;;;;;;;;;;;;;;;;59250:40;;;;;;;;;;-1:-1:-1;59250:40:0;;;;;;;;;;;60206:112;16108:6;;-1:-1:-1;;;;;16108:6:0;14839:10;16255:23;16247:68;;;;-1:-1:-1;;;16247:68:0;;;;;;;:::i;:::-;;;;;;;;;60283:21:::1;:27:::0;60206:112::o;41765:372::-;41867:4;-1:-1:-1;;;;;;41904:40:0;;-1:-1:-1;;;41904:40:0;;:105;;-1:-1:-1;;;;;;;41961:48:0;;-1:-1:-1;;;41961:48:0;41904:105;:172;;;-1:-1:-1;;;;;;;42026:50:0;;-1:-1:-1;;;42026:50:0;41904:172;:225;;;-1:-1:-1;;;;;;;;;;28928:40:0;;;42093:36;41884:245;41765:372;-1:-1:-1;;41765:372:0:o;44375:100::-;44429:13;44462:5;44455:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44375:100;:::o;45878:204::-;45946:7;45971:16;45979:7;45971;:16::i;:::-;45966:64;;45996:34;;-1:-1:-1;;;45996:34:0;;;;;;;;;;;45966:64;-1:-1:-1;46050:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;46050:24:0;;45878:204::o;45441:371::-;45514:13;45530:24;45546:7;45530:15;:24::i;:::-;45514:40;;45575:5;-1:-1:-1;;;;;45569:11:0;:2;-1:-1:-1;;;;;45569:11:0;;45565:48;;;45589:24;;-1:-1:-1;;;45589:24:0;;;;;;;;;;;45565:48;14839:10;-1:-1:-1;;;;;45630:21:0;;;;;;:63;;-1:-1:-1;45656:37:0;45673:5;14839:10;46504:164;:::i;45656:37::-;45655:38;45630:63;45626:138;;;45717:35;;-1:-1:-1;;;45717:35:0;;;;;;;;;;;45626:138;45776:28;45785:2;45789:7;45798:5;45776:8;:28::i;:::-;45503:309;45441:371;;:::o;59966:116::-;16108:6;;-1:-1:-1;;;;;16108:6:0;14839:10;16255:23;16247:68;;;;-1:-1:-1;;;16247:68:0;;;;;;;:::i;:::-;60045:23:::1;:29:::0;59966:116::o;60458:104::-;16108:6;;-1:-1:-1;;;;;16108:6:0;14839:10;16255:23;16247:68;;;;-1:-1:-1;;;16247:68:0;;;;;;;:::i;:::-;60531:17:::1;:23:::0;60458:104::o;46735:170::-;46869:28;46879:4;46885:2;46889:7;46869:9;:28::i;60987:610::-;61123:24;;-1:-1:-1;;9350:2:1;9346:15;;;9342:53;61123:24:0;;;9330:66:1;61078:7:0;;;;9412:12:1;;61123:24:0;;;-1:-1:-1;;61123:24:0;;;;;;;;;61113:35;;61123:24;61113:35;;;;61166:17;;61113:35;;-1:-1:-1;61166:17:0;;61161:59;;61207:1;61200:8;;;;;61161:59;61236:20;;;;;;;61232:79;;;-1:-1:-1;;61280:19:0;;61273:26;;61232:79;61327:48;61346:5;61353:15;;61370:4;61327:18;:48::i;:::-;61323:109;;;-1:-1:-1;;61399:21:0;;61392:28;;61323:109;61456:52;61475:5;61482:19;;61503:4;61456:18;:52::i;:::-;61452:117;;;-1:-1:-1;;61532:25:0;;61525:32;;61452:117;-1:-1:-1;61588:1:0;;60987:610;-1:-1:-1;;;60987:610:0:o;62679:851::-;63119:17;;;;;;;;63171:20;;;62777:23;;;;;;;63222:34;63242:6;63250:5;63222:19;:34::i;:::-;63202:54;;63281:12;:10;:12::i;:::-;63318:10;;-1:-1:-1;;;;;63358:17:0;;;;;;;:9;:17;;;;;;63407;;63454:15;;63503:19;;62679:851;;;;;;-1:-1:-1;63267:26:0;;63318:10;;63358:17;;63407;;-1:-1:-1;63454:15:0;;-1:-1:-1;63503:19:0;;-1:-1:-1;62679:851:0;-1:-1:-1;;;62679:851:0:o;40588:1105::-;40677:7;40710:16;40720:5;40710:9;:16::i;:::-;40701:5;:25;40697:61;;40735:23;;-1:-1:-1;;;40735:23:0;;;;;;;;;;;40697:61;40769:22;40794:13;;-1:-1:-1;;;;;40794:13:0;;40769:22;;41044:557;41064:14;41060:1;:18;41044:557;;;41104:31;41138:14;;;:11;:14;;;;;;;;;41104:48;;;;;;;;;-1:-1:-1;;;;;41104:48:0;;;;-1:-1:-1;;;41104:48:0;;-1:-1:-1;;;;;41104:48:0;;;;;;;;-1:-1:-1;;;41104:48:0;;;;;;;;;;;;;;;;41171:73;;41216:8;;;41171:73;41266:14;;-1:-1:-1;;;;;41266:28:0;;41262:111;;41339:14;;;-1:-1:-1;41262:111:0;41416:5;-1:-1:-1;;;;;41395:26:0;:17;-1:-1:-1;;;;;41395:26:0;;41391:195;;;41465:5;41450:11;:20;41446:85;;;-1:-1:-1;41506:1:0;-1:-1:-1;41499:8:0;;-1:-1:-1;;;41499:8:0;41446:85;41553:13;;;;;41391:195;41085:516;41044:557;41080:3;;41044:557;;;;41677:8;;;59732:104;16108:6;;-1:-1:-1;;;;;16108:6:0;14839:10;16255:23;16247:68;;;;-1:-1:-1;;;16247:68:0;;;;;;;:::i;:::-;59805:17:::1;:23:::0;59732:104::o;64229:114::-;16108:6;;-1:-1:-1;;;;;16108:6:0;14839:10;16255:23;16247:68;;;;-1:-1:-1;;;16247:68:0;;;;;;;:::i;:::-;64287:47:::1;::::0;64295:10:::1;::::0;64312:21:::1;64287:47:::0;::::1;;;::::0;::::1;::::0;;;64312:21;64295:10;64287:47;::::1;;;;;;64279:56;;;::::0;::::1;;64229:114::o:0;46976:185::-;47114:39;47131:4;47137:2;47141:7;47114:39;;;;;;;;;;;;:16;:39::i;61605:1066::-;61695:7;61715:24;61742:35;61763:6;61771:5;61742:20;:35::i;:::-;-1:-1:-1;;;;;61816:17:0;;61790:23;61816:17;;;:9;:17;;;;;;61715:62;;-1:-1:-1;61848:35:0;;;61844:76;;61907:1;61900:8;;;;;;61844:76;61930:34;61967;61986:15;61967:16;:34;:::i;:::-;61930:71;;62031:49;62035:16;62053:26;62031:3;:49::i;:::-;62098:20;;62012:68;;-1:-1:-1;62098:20:0;;;;;62093:280;;62153:17;;62139:10;;:31;62135:80;;62198:1;62191:8;;;;;;;62135:80;62229:25;62277:10;;62257:17;;:30;;;;:::i;:::-;62229:58;;62321:40;62325:16;62343:17;62321:3;:40::i;:::-;62302:59;;62120:253;62093:280;58480:22;58428:3;58480:4;:22;:::i;:::-;62389:10;;:29;62385:70;;62442:1;62435:8;;;;;;;62385:70;62514:10;;62465:28;;58480:22;58428:3;58480:4;:22;:::i;:::-;62496:28;;;;:::i;:::-;62465:59;;62554:43;62558:16;62576:20;62554:3;:43::i;:::-;62535:62;;62617:46;62621:16;62639:23;;62617:3;:46::i;:::-;62610:53;61605:1066;-1:-1:-1;;;;;;;61605:1066:0:o;59848:110::-;16108:6;;-1:-1:-1;;;;;16108:6:0;14839:10;16255:23;16247:68;;;;-1:-1:-1;;;16247:68:0;;;;;;;:::i;:::-;59924:20:::1;:26:::0;59848:110::o;58438:64::-;58480:22;58428:3;58480:4;:22;:::i;:::-;58438:64;:::o;59112:85::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;39575:713::-;39642:7;39687:13;;-1:-1:-1;;;;;39687:13:0;39642:7;;39901:328;39921:14;39917:1;:18;39901:328;;;39961:31;39995:14;;;:11;:14;;;;;;;;;39961:48;;;;;;;;;-1:-1:-1;;;;;39961:48:0;;;;-1:-1:-1;;;39961:48:0;;-1:-1:-1;;;;;39961:48:0;;;;;;;;-1:-1:-1;;;39961:48:0;;;;;;;;;;;;;;40028:186;;40093:5;40078:11;:20;40074:85;;;-1:-1:-1;40134:1:0;39575:713;-1:-1:-1;;;;39575:713:0:o;40074:85::-;40181:13;;;;;40028:186;-1:-1:-1;39937:3:0;;39901:328;;;;40257:23;;-1:-1:-1;;;40257:23:0;;;;;;;;;;;64124:97;16108:6;;-1:-1:-1;;;;;16108:6:0;14839:10;16255:23;16247:68;;;;-1:-1:-1;;;16247:68:0;;;;;;;:::i;:::-;64195:18:::1;:12;64210:3:::0;;64195:18:::1;:::i;59620:104::-:0;16108:6;;-1:-1:-1;;;;;16108:6:0;14839:10;16255:23;16247:68;;;;-1:-1:-1;;;16247:68:0;;;;;;;:::i;:::-;59690:20:::1;:26:::0;;;::::1;;;;-1:-1:-1::0;;59690:26:0;;::::1;::::0;;;::::1;::::0;;59620:104::o;60570:100::-;16108:6;;-1:-1:-1;;;;;16108:6:0;14839:10;16255:23;16247:68;;;;-1:-1:-1;;;16247:68:0;;;;;;;:::i;:::-;60641:15:::1;:21:::0;60570:100::o;44184:124::-;44248:7;44275:20;44287:7;44275:11;:20::i;:::-;:25;;44184:124;-1:-1:-1;;44184:124:0:o;59514:98::-;16108:6;;-1:-1:-1;;;;;16108:6:0;14839:10;16255:23;16247:68;;;;-1:-1:-1;;;16247:68:0;;;;;;;:::i;:::-;59581:17:::1;:23:::0;;-1:-1:-1;;59581:23:0::1;::::0;::::1;;::::0;;;::::1;::::0;;59514:98::o;42201:206::-;42265:7;-1:-1:-1;;;;;42289:19:0;;42285:60;;42317:28;;-1:-1:-1;;;42317:28:0;;;;;;;;;;;42285:60;-1:-1:-1;;;;;;42371:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;42371:27:0;;42201:206::o;16686:103::-;16108:6;;-1:-1:-1;;;;;16108:6:0;14839:10;16255:23;16247:68;;;;-1:-1:-1;;;16247:68:0;;;;;;;:::i;:::-;16751:30:::1;16778:1;16751:18;:30::i;60794:185::-:0;60861:20;;60837:7;;60861:20;;;;;60857:80;;;-1:-1:-1;60905:20:0;;;60794:185::o;60857:80::-;-1:-1:-1;60954:17:0;;;60794:185::o;60330:120::-;16108:6;;-1:-1:-1;;;;;16108:6:0;14839:10;16255:23;16247:68;;;;-1:-1:-1;;;16247:68:0;;;;;;;:::i;:::-;60411:25:::1;:31:::0;60330:120::o;44544:104::-;44600:13;44633:7;44626:14;;;;;:::i;46154:279::-;-1:-1:-1;;;;;46245:24:0;;14839:10;46245:24;46241:54;;;46278:17;;-1:-1:-1;;;46278:17:0;;;;;;;;;;;46241:54;14839:10;46308:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;46308:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;46308:53:0;;;;;;;;;;46377:48;;725:41:1;;;46308:42:0;;14839:10;46377:48;;698:18:1;46377:48:0;;;;;;;46154:279;;:::o;47232:342::-;47399:28;47409:4;47415:2;47419:7;47399:9;:28::i;:::-;47443:48;47466:4;47472:2;47476:7;47485:5;47443:22;:48::i;:::-;47438:129;;47515:40;;-1:-1:-1;;;47515:40:0;;;;;;;;;;;47438:129;47232:342;;;;:::o;63538:453::-;63628:17;;;;63620:56;;;;-1:-1:-1;;;63620:56:0;;9899:2:1;63620:56:0;;;9881:21:1;9938:2;9918:18;;;9911:30;9977:28;9957:18;;;9950:56;10023:18;;63620:56:0;9697:350:1;63620:56:0;63723:6;63708:12;:10;:12::i;:::-;:21;;;;:::i;:::-;63695:9;:34;;63687:65;;;;-1:-1:-1;;;63687:65:0;;10427:2:1;63687:65:0;;;10409:21:1;10466:2;10446:18;;;10439:30;-1:-1:-1;;;10485:18:1;;;10478:48;10543:18;;63687:65:0;10225:342:1;63687:65:0;63781:38;63801:10;63813:5;63781:19;:38::i;:::-;63771:6;:48;;63763:105;;;;-1:-1:-1;;;63763:105:0;;10774:2:1;63763:105:0;;;10756:21:1;10813:2;10793:18;;;10786:30;10852:34;10832:18;;;10825:62;-1:-1:-1;;;10903:18:1;;;10896:42;10955:19;;63763:105:0;10572:408:1;63763:105:0;63881:29;63891:10;63903:6;63881:9;:29::i;:::-;63931:10;63921:21;;;;:9;:21;;;;;:31;;63946:6;;63921:21;:31;;63946:6;;63921:31;:::i;:::-;;;;;;;;63977:6;63963:10;;:20;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;63538:453:0:o;44719:318::-;44792:13;44823:16;44831:7;44823;:16::i;:::-;44818:59;;44848:29;;-1:-1:-1;;;44848:29:0;;;;;;;;;;;44818:59;44890:21;44914:10;:8;:10::i;:::-;44890:34;;44948:7;44942:21;44967:1;44942:26;;:87;;;;;;;;;;;;;;;;;44995:7;45004:18;:7;:16;:18::i;:::-;44978:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;44942:87;44935:94;44719:318;-1:-1:-1;;;44719:318:0:o;60090:108::-;16108:6;;-1:-1:-1;;;;;16108:6:0;14839:10;16255:23;16247:68;;;;-1:-1:-1;;;16247:68:0;;;;;;;:::i;:::-;60165:19:::1;:25:::0;60090:108::o;60678:::-;16108:6;;-1:-1:-1;;;;;16108:6:0;14839:10;16255:23;16247:68;;;;-1:-1:-1;;;16247:68:0;;;;;;;:::i;:::-;60753:19:::1;:25:::0;60678:108::o;16944:201::-;16108:6;;-1:-1:-1;;;;;16108:6:0;14839:10;16255:23;16247:68;;;;-1:-1:-1;;;16247:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;17033:22:0;::::1;17025:73;;;::::0;-1:-1:-1;;;17025:73:0;;11795:2:1;17025:73:0::1;::::0;::::1;11777:21:1::0;11834:2;11814:18;;;11807:30;11873:34;11853:18;;;11846:62;-1:-1:-1;;;11924:18:1;;;11917:36;11970:19;;17025:73:0::1;11593:402:1::0;17025:73:0::1;17109:28;17128:8;17109:18;:28::i;:::-;16944:201:::0;:::o;18736:326::-;-1:-1:-1;;;;;19031:19:0;;:23;;;18736:326::o;47829:144::-;47886:4;47920:13;;-1:-1:-1;;;;;47920:13:0;47910:23;;:55;;;;-1:-1:-1;;47938:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;47938:27:0;;;;47937:28;;47829:144::o;55045:196::-;55160:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;55160:29:0;-1:-1:-1;;;;;55160:29:0;;;;;;;;;55205:28;;55160:24;;55205:28;;;;;;;55045:196;;;:::o;50546:2112::-;50661:35;50699:20;50711:7;50699:11;:20::i;:::-;50774:18;;50661:58;;-1:-1:-1;50732:22:0;;-1:-1:-1;;;;;50758:34:0;14839:10;-1:-1:-1;;;;;50758:34:0;;:101;;;-1:-1:-1;50826:18:0;;50809:50;;14839:10;46504:164;:::i;50809:50::-;50758:154;;;-1:-1:-1;14839:10:0;50876:20;50888:7;50876:11;:20::i;:::-;-1:-1:-1;;;;;50876:36:0;;50758:154;50732:181;;50931:17;50926:66;;50957:35;;-1:-1:-1;;;50957:35:0;;;;;;;;;;;50926:66;51029:4;-1:-1:-1;;;;;51007:26:0;:13;:18;;;-1:-1:-1;;;;;51007:26:0;;51003:67;;51042:28;;-1:-1:-1;;;51042:28:0;;;;;;;;;;;51003:67;-1:-1:-1;;;;;51085:16:0;;51081:52;;51110:23;;-1:-1:-1;;;51110:23:0;;;;;;;;;;;51081:52;51254:49;51271:1;51275:7;51284:13;:18;;;51254:8;:49::i;:::-;-1:-1:-1;;;;;51599:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;51599:31:0;;;-1:-1:-1;;;;;51599:31:0;;;-1:-1:-1;;51599:31:0;;;;;;;51645:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;51645:29:0;;;;;;;;;;;51691:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;51736:61:0;;;;-1:-1:-1;;;51781:15:0;51736:61;;;;;;;;;;;52071:11;;;52101:24;;;;;:29;52071:11;;52101:29;52097:445;;52326:13;;-1:-1:-1;;;;;52326:13:0;52312:27;;52308:219;;;52396:18;;;52364:24;;;:11;:24;;;;;;;;:50;;52479:28;;;;-1:-1:-1;;;;;52437:70:0;-1:-1:-1;;;52437:70:0;-1:-1:-1;;;;;;52437:70:0;;;-1:-1:-1;;;;;52364:50:0;;;52437:70;;;;;;;52308:219;51574:979;52589:7;52585:2;-1:-1:-1;;;;;52570:27:0;52579:4;-1:-1:-1;;;;;52570:27:0;;;;;;;;;;;52608:42;50650:2008;;50546:2112;;;:::o;956:190::-;1081:4;1134;1105:25;1118:5;1125:4;1105:12;:25::i;:::-;:33;;956:190;-1:-1:-1;;;;956:190:0:o;64355:106::-;64413:7;64444:1;64440;:5;:13;;64452:1;64440:13;;;-1:-1:-1;64448:1:0;;64433:20;-1:-1:-1;64355:106:0:o;43039:1083::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;43205:13:0;;43149:7;;-1:-1:-1;;;;;43205:13:0;43198:20;;43194:861;;;43239:31;43273:17;;;:11;:17;;;;;;;;;43239:51;;;;;;;;;-1:-1:-1;;;;;43239:51:0;;;;-1:-1:-1;;;43239:51:0;;-1:-1:-1;;;;;43239:51:0;;;;;;;;-1:-1:-1;;;43239:51:0;;;;;;;;;;;;;;43309:731;;43359:14;;-1:-1:-1;;;;;43359:28:0;;43355:101;;43423:9;43039:1083;-1:-1:-1;;;43039:1083:0:o;43355:101::-;-1:-1:-1;;;43800:6:0;43845:17;;;;:11;:17;;;;;;;;;43833:29;;;;;;;;;-1:-1:-1;;;;;43833:29:0;;;;;-1:-1:-1;;;43833:29:0;;-1:-1:-1;;;;;43833:29:0;;;;;;;;-1:-1:-1;;;43833:29:0;;;;;;;;;;;;;43893:28;43889:109;;43961:9;43039:1083;-1:-1:-1;;;43039:1083:0:o;43889:109::-;43760:261;;;43220:835;43194:861;44083:31;;-1:-1:-1;;;44083:31:0;;;;;;;;;;;17305:191;17398:6;;;-1:-1:-1;;;;;17415:17:0;;;-1:-1:-1;;;;;;17415:17:0;;;;;;;17448:40;;17398:6;;;17415:17;17398:6;;17448:40;;17379:16;;17448:40;17368:128;17305:191;:::o;55806:790::-;55961:4;-1:-1:-1;;;;;55982:13:0;;19031:19;:23;55978:611;;56018:72;;-1:-1:-1;;;56018:72:0;;-1:-1:-1;;;;;56018:36:0;;;;;:72;;14839:10;;56069:4;;56075:7;;56084:5;;56018:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56018:72:0;;;;;;;;-1:-1:-1;;56018:72:0;;;;;;;;;;;;:::i;:::-;;;56014:520;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56264:13:0;;56260:259;;56314:40;;-1:-1:-1;;;56314:40:0;;;;;;;;;;;56260:259;56469:6;56463:13;56454:6;56450:2;56446:15;56439:38;56014:520;-1:-1:-1;;;;;;56141:55:0;-1:-1:-1;;;56141:55:0;;-1:-1:-1;56134:62:0;;55978:611;-1:-1:-1;56573:4:0;55978:611;55806:790;;;;;;:::o;47981:104::-;48050:27;48060:2;48064:8;48050:27;;;;;;;;;;;;:9;:27::i;:::-;47981:104;;:::o;63999:114::-;64060:13;64093:12;64086:19;;;;;:::i;2787:723::-;2843:13;3064:10;3060:53;;-1:-1:-1;;3091:10:0;;;;;;;;;;;;-1:-1:-1;;;3091:10:0;;;;;2787:723::o;3060:53::-;3138:5;3123:12;3179:78;3186:9;;3179:78;;3212:8;;;;:::i;:::-;;-1:-1:-1;3235:10:0;;-1:-1:-1;3243:2:0;3235:10;;:::i;:::-;;;3179:78;;;3267:19;3299:6;-1:-1:-1;;;;;3289:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3289:17:0;;3267:39;;3317:154;3324:10;;3317:154;;3351:11;3361:1;3351:11;;:::i;:::-;;-1:-1:-1;3420:10:0;3428:2;3420:5;:10;:::i;:::-;3407:24;;:2;:24;:::i;:::-;3394:39;;3377:6;3384;3377:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;3377:56:0;;;;;;;;-1:-1:-1;3448:11:0;3457:2;3448:11;;:::i;:::-;;;3317:154;;1508:675;1591:7;1634:4;1591:7;1649:497;1673:5;:12;1669:1;:16;1649:497;;;1707:20;1730:5;1736:1;1730:8;;;;;;;;:::i;:::-;;;;;;;1707:31;;1773:12;1757;:28;1753:382;;2259:13;2309:15;;;2345:4;2338:15;;;2392:4;2376:21;;1885:57;;1753:382;;;2259:13;2309:15;;;2345:4;2338:15;;;2392:4;2376:21;;2062:57;;1753:382;-1:-1:-1;1687:3:0;;;;:::i;:::-;;;;1649:497;;;-1:-1:-1;2163:12:0;1508:675;-1:-1:-1;;;1508:675:0:o;48448:163::-;48571:32;48577:2;48581:8;48591:5;48598:4;49009:20;49032:13;-1:-1:-1;;;;;49032:13:0;-1:-1:-1;;;;;49060:16:0;;49056:48;;49085:19;;-1:-1:-1;;;49085:19:0;;;;;;;;;;;49056:48;49119:13;49115:44;;49141:18;;-1:-1:-1;;;49141:18:0;;;;;;;;;;;49115:44;-1:-1:-1;;;;;49511:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;;;;;49570:49:0;;-1:-1:-1;;;;;49511:44:0;;;;;;;49570:49;;;;-1:-1:-1;;49511:44:0;;;;;;49570:49;;;;;;;;;;;;;;;;49636:25;;;:11;:25;;;;;:35;;-1:-1:-1;;;;;;49686:66:0;;;;-1:-1:-1;;;49736:15:0;49686:66;;;;;;;;;;;49636:25;;49821:328;49841:8;49837:1;:12;49821:328;;;49880:38;;49905:12;;-1:-1:-1;;;;;49880:38:0;;;49897:1;;49880:38;;49897:1;;49880:38;49941:4;:68;;;;;49950:59;49981:1;49985:2;49989:12;50003:5;49950:22;:59::i;:::-;49949:60;49941:68;49937:164;;;50041:40;;-1:-1:-1;;;50041:40:0;;;;;;;;;;;49937:164;50119:14;;;;;49851:3;49821:328;;;-1:-1:-1;50165:13:0;:37;;-1:-1:-1;;;;;;50165:37:0;-1:-1:-1;;;;;50165:37:0;;;;;;;;;;50224:60;47232:342;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:180:1;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;-1:-1:-1;165:23:1;;14:180;-1:-1:-1;14:180:1:o;199:131::-;-1:-1:-1;;;;;;273:32:1;;263:43;;253:71;;320:1;317;310:12;335:245;393:6;446:2;434:9;425:7;421:23;417:32;414:52;;;462:1;459;452:12;414:52;501:9;488:23;520:30;544:5;520:30;:::i;777:258::-;849:1;859:113;873:6;870:1;867:13;859:113;;;949:11;;;943:18;930:11;;;923:39;895:2;888:10;859:113;;;990:6;987:1;984:13;981:48;;;-1:-1:-1;;1025:1:1;1007:16;;1000:27;777:258::o;1040:::-;1082:3;1120:5;1114:12;1147:6;1142:3;1135:19;1163:63;1219:6;1212:4;1207:3;1203:14;1196:4;1189:5;1185:16;1163:63;:::i;:::-;1280:2;1259:15;-1:-1:-1;;1255:29:1;1246:39;;;;1287:4;1242:50;;1040:258;-1:-1:-1;;1040:258:1:o;1303:220::-;1452:2;1441:9;1434:21;1415:4;1472:45;1513:2;1502:9;1498:18;1490:6;1472:45;:::i;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2688:127::-;2749:10;2744:3;2740:20;2737:1;2730:31;2780:4;2777:1;2770:15;2804:4;2801:1;2794:15;2820:275;2891:2;2885:9;2956:2;2937:13;;-1:-1:-1;;2933:27:1;2921:40;;-1:-1:-1;;;;;2976:34:1;;3012:22;;;2973:62;2970:88;;;3038:18;;:::i;:::-;3074:2;3067:22;2820:275;;-1:-1:-1;2820:275:1:o;3100:712::-;3154:5;3207:3;3200:4;3192:6;3188:17;3184:27;3174:55;;3225:1;3222;3215:12;3174:55;3261:6;3248:20;3287:4;-1:-1:-1;;;;;3306:2:1;3303:26;3300:52;;;3332:18;;:::i;:::-;3378:2;3375:1;3371:10;3401:28;3425:2;3421;3417:11;3401:28;:::i;:::-;3463:15;;;3533;;;3529:24;;;3494:12;;;;3565:15;;;3562:35;;;3593:1;3590;3583:12;3562:35;3629:2;3621:6;3617:15;3606:26;;3641:142;3657:6;3652:3;3649:15;3641:142;;;3723:17;;3711:30;;3674:12;;;;3761;;;;3641:142;;3817:422;3910:6;3918;3971:2;3959:9;3950:7;3946:23;3942:32;3939:52;;;3987:1;3984;3977:12;3939:52;4010:29;4029:9;4010:29;:::i;:::-;4000:39;;4090:2;4079:9;4075:18;4062:32;-1:-1:-1;;;;;4109:6:1;4106:30;4103:50;;;4149:1;4146;4139:12;4103:50;4172:61;4225:7;4216:6;4205:9;4201:22;4172:61;:::i;:::-;4162:71;;;3817:422;;;;;:::o;5020:186::-;5079:6;5132:2;5120:9;5111:7;5107:23;5103:32;5100:52;;;5148:1;5145;5138:12;5100:52;5171:29;5190:9;5171:29;:::i;5211:592::-;5282:6;5290;5343:2;5331:9;5322:7;5318:23;5314:32;5311:52;;;5359:1;5356;5349:12;5311:52;5399:9;5386:23;-1:-1:-1;;;;;5469:2:1;5461:6;5458:14;5455:34;;;5485:1;5482;5475:12;5455:34;5523:6;5512:9;5508:22;5498:32;;5568:7;5561:4;5557:2;5553:13;5549:27;5539:55;;5590:1;5587;5580:12;5539:55;5630:2;5617:16;5656:2;5648:6;5645:14;5642:34;;;5672:1;5669;5662:12;5642:34;5717:7;5712:2;5703:6;5699:2;5695:15;5691:24;5688:37;5685:57;;;5738:1;5735;5728:12;5685:57;5769:2;5761:11;;;;;5791:6;;-1:-1:-1;5211:592:1;;-1:-1:-1;;;;5211:592:1:o;5808:160::-;5873:20;;5929:13;;5922:21;5912:32;;5902:60;;5958:1;5955;5948:12;5973:180;6029:6;6082:2;6070:9;6061:7;6057:23;6053:32;6050:52;;;6098:1;6095;6088:12;6050:52;6121:26;6137:9;6121:26;:::i;6343:254::-;6408:6;6416;6469:2;6457:9;6448:7;6444:23;6440:32;6437:52;;;6485:1;6482;6475:12;6437:52;6508:29;6527:9;6508:29;:::i;:::-;6498:39;;6556:35;6587:2;6576:9;6572:18;6556:35;:::i;:::-;6546:45;;6343:254;;;;;:::o;6602:980::-;6697:6;6705;6713;6721;6774:3;6762:9;6753:7;6749:23;6745:33;6742:53;;;6791:1;6788;6781:12;6742:53;6814:29;6833:9;6814:29;:::i;:::-;6804:39;;6862:2;6883:38;6917:2;6906:9;6902:18;6883:38;:::i;:::-;6873:48;;6968:2;6957:9;6953:18;6940:32;6930:42;;7023:2;7012:9;7008:18;6995:32;-1:-1:-1;;;;;7087:2:1;7079:6;7076:14;7073:34;;;7103:1;7100;7093:12;7073:34;7141:6;7130:9;7126:22;7116:32;;7186:7;7179:4;7175:2;7171:13;7167:27;7157:55;;7208:1;7205;7198:12;7157:55;7244:2;7231:16;7266:2;7262;7259:10;7256:36;;;7272:18;;:::i;:::-;7314:53;7357:2;7338:13;;-1:-1:-1;;7334:27:1;7330:36;;7314:53;:::i;:::-;7301:66;;7390:2;7383:5;7376:17;7430:7;7425:2;7420;7416;7412:11;7408:20;7405:33;7402:53;;;7451:1;7448;7441:12;7402:53;7506:2;7501;7497;7493:11;7488:2;7481:5;7477:14;7464:45;7550:1;7545:2;7540;7533:5;7529:14;7525:23;7518:34;;7571:5;7561:15;;;;;6602:980;;;;;;;:::o;7587:416::-;7680:6;7688;7741:2;7729:9;7720:7;7716:23;7712:32;7709:52;;;7757:1;7754;7747:12;7709:52;7793:9;7780:23;7770:33;;7854:2;7843:9;7839:18;7826:32;-1:-1:-1;;;;;7873:6:1;7870:30;7867:50;;;7913:1;7910;7903:12;8190:260;8258:6;8266;8319:2;8307:9;8298:7;8294:23;8290:32;8287:52;;;8335:1;8332;8325:12;8287:52;8358:29;8377:9;8358:29;:::i;:::-;8348:39;;8406:38;8440:2;8429:9;8425:18;8406:38;:::i;8455:356::-;8657:2;8639:21;;;8676:18;;;8669:30;8735:34;8730:2;8715:18;;8708:62;8802:2;8787:18;;8455:356::o;8816:380::-;8895:1;8891:12;;;;8938;;;8959:61;;9013:4;9005:6;9001:17;8991:27;;8959:61;9066:2;9058:6;9055:14;9035:18;9032:38;9029:161;;;9112:10;9107:3;9103:20;9100:1;9093:31;9147:4;9144:1;9137:15;9175:4;9172:1;9165:15;9029:161;;8816:380;;;:::o;9435:127::-;9496:10;9491:3;9487:20;9484:1;9477:31;9527:4;9524:1;9517:15;9551:4;9548:1;9541:15;9567:125;9607:4;9635:1;9632;9629:8;9626:34;;;9640:18;;:::i;:::-;-1:-1:-1;9677:9:1;;9567:125::o;10052:168::-;10092:7;10158:1;10154;10150:6;10146:14;10143:1;10140:21;10135:1;10128:9;10121:17;10117:45;10114:71;;;10165:18;;:::i;:::-;-1:-1:-1;10205:9:1;;10052:168::o;10985:128::-;11025:3;11056:1;11052:6;11049:1;11046:13;11043:39;;;11062:18;;:::i;:::-;-1:-1:-1;11098:9:1;;10985:128::o;11118:470::-;11297:3;11335:6;11329:13;11351:53;11397:6;11392:3;11385:4;11377:6;11373:17;11351:53;:::i;:::-;11467:13;;11426:16;;;;11489:57;11467:13;11426:16;11523:4;11511:17;;11489:57;:::i;:::-;11562:20;;11118:470;-1:-1:-1;;;;11118:470:1:o;12000:489::-;-1:-1:-1;;;;;12269:15:1;;;12251:34;;12321:15;;12316:2;12301:18;;12294:43;12368:2;12353:18;;12346:34;;;12416:3;12411:2;12396:18;;12389:31;;;12194:4;;12437:46;;12463:19;;12455:6;12437:46;:::i;:::-;12429:54;12000:489;-1:-1:-1;;;;;;12000:489:1:o;12494:249::-;12563:6;12616:2;12604:9;12595:7;12591:23;12587:32;12584:52;;;12632:1;12629;12622:12;12584:52;12664:9;12658:16;12683:30;12707:5;12683:30;:::i;12748:135::-;12787:3;-1:-1:-1;;12808:17:1;;12805:43;;;12828:18;;:::i;:::-;-1:-1:-1;12875:1:1;12864:13;;12748:135::o;12888:127::-;12949:10;12944:3;12940:20;12937:1;12930:31;12980:4;12977:1;12970:15;13004:4;13001:1;12994:15;13020:120;13060:1;13086;13076:35;;13091:18;;:::i;:::-;-1:-1:-1;13125:9:1;;13020:120::o;13145:112::-;13177:1;13203;13193:35;;13208:18;;:::i;:::-;-1:-1:-1;13242:9:1;;13145:112::o;13262:127::-;13323:10;13318:3;13314:20;13311:1;13304:31;13354:4;13351:1;13344:15;13378:4;13375:1;13368:15

Swarm Source

ipfs://915f2d68e0009d9162c6caf2a74b0e5639b17febe3f2b0b541adb5e27c20e923

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.