ETH Price: $3,285.90 (+0.19%)
Gas: 4 Gwei

Token

Fusionist - Quartan Primes (FQP)
 

Overview

Max Total Supply

641 FQP

Holders

373

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 FQP
0x741132fca8b9fc6f3971dc436ce16a61e73135ab
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Genesis-Mech is the first group of Mechs created in the Fusionist universe, with a total number of 641 units, they cannot be manufactured in-game. Genesis-Mechs are available to be piloted in the Fusionist game and these Mechs all belong in the one and only, unique Elemental Attribute - Quartan.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
QuartanPrimesNFT

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 100000 runs

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

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "./operator-filter-registry/DefaultOperatorFilterer.sol";
import "./operator-filter-registry/IOperatorFilterRegistry.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";

///@author Charles
contract QuartanPrimesNFT is
    ERC721,
    ERC2981,
    Ownable,
    ReentrancyGuard,
    ERC721Burnable,
    DefaultOperatorFilterer
{
    error IncorrectSignature();
    error MaxMintedForThisUser();
    error AllNFTsMinted();
    error CannotSetZeroAddress();
    error ShouldCallItInPhase(uint32 phase);
    error ShouldInHighIDRange();
    error YouAreNotOwner();

    event OpenedOneBox(address indexed from, uint indexed mechID);

    using Address for address;
    using ECDSA for bytes32;

    uint256 public constant MAX_SUPPLY = 641;
    uint32 private constant BOX_ID_OFFSET = 10000; //highID(10001~10641) to Box, and lowID(1~641) to Mech
    uint32 private constant PHASE_1_STARTTOKENID = 1 + BOX_ID_OFFSET;
    uint32 private constant PHASE_1_ENDTOKENID = 625 + BOX_ID_OFFSET;
    uint32 private constant PHASE_2_STARTTOKENID = 626 + BOX_ID_OFFSET;
    uint32 private constant PHASE_2_ENDTOKENID = 641 + BOX_ID_OFFSET;

    // uint32 private constant GENESIS_NFT_STARTTOKENID = 1;
    // uint32 private constant GENESIS_NFT_ENDTOKENID = 641;

    address public treasuryAddress;

    string private _baseTokenURI;
    address private _signerAddress; // provided by our backend fellow

    mapping(address => uint256) public _mintedCountPerAddress_phase1;
    mapping(address => uint256) public _mintedCountPerAddress_phase2;

    uint32 private _nextMintableIndex_phase1 = PHASE_1_STARTTOKENID;
    uint32 private _nextMintableIndex_phase2 = PHASE_2_STARTTOKENID;
    uint32 public currentPhase = 1;

    constructor(
        address defaultTreasury,
        string memory defaultBaseURI,
        address signerAddress_
    ) ERC721("Fusionist - Quartan Primes", "FQP") {
        setBaseURI(defaultBaseURI);
        setRoyaltyInfo(payable(defaultTreasury), 500);
        setSignerAddress(signerAddress_);
    }

    //EXTERNAL ---------
    function setPhase(uint32 phase) external onlyOwner {
        currentPhase = phase;
    }

    ///@dev User call this function in Phase1
    function phase1Mint(
        uint256 quantity,
        uint256 maxMintable,
        bytes calldata signature
    ) external payable nonReentrant {
        if (currentPhase != 1) {
            revert ShouldCallItInPhase(1);
        }
        address sender = msg.sender;
        uint256 mintedCount = _mintedCountPerAddress_phase1[sender];
        if (mintedCount + quantity > maxMintable) {
            revert MaxMintedForThisUser();
        }
        uint32 localNextID = _nextMintableIndex_phase1;
        if ((localNextID + quantity - 1) > PHASE_1_ENDTOKENID) {
            // _nextMintableIndex_phase1 = 1, phase1EndTokenID = 1 , quantity = 1, pass
            revert AllNFTsMinted();
        }
        if (verifySig(sender, quantity, maxMintable, 1, signature) == false) {
            revert IncorrectSignature();
        }

        _mintedCountPerAddress_phase1[sender] = mintedCount + quantity;

        for (uint i = 0; i < quantity; i++) {
            _safeMint(sender, localNextID);
            unchecked {
                ++localNextID;
            }
        }
        _nextMintableIndex_phase1 = localNextID;
    }

    ///@dev User call this function in Phase2
    function phase2Mint(
        uint256 quantity,
        uint256 maxMintable,
        bytes calldata signature
    ) external payable nonReentrant {
        if (currentPhase != 2) {
            revert ShouldCallItInPhase(2);
        }
        address sender = msg.sender;
        uint256 mintedCount = _mintedCountPerAddress_phase2[sender];
        if (mintedCount + quantity > maxMintable) {
            revert MaxMintedForThisUser();
        }
        uint32 localNextID = _nextMintableIndex_phase2;
        if ((localNextID + quantity - 1) > PHASE_2_ENDTOKENID) {
            // _nextMintableIndex_phase2 = 626, phase2EndTokenID = 626 , quantity = 1, pass
            revert AllNFTsMinted();
        }
        if (verifySig(sender, quantity, maxMintable, 2, signature) == false) {
            revert IncorrectSignature();
        }

        _mintedCountPerAddress_phase2[sender] = mintedCount + quantity;

        for (uint i = 0; i < quantity; i++) {
            _safeMint(sender, localNextID);
            unchecked {
                ++localNextID;
            }
        }
        _nextMintableIndex_phase2 = localNextID;
    }

    ///@dev user can call this function at any time, even ten years later
    function openBox(uint256 boxID) external nonReentrant {
        address account = msg.sender;
        if (ownerOf(boxID) != account) {
            revert YouAreNotOwner();
        }
        burnBoxAndMintMech(account, boxID);
    }

    function totalSupply() external view returns (uint256) {
        return
            _nextMintableIndex_phase1 -
            PHASE_1_STARTTOKENID +
            _nextMintableIndex_phase2 -
            PHASE_2_STARTTOKENID;
    }

    function withdraw() external onlyOwner {
        Address.sendValue(payable(treasuryAddress), address(this).balance);
    }

    function mintAllExpiredBoxesToOfficialPhase1() external onlyOwner {
        address account = msg.sender;
        uint256 nextID = _nextMintableIndex_phase1;
        uint256 leftNFTCount = PHASE_1_ENDTOKENID - nextID + 1;
        _nextMintableIndex_phase1 = PHASE_1_ENDTOKENID + 1;
        for (uint i = 0; i < leftNFTCount; i++) {
            uint256 tokenID = nextID + i;
            _safeMint(account, tokenID);
        }
    }

    function mintAllExpiredBoxesToOfficialPhase2() external onlyOwner {
        if (currentPhase != 2) {
            revert ShouldCallItInPhase(2);
        }
        address account = msg.sender;
        uint256 nextID = _nextMintableIndex_phase2;
        uint256 leftNFTCount = PHASE_2_ENDTOKENID - nextID + 1;
        _nextMintableIndex_phase2 = PHASE_2_ENDTOKENID + 1;
        for (uint i = 0; i < leftNFTCount; i++) {
            uint256 tokenID = nextID + i;
            _safeMint(account, tokenID);
        }
    }

    function changeOperatorFiltererRegister(IOperatorFilterRegistry newRegistry)
        external
        onlyOwner
    {
        OPERATOR_FILTER_REGISTRY = newRegistry;
    }    

    //PUBLIC ---------

    function setSignerAddress(address signerAddress) public onlyOwner {
        _signerAddress = signerAddress;
    }

    function setBaseURI(string memory newBaseURI) public onlyOwner {
        _baseTokenURI = newBaseURI;
    }

    function setRoyaltyInfo(
        address payable newAddress,
        uint96 newRoyaltyPercentage
    ) public onlyOwner {
        if (newAddress == address(0)) revert CannotSetZeroAddress();
        treasuryAddress = newAddress;
        _setDefaultRoyalty(treasuryAddress, newRoyaltyPercentage);
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        override(ERC721, ERC2981)
        returns (bool)
    {
        return
            ERC2981.supportsInterface(interfaceId) ||
            super.supportsInterface(interfaceId);
    }

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

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

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

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

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

    //INTERNAL --------

    function burnBoxAndMintMech(address account, uint256 boxID) internal {
        if (boxID < BOX_ID_OFFSET) {
            revert ShouldInHighIDRange();
        }
        burn(boxID);
        uint256 mechID = boxID - BOX_ID_OFFSET;
        _safeMint(account, mechID);
        emit OpenedOneBox(account, mechID);
    }

    function verifySig(
        address sender,
        uint256 quantity,
        uint256 maxMintable,
        uint256 phase,
        bytes memory signature
    ) internal view returns (bool) {
        bytes32 messageHash = keccak256(
            abi.encode(sender, phase, maxMintable, quantity)
        );
        return
            _signerAddress ==
            messageHash.toEthSignedMessageHash().recover(signature);
    }

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

File 5 of 19 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 6 of 19 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner 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: caller is not token 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) {
        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 an {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

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

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * 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 7 of 19 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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:
     *
     * - `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 8 of 19 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.3) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 9 of 19 : ERC721Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/extensions/ERC721Burnable.sol)

pragma solidity ^0.8.0;

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

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");
        _burn(tokenId);
    }
}

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

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

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

    IOperatorFilterRegistry internal OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

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

    modifier onlyAllowedOperator(address from) virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            // Allow spending tokens from addresses with balance
            // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
            // from an EOA.
            if (from == msg.sender) {
                _;
                return;
            }
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), msg.sender)) {
                revert OperatorNotAllowed(msg.sender);
            }
        }
        _;
    }

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

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

pragma solidity ^0.8.0;

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

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

File 12 of 19 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 13 of 19 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // 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);
    }

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

File 14 of 19 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: 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 15 of 19 : 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 16 of 19 : 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 17 of 19 : 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 18 of 19 : 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 19 of 19 : 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"defaultTreasury","type":"address"},{"internalType":"string","name":"defaultBaseURI","type":"string"},{"internalType":"address","name":"signerAddress_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AllNFTsMinted","type":"error"},{"inputs":[],"name":"CannotSetZeroAddress","type":"error"},{"inputs":[],"name":"IncorrectSignature","type":"error"},{"inputs":[],"name":"MaxMintedForThisUser","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[{"internalType":"uint32","name":"phase","type":"uint32"}],"name":"ShouldCallItInPhase","type":"error"},{"inputs":[],"name":"ShouldInHighIDRange","type":"error"},{"inputs":[],"name":"YouAreNotOwner","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"uint256","name":"mechID","type":"uint256"}],"name":"OpenedOneBox","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_mintedCountPerAddress_phase1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_mintedCountPerAddress_phase2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IOperatorFilterRegistry","name":"newRegistry","type":"address"}],"name":"changeOperatorFiltererRegister","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentPhase","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintAllExpiredBoxesToOfficialPhase1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintAllExpiredBoxesToOfficialPhase2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"boxID","type":"uint256"}],"name":"openBox","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"maxMintable","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"phase1Mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"maxMintable","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"phase2Mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"phase","type":"uint32"}],"name":"setPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newAddress","type":"address"},{"internalType":"uint96","name":"newRoyaltyPercentage","type":"uint96"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"signerAddress","type":"address"}],"name":"setSignerAddress","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":"treasuryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600a80546001600160a01b0319166daaeb6d7670e522a718067333cd4e17905562000033612710600162000537565b6010805463ffffffff191663ffffffff929092169190911790556200005d61271061027262000537565b6010805463ffffffff60401b1963ffffffff939093166401000000000292909216600160201b600160601b03199092169190911768010000000000000000179055348015620000ab57600080fd5b506040516200472438038062004724833981016040819052620000ce916200059d565b733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280601a81526020017f467573696f6e697374202d205175617274616e205072696d65730000000000008152506040518060400160405280600381526020016204651560ec1b815250816000908162000148919062000727565b50600162000157828262000727565b505050620001746200016e620002da60201b60201c565b620002de565b6001600955600a546001600160a01b03163b15620002aa5780156200020157600a54604051633e9f1edf60e11b81523060048201526001600160a01b03848116602483015290911690637d3e3dbe906044015b600060405180830381600087803b158015620001e257600080fd5b505af1158015620001f7573d6000803e3d6000fd5b50505050620002aa565b6001600160a01b038216156200024a57600a5460405163a0af290360e01b81523060048201526001600160a01b0384811660248301529091169063a0af290390604401620001c7565b600a54604051632210724360e11b81523060048201526001600160a01b0390911690634420e48690602401600060405180830381600087803b1580156200029057600080fd5b505af1158015620002a5573d6000803e3d6000fd5b505050505b50620002b890508262000330565b620002c6836101f46200034c565b620002d181620003a8565b505050620007f3565b3390565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200033a620003d4565b600c62000348828262000727565b5050565b62000356620003d4565b6001600160a01b0382166200037e57604051632969679960e11b815260040160405180910390fd5b600b80546001600160a01b0319166001600160a01b03841690811790915562000348908262000436565b620003b2620003d4565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b03163314620004345760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b565b6127106001600160601b0382161115620004a65760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084016200042b565b6001600160a01b038216620004fe5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016200042b565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600655565b63ffffffff8181168382160190808211156200056357634e487b7160e01b600052601160045260246000fd5b5092915050565b80516001600160a01b03811681146200058257600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600080600060608486031215620005b357600080fd5b620005be846200056a565b602085810151919450906001600160401b0380821115620005de57600080fd5b818701915087601f830112620005f357600080fd5b81518181111562000608576200060862000587565b604051601f8201601f19908116603f0116810190838211818310171562000633576200063362000587565b816040528281528a868487010111156200064c57600080fd5b600093505b8284101562000670578484018601518185018701529285019262000651565b60008684830101528097505050505050506200068f604085016200056a565b90509250925092565b600181811c90821680620006ad57607f821691505b602082108103620006ce57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200072257600081815260208120601f850160051c81016020861015620006fd5750805b601f850160051c820191505b818110156200071e5782815560010162000709565b5050505b505050565b81516001600160401b0381111562000743576200074362000587565b6200075b8162000754845462000698565b84620006d4565b602080601f8311600181146200079357600084156200077a5750858301515b600019600386901b1c1916600185901b1785556200071e565b600085815260208120601f198616915b82811015620007c457888601518255948401946001909101908401620007a3565b5085821015620007e35787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b613f2180620008036000396000f3fe6080604052600436106102345760003560e01c806355f804b311610138578063a22cb465116100b0578063c0323ab71161007f578063c87b56dd11610064578063c87b56dd1461069b578063e985e9c5146106bb578063f2fde38b1461071157600080fd5b8063c0323ab714610641578063c5f956af1461066e57600080fd5b8063a22cb465146105c1578063b1e5e2b7146105e1578063b1e88b7014610601578063b88d4fde1461062157600080fd5b806370a08231116101075780637cbeb6f9116100ec5780637cbeb6f91461056c5780638da5cb5b1461058157806395d89b41146105ac57600080fd5b806370a0823114610537578063715018a61461055757600080fd5b806355f804b3146104cf5780636352211e146104ef57806365bde2411461050f5780636ae515261461052457600080fd5b806318160ddd116101cb57806332cb6b0c1161019a5780633ccfd60b1161017f5780633ccfd60b1461047a57806342842e0e1461048f57806342966c68146104af57600080fd5b806332cb6b0c1461045157806338b05de41461046757600080fd5b806318160ddd146103b057806320aa8c19146103c557806323b872dd146103e55780632a55205a1461040557600080fd5b806306fdde031161020757806306fdde03146102ee578063081812fc14610310578063095ea7b31461035557806313d5a5021461037557600080fd5b806301ffc9a71461023957806302fa7c471461026e578063046dc16614610290578063055ad42e146102b0575b600080fd5b34801561024557600080fd5b50610259610254366004613679565b610731565b60405190151581526020015b60405180910390f35b34801561027a57600080fd5b5061028e6102893660046136b8565b610751565b005b34801561029c57600080fd5b5061028e6102ab366004613702565b6107f7565b3480156102bc57600080fd5b506010546102d99068010000000000000000900463ffffffff1681565b60405163ffffffff9091168152602001610265565b3480156102fa57600080fd5b50610303610846565b604051610265919061378d565b34801561031c57600080fd5b5061033061032b3660046137a0565b6108d8565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610265565b34801561036157600080fd5b5061028e6103703660046137b9565b61090c565b34801561038157600080fd5b506103a2610390366004613702565b600e6020526000908152604090205481565b604051908152602001610265565b3480156103bc57600080fd5b506103a2610a29565b3480156103d157600080fd5b5061028e6103e03660046137e5565b610a89565b3480156103f157600080fd5b5061028e61040036600461380b565b610ad4565b34801561041157600080fd5b5061042561042036600461384c565b610c03565b6040805173ffffffffffffffffffffffffffffffffffffffff9093168352602083019190915201610265565b34801561045d57600080fd5b506103a261028181565b61028e61047536600461386e565b610cfc565b34801561048657600080fd5b5061028e610fba565b34801561049b57600080fd5b5061028e6104aa36600461380b565b610fe7565b3480156104bb57600080fd5b5061028e6104ca3660046137a0565b61110b565b3480156104db57600080fd5b5061028e6104ea3660046139b1565b6111ae565b3480156104fb57600080fd5b5061033061050a3660046137a0565b6111c2565b34801561051b57600080fd5b5061028e61124e565b61028e61053236600461386e565b611357565b34801561054357600080fd5b506103a2610552366004613702565b611605565b34801561056357600080fd5b5061028e6116d3565b34801561057857600080fd5b5061028e6116e5565b34801561058d57600080fd5b5060085473ffffffffffffffffffffffffffffffffffffffff16610330565b3480156105b857600080fd5b506103036117aa565b3480156105cd57600080fd5b5061028e6105dc366004613a08565b6117b9565b3480156105ed57600080fd5b5061028e6105fc3660046137a0565b6118cc565b34801561060d57600080fd5b5061028e61061c366004613702565b6119a8565b34801561062d57600080fd5b5061028e61063c366004613a36565b6119f7565b34801561064d57600080fd5b506103a261065c366004613702565b600f6020526000908152604090205481565b34801561067a57600080fd5b50600b546103309073ffffffffffffffffffffffffffffffffffffffff1681565b3480156106a757600080fd5b506103036106b63660046137a0565b611b29565b3480156106c757600080fd5b506102596106d6366004613ab6565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561071d57600080fd5b5061028e61072c366004613702565b611b90565b600061073c82611c44565b8061074b575061074b82611c44565b92915050565b610759611c9a565b73ffffffffffffffffffffffffffffffffffffffff82166107a6576040517f52d2cf3200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84169081179091556107f39082611d1b565b5050565b6107ff611c9a565b600d80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60606000805461085590613ae4565b80601f016020809104026020016040519081016040528092919081815260200182805461088190613ae4565b80156108ce5780601f106108a3576101008083540402835291602001916108ce565b820191906000526020600020905b8154815290600101906020018083116108b157829003601f168201915b5050505050905090565b60006108e382611e94565b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b600a54829073ffffffffffffffffffffffffffffffffffffffff163b15610a1a57600a546040517fc617113400000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff83811660248301529091169063c617113490604401602060405180830381865afa1580156109a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c79190613b37565b610a1a576040517fede71dcc00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff821660048201526024015b60405180910390fd5b610a248383611f1f565b505050565b6000610a39612710610272613b83565b601054640100000000900463ffffffff16610a576127106001613b83565b601054610a6a919063ffffffff16613ba7565b610a749190613b83565b610a7e9190613ba7565b63ffffffff16905090565b610a91611c9a565b6010805463ffffffff90921668010000000000000000027fffffffffffffffffffffffffffffffffffffffff00000000ffffffffffffffff909216919091179055565b600a54839073ffffffffffffffffffffffffffffffffffffffff163b15610bf2573373ffffffffffffffffffffffffffffffffffffffff821603610b2257610b1d8484846120d1565b610bfd565b600a546040517fc617113400000000000000000000000000000000000000000000000000000000815230600482015233602482015273ffffffffffffffffffffffffffffffffffffffff9091169063c617113490604401602060405180830381865afa158015610b96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bba9190613b37565b610bf2576040517fede71dcc000000000000000000000000000000000000000000000000000000008152336004820152602401610a11565b610bfd8484846120d1565b50505050565b600082815260076020908152604080832081518083019092525473ffffffffffffffffffffffffffffffffffffffff8116808352740100000000000000000000000000000000000000009091046bffffffffffffffffffffffff16928201929092528291610cbe57506040805180820190915260065473ffffffffffffffffffffffffffffffffffffffff811682527401000000000000000000000000000000000000000090046bffffffffffffffffffffffff1660208201525b602081015160009061271090610ce2906bffffffffffffffffffffffff1687613bc4565b610cec9190613c0a565b91519350909150505b9250929050565b600260095403610d68576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a11565b6002600981905560105468010000000000000000900463ffffffff1614610dbe576040517f36cef25a00000000000000000000000000000000000000000000000000000000815260026004820152602401610a11565b336000818152600f602052604090205484610dd98783613c1e565b1115610e11576040517f3b3f650400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601054640100000000900463ffffffff16610e30612710610281613b83565b63ffffffff166001888363ffffffff16610e4a9190613c1e565b610e549190613c31565b1115610e8c576040517fe51add9900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ed0838888600289898080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061217192505050565b1515600003610f0b576040517fc1606c2f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f158783613c1e565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600f60205260408120919091555b87811015610f6f57610f57848363ffffffff1661223c565b60019091019080610f6781613c44565b915050610f3f565b506010805463ffffffff909216640100000000027fffffffffffffffffffffffffffffffffffffffffffffffff00000000ffffffff9092169190911790555050600160095550505050565b610fc2611c9a565b600b54610fe59073ffffffffffffffffffffffffffffffffffffffff1647612256565b565b600a54839073ffffffffffffffffffffffffffffffffffffffff163b15611100573373ffffffffffffffffffffffffffffffffffffffff82160361103057610b1d8484846123b0565b600a546040517fc617113400000000000000000000000000000000000000000000000000000000815230600482015233602482015273ffffffffffffffffffffffffffffffffffffffff9091169063c617113490604401602060405180830381865afa1580156110a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c89190613b37565b611100576040517fede71dcc000000000000000000000000000000000000000000000000000000008152336004820152602401610a11565b610bfd8484846123b0565b611116335b826123cb565b6111a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206e6f7220617070726f7665640000000000000000000000000000000000006064820152608401610a11565b6111ab8161248b565b50565b6111b6611c9a565b600c6107f38282613cca565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff168061074b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610a11565b611256611c9a565b60105468010000000000000000900463ffffffff166002146112a7576040517f36cef25a00000000000000000000000000000000000000000000000000000000815260026004820152602401610a11565b6010543390640100000000900463ffffffff166000816112cb612710610281613b83565b63ffffffff166112db9190613c31565b6112e6906001613c1e565b90506112f6612710610281613b83565b611301906001613b83565b601060046101000a81548163ffffffff021916908363ffffffff16021790555060005b81811015610bfd5760006113388285613c1e565b9050611344858261223c565b508061134f81613c44565b915050611324565b6002600954036113c3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a11565b600260095560105468010000000000000000900463ffffffff16600114611419576040517f36cef25a00000000000000000000000000000000000000000000000000000000815260016004820152602401610a11565b336000818152600e6020526040902054846114348783613c1e565b111561146c576040517f3b3f650400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60105463ffffffff16611483612710610271613b83565b63ffffffff166001888363ffffffff1661149d9190613c1e565b6114a79190613c31565b11156114df576040517fe51add9900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611523838888600189898080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061217192505050565b151560000361155e576040517fc1606c2f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6115688783613c1e565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600e60205260408120919091555b878110156115c2576115aa848363ffffffff1661223c565b600190910190806115ba81613c44565b915050611592565b50601080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001663ffffffff929092169190911790555050600160095550505050565b600073ffffffffffffffffffffffffffffffffffffffff82166116aa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f74206120766160448201527f6c6964206f776e657200000000000000000000000000000000000000000000006064820152608401610a11565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b6116db611c9a565b610fe56000612558565b6116ed611c9a565b601054339063ffffffff16600081611709612710610271613b83565b63ffffffff166117199190613c31565b611724906001613c1e565b9050611734612710610271613b83565b61173f906001613b83565b601080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001663ffffffff9290921691909117905560005b81811015610bfd57600061178b8285613c1e565b9050611797858261223c565b50806117a281613c44565b915050611777565b60606001805461085590613ae4565b600a54829073ffffffffffffffffffffffffffffffffffffffff163b156118c257600a546040517fc617113400000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff83811660248301529091169063c617113490604401602060405180830381865afa158015611850573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118749190613b37565b6118c2576040517fede71dcc00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff82166004820152602401610a11565b610a2483836125cf565b600260095403611938576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a11565b60026009553380611948836111c2565b73ffffffffffffffffffffffffffffffffffffffff1614611995576040517fd57632ce00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61199f81836125da565b50506001600955565b6119b0611c9a565b600a80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600a54849073ffffffffffffffffffffffffffffffffffffffff163b15611b16573373ffffffffffffffffffffffffffffffffffffffff821603611a4657611a4185858585612681565b611b22565b600a546040517fc617113400000000000000000000000000000000000000000000000000000000815230600482015233602482015273ffffffffffffffffffffffffffffffffffffffff9091169063c617113490604401602060405180830381865afa158015611aba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ade9190613b37565b611b16576040517fede71dcc000000000000000000000000000000000000000000000000000000008152336004820152602401610a11565b611b2285858585612681565b5050505050565b6060611b3482611e94565b6000611b3e612723565b90506000815111611b5e5760405180602001604052806000815250611b89565b80611b6884612732565b604051602001611b79929190613de4565b6040516020818303038152906040525b9392505050565b611b98611c9a565b73ffffffffffffffffffffffffffffffffffffffff8116611c3b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a11565b6111ab81612558565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a00000000000000000000000000000000000000000000000000000000148061074b575061074b82612867565b60085473ffffffffffffffffffffffffffffffffffffffff163314610fe5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a11565b6127106bffffffffffffffffffffffff82161115611dbb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c655072696365000000000000000000000000000000000000000000006064820152608401610a11565b73ffffffffffffffffffffffffffffffffffffffff8216611e38576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610a11565b6040805180820190915273ffffffffffffffffffffffffffffffffffffffff9092168083526bffffffffffffffffffffffff90911660209092018290527401000000000000000000000000000000000000000090910217600655565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff166111ab576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610a11565b6000611f2a826111c2565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611fe7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610a11565b3373ffffffffffffffffffffffffffffffffffffffff8216148061203b575073ffffffffffffffffffffffffffffffffffffffff8116600090815260056020908152604080832033845290915290205460ff165b6120c7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610a11565b610a24838361294a565b6120da33611110565b612166576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206e6f7220617070726f7665640000000000000000000000000000000000006064820152608401610a11565b610a248383836129ea565b6040805173ffffffffffffffffffffffffffffffffffffffff87166020808301919091528183018590526060820186905260808083018890528351808403909101815260a0830184528051908201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000060c084015260dc8084018290528451808503909101815260fc9093019093528151910120600091906122139084612c51565b600d5473ffffffffffffffffffffffffffffffffffffffff918216911614979650505050505050565b6107f3828260405180602001604052806000815250612c75565b804710156122c0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610a11565b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d806000811461231a576040519150601f19603f3d011682016040523d82523d6000602084013e61231f565b606091505b5050905080610a24576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610a11565b610a24838383604051806020016040528060008152506119f7565b6000806123d7836111c2565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612445575073ffffffffffffffffffffffffffffffffffffffff80821660009081526005602090815260408083209388168352929052205460ff165b8061248357508373ffffffffffffffffffffffffffffffffffffffff1661246b846108d8565b73ffffffffffffffffffffffffffffffffffffffff16145b949350505050565b6000612496826111c2565b90506124a360008361294a565b73ffffffffffffffffffffffffffffffffffffffff811660009081526003602052604081208054600192906124d9908490613c31565b909155505060008281526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001690555183919073ffffffffffffffffffffffffffffffffffffffff8416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6008805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6107f3338383612d18565b612710811015612616576040517fc824a12900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61261f8161110b565b600061262d61271083613c31565b9050612639838261223c565b604051819073ffffffffffffffffffffffffffffffffffffffff8516907fb7d4a20080e0659e1a3a4e00730e7750b9e9d1f2d1ae437d9813e8f2e086b6be90600090a3505050565b61268b33836123cb565b612717576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206e6f7220617070726f7665640000000000000000000000000000000000006064820152608401610a11565b610bfd84848484612e45565b6060600c805461085590613ae4565b60608160000361277557505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561279f578061278981613c44565b91506127989050600a83613c0a565b9150612779565b60008167ffffffffffffffff8111156127ba576127ba6138ee565b6040519080825280601f01601f1916602001820160405280156127e4576020820181803683370190505b5090505b8415612483576127f9600183613c31565b9150612806600a86613e13565b612811906030613c1e565b60f81b81838151811061282657612826613e27565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612860600a86613c0a565b94506127e8565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806128fa57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061074b57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000083161461074b565b600081815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff841690811790915581906129a4826111c2565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b8273ffffffffffffffffffffffffffffffffffffffff16612a0a826111c2565b73ffffffffffffffffffffffffffffffffffffffff1614612aad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610a11565b73ffffffffffffffffffffffffffffffffffffffff8216612b4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610a11565b612b5a60008261294a565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600360205260408120805460019290612b90908490613c31565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290612bcb908490613c1e565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000806000612c608585612ee8565b91509150612c6d81612f2a565b509392505050565b612c7f838361317e565b612c8c6000848484613340565b610a24576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a11565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612dad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a11565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526005602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612e508484846129ea565b612e5c84848484613340565b610bfd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a11565b6000808251604103612f1e5760208301516040840151606085015160001a612f1287828585613533565b94509450505050610cf5565b50600090506002610cf5565b6000816004811115612f3e57612f3e613e56565b03612f465750565b6001816004811115612f5a57612f5a613e56565b03612fc1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610a11565b6002816004811115612fd557612fd5613e56565b0361303c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610a11565b600381600481111561305057613050613e56565b036130dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610a11565b60048160048111156130f1576130f1613e56565b036111ab576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610a11565b73ffffffffffffffffffffffffffffffffffffffff82166131fb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a11565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1615613287576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a11565b73ffffffffffffffffffffffffffffffffffffffff821660009081526003602052604081208054600192906132bd908490613c1e565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600073ffffffffffffffffffffffffffffffffffffffff84163b15613528576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a02906133b7903390899088908890600401613e85565b6020604051808303816000875af1925050508015613410575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261340d91810190613ece565b60015b6134dd573d80801561343e576040519150601f19603f3d011682016040523d82523d6000602084013e613443565b606091505b5080516000036134d5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a11565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050612483565b506001949350505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561356a5750600090506003613642565b8460ff16601b1415801561358257508460ff16601c14155b156135935750600090506004613642565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156135e7573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811661363b57600060019250925050613642565b9150600090505b94509492505050565b7fffffffff00000000000000000000000000000000000000000000000000000000811681146111ab57600080fd5b60006020828403121561368b57600080fd5b8135611b898161364b565b73ffffffffffffffffffffffffffffffffffffffff811681146111ab57600080fd5b600080604083850312156136cb57600080fd5b82356136d681613696565b915060208301356bffffffffffffffffffffffff811681146136f757600080fd5b809150509250929050565b60006020828403121561371457600080fd5b8135611b8981613696565b60005b8381101561373a578181015183820152602001613722565b50506000910152565b6000815180845261375b81602086016020860161371f565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611b896020830184613743565b6000602082840312156137b257600080fd5b5035919050565b600080604083850312156137cc57600080fd5b82356137d781613696565b946020939093013593505050565b6000602082840312156137f757600080fd5b813563ffffffff81168114611b8957600080fd5b60008060006060848603121561382057600080fd5b833561382b81613696565b9250602084013561383b81613696565b929592945050506040919091013590565b6000806040838503121561385f57600080fd5b50508035926020909101359150565b6000806000806060858703121561388457600080fd5b8435935060208501359250604085013567ffffffffffffffff808211156138aa57600080fd5b818701915087601f8301126138be57600080fd5b8135818111156138cd57600080fd5b8860208285010111156138df57600080fd5b95989497505060200194505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff80841115613938576139386138ee565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561397e5761397e6138ee565b8160405280935085815286868601111561399757600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156139c357600080fd5b813567ffffffffffffffff8111156139da57600080fd5b8201601f810184136139eb57600080fd5b6124838482356020840161391d565b80151581146111ab57600080fd5b60008060408385031215613a1b57600080fd5b8235613a2681613696565b915060208301356136f7816139fa565b60008060008060808587031215613a4c57600080fd5b8435613a5781613696565b93506020850135613a6781613696565b925060408501359150606085013567ffffffffffffffff811115613a8a57600080fd5b8501601f81018713613a9b57600080fd5b613aaa8782356020840161391d565b91505092959194509250565b60008060408385031215613ac957600080fd5b8235613ad481613696565b915060208301356136f781613696565b600181811c90821680613af857607f821691505b602082108103613b31577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b600060208284031215613b4957600080fd5b8151611b89816139fa565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b63ffffffff818116838216019080821115613ba057613ba0613b54565b5092915050565b63ffffffff828116828216039080821115613ba057613ba0613b54565b808202811582820484141761074b5761074b613b54565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082613c1957613c19613bdb565b500490565b8082018082111561074b5761074b613b54565b8181038181111561074b5761074b613b54565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613c7557613c75613b54565b5060010190565b601f821115610a2457600081815260208120601f850160051c81016020861015613ca35750805b601f850160051c820191505b81811015613cc257828155600101613caf565b505050505050565b815167ffffffffffffffff811115613ce457613ce46138ee565b613cf881613cf28454613ae4565b84613c7c565b602080601f831160018114613d4b5760008415613d155750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555613cc2565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b82811015613d9857888601518255948401946001909101908401613d79565b5085821015613dd457878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b60008351613df681846020880161371f565b835190830190613e0a81836020880161371f565b01949350505050565b600082613e2257613e22613bdb565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152613ec46080830184613743565b9695505050505050565b600060208284031215613ee057600080fd5b8151611b898161364b56fea2646970667358221220341800927296d88cabf1737111b27fbdcc9b35eee4b5bb543d26c2a754e1453664736f6c63430008110033000000000000000000000000459c5440e65dc8db5287eccf86080f7a66b0f176000000000000000000000000000000000000000000000000000000000000006000000000000000000000000003b314dbd7dbed7731dfd19a10a7eee8088d2966000000000000000000000000000000000000000000000000000000000000002e68747470733a2f2f6170692e667573696f6e6973742e696f2f76312f6e66742f5175617274616e5072696d65732f000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102345760003560e01c806355f804b311610138578063a22cb465116100b0578063c0323ab71161007f578063c87b56dd11610064578063c87b56dd1461069b578063e985e9c5146106bb578063f2fde38b1461071157600080fd5b8063c0323ab714610641578063c5f956af1461066e57600080fd5b8063a22cb465146105c1578063b1e5e2b7146105e1578063b1e88b7014610601578063b88d4fde1461062157600080fd5b806370a08231116101075780637cbeb6f9116100ec5780637cbeb6f91461056c5780638da5cb5b1461058157806395d89b41146105ac57600080fd5b806370a0823114610537578063715018a61461055757600080fd5b806355f804b3146104cf5780636352211e146104ef57806365bde2411461050f5780636ae515261461052457600080fd5b806318160ddd116101cb57806332cb6b0c1161019a5780633ccfd60b1161017f5780633ccfd60b1461047a57806342842e0e1461048f57806342966c68146104af57600080fd5b806332cb6b0c1461045157806338b05de41461046757600080fd5b806318160ddd146103b057806320aa8c19146103c557806323b872dd146103e55780632a55205a1461040557600080fd5b806306fdde031161020757806306fdde03146102ee578063081812fc14610310578063095ea7b31461035557806313d5a5021461037557600080fd5b806301ffc9a71461023957806302fa7c471461026e578063046dc16614610290578063055ad42e146102b0575b600080fd5b34801561024557600080fd5b50610259610254366004613679565b610731565b60405190151581526020015b60405180910390f35b34801561027a57600080fd5b5061028e6102893660046136b8565b610751565b005b34801561029c57600080fd5b5061028e6102ab366004613702565b6107f7565b3480156102bc57600080fd5b506010546102d99068010000000000000000900463ffffffff1681565b60405163ffffffff9091168152602001610265565b3480156102fa57600080fd5b50610303610846565b604051610265919061378d565b34801561031c57600080fd5b5061033061032b3660046137a0565b6108d8565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610265565b34801561036157600080fd5b5061028e6103703660046137b9565b61090c565b34801561038157600080fd5b506103a2610390366004613702565b600e6020526000908152604090205481565b604051908152602001610265565b3480156103bc57600080fd5b506103a2610a29565b3480156103d157600080fd5b5061028e6103e03660046137e5565b610a89565b3480156103f157600080fd5b5061028e61040036600461380b565b610ad4565b34801561041157600080fd5b5061042561042036600461384c565b610c03565b6040805173ffffffffffffffffffffffffffffffffffffffff9093168352602083019190915201610265565b34801561045d57600080fd5b506103a261028181565b61028e61047536600461386e565b610cfc565b34801561048657600080fd5b5061028e610fba565b34801561049b57600080fd5b5061028e6104aa36600461380b565b610fe7565b3480156104bb57600080fd5b5061028e6104ca3660046137a0565b61110b565b3480156104db57600080fd5b5061028e6104ea3660046139b1565b6111ae565b3480156104fb57600080fd5b5061033061050a3660046137a0565b6111c2565b34801561051b57600080fd5b5061028e61124e565b61028e61053236600461386e565b611357565b34801561054357600080fd5b506103a2610552366004613702565b611605565b34801561056357600080fd5b5061028e6116d3565b34801561057857600080fd5b5061028e6116e5565b34801561058d57600080fd5b5060085473ffffffffffffffffffffffffffffffffffffffff16610330565b3480156105b857600080fd5b506103036117aa565b3480156105cd57600080fd5b5061028e6105dc366004613a08565b6117b9565b3480156105ed57600080fd5b5061028e6105fc3660046137a0565b6118cc565b34801561060d57600080fd5b5061028e61061c366004613702565b6119a8565b34801561062d57600080fd5b5061028e61063c366004613a36565b6119f7565b34801561064d57600080fd5b506103a261065c366004613702565b600f6020526000908152604090205481565b34801561067a57600080fd5b50600b546103309073ffffffffffffffffffffffffffffffffffffffff1681565b3480156106a757600080fd5b506103036106b63660046137a0565b611b29565b3480156106c757600080fd5b506102596106d6366004613ab6565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561071d57600080fd5b5061028e61072c366004613702565b611b90565b600061073c82611c44565b8061074b575061074b82611c44565b92915050565b610759611c9a565b73ffffffffffffffffffffffffffffffffffffffff82166107a6576040517f52d2cf3200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84169081179091556107f39082611d1b565b5050565b6107ff611c9a565b600d80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60606000805461085590613ae4565b80601f016020809104026020016040519081016040528092919081815260200182805461088190613ae4565b80156108ce5780601f106108a3576101008083540402835291602001916108ce565b820191906000526020600020905b8154815290600101906020018083116108b157829003601f168201915b5050505050905090565b60006108e382611e94565b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b600a54829073ffffffffffffffffffffffffffffffffffffffff163b15610a1a57600a546040517fc617113400000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff83811660248301529091169063c617113490604401602060405180830381865afa1580156109a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c79190613b37565b610a1a576040517fede71dcc00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff821660048201526024015b60405180910390fd5b610a248383611f1f565b505050565b6000610a39612710610272613b83565b601054640100000000900463ffffffff16610a576127106001613b83565b601054610a6a919063ffffffff16613ba7565b610a749190613b83565b610a7e9190613ba7565b63ffffffff16905090565b610a91611c9a565b6010805463ffffffff90921668010000000000000000027fffffffffffffffffffffffffffffffffffffffff00000000ffffffffffffffff909216919091179055565b600a54839073ffffffffffffffffffffffffffffffffffffffff163b15610bf2573373ffffffffffffffffffffffffffffffffffffffff821603610b2257610b1d8484846120d1565b610bfd565b600a546040517fc617113400000000000000000000000000000000000000000000000000000000815230600482015233602482015273ffffffffffffffffffffffffffffffffffffffff9091169063c617113490604401602060405180830381865afa158015610b96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bba9190613b37565b610bf2576040517fede71dcc000000000000000000000000000000000000000000000000000000008152336004820152602401610a11565b610bfd8484846120d1565b50505050565b600082815260076020908152604080832081518083019092525473ffffffffffffffffffffffffffffffffffffffff8116808352740100000000000000000000000000000000000000009091046bffffffffffffffffffffffff16928201929092528291610cbe57506040805180820190915260065473ffffffffffffffffffffffffffffffffffffffff811682527401000000000000000000000000000000000000000090046bffffffffffffffffffffffff1660208201525b602081015160009061271090610ce2906bffffffffffffffffffffffff1687613bc4565b610cec9190613c0a565b91519350909150505b9250929050565b600260095403610d68576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a11565b6002600981905560105468010000000000000000900463ffffffff1614610dbe576040517f36cef25a00000000000000000000000000000000000000000000000000000000815260026004820152602401610a11565b336000818152600f602052604090205484610dd98783613c1e565b1115610e11576040517f3b3f650400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601054640100000000900463ffffffff16610e30612710610281613b83565b63ffffffff166001888363ffffffff16610e4a9190613c1e565b610e549190613c31565b1115610e8c576040517fe51add9900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ed0838888600289898080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061217192505050565b1515600003610f0b576040517fc1606c2f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f158783613c1e565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600f60205260408120919091555b87811015610f6f57610f57848363ffffffff1661223c565b60019091019080610f6781613c44565b915050610f3f565b506010805463ffffffff909216640100000000027fffffffffffffffffffffffffffffffffffffffffffffffff00000000ffffffff9092169190911790555050600160095550505050565b610fc2611c9a565b600b54610fe59073ffffffffffffffffffffffffffffffffffffffff1647612256565b565b600a54839073ffffffffffffffffffffffffffffffffffffffff163b15611100573373ffffffffffffffffffffffffffffffffffffffff82160361103057610b1d8484846123b0565b600a546040517fc617113400000000000000000000000000000000000000000000000000000000815230600482015233602482015273ffffffffffffffffffffffffffffffffffffffff9091169063c617113490604401602060405180830381865afa1580156110a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c89190613b37565b611100576040517fede71dcc000000000000000000000000000000000000000000000000000000008152336004820152602401610a11565b610bfd8484846123b0565b611116335b826123cb565b6111a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206e6f7220617070726f7665640000000000000000000000000000000000006064820152608401610a11565b6111ab8161248b565b50565b6111b6611c9a565b600c6107f38282613cca565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff168061074b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610a11565b611256611c9a565b60105468010000000000000000900463ffffffff166002146112a7576040517f36cef25a00000000000000000000000000000000000000000000000000000000815260026004820152602401610a11565b6010543390640100000000900463ffffffff166000816112cb612710610281613b83565b63ffffffff166112db9190613c31565b6112e6906001613c1e565b90506112f6612710610281613b83565b611301906001613b83565b601060046101000a81548163ffffffff021916908363ffffffff16021790555060005b81811015610bfd5760006113388285613c1e565b9050611344858261223c565b508061134f81613c44565b915050611324565b6002600954036113c3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a11565b600260095560105468010000000000000000900463ffffffff16600114611419576040517f36cef25a00000000000000000000000000000000000000000000000000000000815260016004820152602401610a11565b336000818152600e6020526040902054846114348783613c1e565b111561146c576040517f3b3f650400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60105463ffffffff16611483612710610271613b83565b63ffffffff166001888363ffffffff1661149d9190613c1e565b6114a79190613c31565b11156114df576040517fe51add9900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611523838888600189898080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061217192505050565b151560000361155e576040517fc1606c2f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6115688783613c1e565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600e60205260408120919091555b878110156115c2576115aa848363ffffffff1661223c565b600190910190806115ba81613c44565b915050611592565b50601080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001663ffffffff929092169190911790555050600160095550505050565b600073ffffffffffffffffffffffffffffffffffffffff82166116aa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f74206120766160448201527f6c6964206f776e657200000000000000000000000000000000000000000000006064820152608401610a11565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b6116db611c9a565b610fe56000612558565b6116ed611c9a565b601054339063ffffffff16600081611709612710610271613b83565b63ffffffff166117199190613c31565b611724906001613c1e565b9050611734612710610271613b83565b61173f906001613b83565b601080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001663ffffffff9290921691909117905560005b81811015610bfd57600061178b8285613c1e565b9050611797858261223c565b50806117a281613c44565b915050611777565b60606001805461085590613ae4565b600a54829073ffffffffffffffffffffffffffffffffffffffff163b156118c257600a546040517fc617113400000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff83811660248301529091169063c617113490604401602060405180830381865afa158015611850573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118749190613b37565b6118c2576040517fede71dcc00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff82166004820152602401610a11565b610a2483836125cf565b600260095403611938576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a11565b60026009553380611948836111c2565b73ffffffffffffffffffffffffffffffffffffffff1614611995576040517fd57632ce00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61199f81836125da565b50506001600955565b6119b0611c9a565b600a80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600a54849073ffffffffffffffffffffffffffffffffffffffff163b15611b16573373ffffffffffffffffffffffffffffffffffffffff821603611a4657611a4185858585612681565b611b22565b600a546040517fc617113400000000000000000000000000000000000000000000000000000000815230600482015233602482015273ffffffffffffffffffffffffffffffffffffffff9091169063c617113490604401602060405180830381865afa158015611aba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ade9190613b37565b611b16576040517fede71dcc000000000000000000000000000000000000000000000000000000008152336004820152602401610a11565b611b2285858585612681565b5050505050565b6060611b3482611e94565b6000611b3e612723565b90506000815111611b5e5760405180602001604052806000815250611b89565b80611b6884612732565b604051602001611b79929190613de4565b6040516020818303038152906040525b9392505050565b611b98611c9a565b73ffffffffffffffffffffffffffffffffffffffff8116611c3b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a11565b6111ab81612558565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a00000000000000000000000000000000000000000000000000000000148061074b575061074b82612867565b60085473ffffffffffffffffffffffffffffffffffffffff163314610fe5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a11565b6127106bffffffffffffffffffffffff82161115611dbb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c655072696365000000000000000000000000000000000000000000006064820152608401610a11565b73ffffffffffffffffffffffffffffffffffffffff8216611e38576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610a11565b6040805180820190915273ffffffffffffffffffffffffffffffffffffffff9092168083526bffffffffffffffffffffffff90911660209092018290527401000000000000000000000000000000000000000090910217600655565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff166111ab576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610a11565b6000611f2a826111c2565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611fe7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610a11565b3373ffffffffffffffffffffffffffffffffffffffff8216148061203b575073ffffffffffffffffffffffffffffffffffffffff8116600090815260056020908152604080832033845290915290205460ff165b6120c7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610a11565b610a24838361294a565b6120da33611110565b612166576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206e6f7220617070726f7665640000000000000000000000000000000000006064820152608401610a11565b610a248383836129ea565b6040805173ffffffffffffffffffffffffffffffffffffffff87166020808301919091528183018590526060820186905260808083018890528351808403909101815260a0830184528051908201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000060c084015260dc8084018290528451808503909101815260fc9093019093528151910120600091906122139084612c51565b600d5473ffffffffffffffffffffffffffffffffffffffff918216911614979650505050505050565b6107f3828260405180602001604052806000815250612c75565b804710156122c0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610a11565b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d806000811461231a576040519150601f19603f3d011682016040523d82523d6000602084013e61231f565b606091505b5050905080610a24576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610a11565b610a24838383604051806020016040528060008152506119f7565b6000806123d7836111c2565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612445575073ffffffffffffffffffffffffffffffffffffffff80821660009081526005602090815260408083209388168352929052205460ff165b8061248357508373ffffffffffffffffffffffffffffffffffffffff1661246b846108d8565b73ffffffffffffffffffffffffffffffffffffffff16145b949350505050565b6000612496826111c2565b90506124a360008361294a565b73ffffffffffffffffffffffffffffffffffffffff811660009081526003602052604081208054600192906124d9908490613c31565b909155505060008281526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001690555183919073ffffffffffffffffffffffffffffffffffffffff8416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6008805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6107f3338383612d18565b612710811015612616576040517fc824a12900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61261f8161110b565b600061262d61271083613c31565b9050612639838261223c565b604051819073ffffffffffffffffffffffffffffffffffffffff8516907fb7d4a20080e0659e1a3a4e00730e7750b9e9d1f2d1ae437d9813e8f2e086b6be90600090a3505050565b61268b33836123cb565b612717576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206e6f7220617070726f7665640000000000000000000000000000000000006064820152608401610a11565b610bfd84848484612e45565b6060600c805461085590613ae4565b60608160000361277557505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561279f578061278981613c44565b91506127989050600a83613c0a565b9150612779565b60008167ffffffffffffffff8111156127ba576127ba6138ee565b6040519080825280601f01601f1916602001820160405280156127e4576020820181803683370190505b5090505b8415612483576127f9600183613c31565b9150612806600a86613e13565b612811906030613c1e565b60f81b81838151811061282657612826613e27565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612860600a86613c0a565b94506127e8565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806128fa57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061074b57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000083161461074b565b600081815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff841690811790915581906129a4826111c2565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b8273ffffffffffffffffffffffffffffffffffffffff16612a0a826111c2565b73ffffffffffffffffffffffffffffffffffffffff1614612aad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610a11565b73ffffffffffffffffffffffffffffffffffffffff8216612b4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610a11565b612b5a60008261294a565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600360205260408120805460019290612b90908490613c31565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290612bcb908490613c1e565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000806000612c608585612ee8565b91509150612c6d81612f2a565b509392505050565b612c7f838361317e565b612c8c6000848484613340565b610a24576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a11565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612dad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a11565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526005602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612e508484846129ea565b612e5c84848484613340565b610bfd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a11565b6000808251604103612f1e5760208301516040840151606085015160001a612f1287828585613533565b94509450505050610cf5565b50600090506002610cf5565b6000816004811115612f3e57612f3e613e56565b03612f465750565b6001816004811115612f5a57612f5a613e56565b03612fc1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610a11565b6002816004811115612fd557612fd5613e56565b0361303c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610a11565b600381600481111561305057613050613e56565b036130dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610a11565b60048160048111156130f1576130f1613e56565b036111ab576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610a11565b73ffffffffffffffffffffffffffffffffffffffff82166131fb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a11565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1615613287576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a11565b73ffffffffffffffffffffffffffffffffffffffff821660009081526003602052604081208054600192906132bd908490613c1e565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600073ffffffffffffffffffffffffffffffffffffffff84163b15613528576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a02906133b7903390899088908890600401613e85565b6020604051808303816000875af1925050508015613410575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261340d91810190613ece565b60015b6134dd573d80801561343e576040519150601f19603f3d011682016040523d82523d6000602084013e613443565b606091505b5080516000036134d5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a11565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050612483565b506001949350505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561356a5750600090506003613642565b8460ff16601b1415801561358257508460ff16601c14155b156135935750600090506004613642565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156135e7573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811661363b57600060019250925050613642565b9150600090505b94509492505050565b7fffffffff00000000000000000000000000000000000000000000000000000000811681146111ab57600080fd5b60006020828403121561368b57600080fd5b8135611b898161364b565b73ffffffffffffffffffffffffffffffffffffffff811681146111ab57600080fd5b600080604083850312156136cb57600080fd5b82356136d681613696565b915060208301356bffffffffffffffffffffffff811681146136f757600080fd5b809150509250929050565b60006020828403121561371457600080fd5b8135611b8981613696565b60005b8381101561373a578181015183820152602001613722565b50506000910152565b6000815180845261375b81602086016020860161371f565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611b896020830184613743565b6000602082840312156137b257600080fd5b5035919050565b600080604083850312156137cc57600080fd5b82356137d781613696565b946020939093013593505050565b6000602082840312156137f757600080fd5b813563ffffffff81168114611b8957600080fd5b60008060006060848603121561382057600080fd5b833561382b81613696565b9250602084013561383b81613696565b929592945050506040919091013590565b6000806040838503121561385f57600080fd5b50508035926020909101359150565b6000806000806060858703121561388457600080fd5b8435935060208501359250604085013567ffffffffffffffff808211156138aa57600080fd5b818701915087601f8301126138be57600080fd5b8135818111156138cd57600080fd5b8860208285010111156138df57600080fd5b95989497505060200194505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff80841115613938576139386138ee565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561397e5761397e6138ee565b8160405280935085815286868601111561399757600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156139c357600080fd5b813567ffffffffffffffff8111156139da57600080fd5b8201601f810184136139eb57600080fd5b6124838482356020840161391d565b80151581146111ab57600080fd5b60008060408385031215613a1b57600080fd5b8235613a2681613696565b915060208301356136f7816139fa565b60008060008060808587031215613a4c57600080fd5b8435613a5781613696565b93506020850135613a6781613696565b925060408501359150606085013567ffffffffffffffff811115613a8a57600080fd5b8501601f81018713613a9b57600080fd5b613aaa8782356020840161391d565b91505092959194509250565b60008060408385031215613ac957600080fd5b8235613ad481613696565b915060208301356136f781613696565b600181811c90821680613af857607f821691505b602082108103613b31577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b600060208284031215613b4957600080fd5b8151611b89816139fa565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b63ffffffff818116838216019080821115613ba057613ba0613b54565b5092915050565b63ffffffff828116828216039080821115613ba057613ba0613b54565b808202811582820484141761074b5761074b613b54565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082613c1957613c19613bdb565b500490565b8082018082111561074b5761074b613b54565b8181038181111561074b5761074b613b54565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613c7557613c75613b54565b5060010190565b601f821115610a2457600081815260208120601f850160051c81016020861015613ca35750805b601f850160051c820191505b81811015613cc257828155600101613caf565b505050505050565b815167ffffffffffffffff811115613ce457613ce46138ee565b613cf881613cf28454613ae4565b84613c7c565b602080601f831160018114613d4b5760008415613d155750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555613cc2565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b82811015613d9857888601518255948401946001909101908401613d79565b5085821015613dd457878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b60008351613df681846020880161371f565b835190830190613e0a81836020880161371f565b01949350505050565b600082613e2257613e22613bdb565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152613ec46080830184613743565b9695505050505050565b600060208284031215613ee057600080fd5b8151611b898161364b56fea2646970667358221220341800927296d88cabf1737111b27fbdcc9b35eee4b5bb543d26c2a754e1453664736f6c63430008110033

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

000000000000000000000000459c5440e65dc8db5287eccf86080f7a66b0f176000000000000000000000000000000000000000000000000000000000000006000000000000000000000000003b314dbd7dbed7731dfd19a10a7eee8088d2966000000000000000000000000000000000000000000000000000000000000002e68747470733a2f2f6170692e667573696f6e6973742e696f2f76312f6e66742f5175617274616e5072696d65732f000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : defaultTreasury (address): 0x459C5440E65Dc8db5287eCcf86080F7A66b0f176
Arg [1] : defaultBaseURI (string): https://api.fusionist.io/v1/nft/QuartanPrimes/
Arg [2] : signerAddress_ (address): 0x03b314DBd7DBed7731dfD19a10A7eee8088D2966

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 000000000000000000000000459c5440e65dc8db5287eccf86080f7a66b0f176
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 00000000000000000000000003b314dbd7dbed7731dfd19a10a7eee8088d2966
Arg [3] : 000000000000000000000000000000000000000000000000000000000000002e
Arg [4] : 68747470733a2f2f6170692e667573696f6e6973742e696f2f76312f6e66742f
Arg [5] : 5175617274616e5072696d65732f000000000000000000000000000000000000


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

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