ETH Price: $2,393.16 (+0.16%)

Jellies (Jellies)
 

Overview

TokenID

1

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
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:
Jellies

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : Jellies.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "@manifoldxyz/libraries-solidity/contracts/access/AdminControl.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/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 Jellies is Context, ERC165, IERC721, IERC721Metadata, AdminControl {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    uint256 private _royaltyBps;
    address payable private _royaltyRecipient;
    bytes4 private constant _INTERFACE_ID_ROYALTIES_CREATORCORE = 0xbb3bafd6;
    bytes4 private constant _INTERFACE_ID_ROYALTIES_EIP2981 = 0x2a55205a;
    bytes4 private constant _INTERFACE_ID_ROYALTIES_RARIBLE = 0xb7799584;

    string public _tokenURI;
    string public _singleTokenURI;
    string public _ghostTokenURI;
    bool public _hasMinted;

    bool public _hasUnbound;
    bool public _hasRespawned;

    uint public _lockedTime;

    address public _marketplace;

    // 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() {
        _name = "Jellies";
        _symbol = "Jellies";
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(AdminControl, ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            AdminControl.supportsInterface(interfaceId) ||
            interfaceId == _INTERFACE_ID_ROYALTIES_CREATORCORE ||
            interfaceId == _INTERFACE_ID_ROYALTIES_EIP2981 ||
            interfaceId == _INTERFACE_ID_ROYALTIES_RARIBLE ||
            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);

        // Will always be the third, since it's after the burn.
        if (tokenId == 3) {
            return _ghostTokenURI;
        }

        // If tokenId is 4, we can assume there is new token minted.
        if (tokenId == 4) {
            return _tokenURI;
        }

        // If has already unbound, then single, otherwise double.
        return (_hasUnbound && !_hasRespawned) ? _singleTokenURI : _tokenURI;
    }

    function setMarketplace(address marketplace) public adminRequired {
        _marketplace = marketplace;
    }

    // 2 jellies
    function setInitialTokenURI(string memory newURI) public adminRequired {
        _tokenURI = newURI;
    }

    // 1 jelly
    function setSplitTokenURI(string memory newURI) public adminRequired {
        _singleTokenURI = newURI;
    }

    // ghost jelly
    function setGhostURI(string memory newURI) public adminRequired {
        _ghostTokenURI = newURI;
    }

    function mint() public adminRequired {
        require(_marketplace != address(0), "Must set marketplace first");
        require(!_hasMinted, "Can't mint twice");
        _hasMinted = true;
        _mint(msg.sender, 1);
    }

    function createNew(address receiver) public {
        require(!_hasRespawned && _hasUnbound, "Can't create new");
        require(msg.sender == _ownerOf(1) || msg.sender == _ownerOf(2), "Not owner");
        _mint(receiver, 4);
        _hasRespawned = true;
    }

    /**
     * @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 = 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 = 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 = ownerOf(tokenId);

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

        // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook
        owner = 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(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(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(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
    ) internal virtual {
        if (
            _lockedTime != 0 &&
            _lockedTime < block.timestamp &&
            !_hasUnbound
        ) {
            if (to != address(0) && from != address(0)) {
                _hasUnbound = true;
                _lockedTime = 0;
                // Burn the token
                _burn(firstTokenId);
                // Mint them the ghost token
                _mint(from, 3);
            }
        }
        if (from == address(_marketplace) && !_exists(2) && to != address(0)) {
            _lockedTime = block.timestamp + 86400;
            // Mint the paired token
            _mint(address(to), 2);
        }
    }

    /**
     * ROYALTY FUNCTIONS
     */
    function updateRoyalties(address payable recipient, uint256 bps) external adminRequired {
        _royaltyRecipient = recipient;
        _royaltyBps = bps;
    }

    function getRoyalties(uint256) external view returns (address payable[] memory recipients, uint256[] memory bps) {
        if (_royaltyRecipient != address(0x0)) {
            recipients = new address payable[](1);
            recipients[0] = _royaltyRecipient;
            bps = new uint256[](1);
            bps[0] = _royaltyBps;
        }
        return (recipients, bps);
    }

    function getFeeRecipients(uint256) external view returns (address payable[] memory recipients) {
        if (_royaltyRecipient != address(0x0)) {
            recipients = new address payable[](1);
            recipients[0] = _royaltyRecipient;
        }
        return recipients;
    }

    function getFeeBps(uint256) external view returns (uint[] memory bps) {
        if (_royaltyRecipient != address(0x0)) {
            bps = new uint256[](1);
            bps[0] = _royaltyBps;
        }
        return bps;
    }

    function royaltyInfo(uint256, uint256 value) external view returns (address, uint256) {
        return (_royaltyRecipient, value*_royaltyBps/10000);
    }
}

File 2 of 14 : 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 3 of 14 : 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 4 of 14 : 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 5 of 14 : 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 6 of 14 : 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 7 of 14 : 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 8 of 14 : 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 9 of 14 : AdminControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/// @author: manifold.xyz

import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./IAdminControl.sol";

abstract contract AdminControl is Ownable, IAdminControl, ERC165 {
    using EnumerableSet for EnumerableSet.AddressSet;

    // Track registered admins
    EnumerableSet.AddressSet private _admins;

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

    /**
     * @dev Only allows approved admins to call the specified function
     */
    modifier adminRequired() {
        require(owner() == msg.sender || _admins.contains(msg.sender), "AdminControl: Must be owner or admin");
        _;
    }   

    /**
     * @dev See {IAdminControl-getAdmins}.
     */
    function getAdmins() external view override returns (address[] memory admins) {
        admins = new address[](_admins.length());
        for (uint i = 0; i < _admins.length(); i++) {
            admins[i] = _admins.at(i);
        }
        return admins;
    }

    /**
     * @dev See {IAdminControl-approveAdmin}.
     */
    function approveAdmin(address admin) external override onlyOwner {
        if (!_admins.contains(admin)) {
            emit AdminApproved(admin, msg.sender);
            _admins.add(admin);
        }
    }

    /**
     * @dev See {IAdminControl-revokeAdmin}.
     */
    function revokeAdmin(address admin) external override onlyOwner {
        if (_admins.contains(admin)) {
            emit AdminRevoked(admin, msg.sender);
            _admins.remove(admin);
        }
    }

    /**
     * @dev See {IAdminControl-isAdmin}.
     */
    function isAdmin(address admin) public override view returns (bool) {
        return (owner() == admin || _admins.contains(admin));
    }

}

File 10 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 11 of 14 : 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);
        }
    }
}

File 12 of 14 : IAdminControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/// @author: manifold.xyz

import "@openzeppelin/contracts/utils/introspection/IERC165.sol";

/**
 * @dev Interface for admin control
 */
interface IAdminControl is IERC165 {

    event AdminApproved(address indexed account, address indexed sender);
    event AdminRevoked(address indexed account, address indexed sender);

    /**
     * @dev gets address of all admins
     */
    function getAdmins() external view returns (address[] memory);

    /**
     * @dev add an admin.  Can only be called by contract owner.
     */
    function approveAdmin(address admin) external;

    /**
     * @dev remove an admin.  Can only be called by contract owner.
     */
    function revokeAdmin(address admin) external;

    /**
     * @dev checks whether or not given address is an admin
     * Returns True if they are
     */
    function isAdmin(address admin) external view returns (bool);

}

File 13 of 14 : 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 14 of 14 : EnumerableSet.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableSet.sol)
// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 *
 * [WARNING]
 * ====
 * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure
 * unusable.
 * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
 *
 * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an
 * array of EnumerableSet.
 * ====
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastValue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastValue;
                // Update the index for the moved value
                set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        bytes32[] memory store = _values(set._inner);
        bytes32[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }
}

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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"AdminApproved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"AdminRevoked","type":"event"},{"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":[],"name":"_ghostTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_hasMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_hasRespawned","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_hasUnbound","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_lockedTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketplace","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_singleTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"admin","type":"address"}],"name":"approveAdmin","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":"receiver","type":"address"}],"name":"createNew","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAdmins","outputs":[{"internalType":"address[]","name":"admins","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getFeeBps","outputs":[{"internalType":"uint256[]","name":"bps","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getFeeRecipients","outputs":[{"internalType":"address payable[]","name":"recipients","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getRoyalties","outputs":[{"internalType":"address payable[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"bps","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"admin","type":"address"}],"name":"isAdmin","outputs":[{"internalType":"bool","name":"","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":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"admin","type":"address"}],"name":"revokeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"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":"string","name":"newURI","type":"string"}],"name":"setGhostURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"}],"name":"setInitialTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"marketplace","type":"address"}],"name":"setMarketplace","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"}],"name":"setSplitTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"uint256","name":"bps","type":"uint256"}],"name":"updateRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506200003262000026620000c660201b60201c565b620000ce60201b60201c565b6040518060400160405280600781526020017f4a656c6c69657300000000000000000000000000000000000000000000000000815250600390816200007891906200040c565b506040518060400160405280600781526020017f4a656c6c6965730000000000000000000000000000000000000000000000000081525060049081620000bf91906200040c565b50620004f3565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200021457607f821691505b6020821081036200022a5762000229620001cc565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620002947fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000255565b620002a0868362000255565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620002ed620002e7620002e184620002b8565b620002c2565b620002b8565b9050919050565b6000819050919050565b6200030983620002cc565b620003216200031882620002f4565b84845462000262565b825550505050565b600090565b6200033862000329565b62000345818484620002fe565b505050565b5b818110156200036d57620003616000826200032e565b6001810190506200034b565b5050565b601f821115620003bc57620003868162000230565b620003918462000245565b81016020851015620003a1578190505b620003b9620003b08562000245565b8301826200034a565b50505b505050565b600082821c905092915050565b6000620003e160001984600802620003c1565b1980831691505092915050565b6000620003fc8383620003ce565b9150826002028217905092915050565b620004178262000192565b67ffffffffffffffff8111156200043357620004326200019d565b5b6200043f8254620001fb565b6200044c82828562000371565b600060209050601f8311600181146200048457600084156200046f578287015190505b6200047b8582620003ee565b865550620004eb565b601f198416620004948662000230565b60005b82811015620004be5784890151825560018201915060208501945060208101905062000497565b86831015620004de5784890151620004da601f891682620003ce565b8355505b6001600288020188555050505b505050505050565b614c9e80620005036000396000f3fe608060405234801561001057600080fd5b506004361061023d5760003560e01c80636ac33e701161013b578063a22cb465116100b8578063bb3bafd61161007c578063bb3bafd61461068d578063be546221146106be578063c87b56dd146106dc578063e985e9c51461070c578063f2fde38b1461073c5761023d565b8063a22cb465146105e9578063b4ce37d214610605578063b88d4fde14610623578063b8d39d5b1461063f578063b9c4d9fb1461065d5761023d565b806373ad6c2d116100ff57806373ad6c2d146105575780638da5cb5b14610573578063925e54fc1461059157806395d89b41146105af578063973a592a146105cd5761023d565b80636ac33e70146104c95780636c2f5acd146104e55780636d73e6691461050157806370a082311461051d578063715018a61461054d5761023d565b80632a821a94116101c95780635b9c857a1161018d5780635b9c857a146104235780635bdc8335146104415780635de5fe3b1461045f5780636352211e1461047d57806363be8fc8146104ad5761023d565b80632a821a94146103935780632d345670146103af57806331ae450b146103cb57806342842e0e146103e957806349a165e4146104055761023d565b80630ebd4c7f116102105780630ebd4c7f146102dc5780631249c58b1461030c57806323b872dd1461031657806324d7806c146103325780632a55205a146103625761023d565b806301ffc9a71461024257806306fdde0314610272578063081812fc14610290578063095ea7b3146102c0575b600080fd5b61025c600480360381019061025791906133e4565b610758565b604051610269919061342c565b60405180910390f35b61027a610937565b60405161028791906134d7565b60405180910390f35b6102aa60048036038101906102a5919061352f565b6109c9565b6040516102b7919061359d565b60405180910390f35b6102da60048036038101906102d591906135e4565b610a0f565b005b6102f660048036038101906102f1919061352f565b610b26565b60405161030391906136e2565b60405180910390f35b610314610bf3565b005b610330600480360381019061032b9190613704565b610d8c565b005b61034c60048036038101906103479190613757565b610dec565b604051610359919061342c565b60405180910390f35b61037c60048036038101906103779190613784565b610e46565b60405161038a9291906137d3565b60405180910390f35b6103ad60048036038101906103a89190613931565b610e92565b005b6103c960048036038101906103c49190613757565b610f35565b005b6103d3610fc9565b6040516103e09190613a38565b60405180910390f35b61040360048036038101906103fe9190613704565b6110ab565b005b61040d6110cb565b60405161041a919061342c565b60405180910390f35b61042b6110de565b604051610438919061342c565b60405180910390f35b6104496110f1565b60405161045691906134d7565b60405180910390f35b61046761117f565b6040516104749190613a5a565b60405180910390f35b6104976004803603810190610492919061352f565b611185565b6040516104a4919061359d565b60405180910390f35b6104c760048036038101906104c29190613757565b61120b565b005b6104e360048036038101906104de9190613931565b611352565b005b6104ff60048036038101906104fa9190613ab3565b6113f5565b005b61051b60048036038101906105169190613757565b6114d1565b005b61053760048036038101906105329190613757565b611564565b6040516105449190613a5a565b60405180910390f35b61055561161b565b005b610571600480360381019061056c9190613757565b61162f565b005b61057b611703565b604051610588919061359d565b60405180910390f35b61059961172c565b6040516105a691906134d7565b60405180910390f35b6105b76117ba565b6040516105c491906134d7565b60405180910390f35b6105e760048036038101906105e29190613931565b61184c565b005b61060360048036038101906105fe9190613b1f565b6118ef565b005b61060d611905565b60405161061a91906134d7565b60405180910390f35b61063d60048036038101906106389190613c00565b611993565b005b6106476119f5565b604051610654919061342c565b60405180910390f35b6106776004803603810190610672919061352f565b611a08565b6040516106849190613d41565b60405180910390f35b6106a760048036038101906106a2919061352f565b611b23565b6040516106b5929190613d63565b60405180910390f35b6106c6611cae565b6040516106d3919061359d565b60405180910390f35b6106f660048036038101906106f1919061352f565b611cd4565b60405161070391906134d7565b60405180910390f35b61072660048036038101906107219190613d9a565b611edb565b604051610733919061342c565b60405180910390f35b61075660048036038101906107519190613757565b611f6f565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061082357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610833575061083282611ff2565b5b80610882575063bb3bafd660e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108d15750632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610920575063b779958460e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610930575061092f82611ff2565b5b9050919050565b60606003805461094690613e09565b80601f016020809104026020016040519081016040528092919081815260200182805461097290613e09565b80156109bf5780601f10610994576101008083540402835291602001916109bf565b820191906000526020600020905b8154815290600101906020018083116109a257829003601f168201915b5050505050905090565b60006109d48261206c565b600f600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a1a82611185565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610a8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8190613eac565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610aa96120b7565b73ffffffffffffffffffffffffffffffffffffffff161480610ad85750610ad781610ad26120b7565b611edb565b5b610b17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0e90613f3e565b60405180910390fd5b610b2183836120bf565b505050565b6060600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610bee57600167ffffffffffffffff811115610b9957610b98613806565b5b604051908082528060200260200182016040528015610bc75781602001602082028036833780820191505090505b50905060055481600081518110610be157610be0613f5e565b5b6020026020010181815250505b919050565b3373ffffffffffffffffffffffffffffffffffffffff16610c12611703565b73ffffffffffffffffffffffffffffffffffffffff161480610c445750610c4333600161217890919063ffffffff16565b5b610c83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7a90613fff565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610d14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0b9061406b565b60405180910390fd5b600a60009054906101000a900460ff1615610d64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5b906140d7565b60405180910390fd5b6001600a60006101000a81548160ff021916908315150217905550610d8a3360016121a8565b565b610d9d610d976120b7565b826123c5565b610ddc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd390614169565b60405180910390fd5b610de783838361245a565b505050565b60008173ffffffffffffffffffffffffffffffffffffffff16610e0d611703565b73ffffffffffffffffffffffffffffffffffffffff161480610e3f5750610e3e82600161217890919063ffffffff16565b5b9050919050565b600080600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661271060055485610e7d91906141b8565b610e879190614229565b915091509250929050565b3373ffffffffffffffffffffffffffffffffffffffff16610eb1611703565b73ffffffffffffffffffffffffffffffffffffffff161480610ee35750610ee233600161217890919063ffffffff16565b5b610f22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1990613fff565b60405180910390fd5b8060079081610f319190614406565b5050565b610f3d612753565b610f5181600161217890919063ffffffff16565b15610fc6573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f7c0c3c84c67c85fcac635147348bfe374c24a1a93d0366d1cfe9d8853cbf89d560405160405180910390a3610fc48160016127d190919063ffffffff16565b505b50565b6060610fd56001612801565b67ffffffffffffffff811115610fee57610fed613806565b5b60405190808252806020026020018201604052801561101c5781602001602082028036833780820191505090505b50905060005b61102c6001612801565b8110156110a75761104781600161281690919063ffffffff16565b82828151811061105a57611059613f5e565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050808061109f906144d8565b915050611022565b5090565b6110c683838360405180602001604052806000815250611993565b505050565b600a60009054906101000a900460ff1681565b600a60029054906101000a900460ff1681565b600980546110fe90613e09565b80601f016020809104026020016040519081016040528092919081815260200182805461112a90613e09565b80156111775780601f1061114c57610100808354040283529160200191611177565b820191906000526020600020905b81548152906001019060200180831161115a57829003601f168201915b505050505081565b600b5481565b60008061119183612830565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611202576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f99061456c565b60405180910390fd5b80915050919050565b600a60029054906101000a900460ff161580156112345750600a60019054906101000a900460ff165b611273576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126a906145d8565b60405180910390fd5b61127d6001612830565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806112ea57506112bb6002612830565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611329576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132090614644565b60405180910390fd5b6113348160046121a8565b6001600a60026101000a81548160ff02191690831515021790555050565b3373ffffffffffffffffffffffffffffffffffffffff16611371611703565b73ffffffffffffffffffffffffffffffffffffffff1614806113a357506113a233600161217890919063ffffffff16565b5b6113e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d990613fff565b60405180910390fd5b80600890816113f19190614406565b5050565b3373ffffffffffffffffffffffffffffffffffffffff16611414611703565b73ffffffffffffffffffffffffffffffffffffffff161480611446575061144533600161217890919063ffffffff16565b5b611485576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147c90613fff565b60405180910390fd5b81600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550806005819055505050565b6114d9612753565b6114ed81600161217890919063ffffffff16565b611561573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f7e1a1a08d52e4ba0e21554733d66165fd5151f99460116223d9e3a608eec5cb160405160405180910390a361155f81600161286d90919063ffffffff16565b505b50565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036115d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cb906146d6565b60405180910390fd5b600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611623612753565b61162d600061289d565b565b3373ffffffffffffffffffffffffffffffffffffffff1661164e611703565b73ffffffffffffffffffffffffffffffffffffffff161480611680575061167f33600161217890919063ffffffff16565b5b6116bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b690613fff565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6008805461173990613e09565b80601f016020809104026020016040519081016040528092919081815260200182805461176590613e09565b80156117b25780601f10611787576101008083540402835291602001916117b2565b820191906000526020600020905b81548152906001019060200180831161179557829003601f168201915b505050505081565b6060600480546117c990613e09565b80601f01602080910402602001604051908101604052809291908181526020018280546117f590613e09565b80156118425780601f1061181757610100808354040283529160200191611842565b820191906000526020600020905b81548152906001019060200180831161182557829003601f168201915b5050505050905090565b3373ffffffffffffffffffffffffffffffffffffffff1661186b611703565b73ffffffffffffffffffffffffffffffffffffffff16148061189d575061189c33600161217890919063ffffffff16565b5b6118dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d390613fff565b60405180910390fd5b80600990816118eb9190614406565b5050565b6119016118fa6120b7565b8383612961565b5050565b6007805461191290613e09565b80601f016020809104026020016040519081016040528092919081815260200182805461193e90613e09565b801561198b5780601f106119605761010080835404028352916020019161198b565b820191906000526020600020905b81548152906001019060200180831161196e57829003601f168201915b505050505081565b6119a461199e6120b7565b836123c5565b6119e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119da90614169565b60405180910390fd5b6119ef84848484612acd565b50505050565b600a60019054906101000a900460ff1681565b6060600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611b1e57600167ffffffffffffffff811115611a7b57611a7a613806565b5b604051908082528060200260200182016040528015611aa95781602001602082028036833780820191505090505b509050600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681600081518110611ae357611ae2613f5e565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250505b919050565b606080600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611ca957600167ffffffffffffffff811115611b9757611b96613806565b5b604051908082528060200260200182016040528015611bc55781602001602082028036833780820191505090505b509150600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600081518110611bff57611bfe613f5e565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600167ffffffffffffffff811115611c5457611c53613806565b5b604051908082528060200260200182016040528015611c825781602001602082028036833780820191505090505b50905060055481600081518110611c9c57611c9b613f5e565b5b6020026020010181815250505b915091565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060611cdf8261206c565b60038203611d795760098054611cf490613e09565b80601f0160208091040260200160405190810160405280929190818152602001828054611d2090613e09565b8015611d6d5780601f10611d4257610100808354040283529160200191611d6d565b820191906000526020600020905b815481529060010190602001808311611d5057829003601f168201915b50505050509050611ed6565b60048203611e135760078054611d8e90613e09565b80601f0160208091040260200160405190810160405280929190818152602001828054611dba90613e09565b8015611e075780601f10611ddc57610100808354040283529160200191611e07565b820191906000526020600020905b815481529060010190602001808311611dea57829003601f168201915b50505050509050611ed6565b600a60019054906101000a900460ff168015611e3c5750600a60029054906101000a900460ff16155b611e47576007611e4a565b60085b8054611e5590613e09565b80601f0160208091040260200160405190810160405280929190818152602001828054611e8190613e09565b8015611ece5780601f10611ea357610100808354040283529160200191611ece565b820191906000526020600020905b815481529060010190602001808311611eb157829003601f168201915b505050505090505b919050565b6000601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611f77612753565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611fe6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fdd90614768565b60405180910390fd5b611fef8161289d565b50565b60007f553e757e000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612065575061206482612b29565b5b9050919050565b61207581612b93565b6120b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ab9061456c565b60405180910390fd5b50565b600033905090565b81600f600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661213283611185565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006121a0836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612bd4565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612217576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220e906147d4565b60405180910390fd5b61222081612b93565b15612260576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225790614840565b60405180910390fd5b61226e600083836001612bf7565b61227781612b93565b156122b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ae90614840565b60405180910390fd5b6001600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555081600d600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123c1600083836001612d1d565b5050565b6000806123d183611185565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061241357506124128185611edb565b5b8061245157508373ffffffffffffffffffffffffffffffffffffffff16612439846109c9565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661247a82611185565b73ffffffffffffffffffffffffffffffffffffffff16146124d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c7906148d2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361253f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253690614964565b60405180910390fd5b61254c8383836001612bf7565b8273ffffffffffffffffffffffffffffffffffffffff1661256c82611185565b73ffffffffffffffffffffffffffffffffffffffff16146125c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b9906148d2565b60405180910390fd5b600f600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555081600d600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461274e8383836001612d1d565b505050565b61275b6120b7565b73ffffffffffffffffffffffffffffffffffffffff16612779611703565b73ffffffffffffffffffffffffffffffffffffffff16146127cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c6906149d0565b60405180910390fd5b565b60006127f9836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612ec0565b905092915050565b600061280f82600001612fd4565b9050919050565b60006128258360000183612fe5565b60001c905092915050565b6000600d600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000612895836000018373ffffffffffffffffffffffffffffffffffffffff1660001b613010565b905092915050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036129cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129c690614a3c565b60405180910390fd5b80601060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612ac0919061342c565b60405180910390a3505050565b612ad884848461245a565b612ae484848484613080565b612b23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b1a90614ace565b60405180910390fd5b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff16612bb583612830565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600080836001016000848152602001908152602001600020541415905092915050565b6001811115612d1757600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614612c8b5780600e60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c839190614aee565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612d165780600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d0e9190614b22565b925050819055505b5b50505050565b6000600b5414158015612d31575042600b54105b8015612d4a5750600a60019054906101000a900460ff16155b15612df757600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015612db95750600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b15612df6576001600a60016101000a81548160ff0219169083151502179055506000600b81905550612dea82613207565b612df58460036121a8565b5b5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148015612e5b5750612e596002612b93565b155b8015612e945750600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b15612eba576201518042612ea89190614b22565b600b81905550612eb98360026121a8565b5b50505050565b60008083600101600084815260200190815260200160002054905060008114612fc8576000600182612ef29190614aee565b9050600060018660000180549050612f0a9190614aee565b9050818114612f79576000866000018281548110612f2b57612f2a613f5e565b5b9060005260206000200154905080876000018481548110612f4f57612f4e613f5e565b5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b85600001805480612f8d57612f8c614b56565b5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050612fce565b60009150505b92915050565b600081600001805490509050919050565b6000826000018281548110612ffd57612ffc613f5e565b5b9060005260206000200154905092915050565b600061301c8383612bd4565b61307557826000018290806001815401808255809150506001900390600052602060002001600090919091909150558260000180549050836001016000848152602001908152602001600020819055506001905061307a565b600090505b92915050565b60006130a18473ffffffffffffffffffffffffffffffffffffffff16613355565b156131fa578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026130ca6120b7565b8786866040518563ffffffff1660e01b81526004016130ec9493929190614bda565b6020604051808303816000875af192505050801561312857506040513d601f19601f820116820180604052508101906131259190614c3b565b60015b6131aa573d8060008114613158576040519150601f19603f3d011682016040523d82523d6000602084013e61315d565b606091505b5060008151036131a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161319990614ace565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506131ff565b600190505b949350505050565b600061321282611185565b9050613222816000846001612bf7565b61322b82611185565b9050600f600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540392505081905550600d600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613351816000846001612d1d565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6133c18161338c565b81146133cc57600080fd5b50565b6000813590506133de816133b8565b92915050565b6000602082840312156133fa576133f9613382565b5b6000613408848285016133cf565b91505092915050565b60008115159050919050565b61342681613411565b82525050565b6000602082019050613441600083018461341d565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613481578082015181840152602081019050613466565b60008484015250505050565b6000601f19601f8301169050919050565b60006134a982613447565b6134b38185613452565b93506134c3818560208601613463565b6134cc8161348d565b840191505092915050565b600060208201905081810360008301526134f1818461349e565b905092915050565b6000819050919050565b61350c816134f9565b811461351757600080fd5b50565b60008135905061352981613503565b92915050565b60006020828403121561354557613544613382565b5b60006135538482850161351a565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006135878261355c565b9050919050565b6135978161357c565b82525050565b60006020820190506135b2600083018461358e565b92915050565b6135c18161357c565b81146135cc57600080fd5b50565b6000813590506135de816135b8565b92915050565b600080604083850312156135fb576135fa613382565b5b6000613609858286016135cf565b925050602061361a8582860161351a565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613659816134f9565b82525050565b600061366b8383613650565b60208301905092915050565b6000602082019050919050565b600061368f82613624565b613699818561362f565b93506136a483613640565b8060005b838110156136d55781516136bc888261365f565b97506136c783613677565b9250506001810190506136a8565b5085935050505092915050565b600060208201905081810360008301526136fc8184613684565b905092915050565b60008060006060848603121561371d5761371c613382565b5b600061372b868287016135cf565b935050602061373c868287016135cf565b925050604061374d8682870161351a565b9150509250925092565b60006020828403121561376d5761376c613382565b5b600061377b848285016135cf565b91505092915050565b6000806040838503121561379b5761379a613382565b5b60006137a98582860161351a565b92505060206137ba8582860161351a565b9150509250929050565b6137cd816134f9565b82525050565b60006040820190506137e8600083018561358e565b6137f560208301846137c4565b9392505050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61383e8261348d565b810181811067ffffffffffffffff8211171561385d5761385c613806565b5b80604052505050565b6000613870613378565b905061387c8282613835565b919050565b600067ffffffffffffffff82111561389c5761389b613806565b5b6138a58261348d565b9050602081019050919050565b82818337600083830152505050565b60006138d46138cf84613881565b613866565b9050828152602081018484840111156138f0576138ef613801565b5b6138fb8482856138b2565b509392505050565b600082601f830112613918576139176137fc565b5b81356139288482602086016138c1565b91505092915050565b60006020828403121561394757613946613382565b5b600082013567ffffffffffffffff81111561396557613964613387565b5b61397184828501613903565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6139af8161357c565b82525050565b60006139c183836139a6565b60208301905092915050565b6000602082019050919050565b60006139e58261397a565b6139ef8185613985565b93506139fa83613996565b8060005b83811015613a2b578151613a1288826139b5565b9750613a1d836139cd565b9250506001810190506139fe565b5085935050505092915050565b60006020820190508181036000830152613a5281846139da565b905092915050565b6000602082019050613a6f60008301846137c4565b92915050565b6000613a808261355c565b9050919050565b613a9081613a75565b8114613a9b57600080fd5b50565b600081359050613aad81613a87565b92915050565b60008060408385031215613aca57613ac9613382565b5b6000613ad885828601613a9e565b9250506020613ae98582860161351a565b9150509250929050565b613afc81613411565b8114613b0757600080fd5b50565b600081359050613b1981613af3565b92915050565b60008060408385031215613b3657613b35613382565b5b6000613b44858286016135cf565b9250506020613b5585828601613b0a565b9150509250929050565b600067ffffffffffffffff821115613b7a57613b79613806565b5b613b838261348d565b9050602081019050919050565b6000613ba3613b9e84613b5f565b613866565b905082815260208101848484011115613bbf57613bbe613801565b5b613bca8482856138b2565b509392505050565b600082601f830112613be757613be66137fc565b5b8135613bf7848260208601613b90565b91505092915050565b60008060008060808587031215613c1a57613c19613382565b5b6000613c28878288016135cf565b9450506020613c39878288016135cf565b9350506040613c4a8782880161351a565b925050606085013567ffffffffffffffff811115613c6b57613c6a613387565b5b613c7787828801613bd2565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613cb881613a75565b82525050565b6000613cca8383613caf565b60208301905092915050565b6000602082019050919050565b6000613cee82613c83565b613cf88185613c8e565b9350613d0383613c9f565b8060005b83811015613d34578151613d1b8882613cbe565b9750613d2683613cd6565b925050600181019050613d07565b5085935050505092915050565b60006020820190508181036000830152613d5b8184613ce3565b905092915050565b60006040820190508181036000830152613d7d8185613ce3565b90508181036020830152613d918184613684565b90509392505050565b60008060408385031215613db157613db0613382565b5b6000613dbf858286016135cf565b9250506020613dd0858286016135cf565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613e2157607f821691505b602082108103613e3457613e33613dda565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613e96602183613452565b9150613ea182613e3a565b604082019050919050565b60006020820190508181036000830152613ec581613e89565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b6000613f28603d83613452565b9150613f3382613ecc565b604082019050919050565b60006020820190508181036000830152613f5781613f1b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f41646d696e436f6e74726f6c3a204d757374206265206f776e6572206f72206160008201527f646d696e00000000000000000000000000000000000000000000000000000000602082015250565b6000613fe9602483613452565b9150613ff482613f8d565b604082019050919050565b6000602082019050818103600083015261401881613fdc565b9050919050565b7f4d75737420736574206d61726b6574706c616365206669727374000000000000600082015250565b6000614055601a83613452565b91506140608261401f565b602082019050919050565b6000602082019050818103600083015261408481614048565b9050919050565b7f43616e2774206d696e7420747769636500000000000000000000000000000000600082015250565b60006140c1601083613452565b91506140cc8261408b565b602082019050919050565b600060208201905081810360008301526140f0816140b4565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000614153602d83613452565b915061415e826140f7565b604082019050919050565b6000602082019050818103600083015261418281614146565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006141c3826134f9565b91506141ce836134f9565b92508282026141dc816134f9565b915082820484148315176141f3576141f2614189565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614234826134f9565b915061423f836134f9565b92508261424f5761424e6141fa565b5b828204905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026142bc7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261427f565b6142c6868361427f565b95508019841693508086168417925050509392505050565b6000819050919050565b60006143036142fe6142f9846134f9565b6142de565b6134f9565b9050919050565b6000819050919050565b61431d836142e8565b6143316143298261430a565b84845461428c565b825550505050565b600090565b614346614339565b614351818484614314565b505050565b5b818110156143755761436a60008261433e565b600181019050614357565b5050565b601f8211156143ba5761438b8161425a565b6143948461426f565b810160208510156143a3578190505b6143b76143af8561426f565b830182614356565b50505b505050565b600082821c905092915050565b60006143dd600019846008026143bf565b1980831691505092915050565b60006143f683836143cc565b9150826002028217905092915050565b61440f82613447565b67ffffffffffffffff81111561442857614427613806565b5b6144328254613e09565b61443d828285614379565b600060209050601f831160018114614470576000841561445e578287015190505b61446885826143ea565b8655506144d0565b601f19841661447e8661425a565b60005b828110156144a657848901518255600182019150602085019450602081019050614481565b868310156144c357848901516144bf601f8916826143cc565b8355505b6001600288020188555050505b505050505050565b60006144e3826134f9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361451557614514614189565b5b600182019050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000614556601883613452565b915061456182614520565b602082019050919050565b6000602082019050818103600083015261458581614549565b9050919050565b7f43616e277420637265617465206e657700000000000000000000000000000000600082015250565b60006145c2601083613452565b91506145cd8261458c565b602082019050919050565b600060208201905081810360008301526145f1816145b5565b9050919050565b7f4e6f74206f776e65720000000000000000000000000000000000000000000000600082015250565b600061462e600983613452565b9150614639826145f8565b602082019050919050565b6000602082019050818103600083015261465d81614621565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006146c0602983613452565b91506146cb82614664565b604082019050919050565b600060208201905081810360008301526146ef816146b3565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614752602683613452565b915061475d826146f6565b604082019050919050565b6000602082019050818103600083015261478181614745565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006147be602083613452565b91506147c982614788565b602082019050919050565b600060208201905081810360008301526147ed816147b1565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061482a601c83613452565b9150614835826147f4565b602082019050919050565b600060208201905081810360008301526148598161481d565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006148bc602583613452565b91506148c782614860565b604082019050919050565b600060208201905081810360008301526148eb816148af565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061494e602483613452565b9150614959826148f2565b604082019050919050565b6000602082019050818103600083015261497d81614941565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006149ba602083613452565b91506149c582614984565b602082019050919050565b600060208201905081810360008301526149e9816149ad565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614a26601983613452565b9150614a31826149f0565b602082019050919050565b60006020820190508181036000830152614a5581614a19565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614ab8603283613452565b9150614ac382614a5c565b604082019050919050565b60006020820190508181036000830152614ae781614aab565b9050919050565b6000614af9826134f9565b9150614b04836134f9565b9250828203905081811115614b1c57614b1b614189565b5b92915050565b6000614b2d826134f9565b9150614b38836134f9565b9250828201905080821115614b5057614b4f614189565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000614bac82614b85565b614bb68185614b90565b9350614bc6818560208601613463565b614bcf8161348d565b840191505092915050565b6000608082019050614bef600083018761358e565b614bfc602083018661358e565b614c0960408301856137c4565b8181036060830152614c1b8184614ba1565b905095945050505050565b600081519050614c35816133b8565b92915050565b600060208284031215614c5157614c50613382565b5b6000614c5f84828501614c26565b9150509291505056fea26469706673582212204f91d717c06a2fd1377da68445d8088cc407632b7f959a1f41c337e58bc58ccf64736f6c63430008120033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061023d5760003560e01c80636ac33e701161013b578063a22cb465116100b8578063bb3bafd61161007c578063bb3bafd61461068d578063be546221146106be578063c87b56dd146106dc578063e985e9c51461070c578063f2fde38b1461073c5761023d565b8063a22cb465146105e9578063b4ce37d214610605578063b88d4fde14610623578063b8d39d5b1461063f578063b9c4d9fb1461065d5761023d565b806373ad6c2d116100ff57806373ad6c2d146105575780638da5cb5b14610573578063925e54fc1461059157806395d89b41146105af578063973a592a146105cd5761023d565b80636ac33e70146104c95780636c2f5acd146104e55780636d73e6691461050157806370a082311461051d578063715018a61461054d5761023d565b80632a821a94116101c95780635b9c857a1161018d5780635b9c857a146104235780635bdc8335146104415780635de5fe3b1461045f5780636352211e1461047d57806363be8fc8146104ad5761023d565b80632a821a94146103935780632d345670146103af57806331ae450b146103cb57806342842e0e146103e957806349a165e4146104055761023d565b80630ebd4c7f116102105780630ebd4c7f146102dc5780631249c58b1461030c57806323b872dd1461031657806324d7806c146103325780632a55205a146103625761023d565b806301ffc9a71461024257806306fdde0314610272578063081812fc14610290578063095ea7b3146102c0575b600080fd5b61025c600480360381019061025791906133e4565b610758565b604051610269919061342c565b60405180910390f35b61027a610937565b60405161028791906134d7565b60405180910390f35b6102aa60048036038101906102a5919061352f565b6109c9565b6040516102b7919061359d565b60405180910390f35b6102da60048036038101906102d591906135e4565b610a0f565b005b6102f660048036038101906102f1919061352f565b610b26565b60405161030391906136e2565b60405180910390f35b610314610bf3565b005b610330600480360381019061032b9190613704565b610d8c565b005b61034c60048036038101906103479190613757565b610dec565b604051610359919061342c565b60405180910390f35b61037c60048036038101906103779190613784565b610e46565b60405161038a9291906137d3565b60405180910390f35b6103ad60048036038101906103a89190613931565b610e92565b005b6103c960048036038101906103c49190613757565b610f35565b005b6103d3610fc9565b6040516103e09190613a38565b60405180910390f35b61040360048036038101906103fe9190613704565b6110ab565b005b61040d6110cb565b60405161041a919061342c565b60405180910390f35b61042b6110de565b604051610438919061342c565b60405180910390f35b6104496110f1565b60405161045691906134d7565b60405180910390f35b61046761117f565b6040516104749190613a5a565b60405180910390f35b6104976004803603810190610492919061352f565b611185565b6040516104a4919061359d565b60405180910390f35b6104c760048036038101906104c29190613757565b61120b565b005b6104e360048036038101906104de9190613931565b611352565b005b6104ff60048036038101906104fa9190613ab3565b6113f5565b005b61051b60048036038101906105169190613757565b6114d1565b005b61053760048036038101906105329190613757565b611564565b6040516105449190613a5a565b60405180910390f35b61055561161b565b005b610571600480360381019061056c9190613757565b61162f565b005b61057b611703565b604051610588919061359d565b60405180910390f35b61059961172c565b6040516105a691906134d7565b60405180910390f35b6105b76117ba565b6040516105c491906134d7565b60405180910390f35b6105e760048036038101906105e29190613931565b61184c565b005b61060360048036038101906105fe9190613b1f565b6118ef565b005b61060d611905565b60405161061a91906134d7565b60405180910390f35b61063d60048036038101906106389190613c00565b611993565b005b6106476119f5565b604051610654919061342c565b60405180910390f35b6106776004803603810190610672919061352f565b611a08565b6040516106849190613d41565b60405180910390f35b6106a760048036038101906106a2919061352f565b611b23565b6040516106b5929190613d63565b60405180910390f35b6106c6611cae565b6040516106d3919061359d565b60405180910390f35b6106f660048036038101906106f1919061352f565b611cd4565b60405161070391906134d7565b60405180910390f35b61072660048036038101906107219190613d9a565b611edb565b604051610733919061342c565b60405180910390f35b61075660048036038101906107519190613757565b611f6f565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061082357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610833575061083282611ff2565b5b80610882575063bb3bafd660e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108d15750632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610920575063b779958460e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610930575061092f82611ff2565b5b9050919050565b60606003805461094690613e09565b80601f016020809104026020016040519081016040528092919081815260200182805461097290613e09565b80156109bf5780601f10610994576101008083540402835291602001916109bf565b820191906000526020600020905b8154815290600101906020018083116109a257829003601f168201915b5050505050905090565b60006109d48261206c565b600f600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a1a82611185565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610a8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8190613eac565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610aa96120b7565b73ffffffffffffffffffffffffffffffffffffffff161480610ad85750610ad781610ad26120b7565b611edb565b5b610b17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0e90613f3e565b60405180910390fd5b610b2183836120bf565b505050565b6060600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610bee57600167ffffffffffffffff811115610b9957610b98613806565b5b604051908082528060200260200182016040528015610bc75781602001602082028036833780820191505090505b50905060055481600081518110610be157610be0613f5e565b5b6020026020010181815250505b919050565b3373ffffffffffffffffffffffffffffffffffffffff16610c12611703565b73ffffffffffffffffffffffffffffffffffffffff161480610c445750610c4333600161217890919063ffffffff16565b5b610c83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7a90613fff565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610d14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0b9061406b565b60405180910390fd5b600a60009054906101000a900460ff1615610d64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5b906140d7565b60405180910390fd5b6001600a60006101000a81548160ff021916908315150217905550610d8a3360016121a8565b565b610d9d610d976120b7565b826123c5565b610ddc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd390614169565b60405180910390fd5b610de783838361245a565b505050565b60008173ffffffffffffffffffffffffffffffffffffffff16610e0d611703565b73ffffffffffffffffffffffffffffffffffffffff161480610e3f5750610e3e82600161217890919063ffffffff16565b5b9050919050565b600080600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661271060055485610e7d91906141b8565b610e879190614229565b915091509250929050565b3373ffffffffffffffffffffffffffffffffffffffff16610eb1611703565b73ffffffffffffffffffffffffffffffffffffffff161480610ee35750610ee233600161217890919063ffffffff16565b5b610f22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1990613fff565b60405180910390fd5b8060079081610f319190614406565b5050565b610f3d612753565b610f5181600161217890919063ffffffff16565b15610fc6573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f7c0c3c84c67c85fcac635147348bfe374c24a1a93d0366d1cfe9d8853cbf89d560405160405180910390a3610fc48160016127d190919063ffffffff16565b505b50565b6060610fd56001612801565b67ffffffffffffffff811115610fee57610fed613806565b5b60405190808252806020026020018201604052801561101c5781602001602082028036833780820191505090505b50905060005b61102c6001612801565b8110156110a75761104781600161281690919063ffffffff16565b82828151811061105a57611059613f5e565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050808061109f906144d8565b915050611022565b5090565b6110c683838360405180602001604052806000815250611993565b505050565b600a60009054906101000a900460ff1681565b600a60029054906101000a900460ff1681565b600980546110fe90613e09565b80601f016020809104026020016040519081016040528092919081815260200182805461112a90613e09565b80156111775780601f1061114c57610100808354040283529160200191611177565b820191906000526020600020905b81548152906001019060200180831161115a57829003601f168201915b505050505081565b600b5481565b60008061119183612830565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611202576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f99061456c565b60405180910390fd5b80915050919050565b600a60029054906101000a900460ff161580156112345750600a60019054906101000a900460ff165b611273576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126a906145d8565b60405180910390fd5b61127d6001612830565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806112ea57506112bb6002612830565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611329576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132090614644565b60405180910390fd5b6113348160046121a8565b6001600a60026101000a81548160ff02191690831515021790555050565b3373ffffffffffffffffffffffffffffffffffffffff16611371611703565b73ffffffffffffffffffffffffffffffffffffffff1614806113a357506113a233600161217890919063ffffffff16565b5b6113e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d990613fff565b60405180910390fd5b80600890816113f19190614406565b5050565b3373ffffffffffffffffffffffffffffffffffffffff16611414611703565b73ffffffffffffffffffffffffffffffffffffffff161480611446575061144533600161217890919063ffffffff16565b5b611485576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147c90613fff565b60405180910390fd5b81600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550806005819055505050565b6114d9612753565b6114ed81600161217890919063ffffffff16565b611561573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f7e1a1a08d52e4ba0e21554733d66165fd5151f99460116223d9e3a608eec5cb160405160405180910390a361155f81600161286d90919063ffffffff16565b505b50565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036115d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cb906146d6565b60405180910390fd5b600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611623612753565b61162d600061289d565b565b3373ffffffffffffffffffffffffffffffffffffffff1661164e611703565b73ffffffffffffffffffffffffffffffffffffffff161480611680575061167f33600161217890919063ffffffff16565b5b6116bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b690613fff565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6008805461173990613e09565b80601f016020809104026020016040519081016040528092919081815260200182805461176590613e09565b80156117b25780601f10611787576101008083540402835291602001916117b2565b820191906000526020600020905b81548152906001019060200180831161179557829003601f168201915b505050505081565b6060600480546117c990613e09565b80601f01602080910402602001604051908101604052809291908181526020018280546117f590613e09565b80156118425780601f1061181757610100808354040283529160200191611842565b820191906000526020600020905b81548152906001019060200180831161182557829003601f168201915b5050505050905090565b3373ffffffffffffffffffffffffffffffffffffffff1661186b611703565b73ffffffffffffffffffffffffffffffffffffffff16148061189d575061189c33600161217890919063ffffffff16565b5b6118dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d390613fff565b60405180910390fd5b80600990816118eb9190614406565b5050565b6119016118fa6120b7565b8383612961565b5050565b6007805461191290613e09565b80601f016020809104026020016040519081016040528092919081815260200182805461193e90613e09565b801561198b5780601f106119605761010080835404028352916020019161198b565b820191906000526020600020905b81548152906001019060200180831161196e57829003601f168201915b505050505081565b6119a461199e6120b7565b836123c5565b6119e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119da90614169565b60405180910390fd5b6119ef84848484612acd565b50505050565b600a60019054906101000a900460ff1681565b6060600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611b1e57600167ffffffffffffffff811115611a7b57611a7a613806565b5b604051908082528060200260200182016040528015611aa95781602001602082028036833780820191505090505b509050600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681600081518110611ae357611ae2613f5e565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250505b919050565b606080600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611ca957600167ffffffffffffffff811115611b9757611b96613806565b5b604051908082528060200260200182016040528015611bc55781602001602082028036833780820191505090505b509150600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600081518110611bff57611bfe613f5e565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600167ffffffffffffffff811115611c5457611c53613806565b5b604051908082528060200260200182016040528015611c825781602001602082028036833780820191505090505b50905060055481600081518110611c9c57611c9b613f5e565b5b6020026020010181815250505b915091565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060611cdf8261206c565b60038203611d795760098054611cf490613e09565b80601f0160208091040260200160405190810160405280929190818152602001828054611d2090613e09565b8015611d6d5780601f10611d4257610100808354040283529160200191611d6d565b820191906000526020600020905b815481529060010190602001808311611d5057829003601f168201915b50505050509050611ed6565b60048203611e135760078054611d8e90613e09565b80601f0160208091040260200160405190810160405280929190818152602001828054611dba90613e09565b8015611e075780601f10611ddc57610100808354040283529160200191611e07565b820191906000526020600020905b815481529060010190602001808311611dea57829003601f168201915b50505050509050611ed6565b600a60019054906101000a900460ff168015611e3c5750600a60029054906101000a900460ff16155b611e47576007611e4a565b60085b8054611e5590613e09565b80601f0160208091040260200160405190810160405280929190818152602001828054611e8190613e09565b8015611ece5780601f10611ea357610100808354040283529160200191611ece565b820191906000526020600020905b815481529060010190602001808311611eb157829003601f168201915b505050505090505b919050565b6000601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611f77612753565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611fe6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fdd90614768565b60405180910390fd5b611fef8161289d565b50565b60007f553e757e000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612065575061206482612b29565b5b9050919050565b61207581612b93565b6120b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ab9061456c565b60405180910390fd5b50565b600033905090565b81600f600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661213283611185565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006121a0836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612bd4565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612217576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220e906147d4565b60405180910390fd5b61222081612b93565b15612260576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225790614840565b60405180910390fd5b61226e600083836001612bf7565b61227781612b93565b156122b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ae90614840565b60405180910390fd5b6001600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555081600d600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123c1600083836001612d1d565b5050565b6000806123d183611185565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061241357506124128185611edb565b5b8061245157508373ffffffffffffffffffffffffffffffffffffffff16612439846109c9565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661247a82611185565b73ffffffffffffffffffffffffffffffffffffffff16146124d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c7906148d2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361253f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253690614964565b60405180910390fd5b61254c8383836001612bf7565b8273ffffffffffffffffffffffffffffffffffffffff1661256c82611185565b73ffffffffffffffffffffffffffffffffffffffff16146125c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b9906148d2565b60405180910390fd5b600f600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555081600d600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461274e8383836001612d1d565b505050565b61275b6120b7565b73ffffffffffffffffffffffffffffffffffffffff16612779611703565b73ffffffffffffffffffffffffffffffffffffffff16146127cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c6906149d0565b60405180910390fd5b565b60006127f9836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612ec0565b905092915050565b600061280f82600001612fd4565b9050919050565b60006128258360000183612fe5565b60001c905092915050565b6000600d600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000612895836000018373ffffffffffffffffffffffffffffffffffffffff1660001b613010565b905092915050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036129cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129c690614a3c565b60405180910390fd5b80601060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612ac0919061342c565b60405180910390a3505050565b612ad884848461245a565b612ae484848484613080565b612b23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b1a90614ace565b60405180910390fd5b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff16612bb583612830565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600080836001016000848152602001908152602001600020541415905092915050565b6001811115612d1757600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614612c8b5780600e60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c839190614aee565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612d165780600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d0e9190614b22565b925050819055505b5b50505050565b6000600b5414158015612d31575042600b54105b8015612d4a5750600a60019054906101000a900460ff16155b15612df757600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015612db95750600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b15612df6576001600a60016101000a81548160ff0219169083151502179055506000600b81905550612dea82613207565b612df58460036121a8565b5b5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148015612e5b5750612e596002612b93565b155b8015612e945750600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b15612eba576201518042612ea89190614b22565b600b81905550612eb98360026121a8565b5b50505050565b60008083600101600084815260200190815260200160002054905060008114612fc8576000600182612ef29190614aee565b9050600060018660000180549050612f0a9190614aee565b9050818114612f79576000866000018281548110612f2b57612f2a613f5e565b5b9060005260206000200154905080876000018481548110612f4f57612f4e613f5e565b5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b85600001805480612f8d57612f8c614b56565b5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050612fce565b60009150505b92915050565b600081600001805490509050919050565b6000826000018281548110612ffd57612ffc613f5e565b5b9060005260206000200154905092915050565b600061301c8383612bd4565b61307557826000018290806001815401808255809150506001900390600052602060002001600090919091909150558260000180549050836001016000848152602001908152602001600020819055506001905061307a565b600090505b92915050565b60006130a18473ffffffffffffffffffffffffffffffffffffffff16613355565b156131fa578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026130ca6120b7565b8786866040518563ffffffff1660e01b81526004016130ec9493929190614bda565b6020604051808303816000875af192505050801561312857506040513d601f19601f820116820180604052508101906131259190614c3b565b60015b6131aa573d8060008114613158576040519150601f19603f3d011682016040523d82523d6000602084013e61315d565b606091505b5060008151036131a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161319990614ace565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506131ff565b600190505b949350505050565b600061321282611185565b9050613222816000846001612bf7565b61322b82611185565b9050600f600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540392505081905550600d600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613351816000846001612d1d565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6133c18161338c565b81146133cc57600080fd5b50565b6000813590506133de816133b8565b92915050565b6000602082840312156133fa576133f9613382565b5b6000613408848285016133cf565b91505092915050565b60008115159050919050565b61342681613411565b82525050565b6000602082019050613441600083018461341d565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613481578082015181840152602081019050613466565b60008484015250505050565b6000601f19601f8301169050919050565b60006134a982613447565b6134b38185613452565b93506134c3818560208601613463565b6134cc8161348d565b840191505092915050565b600060208201905081810360008301526134f1818461349e565b905092915050565b6000819050919050565b61350c816134f9565b811461351757600080fd5b50565b60008135905061352981613503565b92915050565b60006020828403121561354557613544613382565b5b60006135538482850161351a565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006135878261355c565b9050919050565b6135978161357c565b82525050565b60006020820190506135b2600083018461358e565b92915050565b6135c18161357c565b81146135cc57600080fd5b50565b6000813590506135de816135b8565b92915050565b600080604083850312156135fb576135fa613382565b5b6000613609858286016135cf565b925050602061361a8582860161351a565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613659816134f9565b82525050565b600061366b8383613650565b60208301905092915050565b6000602082019050919050565b600061368f82613624565b613699818561362f565b93506136a483613640565b8060005b838110156136d55781516136bc888261365f565b97506136c783613677565b9250506001810190506136a8565b5085935050505092915050565b600060208201905081810360008301526136fc8184613684565b905092915050565b60008060006060848603121561371d5761371c613382565b5b600061372b868287016135cf565b935050602061373c868287016135cf565b925050604061374d8682870161351a565b9150509250925092565b60006020828403121561376d5761376c613382565b5b600061377b848285016135cf565b91505092915050565b6000806040838503121561379b5761379a613382565b5b60006137a98582860161351a565b92505060206137ba8582860161351a565b9150509250929050565b6137cd816134f9565b82525050565b60006040820190506137e8600083018561358e565b6137f560208301846137c4565b9392505050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61383e8261348d565b810181811067ffffffffffffffff8211171561385d5761385c613806565b5b80604052505050565b6000613870613378565b905061387c8282613835565b919050565b600067ffffffffffffffff82111561389c5761389b613806565b5b6138a58261348d565b9050602081019050919050565b82818337600083830152505050565b60006138d46138cf84613881565b613866565b9050828152602081018484840111156138f0576138ef613801565b5b6138fb8482856138b2565b509392505050565b600082601f830112613918576139176137fc565b5b81356139288482602086016138c1565b91505092915050565b60006020828403121561394757613946613382565b5b600082013567ffffffffffffffff81111561396557613964613387565b5b61397184828501613903565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6139af8161357c565b82525050565b60006139c183836139a6565b60208301905092915050565b6000602082019050919050565b60006139e58261397a565b6139ef8185613985565b93506139fa83613996565b8060005b83811015613a2b578151613a1288826139b5565b9750613a1d836139cd565b9250506001810190506139fe565b5085935050505092915050565b60006020820190508181036000830152613a5281846139da565b905092915050565b6000602082019050613a6f60008301846137c4565b92915050565b6000613a808261355c565b9050919050565b613a9081613a75565b8114613a9b57600080fd5b50565b600081359050613aad81613a87565b92915050565b60008060408385031215613aca57613ac9613382565b5b6000613ad885828601613a9e565b9250506020613ae98582860161351a565b9150509250929050565b613afc81613411565b8114613b0757600080fd5b50565b600081359050613b1981613af3565b92915050565b60008060408385031215613b3657613b35613382565b5b6000613b44858286016135cf565b9250506020613b5585828601613b0a565b9150509250929050565b600067ffffffffffffffff821115613b7a57613b79613806565b5b613b838261348d565b9050602081019050919050565b6000613ba3613b9e84613b5f565b613866565b905082815260208101848484011115613bbf57613bbe613801565b5b613bca8482856138b2565b509392505050565b600082601f830112613be757613be66137fc565b5b8135613bf7848260208601613b90565b91505092915050565b60008060008060808587031215613c1a57613c19613382565b5b6000613c28878288016135cf565b9450506020613c39878288016135cf565b9350506040613c4a8782880161351a565b925050606085013567ffffffffffffffff811115613c6b57613c6a613387565b5b613c7787828801613bd2565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613cb881613a75565b82525050565b6000613cca8383613caf565b60208301905092915050565b6000602082019050919050565b6000613cee82613c83565b613cf88185613c8e565b9350613d0383613c9f565b8060005b83811015613d34578151613d1b8882613cbe565b9750613d2683613cd6565b925050600181019050613d07565b5085935050505092915050565b60006020820190508181036000830152613d5b8184613ce3565b905092915050565b60006040820190508181036000830152613d7d8185613ce3565b90508181036020830152613d918184613684565b90509392505050565b60008060408385031215613db157613db0613382565b5b6000613dbf858286016135cf565b9250506020613dd0858286016135cf565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613e2157607f821691505b602082108103613e3457613e33613dda565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613e96602183613452565b9150613ea182613e3a565b604082019050919050565b60006020820190508181036000830152613ec581613e89565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b6000613f28603d83613452565b9150613f3382613ecc565b604082019050919050565b60006020820190508181036000830152613f5781613f1b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f41646d696e436f6e74726f6c3a204d757374206265206f776e6572206f72206160008201527f646d696e00000000000000000000000000000000000000000000000000000000602082015250565b6000613fe9602483613452565b9150613ff482613f8d565b604082019050919050565b6000602082019050818103600083015261401881613fdc565b9050919050565b7f4d75737420736574206d61726b6574706c616365206669727374000000000000600082015250565b6000614055601a83613452565b91506140608261401f565b602082019050919050565b6000602082019050818103600083015261408481614048565b9050919050565b7f43616e2774206d696e7420747769636500000000000000000000000000000000600082015250565b60006140c1601083613452565b91506140cc8261408b565b602082019050919050565b600060208201905081810360008301526140f0816140b4565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000614153602d83613452565b915061415e826140f7565b604082019050919050565b6000602082019050818103600083015261418281614146565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006141c3826134f9565b91506141ce836134f9565b92508282026141dc816134f9565b915082820484148315176141f3576141f2614189565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614234826134f9565b915061423f836134f9565b92508261424f5761424e6141fa565b5b828204905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026142bc7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261427f565b6142c6868361427f565b95508019841693508086168417925050509392505050565b6000819050919050565b60006143036142fe6142f9846134f9565b6142de565b6134f9565b9050919050565b6000819050919050565b61431d836142e8565b6143316143298261430a565b84845461428c565b825550505050565b600090565b614346614339565b614351818484614314565b505050565b5b818110156143755761436a60008261433e565b600181019050614357565b5050565b601f8211156143ba5761438b8161425a565b6143948461426f565b810160208510156143a3578190505b6143b76143af8561426f565b830182614356565b50505b505050565b600082821c905092915050565b60006143dd600019846008026143bf565b1980831691505092915050565b60006143f683836143cc565b9150826002028217905092915050565b61440f82613447565b67ffffffffffffffff81111561442857614427613806565b5b6144328254613e09565b61443d828285614379565b600060209050601f831160018114614470576000841561445e578287015190505b61446885826143ea565b8655506144d0565b601f19841661447e8661425a565b60005b828110156144a657848901518255600182019150602085019450602081019050614481565b868310156144c357848901516144bf601f8916826143cc565b8355505b6001600288020188555050505b505050505050565b60006144e3826134f9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361451557614514614189565b5b600182019050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000614556601883613452565b915061456182614520565b602082019050919050565b6000602082019050818103600083015261458581614549565b9050919050565b7f43616e277420637265617465206e657700000000000000000000000000000000600082015250565b60006145c2601083613452565b91506145cd8261458c565b602082019050919050565b600060208201905081810360008301526145f1816145b5565b9050919050565b7f4e6f74206f776e65720000000000000000000000000000000000000000000000600082015250565b600061462e600983613452565b9150614639826145f8565b602082019050919050565b6000602082019050818103600083015261465d81614621565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006146c0602983613452565b91506146cb82614664565b604082019050919050565b600060208201905081810360008301526146ef816146b3565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614752602683613452565b915061475d826146f6565b604082019050919050565b6000602082019050818103600083015261478181614745565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006147be602083613452565b91506147c982614788565b602082019050919050565b600060208201905081810360008301526147ed816147b1565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061482a601c83613452565b9150614835826147f4565b602082019050919050565b600060208201905081810360008301526148598161481d565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006148bc602583613452565b91506148c782614860565b604082019050919050565b600060208201905081810360008301526148eb816148af565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061494e602483613452565b9150614959826148f2565b604082019050919050565b6000602082019050818103600083015261497d81614941565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006149ba602083613452565b91506149c582614984565b602082019050919050565b600060208201905081810360008301526149e9816149ad565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614a26601983613452565b9150614a31826149f0565b602082019050919050565b60006020820190508181036000830152614a5581614a19565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614ab8603283613452565b9150614ac382614a5c565b604082019050919050565b60006020820190508181036000830152614ae781614aab565b9050919050565b6000614af9826134f9565b9150614b04836134f9565b9250828203905081811115614b1c57614b1b614189565b5b92915050565b6000614b2d826134f9565b9150614b38836134f9565b9250828201905080821115614b5057614b4f614189565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000614bac82614b85565b614bb68185614b90565b9350614bc6818560208601613463565b614bcf8161348d565b840191505092915050565b6000608082019050614bef600083018761358e565b614bfc602083018661358e565b614c0960408301856137c4565b8181036060830152614c1b8184614ba1565b905095945050505050565b600081519050614c35816133b8565b92915050565b600060208284031215614c5157614c50613382565b5b6000614c5f84828501614c26565b9150509291505056fea26469706673582212204f91d717c06a2fd1377da68445d8088cc407632b7f959a1f41c337e58bc58ccf64736f6c63430008120033

Loading...
Loading
Loading...
Loading
[ 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.