ETH Price: $2,419.26 (+0.00%)

Token

1inch Address NFT (1ANFT)
 

Overview

Max Total Supply

0 1ANFT

Holders

126

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 1ANFT
0x79c94987d11eca82de1e4f45314c19836186da3e
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
AddressToken

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 1000000 runs

Other Settings:
default evmVersion
File 1 of 15 : AddressToken.sol
// SPDX-License-Identifier: MIT

/*
                                                           ,β–„β–“β–“β–ˆβ–ˆβ–Œ   ,β•“β–„β–„β–“β–“β–“β–“β–“β–“β–“β–“β–„β–„β–„,,
                                                        ,β–“β–ˆβ–ˆβ–“β–ˆβ–ˆβ–ˆβ–“β–„β–“β–ˆβ–ˆβ–ˆβ–“β•¬β•¬β•¬β•¬β•¬β•¬β•¬β•¬β•¬β•¬β•¬β•¬β•¬β–“β–ˆβ–ˆβ–ˆβ–“β–„,
                                                  β–„β–ˆ   β–“β–ˆβ–ˆβ•¬β•£β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•¬β–“β–€β•¬β•¬β–“β–“β–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„,
                                                 β–“β–ˆβ–ˆβ–Œ β–“β–ˆβ–ˆβ•¬β•£β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•¬β–“β–Œ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œβ•™β•™β–€βΏ
                                                β–β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•¬β–“β–ˆβ–ˆβ–ˆβ–ˆβ–“β–“β–ˆβ•¨ β–„ β•Ÿβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“β–“β•¬β•¬β•¬β•¬β•¬β–“β–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“β–„
                                  β””β–€β–“β–“β–„β•“        β•Ÿβ–ˆβ–“β•£β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–€ β•“β–ˆβ–Œ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“β–“β–“β–“β–“β•¬β•¬β•¬β•¬β•¬β•¬β•¬β•¬β•¬β•¬β•¬β•¬β–“β–ˆβ–ˆβ–“β–„
                                     β””β–€β–ˆβ–ˆβ–ˆβ–ˆβ–“β–„β•₯  β–β–ˆβ–ˆβ•¬β•¬β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•™ Æ▀─ β–“β–ˆβ–ˆβ–ˆβ–€β•šβ• β•¬β•©β–€β–€β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“β–“β•¬β•¬β•¬β•¬β•¬β•¬β•¬β•¬β•¬β–ˆβ–ˆβ–„
                                        β””β–€β–ˆβ–ˆβ–“β–€β–€β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“β•¬β–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–€     β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–’β• "      β””β•™β–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“β•¬β•¬β•¬β•¬β•¬β•¬β•¬β•¬β–ˆβ–ˆβ–„
                                           β””β–€β–ˆβ–ˆβ–„,β””β•™β–€β–€β–ˆβ–ˆβ–ˆβ–ˆβ–Œβ””β•™    ^"β–€β•™β•™β•™"β•™β–ˆβ–ˆ      @β–„    β•™β–€β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•¬β•¬β•¬β•¬β•¬β•¬β•¬β–ˆβ–ˆµ
                                              β””β–€β–ˆβ–ˆβ–“β–„, β–ˆβ–ˆβ–Œ       β•’       β•™β–ˆβ–“     ]β–“β–ˆβ–“β•”    β–€β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“β•¬β•¬β•¬β•¬β•¬β–“β–ˆβ–Œ
                                                  β–€β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ       β–“         β•Ÿβ–ˆβ–Œ    ]β• β–ˆβ–ˆβ–“β–‘β–’β•“   β–€β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•¬β•¬β•¬β•¬β•£β–ˆβ–Œ
                                                  β–β–ˆβ–ˆβ–ˆβ–ˆ      β•“β–ˆβ–€β–ˆβ–Œ      ,β–ˆβ–ˆβ–Œ    β•šÅβ–ˆβ–ˆβ–ˆβ–“β–’β–’β• β•“  β•™β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•¬β•¬β•¬β•£β–ˆβ–Œ
                                                  β””β–ˆβ–ˆβ–ˆβ–ˆ     β–“β–ˆβ–‘β–‘β–“β–ˆ      β–€β–€β–€    Ο†β–’β•«β–ˆβ–ˆβ–ˆβ–ˆβ–’β–’β–’β–’β• β•“  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“β•¬β•¬β–“β–ˆµ
                                                   β•˜β–ˆβ–ˆβ–ˆµ β–Œβ–„β–ˆβ–“β–„β–“β–€`     ,β–€    ,β•”β• β–‘β–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œβ• β–’β–’β–’Ο†  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•¬β•¬β–ˆβ–ˆ
                                                   β–β–ˆβ–ˆβ–ˆβ–ˆµβ•™β–“β–€`     ,β–€β•™,β•”β•”Ο†Ο†Ο†β• β–‘β–„β–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œβ–‘β–“β•™β–’β–’β–’β•  β””β–ˆβ–ˆβ•¬β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•¬β–“β–ˆβŒ
                                                   β•«β–ˆβ–ˆ β–“β–Œ         β–ŒΟ†β–’β–’β–‘β–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œβ–’β–‘β–“β•šβ–’β–’β–’β•  β–“β–ˆβ–ˆβ•¬β–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•£β–ˆβ–Œ
                                                   β–ˆβ–ˆβ–Œ           β–Œβ•”β–’β–’β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–’β–’β–’β–‘β–Œβ• β–’β–’β–’β‰₯β–β–ˆβ–ˆβ–“β•¬β•¬β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ
                                                   β–ˆβ–ˆβ–Œ      ,β•“Ο†β• β–“«β–’β–’β–“β–ˆβ–ˆβ–ˆβ–ˆβ–€  β–€β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œβ–’β–’β–’β•Ÿβ–‘β–’β–’β–’β–’β–β–ˆβ–ˆβ–ˆβ•¬β•¬β•£β–ˆβ–ˆβ–ˆβ–ˆβ–“β–ˆβ–Œ
                                                  β–β–ˆβ–ˆ      β• β–’β–„β–“β–“β–ˆβ–ˆβ–ˆβ–“β–ˆβ–ˆβ–ˆβ–ˆβ””     β–€β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œβ–’β–’β–‘β–Œβ•šβ–’β–’β–’β–β–ˆβ–ˆβ–ˆβ–“β•¬β•¬β–ˆβ–ˆβ–ˆβ–ˆ β•™β–Œ
                                                  β–ˆβ–ˆβ–ˆ  )  β• β–’β–‘β–‘β–‘β–’β–‘β•¬β–ˆβ–ˆβ–ˆβ–ˆβ–€        β””β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–’β–’β–‘β•¬βˆ©β–’β–’β–“β–ˆβ–ˆβ–ˆβ–ˆβ•¬β•¬β•£β–ˆβ–ˆβ–ˆ
                                                 β–“β–ˆβ–ˆ    β• β• β–’β–’β–β–ˆβ–€β–€β–Œ`β–‘β•«β–ˆβ–ˆ           β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–’β–’β–’β–’β–‘β–’β–’½β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•¬β•¬β•£β–ˆβ–ˆβ–ˆ
                                                β–ˆβ–ˆβ–ˆ ,β–ˆβ–„ β• β–’β–’β–’β•«β–Œ,β–„β–€,β–’β•«β–ˆβ–ˆ           β•Ÿβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–’β–’β–’β–‘β•£βŒ β–’β–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•¬β•¬β•£β–ˆβ–ˆβ–Œ
                                               β•˜β–ˆβ–ˆµ β–ˆβ–ˆ` β• β–’β–’β–‘β–ˆβ–ˆβ•¬Ο†β• β–„β–“β–ˆβ–ˆ`            β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–ŒΟ†β• β–‘β–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“β•¬β•¬β–“β–ˆβ–ˆ
                                                β•Ÿβ–ˆβ–ˆ  .Ο†β• β–’β–‘β–„β–ˆβ–€β–‘β–‘β–„β–ˆβ–ˆβ–€β””              β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œβ–’β•£Ο†β–’β–‘β–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•¬β•¬β•£β–ˆβ–ˆ
                                                 β–€β–ˆβ–ˆβ–„β–„β–„β•“β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–€                β–β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–“Ο†β–’β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“β•¬β•£β–ˆβ–ˆ
                                                   β•™β–€β–€β–€β–ˆβ–ˆβ–€β””                      β–ˆβ–ˆβ–ˆβ–ˆβ–“β–„β–€Ο†β–„β–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•¬β–“β–ˆβ–€
                                                                                β–“β–ˆβ–ˆβ–ˆβ•¬β•©β•”β•£β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–“β–ˆβ–ˆβ””
                                                                              β•“β–ˆβ–ˆβ–ˆβ–ˆβ–€β–„β–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–€β–ˆβ–ˆβ–ˆβ–ˆβ–€
                                                                            ,β–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ”€]β–ˆβ–ˆβ•™
                                                                         ,β–„β–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–€β””  β•™
                                                                    ,β•“β–„β–“β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–€β•™
                                                             `"β–€β–€β–€β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–€β–€β–€β–€`β–„β–ˆβ–ˆβ–ˆβ–€β–€β””
                                                                              β””β””

                                                        11\   11\                     11\
                                                      1111 |  \__|                    11 |
                                                      \_11 |  11\ 1111111\   1111111\ 1111111\
                                                        11 |  11 |11  __11\ 11  _____|11  __11\
                                                        11 |  11 |11 |  11 |11 /      11 |  11 |
                                                        11 |  11 |11 |  11 |11 |      11 |  11 |
                                                      111111\ 11 |11 |  11 |\1111111\ 11 |  11 |
                                                      \______|\__|\__|  \__| \_______|\__|  \__|


                         111111\        11\       11\                                               11\   11\ 11111111\ 11111111\
                        11  __11\       11 |      11 |                                              111\  11 |11  _____|\__11  __|
                        11 /  11 | 1111111 | 1111111 | 111111\   111111\   1111111\  1111111\       1111\ 11 |11 |         11 |
                        11111111 |11  __11 |11  __11 |11  __11\ 11  __11\ 11  _____|11  _____|      11 11\11 |11111\       11 |
                        11  __11 |11 /  11 |11 /  11 |11 |  \__|11111111 |\111111\  \111111\        11 \1111 |11  __|      11 |
                        11 |  11 |11 |  11 |11 |  11 |11 |      11   ____| \____11\  \____11\       11 |\111 |11 |         11 |
                        11 |  11 |\1111111 |\1111111 |11 |      \1111111\ 1111111  |1111111  |      11 | \11 |11 |         11 |
                        \__|  \__| \_______| \_______|\__|       \_______|\_______/ \_______/       \__|  \__|\__|         \__|
*/

pragma solidity 0.8.20;

import { Base64 } from "@openzeppelin/contracts/utils/Base64.sol";
import { Strings } from "@openzeppelin/contracts/utils/Strings.sol";
import { ERC721 } from "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import { CREATE3 } from "solmate/src/utils/CREATE3.sol";

contract AddressToken is ERC721("1inch Address NFT", "1ANFT") {
    error AccessDenied();
    error RemintForbidden();
    error CallReverted(uint256, bytes);

    bytes32 private constant _LOW_128_BIT_MASK = 0x00000000000000000000000000000000ffffffffffffffffffffffffffffffff;

    mapping(address /* tokenId */ => bytes32 /* salt */) public salts;

    function addressForTokenId(uint256 tokenId) external pure returns(address) {
        return address(uint160(tokenId));
    }

    function tokenURI(uint256 tokenId) public pure override returns(string memory) {
        return string.concat("data:application/json;base64,", Base64.encode(bytes(tokenJSON(tokenId))));
    }

    function tokenJSON(uint256 tokenId) public pure returns(string memory) {
        bytes memory accountHex = bytes(Strings.toHexString(tokenId, 20));
        bytes memory accountMask = new bytes(42);
        bytes memory attributes = bytes.concat(
            _detectRepetitions(accountHex, accountMask),
            _detectLongestPalindrome(accountHex, accountMask),
            _detectWords(accountHex),
            _detectZeroBytes(accountHex),
            _detectSymbols(accountHex),
            _detectAlphabets(accountHex)
        );

        // Cut out last ',\n':
        // attributes.length -= 2;
        assembly ("memory-safe") {  // solhint-disable-line no-inline-assembly
            mstore(attributes, sub(mload(attributes), 2))
        }

        _checksumAddress(accountHex);

        bytes memory json = bytes.concat('{\n',
            '\t"name": "Deploy to ', accountHex, '",\n',
            '\t"description": "Enables holder to deploy arbitrary smart contract to ', accountHex, '",\n',
            '\t"external_url": "https://etherscan.io/address/', accountHex, '",\n',
            '\t"image": "ipfs://QmZW3TTdtK87ktxmh6PG5UumbtoWXU8rVBApo65oknekmc",\n',
            '\t"animation_url": "ipfs://QmZKp3K7oyDFPkVUXUgDKqZ6RcLZY7QW267JvXRTLW1qaG",\n',
            '\t"attributes": [\n',
                attributes, bytes(attributes.length > 0 ? '\n' : ''),
            '\t]\n',
        '}');

        return string(json);
    }

    function _detectRepetitions(bytes memory accountHex, bytes memory accountMask) private pure returns(bytes memory attributes) {
        uint256 length = 1;
        bytes1 letter = accountHex[2];
        for (uint256 i = 3; i < 42; i++) {
            if (accountHex[i] == letter) {
                length++;
            }

            if (accountHex[i] != letter || i == 41) {
                if (length >= 4) {
                    if (length + 2 == i) {
                        attributes = bytes.concat(attributes, '\t\t{\n\t\t\t"trait_type": "Repeated prefix ', letter, '",\n\t\t\t"value": ', bytes(Strings.toString(length)), '\n\t\t},\n');
                    } else if (i == 41) {
                        attributes = bytes.concat(attributes, '\t\t{\n\t\t\t"trait_type": "Repeated suffix ', letter, '",\n\t\t\t"value": ', bytes(Strings.toString(length)), '\n\t\t},\n');
                    }
                    attributes = bytes.concat(attributes, '\t\t{\n\t\t\t"trait_type": "Repeated symbol ', letter, '",\n\t\t\t"value": ', bytes(Strings.toString(length)), '\n\t\t},\n');

                    for (uint256 t = 0; t < length; t++) {
                        accountMask[i + (accountHex[i] != letter ? 0 : 1) - length + t] = bytes1(uint8(length - t));
                    }
                }
                length = 1;
                letter = accountHex[i];
            }
        }
    }

    function _detectLongestPalindrome(bytes memory accountHex, bytes memory accountMask) private pure returns(bytes memory attributes) {
        for (uint256 length = 40; length >= 5 && attributes.length == 0; length--) {
            attributes = _palindromPalindromOfLength(accountHex, accountMask, length);
        }
    }

    function _palindromPalindromOfLength(bytes memory accountHex, bytes memory accountMask, uint256 length) private pure returns(bytes memory attributes) {
        for (uint256 i = 2; i <= 42 - length; i++) {
            if (uint8(accountMask[i]) >= length) {
                continue;
            }
            uint256 matched = 0;
            for (uint256 j = 0; j < length >> 1 && accountHex[i + j] == accountHex[i + length - 1 - j]; j++) {
                matched++;
            }

            if (matched == length >> 1) {
                if (i == 2) {
                    attributes = bytes.concat(attributes, '\t\t{\n\t\t\t"trait_type": "Palindrome prefix",\n\t\t\t"value": ', bytes(Strings.toString(length)), '\n\t\t},\n');
                } else if (i + length == 42) {
                    attributes = bytes.concat(attributes, '\t\t{\n\t\t\t"trait_type": "Palindrome suffix",\n\t\t\t"value": ', bytes(Strings.toString(length)), '\n\t\t},\n');
                }
                attributes = bytes.concat(attributes, '\t\t{\n\t\t\t"trait_type": "Palindrome",\n\t\t\t"value": ', bytes(Strings.toString(length)), '\n\t\t},\n');
                break;
            }
        }
    }

    function _detectWords(bytes memory accountHex) private pure returns(bytes memory attributes) {
        string[19] memory words = [
            'dead', 'beef', 'c0ffee', 'def1',
            '1ee7', '1337', 'babe', 'f00d',
            'dec0de', 'facade', 'decade', 'feed',
            'face', 'c0de', 'c0c0a', 'caca0',
            'cafe', '5eed', '5e1f'
        ];
        for (uint256 i = 0; i < words.length; i++) {
            attributes = bytes.concat(attributes, _detectSingleWord(accountHex, bytes(words[i])));
        }
    }

    function _detectSingleWord(bytes memory accountHex, bytes memory word) private pure returns(bytes memory attributes) {
        uint256 count = 0;
        for (uint256 i = 2; i <= 42 - word.length; i++) {
            uint256 matched = 0;
            for (uint256 j = 0; j < word.length && accountHex[i + j] == word[j]; j++) {
                matched++;
            }

            if (matched == word.length) {
                if (i == 2) {
                    attributes = bytes.concat(attributes, '\t\t{\n\t\t\t"trait_type": "Word prefix",\n\t\t\t"value": "', word, '"\n\t\t},\n');
                } else if (i + word.length == 42) {
                    attributes = bytes.concat(attributes, '\t\t{\n\t\t\t"trait_type": "Word suffix",\n\t\t\t"value": "', word, '"\n\t\t},\n');
                }
                count++;
                i += word.length - 1;
            }
        }

        if (count > 0) {
            attributes = bytes.concat(attributes, '\t\t{\n\t\t\t"trait_type": "Word ', word, '",\n\t\t\t"value": ', bytes(Strings.toString(count)), '\n\t\t},\n');
        }
    }

    function _detectZeroBytes(bytes memory accountHex) private pure returns(bytes memory attributes) {
        uint256 count = 0;
        for (uint256 i = 2; i < 42; i += 2) {
            if (accountHex[i] == '0' && accountHex[i + 1] == '0') {
                count++;
            }
        }
        return bytes.concat('\t\t{\n\t\t\t"trait_type": "Zero bytes",\n\t\t\t"value": ', bytes(Strings.toString(count)), '\n\t\t},\n');
    }

    function _detectSymbols(bytes memory accountHex) private pure returns(bytes memory attributes) {
        bytes memory counters = new bytes(256);
        for (uint256 i = 2; i < 42; i++) {
            counters[uint8(accountHex[i])] = bytes1(uint8(counters[uint8(accountHex[i])]) + 1);
        }
        bytes memory alphabet = "0123456789abcdef";
        for (uint256 i = 0; i < alphabet.length; i++) {
            uint256 count = uint8(counters[uint8(alphabet[i])]);
            attributes = bytes.concat(attributes, '\t\t{\n\t\t\t"trait_type": "Symbol ', alphabet[i], '",\n\t\t\t"value": ', bytes(Strings.toString(count)), '\n\t\t},\n');
        }
    }

    function _detectAlphabets(bytes memory accountHex) private pure returns(bytes memory attributes) {
        bool onlyDigits = true;
        bool onlyLetters = true;
        for (uint256 i = 2; i < 42; i++) {
            if (accountHex[i] < '0' || accountHex[i] > '9') {
                onlyDigits = false;
            }
            if (accountHex[i] < 'a' || accountHex[i] > 'f') {
                onlyLetters = false;
            }
        }

        if (onlyDigits) {
            attributes = '\t\t{\n\t\t\t"trait_type": "Digits only"\n\t\t},\n';
        } else if (onlyLetters) {
            attributes = '\t\t{\n\t\t\t"trait_type": "Letters only"\n\t\t},\n';
        }
    }

    function _checksumAddress(bytes memory hexAddress) private pure {
        bytes32 hash;
        assembly ("memory-safe") {  // solhint-disable-line no-inline-assembly
            hash := keccak256(add(hexAddress, 0x22), sub(mload(hexAddress), 2))
        }
        for (uint256 i = 2; i < 42; i++) {
            uint256 hashByte = uint8(hash[(i - 2) >> 1]);
            if (((i & 1 == 0) ? (hashByte >> 4) : (hashByte & 0x0f)) > 7 && hexAddress[i] > '9') {
                hexAddress[i] = bytes1(uint8(hexAddress[i]) - 0x20);
            }
        }
    }

    function addressAndSaltForMagic(bytes16 magic, address account) public view returns(address tokenId, bytes32 salt) {
        bytes32 hashedAccount = keccak256(abi.encodePacked(account));
        salt = (_LOW_128_BIT_MASK & hashedAccount) | bytes32(magic);
        tokenId = CREATE3.getDeployed(salt);
    }

    function mint(bytes16 magic) external returns(address tokenId) {
        return mintFor(magic, msg.sender);
    }

    function mintFor(bytes16 magic, address account) public returns(address tokenId) {
        bytes32 salt;
        (tokenId, salt) = addressAndSaltForMagic(magic, account);
        if (salts[tokenId] != 0) revert RemintForbidden();
        salts[tokenId] = salt;
        _mint(account, uint160(tokenId));
    }

    function deploy(address tokenId, bytes calldata creationCode) public payable returns(address deployed) {
        if (msg.sender != ownerOf(uint160(tokenId))) revert AccessDenied();
        _burn(uint160(tokenId));
        deployed = CREATE3.deploy(salts[tokenId], creationCode, msg.value);
    }

    function deployAndCalls(address tokenId, bytes calldata creationCode, bytes[] calldata cds) external payable returns(address deployed) {
        deployed = deploy(tokenId, creationCode);
        for (uint256 i = 0; i < cds.length; i++) {
            (bool success, bytes memory reason) = deployed.call(cds[i]);  // solhint-disable-line avoid-low-level-calls
            if (!success) revert CallReverted(i, reason);
        }
    }
}

File 2 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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: address zero is not a valid owner");
        return _balances[owner];
    }

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

        _owners[tokenId] = to;

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

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

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

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

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

        // Clear approvals
        delete _tokenApprovals[tokenId];

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId, 1);

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

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

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

        emit Transfer(from, to, tokenId);

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

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

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

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

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

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

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

    /**
     * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override.
     *
     * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant
     * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such
     * that `ownerOf(tokenId)` is `a`.
     */
    // solhint-disable-next-line func-name-mixedcase
    function __unsafe_increaseBalance(address account, uint256 amount) internal {
        _balances[account] += amount;
    }
}

File 3 of 15 : 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 4 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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 have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) external;

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

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

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

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

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

File 5 of 15 : 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 6 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

File 7 of 15 : Base64.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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));

        /// @solidity memory-safe-assembly
        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 8 of 15 : 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 9 of 15 : 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 10 of 15 : 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);
}

File 11 of 15 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 12 of 15 : SignedMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.0;

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

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

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

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

File 13 of 15 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";
import "./math/SignedMath.sol";

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

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

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

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

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

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

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

File 14 of 15 : Bytes32AddressLib.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.8.0;

/// @notice Library for converting between addresses and bytes32 values.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/Bytes32AddressLib.sol)
library Bytes32AddressLib {
    function fromLast20Bytes(bytes32 bytesValue) internal pure returns (address) {
        return address(uint160(uint256(bytesValue)));
    }

    function fillLast12Bytes(address addressValue) internal pure returns (bytes32) {
        return bytes32(bytes20(addressValue));
    }
}

File 15 of 15 : CREATE3.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.8.0;

import {Bytes32AddressLib} from "./Bytes32AddressLib.sol";

/// @notice Deploy to deterministic addresses without an initcode factor.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/CREATE3.sol)
/// @author Modified from 0xSequence (https://github.com/0xSequence/create3/blob/master/contracts/Create3.sol)
library CREATE3 {
    using Bytes32AddressLib for bytes32;

    //--------------------------------------------------------------------------------//
    // Opcode     | Opcode + Arguments    | Description      | Stack View             //
    //--------------------------------------------------------------------------------//
    // 0x36       |  0x36                 | CALLDATASIZE     | size                   //
    // 0x3d       |  0x3d                 | RETURNDATASIZE   | 0 size                 //
    // 0x3d       |  0x3d                 | RETURNDATASIZE   | 0 0 size               //
    // 0x37       |  0x37                 | CALLDATACOPY     |                        //
    // 0x36       |  0x36                 | CALLDATASIZE     | size                   //
    // 0x3d       |  0x3d                 | RETURNDATASIZE   | 0 size                 //
    // 0x34       |  0x34                 | CALLVALUE        | value 0 size           //
    // 0xf0       |  0xf0                 | CREATE           | newContract            //
    //--------------------------------------------------------------------------------//
    // Opcode     | Opcode + Arguments    | Description      | Stack View             //
    //--------------------------------------------------------------------------------//
    // 0x67       |  0x67XXXXXXXXXXXXXXXX | PUSH8 bytecode   | bytecode               //
    // 0x3d       |  0x3d                 | RETURNDATASIZE   | 0 bytecode             //
    // 0x52       |  0x52                 | MSTORE           |                        //
    // 0x60       |  0x6008               | PUSH1 08         | 8                      //
    // 0x60       |  0x6018               | PUSH1 18         | 24 8                   //
    // 0xf3       |  0xf3                 | RETURN           |                        //
    //--------------------------------------------------------------------------------//
    bytes internal constant PROXY_BYTECODE = hex"67_36_3d_3d_37_36_3d_34_f0_3d_52_60_08_60_18_f3";

    bytes32 internal constant PROXY_BYTECODE_HASH = keccak256(PROXY_BYTECODE);

    function deploy(
        bytes32 salt,
        bytes memory creationCode,
        uint256 value
    ) internal returns (address deployed) {
        bytes memory proxyChildBytecode = PROXY_BYTECODE;

        address proxy;
        /// @solidity memory-safe-assembly
        assembly {
            // Deploy a new contract with our pre-made bytecode via CREATE2.
            // We start 32 bytes into the code to avoid copying the byte length.
            proxy := create2(0, add(proxyChildBytecode, 32), mload(proxyChildBytecode), salt)
        }
        require(proxy != address(0), "DEPLOYMENT_FAILED");

        deployed = getDeployed(salt);
        (bool success, ) = proxy.call{value: value}(creationCode);
        require(success && deployed.code.length != 0, "INITIALIZATION_FAILED");
    }

    function getDeployed(bytes32 salt) internal view returns (address) {
        address proxy = keccak256(
            abi.encodePacked(
                // Prefix:
                bytes1(0xFF),
                // Creator:
                address(this),
                // Salt:
                salt,
                // Bytecode hash:
                PROXY_BYTECODE_HASH
            )
        ).fromLast20Bytes();

        return
            keccak256(
                abi.encodePacked(
                    // 0xd6 = 0xc0 (short RLP prefix) + 0x16 (length of: 0x94 ++ proxy ++ 0x01)
                    // 0x94 = 0x80 + 0x14 (0x14 = the length of an address, 20 bytes, in hex)
                    hex"d6_94",
                    proxy,
                    hex"01" // Nonce of the proxy contract (1)
                )
            ).fromLast20Bytes();
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 1000000
  },
  "viaIR": true,
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"name":"AccessDenied","type":"error"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"CallReverted","type":"error"},{"inputs":[],"name":"RemintForbidden","type":"error"},{"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":"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":"bytes16","name":"magic","type":"bytes16"},{"internalType":"address","name":"account","type":"address"}],"name":"addressAndSaltForMagic","outputs":[{"internalType":"address","name":"tokenId","type":"address"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"addressForTokenId","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"pure","type":"function"},{"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":"address","name":"tokenId","type":"address"},{"internalType":"bytes","name":"creationCode","type":"bytes"}],"name":"deploy","outputs":[{"internalType":"address","name":"deployed","type":"address"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenId","type":"address"},{"internalType":"bytes","name":"creationCode","type":"bytes"},{"internalType":"bytes[]","name":"cds","type":"bytes[]"}],"name":"deployAndCalls","outputs":[{"internalType":"address","name":"deployed","type":"address"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes16","name":"magic","type":"bytes16"}],"name":"mint","outputs":[{"internalType":"address","name":"tokenId","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes16","name":"magic","type":"bytes16"},{"internalType":"address","name":"account","type":"address"}],"name":"mintFor","outputs":[{"internalType":"address","name":"tokenId","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"","type":"address"}],"name":"salts","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","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":"tokenJSON","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","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"}]

6080346200030f576001600160401b039060409080820183811182821017620002fb57825260118152602092700c5a5b98da081059191c995cdcc8139195607a1b84830152825183810181811083821117620002fb57845260058152640c5053919560da1b85820152825190828211620002fb575f8054926001958685811c95168015620002f0575b89861014620002dc578190601f9586811162000289575b508990868311600114620002265784926200021a575b50505f19600383901b1c191690861b1781555b8151938411620002065784548581811c91168015620001fb575b88821014620001e7578381116200019f575b50869284116001146200013a578394959650926200012e575b50505f19600383901b1c191690821b1790555b516141659081620003148239f35b015190505f806200010d565b9190601f1984169685845280842093905b8882106200018757505083859697106200016e575b505050811b01905562000120565b01515f1960f88460031b161c191690555f808062000160565b8087859682949686015181550195019301906200014b565b8582528782208480870160051c8201928a8810620001dd575b0160051c019086905b828110620001d1575050620000f4565b838155018690620001c1565b92508192620001b8565b634e487b7160e01b82526022600452602482fd5b90607f1690620000e2565b634e487b7160e01b81526041600452602490fd5b015190505f80620000b5565b8480528a85208994509190601f198416865b8d82821062000272575050841162000259575b505050811b018155620000c8565b01515f1960f88460031b161c191690555f80806200024b565b8385015186558c9790950194938401930162000238565b9091508380528984208680850160051c8201928c8610620002d2575b918a91869594930160051c01915b828110620002c35750506200009f565b8681558594508a9101620002b3565b92508192620002a5565b634e487b7160e01b83526022600452602483fd5b94607f169462000088565b634e487b7160e01b5f52604160045260245ffd5b5f80fdfe608060409080825260049081361015610016575f80fd5b5f90813560e01c90816301ffc9a714610e785750806306fdde0314610d8f578063081812fc14610d3b578063095ea7b314610b3b5780630a9169721461099e578063193cd0a01461093257806323b872dd1461090857806342842e0e146108df5780636352211e1461088b57806370a082311461079d5780638f7bb1791461074a57806395d89b41146105df578063a22cb465146104b1578063a43b278014610450578063acc8f306146103f5578063b23e448014610393578063b88d4fde1461030d578063c87b56dd1461025c578063e97fac05146101d9578063e985e9c51461015c5763f9298d5114610109575f80fd5b346101595760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610159575073ffffffffffffffffffffffffffffffffffffffff602092519135168152f35b80fd5b5082346101d557807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101d55760ff8160209361019a610fca565b6101a2610ff1565b73ffffffffffffffffffffffffffffffffffffffff91821683526005875283832091168252855220549151911615158152f35b5080fd5b509190817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102585761020d610fca565b926024359067ffffffffffffffff8211610159575060209361024a73ffffffffffffffffffffffffffffffffffffffff9361025093369101611014565b91613db8565b915191168152f35b8280fd5b508290346101595760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261015957506102a461029f6103099335611ad7565b611920565b906102f7603d825180947f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000060208301526102e78151809260208686019101610f66565b810103601d810185520183611152565b51918291602083526020830190610f87565b0390f35b5090346101d55760807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101d557610346610fca565b61034e610ff1565b9060643567ffffffffffffffff811161038f573660238201121561038f5761038c93816024610382933693013591016111cd565b916044359161137b565b80f35b8480fd5b5082346101d55760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101d5578060209273ffffffffffffffffffffffffffffffffffffffff6103e5610fca565b1681526006845220549051908152f35b5082346101d55760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101d55760209073ffffffffffffffffffffffffffffffffffffffff610250610449611042565b3390613bb2565b5082346101d557807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101d55760209073ffffffffffffffffffffffffffffffffffffffff6102506104a3611042565b6104ab610ff1565b90613bb2565b50913461025857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610258576104e9610fca565b906024359182151580930361038f5773ffffffffffffffffffffffffffffffffffffffff1692833314610583575033845260056020528084208385526020528084207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0081541660ff8416179055519081527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a380f35b602060649251917f08c379a0000000000000000000000000000000000000000000000000000000008352820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152fd5b5082903461015957807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610159578151918160019283549384811c91818616958615610740575b6020968785108114610714578899509688969785829a5291825f146106cf575050600114610674575b5050506103099291610665910385611152565b51928284938452830190610f87565b91908693508083527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf65b8284106106b75750505082010181610665610309610652565b8054848a01860152889550879490930192810161069e565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168782015293151560051b8601909301935084925061066591506103099050610652565b60248360228c7f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b92607f1692610629565b508290346101595760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610159575061078a6103099235611ad7565b9051918291602083526020830190610f87565b5090346101d55760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101d55773ffffffffffffffffffffffffffffffffffffffff6107eb610fca565b169081156108085760208480858581526003845220549051908152f35b60849060208551917f08c379a0000000000000000000000000000000000000000000000000000000008352820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f74206120766160448201527f6c6964206f776e657200000000000000000000000000000000000000000000006064820152fd5b508290346101595760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610159575073ffffffffffffffffffffffffffffffffffffffff61025060209335611268565b5082346101d55761038c906108f336611071565b91925192610900846110d1565b85845261137b565b50346101595761038c61091a36611071565b9161092d610928843361142b565b6112f0565b61152d565b83823461015957817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610159575061097c61096e611042565b610976610ff1565b90613b2f565b73ffffffffffffffffffffffffffffffffffffffff8351921682526020820152f35b509060607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101d5576109d2610fca565b60249167ffffffffffffffff8335818111610b33576109f49036908401611014565b959091604492833597828911610b37573660238a011215610b3757888601359183831161038f57600597368a858b1b8d010111610b335790610a399291989398613db8565b9783917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd82360301925b888110610a8a5760208b73ffffffffffffffffffffffffffffffffffffffff8e5191168152f35b8981831b8401013584811215610b2f5783018a81013590868211610b2b5788018136038113610b2b578c828f8a949385948592519384928337810182815203925af1610ad46116b0565b9015610ae95750610ae490613988565b610a63565b610b278991898f8e81519687967f3b4c7a5f000000000000000000000000000000000000000000000000000000008852870152850152830190610f87565b0390fd5b8780fd5b8680fd5b8580fd5b8380fd5b5091903461025857817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261025857610b74610fca565b906024359273ffffffffffffffffffffffffffffffffffffffff918280610b9a87611268565b16941693808514610cb857803314908115610c99575b5015610c17578486526020528420827fffffffffffffffffffffffff0000000000000000000000000000000000000000825416179055610bef83611268565b167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258480a480f35b602060849251917f08c379a0000000000000000000000000000000000000000000000000000000008352820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152fd5b90508652600560205281862033875260205260ff82872054165f610bb0565b50602060849251917f08c379a0000000000000000000000000000000000000000000000000000000008352820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152fd5b508290346101595760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610159575073ffffffffffffffffffffffffffffffffffffffff61025060209335611298565b5082903461015957807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101595781519181825492600184811c91818616958615610e6e575b6020968785108114610714578899509688969785829a5291825f146106cf575050600114610e13575050506103099291610665910385611152565b91908693508280527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5635b828410610e565750505082010181610665610309610652565b8054848a018601528895508794909301928101610e3d565b92607f1692610dd8565b905082346102585760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261025857357fffffffff00000000000000000000000000000000000000000000000000000000811680910361025857602092507f80ac58cd000000000000000000000000000000000000000000000000000000008114908115610f3c575b8115610f12575b5015158152f35b7f01ffc9a70000000000000000000000000000000000000000000000000000000091501483610f0b565b7f5b5e139f0000000000000000000000000000000000000000000000000000000081149150610f04565b5f5b838110610f775750505f910152565b8181015183820152602001610f68565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f602093610fc381518092818752878088019101610f66565b0116010190565b6004359073ffffffffffffffffffffffffffffffffffffffff82168203610fed57565b5f80fd5b6024359073ffffffffffffffffffffffffffffffffffffffff82168203610fed57565b9181601f84011215610fed5782359167ffffffffffffffff8311610fed5760208381860195010111610fed57565b600435907fffffffffffffffffffffffffffffffff0000000000000000000000000000000082168203610fed57565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc6060910112610fed5773ffffffffffffffffffffffffffffffffffffffff906004358281168103610fed57916024359081168103610fed579060443590565b6020810190811067ffffffffffffffff8211176110ed57604052565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6060810190811067ffffffffffffffff8211176110ed57604052565b6040810190811067ffffffffffffffff8211176110ed57604052565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff8211176110ed57604052565b67ffffffffffffffff81116110ed57601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b9291926111d982611193565b916111e76040519384611152565b829481845281830111610fed578281602093845f960137010152565b1561120a57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152fd5b5f52600260205273ffffffffffffffffffffffffffffffffffffffff60405f205416611295811515611203565b90565b6112cb6112c6825f52600260205273ffffffffffffffffffffffffffffffffffffffff60405f205416151590565b611203565b5f52600460205273ffffffffffffffffffffffffffffffffffffffff60405f20541690565b156112f757565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206f7220617070726f766564000000000000000000000000000000000000006064820152fd5b9061139f93929161138f610928843361142b565b61139a83838361152d565b6116df565b156113a657565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608490fd5b9073ffffffffffffffffffffffffffffffffffffffff808061144c84611268565b1693169183831493841561147f575b508315611469575b50505090565b61147591929350611298565b16145f8080611463565b9093505f52600560205260405f20825f5260205260ff60405f205416925f61145b565b156114a957565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152fd5b906115629161153b84611268565b9173ffffffffffffffffffffffffffffffffffffffff9384938480941694859116146114a2565b1691821561162d578161157f9161157886611268565b16146114a2565b7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f8481526004602052604081207fffffffffffffffffffffffff0000000000000000000000000000000000000000908181541690558382526003602052604082207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81540190558482526040822060018154019055858252600260205284604083209182541617905580a4565b60846040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152fd5b3d156116da573d906116c182611193565b916116cf6040519384611152565b82523d5f602084013e565b606090565b919290803b1561188e576117569160209160405180809581947f150b7a0200000000000000000000000000000000000000000000000000000000998a845233600485015273ffffffffffffffffffffffffffffffffffffffff809a1660248501526044840152608060648401526084830190610f87565b03915f968791165af19082908261182e575b5050611808576117766116b0565b80519081611803576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608490fd5b602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000161490565b909192506020813d8211611886575b8161184a60209383611152565b810103126101d55751907fffffffff00000000000000000000000000000000000000000000000000000000821682036101595750905f80611768565b3d915061183d565b50505050600190565b919082018092116118a457565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b906118db82611193565b6118e86040519182611152565b8281527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe06119168294611193565b0190602036910137565b805115611ac4576040516119338161111a565b604081527f4142434445464748494a4b4c4d4e4f505152535455565758595a61626364656660208201527f6768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f604082015281516002928382018092116118a45760038092047f3fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811681036118a4576119cd908594951b6118d1565b936020850193829183518401925b838110611a735750505050510680600114611a24576002146119fb575090565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff603d91015390565b507ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81603d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81940153015390565b85600491979293949701918251600190603f9082828260121c16880101518453828282600c1c16880101518385015382828260061c16880101518885015316850101518782015301959291906119db565b50604051611ad1816110d1565b5f815290565b9060405191611ae58361111a565b602a83526040366020850137825115612bb15760306020840153825160011015612bb1576078602184015360295b600181116138d1575061387357604051611b2c8161111a565b602a815260403660208301376060916001845160021015612bb1577fff000000000000000000000000000000000000000000000000000000000000006022869593950151169060035b602a8110613368575050506060906028915b60058310158061335f575b15611ef557506060906002935b602a848103116118a45783602a038511611ee85783611bbe868361394c565b5160f81c1015611ede575f91825b8560011c841080611e37575b15611bf557611be9611bef91613988565b93613988565b92611bcc565b9092509490948460011c14611c1357611c0d90613988565b93611b9f565b611d856055611d8b939794868460027f0a09097d2c0a000000000000000000000000000000000000000000000000000096145f14611d945750605c8592611c5c611cec936139c2565b6040519482611c75879451809260208088019101610f66565b83017f09097b0a0909092274726169745f74797065223a202250616c696e64726f6d6560208201527f20707265666978222c0a0909092276616c7565223a20000000000000000000006040820152825190611cd98260569560208785019101610f66565b019182015203603c810184520182611152565b611cf5876139c2565b6040519482611d0e879451809260208088019101610f66565b83017f09097b0a0909092274726169745f74797065223a202250616c696e64726f6d6560208201527f222c0a0909092276616c7565223a2000000000000000000000000000000000006040820152825190611d7282604f9560208785019101610f66565b0191820152036035810184520182611152565b9261395d565b91939093611b87565b602a91611da091611897565b03611cec57611e32605c8592611db58a6139c2565b6040519482611dce879451809260208088019101610f66565b83017f09097b0a0909092274726169745f74797065223a202250616c696e64726f6d6560208201527f20737566666978222c0a0909092276616c7565223a20000000000000000000006040820152825190611cd98260569560208785019101610f66565b611cec565b507fff00000000000000000000000000000000000000000000000000000000000000611e6c611e66868a611897565b8b61394c565b5116611e788789611897565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81019081116118a457611ed6611ed0877fff00000000000000000000000000000000000000000000000000000000000000936139b5565b8c61394c565b511614611bd8565b93611c0d90613988565b93509390611d8b90611d85565b949392509050606091604051610260810181811067ffffffffffffffff8211176110ed5780604052611f2681611136565b600481527f64656164000000000000000000000000000000000000000000000000000000006102808301528152604051611f5f81611136565b600481527f626565660000000000000000000000000000000000000000000000000000000060208201526020820152604051611f9a81611136565b600681527f633066666565000000000000000000000000000000000000000000000000000060208201526040820152604051611fd581611136565b600481527f646566310000000000000000000000000000000000000000000000000000000060208201528482015260405161200f81611136565b600481527f31656537000000000000000000000000000000000000000000000000000000006020820152608082015260405161204a81611136565b600481527f3133333700000000000000000000000000000000000000000000000000000000602082015260a082015260405161208581611136565b600481527f6261626500000000000000000000000000000000000000000000000000000000602082015260c08201526040516120c081611136565b600481527f6630306400000000000000000000000000000000000000000000000000000000602082015260e08201526040516120fb81611136565b600681527f6465633064650000000000000000000000000000000000000000000000000000602082015261010082015260405161213781611136565b600681527f6661636164650000000000000000000000000000000000000000000000000000602082015261012082015260405161217381611136565b600681527f646563616465000000000000000000000000000000000000000000000000000060208201526101408201526040516121af81611136565b600481527f666565640000000000000000000000000000000000000000000000000000000060208201526101608201526040516121eb81611136565b600481527f6661636500000000000000000000000000000000000000000000000000000000602082015261018082015260405161222781611136565b600481527f633064650000000000000000000000000000000000000000000000000000000060208201526101a082015260405161226381611136565b600581527f633063306100000000000000000000000000000000000000000000000000000060208201526101c082015260405161229f81611136565b600581527f636163613000000000000000000000000000000000000000000000000000000060208201526101e08201526040516122db81611136565b600481527f6361666500000000000000000000000000000000000000000000000000000000602082015261020082015260405161231781611136565b600481527f3565656400000000000000000000000000000000000000000000000000000000602082015261022082015260405161235381611136565b600481527f356531660000000000000000000000000000000000000000000000000000000060208201526102408201525f905b60138210612f425750505f60025b602a8110612e3d57506123a6906139c2565b93612447605560405180977f09097b0a0909092274726169745f74797065223a20225a65726f20627974657360208301527f222c0a0909092276616c7565223a2000000000000000000000000000000000006040830152612411815180926020604f86019101610f66565b81017f0a09097d2c0a0000000000000000000000000000000000000000000000000000604f820152036035810188520186611152565b606095604051938461012081011067ffffffffffffffff610120870111176110ed576101208501604052610100855261010036602087013760025b602a8110612dc757506040519561249887611136565b601087527f303132333435363738396162636465660000000000000000000000000000000060208801525f985b87518a10156125f057876125e460536125ea9361252d7fff000000000000000000000000000000000000000000000000000000000000008f808e61251c61250f612525948b61394c565b519160f892831c9061394c565b51901c9761394c565b5116946139c2565b7f0a09097d2c0a00000000000000000000000000000000000000000000000000006040519583612567889551809260208089019101610f66565b8401907f09097b0a0909092274726169745f74797065223a202253796d626f6c200000006020830152603d8201527f222c0a0909092276616c7565223a200000000000000000000000000000000000603e8201528251906125d182604d9560208785019101610f66565b0191820152036033810184520182611152565b99613988565b986124c5565b93979296509397509350606060018060025b602a8110612c4957509160209593916127009795935f14612bde57505060405161262b8161111a565b602881527f09097b0a0909092274726169745f74797065223a2022446967697473206f6e6c868201527f79220a09097d2c0a0000000000000000000000000000000000000000000000006040820152925b60405197856126948a975180928a808b019101610f66565b86016126a8825180938a8085019101610f66565b016126bb82518093898085019101610f66565b016126ce82518093888085019101610f66565b016126e182518093878085019101610f66565b016126f482518093868085019101610f66565b01038084520182611152565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe80825101825280835101602284012060025b602a8110612a98575050506101577f095d0a00000000000000000000000000000000000000000000000000000000009282611295935115155f905f14612a83575060405161278081611136565b600181527f0a000000000000000000000000000000000000000000000000000000000000006020820152905b6040519586927f7b0a00000000000000000000000000000000000000000000000000000000000060208501527f09226e616d65223a20224465706c6f7920746f2000000000000000000000000060228501528451612811816036870160208901610f66565b8401947f222c0a0000000000000000000000000000000000000000000000000000000000958660368201527f09226465736372697074696f6e223a2022456e61626c657320686f6c6465722060398201527f746f206465706c6f792061726269747261727920736d61727420636f6e74726160598201527f637420746f20000000000000000000000000000000000000000000000000000060798201528151906128c282607f830160208601610f66565b0186607f8201527f092265787465726e616c5f75726c223a202268747470733a2f2f65746865727360828201527f63616e2e696f2f616464726573732f000000000000000000000000000000000060a282015261292982518093602060b185019101610f66565b01948060b18701527f0922696d616765223a2022697066733a2f2f516d5a5733545464744b38376b7460b48701527f786d683650473555756d62746f5758553872564241706f36356f6b6e656b6d6360d487015260f48601527f0922616e696d6174696f6e5f75726c223a2022697066733a2f2f516d5a4b703360f78601527f4b376f794446506b5655585567444b715a3652634c5a593751573236374a7658610117860152610137947f52544c5731716147222c0a000000000000000000000000000000000000000000868201527f092261747472696275746573223a205b0a000000000000000000000000000000610142820152835190612a36826101539660208885019101610f66565b01612a4a8251809360208785019101610f66565b01918201527f7d000000000000000000000000000000000000000000000000000000000000006101568201520390810184520182611152565b60405190612a90826110d1565b8152906127ac565b8281018181116118a45760011c6020811015612bb157826007911a60018316155f14612ba95760041c5b1180612b54575b612adc575b612ad790613988565b612733565b612ae6818661394c565b51907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe060f892831c019160ff83116118a457612ad7927fff00000000000000000000000000000000000000000000000000000000000000911b165f1a612b4c828861394c565b539050612ace565b507f39000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000612ba1838861394c565b511611612ac9565b600f16612ac2565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b9390931561267c579250604051612bf48161111a565b602981527f09097b0a0909092274726169745f74797065223a20224c657474657273206f6e868201527f6c79220a09097d2c0a000000000000000000000000000000000000000000000060408201529261267c565b7f30000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000612c95838d61394c565b5116108015612d72575b612d6a575b7f61000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000612cf0838d61394c565b5116108015612d15575b612d0d575b612d0890613988565b612602565b5f9250612cff565b507f66000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000612d62838d61394c565b511611612cfa565b5f9150612ca4565b507f39000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000612dbf838d61394c565b511611612c9f565b6001612de0612dd6838761394c565b5160f81c8861394c565b5160f81c019060ff82116118a457612e3891612e327fff00000000000000000000000000000000000000000000000000000000000000612e20848961394c565b5160f81c9260f81b165f1a918961394c565b53613988565b612482565b7f30000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000612e89838961394c565b51161480612ee0575b612ed0575b6002810180911115612394577f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b90612eda90613988565b90612e97565b506001810181116118a4577f30000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000612f3a600184018961394c565b511614612e92565b9181600597959492971b830151936060925f946002975b8751602a03602a81116118a4578911613232575f92835b895185108c868d836131c3575b50505015612f9d57612f91612f9791613988565b94613988565b93612f70565b9093509890939491988851809114612fc3575b50612fba90613988565b97909392612f59565b600282989792145f146130f457507f220a09097d2c0a0000000000000000000000000000000000000000000000000061308c6058613092938b6040519482613015879451809260208088019101610f66565b83017f09097b0a0909092274726169745f74797065223a2022576f726420707265666960208201527f78222c0a0909092276616c7565223a202200000000000000000000000000000060408201528251906130798260519560208785019101610f66565b0191820152036038810184520182611152565b95613988565b958751807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8101116118a457612fba917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6130ee920190611897565b90612fb0565b613103602a9189989398611897565b14613112575b61309290613988565b947f220a09097d2c0a000000000000000000000000000000000000000000000000006131bb6058613092938b6040519482613157879451809260208088019101610f66565b83017f09097b0a0909092274726169745f74797065223a2022576f726420737566666960208201527f78222c0a0909092276616c7565223a202200000000000000000000000000000060408201528251906130798260519560208785019101610f66565b959050613109565b7fff0000000000000000000000000000000000000000000000000000000000000093506131fa92916131f491611897565b9061394c565b51167fff00000000000000000000000000000000000000000000000000000000000000613227878d61394c565b5116148c868d612f7d565b9997509391909561327893958061327e575b50506020612f919160405193816132648693518092868087019101610f66565b82016126f482518093868085019101610f66565b90612386565b6133586050612f9194956020947f0a09097d2c0a00000000000000000000000000000000000000000000000000006132d67f222c0a0909092276616c7565223a200000000000000000000000000000000000966139c2565b9160405196846132ef89965180928c808a019101610f66565b85017f09097b0a0909092274726169745f74797065223a2022576f72642000000000008a82015282519061332b82603b958d8785019101610f66565b019182015282519061334582604a958b8785019101610f66565b0191820152036030810184520182611152565b9291613244565b50805115611b92565b7fff00000000000000000000000000000000000000000000000000000000000000613396828998969861394c565b51167fff00000000000000000000000000000000000000000000000000000000000000841614613863575b7fff0000000000000000000000000000000000000000000000000000000000000083167fff0000000000000000000000000000000000000000000000000000000000000061340f838a61394c565b511614801590613859575b613430575b61342890613988565b949294611b75565b919060048082101561347a575b50505060016134287fff00000000000000000000000000000000000000000000000000000000000000613470848961394c565b511692905061341f565b600282939792019081841161382d5750605c7f0a09097d2c0a0000000000000000000000000000000000000000000000000000928561366993145f1461374557613595827fff00000000000000000000000000000000000000000000000000000000000000926134e9886139c2565b878d604051968461350489965180926020808a019101610f66565b8501917f09097b0a0909092274726169745f74797065223a20225265706561746564207060208401527f726566697820000000000000000000000000000000000000000000000000000060408401521660468201527f222c0a0909092276616c7565223a2000000000000000000000000000000000006047820152825190611cd98260569560208785019101610f66565b61359e856139c2565b60405194826135b7879451809260208088019101610f66565b83017f09097b0a0909092274726169745f74797065223a20225265706561746564207360208201527f796d626f6c20000000000000000000000000000000000000000000000000000060408201527fff000000000000000000000000000000000000000000000000000000000000008c1660468201527f222c0a0909092276616c7565223a2000000000000000000000000000000000006047820152825190611cd98260569560208785019101610f66565b945f5b8281101561343d57807fff000000000000000000000000000000000000000000000000000000000000006136a361372993866139b5565b60f81b167fff0000000000000000000000000000000000000000000000000000000000000084167fff000000000000000000000000000000000000000000000000000000000000006136f5888d61394c565b51161461372e57612e3261371f8361371a8861371560ff5f5b168c611897565b6139b5565b611897565b915f1a918961394c565b61366c565b612e3261371f8361371a8861371560ff600161370e565b6029860361359557613828827fff000000000000000000000000000000000000000000000000000000000000009261377c886139c2565b878d604051968461379789965180926020808a019101610f66565b8501917f09097b0a0909092274726169745f74797065223a20225265706561746564207360208401527f756666697820000000000000000000000000000000000000000000000000000060408401521660468201527f222c0a0909092276616c7565223a2000000000000000000000000000000000006047820152825190611cd98260569560208785019101610f66565b613595565b6011907f4e487b71000000000000000000000000000000000000000000000000000000005f525260245ffd5b506029811461341a565b9061386d90613988565b906133c1565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b90600f811690601082101561391f577f303132333435363738396162636465660000000000000000000000000000000061391a921a613910848761394c565b5360041c9161395d565b611b13565b60245f7f4e487b710000000000000000000000000000000000000000000000000000000081526032600452fd5b908151811015612bb1570160200190565b80156118a4577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146118a45760010190565b919082039182116118a457565b805f917a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000080821015613b21575b506d04ee2d6d415b85acef810000000080831015613b12575b50662386f26fc1000080831015613b03575b506305f5e10080831015613af4575b5061271080831015613ae5575b506064821015613ad5575b600a80921015613acb575b600190816021613a588287016118d1565b95860101905b613a6a575b5050505090565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff849101917f30313233343536373839616263646566000000000000000000000000000000008282061a835304918215613ac657919082613a5e565b613a63565b9160010191613a47565b9190606460029104910191613a3c565b6004919392049101915f613a31565b6008919392049101915f613a24565b6010919392049101915f613a15565b6020919392049101915f613a03565b60409350810491505f6139ea565b907fffffffffffffffffffffffffffffffff00000000000000000000000000000000906040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000602082019260601b16825260148152613b8e81611136565b5190206fffffffffffffffffffffffffffffffff16911617613baf8161401c565b91565b81613bbf91939293613b2f565b90928373ffffffffffffffffffffffffffffffffffffffff809116925f918483526020936006855260409283852054613d2a57868552600686528385205516928315613ccf57600290613c3c613c36875f52600260205273ffffffffffffffffffffffffffffffffffffffff60405f205416151590565b15613d53565b613c6a613c36875f52600260205273ffffffffffffffffffffffffffffffffffffffff60405f205416151590565b8484526003815282842060018154019055858452528120827fffffffffffffffffffffffff00000000000000000000000000000000000000008254161790557fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4565b60649151907f08c379a000000000000000000000000000000000000000000000000000000000825280600483015260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152fd5b600484517f8cde2bfc000000000000000000000000000000000000000000000000000000008152fd5b15613d5a57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152fd5b9173ffffffffffffffffffffffffffffffffffffffff8093169183613ddc84611268565b163303613fb957613dec83611268565b50613df683611268565b91613ead5f92858452602095600487528460409689888320917fffffffffffffffffffffffff000000000000000000000000000000000000000092838154169055169081835260038a528883207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff815401905583835260028a528883209081541690557fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8280a460068652848420549236916111cd565b9080613eb7613fe3565b868151910185f595861615613f5c5790613ed1839261401c565b9585825192019034905af1613ee46116b0565b5080613f52575b15613ef557505090565b6064925051907f08c379a00000000000000000000000000000000000000000000000000000000082526004820152601560248201527f494e495449414c495a4154494f4e5f4641494c454400000000000000000000006044820152fd5b50823b1515613eeb565b6064858551907f08c379a00000000000000000000000000000000000000000000000000000000082526004820152601160248201527f4445504c4f594d454e545f4641494c45440000000000000000000000000000006044820152fd5b60046040517f4ca88867000000000000000000000000000000000000000000000000000000008152fd5b60405190613ff082611136565b601082527f67363d3d37363d34f03d5260086018f3000000000000000000000000000000006020830152565b614024613fe3565b602081519101206040519060208201927fff0000000000000000000000000000000000000000000000000000000000000084523060601b602184015260358301526055820152605581526080810181811067ffffffffffffffff8211176110ed577f010000000000000000000000000000000000000000000000000000000000000060b673ffffffffffffffffffffffffffffffffffffffff948360405284519020937fffffffffffffffffffffffffffffffffffffffff00000000000000000000000060a08201957fd694000000000000000000000000000000000000000000000000000000000000875260601b1660a282015201526017815261412881611136565b519020169056fea2646970667358221220b51fa6703c61133b5bdbad06616ce776efabb58d75a4883b4b9195e1cce4988964736f6c63430008140033

Deployed Bytecode

0x608060409080825260049081361015610016575f80fd5b5f90813560e01c90816301ffc9a714610e785750806306fdde0314610d8f578063081812fc14610d3b578063095ea7b314610b3b5780630a9169721461099e578063193cd0a01461093257806323b872dd1461090857806342842e0e146108df5780636352211e1461088b57806370a082311461079d5780638f7bb1791461074a57806395d89b41146105df578063a22cb465146104b1578063a43b278014610450578063acc8f306146103f5578063b23e448014610393578063b88d4fde1461030d578063c87b56dd1461025c578063e97fac05146101d9578063e985e9c51461015c5763f9298d5114610109575f80fd5b346101595760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610159575073ffffffffffffffffffffffffffffffffffffffff602092519135168152f35b80fd5b5082346101d557807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101d55760ff8160209361019a610fca565b6101a2610ff1565b73ffffffffffffffffffffffffffffffffffffffff91821683526005875283832091168252855220549151911615158152f35b5080fd5b509190817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102585761020d610fca565b926024359067ffffffffffffffff8211610159575060209361024a73ffffffffffffffffffffffffffffffffffffffff9361025093369101611014565b91613db8565b915191168152f35b8280fd5b508290346101595760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261015957506102a461029f6103099335611ad7565b611920565b906102f7603d825180947f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000060208301526102e78151809260208686019101610f66565b810103601d810185520183611152565b51918291602083526020830190610f87565b0390f35b5090346101d55760807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101d557610346610fca565b61034e610ff1565b9060643567ffffffffffffffff811161038f573660238201121561038f5761038c93816024610382933693013591016111cd565b916044359161137b565b80f35b8480fd5b5082346101d55760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101d5578060209273ffffffffffffffffffffffffffffffffffffffff6103e5610fca565b1681526006845220549051908152f35b5082346101d55760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101d55760209073ffffffffffffffffffffffffffffffffffffffff610250610449611042565b3390613bb2565b5082346101d557807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101d55760209073ffffffffffffffffffffffffffffffffffffffff6102506104a3611042565b6104ab610ff1565b90613bb2565b50913461025857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610258576104e9610fca565b906024359182151580930361038f5773ffffffffffffffffffffffffffffffffffffffff1692833314610583575033845260056020528084208385526020528084207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0081541660ff8416179055519081527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a380f35b602060649251917f08c379a0000000000000000000000000000000000000000000000000000000008352820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152fd5b5082903461015957807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610159578151918160019283549384811c91818616958615610740575b6020968785108114610714578899509688969785829a5291825f146106cf575050600114610674575b5050506103099291610665910385611152565b51928284938452830190610f87565b91908693508083527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf65b8284106106b75750505082010181610665610309610652565b8054848a01860152889550879490930192810161069e565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00168782015293151560051b8601909301935084925061066591506103099050610652565b60248360228c7f4e487b7100000000000000000000000000000000000000000000000000000000835252fd5b92607f1692610629565b508290346101595760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610159575061078a6103099235611ad7565b9051918291602083526020830190610f87565b5090346101d55760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101d55773ffffffffffffffffffffffffffffffffffffffff6107eb610fca565b169081156108085760208480858581526003845220549051908152f35b60849060208551917f08c379a0000000000000000000000000000000000000000000000000000000008352820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f74206120766160448201527f6c6964206f776e657200000000000000000000000000000000000000000000006064820152fd5b508290346101595760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610159575073ffffffffffffffffffffffffffffffffffffffff61025060209335611268565b5082346101d55761038c906108f336611071565b91925192610900846110d1565b85845261137b565b50346101595761038c61091a36611071565b9161092d610928843361142b565b6112f0565b61152d565b83823461015957817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610159575061097c61096e611042565b610976610ff1565b90613b2f565b73ffffffffffffffffffffffffffffffffffffffff8351921682526020820152f35b509060607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101d5576109d2610fca565b60249167ffffffffffffffff8335818111610b33576109f49036908401611014565b959091604492833597828911610b37573660238a011215610b3757888601359183831161038f57600597368a858b1b8d010111610b335790610a399291989398613db8565b9783917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd82360301925b888110610a8a5760208b73ffffffffffffffffffffffffffffffffffffffff8e5191168152f35b8981831b8401013584811215610b2f5783018a81013590868211610b2b5788018136038113610b2b578c828f8a949385948592519384928337810182815203925af1610ad46116b0565b9015610ae95750610ae490613988565b610a63565b610b278991898f8e81519687967f3b4c7a5f000000000000000000000000000000000000000000000000000000008852870152850152830190610f87565b0390fd5b8780fd5b8680fd5b8580fd5b8380fd5b5091903461025857817ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261025857610b74610fca565b906024359273ffffffffffffffffffffffffffffffffffffffff918280610b9a87611268565b16941693808514610cb857803314908115610c99575b5015610c17578486526020528420827fffffffffffffffffffffffff0000000000000000000000000000000000000000825416179055610bef83611268565b167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258480a480f35b602060849251917f08c379a0000000000000000000000000000000000000000000000000000000008352820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152fd5b90508652600560205281862033875260205260ff82872054165f610bb0565b50602060849251917f08c379a0000000000000000000000000000000000000000000000000000000008352820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152fd5b508290346101595760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610159575073ffffffffffffffffffffffffffffffffffffffff61025060209335611298565b5082903461015957807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101595781519181825492600184811c91818616958615610e6e575b6020968785108114610714578899509688969785829a5291825f146106cf575050600114610e13575050506103099291610665910385611152565b91908693508280527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e5635b828410610e565750505082010181610665610309610652565b8054848a018601528895508794909301928101610e3d565b92607f1692610dd8565b905082346102585760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261025857357fffffffff00000000000000000000000000000000000000000000000000000000811680910361025857602092507f80ac58cd000000000000000000000000000000000000000000000000000000008114908115610f3c575b8115610f12575b5015158152f35b7f01ffc9a70000000000000000000000000000000000000000000000000000000091501483610f0b565b7f5b5e139f0000000000000000000000000000000000000000000000000000000081149150610f04565b5f5b838110610f775750505f910152565b8181015183820152602001610f68565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f602093610fc381518092818752878088019101610f66565b0116010190565b6004359073ffffffffffffffffffffffffffffffffffffffff82168203610fed57565b5f80fd5b6024359073ffffffffffffffffffffffffffffffffffffffff82168203610fed57565b9181601f84011215610fed5782359167ffffffffffffffff8311610fed5760208381860195010111610fed57565b600435907fffffffffffffffffffffffffffffffff0000000000000000000000000000000082168203610fed57565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc6060910112610fed5773ffffffffffffffffffffffffffffffffffffffff906004358281168103610fed57916024359081168103610fed579060443590565b6020810190811067ffffffffffffffff8211176110ed57604052565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6060810190811067ffffffffffffffff8211176110ed57604052565b6040810190811067ffffffffffffffff8211176110ed57604052565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff8211176110ed57604052565b67ffffffffffffffff81116110ed57601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b9291926111d982611193565b916111e76040519384611152565b829481845281830111610fed578281602093845f960137010152565b1561120a57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152fd5b5f52600260205273ffffffffffffffffffffffffffffffffffffffff60405f205416611295811515611203565b90565b6112cb6112c6825f52600260205273ffffffffffffffffffffffffffffffffffffffff60405f205416151590565b611203565b5f52600460205273ffffffffffffffffffffffffffffffffffffffff60405f20541690565b156112f757565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206f7220617070726f766564000000000000000000000000000000000000006064820152fd5b9061139f93929161138f610928843361142b565b61139a83838361152d565b6116df565b156113a657565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608490fd5b9073ffffffffffffffffffffffffffffffffffffffff808061144c84611268565b1693169183831493841561147f575b508315611469575b50505090565b61147591929350611298565b16145f8080611463565b9093505f52600560205260405f20825f5260205260ff60405f205416925f61145b565b156114a957565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152fd5b906115629161153b84611268565b9173ffffffffffffffffffffffffffffffffffffffff9384938480941694859116146114a2565b1691821561162d578161157f9161157886611268565b16146114a2565b7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f8481526004602052604081207fffffffffffffffffffffffff0000000000000000000000000000000000000000908181541690558382526003602052604082207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81540190558482526040822060018154019055858252600260205284604083209182541617905580a4565b60846040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152fd5b3d156116da573d906116c182611193565b916116cf6040519384611152565b82523d5f602084013e565b606090565b919290803b1561188e576117569160209160405180809581947f150b7a0200000000000000000000000000000000000000000000000000000000998a845233600485015273ffffffffffffffffffffffffffffffffffffffff809a1660248501526044840152608060648401526084830190610f87565b03915f968791165af19082908261182e575b5050611808576117766116b0565b80519081611803576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608490fd5b602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000161490565b909192506020813d8211611886575b8161184a60209383611152565b810103126101d55751907fffffffff00000000000000000000000000000000000000000000000000000000821682036101595750905f80611768565b3d915061183d565b50505050600190565b919082018092116118a457565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b906118db82611193565b6118e86040519182611152565b8281527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe06119168294611193565b0190602036910137565b805115611ac4576040516119338161111a565b604081527f4142434445464748494a4b4c4d4e4f505152535455565758595a61626364656660208201527f6768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f604082015281516002928382018092116118a45760038092047f3fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811681036118a4576119cd908594951b6118d1565b936020850193829183518401925b838110611a735750505050510680600114611a24576002146119fb575090565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff603d91015390565b507ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81603d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81940153015390565b85600491979293949701918251600190603f9082828260121c16880101518453828282600c1c16880101518385015382828260061c16880101518885015316850101518782015301959291906119db565b50604051611ad1816110d1565b5f815290565b9060405191611ae58361111a565b602a83526040366020850137825115612bb15760306020840153825160011015612bb1576078602184015360295b600181116138d1575061387357604051611b2c8161111a565b602a815260403660208301376060916001845160021015612bb1577fff000000000000000000000000000000000000000000000000000000000000006022869593950151169060035b602a8110613368575050506060906028915b60058310158061335f575b15611ef557506060906002935b602a848103116118a45783602a038511611ee85783611bbe868361394c565b5160f81c1015611ede575f91825b8560011c841080611e37575b15611bf557611be9611bef91613988565b93613988565b92611bcc565b9092509490948460011c14611c1357611c0d90613988565b93611b9f565b611d856055611d8b939794868460027f0a09097d2c0a000000000000000000000000000000000000000000000000000096145f14611d945750605c8592611c5c611cec936139c2565b6040519482611c75879451809260208088019101610f66565b83017f09097b0a0909092274726169745f74797065223a202250616c696e64726f6d6560208201527f20707265666978222c0a0909092276616c7565223a20000000000000000000006040820152825190611cd98260569560208785019101610f66565b019182015203603c810184520182611152565b611cf5876139c2565b6040519482611d0e879451809260208088019101610f66565b83017f09097b0a0909092274726169745f74797065223a202250616c696e64726f6d6560208201527f222c0a0909092276616c7565223a2000000000000000000000000000000000006040820152825190611d7282604f9560208785019101610f66565b0191820152036035810184520182611152565b9261395d565b91939093611b87565b602a91611da091611897565b03611cec57611e32605c8592611db58a6139c2565b6040519482611dce879451809260208088019101610f66565b83017f09097b0a0909092274726169745f74797065223a202250616c696e64726f6d6560208201527f20737566666978222c0a0909092276616c7565223a20000000000000000000006040820152825190611cd98260569560208785019101610f66565b611cec565b507fff00000000000000000000000000000000000000000000000000000000000000611e6c611e66868a611897565b8b61394c565b5116611e788789611897565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81019081116118a457611ed6611ed0877fff00000000000000000000000000000000000000000000000000000000000000936139b5565b8c61394c565b511614611bd8565b93611c0d90613988565b93509390611d8b90611d85565b949392509050606091604051610260810181811067ffffffffffffffff8211176110ed5780604052611f2681611136565b600481527f64656164000000000000000000000000000000000000000000000000000000006102808301528152604051611f5f81611136565b600481527f626565660000000000000000000000000000000000000000000000000000000060208201526020820152604051611f9a81611136565b600681527f633066666565000000000000000000000000000000000000000000000000000060208201526040820152604051611fd581611136565b600481527f646566310000000000000000000000000000000000000000000000000000000060208201528482015260405161200f81611136565b600481527f31656537000000000000000000000000000000000000000000000000000000006020820152608082015260405161204a81611136565b600481527f3133333700000000000000000000000000000000000000000000000000000000602082015260a082015260405161208581611136565b600481527f6261626500000000000000000000000000000000000000000000000000000000602082015260c08201526040516120c081611136565b600481527f6630306400000000000000000000000000000000000000000000000000000000602082015260e08201526040516120fb81611136565b600681527f6465633064650000000000000000000000000000000000000000000000000000602082015261010082015260405161213781611136565b600681527f6661636164650000000000000000000000000000000000000000000000000000602082015261012082015260405161217381611136565b600681527f646563616465000000000000000000000000000000000000000000000000000060208201526101408201526040516121af81611136565b600481527f666565640000000000000000000000000000000000000000000000000000000060208201526101608201526040516121eb81611136565b600481527f6661636500000000000000000000000000000000000000000000000000000000602082015261018082015260405161222781611136565b600481527f633064650000000000000000000000000000000000000000000000000000000060208201526101a082015260405161226381611136565b600581527f633063306100000000000000000000000000000000000000000000000000000060208201526101c082015260405161229f81611136565b600581527f636163613000000000000000000000000000000000000000000000000000000060208201526101e08201526040516122db81611136565b600481527f6361666500000000000000000000000000000000000000000000000000000000602082015261020082015260405161231781611136565b600481527f3565656400000000000000000000000000000000000000000000000000000000602082015261022082015260405161235381611136565b600481527f356531660000000000000000000000000000000000000000000000000000000060208201526102408201525f905b60138210612f425750505f60025b602a8110612e3d57506123a6906139c2565b93612447605560405180977f09097b0a0909092274726169745f74797065223a20225a65726f20627974657360208301527f222c0a0909092276616c7565223a2000000000000000000000000000000000006040830152612411815180926020604f86019101610f66565b81017f0a09097d2c0a0000000000000000000000000000000000000000000000000000604f820152036035810188520186611152565b606095604051938461012081011067ffffffffffffffff610120870111176110ed576101208501604052610100855261010036602087013760025b602a8110612dc757506040519561249887611136565b601087527f303132333435363738396162636465660000000000000000000000000000000060208801525f985b87518a10156125f057876125e460536125ea9361252d7fff000000000000000000000000000000000000000000000000000000000000008f808e61251c61250f612525948b61394c565b519160f892831c9061394c565b51901c9761394c565b5116946139c2565b7f0a09097d2c0a00000000000000000000000000000000000000000000000000006040519583612567889551809260208089019101610f66565b8401907f09097b0a0909092274726169745f74797065223a202253796d626f6c200000006020830152603d8201527f222c0a0909092276616c7565223a200000000000000000000000000000000000603e8201528251906125d182604d9560208785019101610f66565b0191820152036033810184520182611152565b99613988565b986124c5565b93979296509397509350606060018060025b602a8110612c4957509160209593916127009795935f14612bde57505060405161262b8161111a565b602881527f09097b0a0909092274726169745f74797065223a2022446967697473206f6e6c868201527f79220a09097d2c0a0000000000000000000000000000000000000000000000006040820152925b60405197856126948a975180928a808b019101610f66565b86016126a8825180938a8085019101610f66565b016126bb82518093898085019101610f66565b016126ce82518093888085019101610f66565b016126e182518093878085019101610f66565b016126f482518093868085019101610f66565b01038084520182611152565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe80825101825280835101602284012060025b602a8110612a98575050506101577f095d0a00000000000000000000000000000000000000000000000000000000009282611295935115155f905f14612a83575060405161278081611136565b600181527f0a000000000000000000000000000000000000000000000000000000000000006020820152905b6040519586927f7b0a00000000000000000000000000000000000000000000000000000000000060208501527f09226e616d65223a20224465706c6f7920746f2000000000000000000000000060228501528451612811816036870160208901610f66565b8401947f222c0a0000000000000000000000000000000000000000000000000000000000958660368201527f09226465736372697074696f6e223a2022456e61626c657320686f6c6465722060398201527f746f206465706c6f792061726269747261727920736d61727420636f6e74726160598201527f637420746f20000000000000000000000000000000000000000000000000000060798201528151906128c282607f830160208601610f66565b0186607f8201527f092265787465726e616c5f75726c223a202268747470733a2f2f65746865727360828201527f63616e2e696f2f616464726573732f000000000000000000000000000000000060a282015261292982518093602060b185019101610f66565b01948060b18701527f0922696d616765223a2022697066733a2f2f516d5a5733545464744b38376b7460b48701527f786d683650473555756d62746f5758553872564241706f36356f6b6e656b6d6360d487015260f48601527f0922616e696d6174696f6e5f75726c223a2022697066733a2f2f516d5a4b703360f78601527f4b376f794446506b5655585567444b715a3652634c5a593751573236374a7658610117860152610137947f52544c5731716147222c0a000000000000000000000000000000000000000000868201527f092261747472696275746573223a205b0a000000000000000000000000000000610142820152835190612a36826101539660208885019101610f66565b01612a4a8251809360208785019101610f66565b01918201527f7d000000000000000000000000000000000000000000000000000000000000006101568201520390810184520182611152565b60405190612a90826110d1565b8152906127ac565b8281018181116118a45760011c6020811015612bb157826007911a60018316155f14612ba95760041c5b1180612b54575b612adc575b612ad790613988565b612733565b612ae6818661394c565b51907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe060f892831c019160ff83116118a457612ad7927fff00000000000000000000000000000000000000000000000000000000000000911b165f1a612b4c828861394c565b539050612ace565b507f39000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000612ba1838861394c565b511611612ac9565b600f16612ac2565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b9390931561267c579250604051612bf48161111a565b602981527f09097b0a0909092274726169745f74797065223a20224c657474657273206f6e868201527f6c79220a09097d2c0a000000000000000000000000000000000000000000000060408201529261267c565b7f30000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000612c95838d61394c565b5116108015612d72575b612d6a575b7f61000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000612cf0838d61394c565b5116108015612d15575b612d0d575b612d0890613988565b612602565b5f9250612cff565b507f66000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000612d62838d61394c565b511611612cfa565b5f9150612ca4565b507f39000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000612dbf838d61394c565b511611612c9f565b6001612de0612dd6838761394c565b5160f81c8861394c565b5160f81c019060ff82116118a457612e3891612e327fff00000000000000000000000000000000000000000000000000000000000000612e20848961394c565b5160f81c9260f81b165f1a918961394c565b53613988565b612482565b7f30000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000612e89838961394c565b51161480612ee0575b612ed0575b6002810180911115612394577f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b90612eda90613988565b90612e97565b506001810181116118a4577f30000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000612f3a600184018961394c565b511614612e92565b9181600597959492971b830151936060925f946002975b8751602a03602a81116118a4578911613232575f92835b895185108c868d836131c3575b50505015612f9d57612f91612f9791613988565b94613988565b93612f70565b9093509890939491988851809114612fc3575b50612fba90613988565b97909392612f59565b600282989792145f146130f457507f220a09097d2c0a0000000000000000000000000000000000000000000000000061308c6058613092938b6040519482613015879451809260208088019101610f66565b83017f09097b0a0909092274726169745f74797065223a2022576f726420707265666960208201527f78222c0a0909092276616c7565223a202200000000000000000000000000000060408201528251906130798260519560208785019101610f66565b0191820152036038810184520182611152565b95613988565b958751807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8101116118a457612fba917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6130ee920190611897565b90612fb0565b613103602a9189989398611897565b14613112575b61309290613988565b947f220a09097d2c0a000000000000000000000000000000000000000000000000006131bb6058613092938b6040519482613157879451809260208088019101610f66565b83017f09097b0a0909092274726169745f74797065223a2022576f726420737566666960208201527f78222c0a0909092276616c7565223a202200000000000000000000000000000060408201528251906130798260519560208785019101610f66565b959050613109565b7fff0000000000000000000000000000000000000000000000000000000000000093506131fa92916131f491611897565b9061394c565b51167fff00000000000000000000000000000000000000000000000000000000000000613227878d61394c565b5116148c868d612f7d565b9997509391909561327893958061327e575b50506020612f919160405193816132648693518092868087019101610f66565b82016126f482518093868085019101610f66565b90612386565b6133586050612f9194956020947f0a09097d2c0a00000000000000000000000000000000000000000000000000006132d67f222c0a0909092276616c7565223a200000000000000000000000000000000000966139c2565b9160405196846132ef89965180928c808a019101610f66565b85017f09097b0a0909092274726169745f74797065223a2022576f72642000000000008a82015282519061332b82603b958d8785019101610f66565b019182015282519061334582604a958b8785019101610f66565b0191820152036030810184520182611152565b9291613244565b50805115611b92565b7fff00000000000000000000000000000000000000000000000000000000000000613396828998969861394c565b51167fff00000000000000000000000000000000000000000000000000000000000000841614613863575b7fff0000000000000000000000000000000000000000000000000000000000000083167fff0000000000000000000000000000000000000000000000000000000000000061340f838a61394c565b511614801590613859575b613430575b61342890613988565b949294611b75565b919060048082101561347a575b50505060016134287fff00000000000000000000000000000000000000000000000000000000000000613470848961394c565b511692905061341f565b600282939792019081841161382d5750605c7f0a09097d2c0a0000000000000000000000000000000000000000000000000000928561366993145f1461374557613595827fff00000000000000000000000000000000000000000000000000000000000000926134e9886139c2565b878d604051968461350489965180926020808a019101610f66565b8501917f09097b0a0909092274726169745f74797065223a20225265706561746564207060208401527f726566697820000000000000000000000000000000000000000000000000000060408401521660468201527f222c0a0909092276616c7565223a2000000000000000000000000000000000006047820152825190611cd98260569560208785019101610f66565b61359e856139c2565b60405194826135b7879451809260208088019101610f66565b83017f09097b0a0909092274726169745f74797065223a20225265706561746564207360208201527f796d626f6c20000000000000000000000000000000000000000000000000000060408201527fff000000000000000000000000000000000000000000000000000000000000008c1660468201527f222c0a0909092276616c7565223a2000000000000000000000000000000000006047820152825190611cd98260569560208785019101610f66565b945f5b8281101561343d57807fff000000000000000000000000000000000000000000000000000000000000006136a361372993866139b5565b60f81b167fff0000000000000000000000000000000000000000000000000000000000000084167fff000000000000000000000000000000000000000000000000000000000000006136f5888d61394c565b51161461372e57612e3261371f8361371a8861371560ff5f5b168c611897565b6139b5565b611897565b915f1a918961394c565b61366c565b612e3261371f8361371a8861371560ff600161370e565b6029860361359557613828827fff000000000000000000000000000000000000000000000000000000000000009261377c886139c2565b878d604051968461379789965180926020808a019101610f66565b8501917f09097b0a0909092274726169745f74797065223a20225265706561746564207360208401527f756666697820000000000000000000000000000000000000000000000000000060408401521660468201527f222c0a0909092276616c7565223a2000000000000000000000000000000000006047820152825190611cd98260569560208785019101610f66565b613595565b6011907f4e487b71000000000000000000000000000000000000000000000000000000005f525260245ffd5b506029811461341a565b9061386d90613988565b906133c1565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b90600f811690601082101561391f577f303132333435363738396162636465660000000000000000000000000000000061391a921a613910848761394c565b5360041c9161395d565b611b13565b60245f7f4e487b710000000000000000000000000000000000000000000000000000000081526032600452fd5b908151811015612bb1570160200190565b80156118a4577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146118a45760010190565b919082039182116118a457565b805f917a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000080821015613b21575b506d04ee2d6d415b85acef810000000080831015613b12575b50662386f26fc1000080831015613b03575b506305f5e10080831015613af4575b5061271080831015613ae5575b506064821015613ad5575b600a80921015613acb575b600190816021613a588287016118d1565b95860101905b613a6a575b5050505090565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff849101917f30313233343536373839616263646566000000000000000000000000000000008282061a835304918215613ac657919082613a5e565b613a63565b9160010191613a47565b9190606460029104910191613a3c565b6004919392049101915f613a31565b6008919392049101915f613a24565b6010919392049101915f613a15565b6020919392049101915f613a03565b60409350810491505f6139ea565b907fffffffffffffffffffffffffffffffff00000000000000000000000000000000906040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000602082019260601b16825260148152613b8e81611136565b5190206fffffffffffffffffffffffffffffffff16911617613baf8161401c565b91565b81613bbf91939293613b2f565b90928373ffffffffffffffffffffffffffffffffffffffff809116925f918483526020936006855260409283852054613d2a57868552600686528385205516928315613ccf57600290613c3c613c36875f52600260205273ffffffffffffffffffffffffffffffffffffffff60405f205416151590565b15613d53565b613c6a613c36875f52600260205273ffffffffffffffffffffffffffffffffffffffff60405f205416151590565b8484526003815282842060018154019055858452528120827fffffffffffffffffffffffff00000000000000000000000000000000000000008254161790557fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4565b60649151907f08c379a000000000000000000000000000000000000000000000000000000000825280600483015260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152fd5b600484517f8cde2bfc000000000000000000000000000000000000000000000000000000008152fd5b15613d5a57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152fd5b9173ffffffffffffffffffffffffffffffffffffffff8093169183613ddc84611268565b163303613fb957613dec83611268565b50613df683611268565b91613ead5f92858452602095600487528460409689888320917fffffffffffffffffffffffff000000000000000000000000000000000000000092838154169055169081835260038a528883207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff815401905583835260028a528883209081541690557fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8280a460068652848420549236916111cd565b9080613eb7613fe3565b868151910185f595861615613f5c5790613ed1839261401c565b9585825192019034905af1613ee46116b0565b5080613f52575b15613ef557505090565b6064925051907f08c379a00000000000000000000000000000000000000000000000000000000082526004820152601560248201527f494e495449414c495a4154494f4e5f4641494c454400000000000000000000006044820152fd5b50823b1515613eeb565b6064858551907f08c379a00000000000000000000000000000000000000000000000000000000082526004820152601160248201527f4445504c4f594d454e545f4641494c45440000000000000000000000000000006044820152fd5b60046040517f4ca88867000000000000000000000000000000000000000000000000000000008152fd5b60405190613ff082611136565b601082527f67363d3d37363d34f03d5260086018f3000000000000000000000000000000006020830152565b614024613fe3565b602081519101206040519060208201927fff0000000000000000000000000000000000000000000000000000000000000084523060601b602184015260358301526055820152605581526080810181811067ffffffffffffffff8211176110ed577f010000000000000000000000000000000000000000000000000000000000000060b673ffffffffffffffffffffffffffffffffffffffff948360405284519020937fffffffffffffffffffffffffffffffffffffffff00000000000000000000000060a08201957fd694000000000000000000000000000000000000000000000000000000000000875260601b1660a282015201526017815261412881611136565b519020169056fea2646970667358221220b51fa6703c61133b5bdbad06616ce776efabb58d75a4883b4b9195e1cce4988964736f6c63430008140033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.