ETH Price: $2,517.38 (+2.58%)

Token

Colors (COLOR)
 

Overview

Max Total Supply

39 COLOR

Holders

38

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
notkatarina.eth
Balance
1 COLOR
0x1b733adb3b56e6e7d93eb071babd5f73797b5fbe
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:
Colors

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 2021-09-03
*/

// SPDX-License-Identifier: MIT

pragma solidity 0.8.7;



// Part: Address

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(
            data
        );
        return _verifyCallResult(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) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(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) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // 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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// Part: Base64

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

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

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

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

        bytes memory table = TABLE;

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

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

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

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

                mstore(resultPtr, out)

                resultPtr := add(resultPtr, 4)
            }

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

            mstore(result, encodedLen)
        }

        return string(result);
    }
}

// Part: Context

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

// Part: IERC165

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

// Part: IERC721Receiver

/**
 * @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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

// Part: ReentrancyGuard

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

// Part: Strings

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @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] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

// Part: ERC165

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

// Part: IERC721

/**
 * @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`, 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 be 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: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * 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 Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId)
        external
        view
        returns (address operator);

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

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

// Part: Ownable

/**
 * @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() {
        _setOwner(_msgSender());
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        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 {
        _setOwner(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"
        );
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// Part: IERC721Enumerable

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index)
        external
        view
        returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

// Part: IERC721Metadata

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

// Part: ERC721

/**
 * @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: balance query for the zero address"
        );
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId)
        public
        view
        virtual
        override
        returns (address)
    {
        address owner = _owners[tokenId];
        require(
            owner != address(0),
            "ERC721: owner query for nonexistent token"
        );
        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)
    {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );

        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 overriden 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 owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId)
        public
        view
        virtual
        override
        returns (address)
    {
        require(
            _exists(tokenId),
            "ERC721: approved query for nonexistent token"
        );

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved)
        public
        virtual
        override
    {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_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: transfer caller is not owner nor 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: transfer caller is not owner nor 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 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 _owners[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)
    {
        require(
            _exists(tokenId),
            "ERC721: operator query for nonexistent token"
        );
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner ||
            getApproved(tokenId) == spender ||
            isApprovedForAll(owner, 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);

        _balances[to] += 1;
        _owners[tokenId] = to;

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

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

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

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

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

    /**
     * @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 of token that is not own"
        );
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @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(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert(
                        "ERC721: transfer to non ERC721Receiver implementer"
                    );
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

// Part: ERC721Enumerable

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index)
        public
        view
        virtual
        override
        returns (uint256)
    {
        require(
            index < ERC721.balanceOf(owner),
            "ERC721Enumerable: owner index out of bounds"
        );
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index)
        public
        view
        virtual
        override
        returns (uint256)
    {
        require(
            index < ERC721Enumerable.totalSupply(),
            "ERC721Enumerable: global index out of bounds"
        );
        return _allTokens[index];
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId)
        private
    {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

// File: Colors.sol

contract Colors is ERC721Enumerable, ReentrancyGuard, Ownable {
    string[] private colors = [
        "#000000",
        "#000000",
        "#800000",
        "#008000",
        "#808000",
        "#000080",
        "#800080",
        "#008080",
        "#C0C0C0",
        "#C0DCC0",
        "#A6CAF0",
        "#2A3FAA",
        "#2A3FFF",
        "#2A5F00",
        "#2A5F55",
        "#2A5FAA",
        "#2A5FFF",
        "#2A7F00",
        "#2A7F55",
        "#2A7FAA",
        "#2A7FFF",
        "#2A9F00",
        "#2A9F55",
        "#2A9FAA",
        "#2A9FFF",
        "#2ABF00",
        "#2ABF55",
        "#2ABFAA",
        "#2ABFFF",
        "#2ADF00",
        "#2ADF55",
        "#2ADFAA",
        "#2ADFFF",
        "#2AFF00",
        "#2AFF55",
        "#2AFFAA",
        "#2AFFFF",
        "#550000",
        "#550055",
        "#5500AA",
        "#5500FF",
        "#551F00",
        "#551F55",
        "#551FAA",
        "#551FFF",
        "#553F00",
        "#553F55",
        "#553FAA",
        "#553FFF",
        "#555F00",
        "#555F55",
        "#555FAA",
        "#555FFF",
        "#557F00",
        "#557F55",
        "#557FAA",
        "#557FFF",
        "#559F00",
        "#559F55",
        "#559FAA",
        "#559FFF",
        "#55BF00",
        "#55BF55",
        "#55BFAA",
        "#55BFFF",
        "#55DF00",
        "#55DF55",
        "#55DFAA",
        "#55DFFF",
        "#55FF00",
        "#55FF55",
        "#55FFAA",
        "#55FFFF",
        "#7F0000",
        "#7F0055",
        "#7F00AA",
        "#7F00FF",
        "#7F1F00",
        "#7F1F55",
        "#7F1FAA",
        "#7F1FFF",
        "#7F3F00",
        "#7F3F55",
        "#7F3FAA",
        "#7F3FFF",
        "#7F5F00",
        "#7F5F55",
        "#7F5FAA",
        "#7F5FFF",
        "#7F7F00",
        "#7F7F55",
        "#7F7FAA",
        "#7F7FFF",
        "#7F9F00",
        "#7F9F55",
        "#7F9FAA",
        "#7F9FFF",
        "#7FBF00",
        "#7FBF55",
        "#7FBFAA",
        "#7FBFFF",
        "#7FDF00",
        "#7FDF55",
        "#7FDFAA",
        "#7FDFFF",
        "#7FFF00",
        "#7FFF55",
        "#7FFFAA",
        "#7FFFFF",
        "#AA0000",
        "#AA0055",
        "#AA00AA",
        "#AA00FF",
        "#AA1F00",
        "#AA1F55",
        "#AA1FAA",
        "#AA1FFF",
        "#AA3F00",
        "#AA3F55",
        "#AA3FAA",
        "#AA3FFF",
        "#AA5F00",
        "#AA5F55",
        "#AA5FAA",
        "#AA5FFF",
        "#AA7F00",
        "#AA7F55",
        "#AA7FAA",
        "#AA7FFF",
        "#AA9F00",
        "#AA9F55",
        "#AA9FAA",
        "#AA9FFF",
        "#AABF00",
        "#AABF55",
        "#AABFAA",
        "#AABFFF",
        "#AADF00",
        "#AADF55",
        "#AADFAA",
        "#AADFFF",
        "#AAFF00",
        "#AAFF55",
        "#AAFFAA",
        "#AAFFFF",
        "#D40000",
        "#D40055",
        "#D400AA",
        "#D400FF",
        "#D41F00",
        "#D41F55",
        "#D41FAA",
        "#D41FFF",
        "#D43F00",
        "#D43F55",
        "#D43FAA",
        "#D43FFF",
        "#D45F00",
        "#D45F55",
        "#D45FAA",
        "#D45FFF",
        "#D47F00",
        "#D47F55",
        "#D47FAA",
        "#D47FFF",
        "#D49F00",
        "#D49F55",
        "#D49FAA",
        "#D49FFF",
        "#D4BF00",
        "#D4BF55",
        "#D4BFAA",
        "#D4BFFF",
        "#D4DF00",
        "#D4DF55",
        "#D4DFAA",
        "#D4DFFF",
        "#D4FF00",
        "#D4FF55",
        "#D4FFAA",
        "#D4FFFF",
        "#FF0055",
        "#FF00AA",
        "#FF1F00",
        "#FF1F55",
        "#FF1FAA",
        "#FF1FFF",
        "#FF3F00",
        "#FF3F55",
        "#FF3FAA",
        "#FF3FFF",
        "#FF5F00",
        "#FF5F55",
        "#FF5FAA",
        "#FF5FFF",
        "#FF7F00",
        "#FF7F55",
        "#FF7FAA",
        "#FF7FFF",
        "#FF9F00",
        "#FF9F55",
        "#FF9FAA",
        "#FF9FFF",
        "#FFBF00",
        "#FFBF55",
        "#FFBFAA",
        "#FFBFFF",
        "#FFDF00",
        "#FFDF55",
        "#FFDFAA",
        "#FFDFFF",
        "#FFFF55",
        "#FFFFAA",
        "#CCCCFF",
        "#FFCCFF",
        "#33FFFF",
        "#66FFFF",
        "#99FFFF",
        "#CCFFFF",
        "#007F00",
        "#007F55",
        "#007FAA",
        "#007FFF",
        "#009F00",
        "#009F55",
        "#009FAA",
        "#009FFF",
        "#00BF00",
        "#00BF55",
        "#00BFAA",
        "#00BFFF",
        "#00DF00",
        "#00DF55",
        "#00DFAA",
        "#00DFFF",
        "#00FF55",
        "#00FFAA",
        "#2A0000",
        "#2A0055",
        "#2A00AA",
        "#2A00FF",
        "#2A1F00",
        "#2A1F55",
        "#2A1FAA",
        "#2A1FFF",
        "#2A3F00",
        "#2A3F55",
        "#FFFBF0",
        "#A0A0A4",
        "#808080",
        "#FF0000",
        "#00FF00",
        "#FFFF00",
        "#0000FF",
        "#FF00FF",
        "#00FFFF",
        "#FFFFFF"
    ];

    function tokenURI(uint256 tokenId)
        public
        view
        override
        returns (string memory)
    {
        string[3] memory parts;
        parts[
            0
        ] = '<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMin meet" viewBox="0 0 256 256">';
        parts[1] = string(
            abi.encodePacked(
                '<rect width="100%" height="100%" fill="',
                colors[tokenId],
                '" />'
            )
        );
        parts[2] = "</svg>";
        string memory output = string(
            abi.encodePacked(parts[0], parts[1], parts[2])
        );
        string memory json = Base64.encode(
            bytes(
                string(
                    abi.encodePacked(
                        '{"name": "',
                        colors[tokenId],
                        '", "description": "Colors are on-chain win 95 palette colors. Expect holders to get access to more drops in the future. There is no OS fees, no Discord, no websie. I could not sleep, so hacked this up. Use responsibly.", "image": "data:image/svg+xml;base64,',
                        Base64.encode(bytes(output)),
                        '"}'
                    )
                )
            )
        );
        output = string(
            abi.encodePacked("data:application/json;base64,", json)
        );
        return output;
    }

    // to prevent colour monopoly, ether shall be a gatekeeper for a fairer distribution of holders
    function claim(uint256 tokenId) public payable nonReentrant {
        require(tokenId > 0 && tokenId < 250, "token id invalid");
        require(msg.value == 1 ether, "send 1 ether to mint");
        _safeMint(_msgSender(), tokenId);
    }

    function toString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    function ownerClaim(uint256 tokenId) public nonReentrant onlyOwner {
        require(tokenId > 249 && tokenId < 257, "no more flowers");
        _safeMint(owner(), tokenId);
    }

    function withdraw() external onlyOwner {
        uint256 balance = address(this).balance;
        payable(address(msg.sender)).transfer(balance);
    }

    constructor() ERC721("Colors", "COLOR") Ownable() {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"payable","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":"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":"ownerClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60076120a0818152660233030303030360cc1b6120c081905260809182526120e08381526121009190915260a052612120828152660233830303030360cc1b6121405260c052612160828152660233030383030360cc1b6121805260e0526121a0828152660233830383030360cc1b6121c052610100526121e0828152660233030303038360cc1b6122005261012052612220828152660233830303038360cc1b6122405261014052612260828152660233030383038360cc1b61228052610160526122a0828152660234330433043360cc1b6122c052610180526122e0828152660234330444343360cc1b612300526101a052612320828152660234136434146360cc1b612340526101c052612360828152662332413346414160c81b612380526101e0526123a08281526611992099a3232360c91b6123c052610200526123e0828152660233241354630360cc1b6124005261022052612420828152662332413546353560c81b6124405261024052612460828152662332413546414160c81b61248052610260526124a0828152661199209aa3232360c91b6124c052610280526124e0828152660233241374630360cc1b612500526102a052612520828152662332413746353560c81b612540526102c052612560828152662332413746414160c81b612580526102e0526125a0828152661199209ba3232360c91b6125c052610300526125e0828152660233241394630360cc1b6126005261032052612620828152662332413946353560c81b6126405261034052612660828152662332413946414160c81b61268052610360526126a0828152661199209ca3232360c91b6126c052610380526126e0828152660233241424630360cc1b612700526103a052612720828152662332414246353560c81b612740526103c052612760828152662332414246414160c81b612780526103e0526127a082815266119920a123232360c91b6127c052610400526127e0828152660233241444630360cc1b6128005261042052612820828152662332414446353560c81b6128405261044052612860828152662332414446414160c81b61288052610460526128a082815266119920a223232360c91b6128c052610480526128e0828152660233241464630360cc1b612900526104a052612920828152662332414646353560c81b612940526104c052612960828152662332414646414160c81b612980526104e0526129a082815266119920a323232360c91b6129c052610500526129e0828152660233535303030360cc1b612a005261052052612a20828152662335353030353560c81b612a405261054052612a60828152662335353030414160c81b612a805261056052612aa082815266119a9a9818232360c91b612ac05261058052612ae0828152660233535314630360cc1b612b00526105a052612b20828152662335353146353560c81b612b40526105c052612b60828152662335353146414160c81b612b80526105e052612ba082815266119a9a98a3232360c91b612bc05261060052612be0828152660233535334630360cc1b612c005261062052612c20828152662335353346353560c81b612c405261064052612c60828152662335353346414160c81b612c805261066052612ca082815266119a9a99a3232360c91b612cc05261068052612ce0828152660233535354630360cc1b612d00526106a052612d20828152662335353546353560c81b612d40526106c052612d60828152662335353546414160c81b612d80526106e052612da082815266119a9a9aa3232360c91b612dc05261070052612de0828152660233535374630360cc1b612e005261072052612e20828152662335353746353560c81b612e405261074052612e60828152662335353746414160c81b612e805261076052612ea082815266119a9a9ba3232360c91b612ec05261078052612ee0828152660233535394630360cc1b612f00526107a052612f20828152662335353946353560c81b612f40526107c052612f60828152662335353946414160c81b612f80526107e052612fa082815266119a9a9ca3232360c91b612fc05261080052612fe0828152660233535424630360cc1b6130005261082052613020828152662335354246353560c81b6130405261084052613060828152662335354246414160c81b61308052610860526130a082815266119a9aa123232360c91b6130c052610880526130e0828152660233535444630360cc1b613100526108a052613120828152662335354446353560c81b613140526108c052613160828152662335354446414160c81b613180526108e0526131a082815266119a9aa223232360c91b6131c052610900526131e0828152660233535464630360cc1b6132005261092052613220828152662335354646353560c81b6132405261094052613260828152662335354646414160c81b61328052610960526132a082815266119a9aa323232360c91b6132c052610980526132e0828152660233746303030360cc1b613300526109a052613320828152662337463030353560c81b613340526109c052613360828152662337463030414160c81b613380526109e0526133a082815266119ba31818232360c91b6133c052610a00526133e0828152660233746314630360cc1b61340052610a2052613420828152662337463146353560c81b61344052610a4052613460828152662337463146414160c81b61348052610a60526134a082815266119ba318a3232360c91b6134c052610a80526134e0828152660233746334630360cc1b61350052610aa052613520828152662337463346353560c81b61354052610ac052613560828152662337463346414160c81b61358052610ae0526135a082815266119ba319a3232360c91b6135c052610b00526135e0828152660233746354630360cc1b61360052610b2052613620828152662337463546353560c81b61364052610b4052613660828152662337463546414160c81b61368052610b60526136a082815266119ba31aa3232360c91b6136c052610b80526136e0828152660233746374630360cc1b61370052610ba052613720828152662337463746353560c81b61374052610bc052613760828152662337463746414160c81b61378052610be0526137a082815266119ba31ba3232360c91b6137c052610c00526137e0828152660233746394630360cc1b61380052610c2052613820828152662337463946353560c81b61384052610c4052613860828152662337463946414160c81b61388052610c60526138a082815266119ba31ca3232360c91b6138c052610c80526138e0828152660233746424630360cc1b61390052610ca052613920828152662337464246353560c81b61394052610cc052613960828152662337464246414160c81b61398052610ce0526139a082815266119ba32123232360c91b6139c052610d00526139e0828152660233746444630360cc1b613a0052610d2052613a20828152662337464446353560c81b613a4052610d4052613a60828152662337464446414160c81b613a8052610d6052613aa082815266119ba32223232360c91b613ac052610d8052613ae0828152660233746464630360cc1b613b0052610da052613b20828152662337464646353560c81b613b4052610dc052613b60828152662337464646414160c81b613b8052610de052613ba082815266119ba32323232360c91b613bc052610e0052613be0828152660234141303030360cc1b613c0052610e2052613c20828152662341413030353560c81b613c4052610e4052613c60828152662341413030414160c81b613c8052610e6052613ca08281526611a0a09818232360c91b613cc052610e8052613ce0828152660234141314630360cc1b613d0052610ea052613d20828152662341413146353560c81b613d4052610ec052613d60828152662341413146414160c81b613d8052610ee052613da08281526611a0a098a3232360c91b613dc052610f0052613de0828152660234141334630360cc1b613e0052610f2052613e20828152662341413346353560c81b613e4052610f4052613e60828152662341413346414160c81b613e8052610f6052613ea08281526611a0a099a3232360c91b613ec052610f8052613ee0828152660234141354630360cc1b613f0052610fa052613f20828152662341413546353560c81b613f4052610fc052613f60828152662341413546414160c81b613f8052610fe052613fa08281526611a0a09aa3232360c91b613fc05261100052613fe0828152660234141374630360cc1b6140005261102052614020828152662341413746353560c81b6140405261104052614060828152662341413746414160c81b61408052611060526140a08281526611a0a09ba3232360c91b6140c052611080526140e0828152660234141394630360cc1b614100526110a052614120828152662341413946353560c81b614140526110c052614160828152662341413946414160c81b614180526110e0526141a08281526611a0a09ca3232360c91b6141c052611100526141e0828152660234141424630360cc1b6142005261112052614220828152662341414246353560c81b6142405261114052614260828152662341414246414160c81b61428052611160526142a08281526611a0a0a123232360c91b6142c052611180526142e0828152660234141444630360cc1b614300526111a052614320828152662341414446353560c81b614340526111c052614360828152662341414446414160c81b614380526111e0526143a08281526611a0a0a223232360c91b6143c052611200526143e0828152660234141464630360cc1b6144005261122052614420828152662341414646353560c81b6144405261124052614460828152662341414646414160c81b61448052611260526144a08281526611a0a0a323232360c91b6144c052611280526144e0828152660234434303030360cc1b614500526112a052614520828152662344343030353560c81b614540526112c052614560828152662344343030414160c81b614580526112e0526145a08281526611a21a1818232360c91b6145c052611300526145e0828152660234434314630360cc1b6146005261132052614620828152662344343146353560c81b6146405261134052614660828152662344343146414160c81b61468052611360526146a08281526611a21a18a3232360c91b6146c052611380526146e0828152660234434334630360cc1b614700526113a052614720828152662344343346353560c81b614740526113c052614760828152662344343346414160c81b614780526113e0526147a08281526611a21a19a3232360c91b6147c052611400526147e0828152660234434354630360cc1b6148005261142052614820828152662344343546353560c81b6148405261144052614860828152662344343546414160c81b61488052611460526148a08281526611a21a1aa3232360c91b6148c052611480526148e0828152660234434374630360cc1b614900526114a052614920828152662344343746353560c81b614940526114c052614960828152662344343746414160c81b614980526114e0526149a08281526611a21a1ba3232360c91b6149c052611500526149e0828152660234434394630360cc1b614a005261152052614a20828152662344343946353560c81b614a405261154052614a60828152662344343946414160c81b614a805261156052614aa08281526611a21a1ca3232360c91b614ac05261158052614ae0828152660234434424630360cc1b614b00526115a052614b20828152662344344246353560c81b614b40526115c052614b60828152662344344246414160c81b614b80526115e052614ba08281526611a21a2123232360c91b614bc05261160052614be0828152660234434444630360cc1b614c005261162052614c20828152662344344446353560c81b614c405261164052614c60828152662344344446414160c81b614c805261166052614ca08281526611a21a2223232360c91b614cc05261168052614ce0828152660234434464630360cc1b614d00526116a052614d20828152662344344646353560c81b614d40526116c052614d60828152662344344646414160c81b614d80526116e052614da08281526611a21a2323232360c91b614dc05261170052614de0828152662346463030353560c81b614e005261172052614e20828152662346463030414160c81b614e405261174052614e60828152660234646314630360cc1b614e805261176052614ea0828152662346463146353560c81b614ec05261178052614ee0828152662346463146414160c81b614f00526117a052614f208281526611a32318a3232360c91b614f40526117c052614f60828152660234646334630360cc1b614f80526117e052614fa0828152662346463346353560c81b614fc05261180052614fe0828152662346463346414160c81b61500052611820526150208281526611a32319a3232360c91b6150405261184052615060828152660234646354630360cc1b61508052611860526150a0828152662346463546353560c81b6150c052611880526150e0828152662346463546414160c81b615100526118a0526151208281526611a3231aa3232360c91b615140526118c052615160828152660234646374630360cc1b615180526118e0526151a0828152662346463746353560c81b6151c052611900526151e0828152662346463746414160c81b61520052611920526152208281526611a3231ba3232360c91b6152405261194052615260828152660234646394630360cc1b61528052611960526152a0828152662346463946353560c81b6152c052611980526152e0828152662346463946414160c81b615300526119a0526153208281526611a3231ca3232360c91b615340526119c052615360828152660234646424630360cc1b615380526119e0526153a0828152662346464246353560c81b6153c052611a00526153e0828152662346464246414160c81b61540052611a20526154208281526611a3232123232360c91b61544052611a4052615460828152660234646444630360cc1b61548052611a60526154a0828152662346464446353560c81b6154c052611a80526154e0828152662346464446414160c81b61550052611aa0526155208281526611a3232223232360c91b61554052611ac052615560828152662346464646353560c81b61558052611ae0526155a0828152662346464646414160c81b6155c052611b00526155e08281526611a1a1a1a1a32360c91b61560052611b20526156208281526611a32321a1a32360c91b61564052611b405261566082815266119999a323232360c91b61568052611b60526156a082815266119b1b2323232360c91b6156c052611b80526156e082815266119c9ca323232360c91b61570052611ba0526157208281526611a1a1a323232360c91b61574052611bc052615760828152660233030374630360cc1b61578052611be0526157a0828152662330303746353560c81b6157c052611c00526157e0828152662330303746414160c81b61580052611c2052615820828152661198181ba3232360c91b61584052611c4052615860828152660233030394630360cc1b61588052611c60526158a0828152662330303946353560c81b6158c052611c80526158e0828152662330303946414160c81b61590052611ca052615920828152661198181ca3232360c91b61594052611cc052615960828152660233030424630360cc1b61598052611ce0526159a0828152662330304246353560c81b6159c052611d00526159e0828152662330304246414160c81b615a0052611d2052615a20828152661198182123232360c91b615a4052611d4052615a60828152660233030444630360cc1b615a8052611d6052615aa0828152662330304446353560c81b615ac052611d8052615ae0828152662330304446414160c81b615b0052611da052615b20828152661198182223232360c91b615b4052611dc052615b60828152662330304646353560c81b615b8052611de052615ba0828152662330304646414160c81b615bc052611e0052615be0828152660233241303030360cc1b615c0052611e2052615c20828152662332413030353560c81b615c4052611e4052615c60828152662332413030414160c81b615c8052611e6052615ca0828152661199209818232360c91b615cc052611e8052615ce0828152660233241314630360cc1b615d0052611ea052615d20828152662332413146353560c81b615d4052611ec052615d60828152662332413146414160c81b615d8052611ee052615da08281526611992098a3232360c91b615dc052611f0052615de0828152660233241334630360cc1b615e0052611f2052615e20828152662332413346353560c81b615e4052611f4052615e60828152660234646464246360cc1b615e8052611f6052615ea08281526608d04c104c104d60ca1b615ec052611f8052615ee0828152660233830383038360cc1b615f0052611fa052615f20828152660234646303030360cc1b615f4052611fc052615f60828152660233030464630360cc1b615f8052611fe052615fa0828152660234646464630360cc1b615fc05261200052615fe0828152661198181818232360c91b61600052612020526160208281526611a3231818232360c91b6160405261204052616060828152661198182323232360c91b61608052612060526160e06040526160a09182526611a3232323232360c91b6160c052612080919091526200192c90600c9061010162001a07565b503480156200193a57600080fd5b506040805180820182526006815265436f6c6f727360d01b60208083019182528351808501909452600584526421a7a627a960d91b908401528151919291620019869160009162001a6b565b5080516200199c90600190602084019062001a6b565b50506001600a5550620019af33620019b5565b62001bad565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805482825590600052602060002090810192821562001a59579160200282015b8281111562001a59578251805162001a4891849160209091019062001a6b565b509160200191906001019062001a28565b5062001a6792915062001af6565b5090565b82805462001a799062001b70565b90600052602060002090601f01602090048101928262001a9d576000855562001ae8565b82601f1062001ab857805160ff191683800117855562001ae8565b8280016001018555821562001ae8579182015b8281111562001ae857825182559160200191906001019062001acb565b5062001a6792915062001b17565b8082111562001a6757600062001b0d828262001b2e565b5060010162001af6565b5b8082111562001a67576000815560010162001b18565b50805462001b3c9062001b70565b6000825580601f1062001b4d575050565b601f01602090049060005260206000209081019062001b6d919062001b17565b50565b600181811c9082168062001b8557607f821691505b6020821081141562001ba757634e487b7160e01b600052602260045260246000fd5b50919050565b6121738062001bbd6000396000f3fe6080604052600436106101355760003560e01c80634f6ccce7116100ab57806395d89b411161006f57806395d89b4114610345578063a22cb4651461035a578063b88d4fde1461037a578063c87b56dd1461039a578063e985e9c5146103ba578063f2fde38b1461040357600080fd5b80634f6ccce7146102b25780636352211e146102d257806370a08231146102f2578063715018a6146103125780638da5cb5b1461032757600080fd5b806323b872dd116100fd57806323b872dd1461020a5780632f745c591461022a578063379607f51461024a5780633ccfd60b1461025d57806342842e0e14610272578063434f48c41461029257600080fd5b806301ffc9a71461013a57806306fdde031461016f578063081812fc14610191578063095ea7b3146101c957806318160ddd146101eb575b600080fd5b34801561014657600080fd5b5061015a610155366004611aaa565b610423565b60405190151581526020015b60405180910390f35b34801561017b57600080fd5b5061018461044e565b6040516101669190611e6b565b34801561019d57600080fd5b506101b16101ac366004611ae4565b6104e0565b6040516001600160a01b039091168152602001610166565b3480156101d557600080fd5b506101e96101e4366004611a80565b61057a565b005b3480156101f757600080fd5b506008545b604051908152602001610166565b34801561021657600080fd5b506101e961022536600461192c565b610690565b34801561023657600080fd5b506101fc610245366004611a80565b6106c1565b6101e9610258366004611ae4565b610757565b34801561026957600080fd5b506101e961085e565b34801561027e57600080fd5b506101e961028d36600461192c565b6108bb565b34801561029e57600080fd5b506101e96102ad366004611ae4565b6108d6565b3480156102be57600080fd5b506101fc6102cd366004611ae4565b6109bc565b3480156102de57600080fd5b506101b16102ed366004611ae4565b610a4f565b3480156102fe57600080fd5b506101fc61030d3660046118d7565b610ac6565b34801561031e57600080fd5b506101e9610b4d565b34801561033357600080fd5b50600b546001600160a01b03166101b1565b34801561035157600080fd5b50610184610b83565b34801561036657600080fd5b506101e9610375366004611a44565b610b92565b34801561038657600080fd5b506101e9610395366004611968565b610c57565b3480156103a657600080fd5b506101846103b5366004611ae4565b610c8f565b3480156103c657600080fd5b5061015a6103d53660046118f9565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561040f57600080fd5b506101e961041e3660046118d7565b610dbe565b60006001600160e01b0319821663780e9d6360e01b1480610448575061044882610e59565b92915050565b60606000805461045d90611ff2565b80601f016020809104026020016040519081016040528092919081815260200182805461048990611ff2565b80156104d65780601f106104ab576101008083540402835291602001916104d6565b820191906000526020600020905b8154815290600101906020018083116104b957829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661055e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061058582610a4f565b9050806001600160a01b0316836001600160a01b031614156105f35760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610555565b336001600160a01b038216148061060f575061060f81336103d5565b6106815760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610555565b61068b8383610ea9565b505050565b61069a3382610f17565b6106b65760405162461bcd60e51b815260040161055590611f05565b61068b83838361100e565b60006106cc83610ac6565b821061072e5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610555565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6002600a5414156107aa5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610555565b6002600a5580158015906107be575060fa81105b6107fd5760405162461bcd60e51b815260206004820152601060248201526f1d1bdad95b881a59081a5b9d985b1a5960821b6044820152606401610555565b34670de0b6b3a76400001461084b5760405162461bcd60e51b81526020600482015260146024820152731cd95b99080c48195d1a195c881d1bc81b5a5b9d60621b6044820152606401610555565b610856335b826111b9565b506001600a55565b600b546001600160a01b031633146108885760405162461bcd60e51b815260040161055590611ed0565b6040514790339082156108fc029083906000818181858888f193505050501580156108b7573d6000803e3d6000fd5b5050565b61068b83838360405180602001604052806000815250610c57565b6002600a5414156109295760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610555565b6002600a55600b546001600160a01b031633146109585760405162461bcd60e51b815260040161055590611ed0565b60f981118015610969575061010181105b6109a75760405162461bcd60e51b815260206004820152600f60248201526e6e6f206d6f726520666c6f7765727360881b6044820152606401610555565b610856610850600b546001600160a01b031690565b60006109c760085490565b8210610a2a5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610555565b60088281548110610a3d57610a3d612059565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806104485760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610555565b60006001600160a01b038216610b315760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610555565b506001600160a01b031660009081526003602052604090205490565b600b546001600160a01b03163314610b775760405162461bcd60e51b815260040161055590611ed0565b610b8160006111d3565b565b60606001805461045d90611ff2565b6001600160a01b038216331415610beb5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610555565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610c613383610f17565b610c7d5760405162461bcd60e51b815260040161055590611f05565b610c8984848484611225565b50505050565b6060610c99611894565b6040518060a001604052806062815260200161209c606291398152600c805484908110610cc857610cc8612059565b90600052602060002001604051602001610ce29190611c06565b60408051601f1981840301815291815260208381019283528151808301835260068152651e17b9bb339f60d11b81830152848301819052845193519251600094610d3194909390929101611bc3565b60405160208183030381529060405290506000610d92600c8681548110610d5a57610d5a612059565b90600052602060002001610d6d84611258565b604051602001610d7e929190611c5c565b604051602081830303815290604052611258565b905080604051602001610da59190611de9565b60408051601f1981840301815291905295945050505050565b600b546001600160a01b03163314610de85760405162461bcd60e51b815260040161055590611ed0565b6001600160a01b038116610e4d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610555565b610e56816111d3565b50565b60006001600160e01b031982166380ac58cd60e01b1480610e8a57506001600160e01b03198216635b5e139f60e01b145b8061044857506301ffc9a760e01b6001600160e01b0319831614610448565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610ede82610a4f565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316610f905760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610555565b6000610f9b83610a4f565b9050806001600160a01b0316846001600160a01b03161480610fd65750836001600160a01b0316610fcb846104e0565b6001600160a01b0316145b8061100657506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661102182610a4f565b6001600160a01b0316146110895760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610555565b6001600160a01b0382166110eb5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610555565b6110f68383836113be565b611101600082610ea9565b6001600160a01b038316600090815260036020526040812080546001929061112a908490611faf565b90915550506001600160a01b0382166000908152600360205260408120805460019290611158908490611f56565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6108b7828260405180602001604052806000815250611476565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61123084848461100e565b61123c848484846114a9565b610c895760405162461bcd60e51b815260040161055590611e7e565b805160609080611278575050604080516020810190915260008152919050565b60006003611287836002611f56565b6112919190611f6e565b61129c906004611f90565b905060006112ab826020611f56565b67ffffffffffffffff8111156112c3576112c361206f565b6040519080825280601f01601f1916602001820160405280156112ed576020820181803683370190505b50905060006040518060600160405280604081526020016120fe604091399050600181016020830160005b86811015611379576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b835260049092019101611318565b50600386066001811461139357600281146113a4576113b0565b613d3d60f01b6001198301526113b0565b603d60f81b6000198301525b505050918152949350505050565b6001600160a01b0383166114195761141481600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61143c565b816001600160a01b0316836001600160a01b03161461143c5761143c83826115b6565b6001600160a01b0382166114535761068b81611653565b826001600160a01b0316826001600160a01b03161461068b5761068b8282611702565b6114808383611746565b61148d60008484846114a9565b61068b5760405162461bcd60e51b815260040161055590611e7e565b60006001600160a01b0384163b156115ab57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906114ed903390899088908890600401611e2e565b602060405180830381600087803b15801561150757600080fd5b505af1925050508015611537575060408051601f3d908101601f1916820190925261153491810190611ac7565b60015b611591573d808015611565576040519150601f19603f3d011682016040523d82523d6000602084013e61156a565b606091505b5080516115895760405162461bcd60e51b815260040161055590611e7e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611006565b506001949350505050565b600060016115c384610ac6565b6115cd9190611faf565b600083815260076020526040902054909150808214611620576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061166590600190611faf565b6000838152600960205260408120546008805493945090928490811061168d5761168d612059565b9060005260206000200154905080600883815481106116ae576116ae612059565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806116e6576116e6612043565b6001900381819060005260206000200160009055905550505050565b600061170d83610ac6565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b03821661179c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610555565b6000818152600260205260409020546001600160a01b0316156118015760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610555565b61180d600083836113be565b6001600160a01b0382166000908152600360205260408120805460019290611836908490611f56565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60405180606001604052806003905b60608152602001906001900390816118a35790505090565b80356001600160a01b03811681146118d257600080fd5b919050565b6000602082840312156118e957600080fd5b6118f2826118bb565b9392505050565b6000806040838503121561190c57600080fd5b611915836118bb565b9150611923602084016118bb565b90509250929050565b60008060006060848603121561194157600080fd5b61194a846118bb565b9250611958602085016118bb565b9150604084013590509250925092565b6000806000806080858703121561197e57600080fd5b611987856118bb565b9350611995602086016118bb565b925060408501359150606085013567ffffffffffffffff808211156119b957600080fd5b818701915087601f8301126119cd57600080fd5b8135818111156119df576119df61206f565b604051601f8201601f19908116603f01168101908382118183101715611a0757611a0761206f565b816040528281528a6020848701011115611a2057600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611a5757600080fd5b611a60836118bb565b915060208301358015158114611a7557600080fd5b809150509250929050565b60008060408385031215611a9357600080fd5b611a9c836118bb565b946020939093013593505050565b600060208284031215611abc57600080fd5b81356118f281612085565b600060208284031215611ad957600080fd5b81516118f281612085565b600060208284031215611af657600080fd5b5035919050565b60008151808452611b15816020860160208601611fc6565b601f01601f19169290920160200192915050565b8054600090600181811c9080831680611b4357607f831692505b6020808410821415611b6557634e487b7160e01b600052602260045260246000fd5b818015611b795760018114611b8a57611bb7565b60ff19861689528489019650611bb7565b60008881526020902060005b86811015611baf5781548b820152908501908301611b96565b505084890196505b50505050505092915050565b60008451611bd5818460208901611fc6565b845190830190611be9818360208901611fc6565b8451910190611bfc818360208801611fc6565b0195945050505050565b7f3c726563742077696474683d223130302522206865696768743d223130302522815266103334b6361e9160c91b60208201526000611c486027830184611b29565b631110179f60e11b81526004019392505050565b693d913730b6b2911d101160b11b81526000611c7b600a830185611b29565b7f222c20226465736372697074696f6e223a2022436f6c6f727320617265206f6e81527f2d636861696e2077696e2039352070616c6574746520636f6c6f72732e20457860208201527f7065637420686f6c6465727320746f206765742061636365737320746f206d6f60408201527f72652064726f707320696e20746865206675747572652e20546865726520697360608201527f206e6f204f5320666565732c206e6f20446973636f72642c206e6f207765627360808201527f69652e204920636f756c64206e6f7420736c6565702c20736f206861636b656460a08201527f20746869732075702e2055736520726573706f6e7369626c792e222c2022696d60c08201527f616765223a2022646174613a696d6167652f7376672b786d6c3b62617365363460e0820152600b60fa1b6101008201526101018451611dc88183850160208901611fc6565b611dde828285010161227d60f01b815260020190565b979650505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815260008251611e2181601d850160208701611fc6565b91909101601d0192915050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611e6190830184611afd565b9695505050505050565b6020815260006118f26020830184611afd565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115611f6957611f6961202d565b500190565b600082611f8b57634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611faa57611faa61202d565b500290565b600082821015611fc157611fc161202d565b500390565b60005b83811015611fe1578181015183820152602001611fc9565b83811115610c895750506000910152565b600181811c9082168061200657607f821691505b6020821081141561202757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610e5657600080fdfe3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f73766722207072657365727665417370656374526174696f3d22784d696e594d696e206d656574222076696577426f783d223020302032353620323536223e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa264697066735822122070bb2227a03f00625f3103bc0f23e38283d085673a41cdc8ff05e463abe9e20a64736f6c63430008070033

Deployed Bytecode

0x6080604052600436106101355760003560e01c80634f6ccce7116100ab57806395d89b411161006f57806395d89b4114610345578063a22cb4651461035a578063b88d4fde1461037a578063c87b56dd1461039a578063e985e9c5146103ba578063f2fde38b1461040357600080fd5b80634f6ccce7146102b25780636352211e146102d257806370a08231146102f2578063715018a6146103125780638da5cb5b1461032757600080fd5b806323b872dd116100fd57806323b872dd1461020a5780632f745c591461022a578063379607f51461024a5780633ccfd60b1461025d57806342842e0e14610272578063434f48c41461029257600080fd5b806301ffc9a71461013a57806306fdde031461016f578063081812fc14610191578063095ea7b3146101c957806318160ddd146101eb575b600080fd5b34801561014657600080fd5b5061015a610155366004611aaa565b610423565b60405190151581526020015b60405180910390f35b34801561017b57600080fd5b5061018461044e565b6040516101669190611e6b565b34801561019d57600080fd5b506101b16101ac366004611ae4565b6104e0565b6040516001600160a01b039091168152602001610166565b3480156101d557600080fd5b506101e96101e4366004611a80565b61057a565b005b3480156101f757600080fd5b506008545b604051908152602001610166565b34801561021657600080fd5b506101e961022536600461192c565b610690565b34801561023657600080fd5b506101fc610245366004611a80565b6106c1565b6101e9610258366004611ae4565b610757565b34801561026957600080fd5b506101e961085e565b34801561027e57600080fd5b506101e961028d36600461192c565b6108bb565b34801561029e57600080fd5b506101e96102ad366004611ae4565b6108d6565b3480156102be57600080fd5b506101fc6102cd366004611ae4565b6109bc565b3480156102de57600080fd5b506101b16102ed366004611ae4565b610a4f565b3480156102fe57600080fd5b506101fc61030d3660046118d7565b610ac6565b34801561031e57600080fd5b506101e9610b4d565b34801561033357600080fd5b50600b546001600160a01b03166101b1565b34801561035157600080fd5b50610184610b83565b34801561036657600080fd5b506101e9610375366004611a44565b610b92565b34801561038657600080fd5b506101e9610395366004611968565b610c57565b3480156103a657600080fd5b506101846103b5366004611ae4565b610c8f565b3480156103c657600080fd5b5061015a6103d53660046118f9565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561040f57600080fd5b506101e961041e3660046118d7565b610dbe565b60006001600160e01b0319821663780e9d6360e01b1480610448575061044882610e59565b92915050565b60606000805461045d90611ff2565b80601f016020809104026020016040519081016040528092919081815260200182805461048990611ff2565b80156104d65780601f106104ab576101008083540402835291602001916104d6565b820191906000526020600020905b8154815290600101906020018083116104b957829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661055e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061058582610a4f565b9050806001600160a01b0316836001600160a01b031614156105f35760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610555565b336001600160a01b038216148061060f575061060f81336103d5565b6106815760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610555565b61068b8383610ea9565b505050565b61069a3382610f17565b6106b65760405162461bcd60e51b815260040161055590611f05565b61068b83838361100e565b60006106cc83610ac6565b821061072e5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610555565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6002600a5414156107aa5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610555565b6002600a5580158015906107be575060fa81105b6107fd5760405162461bcd60e51b815260206004820152601060248201526f1d1bdad95b881a59081a5b9d985b1a5960821b6044820152606401610555565b34670de0b6b3a76400001461084b5760405162461bcd60e51b81526020600482015260146024820152731cd95b99080c48195d1a195c881d1bc81b5a5b9d60621b6044820152606401610555565b610856335b826111b9565b506001600a55565b600b546001600160a01b031633146108885760405162461bcd60e51b815260040161055590611ed0565b6040514790339082156108fc029083906000818181858888f193505050501580156108b7573d6000803e3d6000fd5b5050565b61068b83838360405180602001604052806000815250610c57565b6002600a5414156109295760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610555565b6002600a55600b546001600160a01b031633146109585760405162461bcd60e51b815260040161055590611ed0565b60f981118015610969575061010181105b6109a75760405162461bcd60e51b815260206004820152600f60248201526e6e6f206d6f726520666c6f7765727360881b6044820152606401610555565b610856610850600b546001600160a01b031690565b60006109c760085490565b8210610a2a5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610555565b60088281548110610a3d57610a3d612059565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806104485760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610555565b60006001600160a01b038216610b315760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610555565b506001600160a01b031660009081526003602052604090205490565b600b546001600160a01b03163314610b775760405162461bcd60e51b815260040161055590611ed0565b610b8160006111d3565b565b60606001805461045d90611ff2565b6001600160a01b038216331415610beb5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610555565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610c613383610f17565b610c7d5760405162461bcd60e51b815260040161055590611f05565b610c8984848484611225565b50505050565b6060610c99611894565b6040518060a001604052806062815260200161209c606291398152600c805484908110610cc857610cc8612059565b90600052602060002001604051602001610ce29190611c06565b60408051601f1981840301815291815260208381019283528151808301835260068152651e17b9bb339f60d11b81830152848301819052845193519251600094610d3194909390929101611bc3565b60405160208183030381529060405290506000610d92600c8681548110610d5a57610d5a612059565b90600052602060002001610d6d84611258565b604051602001610d7e929190611c5c565b604051602081830303815290604052611258565b905080604051602001610da59190611de9565b60408051601f1981840301815291905295945050505050565b600b546001600160a01b03163314610de85760405162461bcd60e51b815260040161055590611ed0565b6001600160a01b038116610e4d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610555565b610e56816111d3565b50565b60006001600160e01b031982166380ac58cd60e01b1480610e8a57506001600160e01b03198216635b5e139f60e01b145b8061044857506301ffc9a760e01b6001600160e01b0319831614610448565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610ede82610a4f565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316610f905760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610555565b6000610f9b83610a4f565b9050806001600160a01b0316846001600160a01b03161480610fd65750836001600160a01b0316610fcb846104e0565b6001600160a01b0316145b8061100657506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661102182610a4f565b6001600160a01b0316146110895760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610555565b6001600160a01b0382166110eb5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610555565b6110f68383836113be565b611101600082610ea9565b6001600160a01b038316600090815260036020526040812080546001929061112a908490611faf565b90915550506001600160a01b0382166000908152600360205260408120805460019290611158908490611f56565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6108b7828260405180602001604052806000815250611476565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61123084848461100e565b61123c848484846114a9565b610c895760405162461bcd60e51b815260040161055590611e7e565b805160609080611278575050604080516020810190915260008152919050565b60006003611287836002611f56565b6112919190611f6e565b61129c906004611f90565b905060006112ab826020611f56565b67ffffffffffffffff8111156112c3576112c361206f565b6040519080825280601f01601f1916602001820160405280156112ed576020820181803683370190505b50905060006040518060600160405280604081526020016120fe604091399050600181016020830160005b86811015611379576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b835260049092019101611318565b50600386066001811461139357600281146113a4576113b0565b613d3d60f01b6001198301526113b0565b603d60f81b6000198301525b505050918152949350505050565b6001600160a01b0383166114195761141481600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61143c565b816001600160a01b0316836001600160a01b03161461143c5761143c83826115b6565b6001600160a01b0382166114535761068b81611653565b826001600160a01b0316826001600160a01b03161461068b5761068b8282611702565b6114808383611746565b61148d60008484846114a9565b61068b5760405162461bcd60e51b815260040161055590611e7e565b60006001600160a01b0384163b156115ab57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906114ed903390899088908890600401611e2e565b602060405180830381600087803b15801561150757600080fd5b505af1925050508015611537575060408051601f3d908101601f1916820190925261153491810190611ac7565b60015b611591573d808015611565576040519150601f19603f3d011682016040523d82523d6000602084013e61156a565b606091505b5080516115895760405162461bcd60e51b815260040161055590611e7e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611006565b506001949350505050565b600060016115c384610ac6565b6115cd9190611faf565b600083815260076020526040902054909150808214611620576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061166590600190611faf565b6000838152600960205260408120546008805493945090928490811061168d5761168d612059565b9060005260206000200154905080600883815481106116ae576116ae612059565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806116e6576116e6612043565b6001900381819060005260206000200160009055905550505050565b600061170d83610ac6565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b03821661179c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610555565b6000818152600260205260409020546001600160a01b0316156118015760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610555565b61180d600083836113be565b6001600160a01b0382166000908152600360205260408120805460019290611836908490611f56565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60405180606001604052806003905b60608152602001906001900390816118a35790505090565b80356001600160a01b03811681146118d257600080fd5b919050565b6000602082840312156118e957600080fd5b6118f2826118bb565b9392505050565b6000806040838503121561190c57600080fd5b611915836118bb565b9150611923602084016118bb565b90509250929050565b60008060006060848603121561194157600080fd5b61194a846118bb565b9250611958602085016118bb565b9150604084013590509250925092565b6000806000806080858703121561197e57600080fd5b611987856118bb565b9350611995602086016118bb565b925060408501359150606085013567ffffffffffffffff808211156119b957600080fd5b818701915087601f8301126119cd57600080fd5b8135818111156119df576119df61206f565b604051601f8201601f19908116603f01168101908382118183101715611a0757611a0761206f565b816040528281528a6020848701011115611a2057600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611a5757600080fd5b611a60836118bb565b915060208301358015158114611a7557600080fd5b809150509250929050565b60008060408385031215611a9357600080fd5b611a9c836118bb565b946020939093013593505050565b600060208284031215611abc57600080fd5b81356118f281612085565b600060208284031215611ad957600080fd5b81516118f281612085565b600060208284031215611af657600080fd5b5035919050565b60008151808452611b15816020860160208601611fc6565b601f01601f19169290920160200192915050565b8054600090600181811c9080831680611b4357607f831692505b6020808410821415611b6557634e487b7160e01b600052602260045260246000fd5b818015611b795760018114611b8a57611bb7565b60ff19861689528489019650611bb7565b60008881526020902060005b86811015611baf5781548b820152908501908301611b96565b505084890196505b50505050505092915050565b60008451611bd5818460208901611fc6565b845190830190611be9818360208901611fc6565b8451910190611bfc818360208801611fc6565b0195945050505050565b7f3c726563742077696474683d223130302522206865696768743d223130302522815266103334b6361e9160c91b60208201526000611c486027830184611b29565b631110179f60e11b81526004019392505050565b693d913730b6b2911d101160b11b81526000611c7b600a830185611b29565b7f222c20226465736372697074696f6e223a2022436f6c6f727320617265206f6e81527f2d636861696e2077696e2039352070616c6574746520636f6c6f72732e20457860208201527f7065637420686f6c6465727320746f206765742061636365737320746f206d6f60408201527f72652064726f707320696e20746865206675747572652e20546865726520697360608201527f206e6f204f5320666565732c206e6f20446973636f72642c206e6f207765627360808201527f69652e204920636f756c64206e6f7420736c6565702c20736f206861636b656460a08201527f20746869732075702e2055736520726573706f6e7369626c792e222c2022696d60c08201527f616765223a2022646174613a696d6167652f7376672b786d6c3b62617365363460e0820152600b60fa1b6101008201526101018451611dc88183850160208901611fc6565b611dde828285010161227d60f01b815260020190565b979650505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815260008251611e2181601d850160208701611fc6565b91909101601d0192915050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611e6190830184611afd565b9695505050505050565b6020815260006118f26020830184611afd565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115611f6957611f6961202d565b500190565b600082611f8b57634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611faa57611faa61202d565b500290565b600082821015611fc157611fc161202d565b500390565b60005b83811015611fe1578181015183820152602001611fc9565b83811115610c895750506000910152565b600181811c9082168061200657607f821691505b6020821081141561202757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610e5657600080fdfe3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f73766722207072657365727665417370656374526174696f3d22784d696e594d696e206d656574222076696577426f783d223020302032353620323536223e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa264697066735822122070bb2227a03f00625f3103bc0f23e38283d085673a41cdc8ff05e463abe9e20a64736f6c63430008070033

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.