ETH Price: $3,414.38 (+2.97%)

Contract

0xB87701bE1462C93009203F5AEB2eA0103763ee38
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...189072632023-12-31 18:31:59358 days ago1704047519IN
0xB87701bE...03763ee38
0 ETH0.0007102215.3847946
Set Approval For...168151642023-03-12 23:19:11652 days ago1678663151IN
0xB87701bE...03763ee38
0 ETH0.0017583438.13875617
Set Approval For...166984082023-02-24 13:12:23668 days ago1677244343IN
0xB87701bE...03763ee38
0 ETH0.0015722834.10299788
Safe Transfer Fr...165458242023-02-03 4:18:59690 days ago1675397939IN
0xB87701bE...03763ee38
0 ETH0.0025279623.68296087
Set Approval For...164307432023-01-18 2:36:35706 days ago1674009395IN
0xB87701bE...03763ee38
0 ETH0.0008296818.00534952
Set Approval For...164234172023-01-17 2:05:59707 days ago1673921159IN
0xB87701bE...03763ee38
0 ETH0.0008608218.68108243
Withdraw164201132023-01-16 15:01:35707 days ago1673881295IN
0xB87701bE...03763ee38
0 ETH0.0021546631.94366846
Set Approval For...164194362023-01-16 12:45:59707 days ago1673873159IN
0xB87701bE...03763ee38
0 ETH0.0007686316.6804247
Set Approval For...164193542023-01-16 12:29:35707 days ago1673872175IN
0xB87701bE...03763ee38
0 ETH0.0008402718.23503751
Set Approval For...164180272023-01-16 8:02:35707 days ago1673856155IN
0xB87701bE...03763ee38
0 ETH0.0009388720.37479624
Set Approval For...164145222023-01-15 20:15:35708 days ago1673813735IN
0xB87701bE...03763ee38
0 ETH0.0015072632.70967999
Set Approval For...164141982023-01-15 19:10:23708 days ago1673809823IN
0xB87701bE...03763ee38
0 ETH0.0011208324.32371779
Set Approval For...164140442023-01-15 18:39:23708 days ago1673807963IN
0xB87701bE...03763ee38
0 ETH0.0010062121.83622963
Set Approval For...164140412023-01-15 18:38:47708 days ago1673807927IN
0xB87701bE...03763ee38
0 ETH0.0009594620.82178803
Set Approval For...164140412023-01-15 18:38:47708 days ago1673807927IN
0xB87701bE...03763ee38
0 ETH0.0009594620.82178803
Set Approval For...164140262023-01-15 18:35:47708 days ago1673807747IN
0xB87701bE...03763ee38
0 ETH0.0008670118.81534742
Set Approval For...164140092023-01-15 18:32:23708 days ago1673807543IN
0xB87701bE...03763ee38
0 ETH0.0007833617
Set Approval For...164140092023-01-15 18:32:23708 days ago1673807543IN
0xB87701bE...03763ee38
0 ETH0.0004829318.44655604
Set Approval For...164140082023-01-15 18:32:11708 days ago1673807531IN
0xB87701bE...03763ee38
0 ETH0.0008763319.01766792
Set Approval For...164140062023-01-15 18:31:47708 days ago1673807507IN
0xB87701bE...03763ee38
0 ETH0.0008715518.91396259
Set Approval For...164139972023-01-15 18:29:59708 days ago1673807399IN
0xB87701bE...03763ee38
0 ETH0.0009472120.55592897
Set Approval For...164139942023-01-15 18:29:23708 days ago1673807363IN
0xB87701bE...03763ee38
0 ETH0.0009395120.38887701
Set Approval For...164139852023-01-15 18:27:35708 days ago1673807255IN
0xB87701bE...03763ee38
0 ETH0.000998221.66237452
PUBLIC_MINT164139642023-01-15 18:23:23708 days ago1673807003IN
0xB87701bE...03763ee38
0 ETH0.0005607420
PUBLIC_MINT164139642023-01-15 18:23:23708 days ago1673807003IN
0xB87701bE...03763ee38
0 ETH0.0005607420
View all transactions

Latest 2 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
164201132023-01-16 15:01:35707 days ago1673881295
0xB87701bE...03763ee38
0.60786 ETH
164201132023-01-16 15:01:35707 days ago1673881295
0xB87701bE...03763ee38
1.41834 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Arla

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-01-14
*/

// File: @openzeppelin/contracts/utils/math/SafeMath.sol


// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

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


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

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


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

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // =============================================================
    //                            STRUCTS
    // =============================================================

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

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() external view returns (uint256);

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`,
     * 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,
        bytes calldata data
    ) external;

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId`
     * (inclusive) is transferred from `from` to `to`, as defined in the
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}
// 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: ERC721A.sol


// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;



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

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Reference type for token approval.
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // Mask of an entry in packed address data.
    uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

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

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

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

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

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

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

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

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

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

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

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

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

    // The `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID to be minted.
    uint256 private _currentIndex;

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

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

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

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

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

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

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

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

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
    }

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

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

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

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

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes
        // of the XOR of all function selectors in the interface.
        // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
        // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

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

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

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

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

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

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

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

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

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & _BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

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

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

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @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) public virtual override {
        address owner = ownerOf(tokenId);

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

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

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @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) public virtual override {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

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

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

    /**
     * @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. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

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

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) public virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

    /**
     * @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 memory _data
    ) public virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

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

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

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

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

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

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

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

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

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

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

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

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

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

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

    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

    // =============================================================
    //                     EXTRA DATA OPERATIONS
    // =============================================================

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

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

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

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

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

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

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

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

            let length := sub(end, str)
            // Move the pointer 32 bytes leftwards to make room for the length.
            str := sub(str, 0x20)
            // Store the length.
            mstore(str, length)
        }
    }
}
// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

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

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

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

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

// File: Arlasoul.sol

//SPDX-License-Identifier: MIT








pragma solidity ^0.8.4;

contract Arla is ERC721A, Ownable, ReentrancyGuard {

   uint256 public PUBLIC_PRICE = 0.0066 ether;
    uint256 public WL_COST = 0 ether;
    uint16 public maxSupply = 999;
    uint256 private WL_LIMIT = 222;
    uint256 private OG_LIMIT = 110;
    uint256 private WL_COUNTER = 0;
    uint256 private OG_COUNTER = 0;

    mapping (address => uint8) private WL_MINTED;
    mapping (address => uint8) private _minted;


    uint8 public maxMintAmount = 3;

    string private _baseTokenURI =
        "";

    bytes32 private WL_ROOT;

    bool public WL_SALE_ACTIVE;
    bool public PUBLIC_SALE_ACTIVE;

    constructor() ERC721A("Arla", "soul") {
      _mint(0x4af81154645967D7ab1Cb77A83080A0Bf5F86D8E, 1);
    }

    modifier callerIsUser() {
        if (msg.sender != tx.origin) revert ("no Contract!");
        _;
    }

    function SET_WL_ROOT(bytes32 _WL_ROOT)
        external
        onlyOwner
    {
        WL_ROOT = _WL_ROOT;
    }

    function WL_CONFIRMED(address _user, bytes32[] calldata WL_PROOF)
        external
        view
        returns (bool)
    {
        return
            MerkleProof.verify(
                WL_PROOF,
                WL_ROOT,
                keccak256(abi.encodePacked(_user))
            );
    }
    
    function SET_WL_LIMIT(uint256 _WL_LIMIT)external onlyOwner{
        WL_LIMIT = _WL_LIMIT;
    }

    function reduceSupply(uint16 _newReducedSupply) external onlyOwner {
        if (_newReducedSupply > maxSupply) revert ("Can not Increase Max Supply!");
        maxSupply = _newReducedSupply;
    }

    function SET_PUBLIC_COST(uint256 _newPUBLIC_PRICE) external onlyOwner {
        if (_newPUBLIC_PRICE > PUBLIC_PRICE) revert ("Can not Increase Cost!");
        PUBLIC_PRICE = _newPUBLIC_PRICE;
    }

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

    function SET_WL_COST(uint256 _newWL_COST) external onlyOwner {
        if (_newWL_COST > WL_COST) revert ("Can not Increase Cost!");
        WL_COST = _newWL_COST;
    }

    function WL_MINT(bytes32[] calldata WL_PROOF)
        external
        payable
        callerIsUser
    {
        uint256 ts = totalSupply();
        if(WL_COUNTER > WL_LIMIT) revert ("WL Supply Sold Out!");
        if (!WL_SALE_ACTIVE) revert ("WL Sale is Not Active.");
        if (ts + 1 > maxSupply) revert ("Mint Would Exceed MaxSupply");
        if (msg.value != WL_COST * 1) revert ("Insufficient Fund!");
        if (
            !MerkleProof.verify(
                WL_PROOF,
                WL_ROOT,
                keccak256(abi.encodePacked(msg.sender))
            )
        ) revert ("Only WL!");
        if (WL_MINTED[msg.sender] + 1 > 1)
            revert ("Already Minted!");

        WL_COUNTER += 1;
        WL_MINTED[msg.sender] += 1;
        _mint(msg.sender, 1);        
    }

    function PUBLIC_MINT(uint8 _amount) external payable callerIsUser {
        uint256 ts = totalSupply();
            if (!PUBLIC_SALE_ACTIVE) revert ("Public Sale is Not Active.");
            if (ts + _amount > maxSupply - WL_LIMIT) revert ("Max Supply Sold Out!");
            if (_minted[msg.sender] + _amount > maxMintAmount)
                revert ("Already Minted!");
            if (msg.value != PUBLIC_PRICE * _amount) revert ("Insufficient Fund!");

            _minted[msg.sender] += _amount; 

            _mint(msg.sender, _amount);
        }

    function OG_DROP(address[] memory targets) external onlyOwner {
        if (targets.length + OG_COUNTER >= OG_LIMIT) revert ("Max Supply Sold Out!");

        OG_COUNTER += targets.length;

        for (uint256 i = 0; i < targets.length; i++) {
            _mint(targets[i], 2);
        }
    }
    

    function setMaxMintAmount(uint8 _maxMintAmount) external onlyOwner {
        maxMintAmount = _maxMintAmount;
    }

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

    function setBaseURI(string calldata baseURI) external onlyOwner {
        _baseTokenURI = baseURI;
    }

    function Start() external onlyOwner {
        PUBLIC_SALE_ACTIVE = !PUBLIC_SALE_ACTIVE;
    }

    function Flip_Sale() external onlyOwner {
        PUBLIC_SALE_ACTIVE = !PUBLIC_SALE_ACTIVE;
        WL_SALE_ACTIVE = !WL_SALE_ACTIVE;
    }

    function Pause() external onlyOwner {
        PUBLIC_SALE_ACTIVE = false;
        WL_SALE_ACTIVE = false;
    }

    function withdraw() external onlyOwner nonReentrant {
        (bool hs, ) = payable(0xD59e4BF1e4499dF016C5353D867B51e0F9BeB9ce).call{value: address(this).balance * 70 / 100}('');
        require(hs);
        (bool os, ) = payable(owner()).call{value: address(this).balance}('');
        require(os);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"Flip_Sale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"targets","type":"address[]"}],"name":"OG_DROP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_amount","type":"uint8"}],"name":"PUBLIC_MINT","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"PUBLIC_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_SALE_ACTIVE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPUBLIC_PRICE","type":"uint256"}],"name":"SET_PUBLIC_COST","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newWL_COST","type":"uint256"}],"name":"SET_WL_COST","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_WL_LIMIT","type":"uint256"}],"name":"SET_WL_LIMIT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_WL_ROOT","type":"bytes32"}],"name":"SET_WL_ROOT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"Start","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"bytes32[]","name":"WL_PROOF","type":"bytes32[]"}],"name":"WL_CONFIRMED","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WL_COST","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"WL_PROOF","type":"bytes32[]"}],"name":"WL_MINT","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"WL_SALE_ACTIVE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_newReducedSupply","type":"uint16"}],"name":"reduceSupply","outputs":[],"stateMutability":"nonpayable","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":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_maxMintAmount","type":"uint8"}],"name":"setMaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

661772aa3f848000600a556000600b819055600c805461ffff19166103e717905560de600d55606e600e55600f81905560108190556013805460ff1916600317905560a060405260809081526014906200005a9082620002df565b503480156200006857600080fd5b506040518060400160405280600481526020016341726c6160e01b815250604051806040016040528060048152602001631cdbdd5b60e21b8152508160029081620000b49190620002df565b506003620000c38282620002df565b5050600160005550620000d63362000104565b60016009819055620000fe90734af81154645967d7ab1cb77a83080a0bf5f86d8e9062000156565b620003ab565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008054908290036200017c5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b17831790558284019083908390600080516020620025f18339815191528180a4600183015b8181146200020b5780836000600080516020620025f1833981519152600080a4600101620001e2565b50816000036200022d57604051622e076360e81b815260040160405180910390fd5b60005550505050565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200026657607f821691505b6020821081036200028757634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200023657600081815260208120601f850160051c81016020861015620002b65750805b601f850160051c820191505b81811015620002d757828155600101620002c2565b505050505050565b81516001600160401b03811115620002fb57620002fb6200023b565b62000313816200030c845462000251565b846200028d565b602080601f8311600181146200034b5760008415620003325750858301515b600019600386901b1c1916600185901b178555620002d7565b600085815260208120601f198616915b828110156200037c578886015182559484019460019091019084016200035b565b50858210156200039b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61223680620003bb6000396000f3fe6080604052600436106102255760003560e01c806365144bb111610123578063987222b5116100ab578063e985e9c51161006f578063e985e9c514610623578063ed55b97014610643578063f2fde38b14610663578063fb593a4114610683578063fd46d787146106a357600080fd5b8063987222b514610575578063a22cb46514610595578063b88d4fde146105b5578063c87b56dd146105d5578063d5abeb01146105f557600080fd5b8063726abd22116100f2578063726abd22146104ed57806381fb98d01461050357806389ba09f1146105235780638da5cb5b1461054257806395d89b411461056057600080fd5b806365144bb11461048e5780636985a022146104a357806370a08231146104b8578063715018a6146104d857600080fd5b80633316a337116101b157806342842e0e1161017557806342842e0e1461040557806355f804b3146104255780635b42dad114610445578063611f3f10146104585780636352211e1461046e57600080fd5b80633316a3371461038357806337a72e141461039d578063385d2a8d146103bd5780633ccfd60b146103d05780634118bd85146103e557600080fd5b806318160ddd116101f857806318160ddd146102db5780631b55ba3a14610302578063239c70ae1461031757806323b872dd146103435780632bb7c8601461036357600080fd5b806301ffc9a71461022a57806306fdde031461025f578063081812fc14610281578063095ea7b3146102b9575b600080fd5b34801561023657600080fd5b5061024a610245366004611a76565b6106c3565b60405190151581526020015b60405180910390f35b34801561026b57600080fd5b50610274610715565b6040516102569190611ae3565b34801561028d57600080fd5b506102a161029c366004611af6565b6107a7565b6040516001600160a01b039091168152602001610256565b3480156102c557600080fd5b506102d96102d4366004611b2b565b6107eb565b005b3480156102e757600080fd5b5060015460005403600019015b604051908152602001610256565b34801561030e57600080fd5b506102d961088b565b34801561032357600080fd5b506013546103319060ff1681565b60405160ff9091168152602001610256565b34801561034f57600080fd5b506102d961035e366004611b55565b6108b0565b34801561036f57600080fd5b506102d961037e366004611af6565b610a49565b34801561038f57600080fd5b5060165461024a9060ff1681565b3480156103a957600080fd5b506102d96103b8366004611bd8565b610aa6565b6102d96103cb366004611c85565b610b63565b3480156103dc57600080fd5b506102d9610d79565b3480156103f157600080fd5b506102d9610400366004611af6565b610ecf565b34801561041157600080fd5b506102d9610420366004611b55565b610edc565b34801561043157600080fd5b506102d9610440366004611ca8565b610efc565b6102d9610453366004611d66565b610f11565b34801561046457600080fd5b506102f4600a5481565b34801561047a57600080fd5b506102a1610489366004611af6565b61121a565b34801561049a57600080fd5b506102d9611225565b3480156104af57600080fd5b506102d9611259565b3480156104c457600080fd5b506102f46104d3366004611da8565b61126e565b3480156104e457600080fd5b506102d96112bd565b3480156104f957600080fd5b506102f4600b5481565b34801561050f57600080fd5b506102d961051e366004611af6565b6112d1565b34801561052f57600080fd5b5060165461024a90610100900460ff1681565b34801561054e57600080fd5b506008546001600160a01b03166102a1565b34801561056c57600080fd5b506102746112de565b34801561058157600080fd5b506102d9610590366004611dc3565b6112ed565b3480156105a157600080fd5b506102d96105b0366004611de7565b611367565b3480156105c157600080fd5b506102d96105d0366004611e23565b6113fc565b3480156105e157600080fd5b506102746105f0366004611af6565b611446565b34801561060157600080fd5b50600c546106109061ffff1681565b60405161ffff9091168152602001610256565b34801561062f57600080fd5b5061024a61063e366004611ee3565b6114ca565b34801561064f57600080fd5b5061024a61065e366004611f16565b6114f8565b34801561066f57600080fd5b506102d961067e366004611da8565b611562565b34801561068f57600080fd5b506102d961069e366004611af6565b6115db565b3480156106af57600080fd5b506102d96106be366004611c85565b611633565b60006301ffc9a760e01b6001600160e01b0319831614806106f457506380ac58cd60e01b6001600160e01b03198316145b8061070f5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461072490611f69565b80601f016020809104026020016040519081016040528092919081815260200182805461075090611f69565b801561079d5780601f106107725761010080835404028352916020019161079d565b820191906000526020600020905b81548152906001019060200180831161078057829003601f168201915b5050505050905090565b60006107b282611651565b6107cf576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006107f68261121a565b9050336001600160a01b0382161461082f5761081281336114ca565b61082f576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610893611686565b6016805461ff001981166101009182900460ff1615909102179055565b60006108bb826116e0565b9050836001600160a01b0316816001600160a01b0316146108ee5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761093b5761091e86336114ca565b61093b57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661096257604051633a954ecd60e21b815260040160405180910390fd5b801561096d57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036109ff576001840160008181526004602052604081205490036109fd5760005481146109fd5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610a51611686565b600a54811115610aa15760405162461bcd60e51b815260206004820152601660248201527543616e206e6f7420496e63726561736520436f73742160501b60448201526064015b60405180910390fd5b600a55565b610aae611686565b600e546010548251610ac09190611fb9565b10610b045760405162461bcd60e51b81526020600482015260146024820152734d617820537570706c7920536f6c64204f75742160601b6044820152606401610a98565b805160106000828254610b179190611fb9565b90915550600090505b8151811015610b5f57610b4d828281518110610b3e57610b3e611fcc565b6020026020010151600261174f565b80610b5781611fe2565b915050610b20565b5050565b333214610ba15760405162461bcd60e51b815260206004820152600c60248201526b6e6f20436f6e74726163742160a01b6044820152606401610a98565b6000610bb66001546000546000199190030190565b601654909150610100900460ff16610c105760405162461bcd60e51b815260206004820152601a60248201527f5075626c69632053616c65206973204e6f74204163746976652e0000000000006044820152606401610a98565b600d54600c54610c24919061ffff16611ffb565b610c3160ff841683611fb9565b1115610c765760405162461bcd60e51b81526020600482015260146024820152734d617820537570706c7920536f6c64204f75742160601b6044820152606401610a98565b6013543360009081526012602052604090205460ff91821691610c9b9185911661200e565b60ff161115610cde5760405162461bcd60e51b815260206004820152600f60248201526e416c7265616479204d696e7465642160881b6044820152606401610a98565b8160ff16600a54610cef9190612027565b3414610d325760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742046756e642160701b6044820152606401610a98565b3360009081526012602052604081208054849290610d5490849060ff1661200e565b92506101000a81548160ff021916908360ff160217905550610b5f338360ff1661174f565b610d81611686565b600260095403610dd35760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a98565b6002600955600073d59e4bf1e4499df016c5353d867b51e0f9beb9ce6064610dfc476046612027565b610e06919061203e565b604051600081818185875af1925050503d8060008114610e42576040519150601f19603f3d011682016040523d82523d6000602084013e610e47565b606091505b5050905080610e5557600080fd5b6000610e696008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610eb3576040519150601f19603f3d011682016040523d82523d6000602084013e610eb8565b606091505b5050905080610ec657600080fd5b50506001600955565b610ed7611686565b600d55565b610ef7838383604051806020016040528060008152506113fc565b505050565b610f04611686565b6014610ef78284836120a6565b333214610f4f5760405162461bcd60e51b815260206004820152600c60248201526b6e6f20436f6e74726163742160a01b6044820152606401610a98565b6000610f646001546000546000199190030190565b9050600d54600f541115610fb05760405162461bcd60e51b8152602060048201526013602482015272574c20537570706c7920536f6c64204f75742160681b6044820152606401610a98565b60165460ff16610ffb5760405162461bcd60e51b81526020600482015260166024820152752ba61029b0b6329034b9902737ba1020b1ba34bb329760511b6044820152606401610a98565b600c5461ffff1661100d826001611fb9565b111561105b5760405162461bcd60e51b815260206004820152601b60248201527f4d696e7420576f756c6420457863656564204d6178537570706c7900000000006044820152606401610a98565b600b54611069906001612027565b34146110ac5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742046756e642160701b6044820152606401610a98565b611122838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506015546040516bffffffffffffffffffffffff193360601b16602082015290925060340190505b6040516020818303038152906040528051906020012061184d565b6111595760405162461bcd60e51b81526020600482015260086024820152674f6e6c7920574c2160c01b6044820152606401610a98565b336000908152601160205260409020546001906111799060ff168261200e565b60ff1611156111bc5760405162461bcd60e51b815260206004820152600f60248201526e416c7265616479204d696e7465642160881b6044820152606401610a98565b6001600f60008282546111cf9190611fb9565b90915550503360009081526011602052604081208054600192906111f790849060ff1661200e565b92506101000a81548160ff021916908360ff160217905550610ef733600161174f565b600061070f826116e0565b61122d611686565b6016805460ff1960ff6101008084048216150291821661ffff1984161791811692169190911715179055565b611261611686565b6016805461ffff19169055565b60006001600160a01b038216611297576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6112c5611686565b6112cf6000611863565b565b6112d9611686565b601555565b60606003805461072490611f69565b6112f5611686565b600c5461ffff908116908216111561134f5760405162461bcd60e51b815260206004820152601c60248201527f43616e206e6f7420496e637265617365204d617820537570706c7921000000006044820152606401610a98565b600c805461ffff191661ffff92909216919091179055565b336001600160a01b038316036113905760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6114078484846108b0565b6001600160a01b0383163b1561144057611423848484846118b5565b611440576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061145182611651565b61146e57604051630a14c4b560e41b815260040160405180910390fd5b60006114786119a0565b9050805160000361149857604051806020016040528060008152506114c3565b806114a2846119af565b6040516020016114b3929190612167565b6040516020818303038152906040525b9392505050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b600061155a838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506015546040516bffffffffffffffffffffffff1960608b901b1660208201529092506034019050611107565b949350505050565b61156a611686565b6001600160a01b0381166115cf5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a98565b6115d881611863565b50565b6115e3611686565b600b5481111561162e5760405162461bcd60e51b815260206004820152601660248201527543616e206e6f7420496e63726561736520436f73742160501b6044820152606401610a98565b600b55565b61163b611686565b6013805460ff191660ff92909216919091179055565b600081600111158015611665575060005482105b801561070f575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b031633146112cf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a98565b60008180600111611736576000548110156117365760008181526004602052604081205490600160e01b82169003611734575b806000036114c3575060001901600081815260046020526040902054611713565b505b604051636f96cda160e11b815260040160405180910390fd5b60008054908290036117745760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461182357808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016117eb565b508160000361184457604051622e076360e81b815260040160405180910390fd5b60005550505050565b60008261185a85846119e7565b14949350505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906118ea9033908990889088906004016121a6565b6020604051808303816000875af1925050508015611925575060408051601f3d908101601f19168201909252611922918101906121e3565b60015b611983573d808015611953576040519150601f19603f3d011682016040523d82523d6000602084013e611958565b606091505b50805160000361197b576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60606014805461072490611f69565b604080516080019081905280825b600183039250600a81066030018353600a9004806119bd5750819003601f19909101908152919050565b600081815b8451811015611a2c57611a1882868381518110611a0b57611a0b611fcc565b6020026020010151611a34565b915080611a2481611fe2565b9150506119ec565b509392505050565b6000818310611a505760008281526020849052604090206114c3565b5060009182526020526040902090565b6001600160e01b0319811681146115d857600080fd5b600060208284031215611a8857600080fd5b81356114c381611a60565b60005b83811015611aae578181015183820152602001611a96565b50506000910152565b60008151808452611acf816020860160208601611a93565b601f01601f19169290920160200192915050565b6020815260006114c36020830184611ab7565b600060208284031215611b0857600080fd5b5035919050565b80356001600160a01b0381168114611b2657600080fd5b919050565b60008060408385031215611b3e57600080fd5b611b4783611b0f565b946020939093013593505050565b600080600060608486031215611b6a57600080fd5b611b7384611b0f565b9250611b8160208501611b0f565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611bd057611bd0611b91565b604052919050565b60006020808385031215611beb57600080fd5b823567ffffffffffffffff80821115611c0357600080fd5b818501915085601f830112611c1757600080fd5b813581811115611c2957611c29611b91565b8060051b9150611c3a848301611ba7565b8181529183018401918481019088841115611c5457600080fd5b938501935b83851015611c7957611c6a85611b0f565b82529385019390850190611c59565b98975050505050505050565b600060208284031215611c9757600080fd5b813560ff811681146114c357600080fd5b60008060208385031215611cbb57600080fd5b823567ffffffffffffffff80821115611cd357600080fd5b818501915085601f830112611ce757600080fd5b813581811115611cf657600080fd5b866020828501011115611d0857600080fd5b60209290920196919550909350505050565b60008083601f840112611d2c57600080fd5b50813567ffffffffffffffff811115611d4457600080fd5b6020830191508360208260051b8501011115611d5f57600080fd5b9250929050565b60008060208385031215611d7957600080fd5b823567ffffffffffffffff811115611d9057600080fd5b611d9c85828601611d1a565b90969095509350505050565b600060208284031215611dba57600080fd5b6114c382611b0f565b600060208284031215611dd557600080fd5b813561ffff811681146114c357600080fd5b60008060408385031215611dfa57600080fd5b611e0383611b0f565b915060208301358015158114611e1857600080fd5b809150509250929050565b60008060008060808587031215611e3957600080fd5b611e4285611b0f565b93506020611e51818701611b0f565b935060408601359250606086013567ffffffffffffffff80821115611e7557600080fd5b818801915088601f830112611e8957600080fd5b813581811115611e9b57611e9b611b91565b611ead601f8201601f19168501611ba7565b91508082528984828501011115611ec357600080fd5b808484018584013760008482840101525080935050505092959194509250565b60008060408385031215611ef657600080fd5b611eff83611b0f565b9150611f0d60208401611b0f565b90509250929050565b600080600060408486031215611f2b57600080fd5b611f3484611b0f565b9250602084013567ffffffffffffffff811115611f5057600080fd5b611f5c86828701611d1a565b9497909650939450505050565b600181811c90821680611f7d57607f821691505b602082108103611f9d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561070f5761070f611fa3565b634e487b7160e01b600052603260045260246000fd5b600060018201611ff457611ff4611fa3565b5060010190565b8181038181111561070f5761070f611fa3565b60ff818116838216019081111561070f5761070f611fa3565b808202811582820484141761070f5761070f611fa3565b60008261205b57634e487b7160e01b600052601260045260246000fd5b500490565b601f821115610ef757600081815260208120601f850160051c810160208610156120875750805b601f850160051c820191505b81811015610a4157828155600101612093565b67ffffffffffffffff8311156120be576120be611b91565b6120d2836120cc8354611f69565b83612060565b6000601f84116001811461210657600085156120ee5750838201355b600019600387901b1c1916600186901b178355612160565b600083815260209020601f19861690835b828110156121375786850135825560209485019460019092019101612117565b50868210156121545760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b60008351612179818460208801611a93565b83519083019061218d818360208801611a93565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906121d990830184611ab7565b9695505050505050565b6000602082840312156121f557600080fd5b81516114c381611a6056fea2646970667358221220cb453159daf678fb43efc6026a7bc7456bbcfefa8439b635196e98c552c5968d64736f6c63430008110033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef

Deployed Bytecode

0x6080604052600436106102255760003560e01c806365144bb111610123578063987222b5116100ab578063e985e9c51161006f578063e985e9c514610623578063ed55b97014610643578063f2fde38b14610663578063fb593a4114610683578063fd46d787146106a357600080fd5b8063987222b514610575578063a22cb46514610595578063b88d4fde146105b5578063c87b56dd146105d5578063d5abeb01146105f557600080fd5b8063726abd22116100f2578063726abd22146104ed57806381fb98d01461050357806389ba09f1146105235780638da5cb5b1461054257806395d89b411461056057600080fd5b806365144bb11461048e5780636985a022146104a357806370a08231146104b8578063715018a6146104d857600080fd5b80633316a337116101b157806342842e0e1161017557806342842e0e1461040557806355f804b3146104255780635b42dad114610445578063611f3f10146104585780636352211e1461046e57600080fd5b80633316a3371461038357806337a72e141461039d578063385d2a8d146103bd5780633ccfd60b146103d05780634118bd85146103e557600080fd5b806318160ddd116101f857806318160ddd146102db5780631b55ba3a14610302578063239c70ae1461031757806323b872dd146103435780632bb7c8601461036357600080fd5b806301ffc9a71461022a57806306fdde031461025f578063081812fc14610281578063095ea7b3146102b9575b600080fd5b34801561023657600080fd5b5061024a610245366004611a76565b6106c3565b60405190151581526020015b60405180910390f35b34801561026b57600080fd5b50610274610715565b6040516102569190611ae3565b34801561028d57600080fd5b506102a161029c366004611af6565b6107a7565b6040516001600160a01b039091168152602001610256565b3480156102c557600080fd5b506102d96102d4366004611b2b565b6107eb565b005b3480156102e757600080fd5b5060015460005403600019015b604051908152602001610256565b34801561030e57600080fd5b506102d961088b565b34801561032357600080fd5b506013546103319060ff1681565b60405160ff9091168152602001610256565b34801561034f57600080fd5b506102d961035e366004611b55565b6108b0565b34801561036f57600080fd5b506102d961037e366004611af6565b610a49565b34801561038f57600080fd5b5060165461024a9060ff1681565b3480156103a957600080fd5b506102d96103b8366004611bd8565b610aa6565b6102d96103cb366004611c85565b610b63565b3480156103dc57600080fd5b506102d9610d79565b3480156103f157600080fd5b506102d9610400366004611af6565b610ecf565b34801561041157600080fd5b506102d9610420366004611b55565b610edc565b34801561043157600080fd5b506102d9610440366004611ca8565b610efc565b6102d9610453366004611d66565b610f11565b34801561046457600080fd5b506102f4600a5481565b34801561047a57600080fd5b506102a1610489366004611af6565b61121a565b34801561049a57600080fd5b506102d9611225565b3480156104af57600080fd5b506102d9611259565b3480156104c457600080fd5b506102f46104d3366004611da8565b61126e565b3480156104e457600080fd5b506102d96112bd565b3480156104f957600080fd5b506102f4600b5481565b34801561050f57600080fd5b506102d961051e366004611af6565b6112d1565b34801561052f57600080fd5b5060165461024a90610100900460ff1681565b34801561054e57600080fd5b506008546001600160a01b03166102a1565b34801561056c57600080fd5b506102746112de565b34801561058157600080fd5b506102d9610590366004611dc3565b6112ed565b3480156105a157600080fd5b506102d96105b0366004611de7565b611367565b3480156105c157600080fd5b506102d96105d0366004611e23565b6113fc565b3480156105e157600080fd5b506102746105f0366004611af6565b611446565b34801561060157600080fd5b50600c546106109061ffff1681565b60405161ffff9091168152602001610256565b34801561062f57600080fd5b5061024a61063e366004611ee3565b6114ca565b34801561064f57600080fd5b5061024a61065e366004611f16565b6114f8565b34801561066f57600080fd5b506102d961067e366004611da8565b611562565b34801561068f57600080fd5b506102d961069e366004611af6565b6115db565b3480156106af57600080fd5b506102d96106be366004611c85565b611633565b60006301ffc9a760e01b6001600160e01b0319831614806106f457506380ac58cd60e01b6001600160e01b03198316145b8061070f5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461072490611f69565b80601f016020809104026020016040519081016040528092919081815260200182805461075090611f69565b801561079d5780601f106107725761010080835404028352916020019161079d565b820191906000526020600020905b81548152906001019060200180831161078057829003601f168201915b5050505050905090565b60006107b282611651565b6107cf576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006107f68261121a565b9050336001600160a01b0382161461082f5761081281336114ca565b61082f576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610893611686565b6016805461ff001981166101009182900460ff1615909102179055565b60006108bb826116e0565b9050836001600160a01b0316816001600160a01b0316146108ee5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761093b5761091e86336114ca565b61093b57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661096257604051633a954ecd60e21b815260040160405180910390fd5b801561096d57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036109ff576001840160008181526004602052604081205490036109fd5760005481146109fd5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610a51611686565b600a54811115610aa15760405162461bcd60e51b815260206004820152601660248201527543616e206e6f7420496e63726561736520436f73742160501b60448201526064015b60405180910390fd5b600a55565b610aae611686565b600e546010548251610ac09190611fb9565b10610b045760405162461bcd60e51b81526020600482015260146024820152734d617820537570706c7920536f6c64204f75742160601b6044820152606401610a98565b805160106000828254610b179190611fb9565b90915550600090505b8151811015610b5f57610b4d828281518110610b3e57610b3e611fcc565b6020026020010151600261174f565b80610b5781611fe2565b915050610b20565b5050565b333214610ba15760405162461bcd60e51b815260206004820152600c60248201526b6e6f20436f6e74726163742160a01b6044820152606401610a98565b6000610bb66001546000546000199190030190565b601654909150610100900460ff16610c105760405162461bcd60e51b815260206004820152601a60248201527f5075626c69632053616c65206973204e6f74204163746976652e0000000000006044820152606401610a98565b600d54600c54610c24919061ffff16611ffb565b610c3160ff841683611fb9565b1115610c765760405162461bcd60e51b81526020600482015260146024820152734d617820537570706c7920536f6c64204f75742160601b6044820152606401610a98565b6013543360009081526012602052604090205460ff91821691610c9b9185911661200e565b60ff161115610cde5760405162461bcd60e51b815260206004820152600f60248201526e416c7265616479204d696e7465642160881b6044820152606401610a98565b8160ff16600a54610cef9190612027565b3414610d325760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742046756e642160701b6044820152606401610a98565b3360009081526012602052604081208054849290610d5490849060ff1661200e565b92506101000a81548160ff021916908360ff160217905550610b5f338360ff1661174f565b610d81611686565b600260095403610dd35760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a98565b6002600955600073d59e4bf1e4499df016c5353d867b51e0f9beb9ce6064610dfc476046612027565b610e06919061203e565b604051600081818185875af1925050503d8060008114610e42576040519150601f19603f3d011682016040523d82523d6000602084013e610e47565b606091505b5050905080610e5557600080fd5b6000610e696008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610eb3576040519150601f19603f3d011682016040523d82523d6000602084013e610eb8565b606091505b5050905080610ec657600080fd5b50506001600955565b610ed7611686565b600d55565b610ef7838383604051806020016040528060008152506113fc565b505050565b610f04611686565b6014610ef78284836120a6565b333214610f4f5760405162461bcd60e51b815260206004820152600c60248201526b6e6f20436f6e74726163742160a01b6044820152606401610a98565b6000610f646001546000546000199190030190565b9050600d54600f541115610fb05760405162461bcd60e51b8152602060048201526013602482015272574c20537570706c7920536f6c64204f75742160681b6044820152606401610a98565b60165460ff16610ffb5760405162461bcd60e51b81526020600482015260166024820152752ba61029b0b6329034b9902737ba1020b1ba34bb329760511b6044820152606401610a98565b600c5461ffff1661100d826001611fb9565b111561105b5760405162461bcd60e51b815260206004820152601b60248201527f4d696e7420576f756c6420457863656564204d6178537570706c7900000000006044820152606401610a98565b600b54611069906001612027565b34146110ac5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742046756e642160701b6044820152606401610a98565b611122838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506015546040516bffffffffffffffffffffffff193360601b16602082015290925060340190505b6040516020818303038152906040528051906020012061184d565b6111595760405162461bcd60e51b81526020600482015260086024820152674f6e6c7920574c2160c01b6044820152606401610a98565b336000908152601160205260409020546001906111799060ff168261200e565b60ff1611156111bc5760405162461bcd60e51b815260206004820152600f60248201526e416c7265616479204d696e7465642160881b6044820152606401610a98565b6001600f60008282546111cf9190611fb9565b90915550503360009081526011602052604081208054600192906111f790849060ff1661200e565b92506101000a81548160ff021916908360ff160217905550610ef733600161174f565b600061070f826116e0565b61122d611686565b6016805460ff1960ff6101008084048216150291821661ffff1984161791811692169190911715179055565b611261611686565b6016805461ffff19169055565b60006001600160a01b038216611297576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6112c5611686565b6112cf6000611863565b565b6112d9611686565b601555565b60606003805461072490611f69565b6112f5611686565b600c5461ffff908116908216111561134f5760405162461bcd60e51b815260206004820152601c60248201527f43616e206e6f7420496e637265617365204d617820537570706c7921000000006044820152606401610a98565b600c805461ffff191661ffff92909216919091179055565b336001600160a01b038316036113905760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6114078484846108b0565b6001600160a01b0383163b1561144057611423848484846118b5565b611440576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061145182611651565b61146e57604051630a14c4b560e41b815260040160405180910390fd5b60006114786119a0565b9050805160000361149857604051806020016040528060008152506114c3565b806114a2846119af565b6040516020016114b3929190612167565b6040516020818303038152906040525b9392505050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b600061155a838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506015546040516bffffffffffffffffffffffff1960608b901b1660208201529092506034019050611107565b949350505050565b61156a611686565b6001600160a01b0381166115cf5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a98565b6115d881611863565b50565b6115e3611686565b600b5481111561162e5760405162461bcd60e51b815260206004820152601660248201527543616e206e6f7420496e63726561736520436f73742160501b6044820152606401610a98565b600b55565b61163b611686565b6013805460ff191660ff92909216919091179055565b600081600111158015611665575060005482105b801561070f575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b031633146112cf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a98565b60008180600111611736576000548110156117365760008181526004602052604081205490600160e01b82169003611734575b806000036114c3575060001901600081815260046020526040902054611713565b505b604051636f96cda160e11b815260040160405180910390fd5b60008054908290036117745760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461182357808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016117eb565b508160000361184457604051622e076360e81b815260040160405180910390fd5b60005550505050565b60008261185a85846119e7565b14949350505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906118ea9033908990889088906004016121a6565b6020604051808303816000875af1925050508015611925575060408051601f3d908101601f19168201909252611922918101906121e3565b60015b611983573d808015611953576040519150601f19603f3d011682016040523d82523d6000602084013e611958565b606091505b50805160000361197b576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60606014805461072490611f69565b604080516080019081905280825b600183039250600a81066030018353600a9004806119bd5750819003601f19909101908152919050565b600081815b8451811015611a2c57611a1882868381518110611a0b57611a0b611fcc565b6020026020010151611a34565b915080611a2481611fe2565b9150506119ec565b509392505050565b6000818310611a505760008281526020849052604090206114c3565b5060009182526020526040902090565b6001600160e01b0319811681146115d857600080fd5b600060208284031215611a8857600080fd5b81356114c381611a60565b60005b83811015611aae578181015183820152602001611a96565b50506000910152565b60008151808452611acf816020860160208601611a93565b601f01601f19169290920160200192915050565b6020815260006114c36020830184611ab7565b600060208284031215611b0857600080fd5b5035919050565b80356001600160a01b0381168114611b2657600080fd5b919050565b60008060408385031215611b3e57600080fd5b611b4783611b0f565b946020939093013593505050565b600080600060608486031215611b6a57600080fd5b611b7384611b0f565b9250611b8160208501611b0f565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611bd057611bd0611b91565b604052919050565b60006020808385031215611beb57600080fd5b823567ffffffffffffffff80821115611c0357600080fd5b818501915085601f830112611c1757600080fd5b813581811115611c2957611c29611b91565b8060051b9150611c3a848301611ba7565b8181529183018401918481019088841115611c5457600080fd5b938501935b83851015611c7957611c6a85611b0f565b82529385019390850190611c59565b98975050505050505050565b600060208284031215611c9757600080fd5b813560ff811681146114c357600080fd5b60008060208385031215611cbb57600080fd5b823567ffffffffffffffff80821115611cd357600080fd5b818501915085601f830112611ce757600080fd5b813581811115611cf657600080fd5b866020828501011115611d0857600080fd5b60209290920196919550909350505050565b60008083601f840112611d2c57600080fd5b50813567ffffffffffffffff811115611d4457600080fd5b6020830191508360208260051b8501011115611d5f57600080fd5b9250929050565b60008060208385031215611d7957600080fd5b823567ffffffffffffffff811115611d9057600080fd5b611d9c85828601611d1a565b90969095509350505050565b600060208284031215611dba57600080fd5b6114c382611b0f565b600060208284031215611dd557600080fd5b813561ffff811681146114c357600080fd5b60008060408385031215611dfa57600080fd5b611e0383611b0f565b915060208301358015158114611e1857600080fd5b809150509250929050565b60008060008060808587031215611e3957600080fd5b611e4285611b0f565b93506020611e51818701611b0f565b935060408601359250606086013567ffffffffffffffff80821115611e7557600080fd5b818801915088601f830112611e8957600080fd5b813581811115611e9b57611e9b611b91565b611ead601f8201601f19168501611ba7565b91508082528984828501011115611ec357600080fd5b808484018584013760008482840101525080935050505092959194509250565b60008060408385031215611ef657600080fd5b611eff83611b0f565b9150611f0d60208401611b0f565b90509250929050565b600080600060408486031215611f2b57600080fd5b611f3484611b0f565b9250602084013567ffffffffffffffff811115611f5057600080fd5b611f5c86828701611d1a565b9497909650939450505050565b600181811c90821680611f7d57607f821691505b602082108103611f9d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561070f5761070f611fa3565b634e487b7160e01b600052603260045260246000fd5b600060018201611ff457611ff4611fa3565b5060010190565b8181038181111561070f5761070f611fa3565b60ff818116838216019081111561070f5761070f611fa3565b808202811582820484141761070f5761070f611fa3565b60008261205b57634e487b7160e01b600052601260045260246000fd5b500490565b601f821115610ef757600081815260208120601f850160051c810160208610156120875750805b601f850160051c820191505b81811015610a4157828155600101612093565b67ffffffffffffffff8311156120be576120be611b91565b6120d2836120cc8354611f69565b83612060565b6000601f84116001811461210657600085156120ee5750838201355b600019600387901b1c1916600186901b178355612160565b600083815260209020601f19861690835b828110156121375786850135825560209485019460019092019101612117565b50868210156121545760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b60008351612179818460208801611a93565b83519083019061218d818360208801611a93565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906121d990830184611ab7565b9695505050505050565b6000602082840312156121f557600080fd5b81516114c381611a6056fea2646970667358221220cb453159daf678fb43efc6026a7bc7456bbcfefa8439b635196e98c552c5968d64736f6c63430008110033

Deployed Bytecode Sourcemap

75510:4881:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40312:639;;;;;;;;;;-1:-1:-1;40312:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;40312:639:0;;;;;;;;41214:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;47706:218::-;;;;;;;;;;-1:-1:-1;47706:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;47706:218:0;1533:203:1;47147:400:0;;;;;;;;;;-1:-1:-1;47147:400:0;;;;;:::i;:::-;;:::i;:::-;;36965:323;;;;;;;;;;-1:-1:-1;77428:1:0;37239:12;37026:7;37223:13;:28;-1:-1:-1;;37223:46:0;36965:323;;;2324:25:1;;;2312:2;2297:18;36965:323:0;2178:177:1;79703:95:0;;;;;;;;;;;;;:::i;75947:30::-;;;;;;;;;;-1:-1:-1;75947:30:0;;;;;;;;;;;2532:4:1;2520:17;;;2502:36;;2490:2;2475:18;75947:30:0;2360:184:1;51413:2817:0;;;;;;;;;;-1:-1:-1;51413:2817:0;;;;;:::i;:::-;;:::i;77127:201::-;;;;;;;;;;-1:-1:-1;77127:201:0;;;;;:::i;:::-;;:::i;76069:26::-;;;;;;;;;;-1:-1:-1;76069:26:0;;;;;;;;79027:302;;;;;;;;;;-1:-1:-1;79027:302:0;;;;;:::i;:::-;;:::i;78455:564::-;;;;;;:::i;:::-;;:::i;80078:310::-;;;;;;;;;;;;;:::i;76814:97::-;;;;;;;;;;-1:-1:-1;76814:97:0;;;;;:::i;:::-;;:::i;54326:185::-;;;;;;;;;;-1:-1:-1;54326:185:0;;;;;:::i;:::-;;:::i;79589:106::-;;;;;;;;;;-1:-1:-1;79589:106:0;;;;;:::i;:::-;;:::i;77625:822::-;;;;;;:::i;:::-;;:::i;75569:42::-;;;;;;;;;;;;;;;;42616:152;;;;;;;;;;-1:-1:-1;42616:152:0;;;;;:::i;:::-;;:::i;79806:142::-;;;;;;;;;;;;;:::i;79956:114::-;;;;;;;;;;;;;:::i;38149:233::-;;;;;;;;;;-1:-1:-1;38149:233:0;;;;;:::i;:::-;;:::i;74593:103::-;;;;;;;;;;;;;:::i;75618:32::-;;;;;;;;;;;;;;;;76371:118;;;;;;;;;;-1:-1:-1;76371:118:0;;;;;:::i;:::-;;:::i;76102:30::-;;;;;;;;;;-1:-1:-1;76102:30:0;;;;;;;;;;;73945:87;;;;;;;;;;-1:-1:-1;74018:6:0;;-1:-1:-1;;;;;74018:6:0;73945:87;;41390:104;;;;;;;;;;;;;:::i;76919:200::-;;;;;;;;;;-1:-1:-1;76919:200:0;;;;;:::i;:::-;;:::i;48264:308::-;;;;;;;;;;-1:-1:-1;48264:308:0;;;;;:::i;:::-;;:::i;55109:399::-;;;;;;;;;;-1:-1:-1;55109:399:0;;;;;:::i;:::-;;:::i;41600:327::-;;;;;;;;;;-1:-1:-1;41600:327:0;;;;;:::i;:::-;;:::i;75657:29::-;;;;;;;;;;-1:-1:-1;75657:29:0;;;;;;;;;;;8100:6:1;8088:19;;;8070:38;;8058:2;8043:18;75657:29:0;7926:188:1;48729:164:0;;;;;;;;;;-1:-1:-1;48729:164:0;;;;;:::i;:::-;;:::i;76497:305::-;;;;;;;;;;-1:-1:-1;76497:305:0;;;;;:::i;:::-;;:::i;74851:201::-;;;;;;;;;;-1:-1:-1;74851:201:0;;;;;:::i;:::-;;:::i;77445:172::-;;;;;;;;;;-1:-1:-1;77445:172:0;;;;;:::i;:::-;;:::i;79343:116::-;;;;;;;;;;-1:-1:-1;79343:116:0;;;;;:::i;:::-;;:::i;40312:639::-;40397:4;-1:-1:-1;;;;;;;;;40721:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;40798:25:0;;;40721:102;:179;;;-1:-1:-1;;;;;;;;;;40875:25:0;;;40721:179;40701:199;40312:639;-1:-1:-1;;40312:639:0:o;41214:100::-;41268:13;41301:5;41294:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41214:100;:::o;47706:218::-;47782:7;47807:16;47815:7;47807;:16::i;:::-;47802:64;;47832:34;;-1:-1:-1;;;47832:34:0;;;;;;;;;;;47802:64;-1:-1:-1;47886:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;47886:30:0;;47706:218::o;47147:400::-;47228:13;47244:16;47252:7;47244;:16::i;:::-;47228:32;-1:-1:-1;71004:10:0;-1:-1:-1;;;;;47277:28:0;;;47273:175;;47325:44;47342:5;71004:10;48729:164;:::i;47325:44::-;47320:128;;47397:35;;-1:-1:-1;;;47397:35:0;;;;;;;;;;;47320:128;47460:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;47460:35:0;-1:-1:-1;;;;;47460:35:0;;;;;;;;;47511:28;;47460:24;;47511:28;;;;;;;47217:330;47147:400;;:::o;79703:95::-;73831:13;:11;:13::i;:::-;79772:18:::1;::::0;;-1:-1:-1;;79750:40:0;::::1;79772:18;::::0;;;::::1;;;79771:19;79750:40:::0;;::::1;;::::0;;79703:95::o;51413:2817::-;51547:27;51577;51596:7;51577:18;:27::i;:::-;51547:57;;51662:4;-1:-1:-1;;;;;51621:45:0;51637:19;-1:-1:-1;;;;;51621:45:0;;51617:86;;51675:28;;-1:-1:-1;;;51675:28:0;;;;;;;;;;;51617:86;51717:27;50527:24;;;:15;:24;;;;;50749:26;;71004:10;50152:30;;;-1:-1:-1;;;;;49845:28:0;;50130:20;;;50127:56;51903:180;;51996:43;52013:4;71004:10;48729:164;:::i;51996:43::-;51991:92;;52048:35;;-1:-1:-1;;;52048:35:0;;;;;;;;;;;51991:92;-1:-1:-1;;;;;52100:16:0;;52096:52;;52125:23;;-1:-1:-1;;;52125:23:0;;;;;;;;;;;52096:52;52297:15;52294:160;;;52437:1;52416:19;52409:30;52294:160;-1:-1:-1;;;;;52834:24:0;;;;;;;:18;:24;;;;;;52832:26;;-1:-1:-1;;52832:26:0;;;52903:22;;;;;;;;;52901:24;;-1:-1:-1;52901:24:0;;;46005:11;45980:23;45976:41;45963:63;-1:-1:-1;;;45963:63:0;53196:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;53491:47:0;;:52;;53487:627;;53596:1;53586:11;;53564:19;53719:30;;;:17;:30;;;;;;:35;;53715:384;;53857:13;;53842:11;:28;53838:242;;54004:30;;;;:17;:30;;;;;:52;;;53838:242;53545:569;53487:627;54161:7;54157:2;-1:-1:-1;;;;;54142:27:0;54151:4;-1:-1:-1;;;;;54142:27:0;;;;;;;;;;;54180:42;51536:2694;;;51413:2817;;;:::o;77127:201::-;73831:13;:11;:13::i;:::-;77231:12:::1;;77212:16;:31;77208:70;;;77245:33;::::0;-1:-1:-1;;;77245:33:0;;9487:2:1;77245:33:0::1;::::0;::::1;9469:21:1::0;9526:2;9506:18;;;9499:30;-1:-1:-1;;;9545:18:1;;;9538:52;9607:18;;77245:33:0::1;;;;;;;;77208:70;77289:12;:31:::0;77127:201::o;79027:302::-;73831:13;:11;:13::i;:::-;79135:8:::1;;79121:10;;79104:7;:14;:27;;;;:::i;:::-;:39;79100:76;;79145:31;::::0;-1:-1:-1;;;79145:31:0;;10100:2:1;79145:31:0::1;::::0;::::1;10082:21:1::0;10139:2;10119:18;;;10112:30;-1:-1:-1;;;10158:18:1;;;10151:50;10218:18;;79145:31:0::1;9898:344:1::0;79100:76:0::1;79203:7;:14;79189:10;;:28;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;79235:9:0::1;::::0;-1:-1:-1;79230:92:0::1;79254:7;:14;79250:1;:18;79230:92;;;79290:20;79296:7;79304:1;79296:10;;;;;;;;:::i;:::-;;;;;;;79308:1;79290:5;:20::i;:::-;79270:3:::0;::::1;::::0;::::1;:::i;:::-;;;;79230:92;;;;79027:302:::0;:::o;78455:564::-;76295:10;76309:9;76295:23;76291:52;;76320:23;;-1:-1:-1;;;76320:23:0;;10721:2:1;76320:23:0;;;10703:21:1;10760:2;10740:18;;;10733:30;-1:-1:-1;;;10779:18:1;;;10772:42;10831:18;;76320:23:0;10519:336:1;76291:52:0;78532:10:::1;78545:13;77428:1:::0;37239:12;37026:7;37223:13;-1:-1:-1;;37223:28:0;;;:46;;36965:323;78545:13:::1;78578:18;::::0;78532:26;;-1:-1:-1;78578:18:0::1;::::0;::::1;;;78573:62;;78598:37;::::0;-1:-1:-1;;;78598:37:0;;11062:2:1;78598:37:0::1;::::0;::::1;11044:21:1::0;11101:2;11081:18;;;11074:30;11140:28;11120:18;;;11113:56;11186:18;;78598:37:0::1;10860:350:1::0;78573:62:0::1;78681:8;::::0;78669:9:::1;::::0;:20:::1;::::0;78681:8;78669:9:::1;;:20;:::i;:::-;78654:12;;::::0;::::1;:2:::0;:12:::1;:::i;:::-;:35;78650:72;;;78691:31;::::0;-1:-1:-1;;;78691:31:0;;10100:2:1;78691:31:0::1;::::0;::::1;10082:21:1::0;10139:2;10119:18;;;10112:30;-1:-1:-1;;;10158:18:1;;;10151:50;10218:18;;78691:31:0::1;9898:344:1::0;78650:72:0::1;78773:13;::::0;78749:10:::1;78773:13;78741:19:::0;;;:7:::1;:19;::::0;;;;;78773:13:::1;::::0;;::::1;::::0;78741:29:::1;::::0;78763:7;;78741:19:::1;:29;:::i;:::-;:45;;;78737:94;;;78805:26;::::0;-1:-1:-1;;;78805:26:0;;11703:2:1;78805:26:0::1;::::0;::::1;11685:21:1::0;11742:2;11722:18;;;11715:30;-1:-1:-1;;;11761:18:1;;;11754:45;11816:18;;78805:26:0::1;11501:339:1::0;78737:94:0::1;78878:7;78863:22;;:12;;:22;;;;:::i;:::-;78850:9;:35;78846:70;;78887:29;::::0;-1:-1:-1;;;78887:29:0;;12220:2:1;78887:29:0::1;::::0;::::1;12202:21:1::0;12259:2;12239:18;;;12232:30;-1:-1:-1;;;12278:18:1;;;12271:48;12336:18;;78887:29:0::1;12018:342:1::0;78846:70:0::1;78941:10;78933:19;::::0;;;:7:::1;:19;::::0;;;;:30;;78956:7;;78933:19;:30:::1;::::0;78956:7;;78933:30:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;78981:26;78987:10;78999:7;78981:26;;:5;:26::i;80078:310::-:0;73831:13;:11;:13::i;:::-;8853:1:::1;9451:7;;:19:::0;9443:63:::1;;;::::0;-1:-1:-1;;;9443:63:0;;12567:2:1;9443:63:0::1;::::0;::::1;12549:21:1::0;12606:2;12586:18;;;12579:30;12645:33;12625:18;;;12618:61;12696:18;;9443:63:0::1;12365:355:1::0;9443:63:0::1;8853:1;9584:7;:18:::0;80142:7:::2;80163:42;80248:3;80219:26;:21;80243:2;80219:26;:::i;:::-;:32;;;;:::i;:::-;80155:101;::::0;::::2;::::0;;;;;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;80141:115;;;80275:2;80267:11;;;::::0;::::2;;80290:7;80311;74018:6:::0;;-1:-1:-1;;;;;74018:6:0;;73945:87;80311:7:::2;-1:-1:-1::0;;;;;80303:21:0::2;80332;80303:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;80289:69;;;80377:2;80369:11;;;::::0;::::2;;-1:-1:-1::0;;8809:1:0::1;9763:7;:22:::0;80078:310::o;76814:97::-;73831:13;:11;:13::i;:::-;76883:8:::1;:20:::0;76814:97::o;54326:185::-;54464:39;54481:4;54487:2;54491:7;54464:39;;;;;;;;;;;;:16;:39::i;:::-;54326:185;;;:::o;79589:106::-;73831:13;:11;:13::i;:::-;79664::::1;:23;79680:7:::0;;79664:13;:23:::1;:::i;77625:822::-:0;76295:10;76309:9;76295:23;76291:52;;76320:23;;-1:-1:-1;;;76320:23:0;;10721:2:1;76320:23:0;;;10703:21:1;10760:2;10740:18;;;10733:30;-1:-1:-1;;;10779:18:1;;;10772:42;10831:18;;76320:23:0;10519:336:1;76291:52:0;77744:10:::1;77757:13;77428:1:::0;37239:12;37026:7;37223:13;-1:-1:-1;;37223:28:0;;;:46;;36965:323;77757:13:::1;77744:26;;77797:8;;77784:10;;:21;77781:56;;;77807:30;::::0;-1:-1:-1;;;77807:30:0;;15417:2:1;77807:30:0::1;::::0;::::1;15399:21:1::0;15456:2;15436:18;;;15429:30;-1:-1:-1;;;15475:18:1;;;15468:49;15534:18;;77807:30:0::1;15215:343:1::0;77781:56:0::1;77853:14;::::0;::::1;;77848:54;;77869:33;::::0;-1:-1:-1;;;77869:33:0;;15765:2:1;77869:33:0::1;::::0;::::1;15747:21:1::0;15804:2;15784:18;;;15777:30;-1:-1:-1;;;15823:18:1;;;15816:52;15885:18;;77869:33:0::1;15563:346:1::0;77848:54:0::1;77926:9;::::0;::::1;;77917:6;:2:::0;77926:9;77917:6:::1;:::i;:::-;:18;77913:62;;;77937:38;::::0;-1:-1:-1;;;77937:38:0;;16116:2:1;77937:38:0::1;::::0;::::1;16098:21:1::0;16155:2;16135:18;;;16128:30;16194:29;16174:18;;;16167:57;16241:18;;77937:38:0::1;15914:351:1::0;77913:62:0::1;78003:7;::::0;:11:::1;::::0;78013:1:::1;78003:11;:::i;:::-;77990:9;:24;77986:59;;78016:29;::::0;-1:-1:-1;;;78016:29:0;;12220:2:1;78016:29:0::1;::::0;::::1;12202:21:1::0;12259:2;12239:18;;;12232:30;-1:-1:-1;;;12278:18:1;;;12271:48;12336:18;;78016:29:0::1;12018:342:1::0;77986:59:0::1;78075:144;78112:8;;78075:144;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;78139:7:0::1;::::0;78175:28:::1;::::0;-1:-1:-1;;78192:10:0::1;16419:2:1::0;16415:15;16411:53;78175:28:0::1;::::0;::::1;16399:66:1::0;78139:7:0;;-1:-1:-1;16481:12:1;;;-1:-1:-1;78175:28:0::1;;;;;;;;;;;;;78165:39;;;;;;78075:18;:144::i;:::-;78056:194;;78231:19;::::0;-1:-1:-1;;;78231:19:0;;16706:2:1;78231:19:0::1;::::0;::::1;16688:21:1::0;16745:1;16725:18;;;16718:29;-1:-1:-1;;;16763:18:1;;;16756:38;16811:18;;78231:19:0::1;16504:331:1::0;78056:194:0::1;78275:10;78265:21;::::0;;;:9:::1;:21;::::0;;;;;78293:1:::1;::::0;78265:25:::1;::::0;:21:::1;;78293:1:::0;78265:25:::1;:::i;:::-;:29;;;78261:74;;;78309:26;::::0;-1:-1:-1;;;78309:26:0;;11703:2:1;78309:26:0::1;::::0;::::1;11685:21:1::0;11742:2;11722:18;;;11715:30;-1:-1:-1;;;11761:18:1;;;11754:45;11816:18;;78309:26:0::1;11501:339:1::0;78261:74:0::1;78362:1;78348:10;;:15;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;78384:10:0::1;78374:21;::::0;;;:9:::1;:21;::::0;;;;:26;;78399:1:::1;::::0;78374:21;:26:::1;::::0;78399:1;;78374:26:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;78411:20;78417:10;78429:1;78411:5;:20::i;42616:152::-:0;42688:7;42731:27;42750:7;42731:18;:27::i;79806:142::-;73831:13;:11;:13::i;:::-;79879:18:::1;::::0;;-1:-1:-1;;79879:18:0::1;;::::0;;::::1;::::0;::::1;79878:19;79857:40;79908:32:::0;;;-1:-1:-1;;79908:32:0;;;79926:14;;;;;;;;;79925:15:::1;79908:32;::::0;;79806:142::o;79956:114::-;73831:13;:11;:13::i;:::-;80003:18:::1;:26:::0;;-1:-1:-1;;80040:22:0;;;79956:114::o;38149:233::-;38221:7;-1:-1:-1;;;;;38245:19:0;;38241:60;;38273:28;;-1:-1:-1;;;38273:28:0;;;;;;;;;;;38241:60;-1:-1:-1;;;;;;38319:25:0;;;;;:18;:25;;;;;;32308:13;38319:55;;38149:233::o;74593:103::-;73831:13;:11;:13::i;:::-;74658:30:::1;74685:1;74658:18;:30::i;:::-;74593:103::o:0;76371:118::-;73831:13;:11;:13::i;:::-;76463:7:::1;:18:::0;76371:118::o;41390:104::-;41446:13;41479:7;41472:14;;;;;:::i;76919:200::-;73831:13;:11;:13::i;:::-;77021:9:::1;::::0;::::1;::::0;;::::1;77001:29:::0;;::::1;;76997:74;;;77032:39;::::0;-1:-1:-1;;;77032:39:0;;17042:2:1;77032:39:0::1;::::0;::::1;17024:21:1::0;17081:2;17061:18;;;17054:30;17120;17100:18;;;17093:58;17168:18;;77032:39:0::1;16840:352:1::0;76997:74:0::1;77082:9;:29:::0;;-1:-1:-1;;77082:29:0::1;;::::0;;;::::1;::::0;;;::::1;::::0;;76919:200::o;48264:308::-;71004:10;-1:-1:-1;;;;;48363:31:0;;;48359:61;;48403:17;;-1:-1:-1;;;48403:17:0;;;;;;;;;;;48359:61;71004:10;48433:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;48433:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;48433:60:0;;;;;;;;;;48509:55;;540:41:1;;;48433:49:0;;71004:10;48509:55;;513:18:1;48509:55:0;;;;;;;48264:308;;:::o;55109:399::-;55276:31;55289:4;55295:2;55299:7;55276:12;:31::i;:::-;-1:-1:-1;;;;;55322:14:0;;;:19;55318:183;;55361:56;55392:4;55398:2;55402:7;55411:5;55361:30;:56::i;:::-;55356:145;;55445:40;;-1:-1:-1;;;55445:40:0;;;;;;;;;;;55356:145;55109:399;;;;:::o;41600:327::-;41673:13;41704:16;41712:7;41704;:16::i;:::-;41699:59;;41729:29;;-1:-1:-1;;;41729:29:0;;;;;;;;;;;41699:59;41771:21;41795:10;:8;:10::i;:::-;41771:34;;41829:7;41823:21;41848:1;41823:26;:96;;;;;;;;;;;;;;;;;41876:7;41885:18;41895:7;41885:9;:18::i;:::-;41859:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;41823:96;41816:103;41600:327;-1:-1:-1;;;41600:327:0:o;48729:164::-;-1:-1:-1;;;;;48850:25:0;;;48826:4;48850:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;48729:164::o;76497:305::-;76613:4;76655:139;76692:8;;76655:139;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;76719:7:0;;76755:23;;-1:-1:-1;;16419:2:1;16415:15;;;16411:53;76755:23:0;;;16399:66:1;76719:7:0;;-1:-1:-1;16481:12:1;;;-1:-1:-1;76755:23:0;16270:229:1;76655:139:0;76635:159;76497:305;-1:-1:-1;;;;76497:305:0:o;74851:201::-;73831:13;:11;:13::i;:::-;-1:-1:-1;;;;;74940:22:0;::::1;74932:73;;;::::0;-1:-1:-1;;;74932:73:0;;18067:2:1;74932:73:0::1;::::0;::::1;18049:21:1::0;18106:2;18086:18;;;18079:30;18145:34;18125:18;;;18118:62;-1:-1:-1;;;18196:18:1;;;18189:36;18242:19;;74932:73:0::1;17865:402:1::0;74932:73:0::1;75016:28;75035:8;75016:18;:28::i;:::-;74851:201:::0;:::o;77445:172::-;73831:13;:11;:13::i;:::-;77535:7:::1;;77521:11;:21;77517:60;;;77544:33;::::0;-1:-1:-1;;;77544:33:0;;9487:2:1;77544:33:0::1;::::0;::::1;9469:21:1::0;9526:2;9506:18;;;9499:30;-1:-1:-1;;;9545:18:1;;;9538:52;9607:18;;77544:33:0::1;9285:346:1::0;77517:60:0::1;77588:7;:21:::0;77445:172::o;79343:116::-;73831:13;:11;:13::i;:::-;79421::::1;:30:::0;;-1:-1:-1;;79421:30:0::1;;::::0;;;::::1;::::0;;;::::1;::::0;;79343:116::o;49151:282::-;49216:4;49272:7;77428:1;49253:26;;:66;;;;;49306:13;;49296:7;:23;49253:66;:153;;;;-1:-1:-1;;49357:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;49357:44:0;:49;;49151:282::o;74110:132::-;74018:6;;-1:-1:-1;;;;;74018:6:0;71004:10;74174:23;74166:68;;;;-1:-1:-1;;;74166:68:0;;18474:2:1;74166:68:0;;;18456:21:1;;;18493:18;;;18486:30;18552:34;18532:18;;;18525:62;18604:18;;74166:68:0;18272:356:1;43771:1275:0;43838:7;43873;;77428:1;43922:23;43918:1061;;43975:13;;43968:4;:20;43964:1015;;;44013:14;44030:23;;;:17;:23;;;;;;;-1:-1:-1;;;44119:24:0;;:29;;44115:845;;44784:113;44791:6;44801:1;44791:11;44784:113;;-1:-1:-1;;;44862:6:0;44844:25;;;;:17;:25;;;;;;44784:113;;44115:845;43990:989;43964:1015;45007:31;;-1:-1:-1;;;45007:31:0;;;;;;;;;;;58770:2454;58843:20;58866:13;;;58894;;;58890:44;;58916:18;;-1:-1:-1;;;58916:18:0;;;;;;;;;;;58890:44;-1:-1:-1;;;;;59422:22:0;;;;;;:18;:22;;;;32446:2;59422:22;;;:71;;59460:32;59448:45;;59422:71;;;59736:31;;;:17;:31;;;;;-1:-1:-1;46436:15:0;;46410:24;46406:46;46005:11;45980:23;45976:41;45973:52;45963:63;;59736:173;;59971:23;;;;59736:31;;59422:22;;60470:25;59422:22;;60323:335;60738:1;60724:12;60720:20;60678:346;60779:3;60770:7;60767:16;60678:346;;60997:7;60987:8;60984:1;60957:25;60954:1;60951;60946:59;60832:1;60819:15;60678:346;;;60682:77;61057:8;61069:1;61057:13;61053:45;;61079:19;;-1:-1:-1;;;61079:19:0;;;;;;;;;;;61053:45;61115:13;:19;-1:-1:-1;54326:185:0;;;:::o;13516:190::-;13641:4;13694;13665:25;13678:5;13685:4;13665:12;:25::i;:::-;:33;;13516:190;-1:-1:-1;;;;13516:190:0:o;75212:191::-;75305:6;;;-1:-1:-1;;;;;75322:17:0;;;-1:-1:-1;;;;;;75322:17:0;;;;;;;75355:40;;75305:6;;;75322:17;75305:6;;75355:40;;75286:16;;75355:40;75275:128;75212:191;:::o;57592:716::-;57776:88;;-1:-1:-1;;;57776:88:0;;57755:4;;-1:-1:-1;;;;;57776:45:0;;;;;:88;;71004:10;;57843:4;;57849:7;;57858:5;;57776:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57776:88:0;;;;;;;;-1:-1:-1;;57776:88:0;;;;;;;;;;;;:::i;:::-;;;57772:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58059:6;:13;58076:1;58059:18;58055:235;;58105:40;;-1:-1:-1;;;58105:40:0;;;;;;;;;;;58055:235;58248:6;58242:13;58233:6;58229:2;58225:15;58218:38;57772:529;-1:-1:-1;;;;;;57935:64:0;-1:-1:-1;;;57935:64:0;;-1:-1:-1;57592:716:0;;;;;;:::o;79467:114::-;79527:13;79560;79553:20;;;;;:::i;71124:1581::-;71607:4;71601:11;;71614:4;71597:22;71693:17;;;;71597:22;72051:5;72033:428;72099:1;72094:3;72090:11;72083:18;;72270:2;72264:4;72260:13;72256:2;72252:22;72247:3;72239:36;72364:2;72354:13;;72421:25;72033:428;72421:25;-1:-1:-1;72491:13:0;;;-1:-1:-1;;72606:14:0;;;72668:19;;;72606:14;71124:1581;-1:-1:-1;71124:1581:0:o;14383:296::-;14466:7;14509:4;14466:7;14524:118;14548:5;:12;14544:1;:16;14524:118;;;14597:33;14607:12;14621:5;14627:1;14621:8;;;;;;;;:::i;:::-;;;;;;;14597:9;:33::i;:::-;14582:48;-1:-1:-1;14562:3:0;;;;:::i;:::-;;;;14524:118;;;-1:-1:-1;14659:12:0;14383:296;-1:-1:-1;;;14383:296:0:o;20590:149::-;20653:7;20684:1;20680;:5;:51;;20815:13;20909:15;;;20945:4;20938:15;;;20992:4;20976:21;;20680:51;;;-1:-1:-1;20815:13:0;20909:15;;;20945:4;20938:15;20992:4;20976:21;;;20590:149::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2549:328::-;2626:6;2634;2642;2695:2;2683:9;2674:7;2670:23;2666:32;2663:52;;;2711:1;2708;2701:12;2663:52;2734:29;2753:9;2734:29;:::i;:::-;2724:39;;2782:38;2816:2;2805:9;2801:18;2782:38;:::i;:::-;2772:48;;2867:2;2856:9;2852:18;2839:32;2829:42;;2549:328;;;;;:::o;2882:127::-;2943:10;2938:3;2934:20;2931:1;2924:31;2974:4;2971:1;2964:15;2998:4;2995:1;2988:15;3014:275;3085:2;3079:9;3150:2;3131:13;;-1:-1:-1;;3127:27:1;3115:40;;3185:18;3170:34;;3206:22;;;3167:62;3164:88;;;3232:18;;:::i;:::-;3268:2;3261:22;3014:275;;-1:-1:-1;3014:275:1:o;3294:952::-;3378:6;3409:2;3452;3440:9;3431:7;3427:23;3423:32;3420:52;;;3468:1;3465;3458:12;3420:52;3508:9;3495:23;3537:18;3578:2;3570:6;3567:14;3564:34;;;3594:1;3591;3584:12;3564:34;3632:6;3621:9;3617:22;3607:32;;3677:7;3670:4;3666:2;3662:13;3658:27;3648:55;;3699:1;3696;3689:12;3648:55;3735:2;3722:16;3757:2;3753;3750:10;3747:36;;;3763:18;;:::i;:::-;3809:2;3806:1;3802:10;3792:20;;3832:28;3856:2;3852;3848:11;3832:28;:::i;:::-;3894:15;;;3964:11;;;3960:20;;;3925:12;;;;3992:19;;;3989:39;;;4024:1;4021;4014:12;3989:39;4048:11;;;;4068:148;4084:6;4079:3;4076:15;4068:148;;;4150:23;4169:3;4150:23;:::i;:::-;4138:36;;4101:12;;;;4194;;;;4068:148;;;4235:5;3294:952;-1:-1:-1;;;;;;;;3294:952:1:o;4251:269::-;4308:6;4361:2;4349:9;4340:7;4336:23;4332:32;4329:52;;;4377:1;4374;4367:12;4329:52;4416:9;4403:23;4466:4;4459:5;4455:16;4448:5;4445:27;4435:55;;4486:1;4483;4476:12;4525:592;4596:6;4604;4657:2;4645:9;4636:7;4632:23;4628:32;4625:52;;;4673:1;4670;4663:12;4625:52;4713:9;4700:23;4742:18;4783:2;4775:6;4772:14;4769:34;;;4799:1;4796;4789:12;4769:34;4837:6;4826:9;4822:22;4812:32;;4882:7;4875:4;4871:2;4867:13;4863:27;4853:55;;4904:1;4901;4894:12;4853:55;4944:2;4931:16;4970:2;4962:6;4959:14;4956:34;;;4986:1;4983;4976:12;4956:34;5031:7;5026:2;5017:6;5013:2;5009:15;5005:24;5002:37;4999:57;;;5052:1;5049;5042:12;4999:57;5083:2;5075:11;;;;;5105:6;;-1:-1:-1;4525:592:1;;-1:-1:-1;;;;4525:592:1:o;5122:367::-;5185:8;5195:6;5249:3;5242:4;5234:6;5230:17;5226:27;5216:55;;5267:1;5264;5257:12;5216:55;-1:-1:-1;5290:20:1;;5333:18;5322:30;;5319:50;;;5365:1;5362;5355:12;5319:50;5402:4;5394:6;5390:17;5378:29;;5462:3;5455:4;5445:6;5442:1;5438:14;5430:6;5426:27;5422:38;5419:47;5416:67;;;5479:1;5476;5469:12;5416:67;5122:367;;;;;:::o;5494:437::-;5580:6;5588;5641:2;5629:9;5620:7;5616:23;5612:32;5609:52;;;5657:1;5654;5647:12;5609:52;5697:9;5684:23;5730:18;5722:6;5719:30;5716:50;;;5762:1;5759;5752:12;5716:50;5801:70;5863:7;5854:6;5843:9;5839:22;5801:70;:::i;:::-;5890:8;;5775:96;;-1:-1:-1;5494:437:1;-1:-1:-1;;;;5494:437:1:o;5936:186::-;5995:6;6048:2;6036:9;6027:7;6023:23;6019:32;6016:52;;;6064:1;6061;6054:12;6016:52;6087:29;6106:9;6087:29;:::i;6312:272::-;6370:6;6423:2;6411:9;6402:7;6398:23;6394:32;6391:52;;;6439:1;6436;6429:12;6391:52;6478:9;6465:23;6528:6;6521:5;6517:18;6510:5;6507:29;6497:57;;6550:1;6547;6540:12;6589:347;6654:6;6662;6715:2;6703:9;6694:7;6690:23;6686:32;6683:52;;;6731:1;6728;6721:12;6683:52;6754:29;6773:9;6754:29;:::i;:::-;6744:39;;6833:2;6822:9;6818:18;6805:32;6880:5;6873:13;6866:21;6859:5;6856:32;6846:60;;6902:1;6899;6892:12;6846:60;6925:5;6915:15;;;6589:347;;;;;:::o;6941:980::-;7036:6;7044;7052;7060;7113:3;7101:9;7092:7;7088:23;7084:33;7081:53;;;7130:1;7127;7120:12;7081:53;7153:29;7172:9;7153:29;:::i;:::-;7143:39;;7201:2;7222:38;7256:2;7245:9;7241:18;7222:38;:::i;:::-;7212:48;;7307:2;7296:9;7292:18;7279:32;7269:42;;7362:2;7351:9;7347:18;7334:32;7385:18;7426:2;7418:6;7415:14;7412:34;;;7442:1;7439;7432:12;7412:34;7480:6;7469:9;7465:22;7455:32;;7525:7;7518:4;7514:2;7510:13;7506:27;7496:55;;7547:1;7544;7537:12;7496:55;7583:2;7570:16;7605:2;7601;7598:10;7595:36;;;7611:18;;:::i;:::-;7653:53;7696:2;7677:13;;-1:-1:-1;;7673:27:1;7669:36;;7653:53;:::i;:::-;7640:66;;7729:2;7722:5;7715:17;7769:7;7764:2;7759;7755;7751:11;7747:20;7744:33;7741:53;;;7790:1;7787;7780:12;7741:53;7845:2;7840;7836;7832:11;7827:2;7820:5;7816:14;7803:45;7889:1;7884:2;7879;7872:5;7868:14;7864:23;7857:34;;7910:5;7900:15;;;;;6941:980;;;;;;;:::o;8119:260::-;8187:6;8195;8248:2;8236:9;8227:7;8223:23;8219:32;8216:52;;;8264:1;8261;8254:12;8216:52;8287:29;8306:9;8287:29;:::i;:::-;8277:39;;8335:38;8369:2;8358:9;8354:18;8335:38;:::i;:::-;8325:48;;8119:260;;;;;:::o;8384:511::-;8479:6;8487;8495;8548:2;8536:9;8527:7;8523:23;8519:32;8516:52;;;8564:1;8561;8554:12;8516:52;8587:29;8606:9;8587:29;:::i;:::-;8577:39;;8667:2;8656:9;8652:18;8639:32;8694:18;8686:6;8683:30;8680:50;;;8726:1;8723;8716:12;8680:50;8765:70;8827:7;8818:6;8807:9;8803:22;8765:70;:::i;:::-;8384:511;;8854:8;;-1:-1:-1;8739:96:1;;-1:-1:-1;;;;8384:511:1:o;8900:380::-;8979:1;8975:12;;;;9022;;;9043:61;;9097:4;9089:6;9085:17;9075:27;;9043:61;9150:2;9142:6;9139:14;9119:18;9116:38;9113:161;;9196:10;9191:3;9187:20;9184:1;9177:31;9231:4;9228:1;9221:15;9259:4;9256:1;9249:15;9113:161;;8900:380;;;:::o;9636:127::-;9697:10;9692:3;9688:20;9685:1;9678:31;9728:4;9725:1;9718:15;9752:4;9749:1;9742:15;9768:125;9833:9;;;9854:10;;;9851:36;;;9867:18;;:::i;10247:127::-;10308:10;10303:3;10299:20;10296:1;10289:31;10339:4;10336:1;10329:15;10363:4;10360:1;10353:15;10379:135;10418:3;10439:17;;;10436:43;;10459:18;;:::i;:::-;-1:-1:-1;10506:1:1;10495:13;;10379:135::o;11215:128::-;11282:9;;;11303:11;;;11300:37;;;11317:18;;:::i;11348:148::-;11436:4;11415:12;;;11429;;;11411:31;;11454:13;;11451:39;;;11470:18;;:::i;11845:168::-;11918:9;;;11949;;11966:15;;;11960:22;;11946:37;11936:71;;11987:18;;:::i;12725:217::-;12765:1;12791;12781:132;;12835:10;12830:3;12826:20;12823:1;12816:31;12870:4;12867:1;12860:15;12898:4;12895:1;12888:15;12781:132;-1:-1:-1;12927:9:1;;12725:217::o;13283:545::-;13385:2;13380:3;13377:11;13374:448;;;13421:1;13446:5;13442:2;13435:17;13491:4;13487:2;13477:19;13561:2;13549:10;13545:19;13542:1;13538:27;13532:4;13528:38;13597:4;13585:10;13582:20;13579:47;;;-1:-1:-1;13620:4:1;13579:47;13675:2;13670:3;13666:12;13663:1;13659:20;13653:4;13649:31;13639:41;;13730:82;13748:2;13741:5;13738:13;13730:82;;;13793:17;;;13774:1;13763:13;13730:82;;14004:1206;14128:18;14123:3;14120:27;14117:53;;;14150:18;;:::i;:::-;14179:94;14269:3;14229:38;14261:4;14255:11;14229:38;:::i;:::-;14223:4;14179:94;:::i;:::-;14299:1;14324:2;14319:3;14316:11;14341:1;14336:616;;;;14996:1;15013:3;15010:93;;;-1:-1:-1;15069:19:1;;;15056:33;15010:93;-1:-1:-1;;13961:1:1;13957:11;;;13953:24;13949:29;13939:40;13985:1;13981:11;;;13936:57;15116:78;;14309:895;;14336:616;13230:1;13223:14;;;13267:4;13254:18;;-1:-1:-1;;14372:17:1;;;14473:9;14495:229;14509:7;14506:1;14503:14;14495:229;;;14598:19;;;14585:33;14570:49;;14705:4;14690:20;;;;14658:1;14646:14;;;;14525:12;14495:229;;;14499:3;14752;14743:7;14740:16;14737:159;;;14876:1;14872:6;14866:3;14860;14857:1;14853:11;14849:21;14845:34;14841:39;14828:9;14823:3;14819:19;14806:33;14802:79;14794:6;14787:95;14737:159;;;14939:1;14933:3;14930:1;14926:11;14922:19;14916:4;14909:33;14309:895;;;14004:1206;;;:::o;17197:663::-;17477:3;17515:6;17509:13;17531:66;17590:6;17585:3;17578:4;17570:6;17566:17;17531:66;:::i;:::-;17660:13;;17619:16;;;;17682:70;17660:13;17619:16;17729:4;17717:17;;17682:70;:::i;:::-;-1:-1:-1;;;17774:20:1;;17803:22;;;17852:1;17841:13;;17197:663;-1:-1:-1;;;;17197:663:1:o;18633:489::-;-1:-1:-1;;;;;18902:15:1;;;18884:34;;18954:15;;18949:2;18934:18;;18927:43;19001:2;18986:18;;18979:34;;;19049:3;19044:2;19029:18;;19022:31;;;18827:4;;19070:46;;19096:19;;19088:6;19070:46;:::i;:::-;19062:54;18633:489;-1:-1:-1;;;;;;18633:489:1:o;19127:249::-;19196:6;19249:2;19237:9;19228:7;19224:23;19220:32;19217:52;;;19265:1;19262;19255:12;19217:52;19297:9;19291:16;19316:30;19340:5;19316:30;:::i

Swarm Source

ipfs://cb453159daf678fb43efc6026a7bc7456bbcfefa8439b635196e98c552c5968d

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.