ETH Price: $3,638.90 (-6.54%)

Token

Doug SBT (NFT)
 

Overview

Max Total Supply

0 NFT

Holders

109

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 NFT
0x4a924b552f8d789adef4bb890efb2cd2a6de7650
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:
DougSoul

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// SPDX-License-Identifier: UNLICENSED AND MIT

// File: contracts/Ownable.sol


pragma solidity >=0.8.0 <0.9.0;

/**
 * @title Ownable
 * @dev track owner
 */
contract Ownable {
    address internal _owner;

    // modifier to check if caller is owner
    modifier isOwner() {
        require(msg.sender == _owner, "Caller is not owner");
        _;
    }

    /**
     * @dev Set owner's address
     */
    constructor(address owner) {
        _owner = owner;
    }
}

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

        return (signer, RecoverError.NoError);
    }

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

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

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

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

// File: @openzeppelin/contracts/utils/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/token/ERC721/IERC721.sol

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

// File: @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/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/utils/Address.sol

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/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/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/ERC721.sol

// OpenZeppelin Contracts (last updated v4.8.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 {
        if (batchSize > 1) {
            if (from != address(0)) {
                _balances[from] -= batchSize;
            }
            if (to != address(0)) {
                _balances[to] += batchSize;
            }
        }
    }

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

// File: contracts/DutchAuction.sol


pragma solidity >=0.8.0 <0.9.0;

contract DutchAuction {
    uint256 internal _initialPrice;
    uint256 internal _minPrice;
    uint256 internal _step;
    uint256 public startedAt;
    uint256 public finalPrice;

    constructor(
        uint256 initialPrice,
        uint256 minPrice,
        uint256 step,
        uint256 startTime
    ) {
        _initialPrice = initialPrice;
        _minPrice = minPrice;
        _step = step;
        startedAt = startTime;
        finalPrice = minPrice;
    }

    function currentPrice() public view returns (uint256) {
        if (block.timestamp < startedAt) return _initialPrice;

        uint256 delta = block.timestamp - startedAt;
        uint256 thirtyMinuteDecrease = (delta / (30 * 60)) * _step;
        if (thirtyMinuteDecrease >= _initialPrice) {
            return _minPrice;
        }
        uint256 price = _initialPrice - thirtyMinuteDecrease;
        if (price < _minPrice) {
            return _minPrice;
        }
        return price;
    }
}

// File: contracts/DougTag.sol


pragma solidity >=0.8.0 <0.9.0;

/**
 * @title DougTag
 * @dev DougTag NFT
 */
contract DougTag is Ownable, ERC721 {
    string private _uri;
    mapping(uint256 => uint8) private _types;
    mapping(uint256 => uint8) private _ranks;
    mapping(uint256 => uint8) private _sequenceNumbers;
    uint256 private _tokenCounter;
    address private _doug;

    constructor(address _owner) ERC721("DougTag", "DOUG_TAG") Ownable(_owner) {
        _doug = msg.sender;
    }

    function getDougType(uint256 tokenId) public view returns (uint8) {
        require(_exists(tokenId), "DougTag: token doesn't exist");
        return _types[tokenId];
    }

    function mint(
        address to,
        uint8 dougType,
        uint8 dougRank,
        uint8 sequenceNumber
    ) public {
        require(msg.sender == _doug, "DougTag: Not Doug");
        _tokenCounter++;
        _types[_tokenCounter] = dougType;
        _ranks[_tokenCounter] = dougRank;
        _sequenceNumbers[_tokenCounter] = sequenceNumber;

        _safeMint(to, _tokenCounter);
    }

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

    function reveal(string memory baseURI) public {
        require(msg.sender == _doug, "DougTag: Not Doug");
        _uri = baseURI;
    }

    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
        string memory baseURI = _baseURI();

        string memory dougType = Strings.toString(_types[tokenId]);
        string memory rank = Strings.toString(_ranks[tokenId]);
        string memory sequenceNumber = Strings.toString(_ranks[tokenId]);
        bytes memory fullUri = abi.encodePacked(
            baseURI,
            "doug_tag_",
            dougType,
            "_",
            rank,
            "_",
            sequenceNumber,
            ".json"
        );
        return string(fullUri);
    }
}

// File: contracts/IDougBank.sol


pragma solidity >=0.8.0 <0.9.0;

uint8 constant LEADERBOARD_SIZE = 8;

interface IDougBank {
    function onTokenMerged(
        uint8 _type,
        uint8 _rank,
        uint256 tokenA,
        uint256 tokenB,
        uint256 merged
    ) external;
}

// File: contracts/IDougToken.sol


pragma solidity >=0.8.0 <0.9.0;

uint8 constant DOUG_TYPES = 100;

interface IDougToken {
    function ownerOf(uint256 tokenId) external view returns (address owner);

    function dougType(uint256 tokenId) external view returns (uint8 dougType);

    function dougRank(uint256 tokenId) external view returns (uint8);
}

// File: contracts/Leaderboard.sol


pragma solidity >=0.8.0 <0.9.0;


uint16 constant LEADERBOARD_PTS_TOTAL = 546;
uint32 constant MAX_LEADERBOARD_SCORE = 2097151;

contract Leaderboard {
    uint32[7] private _increments;

    uint8[DOUG_TYPES] public _leaderboard;
    uint32[DOUG_TYPES] public _typeScore; // init to zero
    uint128[DOUG_TYPES] public _typeRoyalties;

    uint8[21] public _leaderboardAmounts;

    uint8[21] private _top20Amounts;
    uint8 private top20Count;
    uint8[21] private _top20TiedAmounts;
    uint8 private completeCount;

    constructor() {
        _increments[1] = 1;
        _increments[2] = 64;
        _increments[3] = 2048;
        _increments[4] = 32768;
        _increments[5] = 262144;
        _increments[6] = 1048576;

        for (uint8 i = 0; i < 100; i++) {
            // the very first entry is not an actual flavor, we use it to find the start of the flavor list
            _leaderboard[i] = i;
        }

        _top20Amounts[0] = 100;
        _top20Amounts[1] = 76;
        _top20Amounts[2] = 60;
        _top20Amounts[3] = 50;
        _top20Amounts[4] = 42;
        _top20Amounts[5] = 36;
        _top20Amounts[6] = 31;
        _top20Amounts[7] = 27;
        _top20Amounts[8] = 23;
        _top20Amounts[9] = 20;
        _top20Amounts[10] = 17;
        _top20Amounts[11] = 14;
        _top20Amounts[12] = 12;
        _top20Amounts[13] = 10;
        _top20Amounts[14] = 8;
        _top20Amounts[15] = 7;
        _top20Amounts[16] = 5;
        _top20Amounts[17] = 4;
        _top20Amounts[18] = 3;
        _top20Amounts[19] = 2;
        _top20Amounts[20] = 0; // have an extra entry to elimate need for a bounds check

        _top20TiedAmounts[0] = 100;
        _top20TiedAmounts[1] = 88;
        _top20TiedAmounts[2] = 78;
        _top20TiedAmounts[3] = 71;
        _top20TiedAmounts[4] = 65;
        _top20TiedAmounts[5] = 60;
        _top20TiedAmounts[6] = 56;
        _top20TiedAmounts[7] = 53;
        _top20TiedAmounts[8] = 49;
        _top20TiedAmounts[9] = 46;
        _top20TiedAmounts[10] = 43;
        _top20TiedAmounts[11] = 41;
        _top20TiedAmounts[12] = 39;
        _top20TiedAmounts[13] = 36;
        _top20TiedAmounts[14] = 35;
        _top20TiedAmounts[15] = 33;
        _top20TiedAmounts[16] = 31;
        _top20TiedAmounts[17] = 30;
        _top20TiedAmounts[18] = 28;
        _top20TiedAmounts[19] = 27;
        _top20TiedAmounts[20] = 0; // last entry (21st place ) stops the top20 Bonus altogether
    }

    function updateLeaderboard(uint8 _rank, uint8 _type) internal {
        uint32 _delta = _increments[_rank];

        uint32 _newTypeScore = _typeScore[_type] + _delta;

        _typeScore[_type] = _newTypeScore;

        // Activate each of the leaderboard top20 payout slots as each of the first 20 types enter the top20

        if (_newTypeScore == 1) {
            if (top20Count < 20) {
                _leaderboardAmounts[top20Count] = _top20Amounts[top20Count];
                top20Count++;
            }
        }

        // Flatten Top20 rewards when top spot is tied
        // When all 20 are tied, top20 rewards go to 0 and
        // so top20 portion will now distributes across all 100 Doug Flavors

        if (_newTypeScore == MAX_LEADERBOARD_SCORE) {
            if (completeCount < 21) {
                completeCount++;
                for (uint8 i = completeCount; i > 0; i--) {
                    _leaderboardAmounts[i - 1] = _top20TiedAmounts[completeCount - 1];
                }
            }
        }

        // Scan list backward (0 is highest score) from current position copying forward until we find new position
        // Also copy forward the array of _typeRoyalties each time
        // (At the start this may take up to 99 iterations)

        uint8 pos = leaderboardPosition(_type); // find where this type is in the leaderboard (0 is highest)
        uint128 thisRoyalty = _typeRoyalties[pos];

        while (pos > 0) {
            // only check/loop while current pos is not the highest
            uint8 nextType = _leaderboard[pos - 1];
            if (_newTypeScore > _typeScore[nextType]) {
                _leaderboard[pos] = nextType; // relocate the exisitng type that *was* higher in the leaderboard
                _typeRoyalties[pos] = _typeRoyalties[pos - 1]; // relocate the coreespnding Royalty total
            } else {
                break;
            }
            pos--;
        }
        _leaderboard[pos] = _type;
        _typeRoyalties[pos] = thisRoyalty;
    }

    function typeScores() public view returns (uint32[100] memory) {
        return _typeScore;
    }

    function leaderboard() public view returns (uint8[DOUG_TYPES] memory) {
        return _leaderboard;
    }

    function leaderboardPosition(uint8 _type) public view returns (uint8) {
        uint8 pos = 0;
        while (_leaderboard[pos] != _type) {
            pos++;
        }
        return pos;
    }
}

// File: contracts/DougBank.sol


pragma solidity >=0.8.0 <0.9.0;



contract DougBank is Ownable, Leaderboard, IDougBank {
    uint256 public devRoyalties;
    uint256 public commonRoyalties;
    uint256 public undistributedRoyalties;
    IDougToken private _token;
    mapping(uint256 => uint256) public _withdrawals;
    uint16[7] private _rankShareRatio = [2, 5, 12, 28, 64, 144, 320];

    constructor(address tokenAddress, address owner) payable Ownable(owner) {
        _token = IDougToken(tokenAddress);
        for (uint8 i = 0; i < DOUG_TYPES; i++) {
            _typeRoyalties[i] = 1;
        }
    }

    receive() external payable {
        uint256 _devShare = (msg.value * 20) / 100;
        uint256 _communityShare = msg.value - _devShare;

        devRoyalties += _devShare;
        uint256 _highScoreShare = _communityShare >> (1);
        uint256 distributionPerPoint = _highScoreShare / LEADERBOARD_PTS_TOTAL;

        uint256 _disbursed;

        // Plough through the top20 of the ordered leaderboard allocating the bonus royalty share

        for (uint256 i = 0; i < 20; i++) {
            uint8 points = _leaderboardAmounts[i];
            uint128 _typeShare = uint128(distributionPerPoint * points);

            _typeRoyalties[i] += _typeShare;
            _disbursed += _typeShare;
        }

        commonRoyalties += _communityShare - _disbursed;
    }

    function onTokenMerged(
        uint8 _type,
        uint8 _rank,
        uint256 tokenA,
        uint256 tokenB,
        uint256 merged
    ) external override {
        require(msg.sender == address(_token), "DougBank: invalid sender");
        updateLeaderboard(_rank, _type);

        _withdrawals[merged] = _withdrawals[tokenA] + _withdrawals[tokenB];
    }

    function tokenBalance(uint256 tokenId) public view returns (uint256) {
        uint8 _dougType = _token.dougType(tokenId);
        uint8 _dougRank = _token.dougRank(tokenId);

        uint8 _position = leaderboardPosition(_dougType);
        uint256 _typeShare = _typeRoyalties[_position];
        uint256 _totalTypeRoyalties = _typeShare + commonRoyalties / 100;
        uint256 _tokenRoyalties = (_totalTypeRoyalties * _rankShareRatio[_dougRank]) / 575;
        return _tokenRoyalties - _withdrawals[tokenId];
    }

    function tokenBalanceMany(uint256[] memory tokenIds) public view returns (uint256) {
        address _tokenOwnerFirst = _token.ownerOf(tokenIds[0]);
        require(_tokenOwnerFirst == msg.sender, "DougBank: not owner of token");
        uint256 _available = 0;

        for (uint256 i = 0; i < tokenIds.length; i++) {
            uint256 tokenId = tokenIds[i];
            address _tokenOwner = _token.ownerOf(tokenId);
            require(_tokenOwner == _tokenOwnerFirst, "DougBank: not owner of token");
            uint256 _tokenAvailable = tokenBalance(tokenId);
            _available += _tokenAvailable;
        }

        return _available;
    }

    function transferTokenBalance(uint256 tokenId) public {
        address _tokenOwner = _token.ownerOf(tokenId);
        require(_tokenOwner == msg.sender, "DougBank: not owner of token");
        address payable _to = payable(_tokenOwner);
        uint256 _available = tokenBalance(tokenId);
        _withdrawals[tokenId] += _available;

        _to.transfer(_available);
    }

    function transferTokenBalanceMany(uint256[] memory tokenIds) public {
        address _tokenOwnerFirst = _token.ownerOf(tokenIds[0]);
        require(_tokenOwnerFirst == msg.sender, "DougBank: not owner of token");
        address payable _to = payable(_tokenOwnerFirst);
        uint256 _available = 0;

        for (uint256 i = 0; i < tokenIds.length; i++) {
            uint256 tokenId = tokenIds[i];
            address _tokenOwner = _token.ownerOf(tokenId);
            require(_tokenOwner == _tokenOwnerFirst, "DougBank: not owner of token");
            uint256 _tokenAvailable = tokenBalance(tokenId);
            _withdrawals[tokenId] += _tokenAvailable;
            _available += _tokenAvailable;
        }

        _to.transfer(_available);
    }

    function withdrawDeveloperRoyalties(address toAddress) public isOwner {
        uint256 _amount = devRoyalties;
        devRoyalties = 0;
        address payable _to = payable(toAddress);
        _to.transfer(_amount);
    }

    function withdrawAll() public isOwner {
        address payable _to = payable(_owner);
        uint256 _amount = address(this).balance;
        _to.transfer(_amount);
    }
}

// File: contracts/Doug.sol


pragma solidity >=0.8.0 <0.9.0;






uint8 constant MAX_SUPPLY_PER_TYPE = 127;
uint8 constant MAX_TOKENS_PER_REQUEST = 5;

/**
 * @title Doug
 * @dev Doug NFT
 */
contract Doug is Ownable, DutchAuction, ERC721, IDougToken {
    string private _uri;
    bool public revealed;
    bool public isFrozen;
    DougBank private _bank;
    DougTag private _tags;
    address private immutable _signer;
    mapping(uint256 => uint8) private _dougTypes;
    mapping(uint256 => uint8) private _dougRanks;
    mapping(uint256 => uint8) private _dougSeqNos;
    uint8[MAX_SUPPLY_PER_TYPE] private _tumblers;
    uint8[DOUG_TYPES][7] private _dougCounts;

    uint256 private _reserveMax;
    uint256 private _mergeCounter = 12700;
    uint256 private _mintCounter;
    uint256 private _invitePrice;
    uint256 private _inviteStartTime;

    constructor(
        string memory baseURI,
        address signer,
        uint256 invitePrice,
        uint256 reserveMax,
        uint256 initialPrice,
        uint256 minPrice,
        uint256 step,
        uint256 inviteStartTime,
        uint256 startTime
    )
        payable
        ERC721("Doug", "DOUG")
        DutchAuction(initialPrice, minPrice, step, startTime)
        Ownable(msg.sender)
    {
        _uri = baseURI;
        _signer = signer;
        _invitePrice = invitePrice;
        _reserveMax = reserveMax;
        _inviteStartTime = inviteStartTime;
        _tags = new DougTag(msg.sender);
        _bank = (new DougBank){value: msg.value}(address(this), msg.sender);
    }

    function dougsMinted() public view returns (uint256) {
        return _mintCounter;
    }

    function dougsRemaining() public view returns (uint256) {
        return 12700 - _mintCounter;
    }

    function getInviteStartTime() public view returns (uint256) {
        return _inviteStartTime;
    }

    function getInvitePrice() public view returns (uint256) {
        return _invitePrice;
    }

    function mintWithInvite(bytes memory nonce, bytes memory signature) public payable {
        require(msg.value >= _invitePrice, "Doug: incorrect price");
        require(_mintCounter >= _reserveMax, "Doug: reserve mint is incomplete");
        require(block.timestamp >= _inviteStartTime, "Doug: invites are not open");
        require(block.timestamp < startedAt, "Doug: auction already started");
        bytes memory message = abi.encodePacked(msg.sender, nonce);
        require(_signatureValid(message, signature), "Doug: invalid signature");
        _mint();
    }

    function mint(uint8 amount) public payable {
        require(amount <= MAX_TOKENS_PER_REQUEST, "Doug: unable to mint that many");
        require(msg.value >= currentPrice() * amount, "Doug: incorrect price");
        require(_mintCounter >= _reserveMax, "Doug: reserve mint is incomplete");
        require(block.timestamp >= startedAt, "Doug: auction has not started");

        for (uint8 i = 0; i < amount; i++) {
            _mint();
        }
    }

    function _mint() internal {
        require(_mintCounter < 12700, "Doug: no more supply");
        _mintCounter++;
        _dougRanks[_mintCounter] = 0;
        _safeMint(msg.sender, _mintCounter);
    }

    function merge(uint256 tokenA, uint256 tokenB) public {
        require(isFrozen, "Doug: merge not allowed");
        require(tokenA != tokenB, "Doug: can't merge with itself");
        require(ownerOf(tokenA) == msg.sender, "Doug: not owner of 1st token");
        require(ownerOf(tokenB) == msg.sender, "Doug: not owner of 2nd token");
        uint8 _dougRank = _dougRanks[tokenA];
        require(_dougRank == _dougRanks[tokenB], "Doug: rank mismatch");
        uint8 _dougType = dougType(tokenA);
        require(_dougType == dougType(tokenB), "Doug: type mismatch");
        uint8 _newRank = _dougRank + 1;

        uint8 tokenASequenceNumber = dougSequenceNumber(tokenA);
        uint8 tokenBSequenceNumber = dougSequenceNumber(tokenB);

        _burn(tokenA);
        _burn(tokenB);
        _mergeCounter++;
        uint256 tokenId = _mergeCounter;
        _dougRanks[tokenId] = _newRank;
        _dougTypes[tokenId] = _dougType;
        _dougSeqNos[tokenId] = _dougCounts[_newRank][_dougType];
        _dougCounts[_newRank][_dougType]++;

        _safeMint(msg.sender, tokenId);
        _tags.mint(msg.sender, _dougType, _dougRank, tokenASequenceNumber);
        _tags.mint(msg.sender, _dougType, _dougRank, tokenBSequenceNumber);

        _bank.onTokenMerged(_dougType, _newRank, tokenA, tokenB, tokenId);
    }

    function _signatureValid(bytes memory message, bytes memory signature)
        internal
        view
        returns (bool)
    {
        bytes32 messageHash = ECDSA.toEthSignedMessageHash(message);
        return _signer == ECDSA.recover(messageHash, signature);
    }

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

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

        // If post reveal
        if (revealed) {
            string memory seqNo = Strings.toString(dougSequenceNumber(tokenId));
            string memory rank = Strings.toString(_dougRanks[tokenId]);
            string memory tokenType = Strings.toString(dougType(tokenId));
            bytes memory fullUri = abi.encodePacked(
                baseURI,
                "doug_",
                tokenType,
                "_",
                rank,
                "_",
                seqNo,
                ".json"
            );
            return bytes(baseURI).length > 0 ? string(fullUri) : "";
        }

        // pre-reveal
        string memory tokenStr = Strings.toString(tokenId);
        bytes memory placeholderUri = abi.encodePacked(baseURI, "pre_doug_", tokenStr, ".json");
        return bytes(baseURI).length > 0 ? string(placeholderUri) : "";
    }

    function ownerOf(uint256 tokenId) public view override(ERC721, IDougToken) returns (address) {
        return ERC721.ownerOf(tokenId);
    }

    function randomNumber(uint8 max, uint8 index) internal view returns (uint8) {
        uint256 k = uint256(keccak256(abi.encodePacked(block.difficulty, block.timestamp, index)));
        return uint8(k % max);
    }

    function dougType(uint256 tokenId) public view returns (uint8) {
        if (_dougRanks[tokenId] > 0) {
            return _dougTypes[tokenId];
        }

        uint8 tumblerNumber = uint8(tokenId % MAX_SUPPLY_PER_TYPE);
        uint8 offset = _tumblers[tumblerNumber];
        uint8 tokenType = (uint8(tokenId / MAX_SUPPLY_PER_TYPE) + offset) % DOUG_TYPES;
        return tokenType;
    }

    function dougRank(uint256 tokenId) public view returns (uint8) {
        return _dougRanks[tokenId];
    }

    function dougSequenceNumber(uint256 tokenId) public view returns (uint8) {
        if (_dougRanks[tokenId] > 0) {
            return _dougSeqNos[tokenId];
        }

        return uint8(tokenId % MAX_SUPPLY_PER_TYPE);
    }

    // Admin utilities
    function mintReserve(uint16 amount, address to) public isOwner {
        require(_mintCounter + amount <= _reserveMax, "Doug: amount exceeds reserve max");
        require(_mintCounter + amount <= 12700, "Doug: no more supply");
        uint256 newTokenId = _mintCounter;
        unchecked {
            for (uint16 i = 0; i < amount; i++) {
                newTokenId++;
                _mint(to, newTokenId);
            }
        }

        _mintCounter = newTokenId;
    }

    function reveal(string memory baseURI) public isOwner {
        require(!isFrozen, "Doug: Cannot reveal after freeze");

        _uri = baseURI;
        revealed = true;

        // Assign Doug Type Tumblers
        for (uint8 i = 0; i < MAX_SUPPLY_PER_TYPE; i++) {
            _tumblers[i] = randomNumber(MAX_SUPPLY_PER_TYPE, i);
        }

        _tags.reveal(baseURI);
    }

    function mergeAllowed() public view returns (bool) {
        return isFrozen;
    }

    function withdrawAll() public isOwner {
        address payable _to = payable(_owner);
        uint256 _balance = address(this).balance;
        _to.transfer(_balance);
    }

    function owner() public view virtual returns (address) {
        return _owner;
    }

    function tagsContract() external view returns (address) {
        return address(_tags);
    }

    function bankContract() external view returns (address) {
        return address(_bank);
    }

    function freeze() public isOwner {
        isFrozen = true;
    }

    function setInviteStartTime(uint256 inviteStartTime) public isOwner {
        _inviteStartTime = inviteStartTime;
    }

    function setAuctionDetails(
        uint256 initialPrice,
        uint256 minPrice,
        uint256 step,
        uint256 startTime
    ) public isOwner {
        _initialPrice = initialPrice;
        _minPrice = minPrice;
        _step = step;
        startedAt = startTime;
    }
}

// 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: contracts/AdminOwnable.sol


pragma solidity ^0.8.0;

/**
 * @title Ownable
 * @dev track owner
 */
contract AdminOwnable {
    address internal _owner;
    address internal _admin;

    // modifier to check if caller is owner
    modifier isOwner() {
        require(msg.sender == _owner, "Caller is not owner");
        _;
    }

    // modifier to check if caller is owner
    modifier isAdminOrOwner() {
        require(msg.sender == _owner || msg.sender == _admin, "Caller is not owner or admin");
        _;
    }

    /**
     * @dev Set owner's address
     */
    constructor(address owner) {
        _owner = owner;
    }
}

// File: contracts/DougSoul.sol

//Contract based on [https://docs.openzeppelin.com/contracts/3.x/erc721](https://docs.openzeppelin.com/contracts/3.x/erc721)
pragma solidity ^0.8.0;





contract DougSoul is ERC721, AdminOwnable {
    using Counters for Counters.Counter;
    Counters.Counter private _tokenIds;
    mapping(address => uint16) private _whitelist;
    mapping(address => bool) private _allowedShareCodes;
    mapping(uint256 => bool) private _redeemed;
    uint256 _epochMax1;
    uint256 _epochMax2;
    uint256 _epochMax3;
    uint256 _price;
    uint256 _finalTokenId;
    string _imagesRootHash;
    address _redeemer;
    uint256 _dougTokenOffset;

    constructor(
        uint256 price, 
        uint256 epochMax1,
        uint256 epochMax2, 
        uint256 epochMax3,
        string memory imagesRootHash,
        uint256 finalTokenId,
        uint256 dougTokenOffset) ERC721("Doug SBT", "NFT") AdminOwnable(msg.sender)
    {
        _price = price;
        _epochMax1 = epochMax1;
        _epochMax2 = epochMax2;
        _epochMax3 = epochMax3;
        _imagesRootHash = imagesRootHash;
        _finalTokenId = finalTokenId;
        _dougTokenOffset = dougTokenOffset;
    }

    /// PUBLIC ================================
    function getOffset() public view returns(uint256) {
        return _dougTokenOffset;
    }

    function getEpoch(uint256 token) public view returns(uint8) {
        if(token <= _epochMax1) 
            return 1;
        if(token <= _epochMax2) 
            return 2;
        if(token <= _epochMax3) 
            return 3;

        return 4;
    }
    
    function getCurrentPrice() public view returns(uint256) {
        return _price;
    }

    function getWhiteListCount() public view returns (uint16) {
        return _whitelist[_msgSender()];
    }

    function getWhiteListCountForAddress(address wallet) public view returns (uint16) {
        return _whitelist[wallet];
    }
    
    function getLastTokenId() public view returns (uint256) {
        return _tokenIds.current() + _dougTokenOffset;
    }

    function mint() public payable returns (uint256) {
        require(msg.value >= _price, "incorrect price");
        require(_whitelist[_msgSender()] >= 1, "not on whitelist");
        require(_tokenIds.current() + _dougTokenOffset < _finalTokenId, "all SBTs minted");

        _tokenIds.increment();

        uint256 newItemId = _tokenIds.current() + _dougTokenOffset;

        _mint(_msgSender(), newItemId);

        _whitelist[_msgSender()] = _whitelist[_msgSender()] - 1;
        _allowedShareCodes[_msgSender()] = true;

        return newItemId;
    }

    function burn(uint256 tokenId) public {
        require(_msgSender() == ownerOf(tokenId), "not owner");
        require(_exists(tokenId), "does not exist");
        _burn(tokenId);
    }

    function tokenName(uint8 epoch) internal pure returns (string memory) {
        if(epoch == 2) {
            return "Epoch #2 Soulbound Token";
        }
        else if(epoch == 3) {
            return "Epoch #3 Soulbound Token";
        }

        return "";
    }

    function tokenDescription(uint8 epoch) internal pure returns (string memory) {
        if(epoch == 2) {
            return 'Redeem this token for one \u201cBonus Footage\u201d pre-reveal box at [https://app.commanderdoug.io/redeem](https://app.commanderdoug.io/redeem). \u201cBonus Footage\u201d Doug Boxes contain one Doug and the holder will be airdropped two additional Doug boxes prior to unboxing day.';
        }
        else if(epoch == 3) {
            return 'Redeem this token for one \u201cDirector\u2019s Cut\u201d pre-reveal box at [https://app.commanderdoug.io/redeem](https://app.commanderdoug.io/redeem). \u201cDirector\u2019s Cut\u201d Doug Boxes contain one Doug and the holder will be airdropped one additional Doug box prior to unboxing day.';
        }

        return "Redeem this token for one regular pre-reveal box (contains one Doug) at [https://app.commanderdoug.io/redeem](https://app.commanderdoug.io/redeem).";
    }

    function tokenImage(uint256 tokenId, uint8 epoch) internal view returns (string memory) {
        if(_redeemed[tokenId]) {
            if(epoch == 2) {
                return string(abi.encodePacked("ipfs://", _imagesRootHash, "/EP2_redeemed.png"));
            }
            else if(epoch == 3) {
                return string(abi.encodePacked("ipfs://", _imagesRootHash, "/EP3_redeemed.png"));
            }
            else {
                return string(abi.encodePacked("ipfs://", _imagesRootHash, "/WL_redeemed.png"));
            }
        }
        else {

            if(epoch == 2) {
                return string(abi.encodePacked("ipfs://", _imagesRootHash, "/EP2.png"));
            }
            else if(epoch == 3) {
                return string(abi.encodePacked("ipfs://", _imagesRootHash, "/EP3.png"));
            }
            else {
                return string(abi.encodePacked("ipfs://", _imagesRootHash, "/WL.png"));
            }
        }
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { 
        uint8 epoch = getEpoch(tokenId);
        string memory name = tokenName(epoch);
        string memory desc = tokenDescription(epoch);
        string memory image = tokenImage(tokenId, epoch);
        string memory redeemed = _redeemed[tokenId] ? "Yes" : "No";
        string memory epochValue = epoch == 2 ? "Epoch 2" : (epoch == 3 ? "Epoch 3" : "Early Access");

        return string(
                abi.encodePacked(
                    'data:application/json;base64,',
                    Base64.encode(
                        //bytes(
                            abi.encodePacked( 
                                '{\n',
                                '"name": "', name, '",\n',
                                '"description": "', desc, '",\n',
                                '"image": "', image, '",\n',
                                '"external_url":"https://www.commanderdoug.io",\n',
                                '"attributes": [{ "trait_type": "Redeemed", "value": "', redeemed, '"}, { "trait_type": "Minting Phase", "value": "', epochValue, '"}]\n',
                                '}'
                                )
                        //)
                    )
                )
        );
    }

    function redeem(uint256 tokenId) public {
        require(msg.sender == _redeemer, "Must be redeemer contract");
        _redeemed[tokenId] = true;
    }

    function isRedeemed(uint256 tokenId) public view returns(bool) {
        return _redeemed[tokenId];
    }

    function getIsAllowedSharedCodes() public view returns (bool) {
        return _allowedShareCodes[_msgSender()];
    }

    function getIsAllowedSharedCodes(address wallet) public view returns (bool) {
        return _allowedShareCodes[wallet];
    }

    /// Owner ================================
    function setAdmin(address admin) public isOwner {
        _admin = admin;
    }

    function setRedeemer(address redeemer) public isOwner {
        _redeemer = redeemer;
    }

    function setEpochMax2(uint256 epochMax2) public isOwner {
        _epochMax2 = epochMax2;
    }

    function setEpochMax3(uint256 epochMax3) public isOwner {
        _epochMax3 = epochMax3;
    }

    function setImagesRootHash(string memory imagesRootHash) public isOwner {
        _imagesRootHash = imagesRootHash;
    }

    function setFinalTokenId(uint256 finalTokenId) public isOwner {
        _finalTokenId = finalTokenId;
    }

    function setDougOffset(uint256 dougTokenOffset) public isOwner {
        _dougTokenOffset = dougTokenOffset;
    }

    function setPrice(uint256 price) public isOwner { 
        _price = price;
    }

    /// Admin ================================
    function whitelistAddress(address wallet, uint16 count, bool allowedShareCodes) public isAdminOrOwner {
        _whitelist[wallet] = count;
        _allowedShareCodes[wallet] = allowedShareCodes;
    }

    function whitelistAddresses(address [] memory wallets, uint16 whitelistCount, bool allowedShareCodes) public isAdminOrOwner {
        for(uint i = 0; i < wallets.length; i++) {
            address wallet = wallets[i];
            _whitelist[wallet] = whitelistCount;
            _allowedShareCodes[wallet] = allowedShareCodes;
        }
    }

    function withdrawAll(address to) public isOwner {
        address payable _to = payable(to);
        uint256 _balance = address(this).balance;
        _to.transfer(_balance);
    }
    

    /// Internal ================================
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual override {
        require(from == address(0) || to == address(0), "Soulbound token is non-transferrable");
        super._beforeTokenTransfer(from, to, firstTokenId, batchSize);
    }
}


/// @title Base64
/// @author Brecht Devos - <[email protected]>
/// @notice Provides a function for encoding some bytes in base64
/// @notice NOT BUILT BY ETHERORCS TEAM. Thanks Bretch Devos!
library Base64 {
    string internal constant TABLE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';

    function encode(bytes memory data) internal pure returns (string memory) {
        if (data.length == 0) return '';
        
        // load the table into memory
        string memory table = TABLE;

        // multiply by 4/3 rounded up
        uint256 encodedLen = 4 * ((data.length + 2) / 3);

        // add some extra buffer at the end required for the writing
        string memory result = new string(encodedLen + 32);

        assembly {
            // set the actual output length
            mstore(result, encodedLen)
            
            // prepare the lookup table
            let tablePtr := add(table, 1)
            
            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))
            
            // result ptr, jump over length
            let resultPtr := add(result, 32)
            
            // run over the input, 3 bytes at a time
            for {} lt(dataPtr, endPtr) {}
            {
               dataPtr := add(dataPtr, 3)
               
               // read 3 bytes
               let input := mload(dataPtr)
               
               // write 4 characters
               mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr(18, input), 0x3F)))))
               resultPtr := add(resultPtr, 1)
               mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr(12, input), 0x3F)))))
               resultPtr := add(resultPtr, 1)
               mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr( 6, input), 0x3F)))))
               resultPtr := add(resultPtr, 1)
               mstore(resultPtr, shl(248, mload(add(tablePtr, and(        input,  0x3F)))))
               resultPtr := add(resultPtr, 1)
            }
            
            // padding with '='
            switch mod(mload(data), 3)
            case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) }
            case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) }
        }
        
        return result;
    }
}

// File: hardhat/console.sol

pragma solidity >= 0.4.22 <0.9.0;

library console {
	address constant CONSOLE_ADDRESS = address(0x000000000000000000636F6e736F6c652e6c6f67);

	function _sendLogPayload(bytes memory payload) private view {
		uint256 payloadLength = payload.length;
		address consoleAddress = CONSOLE_ADDRESS;
		assembly {
			let payloadStart := add(payload, 32)
			let r := staticcall(gas(), consoleAddress, payloadStart, payloadLength, 0, 0)
		}
	}

	function log() internal view {
		_sendLogPayload(abi.encodeWithSignature("log()"));
	}

	function logInt(int256 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(int256)", p0));
	}

	function logUint(uint256 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256)", p0));
	}

	function logString(string memory p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string)", p0));
	}

	function logBool(bool p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool)", p0));
	}

	function logAddress(address p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address)", p0));
	}

	function logBytes(bytes memory p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes)", p0));
	}

	function logBytes1(bytes1 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes1)", p0));
	}

	function logBytes2(bytes2 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes2)", p0));
	}

	function logBytes3(bytes3 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes3)", p0));
	}

	function logBytes4(bytes4 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes4)", p0));
	}

	function logBytes5(bytes5 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes5)", p0));
	}

	function logBytes6(bytes6 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes6)", p0));
	}

	function logBytes7(bytes7 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes7)", p0));
	}

	function logBytes8(bytes8 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes8)", p0));
	}

	function logBytes9(bytes9 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes9)", p0));
	}

	function logBytes10(bytes10 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes10)", p0));
	}

	function logBytes11(bytes11 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes11)", p0));
	}

	function logBytes12(bytes12 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes12)", p0));
	}

	function logBytes13(bytes13 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes13)", p0));
	}

	function logBytes14(bytes14 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes14)", p0));
	}

	function logBytes15(bytes15 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes15)", p0));
	}

	function logBytes16(bytes16 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes16)", p0));
	}

	function logBytes17(bytes17 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes17)", p0));
	}

	function logBytes18(bytes18 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes18)", p0));
	}

	function logBytes19(bytes19 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes19)", p0));
	}

	function logBytes20(bytes20 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes20)", p0));
	}

	function logBytes21(bytes21 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes21)", p0));
	}

	function logBytes22(bytes22 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes22)", p0));
	}

	function logBytes23(bytes23 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes23)", p0));
	}

	function logBytes24(bytes24 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes24)", p0));
	}

	function logBytes25(bytes25 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes25)", p0));
	}

	function logBytes26(bytes26 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes26)", p0));
	}

	function logBytes27(bytes27 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes27)", p0));
	}

	function logBytes28(bytes28 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes28)", p0));
	}

	function logBytes29(bytes29 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes29)", p0));
	}

	function logBytes30(bytes30 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes30)", p0));
	}

	function logBytes31(bytes31 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes31)", p0));
	}

	function logBytes32(bytes32 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes32)", p0));
	}

	function log(uint256 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256)", p0));
	}

	function log(string memory p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string)", p0));
	}

	function log(bool p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool)", p0));
	}

	function log(address p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address)", p0));
	}

	function log(uint256 p0, uint256 p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256)", p0, p1));
	}

	function log(uint256 p0, string memory p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string)", p0, p1));
	}

	function log(uint256 p0, bool p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool)", p0, p1));
	}

	function log(uint256 p0, address p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address)", p0, p1));
	}

	function log(string memory p0, uint256 p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256)", p0, p1));
	}

	function log(string memory p0, string memory p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string)", p0, p1));
	}

	function log(string memory p0, bool p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool)", p0, p1));
	}

	function log(string memory p0, address p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address)", p0, p1));
	}

	function log(bool p0, uint256 p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256)", p0, p1));
	}

	function log(bool p0, string memory p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string)", p0, p1));
	}

	function log(bool p0, bool p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool)", p0, p1));
	}

	function log(bool p0, address p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address)", p0, p1));
	}

	function log(address p0, uint256 p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256)", p0, p1));
	}

	function log(address p0, string memory p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string)", p0, p1));
	}

	function log(address p0, bool p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool)", p0, p1));
	}

	function log(address p0, address p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address)", p0, p1));
	}

	function log(uint256 p0, uint256 p1, uint256 p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256)", p0, p1, p2));
	}

	function log(uint256 p0, uint256 p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string)", p0, p1, p2));
	}

	function log(uint256 p0, uint256 p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool)", p0, p1, p2));
	}

	function log(uint256 p0, uint256 p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address)", p0, p1, p2));
	}

	function log(uint256 p0, string memory p1, uint256 p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256)", p0, p1, p2));
	}

	function log(uint256 p0, string memory p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,string)", p0, p1, p2));
	}

	function log(uint256 p0, string memory p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool)", p0, p1, p2));
	}

	function log(uint256 p0, string memory p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,address)", p0, p1, p2));
	}

	function log(uint256 p0, bool p1, uint256 p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256)", p0, p1, p2));
	}

	function log(uint256 p0, bool p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string)", p0, p1, p2));
	}

	function log(uint256 p0, bool p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool)", p0, p1, p2));
	}

	function log(uint256 p0, bool p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address)", p0, p1, p2));
	}

	function log(uint256 p0, address p1, uint256 p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256)", p0, p1, p2));
	}

	function log(uint256 p0, address p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,string)", p0, p1, p2));
	}

	function log(uint256 p0, address p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool)", p0, p1, p2));
	}

	function log(uint256 p0, address p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,address)", p0, p1, p2));
	}

	function log(string memory p0, uint256 p1, uint256 p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256)", p0, p1, p2));
	}

	function log(string memory p0, uint256 p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,string)", p0, p1, p2));
	}

	function log(string memory p0, uint256 p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool)", p0, p1, p2));
	}

	function log(string memory p0, uint256 p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,address)", p0, p1, p2));
	}

	function log(string memory p0, string memory p1, uint256 p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint256)", p0, p1, p2));
	}

	function log(string memory p0, string memory p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string)", p0, p1, p2));
	}

	function log(string memory p0, string memory p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool)", p0, p1, p2));
	}

	function log(string memory p0, string memory p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address)", p0, p1, p2));
	}

	function log(string memory p0, bool p1, uint256 p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256)", p0, p1, p2));
	}

	function log(string memory p0, bool p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string)", p0, p1, p2));
	}

	function log(string memory p0, bool p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool)", p0, p1, p2));
	}

	function log(string memory p0, bool p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address)", p0, p1, p2));
	}

	function log(string memory p0, address p1, uint256 p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint256)", p0, p1, p2));
	}

	function log(string memory p0, address p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string)", p0, p1, p2));
	}

	function log(string memory p0, address p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool)", p0, p1, p2));
	}

	function log(string memory p0, address p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address)", p0, p1, p2));
	}

	function log(bool p0, uint256 p1, uint256 p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256)", p0, p1, p2));
	}

	function log(bool p0, uint256 p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string)", p0, p1, p2));
	}

	function log(bool p0, uint256 p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool)", p0, p1, p2));
	}

	function log(bool p0, uint256 p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address)", p0, p1, p2));
	}

	function log(bool p0, string memory p1, uint256 p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256)", p0, p1, p2));
	}

	function log(bool p0, string memory p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string)", p0, p1, p2));
	}

	function log(bool p0, string memory p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool)", p0, p1, p2));
	}

	function log(bool p0, string memory p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address)", p0, p1, p2));
	}

	function log(bool p0, bool p1, uint256 p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256)", p0, p1, p2));
	}

	function log(bool p0, bool p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string)", p0, p1, p2));
	}

	function log(bool p0, bool p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool)", p0, p1, p2));
	}

	function log(bool p0, bool p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address)", p0, p1, p2));
	}

	function log(bool p0, address p1, uint256 p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256)", p0, p1, p2));
	}

	function log(bool p0, address p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string)", p0, p1, p2));
	}

	function log(bool p0, address p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool)", p0, p1, p2));
	}

	function log(bool p0, address p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address)", p0, p1, p2));
	}

	function log(address p0, uint256 p1, uint256 p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256)", p0, p1, p2));
	}

	function log(address p0, uint256 p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,string)", p0, p1, p2));
	}

	function log(address p0, uint256 p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool)", p0, p1, p2));
	}

	function log(address p0, uint256 p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,address)", p0, p1, p2));
	}

	function log(address p0, string memory p1, uint256 p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint256)", p0, p1, p2));
	}

	function log(address p0, string memory p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string)", p0, p1, p2));
	}

	function log(address p0, string memory p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool)", p0, p1, p2));
	}

	function log(address p0, string memory p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address)", p0, p1, p2));
	}

	function log(address p0, bool p1, uint256 p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256)", p0, p1, p2));
	}

	function log(address p0, bool p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string)", p0, p1, p2));
	}

	function log(address p0, bool p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool)", p0, p1, p2));
	}

	function log(address p0, bool p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address)", p0, p1, p2));
	}

	function log(address p0, address p1, uint256 p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint256)", p0, p1, p2));
	}

	function log(address p0, address p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string)", p0, p1, p2));
	}

	function log(address p0, address p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool)", p0, p1, p2));
	}

	function log(address p0, address p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address)", p0, p1, p2));
	}

	function log(uint256 p0, uint256 p1, uint256 p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,uint256)", p0, p1, p2, p3));
	}

	function log(uint256 p0, uint256 p1, uint256 p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,string)", p0, p1, p2, p3));
	}

	function log(uint256 p0, uint256 p1, uint256 p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,bool)", p0, p1, p2, p3));
	}

	function log(uint256 p0, uint256 p1, uint256 p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,address)", p0, p1, p2, p3));
	}

	function log(uint256 p0, uint256 p1, string memory p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,uint256)", p0, p1, p2, p3));
	}

	function log(uint256 p0, uint256 p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,string)", p0, p1, p2, p3));
	}

	function log(uint256 p0, uint256 p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,bool)", p0, p1, p2, p3));
	}

	function log(uint256 p0, uint256 p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,address)", p0, p1, p2, p3));
	}

	function log(uint256 p0, uint256 p1, bool p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,uint256)", p0, p1, p2, p3));
	}

	function log(uint256 p0, uint256 p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,string)", p0, p1, p2, p3));
	}

	function log(uint256 p0, uint256 p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,bool)", p0, p1, p2, p3));
	}

	function log(uint256 p0, uint256 p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,address)", p0, p1, p2, p3));
	}

	function log(uint256 p0, uint256 p1, address p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,uint256)", p0, p1, p2, p3));
	}

	function log(uint256 p0, uint256 p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,string)", p0, p1, p2, p3));
	}

	function log(uint256 p0, uint256 p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,bool)", p0, p1, p2, p3));
	}

	function log(uint256 p0, uint256 p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,address)", p0, p1, p2, p3));
	}

	function log(uint256 p0, string memory p1, uint256 p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,uint256)", p0, p1, p2, p3));
	}

	function log(uint256 p0, string memory p1, uint256 p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,string)", p0, p1, p2, p3));
	}

	function log(uint256 p0, string memory p1, uint256 p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,bool)", p0, p1, p2, p3));
	}

	function log(uint256 p0, string memory p1, uint256 p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,address)", p0, p1, p2, p3));
	}

	function log(uint256 p0, string memory p1, string memory p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,uint256)", p0, p1, p2, p3));
	}

	function log(uint256 p0, string memory p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,string)", p0, p1, p2, p3));
	}

	function log(uint256 p0, string memory p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,bool)", p0, p1, p2, p3));
	}

	function log(uint256 p0, string memory p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,address)", p0, p1, p2, p3));
	}

	function log(uint256 p0, string memory p1, bool p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,uint256)", p0, p1, p2, p3));
	}

	function log(uint256 p0, string memory p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,string)", p0, p1, p2, p3));
	}

	function log(uint256 p0, string memory p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,bool)", p0, p1, p2, p3));
	}

	function log(uint256 p0, string memory p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,address)", p0, p1, p2, p3));
	}

	function log(uint256 p0, string memory p1, address p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,uint256)", p0, p1, p2, p3));
	}

	function log(uint256 p0, string memory p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,string)", p0, p1, p2, p3));
	}

	function log(uint256 p0, string memory p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,bool)", p0, p1, p2, p3));
	}

	function log(uint256 p0, string memory p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,address)", p0, p1, p2, p3));
	}

	function log(uint256 p0, bool p1, uint256 p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,uint256)", p0, p1, p2, p3));
	}

	function log(uint256 p0, bool p1, uint256 p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,string)", p0, p1, p2, p3));
	}

	function log(uint256 p0, bool p1, uint256 p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,bool)", p0, p1, p2, p3));
	}

	function log(uint256 p0, bool p1, uint256 p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,address)", p0, p1, p2, p3));
	}

	function log(uint256 p0, bool p1, string memory p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,uint256)", p0, p1, p2, p3));
	}

	function log(uint256 p0, bool p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,string)", p0, p1, p2, p3));
	}

	function log(uint256 p0, bool p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,bool)", p0, p1, p2, p3));
	}

	function log(uint256 p0, bool p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,address)", p0, p1, p2, p3));
	}

	function log(uint256 p0, bool p1, bool p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,uint256)", p0, p1, p2, p3));
	}

	function log(uint256 p0, bool p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,string)", p0, p1, p2, p3));
	}

	function log(uint256 p0, bool p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,bool)", p0, p1, p2, p3));
	}

	function log(uint256 p0, bool p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,address)", p0, p1, p2, p3));
	}

	function log(uint256 p0, bool p1, address p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,uint256)", p0, p1, p2, p3));
	}

	function log(uint256 p0, bool p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,string)", p0, p1, p2, p3));
	}

	function log(uint256 p0, bool p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,bool)", p0, p1, p2, p3));
	}

	function log(uint256 p0, bool p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,address)", p0, p1, p2, p3));
	}

	function log(uint256 p0, address p1, uint256 p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,uint256)", p0, p1, p2, p3));
	}

	function log(uint256 p0, address p1, uint256 p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,string)", p0, p1, p2, p3));
	}

	function log(uint256 p0, address p1, uint256 p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,bool)", p0, p1, p2, p3));
	}

	function log(uint256 p0, address p1, uint256 p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,address)", p0, p1, p2, p3));
	}

	function log(uint256 p0, address p1, string memory p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,uint256)", p0, p1, p2, p3));
	}

	function log(uint256 p0, address p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,string)", p0, p1, p2, p3));
	}

	function log(uint256 p0, address p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,bool)", p0, p1, p2, p3));
	}

	function log(uint256 p0, address p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,address)", p0, p1, p2, p3));
	}

	function log(uint256 p0, address p1, bool p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,uint256)", p0, p1, p2, p3));
	}

	function log(uint256 p0, address p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,string)", p0, p1, p2, p3));
	}

	function log(uint256 p0, address p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,bool)", p0, p1, p2, p3));
	}

	function log(uint256 p0, address p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,address)", p0, p1, p2, p3));
	}

	function log(uint256 p0, address p1, address p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,uint256)", p0, p1, p2, p3));
	}

	function log(uint256 p0, address p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,string)", p0, p1, p2, p3));
	}

	function log(uint256 p0, address p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,bool)", p0, p1, p2, p3));
	}

	function log(uint256 p0, address p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint256 p1, uint256 p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,uint256)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint256 p1, uint256 p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint256 p1, uint256 p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint256 p1, uint256 p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint256 p1, string memory p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,uint256)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint256 p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint256 p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint256 p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint256 p1, bool p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,uint256)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint256 p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint256 p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint256 p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint256 p1, address p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,uint256)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint256 p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint256 p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint256 p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, uint256 p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,uint256)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, uint256 p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, uint256 p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, uint256 p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, string memory p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string,uint256)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, bool p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,uint256)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, address p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address,uint256)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, uint256 p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,uint256)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, uint256 p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, uint256 p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, uint256 p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, string memory p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,uint256)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, bool p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,uint256)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, address p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,uint256)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, uint256 p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,uint256)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, uint256 p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, uint256 p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, uint256 p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, string memory p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string,uint256)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, bool p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,uint256)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, address p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address,uint256)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address,address)", p0, p1, p2, p3));
	}

	function log(bool p0, uint256 p1, uint256 p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,uint256)", p0, p1, p2, p3));
	}

	function log(bool p0, uint256 p1, uint256 p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,string)", p0, p1, p2, p3));
	}

	function log(bool p0, uint256 p1, uint256 p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, uint256 p1, uint256 p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,address)", p0, p1, p2, p3));
	}

	function log(bool p0, uint256 p1, string memory p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,uint256)", p0, p1, p2, p3));
	}

	function log(bool p0, uint256 p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,string)", p0, p1, p2, p3));
	}

	function log(bool p0, uint256 p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, uint256 p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,address)", p0, p1, p2, p3));
	}

	function log(bool p0, uint256 p1, bool p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,uint256)", p0, p1, p2, p3));
	}

	function log(bool p0, uint256 p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,string)", p0, p1, p2, p3));
	}

	function log(bool p0, uint256 p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, uint256 p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,address)", p0, p1, p2, p3));
	}

	function log(bool p0, uint256 p1, address p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,uint256)", p0, p1, p2, p3));
	}

	function log(bool p0, uint256 p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,string)", p0, p1, p2, p3));
	}

	function log(bool p0, uint256 p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, uint256 p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,address)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, uint256 p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,uint256)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, uint256 p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,string)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, uint256 p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, uint256 p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,address)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, string memory p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,uint256)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,string)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,address)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, bool p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,uint256)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,string)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,address)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, address p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,uint256)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,string)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,address)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, uint256 p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,uint256)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, uint256 p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,string)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, uint256 p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, uint256 p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,address)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, string memory p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,uint256)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,string)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,address)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, bool p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint256)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,string)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,address)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, address p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint256)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,string)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,address)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, uint256 p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,uint256)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, uint256 p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,string)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, uint256 p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, uint256 p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,address)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, string memory p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,uint256)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,string)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,address)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, bool p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint256)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,string)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,address)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, address p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint256)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,string)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,address)", p0, p1, p2, p3));
	}

	function log(address p0, uint256 p1, uint256 p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,uint256)", p0, p1, p2, p3));
	}

	function log(address p0, uint256 p1, uint256 p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,string)", p0, p1, p2, p3));
	}

	function log(address p0, uint256 p1, uint256 p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,bool)", p0, p1, p2, p3));
	}

	function log(address p0, uint256 p1, uint256 p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,address)", p0, p1, p2, p3));
	}

	function log(address p0, uint256 p1, string memory p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,uint256)", p0, p1, p2, p3));
	}

	function log(address p0, uint256 p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,string)", p0, p1, p2, p3));
	}

	function log(address p0, uint256 p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,bool)", p0, p1, p2, p3));
	}

	function log(address p0, uint256 p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,address)", p0, p1, p2, p3));
	}

	function log(address p0, uint256 p1, bool p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,uint256)", p0, p1, p2, p3));
	}

	function log(address p0, uint256 p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,string)", p0, p1, p2, p3));
	}

	function log(address p0, uint256 p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,bool)", p0, p1, p2, p3));
	}

	function log(address p0, uint256 p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,address)", p0, p1, p2, p3));
	}

	function log(address p0, uint256 p1, address p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,uint256)", p0, p1, p2, p3));
	}

	function log(address p0, uint256 p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,string)", p0, p1, p2, p3));
	}

	function log(address p0, uint256 p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,bool)", p0, p1, p2, p3));
	}

	function log(address p0, uint256 p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,address)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, uint256 p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,uint256)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, uint256 p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,string)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, uint256 p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,bool)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, uint256 p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,address)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, string memory p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string,uint256)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string,string)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string,bool)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string,address)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, bool p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,uint256)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,string)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,bool)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,address)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, address p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address,uint256)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address,string)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address,bool)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address,address)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, uint256 p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,uint256)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, uint256 p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,string)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, uint256 p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,bool)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, uint256 p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,address)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, string memory p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,uint256)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,string)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,bool)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,address)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, bool p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint256)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,string)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,bool)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,address)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, address p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint256)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,string)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,bool)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,address)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, uint256 p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,uint256)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, uint256 p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,string)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, uint256 p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,bool)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, uint256 p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,address)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, string memory p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string,uint256)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string,string)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string,bool)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string,address)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, bool p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint256)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,string)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,bool)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,address)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, address p2, uint256 p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint256)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address,string)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address,bool)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address,address)", p0, p1, p2, p3));
	}

}

// File: contracts/SoulRedeemer.sol

//Contract based on [https://docs.openzeppelin.com/contracts/3.x/erc721](https://docs.openzeppelin.com/contracts/3.x/erc721)
pragma solidity ^0.8.0;





contract SoulRedeemer is Ownable, IERC721Receiver {
    Doug _doug;
    DougSoul _sbt;

    uint256 _redeemStart;
    uint256 _airdroppedCount;

    mapping(uint256 => bool) _rewardAirdropped;
    event DougRedeemed(uint256 indexed sbt);
        
    constructor(
        address dougAddress, 
        address sbtAddress, 
        uint256 redeemStart) Ownable(msg.sender)
    {
        _doug = Doug(dougAddress);
        _sbt = DougSoul(sbtAddress);
        _redeemStart = redeemStart;
    }
    
    function getEpoch(uint256 token) public view returns(uint8) {
        return _sbt.getEpoch(token);
    }

    function getEpochReward(uint8 epoch) public pure returns(uint8) {
        if(epoch == 1) {
            return 3;
        }
        else if(epoch == 2) {
            return 2;
        }
        else if(epoch == 3) {
            return 1;
        }

        return 0;
    }

    function isRedeemed(uint256 token) public view returns(bool) {
        return _sbt.isRedeemed(token);
    }

    function redeem(uint256 tokenId) public {
        require(msg.sender == _sbt.ownerOf(tokenId), "not owner");
        require(isRedeemed(tokenId) == false, "SBT already redeemed");
        require(block.timestamp > _redeemStart, "Cannot redeem yet");

        _sbt.redeem(tokenId);
        _doug.transferFrom(address(this), msg.sender, tokenId);
        emit DougRedeemed(tokenId);
    }

    function redeemMany(uint256[] memory tokenIds) public {
        for(uint i = 0; i < tokenIds.length; i++) {
            redeem(tokenIds[i]);
        }
    }

    function getRedeemStart() public view returns (uint256) {
        return _redeemStart;
    }

    receive() external payable {
        // Thank you
    }

    // **** Owner Only ****
    function mintDougWithInvite(bytes memory nonce, bytes memory signature) public isOwner payable {
        _doug.mintWithInvite{ value: msg.value }(nonce, signature);
    }

    function transferDoug(uint256 tokenId, address to) public isOwner {
        _doug.transferFrom(address(this), to, tokenId);
    }

    function setRedeemStart(uint256 redeemStart) public isOwner {
        _redeemStart = redeemStart;
    }

    function airdropBonuses(uint256 startToken, uint256 endToken, uint256 rewardTokenIdStart) public isOwner {
        uint256 rewardTokenId = rewardTokenIdStart + _airdroppedCount;
        for(uint256 tokenId = startToken; tokenId <= endToken; tokenId++) {
            uint8 epoch = getEpoch(tokenId);
            uint8 reward = getEpochReward(epoch);
            address to = _doug.ownerOf(tokenId);

            // This happens if it wasn't redeemed yet
            if(to == address(this)) {
                continue;
            }

            // No double rewards
            if(_rewardAirdropped[tokenId]) {
                continue;
            }

            for(uint8 i = 0; i < reward; i++) {              
                require(_doug.ownerOf(rewardTokenId) == address(this), "not owned");
                _doug.transferFrom(address(this), to, rewardTokenId);
                
                rewardTokenId++;
            }

            _rewardAirdropped[tokenId] = true;
        }

        _airdroppedCount = rewardTokenId - rewardTokenIdStart;
    }

    function onERC721Received(address, address, uint256, bytes calldata) external pure returns (bytes4) {
        return IERC721Receiver.onERC721Received.selector;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"epochMax1","type":"uint256"},{"internalType":"uint256","name":"epochMax2","type":"uint256"},{"internalType":"uint256","name":"epochMax3","type":"uint256"},{"internalType":"string","name":"imagesRootHash","type":"string"},{"internalType":"uint256","name":"finalTokenId","type":"uint256"},{"internalType":"uint256","name":"dougTokenOffset","type":"uint256"}],"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":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"token","type":"uint256"}],"name":"getEpoch","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"getIsAllowedSharedCodes","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getIsAllowedSharedCodes","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOffset","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWhiteListCount","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"getWhiteListCountForAddress","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"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":"tokenId","type":"uint256"}],"name":"isRedeemed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"redeem","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":"admin","type":"address"}],"name":"setAdmin","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":"uint256","name":"dougTokenOffset","type":"uint256"}],"name":"setDougOffset","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"epochMax2","type":"uint256"}],"name":"setEpochMax2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"epochMax3","type":"uint256"}],"name":"setEpochMax3","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"finalTokenId","type":"uint256"}],"name":"setFinalTokenId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"imagesRootHash","type":"string"}],"name":"setImagesRootHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"redeemer","type":"address"}],"name":"setRedeemer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"wallet","type":"address"},{"internalType":"uint16","name":"count","type":"uint16"},{"internalType":"bool","name":"allowedShareCodes","type":"bool"}],"name":"whitelistAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"wallets","type":"address[]"},{"internalType":"uint16","name":"whitelistCount","type":"uint16"},{"internalType":"bool","name":"allowedShareCodes","type":"bool"}],"name":"whitelistAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162005a8438038062005a848339818101604052810190620000379190620003f2565b336040518060400160405280600881526020017f446f7567205342540000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f4e465400000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000bc9291906200016a565b508060019080519060200190620000d59291906200016a565b50505080600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505086600f8190555085600c8190555084600d8190555083600e8190555082601190805190602001906200014e9291906200016a565b5081601081905550806013819055505050505050505062000529565b8280546200017890620004f3565b90600052602060002090601f0160209004810192826200019c5760008555620001e8565b82601f10620001b757805160ff1916838001178555620001e8565b82800160010185558215620001e8579182015b82811115620001e7578251825591602001919060010190620001ca565b5b509050620001f79190620001fb565b5090565b5b8082111562000216576000816000905550600101620001fc565b5090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b62000243816200022e565b81146200024f57600080fd5b50565b600081519050620002638162000238565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620002be8262000273565b810181811067ffffffffffffffff82111715620002e057620002df62000284565b5b80604052505050565b6000620002f56200021a565b9050620003038282620002b3565b919050565b600067ffffffffffffffff82111562000326576200032562000284565b5b620003318262000273565b9050602081019050919050565b60005b838110156200035e57808201518184015260208101905062000341565b838111156200036e576000848401525b50505050565b60006200038b620003858462000308565b620002e9565b905082815260208101848484011115620003aa57620003a96200026e565b5b620003b78482856200033e565b509392505050565b600082601f830112620003d757620003d662000269565b5b8151620003e984826020860162000374565b91505092915050565b600080600080600080600060e0888a03121562000414576200041362000224565b5b6000620004248a828b0162000252565b9750506020620004378a828b0162000252565b96505060406200044a8a828b0162000252565b95505060606200045d8a828b0162000252565b945050608088015167ffffffffffffffff81111562000481576200048062000229565b5b6200048f8a828b01620003bf565b93505060a0620004a28a828b0162000252565b92505060c0620004b58a828b0162000252565b91505092959891949750929550565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200050c57607f821691505b60208210811415620005235762000522620004c4565b5b50919050565b61554b80620005396000396000f3fe60806040526004361061020f5760003560e01c806376db9c5411610118578063bc0bc6ba116100a0578063db006a751161006f578063db006a75146107be578063e985e9c5146107e7578063eb6ad24e14610824578063eb91d37e1461084f578063fa09e6301461087a5761020f565b8063bc0bc6ba146106f2578063c3cac52b1461072f578063c46a3f6814610758578063c87b56dd146107815761020f565b806395d89b41116100e757806395d89b4114610623578063a22cb4651461064e578063a7f0362d14610677578063b4ef8d54146106a0578063b88d4fde146106c95761020f565b806376db9c541461057957806383c4c00d146105a45780638f82b8c4146105cf57806391b7f5ed146105fa5761020f565b806332d33cd01161019b5780635666b5911161016a5780635666b591146104705780636352211e14610499578063704b6c02146104d657806370a08231146104ff5780637651da281461053c5761020f565b806332d33cd0146103b85780633307ce84146103f557806342842e0e1461041e57806342966c68146104475761020f565b80631249c58b116101e25780631249c58b146102e2578063136b715e1461030057806321c9d2911461032957806323b872dd146103665780632b6df36c1461038f5761020f565b806301ffc9a71461021457806306fdde0314610251578063081812fc1461027c578063095ea7b3146102b9575b600080fd5b34801561022057600080fd5b5061023b60048036038101906102369190613420565b6108a3565b6040516102489190613468565b60405180910390f35b34801561025d57600080fd5b50610266610985565b604051610273919061351c565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e9190613574565b610a17565b6040516102b091906135e2565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db9190613629565b610a5d565b005b6102ea610b75565b6040516102f79190613678565b60405180910390f35b34801561030c57600080fd5b5061032760048036038101906103229190613574565b610e0f565b005b34801561033557600080fd5b50610350600480360381019061034b9190613693565b610ea9565b60405161035d9190613468565b60405180910390f35b34801561037257600080fd5b5061038d600480360381019061038891906136c0565b610eff565b005b34801561039b57600080fd5b506103b660048036038101906103b191906138c1565b610f5f565b005b3480156103c457600080fd5b506103df60048036038101906103da9190613574565b61113d565b6040516103ec9190613468565b60405180910390f35b34801561040157600080fd5b5061041c60048036038101906104179190613693565b611167565b005b34801561042a57600080fd5b50610445600480360381019061044091906136c0565b61123b565b005b34801561045357600080fd5b5061046e60048036038101906104699190613574565b61125b565b005b34801561047c57600080fd5b5061049760048036038101906104929190613930565b61132c565b005b3480156104a557600080fd5b506104c060048036038101906104bb9190613574565b6114ca565b6040516104cd91906135e2565b60405180910390f35b3480156104e257600080fd5b506104fd60048036038101906104f89190613693565b611551565b005b34801561050b57600080fd5b5061052660048036038101906105219190613693565b611625565b6040516105339190613678565b60405180910390f35b34801561054857600080fd5b50610563600480360381019061055e9190613693565b6116dd565b6040516105709190613992565b60405180910390f35b34801561058557600080fd5b5061058e611734565b60405161059b9190613468565b60405180910390f35b3480156105b057600080fd5b506105b961178f565b6040516105c69190613678565b60405180910390f35b3480156105db57600080fd5b506105e46117ad565b6040516105f19190613992565b60405180910390f35b34801561060657600080fd5b50610621600480360381019061061c9190613574565b611809565b005b34801561062f57600080fd5b506106386118a3565b604051610645919061351c565b60405180910390f35b34801561065a57600080fd5b50610675600480360381019061067091906139ad565b611935565b005b34801561068357600080fd5b5061069e60048036038101906106999190613574565b61194b565b005b3480156106ac57600080fd5b506106c760048036038101906106c29190613574565b6119e5565b005b3480156106d557600080fd5b506106f060048036038101906106eb9190613aa2565b611a7f565b005b3480156106fe57600080fd5b5061071960048036038101906107149190613574565b611ae1565b6040516107269190613b41565b60405180910390f35b34801561073b57600080fd5b5061075660048036038101906107519190613bfd565b611b23565b005b34801561076457600080fd5b5061077f600480360381019061077a9190613574565b611bcd565b005b34801561078d57600080fd5b506107a860048036038101906107a39190613574565b611c67565b6040516107b5919061351c565b60405180910390f35b3480156107ca57600080fd5b506107e560048036038101906107e09190613574565b611e5d565b005b3480156107f357600080fd5b5061080e60048036038101906108099190613c46565b611f1c565b60405161081b9190613468565b60405180910390f35b34801561083057600080fd5b50610839611fb0565b6040516108469190613678565b60405180910390f35b34801561085b57600080fd5b50610864611fba565b6040516108719190613678565b60405180910390f35b34801561088657600080fd5b506108a1600480360381019061089c9190613693565b611fc4565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061096e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061097e575061097d826120aa565b5b9050919050565b60606000805461099490613cb5565b80601f01602080910402602001604051908101604052809291908181526020018280546109c090613cb5565b8015610a0d5780601f106109e257610100808354040283529160200191610a0d565b820191906000526020600020905b8154815290600101906020018083116109f057829003601f168201915b5050505050905090565b6000610a2282612114565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a68826114ca565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ad9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad090613d59565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610af861215f565b73ffffffffffffffffffffffffffffffffffffffff161480610b275750610b2681610b2161215f565b611f1c565b5b610b66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5d90613deb565b60405180910390fd5b610b708383612167565b505050565b6000600f54341015610bbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb390613e57565b60405180910390fd5b600160096000610bca61215f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff1661ffff161015610c58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4f90613ec3565b60405180910390fd5b601054601354610c686008612220565b610c729190613f12565b10610cb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca990613fb4565b60405180910390fd5b610cbc600861222e565b6000601354610ccb6008612220565b610cd59190613f12565b9050610ce8610ce261215f565b82612244565b600160096000610cf661215f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff16610d499190613fd4565b60096000610d5561215f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548161ffff021916908361ffff1602179055506001600a6000610db761215f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508091505090565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9690614054565b60405180910390fd5b80600d8190555050565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b610f10610f0a61215f565b82612462565b610f4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f46906140e6565b60405180910390fd5b610f5a8383836124f7565b505050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806110085750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611047576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103e90614152565b60405180910390fd5b60005b835181101561113757600084828151811061106857611067614172565b5b6020026020010151905083600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548161ffff021916908361ffff16021790555082600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050808061112f906141a1565b91505061104a565b50505050565b6000600b600083815260200190815260200160002060009054906101000a900460ff169050919050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146111f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ee90614054565b60405180910390fd5b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61125683838360405180602001604052806000815250611a7f565b505050565b611264816114ca565b73ffffffffffffffffffffffffffffffffffffffff1661128261215f565b73ffffffffffffffffffffffffffffffffffffffff16146112d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112cf90614236565b60405180910390fd5b6112e1816127f1565b611320576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611317906142a2565b60405180910390fd5b61132981612832565b50565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806113d55750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611414576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140b90614152565b60405180910390fd5b81600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548161ffff021916908361ffff16021790555080600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550505050565b6000806114d683612980565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611548576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153f9061430e565b60405180910390fd5b80915050919050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146115e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d890614054565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611696576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168d906143a0565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff169050919050565b6000600a600061174261215f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905090565b600060135461179e6008612220565b6117a89190613f12565b905090565b6000600960006117bb61215f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff16905090565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611899576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189090614054565b60405180910390fd5b80600f8190555050565b6060600180546118b290613cb5565b80601f01602080910402602001604051908101604052809291908181526020018280546118de90613cb5565b801561192b5780601f106119005761010080835404028352916020019161192b565b820191906000526020600020905b81548152906001019060200180831161190e57829003601f168201915b5050505050905090565b61194761194061215f565b83836129bd565b5050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146119db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d290614054565b60405180910390fd5b8060108190555050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611a75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6c90614054565b60405180910390fd5b8060138190555050565b611a90611a8a61215f565b83612462565b611acf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac6906140e6565b60405180910390fd5b611adb84848484612b2a565b50505050565b6000600c548211611af55760019050611b1e565b600d548211611b075760029050611b1e565b600e548211611b195760039050611b1e565b600490505b919050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611bb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611baa90614054565b60405180910390fd5b8060119080519060200190611bc9929190613311565b5050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611c5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5490614054565b60405180910390fd5b80600e8190555050565b60606000611c7483611ae1565b90506000611c8182612b86565b90506000611c8e83612c32565b90506000611c9c8685612cb3565b90506000600b600088815260200190815260200160002060009054906101000a900460ff16611d00576040518060400160405280600281526020017f4e6f000000000000000000000000000000000000000000000000000000000000815250611d37565b6040518060400160405280600381526020017f59657300000000000000000000000000000000000000000000000000000000008152505b9050600060028660ff1614611dc85760038660ff1614611d8c576040518060400160405280600c81526020017f4561726c79204163636573730000000000000000000000000000000000000000815250611dc3565b6040518060400160405280600781526020017f45706f63682033000000000000000000000000000000000000000000000000008152505b611dff565b6040518060400160405280600781526020017f45706f63682032000000000000000000000000000000000000000000000000008152505b9050611e318585858585604051602001611e1d959493929190614766565b604051602081830303815290604052612dfd565b604051602001611e419190614881565b6040516020818303038152906040529650505050505050919050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611eed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee4906148ef565b60405180910390fd5b6001600b600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000601354905090565b6000600f54905090565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204b90614054565b60405180910390fd5b600081905060004790508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156120a4573d6000803e3d6000fd5b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61211d816127f1565b61215c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121539061430e565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166121da836114ca565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156122b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ab9061495b565b60405180910390fd5b6122bd816127f1565b156122fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f4906149c7565b60405180910390fd5b61230b600083836001612f82565b612314816127f1565b15612354576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234b906149c7565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461245e60008383600161303a565b5050565b60008061246e836114ca565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806124b057506124af8185611f1c565b5b806124ee57508373ffffffffffffffffffffffffffffffffffffffff166124d684610a17565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612517826114ca565b73ffffffffffffffffffffffffffffffffffffffff161461256d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256490614a59565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d490614aeb565b60405180910390fd5b6125ea8383836001612f82565b8273ffffffffffffffffffffffffffffffffffffffff1661260a826114ca565b73ffffffffffffffffffffffffffffffffffffffff1614612660576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265790614a59565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127ec838383600161303a565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff1661281383612980565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600061283d826114ca565b905061284d816000846001612f82565b612856826114ca565b90506004600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461297c81600084600161303a565b5050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612a2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2390614b57565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612b1d9190613468565b60405180910390a3505050565b612b358484846124f7565b612b4184848484613040565b612b80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7790614be9565b60405180910390fd5b50505050565b606060028260ff161415612bd1576040518060400160405280601881526020017f45706f636820233220536f756c626f756e6420546f6b656e00000000000000008152509050612c2d565b60038260ff161415612c1a576040518060400160405280601881526020017f45706f636820233320536f756c626f756e6420546f6b656e00000000000000008152509050612c2d565b6040518060200160405280600081525090505b919050565b606060028260ff161415612c635760405180610140016040528061010e815260200161540861010e91399050612cae565b60038260ff161415612c9257604051806101400160405280610112815260200161522361011291399050612cae565b6040518060c00160405280609381526020016153356093913990505b919050565b6060600b600084815260200190815260200160002060009054906101000a900460ff1615612d6b5760028260ff161415612d0f576011604051602001612cf99190614d35565b6040516020818303038152906040529050612df7565b60038260ff161415612d43576011604051602001612d2d9190614dae565b6040516020818303038152906040529050612df7565b6011604051602001612d559190614e27565b6040516020818303038152906040529050612df7565b60028260ff161415612d9f576011604051602001612d899190614ea0565b6040516020818303038152906040529050612df7565b60038260ff161415612dd3576011604051602001612dbd9190614f19565b6040516020818303038152906040529050612df7565b6011604051602001612de59190614f92565b60405160208183030381529060405290505b92915050565b6060600082511415612e2057604051806020016040528060008152509050612f7d565b60006040518060600160405280604081526020016153c86040913990506000600360028551612e4f9190613f12565b612e599190614fee565b6004612e65919061501f565b90506000602082612e769190613f12565b67ffffffffffffffff811115612e8f57612e8e613718565b5b6040519080825280601f01601f191660200182016040528015612ec15781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015612f3c576003830192508251603f8160121c1685015160f81b8252600182019150603f81600c1c1685015160f81b8252600182019150603f8160061c1685015160f81b8252600182019150603f811685015160f81b825260018201915050612ed5565b600389510660018114612f565760028114612f6657612f71565b613d3d60f01b6002830352612f71565b603d60f81b60018303525b50505050508093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612fe95750600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16145b613028576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161301f906150eb565b60405180910390fd5b613034848484846131c8565b50505050565b50505050565b60006130618473ffffffffffffffffffffffffffffffffffffffff166132ee565b156131bb578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261308a61215f565b8786866040518563ffffffff1660e01b81526004016130ac9493929190615160565b6020604051808303816000875af19250505080156130e857506040513d601f19601f820116820180604052508101906130e591906151c1565b60015b61316b573d8060008114613118576040519150601f19603f3d011682016040523d82523d6000602084013e61311d565b606091505b50600081511415613163576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161315a90614be9565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506131c0565b600190505b949350505050565b60018111156132e857600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161461325c5780600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461325491906151ee565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146132e75780600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132df9190613f12565b925050819055505b5b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461331d90613cb5565b90600052602060002090601f01602090048101928261333f5760008555613386565b82601f1061335857805160ff1916838001178555613386565b82800160010185558215613386579182015b8281111561338557825182559160200191906001019061336a565b5b5090506133939190613397565b5090565b5b808211156133b0576000816000905550600101613398565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6133fd816133c8565b811461340857600080fd5b50565b60008135905061341a816133f4565b92915050565b600060208284031215613436576134356133be565b5b60006134448482850161340b565b91505092915050565b60008115159050919050565b6134628161344d565b82525050565b600060208201905061347d6000830184613459565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156134bd5780820151818401526020810190506134a2565b838111156134cc576000848401525b50505050565b6000601f19601f8301169050919050565b60006134ee82613483565b6134f8818561348e565b935061350881856020860161349f565b613511816134d2565b840191505092915050565b6000602082019050818103600083015261353681846134e3565b905092915050565b6000819050919050565b6135518161353e565b811461355c57600080fd5b50565b60008135905061356e81613548565b92915050565b60006020828403121561358a576135896133be565b5b60006135988482850161355f565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006135cc826135a1565b9050919050565b6135dc816135c1565b82525050565b60006020820190506135f760008301846135d3565b92915050565b613606816135c1565b811461361157600080fd5b50565b600081359050613623816135fd565b92915050565b600080604083850312156136405761363f6133be565b5b600061364e85828601613614565b925050602061365f8582860161355f565b9150509250929050565b6136728161353e565b82525050565b600060208201905061368d6000830184613669565b92915050565b6000602082840312156136a9576136a86133be565b5b60006136b784828501613614565b91505092915050565b6000806000606084860312156136d9576136d86133be565b5b60006136e786828701613614565b93505060206136f886828701613614565b92505060406137098682870161355f565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613750826134d2565b810181811067ffffffffffffffff8211171561376f5761376e613718565b5b80604052505050565b60006137826133b4565b905061378e8282613747565b919050565b600067ffffffffffffffff8211156137ae576137ad613718565b5b602082029050602081019050919050565b600080fd5b60006137d76137d284613793565b613778565b905080838252602082019050602084028301858111156137fa576137f96137bf565b5b835b81811015613823578061380f8882613614565b8452602084019350506020810190506137fc565b5050509392505050565b600082601f83011261384257613841613713565b5b81356138528482602086016137c4565b91505092915050565b600061ffff82169050919050565b6138728161385b565b811461387d57600080fd5b50565b60008135905061388f81613869565b92915050565b61389e8161344d565b81146138a957600080fd5b50565b6000813590506138bb81613895565b92915050565b6000806000606084860312156138da576138d96133be565b5b600084013567ffffffffffffffff8111156138f8576138f76133c3565b5b6139048682870161382d565b935050602061391586828701613880565b9250506040613926868287016138ac565b9150509250925092565b600080600060608486031215613949576139486133be565b5b600061395786828701613614565b935050602061396886828701613880565b9250506040613979868287016138ac565b9150509250925092565b61398c8161385b565b82525050565b60006020820190506139a76000830184613983565b92915050565b600080604083850312156139c4576139c36133be565b5b60006139d285828601613614565b92505060206139e3858286016138ac565b9150509250929050565b600080fd5b600067ffffffffffffffff821115613a0d57613a0c613718565b5b613a16826134d2565b9050602081019050919050565b82818337600083830152505050565b6000613a45613a40846139f2565b613778565b905082815260208101848484011115613a6157613a606139ed565b5b613a6c848285613a23565b509392505050565b600082601f830112613a8957613a88613713565b5b8135613a99848260208601613a32565b91505092915050565b60008060008060808587031215613abc57613abb6133be565b5b6000613aca87828801613614565b9450506020613adb87828801613614565b9350506040613aec8782880161355f565b925050606085013567ffffffffffffffff811115613b0d57613b0c6133c3565b5b613b1987828801613a74565b91505092959194509250565b600060ff82169050919050565b613b3b81613b25565b82525050565b6000602082019050613b566000830184613b32565b92915050565b600067ffffffffffffffff821115613b7757613b76613718565b5b613b80826134d2565b9050602081019050919050565b6000613ba0613b9b84613b5c565b613778565b905082815260208101848484011115613bbc57613bbb6139ed565b5b613bc7848285613a23565b509392505050565b600082601f830112613be457613be3613713565b5b8135613bf4848260208601613b8d565b91505092915050565b600060208284031215613c1357613c126133be565b5b600082013567ffffffffffffffff811115613c3157613c306133c3565b5b613c3d84828501613bcf565b91505092915050565b60008060408385031215613c5d57613c5c6133be565b5b6000613c6b85828601613614565b9250506020613c7c85828601613614565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613ccd57607f821691505b60208210811415613ce157613ce0613c86565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613d4360218361348e565b9150613d4e82613ce7565b604082019050919050565b60006020820190508181036000830152613d7281613d36565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b6000613dd5603d8361348e565b9150613de082613d79565b604082019050919050565b60006020820190508181036000830152613e0481613dc8565b9050919050565b7f696e636f72726563742070726963650000000000000000000000000000000000600082015250565b6000613e41600f8361348e565b9150613e4c82613e0b565b602082019050919050565b60006020820190508181036000830152613e7081613e34565b9050919050565b7f6e6f74206f6e2077686974656c69737400000000000000000000000000000000600082015250565b6000613ead60108361348e565b9150613eb882613e77565b602082019050919050565b60006020820190508181036000830152613edc81613ea0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613f1d8261353e565b9150613f288361353e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613f5d57613f5c613ee3565b5b828201905092915050565b7f616c6c2053425473206d696e7465640000000000000000000000000000000000600082015250565b6000613f9e600f8361348e565b9150613fa982613f68565b602082019050919050565b60006020820190508181036000830152613fcd81613f91565b9050919050565b6000613fdf8261385b565b9150613fea8361385b565b925082821015613ffd57613ffc613ee3565b5b828203905092915050565b7f43616c6c6572206973206e6f74206f776e657200000000000000000000000000600082015250565b600061403e60138361348e565b915061404982614008565b602082019050919050565b6000602082019050818103600083015261406d81614031565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b60006140d0602d8361348e565b91506140db82614074565b604082019050919050565b600060208201905081810360008301526140ff816140c3565b9050919050565b7f43616c6c6572206973206e6f74206f776e6572206f722061646d696e00000000600082015250565b600061413c601c8361348e565b915061414782614106565b602082019050919050565b6000602082019050818103600083015261416b8161412f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006141ac8261353e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156141df576141de613ee3565b5b600182019050919050565b7f6e6f74206f776e65720000000000000000000000000000000000000000000000600082015250565b600061422060098361348e565b915061422b826141ea565b602082019050919050565b6000602082019050818103600083015261424f81614213565b9050919050565b7f646f6573206e6f74206578697374000000000000000000000000000000000000600082015250565b600061428c600e8361348e565b915061429782614256565b602082019050919050565b600060208201905081810360008301526142bb8161427f565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006142f860188361348e565b9150614303826142c2565b602082019050919050565b60006020820190508181036000830152614327816142eb565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b600061438a60298361348e565b91506143958261432e565b604082019050919050565b600060208201905081810360008301526143b98161437d565b9050919050565b600081905092915050565b7f7b0a000000000000000000000000000000000000000000000000000000000000600082015250565b60006144016002836143c0565b915061440c826143cb565b600282019050919050565b7f226e616d65223a20220000000000000000000000000000000000000000000000600082015250565b600061444d6009836143c0565b915061445882614417565b600982019050919050565b600061446e82613483565b61447881856143c0565b935061448881856020860161349f565b80840191505092915050565b7f222c0a0000000000000000000000000000000000000000000000000000000000600082015250565b60006144ca6003836143c0565b91506144d582614494565b600382019050919050565b7f226465736372697074696f6e223a202200000000000000000000000000000000600082015250565b60006145166010836143c0565b9150614521826144e0565b601082019050919050565b7f22696d616765223a202200000000000000000000000000000000000000000000600082015250565b6000614562600a836143c0565b915061456d8261452c565b600a82019050919050565b7f2265787465726e616c5f75726c223a2268747470733a2f2f7777772e636f6d6d60008201527f616e646572646f75672e696f222c0a0000000000000000000000000000000000602082015250565b60006145d4602f836143c0565b91506145df82614578565b602f82019050919050565b7f2261747472696275746573223a205b7b202274726169745f74797065223a202260008201527f52656465656d6564222c202276616c7565223a20220000000000000000000000602082015250565b60006146466035836143c0565b9150614651826145ea565b603582019050919050565b7f227d2c207b202274726169745f74797065223a20224d696e74696e672050686160008201527f7365222c202276616c7565223a20220000000000000000000000000000000000602082015250565b60006146b8602f836143c0565b91506146c38261465c565b602f82019050919050565b7f227d5d0a00000000000000000000000000000000000000000000000000000000600082015250565b60006147046004836143c0565b915061470f826146ce565b600482019050919050565b7f7d00000000000000000000000000000000000000000000000000000000000000600082015250565b60006147506001836143c0565b915061475b8261471a565b600182019050919050565b6000614771826143f4565b915061477c82614440565b91506147888288614463565b9150614793826144bd565b915061479e82614509565b91506147aa8287614463565b91506147b5826144bd565b91506147c082614555565b91506147cc8286614463565b91506147d7826144bd565b91506147e2826145c7565b91506147ed82614639565b91506147f98285614463565b9150614804826146ab565b91506148108284614463565b915061481b826146f7565b915061482682614743565b91508190509695505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b600061486b601d836143c0565b915061487682614835565b601d82019050919050565b600061488c8261485e565b91506148988284614463565b915081905092915050565b7f4d7573742062652072656465656d657220636f6e747261637400000000000000600082015250565b60006148d960198361348e565b91506148e4826148a3565b602082019050919050565b60006020820190508181036000830152614908816148cc565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061494560208361348e565b91506149508261490f565b602082019050919050565b6000602082019050818103600083015261497481614938565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006149b1601c8361348e565b91506149bc8261497b565b602082019050919050565b600060208201905081810360008301526149e0816149a4565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614a4360258361348e565b9150614a4e826149e7565b604082019050919050565b60006020820190508181036000830152614a7281614a36565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614ad560248361348e565b9150614ae082614a79565b604082019050919050565b60006020820190508181036000830152614b0481614ac8565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614b4160198361348e565b9150614b4c82614b0b565b602082019050919050565b60006020820190508181036000830152614b7081614b34565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614bd360328361348e565b9150614bde82614b77565b604082019050919050565b60006020820190508181036000830152614c0281614bc6565b9050919050565b7f697066733a2f2f00000000000000000000000000000000000000000000000000600082015250565b6000614c3f6007836143c0565b9150614c4a82614c09565b600782019050919050565b60008190508160005260206000209050919050565b60008154614c7781613cb5565b614c8181866143c0565b94506001821660008114614c9c5760018114614cad57614ce0565b60ff19831686528186019350614ce0565b614cb685614c55565b60005b83811015614cd857815481890152600182019150602081019050614cb9565b838801955050505b50505092915050565b7f2f4550325f72656465656d65642e706e67000000000000000000000000000000600082015250565b6000614d1f6011836143c0565b9150614d2a82614ce9565b601182019050919050565b6000614d4082614c32565b9150614d4c8284614c6a565b9150614d5782614d12565b915081905092915050565b7f2f4550335f72656465656d65642e706e67000000000000000000000000000000600082015250565b6000614d986011836143c0565b9150614da382614d62565b601182019050919050565b6000614db982614c32565b9150614dc58284614c6a565b9150614dd082614d8b565b915081905092915050565b7f2f574c5f72656465656d65642e706e6700000000000000000000000000000000600082015250565b6000614e116010836143c0565b9150614e1c82614ddb565b601082019050919050565b6000614e3282614c32565b9150614e3e8284614c6a565b9150614e4982614e04565b915081905092915050565b7f2f4550322e706e67000000000000000000000000000000000000000000000000600082015250565b6000614e8a6008836143c0565b9150614e9582614e54565b600882019050919050565b6000614eab82614c32565b9150614eb78284614c6a565b9150614ec282614e7d565b915081905092915050565b7f2f4550332e706e67000000000000000000000000000000000000000000000000600082015250565b6000614f036008836143c0565b9150614f0e82614ecd565b600882019050919050565b6000614f2482614c32565b9150614f308284614c6a565b9150614f3b82614ef6565b915081905092915050565b7f2f574c2e706e6700000000000000000000000000000000000000000000000000600082015250565b6000614f7c6007836143c0565b9150614f8782614f46565b600782019050919050565b6000614f9d82614c32565b9150614fa98284614c6a565b9150614fb482614f6f565b915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614ff98261353e565b91506150048361353e565b92508261501457615013614fbf565b5b828204905092915050565b600061502a8261353e565b91506150358361353e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561506e5761506d613ee3565b5b828202905092915050565b7f536f756c626f756e6420746f6b656e206973206e6f6e2d7472616e736665727260008201527f61626c6500000000000000000000000000000000000000000000000000000000602082015250565b60006150d560248361348e565b91506150e082615079565b604082019050919050565b60006020820190508181036000830152615104816150c8565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006151328261510b565b61513c8185615116565b935061514c81856020860161349f565b615155816134d2565b840191505092915050565b600060808201905061517560008301876135d3565b61518260208301866135d3565b61518f6040830185613669565b81810360608301526151a18184615127565b905095945050505050565b6000815190506151bb816133f4565b92915050565b6000602082840312156151d7576151d66133be565b5b60006151e5848285016151ac565b91505092915050565b60006151f98261353e565b91506152048361353e565b92508282101561521757615216613ee3565b5b82820390509291505056fe52656465656d207468697320746f6b656e20666f72206f6e6520e2809c4469726563746f72e280997320437574e2809d207072652d72657665616c20626f78206174205b68747470733a2f2f6170702e636f6d6d616e646572646f75672e696f2f72656465656d5d2868747470733a2f2f6170702e636f6d6d616e646572646f75672e696f2f72656465656d292e20e2809c4469726563746f72e280997320437574e2809d20446f756720426f78657320636f6e7461696e206f6e6520446f756720616e642074686520686f6c6465722077696c6c2062652061697264726f70706564206f6e65206164646974696f6e616c20446f756720626f78207072696f7220746f20756e626f78696e67206461792e52656465656d207468697320746f6b656e20666f72206f6e6520726567756c6172207072652d72657665616c20626f782028636f6e7461696e73206f6e6520446f756729206174205b68747470733a2f2f6170702e636f6d6d616e646572646f75672e696f2f72656465656d5d2868747470733a2f2f6170702e636f6d6d616e646572646f75672e696f2f72656465656d292e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f52656465656d207468697320746f6b656e20666f72206f6e6520e2809c426f6e757320466f6f74616765e2809d207072652d72657665616c20626f78206174205b68747470733a2f2f6170702e636f6d6d616e646572646f75672e696f2f72656465656d5d2868747470733a2f2f6170702e636f6d6d616e646572646f75672e696f2f72656465656d292e20e2809c426f6e757320466f6f74616765e2809d20446f756720426f78657320636f6e7461696e206f6e6520446f756720616e642074686520686f6c6465722077696c6c2062652061697264726f707065642074776f206164646974696f6e616c20446f756720626f786573207072696f7220746f20756e626f78696e67206461792ea264697066735822122068d61d27362487038c13596511c17356977c7302b429a02a1a9ae56ce80157c464736f6c634300080b0033000000000000000000000000000000000000000000000000010a741a46278000000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000e1000000000000000000000000000000000000000000000000000000000000022600000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002e516d576b61794743366a5a684859713976687278414447475048786a4b6a6d586d636e3764624676354557554377000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061020f5760003560e01c806376db9c5411610118578063bc0bc6ba116100a0578063db006a751161006f578063db006a75146107be578063e985e9c5146107e7578063eb6ad24e14610824578063eb91d37e1461084f578063fa09e6301461087a5761020f565b8063bc0bc6ba146106f2578063c3cac52b1461072f578063c46a3f6814610758578063c87b56dd146107815761020f565b806395d89b41116100e757806395d89b4114610623578063a22cb4651461064e578063a7f0362d14610677578063b4ef8d54146106a0578063b88d4fde146106c95761020f565b806376db9c541461057957806383c4c00d146105a45780638f82b8c4146105cf57806391b7f5ed146105fa5761020f565b806332d33cd01161019b5780635666b5911161016a5780635666b591146104705780636352211e14610499578063704b6c02146104d657806370a08231146104ff5780637651da281461053c5761020f565b806332d33cd0146103b85780633307ce84146103f557806342842e0e1461041e57806342966c68146104475761020f565b80631249c58b116101e25780631249c58b146102e2578063136b715e1461030057806321c9d2911461032957806323b872dd146103665780632b6df36c1461038f5761020f565b806301ffc9a71461021457806306fdde0314610251578063081812fc1461027c578063095ea7b3146102b9575b600080fd5b34801561022057600080fd5b5061023b60048036038101906102369190613420565b6108a3565b6040516102489190613468565b60405180910390f35b34801561025d57600080fd5b50610266610985565b604051610273919061351c565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e9190613574565b610a17565b6040516102b091906135e2565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db9190613629565b610a5d565b005b6102ea610b75565b6040516102f79190613678565b60405180910390f35b34801561030c57600080fd5b5061032760048036038101906103229190613574565b610e0f565b005b34801561033557600080fd5b50610350600480360381019061034b9190613693565b610ea9565b60405161035d9190613468565b60405180910390f35b34801561037257600080fd5b5061038d600480360381019061038891906136c0565b610eff565b005b34801561039b57600080fd5b506103b660048036038101906103b191906138c1565b610f5f565b005b3480156103c457600080fd5b506103df60048036038101906103da9190613574565b61113d565b6040516103ec9190613468565b60405180910390f35b34801561040157600080fd5b5061041c60048036038101906104179190613693565b611167565b005b34801561042a57600080fd5b50610445600480360381019061044091906136c0565b61123b565b005b34801561045357600080fd5b5061046e60048036038101906104699190613574565b61125b565b005b34801561047c57600080fd5b5061049760048036038101906104929190613930565b61132c565b005b3480156104a557600080fd5b506104c060048036038101906104bb9190613574565b6114ca565b6040516104cd91906135e2565b60405180910390f35b3480156104e257600080fd5b506104fd60048036038101906104f89190613693565b611551565b005b34801561050b57600080fd5b5061052660048036038101906105219190613693565b611625565b6040516105339190613678565b60405180910390f35b34801561054857600080fd5b50610563600480360381019061055e9190613693565b6116dd565b6040516105709190613992565b60405180910390f35b34801561058557600080fd5b5061058e611734565b60405161059b9190613468565b60405180910390f35b3480156105b057600080fd5b506105b961178f565b6040516105c69190613678565b60405180910390f35b3480156105db57600080fd5b506105e46117ad565b6040516105f19190613992565b60405180910390f35b34801561060657600080fd5b50610621600480360381019061061c9190613574565b611809565b005b34801561062f57600080fd5b506106386118a3565b604051610645919061351c565b60405180910390f35b34801561065a57600080fd5b50610675600480360381019061067091906139ad565b611935565b005b34801561068357600080fd5b5061069e60048036038101906106999190613574565b61194b565b005b3480156106ac57600080fd5b506106c760048036038101906106c29190613574565b6119e5565b005b3480156106d557600080fd5b506106f060048036038101906106eb9190613aa2565b611a7f565b005b3480156106fe57600080fd5b5061071960048036038101906107149190613574565b611ae1565b6040516107269190613b41565b60405180910390f35b34801561073b57600080fd5b5061075660048036038101906107519190613bfd565b611b23565b005b34801561076457600080fd5b5061077f600480360381019061077a9190613574565b611bcd565b005b34801561078d57600080fd5b506107a860048036038101906107a39190613574565b611c67565b6040516107b5919061351c565b60405180910390f35b3480156107ca57600080fd5b506107e560048036038101906107e09190613574565b611e5d565b005b3480156107f357600080fd5b5061080e60048036038101906108099190613c46565b611f1c565b60405161081b9190613468565b60405180910390f35b34801561083057600080fd5b50610839611fb0565b6040516108469190613678565b60405180910390f35b34801561085b57600080fd5b50610864611fba565b6040516108719190613678565b60405180910390f35b34801561088657600080fd5b506108a1600480360381019061089c9190613693565b611fc4565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061096e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061097e575061097d826120aa565b5b9050919050565b60606000805461099490613cb5565b80601f01602080910402602001604051908101604052809291908181526020018280546109c090613cb5565b8015610a0d5780601f106109e257610100808354040283529160200191610a0d565b820191906000526020600020905b8154815290600101906020018083116109f057829003601f168201915b5050505050905090565b6000610a2282612114565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a68826114ca565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ad9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad090613d59565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610af861215f565b73ffffffffffffffffffffffffffffffffffffffff161480610b275750610b2681610b2161215f565b611f1c565b5b610b66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5d90613deb565b60405180910390fd5b610b708383612167565b505050565b6000600f54341015610bbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb390613e57565b60405180910390fd5b600160096000610bca61215f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff1661ffff161015610c58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4f90613ec3565b60405180910390fd5b601054601354610c686008612220565b610c729190613f12565b10610cb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca990613fb4565b60405180910390fd5b610cbc600861222e565b6000601354610ccb6008612220565b610cd59190613f12565b9050610ce8610ce261215f565b82612244565b600160096000610cf661215f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff16610d499190613fd4565b60096000610d5561215f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548161ffff021916908361ffff1602179055506001600a6000610db761215f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508091505090565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9690614054565b60405180910390fd5b80600d8190555050565b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b610f10610f0a61215f565b82612462565b610f4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f46906140e6565b60405180910390fd5b610f5a8383836124f7565b505050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806110085750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611047576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103e90614152565b60405180910390fd5b60005b835181101561113757600084828151811061106857611067614172565b5b6020026020010151905083600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548161ffff021916908361ffff16021790555082600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050808061112f906141a1565b91505061104a565b50505050565b6000600b600083815260200190815260200160002060009054906101000a900460ff169050919050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146111f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ee90614054565b60405180910390fd5b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61125683838360405180602001604052806000815250611a7f565b505050565b611264816114ca565b73ffffffffffffffffffffffffffffffffffffffff1661128261215f565b73ffffffffffffffffffffffffffffffffffffffff16146112d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112cf90614236565b60405180910390fd5b6112e1816127f1565b611320576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611317906142a2565b60405180910390fd5b61132981612832565b50565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806113d55750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611414576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140b90614152565b60405180910390fd5b81600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548161ffff021916908361ffff16021790555080600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550505050565b6000806114d683612980565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611548576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153f9061430e565b60405180910390fd5b80915050919050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146115e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d890614054565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611696576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168d906143a0565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff169050919050565b6000600a600061174261215f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905090565b600060135461179e6008612220565b6117a89190613f12565b905090565b6000600960006117bb61215f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff16905090565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611899576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189090614054565b60405180910390fd5b80600f8190555050565b6060600180546118b290613cb5565b80601f01602080910402602001604051908101604052809291908181526020018280546118de90613cb5565b801561192b5780601f106119005761010080835404028352916020019161192b565b820191906000526020600020905b81548152906001019060200180831161190e57829003601f168201915b5050505050905090565b61194761194061215f565b83836129bd565b5050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146119db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d290614054565b60405180910390fd5b8060108190555050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611a75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6c90614054565b60405180910390fd5b8060138190555050565b611a90611a8a61215f565b83612462565b611acf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac6906140e6565b60405180910390fd5b611adb84848484612b2a565b50505050565b6000600c548211611af55760019050611b1e565b600d548211611b075760029050611b1e565b600e548211611b195760039050611b1e565b600490505b919050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611bb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611baa90614054565b60405180910390fd5b8060119080519060200190611bc9929190613311565b5050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611c5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5490614054565b60405180910390fd5b80600e8190555050565b60606000611c7483611ae1565b90506000611c8182612b86565b90506000611c8e83612c32565b90506000611c9c8685612cb3565b90506000600b600088815260200190815260200160002060009054906101000a900460ff16611d00576040518060400160405280600281526020017f4e6f000000000000000000000000000000000000000000000000000000000000815250611d37565b6040518060400160405280600381526020017f59657300000000000000000000000000000000000000000000000000000000008152505b9050600060028660ff1614611dc85760038660ff1614611d8c576040518060400160405280600c81526020017f4561726c79204163636573730000000000000000000000000000000000000000815250611dc3565b6040518060400160405280600781526020017f45706f63682033000000000000000000000000000000000000000000000000008152505b611dff565b6040518060400160405280600781526020017f45706f63682032000000000000000000000000000000000000000000000000008152505b9050611e318585858585604051602001611e1d959493929190614766565b604051602081830303815290604052612dfd565b604051602001611e419190614881565b6040516020818303038152906040529650505050505050919050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611eed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee4906148ef565b60405180910390fd5b6001600b600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000601354905090565b6000600f54905090565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204b90614054565b60405180910390fd5b600081905060004790508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156120a4573d6000803e3d6000fd5b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61211d816127f1565b61215c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121539061430e565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166121da836114ca565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156122b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ab9061495b565b60405180910390fd5b6122bd816127f1565b156122fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f4906149c7565b60405180910390fd5b61230b600083836001612f82565b612314816127f1565b15612354576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234b906149c7565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461245e60008383600161303a565b5050565b60008061246e836114ca565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806124b057506124af8185611f1c565b5b806124ee57508373ffffffffffffffffffffffffffffffffffffffff166124d684610a17565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612517826114ca565b73ffffffffffffffffffffffffffffffffffffffff161461256d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256490614a59565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d490614aeb565b60405180910390fd5b6125ea8383836001612f82565b8273ffffffffffffffffffffffffffffffffffffffff1661260a826114ca565b73ffffffffffffffffffffffffffffffffffffffff1614612660576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265790614a59565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127ec838383600161303a565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff1661281383612980565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600061283d826114ca565b905061284d816000846001612f82565b612856826114ca565b90506004600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461297c81600084600161303a565b5050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612a2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2390614b57565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612b1d9190613468565b60405180910390a3505050565b612b358484846124f7565b612b4184848484613040565b612b80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7790614be9565b60405180910390fd5b50505050565b606060028260ff161415612bd1576040518060400160405280601881526020017f45706f636820233220536f756c626f756e6420546f6b656e00000000000000008152509050612c2d565b60038260ff161415612c1a576040518060400160405280601881526020017f45706f636820233320536f756c626f756e6420546f6b656e00000000000000008152509050612c2d565b6040518060200160405280600081525090505b919050565b606060028260ff161415612c635760405180610140016040528061010e815260200161540861010e91399050612cae565b60038260ff161415612c9257604051806101400160405280610112815260200161522361011291399050612cae565b6040518060c00160405280609381526020016153356093913990505b919050565b6060600b600084815260200190815260200160002060009054906101000a900460ff1615612d6b5760028260ff161415612d0f576011604051602001612cf99190614d35565b6040516020818303038152906040529050612df7565b60038260ff161415612d43576011604051602001612d2d9190614dae565b6040516020818303038152906040529050612df7565b6011604051602001612d559190614e27565b6040516020818303038152906040529050612df7565b60028260ff161415612d9f576011604051602001612d899190614ea0565b6040516020818303038152906040529050612df7565b60038260ff161415612dd3576011604051602001612dbd9190614f19565b6040516020818303038152906040529050612df7565b6011604051602001612de59190614f92565b60405160208183030381529060405290505b92915050565b6060600082511415612e2057604051806020016040528060008152509050612f7d565b60006040518060600160405280604081526020016153c86040913990506000600360028551612e4f9190613f12565b612e599190614fee565b6004612e65919061501f565b90506000602082612e769190613f12565b67ffffffffffffffff811115612e8f57612e8e613718565b5b6040519080825280601f01601f191660200182016040528015612ec15781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015612f3c576003830192508251603f8160121c1685015160f81b8252600182019150603f81600c1c1685015160f81b8252600182019150603f8160061c1685015160f81b8252600182019150603f811685015160f81b825260018201915050612ed5565b600389510660018114612f565760028114612f6657612f71565b613d3d60f01b6002830352612f71565b603d60f81b60018303525b50505050508093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612fe95750600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16145b613028576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161301f906150eb565b60405180910390fd5b613034848484846131c8565b50505050565b50505050565b60006130618473ffffffffffffffffffffffffffffffffffffffff166132ee565b156131bb578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261308a61215f565b8786866040518563ffffffff1660e01b81526004016130ac9493929190615160565b6020604051808303816000875af19250505080156130e857506040513d601f19601f820116820180604052508101906130e591906151c1565b60015b61316b573d8060008114613118576040519150601f19603f3d011682016040523d82523d6000602084013e61311d565b606091505b50600081511415613163576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161315a90614be9565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506131c0565b600190505b949350505050565b60018111156132e857600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161461325c5780600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461325491906151ee565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146132e75780600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132df9190613f12565b925050819055505b5b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461331d90613cb5565b90600052602060002090601f01602090048101928261333f5760008555613386565b82601f1061335857805160ff1916838001178555613386565b82800160010185558215613386579182015b8281111561338557825182559160200191906001019061336a565b5b5090506133939190613397565b5090565b5b808211156133b0576000816000905550600101613398565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6133fd816133c8565b811461340857600080fd5b50565b60008135905061341a816133f4565b92915050565b600060208284031215613436576134356133be565b5b60006134448482850161340b565b91505092915050565b60008115159050919050565b6134628161344d565b82525050565b600060208201905061347d6000830184613459565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156134bd5780820151818401526020810190506134a2565b838111156134cc576000848401525b50505050565b6000601f19601f8301169050919050565b60006134ee82613483565b6134f8818561348e565b935061350881856020860161349f565b613511816134d2565b840191505092915050565b6000602082019050818103600083015261353681846134e3565b905092915050565b6000819050919050565b6135518161353e565b811461355c57600080fd5b50565b60008135905061356e81613548565b92915050565b60006020828403121561358a576135896133be565b5b60006135988482850161355f565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006135cc826135a1565b9050919050565b6135dc816135c1565b82525050565b60006020820190506135f760008301846135d3565b92915050565b613606816135c1565b811461361157600080fd5b50565b600081359050613623816135fd565b92915050565b600080604083850312156136405761363f6133be565b5b600061364e85828601613614565b925050602061365f8582860161355f565b9150509250929050565b6136728161353e565b82525050565b600060208201905061368d6000830184613669565b92915050565b6000602082840312156136a9576136a86133be565b5b60006136b784828501613614565b91505092915050565b6000806000606084860312156136d9576136d86133be565b5b60006136e786828701613614565b93505060206136f886828701613614565b92505060406137098682870161355f565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613750826134d2565b810181811067ffffffffffffffff8211171561376f5761376e613718565b5b80604052505050565b60006137826133b4565b905061378e8282613747565b919050565b600067ffffffffffffffff8211156137ae576137ad613718565b5b602082029050602081019050919050565b600080fd5b60006137d76137d284613793565b613778565b905080838252602082019050602084028301858111156137fa576137f96137bf565b5b835b81811015613823578061380f8882613614565b8452602084019350506020810190506137fc565b5050509392505050565b600082601f83011261384257613841613713565b5b81356138528482602086016137c4565b91505092915050565b600061ffff82169050919050565b6138728161385b565b811461387d57600080fd5b50565b60008135905061388f81613869565b92915050565b61389e8161344d565b81146138a957600080fd5b50565b6000813590506138bb81613895565b92915050565b6000806000606084860312156138da576138d96133be565b5b600084013567ffffffffffffffff8111156138f8576138f76133c3565b5b6139048682870161382d565b935050602061391586828701613880565b9250506040613926868287016138ac565b9150509250925092565b600080600060608486031215613949576139486133be565b5b600061395786828701613614565b935050602061396886828701613880565b9250506040613979868287016138ac565b9150509250925092565b61398c8161385b565b82525050565b60006020820190506139a76000830184613983565b92915050565b600080604083850312156139c4576139c36133be565b5b60006139d285828601613614565b92505060206139e3858286016138ac565b9150509250929050565b600080fd5b600067ffffffffffffffff821115613a0d57613a0c613718565b5b613a16826134d2565b9050602081019050919050565b82818337600083830152505050565b6000613a45613a40846139f2565b613778565b905082815260208101848484011115613a6157613a606139ed565b5b613a6c848285613a23565b509392505050565b600082601f830112613a8957613a88613713565b5b8135613a99848260208601613a32565b91505092915050565b60008060008060808587031215613abc57613abb6133be565b5b6000613aca87828801613614565b9450506020613adb87828801613614565b9350506040613aec8782880161355f565b925050606085013567ffffffffffffffff811115613b0d57613b0c6133c3565b5b613b1987828801613a74565b91505092959194509250565b600060ff82169050919050565b613b3b81613b25565b82525050565b6000602082019050613b566000830184613b32565b92915050565b600067ffffffffffffffff821115613b7757613b76613718565b5b613b80826134d2565b9050602081019050919050565b6000613ba0613b9b84613b5c565b613778565b905082815260208101848484011115613bbc57613bbb6139ed565b5b613bc7848285613a23565b509392505050565b600082601f830112613be457613be3613713565b5b8135613bf4848260208601613b8d565b91505092915050565b600060208284031215613c1357613c126133be565b5b600082013567ffffffffffffffff811115613c3157613c306133c3565b5b613c3d84828501613bcf565b91505092915050565b60008060408385031215613c5d57613c5c6133be565b5b6000613c6b85828601613614565b9250506020613c7c85828601613614565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613ccd57607f821691505b60208210811415613ce157613ce0613c86565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613d4360218361348e565b9150613d4e82613ce7565b604082019050919050565b60006020820190508181036000830152613d7281613d36565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b6000613dd5603d8361348e565b9150613de082613d79565b604082019050919050565b60006020820190508181036000830152613e0481613dc8565b9050919050565b7f696e636f72726563742070726963650000000000000000000000000000000000600082015250565b6000613e41600f8361348e565b9150613e4c82613e0b565b602082019050919050565b60006020820190508181036000830152613e7081613e34565b9050919050565b7f6e6f74206f6e2077686974656c69737400000000000000000000000000000000600082015250565b6000613ead60108361348e565b9150613eb882613e77565b602082019050919050565b60006020820190508181036000830152613edc81613ea0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613f1d8261353e565b9150613f288361353e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613f5d57613f5c613ee3565b5b828201905092915050565b7f616c6c2053425473206d696e7465640000000000000000000000000000000000600082015250565b6000613f9e600f8361348e565b9150613fa982613f68565b602082019050919050565b60006020820190508181036000830152613fcd81613f91565b9050919050565b6000613fdf8261385b565b9150613fea8361385b565b925082821015613ffd57613ffc613ee3565b5b828203905092915050565b7f43616c6c6572206973206e6f74206f776e657200000000000000000000000000600082015250565b600061403e60138361348e565b915061404982614008565b602082019050919050565b6000602082019050818103600083015261406d81614031565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b60006140d0602d8361348e565b91506140db82614074565b604082019050919050565b600060208201905081810360008301526140ff816140c3565b9050919050565b7f43616c6c6572206973206e6f74206f776e6572206f722061646d696e00000000600082015250565b600061413c601c8361348e565b915061414782614106565b602082019050919050565b6000602082019050818103600083015261416b8161412f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006141ac8261353e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156141df576141de613ee3565b5b600182019050919050565b7f6e6f74206f776e65720000000000000000000000000000000000000000000000600082015250565b600061422060098361348e565b915061422b826141ea565b602082019050919050565b6000602082019050818103600083015261424f81614213565b9050919050565b7f646f6573206e6f74206578697374000000000000000000000000000000000000600082015250565b600061428c600e8361348e565b915061429782614256565b602082019050919050565b600060208201905081810360008301526142bb8161427f565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006142f860188361348e565b9150614303826142c2565b602082019050919050565b60006020820190508181036000830152614327816142eb565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b600061438a60298361348e565b91506143958261432e565b604082019050919050565b600060208201905081810360008301526143b98161437d565b9050919050565b600081905092915050565b7f7b0a000000000000000000000000000000000000000000000000000000000000600082015250565b60006144016002836143c0565b915061440c826143cb565b600282019050919050565b7f226e616d65223a20220000000000000000000000000000000000000000000000600082015250565b600061444d6009836143c0565b915061445882614417565b600982019050919050565b600061446e82613483565b61447881856143c0565b935061448881856020860161349f565b80840191505092915050565b7f222c0a0000000000000000000000000000000000000000000000000000000000600082015250565b60006144ca6003836143c0565b91506144d582614494565b600382019050919050565b7f226465736372697074696f6e223a202200000000000000000000000000000000600082015250565b60006145166010836143c0565b9150614521826144e0565b601082019050919050565b7f22696d616765223a202200000000000000000000000000000000000000000000600082015250565b6000614562600a836143c0565b915061456d8261452c565b600a82019050919050565b7f2265787465726e616c5f75726c223a2268747470733a2f2f7777772e636f6d6d60008201527f616e646572646f75672e696f222c0a0000000000000000000000000000000000602082015250565b60006145d4602f836143c0565b91506145df82614578565b602f82019050919050565b7f2261747472696275746573223a205b7b202274726169745f74797065223a202260008201527f52656465656d6564222c202276616c7565223a20220000000000000000000000602082015250565b60006146466035836143c0565b9150614651826145ea565b603582019050919050565b7f227d2c207b202274726169745f74797065223a20224d696e74696e672050686160008201527f7365222c202276616c7565223a20220000000000000000000000000000000000602082015250565b60006146b8602f836143c0565b91506146c38261465c565b602f82019050919050565b7f227d5d0a00000000000000000000000000000000000000000000000000000000600082015250565b60006147046004836143c0565b915061470f826146ce565b600482019050919050565b7f7d00000000000000000000000000000000000000000000000000000000000000600082015250565b60006147506001836143c0565b915061475b8261471a565b600182019050919050565b6000614771826143f4565b915061477c82614440565b91506147888288614463565b9150614793826144bd565b915061479e82614509565b91506147aa8287614463565b91506147b5826144bd565b91506147c082614555565b91506147cc8286614463565b91506147d7826144bd565b91506147e2826145c7565b91506147ed82614639565b91506147f98285614463565b9150614804826146ab565b91506148108284614463565b915061481b826146f7565b915061482682614743565b91508190509695505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b600061486b601d836143c0565b915061487682614835565b601d82019050919050565b600061488c8261485e565b91506148988284614463565b915081905092915050565b7f4d7573742062652072656465656d657220636f6e747261637400000000000000600082015250565b60006148d960198361348e565b91506148e4826148a3565b602082019050919050565b60006020820190508181036000830152614908816148cc565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061494560208361348e565b91506149508261490f565b602082019050919050565b6000602082019050818103600083015261497481614938565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006149b1601c8361348e565b91506149bc8261497b565b602082019050919050565b600060208201905081810360008301526149e0816149a4565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614a4360258361348e565b9150614a4e826149e7565b604082019050919050565b60006020820190508181036000830152614a7281614a36565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614ad560248361348e565b9150614ae082614a79565b604082019050919050565b60006020820190508181036000830152614b0481614ac8565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614b4160198361348e565b9150614b4c82614b0b565b602082019050919050565b60006020820190508181036000830152614b7081614b34565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614bd360328361348e565b9150614bde82614b77565b604082019050919050565b60006020820190508181036000830152614c0281614bc6565b9050919050565b7f697066733a2f2f00000000000000000000000000000000000000000000000000600082015250565b6000614c3f6007836143c0565b9150614c4a82614c09565b600782019050919050565b60008190508160005260206000209050919050565b60008154614c7781613cb5565b614c8181866143c0565b94506001821660008114614c9c5760018114614cad57614ce0565b60ff19831686528186019350614ce0565b614cb685614c55565b60005b83811015614cd857815481890152600182019150602081019050614cb9565b838801955050505b50505092915050565b7f2f4550325f72656465656d65642e706e67000000000000000000000000000000600082015250565b6000614d1f6011836143c0565b9150614d2a82614ce9565b601182019050919050565b6000614d4082614c32565b9150614d4c8284614c6a565b9150614d5782614d12565b915081905092915050565b7f2f4550335f72656465656d65642e706e67000000000000000000000000000000600082015250565b6000614d986011836143c0565b9150614da382614d62565b601182019050919050565b6000614db982614c32565b9150614dc58284614c6a565b9150614dd082614d8b565b915081905092915050565b7f2f574c5f72656465656d65642e706e6700000000000000000000000000000000600082015250565b6000614e116010836143c0565b9150614e1c82614ddb565b601082019050919050565b6000614e3282614c32565b9150614e3e8284614c6a565b9150614e4982614e04565b915081905092915050565b7f2f4550322e706e67000000000000000000000000000000000000000000000000600082015250565b6000614e8a6008836143c0565b9150614e9582614e54565b600882019050919050565b6000614eab82614c32565b9150614eb78284614c6a565b9150614ec282614e7d565b915081905092915050565b7f2f4550332e706e67000000000000000000000000000000000000000000000000600082015250565b6000614f036008836143c0565b9150614f0e82614ecd565b600882019050919050565b6000614f2482614c32565b9150614f308284614c6a565b9150614f3b82614ef6565b915081905092915050565b7f2f574c2e706e6700000000000000000000000000000000000000000000000000600082015250565b6000614f7c6007836143c0565b9150614f8782614f46565b600782019050919050565b6000614f9d82614c32565b9150614fa98284614c6a565b9150614fb482614f6f565b915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614ff98261353e565b91506150048361353e565b92508261501457615013614fbf565b5b828204905092915050565b600061502a8261353e565b91506150358361353e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561506e5761506d613ee3565b5b828202905092915050565b7f536f756c626f756e6420746f6b656e206973206e6f6e2d7472616e736665727260008201527f61626c6500000000000000000000000000000000000000000000000000000000602082015250565b60006150d560248361348e565b91506150e082615079565b604082019050919050565b60006020820190508181036000830152615104816150c8565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006151328261510b565b61513c8185615116565b935061514c81856020860161349f565b615155816134d2565b840191505092915050565b600060808201905061517560008301876135d3565b61518260208301866135d3565b61518f6040830185613669565b81810360608301526151a18184615127565b905095945050505050565b6000815190506151bb816133f4565b92915050565b6000602082840312156151d7576151d66133be565b5b60006151e5848285016151ac565b91505092915050565b60006151f98261353e565b91506152048361353e565b92508282101561521757615216613ee3565b5b82820390509291505056fe52656465656d207468697320746f6b656e20666f72206f6e6520e2809c4469726563746f72e280997320437574e2809d207072652d72657665616c20626f78206174205b68747470733a2f2f6170702e636f6d6d616e646572646f75672e696f2f72656465656d5d2868747470733a2f2f6170702e636f6d6d616e646572646f75672e696f2f72656465656d292e20e2809c4469726563746f72e280997320437574e2809d20446f756720426f78657320636f6e7461696e206f6e6520446f756720616e642074686520686f6c6465722077696c6c2062652061697264726f70706564206f6e65206164646974696f6e616c20446f756720626f78207072696f7220746f20756e626f78696e67206461792e52656465656d207468697320746f6b656e20666f72206f6e6520726567756c6172207072652d72657665616c20626f782028636f6e7461696e73206f6e6520446f756729206174205b68747470733a2f2f6170702e636f6d6d616e646572646f75672e696f2f72656465656d5d2868747470733a2f2f6170702e636f6d6d616e646572646f75672e696f2f72656465656d292e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f52656465656d207468697320746f6b656e20666f72206f6e6520e2809c426f6e757320466f6f74616765e2809d207072652d72657665616c20626f78206174205b68747470733a2f2f6170702e636f6d6d616e646572646f75672e696f2f72656465656d5d2868747470733a2f2f6170702e636f6d6d616e646572646f75672e696f2f72656465656d292e20e2809c426f6e757320466f6f74616765e2809d20446f756720426f78657320636f6e7461696e206f6e6520446f756720616e642074686520686f6c6465722077696c6c2062652061697264726f707065642074776f206164646974696f6e616c20446f756720626f786573207072696f7220746f20756e626f78696e67206461792ea264697066735822122068d61d27362487038c13596511c17356977c7302b429a02a1a9ae56ce80157c464736f6c634300080b0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000000000000000000000000000010a741a46278000000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000e1000000000000000000000000000000000000000000000000000000000000022600000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000002e516d576b61794743366a5a684859713976687278414447475048786a4b6a6d586d636e3764624676354557554377000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : price (uint256): 75000000000000000
Arg [1] : epochMax1 (uint256): 50
Arg [2] : epochMax2 (uint256): 225
Arg [3] : epochMax3 (uint256): 550
Arg [4] : imagesRootHash (string): QmWkayGC6jZhHYq9vhrxADGGPHxjKjmXmcn7dbFv5EWUCw
Arg [5] : finalTokenId (uint256): 50
Arg [6] : dougTokenOffset (uint256): 50

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000010a741a46278000
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000032
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e1
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000226
Arg [4] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000032
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000032
Arg [7] : 000000000000000000000000000000000000000000000000000000000000002e
Arg [8] : 516d576b61794743366a5a684859713976687278414447475048786a4b6a6d58
Arg [9] : 6d636e3764624676354557554377000000000000000000000000000000000000


Deployed Bytecode Sourcemap

86275:8998:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45071:305;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;45999:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;47511:171;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;47029:416;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;88225:572;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;93389:97;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;93015:128;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;48211:335;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;94321:348;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;92772:107;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;93288:93;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;48617:185;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;88805:190;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;94109:204;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;45709:223;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;93199:81;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;45440:207;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;87959:126;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;92887:120;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;88097;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;87843:108;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;93971:82;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;46168:104;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;47754:155;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;93730:109;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;93847:116;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;48873:322;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;87475:260;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;93599:123;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;93494:97;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;91252:1348;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;92608:156;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;47980:164;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;87375:92;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;87747:88;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;94677:184;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;45071:305;45173:4;45225:25;45210:40;;;:11;:40;;;;:105;;;;45282:33;45267:48;;;:11;:48;;;;45210:105;:158;;;;45332:36;45356:11;45332:23;:36::i;:::-;45210:158;45190:178;;45071:305;;;:::o;45999:100::-;46053:13;46086:5;46079:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45999:100;:::o;47511:171::-;47587:7;47607:23;47622:7;47607:14;:23::i;:::-;47650:15;:24;47666:7;47650:24;;;;;;;;;;;;;;;;;;;;;47643:31;;47511:171;;;:::o;47029:416::-;47110:13;47126:23;47141:7;47126:14;:23::i;:::-;47110:39;;47174:5;47168:11;;:2;:11;;;;47160:57;;;;;;;;;;;;:::i;:::-;;;;;;;;;47268:5;47252:21;;:12;:10;:12::i;:::-;:21;;;:62;;;;47277:37;47294:5;47301:12;:10;:12::i;:::-;47277:16;:37::i;:::-;47252:62;47230:173;;;;;;;;;;;;:::i;:::-;;;;;;;;;47416:21;47425:2;47429:7;47416:8;:21::i;:::-;47099:346;47029:416;;:::o;88225:572::-;88265:7;88306:6;;88293:9;:19;;88285:47;;;;;;;;;;;;:::i;:::-;;;;;;;;;88379:1;88351:10;:24;88362:12;:10;:12::i;:::-;88351:24;;;;;;;;;;;;;;;;;;;;;;;;;:29;;;;88343:58;;;;;;;;;;;;:::i;:::-;;;;;;;;;88461:13;;88442:16;;88420:19;:9;:17;:19::i;:::-;:38;;;;:::i;:::-;:54;88412:82;;;;;;;;;;;;:::i;:::-;;;;;;;;;88507:21;:9;:19;:21::i;:::-;88541:17;88583:16;;88561:19;:9;:17;:19::i;:::-;:38;;;;:::i;:::-;88541:58;;88612:30;88618:12;:10;:12::i;:::-;88632:9;88612:5;:30::i;:::-;88709:1;88682:10;:24;88693:12;:10;:12::i;:::-;88682:24;;;;;;;;;;;;;;;;;;;;;;;;;:28;;;;:::i;:::-;88655:10;:24;88666:12;:10;:12::i;:::-;88655:24;;;;;;;;;;;;;;;;:55;;;;;;;;;;;;;;;;;;88756:4;88721:18;:32;88740:12;:10;:12::i;:::-;88721:32;;;;;;;;;;;;;;;;:39;;;;;;;;;;;;;;;;;;88780:9;88773:16;;;88225:572;:::o;93389:97::-;85708:6;;;;;;;;;;;85694:20;;:10;:20;;;85686:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;93469:9:::1;93456:10;:22;;;;93389:97:::0;:::o;93015:128::-;93085:4;93109:18;:26;93128:6;93109:26;;;;;;;;;;;;;;;;;;;;;;;;;93102:33;;93015:128;;;:::o;48211:335::-;48406:41;48425:12;:10;:12::i;:::-;48439:7;48406:18;:41::i;:::-;48398:99;;;;;;;;;;;;:::i;:::-;;;;;;;;;48510:28;48520:4;48526:2;48530:7;48510:9;:28::i;:::-;48211:335;;;:::o;94321:348::-;85870:6;;;;;;;;;;;85856:20;;:10;:20;;;:44;;;;85894:6;;;;;;;;;;;85880:20;;:10;:20;;;85856:44;85848:85;;;;;;;;;;;;:::i;:::-;;;;;;;;;94460:6:::1;94456:206;94476:7;:14;94472:1;:18;94456:206;;;94512:14;94529:7;94537:1;94529:10;;;;;;;;:::i;:::-;;;;;;;;94512:27;;94575:14;94554:10;:18;94565:6;94554:18;;;;;;;;;;;;;;;;:35;;;;;;;;;;;;;;;;;;94633:17;94604:18;:26;94623:6;94604:26;;;;;;;;;;;;;;;;:46;;;;;;;;;;;;;;;;;;94497:165;94492:3;;;;;:::i;:::-;;;;94456:206;;;;94321:348:::0;;;:::o;92772:107::-;92829:4;92853:9;:18;92863:7;92853:18;;;;;;;;;;;;;;;;;;;;;92846:25;;92772:107;;;:::o;93288:93::-;85708:6;;;;;;;;;;;85694:20;;:10;:20;;;85686:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;93365:8:::1;93353:9;;:20;;;;;;;;;;;;;;;;;;93288:93:::0;:::o;48617:185::-;48755:39;48772:4;48778:2;48782:7;48755:39;;;;;;;;;;;;:16;:39::i;:::-;48617:185;;;:::o;88805:190::-;88878:16;88886:7;88878;:16::i;:::-;88862:32;;:12;:10;:12::i;:::-;:32;;;88854:54;;;;;;;;;;;;:::i;:::-;;;;;;;;;88927:16;88935:7;88927;:16::i;:::-;88919:43;;;;;;;;;;;;:::i;:::-;;;;;;;;;88973:14;88979:7;88973:5;:14::i;:::-;88805:190;:::o;94109:204::-;85870:6;;;;;;;;;;;85856:20;;:10;:20;;;:44;;;;85894:6;;;;;;;;;;;85880:20;;:10;:20;;;85856:44;85848:85;;;;;;;;;;;;:::i;:::-;;;;;;;;;94243:5:::1;94222:10;:18;94233:6;94222:18;;;;;;;;;;;;;;;;:26;;;;;;;;;;;;;;;;;;94288:17;94259:18;:26;94278:6;94259:26;;;;;;;;;;;;;;;;:46;;;;;;;;;;;;;;;;;;94109:204:::0;;;:::o;45709:223::-;45781:7;45801:13;45817:17;45826:7;45817:8;:17::i;:::-;45801:33;;45870:1;45853:19;;:5;:19;;;;45845:56;;;;;;;;;;;;:::i;:::-;;;;;;;;;45919:5;45912:12;;;45709:223;;;:::o;93199:81::-;85708:6;;;;;;;;;;;85694:20;;:10;:20;;;85686:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;93267:5:::1;93258:6;;:14;;;;;;;;;;;;;;;;;;93199:81:::0;:::o;45440:207::-;45512:7;45557:1;45540:19;;:5;:19;;;;45532:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;45623:9;:16;45633:5;45623:16;;;;;;;;;;;;;;;;45616:23;;45440:207;;;:::o;87959:126::-;88033:6;88059:10;:18;88070:6;88059:18;;;;;;;;;;;;;;;;;;;;;;;;;88052:25;;87959:126;;;:::o;92887:120::-;92943:4;92967:18;:32;92986:12;:10;:12::i;:::-;92967:32;;;;;;;;;;;;;;;;;;;;;;;;;92960:39;;92887:120;:::o;88097:::-;88144:7;88193:16;;88171:19;:9;:17;:19::i;:::-;:38;;;;:::i;:::-;88164:45;;88097:120;:::o;87843:108::-;87893:6;87919:10;:24;87930:12;:10;:12::i;:::-;87919:24;;;;;;;;;;;;;;;;;;;;;;;;;87912:31;;87843:108;:::o;93971:82::-;85708:6;;;;;;;;;;;85694:20;;:10;:20;;;85686:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;94040:5:::1;94031:6;:14;;;;93971:82:::0;:::o;46168:104::-;46224:13;46257:7;46250:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46168:104;:::o;47754:155::-;47849:52;47868:12;:10;:12::i;:::-;47882:8;47892;47849:18;:52::i;:::-;47754:155;;:::o;93730:109::-;85708:6;;;;;;;;;;;85694:20;;:10;:20;;;85686:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;93819:12:::1;93803:13;:28;;;;93730:109:::0;:::o;93847:116::-;85708:6;;;;;;;;;;;85694:20;;:10;:20;;;85686:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;93940:15:::1;93921:16;:34;;;;93847:116:::0;:::o;48873:322::-;49047:41;49066:12;:10;:12::i;:::-;49080:7;49047:18;:41::i;:::-;49039:99;;;;;;;;;;;;:::i;:::-;;;;;;;;;49149:38;49163:4;49169:2;49173:7;49182:4;49149:13;:38::i;:::-;48873:322;;;;:::o;87475:260::-;87528:5;87558:10;;87549:5;:19;87546:46;;87591:1;87584:8;;;;87546:46;87615:10;;87606:5;:19;87603:46;;87648:1;87641:8;;;;87603:46;87672:10;;87663:5;:19;87660:46;;87705:1;87698:8;;;;87660:46;87726:1;87719:8;;87475:260;;;;:::o;93599:123::-;85708:6;;;;;;;;;;;85694:20;;:10;:20;;;85686:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;93700:14:::1;93682:15;:32;;;;;;;;;;;;:::i;:::-;;93599:123:::0;:::o;93494:97::-;85708:6;;;;;;;;;;;85694:20;;:10;:20;;;85686:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;93574:9:::1;93561:10;:22;;;;93494:97:::0;:::o;91252:1348::-;91325:13;91352:11;91366:17;91375:7;91366:8;:17::i;:::-;91352:31;;91394:18;91415:16;91425:5;91415:9;:16::i;:::-;91394:37;;91442:18;91463:23;91480:5;91463:16;:23::i;:::-;91442:44;;91497:19;91519:26;91530:7;91539:5;91519:10;:26::i;:::-;91497:48;;91556:22;91581:9;:18;91591:7;91581:18;;;;;;;;;;;;;;;;;;;;;:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91556:58;;91625:24;91661:1;91652:5;:10;;;:66;;91687:1;91678:5;:10;;;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91652:66;;;;;;;;;;;;;;;;;;;;;91625:93;;91856:706;92039:4;92106;92167:5;92357:8;92418:10;91934:576;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;91856:13;:706::i;:::-;91763:818;;;;;;;;:::i;:::-;;;;;;;;;;;;;91731:861;;;;;;;;91252:1348;;;:::o;92608:156::-;92681:9;;;;;;;;;;;92667:23;;:10;:23;;;92659:61;;;;;;;;;;;;:::i;:::-;;;;;;;;;92752:4;92731:9;:18;92741:7;92731:18;;;;;;;;;;;;:25;;;;;;;;;;;;;;;;;;92608:156;:::o;47980:164::-;48077:4;48101:18;:25;48120:5;48101:25;;;;;;;;;;;;;;;:35;48127:8;48101:35;;;;;;;;;;;;;;;;;;;;;;;;;48094:42;;47980:164;;;;:::o;87375:92::-;87416:7;87443:16;;87436:23;;87375:92;:::o;87747:88::-;87794:7;87821:6;;87814:13;;87747:88;:::o;94677:184::-;85708:6;;;;;;;;;;;85694:20;;:10;:20;;;85686:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;94736:19:::1;94766:2;94736:33;;94780:16;94799:21;94780:40;;94831:3;:12;;:22;94844:8;94831:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;94725:136;;94677:184:::0;:::o;43504:157::-;43589:4;43628:25;43613:40;;;:11;:40;;;;43606:47;;43504:157;;;:::o;57330:135::-;57412:16;57420:7;57412;:16::i;:::-;57404:53;;;;;;;;;;;;:::i;:::-;;;;;;;;;57330:135;:::o;42429:98::-;42482:7;42509:10;42502:17;;42429:98;:::o;56609:174::-;56711:2;56684:15;:24;56700:7;56684:24;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;56767:7;56763:2;56729:46;;56738:23;56753:7;56738:14;:23::i;:::-;56729:46;;;;;;;;;;;;56609:174;;:::o;84809:114::-;84874:7;84901;:14;;;84894:21;;84809:114;;;:::o;84931:127::-;85038:1;85020:7;:14;;;:19;;;;;;;;;;;84931:127;:::o;52826:942::-;52920:1;52906:16;;:2;:16;;;;52898:61;;;;;;;;;;;;:::i;:::-;;;;;;;;;52979:16;52987:7;52979;:16::i;:::-;52978:17;52970:58;;;;;;;;;;;;:::i;:::-;;;;;;;;;53041:48;53070:1;53074:2;53078:7;53087:1;53041:20;:48::i;:::-;53188:16;53196:7;53188;:16::i;:::-;53187:17;53179:58;;;;;;;;;;;;:::i;:::-;;;;;;;;;53603:1;53586:9;:13;53596:2;53586:13;;;;;;;;;;;;;;;;:18;;;;;;;;;;;53647:2;53628:7;:16;53636:7;53628:16;;;;;;;;;;;;:21;;;;;;;;;;;;;;;;;;53692:7;53688:2;53667:33;;53684:1;53667:33;;;;;;;;;;;;53713:47;53741:1;53745:2;53749:7;53758:1;53713:19;:47::i;:::-;52826:942;;:::o;51228:264::-;51321:4;51338:13;51354:23;51369:7;51354:14;:23::i;:::-;51338:39;;51407:5;51396:16;;:7;:16;;;:52;;;;51416:32;51433:5;51440:7;51416:16;:32::i;:::-;51396:52;:87;;;;51476:7;51452:31;;:20;51464:7;51452:11;:20::i;:::-;:31;;;51396:87;51388:96;;;51228:264;;;;:::o;55227:1263::-;55386:4;55359:31;;:23;55374:7;55359:14;:23::i;:::-;:31;;;55351:81;;;;;;;;;;;;:::i;:::-;;;;;;;;;55465:1;55451:16;;:2;:16;;;;55443:65;;;;;;;;;;;;:::i;:::-;;;;;;;;;55521:42;55542:4;55548:2;55552:7;55561:1;55521:20;:42::i;:::-;55693:4;55666:31;;:23;55681:7;55666:14;:23::i;:::-;:31;;;55658:81;;;;;;;;;;;;:::i;:::-;;;;;;;;;55811:15;:24;55827:7;55811:24;;;;;;;;;;;;55804:31;;;;;;;;;;;56306:1;56287:9;:15;56297:4;56287:15;;;;;;;;;;;;;;;;:20;;;;;;;;;;;56339:1;56322:9;:13;56332:2;56322:13;;;;;;;;;;;;;;;;:18;;;;;;;;;;;56381:2;56362:7;:16;56370:7;56362:16;;;;;;;;;;;;:21;;;;;;;;;;;;;;;;;;56420:7;56416:2;56401:27;;56410:4;56401:27;;;;;;;;;;;;56441:41;56461:4;56467:2;56471:7;56480:1;56441:19;:41::i;:::-;55227:1263;;;:::o;50933:128::-;50998:4;51051:1;51022:31;;:17;51031:7;51022:8;:17::i;:::-;:31;;;;51015:38;;50933:128;;;:::o;54107:783::-;54167:13;54183:23;54198:7;54183:14;:23::i;:::-;54167:39;;54219:51;54240:5;54255:1;54259:7;54268:1;54219:20;:51::i;:::-;54383:23;54398:7;54383:14;:23::i;:::-;54375:31;;54454:15;:24;54470:7;54454:24;;;;;;;;;;;;54447:31;;;;;;;;;;;54719:1;54699:9;:16;54709:5;54699:16;;;;;;;;;;;;;;;;:21;;;;;;;;;;;54749:7;:16;54757:7;54749:16;;;;;;;;;;;;54742:23;;;;;;;;;;;54811:7;54807:1;54783:36;;54792:5;54783:36;;;;;;;;;;;;54832:50;54852:5;54867:1;54871:7;54880:1;54832:19;:50::i;:::-;54156:734;54107:783;:::o;50503:117::-;50569:7;50596;:16;50604:7;50596:16;;;;;;;;;;;;;;;;;;;;;50589:23;;50503:117;;;:::o;56926:315::-;57081:8;57072:17;;:5;:17;;;;57064:55;;;;;;;;;;;;:::i;:::-;;;;;;;;;57168:8;57130:18;:25;57149:5;57130:25;;;;;;;;;;;;;;;:35;57156:8;57130:35;;;;;;;;;;;;;;;;:46;;;;;;;;;;;;;;;;;;57214:8;57192:41;;57207:5;57192:41;;;57224:8;57192:41;;;;;;:::i;:::-;;;;;;;;56926:315;;;:::o;50076:313::-;50232:28;50242:4;50248:2;50252:7;50232:9;:28::i;:::-;50279:47;50302:4;50308:2;50312:7;50321:4;50279:22;:47::i;:::-;50271:110;;;;;;;;;;;;:::i;:::-;;;;;;;;;50076:313;;;;:::o;89003:275::-;89058:13;89096:1;89087:5;:10;;;89084:165;;;89114:33;;;;;;;;;;;;;;;;;;;;;89084:165;89186:1;89177:5;:10;;;89174:75;;;89204:33;;;;;;;;;;;;;;;;;;;;;89174:75;89261:9;;;;;;;;;;;;;;89003:275;;;;:::o;89286:955::-;89348:13;89386:1;89377:5;:10;;;89374:691;;;89404:291;;;;;;;;;;;;;;;;;;;;;89374:691;89734:1;89725:5;:10;;;89722:343;;;89752:301;;;;;;;;;;;;;;;;;;;;;89722:343;90077:156;;;;;;;;;;;;;;;;;;;89286:955;;;;:::o;90249:995::-;90322:13;90351:9;:18;90361:7;90351:18;;;;;;;;;;;;;;;;;;;;;90348:889;;;90398:1;90389:5;:10;;;90386:412;;;90462:15;90434:65;;;;;;;;:::i;:::-;;;;;;;;;;;;;90420:80;;;;90386:412;90547:1;90538:5;:10;;;90535:263;;;90611:15;90583:65;;;;;;;;:::i;:::-;;;;;;;;;;;;;90569:80;;;;90535:263;90745:15;90717:64;;;;;;;;:::i;:::-;;;;;;;;;;;;;90703:79;;;;90348:889;90853:1;90844:5;:10;;;90841:385;;;90917:15;90889:56;;;;;;;;:::i;:::-;;;;;;;;;;;;;90875:71;;;;90841:385;90993:1;90984:5;:10;;;90981:245;;;91057:15;91029:56;;;;;;;;:::i;:::-;;;;;;;;;;;;;91015:71;;;;90981:245;91182:15;91154:55;;;;;;;;:::i;:::-;;;;;;;;;;;;;91140:70;;90249:995;;;;;:::o;95608:2037::-;95666:13;95711:1;95696:4;:11;:16;95692:31;;;95714:9;;;;;;;;;;;;;;;;95692:31;95783:19;95805:5;;;;;;;;;;;;;;;;;95783:27;;95862:18;95908:1;95903;95889:4;:11;:15;;;;:::i;:::-;95888:21;;;;:::i;:::-;95883:1;:27;;;;:::i;:::-;95862:48;;95993:20;96040:2;96027:10;:15;;;;:::i;:::-;96016:27;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95993:50;;96140:10;96132:6;96125:26;96247:1;96240:5;96236:13;96318:4;96369;96363:11;96354:7;96350:25;96477:2;96469:6;96465:15;96562:810;96581:6;96572:7;96569:19;96562:810;;;96647:1;96638:7;96634:15;96623:26;;96734:7;96728:14;96881:4;96873:5;96869:2;96865:14;96861:25;96851:8;96847:40;96841:47;96836:3;96832:57;96821:9;96814:76;96935:1;96924:9;96920:17;96907:30;;97021:4;97013:5;97009:2;97005:14;97001:25;96991:8;96987:40;96981:47;96976:3;96972:57;96961:9;96954:76;97075:1;97064:9;97060:17;97047:30;;97161:4;97153:5;97150:1;97145:14;97141:25;97131:8;97127:40;97121:47;97116:3;97112:57;97101:9;97094:76;97215:1;97204:9;97200:17;97187:30;;97301:4;97293:5;97281:25;97271:8;97267:40;97261:47;97256:3;97252:57;97241:9;97234:76;97355:1;97344:9;97340:17;97327:30;;96605:767;96562:810;;;97457:1;97450:4;97444:11;97440:19;97478:1;97473:54;;;;97546:1;97541:52;;;;97433:160;;97473:54;97517:6;97512:3;97508:16;97504:1;97493:9;97489:17;97482:43;97473:54;;97541:52;97585:4;97580:3;97576:14;97572:1;97561:9;97557:17;97550:41;97433:160;;96065:1539;;;;97631:6;97624:13;;;;;95608:2037;;;;:::o;94926:344::-;95127:1;95111:18;;:4;:18;;;:38;;;;95147:1;95133:16;;:2;:16;;;95111:38;95103:87;;;;;;;;;;;;:::i;:::-;;;;;;;;;95201:61;95228:4;95234:2;95238:12;95252:9;95201:26;:61::i;:::-;94926:344;;;;:::o;60746:158::-;;;;;:::o;58029:853::-;58183:4;58204:15;:2;:13;;;:15::i;:::-;58200:675;;;58256:2;58240:36;;;58277:12;:10;:12::i;:::-;58291:4;58297:7;58306:4;58240:71;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;58236:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58498:1;58481:6;:13;:18;58477:328;;;58524:60;;;;;;;;;;:::i;:::-;;;;;;;;58477:328;58755:6;58749:13;58740:6;58736:2;58732:15;58725:38;58236:584;58372:41;;;58362:51;;;:6;:51;;;;58355:58;;;;;58200:675;58859:4;58852:11;;58029:853;;;;;;;:::o;59614:410::-;59804:1;59792:9;:13;59788:229;;;59842:1;59826:18;;:4;:18;;;59822:87;;59884:9;59865;:15;59875:4;59865:15;;;;;;;;;;;;;;;;:28;;;;;;;:::i;:::-;;;;;;;;59822:87;59941:1;59927:16;;:2;:16;;;59923:83;;59981:9;59964;:13;59974:2;59964:13;;;;;;;;;;;;;;;;:26;;;;;;;:::i;:::-;;;;;;;;59923:83;59788:229;59614:410;;;;:::o;33557:326::-;33617:4;33874:1;33852:7;:19;;;:23;33845:30;;33557:326;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:75:1:-;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:149;370:7;410:66;403:5;399:78;388:89;;334:149;;;:::o;489:120::-;561:23;578:5;561:23;:::i;:::-;554:5;551:34;541:62;;599:1;596;589:12;541:62;489:120;:::o;615:137::-;660:5;698:6;685:20;676:29;;714:32;740:5;714:32;:::i;:::-;615:137;;;;:::o;758:327::-;816:6;865:2;853:9;844:7;840:23;836:32;833:119;;;871:79;;:::i;:::-;833:119;991:1;1016:52;1060:7;1051:6;1040:9;1036:22;1016:52;:::i;:::-;1006:62;;962:116;758:327;;;;:::o;1091:90::-;1125:7;1168:5;1161:13;1154:21;1143:32;;1091:90;;;:::o;1187:109::-;1268:21;1283:5;1268:21;:::i;:::-;1263:3;1256:34;1187:109;;:::o;1302:210::-;1389:4;1427:2;1416:9;1412:18;1404:26;;1440:65;1502:1;1491:9;1487:17;1478:6;1440:65;:::i;:::-;1302:210;;;;:::o;1518:99::-;1570:6;1604:5;1598:12;1588:22;;1518:99;;;:::o;1623:169::-;1707:11;1741:6;1736:3;1729:19;1781:4;1776:3;1772:14;1757:29;;1623:169;;;;:::o;1798:307::-;1866:1;1876:113;1890:6;1887:1;1884:13;1876:113;;;1975:1;1970:3;1966:11;1960:18;1956:1;1951:3;1947:11;1940:39;1912:2;1909:1;1905:10;1900:15;;1876:113;;;2007:6;2004:1;2001:13;1998:101;;;2087:1;2078:6;2073:3;2069:16;2062:27;1998:101;1847:258;1798:307;;;:::o;2111:102::-;2152:6;2203:2;2199:7;2194:2;2187:5;2183:14;2179:28;2169:38;;2111:102;;;:::o;2219:364::-;2307:3;2335:39;2368:5;2335:39;:::i;:::-;2390:71;2454:6;2449:3;2390:71;:::i;:::-;2383:78;;2470:52;2515:6;2510:3;2503:4;2496:5;2492:16;2470:52;:::i;:::-;2547:29;2569:6;2547:29;:::i;:::-;2542:3;2538:39;2531:46;;2311:272;2219:364;;;;:::o;2589:313::-;2702:4;2740:2;2729:9;2725:18;2717:26;;2789:9;2783:4;2779:20;2775:1;2764:9;2760:17;2753:47;2817:78;2890:4;2881:6;2817:78;:::i;:::-;2809:86;;2589:313;;;;:::o;2908:77::-;2945:7;2974:5;2963:16;;2908:77;;;:::o;2991:122::-;3064:24;3082:5;3064:24;:::i;:::-;3057:5;3054:35;3044:63;;3103:1;3100;3093:12;3044:63;2991:122;:::o;3119:139::-;3165:5;3203:6;3190:20;3181:29;;3219:33;3246:5;3219:33;:::i;:::-;3119:139;;;;:::o;3264:329::-;3323:6;3372:2;3360:9;3351:7;3347:23;3343:32;3340:119;;;3378:79;;:::i;:::-;3340:119;3498:1;3523:53;3568:7;3559:6;3548:9;3544:22;3523:53;:::i;:::-;3513:63;;3469:117;3264:329;;;;:::o;3599:126::-;3636:7;3676:42;3669:5;3665:54;3654:65;;3599:126;;;:::o;3731:96::-;3768:7;3797:24;3815:5;3797:24;:::i;:::-;3786:35;;3731:96;;;:::o;3833:118::-;3920:24;3938:5;3920:24;:::i;:::-;3915:3;3908:37;3833:118;;:::o;3957:222::-;4050:4;4088:2;4077:9;4073:18;4065:26;;4101:71;4169:1;4158:9;4154:17;4145:6;4101:71;:::i;:::-;3957:222;;;;:::o;4185:122::-;4258:24;4276:5;4258:24;:::i;:::-;4251:5;4248:35;4238:63;;4297:1;4294;4287:12;4238:63;4185:122;:::o;4313:139::-;4359:5;4397:6;4384:20;4375:29;;4413:33;4440:5;4413:33;:::i;:::-;4313:139;;;;:::o;4458:474::-;4526:6;4534;4583:2;4571:9;4562:7;4558:23;4554:32;4551:119;;;4589:79;;:::i;:::-;4551:119;4709:1;4734:53;4779:7;4770:6;4759:9;4755:22;4734:53;:::i;:::-;4724:63;;4680:117;4836:2;4862:53;4907:7;4898:6;4887:9;4883:22;4862:53;:::i;:::-;4852:63;;4807:118;4458:474;;;;;:::o;4938:118::-;5025:24;5043:5;5025:24;:::i;:::-;5020:3;5013:37;4938:118;;:::o;5062:222::-;5155:4;5193:2;5182:9;5178:18;5170:26;;5206:71;5274:1;5263:9;5259:17;5250:6;5206:71;:::i;:::-;5062:222;;;;:::o;5290:329::-;5349:6;5398:2;5386:9;5377:7;5373:23;5369:32;5366:119;;;5404:79;;:::i;:::-;5366:119;5524:1;5549:53;5594:7;5585:6;5574:9;5570:22;5549:53;:::i;:::-;5539:63;;5495:117;5290:329;;;;:::o;5625:619::-;5702:6;5710;5718;5767:2;5755:9;5746:7;5742:23;5738:32;5735:119;;;5773:79;;:::i;:::-;5735:119;5893:1;5918:53;5963:7;5954:6;5943:9;5939:22;5918:53;:::i;:::-;5908:63;;5864:117;6020:2;6046:53;6091:7;6082:6;6071:9;6067:22;6046:53;:::i;:::-;6036:63;;5991:118;6148:2;6174:53;6219:7;6210:6;6199:9;6195:22;6174:53;:::i;:::-;6164:63;;6119:118;5625:619;;;;;:::o;6250:117::-;6359:1;6356;6349:12;6373:180;6421:77;6418:1;6411:88;6518:4;6515:1;6508:15;6542:4;6539:1;6532:15;6559:281;6642:27;6664:4;6642:27;:::i;:::-;6634:6;6630:40;6772:6;6760:10;6757:22;6736:18;6724:10;6721:34;6718:62;6715:88;;;6783:18;;:::i;:::-;6715:88;6823:10;6819:2;6812:22;6602:238;6559:281;;:::o;6846:129::-;6880:6;6907:20;;:::i;:::-;6897:30;;6936:33;6964:4;6956:6;6936:33;:::i;:::-;6846:129;;;:::o;6981:311::-;7058:4;7148:18;7140:6;7137:30;7134:56;;;7170:18;;:::i;:::-;7134:56;7220:4;7212:6;7208:17;7200:25;;7280:4;7274;7270:15;7262:23;;6981:311;;;:::o;7298:117::-;7407:1;7404;7397:12;7438:710;7534:5;7559:81;7575:64;7632:6;7575:64;:::i;:::-;7559:81;:::i;:::-;7550:90;;7660:5;7689:6;7682:5;7675:21;7723:4;7716:5;7712:16;7705:23;;7776:4;7768:6;7764:17;7756:6;7752:30;7805:3;7797:6;7794:15;7791:122;;;7824:79;;:::i;:::-;7791:122;7939:6;7922:220;7956:6;7951:3;7948:15;7922:220;;;8031:3;8060:37;8093:3;8081:10;8060:37;:::i;:::-;8055:3;8048:50;8127:4;8122:3;8118:14;8111:21;;7998:144;7982:4;7977:3;7973:14;7966:21;;7922:220;;;7926:21;7540:608;;7438:710;;;;;:::o;8171:370::-;8242:5;8291:3;8284:4;8276:6;8272:17;8268:27;8258:122;;8299:79;;:::i;:::-;8258:122;8416:6;8403:20;8441:94;8531:3;8523:6;8516:4;8508:6;8504:17;8441:94;:::i;:::-;8432:103;;8248:293;8171:370;;;;:::o;8547:89::-;8583:7;8623:6;8616:5;8612:18;8601:29;;8547:89;;;:::o;8642:120::-;8714:23;8731:5;8714:23;:::i;:::-;8707:5;8704:34;8694:62;;8752:1;8749;8742:12;8694:62;8642:120;:::o;8768:137::-;8813:5;8851:6;8838:20;8829:29;;8867:32;8893:5;8867:32;:::i;:::-;8768:137;;;;:::o;8911:116::-;8981:21;8996:5;8981:21;:::i;:::-;8974:5;8971:32;8961:60;;9017:1;9014;9007:12;8961:60;8911:116;:::o;9033:133::-;9076:5;9114:6;9101:20;9092:29;;9130:30;9154:5;9130:30;:::i;:::-;9033:133;;;;:::o;9172:821::-;9270:6;9278;9286;9335:2;9323:9;9314:7;9310:23;9306:32;9303:119;;;9341:79;;:::i;:::-;9303:119;9489:1;9478:9;9474:17;9461:31;9519:18;9511:6;9508:30;9505:117;;;9541:79;;:::i;:::-;9505:117;9646:78;9716:7;9707:6;9696:9;9692:22;9646:78;:::i;:::-;9636:88;;9432:302;9773:2;9799:52;9843:7;9834:6;9823:9;9819:22;9799:52;:::i;:::-;9789:62;;9744:117;9900:2;9926:50;9968:7;9959:6;9948:9;9944:22;9926:50;:::i;:::-;9916:60;;9871:115;9172:821;;;;;:::o;9999:611::-;10072:6;10080;10088;10137:2;10125:9;10116:7;10112:23;10108:32;10105:119;;;10143:79;;:::i;:::-;10105:119;10263:1;10288:53;10333:7;10324:6;10313:9;10309:22;10288:53;:::i;:::-;10278:63;;10234:117;10390:2;10416:52;10460:7;10451:6;10440:9;10436:22;10416:52;:::i;:::-;10406:62;;10361:117;10517:2;10543:50;10585:7;10576:6;10565:9;10561:22;10543:50;:::i;:::-;10533:60;;10488:115;9999:611;;;;;:::o;10616:115::-;10701:23;10718:5;10701:23;:::i;:::-;10696:3;10689:36;10616:115;;:::o;10737:218::-;10828:4;10866:2;10855:9;10851:18;10843:26;;10879:69;10945:1;10934:9;10930:17;10921:6;10879:69;:::i;:::-;10737:218;;;;:::o;10961:468::-;11026:6;11034;11083:2;11071:9;11062:7;11058:23;11054:32;11051:119;;;11089:79;;:::i;:::-;11051:119;11209:1;11234:53;11279:7;11270:6;11259:9;11255:22;11234:53;:::i;:::-;11224:63;;11180:117;11336:2;11362:50;11404:7;11395:6;11384:9;11380:22;11362:50;:::i;:::-;11352:60;;11307:115;10961:468;;;;;:::o;11435:117::-;11544:1;11541;11534:12;11558:307;11619:4;11709:18;11701:6;11698:30;11695:56;;;11731:18;;:::i;:::-;11695:56;11769:29;11791:6;11769:29;:::i;:::-;11761:37;;11853:4;11847;11843:15;11835:23;;11558:307;;;:::o;11871:154::-;11955:6;11950:3;11945;11932:30;12017:1;12008:6;12003:3;11999:16;11992:27;11871:154;;;:::o;12031:410::-;12108:5;12133:65;12149:48;12190:6;12149:48;:::i;:::-;12133:65;:::i;:::-;12124:74;;12221:6;12214:5;12207:21;12259:4;12252:5;12248:16;12297:3;12288:6;12283:3;12279:16;12276:25;12273:112;;;12304:79;;:::i;:::-;12273:112;12394:41;12428:6;12423:3;12418;12394:41;:::i;:::-;12114:327;12031:410;;;;;:::o;12460:338::-;12515:5;12564:3;12557:4;12549:6;12545:17;12541:27;12531:122;;12572:79;;:::i;:::-;12531:122;12689:6;12676:20;12714:78;12788:3;12780:6;12773:4;12765:6;12761:17;12714:78;:::i;:::-;12705:87;;12521:277;12460:338;;;;:::o;12804:943::-;12899:6;12907;12915;12923;12972:3;12960:9;12951:7;12947:23;12943:33;12940:120;;;12979:79;;:::i;:::-;12940:120;13099:1;13124:53;13169:7;13160:6;13149:9;13145:22;13124:53;:::i;:::-;13114:63;;13070:117;13226:2;13252:53;13297:7;13288:6;13277:9;13273:22;13252:53;:::i;:::-;13242:63;;13197:118;13354:2;13380:53;13425:7;13416:6;13405:9;13401:22;13380:53;:::i;:::-;13370:63;;13325:118;13510:2;13499:9;13495:18;13482:32;13541:18;13533:6;13530:30;13527:117;;;13563:79;;:::i;:::-;13527:117;13668:62;13722:7;13713:6;13702:9;13698:22;13668:62;:::i;:::-;13658:72;;13453:287;12804:943;;;;;;;:::o;13753:86::-;13788:7;13828:4;13821:5;13817:16;13806:27;;13753:86;;;:::o;13845:112::-;13928:22;13944:5;13928:22;:::i;:::-;13923:3;13916:35;13845:112;;:::o;13963:214::-;14052:4;14090:2;14079:9;14075:18;14067:26;;14103:67;14167:1;14156:9;14152:17;14143:6;14103:67;:::i;:::-;13963:214;;;;:::o;14183:308::-;14245:4;14335:18;14327:6;14324:30;14321:56;;;14357:18;;:::i;:::-;14321:56;14395:29;14417:6;14395:29;:::i;:::-;14387:37;;14479:4;14473;14469:15;14461:23;;14183:308;;;:::o;14497:412::-;14575:5;14600:66;14616:49;14658:6;14616:49;:::i;:::-;14600:66;:::i;:::-;14591:75;;14689:6;14682:5;14675:21;14727:4;14720:5;14716:16;14765:3;14756:6;14751:3;14747:16;14744:25;14741:112;;;14772:79;;:::i;:::-;14741:112;14862:41;14896:6;14891:3;14886;14862:41;:::i;:::-;14581:328;14497:412;;;;;:::o;14929:340::-;14985:5;15034:3;15027:4;15019:6;15015:17;15011:27;15001:122;;15042:79;;:::i;:::-;15001:122;15159:6;15146:20;15184:79;15259:3;15251:6;15244:4;15236:6;15232:17;15184:79;:::i;:::-;15175:88;;14991:278;14929:340;;;;:::o;15275:509::-;15344:6;15393:2;15381:9;15372:7;15368:23;15364:32;15361:119;;;15399:79;;:::i;:::-;15361:119;15547:1;15536:9;15532:17;15519:31;15577:18;15569:6;15566:30;15563:117;;;15599:79;;:::i;:::-;15563:117;15704:63;15759:7;15750:6;15739:9;15735:22;15704:63;:::i;:::-;15694:73;;15490:287;15275:509;;;;:::o;15790:474::-;15858:6;15866;15915:2;15903:9;15894:7;15890:23;15886:32;15883:119;;;15921:79;;:::i;:::-;15883:119;16041:1;16066:53;16111:7;16102:6;16091:9;16087:22;16066:53;:::i;:::-;16056:63;;16012:117;16168:2;16194:53;16239:7;16230:6;16219:9;16215:22;16194:53;:::i;:::-;16184:63;;16139:118;15790:474;;;;;:::o;16270:180::-;16318:77;16315:1;16308:88;16415:4;16412:1;16405:15;16439:4;16436:1;16429:15;16456:320;16500:6;16537:1;16531:4;16527:12;16517:22;;16584:1;16578:4;16574:12;16605:18;16595:81;;16661:4;16653:6;16649:17;16639:27;;16595:81;16723:2;16715:6;16712:14;16692:18;16689:38;16686:84;;;16742:18;;:::i;:::-;16686:84;16507:269;16456:320;;;:::o;16782:220::-;16922:34;16918:1;16910:6;16906:14;16899:58;16991:3;16986:2;16978:6;16974:15;16967:28;16782:220;:::o;17008:366::-;17150:3;17171:67;17235:2;17230:3;17171:67;:::i;:::-;17164:74;;17247:93;17336:3;17247:93;:::i;:::-;17365:2;17360:3;17356:12;17349:19;;17008:366;;;:::o;17380:419::-;17546:4;17584:2;17573:9;17569:18;17561:26;;17633:9;17627:4;17623:20;17619:1;17608:9;17604:17;17597:47;17661:131;17787:4;17661:131;:::i;:::-;17653:139;;17380:419;;;:::o;17805:248::-;17945:34;17941:1;17933:6;17929:14;17922:58;18014:31;18009:2;18001:6;17997:15;17990:56;17805:248;:::o;18059:366::-;18201:3;18222:67;18286:2;18281:3;18222:67;:::i;:::-;18215:74;;18298:93;18387:3;18298:93;:::i;:::-;18416:2;18411:3;18407:12;18400:19;;18059:366;;;:::o;18431:419::-;18597:4;18635:2;18624:9;18620:18;18612:26;;18684:9;18678:4;18674:20;18670:1;18659:9;18655:17;18648:47;18712:131;18838:4;18712:131;:::i;:::-;18704:139;;18431:419;;;:::o;18856:165::-;18996:17;18992:1;18984:6;18980:14;18973:41;18856:165;:::o;19027:366::-;19169:3;19190:67;19254:2;19249:3;19190:67;:::i;:::-;19183:74;;19266:93;19355:3;19266:93;:::i;:::-;19384:2;19379:3;19375:12;19368:19;;19027:366;;;:::o;19399:419::-;19565:4;19603:2;19592:9;19588:18;19580:26;;19652:9;19646:4;19642:20;19638:1;19627:9;19623:17;19616:47;19680:131;19806:4;19680:131;:::i;:::-;19672:139;;19399:419;;;:::o;19824:166::-;19964:18;19960:1;19952:6;19948:14;19941:42;19824:166;:::o;19996:366::-;20138:3;20159:67;20223:2;20218:3;20159:67;:::i;:::-;20152:74;;20235:93;20324:3;20235:93;:::i;:::-;20353:2;20348:3;20344:12;20337:19;;19996:366;;;:::o;20368:419::-;20534:4;20572:2;20561:9;20557:18;20549:26;;20621:9;20615:4;20611:20;20607:1;20596:9;20592:17;20585:47;20649:131;20775:4;20649:131;:::i;:::-;20641:139;;20368:419;;;:::o;20793:180::-;20841:77;20838:1;20831:88;20938:4;20935:1;20928:15;20962:4;20959:1;20952:15;20979:305;21019:3;21038:20;21056:1;21038:20;:::i;:::-;21033:25;;21072:20;21090:1;21072:20;:::i;:::-;21067:25;;21226:1;21158:66;21154:74;21151:1;21148:81;21145:107;;;21232:18;;:::i;:::-;21145:107;21276:1;21273;21269:9;21262:16;;20979:305;;;;:::o;21290:165::-;21430:17;21426:1;21418:6;21414:14;21407:41;21290:165;:::o;21461:366::-;21603:3;21624:67;21688:2;21683:3;21624:67;:::i;:::-;21617:74;;21700:93;21789:3;21700:93;:::i;:::-;21818:2;21813:3;21809:12;21802:19;;21461:366;;;:::o;21833:419::-;21999:4;22037:2;22026:9;22022:18;22014:26;;22086:9;22080:4;22076:20;22072:1;22061:9;22057:17;22050:47;22114:131;22240:4;22114:131;:::i;:::-;22106:139;;21833:419;;;:::o;22258:188::-;22297:4;22317:19;22334:1;22317:19;:::i;:::-;22312:24;;22350:19;22367:1;22350:19;:::i;:::-;22345:24;;22388:1;22385;22382:8;22379:34;;;22393:18;;:::i;:::-;22379:34;22438:1;22435;22431:9;22423:17;;22258:188;;;;:::o;22452:169::-;22592:21;22588:1;22580:6;22576:14;22569:45;22452:169;:::o;22627:366::-;22769:3;22790:67;22854:2;22849:3;22790:67;:::i;:::-;22783:74;;22866:93;22955:3;22866:93;:::i;:::-;22984:2;22979:3;22975:12;22968:19;;22627:366;;;:::o;22999:419::-;23165:4;23203:2;23192:9;23188:18;23180:26;;23252:9;23246:4;23242:20;23238:1;23227:9;23223:17;23216:47;23280:131;23406:4;23280:131;:::i;:::-;23272:139;;22999:419;;;:::o;23424:232::-;23564:34;23560:1;23552:6;23548:14;23541:58;23633:15;23628:2;23620:6;23616:15;23609:40;23424:232;:::o;23662:366::-;23804:3;23825:67;23889:2;23884:3;23825:67;:::i;:::-;23818:74;;23901:93;23990:3;23901:93;:::i;:::-;24019:2;24014:3;24010:12;24003:19;;23662:366;;;:::o;24034:419::-;24200:4;24238:2;24227:9;24223:18;24215:26;;24287:9;24281:4;24277:20;24273:1;24262:9;24258:17;24251:47;24315:131;24441:4;24315:131;:::i;:::-;24307:139;;24034:419;;;:::o;24459:178::-;24599:30;24595:1;24587:6;24583:14;24576:54;24459:178;:::o;24643:366::-;24785:3;24806:67;24870:2;24865:3;24806:67;:::i;:::-;24799:74;;24882:93;24971:3;24882:93;:::i;:::-;25000:2;24995:3;24991:12;24984:19;;24643:366;;;:::o;25015:419::-;25181:4;25219:2;25208:9;25204:18;25196:26;;25268:9;25262:4;25258:20;25254:1;25243:9;25239:17;25232:47;25296:131;25422:4;25296:131;:::i;:::-;25288:139;;25015:419;;;:::o;25440:180::-;25488:77;25485:1;25478:88;25585:4;25582:1;25575:15;25609:4;25606:1;25599:15;25626:233;25665:3;25688:24;25706:5;25688:24;:::i;:::-;25679:33;;25734:66;25727:5;25724:77;25721:103;;;25804:18;;:::i;:::-;25721:103;25851:1;25844:5;25840:13;25833:20;;25626:233;;;:::o;25865:159::-;26005:11;26001:1;25993:6;25989:14;25982:35;25865:159;:::o;26030:365::-;26172:3;26193:66;26257:1;26252:3;26193:66;:::i;:::-;26186:73;;26268:93;26357:3;26268:93;:::i;:::-;26386:2;26381:3;26377:12;26370:19;;26030:365;;;:::o;26401:419::-;26567:4;26605:2;26594:9;26590:18;26582:26;;26654:9;26648:4;26644:20;26640:1;26629:9;26625:17;26618:47;26682:131;26808:4;26682:131;:::i;:::-;26674:139;;26401:419;;;:::o;26826:164::-;26966:16;26962:1;26954:6;26950:14;26943:40;26826:164;:::o;26996:366::-;27138:3;27159:67;27223:2;27218:3;27159:67;:::i;:::-;27152:74;;27235:93;27324:3;27235:93;:::i;:::-;27353:2;27348:3;27344:12;27337:19;;26996:366;;;:::o;27368:419::-;27534:4;27572:2;27561:9;27557:18;27549:26;;27621:9;27615:4;27611:20;27607:1;27596:9;27592:17;27585:47;27649:131;27775:4;27649:131;:::i;:::-;27641:139;;27368:419;;;:::o;27793:174::-;27933:26;27929:1;27921:6;27917:14;27910:50;27793:174;:::o;27973:366::-;28115:3;28136:67;28200:2;28195:3;28136:67;:::i;:::-;28129:74;;28212:93;28301:3;28212:93;:::i;:::-;28330:2;28325:3;28321:12;28314:19;;27973:366;;;:::o;28345:419::-;28511:4;28549:2;28538:9;28534:18;28526:26;;28598:9;28592:4;28588:20;28584:1;28573:9;28569:17;28562:47;28626:131;28752:4;28626:131;:::i;:::-;28618:139;;28345:419;;;:::o;28770:228::-;28910:34;28906:1;28898:6;28894:14;28887:58;28979:11;28974:2;28966:6;28962:15;28955:36;28770:228;:::o;29004:366::-;29146:3;29167:67;29231:2;29226:3;29167:67;:::i;:::-;29160:74;;29243:93;29332:3;29243:93;:::i;:::-;29361:2;29356:3;29352:12;29345:19;;29004:366;;;:::o;29376:419::-;29542:4;29580:2;29569:9;29565:18;29557:26;;29629:9;29623:4;29619:20;29615:1;29604:9;29600:17;29593:47;29657:131;29783:4;29657:131;:::i;:::-;29649:139;;29376:419;;;:::o;29801:148::-;29903:11;29940:3;29925:18;;29801:148;;;;:::o;29955:214::-;30095:66;30091:1;30083:6;30079:14;30072:90;29955:214;:::o;30175:400::-;30335:3;30356:84;30438:1;30433:3;30356:84;:::i;:::-;30349:91;;30449:93;30538:3;30449:93;:::i;:::-;30567:1;30562:3;30558:11;30551:18;;30175:400;;;:::o;30581:214::-;30721:66;30717:1;30709:6;30705:14;30698:90;30581:214;:::o;30801:400::-;30961:3;30982:84;31064:1;31059:3;30982:84;:::i;:::-;30975:91;;31075:93;31164:3;31075:93;:::i;:::-;31193:1;31188:3;31184:11;31177:18;;30801:400;;;:::o;31207:377::-;31313:3;31341:39;31374:5;31341:39;:::i;:::-;31396:89;31478:6;31473:3;31396:89;:::i;:::-;31389:96;;31494:52;31539:6;31534:3;31527:4;31520:5;31516:16;31494:52;:::i;:::-;31571:6;31566:3;31562:16;31555:23;;31317:267;31207:377;;;;:::o;31590:214::-;31730:66;31726:1;31718:6;31714:14;31707:90;31590:214;:::o;31810:400::-;31970:3;31991:84;32073:1;32068:3;31991:84;:::i;:::-;31984:91;;32084:93;32173:3;32084:93;:::i;:::-;32202:1;32197:3;32193:11;32186:18;;31810:400;;;:::o;32216:214::-;32356:66;32352:1;32344:6;32340:14;32333:90;32216:214;:::o;32436:402::-;32596:3;32617:85;32699:2;32694:3;32617:85;:::i;:::-;32610:92;;32711:93;32800:3;32711:93;:::i;:::-;32829:2;32824:3;32820:12;32813:19;;32436:402;;;:::o;32844:214::-;32984:66;32980:1;32972:6;32968:14;32961:90;32844:214;:::o;33064:402::-;33224:3;33245:85;33327:2;33322:3;33245:85;:::i;:::-;33238:92;;33339:93;33428:3;33339:93;:::i;:::-;33457:2;33452:3;33448:12;33441:19;;33064:402;;;:::o;33472:315::-;33612:66;33608:1;33600:6;33596:14;33589:90;33713:66;33708:2;33700:6;33696:15;33689:91;33472:315;:::o;33793:402::-;33953:3;33974:85;34056:2;34051:3;33974:85;:::i;:::-;33967:92;;34068:93;34157:3;34068:93;:::i;:::-;34186:2;34181:3;34177:12;34170:19;;33793:402;;;:::o;34201:315::-;34341:66;34337:1;34329:6;34325:14;34318:90;34442:66;34437:2;34429:6;34425:15;34418:91;34201:315;:::o;34522:402::-;34682:3;34703:85;34785:2;34780:3;34703:85;:::i;:::-;34696:92;;34797:93;34886:3;34797:93;:::i;:::-;34915:2;34910:3;34906:12;34899:19;;34522:402;;;:::o;34930:315::-;35070:66;35066:1;35058:6;35054:14;35047:90;35171:66;35166:2;35158:6;35154:15;35147:91;34930:315;:::o;35251:402::-;35411:3;35432:85;35514:2;35509:3;35432:85;:::i;:::-;35425:92;;35526:93;35615:3;35526:93;:::i;:::-;35644:2;35639:3;35635:12;35628:19;;35251:402;;;:::o;35659:214::-;35799:66;35795:1;35787:6;35783:14;35776:90;35659:214;:::o;35879:400::-;36039:3;36060:84;36142:1;36137:3;36060:84;:::i;:::-;36053:91;;36153:93;36242:3;36153:93;:::i;:::-;36271:1;36266:3;36262:11;36255:18;;35879:400;;;:::o;36285:143::-;36421:3;36417:1;36409:6;36405:14;36398:27;36285:143;:::o;36430:384::-;36590:3;36607:84;36689:1;36684:3;36607:84;:::i;:::-;36600:91;;36696:93;36785:3;36696:93;:::i;:::-;36810:1;36805:3;36801:11;36794:18;;36430:384;;;:::o;36816:4031::-;38352:3;38370:148;38514:3;38370:148;:::i;:::-;38363:155;;38531:148;38675:3;38531:148;:::i;:::-;38524:155;;38692:95;38783:3;38774:6;38692:95;:::i;:::-;38685:102;;38800:148;38944:3;38800:148;:::i;:::-;38793:155;;38961:148;39105:3;38961:148;:::i;:::-;38954:155;;39122:95;39213:3;39204:6;39122:95;:::i;:::-;39115:102;;39230:148;39374:3;39230:148;:::i;:::-;39223:155;;39391:148;39535:3;39391:148;:::i;:::-;39384:155;;39552:95;39643:3;39634:6;39552:95;:::i;:::-;39545:102;;39660:148;39804:3;39660:148;:::i;:::-;39653:155;;39821:148;39965:3;39821:148;:::i;:::-;39814:155;;39982:148;40126:3;39982:148;:::i;:::-;39975:155;;40143:95;40234:3;40225:6;40143:95;:::i;:::-;40136:102;;40251:148;40395:3;40251:148;:::i;:::-;40244:155;;40412:95;40503:3;40494:6;40412:95;:::i;:::-;40405:102;;40520:148;40664:3;40520:148;:::i;:::-;40513:155;;40681:148;40825:3;40681:148;:::i;:::-;40674:155;;40842:3;40835:10;;36816:4031;;;;;;;;:::o;40849:171::-;40985:31;40981:1;40973:6;40969:14;40962:55;40849:171;:::o;41022:386::-;41182:3;41199:85;41281:2;41276:3;41199:85;:::i;:::-;41192:92;;41289:93;41378:3;41289:93;:::i;:::-;41403:2;41398:3;41394:12;41387:19;;41022:386;;;:::o;41410:525::-;41643:3;41661:148;41805:3;41661:148;:::i;:::-;41654:155;;41822:95;41913:3;41904:6;41822:95;:::i;:::-;41815:102;;41930:3;41923:10;;41410:525;;;;:::o;41937:167::-;42073:27;42069:1;42061:6;42057:14;42050:51;41937:167;:::o;42106:350::-;42248:3;42265:67;42329:2;42324:3;42265:67;:::i;:::-;42258:74;;42337:93;42426:3;42337:93;:::i;:::-;42451:2;42446:3;42442:12;42435:19;;42106:350;;;:::o;42458:403::-;42624:4;42658:2;42647:9;42643:18;42635:26;;42703:9;42697:4;42693:20;42689:1;42678:9;42674:17;42667:47;42727:131;42853:4;42727:131;:::i;:::-;42719:139;;42458:403;;;:::o;42863:174::-;42999:34;42995:1;42987:6;42983:14;42976:58;42863:174;:::o;43039:350::-;43181:3;43198:67;43262:2;43257:3;43198:67;:::i;:::-;43191:74;;43270:93;43359:3;43270:93;:::i;:::-;43384:2;43379:3;43375:12;43368:19;;43039:350;;;:::o;43391:403::-;43557:4;43591:2;43580:9;43576:18;43568:26;;43636:9;43630:4;43626:20;43622:1;43611:9;43607:17;43600:47;43660:131;43786:4;43660:131;:::i;:::-;43652:139;;43391:403;;;:::o;43796:170::-;43932:30;43928:1;43920:6;43916:14;43909:54;43796:170;:::o;43968:350::-;44110:3;44127:67;44191:2;44186:3;44127:67;:::i;:::-;44120:74;;44199:93;44288:3;44199:93;:::i;:::-;44313:2;44308:3;44304:12;44297:19;;43968:350;;;:::o;44320:403::-;44486:4;44520:2;44509:9;44505:18;44497:26;;44565:9;44559:4;44555:20;44551:1;44540:9;44536:17;44529:47;44589:131;44715:4;44589:131;:::i;:::-;44581:139;;44320:403;;;:::o;44725:212::-;44861:34;44857:1;44849:6;44845:14;44838:58;44926:7;44921:2;44913:6;44909:15;44902:32;44725:212;:::o;44939:350::-;45081:3;45098:67;45162:2;45157:3;45098:67;:::i;:::-;45091:74;;45170:93;45259:3;45170:93;:::i;:::-;45284:2;45279:3;45275:12;45268:19;;44939:350;;;:::o;45291:403::-;45457:4;45491:2;45480:9;45476:18;45468:26;;45536:9;45530:4;45526:20;45522:1;45511:9;45507:17;45500:47;45560:131;45686:4;45560:131;:::i;:::-;45552:139;;45291:403;;;:::o;45696:211::-;45832:34;45828:1;45820:6;45816:14;45809:58;45897:6;45892:2;45884:6;45880:15;45873:31;45696:211;:::o;45909:350::-;46051:3;46068:67;46132:2;46127:3;46068:67;:::i;:::-;46061:74;;46140:93;46229:3;46140:93;:::i;:::-;46254:2;46249:3;46245:12;46238:19;;45909:350;;;:::o;46261:403::-;46427:4;46461:2;46450:9;46446:18;46438:26;;46506:9;46500:4;46496:20;46492:1;46481:9;46477:17;46470:47;46530:131;46656:4;46530:131;:::i;:::-;46522:139;;46261:403;;;:::o;46666:167::-;46802:27;46798:1;46790:6;46786:14;46779:51;46666:167;:::o;46835:350::-;46977:3;46994:67;47058:2;47053:3;46994:67;:::i;:::-;46987:74;;47066:93;47155:3;47066:93;:::i;:::-;47180:2;47175:3;47171:12;47164:19;;46835:350;;;:::o;47187:403::-;47353:4;47387:2;47376:9;47372:18;47364:26;;47432:9;47426:4;47422:20;47418:1;47407:9;47403:17;47396:47;47456:131;47582:4;47456:131;:::i;:::-;47448:139;;47187:403;;;:::o;47592:225::-;47728:34;47724:1;47716:6;47712:14;47705:58;47793:20;47788:2;47780:6;47776:15;47769:45;47592:225;:::o;47819:350::-;47961:3;47978:67;48042:2;48037:3;47978:67;:::i;:::-;47971:74;;48050:93;48139:3;48050:93;:::i;:::-;48164:2;48159:3;48155:12;48148:19;;47819:350;;;:::o;48171:403::-;48337:4;48371:2;48360:9;48356:18;48348:26;;48416:9;48410:4;48406:20;48402:1;48391:9;48387:17;48380:47;48440:131;48566:4;48440:131;:::i;:::-;48432:139;;48171:403;;;:::o;48576:153::-;48712:9;48708:1;48700:6;48696:14;48689:33;48576:153;:::o;48735:400::-;48895:3;48916:84;48998:1;48993:3;48916:84;:::i;:::-;48909:91;;49009:93;49098:3;49009:93;:::i;:::-;49127:1;49122:3;49118:11;49111:18;;48735:400;;;:::o;49141:141::-;49190:4;49213:3;49205:11;;49236:3;49233:1;49226:14;49270:4;49267:1;49257:18;49249:26;;49141:141;;;:::o;49312:845::-;49415:3;49452:5;49446:12;49481:36;49507:9;49481:36;:::i;:::-;49533:89;49615:6;49610:3;49533:89;:::i;:::-;49526:96;;49653:1;49642:9;49638:17;49669:1;49664:137;;;;49815:1;49810:341;;;;49631:520;;49664:137;49748:4;49744:9;49733;49729:25;49724:3;49717:38;49784:6;49779:3;49775:16;49768:23;;49664:137;;49810:341;49877:38;49909:5;49877:38;:::i;:::-;49937:1;49951:154;49965:6;49962:1;49959:13;49951:154;;;50039:7;50033:14;50029:1;50024:3;50020:11;50013:35;50089:1;50080:7;50076:15;50065:26;;49987:4;49984:1;49980:12;49975:17;;49951:154;;;50134:6;50129:3;50125:16;50118:23;;49817:334;;49631:520;;49419:738;;49312:845;;;;:::o;50163:167::-;50303:19;50299:1;50291:6;50287:14;50280:43;50163:167;:::o;50336:402::-;50496:3;50517:85;50599:2;50594:3;50517:85;:::i;:::-;50510:92;;50611:93;50700:3;50611:93;:::i;:::-;50729:2;50724:3;50720:12;50713:19;;50336:402;;;:::o;50744:801::-;51075:3;51097:148;51241:3;51097:148;:::i;:::-;51090:155;;51262:92;51350:3;51341:6;51262:92;:::i;:::-;51255:99;;51371:148;51515:3;51371:148;:::i;:::-;51364:155;;51536:3;51529:10;;50744:801;;;;:::o;51551:167::-;51691:19;51687:1;51679:6;51675:14;51668:43;51551:167;:::o;51724:402::-;51884:3;51905:85;51987:2;51982:3;51905:85;:::i;:::-;51898:92;;51999:93;52088:3;51999:93;:::i;:::-;52117:2;52112:3;52108:12;52101:19;;51724:402;;;:::o;52132:801::-;52463:3;52485:148;52629:3;52485:148;:::i;:::-;52478:155;;52650:92;52738:3;52729:6;52650:92;:::i;:::-;52643:99;;52759:148;52903:3;52759:148;:::i;:::-;52752:155;;52924:3;52917:10;;52132:801;;;;:::o;52939:166::-;53079:18;53075:1;53067:6;53063:14;53056:42;52939:166;:::o;53111:402::-;53271:3;53292:85;53374:2;53369:3;53292:85;:::i;:::-;53285:92;;53386:93;53475:3;53386:93;:::i;:::-;53504:2;53499:3;53495:12;53488:19;;53111:402;;;:::o;53519:801::-;53850:3;53872:148;54016:3;53872:148;:::i;:::-;53865:155;;54037:92;54125:3;54116:6;54037:92;:::i;:::-;54030:99;;54146:148;54290:3;54146:148;:::i;:::-;54139:155;;54311:3;54304:10;;53519:801;;;;:::o;54326:158::-;54466:10;54462:1;54454:6;54450:14;54443:34;54326:158;:::o;54490:400::-;54650:3;54671:84;54753:1;54748:3;54671:84;:::i;:::-;54664:91;;54764:93;54853:3;54764:93;:::i;:::-;54882:1;54877:3;54873:11;54866:18;;54490:400;;;:::o;54896:801::-;55227:3;55249:148;55393:3;55249:148;:::i;:::-;55242:155;;55414:92;55502:3;55493:6;55414:92;:::i;:::-;55407:99;;55523:148;55667:3;55523:148;:::i;:::-;55516:155;;55688:3;55681:10;;54896:801;;;;:::o;55703:158::-;55843:10;55839:1;55831:6;55827:14;55820:34;55703:158;:::o;55867:400::-;56027:3;56048:84;56130:1;56125:3;56048:84;:::i;:::-;56041:91;;56141:93;56230:3;56141:93;:::i;:::-;56259:1;56254:3;56250:11;56243:18;;55867:400;;;:::o;56273:801::-;56604:3;56626:148;56770:3;56626:148;:::i;:::-;56619:155;;56791:92;56879:3;56870:6;56791:92;:::i;:::-;56784:99;;56900:148;57044:3;56900:148;:::i;:::-;56893:155;;57065:3;57058:10;;56273:801;;;;:::o;57080:157::-;57220:9;57216:1;57208:6;57204:14;57197:33;57080:157;:::o;57243:400::-;57403:3;57424:84;57506:1;57501:3;57424:84;:::i;:::-;57417:91;;57517:93;57606:3;57517:93;:::i;:::-;57635:1;57630:3;57626:11;57619:18;;57243:400;;;:::o;57649:801::-;57980:3;58002:148;58146:3;58002:148;:::i;:::-;57995:155;;58167:92;58255:3;58246:6;58167:92;:::i;:::-;58160:99;;58276:148;58420:3;58276:148;:::i;:::-;58269:155;;58441:3;58434:10;;57649:801;;;;:::o;58456:180::-;58504:77;58501:1;58494:88;58601:4;58598:1;58591:15;58625:4;58622:1;58615:15;58642:185;58682:1;58699:20;58717:1;58699:20;:::i;:::-;58694:25;;58733:20;58751:1;58733:20;:::i;:::-;58728:25;;58772:1;58762:35;;58777:18;;:::i;:::-;58762:35;58819:1;58816;58812:9;58807:14;;58642:185;;;;:::o;58833:348::-;58873:7;58896:20;58914:1;58896:20;:::i;:::-;58891:25;;58930:20;58948:1;58930:20;:::i;:::-;58925:25;;59118:1;59050:66;59046:74;59043:1;59040:81;59035:1;59028:9;59021:17;59017:105;59014:131;;;59125:18;;:::i;:::-;59014:131;59173:1;59170;59166:9;59155:20;;58833:348;;;;:::o;59187:223::-;59327:34;59323:1;59315:6;59311:14;59304:58;59396:6;59391:2;59383:6;59379:15;59372:31;59187:223;:::o;59416:366::-;59558:3;59579:67;59643:2;59638:3;59579:67;:::i;:::-;59572:74;;59655:93;59744:3;59655:93;:::i;:::-;59773:2;59768:3;59764:12;59757:19;;59416:366;;;:::o;59788:419::-;59954:4;59992:2;59981:9;59977:18;59969:26;;60041:9;60035:4;60031:20;60027:1;60016:9;60012:17;60005:47;60069:131;60195:4;60069:131;:::i;:::-;60061:139;;59788:419;;;:::o;60213:98::-;60264:6;60298:5;60292:12;60282:22;;60213:98;;;:::o;60317:168::-;60400:11;60434:6;60429:3;60422:19;60474:4;60469:3;60465:14;60450:29;;60317:168;;;;:::o;60491:360::-;60577:3;60605:38;60637:5;60605:38;:::i;:::-;60659:70;60722:6;60717:3;60659:70;:::i;:::-;60652:77;;60738:52;60783:6;60778:3;60771:4;60764:5;60760:16;60738:52;:::i;:::-;60815:29;60837:6;60815:29;:::i;:::-;60810:3;60806:39;60799:46;;60581:270;60491:360;;;;:::o;60857:640::-;61052:4;61090:3;61079:9;61075:19;61067:27;;61104:71;61172:1;61161:9;61157:17;61148:6;61104:71;:::i;:::-;61185:72;61253:2;61242:9;61238:18;61229:6;61185:72;:::i;:::-;61267;61335:2;61324:9;61320:18;61311:6;61267:72;:::i;:::-;61386:9;61380:4;61376:20;61371:2;61360:9;61356:18;61349:48;61414:76;61485:4;61476:6;61414:76;:::i;:::-;61406:84;;60857:640;;;;;;;:::o;61503:141::-;61559:5;61590:6;61584:13;61575:22;;61606:32;61632:5;61606:32;:::i;:::-;61503:141;;;;:::o;61650:349::-;61719:6;61768:2;61756:9;61747:7;61743:23;61739:32;61736:119;;;61774:79;;:::i;:::-;61736:119;61894:1;61919:63;61974:7;61965:6;61954:9;61950:22;61919:63;:::i;:::-;61909:73;;61865:127;61650:349;;;;:::o;62005:191::-;62045:4;62065:20;62083:1;62065:20;:::i;:::-;62060:25;;62099:20;62117:1;62099:20;:::i;:::-;62094:25;;62138:1;62135;62132:8;62129:34;;;62143:18;;:::i;:::-;62129:34;62188:1;62185;62181:9;62173:17;;62005:191;;;;:::o

Swarm Source

ipfs://68d61d27362487038c13596511c17356977c7302b429a02a1a9ae56ce80157c4
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.