ETH Price: $2,987.51 (+3.63%)
Gas: 3 Gwei

Token

something (iou)
 

Overview

Max Total Supply

0 iou

Holders

58

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
0 iou
0x7646a0f355a3f9cbe8c46b5f7c9b5a5d31af68e0
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:
Something

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

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

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


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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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

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


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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;


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

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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


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

pragma solidity ^0.8.0;








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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

        _owners[tokenId] = to;

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

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

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

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

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

        // Clear approvals
        delete _tokenApprovals[tokenId];

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId, 1);

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

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

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

        emit Transfer(from, to, tokenId);

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

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

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

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

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

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

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

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

// File: contracts/Something.sol


pragma solidity ^0.8.0;



// import "@openzeppelin/contracts/utils/Strings.sol";

contract Something is ERC721 {
    using Strings for uint256;

    uint256 private _tokenIds;
    address public tokenAddress = 0xFf1411fa907487b381Dc26411B95eDCB64948fAE;
    mapping(uint256 => uint256) public tokenAmountPaid;
    uint256 public _maxPayment = 10000 * 10**6 * 10**9;
    bool public mintActive = true;
    address public _owner;

    constructor() ERC721("something", "iou") {
        _owner = msg.sender;
    }

    modifier onlyOwner() {
        require(
            msg.sender == _owner,
            "Only the owner can perform this action."
        );
        _;
    }

    function mint(uint256 amount) public {
        require(amount >= 1, "Amount invalid");
        require(amount <= _maxPayment, "Maximum payment reached");
        require(balanceOf(msg.sender) == 0, "Max Mint per wallet reached");
        require(mintActive, "Mint is not active");

        IERC20(tokenAddress).transferFrom(msg.sender, address(this), amount);
        _tokenIds++;
        uint256 newItemId = _tokenIds;
        tokenAmountPaid[newItemId] = amount;
        _mint(msg.sender, newItemId);
    }

    function withdrawAll() public onlyOwner {
        uint256 balance = IERC20(tokenAddress).balanceOf(address(this));
        IERC20(tokenAddress).transfer(_owner, balance);
    }

    function setActive() public onlyOwner {
        mintActive = !mintActive;
    }

    function setOwner(address owner_) external {
        require(msg.sender == _owner, "not owner");
        _owner = owner_;
    }

    function getAmountPaid(uint256 tokenId) public view returns (uint256) {
        return tokenAmountPaid[tokenId];
    }

    function tokenURI(uint256 tokenId) public view override returns (string memory){
        string[3] memory parts;
        parts[0] = '<svg width="100%" height="100%" version="1.1" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><image x="0" y="0" width="200" height="200" image-rendering="pixelated" preserveAspectRatio="xMidYMid" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsBAMAAACLU5NGAAAAD1BMVEUAAAAAAAD///9TU1M+Pj4wfAZSAAAAAXRSTlMAQObYZgAABBlJREFUeNrt3AF2mzAQRVG6A820G5i/hO5/cY09CIHkxpFirGn5ryeuwam5FTqYOAkLY4wxxrZ+yPdblpCsj4Ky7qWYLC/FZOWCstaCstZSTNZWUFZbismqIoustYuwEllkeVdhBX3xIYusk0pkkeWR9VkKmIx1Sdaw6kwWyPp6eqpqfLSCsk4v6FsjZJG1dhFWIoss7zTWIqFayIrDgow0zjJ53ujp4jhLId4/ypK6d7IUeCkrvYaFiCzFRxaOhXvbQxaFZfv3JBRxWBKPpTdRdrUPVb2NBeR5/zLW8hJWnvhWT3n8HmcNvTdizYjkWQ/bi9/LglWbdlf1kE5l7YBhWLq/i5qVzblJLAvIEmchBqtarXuWDrHSUpJD/zMLaA7zc1hyZFkIljrLdp9Vzfl5rPIYYrGwO/7rLJb9nWURWQrzm+6WM1iKbSkESwHZSXzpnSyFPGRZpcu40gQWDsOUkRNY9blE5sFv8trOUv+PD7csVCx3KWAxWMDDr/4ns7RiWaOV97HK3QwpTWU9m9o6g1UOByFZACQUS+CZjNay+o+nLUudJS9rqViD6StVmRXvuz5kkXVSiSyyPLKmtpBFlncRViKLLI+snq7CWsgiyyOrJ7J6IqsnsnoiqyeyeiKrJ7J6IqsnsmaWyCLLI6snsnoiqyeyeiKrJ7J6IqsnsqaWYl6pmSyy1sjqiayeyOrpqiyJEVlkrZHVE1k9kdUTWT39syyTjsiSjt7MgnytOSyTJ81hQZ40haXRWOasOTtRYZ+yZApLAXzOansHyx6u9ZvHvYUlj0JYFtz2qEksxa2po4XHLOvaicvJrJw+OWKdzrLoLG1ZZQkVsZulQA8LNQs7FmC+BMCd4yw7XH9MnyBVYXuW/i4smN7v6s3jV5MdZtkqwkf+l29FAfPFHHBftg2ot08t4/LT7rtv/a/ZbSVGWWpOU/EP+FPfrGplN+QVeUPb4EDUGpbJ+oDaKEuOLMsbOj6tD8GRlRWZ9ctEbM/yf/Rd1rpPbB018cWi2Pieq62MltYsE1UbY1mZX8iDodJcntaRR5Y0rDyd7kv3ARd8i5UZuAv8I3M8Jx1ZkllSWBvSx1q/yTouFpbaxkPDwv1PZvm6jeXZMEszQ61sww7wdda1LBX725N6GGYhn5z4hBW/V0Yru6RiPT38jrOwf/1ynSjyBHHht9IBVrvdsgjLTzmBlRFN+YUnHMv7T1mQuggsbTcQgQVpIqtnH85imeQweBqor2dVV7Rtm8USrA1/5aNyamSR1dOFWXOK+QNJZJF1WokssjyyeiJrbmR9vaiXQyaLrNxVWIkssjyyeiKrp0uwYv5W9bIEY6UiCWErnjiwJ5gp5/RpKc0fsuVQCNriBZItXiRYWk7pR0TUViwNY4wxxub2B0/Jxs23EcdvAAAAAElFTkSuQmCC"/><text x="30" y="105" font-family="Comic Sans MS" fill="white" font-size="12">';
        parts[1] = (tokenAmountPaid[tokenId] / 10**9).toString();
        parts[2] = "</text></svg>";

        string memory output = string(abi.encodePacked(parts[0], parts[1]));
        output = string(abi.encodePacked(output, parts[2]));

        string memory json = Base64.encode(bytes(string(abi.encodePacked('{"name": "iou #', tokenId.toString(), '", "description": "iou nothing", "image": "data:image/svg+xml;base64,', Base64.encode(bytes(output)), '"}'))));
        output = string(abi.encodePacked('data:application/json;base64,', json));
        return output;
    }
}

/// [MIT License]
/// @title Base64
/// @notice Provides a function for encoding some bytes in base64
/// @author Brecht Devos <[email protected]>
library Base64 {
    bytes internal constant TABLE =
        "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /// @notice Encodes some bytes to the base64 representation
    function encode(bytes memory data) internal pure returns (string memory) {
        uint256 len = data.length;
        if (len == 0) return "";

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

        // Add some extra buffer at the end
        bytes memory result = new bytes(encodedLen + 32);

        bytes memory table = TABLE;

        assembly {
            let tablePtr := add(table, 1)
            let resultPtr := add(result, 32)

            for {
                let i := 0
            } lt(i, len) {

            } {
                i := add(i, 3)
                let input := and(mload(add(data, i)), 0xffffff)

                let out := mload(add(tablePtr, and(shr(18, input), 0x3F)))
                out := shl(8, out)
                out := add(
                    out,
                    and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF)
                )
                out := shl(8, out)
                out := add(
                    out,
                    and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF)
                )
                out := shl(8, out)
                out := add(
                    out,
                    and(mload(add(tablePtr, and(input, 0x3F))), 0xFF)
                )
                out := shl(224, out)

                mstore(resultPtr, out)

                resultPtr := add(resultPtr, 4)
            }

            switch mod(len, 3)
            case 1 {
                mstore(sub(resultPtr, 2), shl(240, 0x3d3d))
            }
            case 2 {
                mstore(sub(resultPtr, 1), shl(248, 0x3d))
            }

            mstore(result, encodedLen)
        }

        return string(result);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_maxPayment","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getAmountPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"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":[],"name":"setActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"}],"name":"setOwner","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":[],"name":"tokenAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenAmountPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600780546001600160a01b03191673ff1411fa907487b381dc26411b95edcb64948fae179055678ac7230489e80000600955600a805460ff191660011790553480156200005057600080fd5b5060405180604001604052806009815260200168736f6d657468696e6760b81b81525060405180604001604052806003815260200162696f7560e81b8152508160009081620000a0919062000174565b506001620000af828262000174565b5050600a8054610100600160a81b03191633610100021790555062000240565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620000fa57607f821691505b6020821081036200011b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200016f57600081815260208120601f850160051c810160208610156200014a5750805b601f850160051c820191505b818110156200016b5782815560010162000156565b5050505b505050565b81516001600160401b03811115620001905762000190620000cf565b620001a881620001a18454620000e5565b8462000121565b602080601f831160018114620001e05760008415620001c75750858301515b600019600386901b1c1916600185901b1785556200016b565b600085815260208120601f198616915b828110156200021157888601518255948401946001909101908401620001f0565b5085821015620002305787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61234080620002506000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c8063760a8c2a116100c3578063b2bdfa7b1161007c578063b2bdfa7b146102ba578063b88d4fde146102d2578063c87b56dd146102e5578063d1b3fb65146102f8578063e985e9c514610318578063f4fbc9041461032b57600080fd5b8063760a8c2a14610269578063853828b61461027157806395d89b41146102795780639d76ea5814610281578063a0712d6814610294578063a22cb465146102a757600080fd5b806323b872dd1161011557806323b872dd146101e257806325fd90f3146101f557806342842e0e1461020257806344193de8146102155780636352211e1461024357806370a082311461025657600080fd5b806301ffc9a71461015257806306fdde031461017a578063081812fc1461018f578063095ea7b3146101ba57806313af4035146101cf575b600080fd5b610165610160366004611525565b610334565b60405190151581526020015b60405180910390f35b610182610386565b6040516101719190611599565b6101a261019d3660046115ac565b610418565b6040516001600160a01b039091168152602001610171565b6101cd6101c83660046115e1565b61043f565b005b6101cd6101dd36600461160b565b610559565b6101cd6101f0366004611626565b6105cc565b600a546101659060ff1681565b6101cd610210366004611626565b6105fd565b6102356102233660046115ac565b60009081526008602052604090205490565b604051908152602001610171565b6101a26102513660046115ac565b610618565b61023561026436600461160b565b610678565b6101cd6106fe565b6101cd610741565b610182610861565b6007546101a2906001600160a01b031681565b6101cd6102a23660046115ac565b610870565b6101cd6102b5366004611670565b610a50565b600a546101a29061010090046001600160a01b031681565b6101cd6102e03660046116bd565b610a5b565b6101826102f33660046115ac565b610a93565b6102356103063660046115ac565b60086020526000908152604090205481565b610165610326366004611799565b610bc5565b61023560095481565b60006001600160e01b031982166380ac58cd60e01b148061036557506001600160e01b03198216635b5e139f60e01b145b8061038057506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060008054610395906117cc565b80601f01602080910402602001604051908101604052809291908181526020018280546103c1906117cc565b801561040e5780601f106103e35761010080835404028352916020019161040e565b820191906000526020600020905b8154815290600101906020018083116103f157829003601f168201915b5050505050905090565b600061042382610bf3565b506000908152600460205260409020546001600160a01b031690565b600061044a82610618565b9050806001600160a01b0316836001600160a01b0316036104bc5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806104d857506104d88133610bc5565b61054a5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016104b3565b6105548383610c55565b505050565b600a5461010090046001600160a01b031633146105a45760405162461bcd60e51b81526020600482015260096024820152683737ba1037bbb732b960b91b60448201526064016104b3565b600a80546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6105d63382610cc3565b6105f25760405162461bcd60e51b81526004016104b390611806565b610554838383610d22565b61055483838360405180602001604052806000815250610a5b565b6000818152600260205260408120546001600160a01b0316806103805760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016104b3565b60006001600160a01b0382166106e25760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016104b3565b506001600160a01b031660009081526003602052604090205490565b600a5461010090046001600160a01b0316331461072d5760405162461bcd60e51b81526004016104b390611853565b600a805460ff19811660ff90911615179055565b600a5461010090046001600160a01b031633146107705760405162461bcd60e51b81526004016104b390611853565b6007546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156107b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dd919061189a565b600754600a5460405163a9059cbb60e01b81526001600160a01b036101009092048216600482015260248101849052929350169063a9059cbb906044016020604051808303816000875af1158015610839573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085d91906118b3565b5050565b606060018054610395906117cc565b60018110156108b25760405162461bcd60e51b815260206004820152600e60248201526d105b5bdd5b9d081a5b9d985b1a5960921b60448201526064016104b3565b6009548111156109045760405162461bcd60e51b815260206004820152601760248201527f4d6178696d756d207061796d656e74207265616368656400000000000000000060448201526064016104b3565b61090d33610678565b1561095a5760405162461bcd60e51b815260206004820152601b60248201527f4d6178204d696e74207065722077616c6c65742072656163686564000000000060448201526064016104b3565b600a5460ff166109a15760405162461bcd60e51b81526020600482015260126024820152714d696e74206973206e6f742061637469766560701b60448201526064016104b3565b6007546040516323b872dd60e01b8152336004820152306024820152604481018390526001600160a01b03909116906323b872dd906064016020604051808303816000875af11580156109f8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1c91906118b3565b5060068054906000610a2d836118e6565b9091555050600654600081815260086020526040902082905561085d3382610e86565b61085d338383611011565b610a653383610cc3565b610a815760405162461bcd60e51b81526004016104b390611806565b610a8d848484846110df565b50505050565b6060610a9d6114e8565b604051806107a001604052806107638152602001611ba861076391398152600083815260086020526040902054610ae290610add90633b9aca00906118ff565b611112565b6020828101918252604080518082018252600d81526c1e17ba32bc3a1f1e17b9bb339f60991b8184015281850152835192519051600093610b269390929101611921565b60408051808303601f1901815282825290840151909250610b4c91839190602001611921565b60405160208183030381529060405290506000610b99610b6b86611112565b610b74846111a5565b604051602001610b85929190611950565b6040516020818303038152906040526111a5565b905080604051602001610bac9190611a07565b60408051601f1981840301815291905295945050505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6000818152600260205260409020546001600160a01b0316610c525760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016104b3565b50565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610c8a82610618565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610ccf83610618565b9050806001600160a01b0316846001600160a01b03161480610cf65750610cf68185610bc5565b80610d1a5750836001600160a01b0316610d0f84610418565b6001600160a01b0316145b949350505050565b826001600160a01b0316610d3582610618565b6001600160a01b031614610d5b5760405162461bcd60e51b81526004016104b390611a4c565b6001600160a01b038216610dbd5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016104b3565b826001600160a01b0316610dd082610618565b6001600160a01b031614610df65760405162461bcd60e51b81526004016104b390611a4c565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b038216610edc5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016104b3565b6000818152600260205260409020546001600160a01b031615610f415760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104b3565b6000818152600260205260409020546001600160a01b031615610fa65760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104b3565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b816001600160a01b0316836001600160a01b0316036110725760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016104b3565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6110ea848484610d22565b6110f68484848461130f565b610a8d5760405162461bcd60e51b81526004016104b390611a91565b6060600061111f83611410565b600101905060008167ffffffffffffffff81111561113f5761113f6116a7565b6040519080825280601f01601f191660200182016040528015611169576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461117357509392505050565b805160609060008190036111c9575050604080516020810190915260008152919050565b600060036111d8836002611ae3565b6111e291906118ff565b6111ed906004611af6565b905060006111fc826020611ae3565b67ffffffffffffffff811115611214576112146116a7565b6040519080825280601f01601f19166020018201604052801561123e576020820181803683370190505b5090506000604051806060016040528060408152602001611b68604091399050600181016020830160005b868110156112ca576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b835260049092019101611269565b5060038606600181146112e457600281146112f557611301565b613d3d60f01b600119830152611301565b603d60f81b6000198301525b505050918152949350505050565b60006001600160a01b0384163b1561140557604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611353903390899088908890600401611b0d565b6020604051808303816000875af192505050801561138e575060408051601f3d908101601f1916820190925261138b91810190611b4a565b60015b6113eb573d8080156113bc576040519150601f19603f3d011682016040523d82523d6000602084013e6113c1565b606091505b5080516000036113e35760405162461bcd60e51b81526004016104b390611a91565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610d1a565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b831061144f5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061147b576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061149957662386f26fc10000830492506010015b6305f5e10083106114b1576305f5e100830492506008015b61271083106114c557612710830492506004015b606483106114d7576064830492506002015b600a83106103805760010192915050565b60405180606001604052806003905b60608152602001906001900390816114f75790505090565b6001600160e01b031981168114610c5257600080fd5b60006020828403121561153757600080fd5b81356115428161150f565b9392505050565b60005b8381101561156457818101518382015260200161154c565b50506000910152565b60008151808452611585816020860160208601611549565b601f01601f19169290920160200192915050565b602081526000611542602083018461156d565b6000602082840312156115be57600080fd5b5035919050565b80356001600160a01b03811681146115dc57600080fd5b919050565b600080604083850312156115f457600080fd5b6115fd836115c5565b946020939093013593505050565b60006020828403121561161d57600080fd5b611542826115c5565b60008060006060848603121561163b57600080fd5b611644846115c5565b9250611652602085016115c5565b9150604084013590509250925092565b8015158114610c5257600080fd5b6000806040838503121561168357600080fd5b61168c836115c5565b9150602083013561169c81611662565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156116d357600080fd5b6116dc856115c5565b93506116ea602086016115c5565b925060408501359150606085013567ffffffffffffffff8082111561170e57600080fd5b818701915087601f83011261172257600080fd5b813581811115611734576117346116a7565b604051601f8201601f19908116603f0116810190838211818310171561175c5761175c6116a7565b816040528281528a602084870101111561177557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156117ac57600080fd5b6117b5836115c5565b91506117c3602084016115c5565b90509250929050565b600181811c908216806117e057607f821691505b60208210810361180057634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526027908201527f4f6e6c7920746865206f776e65722063616e20706572666f726d20746869732060408201526630b1ba34b7b71760c91b606082015260800190565b6000602082840312156118ac57600080fd5b5051919050565b6000602082840312156118c557600080fd5b815161154281611662565b634e487b7160e01b600052601160045260246000fd5b6000600182016118f8576118f86118d0565b5060010190565b60008261191c57634e487b7160e01b600052601260045260246000fd5b500490565b60008351611933818460208801611549565b835190830190611947818360208801611549565b01949350505050565b6e7b226e616d65223a2022696f75202360881b8152825160009061197b81600f850160208801611549565b7f222c20226465736372697074696f6e223a2022696f75206e6f7468696e67222c600f918401918201527f2022696d616765223a2022646174613a696d6167652f7376672b786d6c3b6261602f820152641cd94d8d0b60da1b604f82015283516119ec816054840160208801611549565b61227d60f01b60549290910191820152605601949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815260008251611a3f81601d850160208701611549565b91909101601d0192915050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b80820180821115610380576103806118d0565b8082028115828204841417610380576103806118d0565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611b409083018461156d565b9695505050505050565b600060208284031215611b5c57600080fd5b81516115428161150f56fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f3c7376672077696474683d223130302522206865696768743d2231303025222076657273696f6e3d22312e31222076696577426f783d2230203020323030203230302220786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f7376672220786d6c6e733a786c696e6b3d22687474703a2f2f7777772e77332e6f72672f313939392f786c696e6b223e3c696d61676520783d22302220793d2230222077696474683d2232303022206865696768743d223230302220696d6167652d72656e646572696e673d22706978656c6174656422207072657365727665417370656374526174696f3d22784d6964594d69642220786c696e6b3a687265663d22646174613a696d6167652f706e673b6261736536342c6956424f5277304b47676f414141414e5355684555674141415377414141457342414d414141434c55354e47414141414431424d56455541414141414141442f2f2f395455314d2b506a347766415a534141414141585253546c4d41514f62595a67414142426c4a52454655654e7274334146326d7a415152564736413832304735692f684f352f635930394349486b7870466972476e357279657577616d35465471594f416b4c5934777878725a2b795064626c7043736a344b79377157594c432f465a4f57437374614373745a53544e5a5755465a6269736d71496f757374597577456c6c6b6556646842583378495975736b30706b6b65575239566b4b6d49783153646177366b77577950703665717071664c5343736b34763646736a5a4a473164684657496f7373377a54574971466179497244676f77307a6a4a3533756a70346a684c4964342f79704b366437495565436b727659614669437a465278614f68587662517861465a6676334a42527857424b5070546452647255505662324e426552352f7a4c5738684a576e76685754336e38486d634e765464697a596a6b57512f6269392f4c676c5762646c66316b45356c37594268574c712f693571567a626c4a4c417649456d636842717461725875574472485355704a442f7a4d4c6141377a633168795a466b496c6a724c647039567a666c3572504959597247774f2f37724c4a62396e5755525751727a6d2b36574d31694b62536b455377485a53587a706e5379465047525a706375343067515744734f556b524e5939626c45357346763874724f55762b5044376373564378334b574178574d4444722f346e7337526957614f563937484b33517770545755396d396f366731554f4279465a41435155532b435a6a4e61792b6f2b6e4c5575644a53397271566944365374566d525876757a356b6b58565369537979504c4b6d747042466c6e635256694b4c4c492b736e7137435773676979794f724a374a364971736e736e6f697179657965694b724a374a364971736e736d615779434c4c4936736e736e6f697179657965694b724a374a364971736e73716157596c36706d53797931736a7169617965794f72707169794a45566c6b725a485645316b396b64555457543339737979546a7369536a74374d676e79744f5379544a383168515a343068615852574f61734f547452595a2b795a41704c41587a4f616e734879783675395a76487659556c6a304a5946747a3271456b73786132706f3458484c4f76616963764a724a772b4f574b647a724c6f4c47315a5a516b56735a756c5141384c4e517337466d432b424d4364347977375848394d6e794256595875572f6934736d4e37763673336a56354d645a746b71776b662b6c32394641665046484842667467326f74303874342f4c54377274762f612f5a625356475757704f552f45502b4650667247706c4e2b515665555062344544554770624a2b6f44614b45754f4c4d73624f6a3674443847526c52575a39637445624d2f79662f5264317270506242303138635769325069657136324d6c7459734531556259316d5a583869446f644a636e7461525235593072447964376b7633415264386935555a7541763849334d384a78315a6b6c6c53574276537831712f79546f7546706261786b5044777631505a766d366a65585a4d45737a5136317377773777646461314c42583732354e36474759686e357a346842572f5630597275365269505433386a724f77662f31796e536a7942484868743949425672766473676a4c547a6d426c52464e2b59556e484d763754316d517567677362546351675156704971746e483835696d6551776542716f72326456563752746d3855537241312f35614e79616d535231644f4657584f4b2b514e4a5a4a4631576f6b73736a797965694a72626d5239766169585179614c724e785657496b73736a797965694b7270307577597635573962494559365569435745726e6a69774a356770352f52704b63306673755651434e7269425a497458695259576b3770523054555669774e593477787875623242302f4a78733233456364764141414141456c46546b5375516d4343222f3e3c7465787420783d2233302220793d223130352220666f6e742d66616d696c793d22436f6d69632053616e73204d53222066696c6c3d2277686974652220666f6e742d73697a653d223132223ea2646970667358221220793655512a76c0375c3cab16aa17ed219c32968262625e18307a23e1a90724a464736f6c63430008120033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061014d5760003560e01c8063760a8c2a116100c3578063b2bdfa7b1161007c578063b2bdfa7b146102ba578063b88d4fde146102d2578063c87b56dd146102e5578063d1b3fb65146102f8578063e985e9c514610318578063f4fbc9041461032b57600080fd5b8063760a8c2a14610269578063853828b61461027157806395d89b41146102795780639d76ea5814610281578063a0712d6814610294578063a22cb465146102a757600080fd5b806323b872dd1161011557806323b872dd146101e257806325fd90f3146101f557806342842e0e1461020257806344193de8146102155780636352211e1461024357806370a082311461025657600080fd5b806301ffc9a71461015257806306fdde031461017a578063081812fc1461018f578063095ea7b3146101ba57806313af4035146101cf575b600080fd5b610165610160366004611525565b610334565b60405190151581526020015b60405180910390f35b610182610386565b6040516101719190611599565b6101a261019d3660046115ac565b610418565b6040516001600160a01b039091168152602001610171565b6101cd6101c83660046115e1565b61043f565b005b6101cd6101dd36600461160b565b610559565b6101cd6101f0366004611626565b6105cc565b600a546101659060ff1681565b6101cd610210366004611626565b6105fd565b6102356102233660046115ac565b60009081526008602052604090205490565b604051908152602001610171565b6101a26102513660046115ac565b610618565b61023561026436600461160b565b610678565b6101cd6106fe565b6101cd610741565b610182610861565b6007546101a2906001600160a01b031681565b6101cd6102a23660046115ac565b610870565b6101cd6102b5366004611670565b610a50565b600a546101a29061010090046001600160a01b031681565b6101cd6102e03660046116bd565b610a5b565b6101826102f33660046115ac565b610a93565b6102356103063660046115ac565b60086020526000908152604090205481565b610165610326366004611799565b610bc5565b61023560095481565b60006001600160e01b031982166380ac58cd60e01b148061036557506001600160e01b03198216635b5e139f60e01b145b8061038057506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060008054610395906117cc565b80601f01602080910402602001604051908101604052809291908181526020018280546103c1906117cc565b801561040e5780601f106103e35761010080835404028352916020019161040e565b820191906000526020600020905b8154815290600101906020018083116103f157829003601f168201915b5050505050905090565b600061042382610bf3565b506000908152600460205260409020546001600160a01b031690565b600061044a82610618565b9050806001600160a01b0316836001600160a01b0316036104bc5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806104d857506104d88133610bc5565b61054a5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016104b3565b6105548383610c55565b505050565b600a5461010090046001600160a01b031633146105a45760405162461bcd60e51b81526020600482015260096024820152683737ba1037bbb732b960b91b60448201526064016104b3565b600a80546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6105d63382610cc3565b6105f25760405162461bcd60e51b81526004016104b390611806565b610554838383610d22565b61055483838360405180602001604052806000815250610a5b565b6000818152600260205260408120546001600160a01b0316806103805760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016104b3565b60006001600160a01b0382166106e25760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016104b3565b506001600160a01b031660009081526003602052604090205490565b600a5461010090046001600160a01b0316331461072d5760405162461bcd60e51b81526004016104b390611853565b600a805460ff19811660ff90911615179055565b600a5461010090046001600160a01b031633146107705760405162461bcd60e51b81526004016104b390611853565b6007546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156107b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dd919061189a565b600754600a5460405163a9059cbb60e01b81526001600160a01b036101009092048216600482015260248101849052929350169063a9059cbb906044016020604051808303816000875af1158015610839573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085d91906118b3565b5050565b606060018054610395906117cc565b60018110156108b25760405162461bcd60e51b815260206004820152600e60248201526d105b5bdd5b9d081a5b9d985b1a5960921b60448201526064016104b3565b6009548111156109045760405162461bcd60e51b815260206004820152601760248201527f4d6178696d756d207061796d656e74207265616368656400000000000000000060448201526064016104b3565b61090d33610678565b1561095a5760405162461bcd60e51b815260206004820152601b60248201527f4d6178204d696e74207065722077616c6c65742072656163686564000000000060448201526064016104b3565b600a5460ff166109a15760405162461bcd60e51b81526020600482015260126024820152714d696e74206973206e6f742061637469766560701b60448201526064016104b3565b6007546040516323b872dd60e01b8152336004820152306024820152604481018390526001600160a01b03909116906323b872dd906064016020604051808303816000875af11580156109f8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1c91906118b3565b5060068054906000610a2d836118e6565b9091555050600654600081815260086020526040902082905561085d3382610e86565b61085d338383611011565b610a653383610cc3565b610a815760405162461bcd60e51b81526004016104b390611806565b610a8d848484846110df565b50505050565b6060610a9d6114e8565b604051806107a001604052806107638152602001611ba861076391398152600083815260086020526040902054610ae290610add90633b9aca00906118ff565b611112565b6020828101918252604080518082018252600d81526c1e17ba32bc3a1f1e17b9bb339f60991b8184015281850152835192519051600093610b269390929101611921565b60408051808303601f1901815282825290840151909250610b4c91839190602001611921565b60405160208183030381529060405290506000610b99610b6b86611112565b610b74846111a5565b604051602001610b85929190611950565b6040516020818303038152906040526111a5565b905080604051602001610bac9190611a07565b60408051601f1981840301815291905295945050505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6000818152600260205260409020546001600160a01b0316610c525760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016104b3565b50565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610c8a82610618565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610ccf83610618565b9050806001600160a01b0316846001600160a01b03161480610cf65750610cf68185610bc5565b80610d1a5750836001600160a01b0316610d0f84610418565b6001600160a01b0316145b949350505050565b826001600160a01b0316610d3582610618565b6001600160a01b031614610d5b5760405162461bcd60e51b81526004016104b390611a4c565b6001600160a01b038216610dbd5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016104b3565b826001600160a01b0316610dd082610618565b6001600160a01b031614610df65760405162461bcd60e51b81526004016104b390611a4c565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b038216610edc5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016104b3565b6000818152600260205260409020546001600160a01b031615610f415760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104b3565b6000818152600260205260409020546001600160a01b031615610fa65760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104b3565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b816001600160a01b0316836001600160a01b0316036110725760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016104b3565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6110ea848484610d22565b6110f68484848461130f565b610a8d5760405162461bcd60e51b81526004016104b390611a91565b6060600061111f83611410565b600101905060008167ffffffffffffffff81111561113f5761113f6116a7565b6040519080825280601f01601f191660200182016040528015611169576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461117357509392505050565b805160609060008190036111c9575050604080516020810190915260008152919050565b600060036111d8836002611ae3565b6111e291906118ff565b6111ed906004611af6565b905060006111fc826020611ae3565b67ffffffffffffffff811115611214576112146116a7565b6040519080825280601f01601f19166020018201604052801561123e576020820181803683370190505b5090506000604051806060016040528060408152602001611b68604091399050600181016020830160005b868110156112ca576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b835260049092019101611269565b5060038606600181146112e457600281146112f557611301565b613d3d60f01b600119830152611301565b603d60f81b6000198301525b505050918152949350505050565b60006001600160a01b0384163b1561140557604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611353903390899088908890600401611b0d565b6020604051808303816000875af192505050801561138e575060408051601f3d908101601f1916820190925261138b91810190611b4a565b60015b6113eb573d8080156113bc576040519150601f19603f3d011682016040523d82523d6000602084013e6113c1565b606091505b5080516000036113e35760405162461bcd60e51b81526004016104b390611a91565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610d1a565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b831061144f5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061147b576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061149957662386f26fc10000830492506010015b6305f5e10083106114b1576305f5e100830492506008015b61271083106114c557612710830492506004015b606483106114d7576064830492506002015b600a83106103805760010192915050565b60405180606001604052806003905b60608152602001906001900390816114f75790505090565b6001600160e01b031981168114610c5257600080fd5b60006020828403121561153757600080fd5b81356115428161150f565b9392505050565b60005b8381101561156457818101518382015260200161154c565b50506000910152565b60008151808452611585816020860160208601611549565b601f01601f19169290920160200192915050565b602081526000611542602083018461156d565b6000602082840312156115be57600080fd5b5035919050565b80356001600160a01b03811681146115dc57600080fd5b919050565b600080604083850312156115f457600080fd5b6115fd836115c5565b946020939093013593505050565b60006020828403121561161d57600080fd5b611542826115c5565b60008060006060848603121561163b57600080fd5b611644846115c5565b9250611652602085016115c5565b9150604084013590509250925092565b8015158114610c5257600080fd5b6000806040838503121561168357600080fd5b61168c836115c5565b9150602083013561169c81611662565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156116d357600080fd5b6116dc856115c5565b93506116ea602086016115c5565b925060408501359150606085013567ffffffffffffffff8082111561170e57600080fd5b818701915087601f83011261172257600080fd5b813581811115611734576117346116a7565b604051601f8201601f19908116603f0116810190838211818310171561175c5761175c6116a7565b816040528281528a602084870101111561177557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156117ac57600080fd5b6117b5836115c5565b91506117c3602084016115c5565b90509250929050565b600181811c908216806117e057607f821691505b60208210810361180057634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526027908201527f4f6e6c7920746865206f776e65722063616e20706572666f726d20746869732060408201526630b1ba34b7b71760c91b606082015260800190565b6000602082840312156118ac57600080fd5b5051919050565b6000602082840312156118c557600080fd5b815161154281611662565b634e487b7160e01b600052601160045260246000fd5b6000600182016118f8576118f86118d0565b5060010190565b60008261191c57634e487b7160e01b600052601260045260246000fd5b500490565b60008351611933818460208801611549565b835190830190611947818360208801611549565b01949350505050565b6e7b226e616d65223a2022696f75202360881b8152825160009061197b81600f850160208801611549565b7f222c20226465736372697074696f6e223a2022696f75206e6f7468696e67222c600f918401918201527f2022696d616765223a2022646174613a696d6167652f7376672b786d6c3b6261602f820152641cd94d8d0b60da1b604f82015283516119ec816054840160208801611549565b61227d60f01b60549290910191820152605601949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815260008251611a3f81601d850160208701611549565b91909101601d0192915050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b80820180821115610380576103806118d0565b8082028115828204841417610380576103806118d0565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611b409083018461156d565b9695505050505050565b600060208284031215611b5c57600080fd5b81516115428161150f56fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f3c7376672077696474683d223130302522206865696768743d2231303025222076657273696f6e3d22312e31222076696577426f783d2230203020323030203230302220786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f7376672220786d6c6e733a786c696e6b3d22687474703a2f2f7777772e77332e6f72672f313939392f786c696e6b223e3c696d61676520783d22302220793d2230222077696474683d2232303022206865696768743d223230302220696d6167652d72656e646572696e673d22706978656c6174656422207072657365727665417370656374526174696f3d22784d6964594d69642220786c696e6b3a687265663d22646174613a696d6167652f706e673b6261736536342c6956424f5277304b47676f414141414e5355684555674141415377414141457342414d414141434c55354e47414141414431424d56455541414141414141442f2f2f395455314d2b506a347766415a534141414141585253546c4d41514f62595a67414142426c4a52454655654e7274334146326d7a415152564736413832304735692f684f352f635930394349486b7870466972476e357279657577616d35465471594f416b4c5934777878725a2b795064626c7043736a344b79377157594c432f465a4f57437374614373745a53544e5a5755465a6269736d71496f757374597577456c6c6b6556646842583378495975736b30706b6b65575239566b4b6d49783153646177366b77577950703665717071664c5343736b34763646736a5a4a473164684657496f7373377a54574971466179497244676f77307a6a4a3533756a70346a684c4964342f79704b366437495565436b727659614669437a465278614f68587662517861465a6676334a42527857424b5070546452647255505662324e426552352f7a4c5738684a576e76685754336e38486d634e765464697a596a6b57512f6269392f4c676c5762646c66316b45356c37594268574c712f693571567a626c4a4c417649456d636842717461725875574472485355704a442f7a4d4c6141377a633168795a466b496c6a724c647039567a666c3572504959597247774f2f37724c4a62396e5755525751727a6d2b36574d31694b62536b455377485a53587a706e5379465047525a706375343067515744734f556b524e5939626c45357346763874724f55762b5044376373564378334b574178574d4444722f346e7337526957614f563937484b33517770545755396d396f366731554f4279465a41435155532b435a6a4e61792b6f2b6e4c5575644a53397271566944365374566d525876757a356b6b58565369537979504c4b6d747042466c6e635256694b4c4c492b736e7137435773676979794f724a374a364971736e736e6f697179657965694b724a374a364971736e736d615779434c4c4936736e736e6f697179657965694b724a374a364971736e73716157596c36706d53797931736a7169617965794f72707169794a45566c6b725a485645316b396b64555457543339737979546a7369536a74374d676e79744f5379544a383168515a343068615852574f61734f547452595a2b795a41704c41587a4f616e734879783675395a76487659556c6a304a5946747a3271456b73786132706f3458484c4f76616963764a724a772b4f574b647a724c6f4c47315a5a516b56735a756c5141384c4e517337466d432b424d4364347977375848394d6e794256595875572f6934736d4e37763673336a56354d645a746b71776b662b6c32394641665046484842667467326f74303874342f4c54377274762f612f5a625356475757704f552f45502b4650667247706c4e2b515665555062344544554770624a2b6f44614b45754f4c4d73624f6a3674443847526c52575a39637445624d2f79662f5264317270506242303138635769325069657136324d6c7459734531556259316d5a583869446f644a636e7461525235593072447964376b7633415264386935555a7541763849334d384a78315a6b6c6c53574276537831712f79546f7546706261786b5044777631505a766d366a65585a4d45737a5136317377773777646461314c42583732354e36474759686e357a346842572f5630597275365269505433386a724f77662f31796e536a7942484868743949425672766473676a4c547a6d426c52464e2b59556e484d763754316d517567677362546351675156704971746e483835696d6551776542716f72326456563752746d3855537241312f35614e79616d535231644f4657584f4b2b514e4a5a4a4631576f6b73736a797965694a72626d5239766169585179614c724e785657496b73736a797965694b7270307577597635573962494559365569435745726e6a69774a356770352f52704b63306673755651434e7269425a497458695259576b3770523054555669774e593477787875623242302f4a78733233456364764141414141456c46546b5375516d4343222f3e3c7465787420783d2233302220793d223130352220666f6e742d66616d696c793d22436f6d69632053616e73204d53222066696c6c3d2277686974652220666f6e742d73697a653d223132223ea2646970667358221220793655512a76c0375c3cab16aa17ed219c32968262625e18307a23e1a90724a464736f6c63430008120033

Deployed Bytecode Sourcemap

55045:4305:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38723:305;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;38723:305:0;;;;;;;;39651:100;;;:::i;:::-;;;;;;;:::i;41163:171::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;41163:171:0;1533:203:1;40681:416:0;;;;;;:::i;:::-;;:::i;:::-;;56465:130;;;;;;:::i;:::-;;:::i;41863:335::-;;;;;;:::i;:::-;;:::i;55340:29::-;;;;;;;;;42269:185;;;;;;:::i;:::-;;:::i;56603:120::-;;;;;;:::i;:::-;56664:7;56691:24;;;:15;:24;;;;;;;56603:120;;;;2848:25:1;;;2836:2;2821:18;56603:120:0;2702:177:1;39361:223:0;;;;;;:::i;:::-;;:::i;39092:207::-;;;;;;:::i;:::-;;:::i;56376:81::-;;;:::i;56189:179::-;;;:::i;39820:104::-;;;:::i;55147:72::-;;;;;-1:-1:-1;;;;;55147:72:0;;;55662:519;;;;;;:::i;:::-;;:::i;41406:155::-;;;;;;:::i;:::-;;:::i;55376:21::-;;;;;;;;-1:-1:-1;;;;;55376:21:0;;;42525:322;;;;;;:::i;:::-;;:::i;56731:2616::-;;;;;;:::i;:::-;;:::i;55226:50::-;;;;;;:::i;:::-;;;;;;;;;;;;;;41632:164;;;;;;:::i;:::-;;:::i;55283:50::-;;;;;;38723:305;38825:4;-1:-1:-1;;;;;;38862:40:0;;-1:-1:-1;;;38862:40:0;;:105;;-1:-1:-1;;;;;;;38919:48:0;;-1:-1:-1;;;38919:48:0;38862:105;:158;;;-1:-1:-1;;;;;;;;;;31344:40:0;;;38984:36;38842:178;38723:305;-1:-1:-1;;38723:305:0:o;39651:100::-;39705:13;39738:5;39731:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39651:100;:::o;41163:171::-;41239:7;41259:23;41274:7;41259:14;:23::i;:::-;-1:-1:-1;41302:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;41302:24:0;;41163:171::o;40681:416::-;40762:13;40778:23;40793:7;40778:14;:23::i;:::-;40762:39;;40826:5;-1:-1:-1;;;;;40820:11:0;:2;-1:-1:-1;;;;;40820:11:0;;40812:57;;;;-1:-1:-1;;;40812:57:0;;5454:2:1;40812:57:0;;;5436:21:1;5493:2;5473:18;;;5466:30;5532:34;5512:18;;;5505:62;-1:-1:-1;;;5583:18:1;;;5576:31;5624:19;;40812:57:0;;;;;;;;;18837:10;-1:-1:-1;;;;;40904:21:0;;;;:62;;-1:-1:-1;40929:37:0;40946:5;18837:10;41632:164;:::i;40929:37::-;40882:173;;;;-1:-1:-1;;;40882:173:0;;5856:2:1;40882:173:0;;;5838:21:1;5895:2;5875:18;;;5868:30;5934:34;5914:18;;;5907:62;6005:31;5985:18;;;5978:59;6054:19;;40882:173:0;5654:425:1;40882:173:0;41068:21;41077:2;41081:7;41068:8;:21::i;:::-;40751:346;40681:416;;:::o;56465:130::-;56541:6;;;;;-1:-1:-1;;;;;56541:6:0;56527:10;:20;56519:42;;;;-1:-1:-1;;;56519:42:0;;6286:2:1;56519:42:0;;;6268:21:1;6325:1;6305:18;;;6298:29;-1:-1:-1;;;6343:18:1;;;6336:39;6392:18;;56519:42:0;6084:332:1;56519:42:0;56572:6;:15;;-1:-1:-1;;;;;56572:15:0;;;;;-1:-1:-1;;;;;;56572:15:0;;;;;;;;;56465:130::o;41863:335::-;42058:41;18837:10;42091:7;42058:18;:41::i;:::-;42050:99;;;;-1:-1:-1;;;42050:99:0;;;;;;;:::i;:::-;42162:28;42172:4;42178:2;42182:7;42162:9;:28::i;42269:185::-;42407:39;42424:4;42430:2;42434:7;42407:39;;;;;;;;;;;;:16;:39::i;39361:223::-;39433:7;44248:16;;;:7;:16;;;;;;-1:-1:-1;;;;;44248:16:0;;39497:56;;;;-1:-1:-1;;;39497:56:0;;7037:2:1;39497:56:0;;;7019:21:1;7076:2;7056:18;;;7049:30;-1:-1:-1;;;7095:18:1;;;7088:54;7159:18;;39497:56:0;6835:348:1;39092:207:0;39164:7;-1:-1:-1;;;;;39192:19:0;;39184:73;;;;-1:-1:-1;;;39184:73:0;;7390:2:1;39184:73:0;;;7372:21:1;7429:2;7409:18;;;7402:30;7468:34;7448:18;;;7441:62;-1:-1:-1;;;7519:18:1;;;7512:39;7568:19;;39184:73:0;7188:405:1;39184:73:0;-1:-1:-1;;;;;;39275:16:0;;;;;:9;:16;;;;;;;39092:207::o;56376:81::-;55561:6;;;;;-1:-1:-1;;;;;55561:6:0;55547:10;:20;55525:109;;;;-1:-1:-1;;;55525:109:0;;;;;;;:::i;:::-;56439:10:::1;::::0;;-1:-1:-1;;56425:24:0;::::1;56439:10;::::0;;::::1;56438:11;56425:24;::::0;;56376:81::o;56189:179::-;55561:6;;;;;-1:-1:-1;;;;;55561:6:0;55547:10;:20;55525:109;;;;-1:-1:-1;;;55525:109:0;;;;;;;:::i;:::-;56265:12:::1;::::0;56258:45:::1;::::0;-1:-1:-1;;;56258:45:0;;56297:4:::1;56258:45;::::0;::::1;1679:51:1::0;56240:15:0::1;::::0;-1:-1:-1;;;;;56265:12:0::1;::::0;56258:30:::1;::::0;1652:18:1;;56258:45:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56321:12;::::0;56344:6:::1;::::0;56314:46:::1;::::0;-1:-1:-1;;;56314:46:0;;-1:-1:-1;;;;;56321:12:0::1;56344:6:::0;;::::1;::::0;::::1;56314:46;::::0;::::1;8369:51:1::0;8436:18;;;8429:34;;;;;-1:-1:-1;56321:12:0::1;::::0;56314:29:::1;::::0;8342:18:1;;56314:46:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;56229:139;56189:179::o:0;39820:104::-;39876:13;39909:7;39902:14;;;;;:::i;55662:519::-;55728:1;55718:6;:11;;55710:38;;;;-1:-1:-1;;;55710:38:0;;8926:2:1;55710:38:0;;;8908:21:1;8965:2;8945:18;;;8938:30;-1:-1:-1;;;8984:18:1;;;8977:44;9038:18;;55710:38:0;8724:338:1;55710:38:0;55777:11;;55767:6;:21;;55759:57;;;;-1:-1:-1;;;55759:57:0;;9269:2:1;55759:57:0;;;9251:21:1;9308:2;9288:18;;;9281:30;9347:25;9327:18;;;9320:53;9390:18;;55759:57:0;9067:347:1;55759:57:0;55835:21;55845:10;55835:9;:21::i;:::-;:26;55827:66;;;;-1:-1:-1;;;55827:66:0;;9621:2:1;55827:66:0;;;9603:21:1;9660:2;9640:18;;;9633:30;9699:29;9679:18;;;9672:57;9746:18;;55827:66:0;9419:351:1;55827:66:0;55912:10;;;;55904:41;;;;-1:-1:-1;;;55904:41:0;;9977:2:1;55904:41:0;;;9959:21:1;10016:2;9996:18;;;9989:30;-1:-1:-1;;;10035:18:1;;;10028:48;10093:18;;55904:41:0;9775:342:1;55904:41:0;55965:12;;55958:68;;-1:-1:-1;;;55958:68:0;;55992:10;55958:68;;;10362:34:1;56012:4:0;10412:18:1;;;10405:43;10464:18;;;10457:34;;;-1:-1:-1;;;;;55965:12:0;;;;55958:33;;10297:18:1;;55958:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;56037:9:0;:11;;;:9;:11;;;:::i;:::-;;;;-1:-1:-1;;56079:9:0;;56059:17;56099:26;;;:15;:26;;;;;:35;;;56145:28;56151:10;56079:9;56145:5;:28::i;41406:155::-;41501:52;18837:10;41534:8;41544;41501:18;:52::i;42525:322::-;42699:41;18837:10;42732:7;42699:18;:41::i;:::-;42691:99;;;;-1:-1:-1;;;42691:99:0;;;;;;;:::i;:::-;42801:38;42815:4;42821:2;42825:7;42834:4;42801:13;:38::i;:::-;42525:322;;;;:::o;56731:2616::-;56796:13;56821:22;;:::i;:::-;56854:1904;;;;;;;;;;;;;;;;;;;56860:1;58781:24;;;:15;56854:8;58781:24;;;;;58780:45;;58781:32;;58808:5;;58781:32;:::i;:::-;58780:43;:45::i;:::-;58769:8;;;;:56;;;58836:26;;;;;;;;;;;-1:-1:-1;;;58836:26:0;;;;:8;;;:26;58922:8;;58932;;58905:36;;-1:-1:-1;;58905:36:0;;58922:8;;58932;58905:36;;:::i;:::-;;;;;;;-1:-1:-1;;58905:36:0;;;;;;58994:8;;;;58905:36;;-1:-1:-1;58969:34:0;;58905:36;;58994:8;;58969:34;;:::i;:::-;;;;;;;;;;;;;58953:51;;59017:18;59038:194;59101:18;:7;:16;:18::i;:::-;59194:28;59214:6;59194:13;:28::i;:::-;59065:164;;;;;;;;;:::i;:::-;;;;;;;;;;;;;59038:13;:194::i;:::-;59017:215;;59309:4;59259:55;;;;;;;;:::i;:::-;;;;-1:-1:-1;;59259:55:0;;;;;;;;;;56731:2616;-1:-1:-1;;;;;56731:2616:0:o;41632:164::-;-1:-1:-1;;;;;41753:25:0;;;41729:4;41753:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;41632:164::o;50982:135::-;44650:4;44248:16;;;:7;:16;;;;;;-1:-1:-1;;;;;44248:16:0;51056:53;;;;-1:-1:-1;;;51056:53:0;;7037:2:1;51056:53:0;;;7019:21:1;7076:2;7056:18;;;7049:30;-1:-1:-1;;;7095:18:1;;;7088:54;7159:18;;51056:53:0;6835:348:1;51056:53:0;50982:135;:::o;50261:174::-;50336:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;50336:29:0;-1:-1:-1;;;;;50336:29:0;;;;;;;;:24;;50390:23;50336:24;50390:14;:23::i;:::-;-1:-1:-1;;;;;50381:46:0;;;;;;;;;;;50261:174;;:::o;44880:264::-;44973:4;44990:13;45006:23;45021:7;45006:14;:23::i;:::-;44990:39;;45059:5;-1:-1:-1;;;;;45048:16:0;:7;-1:-1:-1;;;;;45048:16:0;;:52;;;;45068:32;45085:5;45092:7;45068:16;:32::i;:::-;45048:87;;;;45128:7;-1:-1:-1;;;;;45104:31:0;:20;45116:7;45104:11;:20::i;:::-;-1:-1:-1;;;;;45104:31:0;;45048:87;45040:96;44880:264;-1:-1:-1;;;;44880:264:0:o;48879:1263::-;49038:4;-1:-1:-1;;;;;49011:31:0;:23;49026:7;49011:14;:23::i;:::-;-1:-1:-1;;;;;49011:31:0;;49003:81;;;;-1:-1:-1;;;49003:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;49103:16:0;;49095:65;;;;-1:-1:-1;;;49095:65:0;;14015:2:1;49095:65:0;;;13997:21:1;14054:2;14034:18;;;14027:30;14093:34;14073:18;;;14066:62;-1:-1:-1;;;14144:18:1;;;14137:34;14188:19;;49095:65:0;13813:400:1;49095:65:0;49345:4;-1:-1:-1;;;;;49318:31:0;:23;49333:7;49318:14;:23::i;:::-;-1:-1:-1;;;;;49318:31:0;;49310:81;;;;-1:-1:-1;;;49310:81:0;;;;;;;:::i;:::-;49463:24;;;;:15;:24;;;;;;;;49456:31;;-1:-1:-1;;;;;;49456:31:0;;;;;;-1:-1:-1;;;;;49939:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;49939:20:0;;;49974:13;;;;;;;;;:18;;49456:31;49974:18;;;50014:16;;;:7;:16;;;;;;:21;;;;;;;;;;50053:27;;49479:7;;50053:27;;;40751:346;40681:416;;:::o;46478:942::-;-1:-1:-1;;;;;46558:16:0;;46550:61;;;;-1:-1:-1;;;46550:61:0;;14420:2:1;46550:61:0;;;14402:21:1;;;14439:18;;;14432:30;14498:34;14478:18;;;14471:62;14550:18;;46550:61:0;14218:356:1;46550:61:0;44650:4;44248:16;;;:7;:16;;;;;;-1:-1:-1;;;;;44248:16:0;44674:31;46622:58;;;;-1:-1:-1;;;46622:58:0;;14781:2:1;46622:58:0;;;14763:21:1;14820:2;14800:18;;;14793:30;14859;14839:18;;;14832:58;14907:18;;46622:58:0;14579:352:1;46622:58:0;44650:4;44248:16;;;:7;:16;;;;;;-1:-1:-1;;;;;44248:16:0;44674:31;46831:58;;;;-1:-1:-1;;;46831:58:0;;14781:2:1;46831:58:0;;;14763:21:1;14820:2;14800:18;;;14793:30;14859;14839:18;;;14832:58;14907:18;;46831:58:0;14579:352:1;46831:58:0;-1:-1:-1;;;;;47238:13:0;;;;;;:9;:13;;;;;;;;:18;;47255:1;47238:18;;;47280:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;47280:21:0;;;;;47319:33;47288:7;;47238:13;;47319:33;;47238:13;;47319:33;56314:46:::1;56229:139;56189:179::o:0;50578:315::-;50733:8;-1:-1:-1;;;;;50724:17:0;:5;-1:-1:-1;;;;;50724:17:0;;50716:55;;;;-1:-1:-1;;;50716:55:0;;15138:2:1;50716:55:0;;;15120:21:1;15177:2;15157:18;;;15150:30;15216:27;15196:18;;;15189:55;15261:18;;50716:55:0;14936:349:1;50716:55:0;-1:-1:-1;;;;;50782:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;50782:46:0;;;;;;;;;;50844:41;;540::1;;;50844::0;;513:18:1;50844:41:0;;;;;;;50578:315;;;:::o;43728:313::-;43884:28;43894:4;43900:2;43904:7;43884:9;:28::i;:::-;43931:47;43954:4;43960:2;43964:7;43973:4;43931:22;:47::i;:::-;43923:110;;;;-1:-1:-1;;;43923:110:0;;;;;;;:::i;16184:716::-;16240:13;16291:14;16308:17;16319:5;16308:10;:17::i;:::-;16328:1;16308:21;16291:38;;16344:20;16378:6;16367:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16367:18:0;-1:-1:-1;16344:41:0;-1:-1:-1;16509:28:0;;;16525:2;16509:28;16566:288;-1:-1:-1;;16598:5:0;-1:-1:-1;;;16735:2:0;16724:14;;16719:30;16598:5;16706:44;16796:2;16787:11;;;-1:-1:-1;16817:21:0;16566:288;16817:21;-1:-1:-1;16875:6:0;16184:716;-1:-1:-1;;;16184:716:0:o;59710:1790::-;59808:11;;59768:13;;59794:11;59834:8;;;59830:23;;-1:-1:-1;;59844:9:0;;;;;;;;;-1:-1:-1;59844:9:0;;;59710:1790;-1:-1:-1;59710:1790:0:o;59830:23::-;59905:18;59943:1;59932:7;:3;59938:1;59932:7;:::i;:::-;59931:13;;;;:::i;:::-;59926:19;;:1;:19;:::i;:::-;59905:40;-1:-1:-1;60003:19:0;60035:15;59905:40;60048:2;60035:15;:::i;:::-;60025:26;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60025:26:0;;60003:48;;60064:18;60085:5;;;;;;;;;;;;;;;;;60064:26;;60154:1;60147:5;60143:13;60199:2;60191:6;60187:15;60250:1;60218:960;60273:3;60270:1;60267:10;60218:960;;;60328:1;60371:12;;;;;60365:19;60466:4;60454:2;60450:14;;;;;60432:40;;60426:47;60618:2;60614:14;;;60610:25;;60596:40;;60590:47;60808:1;60804:13;;;60800:24;;60786:39;;60780:46;60989:16;;;;60975:31;;60969:38;60502:1;60498:11;;;60639:4;60586:58;;;60534:129;60688:11;;60776:57;;;60724:128;;;;60877:11;;60965:49;;60913:120;61062:3;61058:13;61091:22;;61161:1;61146:17;;;;60321:9;60218:960;;;60222:44;61210:1;61205:3;61201:11;61231:1;61226:84;;;;61329:1;61324:82;;;;61194:212;;61226:84;-1:-1:-1;;;;;61259:17:0;;61252:43;61226:84;;61324:82;-1:-1:-1;;;;;61357:17:0;;61350:41;61194:212;-1:-1:-1;;;61422:26:0;;;61429:6;59710:1790;-1:-1:-1;;;;59710:1790:0:o;51681:853::-;51835:4;-1:-1:-1;;;;;51856:13:0;;20499:19;:23;51852:675;;51892:71;;-1:-1:-1;;;51892:71:0;;-1:-1:-1;;;;;51892:36:0;;;;;:71;;18837:10;;51943:4;;51949:7;;51958:4;;51892:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51892:71:0;;;;;;;;-1:-1:-1;;51892:71:0;;;;;;;;;;;;:::i;:::-;;;51888:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52133:6;:13;52150:1;52133:18;52129:328;;52176:60;;-1:-1:-1;;;52176:60:0;;;;;;;:::i;52129:328::-;52407:6;52401:13;52392:6;52388:2;52384:15;52377:38;51888:584;-1:-1:-1;;;;;;52014:51:0;-1:-1:-1;;;52014:51:0;;-1:-1:-1;52007:58:0;;51852:675;-1:-1:-1;52511:4:0;51681:853;;;;;;:::o;13050:922::-;13103:7;;-1:-1:-1;;;13181:15:0;;13177:102;;-1:-1:-1;;;13217:15:0;;;-1:-1:-1;13261:2:0;13251:12;13177:102;13306:6;13297:5;:15;13293:102;;13342:6;13333:15;;;-1:-1:-1;13377:2:0;13367:12;13293:102;13422:6;13413:5;:15;13409:102;;13458:6;13449:15;;;-1:-1:-1;13493:2:0;13483:12;13409:102;13538:5;13529;:14;13525:99;;13573:5;13564:14;;;-1:-1:-1;13607:1:0;13597:11;13525:99;13651:5;13642;:14;13638:99;;13686:5;13677:14;;;-1:-1:-1;13720:1:0;13710:11;13638:99;13764:5;13755;:14;13751:99;;13799:5;13790:14;;;-1:-1:-1;13833:1:0;13823:11;13751:99;13877:5;13868;:14;13864:66;;13913:1;13903:11;13958:6;13050:922;-1:-1:-1;;13050:922:0:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;:::-;384:5;150:245;-1:-1:-1;;;150:245:1:o;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2178:186::-;2237:6;2290:2;2278:9;2269:7;2265:23;2261:32;2258:52;;;2306:1;2303;2296:12;2258:52;2329:29;2348:9;2329:29;:::i;2369:328::-;2446:6;2454;2462;2515:2;2503:9;2494:7;2490:23;2486:32;2483:52;;;2531:1;2528;2521:12;2483:52;2554:29;2573:9;2554:29;:::i;:::-;2544:39;;2602:38;2636:2;2625:9;2621:18;2602:38;:::i;:::-;2592:48;;2687:2;2676:9;2672:18;2659:32;2649:42;;2369:328;;;;;:::o;2884:118::-;2970:5;2963:13;2956:21;2949:5;2946:32;2936:60;;2992:1;2989;2982:12;3007:315;3072:6;3080;3133:2;3121:9;3112:7;3108:23;3104:32;3101:52;;;3149:1;3146;3139:12;3101:52;3172:29;3191:9;3172:29;:::i;:::-;3162:39;;3251:2;3240:9;3236:18;3223:32;3264:28;3286:5;3264:28;:::i;:::-;3311:5;3301:15;;;3007:315;;;;;:::o;3327:127::-;3388:10;3383:3;3379:20;3376:1;3369:31;3419:4;3416:1;3409:15;3443:4;3440:1;3433:15;3459:1138;3554:6;3562;3570;3578;3631:3;3619:9;3610:7;3606:23;3602:33;3599:53;;;3648:1;3645;3638:12;3599:53;3671:29;3690:9;3671:29;:::i;:::-;3661:39;;3719:38;3753:2;3742:9;3738:18;3719:38;:::i;:::-;3709:48;;3804:2;3793:9;3789:18;3776:32;3766:42;;3859:2;3848:9;3844:18;3831:32;3882:18;3923:2;3915:6;3912:14;3909:34;;;3939:1;3936;3929:12;3909:34;3977:6;3966:9;3962:22;3952:32;;4022:7;4015:4;4011:2;4007:13;4003:27;3993:55;;4044:1;4041;4034:12;3993:55;4080:2;4067:16;4102:2;4098;4095:10;4092:36;;;4108:18;;:::i;:::-;4183:2;4177:9;4151:2;4237:13;;-1:-1:-1;;4233:22:1;;;4257:2;4229:31;4225:40;4213:53;;;4281:18;;;4301:22;;;4278:46;4275:72;;;4327:18;;:::i;:::-;4367:10;4363:2;4356:22;4402:2;4394:6;4387:18;4442:7;4437:2;4432;4428;4424:11;4420:20;4417:33;4414:53;;;4463:1;4460;4453:12;4414:53;4519:2;4514;4510;4506:11;4501:2;4493:6;4489:15;4476:46;4564:1;4559:2;4554;4546:6;4542:15;4538:24;4531:35;4585:6;4575:16;;;;;;;3459:1138;;;;;;;:::o;4602:260::-;4670:6;4678;4731:2;4719:9;4710:7;4706:23;4702:32;4699:52;;;4747:1;4744;4737:12;4699:52;4770:29;4789:9;4770:29;:::i;:::-;4760:39;;4818:38;4852:2;4841:9;4837:18;4818:38;:::i;:::-;4808:48;;4602:260;;;;;:::o;4867:380::-;4946:1;4942:12;;;;4989;;;5010:61;;5064:4;5056:6;5052:17;5042:27;;5010:61;5117:2;5109:6;5106:14;5086:18;5083:38;5080:161;;5163:10;5158:3;5154:20;5151:1;5144:31;5198:4;5195:1;5188:15;5226:4;5223:1;5216:15;5080:161;;4867:380;;;:::o;6421:409::-;6623:2;6605:21;;;6662:2;6642:18;;;6635:30;6701:34;6696:2;6681:18;;6674:62;-1:-1:-1;;;6767:2:1;6752:18;;6745:43;6820:3;6805:19;;6421:409::o;7598:403::-;7800:2;7782:21;;;7839:2;7819:18;;;7812:30;7878:34;7873:2;7858:18;;7851:62;-1:-1:-1;;;7944:2:1;7929:18;;7922:37;7991:3;7976:19;;7598:403::o;8006:184::-;8076:6;8129:2;8117:9;8108:7;8104:23;8100:32;8097:52;;;8145:1;8142;8135:12;8097:52;-1:-1:-1;8168:16:1;;8006:184;-1:-1:-1;8006:184:1:o;8474:245::-;8541:6;8594:2;8582:9;8573:7;8569:23;8565:32;8562:52;;;8610:1;8607;8600:12;8562:52;8642:9;8636:16;8661:28;8683:5;8661:28;:::i;10502:127::-;10563:10;10558:3;10554:20;10551:1;10544:31;10594:4;10591:1;10584:15;10618:4;10615:1;10608:15;10634:135;10673:3;10694:17;;;10691:43;;10714:18;;:::i;:::-;-1:-1:-1;10761:1:1;10750:13;;10634:135::o;11038:217::-;11078:1;11104;11094:132;;11148:10;11143:3;11139:20;11136:1;11129:31;11183:4;11180:1;11173:15;11211:4;11208:1;11201:15;11094:132;-1:-1:-1;11240:9:1;;11038:217::o;11260:496::-;11439:3;11477:6;11471:13;11493:66;11552:6;11547:3;11540:4;11532:6;11528:17;11493:66;:::i;:::-;11622:13;;11581:16;;;;11644:70;11622:13;11581:16;11691:4;11679:17;;11644:70;:::i;:::-;11730:20;;11260:496;-1:-1:-1;;;;11260:496:1:o;11761:1175::-;-1:-1:-1;;;12261:55:1;;12339:13;;12243:3;;12361:75;12339:13;12424:2;12415:12;;12408:4;12396:17;;12361:75;:::i;:::-;12500:66;12495:2;12455:16;;;12487:11;;;12480:87;12596:66;12591:2;12583:11;;12576:87;-1:-1:-1;;;12687:2:1;12679:11;;12672:28;12725:13;;12747:76;12725:13;12809:2;12801:11;;12794:4;12782:17;;12747:76;:::i;:::-;-1:-1:-1;;;12883:2:1;12842:17;;;;12875:11;;;12868:35;12927:2;12919:11;;11761:1175;-1:-1:-1;;;;11761:1175:1:o;12941:461::-;13203:31;13198:3;13191:44;13173:3;13264:6;13258:13;13280:75;13348:6;13343:2;13338:3;13334:12;13327:4;13319:6;13315:17;13280:75;:::i;:::-;13375:16;;;;13393:2;13371:25;;12941:461;-1:-1:-1;;12941:461:1:o;13407:401::-;13609:2;13591:21;;;13648:2;13628:18;;;13621:30;13687:34;13682:2;13667:18;;13660:62;-1:-1:-1;;;13753:2:1;13738:18;;13731:35;13798:3;13783:19;;13407:401::o;15290:414::-;15492:2;15474:21;;;15531:2;15511:18;;;15504:30;15570:34;15565:2;15550:18;;15543:62;-1:-1:-1;;;15636:2:1;15621:18;;15614:48;15694:3;15679:19;;15290:414::o;15709:125::-;15774:9;;;15795:10;;;15792:36;;;15808:18;;:::i;15839:168::-;15912:9;;;15943;;15960:15;;;15954:22;;15940:37;15930:71;;15981:18;;:::i;16012:489::-;-1:-1:-1;;;;;16281:15:1;;;16263:34;;16333:15;;16328:2;16313:18;;16306:43;16380:2;16365:18;;16358:34;;;16428:3;16423:2;16408:18;;16401:31;;;16206:4;;16449:46;;16475:19;;16467:6;16449:46;:::i;:::-;16441:54;16012:489;-1:-1:-1;;;;;;16012:489:1:o;16506:249::-;16575:6;16628:2;16616:9;16607:7;16603:23;16599:32;16596:52;;;16644:1;16641;16634:12;16596:52;16676:9;16670:16;16695:30;16719:5;16695:30;:::i

Swarm Source

ipfs://793655512a76c0375c3cab16aa17ed219c32968262625e18307a23e1a90724a4
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.