ETH Price: $3,510.29 (+4.56%)
Gas: 4 Gwei

Token

CLC Golden Ticket (CLCGT)
 

Overview

Max Total Supply

1,000 CLCGT

Holders

8

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
3 CLCGT
0x17cfdcbd847904f3d73cdbd74d39a8bbbfb173ef
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:
CLCGT

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

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


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

pragma solidity ^0.8.0;

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

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

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

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

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

// File: https://github.com/1001-digital/erc721-extensions/blob/main/contracts/WithLimitedSupply.sol


pragma solidity ^0.8.0;


/// @author 1001.digital
/// @title A token tracker that limits the token supply and increments token IDs on each new mint.
abstract contract WithLimitedSupply {
    using Counters for Counters.Counter;

    /// @dev Emitted when the supply of this collection changes
    event SupplyChanged(uint256 indexed supply);

    // Keeps track of how many we have minted
    Counters.Counter private _tokenCount;

    /// @dev The maximum count of tokens this token tracker will hold.
    uint256 private _totalSupply;

    /// Instanciate the contract
    /// @param totalSupply_ how many tokens this collection should hold
    constructor (uint256 totalSupply_) {
        _totalSupply = totalSupply_;
    }

    /// @dev Get the max Supply
    /// @return the maximum token count
    function totalSupply() public view virtual returns (uint256) {
        return _totalSupply;
    }

    /// @dev Get the current token count
    /// @return the created token count
    function tokenCount() public view returns (uint256) {
        return _tokenCount.current();
    }

    /// @dev Check whether tokens are still available
    /// @return the available token count
    function availableTokenCount() public view returns (uint256) {
        return totalSupply() - tokenCount();
    }

    /// @dev Increment the token count and fetch the latest count
    /// @return the next token id
    function nextToken() internal virtual returns (uint256) {
        uint256 token = _tokenCount.current();

        _tokenCount.increment();

        return token;
    }

    /// @dev Check whether another token is still available
    modifier ensureAvailability() {
        require(availableTokenCount() > 0, "No more tokens available");
        _;
    }

    /// @param amount Check whether number of tokens are still available
    /// @dev Check whether tokens are still available
    modifier ensureAvailabilityFor(uint256 amount) {
        require(availableTokenCount() >= amount, "Requested number of tokens not available");
        _;
    }

    /// Update the supply for the collection
    /// @param _supply the new token supply.
    /// @dev create additional token supply for this collection.
    function _setSupply(uint256 _supply) internal virtual {
        require(_supply > tokenCount(), "Can't set the supply to less than the current token count");
        _totalSupply = _supply;

        emit SupplyChanged(totalSupply());
    }
}

// File: https://github.com/1001-digital/erc721-extensions/blob/main/contracts/RandomlyAssigned.sol


pragma solidity ^0.8.0;


/// @author 1001.digital
/// @title Randomly assign tokenIDs from a given set of tokens.
abstract contract RandomlyAssigned is WithLimitedSupply {
    // Used for random index assignment
    mapping(uint256 => uint256) private tokenMatrix;

    // The initial token ID
    uint256 private startFrom;

    /// Instanciate the contract
    /// @param _totalSupply how many tokens this collection should hold
    /// @param _startFrom the tokenID with which to start counting
    constructor (uint256 _totalSupply, uint256 _startFrom)
        WithLimitedSupply(_totalSupply)
    {
        startFrom = _startFrom;
    }

    /// Get the next token ID
    /// @dev Randomly gets a new token ID and keeps track of the ones that are still available.
    /// @return the next token ID
    function nextToken() internal override ensureAvailability returns (uint256) {
        uint256 maxIndex = totalSupply() - tokenCount();
        uint256 random = uint256(keccak256(
            abi.encodePacked(
                msg.sender,
                block.coinbase,
                block.difficulty,
                block.gaslimit,
                block.timestamp
            )
        )) % maxIndex;

        uint256 value = 0;
        if (tokenMatrix[random] == 0) {
            // If this matrix position is empty, set the value to the generated random number.
            value = random;
        } else {
            // Otherwise, use the previously stored number from the matrix.
            value = tokenMatrix[random];
        }

        // If the last available tokenID is still unused...
        if (tokenMatrix[maxIndex - 1] == 0) {
            // ...store that ID in the current matrix position.
            tokenMatrix[random] = maxIndex - 1;
        } else {
            // ...otherwise copy over the stored number to the current matrix position.
            tokenMatrix[random] = tokenMatrix[maxIndex - 1];
        }

        // Increment counts
        super.nextToken();

        return value + startFrom;
    }
}

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/math/SignedMath.sol


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

pragma solidity ^0.8.0;

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

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

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

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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/math/Math.sol


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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Strings.sol


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

pragma solidity ^0.8.0;



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

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

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toString(int256 value) internal pure returns (string memory) {
        return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value))));
    }

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

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

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

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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Context.sol


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

pragma solidity ^0.8.0;

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

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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions 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);
    }
}

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Address.sol


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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/IERC721Receiver.sol


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

pragma solidity ^0.8.0;

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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/introspection/IERC165.sol


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

pragma solidity ^0.8.0;

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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/introspection/ERC165.sol


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

pragma solidity ^0.8.0;


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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/IERC721.sol


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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

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

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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/extensions/IERC721Metadata.sol


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

pragma solidity ^0.8.0;


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

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

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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/ERC721.sol


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

pragma solidity ^0.8.0;








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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

        _owners[tokenId] = to;

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

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

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

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

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

        // Clear approvals
        delete _tokenApprovals[tokenId];

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId, 1);

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

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

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

        emit Transfer(from, to, tokenId);

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

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

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

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

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

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

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

// File: contracts/CLCGT.sol

pragma solidity ^0.8.0;
//SPDX-License-Identifier: MIT





// Crypto Lottery Club Golden Ticket ERC721 
// Calling mint mints a random  CLC Golden Ticket until 1,000 have been minted
// Mint costs 0.06 Ether 
// 20 Kept for artist, developer & giveaways


// Crypto Lottery Club Golden Ticket


contract CLCGT is ERC721, Ownable, RandomlyAssigned {
  using Strings for uint256;
  // uint256 public requested;
  uint256 public currentSupply = 0;
  uint256 public cost = 0.06 ether;
  uint256 public maxSupply = 1000;
  uint256 public maxMintAmount = 20;
  bool public paused = false;
  string public baseURI = "IPFS://QmZifgwatzQ7Cgu6tks3QysJhp997igy9Y5TbdzWiLY1Lk/";


  constructor( 
    string memory _name,
    string memory _symbol  
 )  ERC721(_name, _symbol)
    RandomlyAssigned(1000,1) // Max. 1000 NFTs available; Start counting from 1 (instead of 0)
    {
       for (uint256 a = 1; a <= 20; a++) {
            mint();
        }
    }


  // internal
  function _baseURI() internal view virtual override returns (string memory) {
    return baseURI;
  }


  // public    
  function mint ()
      public
      payable
  {
      require( tokenCount() + 1 <= totalSupply(), "YOU CAN'T MINT MORE THAN MAXIMUM SUPPLY");
      require( availableTokenCount() - 1 >= 0, "YOU CAN'T MINT MORE THAN AVALABLE TOKEN COUNT"); 
      require( tx.origin == msg.sender, "CANNOT MINT THROUGH A CUSTOM CONTRACT");
      require( !paused);


      if (msg.sender != owner()) {  
        require( msg.value >= 0.06 ether);
      }
      
      uint256 id = nextToken();
        _safeMint(msg.sender, id);
        currentSupply++;
  }


  function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
    require(
      _exists(tokenId),
      "ERC721Metadata: URI query for nonexistant token"
    );


    string memory currentBaseURI = _baseURI();
    return bytes(currentBaseURI).length > 0
        ? string(abi.encodePacked(currentBaseURI, tokenId.toString(), ".json"))
        : "";
  }
  
    //only owner
  function setCost(uint256 _newCost) public onlyOwner {
    cost = _newCost;
  }


  function setmaxMintAmount(uint256 _newmaxMintAmount) public onlyOwner {
    maxMintAmount = _newmaxMintAmount;
  }


  function setBaseURI(string memory _newBaseURI) public onlyOwner {
    baseURI = _newBaseURI;
  }


  function pause(bool _state) public onlyOwner {
    paused = _state;
  }
 
  function withdraw() public payable onlyOwner {
    (bool os, ) = payable(owner()).call{value: address(this).balance}("");
    require(os);
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"supply","type":"uint256"}],"name":"SupplyChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"availableTokenCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setmaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

6000600b5566d529ae9e860000600c556103e8600d556014600e55600f805460ff1916905560e0604052603660808181529062002c4660a03980516200004e91601091602090910190620009a8565b503480156200005c57600080fd5b5060405162002c7c38038062002c7c8339810160408190526200007f9162000b12565b6103e8600181848481600090805190602001906200009f929190620009a8565b508051620000b5906001906020840190620009a8565b505050620000d2620000cc6200010d60201b60201c565b62000111565b600855600a555060015b601481116200010457620000ef62000163565b80620000fb8162000c73565b915050620000dc565b50505062000ce0565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600854620001706200032d565b6200017d90600162000bd2565b1115620001e15760405162461bcd60e51b815260206004820152602760248201527f594f552043414e2754204d494e54204d4f5245205448414e204d4158494d554d60448201526620535550504c5960c81b60648201526084015b60405180910390fd5b60006001620001ef6200034b565b620001fb919062000bed565b1015620002615760405162461bcd60e51b815260206004820152602d60248201527f594f552043414e2754204d494e54204d4f5245205448414e204156414c41424c60448201526c11481513d2d1538810d3d55395609a1b6064820152608401620001d8565b323314620002c05760405162461bcd60e51b815260206004820152602560248201527f43414e4e4f54204d494e54205448524f554748204120435553544f4d20434f4e60448201526415149050d560da1b6064820152608401620001d8565b600f5460ff1615620002d157600080fd5b6006546001600160a01b03163314620002f95766d529ae9e860000341015620002f957600080fd5b60006200030562000366565b90506200031333826200051c565b600b8054906000620003258362000c73565b919050555050565b60006200034660076200054260201b62000dc61760201c565b905090565b6000620003576200032d565b60085462000346919062000bed565b600080620003736200034b565b11620003c25760405162461bcd60e51b815260206004820152601860248201527f4e6f206d6f726520746f6b656e7320617661696c61626c6500000000000000006044820152606401620001d8565b6000620003ce6200032d565b600854620003dd919062000bed565b6040516001600160601b031933606090811b8216602084015241901b166034820152446048820152456068820152426088820152909150600090829060a8016040516020818303038152906040528051906020012060001c62000441919062000c91565b600081815260096020526040812054919250906200046157508062000472565b506000818152600960205260409020545b600960006200048360018662000bed565b81526020019081526020016000205460001415620004bd57620004a860018462000bed565b600083815260096020526040902055620004ef565b60096000620004ce60018662000bed565b81526020808201929092526040908101600090812054858252600990935220555b620005046200054660201b62000dca1760201c565b50600a5462000514908262000bd2565b935050505090565b6200053e8282604051806020016040528060008152506200057e60201b60201c565b5050565b5490565b6000806200056060076200054260201b62000dc61760201c565b9050620005796007620005f660201b62000deb1760201c565b919050565b6200058a8383620005ff565b620005996000848484620007a0565b620005f15760405162461bcd60e51b8152602060048201526032602482015260008051602062002c2683398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401620001d8565b505050565b80546001019055565b6001600160a01b038216620006575760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401620001d8565b6000818152600260205260409020546001600160a01b031615620006be5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401620001d8565b620006ce60008383600162000909565b6000818152600260205260409020546001600160a01b031615620007355760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401620001d8565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000620007c1846001600160a01b03166200099960201b62000df41760201c565b15620008fd57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290620007fb90339089908890889060040162000b7c565b602060405180830381600087803b1580156200081657600080fd5b505af192505050801562000849575060408051601f3d908101601f19168201909252620008469181019062000adf565b60015b620008e2573d8080156200087a576040519150601f19603f3d011682016040523d82523d6000602084013e6200087f565b606091505b508051620008da5760405162461bcd60e51b8152602060048201526032602482015260008051602062002c2683398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401620001d8565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905062000901565b5060015b949350505050565b600181111562000993576001600160a01b0384161562000953576001600160a01b038416600090815260036020526040812080548392906200094d90849062000bed565b90915550505b6001600160a01b0383161562000993576001600160a01b038316600090815260036020526040812080548392906200098d90849062000bd2565b90915550505b50505050565b6001600160a01b03163b151590565b828054620009b69062000c36565b90600052602060002090601f016020900481019282620009da576000855562000a25565b82601f10620009f557805160ff191683800117855562000a25565b8280016001018555821562000a25579182015b8281111562000a2557825182559160200191906001019062000a08565b5062000a3392915062000a37565b5090565b5b8082111562000a33576000815560010162000a38565b600082601f83011262000a6057600080fd5b81516001600160401b038082111562000a7d5762000a7d62000cca565b604051601f8301601f19908116603f0116810190828211818310171562000aa85762000aa862000cca565b8160405283815286602085880101111562000ac257600080fd5b62000ad584602083016020890162000c07565b9695505050505050565b60006020828403121562000af257600080fd5b81516001600160e01b03198116811462000b0b57600080fd5b9392505050565b6000806040838503121562000b2657600080fd5b82516001600160401b038082111562000b3e57600080fd5b62000b4c8683870162000a4e565b9350602085015191508082111562000b6357600080fd5b5062000b728582860162000a4e565b9150509250929050565b600060018060a01b03808716835280861660208401525083604083015260806060830152825180608084015262000bbb8160a085016020870162000c07565b601f01601f19169190910160a00195945050505050565b6000821982111562000be85762000be862000cb4565b500190565b60008282101562000c025762000c0262000cb4565b500390565b60005b8381101562000c2457818101518382015260200162000c0a565b83811115620009935750506000910152565b600181811c9082168062000c4b57607f821691505b6020821081141562000c6d57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141562000c8a5762000c8a62000cb4565b5060010190565b60008262000caf57634e487b7160e01b600052601260045260246000fd5b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b611f368062000cf06000396000f3fe6080604052600436106101d85760003560e01c80636352211e116101025780639f181b5e11610095578063d5abeb0111610064578063d5abeb01146104ef578063e14ca35314610505578063e985e9c51461051a578063f2fde38b1461056357600080fd5b80639f181b5e1461047a578063a22cb4651461048f578063b88d4fde146104af578063c87b56dd146104cf57600080fd5b8063771282f6116100d1578063771282f6146104115780637f00c7a6146104275780638da5cb5b1461044757806395d89b411461046557600080fd5b80636352211e146103a75780636c0360eb146103c757806370a08231146103dc578063715018a6146103fc57600080fd5b806318160ddd1161017a57806342842e0e1161014957806342842e0e1461032d57806344a0d68a1461034d57806355f804b31461036d5780635c975abb1461038d57600080fd5b806318160ddd146102da578063239c70ae146102ef57806323b872dd146103055780633ccfd60b1461032557600080fd5b8063081812fc116101b6578063081812fc14610256578063095ea7b31461028e5780631249c58b146102ae57806313faede6146102b657600080fd5b806301ffc9a7146101dd57806302329a291461021257806306fdde0314610234575b600080fd5b3480156101e957600080fd5b506101fd6101f8366004611bb0565b610583565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b5061023261022d366004611b95565b6105d5565b005b34801561024057600080fd5b506102496105f0565b6040516102099190611cf4565b34801561026257600080fd5b50610276610271366004611c33565b610682565b6040516001600160a01b039091168152602001610209565b34801561029a57600080fd5b506102326102a9366004611b6b565b6106a9565b6102326107c4565b3480156102c257600080fd5b506102cc600c5481565b604051908152602001610209565b3480156102e657600080fd5b506008546102cc565b3480156102fb57600080fd5b506102cc600e5481565b34801561031157600080fd5b50610232610320366004611a89565b610973565b6102326109a4565b34801561033957600080fd5b50610232610348366004611a89565b610a20565b34801561035957600080fd5b50610232610368366004611c33565b610a3b565b34801561037957600080fd5b50610232610388366004611bea565b610a48565b34801561039957600080fd5b50600f546101fd9060ff1681565b3480156103b357600080fd5b506102766103c2366004611c33565b610a67565b3480156103d357600080fd5b50610249610ac7565b3480156103e857600080fd5b506102cc6103f7366004611a3b565b610b55565b34801561040857600080fd5b50610232610bdb565b34801561041d57600080fd5b506102cc600b5481565b34801561043357600080fd5b50610232610442366004611c33565b610bef565b34801561045357600080fd5b506006546001600160a01b0316610276565b34801561047157600080fd5b50610249610bfc565b34801561048657600080fd5b506102cc610c0b565b34801561049b57600080fd5b506102326104aa366004611b41565b610c1b565b3480156104bb57600080fd5b506102326104ca366004611ac5565b610c26565b3480156104db57600080fd5b506102496104ea366004611c33565b610c5e565b3480156104fb57600080fd5b506102cc600d5481565b34801561051157600080fd5b506102cc610d39565b34801561052657600080fd5b506101fd610535366004611a56565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561056f57600080fd5b5061023261057e366004611a3b565b610d50565b60006001600160e01b031982166380ac58cd60e01b14806105b457506001600160e01b03198216635b5e139f60e01b145b806105cf57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6105dd610e03565b600f805460ff1916911515919091179055565b6060600080546105ff90611e46565b80601f016020809104026020016040519081016040528092919081815260200182805461062b90611e46565b80156106785780601f1061064d57610100808354040283529160200191610678565b820191906000526020600020905b81548152906001019060200180831161065b57829003601f168201915b5050505050905090565b600061068d82610e5d565b506000908152600460205260409020546001600160a01b031690565b60006106b482610a67565b9050806001600160a01b0316836001600160a01b031614156107275760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061074357506107438133610535565b6107b55760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000606482015260840161071e565b6107bf8383610ebc565b505050565b6008546107cf610c0b565b6107da906001611deb565b11156108385760405162461bcd60e51b815260206004820152602760248201527f594f552043414e2754204d494e54204d4f5245205448414e204d4158494d554d60448201526620535550504c5960c81b606482015260840161071e565b60006001610844610d39565b61084e9190611e03565b10156108b25760405162461bcd60e51b815260206004820152602d60248201527f594f552043414e2754204d494e54204d4f5245205448414e204156414c41424c60448201526c11481513d2d1538810d3d55395609a1b606482015260840161071e565b32331461090f5760405162461bcd60e51b815260206004820152602560248201527f43414e4e4f54204d494e54205448524f554748204120435553544f4d20434f4e60448201526415149050d560da1b606482015260840161071e565b600f5460ff161561091f57600080fd5b6006546001600160a01b031633146109455766d529ae9e86000034101561094557600080fd5b600061094f610f2a565b905061095b33826110c2565b600b805490600061096b83611e81565b919050555050565b61097d33826110dc565b6109995760405162461bcd60e51b815260040161071e90611d07565b6107bf83838361115b565b6109ac610e03565b60006109c06006546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610a0a576040519150601f19603f3d011682016040523d82523d6000602084013e610a0f565b606091505b5050905080610a1d57600080fd5b50565b6107bf83838360405180602001604052806000815250610c26565b610a43610e03565b600c55565b610a50610e03565b8051610a63906010906020840190611905565b5050565b6000818152600260205260408120546001600160a01b0316806105cf5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161071e565b60108054610ad490611e46565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0090611e46565b8015610b4d5780601f10610b2257610100808354040283529160200191610b4d565b820191906000526020600020905b815481529060010190602001808311610b3057829003601f168201915b505050505081565b60006001600160a01b038216610bbf5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b606482015260840161071e565b506001600160a01b031660009081526003602052604090205490565b610be3610e03565b610bed60006112cc565b565b610bf7610e03565b600e55565b6060600180546105ff90611e46565b6000610c1660075490565b905090565b610a6333838361131e565b610c3033836110dc565b610c4c5760405162461bcd60e51b815260040161071e90611d07565b610c58848484846113ed565b50505050565b6000818152600260205260409020546060906001600160a01b0316610cdd5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba30b73a103a37b5b2b760891b606482015260840161071e565b6000610ce7611420565b90506000815111610d075760405180602001604052806000815250610d32565b80610d118461142f565b604051602001610d22929190611c78565b6040516020818303038152906040525b9392505050565b6000610d43610c0b565b600854610c169190611e03565b610d58610e03565b6001600160a01b038116610dbd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161071e565b610a1d816112cc565b5490565b600080610dd660075490565b9050610de6600780546001019055565b919050565b80546001019055565b6001600160a01b03163b151590565b6006546001600160a01b03163314610bed5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161071e565b6000818152600260205260409020546001600160a01b0316610a1d5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161071e565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610ef182610a67565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610f35610d39565b11610f825760405162461bcd60e51b815260206004820152601860248201527f4e6f206d6f726520746f6b656e7320617661696c61626c650000000000000000604482015260640161071e565b6000610f8c610c0b565b600854610f999190611e03565b6040516bffffffffffffffffffffffff1933606090811b8216602084015241901b166034820152446048820152456068820152426088820152909150600090829060a8016040516020818303038152906040528051906020012060001c6110009190611e9c565b6000818152600960205260408120549192509061101e57508061102f565b506000818152600960205260409020545b6009600061103e600186611e03565b8152602001908152602001600020546000141561107457611060600184611e03565b6000838152600960205260409020556110a4565b60096000611083600186611e03565b81526020808201929092526040908101600090812054858252600990935220555b6110ac610dca565b50600a546110ba9082611deb565b935050505090565b610a638282604051806020016040528060008152506114cc565b6000806110e883610a67565b9050806001600160a01b0316846001600160a01b0316148061112f57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806111535750836001600160a01b031661114884610682565b6001600160a01b0316145b949350505050565b826001600160a01b031661116e82610a67565b6001600160a01b0316146111945760405162461bcd60e51b815260040161071e90611da6565b6001600160a01b0382166111f65760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161071e565b61120383838360016114ff565b826001600160a01b031661121682610a67565b6001600160a01b03161461123c5760405162461bcd60e51b815260040161071e90611da6565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156113805760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161071e565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6113f884848461115b565b61140484848484611587565b610c585760405162461bcd60e51b815260040161071e90611d54565b6060601080546105ff90611e46565b6060600061143c83611694565b600101905060008167ffffffffffffffff81111561145c5761145c611ed4565b6040519080825280601f01601f191660200182016040528015611486576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846114bf576114c4565b611490565b509392505050565b6114d6838361176c565b6114e36000848484611587565b6107bf5760405162461bcd60e51b815260040161071e90611d54565b6001811115610c58576001600160a01b03841615611545576001600160a01b0384166000908152600360205260408120805483929061153f908490611e03565b90915550505b6001600160a01b03831615610c58576001600160a01b0383166000908152600360205260408120805483929061157c908490611deb565b909155505050505050565b60006001600160a01b0384163b1561168957604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906115cb903390899088908890600401611cb7565b602060405180830381600087803b1580156115e557600080fd5b505af1925050508015611615575060408051601f3d908101601f1916820190925261161291810190611bcd565b60015b61166f573d808015611643576040519150601f19603f3d011682016040523d82523d6000602084013e611648565b606091505b5080516116675760405162461bcd60e51b815260040161071e90611d54565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611153565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106116d35772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106116ff576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061171d57662386f26fc10000830492506010015b6305f5e1008310611735576305f5e100830492506008015b612710831061174957612710830492506004015b6064831061175b576064830492506002015b600a83106105cf5760010192915050565b6001600160a01b0382166117c25760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161071e565b6000818152600260205260409020546001600160a01b0316156118275760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161071e565b6118356000838360016114ff565b6000818152600260205260409020546001600160a01b03161561189a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161071e565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461191190611e46565b90600052602060002090601f0160209004810192826119335760008555611979565b82601f1061194c57805160ff1916838001178555611979565b82800160010185558215611979579182015b8281111561197957825182559160200191906001019061195e565b50611985929150611989565b5090565b5b80821115611985576000815560010161198a565b600067ffffffffffffffff808411156119b9576119b9611ed4565b604051601f8501601f19908116603f011681019082821181831017156119e1576119e1611ed4565b816040528093508581528686860111156119fa57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114610de657600080fd5b80358015158114610de657600080fd5b600060208284031215611a4d57600080fd5b610d3282611a14565b60008060408385031215611a6957600080fd5b611a7283611a14565b9150611a8060208401611a14565b90509250929050565b600080600060608486031215611a9e57600080fd5b611aa784611a14565b9250611ab560208501611a14565b9150604084013590509250925092565b60008060008060808587031215611adb57600080fd5b611ae485611a14565b9350611af260208601611a14565b925060408501359150606085013567ffffffffffffffff811115611b1557600080fd5b8501601f81018713611b2657600080fd5b611b358782356020840161199e565b91505092959194509250565b60008060408385031215611b5457600080fd5b611b5d83611a14565b9150611a8060208401611a2b565b60008060408385031215611b7e57600080fd5b611b8783611a14565b946020939093013593505050565b600060208284031215611ba757600080fd5b610d3282611a2b565b600060208284031215611bc257600080fd5b8135610d3281611eea565b600060208284031215611bdf57600080fd5b8151610d3281611eea565b600060208284031215611bfc57600080fd5b813567ffffffffffffffff811115611c1357600080fd5b8201601f81018413611c2457600080fd5b6111538482356020840161199e565b600060208284031215611c4557600080fd5b5035919050565b60008151808452611c64816020860160208601611e1a565b601f01601f19169290920160200192915050565b60008351611c8a818460208801611e1a565b835190830190611c9e818360208801611e1a565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611cea90830184611c4c565b9695505050505050565b602081526000610d326020830184611c4c565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60008219821115611dfe57611dfe611ebe565b500190565b600082821015611e1557611e15611ebe565b500390565b60005b83811015611e35578181015183820152602001611e1d565b83811115610c585750506000910152565b600181811c90821680611e5a57607f821691505b60208210811415611e7b57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611e9557611e95611ebe565b5060010190565b600082611eb957634e487b7160e01b600052601260045260246000fd5b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610a1d57600080fdfea2646970667358221220dfac672ff0e8de62adb98685a3aabf8e577262a08d46c9c76d2bb7ce301ce8aa64736f6c634300080700334552433732313a207472616e7366657220746f206e6f6e204552433732315265495046533a2f2f516d5a6966677761747a513743677536746b73335179734a68703939376967793959355462647a57694c59314c6b2f000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000011434c4320476f6c64656e205469636b65740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005434c434754000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101d85760003560e01c80636352211e116101025780639f181b5e11610095578063d5abeb0111610064578063d5abeb01146104ef578063e14ca35314610505578063e985e9c51461051a578063f2fde38b1461056357600080fd5b80639f181b5e1461047a578063a22cb4651461048f578063b88d4fde146104af578063c87b56dd146104cf57600080fd5b8063771282f6116100d1578063771282f6146104115780637f00c7a6146104275780638da5cb5b1461044757806395d89b411461046557600080fd5b80636352211e146103a75780636c0360eb146103c757806370a08231146103dc578063715018a6146103fc57600080fd5b806318160ddd1161017a57806342842e0e1161014957806342842e0e1461032d57806344a0d68a1461034d57806355f804b31461036d5780635c975abb1461038d57600080fd5b806318160ddd146102da578063239c70ae146102ef57806323b872dd146103055780633ccfd60b1461032557600080fd5b8063081812fc116101b6578063081812fc14610256578063095ea7b31461028e5780631249c58b146102ae57806313faede6146102b657600080fd5b806301ffc9a7146101dd57806302329a291461021257806306fdde0314610234575b600080fd5b3480156101e957600080fd5b506101fd6101f8366004611bb0565b610583565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b5061023261022d366004611b95565b6105d5565b005b34801561024057600080fd5b506102496105f0565b6040516102099190611cf4565b34801561026257600080fd5b50610276610271366004611c33565b610682565b6040516001600160a01b039091168152602001610209565b34801561029a57600080fd5b506102326102a9366004611b6b565b6106a9565b6102326107c4565b3480156102c257600080fd5b506102cc600c5481565b604051908152602001610209565b3480156102e657600080fd5b506008546102cc565b3480156102fb57600080fd5b506102cc600e5481565b34801561031157600080fd5b50610232610320366004611a89565b610973565b6102326109a4565b34801561033957600080fd5b50610232610348366004611a89565b610a20565b34801561035957600080fd5b50610232610368366004611c33565b610a3b565b34801561037957600080fd5b50610232610388366004611bea565b610a48565b34801561039957600080fd5b50600f546101fd9060ff1681565b3480156103b357600080fd5b506102766103c2366004611c33565b610a67565b3480156103d357600080fd5b50610249610ac7565b3480156103e857600080fd5b506102cc6103f7366004611a3b565b610b55565b34801561040857600080fd5b50610232610bdb565b34801561041d57600080fd5b506102cc600b5481565b34801561043357600080fd5b50610232610442366004611c33565b610bef565b34801561045357600080fd5b506006546001600160a01b0316610276565b34801561047157600080fd5b50610249610bfc565b34801561048657600080fd5b506102cc610c0b565b34801561049b57600080fd5b506102326104aa366004611b41565b610c1b565b3480156104bb57600080fd5b506102326104ca366004611ac5565b610c26565b3480156104db57600080fd5b506102496104ea366004611c33565b610c5e565b3480156104fb57600080fd5b506102cc600d5481565b34801561051157600080fd5b506102cc610d39565b34801561052657600080fd5b506101fd610535366004611a56565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561056f57600080fd5b5061023261057e366004611a3b565b610d50565b60006001600160e01b031982166380ac58cd60e01b14806105b457506001600160e01b03198216635b5e139f60e01b145b806105cf57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6105dd610e03565b600f805460ff1916911515919091179055565b6060600080546105ff90611e46565b80601f016020809104026020016040519081016040528092919081815260200182805461062b90611e46565b80156106785780601f1061064d57610100808354040283529160200191610678565b820191906000526020600020905b81548152906001019060200180831161065b57829003601f168201915b5050505050905090565b600061068d82610e5d565b506000908152600460205260409020546001600160a01b031690565b60006106b482610a67565b9050806001600160a01b0316836001600160a01b031614156107275760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061074357506107438133610535565b6107b55760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000606482015260840161071e565b6107bf8383610ebc565b505050565b6008546107cf610c0b565b6107da906001611deb565b11156108385760405162461bcd60e51b815260206004820152602760248201527f594f552043414e2754204d494e54204d4f5245205448414e204d4158494d554d60448201526620535550504c5960c81b606482015260840161071e565b60006001610844610d39565b61084e9190611e03565b10156108b25760405162461bcd60e51b815260206004820152602d60248201527f594f552043414e2754204d494e54204d4f5245205448414e204156414c41424c60448201526c11481513d2d1538810d3d55395609a1b606482015260840161071e565b32331461090f5760405162461bcd60e51b815260206004820152602560248201527f43414e4e4f54204d494e54205448524f554748204120435553544f4d20434f4e60448201526415149050d560da1b606482015260840161071e565b600f5460ff161561091f57600080fd5b6006546001600160a01b031633146109455766d529ae9e86000034101561094557600080fd5b600061094f610f2a565b905061095b33826110c2565b600b805490600061096b83611e81565b919050555050565b61097d33826110dc565b6109995760405162461bcd60e51b815260040161071e90611d07565b6107bf83838361115b565b6109ac610e03565b60006109c06006546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610a0a576040519150601f19603f3d011682016040523d82523d6000602084013e610a0f565b606091505b5050905080610a1d57600080fd5b50565b6107bf83838360405180602001604052806000815250610c26565b610a43610e03565b600c55565b610a50610e03565b8051610a63906010906020840190611905565b5050565b6000818152600260205260408120546001600160a01b0316806105cf5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161071e565b60108054610ad490611e46565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0090611e46565b8015610b4d5780601f10610b2257610100808354040283529160200191610b4d565b820191906000526020600020905b815481529060010190602001808311610b3057829003601f168201915b505050505081565b60006001600160a01b038216610bbf5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b606482015260840161071e565b506001600160a01b031660009081526003602052604090205490565b610be3610e03565b610bed60006112cc565b565b610bf7610e03565b600e55565b6060600180546105ff90611e46565b6000610c1660075490565b905090565b610a6333838361131e565b610c3033836110dc565b610c4c5760405162461bcd60e51b815260040161071e90611d07565b610c58848484846113ed565b50505050565b6000818152600260205260409020546060906001600160a01b0316610cdd5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba30b73a103a37b5b2b760891b606482015260840161071e565b6000610ce7611420565b90506000815111610d075760405180602001604052806000815250610d32565b80610d118461142f565b604051602001610d22929190611c78565b6040516020818303038152906040525b9392505050565b6000610d43610c0b565b600854610c169190611e03565b610d58610e03565b6001600160a01b038116610dbd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161071e565b610a1d816112cc565b5490565b600080610dd660075490565b9050610de6600780546001019055565b919050565b80546001019055565b6001600160a01b03163b151590565b6006546001600160a01b03163314610bed5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161071e565b6000818152600260205260409020546001600160a01b0316610a1d5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161071e565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610ef182610a67565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610f35610d39565b11610f825760405162461bcd60e51b815260206004820152601860248201527f4e6f206d6f726520746f6b656e7320617661696c61626c650000000000000000604482015260640161071e565b6000610f8c610c0b565b600854610f999190611e03565b6040516bffffffffffffffffffffffff1933606090811b8216602084015241901b166034820152446048820152456068820152426088820152909150600090829060a8016040516020818303038152906040528051906020012060001c6110009190611e9c565b6000818152600960205260408120549192509061101e57508061102f565b506000818152600960205260409020545b6009600061103e600186611e03565b8152602001908152602001600020546000141561107457611060600184611e03565b6000838152600960205260409020556110a4565b60096000611083600186611e03565b81526020808201929092526040908101600090812054858252600990935220555b6110ac610dca565b50600a546110ba9082611deb565b935050505090565b610a638282604051806020016040528060008152506114cc565b6000806110e883610a67565b9050806001600160a01b0316846001600160a01b0316148061112f57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806111535750836001600160a01b031661114884610682565b6001600160a01b0316145b949350505050565b826001600160a01b031661116e82610a67565b6001600160a01b0316146111945760405162461bcd60e51b815260040161071e90611da6565b6001600160a01b0382166111f65760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161071e565b61120383838360016114ff565b826001600160a01b031661121682610a67565b6001600160a01b03161461123c5760405162461bcd60e51b815260040161071e90611da6565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156113805760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161071e565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6113f884848461115b565b61140484848484611587565b610c585760405162461bcd60e51b815260040161071e90611d54565b6060601080546105ff90611e46565b6060600061143c83611694565b600101905060008167ffffffffffffffff81111561145c5761145c611ed4565b6040519080825280601f01601f191660200182016040528015611486576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846114bf576114c4565b611490565b509392505050565b6114d6838361176c565b6114e36000848484611587565b6107bf5760405162461bcd60e51b815260040161071e90611d54565b6001811115610c58576001600160a01b03841615611545576001600160a01b0384166000908152600360205260408120805483929061153f908490611e03565b90915550505b6001600160a01b03831615610c58576001600160a01b0383166000908152600360205260408120805483929061157c908490611deb565b909155505050505050565b60006001600160a01b0384163b1561168957604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906115cb903390899088908890600401611cb7565b602060405180830381600087803b1580156115e557600080fd5b505af1925050508015611615575060408051601f3d908101601f1916820190925261161291810190611bcd565b60015b61166f573d808015611643576040519150601f19603f3d011682016040523d82523d6000602084013e611648565b606091505b5080516116675760405162461bcd60e51b815260040161071e90611d54565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611153565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106116d35772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106116ff576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061171d57662386f26fc10000830492506010015b6305f5e1008310611735576305f5e100830492506008015b612710831061174957612710830492506004015b6064831061175b576064830492506002015b600a83106105cf5760010192915050565b6001600160a01b0382166117c25760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161071e565b6000818152600260205260409020546001600160a01b0316156118275760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161071e565b6118356000838360016114ff565b6000818152600260205260409020546001600160a01b03161561189a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161071e565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461191190611e46565b90600052602060002090601f0160209004810192826119335760008555611979565b82601f1061194c57805160ff1916838001178555611979565b82800160010185558215611979579182015b8281111561197957825182559160200191906001019061195e565b50611985929150611989565b5090565b5b80821115611985576000815560010161198a565b600067ffffffffffffffff808411156119b9576119b9611ed4565b604051601f8501601f19908116603f011681019082821181831017156119e1576119e1611ed4565b816040528093508581528686860111156119fa57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114610de657600080fd5b80358015158114610de657600080fd5b600060208284031215611a4d57600080fd5b610d3282611a14565b60008060408385031215611a6957600080fd5b611a7283611a14565b9150611a8060208401611a14565b90509250929050565b600080600060608486031215611a9e57600080fd5b611aa784611a14565b9250611ab560208501611a14565b9150604084013590509250925092565b60008060008060808587031215611adb57600080fd5b611ae485611a14565b9350611af260208601611a14565b925060408501359150606085013567ffffffffffffffff811115611b1557600080fd5b8501601f81018713611b2657600080fd5b611b358782356020840161199e565b91505092959194509250565b60008060408385031215611b5457600080fd5b611b5d83611a14565b9150611a8060208401611a2b565b60008060408385031215611b7e57600080fd5b611b8783611a14565b946020939093013593505050565b600060208284031215611ba757600080fd5b610d3282611a2b565b600060208284031215611bc257600080fd5b8135610d3281611eea565b600060208284031215611bdf57600080fd5b8151610d3281611eea565b600060208284031215611bfc57600080fd5b813567ffffffffffffffff811115611c1357600080fd5b8201601f81018413611c2457600080fd5b6111538482356020840161199e565b600060208284031215611c4557600080fd5b5035919050565b60008151808452611c64816020860160208601611e1a565b601f01601f19169290920160200192915050565b60008351611c8a818460208801611e1a565b835190830190611c9e818360208801611e1a565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611cea90830184611c4c565b9695505050505050565b602081526000610d326020830184611c4c565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60008219821115611dfe57611dfe611ebe565b500190565b600082821015611e1557611e15611ebe565b500390565b60005b83811015611e35578181015183820152602001611e1d565b83811115610c585750506000910152565b600181811c90821680611e5a57607f821691505b60208210811415611e7b57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611e9557611e95611ebe565b5060010190565b600082611eb957634e487b7160e01b600052601260045260246000fd5b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610a1d57600080fdfea2646970667358221220dfac672ff0e8de62adb98685a3aabf8e577262a08d46c9c76d2bb7ce301ce8aa64736f6c63430008070033

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

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000011434c4320476f6c64656e205469636b65740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005434c434754000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): CLC Golden Ticket
Arg [1] : _symbol (string): CLCGT

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000011
Arg [3] : 434c4320476f6c64656e205469636b6574000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [5] : 434c434754000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

63295:2346:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47410:305;;;;;;;;;;-1:-1:-1;47410:305:0;;;;;:::i;:::-;;:::i;:::-;;;6831:14:1;;6824:22;6806:41;;6794:2;6779:18;47410:305:0;;;;;;;;65413:73;;;;;;;;;;-1:-1:-1;65413:73:0;;;;;:::i;:::-;;:::i;:::-;;48338:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;49850:171::-;;;;;;;;;;-1:-1:-1;49850:171:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6129:32:1;;;6111:51;;6099:2;6084:18;49850:171:0;5965:203:1;49368:416:0;;;;;;;;;;-1:-1:-1;49368:416:0;;;;;:::i;:::-;;:::i;64114:556::-;;;:::i;63451:32::-;;;;;;;;;;;;;;;;;;;14304:25:1;;;14292:2;14277:18;63451:32:0;14158:177:1;2401:99:0;;;;;;;;;;-1:-1:-1;2480:12:0;;2401:99;;63524:33;;;;;;;;;;;;;;;;50550:301;;;;;;;;;;-1:-1:-1;50550:301:0;;;;;:::i;:::-;;:::i;65493:145::-;;;:::i;50922:151::-;;;;;;;;;;-1:-1:-1;50922:151:0;;;;;:::i;:::-;;:::i;65095:80::-;;;;;;;;;;-1:-1:-1;65095:80:0;;;;;:::i;:::-;;:::i;65307:98::-;;;;;;;;;;-1:-1:-1;65307:98:0;;;;;:::i;:::-;;:::i;63562:26::-;;;;;;;;;;-1:-1:-1;63562:26:0;;;;;;;;48048:223;;;;;;;;;;-1:-1:-1;48048:223:0;;;;;:::i;:::-;;:::i;63593:80::-;;;;;;;;;;;;;:::i;47779:207::-;;;;;;;;;;-1:-1:-1;47779:207:0;;;;;:::i;:::-;;:::i;26376:103::-;;;;;;;;;;;;;:::i;63414:32::-;;;;;;;;;;;;;;;;65183:116;;;;;;;;;;-1:-1:-1;65183:116:0;;;;;:::i;:::-;;:::i;25728:87::-;;;;;;;;;;-1:-1:-1;25801:6:0;;-1:-1:-1;;;;;25801:6:0;25728:87;;48507:104;;;;;;;;;;;;;:::i;2591:99::-;;;;;;;;;;;;;:::i;50093:155::-;;;;;;;;;;-1:-1:-1;50093:155:0;;;;;:::i;:::-;;:::i;51144:279::-;;;;;;;;;;-1:-1:-1;51144:279:0;;;;;:::i;:::-;;:::i;64678:391::-;;;;;;;;;;-1:-1:-1;64678:391:0;;;;;:::i;:::-;;:::i;63488:31::-;;;;;;;;;;;;;;;;2796:115;;;;;;;;;;;;;:::i;50319:164::-;;;;;;;;;;-1:-1:-1;50319:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;50440:25:0;;;50416:4;50440:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;50319:164;26634:201;;;;;;;;;;-1:-1:-1;26634:201:0;;;;;:::i;:::-;;:::i;47410:305::-;47512:4;-1:-1:-1;;;;;;47549:40:0;;-1:-1:-1;;;47549:40:0;;:105;;-1:-1:-1;;;;;;;47606:48:0;;-1:-1:-1;;;47606:48:0;47549:105;:158;;;-1:-1:-1;;;;;;;;;;39984:40:0;;;47671:36;47529:178;47410:305;-1:-1:-1;;47410:305:0:o;65413:73::-;25614:13;:11;:13::i;:::-;65465:6:::1;:15:::0;;-1:-1:-1;;65465:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;65413:73::o;48338:100::-;48392:13;48425:5;48418:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48338:100;:::o;49850:171::-;49926:7;49946:23;49961:7;49946:14;:23::i;:::-;-1:-1:-1;49989:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;49989:24:0;;49850:171::o;49368:416::-;49449:13;49465:23;49480:7;49465:14;:23::i;:::-;49449:39;;49513:5;-1:-1:-1;;;;;49507:11:0;:2;-1:-1:-1;;;;;49507:11:0;;;49499:57;;;;-1:-1:-1;;;49499:57:0;;13528:2:1;49499:57:0;;;13510:21:1;13567:2;13547:18;;;13540:30;13606:34;13586:18;;;13579:62;-1:-1:-1;;;13657:18:1;;;13650:31;13698:19;;49499:57:0;;;;;;;;;24306:10;-1:-1:-1;;;;;49591:21:0;;;;:62;;-1:-1:-1;49616:37:0;49633:5;24306:10;50319:164;:::i;49616:37::-;49569:173;;;;-1:-1:-1;;;49569:173:0;;13930:2:1;49569:173:0;;;13912:21:1;13969:2;13949:18;;;13942:30;14008:34;13988:18;;;13981:62;14079:31;14059:18;;;14052:59;14128:19;;49569:173:0;13728:425:1;49569:173:0;49755:21;49764:2;49768:7;49755:8;:21::i;:::-;49438:346;49368:416;;:::o;64114:556::-;2480:12;;64181;:10;:12::i;:::-;:16;;64196:1;64181:16;:::i;:::-;:33;;64172:86;;;;-1:-1:-1;;;64172:86:0;;11629:2:1;64172:86:0;;;11611:21:1;11668:2;11648:18;;;11641:30;11707:34;11687:18;;;11680:62;-1:-1:-1;;;11758:18:1;;;11751:37;11805:19;;64172:86:0;11427:403:1;64172:86:0;64305:1;64300;64276:21;:19;:21::i;:::-;:25;;;;:::i;:::-;:30;;64267:89;;;;-1:-1:-1;;;64267:89:0;;9693:2:1;64267:89:0;;;9675:21:1;9732:2;9712:18;;;9705:30;9771:34;9751:18;;;9744:62;-1:-1:-1;;;9822:18:1;;;9815:43;9875:19;;64267:89:0;9491:409:1;64267:89:0;64375:9;64388:10;64375:23;64366:74;;;;-1:-1:-1;;;64366:74:0;;9287:2:1;64366:74:0;;;9269:21:1;9326:2;9306:18;;;9299:30;9365:34;9345:18;;;9338:62;-1:-1:-1;;;9416:18:1;;;9409:35;9461:19;;64366:74:0;9085:401:1;64366:74:0;64459:6;;;;64458:7;64449:17;;;;;;25801:6;;-1:-1:-1;;;;;25801:6:0;64483:10;:21;64479:83;;64541:10;64528:9;:23;;64519:33;;;;;;64578:10;64591:11;:9;:11::i;:::-;64578:24;;64613:25;64623:10;64635:2;64613:9;:25::i;:::-;64649:13;:15;;;:13;:15;;;:::i;:::-;;;;;;64163:507;64114:556::o;50550:301::-;50711:41;24306:10;50744:7;50711:18;:41::i;:::-;50703:99;;;;-1:-1:-1;;;50703:99:0;;;;;;;:::i;:::-;50815:28;50825:4;50831:2;50835:7;50815:9;:28::i;65493:145::-;25614:13;:11;:13::i;:::-;65546:7:::1;65567;25801:6:::0;;-1:-1:-1;;;;;25801:6:0;;25728:87;65567:7:::1;-1:-1:-1::0;;;;;65559:21:0::1;65588;65559:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65545:69;;;65629:2;65621:11;;;::::0;::::1;;65538:100;65493:145::o:0;50922:151::-;51026:39;51043:4;51049:2;51053:7;51026:39;;;;;;;;;;;;:16;:39::i;65095:80::-;25614:13;:11;:13::i;:::-;65154:4:::1;:15:::0;65095:80::o;65307:98::-;25614:13;:11;:13::i;:::-;65378:21;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;:::-;;65307:98:::0;:::o;48048:223::-;48120:7;52781:16;;;:7;:16;;;;;;-1:-1:-1;;;;;52781:16:0;;48184:56;;;;-1:-1:-1;;;48184:56:0;;13175:2:1;48184:56:0;;;13157:21:1;13214:2;13194:18;;;13187:30;-1:-1:-1;;;13233:18:1;;;13226:54;13297:18;;48184:56:0;12973:348:1;63593:80:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;47779:207::-;47851:7;-1:-1:-1;;;;;47879:19:0;;47871:73;;;;-1:-1:-1;;;47871:73:0;;11219:2:1;47871:73:0;;;11201:21:1;11258:2;11238:18;;;11231:30;11297:34;11277:18;;;11270:62;-1:-1:-1;;;11348:18:1;;;11341:39;11397:19;;47871:73:0;11017:405:1;47871:73:0;-1:-1:-1;;;;;;47962:16:0;;;;;:9;:16;;;;;;;47779:207::o;26376:103::-;25614:13;:11;:13::i;:::-;26441:30:::1;26468:1;26441:18;:30::i;:::-;26376:103::o:0;65183:116::-;25614:13;:11;:13::i;:::-;65260::::1;:33:::0;65183:116::o;48507:104::-;48563:13;48596:7;48589:14;;;;;:::i;2591:99::-;2634:7;2661:21;:11;964:14;;872:114;2661:21;2654:28;;2591:99;:::o;50093:155::-;50188:52;24306:10;50221:8;50231;50188:18;:52::i;51144:279::-;51275:41;24306:10;51308:7;51275:18;:41::i;:::-;51267:99;;;;-1:-1:-1;;;51267:99:0;;;;;;;:::i;:::-;51377:38;51391:4;51397:2;51401:7;51410:4;51377:13;:38::i;:::-;51144:279;;;;:::o;64678:391::-;53183:4;52781:16;;;:7;:16;;;;;;64751:13;;-1:-1:-1;;;;;52781:16:0;64773:97;;;;-1:-1:-1;;;64773:97:0;;12759:2:1;64773:97:0;;;12741:21:1;12798:2;12778:18;;;12771:30;12837:34;12817:18;;;12810:62;-1:-1:-1;;;12888:18:1;;;12881:45;12943:19;;64773:97:0;12557:411:1;64773:97:0;64881:28;64912:10;:8;:10::i;:::-;64881:41;;64967:1;64942:14;64936:28;:32;:127;;;;;;;;;;;;;;;;;65004:14;65020:18;:7;:16;:18::i;:::-;64987:61;;;;;;;;;:::i;:::-;;;;;;;;;;;;;64936:127;64929:134;64678:391;-1:-1:-1;;;64678:391:0:o;2796:115::-;2848:7;2891:12;:10;:12::i;:::-;2480;;2875:28;;;;:::i;26634:201::-;25614:13;:11;:13::i;:::-;-1:-1:-1;;;;;26723:22:0;::::1;26715:73;;;::::0;-1:-1:-1;;;26715:73:0;;8117:2:1;26715:73:0::1;::::0;::::1;8099:21:1::0;8156:2;8136:18;;;8129:30;8195:34;8175:18;;;8168:62;-1:-1:-1;;;8246:18:1;;;8239:36;8292:19;;26715:73:0::1;7915:402:1::0;26715:73:0::1;26799:28;26818:8;26799:18;:28::i;872:114::-:0;964:14;;872:114::o;3021:173::-;3068:7;3088:13;3104:21;:11;964:14;;872:114;3104:21;3088:37;;3138:23;:11;1083:19;;1101:1;1083:19;;;994:127;3138:23;3181:5;3021:173;-1:-1:-1;3021:173:0:o;994:127::-;1083:19;;1101:1;1083:19;;;994:127::o;28720:326::-;-1:-1:-1;;;;;29015:19:0;;:23;;;28720:326::o;25893:132::-;25801:6;;-1:-1:-1;;;;;25801:6:0;24306:10;25957:23;25949:68;;;;-1:-1:-1;;;25949:68:0;;12398:2:1;25949:68:0;;;12380:21:1;;;12417:18;;;12410:30;12476:34;12456:18;;;12449:62;12528:18;;25949:68:0;12196:356:1;59413:135:0;53183:4;52781:16;;;:7;:16;;;;;;-1:-1:-1;;;;;52781:16:0;59487:53;;;;-1:-1:-1;;;59487:53:0;;13175:2:1;59487:53:0;;;13157:21:1;13214:2;13194:18;;;13187:30;-1:-1:-1;;;13233:18:1;;;13226:54;13297:18;;59487:53:0;12973:348:1;58726:174:0;58801:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;58801:29:0;-1:-1:-1;;;;;58801:29:0;;;;;;;;:24;;58855:23;58801:24;58855:14;:23::i;:::-;-1:-1:-1;;;;;58846:46:0;;;;;;;;;;;58726:174;;:::o;5038:1264::-;5105:7;3336:1;3312:21;:19;:21::i;:::-;:25;3304:62;;;;-1:-1:-1;;;3304:62:0;;10866:2:1;3304:62:0;;;10848:21:1;10905:2;10885:18;;;10878:30;10944:26;10924:18;;;10917:54;10988:18;;3304:62:0;10664:348:1;3304:62:0;5125:16:::1;5160:12;:10;:12::i;:::-;2480::::0;;5144:28:::1;;;;:::i;:::-;5232:195;::::0;-1:-1:-1;;5267:10:0::1;4889:2:1::0;4885:15;;;4881:24;;5232:195:0::1;::::0;::::1;4869:37:1::0;5296:14:0::1;4940:15:1::0;;4936:24;4922:12;;;4915:46;5329:16:0::1;4977:12:1::0;;;4970:28;5364:14:0::1;5014:12:1::0;;;5007:28;5397:15:0::1;5051:13:1::0;;;5044:29;5125:47:0;;-1:-1:-1;5183:14:0::1;::::0;5125:47;;5089:13:1;;5232:195:0::1;;;;;;;;;;;;5208:230;;;;;;5200:239;;:250;;;;:::i;:::-;5463:13;5495:19:::0;;;:11:::1;:19;::::0;;;;;5183:267;;-1:-1:-1;5463:13:0;5491:304:::1;;-1:-1:-1::0;5640:6:0;5491:304:::1;;;-1:-1:-1::0;5764:19:0::1;::::0;;;:11:::1;:19;::::0;;;;;5491:304:::1;5872:11;:25;5884:12;5895:1;5884:8:::0;:12:::1;:::i;:::-;5872:25;;;;;;;;;;;;5901:1;5872:30;5868:331;;;6006:12;6017:1;6006:8:::0;:12:::1;:::i;:::-;5984:19;::::0;;;:11:::1;:19;::::0;;;;:34;5868:331:::1;;;6162:11;:25;6174:12;6185:1;6174:8:::0;:12:::1;:::i;:::-;6162:25:::0;;::::1;::::0;;::::1;::::0;;;;;;;;-1:-1:-1;6162:25:0;;;;6140:19;;;:11:::1;:19:::0;;;;:47;5868:331:::1;6240:17;:15;:17::i;:::-;-1:-1:-1::0;6285:9:0::1;::::0;6277:17:::1;::::0;:5;:17:::1;:::i;:::-;6270:24;;;;;5038:1264:::0;:::o;54019:110::-;54095:26;54105:2;54109:7;54095:26;;;;;;;;;;;;:9;:26::i;53413:264::-;53506:4;53523:13;53539:23;53554:7;53539:14;:23::i;:::-;53523:39;;53592:5;-1:-1:-1;;;;;53581:16:0;:7;-1:-1:-1;;;;;53581:16:0;;:52;;;-1:-1:-1;;;;;;50440:25:0;;;50416:4;50440:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;53601:32;53581:87;;;;53661:7;-1:-1:-1;;;;;53637:31:0;:20;53649:7;53637:11;:20::i;:::-;-1:-1:-1;;;;;53637:31:0;;53581:87;53573:96;53413:264;-1:-1:-1;;;;53413:264:0:o;57378:1229::-;57503:4;-1:-1:-1;;;;;57476:31:0;:23;57491:7;57476:14;:23::i;:::-;-1:-1:-1;;;;;57476:31:0;;57468:81;;;;-1:-1:-1;;;57468:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;57568:16:0;;57560:65;;;;-1:-1:-1;;;57560:65:0;;10107:2:1;57560:65:0;;;10089:21:1;10146:2;10126:18;;;10119:30;10185:34;10165:18;;;10158:62;-1:-1:-1;;;10236:18:1;;;10229:34;10280:19;;57560:65:0;9905:400:1;57560:65:0;57638:42;57659:4;57665:2;57669:7;57678:1;57638:20;:42::i;:::-;57810:4;-1:-1:-1;;;;;57783:31:0;:23;57798:7;57783:14;:23::i;:::-;-1:-1:-1;;;;;57783:31:0;;57775:81;;;;-1:-1:-1;;;57775:81:0;;;;;;;:::i;:::-;57928:24;;;;:15;:24;;;;;;;;57921:31;;-1:-1:-1;;;;;;57921:31:0;;;;;;-1:-1:-1;;;;;58404:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;58404:20:0;;;58439:13;;;;;;;;;:18;;57921:31;58439:18;;;58479:16;;;:7;:16;;;;;;:21;;;;;;;;;;58518:27;;57944:7;;58518:27;;;49438:346;49368:416;;:::o;26995:191::-;27088:6;;;-1:-1:-1;;;;;27105:17:0;;;-1:-1:-1;;;;;;27105:17:0;;;;;;;27138:40;;27088:6;;;27105:17;27088:6;;27138:40;;27069:16;;27138:40;27058:128;26995:191;:::o;59043:281::-;59164:8;-1:-1:-1;;;;;59155:17:0;:5;-1:-1:-1;;;;;59155:17:0;;;59147:55;;;;-1:-1:-1;;;59147:55:0;;10512:2:1;59147:55:0;;;10494:21:1;10551:2;10531:18;;;10524:30;10590:27;10570:18;;;10563:55;10635:18;;59147:55:0;10310:349:1;59147:55:0;-1:-1:-1;;;;;59213:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;59213:46:0;;;;;;;;;;59275:41;;6806::1;;;59275::0;;6779:18:1;59275:41:0;;;;;;;59043:281;;;:::o;52304:270::-;52417:28;52427:4;52433:2;52437:7;52417:9;:28::i;:::-;52464:47;52487:4;52493:2;52497:7;52506:4;52464:22;:47::i;:::-;52456:110;;;;-1:-1:-1;;;52456:110:0;;;;;;;:::i;63987:102::-;64047:13;64076:7;64069:14;;;;;:::i;21092:716::-;21148:13;21199:14;21216:17;21227:5;21216:10;:17::i;:::-;21236:1;21216:21;21199:38;;21252:20;21286:6;21275:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21275:18:0;-1:-1:-1;21252:41:0;-1:-1:-1;21417:28:0;;;21433:2;21417:28;21474:288;-1:-1:-1;;21506:5:0;-1:-1:-1;;;21643:2:0;21632:14;;21627:30;21506:5;21614:44;21704:2;21695:11;;;-1:-1:-1;21729:10:0;21725:21;;21741:5;;21725:21;21474:288;;;-1:-1:-1;21783:6:0;21092:716;-1:-1:-1;;;21092:716:0:o;54356:285::-;54451:18;54457:2;54461:7;54451:5;:18::i;:::-;54502:53;54533:1;54537:2;54541:7;54550:4;54502:22;:53::i;:::-;54480:153;;;;-1:-1:-1;;;54480:153:0;;;;;;;:::i;61697:410::-;61887:1;61875:9;:13;61871:229;;;-1:-1:-1;;;;;61909:18:0;;;61905:87;;-1:-1:-1;;;;;61948:15:0;;;;;;:9;:15;;;;;:28;;61967:9;;61948:15;:28;;61967:9;;61948:28;:::i;:::-;;;;-1:-1:-1;;61905:87:0;-1:-1:-1;;;;;62010:16:0;;;62006:83;;-1:-1:-1;;;;;62047:13:0;;;;;;:9;:13;;;;;:26;;62064:9;;62047:13;:26;;62064:9;;62047:26;:::i;:::-;;;;-1:-1:-1;;61697:410:0;;;;:::o;60112:853::-;60266:4;-1:-1:-1;;;;;60287:13:0;;29015:19;:23;60283:675;;60323:71;;-1:-1:-1;;;60323:71:0;;-1:-1:-1;;;;;60323:36:0;;;;;:71;;24306:10;;60374:4;;60380:7;;60389:4;;60323:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60323:71:0;;;;;;;;-1:-1:-1;;60323:71:0;;;;;;;;;;;;:::i;:::-;;;60319:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60564:13:0;;60560:328;;60607:60;;-1:-1:-1;;;60607:60:0;;;;;;;:::i;60560:328::-;60838:6;60832:13;60823:6;60819:2;60815:15;60808:38;60319:584;-1:-1:-1;;;;;;60445:51:0;-1:-1:-1;;;60445:51:0;;-1:-1:-1;60438:58:0;;60283:675;-1:-1:-1;60942:4:0;60112:853;;;;;;:::o;17873:948::-;17926:7;;-1:-1:-1;;;18004:17:0;;18000:106;;-1:-1:-1;;;18042:17:0;;;-1:-1:-1;18088:2:0;18078:12;18000:106;18133:8;18124:5;:17;18120:106;;18171:8;18162:17;;;-1:-1:-1;18208:2:0;18198:12;18120:106;18253:8;18244:5;:17;18240:106;;18291:8;18282:17;;;-1:-1:-1;18328:2:0;18318:12;18240:106;18373:7;18364:5;:16;18360:103;;18410:7;18401:16;;;-1:-1:-1;18446:1:0;18436:11;18360:103;18490:7;18481:5;:16;18477:103;;18527:7;18518:16;;;-1:-1:-1;18563:1:0;18553:11;18477:103;18607:7;18598:5;:16;18594:103;;18644:7;18635:16;;;-1:-1:-1;18680:1:0;18670:11;18594:103;18724:7;18715:5;:16;18711:68;;18762:1;18752:11;18807:6;17873:948;-1:-1:-1;;17873:948:0:o;54977:942::-;-1:-1:-1;;;;;55057:16:0;;55049:61;;;;-1:-1:-1;;;55049:61:0;;12037:2:1;55049:61:0;;;12019:21:1;;;12056:18;;;12049:30;12115:34;12095:18;;;12088:62;12167:18;;55049:61:0;11835:356:1;55049:61:0;53183:4;52781:16;;;:7;:16;;;;;;-1:-1:-1;;;;;52781:16:0;53207:31;55121:58;;;;-1:-1:-1;;;55121:58:0;;8930:2:1;55121:58:0;;;8912:21:1;8969:2;8949:18;;;8942:30;9008;8988:18;;;8981:58;9056:18;;55121:58:0;8728:352:1;55121:58:0;55192:48;55221:1;55225:2;55229:7;55238:1;55192:20;:48::i;:::-;53183:4;52781:16;;;:7;:16;;;;;;-1:-1:-1;;;;;52781:16:0;53207:31;55330:58;;;;-1:-1:-1;;;55330:58:0;;8930:2:1;55330:58:0;;;8912:21:1;8969:2;8949:18;;;8942:30;9008;8988:18;;;8981:58;9056:18;;55330:58:0;8728:352:1;55330:58:0;-1:-1:-1;;;;;55737:13:0;;;;;;:9;:13;;;;;;;;:18;;55754:1;55737:18;;;55779:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;55779:21:0;;;;;55818:33;55787:7;;55737:13;;55818:33;;55737:13;;55818:33;65378:21:::1;65307:98:::0;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;828:160;893:20;;949:13;;942:21;932:32;;922:60;;978:1;975;968:12;993:186;1052:6;1105:2;1093:9;1084:7;1080:23;1076:32;1073:52;;;1121:1;1118;1111:12;1073:52;1144:29;1163:9;1144:29;:::i;1184:260::-;1252:6;1260;1313:2;1301:9;1292:7;1288:23;1284:32;1281:52;;;1329:1;1326;1319:12;1281:52;1352:29;1371:9;1352:29;:::i;:::-;1342:39;;1400:38;1434:2;1423:9;1419:18;1400:38;:::i;:::-;1390:48;;1184:260;;;;;:::o;1449:328::-;1526:6;1534;1542;1595:2;1583:9;1574:7;1570:23;1566:32;1563:52;;;1611:1;1608;1601:12;1563:52;1634:29;1653:9;1634:29;:::i;:::-;1624:39;;1682:38;1716:2;1705:9;1701:18;1682:38;:::i;:::-;1672:48;;1767:2;1756:9;1752:18;1739:32;1729:42;;1449:328;;;;;:::o;1782:666::-;1877:6;1885;1893;1901;1954:3;1942:9;1933:7;1929:23;1925:33;1922:53;;;1971:1;1968;1961:12;1922:53;1994:29;2013:9;1994:29;:::i;:::-;1984:39;;2042:38;2076:2;2065:9;2061:18;2042:38;:::i;:::-;2032:48;;2127:2;2116:9;2112:18;2099:32;2089:42;;2182:2;2171:9;2167:18;2154:32;2209:18;2201:6;2198:30;2195:50;;;2241:1;2238;2231:12;2195:50;2264:22;;2317:4;2309:13;;2305:27;-1:-1:-1;2295:55:1;;2346:1;2343;2336:12;2295:55;2369:73;2434:7;2429:2;2416:16;2411:2;2407;2403:11;2369:73;:::i;:::-;2359:83;;;1782:666;;;;;;;:::o;2453:254::-;2518:6;2526;2579:2;2567:9;2558:7;2554:23;2550:32;2547:52;;;2595:1;2592;2585:12;2547:52;2618:29;2637:9;2618:29;:::i;:::-;2608:39;;2666:35;2697:2;2686:9;2682:18;2666:35;:::i;2712:254::-;2780:6;2788;2841:2;2829:9;2820:7;2816:23;2812:32;2809:52;;;2857:1;2854;2847:12;2809:52;2880:29;2899:9;2880:29;:::i;:::-;2870:39;2956:2;2941:18;;;;2928:32;;-1:-1:-1;;;2712:254:1:o;2971:180::-;3027:6;3080:2;3068:9;3059:7;3055:23;3051:32;3048:52;;;3096:1;3093;3086:12;3048:52;3119:26;3135:9;3119:26;:::i;3156:245::-;3214:6;3267:2;3255:9;3246:7;3242:23;3238:32;3235:52;;;3283:1;3280;3273:12;3235:52;3322:9;3309:23;3341:30;3365:5;3341:30;:::i;3406:249::-;3475:6;3528:2;3516:9;3507:7;3503:23;3499:32;3496:52;;;3544:1;3541;3534:12;3496:52;3576:9;3570:16;3595:30;3619:5;3595:30;:::i;3660:450::-;3729:6;3782:2;3770:9;3761:7;3757:23;3753:32;3750:52;;;3798:1;3795;3788:12;3750:52;3838:9;3825:23;3871:18;3863:6;3860:30;3857:50;;;3903:1;3900;3893:12;3857:50;3926:22;;3979:4;3971:13;;3967:27;-1:-1:-1;3957:55:1;;4008:1;4005;3998:12;3957:55;4031:73;4096:7;4091:2;4078:16;4073:2;4069;4065:11;4031:73;:::i;4115:180::-;4174:6;4227:2;4215:9;4206:7;4202:23;4198:32;4195:52;;;4243:1;4240;4233:12;4195:52;-1:-1:-1;4266:23:1;;4115:180;-1:-1:-1;4115:180:1:o;4300:257::-;4341:3;4379:5;4373:12;4406:6;4401:3;4394:19;4422:63;4478:6;4471:4;4466:3;4462:14;4455:4;4448:5;4444:16;4422:63;:::i;:::-;4539:2;4518:15;-1:-1:-1;;4514:29:1;4505:39;;;;4546:4;4501:50;;4300:257;-1:-1:-1;;4300:257:1:o;5113:637::-;5393:3;5431:6;5425:13;5447:53;5493:6;5488:3;5481:4;5473:6;5469:17;5447:53;:::i;:::-;5563:13;;5522:16;;;;5585:57;5563:13;5522:16;5619:4;5607:17;;5585:57;:::i;:::-;-1:-1:-1;;;5664:20:1;;5693:22;;;5742:1;5731:13;;5113:637;-1:-1:-1;;;;5113:637:1:o;6173:488::-;-1:-1:-1;;;;;6442:15:1;;;6424:34;;6494:15;;6489:2;6474:18;;6467:43;6541:2;6526:18;;6519:34;;;6589:3;6584:2;6569:18;;6562:31;;;6367:4;;6610:45;;6635:19;;6627:6;6610:45;:::i;:::-;6602:53;6173:488;-1:-1:-1;;;;;;6173:488:1:o;6858:219::-;7007:2;6996:9;6989:21;6970:4;7027:44;7067:2;7056:9;7052:18;7044:6;7027:44;:::i;7082:409::-;7284:2;7266:21;;;7323:2;7303:18;;;7296:30;7362:34;7357:2;7342:18;;7335:62;-1:-1:-1;;;7428:2:1;7413:18;;7406:43;7481:3;7466:19;;7082:409::o;7496:414::-;7698:2;7680:21;;;7737:2;7717:18;;;7710:30;7776:34;7771:2;7756:18;;7749:62;-1:-1:-1;;;7842:2:1;7827:18;;7820:48;7900:3;7885:19;;7496:414::o;8322:401::-;8524:2;8506:21;;;8563:2;8543:18;;;8536:30;8602:34;8597:2;8582:18;;8575:62;-1:-1:-1;;;8668:2:1;8653:18;;8646:35;8713:3;8698:19;;8322:401::o;14340:128::-;14380:3;14411:1;14407:6;14404:1;14401:13;14398:39;;;14417:18;;:::i;:::-;-1:-1:-1;14453:9:1;;14340:128::o;14473:125::-;14513:4;14541:1;14538;14535:8;14532:34;;;14546:18;;:::i;:::-;-1:-1:-1;14583:9:1;;14473:125::o;14603:258::-;14675:1;14685:113;14699:6;14696:1;14693:13;14685:113;;;14775:11;;;14769:18;14756:11;;;14749:39;14721:2;14714:10;14685:113;;;14816:6;14813:1;14810:13;14807:48;;;-1:-1:-1;;14851:1:1;14833:16;;14826:27;14603:258::o;14866:380::-;14945:1;14941:12;;;;14988;;;15009:61;;15063:4;15055:6;15051:17;15041:27;;15009:61;15116:2;15108:6;15105:14;15085:18;15082:38;15079:161;;;15162:10;15157:3;15153:20;15150:1;15143:31;15197:4;15194:1;15187:15;15225:4;15222:1;15215:15;15079:161;;14866:380;;;:::o;15251:135::-;15290:3;-1:-1:-1;;15311:17:1;;15308:43;;;15331:18;;:::i;:::-;-1:-1:-1;15378:1:1;15367:13;;15251:135::o;15391:209::-;15423:1;15449;15439:132;;15493:10;15488:3;15484:20;15481:1;15474:31;15528:4;15525:1;15518:15;15556:4;15553:1;15546:15;15439:132;-1:-1:-1;15585:9:1;;15391:209::o;15605:127::-;15666:10;15661:3;15657:20;15654:1;15647:31;15697:4;15694:1;15687:15;15721:4;15718:1;15711:15;15869:127;15930:10;15925:3;15921:20;15918:1;15911:31;15961:4;15958:1;15951:15;15985:4;15982:1;15975:15;16001:131;-1:-1:-1;;;;;;16075:32:1;;16065:43;;16055:71;;16122:1;16119;16112:12

Swarm Source

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