ETH Price: $3,391.77 (-1.95%)
Gas: 4 Gwei

Token

d (D)
 

Overview

Max Total Supply

0 D

Holders

45

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
geo.eth
Balance
1 D
0x28d804bf2212e220bc2b7b6252993db8286df07f
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:
D

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 10000 runs

Other Settings:
default evmVersion
File 1 of 13 : D.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

import "./Base64.sol";

contract D is ERC721, Ownable, ReentrancyGuard {
    using Strings for string;

    struct Date {
        uint16 year;
        uint8 month;
        uint8 day;
    }
    mapping(uint256 => Date) private id_to_Date;

    string[] private months = [
        "JANUARY",
        "FEBRUARY",
        "MARCH",
        "APRIL",
        "MAY",
        "JUNE",
        "JULY",
        "AUGUST",
        "SEPTEMBER",
        "OCTOBER",
        "NOVEMBER",
        "DECEMBER"
    ];

    constructor() ERC721("d", "D") {}

    function safeMint(
        uint16 year,
        uint8 month,
        uint8 day,
        address to
    ) public {
        uint256 _tokenId = id(year, month, day);
        require(!_exists(_tokenId), "D: date already claimed");
        id_to_Date[_tokenId] = Date(year, month, day);

        _safeMint(to, _tokenId);
    }

    function id(
        uint16 year,
        uint8 month,
        uint8 day
    ) internal pure returns (uint256) {
        require(1 <= day && day <= numDaysInMonth(month, year));
        return uint256(year) * 10000 + uint256(month) * 100 + uint256(day);
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(_exists(tokenId), "D: URI query for nonexistent token");
        string[7] memory parts;

        Date memory date = id_to_Date[tokenId];

        parts[
            0
        ] = '<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMin meet" viewBox="0 0 350 350"><style>.base { fill: white; font-family: sans-serif; font-size: 28px; }</style><rect width="100%" height="100%" fill="black" /><text x="20" y="330" class="base">';
        parts[1] = Strings.toString(date.year);
        parts[2] = " ";
        parts[3] = months[date.month - 1];
        parts[4] = " ";
        parts[5] = Strings.toString(date.day);
        parts[6] = "</text></svg>";

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

        string memory json = Base64.encode(
            bytes(
                string(
                    abi.encodePacked(
                        '{"name": "D #',
                        Strings.toString(tokenId),
                        '", "description": "D is just a date.", "image": "data:image/svg+xml;base64,',
                        Base64.encode(bytes(output)),
                        '", "attributes": [{"trait_type": "Year", "value": ',
                        Strings.toString(date.year),
                        '}, {"trait_type": "Month", "value": ',
                        Strings.toString(date.month),
                        '}, {"trait_type": "Day", "value": ',
                        Strings.toString(date.day),
                        "}] }"
                    )
                )
            )
        );
        output = string(
            abi.encodePacked("data:application/json;base64,", json)
        );

        return output;
    }

    function get(uint256 tokenId)
        external
        view
        returns (
            uint16 year,
            uint8 month,
            uint8 day
        )
    {
        require(_exists(tokenId), "D: token not minted");
        Date memory date = id_to_Date[tokenId];
        year = date.year;
        month = date.month;
        day = date.day;
    }

    function isLeapYear(uint16 year) public pure returns (bool) {
        require(1 <= year, "D: year must be bigger or equal 1");
        return (year % 4 == 0) && (year % 100 == 0) && (year % 400 == 0);
    }

    function numDaysInMonth(uint8 month, uint16 year)
        public
        pure
        returns (uint8)
    {
        require(1 <= month && month <= 12, "D: month must be between 1 and 12");
        require(1 <= year, "D: year must be bigger or equal 1");

        if (
            month == 1 ||
            month == 3 ||
            month == 5 ||
            month == 7 ||
            month == 8 ||
            month == 10 ||
            month == 12
        ) {
            return 31;
        } else if (month == 2) {
            return isLeapYear(year) ? 29 : 28;
        } else {
            return 30;
        }
    }
}

File 2 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

File 3 of 13 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 4 of 13 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 5 of 13 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 6 of 13 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 7 of 13 : Base64.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 8 of 13 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 9 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 10 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

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

File 11 of 13 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

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

File 12 of 13 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 13 of 13 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 10000
  },
  "evmVersion": "london",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

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":"get","outputs":[{"internalType":"uint16","name":"year","type":"uint16"},{"internalType":"uint8","name":"month","type":"uint8"},{"internalType":"uint8","name":"day","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"year","type":"uint16"}],"name":"isLeapYear","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"month","type":"uint8"},{"internalType":"uint16","name":"year","type":"uint16"}],"name":"numDaysInMonth","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"year","type":"uint16"},{"internalType":"uint8","name":"month","type":"uint8"},{"internalType":"uint8","name":"day","type":"uint8"},{"internalType":"address","name":"to","type":"address"}],"name":"safeMint","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":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6007610200818152664a414e5541525960c81b610220526080908152600861024081815267464542525541525960c01b6102605260a05260056102808181526409a82a486960db1b6102a05260c0526102c090815264105414925360da1b6102e05260e0526003610300908152624d415960e81b61032052610100526004610340818152634a554e4560e01b6103605261012052610380908152634a554c5960e01b6103a0526101405260066103c090815265105551d554d560d21b6103e0526101605260096104008181526829a2a82a22a6a122a960b91b61042052610180526104409384526627a1aa27a122a960c91b610460526101a093909352610480818152672727ab22a6a122a960c11b6104a0526101c0526105006040526104c0908152672222a1a2a6a122a960c11b6104e0526101e052620001449190600c62000233565b503480156200015257600080fd5b50604051806040016040528060018152602001601960fa1b815250604051806040016040528060018152602001601160fa1b81525081600090805190602001906200019f92919062000297565b508051620001b590600190602084019062000297565b505050620001d2620001cc620001dd60201b60201c565b620001e1565b6001600755620003d9565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805482825590600052602060002090810192821562000285579160200282015b828111156200028557825180516200027491849160209091019062000297565b509160200191906001019062000254565b506200029392915062000322565b5090565b828054620002a5906200039c565b90600052602060002090601f016020900481019282620002c9576000855562000314565b82601f10620002e457805160ff191683800117855562000314565b8280016001018555821562000314579182015b8281111562000314578251825591602001919060010190620002f7565b506200029392915062000343565b80821115620002935760006200033982826200035a565b5060010162000322565b5b8082111562000293576000815560010162000344565b50805462000368906200039c565b6000825580601f1062000379575050565b601f01602090049060005260206000209081019062000399919062000343565b50565b600181811c90821680620003b157607f821691505b60208210811415620003d357634e487b7160e01b600052602260045260246000fd5b50919050565b612bee80620003e96000396000f3fe608060405234801561001057600080fd5b506004361061016c5760003560e01c8063715018a6116100cd578063a6f0e57711610081578063c87b56dd11610066578063c87b56dd1461032b578063e985e9c51461033e578063f2fde38b1461038757600080fd5b8063a6f0e57714610305578063b88d4fde1461031857600080fd5b80639507d39a116100b25780639507d39a146102b357806395d89b41146102ea578063a22cb465146102f257600080fd5b8063715018a61461028d5780638da5cb5b1461029557600080fd5b806323b872dd116101245780635333f08f116101095780635333f08f146102345780636352211e1461025957806370a082311461026c57600080fd5b806323b872dd1461020e57806342842e0e1461022157600080fd5b8063081812fc11610155578063081812fc146101ae578063095ea7b3146101e657806320d83c45146101fb57600080fd5b806301ffc9a71461017157806306fdde0314610199575b600080fd5b61018461017f36600461235f565b61039a565b60405190151581526020015b60405180910390f35b6101a161047f565b60405161019091906127e7565b6101c16101bc366004612408565b610511565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610190565b6101f96101f4366004612335565b6105d6565b005b6101f96102093660046123b4565b61072f565b6101f961021c3660046121c3565b610867565b6101f961022f3660046121c3565b6108ee565b610247610242366004612421565b610909565b60405160ff9091168152602001610190565b6101c1610267366004612408565b610aab565b61027f61027a36600461216e565b610b43565b604051908152602001610190565b6101f9610bf7565b60065473ffffffffffffffffffffffffffffffffffffffff166101c1565b6102c66102c1366004612408565b610c6a565b6040805161ffff909416845260ff9283166020850152911690820152606001610190565b6101a1610d2f565b6101f96103003660046122f9565b610d3e565b610184610313366004612399565b610e3b565b6101f96103263660046121ff565b610efe565b6101a1610339366004612408565b610f8c565b61018461034c366004612190565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205460ff1690565b6101f961039536600461216e565b611347565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061042d57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061047957507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b60606000805461048e906128c9565b80601f01602080910402602001604051908101604052809291908181526020018280546104ba906128c9565b80156105075780601f106104dc57610100808354040283529160200191610507565b820191906000526020600020905b8154815290600101906020018083116104ea57829003601f168201915b5050505050905090565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff166105ad5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b60006105e182610aab565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156106855760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016105a4565b3373ffffffffffffffffffffffffffffffffffffffff821614806106ae57506106ae813361034c565b6107205760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016105a4565b61072a8383611443565b505050565b600061073c8585856114e3565b60008181526002602052604090205490915073ffffffffffffffffffffffffffffffffffffffff16156107b15760405162461bcd60e51b815260206004820152601760248201527f443a206461746520616c726561647920636c61696d656400000000000000000060448201526064016105a4565b6040805160608101825261ffff878116825260ff878116602080850191825288831685870190815260008881526008909252959020935184549151955193167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000909116176201000094821694909402939093177fffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffff16630100000091909316029190911790556108608282611551565b5050505050565b610871338261156f565b6108e35760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016105a4565b61072a8383836116c1565b61072a83838360405180602001604052806000815250610efe565b60008260ff166001111580156109235750600c8360ff1611155b6109955760405162461bcd60e51b815260206004820152602160248201527f443a206d6f6e7468206d757374206265206265747765656e203120616e64203160448201527f320000000000000000000000000000000000000000000000000000000000000060648201526084016105a4565b8161ffff1660011115610a105760405162461bcd60e51b815260206004820152602160248201527f443a2079656172206d75737420626520626967676572206f7220657175616c2060448201527f310000000000000000000000000000000000000000000000000000000000000060648201526084016105a4565b8260ff1660011480610a2557508260ff166003145b80610a3357508260ff166005145b80610a4157508260ff166007145b80610a4f57508260ff166008145b80610a5d57508260ff16600a145b80610a6b57508260ff16600c145b15610a785750601f610479565b8260ff1660021415610aa257610a8d82610e3b565b610a9857601c610a9b565b601d5b9050610479565b50601e92915050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16806104795760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016105a4565b600073ffffffffffffffffffffffffffffffffffffffff8216610bce5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016105a4565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b60065473ffffffffffffffffffffffffffffffffffffffff163314610c5e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a4565b610c6860006118f4565b565b6000818152600260205260408120548190819073ffffffffffffffffffffffffffffffffffffffff16610cdf5760405162461bcd60e51b815260206004820152601360248201527f443a20746f6b656e206e6f74206d696e7465640000000000000000000000000060448201526064016105a4565b5050506000908152600860209081526040918290208251606081018452905461ffff811680835260ff62010000830481169484018590526301000000909204909116919093018190529192909190565b60606001805461048e906128c9565b73ffffffffffffffffffffffffffffffffffffffff8216331415610da45760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105a4565b33600081815260056020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60008161ffff1660011115610eb85760405162461bcd60e51b815260206004820152602160248201527f443a2079656172206d75737420626520626967676572206f7220657175616c2060448201527f310000000000000000000000000000000000000000000000000000000000000060648201526084016105a4565b610ec3600483612956565b61ffff16158015610ee05750610eda606483612956565b61ffff16155b80156104795750610ef361019083612956565b61ffff161592915050565b610f08338361156f565b610f7a5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016105a4565b610f868484848461196b565b50505050565b60008181526002602052604090205460609073ffffffffffffffffffffffffffffffffffffffff166110265760405162461bcd60e51b815260206004820152602260248201527f443a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b60448201527f656e00000000000000000000000000000000000000000000000000000000000060648201526084016105a4565b61102e6120fb565b6000838152600860209081526040918290208251606081018452905461ffff8116825260ff6201000082048116838501526301000000909104168184015282516101408101909352610103808452909291612a7690830139825280516110979061ffff166119f4565b60208381019190915260408051808201825260018082527f20000000000000000000000000000000000000000000000000000000000000008285015291850152908201516009916110e79161287a565b60ff16815481106110fa576110fa6129e9565b90600052602060002001805461110f906128c9565b80601f016020809104026020016040519081016040528092919081815260200182805461113b906128c9565b80156111885780601f1061115d57610100808354040283529160200191611188565b820191906000526020600020905b81548152906001019060200180831161116b57829003601f168201915b5050505050826003600781106111a0576111a06129e9565b60200201819052506040518060400160405280600181526020017f2000000000000000000000000000000000000000000000000000000000000000815250826004600781106111f1576111f16129e9565b602002015260408101516112079060ff166119f4565b60a08301908152604080518082018252600d81527f3c2f746578743e3c2f7376673e0000000000000000000000000000000000000060208083019190915260c0860182905285518187015184880151606089015160808a01519751965160009861127d98959794969395929490939091016124b1565b604051602081830303815290604052905060006112fc61129c876119f4565b6112a584611b26565b85516112b49061ffff166119f4565b6112c4876020015160ff166119f4565b6112d4886040015160ff166119f4565b6040516020016112e8959493929190612543565b604051602081830303815290604052611b26565b90508060405160200161130f9190612759565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190529695505050505050565b60065473ffffffffffffffffffffffffffffffffffffffff1633146113ae5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a4565b73ffffffffffffffffffffffffffffffffffffffff81166114375760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016105a4565b611440816118f4565b50565b600081815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8416908117909155819061149d82610aab565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008160ff1660011115801561150857506114fe8385610909565b60ff168260ff1611155b61151157600080fd5b8160ff168360ff1660646115259190612826565b61153561ffff8716612710612826565b61153f91906127fa565b61154991906127fa565b949350505050565b61156b828260405180602001604052806000815250611cff565b5050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff166116065760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016105a4565b600061161183610aab565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061168057508373ffffffffffffffffffffffffffffffffffffffff1661166884610511565b73ffffffffffffffffffffffffffffffffffffffff16145b80611549575073ffffffffffffffffffffffffffffffffffffffff80821660009081526005602090815260408083209388168352929052205460ff16611549565b8273ffffffffffffffffffffffffffffffffffffffff166116e182610aab565b73ffffffffffffffffffffffffffffffffffffffff161461176a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016105a4565b73ffffffffffffffffffffffffffffffffffffffff82166117f25760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016105a4565b6117fd600082611443565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600360205260408120805460019290611833908490612863565b909155505073ffffffffffffffffffffffffffffffffffffffff8216600090815260036020526040812080546001929061186e9084906127fa565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6006805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6119768484846116c1565b61198284848484611d88565b610f865760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016105a4565b606081611a3457505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611a5e5780611a488161291d565b9150611a579050600a83612812565b9150611a38565b60008167ffffffffffffffff811115611a7957611a79612a18565b6040519080825280601f01601f191660200182016040528015611aa3576020820181803683370190505b5090505b841561154957611ab8600183612863565b9150611ac5600a86612977565b611ad09060306127fa565b60f81b818381518110611ae557611ae56129e9565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611b1f600a86612812565b9450611aa7565b805160609080611b46575050604080516020810190915260008152919050565b60006003611b558360026127fa565b611b5f9190612812565b611b6a906004612826565b90506000611b798260206127fa565b67ffffffffffffffff811115611b9157611b91612a18565b6040519080825280601f01601f191660200182016040528015611bbb576020820181803683370190505b5090506000604051806060016040528060408152602001612b79604091399050600181016020830160005b86811015611c47576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b835260049092019101611be6565b506003860660018114611c615760028114611cab57611cf1565b7f3d3d0000000000000000000000000000000000000000000000000000000000007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe830152611cf1565b7f3d000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8301525b505050918152949350505050565b611d098383611f6d565b611d166000848484611d88565b61072a5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016105a4565b600073ffffffffffffffffffffffffffffffffffffffff84163b15611f62576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290611dff90339089908890889060040161279e565b602060405180830381600087803b158015611e1957600080fd5b505af1925050508015611e67575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252611e649181019061237c565b60015b611f17573d808015611e95576040519150601f19603f3d011682016040523d82523d6000602084013e611e9a565b606091505b508051611f0f5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016105a4565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611549565b506001949350505050565b73ffffffffffffffffffffffffffffffffffffffff8216611fd05760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105a4565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff16156120425760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105a4565b73ffffffffffffffffffffffffffffffffffffffff821660009081526003602052604081208054600192906120789084906127fa565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6040518060e001604052806007905b606081526020019060019003908161210a5790505090565b803573ffffffffffffffffffffffffffffffffffffffff8116811461214657600080fd5b919050565b803561ffff8116811461214657600080fd5b803560ff8116811461214657600080fd5b60006020828403121561218057600080fd5b61218982612122565b9392505050565b600080604083850312156121a357600080fd5b6121ac83612122565b91506121ba60208401612122565b90509250929050565b6000806000606084860312156121d857600080fd5b6121e184612122565b92506121ef60208501612122565b9150604084013590509250925092565b6000806000806080858703121561221557600080fd5b61221e85612122565b935061222c60208601612122565b925060408501359150606085013567ffffffffffffffff8082111561225057600080fd5b818701915087601f83011261226457600080fd5b81358181111561227657612276612a18565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156122bc576122bc612a18565b816040528281528a60208487010111156122d557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561230c57600080fd5b61231583612122565b91506020830135801515811461232a57600080fd5b809150509250929050565b6000806040838503121561234857600080fd5b61235183612122565b946020939093013593505050565b60006020828403121561237157600080fd5b813561218981612a47565b60006020828403121561238e57600080fd5b815161218981612a47565b6000602082840312156123ab57600080fd5b6121898261214b565b600080600080608085870312156123ca57600080fd5b6123d38561214b565b93506123e16020860161215d565b92506123ef6040860161215d565b91506123fd60608601612122565b905092959194509250565b60006020828403121561241a57600080fd5b5035919050565b6000806040838503121561243457600080fd5b61243d8361215d565b91506121ba6020840161214b565b6000815180845261246381602086016020860161289d565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600081516124a781856020860161289d565b9290920192915050565b6000885160206124c48285838e0161289d565b8951918401916124d78184848e0161289d565b89519201916124e98184848d0161289d565b88519201916124fb8184848c0161289d565b875192019161250d8184848b0161289d565b865192019161251f8184848a0161289d565b8551920191612531818484890161289d565b919091019a9950505050505050505050565b7f7b226e616d65223a20224420230000000000000000000000000000000000000081526000865161257b81600d850160208b0161289d565b7f222c20226465736372697074696f6e223a202244206973206a75737420612064600d918401918201527f6174652e222c2022696d616765223a2022646174613a696d6167652f7376672b602d8201527f786d6c3b6261736536342c000000000000000000000000000000000000000000604d8201528651612604816058840160208b0161289d565b7f222c202261747472696275746573223a205b7b2274726169745f74797065223a605892909101918201527f202259656172222c202276616c7565223a2000000000000000000000000000006078820152855161266881608a840160208a0161289d565b7f7d2c207b2274726169745f74797065223a20224d6f6e7468222c202276616c75608a92909101918201527f65223a200000000000000000000000000000000000000000000000000000000060aa82015261274d61272461271e6126cf60ae850189612495565b7f7d2c207b2274726169745f74797065223a2022446179222c202276616c75652281527f3a20000000000000000000000000000000000000000000000000000000000000602082015260220190565b86612495565b7f7d5d207d00000000000000000000000000000000000000000000000000000000815260040190565b98975050505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161279181601d85016020870161289d565b91909101601d0192915050565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526127dd608083018461244b565b9695505050505050565b602081526000612189602083018461244b565b6000821982111561280d5761280d61298b565b500190565b600082612821576128216129ba565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561285e5761285e61298b565b500290565b6000828210156128755761287561298b565b500390565b600060ff821660ff8416808210156128945761289461298b565b90039392505050565b60005b838110156128b85781810151838201526020016128a0565b83811115610f865750506000910152565b600181811c908216806128dd57607f821691505b60208210811415612917577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561294f5761294f61298b565b5060010190565b600061ffff8084168061296b5761296b6129ba565b92169190910692915050565b600082612986576129866129ba565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7fffffffff000000000000000000000000000000000000000000000000000000008116811461144057600080fdfe3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f73766722207072657365727665417370656374526174696f3d22784d696e594d696e206d656574222076696577426f783d223020302033353020333530223e3c7374796c653e2e62617365207b2066696c6c3a2077686974653b20666f6e742d66616d696c793a2073616e732d73657269663b20666f6e742d73697a653a20323870783b207d3c2f7374796c653e3c726563742077696474683d223130302522206865696768743d2231303025222066696c6c3d22626c61636b22202f3e3c7465787420783d2232302220793d223333302220636c6173733d2262617365223e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220339860972030cde6f132bef33e589f75baf227009a7ec5a1a2cbb852946b04fc64736f6c63430008070033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061016c5760003560e01c8063715018a6116100cd578063a6f0e57711610081578063c87b56dd11610066578063c87b56dd1461032b578063e985e9c51461033e578063f2fde38b1461038757600080fd5b8063a6f0e57714610305578063b88d4fde1461031857600080fd5b80639507d39a116100b25780639507d39a146102b357806395d89b41146102ea578063a22cb465146102f257600080fd5b8063715018a61461028d5780638da5cb5b1461029557600080fd5b806323b872dd116101245780635333f08f116101095780635333f08f146102345780636352211e1461025957806370a082311461026c57600080fd5b806323b872dd1461020e57806342842e0e1461022157600080fd5b8063081812fc11610155578063081812fc146101ae578063095ea7b3146101e657806320d83c45146101fb57600080fd5b806301ffc9a71461017157806306fdde0314610199575b600080fd5b61018461017f36600461235f565b61039a565b60405190151581526020015b60405180910390f35b6101a161047f565b60405161019091906127e7565b6101c16101bc366004612408565b610511565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610190565b6101f96101f4366004612335565b6105d6565b005b6101f96102093660046123b4565b61072f565b6101f961021c3660046121c3565b610867565b6101f961022f3660046121c3565b6108ee565b610247610242366004612421565b610909565b60405160ff9091168152602001610190565b6101c1610267366004612408565b610aab565b61027f61027a36600461216e565b610b43565b604051908152602001610190565b6101f9610bf7565b60065473ffffffffffffffffffffffffffffffffffffffff166101c1565b6102c66102c1366004612408565b610c6a565b6040805161ffff909416845260ff9283166020850152911690820152606001610190565b6101a1610d2f565b6101f96103003660046122f9565b610d3e565b610184610313366004612399565b610e3b565b6101f96103263660046121ff565b610efe565b6101a1610339366004612408565b610f8c565b61018461034c366004612190565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205460ff1690565b6101f961039536600461216e565b611347565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061042d57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061047957507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b60606000805461048e906128c9565b80601f01602080910402602001604051908101604052809291908181526020018280546104ba906128c9565b80156105075780601f106104dc57610100808354040283529160200191610507565b820191906000526020600020905b8154815290600101906020018083116104ea57829003601f168201915b5050505050905090565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff166105ad5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b60006105e182610aab565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156106855760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016105a4565b3373ffffffffffffffffffffffffffffffffffffffff821614806106ae57506106ae813361034c565b6107205760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016105a4565b61072a8383611443565b505050565b600061073c8585856114e3565b60008181526002602052604090205490915073ffffffffffffffffffffffffffffffffffffffff16156107b15760405162461bcd60e51b815260206004820152601760248201527f443a206461746520616c726561647920636c61696d656400000000000000000060448201526064016105a4565b6040805160608101825261ffff878116825260ff878116602080850191825288831685870190815260008881526008909252959020935184549151955193167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000909116176201000094821694909402939093177fffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffff16630100000091909316029190911790556108608282611551565b5050505050565b610871338261156f565b6108e35760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016105a4565b61072a8383836116c1565b61072a83838360405180602001604052806000815250610efe565b60008260ff166001111580156109235750600c8360ff1611155b6109955760405162461bcd60e51b815260206004820152602160248201527f443a206d6f6e7468206d757374206265206265747765656e203120616e64203160448201527f320000000000000000000000000000000000000000000000000000000000000060648201526084016105a4565b8161ffff1660011115610a105760405162461bcd60e51b815260206004820152602160248201527f443a2079656172206d75737420626520626967676572206f7220657175616c2060448201527f310000000000000000000000000000000000000000000000000000000000000060648201526084016105a4565b8260ff1660011480610a2557508260ff166003145b80610a3357508260ff166005145b80610a4157508260ff166007145b80610a4f57508260ff166008145b80610a5d57508260ff16600a145b80610a6b57508260ff16600c145b15610a785750601f610479565b8260ff1660021415610aa257610a8d82610e3b565b610a9857601c610a9b565b601d5b9050610479565b50601e92915050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16806104795760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016105a4565b600073ffffffffffffffffffffffffffffffffffffffff8216610bce5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016105a4565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b60065473ffffffffffffffffffffffffffffffffffffffff163314610c5e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a4565b610c6860006118f4565b565b6000818152600260205260408120548190819073ffffffffffffffffffffffffffffffffffffffff16610cdf5760405162461bcd60e51b815260206004820152601360248201527f443a20746f6b656e206e6f74206d696e7465640000000000000000000000000060448201526064016105a4565b5050506000908152600860209081526040918290208251606081018452905461ffff811680835260ff62010000830481169484018590526301000000909204909116919093018190529192909190565b60606001805461048e906128c9565b73ffffffffffffffffffffffffffffffffffffffff8216331415610da45760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105a4565b33600081815260056020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60008161ffff1660011115610eb85760405162461bcd60e51b815260206004820152602160248201527f443a2079656172206d75737420626520626967676572206f7220657175616c2060448201527f310000000000000000000000000000000000000000000000000000000000000060648201526084016105a4565b610ec3600483612956565b61ffff16158015610ee05750610eda606483612956565b61ffff16155b80156104795750610ef361019083612956565b61ffff161592915050565b610f08338361156f565b610f7a5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016105a4565b610f868484848461196b565b50505050565b60008181526002602052604090205460609073ffffffffffffffffffffffffffffffffffffffff166110265760405162461bcd60e51b815260206004820152602260248201527f443a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b60448201527f656e00000000000000000000000000000000000000000000000000000000000060648201526084016105a4565b61102e6120fb565b6000838152600860209081526040918290208251606081018452905461ffff8116825260ff6201000082048116838501526301000000909104168184015282516101408101909352610103808452909291612a7690830139825280516110979061ffff166119f4565b60208381019190915260408051808201825260018082527f20000000000000000000000000000000000000000000000000000000000000008285015291850152908201516009916110e79161287a565b60ff16815481106110fa576110fa6129e9565b90600052602060002001805461110f906128c9565b80601f016020809104026020016040519081016040528092919081815260200182805461113b906128c9565b80156111885780601f1061115d57610100808354040283529160200191611188565b820191906000526020600020905b81548152906001019060200180831161116b57829003601f168201915b5050505050826003600781106111a0576111a06129e9565b60200201819052506040518060400160405280600181526020017f2000000000000000000000000000000000000000000000000000000000000000815250826004600781106111f1576111f16129e9565b602002015260408101516112079060ff166119f4565b60a08301908152604080518082018252600d81527f3c2f746578743e3c2f7376673e0000000000000000000000000000000000000060208083019190915260c0860182905285518187015184880151606089015160808a01519751965160009861127d98959794969395929490939091016124b1565b604051602081830303815290604052905060006112fc61129c876119f4565b6112a584611b26565b85516112b49061ffff166119f4565b6112c4876020015160ff166119f4565b6112d4886040015160ff166119f4565b6040516020016112e8959493929190612543565b604051602081830303815290604052611b26565b90508060405160200161130f9190612759565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190529695505050505050565b60065473ffffffffffffffffffffffffffffffffffffffff1633146113ae5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a4565b73ffffffffffffffffffffffffffffffffffffffff81166114375760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016105a4565b611440816118f4565b50565b600081815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8416908117909155819061149d82610aab565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008160ff1660011115801561150857506114fe8385610909565b60ff168260ff1611155b61151157600080fd5b8160ff168360ff1660646115259190612826565b61153561ffff8716612710612826565b61153f91906127fa565b61154991906127fa565b949350505050565b61156b828260405180602001604052806000815250611cff565b5050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff166116065760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016105a4565b600061161183610aab565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061168057508373ffffffffffffffffffffffffffffffffffffffff1661166884610511565b73ffffffffffffffffffffffffffffffffffffffff16145b80611549575073ffffffffffffffffffffffffffffffffffffffff80821660009081526005602090815260408083209388168352929052205460ff16611549565b8273ffffffffffffffffffffffffffffffffffffffff166116e182610aab565b73ffffffffffffffffffffffffffffffffffffffff161461176a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016105a4565b73ffffffffffffffffffffffffffffffffffffffff82166117f25760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016105a4565b6117fd600082611443565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600360205260408120805460019290611833908490612863565b909155505073ffffffffffffffffffffffffffffffffffffffff8216600090815260036020526040812080546001929061186e9084906127fa565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6006805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6119768484846116c1565b61198284848484611d88565b610f865760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016105a4565b606081611a3457505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611a5e5780611a488161291d565b9150611a579050600a83612812565b9150611a38565b60008167ffffffffffffffff811115611a7957611a79612a18565b6040519080825280601f01601f191660200182016040528015611aa3576020820181803683370190505b5090505b841561154957611ab8600183612863565b9150611ac5600a86612977565b611ad09060306127fa565b60f81b818381518110611ae557611ae56129e9565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611b1f600a86612812565b9450611aa7565b805160609080611b46575050604080516020810190915260008152919050565b60006003611b558360026127fa565b611b5f9190612812565b611b6a906004612826565b90506000611b798260206127fa565b67ffffffffffffffff811115611b9157611b91612a18565b6040519080825280601f01601f191660200182016040528015611bbb576020820181803683370190505b5090506000604051806060016040528060408152602001612b79604091399050600181016020830160005b86811015611c47576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b835260049092019101611be6565b506003860660018114611c615760028114611cab57611cf1565b7f3d3d0000000000000000000000000000000000000000000000000000000000007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe830152611cf1565b7f3d000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8301525b505050918152949350505050565b611d098383611f6d565b611d166000848484611d88565b61072a5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016105a4565b600073ffffffffffffffffffffffffffffffffffffffff84163b15611f62576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290611dff90339089908890889060040161279e565b602060405180830381600087803b158015611e1957600080fd5b505af1925050508015611e67575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252611e649181019061237c565b60015b611f17573d808015611e95576040519150601f19603f3d011682016040523d82523d6000602084013e611e9a565b606091505b508051611f0f5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016105a4565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611549565b506001949350505050565b73ffffffffffffffffffffffffffffffffffffffff8216611fd05760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105a4565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff16156120425760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105a4565b73ffffffffffffffffffffffffffffffffffffffff821660009081526003602052604081208054600192906120789084906127fa565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6040518060e001604052806007905b606081526020019060019003908161210a5790505090565b803573ffffffffffffffffffffffffffffffffffffffff8116811461214657600080fd5b919050565b803561ffff8116811461214657600080fd5b803560ff8116811461214657600080fd5b60006020828403121561218057600080fd5b61218982612122565b9392505050565b600080604083850312156121a357600080fd5b6121ac83612122565b91506121ba60208401612122565b90509250929050565b6000806000606084860312156121d857600080fd5b6121e184612122565b92506121ef60208501612122565b9150604084013590509250925092565b6000806000806080858703121561221557600080fd5b61221e85612122565b935061222c60208601612122565b925060408501359150606085013567ffffffffffffffff8082111561225057600080fd5b818701915087601f83011261226457600080fd5b81358181111561227657612276612a18565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156122bc576122bc612a18565b816040528281528a60208487010111156122d557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561230c57600080fd5b61231583612122565b91506020830135801515811461232a57600080fd5b809150509250929050565b6000806040838503121561234857600080fd5b61235183612122565b946020939093013593505050565b60006020828403121561237157600080fd5b813561218981612a47565b60006020828403121561238e57600080fd5b815161218981612a47565b6000602082840312156123ab57600080fd5b6121898261214b565b600080600080608085870312156123ca57600080fd5b6123d38561214b565b93506123e16020860161215d565b92506123ef6040860161215d565b91506123fd60608601612122565b905092959194509250565b60006020828403121561241a57600080fd5b5035919050565b6000806040838503121561243457600080fd5b61243d8361215d565b91506121ba6020840161214b565b6000815180845261246381602086016020860161289d565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600081516124a781856020860161289d565b9290920192915050565b6000885160206124c48285838e0161289d565b8951918401916124d78184848e0161289d565b89519201916124e98184848d0161289d565b88519201916124fb8184848c0161289d565b875192019161250d8184848b0161289d565b865192019161251f8184848a0161289d565b8551920191612531818484890161289d565b919091019a9950505050505050505050565b7f7b226e616d65223a20224420230000000000000000000000000000000000000081526000865161257b81600d850160208b0161289d565b7f222c20226465736372697074696f6e223a202244206973206a75737420612064600d918401918201527f6174652e222c2022696d616765223a2022646174613a696d6167652f7376672b602d8201527f786d6c3b6261736536342c000000000000000000000000000000000000000000604d8201528651612604816058840160208b0161289d565b7f222c202261747472696275746573223a205b7b2274726169745f74797065223a605892909101918201527f202259656172222c202276616c7565223a2000000000000000000000000000006078820152855161266881608a840160208a0161289d565b7f7d2c207b2274726169745f74797065223a20224d6f6e7468222c202276616c75608a92909101918201527f65223a200000000000000000000000000000000000000000000000000000000060aa82015261274d61272461271e6126cf60ae850189612495565b7f7d2c207b2274726169745f74797065223a2022446179222c202276616c75652281527f3a20000000000000000000000000000000000000000000000000000000000000602082015260220190565b86612495565b7f7d5d207d00000000000000000000000000000000000000000000000000000000815260040190565b98975050505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161279181601d85016020870161289d565b91909101601d0192915050565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526127dd608083018461244b565b9695505050505050565b602081526000612189602083018461244b565b6000821982111561280d5761280d61298b565b500190565b600082612821576128216129ba565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561285e5761285e61298b565b500290565b6000828210156128755761287561298b565b500390565b600060ff821660ff8416808210156128945761289461298b565b90039392505050565b60005b838110156128b85781810151838201526020016128a0565b83811115610f865750506000910152565b600181811c908216806128dd57607f821691505b60208210811415612917577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561294f5761294f61298b565b5060010190565b600061ffff8084168061296b5761296b6129ba565b92169190910692915050565b600082612986576129866129ba565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7fffffffff000000000000000000000000000000000000000000000000000000008116811461144057600080fdfe3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f73766722207072657365727665417370656374526174696f3d22784d696e594d696e206d656574222076696577426f783d223020302033353020333530223e3c7374796c653e2e62617365207b2066696c6c3a2077686974653b20666f6e742d66616d696c793a2073616e732d73657269663b20666f6e742d73697a653a20323870783b207d3c2f7374796c653e3c726563742077696474683d223130302522206865696768743d2231303025222066696c6c3d22626c61636b22202f3e3c7465787420783d2232302220793d223333302220636c6173733d2262617365223e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220339860972030cde6f132bef33e589f75baf227009a7ec5a1a2cbb852946b04fc64736f6c63430008070033

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.