ETH Price: $3,122.92 (-5.12%)

Token

Gen C (GC)
 

Overview

Max Total Supply

0 GC

Holders

122

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 GC
0xc938beedf4843126dfc5a7f6343ec1c8a1f47fd0
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:
Gencee

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-10-14
*/

// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.17;

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

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

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

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

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

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

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

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

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

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

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

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

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

        return (signer, RecoverError.NoError);
    }

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

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

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

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

// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

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

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

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

/// @notice Modern, minimalist, and gas efficient ERC-721 implementation.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC721.sol)
abstract contract ERC721 {
    /*//////////////////////////////////////////////////////////////
                                 EVENTS
    //////////////////////////////////////////////////////////////*/

    event Transfer(address indexed from, address indexed to, uint256 indexed id);

    event Approval(address indexed owner, address indexed spender, uint256 indexed id);

    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /*//////////////////////////////////////////////////////////////
                         METADATA STORAGE/LOGIC
    //////////////////////////////////////////////////////////////*/

    string public name;

    string public symbol;

    function tokenURI(uint256 id) public view virtual returns (string memory);

    /*//////////////////////////////////////////////////////////////
                      ERC721 BALANCE/OWNER STORAGE
    //////////////////////////////////////////////////////////////*/

    mapping(uint256 => address) internal _ownerOf;

    mapping(address => uint256) internal _balanceOf;

    function ownerOf(uint256 id) public view virtual returns (address owner) {
        require((owner = _ownerOf[id]) != address(0), "NOT_MINTED");
    }

    function balanceOf(address owner) public view virtual returns (uint256) {
        require(owner != address(0), "ZERO_ADDRESS");

        return _balanceOf[owner];
    }

    /*//////////////////////////////////////////////////////////////
                         ERC721 APPROVAL STORAGE
    //////////////////////////////////////////////////////////////*/

    mapping(uint256 => address) public getApproved;

    mapping(address => mapping(address => bool)) public isApprovedForAll;

    /*//////////////////////////////////////////////////////////////
                               CONSTRUCTOR
    //////////////////////////////////////////////////////////////*/

    constructor(string memory _name, string memory _symbol) {
        name = _name;
        symbol = _symbol;
    }

    /*//////////////////////////////////////////////////////////////
                              ERC721 LOGIC
    //////////////////////////////////////////////////////////////*/

    function approve(address spender, uint256 id) public virtual {
        address owner = _ownerOf[id];

        require(msg.sender == owner || isApprovedForAll[owner][msg.sender], "NOT_AUTHORIZED");

        getApproved[id] = spender;

        emit Approval(owner, spender, id);
    }

    function setApprovalForAll(address operator, bool approved) public virtual {
        isApprovedForAll[msg.sender][operator] = approved;

        emit ApprovalForAll(msg.sender, operator, approved);
    }

    function transferFrom(
        address from,
        address to,
        uint256 id
    ) public virtual {
        require(from == _ownerOf[id], "WRONG_FROM");

        require(to != address(0), "INVALID_RECIPIENT");

        require(
            msg.sender == from || isApprovedForAll[from][msg.sender] || msg.sender == getApproved[id],
            "NOT_AUTHORIZED"
        );

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        unchecked {
            _balanceOf[from]--;

            _balanceOf[to]++;
        }

        _ownerOf[id] = to;

        delete getApproved[id];

        emit Transfer(from, to, id);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 id
    ) public virtual {
        transferFrom(from, to, id);

        require(
            to.code.length == 0 ||
                ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, "") ==
                ERC721TokenReceiver.onERC721Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        bytes calldata data
    ) public virtual {
        transferFrom(from, to, id);

        require(
            to.code.length == 0 ||
                ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, data) ==
                ERC721TokenReceiver.onERC721Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    /*//////////////////////////////////////////////////////////////
                              ERC165 LOGIC
    //////////////////////////////////////////////////////////////*/

    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
        return
            interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165
            interfaceId == 0x80ac58cd || // ERC165 Interface ID for ERC721
            interfaceId == 0x5b5e139f; // ERC165 Interface ID for ERC721Metadata
    }

    /*//////////////////////////////////////////////////////////////
                        INTERNAL MINT/BURN LOGIC
    //////////////////////////////////////////////////////////////*/

    function _mint(address to, uint256 id) internal virtual {
        require(to != address(0), "INVALID_RECIPIENT");

        require(_ownerOf[id] == address(0), "ALREADY_MINTED");

        // Counter overflow is incredibly unrealistic.
        unchecked {
            _balanceOf[to]++;
        }

        _ownerOf[id] = to;

        emit Transfer(address(0), to, id);
    }

    function _burn(uint256 id) internal virtual {
        address owner = _ownerOf[id];

        require(owner != address(0), "NOT_MINTED");

        // Ownership check above ensures no underflow.
        unchecked {
            _balanceOf[owner]--;
        }

        delete _ownerOf[id];

        delete getApproved[id];

        emit Transfer(owner, address(0), id);
    }

    /*//////////////////////////////////////////////////////////////
                        INTERNAL SAFE MINT LOGIC
    //////////////////////////////////////////////////////////////*/

    function _safeMint(address to, uint256 id) internal virtual {
        _mint(to, id);

        require(
            to.code.length == 0 ||
                ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, "") ==
                ERC721TokenReceiver.onERC721Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    function _safeMint(
        address to,
        uint256 id,
        bytes memory data
    ) internal virtual {
        _mint(to, id);

        require(
            to.code.length == 0 ||
                ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, data) ==
                ERC721TokenReceiver.onERC721Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }
}

/// @notice A generic interface for a contract which properly accepts ERC721 tokens.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC721.sol)
abstract contract ERC721TokenReceiver {
    function onERC721Received(
        address,
        address,
        uint256,
        bytes calldata
    ) external virtual returns (bytes4) {
        return ERC721TokenReceiver.onERC721Received.selector;
    }
}

/// @notice Handle allowlists from https://wolla.io
abstract contract Wolla {
    /// @dev 0x0af806e0
    error InvalidHash();
    /// @dev 0x8baa579f
    error InvalidSignature();

    /// @dev https://wolla.io allowlist hash
    bytes32 internal immutable _wollaHash;
    /// @dev https://wolla.io signer
    address internal immutable _wollaSigner;

    constructor(bytes32 wollaHash, address wollaSigner) {
        _wollaHash = wollaHash;
        _wollaSigner = wollaSigner;
    }

    /// @notice Check if caller is in allowlist
    function checkIfInAllowlist(bytes32 hash, bytes calldata signature)
        internal
        view
    {
        // Check if hash is valid
        if (
            hash != keccak256(abi.encode(_wollaHash, msg.sender, address(this)))
        ) {
            revert InvalidHash();
        }

        // Check signer is valid
        if (
            _wollaSigner !=
            ECDSA.recover(ECDSA.toEthSignedMessageHash(hash), signature)
        ) {
            revert InvalidSignature();
        }
    }
}

/// @notice Gen C
/// @author Aleph Retamal (https://github.com/alephao)
contract Gencee is ERC721, Wolla, Ownable {
    using Strings for uint256;

    /// @dev 0xddefae28
    error AlreadyMinted();
    /// @dev 0x9e87fac8
    error Paused();
    /// @dev 0xb52aa4c0
    error QueryForNonExistentToken();
    /// @dev 0xf7760f25
    error WrongPrice();
    /// @dev 0x73c604b5
    error MoreThanMaxTokens();
    /// @dev 0x750b219c
    error WithdrawFailed();
    /// @dev 0xea8e4eb5
    error NotAuthorized();

    /// @dev Address of Oddworx Signer Authority
    address internal immutable _oddxSigner;

    address internal immutable _payoutAddress;

    uint256 internal immutable maxTokens;

    uint256 public unitPrice = 1 ether;
    uint256 public totalMinted = 0;

    /// @notice tokenURI concatenates this value with the tokenId
    string public baseURI;

    /// @notice a single variable that can pause any function in the contract
    ///         uint8 = 8 bits = 00000000
    ///         we'll use the 4 least significant bits to decide which functions are paused
    ///         0b1111
    ///           │││└── mintVIP - 0x1 == 0b1
    ///           ││└─── mintWithOddworxSignature - 0x2 == 0b10
    ///           │└──── mintAllowlist - 0x4 == 0b100
    ///           └───── mintWithEth - 0x8 == 0b1000
    ///         starts as 0xFF == 0b1111 == 15
    uint8 public paused = 0xF; // 0xF == 0b1111

    mapping(address => bool) public didMintVIP;
    mapping(address => uint8) public didMintAllowlist;
    mapping(uint256 => bool) public didMintODDX;

    mapping(address => bool) public controllers;

    constructor(
        address oddxSigner,
        bytes32 wollaHash,
        address wollaSigner,
        uint256 maxTokens_
    ) ERC721("Gen C", "GC") Wolla(wollaHash, wollaSigner) {
        _oddxSigner = oddxSigner;

        maxTokens = maxTokens_;
        _payoutAddress = 0x79A920F4F0d142264F147D5840248A8c0CA346D8;
    }

    modifier onlyControllers() {
        if (!controllers[msg.sender]) {
            revert NotAuthorized();
        }
        _;
    }

    // Owner Only
    function setController(address controller, bool canControl)
        external
        onlyOwner
    {
        controllers[controller] = canControl;
    }

    function setMintVIPPaused(bool pause) external onlyOwner {
        paused = pause
            ? paused | 0x1 // 0x1 == 0b0001
            : paused & 0xE; // 0xE == 0b1110
    }

    function setMintWithOddworxSignaturePaused(bool pause) external onlyOwner {
        paused = pause
            ? paused | 0x2 // 0x2 == 0b0010
            : paused & 0xD; // 0xD == 0b1101
    }

    function setMintAllowlistPaused(bool pause) external onlyOwner {
        paused = pause
            ? paused | 0x4 // 0x4 == 0b0100
            : paused & 0xB; // 0xB == 0b1011
    }

    function setMintWithEthPaused(bool pause) external onlyOwner {
        paused = pause
            ? paused | 0x8 // 0x8 == 0b1000
            : paused & 0x7; // 0x7 == 0b0111
    }

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

    function pauseAll() external onlyOwner {
        paused = 0xF;
    }

    function setUnitPrice(uint256 price) external onlyOwner {
        unitPrice = price;
    }

    function withdraw() external onlyOwner {
        uint256 contractBalance = address(this).balance;
        // slither-disable-next-line low-level-calls
        (bool payoutSent, ) = payable(_payoutAddress).call{ // solhint-disable-line avoid-low-level-calls
            value: contractBalance
        }("");
        if (!payoutSent) revert WithdrawFailed();
    }

    // Only Owner - Failsafes
    function ownerMint(address to, uint256 tokenId) external onlyOwner {
        _safeMint(to, tokenId);
        ++totalMinted;
    }

    function ownerBurn(uint256 tokenId) external onlyOwner {
        _burn(tokenId);
        --totalMinted;
    }

    // Only Controllers
    function controllerBurn(uint256 token) external onlyControllers {
        _burn(token);
        --totalMinted;
    }

    /// @notice Mint a token for free (one per address)
    ///         Using https://wolla.io for the allowlist system
    function mintVIP(bytes32 hash, bytes calldata signature) external {
        if (paused & 0x1 == 0x1) {
            revert Paused();
        }

        // Can only mint once per address
        if (didMintVIP[msg.sender]) {
            revert AlreadyMinted();
        }

        unchecked {
            // Check amount won't be more than max
            if (totalMinted + 1 > maxTokens) {
                revert MoreThanMaxTokens();
            }
        }

        checkIfInAllowlist(hash, signature);

        didMintVIP[msg.sender] = true;
        unchecked {
            _safeMint(msg.sender, ++totalMinted);
        }
    }

    /// @notice Mint any amount of token defined off-chain by the Oddworx Signer Authority.
    ///         Can only mint once per nonce with the amount pre-defined by the authority
    ///
    /// @dev    This is used to mint with off-chain ODDX, and prize winners
    function mintWithOddworxSignature(
        uint256 nonce,
        uint256 amount,
        bytes32 hash,
        bytes calldata signature
    ) external {
        if (paused & 0x2 == 0x2) {
            revert Paused();
        }

        // Can only mint once per nonce
        if (didMintODDX[nonce]) {
            revert AlreadyMinted();
        }

        uint256 _totalMinted = totalMinted;
        unchecked {
            // Check amount won't be more than max
            if (_totalMinted + amount >= maxTokens) {
                revert MoreThanMaxTokens();
            }
        }

        // Check if hash is valid
        if (
            hash !=
            keccak256(
                abi.encode(msg.sender, address(this), nonce, amount)
            )
        ) {
            revert InvalidHash();
        }

        // Check signer is valid
        if (
            _oddxSigner !=
            ECDSA.recover(ECDSA.toEthSignedMessageHash(hash), signature)
        ) {
            revert InvalidSignature();
        }

        didMintODDX[nonce] = true;
        uint256 baseIndex;
        unchecked {
            baseIndex = _totalMinted + 1;
            totalMinted += amount;
        }

        for (uint256 i = 0; i < amount; ) {
            unchecked {
                _safeMint(msg.sender, baseIndex + i);
                i++;
            }
        }
    }

    /// @notice Mint a token paying ETH if the caller is in the allow-list.
    ///         Using https://wolla.io for the allowlist system.
    /// @dev    We won't be removing addresses from the list, otherwise we would need
    ///         a nonce as part of the hash.
    function mintAllowlist(
        bytes32 hash,
        bytes calldata signature,
        uint8 amount
    ) external payable {
        if (paused & 0x4 == 0x4) {
            revert Paused();
        }

        uint256 _totalMinted = totalMinted;
        unchecked {
            // Check amount won't be more than max
            if (_totalMinted + amount >= maxTokens) {
                revert MoreThanMaxTokens();
            }

            // Check eth value is correct
            if (msg.value != unitPrice * amount) {
                revert WrongPrice();
            }

            // Can only mint 3 per address
            if (didMintAllowlist[msg.sender] + amount > 3) {
                revert AlreadyMinted();
            }

            didMintAllowlist[msg.sender] += amount;
        }

        checkIfInAllowlist(hash, signature);

        uint256 baseIndex;
        unchecked {
            baseIndex = _totalMinted + 1;
            totalMinted += amount;
        }

        for (uint256 i = 0; i < amount; ) {
            unchecked {
                _safeMint(msg.sender, baseIndex + i);
                i++;
            }
        }
    }

    /// @notice Mint a token paying ETH.
    function mintWithEth(uint256 amount) external payable {
        if (paused & 0x8 == 0x8) {
            revert Paused();
        }

        uint256 _totalMinted = totalMinted;
        unchecked {
            // Check amount won't be more than max
            if (_totalMinted + amount >= maxTokens) {
                revert MoreThanMaxTokens();
            }

            // Check eth value is correct
            if (msg.value != unitPrice * amount) {
                revert WrongPrice();
            }
        }

        uint256 baseIndex;
        unchecked {
            baseIndex = _totalMinted + 1;
            totalMinted += amount;
        }

        for (uint256 i = 0; i < amount; ) {
            unchecked {
                _safeMint(msg.sender, baseIndex + i);
                i++;
            }
        }
    }

    // ERC721 Overrides
    function tokenURI(uint256 id) public view override returns (string memory) {
        if (_ownerOf[id] == address(0)) revert QueryForNonExistentToken();
        return string(abi.encodePacked(baseURI, id.toString()));
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"oddxSigner","type":"address"},{"internalType":"bytes32","name":"wollaHash","type":"bytes32"},{"internalType":"address","name":"wollaSigner","type":"address"},{"internalType":"uint256","name":"maxTokens_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyMinted","type":"error"},{"inputs":[],"name":"InvalidHash","type":"error"},{"inputs":[],"name":"InvalidSignature","type":"error"},{"inputs":[],"name":"MoreThanMaxTokens","type":"error"},{"inputs":[],"name":"NotAuthorized","type":"error"},{"inputs":[],"name":"Paused","type":"error"},{"inputs":[],"name":"QueryForNonExistentToken","type":"error"},{"inputs":[],"name":"WithdrawFailed","type":"error"},{"inputs":[],"name":"WrongPrice","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"token","type":"uint256"}],"name":"controllerBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"controllers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"didMintAllowlist","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"didMintODDX","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"didMintVIP","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"hash","type":"bytes32"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint8","name":"amount","type":"uint8"}],"name":"mintAllowlist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"hash","type":"bytes32"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mintVIP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintWithEth","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32","name":"hash","type":"bytes32"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mintWithOddworxSignature","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","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":"id","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"controller","type":"address"},{"internalType":"bool","name":"canControl","type":"bool"}],"name":"setController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"pause","type":"bool"}],"name":"setMintAllowlistPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"pause","type":"bool"}],"name":"setMintVIPPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"pause","type":"bool"}],"name":"setMintWithEthPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"pause","type":"bool"}],"name":"setMintWithOddworxSignaturePaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setUnitPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unitPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

610120604052670de0b6b3a76400006007556000600855600a805460ff1916600f1790553480156200003057600080fd5b50604051620028c8380380620028c883398101604081905262000053916200016f565b82826040518060400160405280600581526020016447656e204360d81b81525060405180604001604052806002815260200161474360f01b81525081600090816200009f91906200025d565b506001620000ae82826200025d565b5050506080919091526001600160a01b031660a052620000ce3362000100565b6001600160a01b0390931660c0525050610100527379a920f4f0d142264f147d5840248a8c0ca346d860e05262000329565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80516001600160a01b03811681146200016a57600080fd5b919050565b600080600080608085870312156200018657600080fd5b620001918562000152565b935060208501519250620001a86040860162000152565b6060959095015193969295505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001e357607f821691505b6020821081036200020457634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200025857600081815260208120601f850160051c81016020861015620002335750805b601f850160051c820191505b8181101562000254578281556001016200023f565b5050505b505050565b81516001600160401b03811115620002795762000279620001b8565b62000291816200028a8454620001ce565b846200020a565b602080601f831160018114620002c95760008415620002b05750858301515b600019600386901b1c1916600185901b17855562000254565b600085815260208120601f198616915b82811015620002fa57888601518255948401946001909101908401620002d9565b5085821015620003195787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c05160e0516101005161254562000383600039600081816109c101528181610e4401528181611001015261135c01526000610cbd015260006110eb015260006118a9015260006117ed01526125456000f3fe60806040526004361061023b5760003560e01c806366d6cbdc1161012e578063b6549d70116100ab578063e0dba60f1161006f578063e0dba60f146106e4578063e70f22bd14610704578063e73faa2d14610724578063e985e9c51461073a578063f2fde38b1461077557600080fd5b8063b6549d7014610634578063b88d4fde14610654578063c87b56dd14610674578063da8c229e14610694578063dc1b7328146106c457600080fd5b806395d89b41116100f257806395d89b4114610599578063a22cb465146105ae578063a2309ff8146105ce578063a2ecc403146105e4578063a7cc0f7b1461060457600080fd5b806366d6cbdc146104f35780636c0360eb1461052357806370a0823114610538578063715018a6146105665780638da5cb5b1461057b57600080fd5b80633ccfd60b116101bc578063595c6a6711610180578063595c6a67146104425780635c975abb1461045757806361df6e891461048357806363191041146104a35780636352211e146104d357600080fd5b80633ccfd60b146103ba57806342842e0e146103cf57806344fa04f9146103ef578063484b973c1461040257806355f804b31461042257600080fd5b80630df10da9116102035780630df10da914610327578063213f67781461033a57806323b872dd1461035a57806326ff53141461037a5780633a4b36641461039a57600080fd5b806301ffc9a7146102405780630550cab71461027557806306fdde0314610297578063081812fc146102b9578063095ea7b314610307575b600080fd5b34801561024c57600080fd5b5061026061025b366004611e97565b610795565b60405190151581526020015b60405180910390f35b34801561028157600080fd5b50610295610290366004611ecb565b6107e7565b005b3480156102a357600080fd5b506102ac610820565b60405161026c9190611f0a565b3480156102c557600080fd5b506102ef6102d4366004611f3d565b6004602052600090815260409020546001600160a01b031681565b6040516001600160a01b03909116815260200161026c565b34801561031357600080fd5b50610295610322366004611f6d565b6108ae565b610295610335366004611f3d565b610995565b34801561034657600080fd5b50610295610355366004611ecb565b610a56565b34801561036657600080fd5b50610295610375366004611f97565b610a85565b34801561038657600080fd5b50610295610395366004611f3d565b610c4c565b3480156103a657600080fd5b506102956103b5366004611f3d565b610c9b565b3480156103c657600080fd5b50610295610ca3565b3480156103db57600080fd5b506102956103ea366004611f97565b610d43565b6102956103fd366004612015565b610e18565b34801561040e57600080fd5b5061029561041d366004611f6d565b610f50565b34801561042e57600080fd5b5061029561043d36600461207a565b610f79565b34801561044e57600080fd5b50610295610f8e565b34801561046357600080fd5b50600a546104719060ff1681565b60405160ff909116815260200161026c565b34801561048f57600080fd5b5061029561049e3660046120bc565b610fa5565b3480156104af57600080fd5b506104716104be36600461211d565b600c6020526000908152604090205460ff1681565b3480156104df57600080fd5b506102ef6104ee366004611f3d565b61117f565b3480156104ff57600080fd5b5061026061050e36600461211d565b600b6020526000908152604090205460ff1681565b34801561052f57600080fd5b506102ac6111d6565b34801561054457600080fd5b5061055861055336600461211d565b6111e3565b60405190815260200161026c565b34801561057257600080fd5b50610295611246565b34801561058757600080fd5b506006546001600160a01b03166102ef565b3480156105a557600080fd5b506102ac61125a565b3480156105ba57600080fd5b506102956105c9366004612138565b611267565b3480156105da57600080fd5b5061055860085481565b3480156105f057600080fd5b506102956105ff366004611ecb565b6112d3565b34801561061057600080fd5b5061026061061f366004611f3d565b600d6020526000908152604090205460ff1681565b34801561064057600080fd5b5061029561064f36600461216b565b611302565b34801561066057600080fd5b5061029561066f3660046121b7565b6113dd565b34801561068057600080fd5b506102ac61068f366004611f3d565b6114a2565b3480156106a057600080fd5b506102606106af36600461211d565b600e6020526000908152604090205460ff1681565b3480156106d057600080fd5b506102956106df366004611f3d565b61150c565b3480156106f057600080fd5b506102956106ff366004612138565b611519565b34801561071057600080fd5b5061029561071f366004611ecb565b61154c565b34801561073057600080fd5b5061055860075481565b34801561074657600080fd5b50610260610755366004612209565b600560209081526000928352604080842090915290825290205460ff1681565b34801561078157600080fd5b5061029561079036600461211d565b61157b565b60006301ffc9a760e01b6001600160e01b0319831614806107c657506380ac58cd60e01b6001600160e01b03198316145b806107e15750635b5e139f60e01b6001600160e01b03198316145b92915050565b6107ef6115f4565b806107ff57600a54600b16610809565b600a5460ff166004175b600a805460ff191660ff9290921691909117905550565b6000805461082d90612233565b80601f016020809104026020016040519081016040528092919081815260200182805461085990612233565b80156108a65780601f1061087b576101008083540402835291602001916108a6565b820191906000526020600020905b81548152906001019060200180831161088957829003601f168201915b505050505081565b6000818152600260205260409020546001600160a01b0316338114806108f757506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b6109395760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064015b60405180910390fd5b60008281526004602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600a54600890811690036109bc576040516313d0ff5960e31b815260040160405180910390fd5b6008547f000000000000000000000000000000000000000000000000000000000000000082820110610a01576040516373c604b560e01b815260040160405180910390fd5b81600754023414610a255760405163f7760f2560e01b815260040160405180910390fd5b60088054830190556001810160005b83811015610a5057610a483382840161164e565b600101610a34565b50505050565b610a5e6115f4565b80610a6e57600a54600e16610809565b50600a805460ff19811660ff909116176001179055565b6000818152600260205260409020546001600160a01b03848116911614610adb5760405162461bcd60e51b815260206004820152600a60248201526957524f4e475f46524f4d60b01b6044820152606401610930565b6001600160a01b038216610b255760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b6044820152606401610930565b336001600160a01b0384161480610b5f57506001600160a01b038316600090815260056020908152604080832033845290915290205460ff165b80610b8057506000818152600460205260409020546001600160a01b031633145b610bbd5760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b6044820152606401610930565b6001600160a01b0380841660008181526003602090815260408083208054600019019055938616808352848320805460010190558583526002825284832080546001600160a01b03199081168317909155600490925284832080549092169091559251849392917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b336000908152600e602052604090205460ff16610c7c5760405163ea8e4eb560e01b815260040160405180910390fd5b610c858161171a565b600860008154610c9490612283565b9091555050565b610c7c6115f4565b610cab6115f4565b60405147906000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169083908381818185875af1925050503d8060008114610d18576040519150601f19603f3d011682016040523d82523d6000602084013e610d1d565b606091505b5050905080610d3f57604051631d42c86760e21b815260040160405180910390fd5b5050565b610d4e838383610a85565b6001600160a01b0382163b1580610df75750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af1158015610dc7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610deb919061229a565b6001600160e01b031916145b610e135760405162461bcd60e51b8152600401610930906122b7565b505050565b600a5460049081169003610e3f576040516313d0ff5960e31b815260040160405180910390fd5b6008547f000000000000000000000000000000000000000000000000000000000000000060ff8316820110610e87576040516373c604b560e01b815260040160405180910390fd5b8160ff16600754023414610eae5760405163f7760f2560e01b815260040160405180910390fd5b336000908152600c6020526040902054600360ff91821684019091161115610ee957604051631bbdf5c560e31b815260040160405180910390fd5b336000908152600c60205260409020805460ff80821685011660ff19909116179055610f168585856117e7565b6008805460ff84160190556001810160005b8360ff16811015610f4757610f3f3382840161164e565b600101610f28565b50505050505050565b610f586115f4565b610f62828261164e565b600860008154610f71906122e1565b909155505050565b610f816115f4565b6009610e1382848361235e565b610f966115f4565b600a805460ff1916600f179055565b600a5460029081169003610fcc576040516313d0ff5960e31b815260040160405180910390fd5b6000858152600d602052604090205460ff1615610ffc57604051631bbdf5c560e31b815260040160405180910390fd5b6008547f000000000000000000000000000000000000000000000000000000000000000085820110611041576040516373c604b560e01b815260040160405180910390fd5b604080513360208201523091810191909152606081018790526080810186905260a001604051602081830303815290604052805190602001208414611098576040516257c03760e51b815260040160405180910390fd5b6110e06110a4856118ef565b84848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061194292505050565b6001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03161461113157604051638baa579f60e01b815260040160405180910390fd5b6000868152600d60205260408120805460ff1916600190811790915560088054880190558201905b868110156111755761116d3382840161164e565b600101611159565b5050505050505050565b6000818152600260205260409020546001600160a01b0316806111d15760405162461bcd60e51b815260206004820152600a6024820152691393d517d3525395115160b21b6044820152606401610930565b919050565b6009805461082d90612233565b60006001600160a01b03821661122a5760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b6044820152606401610930565b506001600160a01b031660009081526003602052604090205490565b61124e6115f4565b6112586000611966565b565b6001805461082d90612233565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6112db6115f4565b806112eb57600a54600716610809565b50600a805460ff19811660ff909116176008179055565b600a5460019081169003611329576040516313d0ff5960e31b815260040160405180910390fd5b336000908152600b602052604090205460ff161561135a57604051631bbdf5c560e31b815260040160405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000060085460010111156113a0576040516373c604b560e01b815260040160405180910390fd5b6113ab8383836117e7565b336000818152600b60205260409020805460ff191660019081179091556008805490910190819055610e13919061164e565b6113e8858585610a85565b6001600160a01b0384163b158061147f5750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a02906114309033908a9089908990899060040161241e565b6020604051808303816000875af115801561144f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611473919061229a565b6001600160e01b031916145b61149b5760405162461bcd60e51b8152600401610930906122b7565b5050505050565b6000818152600260205260409020546060906001600160a01b03166114da576040516302d4aa9360e61b815260040160405180910390fd5b60096114e5836119b8565b6040516020016114f6929190612472565b6040516020818303038152906040529050919050565b6115146115f4565b600755565b6115216115f4565b6001600160a01b03919091166000908152600e60205260409020805460ff1916911515919091179055565b6115546115f4565b8061156457600a54600d16610809565b50600a805460ff19811660ff909116176002179055565b6115836115f4565b6001600160a01b0381166115e85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610930565b6115f181611966565b50565b6006546001600160a01b031633146112585760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610930565b6116588282611a4b565b6001600160a01b0382163b15806116fe5750604051630a85bd0160e11b80825233600483015260006024830181905260448301849052608060648401526084830152906001600160a01b0384169063150b7a029060a4016020604051808303816000875af11580156116ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116f2919061229a565b6001600160e01b031916145b610d3f5760405162461bcd60e51b8152600401610930906122b7565b6000818152600260205260409020546001600160a01b03168061176c5760405162461bcd60e51b815260206004820152600a6024820152691393d517d3525395115160b21b6044820152606401610930565b6001600160a01b038116600081815260036020908152604080832080546000190190558583526002825280832080546001600160a01b031990811690915560049092528083208054909216909155518492907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b604080517f000000000000000000000000000000000000000000000000000000000000000060208201523391810191909152306060820152608001604051602081830303815290604052805190602001208314611856576040516257c03760e51b815260040160405180910390fd5b61189e611862846118ef565b83838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061194292505050565b6001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614610e1357604051638baa579f60e01b815260040160405180910390fd5b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b60008060006119518585611b56565b9150915061195e81611b9b565b509392505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b606060006119c583611ce5565b600101905060008167ffffffffffffffff8111156119e5576119e56122fa565b6040519080825280601f01601f191660200182016040528015611a0f576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611a1957509392505050565b6001600160a01b038216611a955760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b6044820152606401610930565b6000818152600260205260409020546001600160a01b031615611aeb5760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b6044820152606401610930565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000808251604103611b8c5760208301516040840151606085015160001a611b8087828585611dbd565b94509450505050611b94565b506000905060025b9250929050565b6000816004811115611baf57611baf6124f9565b03611bb75750565b6001816004811115611bcb57611bcb6124f9565b03611c185760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610930565b6002816004811115611c2c57611c2c6124f9565b03611c795760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610930565b6003816004811115611c8d57611c8d6124f9565b036115f15760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610930565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611d245772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611d50576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611d6e57662386f26fc10000830492506010015b6305f5e1008310611d86576305f5e100830492506008015b6127108310611d9a57612710830492506004015b60648310611dac576064830492506002015b600a83106107e15760010192915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611df45750600090506003611e78565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611e48573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611e7157600060019250925050611e78565b9150600090505b94509492505050565b6001600160e01b0319811681146115f157600080fd5b600060208284031215611ea957600080fd5b8135611eb481611e81565b9392505050565b803580151581146111d157600080fd5b600060208284031215611edd57600080fd5b611eb482611ebb565b60005b83811015611f01578181015183820152602001611ee9565b50506000910152565b6020815260008251806020840152611f29816040850160208701611ee6565b601f01601f19169190910160400192915050565b600060208284031215611f4f57600080fd5b5035919050565b80356001600160a01b03811681146111d157600080fd5b60008060408385031215611f8057600080fd5b611f8983611f56565b946020939093013593505050565b600080600060608486031215611fac57600080fd5b611fb584611f56565b9250611fc360208501611f56565b9150604084013590509250925092565b60008083601f840112611fe557600080fd5b50813567ffffffffffffffff811115611ffd57600080fd5b602083019150836020828501011115611b9457600080fd5b6000806000806060858703121561202b57600080fd5b84359350602085013567ffffffffffffffff81111561204957600080fd5b61205587828801611fd3565b909450925050604085013560ff8116811461206f57600080fd5b939692955090935050565b6000806020838503121561208d57600080fd5b823567ffffffffffffffff8111156120a457600080fd5b6120b085828601611fd3565b90969095509350505050565b6000806000806000608086880312156120d457600080fd5b853594506020860135935060408601359250606086013567ffffffffffffffff81111561210057600080fd5b61210c88828901611fd3565b969995985093965092949392505050565b60006020828403121561212f57600080fd5b611eb482611f56565b6000806040838503121561214b57600080fd5b61215483611f56565b915061216260208401611ebb565b90509250929050565b60008060006040848603121561218057600080fd5b83359250602084013567ffffffffffffffff81111561219e57600080fd5b6121aa86828701611fd3565b9497909650939450505050565b6000806000806000608086880312156121cf57600080fd5b6121d886611f56565b94506121e660208701611f56565b935060408601359250606086013567ffffffffffffffff81111561210057600080fd5b6000806040838503121561221c57600080fd5b61222583611f56565b915061216260208401611f56565b600181811c9082168061224757607f821691505b60208210810361226757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816122925761229261226d565b506000190190565b6000602082840312156122ac57600080fd5b8151611eb481611e81565b60208082526010908201526f155394d0519157d49150d2541251539560821b604082015260600190565b6000600182016122f3576122f361226d565b5060010190565b634e487b7160e01b600052604160045260246000fd5b601f821115610e1357600081815260208120601f850160051c810160208610156123375750805b601f850160051c820191505b8181101561235657828155600101612343565b505050505050565b67ffffffffffffffff831115612376576123766122fa565b61238a836123848354612233565b83612310565b6000601f8411600181146123be57600085156123a65750838201355b600019600387901b1c1916600186901b17835561149b565b600083815260209020601f19861690835b828110156123ef57868501358255602094850194600190920191016123cf565b508682101561240c5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290526000828460a0840137600060a0848401015260a0601f19601f85011683010190509695505050505050565b600080845461248081612233565b6001828116801561249857600181146124ad576124dc565b60ff19841687528215158302870194506124dc565b8860005260208060002060005b858110156124d35781548a8201529084019082016124ba565b50505082870194505b5050505083516124f0818360208801611ee6565b01949350505050565b634e487b7160e01b600052602160045260246000fdfea26469706673582212204d1406ecdcc82f91fd17058b13e0698a2a830265d1df2792efd0b403914b5cd064736f6c63430008110033000000000000000000000000c757a630f0387fdb47f80405e6e6767030736fa40eb7a095ac7851034cb5f17113039fa508337b9980fc51cfe81c27a15e6a61fa000000000000000000000000ec9d3401a1f11a4681d82e09b88238759f96817b0000000000000000000000000000000000000000000000000000000000000457

Deployed Bytecode

0x60806040526004361061023b5760003560e01c806366d6cbdc1161012e578063b6549d70116100ab578063e0dba60f1161006f578063e0dba60f146106e4578063e70f22bd14610704578063e73faa2d14610724578063e985e9c51461073a578063f2fde38b1461077557600080fd5b8063b6549d7014610634578063b88d4fde14610654578063c87b56dd14610674578063da8c229e14610694578063dc1b7328146106c457600080fd5b806395d89b41116100f257806395d89b4114610599578063a22cb465146105ae578063a2309ff8146105ce578063a2ecc403146105e4578063a7cc0f7b1461060457600080fd5b806366d6cbdc146104f35780636c0360eb1461052357806370a0823114610538578063715018a6146105665780638da5cb5b1461057b57600080fd5b80633ccfd60b116101bc578063595c6a6711610180578063595c6a67146104425780635c975abb1461045757806361df6e891461048357806363191041146104a35780636352211e146104d357600080fd5b80633ccfd60b146103ba57806342842e0e146103cf57806344fa04f9146103ef578063484b973c1461040257806355f804b31461042257600080fd5b80630df10da9116102035780630df10da914610327578063213f67781461033a57806323b872dd1461035a57806326ff53141461037a5780633a4b36641461039a57600080fd5b806301ffc9a7146102405780630550cab71461027557806306fdde0314610297578063081812fc146102b9578063095ea7b314610307575b600080fd5b34801561024c57600080fd5b5061026061025b366004611e97565b610795565b60405190151581526020015b60405180910390f35b34801561028157600080fd5b50610295610290366004611ecb565b6107e7565b005b3480156102a357600080fd5b506102ac610820565b60405161026c9190611f0a565b3480156102c557600080fd5b506102ef6102d4366004611f3d565b6004602052600090815260409020546001600160a01b031681565b6040516001600160a01b03909116815260200161026c565b34801561031357600080fd5b50610295610322366004611f6d565b6108ae565b610295610335366004611f3d565b610995565b34801561034657600080fd5b50610295610355366004611ecb565b610a56565b34801561036657600080fd5b50610295610375366004611f97565b610a85565b34801561038657600080fd5b50610295610395366004611f3d565b610c4c565b3480156103a657600080fd5b506102956103b5366004611f3d565b610c9b565b3480156103c657600080fd5b50610295610ca3565b3480156103db57600080fd5b506102956103ea366004611f97565b610d43565b6102956103fd366004612015565b610e18565b34801561040e57600080fd5b5061029561041d366004611f6d565b610f50565b34801561042e57600080fd5b5061029561043d36600461207a565b610f79565b34801561044e57600080fd5b50610295610f8e565b34801561046357600080fd5b50600a546104719060ff1681565b60405160ff909116815260200161026c565b34801561048f57600080fd5b5061029561049e3660046120bc565b610fa5565b3480156104af57600080fd5b506104716104be36600461211d565b600c6020526000908152604090205460ff1681565b3480156104df57600080fd5b506102ef6104ee366004611f3d565b61117f565b3480156104ff57600080fd5b5061026061050e36600461211d565b600b6020526000908152604090205460ff1681565b34801561052f57600080fd5b506102ac6111d6565b34801561054457600080fd5b5061055861055336600461211d565b6111e3565b60405190815260200161026c565b34801561057257600080fd5b50610295611246565b34801561058757600080fd5b506006546001600160a01b03166102ef565b3480156105a557600080fd5b506102ac61125a565b3480156105ba57600080fd5b506102956105c9366004612138565b611267565b3480156105da57600080fd5b5061055860085481565b3480156105f057600080fd5b506102956105ff366004611ecb565b6112d3565b34801561061057600080fd5b5061026061061f366004611f3d565b600d6020526000908152604090205460ff1681565b34801561064057600080fd5b5061029561064f36600461216b565b611302565b34801561066057600080fd5b5061029561066f3660046121b7565b6113dd565b34801561068057600080fd5b506102ac61068f366004611f3d565b6114a2565b3480156106a057600080fd5b506102606106af36600461211d565b600e6020526000908152604090205460ff1681565b3480156106d057600080fd5b506102956106df366004611f3d565b61150c565b3480156106f057600080fd5b506102956106ff366004612138565b611519565b34801561071057600080fd5b5061029561071f366004611ecb565b61154c565b34801561073057600080fd5b5061055860075481565b34801561074657600080fd5b50610260610755366004612209565b600560209081526000928352604080842090915290825290205460ff1681565b34801561078157600080fd5b5061029561079036600461211d565b61157b565b60006301ffc9a760e01b6001600160e01b0319831614806107c657506380ac58cd60e01b6001600160e01b03198316145b806107e15750635b5e139f60e01b6001600160e01b03198316145b92915050565b6107ef6115f4565b806107ff57600a54600b16610809565b600a5460ff166004175b600a805460ff191660ff9290921691909117905550565b6000805461082d90612233565b80601f016020809104026020016040519081016040528092919081815260200182805461085990612233565b80156108a65780601f1061087b576101008083540402835291602001916108a6565b820191906000526020600020905b81548152906001019060200180831161088957829003601f168201915b505050505081565b6000818152600260205260409020546001600160a01b0316338114806108f757506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b6109395760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064015b60405180910390fd5b60008281526004602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600a54600890811690036109bc576040516313d0ff5960e31b815260040160405180910390fd5b6008547f000000000000000000000000000000000000000000000000000000000000045782820110610a01576040516373c604b560e01b815260040160405180910390fd5b81600754023414610a255760405163f7760f2560e01b815260040160405180910390fd5b60088054830190556001810160005b83811015610a5057610a483382840161164e565b600101610a34565b50505050565b610a5e6115f4565b80610a6e57600a54600e16610809565b50600a805460ff19811660ff909116176001179055565b6000818152600260205260409020546001600160a01b03848116911614610adb5760405162461bcd60e51b815260206004820152600a60248201526957524f4e475f46524f4d60b01b6044820152606401610930565b6001600160a01b038216610b255760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b6044820152606401610930565b336001600160a01b0384161480610b5f57506001600160a01b038316600090815260056020908152604080832033845290915290205460ff165b80610b8057506000818152600460205260409020546001600160a01b031633145b610bbd5760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b6044820152606401610930565b6001600160a01b0380841660008181526003602090815260408083208054600019019055938616808352848320805460010190558583526002825284832080546001600160a01b03199081168317909155600490925284832080549092169091559251849392917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b336000908152600e602052604090205460ff16610c7c5760405163ea8e4eb560e01b815260040160405180910390fd5b610c858161171a565b600860008154610c9490612283565b9091555050565b610c7c6115f4565b610cab6115f4565b60405147906000906001600160a01b037f00000000000000000000000079a920f4f0d142264f147d5840248a8c0ca346d8169083908381818185875af1925050503d8060008114610d18576040519150601f19603f3d011682016040523d82523d6000602084013e610d1d565b606091505b5050905080610d3f57604051631d42c86760e21b815260040160405180910390fd5b5050565b610d4e838383610a85565b6001600160a01b0382163b1580610df75750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af1158015610dc7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610deb919061229a565b6001600160e01b031916145b610e135760405162461bcd60e51b8152600401610930906122b7565b505050565b600a5460049081169003610e3f576040516313d0ff5960e31b815260040160405180910390fd5b6008547f000000000000000000000000000000000000000000000000000000000000045760ff8316820110610e87576040516373c604b560e01b815260040160405180910390fd5b8160ff16600754023414610eae5760405163f7760f2560e01b815260040160405180910390fd5b336000908152600c6020526040902054600360ff91821684019091161115610ee957604051631bbdf5c560e31b815260040160405180910390fd5b336000908152600c60205260409020805460ff80821685011660ff19909116179055610f168585856117e7565b6008805460ff84160190556001810160005b8360ff16811015610f4757610f3f3382840161164e565b600101610f28565b50505050505050565b610f586115f4565b610f62828261164e565b600860008154610f71906122e1565b909155505050565b610f816115f4565b6009610e1382848361235e565b610f966115f4565b600a805460ff1916600f179055565b600a5460029081169003610fcc576040516313d0ff5960e31b815260040160405180910390fd5b6000858152600d602052604090205460ff1615610ffc57604051631bbdf5c560e31b815260040160405180910390fd5b6008547f000000000000000000000000000000000000000000000000000000000000045785820110611041576040516373c604b560e01b815260040160405180910390fd5b604080513360208201523091810191909152606081018790526080810186905260a001604051602081830303815290604052805190602001208414611098576040516257c03760e51b815260040160405180910390fd5b6110e06110a4856118ef565b84848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061194292505050565b6001600160a01b03167f000000000000000000000000c757a630f0387fdb47f80405e6e6767030736fa46001600160a01b03161461113157604051638baa579f60e01b815260040160405180910390fd5b6000868152600d60205260408120805460ff1916600190811790915560088054880190558201905b868110156111755761116d3382840161164e565b600101611159565b5050505050505050565b6000818152600260205260409020546001600160a01b0316806111d15760405162461bcd60e51b815260206004820152600a6024820152691393d517d3525395115160b21b6044820152606401610930565b919050565b6009805461082d90612233565b60006001600160a01b03821661122a5760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b6044820152606401610930565b506001600160a01b031660009081526003602052604090205490565b61124e6115f4565b6112586000611966565b565b6001805461082d90612233565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6112db6115f4565b806112eb57600a54600716610809565b50600a805460ff19811660ff909116176008179055565b600a5460019081169003611329576040516313d0ff5960e31b815260040160405180910390fd5b336000908152600b602052604090205460ff161561135a57604051631bbdf5c560e31b815260040160405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000045760085460010111156113a0576040516373c604b560e01b815260040160405180910390fd5b6113ab8383836117e7565b336000818152600b60205260409020805460ff191660019081179091556008805490910190819055610e13919061164e565b6113e8858585610a85565b6001600160a01b0384163b158061147f5750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a02906114309033908a9089908990899060040161241e565b6020604051808303816000875af115801561144f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611473919061229a565b6001600160e01b031916145b61149b5760405162461bcd60e51b8152600401610930906122b7565b5050505050565b6000818152600260205260409020546060906001600160a01b03166114da576040516302d4aa9360e61b815260040160405180910390fd5b60096114e5836119b8565b6040516020016114f6929190612472565b6040516020818303038152906040529050919050565b6115146115f4565b600755565b6115216115f4565b6001600160a01b03919091166000908152600e60205260409020805460ff1916911515919091179055565b6115546115f4565b8061156457600a54600d16610809565b50600a805460ff19811660ff909116176002179055565b6115836115f4565b6001600160a01b0381166115e85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610930565b6115f181611966565b50565b6006546001600160a01b031633146112585760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610930565b6116588282611a4b565b6001600160a01b0382163b15806116fe5750604051630a85bd0160e11b80825233600483015260006024830181905260448301849052608060648401526084830152906001600160a01b0384169063150b7a029060a4016020604051808303816000875af11580156116ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116f2919061229a565b6001600160e01b031916145b610d3f5760405162461bcd60e51b8152600401610930906122b7565b6000818152600260205260409020546001600160a01b03168061176c5760405162461bcd60e51b815260206004820152600a6024820152691393d517d3525395115160b21b6044820152606401610930565b6001600160a01b038116600081815260036020908152604080832080546000190190558583526002825280832080546001600160a01b031990811690915560049092528083208054909216909155518492907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b604080517f0eb7a095ac7851034cb5f17113039fa508337b9980fc51cfe81c27a15e6a61fa60208201523391810191909152306060820152608001604051602081830303815290604052805190602001208314611856576040516257c03760e51b815260040160405180910390fd5b61189e611862846118ef565b83838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061194292505050565b6001600160a01b03167f000000000000000000000000ec9d3401a1f11a4681d82e09b88238759f96817b6001600160a01b031614610e1357604051638baa579f60e01b815260040160405180910390fd5b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b60008060006119518585611b56565b9150915061195e81611b9b565b509392505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b606060006119c583611ce5565b600101905060008167ffffffffffffffff8111156119e5576119e56122fa565b6040519080825280601f01601f191660200182016040528015611a0f576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611a1957509392505050565b6001600160a01b038216611a955760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b6044820152606401610930565b6000818152600260205260409020546001600160a01b031615611aeb5760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b6044820152606401610930565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000808251604103611b8c5760208301516040840151606085015160001a611b8087828585611dbd565b94509450505050611b94565b506000905060025b9250929050565b6000816004811115611baf57611baf6124f9565b03611bb75750565b6001816004811115611bcb57611bcb6124f9565b03611c185760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610930565b6002816004811115611c2c57611c2c6124f9565b03611c795760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610930565b6003816004811115611c8d57611c8d6124f9565b036115f15760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610930565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611d245772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611d50576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611d6e57662386f26fc10000830492506010015b6305f5e1008310611d86576305f5e100830492506008015b6127108310611d9a57612710830492506004015b60648310611dac576064830492506002015b600a83106107e15760010192915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611df45750600090506003611e78565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611e48573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611e7157600060019250925050611e78565b9150600090505b94509492505050565b6001600160e01b0319811681146115f157600080fd5b600060208284031215611ea957600080fd5b8135611eb481611e81565b9392505050565b803580151581146111d157600080fd5b600060208284031215611edd57600080fd5b611eb482611ebb565b60005b83811015611f01578181015183820152602001611ee9565b50506000910152565b6020815260008251806020840152611f29816040850160208701611ee6565b601f01601f19169190910160400192915050565b600060208284031215611f4f57600080fd5b5035919050565b80356001600160a01b03811681146111d157600080fd5b60008060408385031215611f8057600080fd5b611f8983611f56565b946020939093013593505050565b600080600060608486031215611fac57600080fd5b611fb584611f56565b9250611fc360208501611f56565b9150604084013590509250925092565b60008083601f840112611fe557600080fd5b50813567ffffffffffffffff811115611ffd57600080fd5b602083019150836020828501011115611b9457600080fd5b6000806000806060858703121561202b57600080fd5b84359350602085013567ffffffffffffffff81111561204957600080fd5b61205587828801611fd3565b909450925050604085013560ff8116811461206f57600080fd5b939692955090935050565b6000806020838503121561208d57600080fd5b823567ffffffffffffffff8111156120a457600080fd5b6120b085828601611fd3565b90969095509350505050565b6000806000806000608086880312156120d457600080fd5b853594506020860135935060408601359250606086013567ffffffffffffffff81111561210057600080fd5b61210c88828901611fd3565b969995985093965092949392505050565b60006020828403121561212f57600080fd5b611eb482611f56565b6000806040838503121561214b57600080fd5b61215483611f56565b915061216260208401611ebb565b90509250929050565b60008060006040848603121561218057600080fd5b83359250602084013567ffffffffffffffff81111561219e57600080fd5b6121aa86828701611fd3565b9497909650939450505050565b6000806000806000608086880312156121cf57600080fd5b6121d886611f56565b94506121e660208701611f56565b935060408601359250606086013567ffffffffffffffff81111561210057600080fd5b6000806040838503121561221c57600080fd5b61222583611f56565b915061216260208401611f56565b600181811c9082168061224757607f821691505b60208210810361226757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816122925761229261226d565b506000190190565b6000602082840312156122ac57600080fd5b8151611eb481611e81565b60208082526010908201526f155394d0519157d49150d2541251539560821b604082015260600190565b6000600182016122f3576122f361226d565b5060010190565b634e487b7160e01b600052604160045260246000fd5b601f821115610e1357600081815260208120601f850160051c810160208610156123375750805b601f850160051c820191505b8181101561235657828155600101612343565b505050505050565b67ffffffffffffffff831115612376576123766122fa565b61238a836123848354612233565b83612310565b6000601f8411600181146123be57600085156123a65750838201355b600019600387901b1c1916600186901b17835561149b565b600083815260209020601f19861690835b828110156123ef57868501358255602094850194600190920191016123cf565b508682101561240c5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290526000828460a0840137600060a0848401015260a0601f19601f85011683010190509695505050505050565b600080845461248081612233565b6001828116801561249857600181146124ad576124dc565b60ff19841687528215158302870194506124dc565b8860005260208060002060005b858110156124d35781548a8201529084019082016124ba565b50505082870194505b5050505083516124f0818360208801611ee6565b01949350505050565b634e487b7160e01b600052602160045260246000fdfea26469706673582212204d1406ecdcc82f91fd17058b13e0698a2a830265d1df2792efd0b403914b5cd064736f6c63430008110033

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

000000000000000000000000c757a630f0387fdb47f80405e6e6767030736fa40eb7a095ac7851034cb5f17113039fa508337b9980fc51cfe81c27a15e6a61fa000000000000000000000000ec9d3401a1f11a4681d82e09b88238759f96817b0000000000000000000000000000000000000000000000000000000000000457

-----Decoded View---------------
Arg [0] : oddxSigner (address): 0xc757a630F0387FDb47f80405E6e6767030736fA4
Arg [1] : wollaHash (bytes32): 0x0eb7a095ac7851034cb5f17113039fa508337b9980fc51cfe81c27a15e6a61fa
Arg [2] : wollaSigner (address): 0xEc9D3401a1F11A4681d82e09B88238759f96817B
Arg [3] : maxTokens_ (uint256): 1111

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000c757a630f0387fdb47f80405e6e6767030736fa4
Arg [1] : 0eb7a095ac7851034cb5f17113039fa508337b9980fc51cfe81c27a15e6a61fa
Arg [2] : 000000000000000000000000ec9d3401a1f11a4681d82e09b88238759f96817b
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000457


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.