ETH Price: $2,637.07 (-2.19%)

Turkeys.io | Farmers (FRMRS)
 

Overview

TokenID

324

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
turkeysGameFarmers

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-09-04
*/

// File: @thirdweb-dev/contracts/eip/interface/IERC721Supply.sol


pragma solidity ^0.8.0;

/// @title ERC-721 Non-Fungible Token Standard, optional supplu extension
/// @dev See https://eips.ethereum.org/EIPS/eip-721
///  Note: the ERC-165 identifier for this interface is 0x780e9d63.
/* is ERC721 */
interface IERC721Supply {
    /// @notice Count NFTs tracked by this contract
    /// @return A count of valid NFTs tracked by this contract, where each one of
    ///  them has an assigned and queryable owner not equal to the zero address
    function totalSupply() external view returns (uint256);
}

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


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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 amount) external returns (bool);
}

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


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

pragma solidity ^0.8.0;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

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

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

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


// OpenZeppelin Contracts (last updated v4.9.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) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1, "Math: mulDiv overflow");

            ///////////////////////////////////////////////
            // 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 256, 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 << 3) < value ? 1 : 0);
        }
    }
}

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


// OpenZeppelin Contracts (last updated v4.9.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 `int256` to its ASCII `string` decimal representation.
     */
    function toString(int256 value) internal pure returns (string memory) {
        return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value))));
    }

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

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

// 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/security/Pausable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;


/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

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


// OpenZeppelin Contracts (last updated v4.9.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. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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.9.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
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [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://consensys.net/diligence/blog/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.8.0/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.9.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: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol


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

pragma solidity ^0.8.0;


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

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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


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

pragma solidity ^0.8.0;








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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

    /**
     * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist
     */
    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
        return _owners[tokenId];
    }

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

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

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

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

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

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

        // Check that tokenId was not minted by `_beforeTokenTransfer` hook
        require(!_exists(tokenId), "ERC721: token already minted");

        unchecked {
            // Will not overflow unless all 2**256 token ids are minted to the same owner.
            // Given that tokens are minted one by one, it is impossible in practice that
            // this ever happens. Might change if we allow batch minting.
            // The ERC fails to describe this case.
            _balances[to] += 1;
        }

        _owners[tokenId] = to;

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

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

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     * This is an internal function that does not check if the sender is authorized to operate on the token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

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

        // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook
        owner = ERC721.ownerOf(tokenId);

        // Clear approvals
        delete _tokenApprovals[tokenId];

        unchecked {
            // Cannot overflow, as that would require more tokens to be burned/transferred
            // out than the owner initially received through minting and transferring in.
            _balances[owner] -= 1;
        }
        delete _owners[tokenId];

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

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

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

        _beforeTokenTransfer(from, to, tokenId, 1);

        // Check that tokenId was not transferred by `_beforeTokenTransfer` hook
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");

        // Clear approvals from the previous owner
        delete _tokenApprovals[tokenId];

        unchecked {
            // `_balances[from]` cannot overflow for the same reason as described in `_burn`:
            // `from`'s balance is the number of token held, which is at least one before the current
            // transfer.
            // `_balances[to]` could overflow in the conditions described in `_mint`. That would require
            // all 2**256 token ids to be minted, which in practice is impossible.
            _balances[from] -= 1;
            _balances[to] += 1;
        }
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId, 1);
    }

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

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

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

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`.
     * - When `from` is zero, the tokens will be minted for `to`.
     * - When `to` is zero, ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 firstTokenId, uint256 batchSize) internal virtual {}

    /**
     * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`.
     * - When `from` is zero, the tokens were minted for `to`.
     * - When `to` is zero, ``from``'s tokens were burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(address from, address to, uint256 firstTokenId, uint256 batchSize) internal virtual {}

    /**
     * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override.
     *
     * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant
     * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such
     * that `ownerOf(tokenId)` is `a`.
     */
    // solhint-disable-next-line func-name-mixedcase
    function __unsafe_increaseBalance(address account, uint256 amount) internal {
        _balances[account] += amount;
    }
}

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


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

pragma solidity ^0.8.0;



/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev See {ERC721-_beforeTokenTransfer}.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, firstTokenId, batchSize);

        if (batchSize > 1) {
            // Will only trigger during construction. Batch transferring (minting) is not available afterwards.
            revert("ERC721Enumerable: consecutive transfers not supported");
        }

        uint256 tokenId = firstTokenId;

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

// File: turkeys/farmersContract.sol


pragma solidity ^0.8.17;









interface VEGInterface {
    function rewardTokens(address to, address lost, uint256 amount, uint256 nextamount) external;
}

contract turkeysGameFarmers is ERC721Enumerable, Ownable, Pausable {
    using SafeMath for uint256;
    using Strings for uint256;

    string private constant _baseTokenURI = "https://ipfs.io/ipfs/bafybeid7lp6g6c3yy3tteikrzphd6fwbzufx52noyq7sl65jyl5tolqjfi/"; 
    IERC20 public paymentToken = IERC20(0xA8b28269376a854Ce52B7238733cb257Dd3934e8);
    VEGInterface public vegContract = VEGInterface(0xA8b28269376a854Ce52B7238733cb257Dd3934e8);
    address public LOST_REWARDS_ADDRESS = 0x5125109F043677ed7Fc528984298f737A8d7180B;
    address DEAD = 0x000000000000000000000000000000000000dEaD;

    event TurkeyStampede(uint256 lostAmount, uint256 transferredAmount);
    event HungryTurkeys(uint256 lostAmount, uint256 transferredAmount);
    event TurkeyTime(uint256 lostAmount, uint256 transferredAmount);
    event TurkeyStrike(uint256 lostAmount, uint256 transferredAmount);
    event RogueTurkey(uint256 lostAmount, uint256 transferredAmount);

    constructor() ERC721("Turkeys.io | Farmers", "FRMRS") {}

    uint256 public currentPrice = 400 * 10**9;
    uint256 public totalMinted = 0;

    uint256 public REWARD_RATE_PER_SECOND = 130 * 10**9;
    uint256 public constant MAX_SUPPLY = 4444;
    uint256 public ethMintPrice = 0.02 ether;
    uint256 public ethMintedCount = 0;
    uint256 public constant ETH_MINT_LIMIT = 444;

    struct StakeInfo {
        uint256 timestamp;
        uint256 reward;
    }

    mapping(address => StakeInfo) public stakers;

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

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        string memory base = _baseURI();
        return bytes(base).length > 0
            ? string(abi.encodePacked(base, tokenId.toString(), ".json"))
            : '';
    }

    function mint(address to) external whenNotPaused {
        require(totalMinted < MAX_SUPPLY, "Maximum supply reached");
        require(paymentToken.balanceOf(msg.sender) >= currentPrice, "Insufficient payment token balance");
        require(paymentToken.allowance(msg.sender, address(this)) >= currentPrice, "Token allowance not provided");

        paymentToken.transferFrom(msg.sender, address(DEAD), currentPrice);

        _mint(to, totalSupply() + 1);

        totalMinted = totalMinted.add(1);
        currentPrice = currentPrice.add(currentPrice.mul(1).div(1000));

        if (stakers[to].timestamp == 0) {
            stakers[to] = StakeInfo({
                timestamp: block.timestamp,
                reward: 0
            });
        }

    }

    function mintMultiple(address to, uint256 quantity) external whenNotPaused {
        require(quantity > 0, "Must mint at least one NFT");
        require(totalMinted.add(quantity) <= MAX_SUPPLY, "Exceeds maximum supply"); 
        uint256 totalPrice = currentPrice.mul(quantity);
        
        require(paymentToken.balanceOf(msg.sender) >= totalPrice, "Insufficient payment token balance");
        require(paymentToken.allowance(msg.sender, address(this)) >= totalPrice, "Token allowance not provided");

        paymentToken.transferFrom(msg.sender, address(DEAD), totalPrice);

        for (uint256 i = 0; i < quantity; i++) {
            _mint(to, totalSupply() + 1);
            totalMinted = totalMinted.add(1);
        }

        currentPrice = currentPrice.add(currentPrice.mul(1).div(1000).mul(quantity)); // Update price for each NFT minted

        if (stakers[to].timestamp == 0) {
            stakers[to] = StakeInfo({
                timestamp: block.timestamp,
                reward: 0
            });
        }
    }

    function adminMint(address to) external onlyOwner {
        require(totalMinted < MAX_SUPPLY, "Maximum supply reached"); // Check against max supply

        _mint(to, totalSupply() + 1);

        totalMinted = totalMinted.add(1);

        // Initialize staking info for the recipient
        if (stakers[to].timestamp == 0) {
            stakers[to] = StakeInfo({
                timestamp: block.timestamp,
                reward: 0
            });
        }
    }

    function adminMintMultiple(address[] memory recipients, uint256[] memory quantities) external onlyOwner {
        require(recipients.length == quantities.length, "Mismatched arrays");

        for (uint256 i = 0; i < recipients.length; i++) {
            address to = recipients[i];
            uint256 quantity = quantities[i];

            require(totalMinted.add(quantity) <= MAX_SUPPLY, "Exceeds maximum supply");

            for (uint256 j = 0; j < quantity; j++) {
                _mint(to, totalSupply() + 1);
                totalMinted = totalMinted.add(1);
            }

            if (stakers[to].timestamp == 0) {
                stakers[to] = StakeInfo({
                    timestamp: block.timestamp,
                    reward: 0
                });
            }
        }
    }

    function mintWithEth(address to) external payable whenNotPaused {
        require(ethMintedCount < ETH_MINT_LIMIT, "ETH mint limit reached");
        require(msg.value == ethMintPrice, "Incorrect ETH amount sent");

        _mint(to, totalSupply() + 1);

        totalMinted = totalMinted.add(1);
        ethMintedCount = ethMintedCount.add(1);

        if (stakers[to].timestamp == 0) {
            stakers[to] = StakeInfo({
                timestamp: block.timestamp,
                reward: 0
            });
        }
    }

    // Update rewards and timestamp before transferring tokens
    function _updateOnTransfer(address from, address to) internal {
        // Handle for the sender
        if (from != address(0) && balanceOf(from) == 0) {
            // This was the last NFT of the sender. Don't reset the time, just pause the reward generating.
            // If you want to reset, you can do it here.
        }
        
        // Handle for the recipient
        if (to != address(0) && balanceOf(to) == 1) {
            // This is the first NFT of the recipient. Initialize the time for generating rewards.
            if (stakers[to].timestamp == 0) {
                stakers[to] = StakeInfo({
                    timestamp: block.timestamp,
                    reward: 0
                });
            }
        }
    }

    // Overriding the transferFrom function
    function transferFrom(address from, address to, uint256 tokenId) public virtual override(ERC721, IERC721) {
        super.transferFrom(from, to, tokenId);
        _updateOnTransfer(from, to);
    }

    // Overriding the first safeTransferFrom function
    function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override(ERC721, IERC721) {
        super.safeTransferFrom(from, to, tokenId);
        _updateOnTransfer(from, to);
    }

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

    function claim() public whenNotPaused {
        require(stakers[msg.sender].timestamp > 0, "Not holding or staking any NFTs");

        uint256 pendingReward = getPendingReward(msg.sender);
        require(pendingReward > 0, "No rewards available");

        uint256 randomNumber = uint256(keccak256(abi.encodePacked(block.timestamp, msg.sender, block.difficulty))) % 100;
        uint256 lostReward = 0;

        if (randomNumber < 5) {
            lostReward = pendingReward.mul(60).div(100); // 60% loss
        } else if (randomNumber < 25) {
            lostReward = pendingReward.mul(50).div(100); // 50% loss
        } else if (randomNumber < 65) {
            lostReward = pendingReward.mul(40).div(100); // 40% loss
        } else if (randomNumber < 125) {
            lostReward = pendingReward.mul(30).div(100); // 30% loss
        } else {
            lostReward = pendingReward.mul(20).div(100); // 20% loss
        }

        uint256 finalReward = pendingReward.sub(lostReward);

        // Emit events after calculating finalReward
        if (randomNumber < 5) {
            emit TurkeyStampede(lostReward, finalReward);
        } else if (randomNumber < 25) {
            emit HungryTurkeys(lostReward, finalReward);
        } else if (randomNumber < 65) {
            emit TurkeyTime(lostReward, finalReward);
        } else if (randomNumber < 125) {
            emit TurkeyStrike(lostReward, finalReward);
        } else {
            emit RogueTurkey(lostReward, finalReward);
        }

        stakers[msg.sender].reward = 0;
        stakers[msg.sender].timestamp = block.timestamp;

        vegContract.rewardTokens(msg.sender, LOST_REWARDS_ADDRESS, finalReward, lostReward);
    }

    function getPendingReward(address account) public view returns (uint256) {
        if (stakers[account].timestamp == 0) return 0;

        uint256 stakedDurationInSeconds = block.timestamp.sub(stakers[account].timestamp);
        uint256 numberOfNFTs = balanceOf(account); // Get the number of NFTs held by the account

        return stakedDurationInSeconds.mul(REWARD_RATE_PER_SECOND).mul(numberOfNFTs).div(86400).add(stakers[account].reward);
    }

    function getEthMintedCount() public view returns (uint256) {
        return ethMintedCount;
    }

    function setDead(address newDead) public onlyOwner {
        DEAD = newDead;
    }

    function setRewardRate(uint256 newRate) public onlyOwner {
        REWARD_RATE_PER_SECOND = newRate;
    }

    function withdrawStuckEther() external onlyOwner {
        payable(owner()).transfer(address(this).balance);
    }

    function withdrawStuckTokens(uint256 amount) external onlyOwner {
        require(paymentToken.balanceOf(address(this)) >= amount, "Insufficient token balance");
        paymentToken.transfer(owner(), amount);
    }

    function manualTopUpReward(address _recipient, uint256 _reward) external onlyOwner {
        require(stakers[_recipient].timestamp != 0, "Recipient is not a staker");

        stakers[_recipient].reward = stakers[_recipient].reward.add(_reward);
    }

    function pause() external onlyOwner {
        _pause();
    }

    function unpause() external onlyOwner {
        _unpause();
    }

    function updatePaymentToken(address _newPaymentToken) external onlyOwner {
        paymentToken = IERC20(_newPaymentToken);
    }

    function updateLostRewardsAddress(address _newLostRewardsAddress) external onlyOwner {
        LOST_REWARDS_ADDRESS = _newLostRewardsAddress;
    }

    function updateVegInterface(address _newVegInterface) external onlyOwner {
        vegContract = VEGInterface(_newVegInterface);
    }

    function updateCurrentPrice(uint256 _newCurrentPrice) external onlyOwner {
        currentPrice = _newCurrentPrice;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":false,"internalType":"uint256","name":"lostAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"transferredAmount","type":"uint256"}],"name":"HungryTurkeys","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"lostAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"transferredAmount","type":"uint256"}],"name":"RogueTurkey","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"lostAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"transferredAmount","type":"uint256"}],"name":"TurkeyStampede","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"lostAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"transferredAmount","type":"uint256"}],"name":"TurkeyStrike","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"lostAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"transferredAmount","type":"uint256"}],"name":"TurkeyTime","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"ETH_MINT_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LOST_REWARDS_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REWARD_RATE_PER_SECOND","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"adminMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"quantities","type":"uint256[]"}],"name":"adminMintMultiple","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ethMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ethMintedCount","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":"getEthMintedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getPendingReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_reward","type":"uint256"}],"name":"manualTopUpReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintMultiple","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mintWithEth","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paymentToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newDead","type":"address"}],"name":"setDead","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newRate","type":"uint256"}],"name":"setRewardRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"stakers","outputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"},{"internalType":"uint256","name":"reward","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCurrentPrice","type":"uint256"}],"name":"updateCurrentPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newLostRewardsAddress","type":"address"}],"name":"updateLostRewardsAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newPaymentToken","type":"address"}],"name":"updatePaymentToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newVegInterface","type":"address"}],"name":"updateVegInterface","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vegContract","outputs":[{"internalType":"contract VEGInterface","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawStuckEther","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawStuckTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600b80546001600160a01b031990811673a8b28269376a854ce52b7238733cb257dd3934e8908117909255600c80548216909217909155600d80548216735125109f043677ed7fc528984298f737a8d7180b179055600e805490911661dead179055645d21dba000600f5560006010819055641e449a940060115566470de4df8200006012556013553480156200009a57600080fd5b506040518060400160405280601481526020017f5475726b6579732e696f207c204661726d6572730000000000000000000000008152506040518060400160405280600581526020016446524d525360d81b81525081600090816200010091906200023a565b5060016200010f82826200023a565b5050506200012c620001266200013f60201b60201c565b62000143565b600a805460ff60a01b1916905562000306565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001c057607f821691505b602082108103620001e157634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200023557600081815260208120601f850160051c81016020861015620002105750805b601f850160051c820191505b8181101562000231578281556001016200021c565b5050505b505050565b81516001600160401b0381111562000256576200025662000195565b6200026e81620002678454620001ab565b84620001e7565b602080601f831160018114620002a657600084156200028d5750858301515b600019600386901b1c1916600185901b17855562000231565b600085815260208120601f198616915b82811015620002d757888601518255948401946001909101908401620002b6565b5085821015620002f65787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61351a80620003166000396000f3fe6080604052600436106102c95760003560e01c8063715018a611610175578063a2309ff8116100dc578063c87b56dd11610095578063e49b12561161006f578063e49b125614610844578063e807202d14610864578063e985e9c514610884578063f2fde38b146108cd57600080fd5b8063c87b56dd146107f8578063c973db0b14610818578063da5343531461082e57600080fd5b8063a2309ff814610761578063a32b9e1814610777578063a6a8e6ea1461078c578063ab864003146107a2578063b3fa4a4c146107b8578063b88d4fde146107d857600080fd5b80639168ae721161012e5780639168ae721461068d57806395d89b41146106d65780639769dc0e146106eb5780639d1b464a1461070b5780639e447fc614610721578063a22cb4651461074157600080fd5b8063715018a6146105f257806376e98d33146106075780637863e2671461061a5780637fc6686e1461063a5780638456cb591461065a5780638da5cb5b1461066f57600080fd5b806332cb6b0c116102345780634f6ccce7116101ed5780636352211e116101c75780636352211e146105725780636a6278421461059257806370a08231146105b257806370e8f628146105d257600080fd5b80634f6ccce7146105135780635c975abb146105335780635e6710de1461055257600080fd5b806332cb6b0c146104735780633f4ba83a1461048957806342842e0e1461049e5780634ccf1b34146104be5780634df9d6ba146104de5780634e71d92d146104fe57600080fd5b80631b728c7c116102865780631b728c7c146103be5780631fcfa40f146103d3578063232ff35c146103f357806323b872dd146104135780632f745c59146104335780633013ce291461045357600080fd5b806301ffc9a7146102ce57806306fdde0314610303578063081812fc14610325578063095ea7b31461035d578063145cb14e1461037f57806318160ddd1461039f575b600080fd5b3480156102da57600080fd5b506102ee6102e9366004612d8a565b6108ed565b60405190151581526020015b60405180910390f35b34801561030f57600080fd5b50610318610918565b6040516102fa9190612df7565b34801561033157600080fd5b50610345610340366004612e0a565b6109aa565b6040516001600160a01b0390911681526020016102fa565b34801561036957600080fd5b5061037d610378366004612e3f565b6109d1565b005b34801561038b57600080fd5b5061037d61039a366004612e69565b610aeb565b3480156103ab57600080fd5b506008545b6040519081526020016102fa565b3480156103ca57600080fd5b506013546103b0565b3480156103df57600080fd5b5061037d6103ee366004612e69565b610b15565b3480156103ff57600080fd5b50600d54610345906001600160a01b031681565b34801561041f57600080fd5b5061037d61042e366004612e84565b610b3f565b34801561043f57600080fd5b506103b061044e366004612e3f565b610b54565b34801561045f57600080fd5b50600b54610345906001600160a01b031681565b34801561047f57600080fd5b506103b061115c81565b34801561049557600080fd5b5061037d610bea565b3480156104aa57600080fd5b5061037d6104b9366004612e84565b610bfc565b3480156104ca57600080fd5b5061037d6104d9366004612e69565b610c07565b3480156104ea57600080fd5b506103b06104f9366004612e69565b610c31565b34801561050a57600080fd5b5061037d610cf1565b34801561051f57600080fd5b506103b061052e366004612e0a565b611065565b34801561053f57600080fd5b50600a54600160a01b900460ff166102ee565b34801561055e57600080fd5b5061037d61056d366004612e0a565b6110f8565b34801561057e57600080fd5b5061034561058d366004612e0a565b611252565b34801561059e57600080fd5b5061037d6105ad366004612e69565b6112b2565b3480156105be57600080fd5b506103b06105cd366004612e69565b611587565b3480156105de57600080fd5b5061037d6105ed366004612e3f565b61160d565b3480156105fe57600080fd5b5061037d6116c5565b61037d610615366004612e69565b6116d7565b34801561062657600080fd5b5061037d610635366004612e69565b611803565b34801561064657600080fd5b5061037d610655366004612e0a565b61182d565b34801561066657600080fd5b5061037d61183a565b34801561067b57600080fd5b50600a546001600160a01b0316610345565b34801561069957600080fd5b506106c16106a8366004612e69565b6014602052600090815260409020805460019091015482565b604080519283526020830191909152016102fa565b3480156106e257600080fd5b5061031861184a565b3480156106f757600080fd5b5061037d610706366004612e69565b611859565b34801561071757600080fd5b506103b0600f5481565b34801561072d57600080fd5b5061037d61073c366004612e0a565b611923565b34801561074d57600080fd5b5061037d61075c366004612ece565b611930565b34801561076d57600080fd5b506103b060105481565b34801561078357600080fd5b5061037d61193b565b34801561079857600080fd5b506103b06101bc81565b3480156107ae57600080fd5b506103b060135481565b3480156107c457600080fd5b5061037d6107d3366004612e3f565b61197c565b3480156107e457600080fd5b5061037d6107f3366004612f4c565b611cc7565b34801561080457600080fd5b50610318610813366004612e0a565b611ce3565b34801561082457600080fd5b506103b060125481565b34801561083a57600080fd5b506103b060115481565b34801561085057600080fd5b5061037d61085f36600461309b565b611d41565b34801561087057600080fd5b50600c54610345906001600160a01b031681565b34801561089057600080fd5b506102ee61089f36600461315b565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156108d957600080fd5b5061037d6108e8366004612e69565b611edc565b60006001600160e01b0319821663780e9d6360e01b1480610912575061091282611f52565b92915050565b6060600080546109279061318e565b80601f01602080910402602001604051908101604052809291908181526020018280546109539061318e565b80156109a05780601f10610975576101008083540402835291602001916109a0565b820191906000526020600020905b81548152906001019060200180831161098357829003601f168201915b5050505050905090565b60006109b582611fa2565b506000908152600460205260409020546001600160a01b031690565b60006109dc82611252565b9050806001600160a01b0316836001600160a01b031603610a4e5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b0382161480610a6a5750610a6a813361089f565b610adc5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610a45565b610ae68383612001565b505050565b610af361206f565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b610b1d61206f565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b610b4a8383836120c9565b610ae683836120fa565b6000610b5f83611587565b8210610bc15760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610a45565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610bf261206f565b610bfa612197565b565b610b4a8383836121ec565b610c0f61206f565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0381166000908152601460205260408120548103610c5857506000919050565b6001600160a01b038216600090815260146020526040812054610c7c904290612207565b90506000610c8984611587565b9050610ce960146000866001600160a01b03166001600160a01b0316815260200190815260200160002060010154610ce362015180610cdd85610cd76011548961221390919063ffffffff16565b90612213565b9061221f565b9061222b565b949350505050565b610cf9612237565b33600090815260146020526040902054610d555760405162461bcd60e51b815260206004820152601f60248201527f4e6f7420686f6c64696e67206f72207374616b696e6720616e79204e465473006044820152606401610a45565b6000610d6033610c31565b905060008111610da95760405162461bcd60e51b81526020600482015260146024820152734e6f207265776172647320617661696c61626c6560601b6044820152606401610a45565b604080514260208201526bffffffffffffffffffffffff193360601b16918101919091524460548201526000906064906074016040516020818303038152906040528051906020012060001c610dff91906131de565b905060006005821015610e2357610e1c6064610cdd85603c612213565b9050610e81565b6019821015610e3c57610e1c6064610cdd856032612213565b6041821015610e5557610e1c6064610cdd856028612213565b607d821015610e6e57610e1c6064610cdd85601e612213565b610e7e6064610cdd856014612213565b90505b6000610e8d8483612207565b90506005831015610ed75760408051838152602081018390527fd5f65ed25024af5eba200913a9e78a760da2f77eaa84f9954ae85f092282c3a791015b60405180910390a1610fce565b6019831015610f165760408051838152602081018390527feb2d9627b42a9006aabd27fbded6d1922922d5ff5634929e22c19120ee68ed289101610eca565b6041831015610f555760408051838152602081018390527fd5ada35c17b0de375895548094339eed33f9da82915287b20f934f9007abfbea9101610eca565b607d831015610f945760408051838152602081018390527f07b1cefedfd24e27d13a276638759c959cb7a29f3ca7c8d1ad1aa60cfa5422ed9101610eca565b60408051838152602081018390527fdb0e004ed1cb53f97c2a8f988cbc15c355c0c14dea3b1d22c47f36e5da747522910160405180910390a15b33600081815260146020526040808220600181019290925542909155600c54600d54915163f699529160e01b815260048101939093526001600160a01b0391821660248401526044830184905260648301859052169063f699529190608401600060405180830381600087803b15801561104757600080fd5b505af115801561105b573d6000803e3d6000fd5b5050505050505050565b600061107060085490565b82106110d35760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610a45565b600882815481106110e6576110e66131f2565b90600052602060002001549050919050565b61110061206f565b600b546040516370a0823160e01b815230600482015282916001600160a01b0316906370a0823190602401602060405180830381865afa158015611148573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116c9190613208565b10156111ba5760405162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e7420746f6b656e2062616c616e63650000000000006044820152606401610a45565b600b546001600160a01b031663a9059cbb6111dd600a546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af115801561122a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061124e9190613221565b5050565b6000818152600260205260408120546001600160a01b0316806109125760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610a45565b6112ba612237565b61115c601054106113065760405162461bcd60e51b815260206004820152601660248201527513585e1a5b5d5b481cdd5c1c1b1e481c995858da195960521b6044820152606401610a45565b600f54600b546040516370a0823160e01b81523360048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015611351573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113759190613208565b10156113935760405162461bcd60e51b8152600401610a459061323e565b600f54600b54604051636eb1769f60e11b81523360048201523060248201526001600160a01b039091169063dd62ed3e90604401602060405180830381865afa1580156113e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114089190613208565b10156114565760405162461bcd60e51b815260206004820152601c60248201527f546f6b656e20616c6c6f77616e6365206e6f742070726f7669646564000000006044820152606401610a45565b600b54600e54600f546040516323b872dd60e01b81523360048201526001600160a01b03928316602482015260448101919091529116906323b872dd906064016020604051808303816000875af11580156114b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114d99190613221565b506114f7816114e760085490565b6114f2906001613296565b612284565b60105461150590600161222b565b601055600f5461152b90611522906103e890610cdd906001612213565b600f549061222b565b600f556001600160a01b038116600090815260146020526040812054900361158457604080518082018252428152600060208083018281526001600160a01b038616835260149091529290209051815590516001909101555b50565b60006001600160a01b0382166115f15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610a45565b506001600160a01b031660009081526003602052604090205490565b61161561206f565b6001600160a01b038216600090815260146020526040812054900361167c5760405162461bcd60e51b815260206004820152601960248201527f526563697069656e74206973206e6f742061207374616b6572000000000000006044820152606401610a45565b6001600160a01b0382166000908152601460205260409020600101546116a2908261222b565b6001600160a01b0390921660009081526014602052604090206001019190915550565b6116cd61206f565b610bfa600061241d565b6116df612237565b6101bc6013541061172b5760405162461bcd60e51b8152602060048201526016602482015275115512081b5a5b9d081b1a5b5a5d081c995858da195960521b6044820152606401610a45565b601254341461177c5760405162461bcd60e51b815260206004820152601960248201527f496e636f72726563742045544820616d6f756e742073656e74000000000000006044820152606401610a45565b611789816114e760085490565b60105461179790600161222b565b6010556013546117a890600161222b565b6013556001600160a01b038116600090815260146020526040812054900361158457604080518082018252428152600060208083018281526001600160a01b0386168352601490915292902090518155905160019091015550565b61180b61206f565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b61183561206f565b600f55565b61184261206f565b610bfa61246f565b6060600180546109279061318e565b61186161206f565b61115c601054106118ad5760405162461bcd60e51b815260206004820152601660248201527513585e1a5b5d5b481cdd5c1c1b1e481c995858da195960521b6044820152606401610a45565b6118ba816114e760085490565b6010546118c890600161222b565b6010556001600160a01b038116600090815260146020526040812054900361158457604080518082018252428152600060208083018281526001600160a01b0386168352601490915292902090518155905160019091015550565b61192b61206f565b601155565b61124e3383836124b2565b61194361206f565b600a546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015611584573d6000803e3d6000fd5b611984612237565b600081116119d45760405162461bcd60e51b815260206004820152601a60248201527f4d757374206d696e74206174206c65617374206f6e65204e46540000000000006044820152606401610a45565b60105461115c906119e5908361222b565b1115611a2c5760405162461bcd60e51b815260206004820152601660248201527545786365656473206d6178696d756d20737570706c7960501b6044820152606401610a45565b600f54600090611a3c9083612213565b600b546040516370a0823160e01b815233600482015291925082916001600160a01b03909116906370a0823190602401602060405180830381865afa158015611a89573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aad9190613208565b1015611acb5760405162461bcd60e51b8152600401610a459061323e565b600b54604051636eb1769f60e11b815233600482015230602482015282916001600160a01b03169063dd62ed3e90604401602060405180830381865afa158015611b19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b3d9190613208565b1015611b8b5760405162461bcd60e51b815260206004820152601c60248201527f546f6b656e20616c6c6f77616e6365206e6f742070726f7669646564000000006044820152606401610a45565b600b54600e546040516323b872dd60e01b81523360048201526001600160a01b039182166024820152604481018490529116906323b872dd906064016020604051808303816000875af1158015611be6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c0a9190613221565b5060005b82811015611c4657611c23846114e760085490565b601054611c3190600161222b565b60105580611c3e816132a9565b915050611c0e565b50611c6a61152283610cd76103e8610cdd6001600f5461221390919063ffffffff16565b600f556001600160a01b0383166000908152601460205260408120549003610ae657604080518082018252428152600060208083018281526001600160a01b03881683526014909152929020905181559051600190910155505050565b611cd384848484612580565b611cdd84846120fa565b50505050565b60606000611cef6125b2565b90506000815111611d0f5760405180602001604052806000815250611d3a565b80611d19846125d2565b604051602001611d2a9291906132c2565b6040516020818303038152906040525b9392505050565b611d4961206f565b8051825114611d8e5760405162461bcd60e51b81526020600482015260116024820152704d69736d6174636865642061727261797360781b6044820152606401610a45565b60005b8251811015610ae6576000838281518110611dae57611dae6131f2565b602002602001015190506000838381518110611dcc57611dcc6131f2565b6020026020010151905061115c611dee8260105461222b90919063ffffffff16565b1115611e355760405162461bcd60e51b815260206004820152601660248201527545786365656473206d6178696d756d20737570706c7960501b6044820152606401610a45565b60005b81811015611e7057611e4d836114e760085490565b601054611e5b90600161222b565b60105580611e68816132a9565b915050611e38565b506001600160a01b0382166000908152601460205260408120549003611ec757604080518082018252428152600060208083018281526001600160a01b038716835260149091529290209051815590516001909101555b50508080611ed4906132a9565b915050611d91565b611ee461206f565b6001600160a01b038116611f495760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a45565b6115848161241d565b60006001600160e01b031982166380ac58cd60e01b1480611f8357506001600160e01b03198216635b5e139f60e01b145b8061091257506301ffc9a760e01b6001600160e01b0319831614610912565b6000818152600260205260409020546001600160a01b03166115845760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610a45565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061203682611252565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600a546001600160a01b03163314610bfa5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a45565b6120d33382612665565b6120ef5760405162461bcd60e51b8152600401610a4590613301565b610ae68383836126e3565b6001600160a01b03821615801590612118575061211682611587565b155b506001600160a01b03811615801590612139575061213581611587565b6001145b1561124e576001600160a01b038116600090815260146020526040812054900361124e57604080518082018252428152600060208083018281526001600160a01b038616835260149091529290209051815590516001909101555050565b61219f612854565b600a805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b610ae683838360405180602001604052806000815250611cc7565b6000611d3a828461334e565b6000611d3a8284613361565b6000611d3a8284613378565b6000611d3a8284613296565b600a54600160a01b900460ff1615610bfa5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610a45565b6001600160a01b0382166122da5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a45565b6000818152600260205260409020546001600160a01b03161561233f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a45565b61234d6000838360016128a4565b6000818152600260205260409020546001600160a01b0316156123b25760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a45565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612477612237565b600a805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586121cf3390565b816001600160a01b0316836001600160a01b0316036125135760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a45565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61258a3383612665565b6125a65760405162461bcd60e51b8152600401610a4590613301565b611cdd848484846129d8565b606060405180608001604052806051815260200161349460519139905090565b606060006125df83612a0b565b600101905060008167ffffffffffffffff8111156125ff576125ff612f05565b6040519080825280601f01601f191660200182016040528015612629576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461263357509392505050565b60008061267183611252565b9050806001600160a01b0316846001600160a01b031614806126b857506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80610ce95750836001600160a01b03166126d1846109aa565b6001600160a01b031614949350505050565b826001600160a01b03166126f682611252565b6001600160a01b03161461271c5760405162461bcd60e51b8152600401610a459061338c565b6001600160a01b03821661277e5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a45565b61278b83838360016128a4565b826001600160a01b031661279e82611252565b6001600160a01b0316146127c45760405162461bcd60e51b8152600401610a459061338c565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a54600160a01b900460ff16610bfa5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610a45565b60018111156129135760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b6064820152608401610a45565b816001600160a01b03851661296f5761296a81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612992565b836001600160a01b0316856001600160a01b031614612992576129928582612ae3565b6001600160a01b0384166129ae576129a981612b80565b6129d1565b846001600160a01b0316846001600160a01b0316146129d1576129d18482612c2f565b5050505050565b6129e38484846126e3565b6129ef84848484612c73565b611cdd5760405162461bcd60e51b8152600401610a45906133d1565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310612a4a5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612a76576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310612a9457662386f26fc10000830492506010015b6305f5e1008310612aac576305f5e100830492506008015b6127108310612ac057612710830492506004015b60648310612ad2576064830492506002015b600a83106109125760010192915050565b60006001612af084611587565b612afa919061334e565b600083815260076020526040902054909150808214612b4d576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090612b929060019061334e565b60008381526009602052604081205460088054939450909284908110612bba57612bba6131f2565b906000526020600020015490508060088381548110612bdb57612bdb6131f2565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480612c1357612c13613423565b6001900381819060005260206000200160009055905550505050565b6000612c3a83611587565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60006001600160a01b0384163b15612d6957604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612cb7903390899088908890600401613439565b6020604051808303816000875af1925050508015612cf2575060408051601f3d908101601f19168201909252612cef91810190613476565b60015b612d4f573d808015612d20576040519150601f19603f3d011682016040523d82523d6000602084013e612d25565b606091505b508051600003612d475760405162461bcd60e51b8152600401610a45906133d1565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610ce9565b506001949350505050565b6001600160e01b03198116811461158457600080fd5b600060208284031215612d9c57600080fd5b8135611d3a81612d74565b60005b83811015612dc2578181015183820152602001612daa565b50506000910152565b60008151808452612de3816020860160208601612da7565b601f01601f19169290920160200192915050565b602081526000611d3a6020830184612dcb565b600060208284031215612e1c57600080fd5b5035919050565b80356001600160a01b0381168114612e3a57600080fd5b919050565b60008060408385031215612e5257600080fd5b612e5b83612e23565b946020939093013593505050565b600060208284031215612e7b57600080fd5b611d3a82612e23565b600080600060608486031215612e9957600080fd5b612ea284612e23565b9250612eb060208501612e23565b9150604084013590509250925092565b801515811461158457600080fd5b60008060408385031215612ee157600080fd5b612eea83612e23565b91506020830135612efa81612ec0565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612f4457612f44612f05565b604052919050565b60008060008060808587031215612f6257600080fd5b612f6b85612e23565b93506020612f7a818701612e23565b935060408601359250606086013567ffffffffffffffff80821115612f9e57600080fd5b818801915088601f830112612fb257600080fd5b813581811115612fc457612fc4612f05565b612fd6601f8201601f19168501612f1b565b91508082528984828501011115612fec57600080fd5b808484018584013760008482840101525080935050505092959194509250565b600067ffffffffffffffff82111561302657613026612f05565b5060051b60200190565b600082601f83011261304157600080fd5b813560206130566130518361300c565b612f1b565b82815260059290921b8401810191818101908684111561307557600080fd5b8286015b848110156130905780358352918301918301613079565b509695505050505050565b600080604083850312156130ae57600080fd5b823567ffffffffffffffff808211156130c657600080fd5b818501915085601f8301126130da57600080fd5b813560206130ea6130518361300c565b82815260059290921b8401810191818101908984111561310957600080fd5b948201945b8386101561312e5761311f86612e23565b8252948201949082019061310e565b9650508601359250508082111561314457600080fd5b5061315185828601613030565b9150509250929050565b6000806040838503121561316e57600080fd5b61317783612e23565b915061318560208401612e23565b90509250929050565b600181811c908216806131a257607f821691505b6020821081036131c257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601260045260246000fd5b6000826131ed576131ed6131c8565b500690565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561321a57600080fd5b5051919050565b60006020828403121561323357600080fd5b8151611d3a81612ec0565b60208082526022908201527f496e73756666696369656e74207061796d656e7420746f6b656e2062616c616e604082015261636560f01b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561091257610912613280565b6000600182016132bb576132bb613280565b5060010190565b600083516132d4818460208801612da7565b8351908301906132e8818360208801612da7565b64173539b7b760d91b9101908152600501949350505050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b8181038181111561091257610912613280565b808202811582820484141761091257610912613280565b600082613387576133876131c8565b500490565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061346c90830184612dcb565b9695505050505050565b60006020828403121561348857600080fd5b8151611d3a81612d7456fe68747470733a2f2f697066732e696f2f697066732f6261667962656964376c703667366333797933747465696b727a706864366677627a75667835326e6f797137736c36356a796c35746f6c716a66692fa26469706673582212200873b3cdcbbc1c68884b651e5ef90f922d07e25222d7b189bb16799c2b6c47ee64736f6c63430008110033

Deployed Bytecode

0x6080604052600436106102c95760003560e01c8063715018a611610175578063a2309ff8116100dc578063c87b56dd11610095578063e49b12561161006f578063e49b125614610844578063e807202d14610864578063e985e9c514610884578063f2fde38b146108cd57600080fd5b8063c87b56dd146107f8578063c973db0b14610818578063da5343531461082e57600080fd5b8063a2309ff814610761578063a32b9e1814610777578063a6a8e6ea1461078c578063ab864003146107a2578063b3fa4a4c146107b8578063b88d4fde146107d857600080fd5b80639168ae721161012e5780639168ae721461068d57806395d89b41146106d65780639769dc0e146106eb5780639d1b464a1461070b5780639e447fc614610721578063a22cb4651461074157600080fd5b8063715018a6146105f257806376e98d33146106075780637863e2671461061a5780637fc6686e1461063a5780638456cb591461065a5780638da5cb5b1461066f57600080fd5b806332cb6b0c116102345780634f6ccce7116101ed5780636352211e116101c75780636352211e146105725780636a6278421461059257806370a08231146105b257806370e8f628146105d257600080fd5b80634f6ccce7146105135780635c975abb146105335780635e6710de1461055257600080fd5b806332cb6b0c146104735780633f4ba83a1461048957806342842e0e1461049e5780634ccf1b34146104be5780634df9d6ba146104de5780634e71d92d146104fe57600080fd5b80631b728c7c116102865780631b728c7c146103be5780631fcfa40f146103d3578063232ff35c146103f357806323b872dd146104135780632f745c59146104335780633013ce291461045357600080fd5b806301ffc9a7146102ce57806306fdde0314610303578063081812fc14610325578063095ea7b31461035d578063145cb14e1461037f57806318160ddd1461039f575b600080fd5b3480156102da57600080fd5b506102ee6102e9366004612d8a565b6108ed565b60405190151581526020015b60405180910390f35b34801561030f57600080fd5b50610318610918565b6040516102fa9190612df7565b34801561033157600080fd5b50610345610340366004612e0a565b6109aa565b6040516001600160a01b0390911681526020016102fa565b34801561036957600080fd5b5061037d610378366004612e3f565b6109d1565b005b34801561038b57600080fd5b5061037d61039a366004612e69565b610aeb565b3480156103ab57600080fd5b506008545b6040519081526020016102fa565b3480156103ca57600080fd5b506013546103b0565b3480156103df57600080fd5b5061037d6103ee366004612e69565b610b15565b3480156103ff57600080fd5b50600d54610345906001600160a01b031681565b34801561041f57600080fd5b5061037d61042e366004612e84565b610b3f565b34801561043f57600080fd5b506103b061044e366004612e3f565b610b54565b34801561045f57600080fd5b50600b54610345906001600160a01b031681565b34801561047f57600080fd5b506103b061115c81565b34801561049557600080fd5b5061037d610bea565b3480156104aa57600080fd5b5061037d6104b9366004612e84565b610bfc565b3480156104ca57600080fd5b5061037d6104d9366004612e69565b610c07565b3480156104ea57600080fd5b506103b06104f9366004612e69565b610c31565b34801561050a57600080fd5b5061037d610cf1565b34801561051f57600080fd5b506103b061052e366004612e0a565b611065565b34801561053f57600080fd5b50600a54600160a01b900460ff166102ee565b34801561055e57600080fd5b5061037d61056d366004612e0a565b6110f8565b34801561057e57600080fd5b5061034561058d366004612e0a565b611252565b34801561059e57600080fd5b5061037d6105ad366004612e69565b6112b2565b3480156105be57600080fd5b506103b06105cd366004612e69565b611587565b3480156105de57600080fd5b5061037d6105ed366004612e3f565b61160d565b3480156105fe57600080fd5b5061037d6116c5565b61037d610615366004612e69565b6116d7565b34801561062657600080fd5b5061037d610635366004612e69565b611803565b34801561064657600080fd5b5061037d610655366004612e0a565b61182d565b34801561066657600080fd5b5061037d61183a565b34801561067b57600080fd5b50600a546001600160a01b0316610345565b34801561069957600080fd5b506106c16106a8366004612e69565b6014602052600090815260409020805460019091015482565b604080519283526020830191909152016102fa565b3480156106e257600080fd5b5061031861184a565b3480156106f757600080fd5b5061037d610706366004612e69565b611859565b34801561071757600080fd5b506103b0600f5481565b34801561072d57600080fd5b5061037d61073c366004612e0a565b611923565b34801561074d57600080fd5b5061037d61075c366004612ece565b611930565b34801561076d57600080fd5b506103b060105481565b34801561078357600080fd5b5061037d61193b565b34801561079857600080fd5b506103b06101bc81565b3480156107ae57600080fd5b506103b060135481565b3480156107c457600080fd5b5061037d6107d3366004612e3f565b61197c565b3480156107e457600080fd5b5061037d6107f3366004612f4c565b611cc7565b34801561080457600080fd5b50610318610813366004612e0a565b611ce3565b34801561082457600080fd5b506103b060125481565b34801561083a57600080fd5b506103b060115481565b34801561085057600080fd5b5061037d61085f36600461309b565b611d41565b34801561087057600080fd5b50600c54610345906001600160a01b031681565b34801561089057600080fd5b506102ee61089f36600461315b565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156108d957600080fd5b5061037d6108e8366004612e69565b611edc565b60006001600160e01b0319821663780e9d6360e01b1480610912575061091282611f52565b92915050565b6060600080546109279061318e565b80601f01602080910402602001604051908101604052809291908181526020018280546109539061318e565b80156109a05780601f10610975576101008083540402835291602001916109a0565b820191906000526020600020905b81548152906001019060200180831161098357829003601f168201915b5050505050905090565b60006109b582611fa2565b506000908152600460205260409020546001600160a01b031690565b60006109dc82611252565b9050806001600160a01b0316836001600160a01b031603610a4e5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b0382161480610a6a5750610a6a813361089f565b610adc5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610a45565b610ae68383612001565b505050565b610af361206f565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b610b1d61206f565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b610b4a8383836120c9565b610ae683836120fa565b6000610b5f83611587565b8210610bc15760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610a45565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610bf261206f565b610bfa612197565b565b610b4a8383836121ec565b610c0f61206f565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0381166000908152601460205260408120548103610c5857506000919050565b6001600160a01b038216600090815260146020526040812054610c7c904290612207565b90506000610c8984611587565b9050610ce960146000866001600160a01b03166001600160a01b0316815260200190815260200160002060010154610ce362015180610cdd85610cd76011548961221390919063ffffffff16565b90612213565b9061221f565b9061222b565b949350505050565b610cf9612237565b33600090815260146020526040902054610d555760405162461bcd60e51b815260206004820152601f60248201527f4e6f7420686f6c64696e67206f72207374616b696e6720616e79204e465473006044820152606401610a45565b6000610d6033610c31565b905060008111610da95760405162461bcd60e51b81526020600482015260146024820152734e6f207265776172647320617661696c61626c6560601b6044820152606401610a45565b604080514260208201526bffffffffffffffffffffffff193360601b16918101919091524460548201526000906064906074016040516020818303038152906040528051906020012060001c610dff91906131de565b905060006005821015610e2357610e1c6064610cdd85603c612213565b9050610e81565b6019821015610e3c57610e1c6064610cdd856032612213565b6041821015610e5557610e1c6064610cdd856028612213565b607d821015610e6e57610e1c6064610cdd85601e612213565b610e7e6064610cdd856014612213565b90505b6000610e8d8483612207565b90506005831015610ed75760408051838152602081018390527fd5f65ed25024af5eba200913a9e78a760da2f77eaa84f9954ae85f092282c3a791015b60405180910390a1610fce565b6019831015610f165760408051838152602081018390527feb2d9627b42a9006aabd27fbded6d1922922d5ff5634929e22c19120ee68ed289101610eca565b6041831015610f555760408051838152602081018390527fd5ada35c17b0de375895548094339eed33f9da82915287b20f934f9007abfbea9101610eca565b607d831015610f945760408051838152602081018390527f07b1cefedfd24e27d13a276638759c959cb7a29f3ca7c8d1ad1aa60cfa5422ed9101610eca565b60408051838152602081018390527fdb0e004ed1cb53f97c2a8f988cbc15c355c0c14dea3b1d22c47f36e5da747522910160405180910390a15b33600081815260146020526040808220600181019290925542909155600c54600d54915163f699529160e01b815260048101939093526001600160a01b0391821660248401526044830184905260648301859052169063f699529190608401600060405180830381600087803b15801561104757600080fd5b505af115801561105b573d6000803e3d6000fd5b5050505050505050565b600061107060085490565b82106110d35760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610a45565b600882815481106110e6576110e66131f2565b90600052602060002001549050919050565b61110061206f565b600b546040516370a0823160e01b815230600482015282916001600160a01b0316906370a0823190602401602060405180830381865afa158015611148573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116c9190613208565b10156111ba5760405162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e7420746f6b656e2062616c616e63650000000000006044820152606401610a45565b600b546001600160a01b031663a9059cbb6111dd600a546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af115801561122a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061124e9190613221565b5050565b6000818152600260205260408120546001600160a01b0316806109125760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610a45565b6112ba612237565b61115c601054106113065760405162461bcd60e51b815260206004820152601660248201527513585e1a5b5d5b481cdd5c1c1b1e481c995858da195960521b6044820152606401610a45565b600f54600b546040516370a0823160e01b81523360048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015611351573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113759190613208565b10156113935760405162461bcd60e51b8152600401610a459061323e565b600f54600b54604051636eb1769f60e11b81523360048201523060248201526001600160a01b039091169063dd62ed3e90604401602060405180830381865afa1580156113e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114089190613208565b10156114565760405162461bcd60e51b815260206004820152601c60248201527f546f6b656e20616c6c6f77616e6365206e6f742070726f7669646564000000006044820152606401610a45565b600b54600e54600f546040516323b872dd60e01b81523360048201526001600160a01b03928316602482015260448101919091529116906323b872dd906064016020604051808303816000875af11580156114b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114d99190613221565b506114f7816114e760085490565b6114f2906001613296565b612284565b60105461150590600161222b565b601055600f5461152b90611522906103e890610cdd906001612213565b600f549061222b565b600f556001600160a01b038116600090815260146020526040812054900361158457604080518082018252428152600060208083018281526001600160a01b038616835260149091529290209051815590516001909101555b50565b60006001600160a01b0382166115f15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610a45565b506001600160a01b031660009081526003602052604090205490565b61161561206f565b6001600160a01b038216600090815260146020526040812054900361167c5760405162461bcd60e51b815260206004820152601960248201527f526563697069656e74206973206e6f742061207374616b6572000000000000006044820152606401610a45565b6001600160a01b0382166000908152601460205260409020600101546116a2908261222b565b6001600160a01b0390921660009081526014602052604090206001019190915550565b6116cd61206f565b610bfa600061241d565b6116df612237565b6101bc6013541061172b5760405162461bcd60e51b8152602060048201526016602482015275115512081b5a5b9d081b1a5b5a5d081c995858da195960521b6044820152606401610a45565b601254341461177c5760405162461bcd60e51b815260206004820152601960248201527f496e636f72726563742045544820616d6f756e742073656e74000000000000006044820152606401610a45565b611789816114e760085490565b60105461179790600161222b565b6010556013546117a890600161222b565b6013556001600160a01b038116600090815260146020526040812054900361158457604080518082018252428152600060208083018281526001600160a01b0386168352601490915292902090518155905160019091015550565b61180b61206f565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b61183561206f565b600f55565b61184261206f565b610bfa61246f565b6060600180546109279061318e565b61186161206f565b61115c601054106118ad5760405162461bcd60e51b815260206004820152601660248201527513585e1a5b5d5b481cdd5c1c1b1e481c995858da195960521b6044820152606401610a45565b6118ba816114e760085490565b6010546118c890600161222b565b6010556001600160a01b038116600090815260146020526040812054900361158457604080518082018252428152600060208083018281526001600160a01b0386168352601490915292902090518155905160019091015550565b61192b61206f565b601155565b61124e3383836124b2565b61194361206f565b600a546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015611584573d6000803e3d6000fd5b611984612237565b600081116119d45760405162461bcd60e51b815260206004820152601a60248201527f4d757374206d696e74206174206c65617374206f6e65204e46540000000000006044820152606401610a45565b60105461115c906119e5908361222b565b1115611a2c5760405162461bcd60e51b815260206004820152601660248201527545786365656473206d6178696d756d20737570706c7960501b6044820152606401610a45565b600f54600090611a3c9083612213565b600b546040516370a0823160e01b815233600482015291925082916001600160a01b03909116906370a0823190602401602060405180830381865afa158015611a89573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aad9190613208565b1015611acb5760405162461bcd60e51b8152600401610a459061323e565b600b54604051636eb1769f60e11b815233600482015230602482015282916001600160a01b03169063dd62ed3e90604401602060405180830381865afa158015611b19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b3d9190613208565b1015611b8b5760405162461bcd60e51b815260206004820152601c60248201527f546f6b656e20616c6c6f77616e6365206e6f742070726f7669646564000000006044820152606401610a45565b600b54600e546040516323b872dd60e01b81523360048201526001600160a01b039182166024820152604481018490529116906323b872dd906064016020604051808303816000875af1158015611be6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c0a9190613221565b5060005b82811015611c4657611c23846114e760085490565b601054611c3190600161222b565b60105580611c3e816132a9565b915050611c0e565b50611c6a61152283610cd76103e8610cdd6001600f5461221390919063ffffffff16565b600f556001600160a01b0383166000908152601460205260408120549003610ae657604080518082018252428152600060208083018281526001600160a01b03881683526014909152929020905181559051600190910155505050565b611cd384848484612580565b611cdd84846120fa565b50505050565b60606000611cef6125b2565b90506000815111611d0f5760405180602001604052806000815250611d3a565b80611d19846125d2565b604051602001611d2a9291906132c2565b6040516020818303038152906040525b9392505050565b611d4961206f565b8051825114611d8e5760405162461bcd60e51b81526020600482015260116024820152704d69736d6174636865642061727261797360781b6044820152606401610a45565b60005b8251811015610ae6576000838281518110611dae57611dae6131f2565b602002602001015190506000838381518110611dcc57611dcc6131f2565b6020026020010151905061115c611dee8260105461222b90919063ffffffff16565b1115611e355760405162461bcd60e51b815260206004820152601660248201527545786365656473206d6178696d756d20737570706c7960501b6044820152606401610a45565b60005b81811015611e7057611e4d836114e760085490565b601054611e5b90600161222b565b60105580611e68816132a9565b915050611e38565b506001600160a01b0382166000908152601460205260408120549003611ec757604080518082018252428152600060208083018281526001600160a01b038716835260149091529290209051815590516001909101555b50508080611ed4906132a9565b915050611d91565b611ee461206f565b6001600160a01b038116611f495760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a45565b6115848161241d565b60006001600160e01b031982166380ac58cd60e01b1480611f8357506001600160e01b03198216635b5e139f60e01b145b8061091257506301ffc9a760e01b6001600160e01b0319831614610912565b6000818152600260205260409020546001600160a01b03166115845760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610a45565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061203682611252565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600a546001600160a01b03163314610bfa5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a45565b6120d33382612665565b6120ef5760405162461bcd60e51b8152600401610a4590613301565b610ae68383836126e3565b6001600160a01b03821615801590612118575061211682611587565b155b506001600160a01b03811615801590612139575061213581611587565b6001145b1561124e576001600160a01b038116600090815260146020526040812054900361124e57604080518082018252428152600060208083018281526001600160a01b038616835260149091529290209051815590516001909101555050565b61219f612854565b600a805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b610ae683838360405180602001604052806000815250611cc7565b6000611d3a828461334e565b6000611d3a8284613361565b6000611d3a8284613378565b6000611d3a8284613296565b600a54600160a01b900460ff1615610bfa5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610a45565b6001600160a01b0382166122da5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a45565b6000818152600260205260409020546001600160a01b03161561233f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a45565b61234d6000838360016128a4565b6000818152600260205260409020546001600160a01b0316156123b25760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a45565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612477612237565b600a805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586121cf3390565b816001600160a01b0316836001600160a01b0316036125135760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a45565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61258a3383612665565b6125a65760405162461bcd60e51b8152600401610a4590613301565b611cdd848484846129d8565b606060405180608001604052806051815260200161349460519139905090565b606060006125df83612a0b565b600101905060008167ffffffffffffffff8111156125ff576125ff612f05565b6040519080825280601f01601f191660200182016040528015612629576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461263357509392505050565b60008061267183611252565b9050806001600160a01b0316846001600160a01b031614806126b857506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80610ce95750836001600160a01b03166126d1846109aa565b6001600160a01b031614949350505050565b826001600160a01b03166126f682611252565b6001600160a01b03161461271c5760405162461bcd60e51b8152600401610a459061338c565b6001600160a01b03821661277e5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a45565b61278b83838360016128a4565b826001600160a01b031661279e82611252565b6001600160a01b0316146127c45760405162461bcd60e51b8152600401610a459061338c565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a54600160a01b900460ff16610bfa5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610a45565b60018111156129135760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b6064820152608401610a45565b816001600160a01b03851661296f5761296a81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612992565b836001600160a01b0316856001600160a01b031614612992576129928582612ae3565b6001600160a01b0384166129ae576129a981612b80565b6129d1565b846001600160a01b0316846001600160a01b0316146129d1576129d18482612c2f565b5050505050565b6129e38484846126e3565b6129ef84848484612c73565b611cdd5760405162461bcd60e51b8152600401610a45906133d1565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310612a4a5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612a76576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310612a9457662386f26fc10000830492506010015b6305f5e1008310612aac576305f5e100830492506008015b6127108310612ac057612710830492506004015b60648310612ad2576064830492506002015b600a83106109125760010192915050565b60006001612af084611587565b612afa919061334e565b600083815260076020526040902054909150808214612b4d576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090612b929060019061334e565b60008381526009602052604081205460088054939450909284908110612bba57612bba6131f2565b906000526020600020015490508060088381548110612bdb57612bdb6131f2565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480612c1357612c13613423565b6001900381819060005260206000200160009055905550505050565b6000612c3a83611587565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60006001600160a01b0384163b15612d6957604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612cb7903390899088908890600401613439565b6020604051808303816000875af1925050508015612cf2575060408051601f3d908101601f19168201909252612cef91810190613476565b60015b612d4f573d808015612d20576040519150601f19603f3d011682016040523d82523d6000602084013e612d25565b606091505b508051600003612d475760405162461bcd60e51b8152600401610a45906133d1565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610ce9565b506001949350505050565b6001600160e01b03198116811461158457600080fd5b600060208284031215612d9c57600080fd5b8135611d3a81612d74565b60005b83811015612dc2578181015183820152602001612daa565b50506000910152565b60008151808452612de3816020860160208601612da7565b601f01601f19169290920160200192915050565b602081526000611d3a6020830184612dcb565b600060208284031215612e1c57600080fd5b5035919050565b80356001600160a01b0381168114612e3a57600080fd5b919050565b60008060408385031215612e5257600080fd5b612e5b83612e23565b946020939093013593505050565b600060208284031215612e7b57600080fd5b611d3a82612e23565b600080600060608486031215612e9957600080fd5b612ea284612e23565b9250612eb060208501612e23565b9150604084013590509250925092565b801515811461158457600080fd5b60008060408385031215612ee157600080fd5b612eea83612e23565b91506020830135612efa81612ec0565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612f4457612f44612f05565b604052919050565b60008060008060808587031215612f6257600080fd5b612f6b85612e23565b93506020612f7a818701612e23565b935060408601359250606086013567ffffffffffffffff80821115612f9e57600080fd5b818801915088601f830112612fb257600080fd5b813581811115612fc457612fc4612f05565b612fd6601f8201601f19168501612f1b565b91508082528984828501011115612fec57600080fd5b808484018584013760008482840101525080935050505092959194509250565b600067ffffffffffffffff82111561302657613026612f05565b5060051b60200190565b600082601f83011261304157600080fd5b813560206130566130518361300c565b612f1b565b82815260059290921b8401810191818101908684111561307557600080fd5b8286015b848110156130905780358352918301918301613079565b509695505050505050565b600080604083850312156130ae57600080fd5b823567ffffffffffffffff808211156130c657600080fd5b818501915085601f8301126130da57600080fd5b813560206130ea6130518361300c565b82815260059290921b8401810191818101908984111561310957600080fd5b948201945b8386101561312e5761311f86612e23565b8252948201949082019061310e565b9650508601359250508082111561314457600080fd5b5061315185828601613030565b9150509250929050565b6000806040838503121561316e57600080fd5b61317783612e23565b915061318560208401612e23565b90509250929050565b600181811c908216806131a257607f821691505b6020821081036131c257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601260045260246000fd5b6000826131ed576131ed6131c8565b500690565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561321a57600080fd5b5051919050565b60006020828403121561323357600080fd5b8151611d3a81612ec0565b60208082526022908201527f496e73756666696369656e74207061796d656e7420746f6b656e2062616c616e604082015261636560f01b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561091257610912613280565b6000600182016132bb576132bb613280565b5060010190565b600083516132d4818460208801612da7565b8351908301906132e8818360208801612da7565b64173539b7b760d91b9101908152600501949350505050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b8181038181111561091257610912613280565b808202811582820484141761091257610912613280565b600082613387576133876131c8565b500490565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061346c90830184612dcb565b9695505050505050565b60006020828403121561348857600080fd5b8151611d3a81612d7456fe68747470733a2f2f697066732e696f2f697066732f6261667962656964376c703667366333797933747465696b727a706864366677627a75667835326e6f797137736c36356a796c35746f6c716a66692fa26469706673582212200873b3cdcbbc1c68884b651e5ef90f922d07e25222d7b189bb16799c2b6c47ee64736f6c63430008110033

Deployed Bytecode Sourcemap

77923:11070:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71772:224;;;;;;;;;;-1:-1:-1;71772:224:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;71772:224:0;;;;;;;;55821:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;57333:171::-;;;;;;;;;;-1:-1:-1;57333:171:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;57333:171:0;1533:203:1;56851:416:0;;;;;;;;;;-1:-1:-1;56851:416:0;;;;;:::i;:::-;;:::i;:::-;;88723:136;;;;;;;;;;-1:-1:-1;88723:136:0;;;;;:::i;:::-;;:::i;72412:113::-;;;;;;;;;;-1:-1:-1;72500:10:0;:17;72412:113;;;2515:25:1;;;2503:2;2488:18;72412:113:0;2369:177:1;87353:99:0;;;;;;;;;;-1:-1:-1;87430:14:0;;87353:99;;88566:149;;;;;;;;;;-1:-1:-1;88566:149:0;;;;;:::i;:::-;;:::i;78378:80::-;;;;;;;;;;-1:-1:-1;78378:80:0;;;;-1:-1:-1;;;;;78378:80:0;;;84415:200;;;;;;;;;;-1:-1:-1;84415:200:0;;;;;:::i;:::-;;:::i;72080:256::-;;;;;;;;;;-1:-1:-1;72080:256:0;;;;;:::i;:::-;;:::i;78195:79::-;;;;;;;;;;-1:-1:-1;78195:79:0;;;;-1:-1:-1;;;;;78195:79:0;;;79102:41;;;;;;;;;;;;79139:4;79102:41;;88352:67;;;;;;;;;;;;;:::i;84678:208::-;;;;;;;;;;-1:-1:-1;84678:208:0;;;;;:::i;:::-;;:::i;88427:131::-;;;;;;;;;;-1:-1:-1;88427:131:0;;;;;:::i;:::-;;:::i;86887:458::-;;;;;;;;;;-1:-1:-1;86887:458:0;;;;;:::i;:::-;;:::i;85135:1744::-;;;;;;;;;;;;;:::i;72602:233::-;;;;;;;;;;-1:-1:-1;72602:233:0;;;;;:::i;:::-;;:::i;30293:86::-;;;;;;;;;;-1:-1:-1;30364:7:0;;-1:-1:-1;;;30364:7:0;;;;30293:86;;87792:218;;;;;;;;;;-1:-1:-1;87792:218:0;;;;;:::i;:::-;;:::i;55531:223::-;;;;;;;;;;-1:-1:-1;55531:223:0;;;;;:::i;:::-;;:::i;79822:776::-;;;;;;;;;;-1:-1:-1;79822:776:0;;;;;:::i;:::-;;:::i;55262:207::-;;;;;;;;;;-1:-1:-1;55262:207:0;;;;;:::i;:::-;;:::i;88018:255::-;;;;;;;;;;-1:-1:-1;88018:255:0;;;;;:::i;:::-;;:::i;33151:103::-;;;;;;;;;;;;;:::i;82988:542::-;;;;;;:::i;:::-;;:::i;87460:84::-;;;;;;;;;;-1:-1:-1;87460:84:0;;;;;:::i;:::-;;:::i;88867:123::-;;;;;;;;;;-1:-1:-1;88867:123:0;;;;;:::i;:::-;;:::i;88281:63::-;;;;;;;;;;;;;:::i;32510:87::-;;;;;;;;;;-1:-1:-1;32583:6:0;;-1:-1:-1;;;;;32583:6:0;32510:87;;79376:44;;;;;;;;;;-1:-1:-1;79376:44:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;3280:25:1;;;3336:2;3321:18;;3314:34;;;;3253:18;79376:44:0;3106:248:1;55990:104:0;;;;;;;;;;;;;:::i;81673:480::-;;;;;;;;;;-1:-1:-1;81673:480:0;;;;;:::i;:::-;;:::i;78957:41::-;;;;;;;;;;;;;;;;87552:108;;;;;;;;;;-1:-1:-1;87552:108:0;;;;;:::i;:::-;;:::i;57576:155::-;;;;;;;;;;-1:-1:-1;57576:155:0;;;;;:::i;:::-;;:::i;79005:30::-;;;;;;;;;;;;;;;;87668:116;;;;;;;;;;;;;:::i;79237:44::-;;;;;;;;;;;;79278:3;79237:44;;79197:33;;;;;;;;;;;;;;;;80606:1059;;;;;;;;;;-1:-1:-1;80606:1059:0;;;;;:::i;:::-;;:::i;84894:233::-;;;;;;;;;;-1:-1:-1;84894:233:0;;;;;:::i;:::-;;:::i;79543:271::-;;;;;;;;;;-1:-1:-1;79543:271:0;;;;;:::i;:::-;;:::i;79150:40::-;;;;;;;;;;;;;;;;79044:51;;;;;;;;;;;;;;;;82161:819;;;;;;;;;;-1:-1:-1;82161:819:0;;;;;:::i;:::-;;:::i;78281:90::-;;;;;;;;;;-1:-1:-1;78281:90:0;;;;-1:-1:-1;;;;;78281:90:0;;;57802:164;;;;;;;;;;-1:-1:-1;57802:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;57923:25:0;;;57899:4;57923:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;57802:164;33409:201;;;;;;;;;;-1:-1:-1;33409:201:0;;;;;:::i;:::-;;:::i;71772:224::-;71874:4;-1:-1:-1;;;;;;71898:50:0;;-1:-1:-1;;;71898:50:0;;:90;;;71952:36;71976:11;71952:23;:36::i;:::-;71891:97;71772:224;-1:-1:-1;;71772:224:0:o;55821:100::-;55875:13;55908:5;55901:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55821:100;:::o;57333:171::-;57409:7;57429:23;57444:7;57429:14;:23::i;:::-;-1:-1:-1;57472:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;57472:24:0;;57333:171::o;56851:416::-;56932:13;56948:23;56963:7;56948:14;:23::i;:::-;56932:39;;56996:5;-1:-1:-1;;;;;56990:11:0;:2;-1:-1:-1;;;;;56990:11:0;;56982:57;;;;-1:-1:-1;;;56982:57:0;;8286:2:1;56982:57:0;;;8268:21:1;8325:2;8305:18;;;8298:30;8364:34;8344:18;;;8337:62;-1:-1:-1;;;8415:18:1;;;8408:31;8456:19;;56982:57:0;;;;;;;;;28486:10;-1:-1:-1;;;;;57074:21:0;;;;:62;;-1:-1:-1;57099:37:0;57116:5;28486:10;57802:164;:::i;57099:37::-;57052:173;;;;-1:-1:-1;;;57052:173:0;;8688:2:1;57052:173:0;;;8670:21:1;8727:2;8707:18;;;8700:30;8766:34;8746:18;;;8739:62;8837:31;8817:18;;;8810:59;8886:19;;57052:173:0;8486:425:1;57052:173:0;57238:21;57247:2;57251:7;57238:8;:21::i;:::-;56921:346;56851:416;;:::o;88723:136::-;32396:13;:11;:13::i;:::-;88807:11:::1;:44:::0;;-1:-1:-1;;;;;;88807:44:0::1;-1:-1:-1::0;;;;;88807:44:0;;;::::1;::::0;;;::::1;::::0;;88723:136::o;88566:149::-;32396:13;:11;:13::i;:::-;88662:20:::1;:45:::0;;-1:-1:-1;;;;;;88662:45:0::1;-1:-1:-1::0;;;;;88662:45:0;;;::::1;::::0;;;::::1;::::0;;88566:149::o;84415:200::-;84532:37;84551:4;84557:2;84561:7;84532:18;:37::i;:::-;84580:27;84598:4;84604:2;84580:17;:27::i;72080:256::-;72177:7;72213:23;72230:5;72213:16;:23::i;:::-;72205:5;:31;72197:87;;;;-1:-1:-1;;;72197:87:0;;9118:2:1;72197:87:0;;;9100:21:1;9157:2;9137:18;;;9130:30;9196:34;9176:18;;;9169:62;-1:-1:-1;;;9247:18:1;;;9240:41;9298:19;;72197:87:0;8916:407:1;72197:87:0;-1:-1:-1;;;;;;72302:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;72080:256::o;88352:67::-;32396:13;:11;:13::i;:::-;88401:10:::1;:8;:10::i;:::-;88352:67::o:0;84678:208::-;84799:41;84822:4;84828:2;84832:7;84799:22;:41::i;88427:131::-;32396:13;:11;:13::i;:::-;88511:12:::1;:39:::0;;-1:-1:-1;;;;;;88511:39:0::1;-1:-1:-1::0;;;;;88511:39:0;;;::::1;::::0;;;::::1;::::0;;88427:131::o;86887:458::-;-1:-1:-1;;;;;86975:16:0;;86951:7;86975:16;;;:7;:16;;;;;:26;:31;;86971:45;;-1:-1:-1;87015:1:0;;86887:458;-1:-1:-1;86887:458:0:o;86971:45::-;-1:-1:-1;;;;;87083:16:0;;87029:31;87083:16;;;:7;:16;;;;;:26;87063:47;;:15;;:19;:47::i;:::-;87029:81;;87121:20;87144:18;87154:7;87144:9;:18::i;:::-;87121:41;;87228:109;87313:7;:16;87321:7;-1:-1:-1;;;;;87313:16:0;-1:-1:-1;;;;;87313:16:0;;;;;;;;;;;;:23;;;87228:80;87302:5;87228:69;87284:12;87228:51;87256:22;;87228:23;:27;;:51;;;;:::i;:::-;:55;;:69::i;:::-;:73;;:80::i;:::-;:84;;:109::i;:::-;87221:116;86887:458;-1:-1:-1;;;;86887:458:0:o;85135:1744::-;29898:19;:17;:19::i;:::-;85200:10:::1;85224:1;85192:19:::0;;;:7:::1;:19;::::0;;;;:29;85184:77:::1;;;::::0;-1:-1:-1;;;85184:77:0;;9530:2:1;85184:77:0::1;::::0;::::1;9512:21:1::0;9569:2;9549:18;;;9542:30;9608:33;9588:18;;;9581:61;9659:18;;85184:77:0::1;9328:355:1::0;85184:77:0::1;85274:21;85298:28;85315:10;85298:16;:28::i;:::-;85274:52;;85361:1;85345:13;:17;85337:50;;;::::0;-1:-1:-1;;;85337:50:0;;9890:2:1;85337:50:0::1;::::0;::::1;9872:21:1::0;9929:2;9909:18;;;9902:30;-1:-1:-1;;;9948:18:1;;;9941:50;10008:18;;85337:50:0::1;9688:344:1::0;85337:50:0::1;85441:63;::::0;;85458:15:::1;85441:63;::::0;::::1;10222:19:1::0;-1:-1:-1;;85475:10:0::1;10279:2:1::0;10275:15;10271:53;10257:12;;;10250:75;;;;85487:16:0::1;10341:12:1::0;;;10334:28;85400:20:0::1;::::0;85509:3:::1;::::0;10378:12:1;;85441:63:0::1;;;;;;;;;;;;85431:74;;;;;;85423:83;;:89;;;;:::i;:::-;85400:112;;85523:18;85577:1;85562:12;:16;85558:526;;;85608:30;85634:3;85608:21;:13:::0;85626:2:::1;85608:17;:21::i;:30::-;85595:43;;85558:526;;;85687:2;85672:12;:17;85668:416;;;85719:30;85745:3;85719:21;:13:::0;85737:2:::1;85719:17;:21::i;85668:416::-;85798:2;85783:12;:17;85779:305;;;85830:30;85856:3;85830:21;:13:::0;85848:2:::1;85830:17;:21::i;85779:305::-;85909:3;85894:12;:18;85890:194;;;85942:30;85968:3;85942:21;:13:::0;85960:2:::1;85942:17;:21::i;85890:194::-;86030:30;86056:3;86030:21;:13:::0;86048:2:::1;86030:17;:21::i;:30::-;86017:43;;85890:194;86096:19;86118:29;:13:::0;86136:10;86118:17:::1;:29::i;:::-;86096:51;;86233:1;86218:12;:16;86214:461;;;86256:39;::::0;;3280:25:1;;;3336:2;3321:18;;3314:34;;;86256:39:0::1;::::0;3253:18:1;86256:39:0::1;;;;;;;;86214:461;;;86332:2;86317:12;:17;86313:362;;;86356:38;::::0;;3280:25:1;;;3336:2;3321:18;;3314:34;;;86356:38:0::1;::::0;3253:18:1;86356:38:0::1;3106:248:1::0;86313:362:0::1;86431:2;86416:12;:17;86412:263;;;86455:35;::::0;;3280:25:1;;;3336:2;3321:18;;3314:34;;;86455:35:0::1;::::0;3253:18:1;86455:35:0::1;3106:248:1::0;86412:263:0::1;86527:3;86512:12;:18;86508:167;;;86552:37;::::0;;3280:25:1;;;3336:2;3321:18;;3314:34;;;86552:37:0::1;::::0;3253:18:1;86552:37:0::1;3106:248:1::0;86508:167:0::1;86627:36;::::0;;3280:25:1;;;3336:2;3321:18;;3314:34;;;86627:36:0::1;::::0;3253:18:1;86627:36:0::1;;;;;;;86508:167;86695:10;86716:1;86687:19:::0;;;:7:::1;:19;::::0;;;;;:26:::1;::::0;::::1;:30:::0;;;;86760:15:::1;86728:47:::0;;;86788:11:::1;::::0;86825:20:::1;::::0;86788:83;;-1:-1:-1;;;86788:83:0;;::::1;::::0;::::1;10919:34:1::0;;;;-1:-1:-1;;;;;86825:20:0;;::::1;10969:18:1::0;;;10962:43;11021:18;;;11014:34;;;11064:18;;;11057:34;;;86788:11:0::1;::::0;:24:::1;::::0;10853:19:1;;86788:83:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;85173:1706;;;;85135:1744::o:0;72602:233::-;72677:7;72713:30;72500:10;:17;;72412:113;72713:30;72705:5;:38;72697:95;;;;-1:-1:-1;;;72697:95:0;;11304:2:1;72697:95:0;;;11286:21:1;11343:2;11323:18;;;11316:30;11382:34;11362:18;;;11355:62;-1:-1:-1;;;11433:18:1;;;11426:42;11485:19;;72697:95:0;11102:408:1;72697:95:0;72810:10;72821:5;72810:17;;;;;;;;:::i;:::-;;;;;;;;;72803:24;;72602:233;;;:::o;87792:218::-;32396:13;:11;:13::i;:::-;87875:12:::1;::::0;:37:::1;::::0;-1:-1:-1;;;87875:37:0;;87906:4:::1;87875:37;::::0;::::1;1679:51:1::0;87916:6:0;;-1:-1:-1;;;;;87875:12:0::1;::::0;:22:::1;::::0;1652:18:1;;87875:37:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:47;;87867:86;;;::::0;-1:-1:-1;;;87867:86:0;;12038:2:1;87867:86:0::1;::::0;::::1;12020:21:1::0;12077:2;12057:18;;;12050:30;12116:28;12096:18;;;12089:56;12162:18;;87867:86:0::1;11836:350:1::0;87867:86:0::1;87964:12;::::0;-1:-1:-1;;;;;87964:12:0::1;:21;87986:7;32583:6:::0;;-1:-1:-1;;;;;32583:6:0;;32510:87;87986:7:::1;87964:38;::::0;-1:-1:-1;;;;;;87964:38:0::1;::::0;;;;;;-1:-1:-1;;;;;12383:32:1;;;87964:38:0::1;::::0;::::1;12365:51:1::0;12432:18;;;12425:34;;;12338:18;;87964:38:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;87792:218:::0;:::o;55531:223::-;55603:7;60264:16;;;:7;:16;;;;;;-1:-1:-1;;;;;60264:16:0;;55667:56;;;;-1:-1:-1;;;55667:56:0;;12922:2:1;55667:56:0;;;12904:21:1;12961:2;12941:18;;;12934:30;-1:-1:-1;;;12980:18:1;;;12973:54;13044:18;;55667:56:0;12720:348:1;79822:776:0;29898:19;:17;:19::i;:::-;79139:4:::1;79890:11;;:24;79882:59;;;::::0;-1:-1:-1;;;79882:59:0;;13275:2:1;79882:59:0::1;::::0;::::1;13257:21:1::0;13314:2;13294:18;;;13287:30;-1:-1:-1;;;13333:18:1;;;13326:52;13395:18;;79882:59:0::1;13073:346:1::0;79882:59:0::1;79998:12;::::0;79960::::1;::::0;:34:::1;::::0;-1:-1:-1;;;79960:34:0;;79983:10:::1;79960:34;::::0;::::1;1679:51:1::0;-1:-1:-1;;;;;79960:12:0;;::::1;::::0;:22:::1;::::0;1652:18:1;;79960:34:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:50;;79952:97;;;;-1:-1:-1::0;;;79952:97:0::1;;;;;;;:::i;:::-;80121:12;::::0;80068::::1;::::0;:49:::1;::::0;-1:-1:-1;;;80068:49:0;;80091:10:::1;80068:49;::::0;::::1;14039:34:1::0;80111:4:0::1;14089:18:1::0;;;14082:43;-1:-1:-1;;;;;80068:12:0;;::::1;::::0;:22:::1;::::0;13974:18:1;;80068:49:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:65;;80060:106;;;::::0;-1:-1:-1;;;80060:106:0;;14338:2:1;80060:106:0::1;::::0;::::1;14320:21:1::0;14377:2;14357:18;;;14350:30;14416;14396:18;;;14389:58;14464:18;;80060:106:0::1;14136:352:1::0;80060:106:0::1;80179:12;::::0;80225:4:::1;::::0;80232:12:::1;::::0;80179:66:::1;::::0;-1:-1:-1;;;80179:66:0;;80205:10:::1;80179:66;::::0;::::1;14733:34:1::0;-1:-1:-1;;;;;80225:4:0;;::::1;14783:18:1::0;;;14776:43;14835:18;;;14828:34;;;;80179:12:0;::::1;::::0;:25:::1;::::0;14668:18:1;;80179:66:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;80258:28;80264:2;80268:13;72500:10:::0;:17;;72412:113;80268:13:::1;:17;::::0;80284:1:::1;80268:17;:::i;:::-;80258:5;:28::i;:::-;80313:11;::::0;:18:::1;::::0;80329:1:::1;80313:15;:18::i;:::-;80299:11;:32:::0;80374:12:::1;::::0;80357:47:::1;::::0;80374:29:::1;::::0;80398:4:::1;::::0;80374:19:::1;::::0;80391:1:::1;80374:16;:19::i;:29::-;80357:12;::::0;;:16:::1;:47::i;:::-;80342:12;:62:::0;-1:-1:-1;;;;;80421:11:0;::::1;;::::0;;;:7:::1;:11;::::0;;;;:21;:26;;80417:172:::1;;80478:99;::::0;;;;::::1;::::0;;80518:15:::1;80478:99:::0;;-1:-1:-1;80478:99:0::1;::::0;;::::1;::::0;;;-1:-1:-1;;;;;80464:11:0;::::1;::::0;;:7:::1;:11:::0;;;;;;:113;;;;;;::::1;::::0;;::::1;::::0;80417:172:::1;79822:776:::0;:::o;55262:207::-;55334:7;-1:-1:-1;;;;;55362:19:0;;55354:73;;;;-1:-1:-1;;;55354:73:0;;15337:2:1;55354:73:0;;;15319:21:1;15376:2;15356:18;;;15349:30;15415:34;15395:18;;;15388:62;-1:-1:-1;;;15466:18:1;;;15459:39;15515:19;;55354:73:0;15135:405:1;55354:73:0;-1:-1:-1;;;;;;55445:16:0;;;;;:9;:16;;;;;;;55262:207::o;88018:255::-;32396:13;:11;:13::i;:::-;-1:-1:-1;;;;;88120:19:0;::::1;;::::0;;;:7:::1;:19;::::0;;;;:29;:34;;88112:72:::1;;;::::0;-1:-1:-1;;;88112:72:0;;15747:2:1;88112:72:0::1;::::0;::::1;15729:21:1::0;15786:2;15766:18;;;15759:30;15825:27;15805:18;;;15798:55;15870:18;;88112:72:0::1;15545:349:1::0;88112:72:0::1;-1:-1:-1::0;;;;;88226:19:0;::::1;;::::0;;;:7:::1;:19;::::0;;;;:26:::1;;::::0;:39:::1;::::0;88257:7;88226:30:::1;:39::i;:::-;-1:-1:-1::0;;;;;88197:19:0;;::::1;;::::0;;;:7:::1;:19;::::0;;;;:26:::1;;:68:::0;;;;-1:-1:-1;88018:255:0:o;33151:103::-;32396:13;:11;:13::i;:::-;33216:30:::1;33243:1;33216:18;:30::i;82988:542::-:0;29898:19;:17;:19::i;:::-;79278:3:::1;83071:14;;:31;83063:66;;;::::0;-1:-1:-1;;;83063:66:0;;16101:2:1;83063:66:0::1;::::0;::::1;16083:21:1::0;16140:2;16120:18;;;16113:30;-1:-1:-1;;;16159:18:1;;;16152:52;16221:18;;83063:66:0::1;15899:346:1::0;83063:66:0::1;83161:12;;83148:9;:25;83140:63;;;::::0;-1:-1:-1;;;83140:63:0;;16452:2:1;83140:63:0::1;::::0;::::1;16434:21:1::0;16491:2;16471:18;;;16464:30;16530:27;16510:18;;;16503:55;16575:18;;83140:63:0::1;16250:349:1::0;83140:63:0::1;83216:28;83222:2;83226:13;72500:10:::0;:17;;72412:113;83216:28:::1;83271:11;::::0;:18:::1;::::0;83287:1:::1;83271:15;:18::i;:::-;83257:11;:32:::0;83317:14:::1;::::0;:21:::1;::::0;83336:1:::1;83317:18;:21::i;:::-;83300:14;:38:::0;-1:-1:-1;;;;;83355:11:0;::::1;;::::0;;;:7:::1;:11;::::0;;;;:21;:26;;83351:172:::1;;83412:99;::::0;;;;::::1;::::0;;83452:15:::1;83412:99:::0;;-1:-1:-1;83412:99:0::1;::::0;;::::1;::::0;;;-1:-1:-1;;;;;83398:11:0;::::1;::::0;;:7:::1;:11:::0;;;;;;:113;;;;;;::::1;::::0;;::::1;::::0;82988:542;:::o;87460:84::-;32396:13;:11;:13::i;:::-;87522:4:::1;:14:::0;;-1:-1:-1;;;;;;87522:14:0::1;-1:-1:-1::0;;;;;87522:14:0;;;::::1;::::0;;;::::1;::::0;;87460:84::o;88867:123::-;32396:13;:11;:13::i;:::-;88951:12:::1;:31:::0;88867:123::o;88281:63::-;32396:13;:11;:13::i;:::-;88328:8:::1;:6;:8::i;55990:104::-:0;56046:13;56079:7;56072:14;;;;;:::i;81673:480::-;32396:13;:11;:13::i;:::-;79139:4:::1;81742:11;;:24;81734:59;;;::::0;-1:-1:-1;;;81734:59:0;;13275:2:1;81734:59:0::1;::::0;::::1;13257:21:1::0;13314:2;13294:18;;;13287:30;-1:-1:-1;;;13333:18:1;;;13326:52;13395:18;;81734:59:0::1;13073:346:1::0;81734:59:0::1;81834:28;81840:2;81844:13;72500:10:::0;:17;;72412:113;81834:28:::1;81889:11;::::0;:18:::1;::::0;81905:1:::1;81889:15;:18::i;:::-;81875:11;:32:::0;-1:-1:-1;;;;;81978:11:0;::::1;;::::0;;;:7:::1;:11;::::0;;;;:21;:26;;81974:172:::1;;82035:99;::::0;;;;::::1;::::0;;82075:15:::1;82035:99:::0;;-1:-1:-1;82035:99:0::1;::::0;;::::1;::::0;;;-1:-1:-1;;;;;82021:11:0;::::1;::::0;;:7:::1;:11:::0;;;;;;:113;;;;;;::::1;::::0;;::::1;::::0;81673:480;:::o;87552:108::-;32396:13;:11;:13::i;:::-;87620:22:::1;:32:::0;87552:108::o;57576:155::-;57671:52;28486:10;57704:8;57714;57671:18;:52::i;87668:116::-;32396:13;:11;:13::i;:::-;32583:6;;87728:48:::1;::::0;-1:-1:-1;;;;;32583:6:0;;;;87754:21:::1;87728:48:::0;::::1;;;::::0;::::1;::::0;;;87754:21;32583:6;87728:48;::::1;;;;;;;;;;;;;::::0;::::1;;;;80606:1059:::0;29898:19;:17;:19::i;:::-;80711:1:::1;80700:8;:12;80692:51;;;::::0;-1:-1:-1;;;80692:51:0;;16806:2:1;80692:51:0::1;::::0;::::1;16788:21:1::0;16845:2;16825:18;;;16818:30;16884:28;16864:18;;;16857:56;16930:18;;80692:51:0::1;16604:350:1::0;80692:51:0::1;80762:11;::::0;79139:4:::1;::::0;80762:25:::1;::::0;80778:8;80762:15:::1;:25::i;:::-;:39;;80754:74;;;::::0;-1:-1:-1;;;80754:74:0;;17161:2:1;80754:74:0::1;::::0;::::1;17143:21:1::0;17200:2;17180:18;;;17173:30;-1:-1:-1;;;17219:18:1;;;17212:52;17281:18;;80754:74:0::1;16959:346:1::0;80754:74:0::1;80861:12;::::0;80840:18:::1;::::0;80861:26:::1;::::0;80878:8;80861:16:::1;:26::i;:::-;80916:12;::::0;:34:::1;::::0;-1:-1:-1;;;80916:34:0;;80939:10:::1;80916:34;::::0;::::1;1679:51:1::0;80840:47:0;;-1:-1:-1;80840:47:0;;-1:-1:-1;;;;;80916:12:0;;::::1;::::0;:22:::1;::::0;1652:18:1;;80916:34:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:48;;80908:95;;;;-1:-1:-1::0;;;80908:95:0::1;;;;;;;:::i;:::-;81022:12;::::0;:49:::1;::::0;-1:-1:-1;;;81022:49:0;;81045:10:::1;81022:49;::::0;::::1;14039:34:1::0;81065:4:0::1;14089:18:1::0;;;14082:43;81075:10:0;;-1:-1:-1;;;;;81022:12:0::1;::::0;:22:::1;::::0;13974:18:1;;81022:49:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:63;;81014:104;;;::::0;-1:-1:-1;;;81014:104:0;;14338:2:1;81014:104:0::1;::::0;::::1;14320:21:1::0;14377:2;14357:18;;;14350:30;14416;14396:18;;;14389:58;14464:18;;81014:104:0::1;14136:352:1::0;81014:104:0::1;81131:12;::::0;81177:4:::1;::::0;81131:64:::1;::::0;-1:-1:-1;;;81131:64:0;;81157:10:::1;81131:64;::::0;::::1;14733:34:1::0;-1:-1:-1;;;;;81177:4:0;;::::1;14783:18:1::0;;;14776:43;14835:18;;;14828:34;;;81131:12:0;::::1;::::0;:25:::1;::::0;14668:18:1;;81131:64:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;81213:9;81208:141;81232:8;81228:1;:12;81208:141;;;81262:28;81268:2;81272:13;72500:10:::0;:17;;72412:113;81262:28:::1;81319:11;::::0;:18:::1;::::0;81335:1:::1;81319:15;:18::i;:::-;81305:11;:32:::0;81242:3;::::1;::::0;::::1;:::i;:::-;;;;81208:141;;;;81376:61;81393:43;81427:8;81393:29;81417:4;81393:19;81410:1;81393:12;;:16;;:19;;;;:::i;81376:61::-;81361:12;:76:::0;-1:-1:-1;;;;;81490:11:0;::::1;;::::0;;;:7:::1;:11;::::0;;;;:21;:26;;81486:172:::1;;81547:99;::::0;;;;::::1;::::0;;81587:15:::1;81547:99:::0;;-1:-1:-1;81547:99:0::1;::::0;;::::1;::::0;;;-1:-1:-1;;;;;81533:11:0;::::1;::::0;;:7:::1;:11:::0;;;;;;:113;;;;;;::::1;::::0;;::::1;::::0;80681:984:::1;80606:1059:::0;;:::o;84894:233::-;85034:47;85057:4;85063:2;85067:7;85076:4;85034:22;:47::i;:::-;85092:27;85110:4;85116:2;85092:17;:27::i;:::-;84894:233;;;;:::o;79543:271::-;79616:13;79642:18;79663:10;:8;:10::i;:::-;79642:31;;79712:1;79697:4;79691:18;:22;:115;;;;;;;;;;;;;;;;;79753:4;79759:18;:7;:16;:18::i;:::-;79736:51;;;;;;;;;:::i;:::-;;;;;;;;;;;;;79691:115;79684:122;79543:271;-1:-1:-1;;;79543:271:0:o;82161:819::-;32396:13;:11;:13::i;:::-;82305:10:::1;:17;82284:10;:17;:38;82276:68;;;::::0;-1:-1:-1;;;82276:68:0;;18320:2:1;82276:68:0::1;::::0;::::1;18302:21:1::0;18359:2;18339:18;;;18332:30;-1:-1:-1;;;18378:18:1;;;18371:47;18435:18;;82276:68:0::1;18118:341:1::0;82276:68:0::1;82362:9;82357:616;82381:10;:17;82377:1;:21;82357:616;;;82420:10;82433;82444:1;82433:13;;;;;;;;:::i;:::-;;;;;;;82420:26;;82461:16;82480:10;82491:1;82480:13;;;;;;;;:::i;:::-;;;;;;;82461:32;;79139:4;82518:25;82534:8;82518:11;;:15;;:25;;;;:::i;:::-;:39;;82510:74;;;::::0;-1:-1:-1;;;82510:74:0;;17161:2:1;82510:74:0::1;::::0;::::1;17143:21:1::0;17200:2;17180:18;;;17173:30;-1:-1:-1;;;17219:18:1;;;17212:52;17281:18;;82510:74:0::1;16959:346:1::0;82510:74:0::1;82606:9;82601:153;82625:8;82621:1;:12;82601:153;;;82659:28;82665:2;82669:13;72500:10:::0;:17;;72412:113;82659:28:::1;82720:11;::::0;:18:::1;::::0;82736:1:::1;82720:15;:18::i;:::-;82706:11;:32:::0;82635:3;::::1;::::0;::::1;:::i;:::-;;;;82601:153;;;-1:-1:-1::0;;;;;;82774:11:0;::::1;;::::0;;;:7:::1;:11;::::0;;;;:21;:26;;82770:192:::1;;82835:111;::::0;;;;::::1;::::0;;82879:15:::1;82835:111:::0;;-1:-1:-1;82835:111:0::1;::::0;;::::1;::::0;;;-1:-1:-1;;;;;82821:11:0;::::1;::::0;;:7:::1;:11:::0;;;;;;:125;;;;;;::::1;::::0;;::::1;::::0;82770:192:::1;82405:568;;82400:3;;;;;:::i;:::-;;;;82357:616;;33409:201:::0;32396:13;:11;:13::i;:::-;-1:-1:-1;;;;;33498:22:0;::::1;33490:73;;;::::0;-1:-1:-1;;;33490:73:0;;18666:2:1;33490:73:0::1;::::0;::::1;18648:21:1::0;18705:2;18685:18;;;18678:30;18744:34;18724:18;;;18717:62;-1:-1:-1;;;18795:18:1;;;18788:36;18841:19;;33490:73:0::1;18464:402:1::0;33490:73:0::1;33574:28;33593:8;33574:18;:28::i;54893:305::-:0;54995:4;-1:-1:-1;;;;;;55032:40:0;;-1:-1:-1;;;55032:40:0;;:105;;-1:-1:-1;;;;;;;55089:48:0;;-1:-1:-1;;;55089:48:0;55032:105;:158;;;-1:-1:-1;;;;;;;;;;46546:40:0;;;55154:36;46437:157;66896:135;60666:4;60264:16;;;:7;:16;;;;;;-1:-1:-1;;;;;60264:16:0;66970:53;;;;-1:-1:-1;;;66970:53:0;;12922:2:1;66970:53:0;;;12904:21:1;12961:2;12941:18;;;12934:30;-1:-1:-1;;;12980:18:1;;;12973:54;13044:18;;66970:53:0;12720:348:1;66209:174:0;66284:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;66284:29:0;-1:-1:-1;;;;;66284:29:0;;;;;;;;:24;;66338:23;66284:24;66338:14;:23::i;:::-;-1:-1:-1;;;;;66329:46:0;;;;;;;;;;;66209:174;;:::o;32675:132::-;32583:6;;-1:-1:-1;;;;;32583:6:0;28486:10;32739:23;32731:68;;;;-1:-1:-1;;;32731:68:0;;19073:2:1;32731:68:0;;;19055:21:1;;;19092:18;;;19085:30;19151:34;19131:18;;;19124:62;19203:18;;32731:68:0;18871:356:1;58033:301:0;58194:41;28486:10;58227:7;58194:18;:41::i;:::-;58186:99;;;;-1:-1:-1;;;58186:99:0;;;;;;;:::i;:::-;58298:28;58308:4;58314:2;58318:7;58298:9;:28::i;83602:760::-;-1:-1:-1;;;;;83713:18:0;;;;;;:42;;;83735:15;83745:4;83735:9;:15::i;:::-;:20;83713:42;83709:227;-1:-1:-1;;;;;83997:16:0;;;;;;:38;;;84017:13;84027:2;84017:9;:13::i;:::-;84034:1;84017:18;83997:38;83993:362;;;-1:-1:-1;;;;;84156:11:0;;;;;;:7;:11;;;;;:21;:26;;84152:192;;84217:111;;;;;;;;84261:15;84217:111;;-1:-1:-1;84217:111:0;;;;;;;-1:-1:-1;;;;;84203:11:0;;;;:7;:11;;;;;;:125;;;;;;;;;;;83602:760;;:::o;31148:120::-;30157:16;:14;:16::i;:::-;31207:7:::1;:15:::0;;-1:-1:-1;;;;31207:15:0::1;::::0;;31238:22:::1;28486:10:::0;31247:12:::1;31238:22;::::0;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;31238:22:0::1;;;;;;;31148:120::o:0;58405:151::-;58509:39;58526:4;58532:2;58536:7;58509:39;;;;;;;;;;;;:16;:39::i;3878:98::-;3936:7;3963:5;3967:1;3963;:5;:::i;4235:98::-;4293:7;4320:5;4324:1;4320;:5;:::i;4634:98::-;4692:7;4719:5;4723:1;4719;:5;:::i;3497:98::-;3555:7;3582:5;3586:1;3582;:5;:::i;30452:108::-;30364:7;;-1:-1:-1;;;30364:7:0;;;;30522:9;30514:38;;;;-1:-1:-1;;;30514:38:0;;20279:2:1;30514:38:0;;;20261:21:1;20318:2;20298:18;;;20291:30;-1:-1:-1;;;20337:18:1;;;20330:46;20393:18;;30514:38:0;20077:340:1;62460:942:0;-1:-1:-1;;;;;62540:16:0;;62532:61;;;;-1:-1:-1;;;62532:61:0;;20624:2:1;62532:61:0;;;20606:21:1;;;20643:18;;;20636:30;20702:34;20682:18;;;20675:62;20754:18;;62532:61:0;20422:356:1;62532:61:0;60666:4;60264:16;;;:7;:16;;;;;;-1:-1:-1;;;;;60264:16:0;60690:31;62604:58;;;;-1:-1:-1;;;62604:58:0;;20985:2:1;62604:58:0;;;20967:21:1;21024:2;21004:18;;;20997:30;21063;21043:18;;;21036:58;21111:18;;62604:58:0;20783:352:1;62604:58:0;62675:48;62704:1;62708:2;62712:7;62721:1;62675:20;:48::i;:::-;60666:4;60264:16;;;:7;:16;;;;;;-1:-1:-1;;;;;60264:16:0;60690:31;62813:58;;;;-1:-1:-1;;;62813:58:0;;20985:2:1;62813:58:0;;;20967:21:1;21024:2;21004:18;;;20997:30;21063;21043:18;;;21036:58;21111:18;;62813:58:0;20783:352:1;62813:58:0;-1:-1:-1;;;;;63220:13:0;;;;;;:9;:13;;;;;;;;:18;;63237:1;63220:18;;;63262:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;63262:21:0;;;;;63301:33;63270:7;;63220:13;;63301:33;;63220:13;;63301:33;87964:38:::1;87792:218:::0;:::o;33770:191::-;33863:6;;;-1:-1:-1;;;;;33880:17:0;;;-1:-1:-1;;;;;;33880:17:0;;;;;;;33913:40;;33863:6;;;33880:17;33863:6;;33913:40;;33844:16;;33913:40;33833:128;33770:191;:::o;30889:118::-;29898:19;:17;:19::i;:::-;30949:7:::1;:14:::0;;-1:-1:-1;;;;30949:14:0::1;-1:-1:-1::0;;;30949:14:0::1;::::0;;30979:20:::1;30986:12;28486:10:::0;;28406:98;66526:281;66647:8;-1:-1:-1;;;;;66638:17:0;:5;-1:-1:-1;;;;;66638:17:0;;66630:55;;;;-1:-1:-1;;;66630:55:0;;21342:2:1;66630:55:0;;;21324:21:1;21381:2;21361:18;;;21354:30;21420:27;21400:18;;;21393:55;21465:18;;66630:55:0;21140:349:1;66630:55:0;-1:-1:-1;;;;;66696:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;66696:46:0;;;;;;;;;;66758:41;;540::1;;;66758::0;;513:18:1;66758:41:0;;;;;;;66526:281;;;:::o;58627:279::-;58758:41;28486:10;58791:7;58758:18;:41::i;:::-;58750:99;;;;-1:-1:-1;;;58750:99:0;;;;;;;:::i;:::-;58860:38;58874:4;58880:2;58884:7;58893:4;58860:13;:38::i;79429:106::-;79481:13;79514;;;;;;;;;;;;;;;;;79507:20;;79429:106;:::o;25325:716::-;25381:13;25432:14;25449:17;25460:5;25449:10;:17::i;:::-;25469:1;25449:21;25432:38;;25485:20;25519:6;25508:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;25508:18:0;-1:-1:-1;25485:41:0;-1:-1:-1;25650:28:0;;;25666:2;25650:28;25707:288;-1:-1:-1;;25739:5:0;-1:-1:-1;;;25876:2:0;25865:14;;25860:30;25739:5;25847:44;25937:2;25928:11;;;-1:-1:-1;25958:21:0;25707:288;25958:21;-1:-1:-1;26016:6:0;25325:716;-1:-1:-1;;;25325:716:0:o;60896:264::-;60989:4;61006:13;61022:23;61037:7;61022:14;:23::i;:::-;61006:39;;61075:5;-1:-1:-1;;;;;61064:16:0;:7;-1:-1:-1;;;;;61064:16:0;;:52;;;-1:-1:-1;;;;;;57923:25:0;;;57899:4;57923:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;61084:32;61064:87;;;;61144:7;-1:-1:-1;;;;;61120:31:0;:20;61132:7;61120:11;:20::i;:::-;-1:-1:-1;;;;;61120:31:0;;61056:96;60896:264;-1:-1:-1;;;;60896:264:0:o;64861:1229::-;64986:4;-1:-1:-1;;;;;64959:31:0;:23;64974:7;64959:14;:23::i;:::-;-1:-1:-1;;;;;64959:31:0;;64951:81;;;;-1:-1:-1;;;64951:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;65051:16:0;;65043:65;;;;-1:-1:-1;;;65043:65:0;;22102:2:1;65043:65:0;;;22084:21:1;22141:2;22121:18;;;22114:30;22180:34;22160:18;;;22153:62;-1:-1:-1;;;22231:18:1;;;22224:34;22275:19;;65043:65:0;21900:400:1;65043:65:0;65121:42;65142:4;65148:2;65152:7;65161:1;65121:20;:42::i;:::-;65293:4;-1:-1:-1;;;;;65266:31:0;:23;65281:7;65266:14;:23::i;:::-;-1:-1:-1;;;;;65266:31:0;;65258:81;;;;-1:-1:-1;;;65258:81:0;;;;;;;:::i;:::-;65411:24;;;;:15;:24;;;;;;;;65404:31;;-1:-1:-1;;;;;;65404:31:0;;;;;;-1:-1:-1;;;;;65887:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;65887:20:0;;;65922:13;;;;;;;;;:18;;65404:31;65922:18;;;65962:16;;;:7;:16;;;;;;:21;;;;;;;;;;66001:27;;65427:7;;66001:27;;;56921:346;56851:416;;:::o;30637:108::-;30364:7;;-1:-1:-1;;;30364:7:0;;;;30696:41;;;;-1:-1:-1;;;30696:41:0;;22507:2:1;30696:41:0;;;22489:21:1;22546:2;22526:18;;;22519:30;-1:-1:-1;;;22565:18:1;;;22558:50;22625:18;;30696:41:0;22305:344:1;72909:915:0;73176:1;73164:9;:13;73160:222;;;73307:63;;-1:-1:-1;;;73307:63:0;;22856:2:1;73307:63:0;;;22838:21:1;22895:2;22875:18;;;22868:30;22934:34;22914:18;;;22907:62;-1:-1:-1;;;22985:18:1;;;22978:51;23046:19;;73307:63:0;22654:417:1;73160:222:0;73412:12;-1:-1:-1;;;;;73441:18:0;;73437:187;;73476:40;73508:7;74651:10;:17;;74624:24;;;;:15;:24;;;;;:44;;;74679:24;;;;;;;;;;;;74547:164;73476:40;73437:187;;;73546:2;-1:-1:-1;;;;;73538:10:0;:4;-1:-1:-1;;;;;73538:10:0;;73534:90;;73565:47;73598:4;73604:7;73565:32;:47::i;:::-;-1:-1:-1;;;;;73638:16:0;;73634:183;;73671:45;73708:7;73671:36;:45::i;:::-;73634:183;;;73744:4;-1:-1:-1;;;;;73738:10:0;:2;-1:-1:-1;;;;;73738:10:0;;73734:83;;73765:40;73793:2;73797:7;73765:27;:40::i;:::-;73075:749;72909:915;;;;:::o;59787:270::-;59900:28;59910:4;59916:2;59920:7;59900:9;:28::i;:::-;59947:47;59970:4;59976:2;59980:7;59989:4;59947:22;:47::i;:::-;59939:110;;;;-1:-1:-1;;;59939:110:0;;;;;;;:::i;22159:948::-;22212:7;;-1:-1:-1;;;22290:17:0;;22286:106;;-1:-1:-1;;;22328:17:0;;;-1:-1:-1;22374:2:0;22364:12;22286:106;22419:8;22410:5;:17;22406:106;;22457:8;22448:17;;;-1:-1:-1;22494:2:0;22484:12;22406:106;22539:8;22530:5;:17;22526:106;;22577:8;22568:17;;;-1:-1:-1;22614:2:0;22604:12;22526:106;22659:7;22650:5;:16;22646:103;;22696:7;22687:16;;;-1:-1:-1;22732:1:0;22722:11;22646:103;22776:7;22767:5;:16;22763:103;;22813:7;22804:16;;;-1:-1:-1;22849:1:0;22839:11;22763:103;22893:7;22884:5;:16;22880:103;;22930:7;22921:16;;;-1:-1:-1;22966:1:0;22956:11;22880:103;23010:7;23001:5;:16;22997:68;;23048:1;23038:11;23093:6;22159:948;-1:-1:-1;;22159:948:0:o;75338:988::-;75604:22;75654:1;75629:22;75646:4;75629:16;:22::i;:::-;:26;;;;:::i;:::-;75666:18;75687:26;;;:17;:26;;;;;;75604:51;;-1:-1:-1;75820:28:0;;;75816:328;;-1:-1:-1;;;;;75887:18:0;;75865:19;75887:18;;;:12;:18;;;;;;;;:34;;;;;;;;;75938:30;;;;;;:44;;;76055:30;;:17;:30;;;;;:43;;;75816:328;-1:-1:-1;76240:26:0;;;;:17;:26;;;;;;;;76233:33;;;-1:-1:-1;;;;;76284:18:0;;;;;:12;:18;;;;;:34;;;;;;;76277:41;75338:988::o;76621:1079::-;76899:10;:17;76874:22;;76899:21;;76919:1;;76899:21;:::i;:::-;76931:18;76952:24;;;:15;:24;;;;;;77325:10;:26;;76874:46;;-1:-1:-1;76952:24:0;;76874:46;;77325:26;;;;;;:::i;:::-;;;;;;;;;77303:48;;77389:11;77364:10;77375;77364:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;77469:28;;;:15;:28;;;;;;;:41;;;77641:24;;;;;77634:31;77676:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;76692:1008;;;76621:1079;:::o;74125:221::-;74210:14;74227:20;74244:2;74227:16;:20::i;:::-;-1:-1:-1;;;;;74258:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;74303:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;74125:221:0:o;67595:853::-;67749:4;-1:-1:-1;;;;;67770:13:0;;35737:19;:23;67766:675;;67806:71;;-1:-1:-1;;;67806:71:0;;-1:-1:-1;;;;;67806:36:0;;;;;:71;;28486:10;;67857:4;;67863:7;;67872:4;;67806:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67806:71:0;;;;;;;;-1:-1:-1;;67806:71:0;;;;;;;;;;;;:::i;:::-;;;67802:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68047:6;:13;68064:1;68047:18;68043:328;;68090:60;;-1:-1:-1;;;68090:60:0;;;;;;;:::i;68043:328::-;68321:6;68315:13;68306:6;68302:2;68298:15;68291:38;67802:584;-1:-1:-1;;;;;;67928:51:0;-1:-1:-1;;;67928:51:0;;-1:-1:-1;67921:58:0;;67766:675;-1:-1:-1;68425:4:0;67595:853;;;;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2178:186::-;2237:6;2290:2;2278:9;2269:7;2265:23;2261:32;2258:52;;;2306:1;2303;2296:12;2258:52;2329:29;2348:9;2329:29;:::i;2551:328::-;2628:6;2636;2644;2697:2;2685:9;2676:7;2672:23;2668:32;2665:52;;;2713:1;2710;2703:12;2665:52;2736:29;2755:9;2736:29;:::i;:::-;2726:39;;2784:38;2818:2;2807:9;2803:18;2784:38;:::i;:::-;2774:48;;2869:2;2858:9;2854:18;2841:32;2831:42;;2551:328;;;;;:::o;3359:118::-;3445:5;3438:13;3431:21;3424:5;3421:32;3411:60;;3467:1;3464;3457:12;3482:315;3547:6;3555;3608:2;3596:9;3587:7;3583:23;3579:32;3576:52;;;3624:1;3621;3614:12;3576:52;3647:29;3666:9;3647:29;:::i;:::-;3637:39;;3726:2;3715:9;3711:18;3698:32;3739:28;3761:5;3739:28;:::i;:::-;3786:5;3776:15;;;3482:315;;;;;:::o;3802:127::-;3863:10;3858:3;3854:20;3851:1;3844:31;3894:4;3891:1;3884:15;3918:4;3915:1;3908:15;3934:275;4005:2;3999:9;4070:2;4051:13;;-1:-1:-1;;4047:27:1;4035:40;;4105:18;4090:34;;4126:22;;;4087:62;4084:88;;;4152:18;;:::i;:::-;4188:2;4181:22;3934:275;;-1:-1:-1;3934:275:1:o;4214:980::-;4309:6;4317;4325;4333;4386:3;4374:9;4365:7;4361:23;4357:33;4354:53;;;4403:1;4400;4393:12;4354:53;4426:29;4445:9;4426:29;:::i;:::-;4416:39;;4474:2;4495:38;4529:2;4518:9;4514:18;4495:38;:::i;:::-;4485:48;;4580:2;4569:9;4565:18;4552:32;4542:42;;4635:2;4624:9;4620:18;4607:32;4658:18;4699:2;4691:6;4688:14;4685:34;;;4715:1;4712;4705:12;4685:34;4753:6;4742:9;4738:22;4728:32;;4798:7;4791:4;4787:2;4783:13;4779:27;4769:55;;4820:1;4817;4810:12;4769:55;4856:2;4843:16;4878:2;4874;4871:10;4868:36;;;4884:18;;:::i;:::-;4926:53;4969:2;4950:13;;-1:-1:-1;;4946:27:1;4942:36;;4926:53;:::i;:::-;4913:66;;5002:2;4995:5;4988:17;5042:7;5037:2;5032;5028;5024:11;5020:20;5017:33;5014:53;;;5063:1;5060;5053:12;5014:53;5118:2;5113;5109;5105:11;5100:2;5093:5;5089:14;5076:45;5162:1;5157:2;5152;5145:5;5141:14;5137:23;5130:34;;5183:5;5173:15;;;;;4214:980;;;;;;;:::o;5199:183::-;5259:4;5292:18;5284:6;5281:30;5278:56;;;5314:18;;:::i;:::-;-1:-1:-1;5359:1:1;5355:14;5371:4;5351:25;;5199:183::o;5387:662::-;5441:5;5494:3;5487:4;5479:6;5475:17;5471:27;5461:55;;5512:1;5509;5502:12;5461:55;5548:6;5535:20;5574:4;5598:60;5614:43;5654:2;5614:43;:::i;:::-;5598:60;:::i;:::-;5692:15;;;5778:1;5774:10;;;;5762:23;;5758:32;;;5723:12;;;;5802:15;;;5799:35;;;5830:1;5827;5820:12;5799:35;5866:2;5858:6;5854:15;5878:142;5894:6;5889:3;5886:15;5878:142;;;5960:17;;5948:30;;5998:12;;;;5911;;5878:142;;;-1:-1:-1;6038:5:1;5387:662;-1:-1:-1;;;;;;5387:662:1:o;6054:1146::-;6172:6;6180;6233:2;6221:9;6212:7;6208:23;6204:32;6201:52;;;6249:1;6246;6239:12;6201:52;6289:9;6276:23;6318:18;6359:2;6351:6;6348:14;6345:34;;;6375:1;6372;6365:12;6345:34;6413:6;6402:9;6398:22;6388:32;;6458:7;6451:4;6447:2;6443:13;6439:27;6429:55;;6480:1;6477;6470:12;6429:55;6516:2;6503:16;6538:4;6562:60;6578:43;6618:2;6578:43;:::i;6562:60::-;6656:15;;;6738:1;6734:10;;;;6726:19;;6722:28;;;6687:12;;;;6762:19;;;6759:39;;;6794:1;6791;6784:12;6759:39;6818:11;;;;6838:148;6854:6;6849:3;6846:15;6838:148;;;6920:23;6939:3;6920:23;:::i;:::-;6908:36;;6871:12;;;;6964;;;;6838:148;;;7005:5;-1:-1:-1;;7048:18:1;;7035:32;;-1:-1:-1;;7079:16:1;;;7076:36;;;7108:1;7105;7098:12;7076:36;;7131:63;7186:7;7175:8;7164:9;7160:24;7131:63;:::i;:::-;7121:73;;;6054:1146;;;;;:::o;7434:260::-;7502:6;7510;7563:2;7551:9;7542:7;7538:23;7534:32;7531:52;;;7579:1;7576;7569:12;7531:52;7602:29;7621:9;7602:29;:::i;:::-;7592:39;;7650:38;7684:2;7673:9;7669:18;7650:38;:::i;:::-;7640:48;;7434:260;;;;;:::o;7699:380::-;7778:1;7774:12;;;;7821;;;7842:61;;7896:4;7888:6;7884:17;7874:27;;7842:61;7949:2;7941:6;7938:14;7918:18;7915:38;7912:161;;7995:10;7990:3;7986:20;7983:1;7976:31;8030:4;8027:1;8020:15;8058:4;8055:1;8048:15;7912:161;;7699:380;;;:::o;10401:127::-;10462:10;10457:3;10453:20;10450:1;10443:31;10493:4;10490:1;10483:15;10517:4;10514:1;10507:15;10533:112;10565:1;10591;10581:35;;10596:18;;:::i;:::-;-1:-1:-1;10630:9:1;;10533:112::o;11515:127::-;11576:10;11571:3;11567:20;11564:1;11557:31;11607:4;11604:1;11597:15;11631:4;11628:1;11621:15;11647:184;11717:6;11770:2;11758:9;11749:7;11745:23;11741:32;11738:52;;;11786:1;11783;11776:12;11738:52;-1:-1:-1;11809:16:1;;11647:184;-1:-1:-1;11647:184:1:o;12470:245::-;12537:6;12590:2;12578:9;12569:7;12565:23;12561:32;12558:52;;;12606:1;12603;12596:12;12558:52;12638:9;12632:16;12657:28;12679:5;12657:28;:::i;13424:398::-;13626:2;13608:21;;;13665:2;13645:18;;;13638:30;13704:34;13699:2;13684:18;;13677:62;-1:-1:-1;;;13770:2:1;13755:18;;13748:32;13812:3;13797:19;;13424:398::o;14873:127::-;14934:10;14929:3;14925:20;14922:1;14915:31;14965:4;14962:1;14955:15;14989:4;14986:1;14979:15;15005:125;15070:9;;;15091:10;;;15088:36;;;15104:18;;:::i;17310:135::-;17349:3;17370:17;;;17367:43;;17390:18;;:::i;:::-;-1:-1:-1;17437:1:1;17426:13;;17310:135::o;17450:663::-;17730:3;17768:6;17762:13;17784:66;17843:6;17838:3;17831:4;17823:6;17819:17;17784:66;:::i;:::-;17913:13;;17872:16;;;;17935:70;17913:13;17872:16;17982:4;17970:17;;17935:70;:::i;:::-;-1:-1:-1;;;18027:20:1;;18056:22;;;18105:1;18094:13;;17450:663;-1:-1:-1;;;;17450:663:1:o;19232:409::-;19434:2;19416:21;;;19473:2;19453:18;;;19446:30;19512:34;19507:2;19492:18;;19485:62;-1:-1:-1;;;19578:2:1;19563:18;;19556:43;19631:3;19616:19;;19232:409::o;19646:128::-;19713:9;;;19734:11;;;19731:37;;;19748:18;;:::i;19779:168::-;19852:9;;;19883;;19900:15;;;19894:22;;19880:37;19870:71;;19921:18;;:::i;19952:120::-;19992:1;20018;20008:35;;20023:18;;:::i;:::-;-1:-1:-1;20057:9:1;;19952:120::o;21494:401::-;21696:2;21678:21;;;21735:2;21715:18;;;21708:30;21774:34;21769:2;21754:18;;21747:62;-1:-1:-1;;;21840:2:1;21825:18;;21818:35;21885:3;21870:19;;21494:401::o;23076:414::-;23278:2;23260:21;;;23317:2;23297:18;;;23290:30;23356:34;23351:2;23336:18;;23329:62;-1:-1:-1;;;23422:2:1;23407:18;;23400:48;23480:3;23465:19;;23076:414::o;23495:127::-;23556:10;23551:3;23547:20;23544:1;23537:31;23587:4;23584:1;23577:15;23611:4;23608:1;23601:15;23627:489;-1:-1:-1;;;;;23896:15:1;;;23878:34;;23948:15;;23943:2;23928:18;;23921:43;23995:2;23980:18;;23973:34;;;24043:3;24038:2;24023:18;;24016:31;;;23821:4;;24064:46;;24090:19;;24082:6;24064:46;:::i;:::-;24056:54;23627:489;-1:-1:-1;;;;;;23627:489:1:o;24121:249::-;24190:6;24243:2;24231:9;24222:7;24218:23;24214:32;24211:52;;;24259:1;24256;24249:12;24211:52;24291:9;24285:16;24310:30;24334:5;24310:30;:::i

Swarm Source

ipfs://0873b3cdcbbc1c68884b651e5ef90f922d07e25222d7b189bb16799c2b6c47ee
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.