ETH Price: $3,250.07 (+1.68%)

Token

Turkeys.io | Turkeys (TRKYS)
 

Overview

Max Total Supply

63 TRKYS

Holders

25

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 TRKYS
0x1b5d5edc10a12a4640e85d1ab9b0f91533b1b497
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:
turkeysGameTurkeys

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-06
*/

// 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: @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/Counters.sol


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

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

// 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/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/turkeysContractV3.sol


pragma solidity ^0.8.17;







contract turkeysGameTurkeys is ERC721Enumerable, Ownable, IERC721Supply {
    using Counters for Counters.Counter;
    using Strings for uint256;
    Counters.Counter private _tokenIdCounter;

    struct Stats {
        uint8 strength;
        uint8 intelligence;
        uint8 speed;
        uint8 bravery;
    }

    string private _baseTokenURI = "https://ipfs.io/ipfs/bafybeiae5rkulgwiwdor2ynnwgsmtvntmdfc7qfnrdmpssay2pmuhdamxy/";
    uint256 public constant MAX_SUPPLY = 444;
    IERC20 public paymentToken = IERC20(0xA8b28269376a854Ce52B7238733cb257Dd3934e8);
    address public feeRecipient = 0xA8b28269376a854Ce52B7238733cb257Dd3934e8;
    uint256 public currentPrice = 2000 * 10**9;
    uint256 public breedingFee = 1500 * 10**9;
    uint256 public periodDuration = 1 days;
    uint256 public accruedPerToken = 0;
    uint256 private previousContractBalance = 0;
    
    mapping(uint256 => uint256) public lastAccruedPerToken;
    mapping(address => uint256) public lastClaimedPeriod;
    mapping(uint256 => Stats) private _tokenStats;
    mapping(address => uint256[]) private _ownedTokens;
    mapping(uint256 => uint256) private _ownedTokensIndex;
    mapping(uint256 => uint256) public claimedTokenAmount;
    mapping(uint256 => uint256) public lastBreedingTime;
    

    uint256 public breedingCooldown = 3 days;
    uint256 public contractStartTime = block.timestamp;

    address private _statsModifierAddress;

    event StatUpdated(uint256 indexed tokenId, string statName, uint8 newStatValue);
    event NewBreeding(uint256 indexed tokenId1, uint256 indexed tokenId2, uint256 newTokenId);
    event Minted(uint256 strength, uint256 intelligence, uint256 speed, uint256 bravery);

    modifier onlyStatsModifier() {
        require(msg.sender == _statsModifierAddress, "Not authorized to modify stats");
        _;
    }

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

    function totalSupply() public view override(ERC721Enumerable, IERC721Supply) returns (uint256) {
        return super.totalSupply();
    }
    
    function _baseURI() internal view 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 setPriceNumber(uint256 newPrice) public onlyOwner {
        currentPrice = newPrice;
    }

    function setBreedingCooldown(uint256 _newCooldown) public onlyOwner {
        breedingCooldown = _newCooldown;
    }

    function mint() external {
        require(_tokenIdCounter.current() < 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, feeRecipient, currentPrice);

        _tokenIdCounter.increment();
        uint256 newTokenId = _tokenIdCounter.current();

        Stats memory newStats = Stats({
            strength: _generateRandomStat(11, 30),
            intelligence: _generateRandomStat(3, 7),
            speed: _generateRandomStat(14, 35),
            bravery: 0
        });
        _tokenStats[newTokenId] = newStats;

        _safeMint(msg.sender, newTokenId);

        emit Minted(newStats.strength, newStats.intelligence, newStats.speed, newStats.bravery);
    }

    function adminBulkMint(address to, uint256 amount) external onlyOwner {
        require(amount > 0, "Amount must be greater than 0");
        require(_tokenIdCounter.current() + amount <= MAX_SUPPLY, "Exceeds maximum supply");

        for (uint256 i = 0; i < amount; i++) {
            _tokenIdCounter.increment();
            uint256 newTokenId = _tokenIdCounter.current();
            
            // Assign stats to the token
            Stats memory newStats = Stats({
                strength: _generateRandomStat(11, 30),
                intelligence: _generateRandomStat(3, 7),
                speed: _generateRandomStat(14, 35),
                bravery: 0
            });
            _tokenStats[newTokenId] = newStats;

            _safeMint(to, newTokenId);
        }
    }

    function breed(uint256 tokenId1, uint256 tokenId2) external {
        require(ownerOf(tokenId1) == msg.sender && ownerOf(tokenId2) == msg.sender, "You must own both tokens");
        require(block.timestamp > lastBreedingTime[tokenId1] + breedingCooldown, "Token 1 is cooling down");
        require(block.timestamp > lastBreedingTime[tokenId2] + breedingCooldown, "Token 2 is cooling down");
        require(paymentToken.balanceOf(msg.sender) >= breedingFee, "Insufficient payment token balance");
        require(paymentToken.allowance(msg.sender, address(this)) >= breedingFee, "Token allowance not provided");
        
        // Transfer the breeding fee
        paymentToken.transferFrom(msg.sender, feeRecipient, breedingFee);
        
        // Create new stats by averaging parent stats and adding a random number
        Stats memory stats1 = _tokenStats[tokenId1];
        Stats memory stats2 = _tokenStats[tokenId2];

        uint8 newStrength = uint8((uint16(stats1.strength) + uint16(stats2.strength)) / 2 + (uint16(block.number) % 5));
        uint8 newIntelligence = uint8((uint16(stats1.intelligence) + uint16(stats2.intelligence)) / 2 + (uint16(block.timestamp) % 2));
        uint8 newSpeed = uint8((uint16(stats1.speed) + uint16(stats2.speed)) / 2 + (uint16(block.number + block.timestamp) % 5));
        
        // Introducing a new stat, Bravery, that only bred NFTs will have
        uint8 newBravery = uint8(11 + (uint16(block.number + block.timestamp) % 24));

        Stats memory newStats = Stats(newStrength, newIntelligence, newSpeed, newBravery);

        // Mint the new token
        _mint(msg.sender, totalSupply() + 1);
        uint256 newTokenId = _tokenIdCounter.current();
        _tokenIdCounter.increment();
        _tokenStats[newTokenId] = newStats;

        // Emit an event
        emit NewBreeding(tokenId1, tokenId2, newTokenId);

        // Update last breeding time
        lastBreedingTime[tokenId1] = block.timestamp;
        lastBreedingTime[tokenId2] = block.timestamp;
    }

    function _generateRandomStat(uint8 min, uint8 max) private view returns (uint8) {
        return uint8((uint256(keccak256(abi.encodePacked(block.timestamp, block.difficulty, msg.sender))) % (max - min + 1)) + min);
    }

    function updateAccruedPerToken() internal {
        uint256 currentContractBalance = paymentToken.balanceOf(address(this));
        uint256 additionalRevenue = currentContractBalance - previousContractBalance;

        if (_tokenIdCounter.current() > 0) {
            additionalRevenue /= _tokenIdCounter.current();
        }
        
        accruedPerToken += additionalRevenue;
        previousContractBalance = currentContractBalance;
    }

    function calculateNewAccruedPerToken() public view returns (uint256) {
        uint256 currentContractBalance = paymentToken.balanceOf(address(this));
        uint256 additionalRevenue = currentContractBalance - previousContractBalance;

        if (_tokenIdCounter.current() > 0) {
            additionalRevenue /= _tokenIdCounter.current();
        }
        return accruedPerToken + additionalRevenue;
    }

    function claimTokens() external {
        updateAccruedPerToken();  // Update global state variable
        
        uint256 totalClaimableAmount = 0;
        uint256 totalNFTsOwned = balanceOf(msg.sender);

        for (uint256 i = 0; i < totalNFTsOwned; i++) {
            uint256 tokenId = tokenOfOwnerByIndex(msg.sender, i);         
            uint256 newAccrued = accruedPerToken - lastAccruedPerToken[tokenId];
            uint256 newAccruedBonus = newAccrued * 80 / 100;

            uint256 bonusFromStrength = (newAccruedBonus * 10 / 100) * _tokenStats[tokenId].strength / 30; 
            uint256 bonusFromIntelligence = (newAccruedBonus * 10 / 100) * _tokenStats[tokenId].intelligence / 7;

            uint256 claimableAmount = newAccrued + bonusFromStrength + bonusFromIntelligence;

            lastAccruedPerToken[tokenId] = accruedPerToken;  // Update lastAccrued for this NFT
            totalClaimableAmount += claimableAmount;
        }
        
        require(totalClaimableAmount > 0, "No tokens to claim");
        require(paymentToken.transfer(msg.sender, totalClaimableAmount), "Transfer failed");
    }

    function viewAccruedTokens(address user) external view returns (uint256) {
        
        uint256 totalAccruedAmount = 0;
        uint256 totalNFTsOwned = balanceOf(user);
        
        uint256 newAccruedPerToken = calculateNewAccruedPerToken();
        
        for (uint256 i = 0; i < totalNFTsOwned; i++) {
            uint256 tokenId = tokenOfOwnerByIndex(user, i);        
            uint256 newAccrued = newAccruedPerToken - lastAccruedPerToken[tokenId];
            uint256 newAccruedBonus = newAccrued * 80 / 100;
            
            uint256 bonusFromStrength = (newAccruedBonus * 10 / 100) * _tokenStats[tokenId].strength / 30; 
            uint256 bonusFromIntelligence = (newAccruedBonus * 10 / 100) * _tokenStats[tokenId].intelligence / 7;
            
            uint256 accruedAmount = newAccrued + bonusFromStrength + bonusFromIntelligence;
            
            totalAccruedAmount += accruedAmount;
        }
        
        return totalAccruedAmount;
    }

    function getCurrentPeriod() public view returns (uint256) {
        return (block.timestamp - contractStartTime) / periodDuration;
    }

    function accruedTokens(address user) external view returns (uint256) {
        uint256 totalNFTsOwned = balanceOf(user);
        if (totalNFTsOwned == 0) {
            return 0;
        }

        uint256 contractBalance = paymentToken.balanceOf(address(this));
        
        uint256 rawTokenAmountPerNFT = contractBalance / _tokenIdCounter.current();
        uint256 baseTokenAmountPerNFT = rawTokenAmountPerNFT * 80 / 100;  // 80% of the raw amount

        uint256 totalAccruedAmount = 0;

        for (uint256 i = 0; i < totalNFTsOwned; i++) {
            uint256 tokenId = tokenOfOwnerByIndex(user, i);

            uint256 bonusFromStrength = (rawTokenAmountPerNFT * 10 / 100) * _tokenStats[tokenId].strength / 30; 
            uint256 bonusFromIntelligence = (rawTokenAmountPerNFT * 10 / 100) * _tokenStats[tokenId].intelligence / 7; 

            uint256 adjustedTokenAmount = baseTokenAmountPerNFT + bonusFromStrength + bonusFromIntelligence;

            if (claimedTokenAmount[tokenId] < adjustedTokenAmount) {
                uint256 accruedAmount = adjustedTokenAmount - claimedTokenAmount[tokenId];
                totalAccruedAmount += accruedAmount;
            }
        }

        return totalAccruedAmount;
    }

    function setBreedingFee(uint256 newFee) external onlyOwner {
        breedingFee = newFee;
    }

    function setStrength(uint256 tokenId, uint8 strengthToAdd) external onlyStatsModifier {
        _tokenStats[tokenId].strength += strengthToAdd;
        emit StatUpdated(tokenId, "Strength", _tokenStats[tokenId].strength);
    }

    function setIntelligence(uint256 tokenId, uint8 intelligenceToAdd) external onlyStatsModifier {
        _tokenStats[tokenId].intelligence += intelligenceToAdd;
        emit StatUpdated(tokenId, "Intelligence", _tokenStats[tokenId].intelligence);
    }

    function setSpeed(uint256 tokenId, uint8 speedToAdd) external onlyStatsModifier {
        _tokenStats[tokenId].speed += speedToAdd;
        emit StatUpdated(tokenId, "Speed", _tokenStats[tokenId].speed);
    }

    function getTokenStats(uint256 tokenId) external view returns (Stats memory) {
        require(_exists(tokenId), "Token does not exist");
        return _tokenStats[tokenId];
    }

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

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

    function setStatsModifierAddress(address newAddress) external onlyOwner {
        _statsModifierAddress = newAddress;
    }

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

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

    function updateFeeReceiver(address _newFeeReceiver) external onlyOwner {
        feeRecipient = _newFeeReceiver;
    }

    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":"strength","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"intelligence","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"speed","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"bravery","type":"uint256"}],"name":"Minted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId1","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"tokenId2","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newTokenId","type":"uint256"}],"name":"NewBreeding","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"statName","type":"string"},{"indexed":false,"internalType":"uint8","name":"newStatValue","type":"uint8"}],"name":"StatUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"accruedPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"accruedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"adminBulkMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId1","type":"uint256"},{"internalType":"uint256","name":"tokenId2","type":"uint256"}],"name":"breed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"breedingCooldown","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"breedingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"calculateNewAccruedPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimedTokenAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"getCurrentPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getTokenStats","outputs":[{"components":[{"internalType":"uint8","name":"strength","type":"uint8"},{"internalType":"uint8","name":"intelligence","type":"uint8"},{"internalType":"uint8","name":"speed","type":"uint8"},{"internalType":"uint8","name":"bravery","type":"uint8"}],"internalType":"struct turkeysGameTurkeys.Stats","name":"","type":"tuple"}],"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":"uint256","name":"","type":"uint256"}],"name":"lastAccruedPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lastBreedingTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastClaimedPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"nonpayable","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":"paymentToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCooldown","type":"uint256"}],"name":"setBreedingCooldown","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newFee","type":"uint256"}],"name":"setBreedingFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint8","name":"intelligenceToAdd","type":"uint8"}],"name":"setIntelligence","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPriceNumber","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint8","name":"speedToAdd","type":"uint8"}],"name":"setSpeed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setStatsModifierAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint8","name":"strengthToAdd","type":"uint8"}],"name":"setStrength","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCurrentPrice","type":"uint256"}],"name":"updateCurrentPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newFeeReceiver","type":"address"}],"name":"updateFeeReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newPaymentToken","type":"address"}],"name":"updatePaymentToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"viewAccruedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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"}]

610100604052605160808181529062003cb260a039600c906200002390826200022a565b50600d805473a8b28269376a854ce52b7238733cb257dd3934e86001600160a01b03199182168117909255600e805490911690911790556501d1a94a2000600f5565015d3ef7980060105562015180601155600060128190556013556203f480601b5542601c553480156200009757600080fd5b506040518060400160405280601481526020017f5475726b6579732e696f207c205475726b6579730000000000000000000000008152506040518060400160405280600581526020016454524b595360d81b8152508160009081620000fd91906200022a565b5060016200010c82826200022a565b50505062000129620001236200012f60201b60201c565b62000133565b620002f6565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001b057607f821691505b602082108103620001d157634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200022557600081815260208120601f850160051c81016020861015620002005750805b601f850160051c820191505b8181101562000221578281556001016200020c565b5050505b505050565b81516001600160401b0381111562000246576200024662000185565b6200025e816200025784546200019b565b84620001d7565b602080601f8311600181146200029657600084156200027d5750858301515b600019600386901b1c1916600185901b17855562000221565b600085815260208120601f198616915b82811015620002c757888601518255948401946001909101908401620002a6565b5085821015620002e65787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6139ac80620003066000396000f3fe608060405234801561001057600080fd5b50600436106103425760003560e01c80636352211e116101b8578063ac27c84011610104578063c69cd09d116100a2578063dfa7dcc31161007c578063dfa7dcc31461070b578063e985e9c51461071e578063efd34d031461075a578063f2fde38b1461076357600080fd5b8063c69cd09d146106dc578063c87b56dd146106e5578063d9ecad7b146106f857600080fd5b8063c2568bbb116100de578063c2568bbb1461063f578063c31ea8c214610652578063c582951414610672578063c69bebe4146106c957600080fd5b8063ac27c84014610603578063b470aade14610623578063b88d4fde1461062c57600080fd5b806384c047881161017157806395d89b411161014b57806395d89b41146105d75780639d1b464a146105df578063a22cb465146105e8578063a32b9e18146105fb57600080fd5b806384c04788146105b35780638c4e94b2146105805780638da5cb5b146105c657600080fd5b80636352211e1461054a57806370a082311461055d578063715018a61461057057806377054c53146105785780637fc6686e14610580578063817ea1441461059357600080fd5b80633013ce2911610292578063487b8d4f116102305780634f6ccce71161020a5780634f6ccce7146104fe578063535fcc4d1461051157806355f804b3146105245780635e6710de1461053757600080fd5b8063487b8d4f146104d057806348c54b9d146104e35780634ccf1b34146104eb57600080fd5b806340fa2e301161026c57806340fa2e301461048457806342842e0e146104975780634574dea5146104aa57806346904840146104bd57600080fd5b80633013ce291461045557806332cb6b0c146104685780633de594d71461047157600080fd5b80630fa766cd116102ff578063199ee51c116102d9578063199ee51c1461040657806323b872dd14610426578063240df5e6146104395780632f745c591461044257600080fd5b80630fa766cd146103e35780631249c58b146103f657806318160ddd146103fe57600080fd5b806301ffc9a71461034757806306fdde031461036f578063081812fc14610384578063086146d2146103af578063095ea7b3146103c55780630c3d5157146103da575b600080fd5b61035a610355366004613137565b610776565b60405190151581526020015b60405180910390f35b6103776107a1565b60405161036691906131a4565b6103976103923660046131b7565b610833565b6040516001600160a01b039091168152602001610366565b6103b761085a565b604051908152602001610366565b6103d86103d33660046131ec565b61087c565b005b6103b7601c5481565b6103d86103f1366004613216565b610996565b6103d8610a86565b6103b7610dfa565b6103b76104143660046131b7565b60146020526000908152604090205481565b6103d861043436600461324c565b610e05565b6103b7601b5481565b6103b76104503660046131ec565b610e36565b600d54610397906001600160a01b031681565b6103b76101bc81565b6103b761047f366004613288565b610ecc565b6103d8610492366004613288565b61100d565b6103d86104a536600461324c565b611037565b6103d86104b83660046131b7565b611052565b600e54610397906001600160a01b031681565b6103d86104de366004613216565b61105f565b6103d861113b565b6103d86104f9366004613288565b611380565b6103b761050c3660046131b7565b6113aa565b6103d861051f3660046131b7565b61143d565b6103d86105323660046132a3565b61144a565b6103d86105453660046131b7565b61145f565b6103976105583660046131b7565b6115b5565b6103b761056b366004613288565b611615565b6103d861169b565b6103b76116af565b6103d861058e3660046131b7565b61176a565b6103b76105a1366004613288565b60156020526000908152604090205481565b6103b76105c1366004613288565b611777565b600a546001600160a01b0316610397565b610377611959565b6103b7600f5481565b6103d86105f6366004613323565b611968565b6103d8611973565b6103b76106113660046131b7565b60196020526000908152604090205481565b6103b760115481565b6103d861063a366004613365565b6119b7565b6103d861064d3660046131ec565b6119ef565b6103b76106603660046131b7565b601a6020526000908152604090205481565b6106856106803660046131b7565b611ba2565b6040516103669190600060808201905060ff835116825260ff602084015116602083015260ff604084015116604083015260ff606084015116606083015292915050565b6103d86106d7366004613288565b611c70565b6103b760105481565b6103776106f33660046131b7565b611c9a565b6103d8610706366004613441565b611cf8565b6103d8610719366004613216565b6122bc565b61035a61072c366004613463565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6103b760125481565b6103d8610771366004613288565b61238a565b60006001600160e01b0319821663780e9d6360e01b148061079b575061079b82612400565b92915050565b6060600080546107b090613496565b80601f01602080910402602001604051908101604052809291908181526020018280546107dc90613496565b80156108295780601f106107fe57610100808354040283529160200191610829565b820191906000526020600020905b81548152906001019060200180831161080c57829003601f168201915b5050505050905090565b600061083e82612450565b506000908152600460205260409020546001600160a01b031690565b6000601154601c544261086d91906134e6565b610877919061350f565b905090565b6000610887826115b5565b9050806001600160a01b0316836001600160a01b0316036108f95760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806109155750610915813361072c565b6109875760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016108f0565b61099183836124af565b505050565b601d546001600160a01b031633146109c05760405162461bcd60e51b81526004016108f090613523565b600082815260166020526040902080548291906002906109ea90849062010000900460ff1661355a565b92506101000a81548160ff021916908360ff160217905550817f75be883731d85564056b35faad71df8364ae8e6c33307193b2c1c2911c95e0f56016600085815260200190815260200160002060000160029054906101000a900460ff16604051610a7a919060408082526005908201526414dc19595960da1b606082015260ff91909116602082015260800190565b60405180910390a25050565b6101bc610a92600b5490565b10610ad85760405162461bcd60e51b815260206004820152601660248201527513585e1a5b5d5b481cdd5c1c1b1e481c995858da195960521b60448201526064016108f0565b600f54600d546040516370a0823160e01b81523360048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015610b23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b479190613573565b1015610b655760405162461bcd60e51b81526004016108f09061358c565b600f54600d54604051636eb1769f60e11b81523360048201523060248201526001600160a01b039091169063dd62ed3e90604401602060405180830381865afa158015610bb6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bda9190613573565b1015610c285760405162461bcd60e51b815260206004820152601c60248201527f546f6b656e20616c6c6f77616e6365206e6f742070726f76696465640000000060448201526064016108f0565b600d54600e54600f546040516323b872dd60e01b81523360048201526001600160a01b03928316602482015260448101919091529116906323b872dd906064016020604051808303816000875af1158015610c87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cab91906135ce565b50610cba600b80546001019055565b6000610cc5600b5490565b905060006040518060800160405280610ce0600b601e61251d565b60ff168152602001610cf46003600761251d565b60ff168152602001610d08600e602361251d565b60ff90811682526000602092830181905285815260168352604090819020845181549486015192860151606087015191851661ffff1990961695909517610100938516939093029290921763ffff00001916620100009484169490940263ff000000191693909317630100000091909216021790559050610d8933836125a0565b7fffcef012c57aebe5ac5892b7a52a23e54435ab8349cfbaa6620d7f3b0da0a0018160000151826020015183604001518460600151604051610dee949392919060ff948516815292841660208401529083166040830152909116606082015260800190565b60405180910390a15050565b600061087760085490565b610e0f33826125ba565b610e2b5760405162461bcd60e51b81526004016108f0906135eb565b610991838383612639565b6000610e4183611615565b8210610ea35760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016108f0565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b60008080610ed984611615565b90506000610ee56116af565b905060005b82811015611003576000610efe8783610e36565b60008181526014602052604081205491925090610f1b90856134e6565b905060006064610f2c836050613638565b610f36919061350f565b60008481526016602052604081205491925090601e9060ff166064610f5c85600a613638565b610f66919061350f565b610f709190613638565b610f7a919061350f565b60008581526016602052604081205491925090600790610100900460ff166064610fa586600a613638565b610faf919061350f565b610fb99190613638565b610fc3919061350f565b9050600081610fd2848761364f565b610fdc919061364f565b9050610fe8818b61364f565b99505050505050508080610ffb90613662565b915050610eea565b5091949350505050565b6110156127aa565b601d80546001600160a01b0319166001600160a01b0392909216919091179055565b610991838383604051806020016040528060008152506119b7565b61105a6127aa565b601055565b601d546001600160a01b031633146110895760405162461bcd60e51b81526004016108f090613523565b600082815260166020526040902080548291906001906110b2908490610100900460ff1661355a565b825460ff91821661010093840a9081029083021990911617909255600085815260166020908152604091829020548251838152600c938101939093526b496e74656c6c6967656e636560a01b606084015292909204909216908201528391507f75be883731d85564056b35faad71df8364ae8e6c33307193b2c1c2911c95e0f590608001610a7a565b611143612804565b60008061114f33611615565b905060005b818110156112835760006111683383610e36565b600081815260146020526040812054601254929350909161118991906134e6565b90506000606461119a836050613638565b6111a4919061350f565b60008481526016602052604081205491925090601e9060ff1660646111ca85600a613638565b6111d4919061350f565b6111de9190613638565b6111e8919061350f565b60008581526016602052604081205491925090600790610100900460ff16606461121386600a613638565b61121d919061350f565b6112279190613638565b611231919061350f565b9050600081611240848761364f565b61124a919061364f565b6012546000888152601460205260409020559050611268818a61364f565b9850505050505050808061127b90613662565b915050611154565b50600082116112c95760405162461bcd60e51b81526020600482015260126024820152714e6f20746f6b656e7320746f20636c61696d60701b60448201526064016108f0565b600d5460405163a9059cbb60e01b8152336004820152602481018490526001600160a01b039091169063a9059cbb906044016020604051808303816000875af115801561131a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061133e91906135ce565b61137c5760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b60448201526064016108f0565b5050565b6113886127aa565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b60006113b560085490565b82106114185760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016108f0565b6008828154811061142b5761142b61367b565b90600052602060002001549050919050565b6114456127aa565b601b55565b6114526127aa565b600c6109918284836136df565b6114676127aa565b600d546040516370a0823160e01b815230600482015282916001600160a01b0316906370a0823190602401602060405180830381865afa1580156114af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114d39190613573565b10156115215760405162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e7420746f6b656e2062616c616e636500000000000060448201526064016108f0565b600d546001600160a01b031663a9059cbb611544600a546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af1158015611591573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061137c91906135ce565b6000818152600260205260408120546001600160a01b03168061079b5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016108f0565b60006001600160a01b03821661167f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016108f0565b506001600160a01b031660009081526003602052604090205490565b6116a36127aa565b6116ad60006128c3565b565b600d546040516370a0823160e01b815230600482015260009182916001600160a01b03909116906370a0823190602401602060405180830381865afa1580156116fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117209190613573565b905060006013548261173291906134e6565b9050600061173f600b5490565b111561175557600b54611752908261350f565b90505b80601254611763919061364f565b9250505090565b6117726127aa565b600f55565b60008061178383611615565b9050806000036117965750600092915050565b600d546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156117df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118039190613573565b90506000611810600b5490565b61181a908361350f565b90506000606461182b836050613638565b611835919061350f565b90506000805b8581101561194e57600061184f8983610e36565b60008181526016602052604081205491925090601e9060ff16606461187589600a613638565b61187f919061350f565b6118899190613638565b611893919061350f565b60008381526016602052604081205491925090600790610100900460ff1660646118be8a600a613638565b6118c8919061350f565b6118d29190613638565b6118dc919061350f565b90506000816118eb848961364f565b6118f5919061364f565b6000858152601960205260409020549091508111156119375760008481526019602052604081205461192790836134e6565b9050611933818861364f565b9650505b50505050808061194690613662565b91505061183b565b509695505050505050565b6060600180546107b090613496565b61137c338383612915565b61197b6127aa565b600a546040516001600160a01b03909116904780156108fc02916000818181858888f193505050501580156119b4573d6000803e3d6000fd5b50565b6119c133836125ba565b6119dd5760405162461bcd60e51b81526004016108f0906135eb565b6119e9848484846129e3565b50505050565b6119f76127aa565b60008111611a475760405162461bcd60e51b815260206004820152601d60248201527f416d6f756e74206d7573742062652067726561746572207468616e203000000060448201526064016108f0565b6101bc81611a54600b5490565b611a5e919061364f565b1115611aa55760405162461bcd60e51b815260206004820152601660248201527545786365656473206d6178696d756d20737570706c7960501b60448201526064016108f0565b60005b8181101561099157611abe600b80546001019055565b6000611ac9600b5490565b905060006040518060800160405280611ae4600b601e61251d565b60ff168152602001611af86003600761251d565b60ff168152602001611b0c600e602361251d565b60ff90811682526000602092830181905285815260168352604090819020845181549486015192860151606087015191851661ffff1990961695909517610100938516939093029290921763ffff00001916620100009484169490940263ff000000191693909317630100000091909216021790559050611b8d85836125a0565b50508080611b9a90613662565b915050611aa8565b6040805160808101825260008082526020808301829052828401829052606083018290528482526002905291909120546001600160a01b0316611c1e5760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b60448201526064016108f0565b506000908152601660209081526040918290208251608081018452905460ff80821683526101008204811693830193909352620100008104831693820193909352630100000090920416606082015290565b611c786127aa565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b60606000611ca6612a16565b90506000815111611cc65760405180602001604052806000815250611cf1565b80611cd084612a25565b604051602001611ce192919061379f565b6040516020818303038152906040525b9392505050565b33611d02836115b5565b6001600160a01b0316148015611d28575033611d1d826115b5565b6001600160a01b0316145b611d745760405162461bcd60e51b815260206004820152601860248201527f596f75206d757374206f776e20626f746820746f6b656e73000000000000000060448201526064016108f0565b601b546000838152601a6020526040902054611d90919061364f565b4211611dde5760405162461bcd60e51b815260206004820152601760248201527f546f6b656e203120697320636f6f6c696e6720646f776e00000000000000000060448201526064016108f0565b601b546000828152601a6020526040902054611dfa919061364f565b4211611e485760405162461bcd60e51b815260206004820152601760248201527f546f6b656e203220697320636f6f6c696e6720646f776e00000000000000000060448201526064016108f0565b601054600d546040516370a0823160e01b81523360048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015611e93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eb79190613573565b1015611ed55760405162461bcd60e51b81526004016108f09061358c565b601054600d54604051636eb1769f60e11b81523360048201523060248201526001600160a01b039091169063dd62ed3e90604401602060405180830381865afa158015611f26573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f4a9190613573565b1015611f985760405162461bcd60e51b815260206004820152601c60248201527f546f6b656e20616c6c6f77616e6365206e6f742070726f76696465640000000060448201526064016108f0565b600d54600e546010546040516323b872dd60e01b81523360048201526001600160a01b03928316602482015260448101919091529116906323b872dd906064016020604051808303816000875af1158015611ff7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061201b91906135ce565b506000828152601660208181526040808420815160808082018452915460ff80821683526101008083048216848801526201000080840483168588015263010000009384900483166060808701919091528b8b52988852868a208751968701885254808416875291820483169786019790975295860481169484019490945290930490911692810192909252916120b36005436137de565b825184516002916120ca9160ff91821691166137ff565b6120d49190613821565b6120de91906137ff565b905060006120ed6002426137de565b6002846020015160ff16866020015160ff1661210991906137ff565b6121139190613821565b61211d91906137ff565b90506000600561212d424361364f565b61213791906137de565b6002856040015160ff16876040015160ff1661215391906137ff565b61215d9190613821565b61216791906137ff565b905060006018612177424361364f565b61218191906137de565b61218c90600b6137ff565b9050600060405180608001604052808660ff1681526020018560ff1681526020018460ff1681526020018360ff1681525090506121db336121cb610dfa565b6121d690600161364f565b612ab8565b60006121e6600b5490565b90506121f6600b80546001019055565b600081815260166020908152604091829020845181549286015184870151606088015160ff90811663010000000263ff0000001992821662010000029290921663ffff0000199382166101000261ffff1990971691909416179490941716179190911790555189908b907fab1231843677f6361dfe40afeef0d1f08712b7ea003cccf9f7d672d36ba0dc209061228f9085815260200190565b60405180910390a350505060009687525050601a6020525050604080842042908190559284529092205550565b601d546001600160a01b031633146122e65760405162461bcd60e51b81526004016108f090613523565b6000828152601660205260408120805483929061230790849060ff1661355a565b82546101009290920a60ff818102199093169183160217909155600084815260166020908152604091829020548251838152600893810193909352670a6e8e4cadccee8d60c31b6060840152909216918101919091528391507f75be883731d85564056b35faad71df8364ae8e6c33307193b2c1c2911c95e0f590608001610a7a565b6123926127aa565b6001600160a01b0381166123f75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108f0565b6119b4816128c3565b60006001600160e01b031982166380ac58cd60e01b148061243157506001600160e01b03198216635b5e139f60e01b145b8061079b57506301ffc9a760e01b6001600160e01b031983161461079b565b6000818152600260205260409020546001600160a01b03166119b45760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016108f0565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906124e4826115b5565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600060ff831661252d8484613842565b61253890600161355a565b60ff1642443360405160200161257393929190928352602083019190915260601b6bffffffffffffffffffffffff1916604082015260540190565b6040516020818303038152906040528051906020012060001c612596919061385b565b611cf1919061364f565b61137c828260405180602001604052806000815250612c51565b6000806125c6836115b5565b9050806001600160a01b0316846001600160a01b0316148061260d57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806126315750836001600160a01b031661262684610833565b6001600160a01b0316145b949350505050565b826001600160a01b031661264c826115b5565b6001600160a01b0316146126725760405162461bcd60e51b81526004016108f09061386f565b6001600160a01b0382166126d45760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108f0565b6126e18383836001612c84565b826001600160a01b03166126f4826115b5565b6001600160a01b03161461271a5760405162461bcd60e51b81526004016108f09061386f565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a546001600160a01b031633146116ad5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f0565b600d546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa15801561284d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128719190613573565b905060006013548261288391906134e6565b90506000612890600b5490565b11156128a657600b546128a3908261350f565b90505b80601260008282546128b8919061364f565b909155505050601355565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316036129765760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108f0565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6129ee848484612639565b6129fa84848484612db8565b6119e95760405162461bcd60e51b81526004016108f0906138b4565b6060600c80546107b090613496565b60606000612a3283612eb9565b600101905060008167ffffffffffffffff811115612a5257612a5261334f565b6040519080825280601f01601f191660200182016040528015612a7c576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084612a8657509392505050565b6001600160a01b038216612b0e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108f0565b6000818152600260205260409020546001600160a01b031615612b735760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108f0565b612b81600083836001612c84565b6000818152600260205260409020546001600160a01b031615612be65760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108f0565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b612c5b8383612ab8565b612c686000848484612db8565b6109915760405162461bcd60e51b81526004016108f0906138b4565b6001811115612cf35760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b60648201526084016108f0565b816001600160a01b038516612d4f57612d4a81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612d72565b836001600160a01b0316856001600160a01b031614612d7257612d728582612f91565b6001600160a01b038416612d8e57612d898161302e565b612db1565b846001600160a01b0316846001600160a01b031614612db157612db184826130dd565b5050505050565b60006001600160a01b0384163b15612eae57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612dfc903390899088908890600401613906565b6020604051808303816000875af1925050508015612e37575060408051601f3d908101601f19168201909252612e3491810190613943565b60015b612e94573d808015612e65576040519150601f19603f3d011682016040523d82523d6000602084013e612e6a565b606091505b508051600003612e8c5760405162461bcd60e51b81526004016108f0906138b4565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612631565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310612ef85772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612f24576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310612f4257662386f26fc10000830492506010015b6305f5e1008310612f5a576305f5e100830492506008015b6127108310612f6e57612710830492506004015b60648310612f80576064830492506002015b600a831061079b5760010192915050565b60006001612f9e84611615565b612fa891906134e6565b600083815260076020526040902054909150808214612ffb576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090613040906001906134e6565b600083815260096020526040812054600880549394509092849081106130685761306861367b565b9060005260206000200154905080600883815481106130895761308961367b565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806130c1576130c1613960565b6001900381819060005260206000200160009055905550505050565b60006130e883611615565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160e01b0319811681146119b457600080fd5b60006020828403121561314957600080fd5b8135611cf181613121565b60005b8381101561316f578181015183820152602001613157565b50506000910152565b60008151808452613190816020860160208601613154565b601f01601f19169290920160200192915050565b602081526000611cf16020830184613178565b6000602082840312156131c957600080fd5b5035919050565b80356001600160a01b03811681146131e757600080fd5b919050565b600080604083850312156131ff57600080fd5b613208836131d0565b946020939093013593505050565b6000806040838503121561322957600080fd5b82359150602083013560ff8116811461324157600080fd5b809150509250929050565b60008060006060848603121561326157600080fd5b61326a846131d0565b9250613278602085016131d0565b9150604084013590509250925092565b60006020828403121561329a57600080fd5b611cf1826131d0565b600080602083850312156132b657600080fd5b823567ffffffffffffffff808211156132ce57600080fd5b818501915085601f8301126132e257600080fd5b8135818111156132f157600080fd5b86602082850101111561330357600080fd5b60209290920196919550909350505050565b80151581146119b457600080fd5b6000806040838503121561333657600080fd5b61333f836131d0565b9150602083013561324181613315565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561337b57600080fd5b613384856131d0565b9350613392602086016131d0565b925060408501359150606085013567ffffffffffffffff808211156133b657600080fd5b818701915087601f8301126133ca57600080fd5b8135818111156133dc576133dc61334f565b604051601f8201601f19908116603f011681019083821181831017156134045761340461334f565b816040528281528a602084870101111561341d57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561345457600080fd5b50508035926020909101359150565b6000806040838503121561347657600080fd5b61347f836131d0565b915061348d602084016131d0565b90509250929050565b600181811c908216806134aa57607f821691505b6020821081036134ca57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561079b5761079b6134d0565b634e487b7160e01b600052601260045260246000fd5b60008261351e5761351e6134f9565b500490565b6020808252601e908201527f4e6f7420617574686f72697a656420746f206d6f646966792073746174730000604082015260600190565b60ff818116838216019081111561079b5761079b6134d0565b60006020828403121561358557600080fd5b5051919050565b60208082526022908201527f496e73756666696369656e74207061796d656e7420746f6b656e2062616c616e604082015261636560f01b606082015260800190565b6000602082840312156135e057600080fd5b8151611cf181613315565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b808202811582820484141761079b5761079b6134d0565b8082018082111561079b5761079b6134d0565b600060018201613674576136746134d0565b5060010190565b634e487b7160e01b600052603260045260246000fd5b601f82111561099157600081815260208120601f850160051c810160208610156136b85750805b601f850160051c820191505b818110156136d7578281556001016136c4565b505050505050565b67ffffffffffffffff8311156136f7576136f761334f565b61370b836137058354613496565b83613691565b6000601f84116001811461373f57600085156137275750838201355b600019600387901b1c1916600186901b178355612db1565b600083815260209020601f19861690835b828110156137705786850135825560209485019460019092019101613750565b508682101561378d5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b600083516137b1818460208801613154565b8351908301906137c5818360208801613154565b64173539b7b760d91b9101908152600501949350505050565b600061ffff808416806137f3576137f36134f9565b92169190910692915050565b61ffff81811683821601908082111561381a5761381a6134d0565b5092915050565b600061ffff80841680613836576138366134f9565b92169190910492915050565b60ff828116828216039081111561079b5761079b6134d0565b60008261386a5761386a6134f9565b500690565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061393990830184613178565b9695505050505050565b60006020828403121561395557600080fd5b8151611cf181613121565b634e487b7160e01b600052603160045260246000fdfea264697066735822122022950a33cb41106db5811b01b77f57e2d60ef44ee818dc30791b1b38e05a5b1264736f6c6343000811003368747470733a2f2f697066732e696f2f697066732f62616679626569616535726b756c67776977646f7232796e6e7767736d74766e746d6466633771666e72646d707373617932706d756864616d78792f

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106103425760003560e01c80636352211e116101b8578063ac27c84011610104578063c69cd09d116100a2578063dfa7dcc31161007c578063dfa7dcc31461070b578063e985e9c51461071e578063efd34d031461075a578063f2fde38b1461076357600080fd5b8063c69cd09d146106dc578063c87b56dd146106e5578063d9ecad7b146106f857600080fd5b8063c2568bbb116100de578063c2568bbb1461063f578063c31ea8c214610652578063c582951414610672578063c69bebe4146106c957600080fd5b8063ac27c84014610603578063b470aade14610623578063b88d4fde1461062c57600080fd5b806384c047881161017157806395d89b411161014b57806395d89b41146105d75780639d1b464a146105df578063a22cb465146105e8578063a32b9e18146105fb57600080fd5b806384c04788146105b35780638c4e94b2146105805780638da5cb5b146105c657600080fd5b80636352211e1461054a57806370a082311461055d578063715018a61461057057806377054c53146105785780637fc6686e14610580578063817ea1441461059357600080fd5b80633013ce2911610292578063487b8d4f116102305780634f6ccce71161020a5780634f6ccce7146104fe578063535fcc4d1461051157806355f804b3146105245780635e6710de1461053757600080fd5b8063487b8d4f146104d057806348c54b9d146104e35780634ccf1b34146104eb57600080fd5b806340fa2e301161026c57806340fa2e301461048457806342842e0e146104975780634574dea5146104aa57806346904840146104bd57600080fd5b80633013ce291461045557806332cb6b0c146104685780633de594d71461047157600080fd5b80630fa766cd116102ff578063199ee51c116102d9578063199ee51c1461040657806323b872dd14610426578063240df5e6146104395780632f745c591461044257600080fd5b80630fa766cd146103e35780631249c58b146103f657806318160ddd146103fe57600080fd5b806301ffc9a71461034757806306fdde031461036f578063081812fc14610384578063086146d2146103af578063095ea7b3146103c55780630c3d5157146103da575b600080fd5b61035a610355366004613137565b610776565b60405190151581526020015b60405180910390f35b6103776107a1565b60405161036691906131a4565b6103976103923660046131b7565b610833565b6040516001600160a01b039091168152602001610366565b6103b761085a565b604051908152602001610366565b6103d86103d33660046131ec565b61087c565b005b6103b7601c5481565b6103d86103f1366004613216565b610996565b6103d8610a86565b6103b7610dfa565b6103b76104143660046131b7565b60146020526000908152604090205481565b6103d861043436600461324c565b610e05565b6103b7601b5481565b6103b76104503660046131ec565b610e36565b600d54610397906001600160a01b031681565b6103b76101bc81565b6103b761047f366004613288565b610ecc565b6103d8610492366004613288565b61100d565b6103d86104a536600461324c565b611037565b6103d86104b83660046131b7565b611052565b600e54610397906001600160a01b031681565b6103d86104de366004613216565b61105f565b6103d861113b565b6103d86104f9366004613288565b611380565b6103b761050c3660046131b7565b6113aa565b6103d861051f3660046131b7565b61143d565b6103d86105323660046132a3565b61144a565b6103d86105453660046131b7565b61145f565b6103976105583660046131b7565b6115b5565b6103b761056b366004613288565b611615565b6103d861169b565b6103b76116af565b6103d861058e3660046131b7565b61176a565b6103b76105a1366004613288565b60156020526000908152604090205481565b6103b76105c1366004613288565b611777565b600a546001600160a01b0316610397565b610377611959565b6103b7600f5481565b6103d86105f6366004613323565b611968565b6103d8611973565b6103b76106113660046131b7565b60196020526000908152604090205481565b6103b760115481565b6103d861063a366004613365565b6119b7565b6103d861064d3660046131ec565b6119ef565b6103b76106603660046131b7565b601a6020526000908152604090205481565b6106856106803660046131b7565b611ba2565b6040516103669190600060808201905060ff835116825260ff602084015116602083015260ff604084015116604083015260ff606084015116606083015292915050565b6103d86106d7366004613288565b611c70565b6103b760105481565b6103776106f33660046131b7565b611c9a565b6103d8610706366004613441565b611cf8565b6103d8610719366004613216565b6122bc565b61035a61072c366004613463565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6103b760125481565b6103d8610771366004613288565b61238a565b60006001600160e01b0319821663780e9d6360e01b148061079b575061079b82612400565b92915050565b6060600080546107b090613496565b80601f01602080910402602001604051908101604052809291908181526020018280546107dc90613496565b80156108295780601f106107fe57610100808354040283529160200191610829565b820191906000526020600020905b81548152906001019060200180831161080c57829003601f168201915b5050505050905090565b600061083e82612450565b506000908152600460205260409020546001600160a01b031690565b6000601154601c544261086d91906134e6565b610877919061350f565b905090565b6000610887826115b5565b9050806001600160a01b0316836001600160a01b0316036108f95760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806109155750610915813361072c565b6109875760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016108f0565b61099183836124af565b505050565b601d546001600160a01b031633146109c05760405162461bcd60e51b81526004016108f090613523565b600082815260166020526040902080548291906002906109ea90849062010000900460ff1661355a565b92506101000a81548160ff021916908360ff160217905550817f75be883731d85564056b35faad71df8364ae8e6c33307193b2c1c2911c95e0f56016600085815260200190815260200160002060000160029054906101000a900460ff16604051610a7a919060408082526005908201526414dc19595960da1b606082015260ff91909116602082015260800190565b60405180910390a25050565b6101bc610a92600b5490565b10610ad85760405162461bcd60e51b815260206004820152601660248201527513585e1a5b5d5b481cdd5c1c1b1e481c995858da195960521b60448201526064016108f0565b600f54600d546040516370a0823160e01b81523360048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015610b23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b479190613573565b1015610b655760405162461bcd60e51b81526004016108f09061358c565b600f54600d54604051636eb1769f60e11b81523360048201523060248201526001600160a01b039091169063dd62ed3e90604401602060405180830381865afa158015610bb6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bda9190613573565b1015610c285760405162461bcd60e51b815260206004820152601c60248201527f546f6b656e20616c6c6f77616e6365206e6f742070726f76696465640000000060448201526064016108f0565b600d54600e54600f546040516323b872dd60e01b81523360048201526001600160a01b03928316602482015260448101919091529116906323b872dd906064016020604051808303816000875af1158015610c87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cab91906135ce565b50610cba600b80546001019055565b6000610cc5600b5490565b905060006040518060800160405280610ce0600b601e61251d565b60ff168152602001610cf46003600761251d565b60ff168152602001610d08600e602361251d565b60ff90811682526000602092830181905285815260168352604090819020845181549486015192860151606087015191851661ffff1990961695909517610100938516939093029290921763ffff00001916620100009484169490940263ff000000191693909317630100000091909216021790559050610d8933836125a0565b7fffcef012c57aebe5ac5892b7a52a23e54435ab8349cfbaa6620d7f3b0da0a0018160000151826020015183604001518460600151604051610dee949392919060ff948516815292841660208401529083166040830152909116606082015260800190565b60405180910390a15050565b600061087760085490565b610e0f33826125ba565b610e2b5760405162461bcd60e51b81526004016108f0906135eb565b610991838383612639565b6000610e4183611615565b8210610ea35760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016108f0565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b60008080610ed984611615565b90506000610ee56116af565b905060005b82811015611003576000610efe8783610e36565b60008181526014602052604081205491925090610f1b90856134e6565b905060006064610f2c836050613638565b610f36919061350f565b60008481526016602052604081205491925090601e9060ff166064610f5c85600a613638565b610f66919061350f565b610f709190613638565b610f7a919061350f565b60008581526016602052604081205491925090600790610100900460ff166064610fa586600a613638565b610faf919061350f565b610fb99190613638565b610fc3919061350f565b9050600081610fd2848761364f565b610fdc919061364f565b9050610fe8818b61364f565b99505050505050508080610ffb90613662565b915050610eea565b5091949350505050565b6110156127aa565b601d80546001600160a01b0319166001600160a01b0392909216919091179055565b610991838383604051806020016040528060008152506119b7565b61105a6127aa565b601055565b601d546001600160a01b031633146110895760405162461bcd60e51b81526004016108f090613523565b600082815260166020526040902080548291906001906110b2908490610100900460ff1661355a565b825460ff91821661010093840a9081029083021990911617909255600085815260166020908152604091829020548251838152600c938101939093526b496e74656c6c6967656e636560a01b606084015292909204909216908201528391507f75be883731d85564056b35faad71df8364ae8e6c33307193b2c1c2911c95e0f590608001610a7a565b611143612804565b60008061114f33611615565b905060005b818110156112835760006111683383610e36565b600081815260146020526040812054601254929350909161118991906134e6565b90506000606461119a836050613638565b6111a4919061350f565b60008481526016602052604081205491925090601e9060ff1660646111ca85600a613638565b6111d4919061350f565b6111de9190613638565b6111e8919061350f565b60008581526016602052604081205491925090600790610100900460ff16606461121386600a613638565b61121d919061350f565b6112279190613638565b611231919061350f565b9050600081611240848761364f565b61124a919061364f565b6012546000888152601460205260409020559050611268818a61364f565b9850505050505050808061127b90613662565b915050611154565b50600082116112c95760405162461bcd60e51b81526020600482015260126024820152714e6f20746f6b656e7320746f20636c61696d60701b60448201526064016108f0565b600d5460405163a9059cbb60e01b8152336004820152602481018490526001600160a01b039091169063a9059cbb906044016020604051808303816000875af115801561131a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061133e91906135ce565b61137c5760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b60448201526064016108f0565b5050565b6113886127aa565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b60006113b560085490565b82106114185760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016108f0565b6008828154811061142b5761142b61367b565b90600052602060002001549050919050565b6114456127aa565b601b55565b6114526127aa565b600c6109918284836136df565b6114676127aa565b600d546040516370a0823160e01b815230600482015282916001600160a01b0316906370a0823190602401602060405180830381865afa1580156114af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114d39190613573565b10156115215760405162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e7420746f6b656e2062616c616e636500000000000060448201526064016108f0565b600d546001600160a01b031663a9059cbb611544600a546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af1158015611591573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061137c91906135ce565b6000818152600260205260408120546001600160a01b03168061079b5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016108f0565b60006001600160a01b03821661167f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016108f0565b506001600160a01b031660009081526003602052604090205490565b6116a36127aa565b6116ad60006128c3565b565b600d546040516370a0823160e01b815230600482015260009182916001600160a01b03909116906370a0823190602401602060405180830381865afa1580156116fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117209190613573565b905060006013548261173291906134e6565b9050600061173f600b5490565b111561175557600b54611752908261350f565b90505b80601254611763919061364f565b9250505090565b6117726127aa565b600f55565b60008061178383611615565b9050806000036117965750600092915050565b600d546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156117df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118039190613573565b90506000611810600b5490565b61181a908361350f565b90506000606461182b836050613638565b611835919061350f565b90506000805b8581101561194e57600061184f8983610e36565b60008181526016602052604081205491925090601e9060ff16606461187589600a613638565b61187f919061350f565b6118899190613638565b611893919061350f565b60008381526016602052604081205491925090600790610100900460ff1660646118be8a600a613638565b6118c8919061350f565b6118d29190613638565b6118dc919061350f565b90506000816118eb848961364f565b6118f5919061364f565b6000858152601960205260409020549091508111156119375760008481526019602052604081205461192790836134e6565b9050611933818861364f565b9650505b50505050808061194690613662565b91505061183b565b509695505050505050565b6060600180546107b090613496565b61137c338383612915565b61197b6127aa565b600a546040516001600160a01b03909116904780156108fc02916000818181858888f193505050501580156119b4573d6000803e3d6000fd5b50565b6119c133836125ba565b6119dd5760405162461bcd60e51b81526004016108f0906135eb565b6119e9848484846129e3565b50505050565b6119f76127aa565b60008111611a475760405162461bcd60e51b815260206004820152601d60248201527f416d6f756e74206d7573742062652067726561746572207468616e203000000060448201526064016108f0565b6101bc81611a54600b5490565b611a5e919061364f565b1115611aa55760405162461bcd60e51b815260206004820152601660248201527545786365656473206d6178696d756d20737570706c7960501b60448201526064016108f0565b60005b8181101561099157611abe600b80546001019055565b6000611ac9600b5490565b905060006040518060800160405280611ae4600b601e61251d565b60ff168152602001611af86003600761251d565b60ff168152602001611b0c600e602361251d565b60ff90811682526000602092830181905285815260168352604090819020845181549486015192860151606087015191851661ffff1990961695909517610100938516939093029290921763ffff00001916620100009484169490940263ff000000191693909317630100000091909216021790559050611b8d85836125a0565b50508080611b9a90613662565b915050611aa8565b6040805160808101825260008082526020808301829052828401829052606083018290528482526002905291909120546001600160a01b0316611c1e5760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b60448201526064016108f0565b506000908152601660209081526040918290208251608081018452905460ff80821683526101008204811693830193909352620100008104831693820193909352630100000090920416606082015290565b611c786127aa565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b60606000611ca6612a16565b90506000815111611cc65760405180602001604052806000815250611cf1565b80611cd084612a25565b604051602001611ce192919061379f565b6040516020818303038152906040525b9392505050565b33611d02836115b5565b6001600160a01b0316148015611d28575033611d1d826115b5565b6001600160a01b0316145b611d745760405162461bcd60e51b815260206004820152601860248201527f596f75206d757374206f776e20626f746820746f6b656e73000000000000000060448201526064016108f0565b601b546000838152601a6020526040902054611d90919061364f565b4211611dde5760405162461bcd60e51b815260206004820152601760248201527f546f6b656e203120697320636f6f6c696e6720646f776e00000000000000000060448201526064016108f0565b601b546000828152601a6020526040902054611dfa919061364f565b4211611e485760405162461bcd60e51b815260206004820152601760248201527f546f6b656e203220697320636f6f6c696e6720646f776e00000000000000000060448201526064016108f0565b601054600d546040516370a0823160e01b81523360048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015611e93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eb79190613573565b1015611ed55760405162461bcd60e51b81526004016108f09061358c565b601054600d54604051636eb1769f60e11b81523360048201523060248201526001600160a01b039091169063dd62ed3e90604401602060405180830381865afa158015611f26573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f4a9190613573565b1015611f985760405162461bcd60e51b815260206004820152601c60248201527f546f6b656e20616c6c6f77616e6365206e6f742070726f76696465640000000060448201526064016108f0565b600d54600e546010546040516323b872dd60e01b81523360048201526001600160a01b03928316602482015260448101919091529116906323b872dd906064016020604051808303816000875af1158015611ff7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061201b91906135ce565b506000828152601660208181526040808420815160808082018452915460ff80821683526101008083048216848801526201000080840483168588015263010000009384900483166060808701919091528b8b52988852868a208751968701885254808416875291820483169786019790975295860481169484019490945290930490911692810192909252916120b36005436137de565b825184516002916120ca9160ff91821691166137ff565b6120d49190613821565b6120de91906137ff565b905060006120ed6002426137de565b6002846020015160ff16866020015160ff1661210991906137ff565b6121139190613821565b61211d91906137ff565b90506000600561212d424361364f565b61213791906137de565b6002856040015160ff16876040015160ff1661215391906137ff565b61215d9190613821565b61216791906137ff565b905060006018612177424361364f565b61218191906137de565b61218c90600b6137ff565b9050600060405180608001604052808660ff1681526020018560ff1681526020018460ff1681526020018360ff1681525090506121db336121cb610dfa565b6121d690600161364f565b612ab8565b60006121e6600b5490565b90506121f6600b80546001019055565b600081815260166020908152604091829020845181549286015184870151606088015160ff90811663010000000263ff0000001992821662010000029290921663ffff0000199382166101000261ffff1990971691909416179490941716179190911790555189908b907fab1231843677f6361dfe40afeef0d1f08712b7ea003cccf9f7d672d36ba0dc209061228f9085815260200190565b60405180910390a350505060009687525050601a6020525050604080842042908190559284529092205550565b601d546001600160a01b031633146122e65760405162461bcd60e51b81526004016108f090613523565b6000828152601660205260408120805483929061230790849060ff1661355a565b82546101009290920a60ff818102199093169183160217909155600084815260166020908152604091829020548251838152600893810193909352670a6e8e4cadccee8d60c31b6060840152909216918101919091528391507f75be883731d85564056b35faad71df8364ae8e6c33307193b2c1c2911c95e0f590608001610a7a565b6123926127aa565b6001600160a01b0381166123f75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108f0565b6119b4816128c3565b60006001600160e01b031982166380ac58cd60e01b148061243157506001600160e01b03198216635b5e139f60e01b145b8061079b57506301ffc9a760e01b6001600160e01b031983161461079b565b6000818152600260205260409020546001600160a01b03166119b45760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016108f0565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906124e4826115b5565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600060ff831661252d8484613842565b61253890600161355a565b60ff1642443360405160200161257393929190928352602083019190915260601b6bffffffffffffffffffffffff1916604082015260540190565b6040516020818303038152906040528051906020012060001c612596919061385b565b611cf1919061364f565b61137c828260405180602001604052806000815250612c51565b6000806125c6836115b5565b9050806001600160a01b0316846001600160a01b0316148061260d57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806126315750836001600160a01b031661262684610833565b6001600160a01b0316145b949350505050565b826001600160a01b031661264c826115b5565b6001600160a01b0316146126725760405162461bcd60e51b81526004016108f09061386f565b6001600160a01b0382166126d45760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108f0565b6126e18383836001612c84565b826001600160a01b03166126f4826115b5565b6001600160a01b03161461271a5760405162461bcd60e51b81526004016108f09061386f565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a546001600160a01b031633146116ad5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108f0565b600d546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa15801561284d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128719190613573565b905060006013548261288391906134e6565b90506000612890600b5490565b11156128a657600b546128a3908261350f565b90505b80601260008282546128b8919061364f565b909155505050601355565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316036129765760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108f0565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6129ee848484612639565b6129fa84848484612db8565b6119e95760405162461bcd60e51b81526004016108f0906138b4565b6060600c80546107b090613496565b60606000612a3283612eb9565b600101905060008167ffffffffffffffff811115612a5257612a5261334f565b6040519080825280601f01601f191660200182016040528015612a7c576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084612a8657509392505050565b6001600160a01b038216612b0e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108f0565b6000818152600260205260409020546001600160a01b031615612b735760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108f0565b612b81600083836001612c84565b6000818152600260205260409020546001600160a01b031615612be65760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108f0565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b612c5b8383612ab8565b612c686000848484612db8565b6109915760405162461bcd60e51b81526004016108f0906138b4565b6001811115612cf35760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b60648201526084016108f0565b816001600160a01b038516612d4f57612d4a81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612d72565b836001600160a01b0316856001600160a01b031614612d7257612d728582612f91565b6001600160a01b038416612d8e57612d898161302e565b612db1565b846001600160a01b0316846001600160a01b031614612db157612db184826130dd565b5050505050565b60006001600160a01b0384163b15612eae57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612dfc903390899088908890600401613906565b6020604051808303816000875af1925050508015612e37575060408051601f3d908101601f19168201909252612e3491810190613943565b60015b612e94573d808015612e65576040519150601f19603f3d011682016040523d82523d6000602084013e612e6a565b606091505b508051600003612e8c5760405162461bcd60e51b81526004016108f0906138b4565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612631565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310612ef85772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612f24576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310612f4257662386f26fc10000830492506010015b6305f5e1008310612f5a576305f5e100830492506008015b6127108310612f6e57612710830492506004015b60648310612f80576064830492506002015b600a831061079b5760010192915050565b60006001612f9e84611615565b612fa891906134e6565b600083815260076020526040902054909150808214612ffb576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090613040906001906134e6565b600083815260096020526040812054600880549394509092849081106130685761306861367b565b9060005260206000200154905080600883815481106130895761308961367b565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806130c1576130c1613960565b6001900381819060005260206000200160009055905550505050565b60006130e883611615565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160e01b0319811681146119b457600080fd5b60006020828403121561314957600080fd5b8135611cf181613121565b60005b8381101561316f578181015183820152602001613157565b50506000910152565b60008151808452613190816020860160208601613154565b601f01601f19169290920160200192915050565b602081526000611cf16020830184613178565b6000602082840312156131c957600080fd5b5035919050565b80356001600160a01b03811681146131e757600080fd5b919050565b600080604083850312156131ff57600080fd5b613208836131d0565b946020939093013593505050565b6000806040838503121561322957600080fd5b82359150602083013560ff8116811461324157600080fd5b809150509250929050565b60008060006060848603121561326157600080fd5b61326a846131d0565b9250613278602085016131d0565b9150604084013590509250925092565b60006020828403121561329a57600080fd5b611cf1826131d0565b600080602083850312156132b657600080fd5b823567ffffffffffffffff808211156132ce57600080fd5b818501915085601f8301126132e257600080fd5b8135818111156132f157600080fd5b86602082850101111561330357600080fd5b60209290920196919550909350505050565b80151581146119b457600080fd5b6000806040838503121561333657600080fd5b61333f836131d0565b9150602083013561324181613315565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561337b57600080fd5b613384856131d0565b9350613392602086016131d0565b925060408501359150606085013567ffffffffffffffff808211156133b657600080fd5b818701915087601f8301126133ca57600080fd5b8135818111156133dc576133dc61334f565b604051601f8201601f19908116603f011681019083821181831017156134045761340461334f565b816040528281528a602084870101111561341d57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561345457600080fd5b50508035926020909101359150565b6000806040838503121561347657600080fd5b61347f836131d0565b915061348d602084016131d0565b90509250929050565b600181811c908216806134aa57607f821691505b6020821081036134ca57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561079b5761079b6134d0565b634e487b7160e01b600052601260045260246000fd5b60008261351e5761351e6134f9565b500490565b6020808252601e908201527f4e6f7420617574686f72697a656420746f206d6f646966792073746174730000604082015260600190565b60ff818116838216019081111561079b5761079b6134d0565b60006020828403121561358557600080fd5b5051919050565b60208082526022908201527f496e73756666696369656e74207061796d656e7420746f6b656e2062616c616e604082015261636560f01b606082015260800190565b6000602082840312156135e057600080fd5b8151611cf181613315565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b808202811582820484141761079b5761079b6134d0565b8082018082111561079b5761079b6134d0565b600060018201613674576136746134d0565b5060010190565b634e487b7160e01b600052603260045260246000fd5b601f82111561099157600081815260208120601f850160051c810160208610156136b85750805b601f850160051c820191505b818110156136d7578281556001016136c4565b505050505050565b67ffffffffffffffff8311156136f7576136f761334f565b61370b836137058354613496565b83613691565b6000601f84116001811461373f57600085156137275750838201355b600019600387901b1c1916600186901b178355612db1565b600083815260209020601f19861690835b828110156137705786850135825560209485019460019092019101613750565b508682101561378d5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b600083516137b1818460208801613154565b8351908301906137c5818360208801613154565b64173539b7b760d91b9101908152600501949350505050565b600061ffff808416806137f3576137f36134f9565b92169190910692915050565b61ffff81811683821601908082111561381a5761381a6134d0565b5092915050565b600061ffff80841680613836576138366134f9565b92169190910492915050565b60ff828116828216039081111561079b5761079b6134d0565b60008261386a5761386a6134f9565b500690565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061393990830184613178565b9695505050505050565b60006020828403121561395557600080fd5b8151611cf181613121565b634e487b7160e01b600052603160045260246000fdfea264697066735822122022950a33cb41106db5811b01b77f57e2d60ef44ee818dc30791b1b38e05a5b1264736f6c63430008110033

Deployed Bytecode Sourcemap

69662:13293:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63643:224;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;63643:224:0;;;;;;;;47692:100;;;:::i;:::-;;;;;;;:::i;49204:171::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;49204:171:0;1533:203:1;79526:138:0;;;:::i;:::-;;;1887:25:1;;;1875:2;1860:18;79526:138:0;1741:177:1;48722:416:0;;;;;;:::i;:::-;;:::i;:::-;;71027:50;;;;;;81548:212;;;;;;:::i;:::-;;:::i;72397:943::-;;;:::i;71617:140::-;;;:::i;70565:54::-;;;;;;:::i;:::-;;;;;;;;;;;;;;49904:301;;;;;;:::i;:::-;;:::i;70980:40::-;;;;;;63951:256;;;;;;:::i;:::-;;:::i;70161:79::-;;;;;-1:-1:-1;;;;;70161:79:0;;;70114:40;;70151:3;70114:40;;78508:1010;;;;;;:::i;:::-;;:::i;82203:125::-;;;;;;:::i;:::-;;:::i;50276:151::-;;;;;;:::i;:::-;;:::i;80942:98::-;;;;;;:::i;:::-;;:::i;70247:72::-;;;;;-1:-1:-1;;;;;70247:72:0;;;81286:254;;;;;;:::i;:::-;;:::i;77348:1152::-;;;:::i;82562:131::-;;;;;;:::i;:::-;;:::i;64473:233::-;;;;;;:::i;:::-;;:::i;72271:118::-;;;;;;:::i;:::-;;:::i;81959:112::-;;;;;;:::i;:::-;;:::i;82336:218::-;;;;;;:::i;:::-;;:::i;47402:223::-;;;;;;:::i;:::-;;:::i;47133:207::-;;;;;;:::i;:::-;;:::i;25022:103::-;;;:::i;76922:418::-;;;:::i;82829:123::-;;;;;;:::i;:::-;;:::i;70626:52::-;;;;;;:::i;:::-;;;;;;;;;;;;;;79672:1262;;;;;;:::i;:::-;;:::i;24381:87::-;24454:6;;-1:-1:-1;;;;;24454:6:0;24381:87;;47861:104;;;:::i;70326:42::-;;;;;;49447:155;;;;;;:::i;:::-;;:::i;82079:116::-;;;:::i;70854:53::-;;;;;;:::i;:::-;;;;;;;;;;;;;;70423:38;;;;;;50498:279;;;;;;:::i;:::-;;:::i;73348:803::-;;;;;;:::i;:::-;;:::i;70914:51::-;;;;;;:::i;:::-;;;;;;;;;;;;;;81768:183;;;;;;:::i;:::-;;:::i;:::-;;;;;;5900:4:1;5942:3;5931:9;5927:19;5919:27;;5992:4;5983:6;5977:13;5973:24;5962:9;5955:43;6066:4;6058;6050:6;6046:17;6040:24;6036:35;6029:4;6018:9;6014:20;6007:65;6140:4;6132;6124:6;6120:17;6114:24;6110:35;6103:4;6092:9;6088:20;6081:65;6214:4;6206;6198:6;6194:17;6188:24;6184:35;6177:4;6166:9;6162:20;6155:65;5762:464;;;;;82701:120:0;;;;;;:::i;:::-;;:::i;70375:41::-;;;;;;71883:271;;;;;;:::i;:::-;;:::i;74159:2063::-;;;;;;:::i;:::-;;:::i;81048:230::-;;;;;;:::i;:::-;;:::i;49673:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;49794:25:0;;;49770:4;49794:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;49673:164;70468:34;;;;;;25280:201;;;;;;:::i;:::-;;:::i;63643:224::-;63745:4;-1:-1:-1;;;;;;63769:50:0;;-1:-1:-1;;;63769:50:0;;:90;;;63823:36;63847:11;63823:23;:36::i;:::-;63762:97;63643:224;-1:-1:-1;;63643:224:0:o;47692:100::-;47746:13;47779:5;47772:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47692:100;:::o;49204:171::-;49280:7;49300:23;49315:7;49300:14;:23::i;:::-;-1:-1:-1;49343:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;49343:24:0;;49204:171::o;79526:138::-;79575:7;79642:14;;79621:17;;79603:15;:35;;;;:::i;:::-;79602:54;;;;:::i;:::-;79595:61;;79526:138;:::o;48722:416::-;48803:13;48819:23;48834:7;48819:14;:23::i;:::-;48803:39;;48867:5;-1:-1:-1;;;;;48861:11:0;:2;-1:-1:-1;;;;;48861:11:0;;48853:57;;;;-1:-1:-1;;;48853:57:0;;7858:2:1;48853:57:0;;;7840:21:1;7897:2;7877:18;;;7870:30;7936:34;7916:18;;;7909:62;-1:-1:-1;;;7987:18:1;;;7980:31;8028:19;;48853:57:0;;;;;;;;;23012:10;-1:-1:-1;;;;;48945:21:0;;;;:62;;-1:-1:-1;48970:37:0;48987:5;23012:10;49673:164;:::i;48970:37::-;48923:173;;;;-1:-1:-1;;;48923:173:0;;8260:2:1;48923:173:0;;;8242:21:1;8299:2;8279:18;;;8272:30;8338:34;8318:18;;;8311:62;8409:31;8389:18;;;8382:59;8458:19;;48923:173:0;8058:425:1;48923:173:0;49109:21;49118:2;49122:7;49109:8;:21::i;:::-;48792:346;48722:416;;:::o;81548:212::-;71469:21;;-1:-1:-1;;;;;71469:21:0;71455:10;:35;71447:78;;;;-1:-1:-1;;;71447:78:0;;;;;;;:::i;:::-;81639:20:::1;::::0;;;:11:::1;:20;::::0;;;;:40;;81669:10;;81639:20;:26:::1;::::0;:40:::1;::::0;81669:10;;81639:40;;::::1;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;81707:7;81695:57;81725:11;:20;81737:7;81725:20;;;;;;;;;;;:26;;;;;;;;;;;;81695:57;;;;;9226:2:1::0;9208:21;;;9265:1;9245:18;;;9238:29;-1:-1:-1;;;9298:2:1;9283:18;;9276:35;9397:4;9385:17;;;;9378:4;9363:20;;9356:47;9343:3;9328:19;;9000:409;81695:57:0::1;;;;;;;;81548:212:::0;;:::o;72397:943::-;70151:3;72441:25;:15;4430:14;;4338:114;72441:25;:38;72433:73;;;;-1:-1:-1;;;72433:73:0;;9616:2:1;72433:73:0;;;9598:21:1;9655:2;9635:18;;;9628:30;-1:-1:-1;;;9674:18:1;;;9667:52;9736:18;;72433:73:0;9414:346:1;72433:73:0;72563:12;;72525;;:34;;-1:-1:-1;;;72525:34:0;;72548:10;72525:34;;;1679:51:1;-1:-1:-1;;;;;72525:12:0;;;;:22;;1652:18:1;;72525:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:50;;72517:97;;;;-1:-1:-1;;;72517:97:0;;;;;;;:::i;:::-;72686:12;;72633;;:49;;-1:-1:-1;;;72633:49:0;;72656:10;72633:49;;;10569:34:1;72676:4:0;10619:18:1;;;10612:43;-1:-1:-1;;;;;72633:12:0;;;;:22;;10504:18:1;;72633:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:65;;72625:106;;;;-1:-1:-1;;;72625:106:0;;10868:2:1;72625:106:0;;;10850:21:1;10907:2;10887:18;;;10880:30;10946;10926:18;;;10919:58;10994:18;;72625:106:0;10666:352:1;72625:106:0;72744:12;;72782;;72796;;72744:65;;-1:-1:-1;;;72744:65:0;;72770:10;72744:65;;;11263:34:1;-1:-1:-1;;;;;72782:12:0;;;11313:18:1;;;11306:43;11365:18;;;11358:34;;;;72744:12:0;;;:25;;11198:18:1;;72744:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;72822:27;:15;4549:19;;4567:1;4549:19;;;4460:127;72822:27;72860:18;72881:25;:15;4430:14;;4338:114;72881:25;72860:46;;72919:21;72943:198;;;;;;;;72974:27;72994:2;72998;72974:19;:27::i;:::-;72943:198;;;;;;73030:25;73050:1;73053;73030:19;:25::i;:::-;72943:198;;;;;;73077:27;73097:2;73101;73077:19;:27::i;:::-;72943:198;;;;;;73128:1;72943:198;;;;;;;73152:23;;;:11;:23;;;;;;;:34;;;;;;;;;;;;;;;;;;;-1:-1:-1;;73152:34:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;73152:34:0;;;;;;;;;-1:-1:-1;;73152:34:0;;;;;;;;;;;;;;;-1:-1:-1;73199:33:0;73209:10;73152:23;73199:9;:33::i;:::-;73250:82;73257:8;:17;;;73276:8;:21;;;73299:8;:14;;;73315:8;:16;;;73250:82;;;;;;;;11906:4:1;11894:17;;;11876:36;;11948:17;;;11943:2;11928:18;;11921:45;12002:17;;;11997:2;11982:18;;11975:45;12056:17;;;12051:2;12036:18;;12029:45;11863:3;11848:19;;11653:427;73250:82:0;;;;;;;;72422:918;;72397:943::o;71617:140::-;71703:7;71730:19;64371:10;:17;;64283:113;49904:301;50065:41;23012:10;50098:7;50065:18;:41::i;:::-;50057:99;;;;-1:-1:-1;;;50057:99:0;;;;;;;:::i;:::-;50169:28;50179:4;50185:2;50189:7;50169:9;:28::i;63951:256::-;64048:7;64084:23;64101:5;64084:16;:23::i;:::-;64076:5;:31;64068:87;;;;-1:-1:-1;;;64068:87:0;;12701:2:1;64068:87:0;;;12683:21:1;12740:2;12720:18;;;12713:30;12779:34;12759:18;;;12752:62;-1:-1:-1;;;12830:18:1;;;12823:41;12881:19;;64068:87:0;12499:407:1;64068:87:0;-1:-1:-1;;;;;;64173:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;63951:256::o;78508:1010::-;78572:7;;;78668:15;78678:4;78668:9;:15::i;:::-;78643:40;;78704:26;78733:29;:27;:29::i;:::-;78704:58;;78788:9;78783:682;78807:14;78803:1;:18;78783:682;;;78843:15;78861:28;78881:4;78887:1;78861:19;:28::i;:::-;78912:18;78954:28;;;:19;:28;;;;;;78843:46;;-1:-1:-1;78912:18:0;78933:49;;:18;:49;:::i;:::-;78912:70;-1:-1:-1;78997:23:0;79041:3;79023:15;78912:70;79036:2;79023:15;:::i;:::-;:21;;;;:::i;:::-;79073:25;79132:20;;;:11;:20;;;;;:29;78997:47;;-1:-1:-1;79073:25:0;79164:2;;79132:29;;79125:3;79102:20;78997:47;79120:2;79102:20;:::i;:::-;:26;;;;:::i;:::-;79101:60;;;;:::i;:::-;:65;;;;:::i;:::-;79182:29;79245:20;;;:11;:20;;;;;:33;79073:93;;-1:-1:-1;79182:29:0;79281:1;;79245:33;;;;;79238:3;79215:20;:15;79233:2;79215:20;:::i;:::-;:26;;;;:::i;:::-;79214:64;;;;:::i;:::-;:68;;;;:::i;:::-;79182:100;-1:-1:-1;79311:21:0;79182:100;79335:30;79348:17;79335:10;:30;:::i;:::-;:54;;;;:::i;:::-;79311:78;-1:-1:-1;79418:35:0;79311:78;79418:35;;:::i;:::-;;;78828:637;;;;;;78823:3;;;;;:::i;:::-;;;;78783:682;;;-1:-1:-1;79492:18:0;;78508:1010;-1:-1:-1;;;;78508:1010:0:o;82203:125::-;24267:13;:11;:13::i;:::-;82286:21:::1;:34:::0;;-1:-1:-1;;;;;;82286:34:0::1;-1:-1:-1::0;;;;;82286:34:0;;;::::1;::::0;;;::::1;::::0;;82203:125::o;50276:151::-;50380:39;50397:4;50403:2;50407:7;50380:39;;;;;;;;;;;;:16;:39::i;80942:98::-;24267:13;:11;:13::i;:::-;81012:11:::1;:20:::0;80942:98::o;81286:254::-;71469:21;;-1:-1:-1;;;;;71469:21:0;71455:10;:35;71447:78;;;;-1:-1:-1;;;71447:78:0;;;;;;;:::i;:::-;81391:20:::1;::::0;;;:11:::1;:20;::::0;;;;:54;;81428:17;;81391:20;:33:::1;::::0;:54:::1;::::0;81428:17;;81391:54:::1;::::0;::::1;;;;:::i;:::-;::::0;;::::1;::::0;;::::1;;::::0;;::::1;::::0;;::::1;::::0;;::::1;;::::0;;::::1;;::::0;;;-1:-1:-1;81498:20:0;;;:11:::1;:20;::::0;;;;;;;;:33;81461:71;;13562:21:1;;;13619:2;13599:18;;;13592:30;;;;-1:-1:-1;;;13653:2:1;13638:18;;13631:42;81498:33:0;;;::::1;::::0;;::::1;13725:20:1::0;;;13718:47;81473:7:0;;-1:-1:-1;81461:71:0::1;::::0;13705:3:1;13690:19;81461:71:0::1;13354:417:1::0;77348:1152:0;77391:23;:21;:23::i;:::-;77468:28;77511:22;77536:21;77546:10;77536:9;:21::i;:::-;77511:46;;77575:9;77570:753;77594:14;77590:1;:18;77570:753;;;77630:15;77648:34;77668:10;77680:1;77648:19;:34::i;:::-;77706:18;77745:28;;;:19;:28;;;;;;77727:15;;77630:52;;-1:-1:-1;77706:18:0;;77727:46;;77745:28;77727:46;:::i;:::-;77706:67;-1:-1:-1;77788:23:0;77832:3;77814:15;77706:67;77827:2;77814:15;:::i;:::-;:21;;;;:::i;:::-;77852:25;77911:20;;;:11;:20;;;;;:29;77788:47;;-1:-1:-1;77852:25:0;77943:2;;77911:29;;77904:3;77881:20;77788:47;77899:2;77881:20;:::i;:::-;:26;;;;:::i;:::-;77880:60;;;;:::i;:::-;:65;;;;:::i;:::-;77961:29;78024:20;;;:11;:20;;;;;:33;77852:93;;-1:-1:-1;77961:29:0;78060:1;;78024:33;;;;;78017:3;77994:20;:15;78012:2;77994:20;:::i;:::-;:26;;;;:::i;:::-;77993:64;;;;:::i;:::-;:68;;;;:::i;:::-;77961:100;-1:-1:-1;78078:23:0;77961:100;78104:30;78117:17;78104:10;:30;:::i;:::-;:54;;;;:::i;:::-;78206:15;;78175:28;;;;:19;:28;;;;;:46;78078:80;-1:-1:-1;78272:39:0;78078:80;78272:39;;:::i;:::-;;;77615:708;;;;;;77610:3;;;;;:::i;:::-;;;;77570:753;;;;78374:1;78351:20;:24;78343:55;;;;-1:-1:-1;;;78343:55:0;;13978:2:1;78343:55:0;;;13960:21:1;14017:2;13997:18;;;13990:30;-1:-1:-1;;;14036:18:1;;;14029:48;14094:18;;78343:55:0;13776:342:1;78343:55:0;78417:12;;:55;;-1:-1:-1;;;78417:55:0;;78439:10;78417:55;;;14297:51:1;14364:18;;;14357:34;;;-1:-1:-1;;;;;78417:12:0;;;;:21;;14270:18:1;;78417:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;78409:83;;;;-1:-1:-1;;;78409:83:0;;14604:2:1;78409:83:0;;;14586:21:1;14643:2;14623:18;;;14616:30;-1:-1:-1;;;14662:18:1;;;14655:45;14717:18;;78409:83:0;14402:339:1;78409:83:0;77380:1120;;77348:1152::o;82562:131::-;24267:13;:11;:13::i;:::-;82646:12:::1;:39:::0;;-1:-1:-1;;;;;;82646:39:0::1;-1:-1:-1::0;;;;;82646:39:0;;;::::1;::::0;;;::::1;::::0;;82562:131::o;64473:233::-;64548:7;64584:30;64371:10;:17;;64283:113;64584:30;64576:5;:38;64568:95;;;;-1:-1:-1;;;64568:95:0;;14948:2:1;64568:95:0;;;14930:21:1;14987:2;14967:18;;;14960:30;15026:34;15006:18;;;14999:62;-1:-1:-1;;;15077:18:1;;;15070:42;15129:19;;64568:95:0;14746:408:1;64568:95:0;64681:10;64692:5;64681:17;;;;;;;;:::i;:::-;;;;;;;;;64674:24;;64473:233;;;:::o;72271:118::-;24267:13;:11;:13::i;:::-;72350:16:::1;:31:::0;72271:118::o;81959:112::-;24267:13;:11;:13::i;:::-;82037::::1;:26;82053:10:::0;;82037:13;:26:::1;:::i;82336:218::-:0;24267:13;:11;:13::i;:::-;82419:12:::1;::::0;:37:::1;::::0;-1:-1:-1;;;82419:37:0;;82450:4:::1;82419:37;::::0;::::1;1679:51:1::0;82460:6:0;;-1:-1:-1;;;;;82419:12:0::1;::::0;:22:::1;::::0;1652:18:1;;82419:37:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:47;;82411:86;;;::::0;-1:-1:-1;;;82411:86:0;;17551:2:1;82411:86:0::1;::::0;::::1;17533:21:1::0;17590:2;17570:18;;;17563:30;17629:28;17609:18;;;17602:56;17675:18;;82411:86:0::1;17349:350:1::0;82411:86:0::1;82508:12;::::0;-1:-1:-1;;;;;82508:12:0::1;:21;82530:7;24454:6:::0;;-1:-1:-1;;;;;24454:6:0;;24381:87;82530:7:::1;82508:38;::::0;-1:-1:-1;;;;;;82508:38:0::1;::::0;;;;;;-1:-1:-1;;;;;14315:32:1;;;82508:38:0::1;::::0;::::1;14297:51:1::0;14364:18;;;14357:34;;;14270:18;;82508:38:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;47402:223::-:0;47474:7;52135:16;;;:7;:16;;;;;;-1:-1:-1;;;;;52135:16:0;;47538:56;;;;-1:-1:-1;;;47538:56:0;;17906:2:1;47538:56:0;;;17888:21:1;17945:2;17925:18;;;17918:30;-1:-1:-1;;;17964:18:1;;;17957:54;18028:18;;47538:56:0;17704:348:1;47133:207:0;47205:7;-1:-1:-1;;;;;47233:19:0;;47225:73;;;;-1:-1:-1;;;47225:73:0;;18259:2:1;47225:73:0;;;18241:21:1;18298:2;18278:18;;;18271:30;18337:34;18317:18;;;18310:62;-1:-1:-1;;;18388:18:1;;;18381:39;18437:19;;47225:73:0;18057:405:1;47225:73:0;-1:-1:-1;;;;;;47316:16:0;;;;;:9;:16;;;;;;;47133:207::o;25022:103::-;24267:13;:11;:13::i;:::-;25087:30:::1;25114:1;25087:18;:30::i;:::-;25022:103::o:0;76922:418::-;77035:12;;:37;;-1:-1:-1;;;77035:37:0;;77066:4;77035:37;;;1679:51:1;76982:7:0;;;;-1:-1:-1;;;;;77035:12:0;;;;:22;;1652:18:1;;77035:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;77002:70;;77083:25;77136:23;;77111:22;:48;;;;:::i;:::-;77083:76;;77204:1;77176:25;:15;4430:14;;4338:114;77176:25;:29;77172:108;;;77243:15;4430:14;77222:46;;;;:::i;:::-;;;77172:108;77315:17;77297:15;;:35;;;;:::i;:::-;77290:42;;;;76922:418;:::o;82829:123::-;24267:13;:11;:13::i;:::-;82913:12:::1;:31:::0;82829:123::o;79672:1262::-;79732:7;79752:22;79777:15;79787:4;79777:9;:15::i;:::-;79752:40;;79807:14;79825:1;79807:19;79803:60;;-1:-1:-1;79850:1:0;;79672:1262;-1:-1:-1;;79672:1262:0:o;79803:60::-;79901:12;;:37;;-1:-1:-1;;;79901:37:0;;79932:4;79901:37;;;1679:51:1;79875:23:0;;-1:-1:-1;;;;;79901:12:0;;:22;;1652:18:1;;79901:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;79875:63;;79959:28;80008:25;:15;4430:14;;4338:114;80008:25;79990:43;;:15;:43;:::i;:::-;79959:74;-1:-1:-1;80044:29:0;80104:3;80076:25;79959:74;80099:2;80076:25;:::i;:::-;:31;;;;:::i;:::-;80044:63;;80146:26;80194:9;80189:700;80213:14;80209:1;:18;80189:700;;;80249:15;80267:28;80287:4;80293:1;80267:19;:28::i;:::-;80312:25;80376:20;;;:11;:20;;;;;:29;80249:46;;-1:-1:-1;80312:25:0;80408:2;;80376:29;;80369:3;80341:25;:20;80364:2;80341:25;:::i;:::-;:31;;;;:::i;:::-;80340:65;;;;:::i;:::-;:70;;;;:::i;:::-;80426:29;80494:20;;;:11;:20;;;;;:33;80312:98;;-1:-1:-1;80426:29:0;80530:1;;80494:33;;;;;80487:3;80459:25;:20;80482:2;80459:25;:::i;:::-;:31;;;;:::i;:::-;80458:69;;;;:::i;:::-;:73;;;;:::i;:::-;80426:105;-1:-1:-1;80549:27:0;80426:105;80579:41;80603:17;80579:21;:41;:::i;:::-;:65;;;;:::i;:::-;80665:27;;;;:18;:27;;;;;;80549:95;;-1:-1:-1;80665:49:0;-1:-1:-1;80661:217:0;;;80735:21;80781:27;;;:18;:27;;;;;;80759:49;;:19;:49;:::i;:::-;80735:73;-1:-1:-1;80827:35:0;80735:73;80827:35;;:::i;:::-;;;80716:162;80661:217;80234:655;;;;80229:3;;;;;:::i;:::-;;;;80189:700;;;-1:-1:-1;80908:18:0;79672:1262;-1:-1:-1;;;;;;79672:1262:0:o;47861:104::-;47917:13;47950:7;47943:14;;;;;:::i;49447:155::-;49542:52;23012:10;49575:8;49585;49542:18;:52::i;82079:116::-;24267:13;:11;:13::i;:::-;24454:6;;82139:48:::1;::::0;-1:-1:-1;;;;;24454:6:0;;;;82165:21:::1;82139:48:::0;::::1;;;::::0;::::1;::::0;;;82165:21;24454:6;82139:48;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;82079:116::o:0;50498:279::-;50629:41;23012:10;50662:7;50629:18;:41::i;:::-;50621:99;;;;-1:-1:-1;;;50621:99:0;;;;;;;:::i;:::-;50731:38;50745:4;50751:2;50755:7;50764:4;50731:13;:38::i;:::-;50498:279;;;;:::o;73348:803::-;24267:13;:11;:13::i;:::-;73446:1:::1;73437:6;:10;73429:52;;;::::0;-1:-1:-1;;;73429:52:0;;18669:2:1;73429:52:0::1;::::0;::::1;18651:21:1::0;18708:2;18688:18;;;18681:30;18747:31;18727:18;;;18720:59;18796:18;;73429:52:0::1;18467:353:1::0;73429:52:0::1;70151:3;73528:6;73500:25;:15;4430:14:::0;;4338:114;73500:25:::1;:34;;;;:::i;:::-;:48;;73492:83;;;::::0;-1:-1:-1;;;73492:83:0;;19027:2:1;73492:83:0::1;::::0;::::1;19009:21:1::0;19066:2;19046:18;;;19039:30;-1:-1:-1;;;19085:18:1;;;19078:52;19147:18;;73492:83:0::1;18825:346:1::0;73492:83:0::1;73593:9;73588:556;73612:6;73608:1;:10;73588:556;;;73640:27;:15;4549:19:::0;;4567:1;4549:19;;;4460:127;73640:27:::1;73682:18;73703:25;:15;4430:14:::0;;4338:114;73703:25:::1;73682:46;;73799:21;73823:218;;;;;;;;73858:27;73878:2;73882;73858:19;:27::i;:::-;73823:218;;;;;;73918:25;73938:1;73941;73918:19;:25::i;:::-;73823:218;;;;;;73969:27;73989:2;73993;73969:19;:27::i;:::-;73823:218;::::0;;::::1;::::0;;74024:1:::1;73823:218;::::0;;::::1;::::0;;;74056:23;;;:11:::1;:23:::0;;;;;;;:34;;;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;::::1;::::0;;;::::1;-1:-1:-1::0;;74056:34:0;;;;;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;::::1;-1:-1:-1::0;;74056:34:0;;;;::::1;::::0;;;::::1;-1:-1:-1::0;;74056:34:0;;;;;;;;;::::1;;;::::0;;;-1:-1:-1;74107:25:0::1;74117:2:::0;74056:23;74107:9:::1;:25::i;:::-;73625:519;;73620:3;;;;;:::i;:::-;;;;73588:556;;81768:183:::0;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52135:16:0;;;:7;:16;;;;;;;-1:-1:-1;;;;;52135:16:0;81856:49;;;;-1:-1:-1;;;81856:49:0;;19378:2:1;81856:49:0;;;19360:21:1;19417:2;19397:18;;;19390:30;-1:-1:-1;;;19436:18:1;;;19429:50;19496:18;;81856:49:0;19176:344:1;81856:49:0;-1:-1:-1;81923:20:0;;;;:11;:20;;;;;;;;;81916:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;81768:183::o;82701:120::-;24267:13;:11;:13::i;:::-;82783:12:::1;:30:::0;;-1:-1:-1;;;;;;82783:30:0::1;-1:-1:-1::0;;;;;82783:30:0;;;::::1;::::0;;;::::1;::::0;;82701:120::o;71883:271::-;71956:13;71982:18;72003:10;:8;:10::i;:::-;71982:31;;72052:1;72037:4;72031:18;:22;:115;;;;;;;;;;;;;;;;;72093:4;72099:18;:7;:16;:18::i;:::-;72076:51;;;;;;;;;:::i;:::-;;;;;;;;;;;;;72031:115;72024:122;71883:271;-1:-1:-1;;;71883:271:0:o;74159:2063::-;74259:10;74238:17;74246:8;74238:7;:17::i;:::-;-1:-1:-1;;;;;74238:31:0;;:66;;;;-1:-1:-1;74294:10:0;74273:17;74281:8;74273:7;:17::i;:::-;-1:-1:-1;;;;;74273:31:0;;74238:66;74230:103;;;;-1:-1:-1;;;74230:103:0;;20395:2:1;74230:103:0;;;20377:21:1;20434:2;20414:18;;;20407:30;20473:26;20453:18;;;20446:54;20517:18;;74230:103:0;20193:348:1;74230:103:0;74399:16;;74370:26;;;;:16;:26;;;;;;:45;;74399:16;74370:45;:::i;:::-;74352:15;:63;74344:99;;;;-1:-1:-1;;;74344:99:0;;20748:2:1;74344:99:0;;;20730:21:1;20787:2;20767:18;;;20760:30;20826:25;20806:18;;;20799:53;20869:18;;74344:99:0;20546:347:1;74344:99:0;74509:16;;74480:26;;;;:16;:26;;;;;;:45;;74509:16;74480:45;:::i;:::-;74462:15;:63;74454:99;;;;-1:-1:-1;;;74454:99:0;;21100:2:1;74454:99:0;;;21082:21:1;21139:2;21119:18;;;21112:30;21178:25;21158:18;;;21151:53;21221:18;;74454:99:0;20898:347:1;74454:99:0;74610:11;;74572:12;;:34;;-1:-1:-1;;;74572:34:0;;74595:10;74572:34;;;1679:51:1;-1:-1:-1;;;;;74572:12:0;;;;:22;;1652:18:1;;74572:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:49;;74564:96;;;;-1:-1:-1;;;74564:96:0;;;;;;;:::i;:::-;74732:11;;74679:12;;:49;;-1:-1:-1;;;74679:49:0;;74702:10;74679:49;;;10569:34:1;74722:4:0;10619:18:1;;;10612:43;-1:-1:-1;;;;;74679:12:0;;;;:22;;10504:18:1;;74679:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:64;;74671:105;;;;-1:-1:-1;;;74671:105:0;;10868:2:1;74671:105:0;;;10850:21:1;10907:2;10887:18;;;10880:30;10946;10926:18;;;10919:58;10994:18;;74671:105:0;10666:352:1;74671:105:0;74835:12;;74873;;74887:11;;74835:64;;-1:-1:-1;;;74835:64:0;;74861:10;74835:64;;;11263:34:1;-1:-1:-1;;;;;74873:12:0;;;11313:18:1;;;11306:43;11365:18;;;11358:34;;;;74835:12:0;;;:25;;11198:18:1;;74835:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;75002:19:0;75024:21;;;:11;:21;;;;;;;;75002:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75078:21;;;;;;;;;75056:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75002;75197:24;75220:1;75204:12;75197:24;:::i;:::-;75172:15;;75146;;75192:1;;75139:49;;75165:23;;;;;75139;:49;:::i;:::-;75138:55;;;;:::i;:::-;:84;;;;:::i;:::-;75112:111;-1:-1:-1;75234:21:0;75331:27;75357:1;75338:15;75331:27;:::i;:::-;75326:1;75302:6;:19;;;75295:27;;75272:6;:19;;;75265:27;;:57;;;;:::i;:::-;75264:63;;;;:::i;:::-;:95;;;;:::i;:::-;75234:126;-1:-1:-1;75371:14:0;75488:1;75454:30;75469:15;75454:12;:30;:::i;:::-;75447:42;;;;:::i;:::-;75442:1;75425:6;:12;;;75418:20;;75402:6;:12;;;75395:20;;:43;;;;:::i;:::-;75394:49;;;;:::i;:::-;:96;;;;:::i;:::-;75371:120;-1:-1:-1;75587:16:0;75659:2;75625:30;75640:15;75625:12;:30;:::i;:::-;75618:43;;;;:::i;:::-;75612:50;;:2;:50;:::i;:::-;75587:76;;75676:21;75700:57;;;;;;;;75706:11;75700:57;;;;;;75719:15;75700:57;;;;;;75736:8;75700:57;;;;;;75746:10;75700:57;;;;;75676:81;;75801:36;75807:10;75819:13;:11;:13::i;:::-;:17;;75835:1;75819:17;:::i;:::-;75801:5;:36::i;:::-;75848:18;75869:25;:15;4430:14;;4338:114;75869:25;75848:46;;75905:27;:15;4549:19;;4567:1;4549:19;;;4460:127;75905:27;75943:23;;;;:11;:23;;;;;;;;;:34;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;75943:34:0;;;;;;;;;-1:-1:-1;;75943:34:0;;;;;-1:-1:-1;;75943:34:0;;;;;;;;;;;;;;;;;;;;76021:43;76043:8;;76033;;76021:43;;;;75955:10;1887:25:1;;1875:2;1860:18;;1741:177;76021:43:0;;;;;;;;-1:-1:-1;;;76115:26:0;;;;-1:-1:-1;;76115:16:0;:26;;-1:-1:-1;;76115:26:0;;;;76144:15;76115:44;;;;76170:26;;;;;;:44;-1:-1:-1;74159:2063:0:o;81048:230::-;71469:21;;-1:-1:-1;;;;;71469:21:0;71455:10;:35;71447:78;;;;-1:-1:-1;;;71447:78:0;;;;;;;:::i;:::-;81145:20:::1;::::0;;;:11:::1;:20;::::0;;;;:46;;81178:13;;81145:20;:46:::1;::::0;81178:13;;81145:46:::1;;;:::i;:::-;::::0;;::::1;::::0;;;::::1;;::::0;;::::1;;::::0;;::::1;::::0;;::::1;;;::::0;;;-1:-1:-1;81240:20:0;;;:11:::1;:20;::::0;;;;;;;;:29;81207:63;;22007:21:1;;;22064:1;22044:18;;;22037:29;;;;-1:-1:-1;;;22097:2:1;22082:18;;22075:38;81240:29:0;;::::1;22165:20:1::0;;;22158:47;;;;81240:20:0;;-1:-1:-1;81207:63:0::1;::::0;22145:3:1;22130:19;81207:63:0::1;21799:412:1::0;25280:201:0;24267:13;:11;:13::i;:::-;-1:-1:-1;;;;;25369:22:0;::::1;25361:73;;;::::0;-1:-1:-1;;;25361:73:0;;22418:2:1;25361:73:0::1;::::0;::::1;22400:21:1::0;22457:2;22437:18;;;22430:30;22496:34;22476:18;;;22469:62;-1:-1:-1;;;22547:18:1;;;22540:36;22593:19;;25361:73:0::1;22216:402:1::0;25361:73:0::1;25445:28;25464:8;25445:18;:28::i;46764:305::-:0;46866:4;-1:-1:-1;;;;;;46903:40:0;;-1:-1:-1;;;46903:40:0;;:105;;-1:-1:-1;;;;;;;46960:48:0;;-1:-1:-1;;;46960:48:0;46903:105;:158;;;-1:-1:-1;;;;;;;;;;38417:40:0;;;47025:36;38308:157;58767:135;52537:4;52135:16;;;:7;:16;;;;;;-1:-1:-1;;;;;52135:16:0;58841:53;;;;-1:-1:-1;;;58841:53:0;;17906:2:1;58841:53:0;;;17888:21:1;17945:2;17925:18;;;17918:30;-1:-1:-1;;;17964:18:1;;;17957:54;18028:18;;58841:53:0;17704:348:1;58080:174:0;58155:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;58155:29:0;-1:-1:-1;;;;;58155:29:0;;;;;;;;:24;;58209:23;58155:24;58209:14;:23::i;:::-;-1:-1:-1;;;;;58200:46:0;;;;;;;;;;;58080:174;;:::o;76230:222::-;76303:5;76334:109;;;76422:9;76440:3;76422;:9;:::i;:::-;:13;;76434:1;76422:13;:::i;:::-;76335:101;;76370:15;76387:16;76405:10;76353:63;;;;;;;;;22964:19:1;;;23008:2;22999:12;;22992:28;;;;23058:2;23054:15;-1:-1:-1;;23050:53:1;23045:2;23036:12;;23029:75;23129:2;23120:12;;22779:359;76353:63:0;;;;;;;;;;;;;76343:74;;;;;;76335:83;;:101;;;;:::i;:::-;76334:109;;;;:::i;53373:110::-;53449:26;53459:2;53463:7;53449:26;;;;;;;;;;;;:9;:26::i;52767:264::-;52860:4;52877:13;52893:23;52908:7;52893:14;:23::i;:::-;52877:39;;52946:5;-1:-1:-1;;;;;52935:16:0;:7;-1:-1:-1;;;;;52935:16:0;;:52;;;-1:-1:-1;;;;;;49794:25:0;;;49770:4;49794:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;52955:32;52935:87;;;;53015:7;-1:-1:-1;;;;;52991:31:0;:20;53003:7;52991:11;:20::i;:::-;-1:-1:-1;;;;;52991:31:0;;52935:87;52927:96;52767:264;-1:-1:-1;;;;52767:264:0:o;56732:1229::-;56857:4;-1:-1:-1;;;;;56830:31:0;:23;56845:7;56830:14;:23::i;:::-;-1:-1:-1;;;;;56830:31:0;;56822:81;;;;-1:-1:-1;;;56822:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;56922:16:0;;56914:65;;;;-1:-1:-1;;;56914:65:0;;23868:2:1;56914:65:0;;;23850:21:1;23907:2;23887:18;;;23880:30;23946:34;23926:18;;;23919:62;-1:-1:-1;;;23997:18:1;;;23990:34;24041:19;;56914:65:0;23666:400:1;56914:65:0;56992:42;57013:4;57019:2;57023:7;57032:1;56992:20;:42::i;:::-;57164:4;-1:-1:-1;;;;;57137:31:0;:23;57152:7;57137:14;:23::i;:::-;-1:-1:-1;;;;;57137:31:0;;57129:81;;;;-1:-1:-1;;;57129:81:0;;;;;;;:::i;:::-;57282:24;;;;:15;:24;;;;;;;;57275:31;;-1:-1:-1;;;;;;57275:31:0;;;;;;-1:-1:-1;;;;;57758:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;57758:20:0;;;57793:13;;;;;;;;;:18;;57275:31;57793:18;;;57833:16;;;:7;:16;;;;;;:21;;;;;;;;;;57872:27;;57298:7;;57872:27;;;48792:346;48722:416;;:::o;24546:132::-;24454:6;;-1:-1:-1;;;;;24454:6:0;23012:10;24610:23;24602:68;;;;-1:-1:-1;;;24602:68:0;;24273:2:1;24602:68:0;;;24255:21:1;;;24292:18;;;24285:30;24351:34;24331:18;;;24324:62;24403:18;;24602:68:0;24071:356:1;76460:454:0;76546:12;;:37;;-1:-1:-1;;;76546:37:0;;76577:4;76546:37;;;1679:51:1;76513:30:0;;-1:-1:-1;;;;;76546:12:0;;:22;;1652:18:1;;76546:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;76513:70;;76594:25;76647:23;;76622:22;:48;;;;:::i;:::-;76594:76;;76715:1;76687:25;:15;4430:14;;4338:114;76687:25;:29;76683:108;;;76754:15;4430:14;76733:46;;;;:::i;:::-;;;76683:108;76830:17;76811:15;;:36;;;;;;;:::i;:::-;;;;-1:-1:-1;;;76858:23:0;:48;76460:454::o;25641:191::-;25734:6;;;-1:-1:-1;;;;;25751:17:0;;;-1:-1:-1;;;;;;25751:17:0;;;;;;;25784:40;;25734:6;;;25751:17;25734:6;;25784:40;;25715:16;;25784:40;25704:128;25641:191;:::o;58397:281::-;58518:8;-1:-1:-1;;;;;58509:17:0;:5;-1:-1:-1;;;;;58509:17:0;;58501:55;;;;-1:-1:-1;;;58501:55:0;;24634:2:1;58501:55:0;;;24616:21:1;24673:2;24653:18;;;24646:30;24712:27;24692:18;;;24685:55;24757:18;;58501:55:0;24432:349:1;58501:55:0;-1:-1:-1;;;;;58567:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;58567:46:0;;;;;;;;;;58629:41;;540::1;;;58629::0;;513:18:1;58629:41:0;;;;;;;58397:281;;;:::o;51658:270::-;51771:28;51781:4;51787:2;51791:7;51771:9;:28::i;:::-;51818:47;51841:4;51847:2;51851:7;51860:4;51818:22;:47::i;:::-;51810:110;;;;-1:-1:-1;;;51810:110:0;;;;;;;:::i;71769:106::-;71821:13;71854;71847:20;;;;;:::i;19851:716::-;19907:13;19958:14;19975:17;19986:5;19975:10;:17::i;:::-;19995:1;19975:21;19958:38;;20011:20;20045:6;20034:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20034:18:0;-1:-1:-1;20011:41:0;-1:-1:-1;20176:28:0;;;20192:2;20176:28;20233:288;-1:-1:-1;;20265:5:0;-1:-1:-1;;;20402:2:0;20391:14;;20386:30;20265:5;20373:44;20463:2;20454:11;;;-1:-1:-1;20484:21:0;20233:288;20484:21;-1:-1:-1;20542:6:0;19851:716;-1:-1:-1;;;19851:716:0:o;54331:942::-;-1:-1:-1;;;;;54411:16:0;;54403:61;;;;-1:-1:-1;;;54403:61:0;;25407:2:1;54403:61:0;;;25389:21:1;;;25426:18;;;25419:30;25485:34;25465:18;;;25458:62;25537:18;;54403:61:0;25205:356:1;54403:61:0;52537:4;52135:16;;;:7;:16;;;;;;-1:-1:-1;;;;;52135:16:0;52561:31;54475:58;;;;-1:-1:-1;;;54475:58:0;;25768:2:1;54475:58:0;;;25750:21:1;25807:2;25787:18;;;25780:30;25846;25826:18;;;25819:58;25894:18;;54475:58:0;25566:352:1;54475:58:0;54546:48;54575:1;54579:2;54583:7;54592:1;54546:20;:48::i;:::-;52537:4;52135:16;;;:7;:16;;;;;;-1:-1:-1;;;;;52135:16:0;52561:31;54684:58;;;;-1:-1:-1;;;54684:58:0;;25768:2:1;54684:58:0;;;25750:21:1;25807:2;25787:18;;;25780:30;25846;25826:18;;;25819:58;25894:18;;54684:58:0;25566:352:1;54684:58:0;-1:-1:-1;;;;;55091:13:0;;;;;;:9;:13;;;;;;;;:18;;55108:1;55091:18;;;55133:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;55133:21:0;;;;;55172:33;55141:7;;55091:13;;55172:33;;55091:13;;55172:33;77380:1120;;77348:1152::o;53710:285::-;53805:18;53811:2;53815:7;53805:5;:18::i;:::-;53856:53;53887:1;53891:2;53895:7;53904:4;53856:22;:53::i;:::-;53834:153;;;;-1:-1:-1;;;53834:153:0;;;;;;;:::i;64780:915::-;65047:1;65035:9;:13;65031:222;;;65178:63;;-1:-1:-1;;;65178:63:0;;26125:2:1;65178:63:0;;;26107:21:1;26164:2;26144:18;;;26137:30;26203:34;26183:18;;;26176:62;-1:-1:-1;;;26254:18:1;;;26247:51;26315:19;;65178:63:0;25923:417:1;65031:222:0;65283:12;-1:-1:-1;;;;;65312:18:0;;65308:187;;65347:40;65379:7;66522:10;:17;;66495:24;;;;:15;:24;;;;;:44;;;66550:24;;;;;;;;;;;;66418:164;65347:40;65308:187;;;65417:2;-1:-1:-1;;;;;65409:10:0;:4;-1:-1:-1;;;;;65409:10:0;;65405:90;;65436:47;65469:4;65475:7;65436:32;:47::i;:::-;-1:-1:-1;;;;;65509:16:0;;65505:183;;65542:45;65579:7;65542:36;:45::i;:::-;65505:183;;;65615:4;-1:-1:-1;;;;;65609:10:0;:2;-1:-1:-1;;;;;65609:10:0;;65605:83;;65636:40;65664:2;65668:7;65636:27;:40::i;:::-;64946:749;64780:915;;;;:::o;59466:853::-;59620:4;-1:-1:-1;;;;;59641:13:0;;27608:19;:23;59637:675;;59677:71;;-1:-1:-1;;;59677:71:0;;-1:-1:-1;;;;;59677:36:0;;;;;:71;;23012:10;;59728:4;;59734:7;;59743:4;;59677:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59677:71:0;;;;;;;;-1:-1:-1;;59677:71:0;;;;;;;;;;;;:::i;:::-;;;59673:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59918:6;:13;59935:1;59918:18;59914:328;;59961:60;;-1:-1:-1;;;59961:60:0;;;;;;;:::i;59914:328::-;60192:6;60186:13;60177:6;60173:2;60169:15;60162:38;59673:584;-1:-1:-1;;;;;;59799:51:0;-1:-1:-1;;;59799:51:0;;-1:-1:-1;59792:58:0;;59637:675;-1:-1:-1;60296:4:0;59466:853;;;;;;:::o;16685:948::-;16738:7;;-1:-1:-1;;;16816:17:0;;16812:106;;-1:-1:-1;;;16854:17:0;;;-1:-1:-1;16900:2:0;16890:12;16812:106;16945:8;16936:5;:17;16932:106;;16983:8;16974:17;;;-1:-1:-1;17020:2:0;17010:12;16932:106;17065:8;17056:5;:17;17052:106;;17103:8;17094:17;;;-1:-1:-1;17140:2:0;17130:12;17052:106;17185:7;17176:5;:16;17172:103;;17222:7;17213:16;;;-1:-1:-1;17258:1:0;17248:11;17172:103;17302:7;17293:5;:16;17289:103;;17339:7;17330:16;;;-1:-1:-1;17375:1:0;17365:11;17289:103;17419:7;17410:5;:16;17406:103;;17456:7;17447:16;;;-1:-1:-1;17492:1:0;17482:11;17406:103;17536:7;17527:5;:16;17523:68;;17574:1;17564:11;17619:6;16685:948;-1:-1:-1;;16685:948:0:o;67209:988::-;67475:22;67525:1;67500:22;67517:4;67500:16;:22::i;:::-;:26;;;;:::i;:::-;67537:18;67558:26;;;:17;:26;;;;;;67475:51;;-1:-1:-1;67691:28:0;;;67687:328;;-1:-1:-1;;;;;67758:18:0;;67736:19;67758:18;;;:12;:18;;;;;;;;:34;;;;;;;;;67809:30;;;;;;:44;;;67926:30;;:17;:30;;;;;:43;;;67687:328;-1:-1:-1;68111:26:0;;;;:17;:26;;;;;;;;68104:33;;;-1:-1:-1;;;;;68155:18:0;;;;;:12;:18;;;;;:34;;;;;;;68148:41;67209:988::o;68492:1079::-;68770:10;:17;68745:22;;68770:21;;68790:1;;68770:21;:::i;:::-;68802:18;68823:24;;;:15;:24;;;;;;69196:10;:26;;68745:46;;-1:-1:-1;68823:24:0;;68745:46;;69196:26;;;;;;:::i;:::-;;;;;;;;;69174:48;;69260:11;69235:10;69246;69235:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;69340:28;;;:15;:28;;;;;;;:41;;;69512:24;;;;;69505:31;69547:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;68563:1008;;;68492:1079;:::o;65996:221::-;66081:14;66098:20;66115:2;66098:16;:20::i;:::-;-1:-1:-1;;;;;66129:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;66174:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;65996:221:0: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;1923:173::-;1991:20;;-1:-1:-1;;;;;2040:31:1;;2030:42;;2020:70;;2086:1;2083;2076:12;2020:70;1923:173;;;:::o;2101:254::-;2169:6;2177;2230:2;2218:9;2209:7;2205:23;2201:32;2198:52;;;2246:1;2243;2236:12;2198:52;2269:29;2288:9;2269:29;:::i;:::-;2259:39;2345:2;2330:18;;;;2317:32;;-1:-1:-1;;;2101:254:1:o;2360:337::-;2426:6;2434;2487:2;2475:9;2466:7;2462:23;2458:32;2455:52;;;2503:1;2500;2493:12;2455:52;2539:9;2526:23;2516:33;;2599:2;2588:9;2584:18;2571:32;2643:4;2636:5;2632:16;2625:5;2622:27;2612:55;;2663:1;2660;2653:12;2612:55;2686:5;2676:15;;;2360:337;;;;;:::o;2702:328::-;2779:6;2787;2795;2848:2;2836:9;2827:7;2823:23;2819:32;2816:52;;;2864:1;2861;2854:12;2816:52;2887:29;2906:9;2887:29;:::i;:::-;2877:39;;2935:38;2969:2;2958:9;2954:18;2935:38;:::i;:::-;2925:48;;3020:2;3009:9;3005:18;2992:32;2982:42;;2702:328;;;;;:::o;3256:186::-;3315:6;3368:2;3356:9;3347:7;3343:23;3339:32;3336:52;;;3384:1;3381;3374:12;3336:52;3407:29;3426:9;3407:29;:::i;3447:592::-;3518:6;3526;3579:2;3567:9;3558:7;3554:23;3550:32;3547:52;;;3595:1;3592;3585:12;3547:52;3635:9;3622:23;3664:18;3705:2;3697:6;3694:14;3691:34;;;3721:1;3718;3711:12;3691:34;3759:6;3748:9;3744:22;3734:32;;3804:7;3797:4;3793:2;3789:13;3785:27;3775:55;;3826:1;3823;3816:12;3775:55;3866:2;3853:16;3892:2;3884:6;3881:14;3878:34;;;3908:1;3905;3898:12;3878:34;3953:7;3948:2;3939:6;3935:2;3931:15;3927:24;3924:37;3921:57;;;3974:1;3971;3964:12;3921:57;4005:2;3997:11;;;;;4027:6;;-1:-1:-1;3447:592:1;;-1:-1:-1;;;;3447:592:1:o;4044:118::-;4130:5;4123:13;4116:21;4109:5;4106:32;4096:60;;4152:1;4149;4142:12;4167:315;4232:6;4240;4293:2;4281:9;4272:7;4268:23;4264:32;4261:52;;;4309:1;4306;4299:12;4261:52;4332:29;4351:9;4332:29;:::i;:::-;4322:39;;4411:2;4400:9;4396:18;4383:32;4424:28;4446:5;4424:28;:::i;4487:127::-;4548:10;4543:3;4539:20;4536:1;4529:31;4579:4;4576:1;4569:15;4603:4;4600:1;4593:15;4619:1138;4714:6;4722;4730;4738;4791:3;4779:9;4770:7;4766:23;4762:33;4759:53;;;4808:1;4805;4798:12;4759:53;4831:29;4850:9;4831:29;:::i;:::-;4821:39;;4879:38;4913:2;4902:9;4898:18;4879:38;:::i;:::-;4869:48;;4964:2;4953:9;4949:18;4936:32;4926:42;;5019:2;5008:9;5004:18;4991:32;5042:18;5083:2;5075:6;5072:14;5069:34;;;5099:1;5096;5089:12;5069:34;5137:6;5126:9;5122:22;5112:32;;5182:7;5175:4;5171:2;5167:13;5163:27;5153:55;;5204:1;5201;5194:12;5153:55;5240:2;5227:16;5262:2;5258;5255:10;5252:36;;;5268:18;;:::i;:::-;5343:2;5337:9;5311:2;5397:13;;-1:-1:-1;;5393:22:1;;;5417:2;5389:31;5385:40;5373:53;;;5441:18;;;5461:22;;;5438:46;5435:72;;;5487:18;;:::i;:::-;5527:10;5523:2;5516:22;5562:2;5554:6;5547:18;5602:7;5597:2;5592;5588;5584:11;5580:20;5577:33;5574:53;;;5623:1;5620;5613:12;5574:53;5679:2;5674;5670;5666:11;5661:2;5653:6;5649:15;5636:46;5724:1;5719:2;5714;5706:6;5702:15;5698:24;5691:35;5745:6;5735:16;;;;;;;4619:1138;;;;;;;:::o;6231:248::-;6299:6;6307;6360:2;6348:9;6339:7;6335:23;6331:32;6328:52;;;6376:1;6373;6366:12;6328:52;-1:-1:-1;;6399:23:1;;;6469:2;6454:18;;;6441:32;;-1:-1:-1;6231:248:1:o;6484:260::-;6552:6;6560;6613:2;6601:9;6592:7;6588:23;6584:32;6581:52;;;6629:1;6626;6619:12;6581:52;6652:29;6671:9;6652:29;:::i;:::-;6642:39;;6700:38;6734:2;6723:9;6719:18;6700:38;:::i;:::-;6690:48;;6484:260;;;;;:::o;6749:380::-;6828:1;6824:12;;;;6871;;;6892:61;;6946:4;6938:6;6934:17;6924:27;;6892:61;6999:2;6991:6;6988:14;6968:18;6965:38;6962:161;;7045:10;7040:3;7036:20;7033:1;7026:31;7080:4;7077:1;7070:15;7108:4;7105:1;7098:15;6962:161;;6749:380;;;:::o;7134:127::-;7195:10;7190:3;7186:20;7183:1;7176:31;7226:4;7223:1;7216:15;7250:4;7247:1;7240:15;7266:128;7333:9;;;7354:11;;;7351:37;;;7368:18;;:::i;7399:127::-;7460:10;7455:3;7451:20;7448:1;7441:31;7491:4;7488:1;7481:15;7515:4;7512:1;7505:15;7531:120;7571:1;7597;7587:35;;7602:18;;:::i;:::-;-1:-1:-1;7636:9:1;;7531:120::o;8488:354::-;8690:2;8672:21;;;8729:2;8709:18;;;8702:30;8768:32;8763:2;8748:18;;8741:60;8833:2;8818:18;;8488:354::o;8847:148::-;8935:4;8914:12;;;8928;;;8910:31;;8953:13;;8950:39;;;8969:18;;:::i;9765:184::-;9835:6;9888:2;9876:9;9867:7;9863:23;9859:32;9856:52;;;9904:1;9901;9894:12;9856:52;-1:-1:-1;9927:16:1;;9765:184;-1:-1:-1;9765:184:1:o;9954:398::-;10156:2;10138:21;;;10195:2;10175:18;;;10168:30;10234:34;10229:2;10214:18;;10207:62;-1:-1:-1;;;10300:2:1;10285:18;;10278:32;10342:3;10327:19;;9954:398::o;11403:245::-;11470:6;11523:2;11511:9;11502:7;11498:23;11494:32;11491:52;;;11539:1;11536;11529:12;11491:52;11571:9;11565:16;11590:28;11612:5;11590:28;:::i;12085:409::-;12287:2;12269:21;;;12326:2;12306:18;;;12299:30;12365:34;12360:2;12345:18;;12338:62;-1:-1:-1;;;12431:2:1;12416:18;;12409:43;12484:3;12469:19;;12085:409::o;12911:168::-;12984:9;;;13015;;13032:15;;;13026:22;;13012:37;13002:71;;13053:18;;:::i;13084:125::-;13149:9;;;13170:10;;;13167:36;;;13183:18;;:::i;13214:135::-;13253:3;13274:17;;;13271:43;;13294:18;;:::i;:::-;-1:-1:-1;13341:1:1;13330:13;;13214:135::o;15159:127::-;15220:10;15215:3;15211:20;15208:1;15201:31;15251:4;15248:1;15241:15;15275:4;15272:1;15265:15;15417:545;15519:2;15514:3;15511:11;15508:448;;;15555:1;15580:5;15576:2;15569:17;15625:4;15621:2;15611:19;15695:2;15683:10;15679:19;15676:1;15672:27;15666:4;15662:38;15731:4;15719:10;15716:20;15713:47;;;-1:-1:-1;15754:4:1;15713:47;15809:2;15804:3;15800:12;15797:1;15793:20;15787:4;15783:31;15773:41;;15864:82;15882:2;15875:5;15872:13;15864:82;;;15927:17;;;15908:1;15897:13;15864:82;;;15868:3;;;15417:545;;;:::o;16138:1206::-;16262:18;16257:3;16254:27;16251:53;;;16284:18;;:::i;:::-;16313:94;16403:3;16363:38;16395:4;16389:11;16363:38;:::i;:::-;16357:4;16313:94;:::i;:::-;16433:1;16458:2;16453:3;16450:11;16475:1;16470:616;;;;17130:1;17147:3;17144:93;;;-1:-1:-1;17203:19:1;;;17190:33;17144:93;-1:-1:-1;;16095:1:1;16091:11;;;16087:24;16083:29;16073:40;16119:1;16115:11;;;16070:57;17250:78;;16443:895;;16470:616;15364:1;15357:14;;;15401:4;15388:18;;-1:-1:-1;;16506:17:1;;;16607:9;16629:229;16643:7;16640:1;16637:14;16629:229;;;16732:19;;;16719:33;16704:49;;16839:4;16824:20;;;;16792:1;16780:14;;;;16659:12;16629:229;;;16633:3;16886;16877:7;16874:16;16871:159;;;17010:1;17006:6;17000:3;16994;16991:1;16987:11;16983:21;16979:34;16975:39;16962:9;16957:3;16953:19;16940:33;16936:79;16928:6;16921:95;16871:159;;;17073:1;17067:3;17064:1;17060:11;17056:19;17050:4;17043:33;16443:895;;16138:1206;;;:::o;19525:663::-;19805:3;19843:6;19837:13;19859:66;19918:6;19913:3;19906:4;19898:6;19894:17;19859:66;:::i;:::-;19988:13;;19947:16;;;;20010:70;19988:13;19947:16;20057:4;20045:17;;20010:70;:::i;:::-;-1:-1:-1;;;20102:20:1;;20131:22;;;20180:1;20169:13;;19525:663;-1:-1:-1;;;;19525:663:1:o;21250:179::-;21281:1;21307:6;21340:2;21337:1;21333:10;21362:3;21352:37;;21369:18;;:::i;:::-;21407:10;;21403:20;;;;;21250:179;-1:-1:-1;;21250:179:1:o;21434:168::-;21501:6;21527:10;;;21539;;;21523:27;;21562:11;;;21559:37;;;21576:18;;:::i;:::-;21559:37;21434:168;;;;:::o;21607:187::-;21646:1;21672:6;21705:2;21702:1;21698:10;21727:3;21717:37;;21734:18;;:::i;:::-;21772:10;;21768:20;;;;;21607:187;-1:-1:-1;;21607:187:1:o;22623:151::-;22713:4;22706:12;;;22692;;;22688:31;;22731:14;;22728:40;;;22748:18;;:::i;23143:112::-;23175:1;23201;23191:35;;23206:18;;:::i;:::-;-1:-1:-1;23240:9:1;;23143:112::o;23260:401::-;23462:2;23444:21;;;23501:2;23481:18;;;23474:30;23540:34;23535:2;23520:18;;23513:62;-1:-1:-1;;;23606:2:1;23591:18;;23584:35;23651:3;23636:19;;23260:401::o;24786:414::-;24988:2;24970:21;;;25027:2;25007:18;;;25000:30;25066:34;25061:2;25046:18;;25039:62;-1:-1:-1;;;25132:2:1;25117:18;;25110:48;25190:3;25175:19;;24786:414::o;26345:489::-;-1:-1:-1;;;;;26614:15:1;;;26596:34;;26666:15;;26661:2;26646:18;;26639:43;26713:2;26698:18;;26691:34;;;26761:3;26756:2;26741:18;;26734:31;;;26539:4;;26782:46;;26808:19;;26800:6;26782:46;:::i;:::-;26774:54;26345:489;-1:-1:-1;;;;;;26345:489:1:o;26839:249::-;26908:6;26961:2;26949:9;26940:7;26936:23;26932:32;26929:52;;;26977:1;26974;26967:12;26929:52;27009:9;27003:16;27028:30;27052:5;27028:30;:::i;27093:127::-;27154:10;27149:3;27145:20;27142:1;27135:31;27185:4;27182:1;27175:15;27209:4;27206:1;27199:15

Swarm Source

ipfs://22950a33cb41106db5811b01b77f57e2d60ef44ee818dc30791b1b38e05a5b12
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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