ETH Price: $3,526.84 (+5.14%)

Token

Element Genesis (ELEG)
 

Overview

Max Total Supply

2,500 ELEG

Holders

1,360

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
javhds.eth
Balance
0 ELEG
0xcf4d11423fb2e75d92b704f678b6be1fa427c022
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:
ElementGenesis

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 1000000 runs

Other Settings:
default evmVersion
File 1 of 15 : ElementGenesis.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "operator-filter-registry/src/DefaultOperatorFilterer.sol";


contract ElementGenesis is ERC721("Element Genesis", "ELEG"), Ownable, DefaultOperatorFilterer {

    address public immutable MINTER;
    string private baseURI;

    uint256 public constant MAX_SUPPLY = 2500;

    uint256 public maxMintAmountPerUser;
    mapping(address => uint256) public userMinted;

    // 140bits(unused) + 100bits(rareTokenIdFlags) + 16bits(rareTokensSupply)
    uint256 private rareTokens;
    uint256 private otherTokensSupply;

    uint256 public constant minLockingPeriod = 7 days;
    uint256 public constant maxLockingPeriod = 365 days;

    event Locked(
        uint256 indexed tokenId,
        address owner,
        uint256 startedAt,
        uint256 period
    );

    struct Locking {
        uint64 startedAt;
        uint64 period;
    }

    // Mapping tokenId to Locking information
    mapping(uint256 => Locking) public lockingTokens;
    bool public lockingOpen;

    constructor(address minter) {
        MINTER = minter;
        maxMintAmountPerUser = 2;
        baseURI = "";
    }

    function safeMint(address to, uint256 amount) external payable {
        unchecked {
            require(msg.sender == MINTER, "Illegal minter");
            require(tx.origin == to, "Contract mint is not supported");
            require(totalSupply() + amount <= MAX_SUPPLY, "Already sold out");
            require(userMinted[to] + amount <= maxMintAmountPerUser, "Exceeded the maximum mint limit for this account");

            userMinted[to] += amount;
            for (uint256 i; i < amount; i++) {
                _mint(to, _generateTokenId());
            }
        }
    }

    function _generateTokenId() internal returns(uint256) {
        unchecked {
            uint256 otherSupply = otherTokensSupply;

            // 140bits(unused) + 100bits(rareTokenIdFlags) + 16bits(rareTokensSupply)
            uint256 rares = rareTokens;
            uint256 rareSupply = (rares & 0xffff);
            uint256 rareLeft = 100 - rareSupply;

            if (rareLeft == 0) {
                otherTokensSupply = otherSupply + 1;
                return 101 + otherSupply;
            }

            uint256 totalLeft = MAX_SUPPLY - rareSupply - otherSupply;
            uint256 index = uint256(keccak256(abi.encodePacked(
                    blockhash(block.number - rareSupply - 1),
                    block.coinbase,
                    uint96(block.basefee),
                    uint32(block.number),
                    uint32(block.timestamp),
                    uint32(gasleft()),
                    uint32(totalLeft)
                ))) % totalLeft;

            if (index >= rareLeft) {
                otherTokensSupply = otherSupply + 1;
                return 101 + otherSupply;
            }

            uint256 tokenIdFlags = rares >> 16;
            uint256 j;
            for (uint256 i; i < 100; i++) {
                if (tokenIdFlags & (1 << i) == 0) {
                    if (j == index) {
                        // 140bits(unused) + 100bits(rareTokenIdFlags) + 16bits(rareTokensSupply)
                        rareTokens = ((tokenIdFlags | (1 << i)) << 16) + (rareSupply + 1);
                        return i + 1;
                    }
                    j++;
                }
            }
            revert("Mint error");
        }
    }

    function totalSupply() public view returns(uint256) {
        unchecked {
            return (rareTokens & 0xffff) + otherTokensSupply;
        }
    }

    function withdrawETH(address recipient) external onlyOwner {
        require(recipient != address(0), "Recipient error");
        require(address(this).balance > 0, "The balance is zero");
        (bool success, ) = recipient.call{value: address(this).balance}("");
        require(success);
    }

    function setMaxMintAmountPerUser(uint256 amount) external onlyOwner {
        maxMintAmountPerUser = amount;
    }

    function setBaseURI(string memory uri) external onlyOwner {
        baseURI = uri;
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        uint256 length = bytes(baseURI).length;
        if (length > 0 && bytes(baseURI)[length - 1] == 0x2f) {
            return super.tokenURI(tokenId);
        }
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
        return baseURI;
    }

    function _baseURI() internal override view returns (string memory) {
        return baseURI;
    }

    function setLockingOpen(bool open) external onlyOwner {
        lockingOpen = open;
    }

    function lockTokens(uint256[] calldata tokenIds, uint256[] calldata periods) external {
        require(lockingOpen, "Locking closed");
        require(tokenIds.length == periods.length, "Array length mismatch");

        for (uint256 i; i < tokenIds.length; ) {
            _lockToken(tokenIds[i], periods[i]);
            unchecked { i++; }
        }
    }

    function _lockToken(uint256 tokenId, uint256 period) internal {
        require(period >= minLockingPeriod, "Locking period should gte 7 days");
        require(period <= maxLockingPeriod, "Locking period should lte 365 days");
        require(ERC721.ownerOf(tokenId) == msg.sender, "Only owner can lock token");
        if (isLocking(tokenId)) {
            revert("The token is already locked");
        }

        lockingTokens[tokenId].startedAt = uint64(block.timestamp);
        lockingTokens[tokenId].period = uint64(period);

        emit Locked(tokenId, msg.sender, block.timestamp, period);
    }

    function isLocking(uint256 tokenId) public view returns(bool) {
        unchecked {
            Locking memory info = lockingTokens[tokenId];
            return block.timestamp < (info.startedAt + info.period);
        }
    }

    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        if (isLocking(tokenId)) {
            revert("Token is locking");
        }
        super._transfer(from, to, tokenId);
    }

    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);
    }
}

File 2 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

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

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

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

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

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

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

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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

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

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

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

import {OperatorFilterer} from "./OperatorFilterer.sol";
import {CANONICAL_CORI_SUBSCRIPTION} from "./lib/Constants.sol";
/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 * @dev    Please note that if your token contract does not provide an owner with EIP-173, it must provide
 *         administration methods on the contract itself to interact with the registry otherwise the subscription
 *         will be locked to the options set during construction.
 */

abstract contract DefaultOperatorFilterer is OperatorFilterer {
    /// @dev The constructor that is called when the contract is being deployed.
    constructor() OperatorFilterer(CANONICAL_CORI_SUBSCRIPTION, true) {}
}

File 5 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

    /**
     * @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 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);

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

File 6 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 8 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";
import {CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS} from "./lib/Constants.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.
 *         Please note that if your token contract does not provide an owner with EIP-173, it must provide
 *         administration methods on the contract itself to interact with the registry otherwise the subscription
 *         will be locked to the options set during construction.
 */

abstract contract OperatorFilterer {
    /// @dev Emitted when an operator is not allowed.
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS);

    /// @dev The constructor that is called when the contract is being deployed.
    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));
                }
            }
        }
    }

    /**
     * @dev A helper function to check if an operator is allowed.
     */
    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);
        }
        _;
    }

    /**
     * @dev A helper function to check if an operator approval is allowed.
     */
    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    /**
     * @dev A helper function to check if an operator is allowed.
     */
    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) {
            // under normal circumstances, this function will revert rather than return false, but inheriting contracts
            // may specify their own OperatorFilterRegistry implementations, which may behave differently
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}

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

address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E;
address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6;

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

interface IOperatorFilterRegistry {
    /**
     * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns
     *         true if supplied registrant address is not registered.
     */
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);

    /**
     * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner.
     */
    function register(address registrant) external;

    /**
     * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes.
     */
    function registerAndSubscribe(address registrant, address subscription) external;

    /**
     * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another
     *         address without subscribing.
     */
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;

    /**
     * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner.
     *         Note that this does not remove any filtered addresses or codeHashes.
     *         Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes.
     */
    function unregister(address addr) external;

    /**
     * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered.
     */
    function updateOperator(address registrant, address operator, bool filtered) external;

    /**
     * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates.
     */
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;

    /**
     * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered.
     */
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;

    /**
     * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates.
     */
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;

    /**
     * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous
     *         subscription if present.
     *         Note that accounts with subscriptions may go on to subscribe to other accounts - in this case,
     *         subscriptions will not be forwarded. Instead the former subscription's existing entries will still be
     *         used.
     */
    function subscribe(address registrant, address registrantToSubscribe) external;

    /**
     * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes.
     */
    function unsubscribe(address registrant, bool copyExistingEntries) external;

    /**
     * @notice Get the subscription address of a given registrant, if any.
     */
    function subscriptionOf(address addr) external returns (address registrant);

    /**
     * @notice Get the set of addresses subscribed to a given registrant.
     *         Note that order is not guaranteed as updates are made.
     */
    function subscribers(address registrant) external returns (address[] memory);

    /**
     * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant.
     *         Note that order is not guaranteed as updates are made.
     */
    function subscriberAt(address registrant, uint256 index) external returns (address);

    /**
     * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr.
     */
    function copyEntriesOf(address registrant, address registrantToCopy) external;

    /**
     * @notice Returns true if operator is filtered by a given address or its subscription.
     */
    function isOperatorFiltered(address registrant, address operator) external returns (bool);

    /**
     * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription.
     */
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);

    /**
     * @notice Returns true if a codeHash is filtered by a given address or its subscription.
     */
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);

    /**
     * @notice Returns a list of filtered operators for a given address or its subscription.
     */
    function filteredOperators(address addr) external returns (address[] memory);

    /**
     * @notice Returns the set of filtered codeHashes for a given address or its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);

    /**
     * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or
     *         its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);

    /**
     * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or
     *         its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);

    /**
     * @notice Returns true if an address has registered
     */
    function isRegistered(address addr) external returns (bool);

    /**
     * @dev Convenience method to compute the code hash of an arbitrary contract
     */
    function codeHashOf(address addr) external returns (bytes32);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"minter","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":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"startedAt","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"period","type":"uint256"}],"name":"Locked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"isLocking","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"uint256[]","name":"periods","type":"uint256[]"}],"name":"lockTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lockingOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lockingTokens","outputs":[{"internalType":"uint64","name":"startedAt","type":"uint64"},{"internalType":"uint64","name":"period","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxLockingPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerUser","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minLockingPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"safeMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"open","type":"bool"}],"name":"setLockingOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxMintAmountPerUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040523480156200001157600080fd5b50604051620039f8380380620039f88339810160408190526200003491620002a2565b733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600f81526020016e456c656d656e742047656e6573697360881b81525060405180604001604052806004815260200163454c454760e01b8152508160009081620000a1919062000379565b506001620000b0828262000379565b505050620000cd620000c76200024c60201b60201c565b62000250565b6daaeb6d7670e522a718067333cd4e3b15620002125780156200016057604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200014157600080fd5b505af115801562000156573d6000803e3d6000fd5b5050505062000212565b6001600160a01b03821615620001b15760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000126565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620001f857600080fd5b505af11580156200020d573d6000803e3d6000fd5b505050505b50506001600160a01b038116608052600260085560408051602081019091526000815260079062000244908262000379565b505062000445565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600060208284031215620002b557600080fd5b81516001600160a01b0381168114620002cd57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620002ff57607f821691505b6020821081036200032057634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200037457600081815260208120601f850160051c810160208610156200034f5750805b601f850160051c820191505b8181101562000370578281556001016200035b565b5050505b505050565b81516001600160401b03811115620003955762000395620002d4565b620003ad81620003a68454620002ea565b8462000326565b602080601f831160018114620003e55760008415620003cc5750858301515b600019600386901b1c1916600185901b17855562000370565b600085815260208120601f198616915b828110156200041657888601518255948401946001909101908401620003f5565b5085821015620004355787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805161359062000468600039600081816106e90152610f3001526135906000f3fe6080604052600436106101fe5760003560e01c8063813afa9b1161011d578063b88d4fde116100b0578063c87b56dd1161007f578063e985e9c511610064578063e985e9c514610661578063f2fde38b146106b7578063fe6d8124146106d757600080fd5b8063c87b56dd14610627578063cb6a0de51461064757600080fd5b8063b88d4fde14610571578063bee0f34014610591578063bf0df445146105a7578063c141bf7a146105bf57600080fd5b8063a1448194116100ec578063a1448194146104fe578063a22cb46514610511578063b2dbd31f14610531578063b39b8afa1461055157600080fd5b8063813afa9b146104425780638da5cb5b146104a7578063949c3038146104d257806395d89b41146104e957600080fd5b806332cb6b0c116101955780636352211e116101645780636352211e146103cd578063690d8320146103ed57806370a082311461040d578063715018a61461042d57600080fd5b806332cb6b0c1461035557806341f434341461036b57806342842e0e1461038d57806355f804b3146103ad57600080fd5b80630b2d61ad116101d15780630b2d61ad146102c157806318160ddd146102e15780631aa5e8721461030857806323b872dd1461033557600080fd5b806301ffc9a71461020357806306fdde0314610238578063081812fc1461025a578063095ea7b31461029f575b600080fd5b34801561020f57600080fd5b5061022361021e366004612da4565b61070b565b60405190151581526020015b60405180910390f35b34801561024457600080fd5b5061024d6107f0565b60405161022f9190612e2f565b34801561026657600080fd5b5061027a610275366004612e42565b610882565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161022f565b3480156102ab57600080fd5b506102bf6102ba366004612e84565b610961565b005b3480156102cd57600080fd5b506102bf6102dc366004612ebc565b61097a565b3480156102ed57600080fd5b50600b54600a5461ffff16015b60405190815260200161022f565b34801561031457600080fd5b506102fa610323366004612ed9565b60096020526000908152604090205481565b34801561034157600080fd5b506102bf610350366004612ef4565b610a2c565b34801561036157600080fd5b506102fa6109c481565b34801561037757600080fd5b5061027a6daaeb6d7670e522a718067333cd4e81565b34801561039957600080fd5b506102bf6103a8366004612ef4565b610a64565b3480156103b957600080fd5b506102bf6103c8366004612ff3565b610a96565b3480156103d957600080fd5b5061027a6103e8366004612e42565b610b27565b3480156103f957600080fd5b506102bf610408366004612ed9565b610bd9565b34801561041957600080fd5b506102fa610428366004612ed9565b610dae565b34801561043957600080fd5b506102bf610e7c565b34801561044e57600080fd5b5061022361045d366004612e42565b6000908152600c602090815260409182902082518084019093525467ffffffffffffffff808216808552680100000000000000009092048116939092018390529190910116421090565b3480156104b357600080fd5b5060065473ffffffffffffffffffffffffffffffffffffffff1661027a565b3480156104de57600080fd5b506102fa62093a8081565b3480156104f557600080fd5b5061024d610f09565b6102bf61050c366004612e84565b610f18565b34801561051d57600080fd5b506102bf61052c36600461303c565b6111ba565b34801561053d57600080fd5b506102bf61054c3660046130bf565b6111ce565b34801561055d57600080fd5b506102bf61056c366004612e42565b6112f7565b34801561057d57600080fd5b506102bf61058c36600461312b565b61137d565b34801561059d57600080fd5b506102fa60085481565b3480156105b357600080fd5b506102fa6301e1338081565b3480156105cb57600080fd5b506106066105da366004612e42565b600c6020526000908152604090205467ffffffffffffffff808216916801000000000000000090041682565b6040805167ffffffffffffffff93841681529290911660208301520161022f565b34801561063357600080fd5b5061024d610642366004612e42565b6113b0565b34801561065357600080fd5b50600d546102239060ff1681565b34801561066d57600080fd5b5061022361067c3660046131a7565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156106c357600080fd5b506102bf6106d2366004612ed9565b6115bb565b3480156106e357600080fd5b5061027a7f000000000000000000000000000000000000000000000000000000000000000081565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061079e57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806107ea57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6060600080546107ff906131da565b80601f016020809104026020016040519081016040528092919081815260200182805461082b906131da565b80156108785780601f1061084d57610100808354040283529160200191610878565b820191906000526020600020905b81548152906001019060200180831161085b57829003601f168201915b5050505050905090565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16610938576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b8161096b816116eb565b61097583836117f0565b505050565b60065473ffffffffffffffffffffffffffffffffffffffff1633146109fb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161092f565b600d80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b8273ffffffffffffffffffffffffffffffffffffffff81163314610a5357610a53336116eb565b610a5e8484846119a2565b50505050565b8273ffffffffffffffffffffffffffffffffffffffff81163314610a8b57610a8b336116eb565b610a5e848484611a43565b60065473ffffffffffffffffffffffffffffffffffffffff163314610b17576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161092f565b6007610b23828261327b565b5050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16806107ea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e0000000000000000000000000000000000000000000000606482015260840161092f565b60065473ffffffffffffffffffffffffffffffffffffffff163314610c5a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161092f565b73ffffffffffffffffffffffffffffffffffffffff8116610cd7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f526563697069656e74206572726f720000000000000000000000000000000000604482015260640161092f565b60004711610d41576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f5468652062616c616e6365206973207a65726f00000000000000000000000000604482015260640161092f565b60008173ffffffffffffffffffffffffffffffffffffffff164760405160006040518083038185875af1925050503d8060008114610d9b576040519150601f19603f3d011682016040523d82523d6000602084013e610da0565b606091505b5050905080610b2357600080fd5b600073ffffffffffffffffffffffffffffffffffffffff8216610e53576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f206164647265737300000000000000000000000000000000000000000000606482015260840161092f565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b60065473ffffffffffffffffffffffffffffffffffffffff163314610efd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161092f565b610f076000611a5e565b565b6060600180546107ff906131da565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610fb7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f496c6c6567616c206d696e746572000000000000000000000000000000000000604482015260640161092f565b3273ffffffffffffffffffffffffffffffffffffffff831614611036576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f436f6e7472616374206d696e74206973206e6f7420737570706f727465640000604482015260640161092f565b6109c48161104b600b54600a5461ffff160190565b0111156110b4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f416c726561647920736f6c64206f757400000000000000000000000000000000604482015260640161092f565b60085473ffffffffffffffffffffffffffffffffffffffff83166000908152600960205260409020548201111561116d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f457863656564656420746865206d6178696d756d206d696e74206c696d69742060448201527f666f722074686973206163636f756e7400000000000000000000000000000000606482015260840161092f565b73ffffffffffffffffffffffffffffffffffffffff821660009081526009602052604081208054830190555b81811015610975576111b2836111ad611ad5565b611cee565b600101611199565b816111c4816116eb565b6109758383611eb0565b600d5460ff1661123a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4c6f636b696e6720636c6f736564000000000000000000000000000000000000604482015260640161092f565b8281146112a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4172726179206c656e677468206d69736d617463680000000000000000000000604482015260640161092f565b60005b838110156112f0576112e88585838181106112c3576112c3613395565b905060200201358484848181106112dc576112dc613395565b90506020020135611ebb565b6001016112a6565b5050505050565b60065473ffffffffffffffffffffffffffffffffffffffff163314611378576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161092f565b600855565b8373ffffffffffffffffffffffffffffffffffffffff811633146113a4576113a4336116eb565b6112f08585858561218e565b60606000600780546113c1906131da565b9150508015801590611462575060076113db6001836133f3565b81546113e6906131da565b81106113f4576113f4613395565b8154600116156114135790600052602060002090602091828204019190065b9054901a7f0100000000000000000000000000000000000000000000000000000000000000027effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916602f60f81b145b156114775761147083612230565b9392505050565b60008381526002602052604090205473ffffffffffffffffffffffffffffffffffffffff16611528576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606482015260840161092f565b60078054611535906131da565b80601f0160208091040260200160405190810160405280929190818152602001828054611561906131da565b80156115ae5780601f10611583576101008083540402835291602001916115ae565b820191906000526020600020905b81548152906001019060200180831161159157829003601f168201915b5050505050915050919050565b60065473ffffffffffffffffffffffffffffffffffffffff16331461163c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161092f565b73ffffffffffffffffffffffffffffffffffffffff81166116df576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161092f565b6116e881611a5e565b50565b6daaeb6d7670e522a718067333cd4e3b156116e8576040517fc617113400000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561177e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117a29190613406565b6116e8576040517fede71dcc00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8216600482015260240161092f565b60006117fb82610b27565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036118b8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f7200000000000000000000000000000000000000000000000000000000000000606482015260840161092f565b3373ffffffffffffffffffffffffffffffffffffffff8216148061190c575073ffffffffffffffffffffffffffffffffffffffff8116600090815260056020908152604080832033845290915290205460ff165b611998576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161092f565b610975838361233f565b6119ac33826123df565b611a38576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161092f565b61097583838361254f565b6109758383836040518060200160405280600081525061137d565b6006805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600b54600a546000919061ffff811660648190037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9c8201611b225750505060018101600b55606501919050565b600084836109c40303905060008160018543030340414843425a604080516020810197909752606095861b7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000169087015260a09390931b7fffffffffffffffffffffffff000000000000000000000000000000000000000016605486015260e091821b7fffffffff0000000000000000000000000000000000000000000000000000000090811694860194909452811b8316606485015290811b8216606884015285901b16606c8201526070016040516020818303038152906040528051906020012060001c81611c1557611c15613423565b069050828110611c335750505060018301600b555050606501919050565b601085901c6000805b6064811015611c8b576001811b8316600003611c8357838203611c7c57600180821b9390931760101b9096018201600a5550939093019695505050505050565b6001909101905b600101611c3c565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f4d696e74206572726f7200000000000000000000000000000000000000000000604482015260640161092f565b73ffffffffffffffffffffffffffffffffffffffff8216611d6b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161092f565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1615611df7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161092f565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290611e2d908490613452565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b610b23338383612608565b62093a80811015611f28576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4c6f636b696e6720706572696f642073686f756c642067746520372064617973604482015260640161092f565b6301e13380811115611fbc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f4c6f636b696e6720706572696f642073686f756c64206c74652033363520646160448201527f7973000000000000000000000000000000000000000000000000000000000000606482015260840161092f565b33611fc683610b27565b73ffffffffffffffffffffffffffffffffffffffff1614612043576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4f6e6c79206f776e65722063616e206c6f636b20746f6b656e00000000000000604482015260640161092f565b6000828152600c602090815260409182902082518084019093525467ffffffffffffffff8082168085526801000000000000000090920481169390920183905291909101164210156120f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f54686520746f6b656e20697320616c7265616479206c6f636b65640000000000604482015260640161092f565b6000828152600c6020908152604091829020805467ffffffffffffffff85811668010000000000000000027fffffffffffffffffffffffffffffffff0000000000000000000000000000000090921642918216179190911790915582513381529182015290810182905282907fdb9f4f483629adc742ab3c617347f30d312040977540207f893353c316e41e659060600160405180910390a25050565b61219833836123df565b612224576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161092f565b610a5e84848484612735565b60008181526002602052604090205460609073ffffffffffffffffffffffffffffffffffffffff166122e4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606482015260840161092f565b60006122ee6127d8565b9050600081511161230e5760405180602001604052806000815250611470565b80612318846127e7565b604051602001612329929190613465565b6040516020818303038152906040529392505050565b600081815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8416908117909155819061239982610b27565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16612490576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e0000000000000000000000000000000000000000606482015260840161092f565b600061249b83610b27565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061250a57508373ffffffffffffffffffffffffffffffffffffffff166124f284610882565b73ffffffffffffffffffffffffffffffffffffffff16145b80612547575073ffffffffffffffffffffffffffffffffffffffff80821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b6000818152600c602090815260409182902082518084019093525467ffffffffffffffff8082168085526801000000000000000090920481169390920183905291909101164210156125fd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f546f6b656e206973206c6f636b696e6700000000000000000000000000000000604482015260640161092f565b61097583838361291c565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361269d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161092f565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526005602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61274084848461254f565b61274c84848484612b83565b610a5e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161092f565b6060600780546107ff906131da565b60608160000361282a57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612854578061283e81613494565b915061284d9050600a836134cc565b915061282e565b60008167ffffffffffffffff81111561286f5761286f612f30565b6040519080825280601f01601f191660200182016040528015612899576020820181803683370190505b5090505b8415612547576128ae6001836133f3565b91506128bb600a866134e0565b6128c6906030613452565b60f81b8183815181106128db576128db613395565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612915600a866134cc565b945061289d565b8273ffffffffffffffffffffffffffffffffffffffff1661293c82610b27565b73ffffffffffffffffffffffffffffffffffffffff16146129df576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e0000000000000000000000000000000000000000000000606482015260840161092f565b73ffffffffffffffffffffffffffffffffffffffff8216612a81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161092f565b612a8c60008261233f565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600360205260408120805460019290612ac29084906133f3565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290612afd908490613452565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600073ffffffffffffffffffffffffffffffffffffffff84163b15612d6b576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290612bfa9033908990889088906004016134f4565b6020604051808303816000875af1925050508015612c53575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252612c509181019061353d565b60015b612d20573d808015612c81576040519150601f19603f3d011682016040523d82523d6000602084013e612c86565b606091505b508051600003612d18576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161092f565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050612547565b506001949350505050565b7fffffffff00000000000000000000000000000000000000000000000000000000811681146116e857600080fd5b600060208284031215612db657600080fd5b813561147081612d76565b60005b83811015612ddc578181015183820152602001612dc4565b50506000910152565b60008151808452612dfd816020860160208601612dc1565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006114706020830184612de5565b600060208284031215612e5457600080fd5b5035919050565b803573ffffffffffffffffffffffffffffffffffffffff81168114612e7f57600080fd5b919050565b60008060408385031215612e9757600080fd5b612ea083612e5b565b946020939093013593505050565b80151581146116e857600080fd5b600060208284031215612ece57600080fd5b813561147081612eae565b600060208284031215612eeb57600080fd5b61147082612e5b565b600080600060608486031215612f0957600080fd5b612f1284612e5b565b9250612f2060208501612e5b565b9150604084013590509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff80841115612f7a57612f7a612f30565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908282118183101715612fc057612fc0612f30565b81604052809350858152868686011115612fd957600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561300557600080fd5b813567ffffffffffffffff81111561301c57600080fd5b8201601f8101841361302d57600080fd5b61254784823560208401612f5f565b6000806040838503121561304f57600080fd5b61305883612e5b565b9150602083013561306881612eae565b809150509250929050565b60008083601f84011261308557600080fd5b50813567ffffffffffffffff81111561309d57600080fd5b6020830191508360208260051b85010111156130b857600080fd5b9250929050565b600080600080604085870312156130d557600080fd5b843567ffffffffffffffff808211156130ed57600080fd5b6130f988838901613073565b9096509450602087013591508082111561311257600080fd5b5061311f87828801613073565b95989497509550505050565b6000806000806080858703121561314157600080fd5b61314a85612e5b565b935061315860208601612e5b565b925060408501359150606085013567ffffffffffffffff81111561317b57600080fd5b8501601f8101871361318c57600080fd5b61319b87823560208401612f5f565b91505092959194509250565b600080604083850312156131ba57600080fd5b6131c383612e5b565b91506131d160208401612e5b565b90509250929050565b600181811c908216806131ee57607f821691505b602082108103613227577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b601f82111561097557600081815260208120601f850160051c810160208610156132545750805b601f850160051c820191505b8181101561327357828155600101613260565b505050505050565b815167ffffffffffffffff81111561329557613295612f30565b6132a9816132a384546131da565b8461322d565b602080601f8311600181146132fc57600084156132c65750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555613273565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b828110156133495788860151825594840194600190910190840161332a565b508582101561338557878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b818103818111156107ea576107ea6133c4565b60006020828403121561341857600080fd5b815161147081612eae565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b808201808211156107ea576107ea6133c4565b60008351613477818460208801612dc1565b83519083019061348b818360208801612dc1565b01949350505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036134c5576134c56133c4565b5060010190565b6000826134db576134db613423565b500490565b6000826134ef576134ef613423565b500690565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526135336080830184612de5565b9695505050505050565b60006020828403121561354f57600080fd5b815161147081612d7656fea2646970667358221220286dc9baf2f1ea79e853f951ab04226d266f3654cc3fbf7fe0a2524880a000ca64736f6c634300081100330000000000000000000000004cc4752155877f4333f25bb9a6f8880567ee1231

Deployed Bytecode

0x6080604052600436106101fe5760003560e01c8063813afa9b1161011d578063b88d4fde116100b0578063c87b56dd1161007f578063e985e9c511610064578063e985e9c514610661578063f2fde38b146106b7578063fe6d8124146106d757600080fd5b8063c87b56dd14610627578063cb6a0de51461064757600080fd5b8063b88d4fde14610571578063bee0f34014610591578063bf0df445146105a7578063c141bf7a146105bf57600080fd5b8063a1448194116100ec578063a1448194146104fe578063a22cb46514610511578063b2dbd31f14610531578063b39b8afa1461055157600080fd5b8063813afa9b146104425780638da5cb5b146104a7578063949c3038146104d257806395d89b41146104e957600080fd5b806332cb6b0c116101955780636352211e116101645780636352211e146103cd578063690d8320146103ed57806370a082311461040d578063715018a61461042d57600080fd5b806332cb6b0c1461035557806341f434341461036b57806342842e0e1461038d57806355f804b3146103ad57600080fd5b80630b2d61ad116101d15780630b2d61ad146102c157806318160ddd146102e15780631aa5e8721461030857806323b872dd1461033557600080fd5b806301ffc9a71461020357806306fdde0314610238578063081812fc1461025a578063095ea7b31461029f575b600080fd5b34801561020f57600080fd5b5061022361021e366004612da4565b61070b565b60405190151581526020015b60405180910390f35b34801561024457600080fd5b5061024d6107f0565b60405161022f9190612e2f565b34801561026657600080fd5b5061027a610275366004612e42565b610882565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161022f565b3480156102ab57600080fd5b506102bf6102ba366004612e84565b610961565b005b3480156102cd57600080fd5b506102bf6102dc366004612ebc565b61097a565b3480156102ed57600080fd5b50600b54600a5461ffff16015b60405190815260200161022f565b34801561031457600080fd5b506102fa610323366004612ed9565b60096020526000908152604090205481565b34801561034157600080fd5b506102bf610350366004612ef4565b610a2c565b34801561036157600080fd5b506102fa6109c481565b34801561037757600080fd5b5061027a6daaeb6d7670e522a718067333cd4e81565b34801561039957600080fd5b506102bf6103a8366004612ef4565b610a64565b3480156103b957600080fd5b506102bf6103c8366004612ff3565b610a96565b3480156103d957600080fd5b5061027a6103e8366004612e42565b610b27565b3480156103f957600080fd5b506102bf610408366004612ed9565b610bd9565b34801561041957600080fd5b506102fa610428366004612ed9565b610dae565b34801561043957600080fd5b506102bf610e7c565b34801561044e57600080fd5b5061022361045d366004612e42565b6000908152600c602090815260409182902082518084019093525467ffffffffffffffff808216808552680100000000000000009092048116939092018390529190910116421090565b3480156104b357600080fd5b5060065473ffffffffffffffffffffffffffffffffffffffff1661027a565b3480156104de57600080fd5b506102fa62093a8081565b3480156104f557600080fd5b5061024d610f09565b6102bf61050c366004612e84565b610f18565b34801561051d57600080fd5b506102bf61052c36600461303c565b6111ba565b34801561053d57600080fd5b506102bf61054c3660046130bf565b6111ce565b34801561055d57600080fd5b506102bf61056c366004612e42565b6112f7565b34801561057d57600080fd5b506102bf61058c36600461312b565b61137d565b34801561059d57600080fd5b506102fa60085481565b3480156105b357600080fd5b506102fa6301e1338081565b3480156105cb57600080fd5b506106066105da366004612e42565b600c6020526000908152604090205467ffffffffffffffff808216916801000000000000000090041682565b6040805167ffffffffffffffff93841681529290911660208301520161022f565b34801561063357600080fd5b5061024d610642366004612e42565b6113b0565b34801561065357600080fd5b50600d546102239060ff1681565b34801561066d57600080fd5b5061022361067c3660046131a7565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156106c357600080fd5b506102bf6106d2366004612ed9565b6115bb565b3480156106e357600080fd5b5061027a7f0000000000000000000000004cc4752155877f4333f25bb9a6f8880567ee123181565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061079e57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806107ea57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b6060600080546107ff906131da565b80601f016020809104026020016040519081016040528092919081815260200182805461082b906131da565b80156108785780601f1061084d57610100808354040283529160200191610878565b820191906000526020600020905b81548152906001019060200180831161085b57829003601f168201915b5050505050905090565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16610938576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b8161096b816116eb565b61097583836117f0565b505050565b60065473ffffffffffffffffffffffffffffffffffffffff1633146109fb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161092f565b600d80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b8273ffffffffffffffffffffffffffffffffffffffff81163314610a5357610a53336116eb565b610a5e8484846119a2565b50505050565b8273ffffffffffffffffffffffffffffffffffffffff81163314610a8b57610a8b336116eb565b610a5e848484611a43565b60065473ffffffffffffffffffffffffffffffffffffffff163314610b17576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161092f565b6007610b23828261327b565b5050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16806107ea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e0000000000000000000000000000000000000000000000606482015260840161092f565b60065473ffffffffffffffffffffffffffffffffffffffff163314610c5a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161092f565b73ffffffffffffffffffffffffffffffffffffffff8116610cd7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f526563697069656e74206572726f720000000000000000000000000000000000604482015260640161092f565b60004711610d41576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f5468652062616c616e6365206973207a65726f00000000000000000000000000604482015260640161092f565b60008173ffffffffffffffffffffffffffffffffffffffff164760405160006040518083038185875af1925050503d8060008114610d9b576040519150601f19603f3d011682016040523d82523d6000602084013e610da0565b606091505b5050905080610b2357600080fd5b600073ffffffffffffffffffffffffffffffffffffffff8216610e53576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f206164647265737300000000000000000000000000000000000000000000606482015260840161092f565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b60065473ffffffffffffffffffffffffffffffffffffffff163314610efd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161092f565b610f076000611a5e565b565b6060600180546107ff906131da565b3373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000004cc4752155877f4333f25bb9a6f8880567ee12311614610fb7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f496c6c6567616c206d696e746572000000000000000000000000000000000000604482015260640161092f565b3273ffffffffffffffffffffffffffffffffffffffff831614611036576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f436f6e7472616374206d696e74206973206e6f7420737570706f727465640000604482015260640161092f565b6109c48161104b600b54600a5461ffff160190565b0111156110b4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f416c726561647920736f6c64206f757400000000000000000000000000000000604482015260640161092f565b60085473ffffffffffffffffffffffffffffffffffffffff83166000908152600960205260409020548201111561116d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f457863656564656420746865206d6178696d756d206d696e74206c696d69742060448201527f666f722074686973206163636f756e7400000000000000000000000000000000606482015260840161092f565b73ffffffffffffffffffffffffffffffffffffffff821660009081526009602052604081208054830190555b81811015610975576111b2836111ad611ad5565b611cee565b600101611199565b816111c4816116eb565b6109758383611eb0565b600d5460ff1661123a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4c6f636b696e6720636c6f736564000000000000000000000000000000000000604482015260640161092f565b8281146112a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4172726179206c656e677468206d69736d617463680000000000000000000000604482015260640161092f565b60005b838110156112f0576112e88585838181106112c3576112c3613395565b905060200201358484848181106112dc576112dc613395565b90506020020135611ebb565b6001016112a6565b5050505050565b60065473ffffffffffffffffffffffffffffffffffffffff163314611378576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161092f565b600855565b8373ffffffffffffffffffffffffffffffffffffffff811633146113a4576113a4336116eb565b6112f08585858561218e565b60606000600780546113c1906131da565b9150508015801590611462575060076113db6001836133f3565b81546113e6906131da565b81106113f4576113f4613395565b8154600116156114135790600052602060002090602091828204019190065b9054901a7f0100000000000000000000000000000000000000000000000000000000000000027effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916602f60f81b145b156114775761147083612230565b9392505050565b60008381526002602052604090205473ffffffffffffffffffffffffffffffffffffffff16611528576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606482015260840161092f565b60078054611535906131da565b80601f0160208091040260200160405190810160405280929190818152602001828054611561906131da565b80156115ae5780601f10611583576101008083540402835291602001916115ae565b820191906000526020600020905b81548152906001019060200180831161159157829003601f168201915b5050505050915050919050565b60065473ffffffffffffffffffffffffffffffffffffffff16331461163c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161092f565b73ffffffffffffffffffffffffffffffffffffffff81166116df576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161092f565b6116e881611a5e565b50565b6daaeb6d7670e522a718067333cd4e3b156116e8576040517fc617113400000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561177e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117a29190613406565b6116e8576040517fede71dcc00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8216600482015260240161092f565b60006117fb82610b27565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036118b8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f7200000000000000000000000000000000000000000000000000000000000000606482015260840161092f565b3373ffffffffffffffffffffffffffffffffffffffff8216148061190c575073ffffffffffffffffffffffffffffffffffffffff8116600090815260056020908152604080832033845290915290205460ff165b611998576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161092f565b610975838361233f565b6119ac33826123df565b611a38576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161092f565b61097583838361254f565b6109758383836040518060200160405280600081525061137d565b6006805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600b54600a546000919061ffff811660648190037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9c8201611b225750505060018101600b55606501919050565b600084836109c40303905060008160018543030340414843425a604080516020810197909752606095861b7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000169087015260a09390931b7fffffffffffffffffffffffff000000000000000000000000000000000000000016605486015260e091821b7fffffffff0000000000000000000000000000000000000000000000000000000090811694860194909452811b8316606485015290811b8216606884015285901b16606c8201526070016040516020818303038152906040528051906020012060001c81611c1557611c15613423565b069050828110611c335750505060018301600b555050606501919050565b601085901c6000805b6064811015611c8b576001811b8316600003611c8357838203611c7c57600180821b9390931760101b9096018201600a5550939093019695505050505050565b6001909101905b600101611c3c565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f4d696e74206572726f7200000000000000000000000000000000000000000000604482015260640161092f565b73ffffffffffffffffffffffffffffffffffffffff8216611d6b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161092f565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1615611df7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161092f565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290611e2d908490613452565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b610b23338383612608565b62093a80811015611f28576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4c6f636b696e6720706572696f642073686f756c642067746520372064617973604482015260640161092f565b6301e13380811115611fbc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f4c6f636b696e6720706572696f642073686f756c64206c74652033363520646160448201527f7973000000000000000000000000000000000000000000000000000000000000606482015260840161092f565b33611fc683610b27565b73ffffffffffffffffffffffffffffffffffffffff1614612043576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4f6e6c79206f776e65722063616e206c6f636b20746f6b656e00000000000000604482015260640161092f565b6000828152600c602090815260409182902082518084019093525467ffffffffffffffff8082168085526801000000000000000090920481169390920183905291909101164210156120f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f54686520746f6b656e20697320616c7265616479206c6f636b65640000000000604482015260640161092f565b6000828152600c6020908152604091829020805467ffffffffffffffff85811668010000000000000000027fffffffffffffffffffffffffffffffff0000000000000000000000000000000090921642918216179190911790915582513381529182015290810182905282907fdb9f4f483629adc742ab3c617347f30d312040977540207f893353c316e41e659060600160405180910390a25050565b61219833836123df565b612224576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161092f565b610a5e84848484612735565b60008181526002602052604090205460609073ffffffffffffffffffffffffffffffffffffffff166122e4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606482015260840161092f565b60006122ee6127d8565b9050600081511161230e5760405180602001604052806000815250611470565b80612318846127e7565b604051602001612329929190613465565b6040516020818303038152906040529392505050565b600081815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8416908117909155819061239982610b27565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16612490576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e0000000000000000000000000000000000000000606482015260840161092f565b600061249b83610b27565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061250a57508373ffffffffffffffffffffffffffffffffffffffff166124f284610882565b73ffffffffffffffffffffffffffffffffffffffff16145b80612547575073ffffffffffffffffffffffffffffffffffffffff80821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b6000818152600c602090815260409182902082518084019093525467ffffffffffffffff8082168085526801000000000000000090920481169390920183905291909101164210156125fd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f546f6b656e206973206c6f636b696e6700000000000000000000000000000000604482015260640161092f565b61097583838361291c565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361269d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161092f565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526005602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61274084848461254f565b61274c84848484612b83565b610a5e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161092f565b6060600780546107ff906131da565b60608160000361282a57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612854578061283e81613494565b915061284d9050600a836134cc565b915061282e565b60008167ffffffffffffffff81111561286f5761286f612f30565b6040519080825280601f01601f191660200182016040528015612899576020820181803683370190505b5090505b8415612547576128ae6001836133f3565b91506128bb600a866134e0565b6128c6906030613452565b60f81b8183815181106128db576128db613395565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612915600a866134cc565b945061289d565b8273ffffffffffffffffffffffffffffffffffffffff1661293c82610b27565b73ffffffffffffffffffffffffffffffffffffffff16146129df576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e0000000000000000000000000000000000000000000000606482015260840161092f565b73ffffffffffffffffffffffffffffffffffffffff8216612a81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161092f565b612a8c60008261233f565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600360205260408120805460019290612ac29084906133f3565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290612afd908490613452565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600073ffffffffffffffffffffffffffffffffffffffff84163b15612d6b576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290612bfa9033908990889088906004016134f4565b6020604051808303816000875af1925050508015612c53575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252612c509181019061353d565b60015b612d20573d808015612c81576040519150601f19603f3d011682016040523d82523d6000602084013e612c86565b606091505b508051600003612d18576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161092f565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050612547565b506001949350505050565b7fffffffff00000000000000000000000000000000000000000000000000000000811681146116e857600080fd5b600060208284031215612db657600080fd5b813561147081612d76565b60005b83811015612ddc578181015183820152602001612dc4565b50506000910152565b60008151808452612dfd816020860160208601612dc1565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006114706020830184612de5565b600060208284031215612e5457600080fd5b5035919050565b803573ffffffffffffffffffffffffffffffffffffffff81168114612e7f57600080fd5b919050565b60008060408385031215612e9757600080fd5b612ea083612e5b565b946020939093013593505050565b80151581146116e857600080fd5b600060208284031215612ece57600080fd5b813561147081612eae565b600060208284031215612eeb57600080fd5b61147082612e5b565b600080600060608486031215612f0957600080fd5b612f1284612e5b565b9250612f2060208501612e5b565b9150604084013590509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff80841115612f7a57612f7a612f30565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908282118183101715612fc057612fc0612f30565b81604052809350858152868686011115612fd957600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561300557600080fd5b813567ffffffffffffffff81111561301c57600080fd5b8201601f8101841361302d57600080fd5b61254784823560208401612f5f565b6000806040838503121561304f57600080fd5b61305883612e5b565b9150602083013561306881612eae565b809150509250929050565b60008083601f84011261308557600080fd5b50813567ffffffffffffffff81111561309d57600080fd5b6020830191508360208260051b85010111156130b857600080fd5b9250929050565b600080600080604085870312156130d557600080fd5b843567ffffffffffffffff808211156130ed57600080fd5b6130f988838901613073565b9096509450602087013591508082111561311257600080fd5b5061311f87828801613073565b95989497509550505050565b6000806000806080858703121561314157600080fd5b61314a85612e5b565b935061315860208601612e5b565b925060408501359150606085013567ffffffffffffffff81111561317b57600080fd5b8501601f8101871361318c57600080fd5b61319b87823560208401612f5f565b91505092959194509250565b600080604083850312156131ba57600080fd5b6131c383612e5b565b91506131d160208401612e5b565b90509250929050565b600181811c908216806131ee57607f821691505b602082108103613227577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b601f82111561097557600081815260208120601f850160051c810160208610156132545750805b601f850160051c820191505b8181101561327357828155600101613260565b505050505050565b815167ffffffffffffffff81111561329557613295612f30565b6132a9816132a384546131da565b8461322d565b602080601f8311600181146132fc57600084156132c65750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555613273565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b828110156133495788860151825594840194600190910190840161332a565b508582101561338557878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b818103818111156107ea576107ea6133c4565b60006020828403121561341857600080fd5b815161147081612eae565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b808201808211156107ea576107ea6133c4565b60008351613477818460208801612dc1565b83519083019061348b818360208801612dc1565b01949350505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036134c5576134c56133c4565b5060010190565b6000826134db576134db613423565b500490565b6000826134ef576134ef613423565b500690565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526135336080830184612de5565b9695505050505050565b60006020828403121561354f57600080fd5b815161147081612d7656fea2646970667358221220286dc9baf2f1ea79e853f951ab04226d266f3654cc3fbf7fe0a2524880a000ca64736f6c63430008110033

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

0000000000000000000000004cc4752155877f4333f25bb9a6f8880567ee1231

-----Decoded View---------------
Arg [0] : minter (address): 0x4cc4752155877F4333f25bB9A6F8880567ee1231

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000004cc4752155877f4333f25bb9a6f8880567ee1231


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.