ETH Price: $4,377.40 (-3.00%)

Contract

0x31D92c9DC1FD6797E391D154CA615AC42A0D932E
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...234376992025-09-25 4:34:4714 days ago1758774887IN
0x31D92c9D...42A0D932E
0 ETH0.000010380.4293
Set Approval For...174180272023-06-06 1:02:59856 days ago1686013379IN
0x31D92c9D...42A0D932E
0 ETH0.0008744418.967636
Safe Mint170516472023-04-15 9:52:59908 days ago1681552379IN
0x31D92c9D...42A0D932E
0 ETH0.0023178821.85449578
Safe Mint170516212023-04-15 9:47:47908 days ago1681552067IN
0x31D92c9D...42A0D932E
0 ETH0.0025035723.60531512
Safe Mint170516082023-04-15 9:45:11908 days ago1681551911IN
0x31D92c9D...42A0D932E
0 ETH0.0023016321.70124096
Safe Mint170515832023-04-15 9:39:59908 days ago1681551599IN
0x31D92c9D...42A0D932E
0 ETH0.0022154422.12678049
Withdraw170515742023-04-15 9:38:11908 days ago1681551491IN
0x31D92c9D...42A0D932E
0 ETH0.0007101423.32618715
Safe Mint170515692023-04-15 9:37:11908 days ago1681551431IN
0x31D92c9D...42A0D932E
0 ETH0.0024794824.76384789
Set Max Mint Sup...170511412023-04-15 8:09:47908 days ago1681546187IN
0x31D92c9D...42A0D932E
0 ETH0.0006165521.50383565
Safe Mint170433122023-04-14 5:16:35909 days ago1681449395IN
0x31D92c9D...42A0D932E
0 ETH0.002578325.73745214
Safe Mint170432322023-04-14 5:00:11909 days ago1681448411IN
0x31D92c9D...42A0D932E
0 ETH0.0025303225.25857708
Safe Mint170431892023-04-14 4:51:35909 days ago1681447895IN
0x31D92c9D...42A0D932E
0 ETH0.0030597230.54315522
Safe Mint170431762023-04-14 4:48:47909 days ago1681447727IN
0x31D92c9D...42A0D932E
0 ETH0.0028814928.76401691
Safe Mint170431562023-04-14 4:44:47909 days ago1681447487IN
0x31D92c9D...42A0D932E
0 ETH0.0030497330.44341962
Safe Mint170431432023-04-14 4:41:59909 days ago1681447319IN
0x31D92c9D...42A0D932E
0 ETH0.0026887826.84037031
Safe Mint170431342023-04-14 4:40:11909 days ago1681447211IN
0x31D92c9D...42A0D932E
0 ETH0.0026153226.10699682
Safe Mint170431242023-04-14 4:38:11909 days ago1681447091IN
0x31D92c9D...42A0D932E
0 ETH0.0024277124.23420646
Safe Mint170430722023-04-14 4:27:35909 days ago1681446455IN
0x31D92c9D...42A0D932E
0 ETH0.002543425.3890807
Safe Mint170430522023-04-14 4:23:35909 days ago1681446215IN
0x31D92c9D...42A0D932E
0 ETH0.0027403327.35493892
Safe Mint170430012023-04-14 4:12:47909 days ago1681445567IN
0x31D92c9D...42A0D932E
0 ETH0.0029568429.51625582
Safe Mint170415152023-04-13 23:08:59910 days ago1681427339IN
0x31D92c9D...42A0D932E
0 ETH0.002270622.66589243
Set Approval For...170412562023-04-13 22:15:35910 days ago1681424135IN
0x31D92c9D...42A0D932E
0 ETH0.0013523229.33329769
Safe Mint170412242023-04-13 22:08:47910 days ago1681423727IN
0x31D92c9D...42A0D932E
0 ETH0.0026136426.09024989
Safe Mint170412082023-04-13 22:05:35910 days ago1681423535IN
0x31D92c9D...42A0D932E
0.00177 ETH0.0021873126.50391262
Safe Mint170408892023-04-13 20:59:59910 days ago1681419599IN
0x31D92c9D...42A0D932E
0 ETH0.0028501628.45133931
View all transactions

Latest 2 internal transactions

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer170515742023-04-15 9:38:11908 days ago1681551491
0x31D92c9D...42A0D932E
0.01593 ETH
Transfer170324842023-04-12 14:21:47911 days ago1681309307
0x31D92c9D...42A0D932E
0.04248 ETH
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MummyWallStreet

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2023-04-12
*/

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


// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

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


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

pragma solidity ^0.8.0;


/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _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) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @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] = _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/Context.sol


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

pragma solidity ^0.8.0;

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

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

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


// OpenZeppelin Contracts (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: @openzeppelin/contracts/utils/Address.sol


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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

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


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;


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

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


// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

// File: https://github.com/exo-digital-labs/ERC721R/blob/main/contracts/IERC721R.sol


// Creator: Exo Digital Labs

pragma solidity ^0.8.4;



/// @notice Refundable EIP-721 tokens
interface IERC721R is IERC165, IERC721 {
    /// @notice           Emitted when a token is refunded
    /// @dev              Emitted by `refund`
    /// @param  _sender   The person that requested a refund
    /// @param  _tokenId  The `tokenId` that was refunded
    event Refund(
        address indexed _sender,
        uint256 indexed _tokenId
    );

    /// @notice         As long as the refund is active for the given `tokenId`, refunds the user
    /// @dev            Make sure to check that the user has the token, and be aware of potential re-entrancy vectors
    /// @param  tokenId The `tokenId` to refund
    function refund(uint256 tokenId) external;

    /// @notice         Gets the refund price of the specific `tokenId`
    /// @param  tokenId The `tokenId` to query
    /// @return _wei    The amount of ether (in wei) that would be refunded
    function refundOf(uint256 tokenId) external view returns (uint256 _wei);
 
    /// @notice         Gets the first block for which the refund is not active for a given `tokenId`
    /// @param  tokenId The `tokenId` to query
    /// @return _block   The block beyond which the token cannot be refunded
    function refundDeadlineOf(uint256 tokenId) external view returns (uint256 _block);
}

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


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

pragma solidity ^0.8.0;


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

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

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

// File: https://github.com/exo-digital-labs/ERC721R/blob/main/contracts/ERC721A.sol


// Creator: Chiru Labs
// Forked to make private methods internal instead

pragma solidity ^0.8.4;








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

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

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

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

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

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

    // Token name
    string internal _name;

    // Token symbol
    string internal _symbol;

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

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

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

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

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

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

    /**
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

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

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

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

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberMinted);
    }

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

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

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        _addressData[owner].aux = aux;
    }

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

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

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

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

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

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

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

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

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (safe && to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex != end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex != end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

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

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

        bool isApprovedOrOwner = (_msgSender() == from ||
            isApprovedForAll(from, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

    /**
     * @dev This is equivalent to _burn(tokenId, false)
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = prevOwnership.addr;

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSender() == from ||
                isApprovedForAll(from, _msgSender()) ||
                getApproved(tokenId) == _msgSender());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            AddressData storage addressData = _addressData[from];
            addressData.balance -= 1;
            addressData.numberBurned += 1;

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

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

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

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

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

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

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

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

// File: contracts/mummydeploywallstreet.sol


pragma solidity ^0.8.18;





contract MummyWallStreet is ERC721A, Ownable {
    uint256 public mintPrice = 0.00177 ether;
    uint256 public maxMintPerUser = 13;
    uint256 public maxMintSupply = 5000;
    uint256 public maxFreeMintPerUser = 3;

    // Variable to store baseURI
    string private _baseTokenURI;

    // Mapping to store the number of free mints for each user
    mapping(address => uint256) private _freeMints;

    constructor() ERC721A("Mummy Wall Street", "MYWS") {
        _baseTokenURI = "ipfs://QmcwBUhujuTdXLqZQhQan4yFtiBuBZk6MxasZe2Cfzhi8h/";
    }

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

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, Strings.toString(tokenId), ".json")) : "";
    }

     function setMaxMintPerUser(uint256 newMaxMintPerUser) external onlyOwner {
        maxMintPerUser = newMaxMintPerUser;
    }

    function setMaxMintSupply(uint256 newMaxMintSupply) external onlyOwner {
        maxMintSupply = newMaxMintSupply;
    }

    // Function to update the baseURI
    function setBaseURI(string memory newBaseURI) external onlyOwner {
        _baseTokenURI = newBaseURI;
    }

    // Function to check the baseURI
    function getBaseURI() external view returns (string memory) {
        return _baseURI();
    }

    // Function to change the mint price
    function setMintPrice(uint256 newMintPrice) external onlyOwner {
        mintPrice = newMintPrice;
    }

function safeMint(uint256 quantity) public payable {
        if (quantity == maxFreeMintPerUser && _freeMints[msg.sender] == 0) {
            _safeMint(msg.sender, quantity);
            _freeMints[msg.sender] = quantity;
            return;
        }

        require(msg.value >= quantity * mintPrice, "Not enough funds");
        require(_numberMinted(msg.sender) + quantity <= maxMintPerUser, "Mint limit");
        require(_totalMinted() + quantity <= maxMintSupply, "Sold out");

        _safeMint(msg.sender, quantity);
    }



    // Function for the owner to mint tokens for free without any limit
  function ownerMint(uint256 quantity) external onlyOwner {
    require(_totalMinted() + quantity <= maxMintSupply, "SOLD OUT");

    _safeMint(msg.sender, quantity);
    _freeMints[msg.sender] += quantity; // update the _freeMints mapping
}



    // Function to change the maximum number of free mints per user
    function setMaxFreeMintPerUser(uint256 newMaxFreeMintPerUser) external onlyOwner {
        maxFreeMintPerUser = newMaxFreeMintPerUser;
    }

    function withdraw() external onlyOwner {
        uint256 balance = address(this).balance;
        Address.sendValue(payable(msg.sender), balance);
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreeMintPerUser","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintPerUser","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"safeMint","outputs":[],"stateMutability":"payable","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":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxFreeMintPerUser","type":"uint256"}],"name":"setMaxFreeMintPerUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxMintPerUser","type":"uint256"}],"name":"setMaxMintPerUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxMintSupply","type":"uint256"}],"name":"setMaxMintSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMintPrice","type":"uint256"}],"name":"setMintPrice","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"}]

6080604052660649ce3d40a000600955600d600a55611388600b556003600c553480156200002c57600080fd5b5060405180604001604052806011815260200170135d5b5b5e4815d85b1b0814dd1c99595d607a1b815250604051806040016040528060048152602001634d59575360e01b8152508160029081620000859190620001cd565b506003620000948282620001cd565b50506000805550620000a633620000d6565b60405180606001604052806036815260200162001e2760369139600d90620000cf9082620001cd565b5062000299565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200015357607f821691505b6020821081036200017457634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001c857600081815260208120601f850160051c81016020861015620001a35750805b601f850160051c820191505b81811015620001c457828155600101620001af565b5050505b505050565b81516001600160401b03811115620001e957620001e962000128565b6200020181620001fa84546200013e565b846200017a565b602080601f831160018114620002395760008415620002205750858301515b600019600386901b1c1916600185901b178555620001c4565b600085815260208120601f198616915b828110156200026a5788860151825594840194600190910190840162000249565b5085821015620002895787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611b7e80620002a96000396000f3fe6080604052600436106101cd5760003560e01c8063715018a6116100f7578063c285e10711610095578063e985e9c511610064578063e985e9c5146104e3578063f19e75d414610503578063f2fde38b14610523578063f4a0a5281461054357600080fd5b8063c285e10714610477578063c87b56dd1461048d578063d304c4bc146104ad578063d7a0608a146104c357600080fd5b80638da5cb5b116100d15780638da5cb5b1461040457806395d89b4114610422578063a22cb46514610437578063b88d4fde1461045757600080fd5b8063715018a6146103af5780637389fbb7146103c457806383ccaef7146103e457600080fd5b806331c864e81161016f5780636352211e1161013e5780636352211e146103445780636817c76c1461036457806370a082311461037a578063714c53981461039a57600080fd5b806331c864e8146102dc5780633ccfd60b146102ef57806342842e0e1461030457806355f804b31461032457600080fd5b8063095ea7b3116101ab578063095ea7b31461026157806318160ddd1461028357806321f4f27b146102a657806323b872dd146102bc57600080fd5b806301ffc9a7146101d257806306fdde0314610207578063081812fc14610229575b600080fd5b3480156101de57600080fd5b506101f26101ed366004611631565b610563565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c6105b5565b6040516101fe919061169e565b34801561023557600080fd5b506102496102443660046116b1565b610647565b6040516001600160a01b0390911681526020016101fe565b34801561026d57600080fd5b5061028161027c3660046116e6565b61068b565b005b34801561028f57600080fd5b50600154600054035b6040519081526020016101fe565b3480156102b257600080fd5b50610298600c5481565b3480156102c857600080fd5b506102816102d7366004611710565b610718565b6102816102ea3660046116b1565b610723565b3480156102fb57600080fd5b5061028161087e565b34801561031057600080fd5b5061028161031f366004611710565b610891565b34801561033057600080fd5b5061028161033f3660046117d8565b6108ac565b34801561035057600080fd5b5061024961035f3660046116b1565b6108c4565b34801561037057600080fd5b5061029860095481565b34801561038657600080fd5b50610298610395366004611821565b6108d6565b3480156103a657600080fd5b5061021c610925565b3480156103bb57600080fd5b50610281610934565b3480156103d057600080fd5b506102816103df3660046116b1565b610948565b3480156103f057600080fd5b506102816103ff3660046116b1565b610955565b34801561041057600080fd5b506008546001600160a01b0316610249565b34801561042e57600080fd5b5061021c610962565b34801561044357600080fd5b5061028161045236600461183c565b610971565b34801561046357600080fd5b50610281610472366004611878565b610a06565b34801561048357600080fd5b50610298600b5481565b34801561049957600080fd5b5061021c6104a83660046116b1565b610a57565b3480156104b957600080fd5b50610298600a5481565b3480156104cf57600080fd5b506102816104de3660046116b1565b610b22565b3480156104ef57600080fd5b506101f26104fe3660046118f4565b610b2f565b34801561050f57600080fd5b5061028161051e3660046116b1565b610b5d565b34801561052f57600080fd5b5061028161053e366004611821565b610be6565b34801561054f57600080fd5b5061028161055e3660046116b1565b610c5c565b60006001600160e01b031982166380ac58cd60e01b148061059457506001600160e01b03198216635b5e139f60e01b145b806105af57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546105c490611927565b80601f01602080910402602001604051908101604052809291908181526020018280546105f090611927565b801561063d5780601f106106125761010080835404028352916020019161063d565b820191906000526020600020905b81548152906001019060200180831161062057829003601f168201915b5050505050905090565b600061065282610c69565b61066f576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610696826108c4565b9050806001600160a01b0316836001600160a01b0316036106ca5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216148015906106ea57506106e88133610b2f565b155b15610708576040516367d9dca160e11b815260040160405180910390fd5b610713838383610c94565b505050565b610713838383610cf0565b600c54811480156107415750336000908152600e6020526040902054155b15610762576107503382610ee0565b336000908152600e6020526040902055565b60095461076f9082611977565b3410156107b65760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b60448201526064015b60405180910390fd5b600a54336000908152600560205260409020548290600160401b900467ffffffffffffffff166107e6919061198e565b11156108215760405162461bcd60e51b815260206004820152600a602482015269135a5b9d081b1a5b5a5d60b21b60448201526064016107ad565b600b548161082e60005490565b610838919061198e565b11156108715760405162461bcd60e51b815260206004820152600860248201526714dbdb19081bdd5d60c21b60448201526064016107ad565b61087b3382610ee0565b50565b610886610efa565b4761087b3382610f54565b61071383838360405180602001604052806000815250610a06565b6108b4610efa565b600d6108c082826119ef565b5050565b60006108cf8261106d565b5192915050565b60006001600160a01b0382166108ff576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b606061092f611189565b905090565b61093c610efa565b6109466000611198565b565b610950610efa565b600b55565b61095d610efa565b600a55565b6060600380546105c490611927565b336001600160a01b0383160361099a5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610a11848484610cf0565b6001600160a01b0383163b15158015610a335750610a31848484846111ea565b155b15610a51576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610a6282610c69565b610ac65760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107ad565b6000610ad0611189565b90506000815111610af05760405180602001604052806000815250610b1b565b80610afa846112d6565b604051602001610b0b929190611aaf565b6040516020818303038152906040525b9392505050565b610b2a610efa565b600c55565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610b65610efa565b600b5481610b7260005490565b610b7c919061198e565b1115610bb55760405162461bcd60e51b815260206004820152600860248201526714d3d3110813d55560c21b60448201526064016107ad565b610bbf3382610ee0565b336000908152600e602052604081208054839290610bde90849061198e565b909155505050565b610bee610efa565b6001600160a01b038116610c535760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107ad565b61087b81611198565b610c64610efa565b600955565b60008054821080156105af575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610cfb8261106d565b9050836001600160a01b031681600001516001600160a01b031614610d325760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480610d505750610d508533610b2f565b80610d6b575033610d6084610647565b6001600160a01b0316145b905080610d8b57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610db257604051633a954ecd60e21b815260040160405180910390fd5b610dbe60008487610c94565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116610e94576000548214610e94578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6108c0828260405180602001604052806000815250611369565b6008546001600160a01b031633146109465760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107ad565b80471015610fa45760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016107ad565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610ff1576040519150601f19603f3d011682016040523d82523d6000602084013e610ff6565b606091505b50509050806107135760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016107ad565b60408051606081018252600080825260208201819052918101919091528160005481101561117057600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff1615159181018290529061116e5780516001600160a01b031615611104579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215611169579392505050565b611104565b505b604051636f96cda160e11b815260040160405180910390fd5b6060600d80546105c490611927565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061121f903390899088908890600401611aee565b6020604051808303816000875af192505050801561125a575060408051601f3d908101601f1916820190925261125791810190611b2b565b60015b6112b8573d808015611288576040519150601f19603f3d011682016040523d82523d6000602084013e61128d565b606091505b5080516000036112b0576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060006112e383611376565b600101905060008167ffffffffffffffff8111156113035761130361174c565b6040519080825280601f01601f19166020018201604052801561132d576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461133757509392505050565b610713838383600161144e565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106113b55772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106113e1576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106113ff57662386f26fc10000830492506010015b6305f5e1008310611417576305f5e100830492506008015b612710831061142b57612710830492506004015b6064831061143d576064830492506002015b600a83106105af5760010192915050565b6000546001600160a01b03851661147757604051622e076360e81b815260040160405180910390fd5b836000036114985760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561154557506001600160a01b0387163b15155b156115cd575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461159660008884806001019550886111ea565b6115b3576040516368d2bf6b60e11b815260040160405180910390fd5b80820361154b5782600054146115c857600080fd5b611612565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082036115ce575b50600055610ed9565b6001600160e01b03198116811461087b57600080fd5b60006020828403121561164357600080fd5b8135610b1b8161161b565b60005b83811015611669578181015183820152602001611651565b50506000910152565b6000815180845261168a81602086016020860161164e565b601f01601f19169290920160200192915050565b602081526000610b1b6020830184611672565b6000602082840312156116c357600080fd5b5035919050565b80356001600160a01b03811681146116e157600080fd5b919050565b600080604083850312156116f957600080fd5b611702836116ca565b946020939093013593505050565b60008060006060848603121561172557600080fd5b61172e846116ca565b925061173c602085016116ca565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561177d5761177d61174c565b604051601f8501601f19908116603f011681019082821181831017156117a5576117a561174c565b816040528093508581528686860111156117be57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156117ea57600080fd5b813567ffffffffffffffff81111561180157600080fd5b8201601f8101841361181257600080fd5b6112ce84823560208401611762565b60006020828403121561183357600080fd5b610b1b826116ca565b6000806040838503121561184f57600080fd5b611858836116ca565b91506020830135801515811461186d57600080fd5b809150509250929050565b6000806000806080858703121561188e57600080fd5b611897856116ca565b93506118a5602086016116ca565b925060408501359150606085013567ffffffffffffffff8111156118c857600080fd5b8501601f810187136118d957600080fd5b6118e887823560208401611762565b91505092959194509250565b6000806040838503121561190757600080fd5b611910836116ca565b915061191e602084016116ca565b90509250929050565b600181811c9082168061193b57607f821691505b60208210810361195b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176105af576105af611961565b808201808211156105af576105af611961565b601f82111561071357600081815260208120601f850160051c810160208610156119c85750805b601f850160051c820191505b818110156119e7578281556001016119d4565b505050505050565b815167ffffffffffffffff811115611a0957611a0961174c565b611a1d81611a178454611927565b846119a1565b602080601f831160018114611a525760008415611a3a5750858301515b600019600386901b1c1916600185901b1785556119e7565b600085815260208120601f198616915b82811015611a8157888601518255948401946001909101908401611a62565b5085821015611a9f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008351611ac181846020880161164e565b835190830190611ad581836020880161164e565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611b2190830184611672565b9695505050505050565b600060208284031215611b3d57600080fd5b8151610b1b8161161b56fea2646970667358221220ba9eec749d747674ecf7f5c96530f0c3ddd67fe9997341482da9983e023f261264736f6c63430008120033697066733a2f2f516d6377425568756a755464584c715a516851616e34794674694275425a6b364d7861735a653243667a686938682f

Deployed Bytecode

0x6080604052600436106101cd5760003560e01c8063715018a6116100f7578063c285e10711610095578063e985e9c511610064578063e985e9c5146104e3578063f19e75d414610503578063f2fde38b14610523578063f4a0a5281461054357600080fd5b8063c285e10714610477578063c87b56dd1461048d578063d304c4bc146104ad578063d7a0608a146104c357600080fd5b80638da5cb5b116100d15780638da5cb5b1461040457806395d89b4114610422578063a22cb46514610437578063b88d4fde1461045757600080fd5b8063715018a6146103af5780637389fbb7146103c457806383ccaef7146103e457600080fd5b806331c864e81161016f5780636352211e1161013e5780636352211e146103445780636817c76c1461036457806370a082311461037a578063714c53981461039a57600080fd5b806331c864e8146102dc5780633ccfd60b146102ef57806342842e0e1461030457806355f804b31461032457600080fd5b8063095ea7b3116101ab578063095ea7b31461026157806318160ddd1461028357806321f4f27b146102a657806323b872dd146102bc57600080fd5b806301ffc9a7146101d257806306fdde0314610207578063081812fc14610229575b600080fd5b3480156101de57600080fd5b506101f26101ed366004611631565b610563565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c6105b5565b6040516101fe919061169e565b34801561023557600080fd5b506102496102443660046116b1565b610647565b6040516001600160a01b0390911681526020016101fe565b34801561026d57600080fd5b5061028161027c3660046116e6565b61068b565b005b34801561028f57600080fd5b50600154600054035b6040519081526020016101fe565b3480156102b257600080fd5b50610298600c5481565b3480156102c857600080fd5b506102816102d7366004611710565b610718565b6102816102ea3660046116b1565b610723565b3480156102fb57600080fd5b5061028161087e565b34801561031057600080fd5b5061028161031f366004611710565b610891565b34801561033057600080fd5b5061028161033f3660046117d8565b6108ac565b34801561035057600080fd5b5061024961035f3660046116b1565b6108c4565b34801561037057600080fd5b5061029860095481565b34801561038657600080fd5b50610298610395366004611821565b6108d6565b3480156103a657600080fd5b5061021c610925565b3480156103bb57600080fd5b50610281610934565b3480156103d057600080fd5b506102816103df3660046116b1565b610948565b3480156103f057600080fd5b506102816103ff3660046116b1565b610955565b34801561041057600080fd5b506008546001600160a01b0316610249565b34801561042e57600080fd5b5061021c610962565b34801561044357600080fd5b5061028161045236600461183c565b610971565b34801561046357600080fd5b50610281610472366004611878565b610a06565b34801561048357600080fd5b50610298600b5481565b34801561049957600080fd5b5061021c6104a83660046116b1565b610a57565b3480156104b957600080fd5b50610298600a5481565b3480156104cf57600080fd5b506102816104de3660046116b1565b610b22565b3480156104ef57600080fd5b506101f26104fe3660046118f4565b610b2f565b34801561050f57600080fd5b5061028161051e3660046116b1565b610b5d565b34801561052f57600080fd5b5061028161053e366004611821565b610be6565b34801561054f57600080fd5b5061028161055e3660046116b1565b610c5c565b60006001600160e01b031982166380ac58cd60e01b148061059457506001600160e01b03198216635b5e139f60e01b145b806105af57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546105c490611927565b80601f01602080910402602001604051908101604052809291908181526020018280546105f090611927565b801561063d5780601f106106125761010080835404028352916020019161063d565b820191906000526020600020905b81548152906001019060200180831161062057829003601f168201915b5050505050905090565b600061065282610c69565b61066f576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610696826108c4565b9050806001600160a01b0316836001600160a01b0316036106ca5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216148015906106ea57506106e88133610b2f565b155b15610708576040516367d9dca160e11b815260040160405180910390fd5b610713838383610c94565b505050565b610713838383610cf0565b600c54811480156107415750336000908152600e6020526040902054155b15610762576107503382610ee0565b336000908152600e6020526040902055565b60095461076f9082611977565b3410156107b65760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b60448201526064015b60405180910390fd5b600a54336000908152600560205260409020548290600160401b900467ffffffffffffffff166107e6919061198e565b11156108215760405162461bcd60e51b815260206004820152600a602482015269135a5b9d081b1a5b5a5d60b21b60448201526064016107ad565b600b548161082e60005490565b610838919061198e565b11156108715760405162461bcd60e51b815260206004820152600860248201526714dbdb19081bdd5d60c21b60448201526064016107ad565b61087b3382610ee0565b50565b610886610efa565b4761087b3382610f54565b61071383838360405180602001604052806000815250610a06565b6108b4610efa565b600d6108c082826119ef565b5050565b60006108cf8261106d565b5192915050565b60006001600160a01b0382166108ff576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b606061092f611189565b905090565b61093c610efa565b6109466000611198565b565b610950610efa565b600b55565b61095d610efa565b600a55565b6060600380546105c490611927565b336001600160a01b0383160361099a5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610a11848484610cf0565b6001600160a01b0383163b15158015610a335750610a31848484846111ea565b155b15610a51576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610a6282610c69565b610ac65760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107ad565b6000610ad0611189565b90506000815111610af05760405180602001604052806000815250610b1b565b80610afa846112d6565b604051602001610b0b929190611aaf565b6040516020818303038152906040525b9392505050565b610b2a610efa565b600c55565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610b65610efa565b600b5481610b7260005490565b610b7c919061198e565b1115610bb55760405162461bcd60e51b815260206004820152600860248201526714d3d3110813d55560c21b60448201526064016107ad565b610bbf3382610ee0565b336000908152600e602052604081208054839290610bde90849061198e565b909155505050565b610bee610efa565b6001600160a01b038116610c535760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107ad565b61087b81611198565b610c64610efa565b600955565b60008054821080156105af575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610cfb8261106d565b9050836001600160a01b031681600001516001600160a01b031614610d325760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480610d505750610d508533610b2f565b80610d6b575033610d6084610647565b6001600160a01b0316145b905080610d8b57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610db257604051633a954ecd60e21b815260040160405180910390fd5b610dbe60008487610c94565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116610e94576000548214610e94578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6108c0828260405180602001604052806000815250611369565b6008546001600160a01b031633146109465760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107ad565b80471015610fa45760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016107ad565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610ff1576040519150601f19603f3d011682016040523d82523d6000602084013e610ff6565b606091505b50509050806107135760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016107ad565b60408051606081018252600080825260208201819052918101919091528160005481101561117057600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff1615159181018290529061116e5780516001600160a01b031615611104579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215611169579392505050565b611104565b505b604051636f96cda160e11b815260040160405180910390fd5b6060600d80546105c490611927565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061121f903390899088908890600401611aee565b6020604051808303816000875af192505050801561125a575060408051601f3d908101601f1916820190925261125791810190611b2b565b60015b6112b8573d808015611288576040519150601f19603f3d011682016040523d82523d6000602084013e61128d565b606091505b5080516000036112b0576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060006112e383611376565b600101905060008167ffffffffffffffff8111156113035761130361174c565b6040519080825280601f01601f19166020018201604052801561132d576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461133757509392505050565b610713838383600161144e565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106113b55772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106113e1576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106113ff57662386f26fc10000830492506010015b6305f5e1008310611417576305f5e100830492506008015b612710831061142b57612710830492506004015b6064831061143d576064830492506002015b600a83106105af5760010192915050565b6000546001600160a01b03851661147757604051622e076360e81b815260040160405180910390fd5b836000036114985760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561154557506001600160a01b0387163b15155b156115cd575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461159660008884806001019550886111ea565b6115b3576040516368d2bf6b60e11b815260040160405180910390fd5b80820361154b5782600054146115c857600080fd5b611612565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082036115ce575b50600055610ed9565b6001600160e01b03198116811461087b57600080fd5b60006020828403121561164357600080fd5b8135610b1b8161161b565b60005b83811015611669578181015183820152602001611651565b50506000910152565b6000815180845261168a81602086016020860161164e565b601f01601f19169290920160200192915050565b602081526000610b1b6020830184611672565b6000602082840312156116c357600080fd5b5035919050565b80356001600160a01b03811681146116e157600080fd5b919050565b600080604083850312156116f957600080fd5b611702836116ca565b946020939093013593505050565b60008060006060848603121561172557600080fd5b61172e846116ca565b925061173c602085016116ca565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561177d5761177d61174c565b604051601f8501601f19908116603f011681019082821181831017156117a5576117a561174c565b816040528093508581528686860111156117be57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156117ea57600080fd5b813567ffffffffffffffff81111561180157600080fd5b8201601f8101841361181257600080fd5b6112ce84823560208401611762565b60006020828403121561183357600080fd5b610b1b826116ca565b6000806040838503121561184f57600080fd5b611858836116ca565b91506020830135801515811461186d57600080fd5b809150509250929050565b6000806000806080858703121561188e57600080fd5b611897856116ca565b93506118a5602086016116ca565b925060408501359150606085013567ffffffffffffffff8111156118c857600080fd5b8501601f810187136118d957600080fd5b6118e887823560208401611762565b91505092959194509250565b6000806040838503121561190757600080fd5b611910836116ca565b915061191e602084016116ca565b90509250929050565b600181811c9082168061193b57607f821691505b60208210810361195b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176105af576105af611961565b808201808211156105af576105af611961565b601f82111561071357600081815260208120601f850160051c810160208610156119c85750805b601f850160051c820191505b818110156119e7578281556001016119d4565b505050505050565b815167ffffffffffffffff811115611a0957611a0961174c565b611a1d81611a178454611927565b846119a1565b602080601f831160018114611a525760008415611a3a5750858301515b600019600386901b1c1916600185901b1785556119e7565b600085815260208120601f198616915b82811015611a8157888601518255948401946001909101908401611a62565b5085821015611a9f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008351611ac181846020880161164e565b835190830190611ad581836020880161164e565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611b2190830184611672565b9695505050505050565b600060208284031215611b3d57600080fd5b8151610b1b8161161b56fea2646970667358221220ba9eec749d747674ecf7f5c96530f0c3ddd67fe9997341482da9983e023f261264736f6c63430008120033

Deployed Bytecode Sourcemap

60835:3016:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42988:305;;;;;;;;;;-1:-1:-1;42988:305:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;42988:305:0;;;;;;;;46101:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;47604:204::-;;;;;;;;;;-1:-1:-1;47604:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;47604:204:0;1533:203:1;47167:371:0;;;;;;;;;;-1:-1:-1;47167:371:0;;;;;:::i;:::-;;:::i;:::-;;42237:303;;;;;;;;;;-1:-1:-1;42491:12:0;;42281:7;42475:13;:28;42237:303;;;2324:25:1;;;2312:2;2297:18;42237:303:0;2178:177:1;61017:37:0;;;;;;;;;;;;;;;;48469:170;;;;;;;;;;-1:-1:-1;48469:170:0;;;;;:::i;:::-;;:::i;62591:544::-;;;;;;:::i;:::-;;:::i;63693:155::-;;;;;;;;;;;;;:::i;48710:185::-;;;;;;;;;;-1:-1:-1;48710:185:0;;;;;:::i;:::-;;:::i;62179:110::-;;;;;;;;;;-1:-1:-1;62179:110:0;;;;;:::i;:::-;;:::i;45909:125::-;;;;;;;;;;-1:-1:-1;45909:125:0;;;;;:::i;:::-;;:::i;60887:40::-;;;;;;;;;;;;;;;;43357:206;;;;;;;;;;-1:-1:-1;43357:206:0;;;;;:::i;:::-;;:::i;62335:96::-;;;;;;;;;;;;;:::i;17975:103::-;;;;;;;;;;;;;:::i;62010:122::-;;;;;;;;;;-1:-1:-1;62010:122:0;;;;;:::i;:::-;;:::i;61876:126::-;;;;;;;;;;-1:-1:-1;61876:126:0;;;;;:::i;:::-;;:::i;17327:87::-;;;;;;;;;;-1:-1:-1;17400:6:0;;-1:-1:-1;;;;;17400:6:0;17327:87;;46270:104;;;;;;;;;;;;;:::i;47880:287::-;;;;;;;;;;-1:-1:-1;47880:287:0;;;;;:::i;:::-;;:::i;48966:369::-;;;;;;;;;;-1:-1:-1;48966:369:0;;;;;:::i;:::-;;:::i;60975:35::-;;;;;;;;;;;;;;;;61517:350;;;;;;;;;;-1:-1:-1;61517:350:0;;;;;:::i;:::-;;:::i;60934:34::-;;;;;;;;;;;;;;;;63543:142;;;;;;;;;;-1:-1:-1;63543:142:0;;;;;:::i;:::-;;:::i;48238:164::-;;;;;;;;;;-1:-1:-1;48238:164:0;;;;;:::i;:::-;;:::i;63218:244::-;;;;;;;;;;-1:-1:-1;63218:244:0;;;;;:::i;:::-;;:::i;18233:201::-;;;;;;;;;;-1:-1:-1;18233:201:0;;;;;:::i;:::-;;:::i;62481:106::-;;;;;;;;;;-1:-1:-1;62481:106:0;;;;;:::i;:::-;;:::i;42988:305::-;43090:4;-1:-1:-1;;;;;;43127:40:0;;-1:-1:-1;;;43127:40:0;;:105;;-1:-1:-1;;;;;;;43184:48:0;;-1:-1:-1;;;43184:48:0;43127:105;:158;;;-1:-1:-1;;;;;;;;;;31165:40:0;;;43249:36;43107:178;42988:305;-1:-1:-1;;42988:305:0:o;46101:100::-;46155:13;46188:5;46181:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46101:100;:::o;47604:204::-;47672:7;47697:16;47705:7;47697;:16::i;:::-;47692:64;;47722:34;;-1:-1:-1;;;47722:34:0;;;;;;;;;;;47692:64;-1:-1:-1;47776:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;47776:24:0;;47604:204::o;47167:371::-;47240:13;47256:24;47272:7;47256:15;:24::i;:::-;47240:40;;47301:5;-1:-1:-1;;;;;47295:11:0;:2;-1:-1:-1;;;;;47295:11:0;;47291:48;;47315:24;;-1:-1:-1;;;47315:24:0;;;;;;;;;;;47291:48;15958:10;-1:-1:-1;;;;;47356:21:0;;;;;;:63;;-1:-1:-1;47382:37:0;47399:5;15958:10;48238:164;:::i;47382:37::-;47381:38;47356:63;47352:138;;;47443:35;;-1:-1:-1;;;47443:35:0;;;;;;;;;;;47352:138;47502:28;47511:2;47515:7;47524:5;47502:8;:28::i;:::-;47229:309;47167:371;;:::o;48469:170::-;48603:28;48613:4;48619:2;48623:7;48603:9;:28::i;62591:544::-;62669:18;;62657:8;:30;:61;;;;-1:-1:-1;62702:10:0;62691:22;;;;:10;:22;;;;;;:27;62657:61;62653:194;;;62735:31;62745:10;62757:8;62735:9;:31::i;:::-;62792:10;62781:22;;;;:10;:22;;;;;:33;62591:544::o;62653:194::-;62891:9;;62880:20;;:8;:20;:::i;:::-;62867:9;:33;;62859:62;;;;-1:-1:-1;;;62859:62:0;;6290:2:1;62859:62:0;;;6272:21:1;6329:2;6309:18;;;6302:30;-1:-1:-1;;;6348:18:1;;;6341:46;6404:18;;62859:62:0;;;;;;;;;62980:14;;62954:10;43706:7;43741:19;;;:12;:19;;;;;:32;62968:8;;-1:-1:-1;;;43741:32:0;;;;62940:36;;;;:::i;:::-;:54;;62932:77;;;;-1:-1:-1;;;62932:77:0;;6765:2:1;62932:77:0;;;6747:21:1;6804:2;6784:18;;;6777:30;-1:-1:-1;;;6823:18:1;;;6816:40;6873:18;;62932:77:0;6563:334:1;62932:77:0;63057:13;;63045:8;63028:14;42680:7;42866:13;;42633:283;63028:14;:25;;;;:::i;:::-;:42;;63020:63;;;;-1:-1:-1;;;63020:63:0;;7104:2:1;63020:63:0;;;7086:21:1;7143:1;7123:18;;;7116:29;-1:-1:-1;;;7161:18:1;;;7154:38;7209:18;;63020:63:0;6902:331:1;63020:63:0;63096:31;63106:10;63118:8;63096:9;:31::i;:::-;62591:544;:::o;63693:155::-;17213:13;:11;:13::i;:::-;63761:21:::1;63793:47;63819:10;63761:21:::0;63793:17:::1;:47::i;48710:185::-:0;48848:39;48865:4;48871:2;48875:7;48848:39;;;;;;;;;;;;:16;:39::i;62179:110::-;17213:13;:11;:13::i;:::-;62255::::1;:26;62271:10:::0;62255:13;:26:::1;:::i;:::-;;62179:110:::0;:::o;45909:125::-;45973:7;46000:21;46013:7;46000:12;:21::i;:::-;:26;;45909:125;-1:-1:-1;;45909:125:0:o;43357:206::-;43421:7;-1:-1:-1;;;;;43445:19:0;;43441:60;;43473:28;;-1:-1:-1;;;43473:28:0;;;;;;;;;;;43441:60;-1:-1:-1;;;;;;43527:19:0;;;;;:12;:19;;;;;:27;;;;43357:206::o;62335:96::-;62380:13;62413:10;:8;:10::i;:::-;62406:17;;62335:96;:::o;17975:103::-;17213:13;:11;:13::i;:::-;18040:30:::1;18067:1;18040:18;:30::i;:::-;17975:103::o:0;62010:122::-;17213:13;:11;:13::i;:::-;62092::::1;:32:::0;62010:122::o;61876:126::-;17213:13;:11;:13::i;:::-;61960:14:::1;:34:::0;61876:126::o;46270:104::-;46326:13;46359:7;46352:14;;;;;:::i;47880:287::-;15958:10;-1:-1:-1;;;;;47979:24:0;;;47975:54;;48012:17;;-1:-1:-1;;;48012:17:0;;;;;;;;;;;47975:54;15958:10;48042:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;48042:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;48042:53:0;;;;;;;;;;48111:48;;540:41:1;;;48042:42:0;;15958:10;48111:48;;513:18:1;48111:48:0;;;;;;;47880:287;;:::o;48966:369::-;49133:28;49143:4;49149:2;49153:7;49133:9;:28::i;:::-;-1:-1:-1;;;;;49176:13:0;;20320:19;:23;;49176:76;;;;;49196:56;49227:4;49233:2;49237:7;49246:5;49196:30;:56::i;:::-;49195:57;49176:76;49172:156;;;49276:40;;-1:-1:-1;;;49276:40:0;;;;;;;;;;;49172:156;48966:369;;;;:::o;61517:350::-;61590:13;61624:16;61632:7;61624;:16::i;:::-;61616:76;;;;-1:-1:-1;;;61616:76:0;;9644:2:1;61616:76:0;;;9626:21:1;9683:2;9663:18;;;9656:30;9722:34;9702:18;;;9695:62;-1:-1:-1;;;9773:18:1;;;9766:45;9828:19;;61616:76:0;9442:411:1;61616:76:0;61705:21;61729:10;:8;:10::i;:::-;61705:34;;61781:1;61763:7;61757:21;:25;:102;;;;;;;;;;;;;;;;;61809:7;61818:25;61835:7;61818:16;:25::i;:::-;61792:61;;;;;;;;;:::i;:::-;;;;;;;;;;;;;61757:102;61750:109;61517:350;-1:-1:-1;;;61517:350:0:o;63543:142::-;17213:13;:11;:13::i;:::-;63635:18:::1;:42:::0;63543:142::o;48238:164::-;-1:-1:-1;;;;;48359:25:0;;;48335:4;48359:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;48238:164::o;63218:244::-;17213:13;:11;:13::i;:::-;63318::::1;;63306:8;63289:14;42680:7:::0;42866:13;;42633:283;63289:14:::1;:25;;;;:::i;:::-;:42;;63281:63;;;::::0;-1:-1:-1;;;63281:63:0;;10728:2:1;63281:63:0::1;::::0;::::1;10710:21:1::0;10767:1;10747:18;;;10740:29;-1:-1:-1;;;10785:18:1;;;10778:38;10833:18;;63281:63:0::1;10526:331:1::0;63281:63:0::1;63353:31;63363:10;63375:8;63353:9;:31::i;:::-;63402:10;63391:22;::::0;;;:10:::1;:22;::::0;;;;:34;;63417:8;;63391:22;:34:::1;::::0;63417:8;;63391:34:::1;:::i;:::-;::::0;;;-1:-1:-1;;;63218:244:0:o;18233:201::-;17213:13;:11;:13::i;:::-;-1:-1:-1;;;;;18322:22:0;::::1;18314:73;;;::::0;-1:-1:-1;;;18314:73:0;;11064:2:1;18314:73:0::1;::::0;::::1;11046:21:1::0;11103:2;11083:18;;;11076:30;11142:34;11122:18;;;11115:62;-1:-1:-1;;;11193:18:1;;;11186:36;11239:19;;18314:73:0::1;10862:402:1::0;18314:73:0::1;18398:28;18417:8;18398:18;:28::i;62481:106::-:0;17213:13;:11;:13::i;:::-;62555:9:::1;:24:::0;62481:106::o;49590:187::-;49647:4;49711:13;;49701:7;:23;49671:98;;;;-1:-1:-1;;49742:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;49742:27:0;;;;49741:28;;49590:187::o;57761:197::-;57877:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;57877:29:0;-1:-1:-1;;;;;57877:29:0;;;;;;;;;57922:28;;57877:24;;57922:28;;;;;;;57761:197;;;:::o;52703:2131::-;52819:35;52857:21;52870:7;52857:12;:21::i;:::-;52819:59;;52917:4;-1:-1:-1;;;;;52895:26:0;:13;:18;;;-1:-1:-1;;;;;52895:26:0;;52891:67;;52930:28;;-1:-1:-1;;;52930:28:0;;;;;;;;;;;52891:67;52971:22;15958:10;-1:-1:-1;;;;;52997:20:0;;;;:73;;-1:-1:-1;53034:36:0;53051:4;15958:10;48238:164;:::i;53034:36::-;52997:126;;;-1:-1:-1;15958:10:0;53087:20;53099:7;53087:11;:20::i;:::-;-1:-1:-1;;;;;53087:36:0;;52997:126;52971:153;;53142:17;53137:66;;53168:35;;-1:-1:-1;;;53168:35:0;;;;;;;;;;;53137:66;-1:-1:-1;;;;;53218:16:0;;53214:52;;53243:23;;-1:-1:-1;;;53243:23:0;;;;;;;;;;;53214:52;53387:35;53404:1;53408:7;53417:4;53387:8;:35::i;:::-;-1:-1:-1;;;;;53718:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;53718:31:0;;;;;;;-1:-1:-1;;53718:31:0;;;;;;;53764:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;53764:29:0;;;;;;;;;;;53844:20;;;:11;:20;;;;;;53879:18;;-1:-1:-1;;;;;;53912:49:0;;;;-1:-1:-1;;;53945:15:0;53912:49;;;;;;;;;;54235:11;;54295:24;;;;;54338:13;;53844:20;;54295:24;;54338:13;54334:384;;54548:13;;54533:11;:28;54529:174;;54586:20;;54655:28;;;;54629:54;;-1:-1:-1;;;54629:54:0;-1:-1:-1;;;;;;54629:54:0;;;-1:-1:-1;;;;;54586:20:0;;54629:54;;;;54529:174;53693:1036;;;54765:7;54761:2;-1:-1:-1;;;;;54746:27:0;54755:4;-1:-1:-1;;;;;54746:27:0;;;;;;;;;;;54784:42;52808:2026;;52703:2131;;;:::o;49785:104::-;49854:27;49864:2;49868:8;49854:27;;;;;;;;;;;;:9;:27::i;17492:132::-;17400:6;;-1:-1:-1;;;;;17400:6:0;15958:10;17556:23;17548:68;;;;-1:-1:-1;;;17548:68:0;;11471:2:1;17548:68:0;;;11453:21:1;;;11490:18;;;11483:30;11549:34;11529:18;;;11522:62;11601:18;;17548:68:0;11269:356:1;21286:317:0;21401:6;21376:21;:31;;21368:73;;;;-1:-1:-1;;;21368:73:0;;11832:2:1;21368:73:0;;;11814:21:1;11871:2;11851:18;;;11844:30;11910:31;11890:18;;;11883:59;11959:18;;21368:73:0;11630:353:1;21368:73:0;21455:12;21473:9;-1:-1:-1;;;;;21473:14:0;21495:6;21473:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21454:52;;;21525:7;21517:78;;;;-1:-1:-1;;;21517:78:0;;12400:2:1;21517:78:0;;;12382:21:1;12439:2;12419:18;;;12412:30;12478:34;12458:18;;;12451:62;12549:28;12529:18;;;12522:56;12595:19;;21517:78:0;12198:422:1;44738:1109:0;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;44849:7:0;44932:13;;44925:4;:20;44894:886;;;44966:31;45000:17;;;:11;:17;;;;;;;;;44966:51;;;;;;;;;-1:-1:-1;;;;;44966:51:0;;;;-1:-1:-1;;;44966:51:0;;;;;;;;;;;-1:-1:-1;;;44966:51:0;;;;;;;;;;;;;;45036:729;;45086:14;;-1:-1:-1;;;;;45086:28:0;;45082:101;;45150:9;44738:1109;-1:-1:-1;;;44738:1109:0:o;45082:101::-;-1:-1:-1;;;45525:6:0;45570:17;;;;:11;:17;;;;;;;;;45558:29;;;;;;;;;-1:-1:-1;;;;;45558:29:0;;;;;-1:-1:-1;;;45558:29:0;;;;;;;;;;;-1:-1:-1;;;45558:29:0;;;;;;;;;;;;;45618:28;45614:109;;45686:9;44738:1109;-1:-1:-1;;;44738:1109:0:o;45614:109::-;45485:261;;;44947:833;44894:886;45808:31;;-1:-1:-1;;;45808:31:0;;;;;;;;;;;61403:106;61455:13;61488;61481:20;;;;;:::i;18594:191::-;18687:6;;;-1:-1:-1;;;;;18704:17:0;;;-1:-1:-1;;;;;;18704:17:0;;;;;;;18737:40;;18687:6;;;18704:17;18687:6;;18737:40;;18668:16;;18737:40;18657:128;18594:191;:::o;58450:668::-;58635:72;;-1:-1:-1;;;58635:72:0;;58614:4;;-1:-1:-1;;;;;58635:36:0;;;;;:72;;15958:10;;58686:4;;58692:7;;58701:5;;58635:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;58635:72:0;;;;;;;;-1:-1:-1;;58635:72:0;;;;;;;;;;;;:::i;:::-;;;58631:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58869:6;:13;58886:1;58869:18;58865:235;;58915:40;;-1:-1:-1;;;58915:40:0;;;;;;;;;;;58865:235;59058:6;59052:13;59043:6;59039:2;59035:15;59028:38;58631:480;-1:-1:-1;;;;;;58754:55:0;-1:-1:-1;;;58754:55:0;;-1:-1:-1;58631:480:0;58450:668;;;;;;:::o;13305:716::-;13361:13;13412:14;13429:17;13440:5;13429:10;:17::i;:::-;13449:1;13429:21;13412:38;;13465:20;13499:6;13488:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13488:18:0;-1:-1:-1;13465:41:0;-1:-1:-1;13630:28:0;;;13646:2;13630:28;13687:288;-1:-1:-1;;13719:5:0;-1:-1:-1;;;13856:2:0;13845:14;;13840:30;13719:5;13827:44;13917:2;13908:11;;;-1:-1:-1;13938:21:0;13687:288;13938:21;-1:-1:-1;13996:6:0;13305:716;-1:-1:-1;;;13305:716:0:o;50252:163::-;50375:32;50381:2;50385:8;50395:5;50402:4;50375:5;:32::i;10171:922::-;10224:7;;-1:-1:-1;;;10302:15:0;;10298:102;;-1:-1:-1;;;10338:15:0;;;-1:-1:-1;10382:2:0;10372:12;10298:102;10427:6;10418:5;:15;10414:102;;10463:6;10454:15;;;-1:-1:-1;10498:2:0;10488:12;10414:102;10543:6;10534:5;:15;10530:102;;10579:6;10570:15;;;-1:-1:-1;10614:2:0;10604:12;10530:102;10659:5;10650;:14;10646:99;;10694:5;10685:14;;;-1:-1:-1;10728:1:0;10718:11;10646:99;10772:5;10763;:14;10759:99;;10807:5;10798:14;;;-1:-1:-1;10841:1:0;10831:11;10759:99;10885:5;10876;:14;10872:99;;10920:5;10911:14;;;-1:-1:-1;10954:1:0;10944:11;10872:99;10998:5;10989;:14;10985:66;;11034:1;11024:11;11079:6;10171:922;-1:-1:-1;;10171:922:0:o;50674:1775::-;50813:20;50836:13;-1:-1:-1;;;;;50864:16:0;;50860:48;;50889:19;;-1:-1:-1;;;50889:19:0;;;;;;;;;;;50860:48;50923:8;50935:1;50923:13;50919:44;;50945:18;;-1:-1:-1;;;50945:18:0;;;;;;;;;;;50919:44;-1:-1:-1;;;;;51314:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;51373:49:0;;51314:44;;;;;;;;51373:49;;;-1:-1:-1;;;;;51314:44:0;;;;;;51373:49;;;;;;;;;;;;;;;;51439:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;51489:66:0;;;;-1:-1:-1;;;51539:15:0;51489:66;;;;;;;;;;51439:25;51636:23;;;51680:4;:23;;;;-1:-1:-1;;;;;;51688:13:0;;20320:19;:23;;51688:15;51676:641;;;51724:314;51755:38;;51780:12;;-1:-1:-1;;;;;51755:38:0;;;51772:1;;51755:38;;51772:1;;51755:38;51821:69;51860:1;51864:2;51868:14;;;;;;51884:5;51821:30;:69::i;:::-;51816:174;;51926:40;;-1:-1:-1;;;51926:40:0;;;;;;;;;;;51816:174;52033:3;52017:12;:19;51724:314;;52119:12;52102:13;;:29;52098:43;;52133:8;;;52098:43;51676:641;;;52182:120;52213:40;;52238:14;;;;;-1:-1:-1;;;;;52213:40:0;;;52230:1;;52213:40;;52230:1;;52213:40;52297:3;52281:12;:19;52182:120;;51676:641;-1:-1:-1;52331:13:0;:28;52381:60;48966:369;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;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;2693:127::-;2754:10;2749:3;2745:20;2742:1;2735:31;2785:4;2782:1;2775:15;2809:4;2806:1;2799:15;2825:632;2890:5;2920:18;2961:2;2953:6;2950:14;2947:40;;;2967:18;;:::i;:::-;3042:2;3036:9;3010:2;3096:15;;-1:-1:-1;;3092:24:1;;;3118:2;3088:33;3084:42;3072:55;;;3142:18;;;3162:22;;;3139:46;3136:72;;;3188:18;;:::i;:::-;3228:10;3224:2;3217:22;3257:6;3248:15;;3287:6;3279;3272:22;3327:3;3318:6;3313:3;3309:16;3306:25;3303:45;;;3344:1;3341;3334:12;3303:45;3394:6;3389:3;3382:4;3374:6;3370:17;3357:44;3449:1;3442:4;3433:6;3425;3421:19;3417:30;3410:41;;;;2825:632;;;;;:::o;3462:451::-;3531:6;3584:2;3572:9;3563:7;3559:23;3555:32;3552:52;;;3600:1;3597;3590:12;3552:52;3640:9;3627:23;3673:18;3665:6;3662:30;3659:50;;;3705:1;3702;3695:12;3659:50;3728:22;;3781:4;3773:13;;3769:27;-1:-1:-1;3759:55:1;;3810:1;3807;3800:12;3759:55;3833:74;3899:7;3894:2;3881:16;3876:2;3872;3868:11;3833:74;:::i;3918:186::-;3977:6;4030:2;4018:9;4009:7;4005:23;4001:32;3998:52;;;4046:1;4043;4036:12;3998:52;4069:29;4088:9;4069:29;:::i;4109:347::-;4174:6;4182;4235:2;4223:9;4214:7;4210:23;4206:32;4203:52;;;4251:1;4248;4241:12;4203:52;4274:29;4293:9;4274:29;:::i;:::-;4264:39;;4353:2;4342:9;4338:18;4325:32;4400:5;4393:13;4386:21;4379:5;4376:32;4366:60;;4422:1;4419;4412:12;4366:60;4445:5;4435:15;;;4109:347;;;;;:::o;4461:667::-;4556:6;4564;4572;4580;4633:3;4621:9;4612:7;4608:23;4604:33;4601:53;;;4650:1;4647;4640:12;4601:53;4673:29;4692:9;4673:29;:::i;:::-;4663:39;;4721:38;4755:2;4744:9;4740:18;4721:38;:::i;:::-;4711:48;;4806:2;4795:9;4791:18;4778:32;4768:42;;4861:2;4850:9;4846:18;4833:32;4888:18;4880:6;4877:30;4874:50;;;4920:1;4917;4910:12;4874:50;4943:22;;4996:4;4988:13;;4984:27;-1:-1:-1;4974:55:1;;5025:1;5022;5015:12;4974:55;5048:74;5114:7;5109:2;5096:16;5091:2;5087;5083:11;5048:74;:::i;:::-;5038:84;;;4461:667;;;;;;;:::o;5133:260::-;5201:6;5209;5262:2;5250:9;5241:7;5237:23;5233:32;5230:52;;;5278:1;5275;5268:12;5230:52;5301:29;5320:9;5301:29;:::i;:::-;5291:39;;5349:38;5383:2;5372:9;5368:18;5349:38;:::i;:::-;5339:48;;5133:260;;;;;:::o;5398:380::-;5477:1;5473:12;;;;5520;;;5541:61;;5595:4;5587:6;5583:17;5573:27;;5541:61;5648:2;5640:6;5637:14;5617:18;5614:38;5611:161;;5694:10;5689:3;5685:20;5682:1;5675:31;5729:4;5726:1;5719:15;5757:4;5754:1;5747:15;5611:161;;5398:380;;;:::o;5783:127::-;5844:10;5839:3;5835:20;5832:1;5825:31;5875:4;5872:1;5865:15;5899:4;5896:1;5889:15;5915:168;5988:9;;;6019;;6036:15;;;6030:22;;6016:37;6006:71;;6057:18;;:::i;6433:125::-;6498:9;;;6519:10;;;6516:36;;;6532:18;;:::i;7364:545::-;7466:2;7461:3;7458:11;7455:448;;;7502:1;7527:5;7523:2;7516:17;7572:4;7568:2;7558:19;7642:2;7630:10;7626:19;7623:1;7619:27;7613:4;7609:38;7678:4;7666:10;7663:20;7660:47;;;-1:-1:-1;7701:4:1;7660:47;7756:2;7751:3;7747:12;7744:1;7740:20;7734:4;7730:31;7720:41;;7811:82;7829:2;7822:5;7819:13;7811:82;;;7874:17;;;7855:1;7844:13;7811:82;;;7815:3;;;7364:545;;;:::o;8085:1352::-;8211:3;8205:10;8238:18;8230:6;8227:30;8224:56;;;8260:18;;:::i;:::-;8289:97;8379:6;8339:38;8371:4;8365:11;8339:38;:::i;:::-;8333:4;8289:97;:::i;:::-;8441:4;;8505:2;8494:14;;8522:1;8517:663;;;;9224:1;9241:6;9238:89;;;-1:-1:-1;9293:19:1;;;9287:26;9238:89;-1:-1:-1;;8042:1:1;8038:11;;;8034:24;8030:29;8020:40;8066:1;8062:11;;;8017:57;9340:81;;8487:944;;8517:663;7311:1;7304:14;;;7348:4;7335:18;;-1:-1:-1;;8553:20:1;;;8671:236;8685:7;8682:1;8679:14;8671:236;;;8774:19;;;8768:26;8753:42;;8866:27;;;;8834:1;8822:14;;;;8701:19;;8671:236;;;8675:3;8935:6;8926:7;8923:19;8920:201;;;8996:19;;;8990:26;-1:-1:-1;;9079:1:1;9075:14;;;9091:3;9071:24;9067:37;9063:42;9048:58;9033:74;;8920:201;-1:-1:-1;;;;;9167:1:1;9151:14;;;9147:22;9134:36;;-1:-1:-1;8085:1352:1:o;9858:663::-;10138:3;10176:6;10170:13;10192:66;10251:6;10246:3;10239:4;10231:6;10227:17;10192:66;:::i;:::-;10321:13;;10280:16;;;;10343:70;10321:13;10280:16;10390:4;10378:17;;10343:70;:::i;:::-;-1:-1:-1;;;10435:20:1;;10464:22;;;10513:1;10502:13;;9858:663;-1:-1:-1;;;;9858:663:1:o;12625:489::-;-1:-1:-1;;;;;12894:15:1;;;12876:34;;12946:15;;12941:2;12926:18;;12919:43;12993:2;12978:18;;12971:34;;;13041:3;13036:2;13021:18;;13014:31;;;12819:4;;13062:46;;13088:19;;13080:6;13062:46;:::i;:::-;13054:54;12625:489;-1:-1:-1;;;;;;12625:489:1:o;13119:249::-;13188:6;13241:2;13229:9;13220:7;13216:23;13212:32;13209:52;;;13257:1;13254;13247:12;13209:52;13289:9;13283:16;13308:30;13332:5;13308:30;:::i

Swarm Source

ipfs://ba9eec749d747674ecf7f5c96530f0c3ddd67fe9997341482da9983e023f2612

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
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.