Contract 0xe0545A55cfDd5d14c22e4d22260c481411Ae06a6

 
 
Txn Hash
Method
Block
From
To
Value
0x16918e90757ee98a05b4c6dd7cf80a8bc9c7f7d93321850823b1efc1b57fc7c9Safe Transfer Fr...153911482022-08-22 15:48:4937 days 22 hrs ago0xda07c17e5b0fcaa7e48ab429c06711dac19e11f7 IN  0xe0545a55cfdd5d14c22e4d22260c481411ae06a60 Ether0.00295984 17.53442088
0xfcad49441116a114a6335d5f9208ec59a7be87fed2c6e8131c709099a923bfcaSafe Transfer Fr...153885612022-08-22 5:54:5838 days 8 hrs ago0xda07c17e5b0fcaa7e48ab429c06711dac19e11f7 IN  0xe0545a55cfdd5d14c22e4d22260c481411ae06a60 Ether0.00069928 4.14261166
0xf45640a1c18ebf5873d2dc1b5f2ef84c97abc4477cb694cb12d25e23a04b0b1eSafe Transfer Fr...153873842022-08-22 1:23:2638 days 13 hrs agoENS Name miin.eth IN  0xe0545a55cfdd5d14c22e4d22260c481411ae06a60 Ether0.00254701 15.08876286
0x3777540bdd681e630dcb8636a67e85239f9b79b2955406df6f0b5666a0e92834Safe Transfer Fr...153835782022-08-21 10:53:0539 days 3 hrs agoENS Name avcdsld.eth IN  0xe0545a55cfdd5d14c22e4d22260c481411ae06a60 Ether0.00098858 5.85650303
0x5cd79261b330da54fbf17933f206977662569d9d8c1997d3a385a09509e4e5beSafe Transfer Fr...153835712022-08-21 10:51:1239 days 3 hrs agoENS Name avcdsld.eth IN  0xe0545a55cfdd5d14c22e4d22260c481411ae06a60 Ether0.00087762 5.1995255
0xe6c1cb6d3c42ab5f08f17ba0e537b39ad30c9250ce53cca65caed5cb50c1761eSafe Transfer Fr...153835602022-08-21 10:49:1339 days 3 hrs agoENS Name avcdsld.eth IN  0xe0545a55cfdd5d14c22e4d22260c481411ae06a60 Ether0.00099432 5.36825979
0xf5dcc8619ee0d50b6de2bb34137828a113b7ba5a45017ecef43febc966004e3aSafe Transfer Fr...153818662022-08-21 4:37:5139 days 10 hrs agoENS Name miin.eth IN  0xe0545a55cfdd5d14c22e4d22260c481411ae06a60 Ether0.00069608 4.12365538
0xc498ebeeca8b0a27610a3fedcd8509b5af7b1755db08c78f60c576ee2a22bb50Safe Transfer Fr...153818002022-08-21 4:20:2339 days 10 hrs agoENS Name miin.eth IN  0xe0545a55cfdd5d14c22e4d22260c481411ae06a60 Ether0.00063052 3.40414963
0x8bbe6e2e4cc01195dba7620deb5febd369281fdf94dff79354da2010747f0585Safe Transfer Fr...153809992022-08-21 1:12:1939 days 13 hrs ago0xda07c17e5b0fcaa7e48ab429c06711dac19e11f7 IN  0xe0545a55cfdd5d14c22e4d22260c481411ae06a60 Ether0.00081762 4.41429467
0x647bcc5afa817dadad9d873ae62876f27a4af83fc2440669f2ba2983bd6c4574Safe Transfer Fr...153808952022-08-21 0:50:1439 days 13 hrs agoENS Name takawo.eth IN  0xe0545a55cfdd5d14c22e4d22260c481411ae06a60 Ether0.00093699 5.55084384
0xe9942fee104e0e746fee2ceaab58345d95c57386c4ab56ac6ebfa39e8a9840d5Safe Transfer Fr...153808862022-08-21 0:47:5939 days 14 hrs agoENS Name takawo.eth IN  0xe0545a55cfdd5d14c22e4d22260c481411ae06a60 Ether0.00087438 5.17995929
0xd6d7ba6572779bb66a60b2bb1bd44c67974caaef2120850dddac60897a73bc49Safe Transfer Fr...153808522022-08-21 0:39:1639 days 14 hrs agoENS Name takawo.eth IN  0xe0545a55cfdd5d14c22e4d22260c481411ae06a60 Ether0.00080684 4.35604712
0x42898fe6fdeb9398eccc44f88c63294ecc3d682079fc0ea8f77c70ccd5818578Safe Transfer Fr...153786102022-08-20 16:20:2939 days 22 hrs ago0x24838b41cc4fae64958cf84d92e51de75e324466 IN  0xe0545a55cfdd5d14c22e4d22260c481411ae06a60 Ether0.00508686 34.16525296
0x9bae00ce9e4c36d792999e7a3024914bd3fc2a2d1894e30eab30e6a07fab1275Safe Transfer Fr...153782592022-08-20 14:56:5539 days 23 hrs ago0x24838b41cc4fae64958cf84d92e51de75e324466 IN  0xe0545a55cfdd5d14c22e4d22260c481411ae06a60 Ether0.00138445 9.29850449
0xf13b3bc17250623f7bb3574a0d5ba4950a8681c457fd5d3007fe2d02ca39064eSafe Transfer Fr...153782412022-08-20 14:53:2439 days 23 hrs ago0x24838b41cc4fae64958cf84d92e51de75e324466 IN  0xe0545a55cfdd5d14c22e4d22260c481411ae06a60 Ether0.00195043 10.65206779
0x1dc1d75fa606197b9036d2ce8673012a1efb12cd8047f05bf69e08a6c8cec6880x60806040153590142022-08-17 13:35:5943 days 1 hr ago0x24838b41cc4fae64958cf84d92e51de75e324466 IN  Create: Reveal0 Ether0.05097627 11.08866467
[ Download CSV Export 
View more zero value Internal Transactions in Advanced View mode
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Reveal

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : Reveal.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Base64.sol";

contract Reveal is ERC721, Ownable {
	uint256 private id = 0;
	mapping(uint256 => uint256) private _seed;
	mapping(uint256 => uint256) private _parentId;
	mapping(uint256 => uint256) private _generation;
	mapping(uint256 => uint256) private _childNum;

	constructor() ERC721("Reveal", "REVEAL") {
		_mint(_msgSender(), id);
	}

	//-------------------------------------------

	function _transfer(
		address from,
		address to,
		uint256 tokenId
	) internal override(ERC721) {
		uint256 childNum = _childNum[tokenId];

		if (from != to && from != address(0) && childNum < 3) {
			uint256 childTokenId = ++id;
			_parentId[childTokenId] = tokenId;
			_childNum[tokenId] = childNum + 1;
			_generation[childTokenId] = _generation[tokenId] + 1;
			uint256 parentSeed = _seed[tokenId];

			if (childNum == 0 && parentSeed != 0) {
				//The eldest son inherits a seed from his ancestors
				_seed[childTokenId] = parentSeed;
			} else {
				_seed[childTokenId] = _rand(tokenId, childNum);
			}

			_mint(ownerOf(tokenId), childTokenId);
			tokenId = childTokenId;
		}

		super._transfer(from, to, tokenId);
	}

	function tokenURI(uint256 tokenId) public view override returns (string memory) {
		require(_exists(tokenId), "nonexistent token");

		uint256 childNum = _childNum[tokenId];
		string memory svg;
		string memory t;
		{
			uint256 s = 30;
			uint256 p = 50;
			string memory k;

			if (tokenId == 0) {
				t = "\u004e\u006f\u0020\u0063\u006f\u006c\u006f\u0072\u0020\u0062\u0075\u0067";
			} else if (tokenId == 10) {
				k = '<path d="M95.5,58.4c-0.9,3.9-1.8,7.8-4,11.2c-1.7,2.8-3.8,5.2-6,7.6c-4,4.5-8.4,8.9-10.3,14.8c0,0,0,0,0,0c2-6.4,6.9-11,11.2-15.9c2-2.2,3.9-4.6,5.4-7.1C93.8,65.8,94.7,62.1,95.5,58.4C95.5,58.4,95.5,58.4,95.5,58.4L95.5,58.4z" stroke="#000" stroke-width="0.05"/><circle class="d" cx="50" cy="50" r="30"/>';
				t = "\u0044\u0075\u0073\u0074\u0020\u006f\u006e\u0020\u0070\u0069\u0063\u0074\u0075\u0072\u0065\u0020\u0062\u0075\u0067";
			} else if (tokenId == 20) {
				p = 999999;
				t = "\u004e\u006f\u0020\u0070\u0069\u0063\u0074\u0075\u0072\u0065\u0020\u0062\u0075\u0067";
			} else if (tokenId == 40) {
				p = 80;
				t = "\u0050\u0069\u0063\u0074\u0075\u0072\u0065\u0020\u0073\u0068\u0069\u0066\u0074\u0065\u0064\u0020\u0062\u0075\u0067";
			} else if (tokenId == 80) {
				k = '<circle class="d" cx="50" cy="50" r="30" style="animation:f 0.1s linear infinite;"/><style>@keyframes f{49%{opacity:1;}50%{opacity:0;}}</style>';
				t = "\u0050\u0069\u0063\u0074\u0075\u0072\u0065\u0020\u0066\u006c\u0061\u0073\u0068\u0069\u006e\u0067\u0020\u0062\u0075\u0067";
			} else if (tokenId == 160) {
				k = '<defs><g id="p"><polygon points="25,0 0,25 0,100 100,100 100,0"/><polygon class="t" points="25,0 25,25 0,25"/></g></defs><use href="#p" class="d" transform="rotate(270)"/>';
				t = "\u004e\u006f\u0074\u0020\u0070\u0065\u0065\u006c\u0069\u006e\u0067\u0020\u0062\u0075\u0067";
			} else if (tokenId == 320) {
				k = '<circle class="a" cx="25" cy="35" r="30"/><circle class="d" cx="50" cy="50" r="30"/>';
				t = "\u0050\u0069\u0063\u0074\u0075\u0072\u0065\u0020\u006f\u0076\u0065\u0072\u006c\u0061\u0070\u0070\u0065\u0064\u0020\u0062\u0075\u0067";
			} else if (tokenId == 640) {
				s = 52;
				t = "\u0050\u0069\u0063\u0074\u0075\u0072\u0065\u0020\u0073\u0069\u007a\u0065\u0020\u0062\u0075\u0067";
			} else {
				if (_getChance(_rand(tokenId, childNum))) {
					t = "\u0055\u006e\u0075\u0073\u0075\u0061\u006c\u0020\u0070\u0069\u0063\u0074\u0075\u0072\u0065";
				} else {
					t = "\u0042\u006f\u0072\u0065\u0064\u0020\u0070\u0069\u0063\u0074\u0075\u0072\u0065";
				}
			}

			svg = Base64.encode(
				abi.encodePacked(
					'<?xml version="1.0" encoding="utf-8"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 100 100"><style>svg{background-color:hsl(0,0%,97%);}use{transform-origin:50%;}.t{fill:rgb(0,0,0,0.1);}',
					(childNum == 0) ? string(abi.encodePacked(".a{fill:", this.getColorStr(tokenId, 0), "}")) : "",
					(childNum <= 1) ? string(abi.encodePacked(".b{fill:", this.getColorStr(tokenId, 1), "}")) : "",
					(childNum == 1 || childNum == 2)
						? string(abi.encodePacked(".c{fill:", this.getColorStr(tokenId, 2), "}"))
						: "",
					(childNum == 3) ? string(abi.encodePacked(".d{fill:", this.getColorStr(tokenId, 3), "}")) : "",
					"</style>",
					(childNum < 3)
						? '<defs><g id="p"><polygon points="25,0 0,25 0,100 100,100 100,0"/><polygon class="t" points="25,0 25,25 0,25"/></g></defs>'
						: (bytes(k).length != 0)
						? k
						: string(
							abi.encodePacked(
								'<circle class="d" cx="',
								Strings.toString(p),
								'" cy="50" r="',
								Strings.toString(s),
								'"/>'
							)
						),
					(childNum == 1 || childNum == 2) ? '<use href="#p" class="c" transform="rotate(180)"/>' : "",
					(childNum <= 1) ? '<use href="#p" class="b" transform="rotate(90)"/>' : "",
					(childNum == 0) ? '<use href="#p" class="a"/>' : "",
					"</svg>"
				)
			);
		}

		bytes memory json = abi.encodePacked(
			'{"name":"',
			string(
				abi.encodePacked(
					(childNum == 3) ? "NO" : Strings.toString(3 - childNum),
					(childNum == 2) ? " MORE REVEAL #" : " MORE REVEALS #"
				)
			),
			Strings.toString(tokenId),
			'","description":"Reveal is the most exciting event on NFT.","created_by":"bouze","image":"data:image/svg+xml;base64,',
			svg,
			'","attributes":[{"trait_type": "Reveal count","value":"',
			string(abi.encodePacked(Strings.toString(childNum), ' / 3"},')),
			(childNum < 3)
				? ""
				: string(
					abi.encodePacked(
						'{"trait_type":"Type","value":"',
						t,
						'"},{"trait_type":"Saturation","value":"',
						_getSaturation(_rand(tokenId, 3), tokenId, 3),
						'"},'
					)
				),
			'{"trait_type":"Generation","value":"GEN ',
			Strings.toString(_generation[tokenId]),
			'"},{"trait_type":"Parent","value":"',
			(tokenId == 0) ? "None" : string(abi.encodePacked("#", Strings.toString(_parentId[tokenId]))),
			'"}]}'
		);

		return string(abi.encodePacked("data:application/json;base64,", Base64.encode(json)));
	}

	//-------------------------------------------

	function getColorStr(uint256 tokenId, uint256 index) public view returns (string memory str) {
		if (tokenId != 0 && index == 0) {
			//The first color inherits a seed of the ancestor
			str = _getColorStr(_seed[tokenId], tokenId, index);
		} else {
			str = _getColorStr(_rand(tokenId, index), tokenId, index);
		}
	}

	function getGeneration(uint256 tokenId) public view returns (uint256) {
		return _generation[tokenId];
	}

	function getParentTokenId(uint256 tokenId) public view returns (uint256) {
		return _parentId[tokenId];
	}

	function getChildNum(uint256 tokenId) public view returns (uint256) {
		return _childNum[tokenId];
	}

	function totalSupply() public view returns (uint256) {
		return id + 1;
	}

	//-------------------------------------------

	function _getColorStr(
		uint256 seed,
		uint256 tokenId,
		uint256 index
	) private pure returns (string memory) {
		bool chance = _getChance(seed);
		uint256 hue = _rand(seed, 0) % 360;
		uint256 minLum = (index != 3) ? 85 : (chance) ? 50 : 70;
		uint256 maxLum = (index != 3) ? 95 : (chance) ? 90 : 90;
		uint256 lum = (_rand(seed, 2) % (maxLum - minLum)) + minLum;
		if (tokenId == 0 && index == 3) {
			hue = 0;
			lum = 0;
		}
		return
			string(
				abi.encodePacked(
					"hsl(",
					Strings.toString(hue),
					",",
					_getSaturation(seed, tokenId, index),
					"%,",
					Strings.toString(lum),
					"%);"
				)
			);
	}

	function _getSaturation(
		uint256 seed,
		uint256 tokenId,
		uint256 index
	) private pure returns (string memory) {
		bool chance = (index != 3) ? true : _getChance(seed);
		uint256 minSat = (chance) ? 80 : 0;
		uint256 maxSat = (chance) ? 85 : 30;
		uint256 sat = (_rand(seed, 1) % (maxSat - minSat)) + minSat;
		if (tokenId == 0 && index == 3) sat = 0;
		return Strings.toString(sat);
	}

	function _getChance(uint256 seed) private pure returns (bool) {
		return (_rand(seed, 0) % 100) < 15;
	}

	function _rand(uint256 seed0, uint256 seed1) private pure returns (uint256) {
		return
			uint256(
				//Root seed of random numbers
				keccak256(abi.encodePacked(seed0, seed1, "4e070562db0e5c1defea16b7230de01f640b7e4729b49fce"))
			);
	}
}

File 2 of 12 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol)

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 overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not 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 {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: 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 || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

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

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

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

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

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

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

        _afterTokenTransfer(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);

        _afterTokenTransfer(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 from incorrect owner");
        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);

        _afterTokenTransfer(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 Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

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

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 3 of 12 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

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() {
        _transferOwnership(_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 {
        _transferOwnership(address(0));
    }

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

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

File 4 of 12 : Base64.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Base64.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides a set of functions to operate with Base64 strings.
 *
 * _Available since v4.5._
 */
library Base64 {
    /**
     * @dev Base64 Encoding/Decoding Table
     */
    string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /**
     * @dev Converts a `bytes` to its Bytes64 `string` representation.
     */
    function encode(bytes memory data) internal pure returns (string memory) {
        /**
         * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence
         * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol
         */
        if (data.length == 0) return "";

        // Loads the table into memory
        string memory table = _TABLE;

        // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter
        // and split into 4 numbers of 6 bits.
        // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up
        // - `data.length + 2`  -> Round up
        // - `/ 3`              -> Number of 3-bytes chunks
        // - `4 *`              -> 4 characters for each chunk
        string memory result = new string(4 * ((data.length + 2) / 3));

        assembly {
            // Prepare the lookup table (skip the first "length" byte)
            let tablePtr := add(table, 1)

            // Prepare result pointer, jump over length
            let resultPtr := add(result, 32)

            // Run over the input, 3 bytes at a time
            for {
                let dataPtr := data
                let endPtr := add(data, mload(data))
            } lt(dataPtr, endPtr) {

            } {
                // Advance 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // To write each character, shift the 3 bytes (18 bits) chunk
                // 4 times in blocks of 6 bits for each character (18, 12, 6, 0)
                // and apply logical AND with 0x3F which is the number of
                // the previous character in the ASCII table prior to the Base64 Table
                // The result is then added to the table to get the character to write,
                // and finally write it in the result pointer but with a left shift
                // of 256 (1 byte) - 8 (1 ASCII char) = 248 bits

                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance
            }

            // When data `bytes` is not exactly 3 bytes long
            // it is padded with `=` characters at the end
            switch mod(mload(data), 3)
            case 1 {
                mstore8(sub(resultPtr, 1), 0x3d)
                mstore8(sub(resultPtr, 2), 0x3d)
            }
            case 2 {
                mstore8(sub(resultPtr, 1), 0x3d)
            }
        }

        return result;
    }
}

File 5 of 12 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must 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 Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

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

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

File 6 of 12 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 7 of 12 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

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 8 of 12 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

File 9 of 12 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 10 of 12 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

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 11 of 12 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

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 12 of 12 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

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":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getChildNum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getColorStr","outputs":[{"internalType":"string","name":"str","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getGeneration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getParentTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260006007553480156200001657600080fd5b506040518060400160405280600681526020017f52657665616c00000000000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f52455645414c000000000000000000000000000000000000000000000000000081525081600090805190602001906200009b9291906200043e565b508060019080519060200190620000b49291906200043e565b505050620000d7620000cb6200010060201b60201c565b6200010860201b60201c565b620000fa620000eb6200010060201b60201c565b600754620001ce60201b60201c565b620006de565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000241576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000238906200055e565b60405180910390fd5b6200025281620003c860201b60201c565b1562000295576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200028c906200053c565b60405180910390fd5b620002a9600083836200043460201b60201c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254620002fb919062000591565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4620003c4600083836200043960201b60201c565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b505050565b8280546200044c90620005f8565b90600052602060002090601f016020900481019282620004705760008555620004bc565b82601f106200048b57805160ff1916838001178555620004bc565b82800160010185558215620004bc579182015b82811115620004bb5782518255916020019190600101906200049e565b5b509050620004cb9190620004cf565b5090565b5b80821115620004ea576000816000905550600101620004d0565b5090565b6000620004fd601c8362000580565b91506200050a826200068c565b602082019050919050565b60006200052460208362000580565b91506200053182620006b5565b602082019050919050565b600060208201905081810360008301526200055781620004ee565b9050919050565b60006020820190508181036000830152620005798162000515565b9050919050565b600082825260208201905092915050565b60006200059e82620005ee565b9150620005ab83620005ee565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620005e357620005e26200062e565b5b828201905092915050565b6000819050919050565b600060028204905060018216806200061157607f821691505b602082108114156200062857620006276200065d565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b61500a80620006ee6000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c8063715018a6116100b8578063b88d4fde1161007c578063b88d4fde1461034e578063b9d369561461036a578063c87b56dd1461039a578063cfa651f3146103ca578063e985e9c5146103fa578063f2fde38b1461042a57610137565b8063715018a6146102bc5780638da5cb5b146102c65780639419360d146102e457806395d89b4114610314578063a22cb4651461033257610137565b806323b872dd116100ff57806323b872dd146101f457806342842e0e1461021057806356e3df971461022c5780636352211e1461025c57806370a082311461028c57610137565b806301ffc9a71461013c57806306fdde031461016c578063081812fc1461018a578063095ea7b3146101ba57806318160ddd146101d6575b600080fd5b61015660048036038101906101519190612d13565b610446565b604051610163919061392f565b60405180910390f35b610174610528565b604051610181919061394a565b60405180910390f35b6101a4600480360381019061019f9190612da6565b6105ba565b6040516101b191906138c8565b60405180910390f35b6101d460048036038101906101cf9190612cd7565b61063f565b005b6101de610757565b6040516101eb9190613b6c565b60405180910390f35b61020e60048036038101906102099190612bd1565b61076d565b005b61022a60048036038101906102259190612bd1565b6107cd565b005b61024660048036038101906102419190612da6565b6107ed565b6040516102539190613b6c565b60405180910390f35b61027660048036038101906102719190612da6565b61080a565b60405161028391906138c8565b60405180910390f35b6102a660048036038101906102a19190612b6c565b6108bc565b6040516102b39190613b6c565b60405180910390f35b6102c4610974565b005b6102ce6109fc565b6040516102db91906138c8565b60405180910390f35b6102fe60048036038101906102f99190612da6565b610a26565b60405161030b9190613b6c565b60405180910390f35b61031c610a43565b604051610329919061394a565b60405180910390f35b61034c60048036038101906103479190612c9b565b610ad5565b005b61036860048036038101906103639190612c20565b610aeb565b005b610384600480360381019061037f9190612dcf565b610b4d565b604051610391919061394a565b60405180910390f35b6103b460048036038101906103af9190612da6565b610ba7565b6040516103c1919061394a565b60405180910390f35b6103e460048036038101906103df9190612da6565b61167e565b6040516103f19190613b6c565b60405180910390f35b610414600480360381019061040f9190612b95565b61169b565b604051610421919061392f565b60405180910390f35b610444600480360381019061043f9190612b6c565b61172f565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061051157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610521575061052082611827565b5b9050919050565b60606000805461053790613f08565b80601f016020809104026020016040519081016040528092919081815260200182805461056390613f08565b80156105b05780601f10610585576101008083540402835291602001916105b0565b820191906000526020600020905b81548152906001019060200180831161059357829003601f168201915b5050505050905090565b60006105c582611891565b610604576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105fb90613acc565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061064a8261080a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156106bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106b290613b2c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166106da6118fd565b73ffffffffffffffffffffffffffffffffffffffff1614806107095750610708816107036118fd565b61169b565b5b610748576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073f90613a4c565b60405180910390fd5b6107528383611905565b505050565b600060016007546107689190613cf5565b905090565b61077e6107786118fd565b826119be565b6107bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b490613b4c565b60405180910390fd5b6107c8838383611a9c565b505050565b6107e883838360405180602001604052806000815250610aeb565b505050565b6000600a6000838152602001908152602001600020549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156108b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108aa90613a8c565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561092d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092490613a6c565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61097c6118fd565b73ffffffffffffffffffffffffffffffffffffffff1661099a6109fc565b73ffffffffffffffffffffffffffffffffffffffff16146109f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e790613b0c565b60405180910390fd5b6109fa6000611c50565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600b6000838152602001908152602001600020549050919050565b606060018054610a5290613f08565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7e90613f08565b8015610acb5780601f10610aa057610100808354040283529160200191610acb565b820191906000526020600020905b815481529060010190602001808311610aae57829003601f168201915b5050505050905090565b610ae7610ae06118fd565b8383611d16565b5050565b610afc610af66118fd565b836119be565b610b3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3290613b4c565b60405180910390fd5b610b4784848484611e83565b50505050565b606060008314158015610b605750600082145b15610b8a57610b8360086000858152602001908152602001600020548484611edf565b9050610ba1565b610b9e610b978484611ff2565b8484611edf565b90505b92915050565b6060610bb282611891565b610bf1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be890613aec565b60405180910390fd5b6000600b60008481526020019081526020016000205490506060806000601e905060006032905060606000881415610c60576040518060400160405280600c81526020017f4e6f20636f6c6f722062756700000000000000000000000000000000000000008152509350610f5e565b600a881415610cc45760405180610160016040528061012a8152602001614d0161012a913990506040518060400160405280601381526020017f44757374206f6e207069637475726520627567000000000000000000000000008152509350610f5d565b6014881415610d1057620f423f91506040518060400160405280600e81526020017f4e6f2070696374757265206275670000000000000000000000000000000000008152509350610f5c565b6028881415610d5a57605091506040518060400160405280601381526020017f50696374757265207368696674656420627567000000000000000000000000008152509350610f5b565b6050881415610dbb576040518060c00160405280608f8152602001614c01608f913990506040518060400160405280601481526020017f5069637475726520666c617368696e67206275670000000000000000000000008152509350610f5a565b60a0881415610e1c576040518060e0016040528060ab8152602001614e2b60ab913990506040518060400160405280600f81526020017f4e6f74207065656c696e672062756700000000000000000000000000000000008152509350610f59565b610140881415610e7e57604051806080016040528060548152602001614ed66054913990506040518060400160405280601681526020017f50696374757265206f7665726c617070656420627567000000000000000000008152509350610f58565b610280881415610ec957603492506040518060400160405280601081526020017f506963747572652073697a6520627567000000000000000000000000000000008152509350610f57565b610edb610ed68988611ff2565b612028565b15610f1d576040518060400160405280600f81526020017f556e757375616c207069637475726500000000000000000000000000000000008152509350610f56565b6040518060400160405280600d81526020017f426f72656420706963747572650000000000000000000000000000000000000081525093505b5b5b5b5b5b5b5b5b61140860008714610f7e576040518060200160405280600081525061102f565b3073ffffffffffffffffffffffffffffffffffffffff1663b9d369568a60006040518363ffffffff1660e01b8152600401610fba929190613b87565b60006040518083038186803b158015610fd257600080fd5b505afa158015610fe6573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061100f9190612d65565b60405160200161101f9190613864565b6040516020818303038152906040525b600188111561104d57604051806020016040528060008152506110fe565b3073ffffffffffffffffffffffffffffffffffffffff1663b9d369568b60016040518363ffffffff1660e01b8152600401611089929190613bb0565b60006040518083038186803b1580156110a157600080fd5b505afa1580156110b5573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906110de9190612d65565b6040516020016110ee919061360b565b6040516020818303038152906040525b600189148061110d5750600289145b61112657604051806020016040528060008152506111d7565b3073ffffffffffffffffffffffffffffffffffffffff1663b9d369568c60026040518363ffffffff1660e01b8152600401611162929190613bd9565b60006040518083038186803b15801561117a57600080fd5b505afa15801561118e573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906111b79190612d65565b6040516020016111c7919061370c565b6040516020818303038152906040525b60038a146111f457604051806020016040528060008152506112a5565b3073ffffffffffffffffffffffffffffffffffffffff1663b9d369568d60036040518363ffffffff1660e01b8152600401611230929190613c02565b60006040518083038186803b15801561124857600080fd5b505afa15801561125c573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906112859190612d65565b60405160200161129591906136df565b6040516020818303038152906040525b60038b106112f5576000865114156112ee576112c08761204b565b6112c98961204b565b6040516020016112da92919061381f565b6040516020818303038152906040526112f0565b855b61130f565b6040518060a0016040528060798152602001614f2a607991395b60018c148061131e575060028c145b6113375760405180602001604052806000815250611351565b604051806060016040528060328152602001614fa3603291395b60018d111561136f5760405180602001604052806000815250611389565b604051806060016040528060318152602001614c90603191395b60008e146113a657604051806020016040528060008152506113dd565b6040518060400160405280601a81526020017f3c75736520687265663d2223702220636c6173733d2261222f3e0000000000008152505b6040516020016113f4989796959493929190613578565b6040516020818303038152906040526121f8565b94505050506000600384146114315761142c8460036114279190613dd6565b61204b565b611468565b6040518060400160405280600281526020017f4e4f0000000000000000000000000000000000000000000000000000000000008152505b600285146114ab576040518060400160405280600f81526020017f204d4f52452052455645414c53202300000000000000000000000000000000008152506114e2565b6040518060400160405280600e81526020017f204d4f52452052455645414c20230000000000000000000000000000000000008152505b6040516020016114f3929190613532565b60405160208183030381529060405261150b8761204b565b846115158761204b565b6040516020016115259190613556565b60405160208183030381529060405260038810611578578561155361154b8c6003611ff2565b8c6003612382565b604051602001611564929190613796565b604051602081830303815290604052611589565b604051806020016040528060008152505b6115a5600a60008d81526020019081526020016000205461204b565b60008c146115ed576115c9600960008e81526020019081526020016000205461204b565b6040516020016115d991906137db565b604051602081830303815290604052611624565b6040518060400160405280600481526020017f4e6f6e65000000000000000000000000000000000000000000000000000000008152505b60405160200161163a9796959493929190613638565b6040516020818303038152906040529050611654816121f8565b60405160200161166491906137fd565b604051602081830303815290604052945050505050919050565b600060096000838152602001908152602001600020549050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6117376118fd565b73ffffffffffffffffffffffffffffffffffffffff166117556109fc565b73ffffffffffffffffffffffffffffffffffffffff16146117ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a290613b0c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561181b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118129061398c565b60405180910390fd5b61182481611c50565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166119788361080a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006119c982611891565b611a08576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ff90613a2c565b60405180910390fd5b6000611a138361080a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611a555750611a54818561169b565b5b80611a9357508373ffffffffffffffffffffffffffffffffffffffff16611a7b846105ba565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b6000600b60008381526020019081526020016000205490508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614158015611b1d5750600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b8015611b295750600381105b15611c3f576000600760008154611b3f90613f6b565b9190508190559050826009600083815260200190815260200160002081905550600182611b6c9190613cf5565b600b6000858152602001908152602001600020819055506001600a600085815260200190815260200160002054611ba39190613cf5565b600a600083815260200190815260200160002081905550600060086000858152602001908152602001600020549050600083148015611be3575060008114155b15611c0557806008600084815260200190815260200160002081905550611c27565b611c0f8484611ff2565b60086000848152602001908152602001600020819055505b611c39611c338561080a565b8361242e565b81935050505b611c4a848484612608565b50505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611d85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7c90613a0c565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e76919061392f565b60405180910390a3505050565b611e8e848484611a9c565b611e9a8484848461286f565b611ed9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed09061396c565b60405180910390fd5b50505050565b60606000611eec85612028565b90506000610168611efe876000611ff2565b611f089190613fbe565b905060006003851415611f295782611f21576046611f24565b60325b611f2c565b60555b60ff16905060006003861415611f505783611f4857605a611f4b565b605a5b611f53565b605f5b60ff1690506000828383611f679190613dd6565b611f728b6002611ff2565b611f7c9190613fbe565b611f869190613cf5565b9050600088148015611f985750600387145b15611fa65760009350600090505b611faf8461204b565b611fba8a8a8a612382565b611fc38361204b565b604051602001611fd593929190613739565b604051602081830303815290604052955050505050509392505050565b60008282604051602001612007929190613891565b6040516020818303038152906040528051906020012060001c905092915050565b6000600f6064612039846000611ff2565b6120439190613fbe565b109050919050565b60606000821415612093576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506121f3565b600082905060005b600082146120c55780806120ae90613f6b565b915050600a826120be9190613d4b565b915061209b565b60008167ffffffffffffffff811115612107577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156121395781602001600182028036833780820191505090505b5090505b600085146121ec576001826121529190613dd6565b9150600a856121619190613fbe565b603061216d9190613cf5565b60f81b8183815181106121a9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856121e59190613d4b565b945061213d565b8093505050505b919050565b606060008251141561221b5760405180602001604052806000815250905061237d565b6000604051806060016040528060408152602001614cc1604091399050600060036002855161224a9190613cf5565b6122549190613d4b565b60046122609190613d7c565b67ffffffffffffffff81111561229f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156122d15781602001600182028036833780820191505090505b509050600182016020820185865187015b8082101561233d576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f81168501518453600184019350506122e2565b5050600386510660018114612359576002811461236c57612374565b603d6001830353603d6002830353612374565b603d60018303535b50505080925050505b919050565b60606000600383141561239d5761239885612028565b6123a0565b60015b90506000816123b05760006123b3565b60505b60ff1690506000826123c657601e6123c9565b60555b60ff16905060008283836123dd9190613dd6565b6123e88a6001611ff2565b6123f29190613fbe565b6123fc9190613cf5565b905060008714801561240e5750600386145b1561241857600090505b6124218161204b565b9450505050509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561249e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249590613aac565b60405180910390fd5b6124a781611891565b156124e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124de906139cc565b60405180910390fd5b6124f360008383612a06565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125439190613cf5565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461260460008383612a0b565b5050565b8273ffffffffffffffffffffffffffffffffffffffff166126288261080a565b73ffffffffffffffffffffffffffffffffffffffff161461267e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612675906139ac565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156126ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e5906139ec565b60405180910390fd5b6126f9838383612a06565b612704600082611905565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127549190613dd6565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127ab9190613cf5565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461286a838383612a0b565b505050565b60006128908473ffffffffffffffffffffffffffffffffffffffff16612a10565b156129f9578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026128b96118fd565b8786866040518563ffffffff1660e01b81526004016128db94939291906138e3565b602060405180830381600087803b1580156128f557600080fd5b505af192505050801561292657506040513d601f19601f820116820180604052508101906129239190612d3c565b60015b6129a9573d8060008114612956576040519150601f19603f3d011682016040523d82523d6000602084013e61295b565b606091505b506000815114156129a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129989061396c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506129fe565b600190505b949350505050565b505050565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000612a46612a4184613c50565b613c2b565b905082815260208101848484011115612a5e57600080fd5b612a69848285613ec6565b509392505050565b6000612a84612a7f84613c81565b613c2b565b905082815260208101848484011115612a9c57600080fd5b612aa7848285613ed5565b509392505050565b600081359050612abe81614ba4565b92915050565b600081359050612ad381614bbb565b92915050565b600081359050612ae881614bd2565b92915050565b600081519050612afd81614bd2565b92915050565b600082601f830112612b1457600080fd5b8135612b24848260208601612a33565b91505092915050565b600082601f830112612b3e57600080fd5b8151612b4e848260208601612a71565b91505092915050565b600081359050612b6681614be9565b92915050565b600060208284031215612b7e57600080fd5b6000612b8c84828501612aaf565b91505092915050565b60008060408385031215612ba857600080fd5b6000612bb685828601612aaf565b9250506020612bc785828601612aaf565b9150509250929050565b600080600060608486031215612be657600080fd5b6000612bf486828701612aaf565b9350506020612c0586828701612aaf565b9250506040612c1686828701612b57565b9150509250925092565b60008060008060808587031215612c3657600080fd5b6000612c4487828801612aaf565b9450506020612c5587828801612aaf565b9350506040612c6687828801612b57565b925050606085013567ffffffffffffffff811115612c8357600080fd5b612c8f87828801612b03565b91505092959194509250565b60008060408385031215612cae57600080fd5b6000612cbc85828601612aaf565b9250506020612ccd85828601612ac4565b9150509250929050565b60008060408385031215612cea57600080fd5b6000612cf885828601612aaf565b9250506020612d0985828601612b57565b9150509250929050565b600060208284031215612d2557600080fd5b6000612d3384828501612ad9565b91505092915050565b600060208284031215612d4e57600080fd5b6000612d5c84828501612aee565b91505092915050565b600060208284031215612d7757600080fd5b600082015167ffffffffffffffff811115612d9157600080fd5b612d9d84828501612b2d565b91505092915050565b600060208284031215612db857600080fd5b6000612dc684828501612b57565b91505092915050565b60008060408385031215612de257600080fd5b6000612df085828601612b57565b9250506020612e0185828601612b57565b9150509250929050565b612e1481613e0a565b82525050565b612e2381613e1c565b82525050565b6000612e3482613cb2565b612e3e8185613cc8565b9350612e4e818560208601613ed5565b612e57816140ab565b840191505092915050565b612e6b81613e7e565b82525050565b612e7a81613e90565b82525050565b612e8981613ea2565b82525050565b612e9881613eb4565b82525050565b6000612ea982613cbd565b612eb38185613cd9565b9350612ec3818560208601613ed5565b612ecc816140ab565b840191505092915050565b6000612ee282613cbd565b612eec8185613cea565b9350612efc818560208601613ed5565b80840191505092915050565b6000612f1560ec83613cea565b9150612f20826140bc565b60ec82019050919050565b6000612f38600783613cea565b9150612f43826141ef565b600782019050919050565b6000612f5b600883613cea565b9150612f6682614218565b600882019050919050565b6000612f7e607483613cea565b9150612f8982614241565b607482019050919050565b6000612fa1600983613cea565b9150612fac826142dc565b600982019050919050565b6000612fc4603283613cd9565b9150612fcf82614305565b604082019050919050565b6000612fe7600883613cea565b9150612ff282614354565b600882019050919050565b600061300a602683613cd9565b91506130158261437d565b604082019050919050565b600061302d603783613cea565b9150613038826143cc565b603782019050919050565b6000613050602583613cd9565b915061305b8261441b565b604082019050919050565b6000613073601c83613cd9565b915061307e8261446a565b602082019050919050565b6000613096600283613cea565b91506130a182614493565b600282019050919050565b60006130b9600883613cea565b91506130c4826144bc565b600882019050919050565b60006130dc600183613cea565b91506130e7826144e5565b600182019050919050565b60006130ff600383613cea565b915061310a8261450e565b600382019050919050565b6000613122602483613cd9565b915061312d82614537565b604082019050919050565b6000613145601983613cd9565b915061315082614586565b602082019050919050565b6000613168603083613cea565b9150613173826145af565b603082019050919050565b600061318b602c83613cd9565b9150613196826145fe565b604082019050919050565b60006131ae600383613cea565b91506131b98261464d565b600382019050919050565b60006131d1600883613cea565b91506131dc82614676565b600882019050919050565b60006131f4600483613cea565b91506131ff8261469f565b600482019050919050565b6000613217602383613cea565b9150613222826146c8565b602382019050919050565b600061323a600d83613cea565b915061324582614717565b600d82019050919050565b600061325d603883613cd9565b915061326882614740565b604082019050919050565b6000613280601e83613cea565b915061328b8261478f565b601e82019050919050565b60006132a3602883613cea565b91506132ae826147b8565b602882019050919050565b60006132c6602a83613cd9565b91506132d182614807565b604082019050919050565b60006132e9602983613cd9565b91506132f482614856565b604082019050919050565b600061330c602083613cd9565b9150613317826148a5565b602082019050919050565b600061332f600183613cea565b915061333a826148ce565b600182019050919050565b6000613352602c83613cd9565b915061335d826148f7565b604082019050919050565b6000613375601183613cd9565b915061338082614946565b602082019050919050565b6000613398602083613cd9565b91506133a38261496f565b602082019050919050565b60006133bb600183613cea565b91506133c682614998565b600182019050919050565b60006133de600383613cea565b91506133e9826149c1565b600382019050919050565b6000613401602183613cd9565b915061340c826149ea565b604082019050919050565b6000613424601d83613cea565b915061342f82614a39565b601d82019050919050565b6000613447601683613cea565b915061345282614a62565b601682019050919050565b600061346a603183613cd9565b915061347582614a8b565b604082019050919050565b600061348d600883613cea565b915061349882614ada565b600882019050919050565b60006134b0602783613cea565b91506134bb82614b03565b602782019050919050565b60006134d3600683613cea565b91506134de82614b52565b600682019050919050565b60006134f6600483613cea565b915061350182614b7b565b600482019050919050565b61351581613e74565b82525050565b61352c61352782613e74565b613fb4565b82525050565b600061353e8285612ed7565b915061354a8284612ed7565b91508190509392505050565b60006135628284612ed7565b915061356d82612f2b565b915081905092915050565b600061358382612f08565b915061358f828b612ed7565b915061359b828a612ed7565b91506135a78289612ed7565b91506135b38288612ed7565b91506135be826130ac565b91506135ca8287612ed7565b91506135d68286612ed7565b91506135e28285612ed7565b91506135ee8284612ed7565b91506135f9826134c6565b91508190509998505050505050505050565b600061361682612f4e565b91506136228284612ed7565b915061362d82613322565b915081905092915050565b600061364382612f94565b915061364f828a612ed7565b915061365b8289612ed7565b915061366682612f71565b91506136728288612ed7565b915061367d82613020565b91506136898287612ed7565b91506136958286612ed7565b91506136a082613296565b91506136ac8285612ed7565b91506136b78261320a565b91506136c38284612ed7565b91506136ce826134e9565b915081905098975050505050505050565b60006136ea82612fda565b91506136f68284612ed7565b915061370182613322565b915081905092915050565b6000613717826131c4565b91506137238284612ed7565b915061372e82613322565b915081905092915050565b6000613744826131e7565b91506137508286612ed7565b915061375b826130cf565b91506137678285612ed7565b915061377282613089565b915061377e8284612ed7565b9150613789826131a1565b9150819050949350505050565b60006137a182613273565b91506137ad8285612ed7565b91506137b8826134a3565b91506137c48284612ed7565b91506137cf826130f2565b91508190509392505050565b60006137e6826133ae565b91506137f28284612ed7565b915081905092915050565b600061380882613417565b91506138148284612ed7565b915081905092915050565b600061382a8261343a565b91506138368285612ed7565b91506138418261322d565b915061384d8284612ed7565b9150613858826133d1565b91508190509392505050565b600061386f82613480565b915061387b8284612ed7565b915061388682613322565b915081905092915050565b600061389d828561351b565b6020820191506138ad828461351b565b6020820191506138bc8261315b565b91508190509392505050565b60006020820190506138dd6000830184612e0b565b92915050565b60006080820190506138f86000830187612e0b565b6139056020830186612e0b565b613912604083018561350c565b81810360608301526139248184612e29565b905095945050505050565b60006020820190506139446000830184612e1a565b92915050565b600060208201905081810360008301526139648184612e9e565b905092915050565b6000602082019050818103600083015261398581612fb7565b9050919050565b600060208201905081810360008301526139a581612ffd565b9050919050565b600060208201905081810360008301526139c581613043565b9050919050565b600060208201905081810360008301526139e581613066565b9050919050565b60006020820190508181036000830152613a0581613115565b9050919050565b60006020820190508181036000830152613a2581613138565b9050919050565b60006020820190508181036000830152613a458161317e565b9050919050565b60006020820190508181036000830152613a6581613250565b9050919050565b60006020820190508181036000830152613a85816132b9565b9050919050565b60006020820190508181036000830152613aa5816132dc565b9050919050565b60006020820190508181036000830152613ac5816132ff565b9050919050565b60006020820190508181036000830152613ae581613345565b9050919050565b60006020820190508181036000830152613b0581613368565b9050919050565b60006020820190508181036000830152613b258161338b565b9050919050565b60006020820190508181036000830152613b45816133f4565b9050919050565b60006020820190508181036000830152613b658161345d565b9050919050565b6000602082019050613b81600083018461350c565b92915050565b6000604082019050613b9c600083018561350c565b613ba96020830184612e62565b9392505050565b6000604082019050613bc5600083018561350c565b613bd26020830184612e71565b9392505050565b6000604082019050613bee600083018561350c565b613bfb6020830184612e80565b9392505050565b6000604082019050613c17600083018561350c565b613c246020830184612e8f565b9392505050565b6000613c35613c46565b9050613c418282613f3a565b919050565b6000604051905090565b600067ffffffffffffffff821115613c6b57613c6a61407c565b5b613c74826140ab565b9050602081019050919050565b600067ffffffffffffffff821115613c9c57613c9b61407c565b5b613ca5826140ab565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613d0082613e74565b9150613d0b83613e74565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613d4057613d3f613fef565b5b828201905092915050565b6000613d5682613e74565b9150613d6183613e74565b925082613d7157613d7061401e565b5b828204905092915050565b6000613d8782613e74565b9150613d9283613e74565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613dcb57613dca613fef565b5b828202905092915050565b6000613de182613e74565b9150613dec83613e74565b925082821015613dff57613dfe613fef565b5b828203905092915050565b6000613e1582613e54565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000613e8982613e74565b9050919050565b6000613e9b82613e74565b9050919050565b6000613ead82613e74565b9050919050565b6000613ebf82613e74565b9050919050565b82818337600083830152505050565b60005b83811015613ef3578082015181840152602081019050613ed8565b83811115613f02576000848401525b50505050565b60006002820490506001821680613f2057607f821691505b60208210811415613f3457613f3361404d565b5b50919050565b613f43826140ab565b810181811067ffffffffffffffff82111715613f6257613f6161407c565b5b80604052505050565b6000613f7682613e74565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613fa957613fa8613fef565b5b600182019050919050565b6000819050919050565b6000613fc982613e74565b9150613fd483613e74565b925082613fe457613fe361401e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e673d22757460008201527f662d38223f3e3c73766720786d6c6e733d22687474703a2f2f7777772e77332e60208201527f6f72672f323030302f7376672220786d6c6e733a786c696e6b3d22687474703a60408201527f2f2f7777772e77332e6f72672f313939392f786c696e6b222076696577426f7860608201527f3d223020302031303020313030223e3c7374796c653e7376677b6261636b677260808201527f6f756e642d636f6c6f723a68736c28302c30252c393725293b7d7573657b747260a08201527f616e73666f726d2d6f726967696e3a3530253b7d2e747b66696c6c3a7267622860c08201527f302c302c302c302e31293b7d000000000000000000000000000000000000000060e082015250565b7f202f2033227d2c00000000000000000000000000000000000000000000000000600082015250565b7f2e627b66696c6c3a000000000000000000000000000000000000000000000000600082015250565b7f222c226465736372697074696f6e223a2252657665616c20697320746865206d60008201527f6f7374206578636974696e67206576656e74206f6e204e46542e222c2263726560208201527f617465645f6279223a22626f757a65222c22696d616765223a22646174613a6960408201527f6d6167652f7376672b786d6c3b6261736536342c000000000000000000000000606082015250565b7f7b226e616d65223a220000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f2e647b66696c6c3a000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f222c2261747472696275746573223a5b7b2274726169745f74797065223a202260008201527f52657665616c20636f756e74222c2276616c7565223a22000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f252c000000000000000000000000000000000000000000000000000000000000600082015250565b7f3c2f7374796c653e000000000000000000000000000000000000000000000000600082015250565b7f2c00000000000000000000000000000000000000000000000000000000000000600082015250565b7f227d2c0000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f346530373035363264623065356331646566656131366237323330646530316660008201527f3634306237653437323962343966636500000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f25293b0000000000000000000000000000000000000000000000000000000000600082015250565b7f2e637b66696c6c3a000000000000000000000000000000000000000000000000600082015250565b7f68736c2800000000000000000000000000000000000000000000000000000000600082015250565b7f227d2c7b2274726169745f74797065223a22506172656e74222c2276616c756560008201527f223a220000000000000000000000000000000000000000000000000000000000602082015250565b7f222063793d2235302220723d2200000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f7b2274726169745f74797065223a2254797065222c2276616c7565223a220000600082015250565b7f7b2274726169745f74797065223a2247656e65726174696f6e222c2276616c7560008201527f65223a2247454e20000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f7d00000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f2300000000000000000000000000000000000000000000000000000000000000600082015250565b7f222f3e0000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b7f3c636972636c6520636c6173733d2264222063783d2200000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f2e617b66696c6c3a000000000000000000000000000000000000000000000000600082015250565b7f227d2c7b2274726169745f74797065223a2253617475726174696f6e222c227660008201527f616c7565223a2200000000000000000000000000000000000000000000000000602082015250565b7f3c2f7376673e0000000000000000000000000000000000000000000000000000600082015250565b7f227d5d7d00000000000000000000000000000000000000000000000000000000600082015250565b614bad81613e0a565b8114614bb857600080fd5b50565b614bc481613e1c565b8114614bcf57600080fd5b50565b614bdb81613e28565b8114614be657600080fd5b50565b614bf281613e74565b8114614bfd57600080fd5b5056fe3c636972636c6520636c6173733d2264222063783d223530222063793d2235302220723d22333022207374796c653d22616e696d6174696f6e3a6620302e3173206c696e65617220696e66696e6974653b222f3e3c7374796c653e406b65796672616d657320667b3439257b6f7061636974793a313b7d3530257b6f7061636974793a303b7d7d3c2f7374796c653e3c75736520687265663d2223702220636c6173733d226222207472616e73666f726d3d22726f7461746528393029222f3e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f3c7061746820643d224d39352e352c35382e34632d302e392c332e392d312e382c372e382d342c31312e32632d312e372c322e382d332e382c352e322d362c372e36632d342c342e352d382e342c382e392d31302e332c31342e3863302c302c302c302c302c3063322d362e342c362e392d31312c31312e322d31352e3963322d322e322c332e392d342e362c352e342d372e314339332e382c36352e382c39342e372c36322e312c39352e352c35382e344339352e352c35382e342c39352e352c35382e342c39352e352c35382e344c39352e352c35382e347a22207374726f6b653d222330303022207374726f6b652d77696474683d22302e3035222f3e3c636972636c6520636c6173733d2264222063783d223530222063793d2235302220723d223330222f3e3c646566733e3c672069643d2270223e3c706f6c79676f6e20706f696e74733d2232352c3020302c323520302c313030203130302c313030203130302c30222f3e3c706f6c79676f6e20636c6173733d22742220706f696e74733d2232352c302032352c323520302c3235222f3e3c2f673e3c2f646566733e3c75736520687265663d2223702220636c6173733d226422207472616e73666f726d3d22726f746174652832373029222f3e3c636972636c6520636c6173733d2261222063783d223235222063793d2233352220723d223330222f3e3c636972636c6520636c6173733d2264222063783d223530222063793d2235302220723d223330222f3e3c646566733e3c672069643d2270223e3c706f6c79676f6e20706f696e74733d2232352c3020302c323520302c313030203130302c313030203130302c30222f3e3c706f6c79676f6e20636c6173733d22742220706f696e74733d2232352c302032352c323520302c3235222f3e3c2f673e3c2f646566733e3c75736520687265663d2223702220636c6173733d226322207472616e73666f726d3d22726f746174652831383029222f3ea26469706673582212205c405c636f3a1c7ce75e43168f9d65936dfeb3211ecaa3df1fde0d18d865952464736f6c63430008040033

Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.