Contract 0xf7D134224A66C6A4DDeb7dEe714A280b99044805 4

 
 
Txn Hash
Method
Block
From
To
Value
0x8ad10cd8f433199d0012b88c812f21040c1f7ed7df61de6bc28997136337c548Set Approval For...161107642022-12-04 10:11:232 hrs 6 mins agoENS Name beardedksum.eth IN  0xf7d134224a66c6a4ddeb7dee714a280b990448050 Ether0.00055644 11.926642
0x3beadf202e653786f449d85f69dc130d36dcc2815446e87e2616c4f9cd79978aSet Approval For...161103122022-12-04 8:39:593 hrs 38 mins agoENS Name 09633.eth IN  0xf7d134224a66c6a4ddeb7dee714a280b990448050 Ether0.0005818 12.47006303
0x0f20a7870c51b7ef50c58ba7213a95c8a48c776a7c745de5b295987be18b8e4fSet Approval For...161089392022-12-04 4:03:598 hrs 14 mins agoENS Name 170755.eth IN  0xf7d134224a66c6a4ddeb7dee714a280b990448050 Ether0.00052974 11.35436813
0x584d03293416bffbdfab1ba374177c5161009e255ee7039f460bc00ab7452b9aSet Approval For...161066342022-12-03 20:21:1115 hrs 57 mins agoENS Name fomokingz.eth IN  0xf7d134224a66c6a4ddeb7dee714a280b990448050 Ether0.00060963 13.06655308
0x7dd65ced6144801c5f15a1e832a6a4cd1400c2f73aef8b8f4615732d4cd6b9e2Set Approval For...161052562022-12-03 15:43:2320 hrs 34 mins ago0xc926653632a40d3c59919f4d153c736aac17328c IN  0xf7d134224a66c6a4ddeb7dee714a280b990448050 Ether0.00064406 13.79737223
0x7e5ba1e568cac108b72b55acaa64158384126d8be268fe85b20a827616ff7bb8Set Approval For...161052542022-12-03 15:42:5920 hrs 35 mins ago0xc926653632a40d3c59919f4d153c736aac17328c IN  0xf7d134224a66c6a4ddeb7dee714a280b990448050 Ether0.00052875 11.3330521
0xe7b99f4d12b7f9a3b033275db16bfac1cc94608c40c3dd4b57fd3c6e7e6ffc40Set Approval For...161052462022-12-03 15:41:2320 hrs 36 mins ago0xa5bb7e1b8fddf97ad98b4982593573dc4b22248c IN  0xf7d134224a66c6a4ddeb7dee714a280b990448050 Ether0.0005722 12.26432183
0xd025d4c177412da0abb7ce0568a295fa795e67a7d68d796cd94e7421761b3adbSet Approval For...161050412022-12-03 14:59:5921 hrs 18 mins ago0xbd45c0c21ad360df43ac5c5f84979b988eb6b74e IN  0xf7d134224a66c6a4ddeb7dee714a280b990448050 Ether0.00030179 12.18471788
0xa1f5bc78091c5a362cdc755c2b12b5a4ab0eea4c8d9c59d519847e692a677e55Set Approval For...161049522022-12-03 14:42:1121 hrs 36 mins ago0x9953af11abb28047803f424231066efe8bcb9001 IN  0xf7d134224a66c6a4ddeb7dee714a280b990448050 Ether0.00060968 13.06760796
0x18cdee2df2eb6bda793f917acb104af913279c3e5b64399829cc9076871b3763Set Approval For...161033132022-12-03 9:11:591 day 3 hrs agoENS Name topsniper.eth IN  0xf7d134224a66c6a4ddeb7dee714a280b990448050 Ether0.00048326 10.35801093
0xf4008db717c45e0e216ee1bc069b33ebfa58a303b4c3c68e3d9f7926ccf9d32bSet Approval For...161032782022-12-03 9:04:591 day 3 hrs agoENS Name harlan009.eth IN  0xf7d134224a66c6a4ddeb7dee714a280b990448050 Ether0.0005714 12.24724575
0xff4e8423c49da68bc3b12e6287b444b4cf134e2f95c4e51460322d80f1f71c41Set Approval For...161032782022-12-03 9:04:591 day 3 hrs agoENS Name harlan009.eth IN  0xf7d134224a66c6a4ddeb7dee714a280b990448050 Ether0.0005717 12.24724575
0xfc80a64d64aeda61aa495004e48b9c25516ae14925b90ab67b29ae95770e14d8Set Approval For...161032532022-12-03 8:59:591 day 3 hrs ago0xd89a275d7d681ef6d8725bcaca9233f9fb601ebf IN  0xf7d134224a66c6a4ddeb7dee714a280b990448050 Ether0.00051724 11.08645516
0x674e3a285c3d5ceac59c13a36b9bba9f7310b4cb78d959a95e643b0a38889d13Safe Transfer Fr...161032472022-12-03 8:58:471 day 3 hrs ago0x0c0b08d7d9468f65fe732c10a274dd7d77e0cf18 IN  0xf7d134224a66c6a4ddeb7dee714a280b990448050 Ether0.000734 11.91842982
0xe9952b862d6e2b54011f7a45b4eacdf96bebd861e4d9675faea03234bb4aebc9Set Approval For...161032422022-12-03 8:57:471 day 3 hrs agoENS Name alexiuss.eth IN  0xf7d134224a66c6a4ddeb7dee714a280b990448050 Ether0.00055218 11.8351761
0xe5989d1b34f55675fc9278db6b4694286cf75c8a99d8a4a0b99c90b4157a449fSet Approval For...161032412022-12-03 8:57:351 day 3 hrs agoENS Name lowskii.eth IN  0xf7d134224a66c6a4ddeb7dee714a280b990448050 Ether0.00057931 12.41678126
0x8c525c86f65c1c9749064a301a54533bd5a42402377694955e5cf147d1ea14d9Set Approval For...161032142022-12-03 8:52:111 day 3 hrs agoENS Name happyflip.eth IN  0xf7d134224a66c6a4ddeb7dee714a280b990448050 Ether0.0005282 11.3212194
0x652c7acb0ffb76156ad646e522553665db83c5253b121a0e2124b839465d0bd7Set Approval For...161030922022-12-03 8:27:471 day 3 hrs agoENS Name *.eth IN  0xf7d134224a66c6a4ddeb7dee714a280b990448050 Ether0.00051819 11.10671448
0xaf9e32d0224ca0bc440609b9ea22c2fe0a72bf39eab436a2dedf1e2f5b553b2dSet Approval For...161007202022-12-03 0:31:231 day 11 hrs agoENS Name nfteased.eth IN  0xf7d134224a66c6a4ddeb7dee714a280b990448050 Ether0.00058135 12.46046631
0xe171ba6f6d50cd4fdbf3a957257983d1029ef0b57fcba7a56b940ff363499255Set Approval For...160998092022-12-02 21:28:351 day 14 hrs ago0x19c39487459bd73bf7a50f0b20225cb083ec3c61 IN  0xf7d134224a66c6a4ddeb7dee714a280b990448050 Ether0.00031098 12.55605085
0xdb51ac21f95e5e411651025e4da99959d4655f8520390c606ef86eab4f5e78b4Set Approval For...160998082022-12-02 21:28:231 day 14 hrs ago0x19c39487459bd73bf7a50f0b20225cb083ec3c61 IN  0xf7d134224a66c6a4ddeb7dee714a280b990448050 Ether0.0003224 12.98569391
0xee8e7cb74a525703af811c6f37ac33289276344c6f0cdc9d2e5c4904e15d1d0aSet Approval For...160998012022-12-02 21:26:591 day 14 hrs ago0x19c39487459bd73bf7a50f0b20225cb083ec3c61 IN  0xf7d134224a66c6a4ddeb7dee714a280b990448050 Ether0.00058519 12.53638127
0x8e290d70cc1f3fe6a1cf5b9f052307c73fd7f0f14006e065eac8500e4d8bc8a9Set Approval For...160971282022-12-02 12:29:111 day 23 hrs agoENS Name cicada.eth IN  0xf7d134224a66c6a4ddeb7dee714a280b990448050 Ether0.00053053 11.36526503
0x48c63dc2a509dc77c1927c161462ed7b42b4e9bf3bb1a3ec2f59a2c7a2d1fba3Set Approval For...160965012022-12-02 10:23:112 days 1 hr ago0x059f8b5418cfeb11bd16659f1bb2854efade2a25 IN  0xf7d134224a66c6a4ddeb7dee714a280b990448050 Ether0.00053431 11.44638723
0xb8c139498029071a47c0c999dc7fea2487165bbc1742f8c3bbb8b55220eb6062Set Approval For...160963852022-12-02 9:59:592 days 2 hrs agoENS Name expoap.eth IN  0xf7d134224a66c6a4ddeb7dee714a280b990448050 Ether0.00027477 11.06711294
[ Download CSV Export 
Latest 6 internal transactions
Parent Txn Hash Block From To Value
0x02a5f1ff40c777cc01d54ae1483d3652903a99392b50f0419395d8b07acfa879149364782022-06-10 4:19:29177 days 7 hrs ago 0xf7d134224a66c6a4ddeb7dee714a280b99044805 0x0af1262212c35aa2160fd210693e3b1c504ab9bc1,169.619 Ether
0x611d5fc66a2d467f8c3279cd39e157f27b59e0bcfb194c7add219810028fc907149347742022-06-09 21:33:12177 days 14 hrs ago 0x0fb11dd6cc3e434565d20d1aada1469d3fe0d8ce 0xf7d134224a66c6a4ddeb7dee714a280b990448050.069 Ether
0xf946f12c0c83ffe5ff6657e8214eea98a8de035914cfb385897b0bbbf1679db2149343412022-06-09 19:39:21177 days 16 hrs ago 0x0430c13383439524a8c5dcf098b425d011bfee1b 0xf7d134224a66c6a4ddeb7dee714a280b990448050.069 Ether
0x746b96146be3e2f29e89d8e7957217db56ad7791a59fd98190d77b5bb0b4284e149343292022-06-09 19:36:46177 days 16 hrs ago 0x0430c13383439524a8c5dcf098b425d011bfee1b 0xf7d134224a66c6a4ddeb7dee714a280b990448050.069 Ether
0xf9b975d1bdc4a8a1c850febe012daa848ebbfe14f8e3839df39973e06b00e73f149336502022-06-09 16:54:16177 days 19 hrs ago 0x3bbe72831dcb6acce1d976cea4df4c222730a1aa 0xf7d134224a66c6a4ddeb7dee714a280b990448050.345 Ether
0x3009222743f2ef2c4e4532af3d28e3e7dbf8156c2e96b09493d333cff64041ff149335572022-06-09 16:26:53177 days 19 hrs ago 0x3bbe72831dcb6acce1d976cea4df4c222730a1aa 0xf7d134224a66c6a4ddeb7dee714a280b990448050.207 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
endofsartoshi

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
No with 200 runs

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

/*
              _                     
 _ ._  _|  __|_  _ _..__|_ _  _|_ o 
(/_| |(_| (_)|  _>(_||  |_(_)_>| ||
*/

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Royalty.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";

contract endofsartoshi is ERC721Royalty, Ownable, AccessControl {
    bytes32 public constant SUPPORT_ROLE = keccak256("SUPPORT");
    uint256 public constant MAX_PUBLIC_MINT = 20 + 1; // max mints per tx (+1 intentional for gas checks)
    uint256 public totalSupply;
    uint256 public price = 0.069 ether;
    uint256 public reserveSupply = 100;
    string private _baseURIExtended;
    address payable public immutable receiverAddress;
    bool public saleActive; // public sale flag (false on deploy)

    constructor(address payable receiverAddress_) ERC721("end of sartoshi", "END") {
        require(receiverAddress_ != address(0), "Receiver can't be 0x0");

        // set up support role
        _grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _grantRole(SUPPORT_ROLE, msg.sender);

        receiverAddress = payable(receiverAddress_);
    }

    modifier saleIsActive() {
        require(saleActive, "Sale not live");
        _;
    }

    /**
     * @notice Start or stop the public mint.
     * @param state bool "true" (sale open) or "false" (sale closed)
     */
    function setSaleActive(bool state) external onlyRole(SUPPORT_ROLE) {
        saleActive = state;
    }

    /**
     * @notice Mint reserve tokens.
     * @param to Recipient address.
     * @param numberToMint Quantity of tokens to mint.
     */
    function devMint(address to, uint256 numberToMint) external onlyRole(SUPPORT_ROLE) {
        uint256 reserveSupply_ = reserveSupply;
        require(numberToMint <= reserveSupply_, "Exceeds reserve limit");
        reserveSupply = reserveSupply_ - numberToMint;
        _mintTokens(to, numberToMint);
    }

    /**
     * @notice Public mint function.
     * @param numberToMint Quantity of tokens to mint.
     */
    function mint(uint256 numberToMint) external payable saleIsActive {
        require(numberToMint < MAX_PUBLIC_MINT, "Exceeds max mints per tx");
        require(msg.value == price * numberToMint, "Wrong ETH value");
        _mintTokens(msg.sender, numberToMint);
    }

    /**
     * @notice Set a new base URI for token metadata.
     * @param baseURI_ The new base URI to set.
     */
    function setBaseURI(string calldata baseURI_) external onlyRole(SUPPORT_ROLE) {
        _baseURIExtended = baseURI_;
    }

    /**
     * @notice Withdraw funds.
     */
    function withdraw() external onlyRole(SUPPORT_ROLE) {
        uint256 balance = address(this).balance;
        (bool success, ) = receiverAddress.call{value: balance}("");
        require(success, "Withdraw failed");
    }

    /**
     * @dev Handles minting from multiple functions.
     * @param to Recipient of the tokens.
     * @param numberToMint Quantity of tokens to mint.
     */
    function _mintTokens(address to, uint256 numberToMint) internal {
        require(numberToMint > 0, "Zero mint");
        uint256 currentSupply_ = totalSupply; // memory variable
        for (uint256 i; i < numberToMint; ++i) {
            _safeMint(to, currentSupply_++); // mint then increment
        }
        totalSupply = currentSupply_; // update storage
    }

    /**
     * @dev Override ERC721 to return a baseURI prefix on tokenURI().
     */
    function _baseURI() internal view virtual override returns (string memory) {
        return _baseURIExtended;
    }

    /**
     * @dev Override supers.
     */
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC721Royalty, AccessControl)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }

    // ERC2981 Royalty functions
    /**
     * @dev See {ERC2981-_setDefaultRoyalty}.
     */
    function setDefaultRoyalty(address receiver, uint96 feeNumerator) external onlyRole(SUPPORT_ROLE) {
        _setDefaultRoyalty(receiver, feeNumerator);
    }

    /**
     * @dev See {ERC2981-_deleteDefaultRoyalty}.
     */
    function deleteDefaultRoyalty() external onlyRole(SUPPORT_ROLE) {
        _deleteDefaultRoyalty();
    }

    /**
     * @dev See {ERC2981-_setTokenRoyalty}.
     */
    function setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) external onlyRole(SUPPORT_ROLE) {
        _setTokenRoyalty(tokenId, receiver, feeNumerator);
    }

    /**
     * @dev See {ERC2981-_resetTokenRoyalty}.
     */
    function resetTokenRoyalty(uint256 tokenId) external onlyRole(SUPPORT_ROLE) {
        _resetTokenRoyalty(tokenId);
    }
}

File 2 of 16 : ERC721Royalty.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/ERC721Royalty.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "../../common/ERC2981.sol";
import "../../../utils/introspection/ERC165.sol";

/**
 * @dev Extension of ERC721 with the ERC2981 NFT Royalty Standard, a standardized way to retrieve royalty payment
 * information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC721Royalty is ERC2981, ERC721 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC2981) returns (bool) {
        return super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {ERC721-_burn}. This override additionally clears the royalty information for the token.
     */
    function _burn(uint256 tokenId) internal virtual override {
        super._burn(tokenId);
        _resetTokenRoyalty(tokenId);
    }
}

File 3 of 16 : 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 16 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: 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 overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not 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 || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

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

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

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

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

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

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

        _afterTokenTransfer(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);

        _afterTokenTransfer(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 from incorrect owner");
        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);

        _afterTokenTransfer(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 {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 6 of 16 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `tokenId` must be already minted.
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

File 7 of 16 : 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 8 of 16 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must 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 Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

pragma solidity ^0.8.0;

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

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 16 of 16 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address payable","name":"receiverAddress_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PUBLIC_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SUPPORT_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deleteDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"numberToMint","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberToMint","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","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":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"receiverAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"resetTokenRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"state","type":"bool"}],"name":"setSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setTokenRoyalty","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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a060405266f5232269808000600b556064600c553480156200002157600080fd5b50604051620053fd380380620053fd8339818101604052810190620000479190620004f1565b6040518060400160405280600f81526020017f656e64206f6620736172746f73686900000000000000000000000000000000008152506040518060400160405280600381526020017f454e4400000000000000000000000000000000000000000000000000000000008152508160029080519060200190620000cb9291906200042a565b508060039080519060200190620000e49291906200042a565b50505062000107620000fb620001ff60201b60201c565b6200020760201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156200017a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000171906200054a565b60405180910390fd5b6200018f6000801b33620002cd60201b60201c565b620001c17fd8acb51ff3d48f690a25887aaf234c4ae5a66ab9839243cd8e2b639cade0663b33620002cd60201b60201c565b8073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b81525050506200065e565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002df8282620003bf60201b60201c565b620003bb5760016009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555062000360620001ff60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b8280546200043890620005b1565b90600052602060002090601f0160209004810192826200045c5760008555620004a8565b82601f106200047757805160ff1916838001178555620004a8565b82800160010185558215620004a8579182015b82811115620004a75782518255916020019190600101906200048a565b5b509050620004b79190620004bb565b5090565b5b80821115620004d6576000816000905550600101620004bc565b5090565b600081519050620004eb8162000644565b92915050565b6000602082840312156200050a576200050962000616565b5b60006200051a84828501620004da565b91505092915050565b6000620005326015836200056c565b91506200053f826200061b565b602082019050919050565b60006020820190508181036000830152620005658162000523565b9050919050565b600082825260208201905092915050565b60006200058a8262000591565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006002820490506001821680620005ca57607f821691505b60208210811415620005e157620005e0620005e7565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600080fd5b7f52656365697665722063616e2774206265203078300000000000000000000000600082015250565b6200064f816200057d565b81146200065b57600080fd5b50565b60805160601c614d796200068460003960008181610b7e0152610ee80152614d796000f3fe6080604052600436106102305760003560e01c806365f130971161012e578063a035b1fe116100ab578063b88d4fde1161006f578063b88d4fde14610807578063c87b56dd14610830578063d547741f1461086d578063e985e9c514610896578063f2fde38b146108d357610230565b8063a035b1fe14610755578063a0712d6814610780578063a217fddf1461079c578063a22cb465146107c7578063aa1b103f146107f057610230565b80638a616bc0116100f25780638a616bc01461066e5780638da5cb5b1461069757806391d14854146106c257806394b059ab146106ff57806395d89b411461072a57610230565b806365f130971461059b57806368428a1b146105c657806370a08231146105f1578063715018a61461062e578063841718a61461064557610230565b8063248a9ca3116101bc57806342842e0e1161018057806342842e0e146104ba57806355f804b3146104e35780635944c7531461050c578063627804af146105355780636352211e1461055e57610230565b8063248a9ca3146103d65780632a55205a146104135780632f2ff15d1461045157806336568abe1461047a5780633ccfd60b146104a357610230565b8063081812fc11610203578063081812fc146102f1578063095ea7b31461032e57806316fed3e21461035757806318160ddd1461038257806323b872dd146103ad57610230565b806301ffc9a71461023557806303d41eb61461027257806304634d8d1461029d57806306fdde03146102c6575b600080fd5b34801561024157600080fd5b5061025c600480360381019061025791906135d9565b6108fc565b6040516102699190613d66565b60405180910390f35b34801561027e57600080fd5b5061028761090e565b604051610294919061411e565b60405180910390f35b3480156102a957600080fd5b506102c460048036038101906102bf91906134ff565b610914565b005b3480156102d257600080fd5b506102db61094d565b6040516102e89190613d9c565b60405180910390f35b3480156102fd57600080fd5b5061031860048036038101906103139190613680565b6109df565b6040516103259190613cbb565b60405180910390f35b34801561033a57600080fd5b50610355600480360381019061035091906134bf565b610a64565b005b34801561036357600080fd5b5061036c610b7c565b6040516103799190613cd6565b60405180910390f35b34801561038e57600080fd5b50610397610ba0565b6040516103a4919061411e565b60405180910390f35b3480156103b957600080fd5b506103d460048036038101906103cf91906133a9565b610ba6565b005b3480156103e257600080fd5b506103fd60048036038101906103f8919061356c565b610c06565b60405161040a9190613d81565b60405180910390f35b34801561041f57600080fd5b5061043a60048036038101906104359190613700565b610c26565b604051610448929190613d3d565b60405180910390f35b34801561045d57600080fd5b5061047860048036038101906104739190613599565b610e11565b005b34801561048657600080fd5b506104a1600480360381019061049c9190613599565b610e32565b005b3480156104af57600080fd5b506104b8610eb5565b005b3480156104c657600080fd5b506104e160048036038101906104dc91906133a9565b610fb5565b005b3480156104ef57600080fd5b5061050a60048036038101906105059190613633565b610fd5565b005b34801561051857600080fd5b50610533600480360381019061052e91906136ad565b611016565b005b34801561054157600080fd5b5061055c600480360381019061055791906134bf565b611051565b005b34801561056a57600080fd5b5061058560048036038101906105809190613680565b6110e7565b6040516105929190613cbb565b60405180910390f35b3480156105a757600080fd5b506105b0611199565b6040516105bd919061411e565b60405180910390f35b3480156105d257600080fd5b506105db61119e565b6040516105e89190613d66565b60405180910390f35b3480156105fd57600080fd5b506106186004803603810190610613919061333c565b6111b1565b604051610625919061411e565b60405180910390f35b34801561063a57600080fd5b50610643611269565b005b34801561065157600080fd5b5061066c6004803603810190610667919061353f565b6112f1565b005b34801561067a57600080fd5b5061069560048036038101906106909190613680565b611339565b005b3480156106a357600080fd5b506106ac611370565b6040516106b99190613cbb565b60405180910390f35b3480156106ce57600080fd5b506106e960048036038101906106e49190613599565b61139a565b6040516106f69190613d66565b60405180910390f35b34801561070b57600080fd5b50610714611405565b6040516107219190613d81565b60405180910390f35b34801561073657600080fd5b5061073f611429565b60405161074c9190613d9c565b60405180910390f35b34801561076157600080fd5b5061076a6114bb565b604051610777919061411e565b60405180910390f35b61079a60048036038101906107959190613680565b6114c1565b005b3480156107a857600080fd5b506107b16115af565b6040516107be9190613d81565b60405180910390f35b3480156107d357600080fd5b506107ee60048036038101906107e9919061347f565b6115b6565b005b3480156107fc57600080fd5b506108056115cc565b005b34801561081357600080fd5b5061082e600480360381019061082991906133fc565b611601565b005b34801561083c57600080fd5b5061085760048036038101906108529190613680565b611663565b6040516108649190613d9c565b60405180910390f35b34801561087957600080fd5b50610894600480360381019061088f9190613599565b61170a565b005b3480156108a257600080fd5b506108bd60048036038101906108b89190613369565b61172b565b6040516108ca9190613d66565b60405180910390f35b3480156108df57600080fd5b506108fa60048036038101906108f5919061333c565b6117bf565b005b6000610907826118b7565b9050919050565b600c5481565b7fd8acb51ff3d48f690a25887aaf234c4ae5a66ab9839243cd8e2b639cade0663b61093e81611931565b6109488383611945565b505050565b60606002805461095c90614406565b80601f016020809104026020016040519081016040528092919081815260200182805461098890614406565b80156109d55780601f106109aa576101008083540402835291602001916109d5565b820191906000526020600020905b8154815290600101906020018083116109b857829003601f168201915b5050505050905090565b60006109ea82611ada565b610a29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2090613fde565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a6f826110e7565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ae0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad79061403e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610aff611b46565b73ffffffffffffffffffffffffffffffffffffffff161480610b2e5750610b2d81610b28611b46565b61172b565b5b610b6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6490613f1e565b60405180910390fd5b610b778383611b4e565b505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b600a5481565b610bb7610bb1611b46565b82611c07565b610bf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bed9061405e565b60405180910390fd5b610c01838383611ce5565b505050565b600060096000838152602001908152602001600020600101549050919050565b6000806000600160008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161415610dbc5760006040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610dc6611f4c565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610df29190614264565b610dfc9190614233565b90508160000151819350935050509250929050565b610e1a82610c06565b610e2381611931565b610e2d8383611f56565b505050565b610e3a611b46565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ea7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9e906140fe565b60405180910390fd5b610eb18282612037565b5050565b7fd8acb51ff3d48f690a25887aaf234c4ae5a66ab9839243cd8e2b639cade0663b610edf81611931565b600047905060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1682604051610f2a90613c6c565b60006040518083038185875af1925050503d8060008114610f67576040519150601f19603f3d011682016040523d82523d6000602084013e610f6c565b606091505b5050905080610fb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa790613e7e565b60405180910390fd5b505050565b610fd083838360405180602001604052806000815250611601565b505050565b7fd8acb51ff3d48f690a25887aaf234c4ae5a66ab9839243cd8e2b639cade0663b610fff81611931565b8282600d9190611010929190613140565b50505050565b7fd8acb51ff3d48f690a25887aaf234c4ae5a66ab9839243cd8e2b639cade0663b61104081611931565b61104b848484612119565b50505050565b7fd8acb51ff3d48f690a25887aaf234c4ae5a66ab9839243cd8e2b639cade0663b61107b81611931565b6000600c549050808311156110c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110bc90613f9e565b60405180910390fd5b82816110d191906142be565b600c819055506110e184846122c1565b50505050565b6000806004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611190576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118790613f5e565b60405180910390fd5b80915050919050565b601581565b600e60009054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611222576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121990613f3e565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611271611b46565b73ffffffffffffffffffffffffffffffffffffffff1661128f611370565b73ffffffffffffffffffffffffffffffffffffffff16146112e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112dc90613ffe565b60405180910390fd5b6112ef600061234a565b565b7fd8acb51ff3d48f690a25887aaf234c4ae5a66ab9839243cd8e2b639cade0663b61131b81611931565b81600e60006101000a81548160ff0219169083151502179055505050565b7fd8acb51ff3d48f690a25887aaf234c4ae5a66ab9839243cd8e2b639cade0663b61136381611931565b61136c82612410565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7fd8acb51ff3d48f690a25887aaf234c4ae5a66ab9839243cd8e2b639cade0663b81565b60606003805461143890614406565b80601f016020809104026020016040519081016040528092919081815260200182805461146490614406565b80156114b15780601f10611486576101008083540402835291602001916114b1565b820191906000526020600020905b81548152906001019060200180831161149457829003601f168201915b5050505050905090565b600b5481565b600e60009054906101000a900460ff16611510576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150790613f7e565b60405180910390fd5b60158110611553576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154a90613e9e565b60405180910390fd5b80600b546115619190614264565b34146115a2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115999061407e565b60405180910390fd5b6115ac33826122c1565b50565b6000801b81565b6115c86115c1611b46565b838361246f565b5050565b7fd8acb51ff3d48f690a25887aaf234c4ae5a66ab9839243cd8e2b639cade0663b6115f681611931565b6115fe6125dc565b50565b61161261160c611b46565b83611c07565b611651576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116489061405e565b60405180910390fd5b61165d84848484612629565b50505050565b606061166e82611ada565b6116ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a49061401e565b60405180910390fd5b60006116b7612685565b905060008151116116d75760405180602001604052806000815250611702565b806116e184612717565b6040516020016116f2929190613c48565b6040516020818303038152906040525b915050919050565b61171382610c06565b61171c81611931565b6117268383612037565b505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6117c7611b46565b73ffffffffffffffffffffffffffffffffffffffff166117e5611370565b73ffffffffffffffffffffffffffffffffffffffff161461183b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183290613ffe565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156118ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a290613e1e565b60405180910390fd5b6118b48161234a565b50565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061192a575061192982612878565b5b9050919050565b6119428161193d611b46565b61288a565b50565b61194d611f4c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff1611156119ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a2906140be565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a12906140de565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff168152506000808201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b60008073ffffffffffffffffffffffffffffffffffffffff166004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816006600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611bc1836110e7565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611c1282611ada565b611c51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4890613efe565b60405180910390fd5b6000611c5c836110e7565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c9e5750611c9d818561172b565b5b80611cdc57508373ffffffffffffffffffffffffffffffffffffffff16611cc4846109df565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611d05826110e7565b73ffffffffffffffffffffffffffffffffffffffff1614611d5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5290613e3e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611dcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc290613ebe565b60405180910390fd5b611dd6838383612927565b611de1600082611b4e565b6001600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e3191906142be565b925050819055506001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e8891906141dd565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611f4783838361292c565b505050565b6000612710905090565b611f60828261139a565b6120335760016009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611fd8611b46565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b612041828261139a565b156121155760006009600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506120ba611b46565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b612121611f4c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111561217f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612176906140be565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e69061409e565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff168152506001600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550905050505050565b60008111612304576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122fb90613dde565b60405180910390fd5b6000600a54905060005b8281101561233d5761232c84838061232590614469565b9450612931565b8061233690614469565b905061230e565b5080600a81905550505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60016000828152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000820160146101000a8154906bffffffffffffffffffffffff0219169055505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156124de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d590613ede565b60405180910390fd5b80600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125cf9190613d66565b60405180910390a3505050565b6000806000820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000820160146101000a8154906bffffffffffffffffffffffff02191690555050565b612634848484611ce5565b6126408484848461294f565b61267f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267690613dfe565b60405180910390fd5b50505050565b6060600d805461269490614406565b80601f01602080910402602001604051908101604052809291908181526020018280546126c090614406565b801561270d5780601f106126e25761010080835404028352916020019161270d565b820191906000526020600020905b8154815290600101906020018083116126f057829003601f168201915b5050505050905090565b6060600082141561275f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612873565b600082905060005b6000821461279157808061277a90614469565b915050600a8261278a9190614233565b9150612767565b60008167ffffffffffffffff8111156127ad576127ac61459f565b5b6040519080825280601f01601f1916602001820160405280156127df5781602001600182028036833780820191505090505b5090505b6000851461286c576001826127f891906142be565b9150600a8561280791906144b2565b603061281391906141dd565b60f81b81838151811061282957612828614570565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128659190614233565b94506127e3565b8093505050505b919050565b600061288382612ae6565b9050919050565b612894828261139a565b612923576128b98173ffffffffffffffffffffffffffffffffffffffff166014612bc8565b6128c78360001c6020612bc8565b6040516020016128d8929190613c81565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291a9190613d9c565b60405180910390fd5b5050565b505050565b505050565b61294b828260405180602001604052806000815250612e04565b5050565b60006129708473ffffffffffffffffffffffffffffffffffffffff16612e5f565b15612ad9578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612999611b46565b8786866040518563ffffffff1660e01b81526004016129bb9493929190613cf1565b602060405180830381600087803b1580156129d557600080fd5b505af1925050508015612a0657506040513d601f19601f82011682018060405250810190612a039190613606565b60015b612a89573d8060008114612a36576040519150601f19603f3d011682016040523d82523d6000602084013e612a3b565b606091505b50600081511415612a81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7890613dfe565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612ade565b600190505b949350505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612bb157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612bc15750612bc082612e82565b5b9050919050565b606060006002836002612bdb9190614264565b612be591906141dd565b67ffffffffffffffff811115612bfe57612bfd61459f565b5b6040519080825280601f01601f191660200182016040528015612c305781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612c6857612c67614570565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612ccc57612ccb614570565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612d0c9190614264565b612d1691906141dd565b90505b6001811115612db6577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612d5857612d57614570565b5b1a60f81b828281518110612d6f57612d6e614570565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612daf906143dc565b9050612d19565b5060008414612dfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612df190613dbe565b60405180910390fd5b8091505092915050565b612e0e8383612efc565b612e1b600084848461294f565b612e5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5190613dfe565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612ef55750612ef4826130d6565b5b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f6390613fbe565b60405180910390fd5b612f7581611ada565b15612fb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fac90613e5e565b60405180910390fd5b612fc160008383612927565b6001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461301191906141dd565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46130d26000838361292c565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b82805461314c90614406565b90600052602060002090601f01602090048101928261316e57600085556131b5565b82601f1061318757803560ff19168380011785556131b5565b828001600101855582156131b5579182015b828111156131b4578235825591602001919060010190613199565b5b5090506131c291906131c6565b5090565b5b808211156131df5760008160009055506001016131c7565b5090565b60006131f66131f18461415e565b614139565b905082815260208101848484011115613212576132116145dd565b5b61321d84828561439a565b509392505050565b60008135905061323481614cb9565b92915050565b60008135905061324981614cd0565b92915050565b60008135905061325e81614ce7565b92915050565b60008135905061327381614cfe565b92915050565b60008151905061328881614cfe565b92915050565b600082601f8301126132a3576132a26145d3565b5b81356132b38482602086016131e3565b91505092915050565b60008083601f8401126132d2576132d16145d3565b5b8235905067ffffffffffffffff8111156132ef576132ee6145ce565b5b60208301915083600182028301111561330b5761330a6145d8565b5b9250929050565b60008135905061332181614d15565b92915050565b60008135905061333681614d2c565b92915050565b600060208284031215613352576133516145e7565b5b600061336084828501613225565b91505092915050565b600080604083850312156133805761337f6145e7565b5b600061338e85828601613225565b925050602061339f85828601613225565b9150509250929050565b6000806000606084860312156133c2576133c16145e7565b5b60006133d086828701613225565b93505060206133e186828701613225565b92505060406133f286828701613312565b9150509250925092565b60008060008060808587031215613416576134156145e7565b5b600061342487828801613225565b945050602061343587828801613225565b935050604061344687828801613312565b925050606085013567ffffffffffffffff811115613467576134666145e2565b5b6134738782880161328e565b91505092959194509250565b60008060408385031215613496576134956145e7565b5b60006134a485828601613225565b92505060206134b58582860161323a565b9150509250929050565b600080604083850312156134d6576134d56145e7565b5b60006134e485828601613225565b92505060206134f585828601613312565b9150509250929050565b60008060408385031215613516576135156145e7565b5b600061352485828601613225565b925050602061353585828601613327565b9150509250929050565b600060208284031215613555576135546145e7565b5b60006135638482850161323a565b91505092915050565b600060208284031215613582576135816145e7565b5b60006135908482850161324f565b91505092915050565b600080604083850312156135b0576135af6145e7565b5b60006135be8582860161324f565b92505060206135cf85828601613225565b9150509250929050565b6000602082840312156135ef576135ee6145e7565b5b60006135fd84828501613264565b91505092915050565b60006020828403121561361c5761361b6145e7565b5b600061362a84828501613279565b91505092915050565b6000806020838503121561364a576136496145e7565b5b600083013567ffffffffffffffff811115613668576136676145e2565b5b613674858286016132bc565b92509250509250929050565b600060208284031215613696576136956145e7565b5b60006136a484828501613312565b91505092915050565b6000806000606084860312156136c6576136c56145e7565b5b60006136d486828701613312565b93505060206136e586828701613225565b92505060406136f686828701613327565b9150509250925092565b60008060408385031215613717576137166145e7565b5b600061372585828601613312565b925050602061373685828601613312565b9150509250929050565b61374981614304565b82525050565b613758816142f2565b82525050565b61376781614316565b82525050565b61377681614322565b82525050565b60006137878261418f565b61379181856141a5565b93506137a18185602086016143a9565b6137aa816145ec565b840191505092915050565b60006137c08261419a565b6137ca81856141c1565b93506137da8185602086016143a9565b6137e3816145ec565b840191505092915050565b60006137f98261419a565b61380381856141d2565b93506138138185602086016143a9565b80840191505092915050565b600061382c6020836141c1565b9150613837826145fd565b602082019050919050565b600061384f6009836141c1565b915061385a82614626565b602082019050919050565b60006138726032836141c1565b915061387d8261464f565b604082019050919050565b60006138956026836141c1565b91506138a08261469e565b604082019050919050565b60006138b86025836141c1565b91506138c3826146ed565b604082019050919050565b60006138db601c836141c1565b91506138e68261473c565b602082019050919050565b60006138fe600f836141c1565b915061390982614765565b602082019050919050565b60006139216018836141c1565b915061392c8261478e565b602082019050919050565b60006139446024836141c1565b915061394f826147b7565b604082019050919050565b60006139676019836141c1565b915061397282614806565b602082019050919050565b600061398a602c836141c1565b91506139958261482f565b604082019050919050565b60006139ad6038836141c1565b91506139b88261487e565b604082019050919050565b60006139d0602a836141c1565b91506139db826148cd565b604082019050919050565b60006139f36029836141c1565b91506139fe8261491c565b604082019050919050565b6000613a16600d836141c1565b9150613a218261496b565b602082019050919050565b6000613a396015836141c1565b9150613a4482614994565b602082019050919050565b6000613a5c6020836141c1565b9150613a67826149bd565b602082019050919050565b6000613a7f602c836141c1565b9150613a8a826149e6565b604082019050919050565b6000613aa26020836141c1565b9150613aad82614a35565b602082019050919050565b6000613ac5602f836141c1565b9150613ad082614a5e565b604082019050919050565b6000613ae86021836141c1565b9150613af382614aad565b604082019050919050565b6000613b0b6000836141b6565b9150613b1682614afc565b600082019050919050565b6000613b2e6031836141c1565b9150613b3982614aff565b604082019050919050565b6000613b51600f836141c1565b9150613b5c82614b4e565b602082019050919050565b6000613b74601b836141c1565b9150613b7f82614b77565b602082019050919050565b6000613b976017836141d2565b9150613ba282614ba0565b601782019050919050565b6000613bba602a836141c1565b9150613bc582614bc9565b604082019050919050565b6000613bdd6019836141c1565b9150613be882614c18565b602082019050919050565b6000613c006011836141d2565b9150613c0b82614c41565b601182019050919050565b6000613c23602f836141c1565b9150613c2e82614c6a565b604082019050919050565b613c4281614378565b82525050565b6000613c5482856137ee565b9150613c6082846137ee565b91508190509392505050565b6000613c7782613afe565b9150819050919050565b6000613c8c82613b8a565b9150613c9882856137ee565b9150613ca382613bf3565b9150613caf82846137ee565b91508190509392505050565b6000602082019050613cd0600083018461374f565b92915050565b6000602082019050613ceb6000830184613740565b92915050565b6000608082019050613d06600083018761374f565b613d13602083018661374f565b613d206040830185613c39565b8181036060830152613d32818461377c565b905095945050505050565b6000604082019050613d52600083018561374f565b613d5f6020830184613c39565b9392505050565b6000602082019050613d7b600083018461375e565b92915050565b6000602082019050613d96600083018461376d565b92915050565b60006020820190508181036000830152613db681846137b5565b905092915050565b60006020820190508181036000830152613dd78161381f565b9050919050565b60006020820190508181036000830152613df781613842565b9050919050565b60006020820190508181036000830152613e1781613865565b9050919050565b60006020820190508181036000830152613e3781613888565b9050919050565b60006020820190508181036000830152613e57816138ab565b9050919050565b60006020820190508181036000830152613e77816138ce565b9050919050565b60006020820190508181036000830152613e97816138f1565b9050919050565b60006020820190508181036000830152613eb781613914565b9050919050565b60006020820190508181036000830152613ed781613937565b9050919050565b60006020820190508181036000830152613ef78161395a565b9050919050565b60006020820190508181036000830152613f178161397d565b9050919050565b60006020820190508181036000830152613f37816139a0565b9050919050565b60006020820190508181036000830152613f57816139c3565b9050919050565b60006020820190508181036000830152613f77816139e6565b9050919050565b60006020820190508181036000830152613f9781613a09565b9050919050565b60006020820190508181036000830152613fb781613a2c565b9050919050565b60006020820190508181036000830152613fd781613a4f565b9050919050565b60006020820190508181036000830152613ff781613a72565b9050919050565b6000602082019050818103600083015261401781613a95565b9050919050565b6000602082019050818103600083015261403781613ab8565b9050919050565b6000602082019050818103600083015261405781613adb565b9050919050565b6000602082019050818103600083015261407781613b21565b9050919050565b6000602082019050818103600083015261409781613b44565b9050919050565b600060208201905081810360008301526140b781613b67565b9050919050565b600060208201905081810360008301526140d781613bad565b9050919050565b600060208201905081810360008301526140f781613bd0565b9050919050565b6000602082019050818103600083015261411781613c16565b9050919050565b60006020820190506141336000830184613c39565b92915050565b6000614143614154565b905061414f8282614438565b919050565b6000604051905090565b600067ffffffffffffffff8211156141795761417861459f565b5b614182826145ec565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006141e882614378565b91506141f383614378565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614228576142276144e3565b5b828201905092915050565b600061423e82614378565b915061424983614378565b92508261425957614258614512565b5b828204905092915050565b600061426f82614378565b915061427a83614378565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156142b3576142b26144e3565b5b828202905092915050565b60006142c982614378565b91506142d483614378565b9250828210156142e7576142e66144e3565b5b828203905092915050565b60006142fd82614358565b9050919050565b600061430f82614358565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006bffffffffffffffffffffffff82169050919050565b82818337600083830152505050565b60005b838110156143c75780820151818401526020810190506143ac565b838111156143d6576000848401525b50505050565b60006143e782614378565b915060008214156143fb576143fa6144e3565b5b600182039050919050565b6000600282049050600182168061441e57607f821691505b6020821081141561443257614431614541565b5b50919050565b614441826145ec565b810181811067ffffffffffffffff821117156144605761445f61459f565b5b80604052505050565b600061447482614378565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156144a7576144a66144e3565b5b600182019050919050565b60006144bd82614378565b91506144c883614378565b9250826144d8576144d7614512565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f5a65726f206d696e740000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f5769746864726177206661696c65640000000000000000000000000000000000600082015250565b7f45786365656473206d6178206d696e7473207065722074780000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f53616c65206e6f74206c69766500000000000000000000000000000000000000600082015250565b7f457863656564732072657365727665206c696d69740000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f57726f6e67204554482076616c75650000000000000000000000000000000000600082015250565b7f455243323938313a20496e76616c696420706172616d65746572730000000000600082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b614cc2816142f2565b8114614ccd57600080fd5b50565b614cd981614316565b8114614ce457600080fd5b50565b614cf081614322565b8114614cfb57600080fd5b50565b614d078161432c565b8114614d1257600080fd5b50565b614d1e81614378565b8114614d2957600080fd5b50565b614d3581614382565b8114614d4057600080fd5b5056fea26469706673582212207b396511f194e39443a044bdbc07be90c6de66489a0ae25d159c333c63904ff264736f6c634300080600330000000000000000000000000af1262212c35aa2160fd210693e3b1c504ab9bc

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

0000000000000000000000000af1262212c35aa2160fd210693e3b1c504ab9bc

-----Decoded View---------------
Arg [0] : receiverAddress_ (address): 0x0AF1262212c35AA2160FD210693E3B1C504Ab9bC

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000af1262212c35aa2160fd210693e3b1c504ab9bc


Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.