ETH Price: $3,261.85 (-4.63%)
 

Overview

Max Total Supply

13 SKEYS

Holders

10

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
smoer.eth
Balance
1 SKEYS
0xaE1769B779Ae024Ce8bab296bb22c945CA89C3Ff
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:
SkeleKeys

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 17 : SkeleKeys.sol
// SPDX-License-Identifier: Unlicense
// Creator: 0xYeety/YEETY.eth - Co-Founder/CTO, Virtue Labs

pragma solidity ^0.8.17;

//import "./ERC721Y_A.sol";
//import "./ERC721Y.sol";
import "./ERC721Keys.sol";
import "lib/openzeppelin-contracts/contracts/access/Ownable.sol";
import "lib/openzeppelin-contracts/contracts/utils/Strings.sol";
import "lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol";
import "lib/operator-filter-registry/src/DefaultOperatorFilterer.sol";
//import "./SkeleKeysRepo.sol";

//contract SkeleKeys is ERC721Y, Ownable {
contract SkeleKeys is ERC721Keys, Ownable, DefaultOperatorFilterer {
    using Address for address;
    using Strings for uint256;
    string public PROVENANCE;
    bool provenanceSet;

    address public skelephunksAddr;

    mapping(address => bool) private _allocationAuthorizations;

    uint256 private _nonce;

    bool public initialized = false;

    mapping(address => bool) public _isBurnAddress;

    string public _collectionImg;
    string public _collectionDescription;
    string public _externalLink;

    modifier onlyAuthorized() {
        _isAuthorized();
        _;
    }

    function _isAuthorized() internal view virtual {
        require(msg.sender == skelephunksAddr || _allocationAuthorizations[msg.sender], "aa");
    }

    mapping(uint256 => uint256) private _keysToMintOrders;
    mapping(address => uint256) private _numClaimed;


    bool private royaltySwitch = true;
    modifier onlyAllowedOperator(address from) virtual override {
        if (royaltySwitch) {
            if (from != msg.sender) {
                _checkFilterOperator(msg.sender);
            }
        }
        _;
    }
    modifier onlyAllowedOperatorApproval(address operator) virtual override {
        if (royaltySwitch) {
            _checkFilterOperator(operator);
        }
        _;
    }


    constructor(
        address skelephunksAddr_
    ) ERC721Keys('SkeleKeys', 'SKEYS') {
        skelephunksAddr = skelephunksAddr_;

        // Addresses marked as burn addresses by Etherscan
        _isBurnAddress[0x000000000000000000000000000000000000dEaD] = true;
        _isBurnAddress[0x0000000000000000000000000000000000000000] = true;
        _isBurnAddress[0x0000000000000000000000000000000000000001] = true;
        _isBurnAddress[0x0000000000000000000000000000000000000002] = true;
        _isBurnAddress[0x0000000000000000000000000000000000000003] = true;
        _isBurnAddress[0x0000000000000000000000000000000000000004] = true;
        _isBurnAddress[0x0000000000000000000000000000000000000005] = true;
        _isBurnAddress[0x0000000000000000000000000000000000000006] = true;
        _isBurnAddress[0x0000000000000000000000000000000000000007] = true;
        _isBurnAddress[0x0000000000000000000000000000000000000008] = true;
        _isBurnAddress[0x0000000000000000000000000000000000000009] = true;
        _isBurnAddress[0x00000000000000000000045261D4Ee77acdb3286] = true;
        _isBurnAddress[0x1111111111111111111111111111111111111111] = true;
        _isBurnAddress[0x1234567890123456789012345678901234567890] = true;
        _isBurnAddress[0x2222222222222222222222222222222222222222] = true;
        _isBurnAddress[0x3333333333333333333333333333333333333333] = true;
        _isBurnAddress[0x4444444444444444444444444444444444444444] = true;
        _isBurnAddress[0x8888888888888888888888888888888888888888] = true;
        _isBurnAddress[0xaAaAaAaaAaAaAaaAaAAAAAAAAaaaAaAaAaaAaaAa] = true;
        _isBurnAddress[0xbBbBBBBbbBBBbbbBbbBbbbbBBbBbbbbBbBbbBBbB] = true;
        _isBurnAddress[0xdEAD000000000000000042069420694206942069] = true;
        _isBurnAddress[0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE] = true;
        _isBurnAddress[0xFFfFfFffFFfffFFfFFfFFFFFffFFFffffFfFFFfF] = true;
    }

    function initNonce() private {
        _nonce = getRandomNumber(msg.sender);
    }

    function initKeys(address to) private {
        _mint(to, 13);
    }

    function initialize() public onlyOwner {
        require(!initialized, "init");
        initNonce();
        initKeys(address(this));

        uint256 randNum = getRandomNumber(address(this));
        _nonce += (randNum>>13)%666;
        randNum = getRandomNumber(address(this));
        for (uint256 i = 0; i < 13; i++) {
            uint256 randOrder = ((randNum>>(i*9))%512)+1 + (512*i);
            if (i == 12) {
                randOrder = ((randNum>>(i*9))%522)+1 + (512*i);
            }

            _keysToMintOrders[i + 1] = randOrder;
        }

        initialized = true;
    }

    function setAuthorizationStatus(address addr, bool authStatus) public onlyOwner {
        _allocationAuthorizations[addr] = authStatus;
        setApprovalForSelf(addr, authStatus);
    }

    function getRandomNumber(address msgSender) private view returns (uint256) {
        return uint256(
            keccak256(
                abi.encode(
                    msgSender,
                    tx.gasprice,
                    block.number,
                    block.timestamp,
                    block.difficulty,
                    blockhash(block.number - 1),
                    address(this),
                    _nonce
                )
            )
        );
    }

    function getRandomKeyToAllocate(address to) public view returns(uint256) {
        uint256 supply = totalSupply();
        uint256 numRemaining = balanceOf(address(this));
        uint256 randNum = getRandomNumber(to);

        uint256 spotToAllocate = randNum%numRemaining;

        uint256 curIndex = 0;
        uint256 toReturn = 0;
        uint256 toReturnFake = 0;
        for (uint256 i = 1; i <= supply; i++) {
            if (ownerOf(i) == address(this)) {
                if (curIndex == spotToAllocate) {
                    toReturn = i;
                }
                else {
                    toReturnFake = i;
                }
                curIndex++;
            }
        }

        if (toReturn > 0) {
            return toReturn;
        }

        revert("u");
    }

    function allocateRandomKey(address to) public onlyAuthorized {
        _arkInternal(to);
    }

    function _arkInternal(address to) private {
        uint256 keyToAllocate = getRandomKeyToAllocate(to);
        _nonce += (1 + keyToAllocate);

        approveForSelf(to, keyToAllocate);
        transferFrom(address(this), to, keyToAllocate);
    }

    function allocateKeyTo(address to, uint256 whichKey) private {
        transferFrom(ownerOf(whichKey), to, whichKey);
    }

    ////////////////////

    function unclaimedOf(address addr) public view returns (uint256) {
        uint256 toReturn = 0;
        uint256 highestClaimable = 0;
        uint256 highestClaimableTime = 0;

        for (uint256 i = 13; i > 0; i--) {
            uint256 keyMintIndex = _keysToMintOrders[i];
            if (addr == SkelephunksProto(skelephunksAddr).getMinterByOrderIndex(keyMintIndex)) {
                toReturn += 1;
                if (highestClaimable == 0) {
                    highestClaimable = keyMintIndex;
                    highestClaimableTime = SkelephunksProto(skelephunksAddr).getMintTimeByOrderIndex(keyMintIndex);
                }
            }
        }

        if (toReturn == 0) {
            return 0;
        }

        if ((block.timestamp - highestClaimableTime) > 7 days) {
            return 0;
        }

        toReturn -= _numClaimed[addr];

        return toReturn;
    }

    function getClaimDeadline(address addr) public view returns (uint256) {
        for (uint256 i = 13; i > 0; i--) {
            uint256 keyMintIndex = _keysToMintOrders[i];
            if (addr == SkelephunksProto(skelephunksAddr).getMinterByOrderIndex(keyMintIndex)) {
                uint256 deadlineSeconds = SkelephunksProto(skelephunksAddr).getMintTimeByOrderIndex(keyMintIndex) + (7 days);
                return (deadlineSeconds*1000);
            }
        }

        revert("nf");
    }

    function claimKeys() public {
        uint256 unclaimedKeys = unclaimedOf(msg.sender);
        require(unclaimedKeys > 0, "nu");

        for (uint256 i = 0; i < unclaimedKeys; i++) {
            _arkInternal(msg.sender);
        }

        _numClaimed[msg.sender] += unclaimedKeys;
    }

    function redeemKey(uint256 keyId) public onlyAuthorized {
        require(tx.origin == ownerOf(keyId), "not ur key, not ur phunks");
        _transferToSelf(tx.origin, address(this), keyId);
    }

    function resurrectKey(uint256 keyId) public {
        require(_isBurnAddress[ownerOf(keyId)]);
        _transferToSelf(ownerOf(keyId), address(this), keyId);
    }

    //////////

    function setPreRevealURI(string memory preRevealURI_) public onlyOwner {
        _setPreRevealURI(preRevealURI_);
    }

    function setBasedURI(string memory basedURI_) public onlyOwner {
        _setBasedURI(basedURI_);
    }

    //////////

    function setCollectionDescription(string memory __collectionDescription) public onlyOwner {
        _collectionDescription = __collectionDescription;
    }

    function setCollectionImg(string memory __collectionImg) public onlyOwner {
        _collectionImg = __collectionImg;
    }

    function setExternalLink(string memory __externalLink) public onlyOwner {
        _externalLink = __externalLink;
    }

    function contractURI() public view returns (string memory) {
        return string(
            abi.encodePacked(
                "data:application/json;utf8,{\"name\":\"", name(),"\",",
                "\"description\":\"", _collectionDescription, "\",",
                "\"image\":\"", _collectionImg, "\",",
                "\"external_link\":\"", _externalLink, "\",",
                "\"seller_fee_basis_points\":666,\"fee_recipient\":\"",
                uint256(uint160(skelephunksAddr)).toHexString(), "\"}"
            )
        );
    }

    function flipRoyaltySwitch() public onlyOwner {
        royaltySwitch = !royaltySwitch;
    }

    //////////

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

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

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

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

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

    //////////

    function sendKeyFundsToSkelephunksContract() public {
        require(SkelephunksProto(skelephunksAddr).isPayee(msg.sender), "nspp");
        (bool success1, ) = payable(skelephunksAddr).call{value: address(this).balance}("");
        require(success1, "F");
    }

    function sendKeyTokenFundsToSkelephunksContract(address tokenAddress) public {
        require(SkelephunksProto(skelephunksAddr).isPayee(msg.sender), "nspp");
        IERC20(tokenAddress).transfer(skelephunksAddr, IERC20(tokenAddress).balanceOf(address(this)));
    }
}

////////////////////

abstract contract SkelephunksProto {
//    function mintReserve(
//        address _to,
//        uint256 _quantity,
//        uint256 genderDirection
//    ) public virtual;

    function getMinterByOrderIndex(uint256 index) public view virtual returns (address);
    function getMintTimeByOrderIndex(uint256 index) public view virtual returns (uint64);
    function isPayee(address addr) public view virtual returns (bool);
}

////////////////////////////////////////

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

File 3 of 17 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

File 4 of 17 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

File 6 of 17 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 8 of 17 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

File 10 of 17 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";

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

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

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

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

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

File 11 of 17 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

File 13 of 17 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 */
abstract contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}

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

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

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

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

/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 */
abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

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

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

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

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

File 17 of 17 : ERC721Keys.sol
// SPDX-License-Identifier: Unlicense
// Creator: 0xYeety/YEETY.eth - Co-Founder/CTO, Virtue Labs

pragma solidity ^0.8.17;

import "lib/openzeppelin-contracts/contracts/token/ERC721/IERC721.sol";
import "lib/openzeppelin-contracts/contracts/token/ERC721/IERC721Receiver.sol";
import "lib/openzeppelin-contracts/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "lib/openzeppelin-contracts/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import "lib/openzeppelin-contracts/contracts/utils/Address.sol";
import "lib/openzeppelin-contracts/contracts/utils/Context.sol";
import "lib/openzeppelin-contracts/contracts/utils/Strings.sol";
import "lib/openzeppelin-contracts/contracts/utils/introspection/ERC165.sol";

contract ERC721Keys is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    event PseudoTransfer(address indexed from, address indexed to, uint256 indexed tokenId);
    event PseudoApproval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    using Address for address;
    using Strings for uint256;

    uint256 private currentIndex = 1;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Base(d) URI
    string internal _basedURI;
    string internal _preRevealURI;

    mapping(uint256 => address) private _ownerships;

    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;

    //////////

    constructor(
        string memory name_,
        string memory symbol_
    ) {
        _name = name_;
        _symbol = symbol_;
    }

    //////////

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
    **/
    function totalSupply() public view override returns (uint256) {
        return (currentIndex - 1);
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        require(index <= totalSupply() && index > 0, "g");
        return index;
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
        require(index < balanceOf(owner), "b");
        uint256 supply = totalSupply();
        uint256 curIndex = 0;
        for (uint256 i = 1; i <= supply; i++) {
            if (_ownerships[i] == owner) {
                if (curIndex == index) {
                    return i;
                }
                curIndex++;
            }
        }
        revert("u");
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        require(owner != address(0), "0");
        return uint256(_balances[owner]);
    }

    /**
     * @dev See {IERC721-ownerOf}.
    **/
    function ownerOf(uint256 tokenId) public view override returns (address) {
        require(tokenId < currentIndex && tokenId > 0, "t");
        return _ownerships[tokenId];
    }

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

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

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

        if (bytes(_basedURI).length > 0) {
            return string(abi.encodePacked(_basedURI, "/", tokenId.toString(), ".json"));
        }
        else {
            return _preRevealURI;
        }
    }

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

    /**
     * @dev Internal function to set the base URI for all token IDs. It is
     * automatically added as a prefix to the value returned in {tokenURI},
     * or to the token ID if {tokenURI} is empty.
     */
    function _setBasedURI(string memory basedURI_) internal virtual {
        _basedURI = basedURI_;
    }

    function preRevealURI() public view virtual returns (string memory) {
        return _preRevealURI;
    }

    function _setPreRevealURI(string memory preRevealURI_) internal virtual {
        _preRevealURI = preRevealURI_;
    }

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

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "a"
        );

        _approve(to, tokenId, owner);
    }

    function approveForSelf(address to, uint256 tokenId) internal {
        address owner = ERC721Keys.ownerOf(tokenId);
        require(to != owner, "o");

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        require(_exists(tokenId), "a");

        return _tokenApprovals[tokenId];
    }

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

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    function setApprovalForSelf(address operator, bool approved) internal {
        _operatorApprovals[address(this)][operator] = approved;
        emit ApprovalForAll(address(this), 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 {
        _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 {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, _data),
            "z"
        );
    }

    /**
     * @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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return (tokenId < currentIndex && tokenId > 0);
    }

    function _mint(address to, uint256 quantity) internal {
        uint256 startTokenId = currentIndex;
        require(to != address(0), "0");
        // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering.
        require(!_exists(startTokenId), "a");

        _balances[to] = _balances[to] + quantity;

        uint256 updatedIndex = startTokenId;

        for (uint256 i = 0; i < quantity; i++) {
            _ownerships[updatedIndex] = to;
            emit Transfer(address(0), to, updatedIndex);
            updatedIndex++;
        }

        currentIndex = updatedIndex;
    }

    /******************/

    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private {
        address prevOwnership = ownerOf(tokenId);

        bool isApprovedOrOwner = (_msgSender() == prevOwnership ||
        getApproved(tokenId) == _msgSender() ||
        isApprovedForAll(prevOwnership, _msgSender()));

        require(isApprovedOrOwner, "a");

        require(prevOwnership == from, "o");
        require(to != address(0), "0");

        // Clear approvals from the previous owner
        _approve(address(0), tokenId, prevOwnership);

        _balances[from] -= 1;
        _balances[to] += 1;
        _ownerships[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    function _transferToSelf(
        address from,
        address to,
        uint256 tokenId
    ) internal {
        address prevOwnership = ownerOf(tokenId);

        require(prevOwnership == from, "o");
        require(to != address(0), "0");

        // Clear approvals from the previous owner
        _approve(address(0), tokenId, prevOwnership);

        _balances[from] -= 1;
        _balances[to] += 1;
        _ownerships[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    function _approve(
        address to,
        uint256 tokenId,
        address owner
    ) private {
        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

    /********/

//    function setRelatedApprovalForAll(address owner) internal {
//        _operatorApprovals[owner][address(this)] = true;
//    }

    /******************/

    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(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("z");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }
}

////////////////////////////////////////

Settings
{
  "remappings": [
    "ds-test/=lib/operator-filter-registry/lib/forge-std/lib/ds-test/src/",
    "erc4626-tests/=lib/operator-filter-registry/lib/openzeppelin-contracts/lib/erc4626-tests/",
    "forge-std/=lib/operator-filter-registry/lib/forge-std/src/",
    "openzeppelin-contracts-upgradeable/=lib/operator-filter-registry/lib/openzeppelin-contracts-upgradeable/contracts/",
    "openzeppelin-contracts/=lib/operator-filter-registry/lib/openzeppelin-contracts/contracts/",
    "operator-filter-registry/=lib/operator-filter-registry/src/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "bytecodeHash": "ipfs"
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "london",
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"skelephunksAddr_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"PseudoApproval","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":"PseudoTransfer","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":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_collectionDescription","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_collectionImg","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_externalLink","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isBurnAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"allocateRandomKey","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"basedURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimKeys","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipRoyaltySwitch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"getClaimDeadline","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"getRandomKeyToAllocate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialized","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":"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":"preRevealURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"keyId","type":"uint256"}],"name":"redeemKey","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"keyId","type":"uint256"}],"name":"resurrectKey","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sendKeyFundsToSkelephunksContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"sendKeyTokenFundsToSkelephunksContract","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":"address","name":"addr","type":"address"},{"internalType":"bool","name":"authStatus","type":"bool"}],"name":"setAuthorizationStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"basedURI_","type":"string"}],"name":"setBasedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"__collectionDescription","type":"string"}],"name":"setCollectionDescription","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"__collectionImg","type":"string"}],"name":"setCollectionImg","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"__externalLink","type":"string"}],"name":"setExternalLink","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"preRevealURI_","type":"string"}],"name":"setPreRevealURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"skelephunksAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"unclaimedOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

608060405260016000819055600e805460ff199081169091556015805490911690911790553480156200003157600080fd5b50604051620035743803806200357483398101604081905262000054916200066e565b733cc6cdda760b79bafa08df41ecfa224f810dceb6600160405180604001604052806009815260200168536b656c654b65797360b81b81525060405180604001604052806005815260200164534b45595360d81b8152508160019081620000bc919062000745565b506002620000cb828262000745565b505050620000e8620000e26200061860201b60201c565b6200061c565b6daaeb6d7670e522a718067333cd4e3b156200022d5780156200017b57604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200015c57600080fd5b505af115801562000171573d6000803e3d6000fd5b505050506200022d565b6001600160a01b03821615620001cc5760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000141565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200021357600080fd5b505af115801562000228573d6000803e3d6000fd5b505050505b5050600b8054610100600160a81b0319166101006001600160a01b0393841602179055600f6020527f99629f56119585bf27511b6b7d295dffb54757453fcc3dabcf51d92028301f10805460ff1990811660019081179092557ff4803e074bd026baaf6ed2e288c9515f68c72fb7216eebdd7cae1718a53ec37580548216831790557f169f97de0d9a84d840042b17d3c6b9638b3d6fd9024c9eb0c7a306a17b49f88f80548216831790557fa74ba3945261e09fde15ba3db55005b205e61eeb4ad811ac0faa2b315bffeead80548216831790557f45f76dafbbad695564362934e24d72eedc57f9fc1a65f39bca62176cc829682880548216831790557f367ccd2d0ac16bf7110a5dffe0801fdc9452a95a1adb7e1a12fe97dd3e9a4edd80548216831790557f6bda57492eba051cb4a12a1e19df47c9755d78165341d4009b1d09b3f361620480548216831790557fb5a1e7cda73b1608e93d4d50ab796c3d35aa6216cb006a1f920df154d13ff61880548216831790557f73dfc495eb54bd6713ffc079b9f5e40f2fecd3793d143759ba0128fbedb4025480548216831790557f49a9092dc5c03b26195f6621c97b5cf515cb77afe659e3fe008a73456354eb6880548216831790557f3e674ca654b1063e821161bbf601452dd0f1671d575d614ba17ca7f3cdc7603980548216831790557fb24f95475a1f18bf5eabff786ec91007c579ac2abfc56f21bd4213c40916477780548216831790557f7374f19f47ccc9f0faeb475b1f220109a3b6f14980795b5c5e45ed1c43edee4b80548216831790557f90efd64bde18170caca263abdf3395050d009fc3805ae2a5dc8da10733acb95e80548216831790557f8757fdcbae1a9d551bbc5f77dd40e9a5cc4b36e444390b3c2afa0b89abd321a580548216831790557f22f0b470d30342741749d8943e531f0c5f2c3eee1e0692dcab5be9d7bff4881880548216831790557f78b715fdf6293370f0f69bbb0241280fbf17cf5d108eb96db3294edaa627d7b580548216831790557f704aa2c13822e1c10ccf65c82f11217cf92abe5ec1cd67db113e4a615b7ac34a80548216831790557f9639d8bc99908da2e2d0b431f9486eb732d2fce41beb312a7e368bcf77c6695180548216831790557fd230e134ac0bc724dccfbb8f70ae063f26c599290d6925e14fc9ab217e2c1d9980548216831790557f0be2524df20e7eeb560496cffbe1760d85f8f7aaec8de66163597e7f30f10b6a80548216831790557fa781ca3e4bac15fa51ec762ef622d608ed239712ac63433a052bbf28d546961f80548216831790556000929092527fbc8e96af2d32ecfb96762bfb24b76a5ed0f6dccfb4cfd78ff7aaf89a9a745774805490921617905562000811565b3390565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000602082840312156200068157600080fd5b81516001600160a01b03811681146200069957600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620006cb57607f821691505b602082108103620006ec57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200074057600081815260208120601f850160051c810160208610156200071b5750805b601f850160051c820191505b818110156200073c5782815560010162000727565b5050505b505050565b81516001600160401b03811115620007615762000761620006a0565b6200077981620007728454620006b6565b84620006f2565b602080601f831160018114620007b15760008415620007985750858301515b600019600386901b1c1916600185901b1785556200073c565b600085815260208120601f198616915b82811015620007e257888601518255948401946001909101908401620007c1565b5085821015620008015787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b612d5380620008216000396000f3fe608060405234801561001057600080fd5b50600436106102955760003560e01c806370a0823111610167578063c87b56dd116100ce578063e54e97a011610087578063e54e97a01461055f578063e8a3d48514610567578063e985e9c51461056f578063ede029fc146105ab578063f2fde38b146105be578063f4cbfad3146105d157600080fd5b8063c87b56dd146104f3578063ce56140714610506578063ce8539b114610519578063d58218aa14610521578063dcb9ac9014610539578063e4f39c981461054c57600080fd5b80639471302e116101205780639471302e1461049757806395d89b41146104aa578063a22cb465146104b2578063a7452e37146104c5578063b8852a3e146104d8578063b88d4fde146104e057600080fd5b806370a0823114610448578063715018a61461045b57806379b6ed36146104635780638129fc1c1461046b5780638ca1f0cf146104735780638da5cb5b1461048657600080fd5b80632f745c591161020b5780634f6ccce7116101c45780634f6ccce7146103f75780635c176a5e1461040a5780636352211e146104125780636373a6b11461042557806363aac3a31461042d578063658247a01461044057600080fd5b80632f745c591461038e578063308e7c9f146103a157806341f43434146103b457806342842e0e146103c95780634df65b0d146103dc5780634f62e648146103e457600080fd5b8063158ef93e1161025d578063158ef93e1461031f57806317a331c21461032c57806318160ddd1461034d5780631f9179211461035557806323b872dd146103685780632a85db551461037b57600080fd5b806301ffc9a71461029a57806306fdde03146102c2578063081812fc146102d7578063095ea7b31461030257806313ea7b0414610317575b600080fd5b6102ad6102a83660046124a2565b6105f4565b60405190151581526020015b60405180910390f35b6102ca610661565b6040516102b9919061250f565b6102ea6102e5366004612522565b6106f3565b6040516001600160a01b0390911681526020016102b9565b610315610310366004612550565b61073f565b005b6102ca610764565b600e546102ad9060ff1681565b61033f61033a36600461257c565b610773565b6040519081526020016102b9565b61033f610925565b610315610363366004612625565b61093b565b61031561037636600461266e565b610953565b610315610389366004612625565b61098a565b61033f61039c366004612550565b61099e565b6103156103af36600461257c565b610a72565b6102ea6daaeb6d7670e522a718067333cd4e81565b6103156103d736600461266e565b610c04565b610315610c35565b61033f6103f236600461257c565b610d66565b61033f610405366004612522565b610e33565b6102ca610e80565b6102ea610420366004612522565b610f0e565b6102ca610f6c565b61031561043b366004612522565b610f79565b610315610ff5565b61033f61045636600461257c565b611085565b6103156110c9565b6102ca6110dd565b6103156110ec565b610315610481366004612625565b611258565b6009546001600160a01b03166102ea565b6103156104a5366004612625565b61126c565b6102ca611280565b6103156104c03660046126bd565b61128f565b61033f6104d336600461257c565b6112af565b6102ca61142d565b6103156104ee3660046126f6565b61143a565b6102ca610501366004612522565b611473565b610315610514366004612522565b611575565b6103156115bb565b600b546102ea9061010090046001600160a01b031681565b61031561054736600461257c565b6115d7565b61031561055a3660046126bd565b6115e8565b6102ca61161e565b6102ca61162b565b6102ad61057d366004612776565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b6103156105b9366004612625565b611680565b6103156105cc36600461257c565b611691565b6102ad6105df36600461257c565b600f6020526000908152604090205460ff1681565b60006001600160e01b031982166380ac58cd60e01b148061062557506001600160e01b03198216635b5e139f60e01b145b8061064057506001600160e01b0319821663780e9d6360e01b145b8061065b57506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060018054610670906127a4565b80601f016020809104026020016040519081016040528092919081815260200182805461069c906127a4565b80156106e95780601f106106be576101008083540402835291602001916106e9565b820191906000526020600020905b8154815290600101906020018083116106cc57829003601f168201915b5050505050905090565b60006106fe82611707565b6107235760405162461bcd60e51b815260040161071a906127de565b60405180910390fd5b506000908152600760205260409020546001600160a01b031690565b601554829060ff1615610755576107558161171a565b61075f83836117d3565b505050565b606060038054610670906127a4565b6000808080600d5b80156108c6576000818152601360205260409081902054600b54915163440f346360e11b815260048101829052909161010090046001600160a01b03169063881e68c690602401602060405180830381865afa1580156107df573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080391906127f9565b6001600160a01b0316876001600160a01b0316036108b35761082660018661282c565b9450836000036108b357600b5460405163c48f653160e01b81526004810183905291945084916101009091046001600160a01b03169063c48f653190602401602060405180830381865afa158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a6919061283f565b67ffffffffffffffff1692505b50806108be81612869565b91505061077b565b50826000036108da57506000949350505050565b62093a806108e88242612880565b11156108f957506000949350505050565b6001600160a01b03851660009081526014602052604090205461091c9084612880565b95945050505050565b600060016000546109369190612880565b905090565b610943611854565b601261094f82826128e1565b5050565b601554839060ff1615610979576001600160a01b0381163314610979576109793361171a565b6109848484846118ae565b50505050565b610992611854565b61099b816118b9565b50565b60006109a983611085565b82106109db5760405162461bcd60e51b81526020600482015260016024820152603160f91b604482015260640161071a565b60006109e5610925565b9050600060015b828111610a45576000818152600560205260409020546001600160a01b03808816911603610a3357848203610a2557925061065b915050565b81610a2f816129a1565b9250505b80610a3d816129a1565b9150506109ec565b5060405162461bcd60e51b81526020600482015260016024820152607560f81b604482015260640161071a565b600b5460405163366653a960e01b81523360048201526101009091046001600160a01b03169063366653a990602401602060405180830381865afa158015610abe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae291906129ba565b610b175760405162461bcd60e51b815260040161071a9060208082526004908201526306e7370760e41b604082015260600190565b600b546040516370a0823160e01b81523060048201526001600160a01b038381169263a9059cbb926101009091049091169083906370a0823190602401602060405180830381865afa158015610b71573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9591906129d7565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610be0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094f91906129ba565b601554839060ff1615610c2a576001600160a01b0381163314610c2a57610c2a3361171a565b6109848484846118c5565b600b5460405163366653a960e01b81523360048201526101009091046001600160a01b03169063366653a990602401602060405180830381865afa158015610c81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca591906129ba565b610cda5760405162461bcd60e51b815260040161071a9060208082526004908201526306e7370760e41b604082015260600190565b600b5460405160009161010090046001600160a01b03169047908381818185875af1925050503d8060008114610d2c576040519150601f19603f3d011682016040523d82523d6000602084013e610d31565b606091505b505090508061099b5760405162461bcd60e51b81526020600482015260016024820152602360f91b604482015260640161071a565b600080610d71610925565b90506000610d7e30611085565b90506000610d8b856118e0565b90506000610d9983836129f0565b90506000808060015b878111610df45730610db382610f0e565b6001600160a01b031603610de257848403610dd057809250610dd4565b8091505b83610dde816129a1565b9450505b80610dec816129a1565b915050610da2565b508115610e075750979650505050505050565b60405162461bcd60e51b81526020600482015260016024820152607560f81b604482015260640161071a565b6000610e3d610925565b8211158015610e4c5750600082115b610e7c5760405162461bcd60e51b81526020600482015260016024820152606760f81b604482015260640161071a565b5090565b60108054610e8d906127a4565b80601f0160208091040260200160405190810160405280929190818152602001828054610eb9906127a4565b8015610f065780601f10610edb57610100808354040283529160200191610f06565b820191906000526020600020905b815481529060010190602001808311610ee957829003601f168201915b505050505081565b6000805482108015610f205750600082115b610f505760405162461bcd60e51b81526020600482015260016024820152601d60fa1b604482015260640161071a565b506000908152600560205260409020546001600160a01b031690565b600a8054610e8d906127a4565b610f81611958565b610f8a81610f0e565b6001600160a01b0316326001600160a01b031614610fea5760405162461bcd60e51b815260206004820152601960248201527f6e6f74207572206b65792c206e6f74207572207068756e6b7300000000000000604482015260640161071a565b61099b3230836119b6565b600061100033610773565b9050600081116110375760405162461bcd60e51b81526020600482015260026024820152616e7560f01b604482015260640161071a565b60005b8181101561105d5761104b33611adf565b80611055816129a1565b91505061103a565b50336000908152601460205260408120805483929061107d90849061282c565b909155505050565b60006001600160a01b0382166110ad5760405162461bcd60e51b815260040161071a90612a12565b506001600160a01b031660009081526006602052604090205490565b6110d1611854565b6110db6000611b23565b565b606060048054610670906127a4565b6110f4611854565b600e5460ff16156111305760405162461bcd60e51b815260040161071a906020808252600490820152631a5b9a5d60e21b604082015260600190565b611138611b75565b61114130611b83565b600061114c306118e0565b905061115e61029a600d83901c6129f0565b600d600082825461116f919061282c565b9091555061117e9050306118e0565b905060005b600d81101561124757600061119a82610200612a2d565b6102006111a8846009612a2d565b85901c6111b591906129f0565b6111c090600161282c565b6111ca919061282c565b905081600c03611213576111e082610200612a2d565b61020a6111ee846009612a2d565b85901c6111fb91906129f0565b61120690600161282c565b611210919061282c565b90505b806013600061122385600161282c565b8152602081019190915260400160002055508061123f816129a1565b915050611183565b5050600e805460ff19166001179055565b611260611854565b601061094f82826128e1565b611274611854565b601161094f82826128e1565b606060028054610670906127a4565b601554829060ff16156112a5576112a58161171a565b61075f8383611b8e565b6000600d5b80156113ff576000818152601360205260409081902054600b54915163440f346360e11b815260048101829052909161010090046001600160a01b03169063881e68c690602401602060405180830381865afa158015611318573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061133c91906127f9565b6001600160a01b0316846001600160a01b0316036113ec57600b5460405163c48f653160e01b81526004810183905260009161010090046001600160a01b03169063c48f653190602401602060405180830381865afa1580156113a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113c7919061283f565b6113d49062093a80612a44565b67ffffffffffffffff16905061091c816103e8612a2d565b50806113f781612869565b9150506112b4565b5060405162461bcd60e51b8152602060048201526002602482015261373360f11b604482015260640161071a565b60118054610e8d906127a4565b601554849060ff1615611460576001600160a01b0381163314611460576114603361171a565b61146c85858585611c23565b5050505050565b606061147e82611707565b61149a5760405162461bcd60e51b815260040161071a90612a6c565b6000600380546114a9906127a4565b905011156114e35760036114bc83611c56565b6040516020016114cd929190612b16565b6040516020818303038152906040529050919050565b600480546114f0906127a4565b80601f016020809104026020016040519081016040528092919081815260200182805461151c906127a4565b80156115695780601f1061153e57610100808354040283529160200191611569565b820191906000526020600020905b81548152906001019060200180831161154c57829003601f168201915b50505050509050919050565b600f600061158283610f0e565b6001600160a01b0316815260208101919091526040016000205460ff166115a857600080fd5b61099b6115b482610f0e565b30836119b6565b6115c3611854565b6015805460ff19811660ff90911615179055565b6115df611958565b61099b81611adf565b6115f0611854565b6001600160a01b0382166000908152600c60205260409020805460ff191682151517905561094f8282611ce9565b60128054610e8d906127a4565b6060611635610661565b600b546011906010906012906116589061010090046001600160a01b0316611d4e565b60405160200161166c959493929190612b5a565b604051602081830303815290604052905090565b611688611854565b61099b81611d65565b611699611854565b6001600160a01b0381166116fe5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161071a565b61099b81611b23565b600080548210801561065b575050151590565b6daaeb6d7670e522a718067333cd4e3b1561099b57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611787573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ab91906129ba565b61099b57604051633b79c77360e21b81526001600160a01b038216600482015260240161071a565b60006117de82610f0e565b9050806001600160a01b0316836001600160a01b0316036118115760405162461bcd60e51b815260040161071a90612c92565b336001600160a01b038216148061182d575061182d813361057d565b6118495760405162461bcd60e51b815260040161071a906127de565b61075f838383611d71565b6009546001600160a01b031633146110db5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161071a565b61075f838383611dcd565b600461094f82826128e1565b61075f8383836040518060200160405280600081525061143a565b6000813a4342446118f2600184612880565b600d54604080516001600160a01b0390981660208901528701959095526060860193909352608085019190915260a08401524060c08301523060e08301526101008201526101200160408051601f19818403018152919052805160209091012092915050565b600b5461010090046001600160a01b03163314806119855750336000908152600c602052604090205460ff165b6110db5760405162461bcd60e51b8152602060048201526002602482015261616160f01b604482015260640161071a565b60006119c182610f0e565b9050836001600160a01b0316816001600160a01b0316146119f45760405162461bcd60e51b815260040161071a90612c92565b6001600160a01b038316611a1a5760405162461bcd60e51b815260040161071a90612a12565b611a2660008383611d71565b6001600160a01b0384166000908152600660205260408120805460019290611a4f908490612880565b90915550506001600160a01b0383166000908152600660205260408120805460019290611a7d90849061282c565b909155505060008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a450505050565b6000611aea82610d66565b9050611af781600161282c565b600d6000828254611b08919061282c565b90915550611b1890508282611f4f565b61094f308383610953565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611b7e336118e0565b600d55565b61099b81600d611f8d565b336001600160a01b03831603611bb65760405162461bcd60e51b815260040161071a906127de565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3191015b60405180910390a35050565b611c2e848484611dcd565b611c3a848484846120a5565b6109845760405162461bcd60e51b815260040161071a90612a6c565b60606000611c63836121a7565b600101905060008167ffffffffffffffff811115611c8357611c83612599565b6040519080825280601f01601f191660200182016040528015611cad576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611cb757509392505050565b3060008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319101611c17565b606061065b82611d5d8461227f565b6001016122e9565b600361094f82826128e1565b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611dd882610f0e565b90506000336001600160a01b0383161480611e03575033611df8846106f3565b6001600160a01b0316145b80611e135750611e13823361057d565b905080611e325760405162461bcd60e51b815260040161071a906127de565b846001600160a01b0316826001600160a01b031614611e635760405162461bcd60e51b815260040161071a90612c92565b6001600160a01b038416611e895760405162461bcd60e51b815260040161071a90612a12565b611e9560008484611d71565b6001600160a01b0385166000908152600660205260408120805460019290611ebe908490612880565b90915550506001600160a01b0384166000908152600660205260408120805460019290611eec90849061282c565b909155505060008381526005602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918916917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a45050505050565b6000611f5a82610f0e565b9050806001600160a01b0316836001600160a01b0316036118495760405162461bcd60e51b815260040161071a90612c92565b6000546001600160a01b038316611fb65760405162461bcd60e51b815260040161071a90612a12565b611fbf81611707565b15611fdc5760405162461bcd60e51b815260040161071a906127de565b6001600160a01b03831660009081526006602052604090205461200090839061282c565b6001600160a01b03841660009081526006602052604081209190915581905b8381101561209c5760008281526005602052604080822080546001600160a01b0319166001600160a01b03891690811790915590518492907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a481612086816129a1565b9250508080612094906129a1565b91505061201f565b50600055505050565b60006001600160a01b0384163b1561219b57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906120e9903390899088908890600401612cad565b6020604051808303816000875af1925050508015612124575060408051601f3d908101601f1916820190925261212191810190612cea565b60015b612181573d808015612152576040519150601f19603f3d011682016040523d82523d6000602084013e612157565b606091505b5080516000036121795760405162461bcd60e51b815260040161071a90612a6c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061219f565b5060015b949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106121e65772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612212576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061223057662386f26fc10000830492506010015b6305f5e1008310612248576305f5e100830492506008015b612710831061225c57612710830492506004015b6064831061226e576064830492506002015b600a831061065b5760010192915050565b600080608083901c156122975760809290921c916010015b604083901c156122ac5760409290921c916008015b602083901c156122c15760209290921c916004015b601083901c156122d65760109290921c916002015b600883901c1561065b5760010192915050565b606060006122f8836002612a2d565b61230390600261282c565b67ffffffffffffffff81111561231b5761231b612599565b6040519080825280601f01601f191660200182016040528015612345576020820181803683370190505b509050600360fc1b8160008151811061236057612360612d07565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061238f5761238f612d07565b60200101906001600160f81b031916908160001a90535060006123b3846002612a2d565b6123be90600161282c565b90505b6001811115612436576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106123f2576123f2612d07565b1a60f81b82828151811061240857612408612d07565b60200101906001600160f81b031916908160001a90535060049490941c9361242f81612869565b90506123c1565b5083156124855760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161071a565b9392505050565b6001600160e01b03198116811461099b57600080fd5b6000602082840312156124b457600080fd5b81356124858161248c565b60005b838110156124da5781810151838201526020016124c2565b50506000910152565b600081518084526124fb8160208601602086016124bf565b601f01601f19169290920160200192915050565b60208152600061248560208301846124e3565b60006020828403121561253457600080fd5b5035919050565b6001600160a01b038116811461099b57600080fd5b6000806040838503121561256357600080fd5b823561256e8161253b565b946020939093013593505050565b60006020828403121561258e57600080fd5b81356124858161253b565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156125ca576125ca612599565b604051601f8501601f19908116603f011681019082821181831017156125f2576125f2612599565b8160405280935085815286868601111561260b57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561263757600080fd5b813567ffffffffffffffff81111561264e57600080fd5b8201601f8101841361265f57600080fd5b61219f848235602084016125af565b60008060006060848603121561268357600080fd5b833561268e8161253b565b9250602084013561269e8161253b565b929592945050506040919091013590565b801515811461099b57600080fd5b600080604083850312156126d057600080fd5b82356126db8161253b565b915060208301356126eb816126af565b809150509250929050565b6000806000806080858703121561270c57600080fd5b84356127178161253b565b935060208501356127278161253b565b925060408501359150606085013567ffffffffffffffff81111561274a57600080fd5b8501601f8101871361275b57600080fd5b61276a878235602084016125af565b91505092959194509250565b6000806040838503121561278957600080fd5b82356127948161253b565b915060208301356126eb8161253b565b600181811c908216806127b857607f821691505b6020821081036127d857634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252600190820152606160f81b604082015260600190565b60006020828403121561280b57600080fd5b81516124858161253b565b634e487b7160e01b600052601160045260246000fd5b8082018082111561065b5761065b612816565b60006020828403121561285157600080fd5b815167ffffffffffffffff8116811461248557600080fd5b60008161287857612878612816565b506000190190565b8181038181111561065b5761065b612816565b601f82111561075f57600081815260208120601f850160051c810160208610156128ba5750805b601f850160051c820191505b818110156128d9578281556001016128c6565b505050505050565b815167ffffffffffffffff8111156128fb576128fb612599565b61290f8161290984546127a4565b84612893565b602080601f831160018114612944576000841561292c5750858301515b600019600386901b1c1916600185901b1785556128d9565b600085815260208120601f198616915b8281101561297357888601518255948401946001909101908401612954565b50858210156129915787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000600182016129b3576129b3612816565b5060010190565b6000602082840312156129cc57600080fd5b8151612485816126af565b6000602082840312156129e957600080fd5b5051919050565b600082612a0d57634e487b7160e01b600052601260045260246000fd5b500690565b6020808252600190820152600360fc1b604082015260600190565b808202811582820484141761065b5761065b612816565b67ffffffffffffffff818116838216019080821115612a6557612a65612816565b5092915050565b6020808252600190820152603d60f91b604082015260600190565b60008154612a94816127a4565b60018281168015612aac5760018114612ac157612af0565b60ff1984168752821515830287019450612af0565b8560005260208060002060005b85811015612ae75781548a820152908401908201612ace565b50505082870194505b5050505092915050565b60008151612b0c8185602086016124bf565b9290920192915050565b6000612b228285612a87565b602f60f81b81528351612b3c8160018401602088016124bf565b64173539b7b760d91b60019290910191820152600601949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c7b226e616d81526332911d1160e11b602082015260008651612b9f816024850160208b016124bf565b61088b60f21b60249184019182018190526e113232b9b1b934b83a34b7b7111d1160891b6026830152612bd56035830189612a87565b818152681134b6b0b3b2911d1160b91b60028201529150612bf9600b830188612a87565b818152701132bc3a32b93730b62fb634b735911d1160791b60028201529150612c256013830187612a87565b9081527f2273656c6c65725f6665655f62617369735f706f696e7473223a3636362c226660028201526e32b2afb932b1b4b834b2b73a111d1160891b60228201529050612c86612c786031830186612afa565b61227d60f01b815260020190565b98975050505050505050565b6020808252600190820152606f60f81b604082015260600190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612ce0908301846124e3565b9695505050505050565b600060208284031215612cfc57600080fd5b81516124858161248c565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220a9003a951d0ab20ca67536f8ba6e08cbff4a82fc321d946a456b60248d59ba2b64736f6c634300081100330000000000000000000000007db8cd89308a295bb2d7f809b05db6389e9a6d88

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102955760003560e01c806370a0823111610167578063c87b56dd116100ce578063e54e97a011610087578063e54e97a01461055f578063e8a3d48514610567578063e985e9c51461056f578063ede029fc146105ab578063f2fde38b146105be578063f4cbfad3146105d157600080fd5b8063c87b56dd146104f3578063ce56140714610506578063ce8539b114610519578063d58218aa14610521578063dcb9ac9014610539578063e4f39c981461054c57600080fd5b80639471302e116101205780639471302e1461049757806395d89b41146104aa578063a22cb465146104b2578063a7452e37146104c5578063b8852a3e146104d8578063b88d4fde146104e057600080fd5b806370a0823114610448578063715018a61461045b57806379b6ed36146104635780638129fc1c1461046b5780638ca1f0cf146104735780638da5cb5b1461048657600080fd5b80632f745c591161020b5780634f6ccce7116101c45780634f6ccce7146103f75780635c176a5e1461040a5780636352211e146104125780636373a6b11461042557806363aac3a31461042d578063658247a01461044057600080fd5b80632f745c591461038e578063308e7c9f146103a157806341f43434146103b457806342842e0e146103c95780634df65b0d146103dc5780634f62e648146103e457600080fd5b8063158ef93e1161025d578063158ef93e1461031f57806317a331c21461032c57806318160ddd1461034d5780631f9179211461035557806323b872dd146103685780632a85db551461037b57600080fd5b806301ffc9a71461029a57806306fdde03146102c2578063081812fc146102d7578063095ea7b31461030257806313ea7b0414610317575b600080fd5b6102ad6102a83660046124a2565b6105f4565b60405190151581526020015b60405180910390f35b6102ca610661565b6040516102b9919061250f565b6102ea6102e5366004612522565b6106f3565b6040516001600160a01b0390911681526020016102b9565b610315610310366004612550565b61073f565b005b6102ca610764565b600e546102ad9060ff1681565b61033f61033a36600461257c565b610773565b6040519081526020016102b9565b61033f610925565b610315610363366004612625565b61093b565b61031561037636600461266e565b610953565b610315610389366004612625565b61098a565b61033f61039c366004612550565b61099e565b6103156103af36600461257c565b610a72565b6102ea6daaeb6d7670e522a718067333cd4e81565b6103156103d736600461266e565b610c04565b610315610c35565b61033f6103f236600461257c565b610d66565b61033f610405366004612522565b610e33565b6102ca610e80565b6102ea610420366004612522565b610f0e565b6102ca610f6c565b61031561043b366004612522565b610f79565b610315610ff5565b61033f61045636600461257c565b611085565b6103156110c9565b6102ca6110dd565b6103156110ec565b610315610481366004612625565b611258565b6009546001600160a01b03166102ea565b6103156104a5366004612625565b61126c565b6102ca611280565b6103156104c03660046126bd565b61128f565b61033f6104d336600461257c565b6112af565b6102ca61142d565b6103156104ee3660046126f6565b61143a565b6102ca610501366004612522565b611473565b610315610514366004612522565b611575565b6103156115bb565b600b546102ea9061010090046001600160a01b031681565b61031561054736600461257c565b6115d7565b61031561055a3660046126bd565b6115e8565b6102ca61161e565b6102ca61162b565b6102ad61057d366004612776565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b6103156105b9366004612625565b611680565b6103156105cc36600461257c565b611691565b6102ad6105df36600461257c565b600f6020526000908152604090205460ff1681565b60006001600160e01b031982166380ac58cd60e01b148061062557506001600160e01b03198216635b5e139f60e01b145b8061064057506001600160e01b0319821663780e9d6360e01b145b8061065b57506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060018054610670906127a4565b80601f016020809104026020016040519081016040528092919081815260200182805461069c906127a4565b80156106e95780601f106106be576101008083540402835291602001916106e9565b820191906000526020600020905b8154815290600101906020018083116106cc57829003601f168201915b5050505050905090565b60006106fe82611707565b6107235760405162461bcd60e51b815260040161071a906127de565b60405180910390fd5b506000908152600760205260409020546001600160a01b031690565b601554829060ff1615610755576107558161171a565b61075f83836117d3565b505050565b606060038054610670906127a4565b6000808080600d5b80156108c6576000818152601360205260409081902054600b54915163440f346360e11b815260048101829052909161010090046001600160a01b03169063881e68c690602401602060405180830381865afa1580156107df573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080391906127f9565b6001600160a01b0316876001600160a01b0316036108b35761082660018661282c565b9450836000036108b357600b5460405163c48f653160e01b81526004810183905291945084916101009091046001600160a01b03169063c48f653190602401602060405180830381865afa158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a6919061283f565b67ffffffffffffffff1692505b50806108be81612869565b91505061077b565b50826000036108da57506000949350505050565b62093a806108e88242612880565b11156108f957506000949350505050565b6001600160a01b03851660009081526014602052604090205461091c9084612880565b95945050505050565b600060016000546109369190612880565b905090565b610943611854565b601261094f82826128e1565b5050565b601554839060ff1615610979576001600160a01b0381163314610979576109793361171a565b6109848484846118ae565b50505050565b610992611854565b61099b816118b9565b50565b60006109a983611085565b82106109db5760405162461bcd60e51b81526020600482015260016024820152603160f91b604482015260640161071a565b60006109e5610925565b9050600060015b828111610a45576000818152600560205260409020546001600160a01b03808816911603610a3357848203610a2557925061065b915050565b81610a2f816129a1565b9250505b80610a3d816129a1565b9150506109ec565b5060405162461bcd60e51b81526020600482015260016024820152607560f81b604482015260640161071a565b600b5460405163366653a960e01b81523360048201526101009091046001600160a01b03169063366653a990602401602060405180830381865afa158015610abe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae291906129ba565b610b175760405162461bcd60e51b815260040161071a9060208082526004908201526306e7370760e41b604082015260600190565b600b546040516370a0823160e01b81523060048201526001600160a01b038381169263a9059cbb926101009091049091169083906370a0823190602401602060405180830381865afa158015610b71573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9591906129d7565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610be0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094f91906129ba565b601554839060ff1615610c2a576001600160a01b0381163314610c2a57610c2a3361171a565b6109848484846118c5565b600b5460405163366653a960e01b81523360048201526101009091046001600160a01b03169063366653a990602401602060405180830381865afa158015610c81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca591906129ba565b610cda5760405162461bcd60e51b815260040161071a9060208082526004908201526306e7370760e41b604082015260600190565b600b5460405160009161010090046001600160a01b03169047908381818185875af1925050503d8060008114610d2c576040519150601f19603f3d011682016040523d82523d6000602084013e610d31565b606091505b505090508061099b5760405162461bcd60e51b81526020600482015260016024820152602360f91b604482015260640161071a565b600080610d71610925565b90506000610d7e30611085565b90506000610d8b856118e0565b90506000610d9983836129f0565b90506000808060015b878111610df45730610db382610f0e565b6001600160a01b031603610de257848403610dd057809250610dd4565b8091505b83610dde816129a1565b9450505b80610dec816129a1565b915050610da2565b508115610e075750979650505050505050565b60405162461bcd60e51b81526020600482015260016024820152607560f81b604482015260640161071a565b6000610e3d610925565b8211158015610e4c5750600082115b610e7c5760405162461bcd60e51b81526020600482015260016024820152606760f81b604482015260640161071a565b5090565b60108054610e8d906127a4565b80601f0160208091040260200160405190810160405280929190818152602001828054610eb9906127a4565b8015610f065780601f10610edb57610100808354040283529160200191610f06565b820191906000526020600020905b815481529060010190602001808311610ee957829003601f168201915b505050505081565b6000805482108015610f205750600082115b610f505760405162461bcd60e51b81526020600482015260016024820152601d60fa1b604482015260640161071a565b506000908152600560205260409020546001600160a01b031690565b600a8054610e8d906127a4565b610f81611958565b610f8a81610f0e565b6001600160a01b0316326001600160a01b031614610fea5760405162461bcd60e51b815260206004820152601960248201527f6e6f74207572206b65792c206e6f74207572207068756e6b7300000000000000604482015260640161071a565b61099b3230836119b6565b600061100033610773565b9050600081116110375760405162461bcd60e51b81526020600482015260026024820152616e7560f01b604482015260640161071a565b60005b8181101561105d5761104b33611adf565b80611055816129a1565b91505061103a565b50336000908152601460205260408120805483929061107d90849061282c565b909155505050565b60006001600160a01b0382166110ad5760405162461bcd60e51b815260040161071a90612a12565b506001600160a01b031660009081526006602052604090205490565b6110d1611854565b6110db6000611b23565b565b606060048054610670906127a4565b6110f4611854565b600e5460ff16156111305760405162461bcd60e51b815260040161071a906020808252600490820152631a5b9a5d60e21b604082015260600190565b611138611b75565b61114130611b83565b600061114c306118e0565b905061115e61029a600d83901c6129f0565b600d600082825461116f919061282c565b9091555061117e9050306118e0565b905060005b600d81101561124757600061119a82610200612a2d565b6102006111a8846009612a2d565b85901c6111b591906129f0565b6111c090600161282c565b6111ca919061282c565b905081600c03611213576111e082610200612a2d565b61020a6111ee846009612a2d565b85901c6111fb91906129f0565b61120690600161282c565b611210919061282c565b90505b806013600061122385600161282c565b8152602081019190915260400160002055508061123f816129a1565b915050611183565b5050600e805460ff19166001179055565b611260611854565b601061094f82826128e1565b611274611854565b601161094f82826128e1565b606060028054610670906127a4565b601554829060ff16156112a5576112a58161171a565b61075f8383611b8e565b6000600d5b80156113ff576000818152601360205260409081902054600b54915163440f346360e11b815260048101829052909161010090046001600160a01b03169063881e68c690602401602060405180830381865afa158015611318573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061133c91906127f9565b6001600160a01b0316846001600160a01b0316036113ec57600b5460405163c48f653160e01b81526004810183905260009161010090046001600160a01b03169063c48f653190602401602060405180830381865afa1580156113a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113c7919061283f565b6113d49062093a80612a44565b67ffffffffffffffff16905061091c816103e8612a2d565b50806113f781612869565b9150506112b4565b5060405162461bcd60e51b8152602060048201526002602482015261373360f11b604482015260640161071a565b60118054610e8d906127a4565b601554849060ff1615611460576001600160a01b0381163314611460576114603361171a565b61146c85858585611c23565b5050505050565b606061147e82611707565b61149a5760405162461bcd60e51b815260040161071a90612a6c565b6000600380546114a9906127a4565b905011156114e35760036114bc83611c56565b6040516020016114cd929190612b16565b6040516020818303038152906040529050919050565b600480546114f0906127a4565b80601f016020809104026020016040519081016040528092919081815260200182805461151c906127a4565b80156115695780601f1061153e57610100808354040283529160200191611569565b820191906000526020600020905b81548152906001019060200180831161154c57829003601f168201915b50505050509050919050565b600f600061158283610f0e565b6001600160a01b0316815260208101919091526040016000205460ff166115a857600080fd5b61099b6115b482610f0e565b30836119b6565b6115c3611854565b6015805460ff19811660ff90911615179055565b6115df611958565b61099b81611adf565b6115f0611854565b6001600160a01b0382166000908152600c60205260409020805460ff191682151517905561094f8282611ce9565b60128054610e8d906127a4565b6060611635610661565b600b546011906010906012906116589061010090046001600160a01b0316611d4e565b60405160200161166c959493929190612b5a565b604051602081830303815290604052905090565b611688611854565b61099b81611d65565b611699611854565b6001600160a01b0381166116fe5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161071a565b61099b81611b23565b600080548210801561065b575050151590565b6daaeb6d7670e522a718067333cd4e3b1561099b57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611787573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ab91906129ba565b61099b57604051633b79c77360e21b81526001600160a01b038216600482015260240161071a565b60006117de82610f0e565b9050806001600160a01b0316836001600160a01b0316036118115760405162461bcd60e51b815260040161071a90612c92565b336001600160a01b038216148061182d575061182d813361057d565b6118495760405162461bcd60e51b815260040161071a906127de565b61075f838383611d71565b6009546001600160a01b031633146110db5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161071a565b61075f838383611dcd565b600461094f82826128e1565b61075f8383836040518060200160405280600081525061143a565b6000813a4342446118f2600184612880565b600d54604080516001600160a01b0390981660208901528701959095526060860193909352608085019190915260a08401524060c08301523060e08301526101008201526101200160408051601f19818403018152919052805160209091012092915050565b600b5461010090046001600160a01b03163314806119855750336000908152600c602052604090205460ff165b6110db5760405162461bcd60e51b8152602060048201526002602482015261616160f01b604482015260640161071a565b60006119c182610f0e565b9050836001600160a01b0316816001600160a01b0316146119f45760405162461bcd60e51b815260040161071a90612c92565b6001600160a01b038316611a1a5760405162461bcd60e51b815260040161071a90612a12565b611a2660008383611d71565b6001600160a01b0384166000908152600660205260408120805460019290611a4f908490612880565b90915550506001600160a01b0383166000908152600660205260408120805460019290611a7d90849061282c565b909155505060008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a450505050565b6000611aea82610d66565b9050611af781600161282c565b600d6000828254611b08919061282c565b90915550611b1890508282611f4f565b61094f308383610953565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611b7e336118e0565b600d55565b61099b81600d611f8d565b336001600160a01b03831603611bb65760405162461bcd60e51b815260040161071a906127de565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3191015b60405180910390a35050565b611c2e848484611dcd565b611c3a848484846120a5565b6109845760405162461bcd60e51b815260040161071a90612a6c565b60606000611c63836121a7565b600101905060008167ffffffffffffffff811115611c8357611c83612599565b6040519080825280601f01601f191660200182016040528015611cad576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611cb757509392505050565b3060008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319101611c17565b606061065b82611d5d8461227f565b6001016122e9565b600361094f82826128e1565b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611dd882610f0e565b90506000336001600160a01b0383161480611e03575033611df8846106f3565b6001600160a01b0316145b80611e135750611e13823361057d565b905080611e325760405162461bcd60e51b815260040161071a906127de565b846001600160a01b0316826001600160a01b031614611e635760405162461bcd60e51b815260040161071a90612c92565b6001600160a01b038416611e895760405162461bcd60e51b815260040161071a90612a12565b611e9560008484611d71565b6001600160a01b0385166000908152600660205260408120805460019290611ebe908490612880565b90915550506001600160a01b0384166000908152600660205260408120805460019290611eec90849061282c565b909155505060008381526005602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918916917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a45050505050565b6000611f5a82610f0e565b9050806001600160a01b0316836001600160a01b0316036118495760405162461bcd60e51b815260040161071a90612c92565b6000546001600160a01b038316611fb65760405162461bcd60e51b815260040161071a90612a12565b611fbf81611707565b15611fdc5760405162461bcd60e51b815260040161071a906127de565b6001600160a01b03831660009081526006602052604090205461200090839061282c565b6001600160a01b03841660009081526006602052604081209190915581905b8381101561209c5760008281526005602052604080822080546001600160a01b0319166001600160a01b03891690811790915590518492907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a481612086816129a1565b9250508080612094906129a1565b91505061201f565b50600055505050565b60006001600160a01b0384163b1561219b57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906120e9903390899088908890600401612cad565b6020604051808303816000875af1925050508015612124575060408051601f3d908101601f1916820190925261212191810190612cea565b60015b612181573d808015612152576040519150601f19603f3d011682016040523d82523d6000602084013e612157565b606091505b5080516000036121795760405162461bcd60e51b815260040161071a90612a6c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061219f565b5060015b949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106121e65772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612212576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061223057662386f26fc10000830492506010015b6305f5e1008310612248576305f5e100830492506008015b612710831061225c57612710830492506004015b6064831061226e576064830492506002015b600a831061065b5760010192915050565b600080608083901c156122975760809290921c916010015b604083901c156122ac5760409290921c916008015b602083901c156122c15760209290921c916004015b601083901c156122d65760109290921c916002015b600883901c1561065b5760010192915050565b606060006122f8836002612a2d565b61230390600261282c565b67ffffffffffffffff81111561231b5761231b612599565b6040519080825280601f01601f191660200182016040528015612345576020820181803683370190505b509050600360fc1b8160008151811061236057612360612d07565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061238f5761238f612d07565b60200101906001600160f81b031916908160001a90535060006123b3846002612a2d565b6123be90600161282c565b90505b6001811115612436576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106123f2576123f2612d07565b1a60f81b82828151811061240857612408612d07565b60200101906001600160f81b031916908160001a90535060049490941c9361242f81612869565b90506123c1565b5083156124855760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161071a565b9392505050565b6001600160e01b03198116811461099b57600080fd5b6000602082840312156124b457600080fd5b81356124858161248c565b60005b838110156124da5781810151838201526020016124c2565b50506000910152565b600081518084526124fb8160208601602086016124bf565b601f01601f19169290920160200192915050565b60208152600061248560208301846124e3565b60006020828403121561253457600080fd5b5035919050565b6001600160a01b038116811461099b57600080fd5b6000806040838503121561256357600080fd5b823561256e8161253b565b946020939093013593505050565b60006020828403121561258e57600080fd5b81356124858161253b565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156125ca576125ca612599565b604051601f8501601f19908116603f011681019082821181831017156125f2576125f2612599565b8160405280935085815286868601111561260b57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561263757600080fd5b813567ffffffffffffffff81111561264e57600080fd5b8201601f8101841361265f57600080fd5b61219f848235602084016125af565b60008060006060848603121561268357600080fd5b833561268e8161253b565b9250602084013561269e8161253b565b929592945050506040919091013590565b801515811461099b57600080fd5b600080604083850312156126d057600080fd5b82356126db8161253b565b915060208301356126eb816126af565b809150509250929050565b6000806000806080858703121561270c57600080fd5b84356127178161253b565b935060208501356127278161253b565b925060408501359150606085013567ffffffffffffffff81111561274a57600080fd5b8501601f8101871361275b57600080fd5b61276a878235602084016125af565b91505092959194509250565b6000806040838503121561278957600080fd5b82356127948161253b565b915060208301356126eb8161253b565b600181811c908216806127b857607f821691505b6020821081036127d857634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252600190820152606160f81b604082015260600190565b60006020828403121561280b57600080fd5b81516124858161253b565b634e487b7160e01b600052601160045260246000fd5b8082018082111561065b5761065b612816565b60006020828403121561285157600080fd5b815167ffffffffffffffff8116811461248557600080fd5b60008161287857612878612816565b506000190190565b8181038181111561065b5761065b612816565b601f82111561075f57600081815260208120601f850160051c810160208610156128ba5750805b601f850160051c820191505b818110156128d9578281556001016128c6565b505050505050565b815167ffffffffffffffff8111156128fb576128fb612599565b61290f8161290984546127a4565b84612893565b602080601f831160018114612944576000841561292c5750858301515b600019600386901b1c1916600185901b1785556128d9565b600085815260208120601f198616915b8281101561297357888601518255948401946001909101908401612954565b50858210156129915787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000600182016129b3576129b3612816565b5060010190565b6000602082840312156129cc57600080fd5b8151612485816126af565b6000602082840312156129e957600080fd5b5051919050565b600082612a0d57634e487b7160e01b600052601260045260246000fd5b500690565b6020808252600190820152600360fc1b604082015260600190565b808202811582820484141761065b5761065b612816565b67ffffffffffffffff818116838216019080821115612a6557612a65612816565b5092915050565b6020808252600190820152603d60f91b604082015260600190565b60008154612a94816127a4565b60018281168015612aac5760018114612ac157612af0565b60ff1984168752821515830287019450612af0565b8560005260208060002060005b85811015612ae75781548a820152908401908201612ace565b50505082870194505b5050505092915050565b60008151612b0c8185602086016124bf565b9290920192915050565b6000612b228285612a87565b602f60f81b81528351612b3c8160018401602088016124bf565b64173539b7b760d91b60019290910191820152600601949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c7b226e616d81526332911d1160e11b602082015260008651612b9f816024850160208b016124bf565b61088b60f21b60249184019182018190526e113232b9b1b934b83a34b7b7111d1160891b6026830152612bd56035830189612a87565b818152681134b6b0b3b2911d1160b91b60028201529150612bf9600b830188612a87565b818152701132bc3a32b93730b62fb634b735911d1160791b60028201529150612c256013830187612a87565b9081527f2273656c6c65725f6665655f62617369735f706f696e7473223a3636362c226660028201526e32b2afb932b1b4b834b2b73a111d1160891b60228201529050612c86612c786031830186612afa565b61227d60f01b815260020190565b98975050505050505050565b6020808252600190820152606f60f81b604082015260600190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612ce0908301846124e3565b9695505050505050565b600060208284031215612cfc57600080fd5b81516124858161248c565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220a9003a951d0ab20ca67536f8ba6e08cbff4a82fc321d946a456b60248d59ba2b64736f6c63430008110033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000007db8cd89308a295bb2d7f809b05db6389e9a6d88

-----Decoded View---------------
Arg [0] : skelephunksAddr_ (address): 0x7db8cD89308A295bb2D7F809B05DB6389e9a6d88

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000007db8cd89308a295bb2d7f809b05db6389e9a6d88


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

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