ETH Price: $2,417.05 (+0.10%)

Token

TheFlags (FLG)
 

Overview

Max Total Supply

0 FLG

Holders

23

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
brandonharris.eth
Balance
1 FLG
0x3edc9a6fe9a1b985573928e4bb74ec080722ba02
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:
TheFlags

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 17 : TheFlags.sol
pragma solidity 0.8.13;

import {ERC721} from "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {RevokableDefaultOperatorFilterer} from "./RevokableDefaultOperatorFilterer.sol";
import {UpdatableOperatorFilterer} from "./UpdatableOperatorFilterer.sol";
import {Base64} from "./Base64.sol";

contract TheFlags is ERC721, Ownable, RevokableDefaultOperatorFilterer {
    string private constant SVG_HEADER = '<svg xmlns=\'http://www.w3.org/2000/svg\' version=\'1.2\' viewBox=\'0 0 32 32\' shape-rendering=\'crispEdges\'>';
    string private constant SVG_FOOTER = '</svg>';
    bytes16 private constant HEX_SYMBOLS = "0123456789abcdef";

    enum FormType { Default, Square, Nepal }
    enum BackgroundType { BgDefault, BgAdditional }
    enum StickType { StickDefault, StickAdditional }
    
    mapping(FormType => FormParameters) formsParameters;
    mapping(FormType => uint256[]) formsRowOffsets;
    mapping(BackgroundType => bytes3) backgroundColors;
    mapping(StickType => bytes3) stickColors;

    mapping(uint256 => bytes) private flags;
    mapping(uint256 => string) private names;

    bool isMediaLocked;

    struct FormParameters { uint256 startColumn; uint256 startRow; uint256 columnsCount; uint256 rowsCount; }
    struct decompressionParameters{
        FormType formType;
        BackgroundType bgType;
        StickType stickType;
        uint8 paletteLength;
        uint8 paletteIndexOffset;
        bytes1 repeatsMultiplier;
        bool isHorizontalCompression;
    }

    modifier checkIdExists(uint256 flagId){
        require(flagId != 0, "Flags idexes starts from 1");
        require(flagId <= 195, "There are only 195 flags");
        _;
    }

    modifier ifMediaNotLocked(){
        require(isMediaLocked == false, "All media is locked");
        _;
    }

    constructor() ERC721("TheFlags", "FLG") public {
        backgroundColors[BackgroundType.BgDefault] = hex"6AC3E6";
        backgroundColors[BackgroundType.BgAdditional] = hex"D4D4D4";
        stickColors[StickType.StickDefault] = hex"FFFFFF";
        stickColors[StickType.StickAdditional] = hex"EBEBEB";

        formsParameters[FormType.Default] = FormParameters(10, 10, 13, 9);
        formsParameters[FormType.Square] = FormParameters(11, 9, 10, 10);
        formsParameters[FormType.Nepal] = FormParameters(11, 9, 10, 10);

        formsRowOffsets[FormType.Default] = [ 0, 1, 2, 2, 2, 2, 1, 0, 0, 0, 0, 0, 1 ];
        formsRowOffsets[FormType.Square] = [ 0, 1, 2, 2, 2, 1, 0, 0, 0, 1 ];
        formsRowOffsets[FormType.Nepal] = [ 0, 1, 2, 2, 2, 2, 2, 2, 2, 2 ];

        isMediaLocked = false;
    }

    function safeMint(address to, uint256 flagId, string calldata name, bytes calldata flag)
        public
        onlyOwner
        checkIdExists(flagId)
    {
        flags[flagId] = flag;
        names[flagId] = name;
        _safeMint(to, flagId);
    }

    function updateFlag(uint flagId, bytes calldata flag) public onlyOwner ifMediaNotLocked checkIdExists(flagId) {
        flags[flagId] = flag;
    }

    function updateName(uint flagId, string calldata name) public onlyOwner ifMediaNotLocked checkIdExists(flagId) {
        names[flagId] = name;
    }

    function batchMint(address to, uint256[] calldata _tokenIds, string[] calldata _names, bytes[] calldata _flags) 
        public 
        onlyOwner 
    {
        for (uint256 i = 0; i < _tokenIds.length; i++) {
            safeMint(to, _tokenIds[i], _names[i], _flags[i]);
        }
    }

    function lockMedia() public onlyOwner {
        isMediaLocked = true;
    }

    function getMediaLockedStatus() public view returns (bool isLocked){
        isLocked = isMediaLocked;
    } 

    function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) {
        super.setApprovalForAll(operator, approved);
    }

    function approve(address operator, uint256 tokenId) public override onlyAllowedOperatorApproval(operator) {
        super.approve(operator, tokenId);
    }

    function transferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) {
        super.transferFrom(from, to, tokenId);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data)
        public
        override
        onlyAllowedOperator(from)
    {
        super.safeTransferFrom(from, to, tokenId, data);
    }

    function owner() public view override(Ownable, UpdatableOperatorFilterer) returns (address) {
        return Ownable.owner();
    }

    function tokenURI(uint256 flagId) public view override(ERC721) checkIdExists(flagId) returns (string memory) {
        string memory json = Base64.encode(
            bytes(string(
                abi.encodePacked(
                    '{',
                    '"name": "', names[flagId], '",',
                    '"image_data": "', getFlagSvg(flagId), '"',
                    '}'
                )
            )));
        return string(abi.encodePacked('data:application/json;base64,', json));
    }

    function getFlagSvg(uint256 flagId) public view checkIdExists(flagId) returns (string memory svg) {
        bytes memory data = flags[flagId];

        decompressionParameters memory params = getConfigurations(data[0]);

        svg = SVG_HEADER;
        svg = string(abi.encodePacked(svg, getSvgBlock(0, 0, 32, 32, backgroundColors[params.bgType])));
        svg = string(abi.encodePacked(svg, getSvgBlock(formsParameters[params.formType].startColumn, formsParameters[params.formType].startRow + 1, 1, 32 - (formsParameters[params.formType].startRow + 1), stickColors[params.stickType])));

        bytes3 color;
        uint256 interator = 0;
        for (uint8 colorDataIndex = 1 + params.paletteLength * 3; colorDataIndex < data.length; colorDataIndex++)
        {
            uint8 colorIndex = 1 + uint8(data[colorDataIndex] >> params.paletteIndexOffset) * 3;
            color = (bytes3(data[colorIndex])) | (bytes3(data[colorIndex + 1]) >> 8) | (bytes3(data[colorIndex + 2]) >> 16);

            for (uint8 repeat = 0; repeat < uint8(data[colorDataIndex] & params.repeatsMultiplier) + 1; repeat++)
            {
                (uint256 column, uint256 row) = getFormPixelByIterator(params, interator);
                interator++;
                svg = string(abi.encodePacked(svg, getSvgBlock(column, row, 1, 1, color)));
            }
        }
        
        svg = string(abi.encodePacked(svg, SVG_FOOTER));
    }

    function getFlagRaw(uint256 flagId) public view checkIdExists(flagId) returns (bytes memory raw){
        bytes memory data = flags[flagId];
        decompressionParameters memory params = getConfigurations(data[0]);

        raw = new bytes(3072);
        for (uint256 index = 0; index < 1024; index++){
            raw[index * 3] = backgroundColors[params.bgType][0];
            raw[index * 3 + 1] = backgroundColors[params.bgType][1];
            raw[index * 3 + 2] = backgroundColors[params.bgType][2];
        }

        for (uint256 row = formsParameters[params.formType].startRow + formsParameters[params.formType].rowsCount; row < 32; row++){
            uint256 index = row * 32 + formsParameters[params.formType].startColumn;
            raw[index * 3] = stickColors[params.stickType][0];
            raw[index * 3 + 1] = stickColors[params.stickType][1];
            raw[index * 3 + 2] = stickColors[params.stickType][2];
        }

        uint256 interator = 0;
        for (uint8 colorDataIndex = 1 + params.paletteLength * 3; colorDataIndex < data.length; colorDataIndex++)
        {
            uint8 colorIndex = 1 + uint8(data[colorDataIndex] >> params.paletteIndexOffset) * 3;
            for (uint8 repeat = 0; repeat < uint8(data[colorDataIndex] & params.repeatsMultiplier) + 1; repeat++)
            {
                (uint256 column, uint256 row) = getFormPixelByIterator(params, interator);
                interator++;
                uint256 index = (row * 32 + column) * 3;
                raw[index] = data[colorIndex];
                raw[index + 1] = data[colorIndex + 1];
                raw[index + 2] = data[colorIndex + 2];
            }
        }
    }

    function getConfigurations(bytes1 config) private view returns (decompressionParameters memory params){
        uint8 configByte = uint8(config);
        uint8 formIndex = (configByte >> 6) & 0x3;
        bool isHorizontalCompression = (configByte >> 5) & 0x1 == 0;
        uint8 bgIndex = (configByte >> 4) & 0x1;
        uint8 stickIndex = (configByte >> 3) & 0x1;
        uint8 paletteLength = (configByte & 0x7) + 1;
        uint8 paletteIndexOffset = paletteLength <= 2 ? 7 : paletteLength <= 4 ? 6 : 5;
        bytes1 repeatsMultiplier = paletteLength <= 2 ? bytes1(0x7F) : paletteLength <= 4 ? bytes1(0x3F) : bytes1(0x1F);

        params = decompressionParameters(
            FormType(formIndex),
            BackgroundType(bgIndex),
            StickType(stickIndex),
            paletteLength,
            paletteIndexOffset,
            repeatsMultiplier,
            isHorizontalCompression
        );
    }

    function getFormPixelByIterator(
        decompressionParameters memory params,
        uint256 iterator
        ) private view returns (uint256 column, uint256 row) {
        uint256 columnIndex = 0;
        uint256 rowIndex = 0;

        if (params.isHorizontalCompression) {
            columnIndex = iterator % formsParameters[params.formType].columnsCount;
            rowIndex = iterator / formsParameters[params.formType].columnsCount;
        } else {
            columnIndex = iterator / formsParameters[params.formType].rowsCount;
            rowIndex = iterator % formsParameters[params.formType].rowsCount;
        }

        column = formsParameters[params.formType].startColumn + columnIndex;
        row = formsParameters[params.formType].startRow + rowIndex + formsRowOffsets[params.formType][columnIndex];
    }

    function getSvgBlock(uint256 x, uint256 y, uint256 xSize, uint256 ySize, bytes3 color) private pure returns (string memory) {
        bytes memory buffer = new bytes(6);
        for (uint256 i = 0; i < 3; i++) {
            uint8 value = uint8(color[i]);
            buffer[i * 2 + 1] = HEX_SYMBOLS[value & 0xf];
            value >>= 4;
            buffer[i * 2] = HEX_SYMBOLS[value & 0xf];
        }

        return string(abi.encodePacked(
                        '<rect x=\'', toString(x), '\' y=\'', toString(y),'\' width=\'', toString(xSize), '\' height=\'', toString(ySize) ,'\' fill=\'#', string(buffer),'\'/>'));
    }

    function toString(uint256 value) private pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

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

File 2 of 17 : Base64.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

library Base64 {
    string internal constant TABLE_ENCODE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
    bytes  internal constant TABLE_DECODE = hex"0000000000000000000000000000000000000000000000000000000000000000"
                                            hex"00000000000000000000003e0000003f3435363738393a3b3c3d000000000000"
                                            hex"00000102030405060708090a0b0c0d0e0f101112131415161718190000000000"
                                            hex"001a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132330000000000";

    function encode(bytes memory data) internal pure returns (string memory) {
        if (data.length == 0) return '';

        // load the table into memory
        string memory table = TABLE_ENCODE;

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

        // add some extra buffer at the end required for the writing
        string memory result = new string(encodedLen + 32);

        assembly {
            // set the actual output length
            mstore(result, encodedLen)

            // prepare the lookup table
            let tablePtr := add(table, 1)

            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))

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

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

                // write 4 characters
                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(shr( 6, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(        input,  0x3F))))
                resultPtr := add(resultPtr, 1)
            }

            // padding with '='
            switch mod(mload(data), 3)
            case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) }
            case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) }
        }

        return result;
    }

    function decode(string memory _data) internal pure returns (bytes memory) {
        bytes memory data = bytes(_data);

        if (data.length == 0) return new bytes(0);
        require(data.length % 4 == 0, "invalid base64 decoder input");

        // load the table into memory
        bytes memory table = TABLE_DECODE;

        // every 4 characters represent 3 bytes
        uint256 decodedLen = (data.length / 4) * 3;

        // add some extra buffer at the end required for the writing
        bytes memory result = new bytes(decodedLen + 32);

        assembly {
            // padding with '='
            let lastBytes := mload(add(data, mload(data)))
            if eq(and(lastBytes, 0xFF), 0x3d) {
                decodedLen := sub(decodedLen, 1)
                if eq(and(lastBytes, 0xFFFF), 0x3d3d) {
                    decodedLen := sub(decodedLen, 1)
                }
            }

            // set the actual output length
            mstore(result, decodedLen)

            // prepare the lookup table
            let tablePtr := add(table, 1)

            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))

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

            // run over the input, 4 characters at a time
            for {} lt(dataPtr, endPtr) {}
            {
               // read 4 characters
               dataPtr := add(dataPtr, 4)
               let input := mload(dataPtr)

               // write 3 bytes
               let output := add(
                   add(
                       shl(18, and(mload(add(tablePtr, and(shr(24, input), 0xFF))), 0xFF)),
                       shl(12, and(mload(add(tablePtr, and(shr(16, input), 0xFF))), 0xFF))),
                   add(
                       shl( 6, and(mload(add(tablePtr, and(shr( 8, input), 0xFF))), 0xFF)),
                               and(mload(add(tablePtr, and(        input , 0xFF))), 0xFF)
                    )
                )
                mstore(resultPtr, shl(232, output))
                resultPtr := add(resultPtr, 3)
            }
        }

        return result;
    }
}

File 3 of 17 : UpdatableOperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

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

/**
 * @title  UpdatableOperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry. This contract allows the Owner to update the
 *         OperatorFilterRegistry address via updateOperatorFilterRegistryAddress, including to the zero address,
 *         which will bypass registry checks.
 *         Note that OpenSea will still disable creator fee enforcement if filtered operators begin fulfilling orders
 *         on-chain, eg, if the registry is revoked or bypassed.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 */
abstract contract UpdatableOperatorFilterer {
    error OperatorNotAllowed(address operator);
    error OnlyOwner();

    IOperatorFilterRegistry public operatorFilterRegistry;

    constructor(address _registry, address subscriptionOrRegistrantToCopy, bool subscribe) {
        IOperatorFilterRegistry registry = IOperatorFilterRegistry(_registry);
        operatorFilterRegistry = registry;
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(registry).code.length > 0) {
            if (subscribe) {
                registry.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    registry.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    registry.register(address(this));
                }
            }
        }
    }

    modifier onlyAllowedOperator(address from) virtual {
        // Allow spending tokens from addresses with balance
        // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
        // from an EOA.
        if (from != msg.sender) {
            _checkFilterOperator(msg.sender);
        }
        _;
    }

    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    /**
     * @notice Update the address that the contract will make OperatorFilter checks against. When set to the zero
     *         address, checks will be bypassed. OnlyOwner.
     */
    function updateOperatorFilterRegistryAddress(address newRegistry) public virtual {
        if (msg.sender != owner()) {
            revert OnlyOwner();
        }
        operatorFilterRegistry = IOperatorFilterRegistry(newRegistry);
    }

    /**
     * @dev assume the contract has an owner, but leave specific Ownable implementation up to inheriting contract
     */
    function owner() public view virtual returns (address);

    function _checkFilterOperator(address operator) internal view virtual {
        IOperatorFilterRegistry registry = operatorFilterRegistry;
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(registry) != address(0) && address(registry).code.length > 0) {
            if (!registry.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}

File 4 of 17 : RevokableDefaultOperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

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

/**
 * @title  RevokableDefaultOperatorFilterer
 * @notice Inherits from RevokableOperatorFilterer and automatically subscribes to the default OpenSea subscription.
 *         Note that OpenSea will disable creator fee enforcement if filtered operators begin fulfilling orders
 *         on-chain, eg, if the registry is revoked or bypassed.
 */
abstract contract RevokableDefaultOperatorFilterer is RevokableOperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() RevokableOperatorFilterer(0x000000000000AAeB6D7670E522A718067333cd4E, DEFAULT_SUBSCRIPTION, true) {}
}

File 5 of 17 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

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

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

File 6 of 17 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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 {
        if (batchSize > 1) {
            if (from != address(0)) {
                _balances[from] -= batchSize;
            }
            if (to != address(0)) {
                _balances[to] += batchSize;
            }
        }
    }

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

File 7 of 17 : IOperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);
    function register(address registrant) external;
    function registerAndSubscribe(address registrant, address subscription) external;
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;
    function unregister(address addr) external;
    function updateOperator(address registrant, address operator, bool filtered) external;
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
    function subscribe(address registrant, address registrantToSubscribe) external;
    function unsubscribe(address registrant, bool copyExistingEntries) external;
    function subscriptionOf(address addr) external returns (address registrant);
    function subscribers(address registrant) external returns (address[] memory);
    function subscriberAt(address registrant, uint256 index) external returns (address);
    function copyEntriesOf(address registrant, address registrantToCopy) external;
    function isOperatorFiltered(address registrant, address operator) external returns (bool);
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
    function filteredOperators(address addr) external returns (address[] memory);
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
    function isRegistered(address addr) external returns (bool);
    function codeHashOf(address addr) external returns (bytes32);
}

File 8 of 17 : RevokableOperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {UpdatableOperatorFilterer} from "./UpdatableOperatorFilterer.sol";
import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";

/**
 * @title  RevokableOperatorFilterer
 * @notice This contract is meant to allow contracts to permanently skip OperatorFilterRegistry checks if desired. The
 *         Registry itself has an "unregister" function, but if the contract is ownable, the owner can re-register at
 *         any point. As implemented, this abstract contract allows the contract owner to permanently skip the
 *         OperatorFilterRegistry checks by calling revokeOperatorFilterRegistry. Once done, the registry
 *         address cannot be further updated.
 *         Note that OpenSea will still disable creator fee enforcement if filtered operators begin fulfilling orders
 *         on-chain, eg, if the registry is revoked or bypassed.
 */
abstract contract RevokableOperatorFilterer is UpdatableOperatorFilterer {
    error RegistryHasBeenRevoked();
    error InitialRegistryAddressCannotBeZeroAddress();

    bool public isOperatorFilterRegistryRevoked;

    constructor(address _registry, address subscriptionOrRegistrantToCopy, bool subscribe)
        UpdatableOperatorFilterer(_registry, subscriptionOrRegistrantToCopy, subscribe)
    {
        // don't allow creating a contract with a permanently revoked registry
        if (_registry == address(0)) {
            revert InitialRegistryAddressCannotBeZeroAddress();
        }
    }

    function _checkFilterOperator(address operator) internal view virtual override {
        if (address(operatorFilterRegistry) != address(0)) {
            super._checkFilterOperator(operator);
        }
    }

    /**
     * @notice Update the address that the contract will make OperatorFilter checks against. When set to the zero
     *         address, checks will be permanently bypassed, and the address cannot be updated again. OnlyOwner.
     */
    function updateOperatorFilterRegistryAddress(address newRegistry) public override {
        if (msg.sender != owner()) {
            revert OnlyOwner();
        }
        // if registry has been revoked, do not allow further updates
        if (isOperatorFilterRegistryRevoked) {
            revert RegistryHasBeenRevoked();
        }

        operatorFilterRegistry = IOperatorFilterRegistry(newRegistry);
    }

    /**
     * @notice Revoke the OperatorFilterRegistry address, permanently bypassing checks. OnlyOwner.
     */
    function revokeOperatorFilterRegistry() public {
        if (msg.sender != owner()) {
            revert OnlyOwner();
        }
        // if registry has been revoked, do not allow further updates
        if (isOperatorFilterRegistryRevoked) {
            revert RegistryHasBeenRevoked();
        }

        // set to zero address to bypass checks
        operatorFilterRegistry = IOperatorFilterRegistry(address(0));
        isOperatorFilterRegistryRevoked = true;
    }
}

File 9 of 17 : 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 17 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.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 `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);
    }
}

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 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 10, 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 * 8) < value ? 1 : 0);
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"InitialRegistryAddressCannotBeZeroAddress","type":"error"},{"inputs":[],"name":"OnlyOwner","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"RegistryHasBeenRevoked","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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"operator","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":"to","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"string[]","name":"_names","type":"string[]"},{"internalType":"bytes[]","name":"_flags","type":"bytes[]"}],"name":"batchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"flagId","type":"uint256"}],"name":"getFlagRaw","outputs":[{"internalType":"bytes","name":"raw","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"flagId","type":"uint256"}],"name":"getFlagSvg","outputs":[{"internalType":"string","name":"svg","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMediaLockedStatus","outputs":[{"internalType":"bool","name":"isLocked","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOperatorFilterRegistryRevoked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockMedia","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operatorFilterRegistry","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revokeOperatorFilterRegistry","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"flagId","type":"uint256"},{"internalType":"string","name":"name","type":"string"},{"internalType":"bytes","name":"flag","type":"bytes"}],"name":"safeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"flagId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"flagId","type":"uint256"},{"internalType":"bytes","name":"flag","type":"bytes"}],"name":"updateFlag","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"flagId","type":"uint256"},{"internalType":"string","name":"name","type":"string"}],"name":"updateName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRegistry","type":"address"}],"name":"updateOperatorFilterRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506daaeb6d7670e522a718067333cd4e733cc6cdda760b79bafa08df41ecfa224f810dceb660018282826040518060400160405280600881526020017f546865466c6167730000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f464c4700000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000bf92919062000a36565b508060019080519060200190620000d892919062000a36565b505050620000fb620000ef6200096860201b60201c565b6200097060201b60201c565b600083905080600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060008173ffffffffffffffffffffffffffffffffffffffff163b1115620002fe578115620001e0578073ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30856040518363ffffffff1660e01b8152600401620001a692919062000bd9565b600060405180830381600087803b158015620001c157600080fd5b505af1158015620001d6573d6000803e3d6000fd5b50505050620002fd565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146200028c578073ffffffffffffffffffffffffffffffffffffffff1663a0af290330856040518363ffffffff1660e01b81526004016200025292919062000bd9565b600060405180830381600087803b1580156200026d57600080fd5b505af115801562000282573d6000803e3d6000fd5b50505050620002fc565b8073ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b8152600401620002c7919062000c06565b600060405180830381600087803b158015620002e257600080fd5b505af1158015620002f7573d6000803e3d6000fd5b505050505b5b5b50505050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160362000369576040517fc49d17ad00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050507f6ac3e60000000000000000000000000000000000000000000000000000000000600a6000806001811115620003a757620003a662000c23565b5b6001811115620003bc57620003bb62000c23565b5b815260200190815260200160002060006101000a81548162ffffff021916908360e81c02179055507fd4d4d40000000000000000000000000000000000000000000000000000000000600a60006001808111156200041f576200041e62000c23565b5b600181111562000434576200043362000c23565b5b815260200190815260200160002060006101000a81548162ffffff021916908360e81c02179055507fffffff0000000000000000000000000000000000000000000000000000000000600b600080600181111562000497576200049662000c23565b5b6001811115620004ac57620004ab62000c23565b5b815260200190815260200160002060006101000a81548162ffffff021916908360e81c02179055507febebeb0000000000000000000000000000000000000000000000000000000000600b60006001808111156200050f576200050e62000c23565b5b600181111562000524576200052362000c23565b5b815260200190815260200160002060006101000a81548162ffffff021916908360e81c02179055506040518060800160405280600a8152602001600a8152602001600d81526020016009815250600860008060028111156200058b576200058a62000c23565b5b6002811115620005a0576200059f62000c23565b5b8152602001908152602001600020600082015181600001556020820151816001015560408201518160020155606082015181600301559050506040518060800160405280600b815260200160098152602001600a8152602001600a815250600860006001600281111562000619576200061862000c23565b5b60028111156200062e576200062d62000c23565b5b8152602001908152602001600020600082015181600001556020820151816001015560408201518160020155606082015181600301559050506040518060800160405280600b815260200160098152602001600a8152602001600a81525060086000600280811115620006a657620006a562000c23565b5b6002811115620006bb57620006ba62000c23565b5b815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030155905050604051806101a00160405280600060ff168152602001600160ff168152602001600260ff168152602001600260ff168152602001600260ff168152602001600260ff168152602001600160ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600160ff16815250600960008060028111156200079a576200079962000c23565b5b6002811115620007af57620007ae62000c23565b5b815260200190815260200160002090600d620007cd92919062000ac7565b50604051806101400160405280600060ff168152602001600160ff168152602001600260ff168152602001600260ff168152602001600260ff168152602001600160ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600160ff16815250600960006001600281111562000857576200085662000c23565b5b60028111156200086c576200086b62000c23565b5b815260200190815260200160002090600a6200088a92919062000b1e565b50604051806101400160405280600060ff168152602001600160ff168152602001600260ff168152602001600260ff168152602001600260ff168152602001600260ff168152602001600260ff168152602001600260ff168152602001600260ff168152602001600260ff168152506009600060028081111562000913576200091262000c23565b5b600281111562000928576200092762000c23565b5b815260200190815260200160002090600a6200094692919062000b1e565b506000600e60006101000a81548160ff02191690831515021790555062000cb6565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805462000a449062000c81565b90600052602060002090601f01602090048101928262000a68576000855562000ab4565b82601f1062000a8357805160ff191683800117855562000ab4565b8280016001018555821562000ab4579182015b8281111562000ab357825182559160200191906001019062000a96565b5b50905062000ac3919062000b75565b5090565b82805482825590600052602060002090810192821562000b0b579160200282015b8281111562000b0a578251829060ff1690559160200191906001019062000ae8565b5b50905062000b1a919062000b75565b5090565b82805482825590600052602060002090810192821562000b62579160200282015b8281111562000b61578251829060ff1690559160200191906001019062000b3f565b5b50905062000b71919062000b75565b5090565b5b8082111562000b9057600081600090555060010162000b76565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000bc18262000b94565b9050919050565b62000bd38162000bb4565b82525050565b600060408201905062000bf0600083018562000bc8565b62000bff602083018462000bc8565b9392505050565b600060208201905062000c1d600083018462000bc8565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000c9a57607f821691505b60208210810362000cb05762000caf62000c52565b5b50919050565b615d368062000cc66000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c8063729a00b0116100f9578063b8d1e53211610097578063e985e9c511610071578063e985e9c5146104c9578063ecba222a146104f9578063f2fde38b14610517578063fbbc4f1314610533576101c4565b8063b8d1e5321461044d578063bae41be014610469578063c87b56dd14610499576101c4565b8063a22cb465116100d3578063a22cb465146103db578063b0ccc31e146103f7578063b55bc61714610415578063b88d4fde14610431576101c4565b8063729a00b0146103815780638da5cb5b1461039f57806395d89b41146103bd576101c4565b806342842e0e116101665780635ef9432a116101405780635ef9432a1461030d5780636352211e1461031757806370a0823114610347578063715018a614610377576101c4565b806342842e0e146102a55780634acfc636146102c157806353e76f2c146102f1576101c4565b8063095ea7b3116101a2578063095ea7b3146102475780630a2485c51461026357806312d355111461027f57806323b872dd14610289576101c4565b806301ffc9a7146101c957806306fdde03146101f9578063081812fc14610217575b600080fd5b6101e360048036038101906101de9190613f34565b61054f565b6040516101f09190613f7c565b60405180910390f35b610201610631565b60405161020e9190614030565b60405180910390f35b610231600480360381019061022c9190614088565b6106c3565b60405161023e91906140f6565b60405180910390f35b610261600480360381019061025c919061413d565b610709565b005b61027d600480360381019061027891906141e2565b610722565b005b610287610831565b005b6102a3600480360381019061029e9190614242565b610856565b005b6102bf60048036038101906102ba9190614242565b6108a5565b005b6102db60048036038101906102d69190614088565b6108f4565b6040516102e89190614030565b60405180910390f35b61030b600480360381019061030691906142eb565b610f26565b005b610315611035565b005b610331600480360381019061032c9190614088565b611147565b60405161033e91906140f6565b60405180910390f35b610361600480360381019061035c919061434b565b6111cd565b60405161036e9190614387565b60405180910390f35b61037f611284565b005b610389611298565b6040516103969190613f7c565b60405180910390f35b6103a76112af565b6040516103b491906140f6565b60405180910390f35b6103c56112be565b6040516103d29190614030565b60405180910390f35b6103f560048036038101906103f091906143ce565b611350565b005b6103ff611369565b60405161040c919061446d565b60405180910390f35b61042f600480360381019061042a9190614488565b61138f565b005b61044b6004803603810190610446919061465f565b611478565b005b6104676004803603810190610462919061434b565b6114c9565b005b610483600480360381019061047e9190614088565b6115c0565b6040516104909190614737565b60405180910390f35b6104b360048036038101906104ae9190614088565b611f86565b6040516104c09190614030565b60405180910390f35b6104e360048036038101906104de9190614759565b612081565b6040516104f09190613f7c565b60405180910390f35b610501612115565b60405161050e9190613f7c565b60405180910390f35b610531600480360381019061052c919061434b565b612128565b005b61054d6004803603810190610548919061489b565b6121ab565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061061a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061062a57506106298261224b565b5b9050919050565b60606000805461064090614993565b80601f016020809104026020016040519081016040528092919081815260200182805461066c90614993565b80156106b95780601f1061068e576101008083540402835291602001916106b9565b820191906000526020600020905b81548152906001019060200180831161069c57829003601f168201915b5050505050905090565b60006106ce826122b5565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b8161071381612300565b61071d8383612363565b505050565b61072a61247a565b60001515600e60009054906101000a900460ff16151514610780576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077790614a10565b60405180910390fd5b82600081036107c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107bb90614a7c565b60405180910390fd5b60c3811115610808576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ff90614ae8565b60405180910390fd5b8282600c6000878152602001908152602001600020919061082a929190613d02565b5050505050565b61083961247a565b6001600e60006101000a81548160ff021916908315150217905550565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146108945761089333612300565b5b61089f8484846124f8565b50505050565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146108e3576108e233612300565b5b6108ee848484612558565b50505050565b6060816000810361093a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093190614a7c565b60405180910390fd5b60c381111561097e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097590614ae8565b60405180910390fd5b6000600c6000858152602001908152602001600020805461099e90614993565b80601f01602080910402602001604051908101604052809291908181526020018280546109ca90614993565b8015610a175780601f106109ec57610100808354040283529160200191610a17565b820191906000526020600020905b8154815290600101906020018083116109fa57829003601f168201915b505050505090506000610a4782600081518110610a3757610a36614b08565b5b602001015160f81c60f81b612578565b90506040518060a0016040528060678152602001615c5a60679139935083610abc600080602080600a600088602001516001811115610a8957610a88614b37565b5b6001811115610a9b57610a9a614b37565b5b815260200190815260200160002060009054906101000a900460e81b612723565b604051602001610acd929190614ba2565b604051602081830303815290604052935083610c126008600084600001516002811115610afd57610afc614b37565b5b6002811115610b0f57610b0e614b37565b5b81526020019081526020016000206000015460016008600086600001516002811115610b3e57610b3d614b37565b5b6002811115610b5057610b4f614b37565b5b815260200190815260200160002060010154610b6c9190614bf5565b6001806008600088600001516002811115610b8a57610b89614b37565b5b6002811115610b9c57610b9b614b37565b5b815260200190815260200160002060010154610bb89190614bf5565b6020610bc49190614c4b565b600b600088604001516001811115610bdf57610bde614b37565b5b6001811115610bf157610bf0614b37565b5b815260200190815260200160002060009054906101000a900460e81b612723565b604051602001610c23929190614ba2565b604051602081830303815290604052935060008060009050600060038460600151610c4e9190614c8c565b6001610c5a9190614cc7565b90505b84518160ff161015610ec25760006003856080015160ff16878460ff1681518110610c8b57610c8a614b08565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916901c60f81c610cc79190614c8c565b6001610cd39190614cc7565b9050601086600283610ce59190614cc7565b60ff1681518110610cf957610cf8614b08565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167cffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916901c600887600184610d589190614cc7565b60ff1681518110610d6c57610d6b614b08565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167cffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916901c878360ff1681518110610dd157610dd0614b08565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161717935060005b60018660a00151888560ff1681518110610e2257610e21614b08565b5b602001015160f81c60f81b1660f81c610e3b9190614cc7565b60ff168160ff161015610ead57600080610e558887612936565b915091508580610e6490614cfe565b9650508a610e7683836001808c612723565b604051602001610e87929190614ba2565b6040516020818303038152906040529a5050508080610ea590614d46565b915050610e05565b50508080610eba90614d46565b915050610c5d565b50856040518060400160405280600681526020017f3c2f7376673e0000000000000000000000000000000000000000000000000000815250604051602001610f0b929190614ba2565b60405160208183030381529060405295505050505050919050565b610f2e61247a565b60001515600e60009054906101000a900460ff16151514610f84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7b90614a10565b60405180910390fd5b8260008103610fc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbf90614a7c565b60405180910390fd5b60c381111561100c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100390614ae8565b60405180910390fd5b8282600d6000878152602001908152602001600020919061102e929190613d88565b5050505050565b61103d6112af565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146110a1576040517f5fc483c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600760149054906101000a900460ff16156110e8576040517f2aa3491e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600760146101000a81548160ff021916908315150217905550565b60008061115383612b7f565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036111c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111bb90614dbb565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361123d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123490614e4d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61128c61247a565b6112966000612bbc565b565b6000600e60009054906101000a900460ff16905090565b60006112b9612c82565b905090565b6060600180546112cd90614993565b80601f01602080910402602001604051908101604052809291908181526020018280546112f990614993565b80156113465780601f1061131b57610100808354040283529160200191611346565b820191906000526020600020905b81548152906001019060200180831161132957829003601f168201915b5050505050905090565b8161135a81612300565b6113648383612cac565b505050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61139761247a565b84600081036113db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d290614a7c565b60405180910390fd5b60c381111561141f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141690614ae8565b60405180910390fd5b8282600c60008981526020019081526020016000209190611441929190613d02565b508484600d60008981526020019081526020016000209190611464929190613d88565b5061146f8787612cc2565b50505050505050565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146114b6576114b533612300565b5b6114c285858585612ce0565b5050505050565b6114d16112af565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611535576040517f5fc483c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600760149054906101000a900460ff161561157c576040517f2aa3491e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60608160008103611606576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fd90614a7c565b60405180910390fd5b60c381111561164a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164190614ae8565b60405180910390fd5b6000600c6000858152602001908152602001600020805461166a90614993565b80601f016020809104026020016040519081016040528092919081815260200182805461169690614993565b80156116e35780601f106116b8576101008083540402835291602001916116e3565b820191906000526020600020905b8154815290600101906020018083116116c657829003601f168201915b5050505050905060006117138260008151811061170357611702614b08565b5b602001015160f81c60f81b612578565b9050610c0067ffffffffffffffff81111561173157611730614534565b5b6040519080825280601f01601f1916602001820160405280156117635781602001600182028036833780820191505090505b50935060005b6104008110156119a857600a60008360200151600181111561178e5761178d614b37565b5b60018111156117a05761179f614b37565b5b815260200190815260200160002060009054906101000a900460e81b6000600381106117cf576117ce614b08565b5b1a60f81b856003836117e19190614e6d565b815181106117f2576117f1614b08565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a60008360200151600181111561183c5761183b614b37565b5b600181111561184e5761184d614b37565b5b815260200190815260200160002060009054906101000a900460e81b60016003811061187d5761187c614b08565b5b1a60f81b8560016003846118919190614e6d565b61189b9190614bf5565b815181106118ac576118ab614b08565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a6000836020015160018111156118f6576118f5614b37565b5b600181111561190857611907614b37565b5b815260200190815260200160002060009054906101000a900460e81b60026003811061193757611936614b08565b5b1a60f81b85600260038461194b9190614e6d565b6119559190614bf5565b8151811061196657611965614b08565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535080806119a090614cfe565b915050611769565b50600060086000836000015160028111156119c6576119c5614b37565b5b60028111156119d8576119d7614b37565b5b8152602001908152602001600020600301546008600084600001516002811115611a0557611a04614b37565b5b6002811115611a1757611a16614b37565b5b815260200190815260200160002060010154611a339190614bf5565b90505b6020811015611ccf5760006008600084600001516002811115611a5c57611a5b614b37565b5b6002811115611a6e57611a6d614b37565b5b815260200190815260200160002060000154602083611a8d9190614e6d565b611a979190614bf5565b9050600b600084604001516001811115611ab457611ab3614b37565b5b6001811115611ac657611ac5614b37565b5b815260200190815260200160002060009054906101000a900460e81b600060038110611af557611af4614b08565b5b1a60f81b86600383611b079190614e6d565b81518110611b1857611b17614b08565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600b600084604001516001811115611b6257611b61614b37565b5b6001811115611b7457611b73614b37565b5b815260200190815260200160002060009054906101000a900460e81b600160038110611ba357611ba2614b08565b5b1a60f81b866001600384611bb79190614e6d565b611bc19190614bf5565b81518110611bd257611bd1614b08565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600b600084604001516001811115611c1c57611c1b614b37565b5b6001811115611c2e57611c2d614b37565b5b815260200190815260200160002060009054906101000a900460e81b600260038110611c5d57611c5c614b08565b5b1a60f81b866002600384611c719190614e6d565b611c7b9190614bf5565b81518110611c8c57611c8b614b08565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350508080611cc790614cfe565b915050611a36565b5060008060038360600151611ce49190614c8c565b6001611cf09190614cc7565b90505b83518160ff161015611f7c5760006003846080015160ff16868460ff1681518110611d2157611d20614b08565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916901c60f81c611d5d9190614c8c565b6001611d699190614cc7565b905060005b60018560a00151878560ff1681518110611d8b57611d8a614b08565b5b602001015160f81c60f81b1660f81c611da49190614cc7565b60ff168160ff161015611f6757600080611dbe8787612936565b915091508580611dcd90614cfe565b9650506000600383602084611de29190614e6d565b611dec9190614bf5565b611df69190614e6d565b9050888560ff1681518110611e0e57611e0d614b08565b5b602001015160f81c60f81b8b8281518110611e2c57611e2b614b08565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535088600186611e699190614cc7565b60ff1681518110611e7d57611e7c614b08565b5b602001015160f81c60f81b8b600183611e969190614bf5565b81518110611ea757611ea6614b08565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535088600286611ee49190614cc7565b60ff1681518110611ef857611ef7614b08565b5b602001015160f81c60f81b8b600283611f119190614bf5565b81518110611f2257611f21614b08565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505050508080611f5f90614d46565b915050611d6e565b50508080611f7490614d46565b915050611cf3565b5050505050919050565b60608160008103611fcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc390614a7c565b60405180910390fd5b60c3811115612010576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200790614ae8565b60405180910390fd5b6000612056600d6000868152602001908152602001600020612031866108f4565b604051602001612042929190615123565b604051602081830303815290604052612d42565b90508060405160200161206991906151d5565b60405160208183030381529060405292505050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600760149054906101000a900460ff1681565b61213061247a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361219f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219690615269565b60405180910390fd5b6121a881612bbc565b50565b6121b361247a565b60005b868690508110156122415761222e888888848181106121d8576121d7614b08565b5b905060200201358787858181106121f2576121f1614b08565b5b90506020028101906122049190615298565b87878781811061221757612216614b08565b5b905060200281019061222991906152fb565b61138f565b808061223990614cfe565b9150506121b6565b5050505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6122be81612eba565b6122fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f490614dbb565b60405180910390fd5b50565b600073ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146123605761235f81612efb565b5b50565b600061236e82611147565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036123de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d5906153d0565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166123fd61303d565b73ffffffffffffffffffffffffffffffffffffffff16148061242c575061242b8161242661303d565b612081565b5b61246b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246290615462565b60405180910390fd5b6124758383613045565b505050565b61248261303d565b73ffffffffffffffffffffffffffffffffffffffff166124a06112af565b73ffffffffffffffffffffffffffffffffffffffff16146124f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ed906154ce565b60405180910390fd5b565b61250961250361303d565b826130fe565b612548576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253f90615560565b60405180910390fd5b612553838383613193565b505050565b61257383838360405180602001604052806000815250611478565b505050565b612580613e0e565b60008260f81c90506000600360068360ff16901c169050600080600160058560ff16901c1660ff161490506000600160048560ff16901c1690506000600160038660ff16901c16905060006001600787166125db9190614cc7565b9050600060028260ff1611156126065760048260ff1611156125fe576005612601565b60065b612609565b60075b9050600060028360ff16111561263a5760048360ff16111561262f57601f60f81b612635565b603f60f81b5b612640565b607f60f81b5b90506040518060e001604052808860ff16600281111561266357612662614b37565b5b600281111561267557612674614b37565b5b81526020018660ff1660018111156126905761268f614b37565b5b60018111156126a2576126a1614b37565b5b81526020018560ff1660018111156126bd576126bc614b37565b5b60018111156126cf576126ce614b37565b5b81526020018460ff1681526020018360ff168152602001827effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200187151581525098505050505050505050919050565b60606000600667ffffffffffffffff81111561274257612741614534565b5b6040519080825280601f01601f1916602001820160405280156127745781602001600182028036833780820191505090505b50905060005b60038110156128e157600084826003811061279857612797614b08565b5b1a60f81b60f81c90507f3031323334353637383961626364656600000000000000000000000000000000600f821660ff16601081106127da576127d9614b08565b5b1a60f81b8360016002856127ee9190614e6d565b6127f89190614bf5565b8151811061280957612808614b08565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060048160ff16901c90507f3031323334353637383961626364656600000000000000000000000000000000600f821660ff166010811061287b5761287a614b08565b5b1a60f81b8360028461288d9190614e6d565b8151811061289e5761289d614b08565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505080806128d990614cfe565b91505061277a565b506128eb8761348c565b6128f48761348c565b6128fd8761348c565b6129068761348c565b8460405160200161291b959493929190615748565b60405160208183030381529060405291505095945050505050565b6000806000808560c00151156129e357600860008760000151600281111561296157612960614b37565b5b600281111561297357612972614b37565b5b815260200190815260200160002060020154856129909190615804565b915060086000876000015160028111156129ad576129ac614b37565b5b60028111156129bf576129be614b37565b5b815260200190815260200160002060020154856129dc9190615835565b9050612a7c565b60086000876000015160028111156129fe576129fd614b37565b5b6002811115612a1057612a0f614b37565b5b81526020019081526020016000206003015485612a2d9190615835565b91506008600087600001516002811115612a4a57612a49614b37565b5b6002811115612a5c57612a5b614b37565b5b81526020019081526020016000206003015485612a799190615804565b90505b816008600088600001516002811115612a9857612a97614b37565b5b6002811115612aaa57612aa9614b37565b5b815260200190815260200160002060000154612ac69190614bf5565b93506009600087600001516002811115612ae357612ae2614b37565b5b6002811115612af557612af4614b37565b5b81526020019081526020016000208281548110612b1557612b14614b08565b5b9060005260206000200154816008600089600001516002811115612b3c57612b3b614b37565b5b6002811115612b4e57612b4d614b37565b5b815260200190815260200160002060010154612b6a9190614bf5565b612b749190614bf5565b925050509250929050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b612cbe612cb761303d565b83836135ec565b5050565b612cdc828260405180602001604052806000815250613758565b5050565b612cf1612ceb61303d565b836130fe565b612d30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d2790615560565b60405180910390fd5b612d3c848484846137b3565b50505050565b60606000825103612d6457604051806020016040528060008152509050612eb5565b6000604051806060016040528060408152602001615cc16040913990506000600360028551612d939190614bf5565b612d9d9190615835565b6004612da99190614e6d565b90506000602082612dba9190614bf5565b67ffffffffffffffff811115612dd357612dd2614534565b5b6040519080825280601f01601f191660200182016040528015612e055781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015612e74576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825360018201915050612e19565b600389510660018114612e8e5760028114612e9e57612ea9565b613d3d60f01b6002830352612ea9565b603d60f81b60018303525b50505050508093505050505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff16612edc83612b7f565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614158015612f76575060008173ffffffffffffffffffffffffffffffffffffffff163b115b15613039578073ffffffffffffffffffffffffffffffffffffffff1663c617113430846040518363ffffffff1660e01b8152600401612fb6929190615866565b602060405180830381865afa158015612fd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ff791906158a4565b61303857816040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161302f91906140f6565b60405180910390fd5b5b5050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166130b883611147565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061310a83611147565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061314c575061314b8185612081565b5b8061318a57508373ffffffffffffffffffffffffffffffffffffffff16613172846106c3565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166131b382611147565b73ffffffffffffffffffffffffffffffffffffffff1614613209576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161320090615943565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603613278576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161326f906159d5565b60405180910390fd5b613285838383600161380f565b8273ffffffffffffffffffffffffffffffffffffffff166132a582611147565b73ffffffffffffffffffffffffffffffffffffffff16146132fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132f290615943565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46134878383836001613935565b505050565b6060600082036134d3576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506135e7565b600082905060005b600082146135055780806134ee90614cfe565b915050600a826134fe9190615835565b91506134db565b60008167ffffffffffffffff81111561352157613520614534565b5b6040519080825280601f01601f1916602001820160405280156135535781602001600182028036833780820191505090505b5090505b600085146135e05760018261356c9190614c4b565b9150600a8561357b9190615804565b60306135879190614bf5565b60f81b81838151811061359d5761359c614b08565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856135d99190615835565b9450613557565b8093505050505b919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361365a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161365190615a41565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161374b9190613f7c565b60405180910390a3505050565b613762838361393b565b61376f6000848484613b58565b6137ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137a590615ad3565b60405180910390fd5b505050565b6137be848484613193565b6137ca84848484613b58565b613809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161380090615ad3565b60405180910390fd5b50505050565b600181111561392f57600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146138a35780600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461389b9190614c4b565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461392e5780600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546139269190614bf5565b925050819055505b5b50505050565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036139aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139a190615b3f565b60405180910390fd5b6139b381612eba565b156139f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139ea90615bab565b60405180910390fd5b613a0160008383600161380f565b613a0a81612eba565b15613a4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a4190615bab565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613b54600083836001613935565b5050565b6000613b798473ffffffffffffffffffffffffffffffffffffffff16613cdf565b15613cd2578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613ba261303d565b8786866040518563ffffffff1660e01b8152600401613bc49493929190615bcb565b6020604051808303816000875af1925050508015613c0057506040513d601f19601f82011682018060405250810190613bfd9190615c2c565b60015b613c82573d8060008114613c30576040519150601f19603f3d011682016040523d82523d6000602084013e613c35565b606091505b506000815103613c7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c7190615ad3565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613cd7565b600190505b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054613d0e90614993565b90600052602060002090601f016020900481019282613d305760008555613d77565b82601f10613d4957803560ff1916838001178555613d77565b82800160010185558215613d77579182015b82811115613d76578235825591602001919060010190613d5b565b5b509050613d849190613eab565b5090565b828054613d9490614993565b90600052602060002090601f016020900481019282613db65760008555613dfd565b82601f10613dcf57803560ff1916838001178555613dfd565b82800160010185558215613dfd579182015b82811115613dfc578235825591602001919060010190613de1565b5b509050613e0a9190613eab565b5090565b6040518060e0016040528060006002811115613e2d57613e2c614b37565b5b815260200160006001811115613e4657613e45614b37565b5b815260200160006001811115613e5f57613e5e614b37565b5b8152602001600060ff168152602001600060ff16815260200160007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681526020016000151581525090565b5b80821115613ec4576000816000905550600101613eac565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613f1181613edc565b8114613f1c57600080fd5b50565b600081359050613f2e81613f08565b92915050565b600060208284031215613f4a57613f49613ed2565b5b6000613f5884828501613f1f565b91505092915050565b60008115159050919050565b613f7681613f61565b82525050565b6000602082019050613f916000830184613f6d565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613fd1578082015181840152602081019050613fb6565b83811115613fe0576000848401525b50505050565b6000601f19601f8301169050919050565b600061400282613f97565b61400c8185613fa2565b935061401c818560208601613fb3565b61402581613fe6565b840191505092915050565b6000602082019050818103600083015261404a8184613ff7565b905092915050565b6000819050919050565b61406581614052565b811461407057600080fd5b50565b6000813590506140828161405c565b92915050565b60006020828403121561409e5761409d613ed2565b5b60006140ac84828501614073565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006140e0826140b5565b9050919050565b6140f0816140d5565b82525050565b600060208201905061410b60008301846140e7565b92915050565b61411a816140d5565b811461412557600080fd5b50565b60008135905061413781614111565b92915050565b6000806040838503121561415457614153613ed2565b5b600061416285828601614128565b925050602061417385828601614073565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f8401126141a2576141a161417d565b5b8235905067ffffffffffffffff8111156141bf576141be614182565b5b6020830191508360018202830111156141db576141da614187565b5b9250929050565b6000806000604084860312156141fb576141fa613ed2565b5b600061420986828701614073565b935050602084013567ffffffffffffffff81111561422a57614229613ed7565b5b6142368682870161418c565b92509250509250925092565b60008060006060848603121561425b5761425a613ed2565b5b600061426986828701614128565b935050602061427a86828701614128565b925050604061428b86828701614073565b9150509250925092565b60008083601f8401126142ab576142aa61417d565b5b8235905067ffffffffffffffff8111156142c8576142c7614182565b5b6020830191508360018202830111156142e4576142e3614187565b5b9250929050565b60008060006040848603121561430457614303613ed2565b5b600061431286828701614073565b935050602084013567ffffffffffffffff81111561433357614332613ed7565b5b61433f86828701614295565b92509250509250925092565b60006020828403121561436157614360613ed2565b5b600061436f84828501614128565b91505092915050565b61438181614052565b82525050565b600060208201905061439c6000830184614378565b92915050565b6143ab81613f61565b81146143b657600080fd5b50565b6000813590506143c8816143a2565b92915050565b600080604083850312156143e5576143e4613ed2565b5b60006143f385828601614128565b9250506020614404858286016143b9565b9150509250929050565b6000819050919050565b600061443361442e614429846140b5565b61440e565b6140b5565b9050919050565b600061444582614418565b9050919050565b60006144578261443a565b9050919050565b6144678161444c565b82525050565b6000602082019050614482600083018461445e565b92915050565b600080600080600080608087890312156144a5576144a4613ed2565b5b60006144b389828a01614128565b96505060206144c489828a01614073565b955050604087013567ffffffffffffffff8111156144e5576144e4613ed7565b5b6144f189828a01614295565b9450945050606087013567ffffffffffffffff81111561451457614513613ed7565b5b61452089828a0161418c565b92509250509295509295509295565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61456c82613fe6565b810181811067ffffffffffffffff8211171561458b5761458a614534565b5b80604052505050565b600061459e613ec8565b90506145aa8282614563565b919050565b600067ffffffffffffffff8211156145ca576145c9614534565b5b6145d382613fe6565b9050602081019050919050565b82818337600083830152505050565b60006146026145fd846145af565b614594565b90508281526020810184848401111561461e5761461d61452f565b5b6146298482856145e0565b509392505050565b600082601f8301126146465761464561417d565b5b81356146568482602086016145ef565b91505092915050565b6000806000806080858703121561467957614678613ed2565b5b600061468787828801614128565b945050602061469887828801614128565b93505060406146a987828801614073565b925050606085013567ffffffffffffffff8111156146ca576146c9613ed7565b5b6146d687828801614631565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000614709826146e2565b61471381856146ed565b9350614723818560208601613fb3565b61472c81613fe6565b840191505092915050565b6000602082019050818103600083015261475181846146fe565b905092915050565b600080604083850312156147705761476f613ed2565b5b600061477e85828601614128565b925050602061478f85828601614128565b9150509250929050565b60008083601f8401126147af576147ae61417d565b5b8235905067ffffffffffffffff8111156147cc576147cb614182565b5b6020830191508360208202830111156147e8576147e7614187565b5b9250929050565b60008083601f8401126148055761480461417d565b5b8235905067ffffffffffffffff81111561482257614821614182565b5b60208301915083602082028301111561483e5761483d614187565b5b9250929050565b60008083601f84011261485b5761485a61417d565b5b8235905067ffffffffffffffff81111561487857614877614182565b5b60208301915083602082028301111561489457614893614187565b5b9250929050565b60008060008060008060006080888a0312156148ba576148b9613ed2565b5b60006148c88a828b01614128565b975050602088013567ffffffffffffffff8111156148e9576148e8613ed7565b5b6148f58a828b01614799565b9650965050604088013567ffffffffffffffff81111561491857614917613ed7565b5b6149248a828b016147ef565b9450945050606088013567ffffffffffffffff81111561494757614946613ed7565b5b6149538a828b01614845565b925092505092959891949750929550565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806149ab57607f821691505b6020821081036149be576149bd614964565b5b50919050565b7f416c6c206d65646961206973206c6f636b656400000000000000000000000000600082015250565b60006149fa601383613fa2565b9150614a05826149c4565b602082019050919050565b60006020820190508181036000830152614a29816149ed565b9050919050565b7f466c61677320696465786573207374617274732066726f6d2031000000000000600082015250565b6000614a66601a83613fa2565b9150614a7182614a30565b602082019050919050565b60006020820190508181036000830152614a9581614a59565b9050919050565b7f546865726520617265206f6e6c792031393520666c6167730000000000000000600082015250565b6000614ad2601883613fa2565b9150614add82614a9c565b602082019050919050565b60006020820190508181036000830152614b0181614ac5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600081905092915050565b6000614b7c82613f97565b614b868185614b66565b9350614b96818560208601613fb3565b80840191505092915050565b6000614bae8285614b71565b9150614bba8284614b71565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614c0082614052565b9150614c0b83614052565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614c4057614c3f614bc6565b5b828201905092915050565b6000614c5682614052565b9150614c6183614052565b925082821015614c7457614c73614bc6565b5b828203905092915050565b600060ff82169050919050565b6000614c9782614c7f565b9150614ca283614c7f565b92508160ff0483118215151615614cbc57614cbb614bc6565b5b828202905092915050565b6000614cd282614c7f565b9150614cdd83614c7f565b92508260ff03821115614cf357614cf2614bc6565b5b828201905092915050565b6000614d0982614052565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614d3b57614d3a614bc6565b5b600182019050919050565b6000614d5182614c7f565b915060ff8203614d6457614d63614bc6565b5b600182019050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000614da5601883613fa2565b9150614db082614d6f565b602082019050919050565b60006020820190508181036000830152614dd481614d98565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000614e37602983613fa2565b9150614e4282614ddb565b604082019050919050565b60006020820190508181036000830152614e6681614e2a565b9050919050565b6000614e7882614052565b9150614e8383614052565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614ebc57614ebb614bc6565b5b828202905092915050565b7f7b00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614efd600183614b66565b9150614f0882614ec7565b600182019050919050565b7f226e616d65223a20220000000000000000000000000000000000000000000000600082015250565b6000614f49600983614b66565b9150614f5482614f13565b600982019050919050565b60008190508160005260206000209050919050565b60008154614f8181614993565b614f8b8186614b66565b94506001821660008114614fa65760018114614fb757614fea565b60ff19831686528186019350614fea565b614fc085614f5f565b60005b83811015614fe257815481890152600182019150602081019050614fc3565b838801955050505b50505092915050565b7f222c000000000000000000000000000000000000000000000000000000000000600082015250565b6000615029600283614b66565b915061503482614ff3565b600282019050919050565b7f22696d6167655f64617461223a20220000000000000000000000000000000000600082015250565b6000615075600f83614b66565b91506150808261503f565b600f82019050919050565b7f2200000000000000000000000000000000000000000000000000000000000000600082015250565b60006150c1600183614b66565b91506150cc8261508b565b600182019050919050565b7f7d00000000000000000000000000000000000000000000000000000000000000600082015250565b600061510d600183614b66565b9150615118826150d7565b600182019050919050565b600061512e82614ef0565b915061513982614f3c565b91506151458285614f74565b91506151508261501c565b915061515b82615068565b91506151678284614b71565b9150615172826150b4565b915061517d82615100565b91508190509392505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b60006151bf601d83614b66565b91506151ca82615189565b601d82019050919050565b60006151e0826151b2565b91506151ec8284614b71565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615253602683613fa2565b915061525e826151f7565b604082019050919050565b6000602082019050818103600083015261528281615246565b9050919050565b600080fd5b600080fd5b600080fd5b600080833560016020038436030381126152b5576152b4615289565b5b80840192508235915067ffffffffffffffff8211156152d7576152d661528e565b5b6020830192506001820236038313156152f3576152f2615293565b5b509250929050565b6000808335600160200384360303811261531857615317615289565b5b80840192508235915067ffffffffffffffff82111561533a5761533961528e565b5b60208301925060018202360383131561535657615355615293565b5b509250929050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006153ba602183613fa2565b91506153c58261535e565b604082019050919050565b600060208201905081810360008301526153e9816153ad565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b600061544c603d83613fa2565b9150615457826153f0565b604082019050919050565b6000602082019050818103600083015261547b8161543f565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006154b8602083613fa2565b91506154c382615482565b602082019050919050565b600060208201905081810360008301526154e7816154ab565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b600061554a602d83613fa2565b9150615555826154ee565b604082019050919050565b600060208201905081810360008301526155798161553d565b9050919050565b7f3c7265637420783d270000000000000000000000000000000000000000000000600082015250565b60006155b6600983614b66565b91506155c182615580565b600982019050919050565b7f2720793d27000000000000000000000000000000000000000000000000000000600082015250565b6000615602600583614b66565b915061560d826155cc565b600582019050919050565b7f272077696474683d270000000000000000000000000000000000000000000000600082015250565b600061564e600983614b66565b915061565982615618565b600982019050919050565b7f27206865696768743d2700000000000000000000000000000000000000000000600082015250565b600061569a600a83614b66565b91506156a582615664565b600a82019050919050565b7f272066696c6c3d27230000000000000000000000000000000000000000000000600082015250565b60006156e6600983614b66565b91506156f1826156b0565b600982019050919050565b7f272f3e0000000000000000000000000000000000000000000000000000000000600082015250565b6000615732600383614b66565b915061573d826156fc565b600382019050919050565b6000615753826155a9565b915061575f8288614b71565b915061576a826155f5565b91506157768287614b71565b915061578182615641565b915061578d8286614b71565b91506157988261568d565b91506157a48285614b71565b91506157af826156d9565b91506157bb8284614b71565b91506157c682615725565b91508190509695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061580f82614052565b915061581a83614052565b92508261582a576158296157d5565b5b828206905092915050565b600061584082614052565b915061584b83614052565b92508261585b5761585a6157d5565b5b828204905092915050565b600060408201905061587b60008301856140e7565b61588860208301846140e7565b9392505050565b60008151905061589e816143a2565b92915050565b6000602082840312156158ba576158b9613ed2565b5b60006158c88482850161588f565b91505092915050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061592d602583613fa2565b9150615938826158d1565b604082019050919050565b6000602082019050818103600083015261595c81615920565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006159bf602483613fa2565b91506159ca82615963565b604082019050919050565b600060208201905081810360008301526159ee816159b2565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615a2b601983613fa2565b9150615a36826159f5565b602082019050919050565b60006020820190508181036000830152615a5a81615a1e565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615abd603283613fa2565b9150615ac882615a61565b604082019050919050565b60006020820190508181036000830152615aec81615ab0565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615b29602083613fa2565b9150615b3482615af3565b602082019050919050565b60006020820190508181036000830152615b5881615b1c565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615b95601c83613fa2565b9150615ba082615b5f565b602082019050919050565b60006020820190508181036000830152615bc481615b88565b9050919050565b6000608082019050615be060008301876140e7565b615bed60208301866140e7565b615bfa6040830185614378565b8181036060830152615c0c81846146fe565b905095945050505050565b600081519050615c2681613f08565b92915050565b600060208284031215615c4257615c41613ed2565b5b6000615c5084828501615c17565b9150509291505056fe3c73766720786d6c6e733d27687474703a2f2f7777772e77332e6f72672f323030302f737667272076657273696f6e3d27312e32272076696577426f783d27302030203332203332272073686170652d72656e646572696e673d2763726973704564676573273e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220e6045e73e2156f486d20ea31f0a9b5864321da7b11373f504b2fbeb198c29faf64736f6c634300080d0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101c45760003560e01c8063729a00b0116100f9578063b8d1e53211610097578063e985e9c511610071578063e985e9c5146104c9578063ecba222a146104f9578063f2fde38b14610517578063fbbc4f1314610533576101c4565b8063b8d1e5321461044d578063bae41be014610469578063c87b56dd14610499576101c4565b8063a22cb465116100d3578063a22cb465146103db578063b0ccc31e146103f7578063b55bc61714610415578063b88d4fde14610431576101c4565b8063729a00b0146103815780638da5cb5b1461039f57806395d89b41146103bd576101c4565b806342842e0e116101665780635ef9432a116101405780635ef9432a1461030d5780636352211e1461031757806370a0823114610347578063715018a614610377576101c4565b806342842e0e146102a55780634acfc636146102c157806353e76f2c146102f1576101c4565b8063095ea7b3116101a2578063095ea7b3146102475780630a2485c51461026357806312d355111461027f57806323b872dd14610289576101c4565b806301ffc9a7146101c957806306fdde03146101f9578063081812fc14610217575b600080fd5b6101e360048036038101906101de9190613f34565b61054f565b6040516101f09190613f7c565b60405180910390f35b610201610631565b60405161020e9190614030565b60405180910390f35b610231600480360381019061022c9190614088565b6106c3565b60405161023e91906140f6565b60405180910390f35b610261600480360381019061025c919061413d565b610709565b005b61027d600480360381019061027891906141e2565b610722565b005b610287610831565b005b6102a3600480360381019061029e9190614242565b610856565b005b6102bf60048036038101906102ba9190614242565b6108a5565b005b6102db60048036038101906102d69190614088565b6108f4565b6040516102e89190614030565b60405180910390f35b61030b600480360381019061030691906142eb565b610f26565b005b610315611035565b005b610331600480360381019061032c9190614088565b611147565b60405161033e91906140f6565b60405180910390f35b610361600480360381019061035c919061434b565b6111cd565b60405161036e9190614387565b60405180910390f35b61037f611284565b005b610389611298565b6040516103969190613f7c565b60405180910390f35b6103a76112af565b6040516103b491906140f6565b60405180910390f35b6103c56112be565b6040516103d29190614030565b60405180910390f35b6103f560048036038101906103f091906143ce565b611350565b005b6103ff611369565b60405161040c919061446d565b60405180910390f35b61042f600480360381019061042a9190614488565b61138f565b005b61044b6004803603810190610446919061465f565b611478565b005b6104676004803603810190610462919061434b565b6114c9565b005b610483600480360381019061047e9190614088565b6115c0565b6040516104909190614737565b60405180910390f35b6104b360048036038101906104ae9190614088565b611f86565b6040516104c09190614030565b60405180910390f35b6104e360048036038101906104de9190614759565b612081565b6040516104f09190613f7c565b60405180910390f35b610501612115565b60405161050e9190613f7c565b60405180910390f35b610531600480360381019061052c919061434b565b612128565b005b61054d6004803603810190610548919061489b565b6121ab565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061061a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061062a57506106298261224b565b5b9050919050565b60606000805461064090614993565b80601f016020809104026020016040519081016040528092919081815260200182805461066c90614993565b80156106b95780601f1061068e576101008083540402835291602001916106b9565b820191906000526020600020905b81548152906001019060200180831161069c57829003601f168201915b5050505050905090565b60006106ce826122b5565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b8161071381612300565b61071d8383612363565b505050565b61072a61247a565b60001515600e60009054906101000a900460ff16151514610780576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077790614a10565b60405180910390fd5b82600081036107c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107bb90614a7c565b60405180910390fd5b60c3811115610808576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ff90614ae8565b60405180910390fd5b8282600c6000878152602001908152602001600020919061082a929190613d02565b5050505050565b61083961247a565b6001600e60006101000a81548160ff021916908315150217905550565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146108945761089333612300565b5b61089f8484846124f8565b50505050565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146108e3576108e233612300565b5b6108ee848484612558565b50505050565b6060816000810361093a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093190614a7c565b60405180910390fd5b60c381111561097e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097590614ae8565b60405180910390fd5b6000600c6000858152602001908152602001600020805461099e90614993565b80601f01602080910402602001604051908101604052809291908181526020018280546109ca90614993565b8015610a175780601f106109ec57610100808354040283529160200191610a17565b820191906000526020600020905b8154815290600101906020018083116109fa57829003601f168201915b505050505090506000610a4782600081518110610a3757610a36614b08565b5b602001015160f81c60f81b612578565b90506040518060a0016040528060678152602001615c5a60679139935083610abc600080602080600a600088602001516001811115610a8957610a88614b37565b5b6001811115610a9b57610a9a614b37565b5b815260200190815260200160002060009054906101000a900460e81b612723565b604051602001610acd929190614ba2565b604051602081830303815290604052935083610c126008600084600001516002811115610afd57610afc614b37565b5b6002811115610b0f57610b0e614b37565b5b81526020019081526020016000206000015460016008600086600001516002811115610b3e57610b3d614b37565b5b6002811115610b5057610b4f614b37565b5b815260200190815260200160002060010154610b6c9190614bf5565b6001806008600088600001516002811115610b8a57610b89614b37565b5b6002811115610b9c57610b9b614b37565b5b815260200190815260200160002060010154610bb89190614bf5565b6020610bc49190614c4b565b600b600088604001516001811115610bdf57610bde614b37565b5b6001811115610bf157610bf0614b37565b5b815260200190815260200160002060009054906101000a900460e81b612723565b604051602001610c23929190614ba2565b604051602081830303815290604052935060008060009050600060038460600151610c4e9190614c8c565b6001610c5a9190614cc7565b90505b84518160ff161015610ec25760006003856080015160ff16878460ff1681518110610c8b57610c8a614b08565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916901c60f81c610cc79190614c8c565b6001610cd39190614cc7565b9050601086600283610ce59190614cc7565b60ff1681518110610cf957610cf8614b08565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167cffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916901c600887600184610d589190614cc7565b60ff1681518110610d6c57610d6b614b08565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167cffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916901c878360ff1681518110610dd157610dd0614b08565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161717935060005b60018660a00151888560ff1681518110610e2257610e21614b08565b5b602001015160f81c60f81b1660f81c610e3b9190614cc7565b60ff168160ff161015610ead57600080610e558887612936565b915091508580610e6490614cfe565b9650508a610e7683836001808c612723565b604051602001610e87929190614ba2565b6040516020818303038152906040529a5050508080610ea590614d46565b915050610e05565b50508080610eba90614d46565b915050610c5d565b50856040518060400160405280600681526020017f3c2f7376673e0000000000000000000000000000000000000000000000000000815250604051602001610f0b929190614ba2565b60405160208183030381529060405295505050505050919050565b610f2e61247a565b60001515600e60009054906101000a900460ff16151514610f84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7b90614a10565b60405180910390fd5b8260008103610fc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbf90614a7c565b60405180910390fd5b60c381111561100c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100390614ae8565b60405180910390fd5b8282600d6000878152602001908152602001600020919061102e929190613d88565b5050505050565b61103d6112af565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146110a1576040517f5fc483c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600760149054906101000a900460ff16156110e8576040517f2aa3491e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600760146101000a81548160ff021916908315150217905550565b60008061115383612b7f565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036111c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111bb90614dbb565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361123d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123490614e4d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61128c61247a565b6112966000612bbc565b565b6000600e60009054906101000a900460ff16905090565b60006112b9612c82565b905090565b6060600180546112cd90614993565b80601f01602080910402602001604051908101604052809291908181526020018280546112f990614993565b80156113465780601f1061131b57610100808354040283529160200191611346565b820191906000526020600020905b81548152906001019060200180831161132957829003601f168201915b5050505050905090565b8161135a81612300565b6113648383612cac565b505050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61139761247a565b84600081036113db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d290614a7c565b60405180910390fd5b60c381111561141f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141690614ae8565b60405180910390fd5b8282600c60008981526020019081526020016000209190611441929190613d02565b508484600d60008981526020019081526020016000209190611464929190613d88565b5061146f8787612cc2565b50505050505050565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146114b6576114b533612300565b5b6114c285858585612ce0565b5050505050565b6114d16112af565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611535576040517f5fc483c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600760149054906101000a900460ff161561157c576040517f2aa3491e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60608160008103611606576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fd90614a7c565b60405180910390fd5b60c381111561164a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164190614ae8565b60405180910390fd5b6000600c6000858152602001908152602001600020805461166a90614993565b80601f016020809104026020016040519081016040528092919081815260200182805461169690614993565b80156116e35780601f106116b8576101008083540402835291602001916116e3565b820191906000526020600020905b8154815290600101906020018083116116c657829003601f168201915b5050505050905060006117138260008151811061170357611702614b08565b5b602001015160f81c60f81b612578565b9050610c0067ffffffffffffffff81111561173157611730614534565b5b6040519080825280601f01601f1916602001820160405280156117635781602001600182028036833780820191505090505b50935060005b6104008110156119a857600a60008360200151600181111561178e5761178d614b37565b5b60018111156117a05761179f614b37565b5b815260200190815260200160002060009054906101000a900460e81b6000600381106117cf576117ce614b08565b5b1a60f81b856003836117e19190614e6d565b815181106117f2576117f1614b08565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a60008360200151600181111561183c5761183b614b37565b5b600181111561184e5761184d614b37565b5b815260200190815260200160002060009054906101000a900460e81b60016003811061187d5761187c614b08565b5b1a60f81b8560016003846118919190614e6d565b61189b9190614bf5565b815181106118ac576118ab614b08565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a6000836020015160018111156118f6576118f5614b37565b5b600181111561190857611907614b37565b5b815260200190815260200160002060009054906101000a900460e81b60026003811061193757611936614b08565b5b1a60f81b85600260038461194b9190614e6d565b6119559190614bf5565b8151811061196657611965614b08565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535080806119a090614cfe565b915050611769565b50600060086000836000015160028111156119c6576119c5614b37565b5b60028111156119d8576119d7614b37565b5b8152602001908152602001600020600301546008600084600001516002811115611a0557611a04614b37565b5b6002811115611a1757611a16614b37565b5b815260200190815260200160002060010154611a339190614bf5565b90505b6020811015611ccf5760006008600084600001516002811115611a5c57611a5b614b37565b5b6002811115611a6e57611a6d614b37565b5b815260200190815260200160002060000154602083611a8d9190614e6d565b611a979190614bf5565b9050600b600084604001516001811115611ab457611ab3614b37565b5b6001811115611ac657611ac5614b37565b5b815260200190815260200160002060009054906101000a900460e81b600060038110611af557611af4614b08565b5b1a60f81b86600383611b079190614e6d565b81518110611b1857611b17614b08565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600b600084604001516001811115611b6257611b61614b37565b5b6001811115611b7457611b73614b37565b5b815260200190815260200160002060009054906101000a900460e81b600160038110611ba357611ba2614b08565b5b1a60f81b866001600384611bb79190614e6d565b611bc19190614bf5565b81518110611bd257611bd1614b08565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600b600084604001516001811115611c1c57611c1b614b37565b5b6001811115611c2e57611c2d614b37565b5b815260200190815260200160002060009054906101000a900460e81b600260038110611c5d57611c5c614b08565b5b1a60f81b866002600384611c719190614e6d565b611c7b9190614bf5565b81518110611c8c57611c8b614b08565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350508080611cc790614cfe565b915050611a36565b5060008060038360600151611ce49190614c8c565b6001611cf09190614cc7565b90505b83518160ff161015611f7c5760006003846080015160ff16868460ff1681518110611d2157611d20614b08565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916901c60f81c611d5d9190614c8c565b6001611d699190614cc7565b905060005b60018560a00151878560ff1681518110611d8b57611d8a614b08565b5b602001015160f81c60f81b1660f81c611da49190614cc7565b60ff168160ff161015611f6757600080611dbe8787612936565b915091508580611dcd90614cfe565b9650506000600383602084611de29190614e6d565b611dec9190614bf5565b611df69190614e6d565b9050888560ff1681518110611e0e57611e0d614b08565b5b602001015160f81c60f81b8b8281518110611e2c57611e2b614b08565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535088600186611e699190614cc7565b60ff1681518110611e7d57611e7c614b08565b5b602001015160f81c60f81b8b600183611e969190614bf5565b81518110611ea757611ea6614b08565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535088600286611ee49190614cc7565b60ff1681518110611ef857611ef7614b08565b5b602001015160f81c60f81b8b600283611f119190614bf5565b81518110611f2257611f21614b08565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505050508080611f5f90614d46565b915050611d6e565b50508080611f7490614d46565b915050611cf3565b5050505050919050565b60608160008103611fcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc390614a7c565b60405180910390fd5b60c3811115612010576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200790614ae8565b60405180910390fd5b6000612056600d6000868152602001908152602001600020612031866108f4565b604051602001612042929190615123565b604051602081830303815290604052612d42565b90508060405160200161206991906151d5565b60405160208183030381529060405292505050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600760149054906101000a900460ff1681565b61213061247a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361219f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219690615269565b60405180910390fd5b6121a881612bbc565b50565b6121b361247a565b60005b868690508110156122415761222e888888848181106121d8576121d7614b08565b5b905060200201358787858181106121f2576121f1614b08565b5b90506020028101906122049190615298565b87878781811061221757612216614b08565b5b905060200281019061222991906152fb565b61138f565b808061223990614cfe565b9150506121b6565b5050505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6122be81612eba565b6122fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f490614dbb565b60405180910390fd5b50565b600073ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146123605761235f81612efb565b5b50565b600061236e82611147565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036123de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d5906153d0565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166123fd61303d565b73ffffffffffffffffffffffffffffffffffffffff16148061242c575061242b8161242661303d565b612081565b5b61246b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246290615462565b60405180910390fd5b6124758383613045565b505050565b61248261303d565b73ffffffffffffffffffffffffffffffffffffffff166124a06112af565b73ffffffffffffffffffffffffffffffffffffffff16146124f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ed906154ce565b60405180910390fd5b565b61250961250361303d565b826130fe565b612548576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253f90615560565b60405180910390fd5b612553838383613193565b505050565b61257383838360405180602001604052806000815250611478565b505050565b612580613e0e565b60008260f81c90506000600360068360ff16901c169050600080600160058560ff16901c1660ff161490506000600160048560ff16901c1690506000600160038660ff16901c16905060006001600787166125db9190614cc7565b9050600060028260ff1611156126065760048260ff1611156125fe576005612601565b60065b612609565b60075b9050600060028360ff16111561263a5760048360ff16111561262f57601f60f81b612635565b603f60f81b5b612640565b607f60f81b5b90506040518060e001604052808860ff16600281111561266357612662614b37565b5b600281111561267557612674614b37565b5b81526020018660ff1660018111156126905761268f614b37565b5b60018111156126a2576126a1614b37565b5b81526020018560ff1660018111156126bd576126bc614b37565b5b60018111156126cf576126ce614b37565b5b81526020018460ff1681526020018360ff168152602001827effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200187151581525098505050505050505050919050565b60606000600667ffffffffffffffff81111561274257612741614534565b5b6040519080825280601f01601f1916602001820160405280156127745781602001600182028036833780820191505090505b50905060005b60038110156128e157600084826003811061279857612797614b08565b5b1a60f81b60f81c90507f3031323334353637383961626364656600000000000000000000000000000000600f821660ff16601081106127da576127d9614b08565b5b1a60f81b8360016002856127ee9190614e6d565b6127f89190614bf5565b8151811061280957612808614b08565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060048160ff16901c90507f3031323334353637383961626364656600000000000000000000000000000000600f821660ff166010811061287b5761287a614b08565b5b1a60f81b8360028461288d9190614e6d565b8151811061289e5761289d614b08565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505080806128d990614cfe565b91505061277a565b506128eb8761348c565b6128f48761348c565b6128fd8761348c565b6129068761348c565b8460405160200161291b959493929190615748565b60405160208183030381529060405291505095945050505050565b6000806000808560c00151156129e357600860008760000151600281111561296157612960614b37565b5b600281111561297357612972614b37565b5b815260200190815260200160002060020154856129909190615804565b915060086000876000015160028111156129ad576129ac614b37565b5b60028111156129bf576129be614b37565b5b815260200190815260200160002060020154856129dc9190615835565b9050612a7c565b60086000876000015160028111156129fe576129fd614b37565b5b6002811115612a1057612a0f614b37565b5b81526020019081526020016000206003015485612a2d9190615835565b91506008600087600001516002811115612a4a57612a49614b37565b5b6002811115612a5c57612a5b614b37565b5b81526020019081526020016000206003015485612a799190615804565b90505b816008600088600001516002811115612a9857612a97614b37565b5b6002811115612aaa57612aa9614b37565b5b815260200190815260200160002060000154612ac69190614bf5565b93506009600087600001516002811115612ae357612ae2614b37565b5b6002811115612af557612af4614b37565b5b81526020019081526020016000208281548110612b1557612b14614b08565b5b9060005260206000200154816008600089600001516002811115612b3c57612b3b614b37565b5b6002811115612b4e57612b4d614b37565b5b815260200190815260200160002060010154612b6a9190614bf5565b612b749190614bf5565b925050509250929050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b612cbe612cb761303d565b83836135ec565b5050565b612cdc828260405180602001604052806000815250613758565b5050565b612cf1612ceb61303d565b836130fe565b612d30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d2790615560565b60405180910390fd5b612d3c848484846137b3565b50505050565b60606000825103612d6457604051806020016040528060008152509050612eb5565b6000604051806060016040528060408152602001615cc16040913990506000600360028551612d939190614bf5565b612d9d9190615835565b6004612da99190614e6d565b90506000602082612dba9190614bf5565b67ffffffffffffffff811115612dd357612dd2614534565b5b6040519080825280601f01601f191660200182016040528015612e055781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015612e74576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825360018201915050612e19565b600389510660018114612e8e5760028114612e9e57612ea9565b613d3d60f01b6002830352612ea9565b603d60f81b60018303525b50505050508093505050505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff16612edc83612b7f565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614158015612f76575060008173ffffffffffffffffffffffffffffffffffffffff163b115b15613039578073ffffffffffffffffffffffffffffffffffffffff1663c617113430846040518363ffffffff1660e01b8152600401612fb6929190615866565b602060405180830381865afa158015612fd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ff791906158a4565b61303857816040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161302f91906140f6565b60405180910390fd5b5b5050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166130b883611147565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061310a83611147565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061314c575061314b8185612081565b5b8061318a57508373ffffffffffffffffffffffffffffffffffffffff16613172846106c3565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166131b382611147565b73ffffffffffffffffffffffffffffffffffffffff1614613209576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161320090615943565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603613278576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161326f906159d5565b60405180910390fd5b613285838383600161380f565b8273ffffffffffffffffffffffffffffffffffffffff166132a582611147565b73ffffffffffffffffffffffffffffffffffffffff16146132fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132f290615943565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46134878383836001613935565b505050565b6060600082036134d3576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506135e7565b600082905060005b600082146135055780806134ee90614cfe565b915050600a826134fe9190615835565b91506134db565b60008167ffffffffffffffff81111561352157613520614534565b5b6040519080825280601f01601f1916602001820160405280156135535781602001600182028036833780820191505090505b5090505b600085146135e05760018261356c9190614c4b565b9150600a8561357b9190615804565b60306135879190614bf5565b60f81b81838151811061359d5761359c614b08565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856135d99190615835565b9450613557565b8093505050505b919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361365a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161365190615a41565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161374b9190613f7c565b60405180910390a3505050565b613762838361393b565b61376f6000848484613b58565b6137ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137a590615ad3565b60405180910390fd5b505050565b6137be848484613193565b6137ca84848484613b58565b613809576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161380090615ad3565b60405180910390fd5b50505050565b600181111561392f57600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146138a35780600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461389b9190614c4b565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461392e5780600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546139269190614bf5565b925050819055505b5b50505050565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036139aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139a190615b3f565b60405180910390fd5b6139b381612eba565b156139f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139ea90615bab565b60405180910390fd5b613a0160008383600161380f565b613a0a81612eba565b15613a4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a4190615bab565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613b54600083836001613935565b5050565b6000613b798473ffffffffffffffffffffffffffffffffffffffff16613cdf565b15613cd2578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613ba261303d565b8786866040518563ffffffff1660e01b8152600401613bc49493929190615bcb565b6020604051808303816000875af1925050508015613c0057506040513d601f19601f82011682018060405250810190613bfd9190615c2c565b60015b613c82573d8060008114613c30576040519150601f19603f3d011682016040523d82523d6000602084013e613c35565b606091505b506000815103613c7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c7190615ad3565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613cd7565b600190505b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054613d0e90614993565b90600052602060002090601f016020900481019282613d305760008555613d77565b82601f10613d4957803560ff1916838001178555613d77565b82800160010185558215613d77579182015b82811115613d76578235825591602001919060010190613d5b565b5b509050613d849190613eab565b5090565b828054613d9490614993565b90600052602060002090601f016020900481019282613db65760008555613dfd565b82601f10613dcf57803560ff1916838001178555613dfd565b82800160010185558215613dfd579182015b82811115613dfc578235825591602001919060010190613de1565b5b509050613e0a9190613eab565b5090565b6040518060e0016040528060006002811115613e2d57613e2c614b37565b5b815260200160006001811115613e4657613e45614b37565b5b815260200160006001811115613e5f57613e5e614b37565b5b8152602001600060ff168152602001600060ff16815260200160007effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681526020016000151581525090565b5b80821115613ec4576000816000905550600101613eac565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613f1181613edc565b8114613f1c57600080fd5b50565b600081359050613f2e81613f08565b92915050565b600060208284031215613f4a57613f49613ed2565b5b6000613f5884828501613f1f565b91505092915050565b60008115159050919050565b613f7681613f61565b82525050565b6000602082019050613f916000830184613f6d565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613fd1578082015181840152602081019050613fb6565b83811115613fe0576000848401525b50505050565b6000601f19601f8301169050919050565b600061400282613f97565b61400c8185613fa2565b935061401c818560208601613fb3565b61402581613fe6565b840191505092915050565b6000602082019050818103600083015261404a8184613ff7565b905092915050565b6000819050919050565b61406581614052565b811461407057600080fd5b50565b6000813590506140828161405c565b92915050565b60006020828403121561409e5761409d613ed2565b5b60006140ac84828501614073565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006140e0826140b5565b9050919050565b6140f0816140d5565b82525050565b600060208201905061410b60008301846140e7565b92915050565b61411a816140d5565b811461412557600080fd5b50565b60008135905061413781614111565b92915050565b6000806040838503121561415457614153613ed2565b5b600061416285828601614128565b925050602061417385828601614073565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f8401126141a2576141a161417d565b5b8235905067ffffffffffffffff8111156141bf576141be614182565b5b6020830191508360018202830111156141db576141da614187565b5b9250929050565b6000806000604084860312156141fb576141fa613ed2565b5b600061420986828701614073565b935050602084013567ffffffffffffffff81111561422a57614229613ed7565b5b6142368682870161418c565b92509250509250925092565b60008060006060848603121561425b5761425a613ed2565b5b600061426986828701614128565b935050602061427a86828701614128565b925050604061428b86828701614073565b9150509250925092565b60008083601f8401126142ab576142aa61417d565b5b8235905067ffffffffffffffff8111156142c8576142c7614182565b5b6020830191508360018202830111156142e4576142e3614187565b5b9250929050565b60008060006040848603121561430457614303613ed2565b5b600061431286828701614073565b935050602084013567ffffffffffffffff81111561433357614332613ed7565b5b61433f86828701614295565b92509250509250925092565b60006020828403121561436157614360613ed2565b5b600061436f84828501614128565b91505092915050565b61438181614052565b82525050565b600060208201905061439c6000830184614378565b92915050565b6143ab81613f61565b81146143b657600080fd5b50565b6000813590506143c8816143a2565b92915050565b600080604083850312156143e5576143e4613ed2565b5b60006143f385828601614128565b9250506020614404858286016143b9565b9150509250929050565b6000819050919050565b600061443361442e614429846140b5565b61440e565b6140b5565b9050919050565b600061444582614418565b9050919050565b60006144578261443a565b9050919050565b6144678161444c565b82525050565b6000602082019050614482600083018461445e565b92915050565b600080600080600080608087890312156144a5576144a4613ed2565b5b60006144b389828a01614128565b96505060206144c489828a01614073565b955050604087013567ffffffffffffffff8111156144e5576144e4613ed7565b5b6144f189828a01614295565b9450945050606087013567ffffffffffffffff81111561451457614513613ed7565b5b61452089828a0161418c565b92509250509295509295509295565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61456c82613fe6565b810181811067ffffffffffffffff8211171561458b5761458a614534565b5b80604052505050565b600061459e613ec8565b90506145aa8282614563565b919050565b600067ffffffffffffffff8211156145ca576145c9614534565b5b6145d382613fe6565b9050602081019050919050565b82818337600083830152505050565b60006146026145fd846145af565b614594565b90508281526020810184848401111561461e5761461d61452f565b5b6146298482856145e0565b509392505050565b600082601f8301126146465761464561417d565b5b81356146568482602086016145ef565b91505092915050565b6000806000806080858703121561467957614678613ed2565b5b600061468787828801614128565b945050602061469887828801614128565b93505060406146a987828801614073565b925050606085013567ffffffffffffffff8111156146ca576146c9613ed7565b5b6146d687828801614631565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000614709826146e2565b61471381856146ed565b9350614723818560208601613fb3565b61472c81613fe6565b840191505092915050565b6000602082019050818103600083015261475181846146fe565b905092915050565b600080604083850312156147705761476f613ed2565b5b600061477e85828601614128565b925050602061478f85828601614128565b9150509250929050565b60008083601f8401126147af576147ae61417d565b5b8235905067ffffffffffffffff8111156147cc576147cb614182565b5b6020830191508360208202830111156147e8576147e7614187565b5b9250929050565b60008083601f8401126148055761480461417d565b5b8235905067ffffffffffffffff81111561482257614821614182565b5b60208301915083602082028301111561483e5761483d614187565b5b9250929050565b60008083601f84011261485b5761485a61417d565b5b8235905067ffffffffffffffff81111561487857614877614182565b5b60208301915083602082028301111561489457614893614187565b5b9250929050565b60008060008060008060006080888a0312156148ba576148b9613ed2565b5b60006148c88a828b01614128565b975050602088013567ffffffffffffffff8111156148e9576148e8613ed7565b5b6148f58a828b01614799565b9650965050604088013567ffffffffffffffff81111561491857614917613ed7565b5b6149248a828b016147ef565b9450945050606088013567ffffffffffffffff81111561494757614946613ed7565b5b6149538a828b01614845565b925092505092959891949750929550565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806149ab57607f821691505b6020821081036149be576149bd614964565b5b50919050565b7f416c6c206d65646961206973206c6f636b656400000000000000000000000000600082015250565b60006149fa601383613fa2565b9150614a05826149c4565b602082019050919050565b60006020820190508181036000830152614a29816149ed565b9050919050565b7f466c61677320696465786573207374617274732066726f6d2031000000000000600082015250565b6000614a66601a83613fa2565b9150614a7182614a30565b602082019050919050565b60006020820190508181036000830152614a9581614a59565b9050919050565b7f546865726520617265206f6e6c792031393520666c6167730000000000000000600082015250565b6000614ad2601883613fa2565b9150614add82614a9c565b602082019050919050565b60006020820190508181036000830152614b0181614ac5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600081905092915050565b6000614b7c82613f97565b614b868185614b66565b9350614b96818560208601613fb3565b80840191505092915050565b6000614bae8285614b71565b9150614bba8284614b71565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614c0082614052565b9150614c0b83614052565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614c4057614c3f614bc6565b5b828201905092915050565b6000614c5682614052565b9150614c6183614052565b925082821015614c7457614c73614bc6565b5b828203905092915050565b600060ff82169050919050565b6000614c9782614c7f565b9150614ca283614c7f565b92508160ff0483118215151615614cbc57614cbb614bc6565b5b828202905092915050565b6000614cd282614c7f565b9150614cdd83614c7f565b92508260ff03821115614cf357614cf2614bc6565b5b828201905092915050565b6000614d0982614052565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614d3b57614d3a614bc6565b5b600182019050919050565b6000614d5182614c7f565b915060ff8203614d6457614d63614bc6565b5b600182019050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000614da5601883613fa2565b9150614db082614d6f565b602082019050919050565b60006020820190508181036000830152614dd481614d98565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000614e37602983613fa2565b9150614e4282614ddb565b604082019050919050565b60006020820190508181036000830152614e6681614e2a565b9050919050565b6000614e7882614052565b9150614e8383614052565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614ebc57614ebb614bc6565b5b828202905092915050565b7f7b00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614efd600183614b66565b9150614f0882614ec7565b600182019050919050565b7f226e616d65223a20220000000000000000000000000000000000000000000000600082015250565b6000614f49600983614b66565b9150614f5482614f13565b600982019050919050565b60008190508160005260206000209050919050565b60008154614f8181614993565b614f8b8186614b66565b94506001821660008114614fa65760018114614fb757614fea565b60ff19831686528186019350614fea565b614fc085614f5f565b60005b83811015614fe257815481890152600182019150602081019050614fc3565b838801955050505b50505092915050565b7f222c000000000000000000000000000000000000000000000000000000000000600082015250565b6000615029600283614b66565b915061503482614ff3565b600282019050919050565b7f22696d6167655f64617461223a20220000000000000000000000000000000000600082015250565b6000615075600f83614b66565b91506150808261503f565b600f82019050919050565b7f2200000000000000000000000000000000000000000000000000000000000000600082015250565b60006150c1600183614b66565b91506150cc8261508b565b600182019050919050565b7f7d00000000000000000000000000000000000000000000000000000000000000600082015250565b600061510d600183614b66565b9150615118826150d7565b600182019050919050565b600061512e82614ef0565b915061513982614f3c565b91506151458285614f74565b91506151508261501c565b915061515b82615068565b91506151678284614b71565b9150615172826150b4565b915061517d82615100565b91508190509392505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b60006151bf601d83614b66565b91506151ca82615189565b601d82019050919050565b60006151e0826151b2565b91506151ec8284614b71565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615253602683613fa2565b915061525e826151f7565b604082019050919050565b6000602082019050818103600083015261528281615246565b9050919050565b600080fd5b600080fd5b600080fd5b600080833560016020038436030381126152b5576152b4615289565b5b80840192508235915067ffffffffffffffff8211156152d7576152d661528e565b5b6020830192506001820236038313156152f3576152f2615293565b5b509250929050565b6000808335600160200384360303811261531857615317615289565b5b80840192508235915067ffffffffffffffff82111561533a5761533961528e565b5b60208301925060018202360383131561535657615355615293565b5b509250929050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006153ba602183613fa2565b91506153c58261535e565b604082019050919050565b600060208201905081810360008301526153e9816153ad565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b600061544c603d83613fa2565b9150615457826153f0565b604082019050919050565b6000602082019050818103600083015261547b8161543f565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006154b8602083613fa2565b91506154c382615482565b602082019050919050565b600060208201905081810360008301526154e7816154ab565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b600061554a602d83613fa2565b9150615555826154ee565b604082019050919050565b600060208201905081810360008301526155798161553d565b9050919050565b7f3c7265637420783d270000000000000000000000000000000000000000000000600082015250565b60006155b6600983614b66565b91506155c182615580565b600982019050919050565b7f2720793d27000000000000000000000000000000000000000000000000000000600082015250565b6000615602600583614b66565b915061560d826155cc565b600582019050919050565b7f272077696474683d270000000000000000000000000000000000000000000000600082015250565b600061564e600983614b66565b915061565982615618565b600982019050919050565b7f27206865696768743d2700000000000000000000000000000000000000000000600082015250565b600061569a600a83614b66565b91506156a582615664565b600a82019050919050565b7f272066696c6c3d27230000000000000000000000000000000000000000000000600082015250565b60006156e6600983614b66565b91506156f1826156b0565b600982019050919050565b7f272f3e0000000000000000000000000000000000000000000000000000000000600082015250565b6000615732600383614b66565b915061573d826156fc565b600382019050919050565b6000615753826155a9565b915061575f8288614b71565b915061576a826155f5565b91506157768287614b71565b915061578182615641565b915061578d8286614b71565b91506157988261568d565b91506157a48285614b71565b91506157af826156d9565b91506157bb8284614b71565b91506157c682615725565b91508190509695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061580f82614052565b915061581a83614052565b92508261582a576158296157d5565b5b828206905092915050565b600061584082614052565b915061584b83614052565b92508261585b5761585a6157d5565b5b828204905092915050565b600060408201905061587b60008301856140e7565b61588860208301846140e7565b9392505050565b60008151905061589e816143a2565b92915050565b6000602082840312156158ba576158b9613ed2565b5b60006158c88482850161588f565b91505092915050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061592d602583613fa2565b9150615938826158d1565b604082019050919050565b6000602082019050818103600083015261595c81615920565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006159bf602483613fa2565b91506159ca82615963565b604082019050919050565b600060208201905081810360008301526159ee816159b2565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615a2b601983613fa2565b9150615a36826159f5565b602082019050919050565b60006020820190508181036000830152615a5a81615a1e565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615abd603283613fa2565b9150615ac882615a61565b604082019050919050565b60006020820190508181036000830152615aec81615ab0565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615b29602083613fa2565b9150615b3482615af3565b602082019050919050565b60006020820190508181036000830152615b5881615b1c565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615b95601c83613fa2565b9150615ba082615b5f565b602082019050919050565b60006020820190508181036000830152615bc481615b88565b9050919050565b6000608082019050615be060008301876140e7565b615bed60208301866140e7565b615bfa6040830185614378565b8181036060830152615c0c81846146fe565b905095945050505050565b600081519050615c2681613f08565b92915050565b600060208284031215615c4257615c41613ed2565b5b6000615c5084828501615c17565b9150509291505056fe3c73766720786d6c6e733d27687474703a2f2f7777772e77332e6f72672f323030302f737667272076657273696f6e3d27312e32272076696577426f783d27302030203332203332272073686170652d72656e646572696e673d2763726973704564676573273e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220e6045e73e2156f486d20ea31f0a9b5864321da7b11373f504b2fbeb198c29faf64736f6c634300080d0033

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.