ETH Price: $3,451.19 (+6.29%)
Gas: 7 Gwei

Token

Wrapped Guardian (WGUARDIAN)
 

Overview

Max Total Supply

2,547 WGUARDIAN

Holders

343

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
0xzsc.eth
Balance
4 WGUARDIAN
0xb6f410ae7c9d68aadf6a615a3ec8b540e91e95d1
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
WrappedNFT

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

File 19 of 19: WrappedNFTFactory.sol
// ░██████╗████████╗░█████╗░██████╗░██████╗░██╗░░░░░░█████╗░░█████╗░██╗░░██╗
// ██╔════╝╚══██╔══╝██╔══██╗██╔══██╗██╔══██╗██║░░░░░██╔══██╗██╔══██╗██║░██╔╝
// ╚█████╗░░░░██║░░░███████║██████╔╝██████╦╝██║░░░░░██║░░██║██║░░╚═╝█████═╝░
// ░╚═══██╗░░░██║░░░██╔══██║██╔══██╗██╔══██╗██║░░░░░██║░░██║██║░░██╗██╔═██╗░
// ██████╔╝░░░██║░░░██║░░██║██║░░██║██████╦╝███████╗╚█████╔╝╚█████╔╝██║░╚██╗
// ╚═════╝░░░░╚═╝░░░╚═╝░░╚═╝╚═╝░░╚═╝╚═════╝░╚══════╝░╚════╝░░╚════╝░╚═╝░░╚═╝

// SPDX-License-Identifier: MIT
// StarBlock DAO Contracts, https://www.starblockdao.io/

pragma solidity ^0.8.0;

import "./Ownable.sol";
import "./ReentrancyGuard.sol";
import "./ERC2981.sol";
import "./ERC721Enumerable.sol";

import "./wnft_interfaces.sol";
import "./ArrayUtils.sol";

abstract contract BaseWrappedNFT is Ownable, ReentrancyGuard, ERC721, ERC2981, IBaseWrappedNFT {
    using ArrayUtils for uint256[];
    
    string public constant NAME_PREFIX = "Wrapped ";
    string public constant SYMBOL_PREFIX = "W";

    IWrappedNFTFactory public immutable factory;// can not changed
    IERC721Metadata public immutable nft;

    address public delegator; //who can help user to deposit and withdraw NFT, need user to approve

    //only user self and delegator can deposit or withdraw for user.
    modifier userSelfOrDelegator(address _forUser) {
        require(msg.sender == delegator || (_forUser == address(0) || _forUser == msg.sender), "BaseWrappedNFT: not allowed!");
        _;
    }

    constructor(
        IERC721Metadata _nft
    ) ERC721("", "") {
        nft = _nft;
        factory = IWrappedNFTFactory(msg.sender);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 _interfaceId) public view virtual override(IERC165, ERC721, ERC2981) returns (bool) {
        return _interfaceId == type(IBaseWrappedNFT).interfaceId || _interfaceId == type(IERC721Receiver).interfaceId 
                || _interfaceId == type(IERC2981Mutable).interfaceId || ERC721.supportsInterface(_interfaceId) || ERC2981.supportsInterface(_interfaceId);
    }

    function setDelegator(address _delegator) external onlyOwner nonReentrant {
        //allow delegator to be zero
        delegator = _delegator;
        emit DelegatorChanged(_delegator);
    }

    function _requireTokenIds(uint256[] memory _tokenIds) internal pure {
        require(_tokenIds.length > 0, "BaseWrappedNFT: tokenIds can not be empty!");
        require(!_tokenIds.hasDuplicate(), "BaseWrappedNFT: tokenIds can not contain duplicate ones!");
    }

    function deposit(address _forUser, uint256[] memory _tokenIds) external nonReentrant userSelfOrDelegator(_forUser) { 
        _requireTokenIds(_tokenIds);

        if(_forUser == address(0)){
            _forUser = msg.sender;
        }
        
        uint256 tokenId;
        for(uint256 i = 0; i < _tokenIds.length; i ++){
            tokenId = _tokenIds[i];
            require(nft.ownerOf(tokenId) == _forUser, "BaseWrappedNFT: can not deposit nft not owned!");
            nft.safeTransferFrom(_forUser, address(this), tokenId);
            if(_exists(tokenId)){
                require(ownerOf(tokenId) == address(this), "BaseWrappedNFT: tokenId owner error!");
                _transfer(address(this), _forUser, tokenId);
            }else{
                _safeMint(_forUser, tokenId);
            }
        }
        emit Deposit(_forUser, _tokenIds);
    }

    function withdraw(address _forUser, uint256[] memory _wnftTokenIds) external nonReentrant userSelfOrDelegator(_forUser) {
        _requireTokenIds(_wnftTokenIds);

        if(_forUser == address(0)){
            _forUser = msg.sender;
        }

        uint256 wnftTokenId;
        for(uint256 i = 0; i < _wnftTokenIds.length; i ++){
            wnftTokenId = _wnftTokenIds[i];
            require(ownerOf(wnftTokenId) == _forUser, "BaseWrappedNFT: can not withdraw nft not owned!");
            safeTransferFrom(_forUser, address(this), wnftTokenId);
            nft.safeTransferFrom(address(this), _forUser, wnftTokenId);
        }

        emit Withdraw(_forUser, _wnftTokenIds);
    }
    
    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override(IERC721Metadata, ERC721) returns (string memory) {
        return string(abi.encodePacked(NAME_PREFIX, nft.name()));
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override(IERC721Metadata, ERC721) returns (string memory) {
        return string(abi.encodePacked(SYMBOL_PREFIX, nft.symbol()));
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 _tokenId) public view virtual override(IERC721Metadata, ERC721) returns (string memory) {
        require(ERC721._exists(_tokenId), "BaseWrappedNFT: URI query for nonexistent token");
        return nft.tokenURI(_tokenId);
    }
    
    function exists(uint256 _tokenId) external view returns (bool) {
        return _exists(_tokenId);
    }

    /**
     * @dev See {IERC721Receiver-onERC721Received}.
     *
     * Always returns `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received (
        address,
        address,
        uint256,
        bytes calldata
    ) public virtual override returns (bytes4) {
        return this.onERC721Received.selector;
    }

    function setDefaultRoyalty(address _receiver, uint96 _feeNumerator) external onlyOwner nonReentrant {
        _setDefaultRoyalty(_receiver, _feeNumerator);
    }

    function deleteDefaultRoyalty() external onlyOwner nonReentrant {
        _deleteDefaultRoyalty();
    }

    function isEnumerable() external view virtual returns (bool) {
        return false;
    }
}

contract WrappedNFT is IWrappedNFT, BaseWrappedNFT {
    //add total supply for etherscan
    uint256 private _totalSupply;

    constructor(
        IERC721Metadata _nft
    ) BaseWrappedNFT(_nft) {

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

    /**
     * @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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * 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 override {
        ERC721._beforeTokenTransfer(from, to, tokenId);
        if (from == address(0)) {
            _totalSupply ++;
        } else if (to == address(0)) {
            _totalSupply --;
        } 
    }

    function totalSupply() public view virtual override returns (uint256){
        return _totalSupply;
    }
}

contract WrappedNFTEnumerable is IWrappedNFTEnumerable, WrappedNFT, ERC721Enumerable {
    constructor(
        IERC721Metadata _nft
    ) WrappedNFT(_nft) {

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

    /**
     * @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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * 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 override(WrappedNFT, ERC721Enumerable) {
        ERC721Enumerable._beforeTokenTransfer(from, to, tokenId);
    }

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 _tokenId) public view virtual override(IERC721Metadata, ERC721) returns (string memory) {
        return BaseWrappedNFT.tokenURI(_tokenId);
    }

    function totalSupply() public view override(IWrappedNFTEnumerable, ERC721Enumerable, WrappedNFT) returns (uint256){
        return ERC721Enumerable.totalSupply();
    }

    function isEnumerable() external view virtual override returns (bool) {
        return true;
    }
}

//support deploy 2 WNFTs: ERC721 and ERC721Enumerable implementation.
contract WrappedNFTFactory is IWrappedNFTFactory, Ownable, ReentrancyGuard {
    address public wnftDelegator; //used to set the delegator in WrappedNFT.

    mapping(IERC721Metadata => IWrappedNFT) public wnfts; //all the deployed WrappedNFTs.
    uint256 public wnftsNumber;

    function deployWrappedNFT(IERC721Metadata _nft, bool _isEnumerable) external onlyOwner nonReentrant returns (IWrappedNFT _wnft) {
        require(address(_nft) != address(0), "WrappedNFTFactory: _nft can not be zero!");
        require(address(wnfts[_nft]) == address(0), "WrappedNFTFactory: wnft has been deployed!");
        if(_isEnumerable){
            _wnft = new WrappedNFTEnumerable(_nft);
        }else{
            _wnft = new WrappedNFT(_nft);
        }
        if(wnftDelegator != address(0)){
            _wnft.setDelegator(wnftDelegator);
        }
        Ownable(address(_wnft)).transferOwnership(owner());
        wnfts[_nft] = _wnft;
        wnftsNumber ++;
        emit WrappedNFTDeployed(_nft, _wnft, _isEnumerable);
    }
    
    //allow wnftDelegator to be zero
    function setWNFTDelegator(address _wnftDelegator) external onlyOwner nonReentrant {
        wnftDelegator = _wnftDelegator;
        emit WNFTDelegatorChanged(_wnftDelegator);
    }
}

File 1 of 19: Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 2 of 19: ArrayUtils.sol
// ░██████╗████████╗░█████╗░██████╗░██████╗░██╗░░░░░░█████╗░░█████╗░██╗░░██╗
// ██╔════╝╚══██╔══╝██╔══██╗██╔══██╗██╔══██╗██║░░░░░██╔══██╗██╔══██╗██║░██╔╝
// ╚█████╗░░░░██║░░░███████║██████╔╝██████╦╝██║░░░░░██║░░██║██║░░╚═╝█████═╝░
// ░╚═══██╗░░░██║░░░██╔══██║██╔══██╗██╔══██╗██║░░░░░██║░░██║██║░░██╗██╔═██╗░
// ██████╔╝░░░██║░░░██║░░██║██║░░██║██████╦╝███████╗╚█████╔╝╚█████╔╝██║░╚██╗
// ╚═════╝░░░░╚═╝░░░╚═╝░░╚═╝╚═╝░░╚═╝╚═════╝░╚══════╝░╚════╝░░╚════╝░╚═╝░░╚═╝

// SPDX-License-Identifier: MIT
// StarBlock DAO Contracts, https://www.starblockdao.io/

pragma solidity ^0.8.0;

library ArrayUtils {
    function hasDuplicate(uint256[] memory self) external pure returns(bool) {
        uint256 ivalue;
        uint256 jvalue;
        for(uint256 i = 0; i < self.length - 1; i ++){
            ivalue = self[i];
            for(uint256 j = i + 1; j < self.length; j ++){
                jvalue = self[j];
                if(ivalue == jvalue){
                    return true;
                }
            }
        }
        return false;
    }
}

File 3 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 4 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 5 of 19: ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "./IERC2981.sol";
import "./ERC165.sol";

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

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

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

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

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

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

        return (royalty.receiver, royaltyAmount);
    }

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

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

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

        _afterTokenTransfer(address(0), to, tokenId);
    }

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

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

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

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

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

        _afterTokenTransfer(owner, address(0), tokenId);
    }

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * 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 override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 8 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 9 of 19: IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC721.sol";

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

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

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

File 12 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 13 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 14 of 19: Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "./Context.sol";

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

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

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

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

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

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

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

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

File 15 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 16 of 19: SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 18 of 19: wnft_interfaces.sol
// ░██████╗████████╗░█████╗░██████╗░██████╗░██╗░░░░░░█████╗░░█████╗░██╗░░██╗
// ██╔════╝╚══██╔══╝██╔══██╗██╔══██╗██╔══██╗██║░░░░░██╔══██╗██╔══██╗██║░██╔╝
// ╚█████╗░░░░██║░░░███████║██████╔╝██████╦╝██║░░░░░██║░░██║██║░░╚═╝█████═╝░
// ░╚═══██╗░░░██║░░░██╔══██║██╔══██╗██╔══██╗██║░░░░░██║░░██║██║░░██╗██╔═██╗░
// ██████╔╝░░░██║░░░██║░░██║██║░░██║██████╦╝███████╗╚█████╔╝╚█████╔╝██║░╚██╗
// ╚═════╝░░░░╚═╝░░░╚═╝░░╚═╝╚═╝░░╚═╝╚═════╝░╚══════╝░╚════╝░░╚════╝░╚═╝░░╚═╝

// SPDX-License-Identifier: MIT
// StarBlock DAO Contracts, https://www.starblockdao.io/

pragma solidity ^0.8.0;

import "./IERC2981.sol";
import "./IERC721Receiver.sol";
import "./IERC721Metadata.sol";
import "./IERC721Enumerable.sol";

interface IERC2981Mutable is IERC165, IERC2981 {
    function setDefaultRoyalty(address _receiver, uint96 _feeNumerator) external;
    function deleteDefaultRoyalty() external;
}

interface IBaseWrappedNFT is IERC165, IERC2981Mutable, IERC721Receiver, IERC721, IERC721Metadata {
    event DelegatorChanged(address _delegator);
    event Deposit(address _forUser, uint256[] _tokenIds);
    event Withdraw(address _forUser, uint256[] _wnftTokenIds);

    function nft() external view returns (IERC721Metadata);
    function factory() external view returns (IWrappedNFTFactory);

    function deposit(address _forUser, uint256[] memory _tokenIds) external;
    function withdraw(address _forUser, uint256[] memory _wnftTokenIds) external;

    function exists(uint256 _tokenId) external view returns (bool);
    
    function delegator() external view returns (address);
    function setDelegator(address _delegator) external;
    
    function isEnumerable() external view returns (bool);
}

interface IWrappedNFT is IBaseWrappedNFT {
    function totalSupply() external view returns (uint256);
}

interface IWrappedNFTEnumerable is IWrappedNFT, IERC721Enumerable {
    function totalSupply() external view override(IWrappedNFT, IERC721Enumerable) returns (uint256);
}

interface IWrappedNFTFactory {
    event WrappedNFTDeployed(IERC721Metadata _nft, IWrappedNFT _wnft, bool _isEnumerable);
    event WNFTDelegatorChanged(address _wnftDelegator);

    function wnftDelegator() external view returns (address);

    function deployWrappedNFT(IERC721Metadata _nft, bool _isEnumerable) external returns (IWrappedNFT);
    function wnfts(IERC721Metadata _nft) external view returns (IWrappedNFT);
    function wnftsNumber() external view returns (uint);
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC721Metadata","name":"_nft","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_delegator","type":"address"}],"name":"DelegatorChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_forUser","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"Deposit","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_forUser","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"_wnftTokenIds","type":"uint256[]"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"NAME_PREFIX","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SYMBOL_PREFIX","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"delegator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deleteDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_forUser","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"contract IWrappedNFTFactory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"isEnumerable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nft","outputs":[{"internalType":"contract IERC721Metadata","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"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":[],"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":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_delegator","type":"address"}],"name":"setDelegator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"_interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_forUser","type":"address"},{"internalType":"uint256[]","name":"_wnftTokenIds","type":"uint256[]"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c06040523480156200001157600080fd5b50604051620028853803806200288583398101604081905262000034916200019b565b60408051602080820183526000808352835191820190935291825282916200005c33620000a5565b60018055815162000075906002906020850190620000f5565b5080516200008b906003906020840190620000f5565b5050506001600160a01b031660a05250336080526200020a565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200010390620001cd565b90600052602060002090601f01602090048101928262000127576000855562000172565b82601f106200014257805160ff191683800117855562000172565b8280016001018555821562000172579182015b828111156200017257825182559160200191906001019062000155565b506200018092915062000184565b5090565b5b8082111562000180576000815560010162000185565b600060208284031215620001ae57600080fd5b81516001600160a01b0381168114620001c657600080fd5b9392505050565b600181811c90821680620001e257607f821691505b602082108114156200020457634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05161262b6200025a60003960008181610321015281816105ab01528181610bcd01528181610d4801528181610eab01528181610fd1015261122401526000610457015261262b6000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c8063715018a61161010f578063a71604e8116100a2578063c87b56dd11610071578063c87b56dd14610479578063ce9b79301461048c578063e985e9c51461049f578063f2fde38b146104db57600080fd5b8063a71604e814610424578063aa1b103f14610437578063b88d4fde1461043f578063c45a01551461045257600080fd5b80638da5cb5b116100de5780638da5cb5b146103f157806395d89b4114610402578063a22cb4651461040a578063a40f15ea1461041d57600080fd5b8063715018a61461039c5780637f7c4746146103a45780638293744b146103cb57806383cd9cc3146103de57600080fd5b806323b872dd116101875780634f558e79116101565780634f558e7914610343578063631c2bb8146103565780636352211e1461037657806370a082311461038957600080fd5b806323b872dd146102c45780632a55205a146102d757806342842e0e1461030957806347ccca021461031c57600080fd5b8063081812fc116101c3578063081812fc1461023c578063095ea7b314610267578063150b7a021461027a57806318160ddd146102b257600080fd5b806301ffc9a7146101ea57806304634d8d1461021257806306fdde0314610227575b600080fd5b6101fd6101f8366004611db4565b6104ee565b60405190151581526020015b60405180910390f35b610225610220366004611ded565b610519565b005b61022f610586565b6040516102099190611e8a565b61024f61024a366004611e9d565b610654565b6040516001600160a01b039091168152602001610209565b610225610275366004611eb6565b6106dc565b610299610288366004611ee2565b630a85bd0160e11b95945050505050565b6040516001600160e01b03199091168152602001610209565b600b545b604051908152602001610209565b6102256102d2366004611f81565b6107f2565b6102ea6102e5366004611fc2565b610823565b604080516001600160a01b039093168352602083019190915201610209565b610225610317366004611f81565b6108cf565b61024f7f000000000000000000000000000000000000000000000000000000000000000081565b6101fd610351366004611e9d565b6108ea565b61022f604051806040016040528060018152602001605760f81b81525081565b61024f610384366004611e9d565b6108f5565b6102b6610397366004611fe4565b61096c565b6102256109f3565b61022f6040518060400160405280600881526020016702bb930b83832b2160c51b81525081565b6102256103d9366004612048565b610a29565b6102256103ec366004611fe4565b610c80565b6000546001600160a01b031661024f565b61022f610d2a565b610225610418366004612111565b610da4565b60006101fd565b610225610432366004612048565b610db3565b610225611105565b61022561044d366004612167565b611167565b61024f7f000000000000000000000000000000000000000000000000000000000000000081565b61022f610487366004611e9d565b61119f565b600a5461024f906001600160a01b031681565b6101fd6104ad366004612216565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6102256104e9366004611fe4565b61129b565b60006001600160e01b031982166318160ddd60e01b1480610513575061051382611336565b92915050565b6000546001600160a01b0316331461054c5760405162461bcd60e51b815260040161054390612244565b60405180910390fd5b6002600154141561056f5760405162461bcd60e51b815260040161054390612279565b600260015561057e828261139f565b505060018055565b60606040518060400160405280600881526020016702bb930b83832b2160c51b8152507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166306fdde036040518163ffffffff1660e01b8152600401600060405180830381865afa158015610607573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261062f91908101906122b0565b604051602001610640929190612327565b604051602081830303815290604052905090565b600061065f8261149c565b6106c05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610543565b506000908152600660205260409020546001600160a01b031690565b60006106e7826108f5565b9050806001600160a01b0316836001600160a01b031614156107555760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610543565b336001600160a01b0382161480610771575061077181336104ad565b6107e35760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610543565b6107ed83836114b9565b505050565b6107fc3382611527565b6108185760405162461bcd60e51b815260040161054390612356565b6107ed838383611611565b60008281526009602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916108985750604080518082019091526008546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906108b7906001600160601b0316876123bd565b6108c191906123dc565b915196919550909350505050565b6107ed83838360405180602001604052806000815250611167565b60006105138261149c565b6000818152600460205260408120546001600160a01b0316806105135760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610543565b60006001600160a01b0382166109d75760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610543565b506001600160a01b031660009081526005602052604090205490565b6000546001600160a01b03163314610a1d5760405162461bcd60e51b815260040161054390612244565b610a2760006117b8565b565b60026001541415610a4c5760405162461bcd60e51b815260040161054390612279565b6002600155600a5482906001600160a01b0316331480610a8557506001600160a01b0381161580610a8557506001600160a01b03811633145b610ad15760405162461bcd60e51b815260206004820152601c60248201527f42617365577261707065644e46543a206e6f7420616c6c6f77656421000000006044820152606401610543565b610ada82611808565b6001600160a01b038316610aec573392505b6000805b8351811015610c3c57838181518110610b0b57610b0b6123fe565b60200260200101519150846001600160a01b0316610b28836108f5565b6001600160a01b031614610b965760405162461bcd60e51b815260206004820152602f60248201527f42617365577261707065644e46543a2063616e206e6f7420776974686472617760448201526e206e6674206e6f74206f776e65642160881b6064820152608401610543565b610ba18530846108cf565b604051632142170760e11b81523060048201526001600160a01b038681166024830152604482018490527f000000000000000000000000000000000000000000000000000000000000000016906342842e0e90606401600060405180830381600087803b158015610c1157600080fd5b505af1158015610c25573d6000803e3d6000fd5b505050508080610c3490612414565b915050610af0565b507f67e9df8b3c7743c9f1b625ba4f2b4e601206dbd46ed5c33c85a1242e4d23a2d18484604051610c6e92919061242f565b60405180910390a15050600180555050565b6000546001600160a01b03163314610caa5760405162461bcd60e51b815260040161054390612244565b60026001541415610ccd5760405162461bcd60e51b815260040161054390612279565b6002600155600a80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2b9e73b1b859ae78d60ebbdbf4300a27c63cb000bf7621af19d93940d89a09959060200160405180910390a15060018055565b6060604051806040016040528060018152602001605760f81b8152507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa158015610607573d6000803e3d6000fd5b610daf338383611957565b5050565b60026001541415610dd65760405162461bcd60e51b815260040161054390612279565b6002600155600a5482906001600160a01b0316331480610e0f57506001600160a01b0381161580610e0f57506001600160a01b03811633145b610e5b5760405162461bcd60e51b815260206004820152601c60248201527f42617365577261707065644e46543a206e6f7420616c6c6f77656421000000006044820152606401610543565b610e6482611808565b6001600160a01b038316610e76573392505b6000805b83518110156110d357838181518110610e9557610e956123fe565b60200260200101519150846001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316636352211e846040518263ffffffff1660e01b8152600401610ef791815260200190565b602060405180830381865afa158015610f14573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f389190612485565b6001600160a01b031614610fa55760405162461bcd60e51b815260206004820152602e60248201527f42617365577261707065644e46543a2063616e206e6f74206465706f7369742060448201526d6e6674206e6f74206f776e65642160901b6064820152608401610543565b604051632142170760e11b81526001600160a01b038681166004830152306024830152604482018490527f000000000000000000000000000000000000000000000000000000000000000016906342842e0e90606401600060405180830381600087803b15801561101557600080fd5b505af1158015611029573d6000803e3d6000fd5b505050506110368261149c565b156110b75730611045836108f5565b6001600160a01b0316146110a75760405162461bcd60e51b8152602060048201526024808201527f42617365577261707065644e46543a20746f6b656e4964206f776e6572206572604482015263726f722160e01b6064820152608401610543565b6110b2308684611611565b6110c1565b6110c18583611a26565b806110cb81612414565b915050610e7a565b507fff409334d2645d660e7cfa41a637aa21f45a79ecb9660a6931aa923bf75577c78484604051610c6e92919061242f565b6000546001600160a01b0316331461112f5760405162461bcd60e51b815260040161054390612244565b600260015414156111525760405162461bcd60e51b815260040161054390612279565b60026001556111616000600855565b60018055565b6111713383611527565b61118d5760405162461bcd60e51b815260040161054390612356565b61119984848484611a40565b50505050565b60606111aa8261149c565b61120e5760405162461bcd60e51b815260206004820152602f60248201527f42617365577261707065644e46543a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610543565b60405163c87b56dd60e01b8152600481018390527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063c87b56dd90602401600060405180830381865afa158015611273573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261051391908101906122b0565b6000546001600160a01b031633146112c55760405162461bcd60e51b815260040161054390612244565b6001600160a01b03811661132a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610543565b611333816117b8565b50565b60006001600160e01b031982166207f16560e21b148061136657506001600160e01b03198216630a85bd0160e11b145b8061138157506001600160e01b0319821663573c2ed960e11b145b80611390575061139082611a73565b80610513575061051382611ac3565b6127106001600160601b038216111561140d5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610543565b6001600160a01b0382166114635760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610543565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600855565b6000908152600460205260409020546001600160a01b0316151590565b600081815260066020526040902080546001600160a01b0319166001600160a01b03841690811790915581906114ee826108f5565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006115328261149c565b6115935760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610543565b600061159e836108f5565b9050806001600160a01b0316846001600160a01b031614806115e557506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff165b806116095750836001600160a01b03166115fe84610654565b6001600160a01b0316145b949350505050565b826001600160a01b0316611624826108f5565b6001600160a01b0316146116885760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610543565b6001600160a01b0382166116ea5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610543565b6116f5838383611ae8565b6117006000826114b9565b6001600160a01b03831660009081526005602052604081208054600192906117299084906124a2565b90915550506001600160a01b03821660009081526005602052604081208054600192906117579084906124b9565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600081511161186c5760405162461bcd60e51b815260206004820152602a60248201527f42617365577261707065644e46543a20746f6b656e4964732063616e206e6f7460448201526920626520656d7074792160b01b6064820152608401610543565b604051637cf7d2f560e01b8152738767cb8790faec827536fde6176036b234892ecc90637cf7d2f5906118a39084906004016124d1565b602060405180830381865af41580156118c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e49190612515565b156113335760405162461bcd60e51b815260206004820152603860248201527f42617365577261707065644e46543a20746f6b656e4964732063616e206e6f7460448201527f20636f6e7461696e206475706c6963617465206f6e65732100000000000000006064820152608401610543565b816001600160a01b0316836001600160a01b031614156119b95760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610543565b6001600160a01b03838116600081815260076020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b610daf828260405180602001604052806000815250611b2e565b611a4b848484611611565b611a5784848484611b61565b6111995760405162461bcd60e51b815260040161054390612532565b60006001600160e01b031982166380ac58cd60e01b1480611aa457506001600160e01b03198216635b5e139f60e01b145b8061051357506301ffc9a760e01b6001600160e01b0319831614610513565b60006001600160e01b0319821663152a902d60e11b1480610513575061051382611a73565b6001600160a01b038316611b1057600b8054906000611b0683612414565b9190505550505050565b6001600160a01b0382166107ed57600b8054906000611b0683612584565b611b388383611c5f565b611b456000848484611b61565b6107ed5760405162461bcd60e51b815260040161054390612532565b60006001600160a01b0384163b15611c5457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611ba590339089908890889060040161259b565b6020604051808303816000875af1925050508015611be0575060408051601f3d908101601f19168201909252611bdd918101906125d8565b60015b611c3a573d808015611c0e576040519150601f19603f3d011682016040523d82523d6000602084013e611c13565b606091505b508051611c325760405162461bcd60e51b815260040161054390612532565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611609565b506001949350505050565b6001600160a01b038216611cb55760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610543565b611cbe8161149c565b15611d0b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610543565b611d1760008383611ae8565b6001600160a01b0382166000908152600560205260408120805460019290611d409084906124b9565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b03198116811461133357600080fd5b600060208284031215611dc657600080fd5b8135611dd181611d9e565b9392505050565b6001600160a01b038116811461133357600080fd5b60008060408385031215611e0057600080fd5b8235611e0b81611dd8565b915060208301356001600160601b0381168114611e2757600080fd5b809150509250929050565b60005b83811015611e4d578181015183820152602001611e35565b838111156111995750506000910152565b60008151808452611e76816020860160208601611e32565b601f01601f19169290920160200192915050565b602081526000611dd16020830184611e5e565b600060208284031215611eaf57600080fd5b5035919050565b60008060408385031215611ec957600080fd5b8235611ed481611dd8565b946020939093013593505050565b600080600080600060808688031215611efa57600080fd5b8535611f0581611dd8565b94506020860135611f1581611dd8565b935060408601359250606086013567ffffffffffffffff80821115611f3957600080fd5b818801915088601f830112611f4d57600080fd5b813581811115611f5c57600080fd5b896020828501011115611f6e57600080fd5b9699959850939650602001949392505050565b600080600060608486031215611f9657600080fd5b8335611fa181611dd8565b92506020840135611fb181611dd8565b929592945050506040919091013590565b60008060408385031215611fd557600080fd5b50508035926020909101359150565b600060208284031215611ff657600080fd5b8135611dd181611dd8565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561204057612040612001565b604052919050565b6000806040838503121561205b57600080fd5b823561206681611dd8565b915060208381013567ffffffffffffffff8082111561208457600080fd5b818601915086601f83011261209857600080fd5b8135818111156120aa576120aa612001565b8060051b91506120bb848301612017565b81815291830184019184810190898411156120d557600080fd5b938501935b838510156120f3578435825293850193908501906120da565b8096505050505050509250929050565b801515811461133357600080fd5b6000806040838503121561212457600080fd5b823561212f81611dd8565b91506020830135611e2781612103565b600067ffffffffffffffff82111561215957612159612001565b50601f01601f191660200190565b6000806000806080858703121561217d57600080fd5b843561218881611dd8565b9350602085013561219881611dd8565b925060408501359150606085013567ffffffffffffffff8111156121bb57600080fd5b8501601f810187136121cc57600080fd5b80356121df6121da8261213f565b612017565b8181528860208385010111156121f457600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b6000806040838503121561222957600080fd5b823561223481611dd8565b91506020830135611e2781611dd8565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6000602082840312156122c257600080fd5b815167ffffffffffffffff8111156122d957600080fd5b8201601f810184136122ea57600080fd5b80516122f86121da8261213f565b81815285602083850101111561230d57600080fd5b61231e826020830160208601611e32565b95945050505050565b60008351612339818460208801611e32565b83519083019061234d818360208801611e32565b01949350505050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156123d7576123d76123a7565b500290565b6000826123f957634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b6000600019821415612428576124286123a7565b5060010190565b6001600160a01b038316815260406020808301829052835191830182905260009184820191906060850190845b818110156124785784518352938301939183019160010161245c565b5090979650505050505050565b60006020828403121561249757600080fd5b8151611dd181611dd8565b6000828210156124b4576124b46123a7565b500390565b600082198211156124cc576124cc6123a7565b500190565b6020808252825182820181905260009190848201906040850190845b81811015612509578351835292840192918401916001016124ed565b50909695505050505050565b60006020828403121561252757600080fd5b8151611dd181612103565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600081612593576125936123a7565b506000190190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906125ce90830184611e5e565b9695505050505050565b6000602082840312156125ea57600080fd5b8151611dd181611d9e56fea2646970667358221220392c61325e34c86b1061063f7d19cedefa2b57c1ac7f6fbae89a288e616485f764736f6c634300080a00330000000000000000000000003d053c1b9ef47f14e9d97e076b96c3a7c5054b1d

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101e55760003560e01c8063715018a61161010f578063a71604e8116100a2578063c87b56dd11610071578063c87b56dd14610479578063ce9b79301461048c578063e985e9c51461049f578063f2fde38b146104db57600080fd5b8063a71604e814610424578063aa1b103f14610437578063b88d4fde1461043f578063c45a01551461045257600080fd5b80638da5cb5b116100de5780638da5cb5b146103f157806395d89b4114610402578063a22cb4651461040a578063a40f15ea1461041d57600080fd5b8063715018a61461039c5780637f7c4746146103a45780638293744b146103cb57806383cd9cc3146103de57600080fd5b806323b872dd116101875780634f558e79116101565780634f558e7914610343578063631c2bb8146103565780636352211e1461037657806370a082311461038957600080fd5b806323b872dd146102c45780632a55205a146102d757806342842e0e1461030957806347ccca021461031c57600080fd5b8063081812fc116101c3578063081812fc1461023c578063095ea7b314610267578063150b7a021461027a57806318160ddd146102b257600080fd5b806301ffc9a7146101ea57806304634d8d1461021257806306fdde0314610227575b600080fd5b6101fd6101f8366004611db4565b6104ee565b60405190151581526020015b60405180910390f35b610225610220366004611ded565b610519565b005b61022f610586565b6040516102099190611e8a565b61024f61024a366004611e9d565b610654565b6040516001600160a01b039091168152602001610209565b610225610275366004611eb6565b6106dc565b610299610288366004611ee2565b630a85bd0160e11b95945050505050565b6040516001600160e01b03199091168152602001610209565b600b545b604051908152602001610209565b6102256102d2366004611f81565b6107f2565b6102ea6102e5366004611fc2565b610823565b604080516001600160a01b039093168352602083019190915201610209565b610225610317366004611f81565b6108cf565b61024f7f0000000000000000000000003d053c1b9ef47f14e9d97e076b96c3a7c5054b1d81565b6101fd610351366004611e9d565b6108ea565b61022f604051806040016040528060018152602001605760f81b81525081565b61024f610384366004611e9d565b6108f5565b6102b6610397366004611fe4565b61096c565b6102256109f3565b61022f6040518060400160405280600881526020016702bb930b83832b2160c51b81525081565b6102256103d9366004612048565b610a29565b6102256103ec366004611fe4565b610c80565b6000546001600160a01b031661024f565b61022f610d2a565b610225610418366004612111565b610da4565b60006101fd565b610225610432366004612048565b610db3565b610225611105565b61022561044d366004612167565b611167565b61024f7f0000000000000000000000006df4a699ac7086ee4a8d0602f2d00a0054a0930a81565b61022f610487366004611e9d565b61119f565b600a5461024f906001600160a01b031681565b6101fd6104ad366004612216565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6102256104e9366004611fe4565b61129b565b60006001600160e01b031982166318160ddd60e01b1480610513575061051382611336565b92915050565b6000546001600160a01b0316331461054c5760405162461bcd60e51b815260040161054390612244565b60405180910390fd5b6002600154141561056f5760405162461bcd60e51b815260040161054390612279565b600260015561057e828261139f565b505060018055565b60606040518060400160405280600881526020016702bb930b83832b2160c51b8152507f0000000000000000000000003d053c1b9ef47f14e9d97e076b96c3a7c5054b1d6001600160a01b03166306fdde036040518163ffffffff1660e01b8152600401600060405180830381865afa158015610607573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261062f91908101906122b0565b604051602001610640929190612327565b604051602081830303815290604052905090565b600061065f8261149c565b6106c05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610543565b506000908152600660205260409020546001600160a01b031690565b60006106e7826108f5565b9050806001600160a01b0316836001600160a01b031614156107555760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610543565b336001600160a01b0382161480610771575061077181336104ad565b6107e35760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610543565b6107ed83836114b9565b505050565b6107fc3382611527565b6108185760405162461bcd60e51b815260040161054390612356565b6107ed838383611611565b60008281526009602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916108985750604080518082019091526008546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906108b7906001600160601b0316876123bd565b6108c191906123dc565b915196919550909350505050565b6107ed83838360405180602001604052806000815250611167565b60006105138261149c565b6000818152600460205260408120546001600160a01b0316806105135760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610543565b60006001600160a01b0382166109d75760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610543565b506001600160a01b031660009081526005602052604090205490565b6000546001600160a01b03163314610a1d5760405162461bcd60e51b815260040161054390612244565b610a2760006117b8565b565b60026001541415610a4c5760405162461bcd60e51b815260040161054390612279565b6002600155600a5482906001600160a01b0316331480610a8557506001600160a01b0381161580610a8557506001600160a01b03811633145b610ad15760405162461bcd60e51b815260206004820152601c60248201527f42617365577261707065644e46543a206e6f7420616c6c6f77656421000000006044820152606401610543565b610ada82611808565b6001600160a01b038316610aec573392505b6000805b8351811015610c3c57838181518110610b0b57610b0b6123fe565b60200260200101519150846001600160a01b0316610b28836108f5565b6001600160a01b031614610b965760405162461bcd60e51b815260206004820152602f60248201527f42617365577261707065644e46543a2063616e206e6f7420776974686472617760448201526e206e6674206e6f74206f776e65642160881b6064820152608401610543565b610ba18530846108cf565b604051632142170760e11b81523060048201526001600160a01b038681166024830152604482018490527f0000000000000000000000003d053c1b9ef47f14e9d97e076b96c3a7c5054b1d16906342842e0e90606401600060405180830381600087803b158015610c1157600080fd5b505af1158015610c25573d6000803e3d6000fd5b505050508080610c3490612414565b915050610af0565b507f67e9df8b3c7743c9f1b625ba4f2b4e601206dbd46ed5c33c85a1242e4d23a2d18484604051610c6e92919061242f565b60405180910390a15050600180555050565b6000546001600160a01b03163314610caa5760405162461bcd60e51b815260040161054390612244565b60026001541415610ccd5760405162461bcd60e51b815260040161054390612279565b6002600155600a80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2b9e73b1b859ae78d60ebbdbf4300a27c63cb000bf7621af19d93940d89a09959060200160405180910390a15060018055565b6060604051806040016040528060018152602001605760f81b8152507f0000000000000000000000003d053c1b9ef47f14e9d97e076b96c3a7c5054b1d6001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa158015610607573d6000803e3d6000fd5b610daf338383611957565b5050565b60026001541415610dd65760405162461bcd60e51b815260040161054390612279565b6002600155600a5482906001600160a01b0316331480610e0f57506001600160a01b0381161580610e0f57506001600160a01b03811633145b610e5b5760405162461bcd60e51b815260206004820152601c60248201527f42617365577261707065644e46543a206e6f7420616c6c6f77656421000000006044820152606401610543565b610e6482611808565b6001600160a01b038316610e76573392505b6000805b83518110156110d357838181518110610e9557610e956123fe565b60200260200101519150846001600160a01b03167f0000000000000000000000003d053c1b9ef47f14e9d97e076b96c3a7c5054b1d6001600160a01b0316636352211e846040518263ffffffff1660e01b8152600401610ef791815260200190565b602060405180830381865afa158015610f14573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f389190612485565b6001600160a01b031614610fa55760405162461bcd60e51b815260206004820152602e60248201527f42617365577261707065644e46543a2063616e206e6f74206465706f7369742060448201526d6e6674206e6f74206f776e65642160901b6064820152608401610543565b604051632142170760e11b81526001600160a01b038681166004830152306024830152604482018490527f0000000000000000000000003d053c1b9ef47f14e9d97e076b96c3a7c5054b1d16906342842e0e90606401600060405180830381600087803b15801561101557600080fd5b505af1158015611029573d6000803e3d6000fd5b505050506110368261149c565b156110b75730611045836108f5565b6001600160a01b0316146110a75760405162461bcd60e51b8152602060048201526024808201527f42617365577261707065644e46543a20746f6b656e4964206f776e6572206572604482015263726f722160e01b6064820152608401610543565b6110b2308684611611565b6110c1565b6110c18583611a26565b806110cb81612414565b915050610e7a565b507fff409334d2645d660e7cfa41a637aa21f45a79ecb9660a6931aa923bf75577c78484604051610c6e92919061242f565b6000546001600160a01b0316331461112f5760405162461bcd60e51b815260040161054390612244565b600260015414156111525760405162461bcd60e51b815260040161054390612279565b60026001556111616000600855565b60018055565b6111713383611527565b61118d5760405162461bcd60e51b815260040161054390612356565b61119984848484611a40565b50505050565b60606111aa8261149c565b61120e5760405162461bcd60e51b815260206004820152602f60248201527f42617365577261707065644e46543a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610543565b60405163c87b56dd60e01b8152600481018390527f0000000000000000000000003d053c1b9ef47f14e9d97e076b96c3a7c5054b1d6001600160a01b03169063c87b56dd90602401600060405180830381865afa158015611273573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261051391908101906122b0565b6000546001600160a01b031633146112c55760405162461bcd60e51b815260040161054390612244565b6001600160a01b03811661132a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610543565b611333816117b8565b50565b60006001600160e01b031982166207f16560e21b148061136657506001600160e01b03198216630a85bd0160e11b145b8061138157506001600160e01b0319821663573c2ed960e11b145b80611390575061139082611a73565b80610513575061051382611ac3565b6127106001600160601b038216111561140d5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610543565b6001600160a01b0382166114635760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610543565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600855565b6000908152600460205260409020546001600160a01b0316151590565b600081815260066020526040902080546001600160a01b0319166001600160a01b03841690811790915581906114ee826108f5565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006115328261149c565b6115935760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610543565b600061159e836108f5565b9050806001600160a01b0316846001600160a01b031614806115e557506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff165b806116095750836001600160a01b03166115fe84610654565b6001600160a01b0316145b949350505050565b826001600160a01b0316611624826108f5565b6001600160a01b0316146116885760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610543565b6001600160a01b0382166116ea5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610543565b6116f5838383611ae8565b6117006000826114b9565b6001600160a01b03831660009081526005602052604081208054600192906117299084906124a2565b90915550506001600160a01b03821660009081526005602052604081208054600192906117579084906124b9565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600081511161186c5760405162461bcd60e51b815260206004820152602a60248201527f42617365577261707065644e46543a20746f6b656e4964732063616e206e6f7460448201526920626520656d7074792160b01b6064820152608401610543565b604051637cf7d2f560e01b8152738767cb8790faec827536fde6176036b234892ecc90637cf7d2f5906118a39084906004016124d1565b602060405180830381865af41580156118c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e49190612515565b156113335760405162461bcd60e51b815260206004820152603860248201527f42617365577261707065644e46543a20746f6b656e4964732063616e206e6f7460448201527f20636f6e7461696e206475706c6963617465206f6e65732100000000000000006064820152608401610543565b816001600160a01b0316836001600160a01b031614156119b95760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610543565b6001600160a01b03838116600081815260076020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b610daf828260405180602001604052806000815250611b2e565b611a4b848484611611565b611a5784848484611b61565b6111995760405162461bcd60e51b815260040161054390612532565b60006001600160e01b031982166380ac58cd60e01b1480611aa457506001600160e01b03198216635b5e139f60e01b145b8061051357506301ffc9a760e01b6001600160e01b0319831614610513565b60006001600160e01b0319821663152a902d60e11b1480610513575061051382611a73565b6001600160a01b038316611b1057600b8054906000611b0683612414565b9190505550505050565b6001600160a01b0382166107ed57600b8054906000611b0683612584565b611b388383611c5f565b611b456000848484611b61565b6107ed5760405162461bcd60e51b815260040161054390612532565b60006001600160a01b0384163b15611c5457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611ba590339089908890889060040161259b565b6020604051808303816000875af1925050508015611be0575060408051601f3d908101601f19168201909252611bdd918101906125d8565b60015b611c3a573d808015611c0e576040519150601f19603f3d011682016040523d82523d6000602084013e611c13565b606091505b508051611c325760405162461bcd60e51b815260040161054390612532565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611609565b506001949350505050565b6001600160a01b038216611cb55760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610543565b611cbe8161149c565b15611d0b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610543565b611d1760008383611ae8565b6001600160a01b0382166000908152600560205260408120805460019290611d409084906124b9565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b03198116811461133357600080fd5b600060208284031215611dc657600080fd5b8135611dd181611d9e565b9392505050565b6001600160a01b038116811461133357600080fd5b60008060408385031215611e0057600080fd5b8235611e0b81611dd8565b915060208301356001600160601b0381168114611e2757600080fd5b809150509250929050565b60005b83811015611e4d578181015183820152602001611e35565b838111156111995750506000910152565b60008151808452611e76816020860160208601611e32565b601f01601f19169290920160200192915050565b602081526000611dd16020830184611e5e565b600060208284031215611eaf57600080fd5b5035919050565b60008060408385031215611ec957600080fd5b8235611ed481611dd8565b946020939093013593505050565b600080600080600060808688031215611efa57600080fd5b8535611f0581611dd8565b94506020860135611f1581611dd8565b935060408601359250606086013567ffffffffffffffff80821115611f3957600080fd5b818801915088601f830112611f4d57600080fd5b813581811115611f5c57600080fd5b896020828501011115611f6e57600080fd5b9699959850939650602001949392505050565b600080600060608486031215611f9657600080fd5b8335611fa181611dd8565b92506020840135611fb181611dd8565b929592945050506040919091013590565b60008060408385031215611fd557600080fd5b50508035926020909101359150565b600060208284031215611ff657600080fd5b8135611dd181611dd8565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561204057612040612001565b604052919050565b6000806040838503121561205b57600080fd5b823561206681611dd8565b915060208381013567ffffffffffffffff8082111561208457600080fd5b818601915086601f83011261209857600080fd5b8135818111156120aa576120aa612001565b8060051b91506120bb848301612017565b81815291830184019184810190898411156120d557600080fd5b938501935b838510156120f3578435825293850193908501906120da565b8096505050505050509250929050565b801515811461133357600080fd5b6000806040838503121561212457600080fd5b823561212f81611dd8565b91506020830135611e2781612103565b600067ffffffffffffffff82111561215957612159612001565b50601f01601f191660200190565b6000806000806080858703121561217d57600080fd5b843561218881611dd8565b9350602085013561219881611dd8565b925060408501359150606085013567ffffffffffffffff8111156121bb57600080fd5b8501601f810187136121cc57600080fd5b80356121df6121da8261213f565b612017565b8181528860208385010111156121f457600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b6000806040838503121561222957600080fd5b823561223481611dd8565b91506020830135611e2781611dd8565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6000602082840312156122c257600080fd5b815167ffffffffffffffff8111156122d957600080fd5b8201601f810184136122ea57600080fd5b80516122f86121da8261213f565b81815285602083850101111561230d57600080fd5b61231e826020830160208601611e32565b95945050505050565b60008351612339818460208801611e32565b83519083019061234d818360208801611e32565b01949350505050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156123d7576123d76123a7565b500290565b6000826123f957634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b6000600019821415612428576124286123a7565b5060010190565b6001600160a01b038316815260406020808301829052835191830182905260009184820191906060850190845b818110156124785784518352938301939183019160010161245c565b5090979650505050505050565b60006020828403121561249757600080fd5b8151611dd181611dd8565b6000828210156124b4576124b46123a7565b500390565b600082198211156124cc576124cc6123a7565b500190565b6020808252825182820181905260009190848201906040850190845b81811015612509578351835292840192918401916001016124ed565b50909695505050505050565b60006020828403121561252757600080fd5b8151611dd181612103565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600081612593576125936123a7565b506000190190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906125ce90830184611e5e565b9695505050505050565b6000602082840312156125ea57600080fd5b8151611dd181611d9e56fea2646970667358221220392c61325e34c86b1061063f7d19cedefa2b57c1ac7f6fbae89a288e616485f764736f6c634300080a0033

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

0000000000000000000000003d053c1b9ef47f14e9d97e076b96c3a7c5054b1d

-----Decoded View---------------
Arg [0] : _nft (address): 0x3d053C1B9eF47f14E9d97e076b96c3A7C5054B1d

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000003d053c1b9ef47f14e9d97e076b96c3a7c5054b1d


Libraries Used


Deployed Bytecode Sourcemap

6627:1556:17:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6904:236;;;;;;:::i;:::-;;:::i;:::-;;;565:14:19;;558:22;540:41;;528:2;513:18;6904:236:17;;;;;;;;6256:161;;;;;;:::i;:::-;;:::i;:::-;;5061:167;;;:::i;:::-;;;;;;;:::i;3935:217:5:-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2268:32:19;;;2250:51;;2238:2;2223:18;3935:217:5;2104:203:19;3473:401:5;;;;;;:::i;:::-;;:::i;6047:203:17:-;;;;;;:::i;:::-;-1:-1:-1;;;6047:203:17;;;;;;;;;;;-1:-1:-1;;;;;;3735:33:19;;;3717:52;;3705:2;3690:18;6047:203:17;3573:202:19;8076:105:17;8162:12;;8076:105;;;3926:25:19;;;3914:2;3899:18;8076:105:17;3780:177:19;4662:330:5;;;;;;:::i;:::-;;:::i;1632:432:4:-;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;4868:32:19;;;4850:51;;4932:2;4917:18;;4910:34;;;;4823:18;1632:432:4;4676:274:19;5058:179:5;;;;;;:::i;:::-;;:::i;1939:36:17:-;;;;;5795:104;;;;;;:::i;:::-;;:::i;1823:42::-;;;;;;;;;;;;;;;-1:-1:-1;;;1823:42:17;;;;;2126:235:5;;;;;;:::i;:::-;;:::i;1864:205::-;;;;;;:::i;:::-;;:::i;1661:101:13:-;;;:::i;1770:47:17:-;;;;;;;;;;;;;;;-1:-1:-1;;;1770:47:17;;;;;4306:689;;;;;;:::i;:::-;;:::i;2963:193::-;;;;;;:::i;:::-;;:::i;1029:85:13:-;1075:7;1101:6;-1:-1:-1;;;;;1101:6:13;1029:85;;5292:173:17;;;:::i;4219:153:5:-;;;;;;:::i;:::-;;:::i;6533:90:17:-;6588:4;6533:90;;3432:868;;;;;;:::i;:::-;;:::i;6423:104::-;;;:::i;5303:320:5:-;;;;;;:::i;:::-;;:::i;1872:43:17:-;;;;;5531:254;;;;;;:::i;:::-;;:::i;1982:24::-;;;;;-1:-1:-1;;;;;1982:24:17;;;4438:162:5;;;;;;:::i;:::-;-1:-1:-1;;;;;4558:25:5;;;4535:4;4558:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4438:162;1911:198:13;;;;;;:::i;:::-;;:::i;6904:236:17:-;7015:4;-1:-1:-1;;;;;;7038:45:17;;-1:-1:-1;;;7038:45:17;;:95;;;7087:46;7120:12;7087:32;:46::i;:::-;7031:102;6904:236;-1:-1:-1;;6904:236:17:o;6256:161::-;1075:7:13;1101:6;-1:-1:-1;;;;;1101:6:13;719:10:2;1241:23:13;1233:68;;;;-1:-1:-1;;;1233:68:13;;;;;;;:::i;:::-;;;;;;;;;1744:1:14::1;2325:7;;:19;;2317:63;;;;-1:-1:-1::0;;;2317:63:14::1;;;;;;;:::i;:::-;1744:1;2455:7;:18:::0;6366:44:17::2;6385:9:::0;6396:13;6366:18:::2;:44::i;:::-;-1:-1:-1::0;;1701:1:14::1;2628:22:::0;;6256:161:17:o;5061:167::-;5140:13;5196:11;;;;;;;;;;;;;-1:-1:-1;;;5196:11:17;;;5209:3;-1:-1:-1;;;;;5209:8:17;;:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5209:10:17;;;;;;;;;;;;:::i;:::-;5179:41;;;;;;;;;:::i;:::-;;;;;;;;;;;;;5165:56;;5061:167;:::o;3935:217:5:-;4011:7;4038:16;4046:7;4038;:16::i;:::-;4030:73;;;;-1:-1:-1;;;4030:73:5;;11325:2:19;4030:73:5;;;11307:21:19;11364:2;11344:18;;;11337:30;11403:34;11383:18;;;11376:62;-1:-1:-1;;;11454:18:19;;;11447:42;11506:19;;4030:73:5;11123:408:19;4030:73:5;-1:-1:-1;4121:24:5;;;;:15;:24;;;;;;-1:-1:-1;;;;;4121:24:5;;3935:217::o;3473:401::-;3553:13;3569:23;3584:7;3569:14;:23::i;:::-;3553:39;;3616:5;-1:-1:-1;;;;;3610:11:5;:2;-1:-1:-1;;;;;3610:11:5;;;3602:57;;;;-1:-1:-1;;;3602:57:5;;11738:2:19;3602:57:5;;;11720:21:19;11777:2;11757:18;;;11750:30;11816:34;11796:18;;;11789:62;-1:-1:-1;;;11867:18:19;;;11860:31;11908:19;;3602:57:5;11536:397:19;3602:57:5;719:10:2;-1:-1:-1;;;;;3691:21:5;;;;:62;;-1:-1:-1;3716:37:5;3733:5;719:10:2;4438:162:5;:::i;3716:37::-;3670:165;;;;-1:-1:-1;;;3670:165:5;;12140:2:19;3670:165:5;;;12122:21:19;12179:2;12159:18;;;12152:30;12218:34;12198:18;;;12191:62;12289:26;12269:18;;;12262:54;12333:19;;3670:165:5;11938:420:19;3670:165:5;3846:21;3855:2;3859:7;3846:8;:21::i;:::-;3543:331;3473:401;;:::o;4662:330::-;4851:41;719:10:2;4884:7:5;4851:18;:41::i;:::-;4843:103;;;;-1:-1:-1;;;4843:103:5;;;;;;;:::i;:::-;4957:28;4967:4;4973:2;4977:7;4957:9;:28::i;1632:432:4:-;1729:7;1786:27;;;:17;:27;;;;;;;;1757:56;;;;;;;;;-1:-1:-1;;;;;1757:56:4;;;;;-1:-1:-1;;;1757:56:4;;;-1:-1:-1;;;;;1757:56:4;;;;;;;;1729:7;;1824:90;;-1:-1:-1;1874:29:4;;;;;;;;;1884:19;1874:29;-1:-1:-1;;;;;1874:29:4;;;;-1:-1:-1;;;1874:29:4;;-1:-1:-1;;;;;1874:29:4;;;;;1824:90;1962:23;;;;1924:21;;2422:5;;1949:36;;-1:-1:-1;;;;;1949:36:4;:10;:36;:::i;:::-;1948:58;;;;:::i;:::-;2025:16;;;;;-1:-1:-1;1632:432:4;;-1:-1:-1;;;;1632:432:4:o;5058:179:5:-;5191:39;5208:4;5214:2;5218:7;5191:39;;;;;;;;;;;;:16;:39::i;5795:104:17:-;5852:4;5875:17;5883:8;5875:7;:17::i;2126:235:5:-;2198:7;2233:16;;;:7;:16;;;;;;-1:-1:-1;;;;;2233:16:5;2267:19;2259:73;;;;-1:-1:-1;;;2259:73:5;;13510:2:19;2259:73:5;;;13492:21:19;13549:2;13529:18;;;13522:30;13588:34;13568:18;;;13561:62;-1:-1:-1;;;13639:18:19;;;13632:39;13688:19;;2259:73:5;13308:405:19;1864:205:5;1936:7;-1:-1:-1;;;;;1963:19:5;;1955:74;;;;-1:-1:-1;;;1955:74:5;;13920:2:19;1955:74:5;;;13902:21:19;13959:2;13939:18;;;13932:30;13998:34;13978:18;;;13971:62;-1:-1:-1;;;14049:18:19;;;14042:40;14099:19;;1955:74:5;13718:406:19;1955:74:5;-1:-1:-1;;;;;;2046:16:5;;;;;:9;:16;;;;;;;1864:205::o;1661:101:13:-;1075:7;1101:6;-1:-1:-1;;;;;1101:6:13;719:10:2;1241:23:13;1233:68;;;;-1:-1:-1;;;1233:68:13;;;;;;;:::i;:::-;1725:30:::1;1752:1;1725:18;:30::i;:::-;1661:101::o:0;4306:689:17:-;1744:1:14;2325:7;;:19;;2317:63;;;;-1:-1:-1;;;2317:63:14;;;;;;;:::i;:::-;1744:1;2455:7;:18;2231:9:17::1;::::0;4416:8;;-1:-1:-1;;;;;2231:9:17::1;2217:10;:23;::::0;:77:::1;;-1:-1:-1::0;;;;;;2245:22:17;::::1;::::0;;:48:::1;;-1:-1:-1::0;;;;;;2271:22:17;::::1;2283:10;2271:22;2245:48;2209:118;;;::::0;-1:-1:-1;;;2209:118:17;;14331:2:19;2209:118:17::1;::::0;::::1;14313:21:19::0;14370:2;14350:18;;;14343:30;14409;14389:18;;;14382:58;14457:18;;2209:118:17::1;14129:352:19::0;2209:118:17::1;4436:31:::2;4453:13;4436:16;:31::i;:::-;-1:-1:-1::0;;;;;4481:22:17;::::2;4478:72;;4529:10;4518:21;;4478:72;4560:19;::::0;4589:351:::2;4612:13;:20;4608:1;:24;4589:351;;;4667:13;4681:1;4667:16;;;;;;;;:::i;:::-;;;;;;;4653:30;;4729:8;-1:-1:-1::0;;;;;4705:32:17::2;:20;4713:11;4705:7;:20::i;:::-;-1:-1:-1::0;;;;;4705:32:17::2;;4697:92;;;::::0;-1:-1:-1;;;4697:92:17;;14820:2:19;4697:92:17::2;::::0;::::2;14802:21:19::0;14859:2;14839:18;;;14832:30;14898:34;14878:18;;;14871:62;-1:-1:-1;;;14949:18:19;;;14942:45;15004:19;;4697:92:17::2;14618:411:19::0;4697:92:17::2;4803:54;4820:8;4838:4;4845:11;4803:16;:54::i;:::-;4871:58;::::0;-1:-1:-1;;;4871:58:17;;4900:4:::2;4871:58;::::0;::::2;15274:34:19::0;-1:-1:-1;;;;;15344:15:19;;;15324:18;;;15317:43;15376:18;;;15369:34;;;4871:3:17::2;:20;::::0;::::2;::::0;15209:18:19;;4871:58:17::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;4634:4;;;;;:::i;:::-;;;;4589:351;;;;4955:33;4964:8;4974:13;4955:33;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1::0;;1701:1:14;2628:22;;-1:-1:-1;;4306:689:17:o;2963:193::-;1075:7:13;1101:6;-1:-1:-1;;;;;1101:6:13;719:10:2;1241:23:13;1233:68;;;;-1:-1:-1;;;1233:68:13;;;;;;;:::i;:::-;1744:1:14::1;2325:7;;:19;;2317:63;;;;-1:-1:-1::0;;;2317:63:14::1;;;;;;;:::i;:::-;1744:1;2455:7;:18:::0;3084:9:17::2;:22:::0;;-1:-1:-1;;;;;;3084:22:17::2;-1:-1:-1::0;;;;;3084:22:17;::::2;::::0;;::::2;::::0;;;3121:28:::2;::::0;2250:51:19;;;3121:28:17::2;::::0;2238:2:19;2223:18;3121:28:17::2;;;;;;;-1:-1:-1::0;1701:1:14::1;2628:22:::0;;2963:193:17:o;5292:173::-;5373:13;5429;;;;;;;;;;;;;-1:-1:-1;;;5429:13:17;;;5444:3;-1:-1:-1;;;;;5444:10:17;;:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4219:153:5;4313:52;719:10:2;4346:8:5;4356;4313:18;:52::i;:::-;4219:153;;:::o;3432:868:17:-;1744:1:14;2325:7;;:19;;2317:63;;;;-1:-1:-1;;;2317:63:14;;;;;;;:::i;:::-;1744:1;2455:7;:18;2231:9:17::1;::::0;3537:8;;-1:-1:-1;;;;;2231:9:17::1;2217:10;:23;::::0;:77:::1;;-1:-1:-1::0;;;;;;2245:22:17;::::1;::::0;;:48:::1;;-1:-1:-1::0;;;;;;2271:22:17;::::1;2283:10;2271:22;2245:48;2209:118;;;::::0;-1:-1:-1;;;2209:118:17;;14331:2:19;2209:118:17::1;::::0;::::1;14313:21:19::0;14370:2;14350:18;;;14343:30;14409;14389:18;;;14382:58;14457:18;;2209:118:17::1;14129:352:19::0;2209:118:17::1;3558:27:::2;3575:9;3558:16;:27::i;:::-;-1:-1:-1::0;;;;;3599:22:17;::::2;3596:72;;3647:10;3636:21;;3596:72;3686:15;::::0;3711:540:::2;3734:9;:16;3730:1;:20;3711:540;;;3781:9;3791:1;3781:12;;;;;;;;:::i;:::-;;;;;;;3771:22;;3839:8;-1:-1:-1::0;;;;;3815:32:17::2;:3;-1:-1:-1::0;;;;;3815:11:17::2;;3827:7;3815:20;;;;;;;;;;;;;3926:25:19::0;;3914:2;3899:18;;3780:177;3815:20:17::2;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;3815:32:17::2;;3807:91;;;::::0;-1:-1:-1;;;3807:91:17;;16746:2:19;3807:91:17::2;::::0;::::2;16728:21:19::0;16785:2;16765:18;;;16758:30;16824:34;16804:18;;;16797:62;-1:-1:-1;;;16875:18:19;;;16868:44;16929:19;;3807:91:17::2;16544:410:19::0;3807:91:17::2;3912:54;::::0;-1:-1:-1;;;3912:54:17;;-1:-1:-1;;;;;15292:15:19;;;3912:54:17::2;::::0;::::2;15274:34:19::0;3951:4:17::2;15324:18:19::0;;;15317:43;15376:18;;;15369:34;;;3912:3:17::2;:20;::::0;::::2;::::0;15209:18:19;;3912:54:17::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;3983:16;3991:7;3983;:16::i;:::-;3980:261;;;4054:4;4026:16;4034:7:::0;4026::::2;:16::i;:::-;-1:-1:-1::0;;;;;4026:33:17::2;;4018:82;;;::::0;-1:-1:-1;;;4018:82:17;;17161:2:19;4018:82:17::2;::::0;::::2;17143:21:19::0;17200:2;17180:18;;;17173:30;17239:34;17219:18;;;17212:62;-1:-1:-1;;;17290:18:19;;;17283:34;17334:19;;4018:82:17::2;16959:400:19::0;4018:82:17::2;4118:43;4136:4;4143:8;4153:7;4118:9;:43::i;:::-;3980:261;;;4198:28;4208:8;4218:7;4198:9;:28::i;:::-;3752:4:::0;::::2;::::0;::::2;:::i;:::-;;;;3711:540;;;;4265:28;4273:8;4283:9;4265:28;;;;;;;:::i;6423:104::-:0;1075:7:13;1101:6;-1:-1:-1;;;;;1101:6:13;719:10:2;1241:23:13;1233:68;;;;-1:-1:-1;;;1233:68:13;;;;;;;:::i;:::-;1744:1:14::1;2325:7;;:19;;2317:63;;;;-1:-1:-1::0;;;2317:63:14::1;;;;;;;:::i;:::-;1744:1;2455:7;:18:::0;6497:23:17::2;3160:19:4::0;;3153:26;3093:93;6497:23:17::2;1701:1:14::1;2628:22:::0;;6423:104:17:o;5303:320:5:-;5472:41;719:10:2;5505:7:5;5472:18;:41::i;:::-;5464:103;;;;-1:-1:-1;;;5464:103:5;;;;;;;:::i;:::-;5577:39;5591:4;5597:2;5601:7;5610:5;5577:13;:39::i;:::-;5303:320;;;;:::o;5531:254:17:-;5630:13;5663:24;5678:8;5663:14;:24::i;:::-;5655:84;;;;-1:-1:-1;;;5655:84:17;;17566:2:19;5655:84:17;;;17548:21:19;17605:2;17585:18;;;17578:30;17644:34;17624:18;;;17617:62;-1:-1:-1;;;17695:18:19;;;17688:45;17750:19;;5655:84:17;17364:411:19;5655:84:17;5756:22;;-1:-1:-1;;;5756:22:17;;;;;3926:25:19;;;5756:3:17;-1:-1:-1;;;;;5756:12:17;;;;3899:18:19;;5756:22:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5756:22:17;;;;;;;;;;;;:::i;1911:198:13:-;1075:7;1101:6;-1:-1:-1;;;;;1101:6:13;719:10:2;1241:23:13;1233:68;;;;-1:-1:-1;;;1233:68:13;;;;;;;:::i;:::-;-1:-1:-1;;;;;1999:22:13;::::1;1991:73;;;::::0;-1:-1:-1;;;1991:73:13;;17982:2:19;1991:73:13::1;::::0;::::1;17964:21:19::0;18021:2;18001:18;;;17994:30;18060:34;18040:18;;;18033:62;-1:-1:-1;;;18111:18:19;;;18104:36;18157:19;;1991:73:13::1;17780:402:19::0;1991:73:13::1;2074:28;2093:8;2074:18;:28::i;:::-;1911:198:::0;:::o;2558:399:17:-;2670:4;-1:-1:-1;;;;;;2693:49:17;;-1:-1:-1;;;2693:49:17;;:102;;-1:-1:-1;;;;;;;2746:49:17;;-1:-1:-1;;;2746:49:17;2693:102;:172;;;-1:-1:-1;;;;;;;2816:49:17;;-1:-1:-1;;;2816:49:17;2693:172;:214;;;;2869:38;2894:12;2869:24;:38::i;:::-;2693:257;;;;2911:39;2937:12;2911:25;:39::i;2695:327:4:-;2422:5;-1:-1:-1;;;;;2797:33:4;;;;2789:88;;;;-1:-1:-1;;;2789:88:4;;18389:2:19;2789:88:4;;;18371:21:19;18428:2;18408:18;;;18401:30;18467:34;18447:18;;;18440:62;-1:-1:-1;;;18518:18:19;;;18511:40;18568:19;;2789:88:4;18187:406:19;2789:88:4;-1:-1:-1;;;;;2895:22:4;;2887:60;;;;-1:-1:-1;;;2887:60:4;;18800:2:19;2887:60:4;;;18782:21:19;18839:2;18819:18;;;18812:30;18878:27;18858:18;;;18851:55;18923:18;;2887:60:4;18598:349:19;2887:60:4;2980:35;;;;;;;;;-1:-1:-1;;;;;2980:35:4;;;;;;-1:-1:-1;;;;;2980:35:4;;;;;;;;;;-1:-1:-1;;;2958:57:4;;;;:19;:57;2695:327::o;7095:125:5:-;7160:4;7183:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7183:16:5;:30;;;7095:125::o;11104:171::-;11178:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;11178:29:5;-1:-1:-1;;;;;11178:29:5;;;;;;;;:24;;11231:23;11178:24;11231:14;:23::i;:::-;-1:-1:-1;;;;;11222:46:5;;;;;;;;;;;11104:171;;:::o;7378:344::-;7471:4;7495:16;7503:7;7495;:16::i;:::-;7487:73;;;;-1:-1:-1;;;7487:73:5;;19154:2:19;7487:73:5;;;19136:21:19;19193:2;19173:18;;;19166:30;19232:34;19212:18;;;19205:62;-1:-1:-1;;;19283:18:19;;;19276:42;19335:19;;7487:73:5;18952:408:19;7487:73:5;7570:13;7586:23;7601:7;7586:14;:23::i;:::-;7570:39;;7638:5;-1:-1:-1;;;;;7627:16:5;:7;-1:-1:-1;;;;;7627:16:5;;:52;;;-1:-1:-1;;;;;;4558:25:5;;;4535:4;4558:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;7647:32;7627:87;;;;7707:7;-1:-1:-1;;;;;7683:31:5;:20;7695:7;7683:11;:20::i;:::-;-1:-1:-1;;;;;7683:31:5;;7627:87;7619:96;7378:344;-1:-1:-1;;;;7378:344:5:o;10388:605::-;10542:4;-1:-1:-1;;;;;10515:31:5;:23;10530:7;10515:14;:23::i;:::-;-1:-1:-1;;;;;10515:31:5;;10507:81;;;;-1:-1:-1;;;10507:81:5;;19567:2:19;10507:81:5;;;19549:21:19;19606:2;19586:18;;;19579:30;19645:34;19625:18;;;19618:62;-1:-1:-1;;;19696:18:19;;;19689:35;19741:19;;10507:81:5;19365:401:19;10507:81:5;-1:-1:-1;;;;;10606:16:5;;10598:65;;;;-1:-1:-1;;;10598:65:5;;19973:2:19;10598:65:5;;;19955:21:19;20012:2;19992:18;;;19985:30;20051:34;20031:18;;;20024:62;-1:-1:-1;;;20102:18:19;;;20095:34;20146:19;;10598:65:5;19771:400:19;10598:65:5;10674:39;10695:4;10701:2;10705:7;10674:20;:39::i;:::-;10775:29;10792:1;10796:7;10775:8;:29::i;:::-;-1:-1:-1;;;;;10815:15:5;;;;;;:9;:15;;;;;:20;;10834:1;;10815:15;:20;;10834:1;;10815:20;:::i;:::-;;;;-1:-1:-1;;;;;;;10845:13:5;;;;;;:9;:13;;;;;:18;;10862:1;;10845:13;:18;;10862:1;;10845:18;:::i;:::-;;;;-1:-1:-1;;10873:16:5;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;10873:21:5;-1:-1:-1;;;;;10873:21:5;;;;;;;;;10910:27;;10873:16;;10910:27;;;;;;;3543:331;3473:401;;:::o;2263:187:13:-;2336:16;2355:6;;-1:-1:-1;;;;;2371:17:13;;;-1:-1:-1;;;;;;2371:17:13;;;;;;2403:40;;2355:6;;;;;;;2403:40;;2336:16;2403:40;2326:124;2263:187;:::o;3162:264:17:-;3267:1;3248:9;:16;:20;3240:75;;;;-1:-1:-1;;;3240:75:17;;20641:2:19;3240:75:17;;;20623:21:19;20680:2;20660:18;;;20653:30;20719:34;20699:18;;;20692:62;-1:-1:-1;;;20770:18:19;;;20763:40;20820:19;;3240:75:17;20439:406:19;3240:75:17;3334:24;;-1:-1:-1;;;3334:24:17;;:22;;;;:24;;:9;;:24;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3333:25;3325:94;;;;-1:-1:-1;;;3325:94:17;;21947:2:19;3325:94:17;;;21929:21:19;21986:2;21966:18;;;21959:30;22025:34;22005:18;;;21998:62;22096:26;22076:18;;;22069:54;22140:19;;3325:94:17;21745:420:19;11410:307:5;11560:8;-1:-1:-1;;;;;11551:17:5;:5;-1:-1:-1;;;;;11551:17:5;;;11543:55;;;;-1:-1:-1;;;11543:55:5;;22372:2:19;11543:55:5;;;22354:21:19;22411:2;22391:18;;;22384:30;22450:27;22430:18;;;22423:55;22495:18;;11543:55:5;22170:349:19;11543:55:5;-1:-1:-1;;;;;11608:25:5;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;11608:46:5;;;;;;;;;;11669:41;;540::19;;;11669::5;;513:18:19;11669:41:5;;;;;;;11410:307;;;:::o;8052:108::-;8127:26;8137:2;8141:7;8127:26;;;;;;;;;;;;:9;:26::i;6485:307::-;6636:28;6646:4;6652:2;6656:7;6636:9;:28::i;:::-;6682:48;6705:4;6711:2;6715:7;6724:5;6682:22;:48::i;:::-;6674:111;;;;-1:-1:-1;;;6674:111:5;;;;;;;:::i;1505:300::-;1607:4;-1:-1:-1;;;;;;1642:40:5;;-1:-1:-1;;;1642:40:5;;:104;;-1:-1:-1;;;;;;;1698:48:5;;-1:-1:-1;;;1698:48:5;1642:104;:156;;;-1:-1:-1;;;;;;;;;;937:40:3;;;1762:36:5;829:155:3;1369:213:4;1471:4;-1:-1:-1;;;;;;1494:41:4;;-1:-1:-1;;;1494:41:4;;:81;;;1539:36;1563:11;1539:23;:36::i;7736:334:17:-;-1:-1:-1;;;;;7935:18:17;;7931:132;;7969:12;:15;;;:12;:15;;;:::i;:::-;;;;;;3543:331:5;3473:401;;:::o;7931:132:17:-;-1:-1:-1;;;;;8005:16:17;;8001:62;;8037:12;:15;;;:12;:15;;;:::i;8381:311:5:-;8506:18;8512:2;8516:7;8506:5;:18::i;:::-;8555:54;8586:1;8590:2;8594:7;8603:5;8555:22;:54::i;:::-;8534:151;;;;-1:-1:-1;;;8534:151:5;;;;;;;:::i;12270:778::-;12420:4;-1:-1:-1;;;;;12440:13:5;;1465:19:0;:23;12436:606:5;;12475:72;;-1:-1:-1;;;12475:72:5;;-1:-1:-1;;;;;12475:36:5;;;;;:72;;719:10:2;;12526:4:5;;12532:7;;12541:5;;12475:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12475:72:5;;;;;;;;-1:-1:-1;;12475:72:5;;;;;;;;;;;;:::i;:::-;;;12471:519;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12714:13:5;;12710:266;;12756:60;;-1:-1:-1;;;12756:60:5;;;;;;;:::i;12710:266::-;12928:6;12922:13;12913:6;12909:2;12905:15;12898:38;12471:519;-1:-1:-1;;;;;;12597:51:5;-1:-1:-1;;;12597:51:5;;-1:-1:-1;12590:58:5;;12436:606;-1:-1:-1;13027:4:5;12270:778;;;;;;:::o;9014:427::-;-1:-1:-1;;;;;9093:16:5;;9085:61;;;;-1:-1:-1;;;9085:61:5;;24034:2:19;9085:61:5;;;24016:21:19;;;24053:18;;;24046:30;24112:34;24092:18;;;24085:62;24164:18;;9085:61:5;23832:356:19;9085:61:5;9165:16;9173:7;9165;:16::i;:::-;9164:17;9156:58;;;;-1:-1:-1;;;9156:58:5;;24395:2:19;9156:58:5;;;24377:21:19;24434:2;24414:18;;;24407:30;24473;24453:18;;;24446:58;24521:18;;9156:58:5;24193:352:19;9156:58:5;9225:45;9254:1;9258:2;9262:7;9225:20;:45::i;:::-;-1:-1:-1;;;;;9281:13:5;;;;;;:9;:13;;;;;:18;;9298:1;;9281:13;:18;;9298:1;;9281:18;:::i;:::-;;;;-1:-1:-1;;9309:16:5;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9309:21:5;-1:-1:-1;;;;;9309:21:5;;;;;;;;9346:33;;9309:16;;;9346:33;;9309:16;;9346:33;4219:153;;:::o;14:131:19:-;-1:-1:-1;;;;;;88:32:19;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;:::-;384:5;150:245;-1:-1:-1;;;150:245:19:o;592:131::-;-1:-1:-1;;;;;667:31:19;;657:42;;647:70;;713:1;710;703:12;728:435;795:6;803;856:2;844:9;835:7;831:23;827:32;824:52;;;872:1;869;862:12;824:52;911:9;898:23;930:31;955:5;930:31;:::i;:::-;980:5;-1:-1:-1;1037:2:19;1022:18;;1009:32;-1:-1:-1;;;;;1072:40:19;;1060:53;;1050:81;;1127:1;1124;1117:12;1050:81;1150:7;1140:17;;;728:435;;;;;:::o;1168:258::-;1240:1;1250:113;1264:6;1261:1;1258:13;1250:113;;;1340:11;;;1334:18;1321:11;;;1314:39;1286:2;1279:10;1250:113;;;1381:6;1378:1;1375:13;1372:48;;;-1:-1:-1;;1416:1:19;1398:16;;1391:27;1168:258::o;1431:::-;1473:3;1511:5;1505:12;1538:6;1533:3;1526:19;1554:63;1610:6;1603:4;1598:3;1594:14;1587:4;1580:5;1576:16;1554:63;:::i;:::-;1671:2;1650:15;-1:-1:-1;;1646:29:19;1637:39;;;;1678:4;1633:50;;1431:258;-1:-1:-1;;1431:258:19:o;1694:220::-;1843:2;1832:9;1825:21;1806:4;1863:45;1904:2;1893:9;1889:18;1881:6;1863:45;:::i;1919:180::-;1978:6;2031:2;2019:9;2010:7;2006:23;2002:32;1999:52;;;2047:1;2044;2037:12;1999:52;-1:-1:-1;2070:23:19;;1919:180;-1:-1:-1;1919:180:19:o;2312:315::-;2380:6;2388;2441:2;2429:9;2420:7;2416:23;2412:32;2409:52;;;2457:1;2454;2447:12;2409:52;2496:9;2483:23;2515:31;2540:5;2515:31;:::i;:::-;2565:5;2617:2;2602:18;;;;2589:32;;-1:-1:-1;;;2312:315:19:o;2632:936::-;2729:6;2737;2745;2753;2761;2814:3;2802:9;2793:7;2789:23;2785:33;2782:53;;;2831:1;2828;2821:12;2782:53;2870:9;2857:23;2889:31;2914:5;2889:31;:::i;:::-;2939:5;-1:-1:-1;2996:2:19;2981:18;;2968:32;3009:33;2968:32;3009:33;:::i;:::-;3061:7;-1:-1:-1;3115:2:19;3100:18;;3087:32;;-1:-1:-1;3170:2:19;3155:18;;3142:32;3193:18;3223:14;;;3220:34;;;3250:1;3247;3240:12;3220:34;3288:6;3277:9;3273:22;3263:32;;3333:7;3326:4;3322:2;3318:13;3314:27;3304:55;;3355:1;3352;3345:12;3304:55;3395:2;3382:16;3421:2;3413:6;3410:14;3407:34;;;3437:1;3434;3427:12;3407:34;3482:7;3477:2;3468:6;3464:2;3460:15;3456:24;3453:37;3450:57;;;3503:1;3500;3493:12;3450:57;2632:936;;;;-1:-1:-1;2632:936:19;;-1:-1:-1;3534:2:19;3526:11;;3556:6;2632:936;-1:-1:-1;;;2632:936:19:o;3962:456::-;4039:6;4047;4055;4108:2;4096:9;4087:7;4083:23;4079:32;4076:52;;;4124:1;4121;4114:12;4076:52;4163:9;4150:23;4182:31;4207:5;4182:31;:::i;:::-;4232:5;-1:-1:-1;4289:2:19;4274:18;;4261:32;4302:33;4261:32;4302:33;:::i;:::-;3962:456;;4354:7;;-1:-1:-1;;;4408:2:19;4393:18;;;;4380:32;;3962:456::o;4423:248::-;4491:6;4499;4552:2;4540:9;4531:7;4527:23;4523:32;4520:52;;;4568:1;4565;4558:12;4520:52;-1:-1:-1;;4591:23:19;;;4661:2;4646:18;;;4633:32;;-1:-1:-1;4423:248:19:o;5187:247::-;5246:6;5299:2;5287:9;5278:7;5274:23;5270:32;5267:52;;;5315:1;5312;5305:12;5267:52;5354:9;5341:23;5373:31;5398:5;5373:31;:::i;5439:127::-;5500:10;5495:3;5491:20;5488:1;5481:31;5531:4;5528:1;5521:15;5555:4;5552:1;5545:15;5571:275;5642:2;5636:9;5707:2;5688:13;;-1:-1:-1;;5684:27:19;5672:40;;5742:18;5727:34;;5763:22;;;5724:62;5721:88;;;5789:18;;:::i;:::-;5825:2;5818:22;5571:275;;-1:-1:-1;5571:275:19:o;5851:1081::-;5944:6;5952;6005:2;5993:9;5984:7;5980:23;5976:32;5973:52;;;6021:1;6018;6011:12;5973:52;6060:9;6047:23;6079:31;6104:5;6079:31;:::i;:::-;6129:5;-1:-1:-1;6153:2:19;6191:18;;;6178:32;6229:18;6259:14;;;6256:34;;;6286:1;6283;6276:12;6256:34;6324:6;6313:9;6309:22;6299:32;;6369:7;6362:4;6358:2;6354:13;6350:27;6340:55;;6391:1;6388;6381:12;6340:55;6427:2;6414:16;6449:2;6445;6442:10;6439:36;;;6455:18;;:::i;:::-;6501:2;6498:1;6494:10;6484:20;;6524:28;6548:2;6544;6540:11;6524:28;:::i;:::-;6586:15;;;6656:11;;;6652:20;;;6617:12;;;;6684:19;;;6681:39;;;6716:1;6713;6706:12;6681:39;6740:11;;;;6760:142;6776:6;6771:3;6768:15;6760:142;;;6842:17;;6830:30;;6793:12;;;;6880;;;;6760:142;;;6921:5;6911:15;;;;;;;;5851:1081;;;;;:::o;6937:118::-;7023:5;7016:13;7009:21;7002:5;6999:32;6989:60;;7045:1;7042;7035:12;7060:382;7125:6;7133;7186:2;7174:9;7165:7;7161:23;7157:32;7154:52;;;7202:1;7199;7192:12;7154:52;7241:9;7228:23;7260:31;7285:5;7260:31;:::i;:::-;7310:5;-1:-1:-1;7367:2:19;7352:18;;7339:32;7380:30;7339:32;7380:30;:::i;7447:186::-;7495:4;7528:18;7520:6;7517:30;7514:56;;;7550:18;;:::i;:::-;-1:-1:-1;7616:2:19;7595:15;-1:-1:-1;;7591:29:19;7622:4;7587:40;;7447:186::o;7638:1016::-;7733:6;7741;7749;7757;7810:3;7798:9;7789:7;7785:23;7781:33;7778:53;;;7827:1;7824;7817:12;7778:53;7866:9;7853:23;7885:31;7910:5;7885:31;:::i;:::-;7935:5;-1:-1:-1;7992:2:19;7977:18;;7964:32;8005:33;7964:32;8005:33;:::i;:::-;8057:7;-1:-1:-1;8111:2:19;8096:18;;8083:32;;-1:-1:-1;8166:2:19;8151:18;;8138:32;8193:18;8182:30;;8179:50;;;8225:1;8222;8215:12;8179:50;8248:22;;8301:4;8293:13;;8289:27;-1:-1:-1;8279:55:19;;8330:1;8327;8320:12;8279:55;8366:2;8353:16;8391:48;8407:31;8435:2;8407:31;:::i;:::-;8391:48;:::i;:::-;8462:2;8455:5;8448:17;8502:7;8497:2;8492;8488;8484:11;8480:20;8477:33;8474:53;;;8523:1;8520;8513:12;8474:53;8578:2;8573;8569;8565:11;8560:2;8553:5;8549:14;8536:45;8622:1;8617:2;8612;8605:5;8601:14;8597:23;8590:34;8643:5;8633:15;;;;;7638:1016;;;;;;;:::o;8894:388::-;8962:6;8970;9023:2;9011:9;9002:7;8998:23;8994:32;8991:52;;;9039:1;9036;9029:12;8991:52;9078:9;9065:23;9097:31;9122:5;9097:31;:::i;:::-;9147:5;-1:-1:-1;9204:2:19;9189:18;;9176:32;9217:33;9176:32;9217:33;:::i;9287:356::-;9489:2;9471:21;;;9508:18;;;9501:30;9567:34;9562:2;9547:18;;9540:62;9634:2;9619:18;;9287:356::o;9648:355::-;9850:2;9832:21;;;9889:2;9869:18;;;9862:30;9928:33;9923:2;9908:18;;9901:61;9994:2;9979:18;;9648:355::o;10008:635::-;10088:6;10141:2;10129:9;10120:7;10116:23;10112:32;10109:52;;;10157:1;10154;10147:12;10109:52;10190:9;10184:16;10223:18;10215:6;10212:30;10209:50;;;10255:1;10252;10245:12;10209:50;10278:22;;10331:4;10323:13;;10319:27;-1:-1:-1;10309:55:19;;10360:1;10357;10350:12;10309:55;10389:2;10383:9;10414:48;10430:31;10458:2;10430:31;:::i;10414:48::-;10485:2;10478:5;10471:17;10525:7;10520:2;10515;10511;10507:11;10503:20;10500:33;10497:53;;;10546:1;10543;10536:12;10497:53;10559:54;10610:2;10605;10598:5;10594:14;10589:2;10585;10581:11;10559:54;:::i;:::-;10632:5;10008:635;-1:-1:-1;;;;;10008:635:19:o;10648:470::-;10827:3;10865:6;10859:13;10881:53;10927:6;10922:3;10915:4;10907:6;10903:17;10881:53;:::i;:::-;10997:13;;10956:16;;;;11019:57;10997:13;10956:16;11053:4;11041:17;;11019:57;:::i;:::-;11092:20;;10648:470;-1:-1:-1;;;;10648:470:19:o;12363:413::-;12565:2;12547:21;;;12604:2;12584:18;;;12577:30;12643:34;12638:2;12623:18;;12616:62;-1:-1:-1;;;12709:2:19;12694:18;;12687:47;12766:3;12751:19;;12363:413::o;12781:127::-;12842:10;12837:3;12833:20;12830:1;12823:31;12873:4;12870:1;12863:15;12897:4;12894:1;12887:15;12913:168;12953:7;13019:1;13015;13011:6;13007:14;13004:1;13001:21;12996:1;12989:9;12982:17;12978:45;12975:71;;;13026:18;;:::i;:::-;-1:-1:-1;13066:9:19;;12913:168::o;13086:217::-;13126:1;13152;13142:132;;13196:10;13191:3;13187:20;13184:1;13177:31;13231:4;13228:1;13221:15;13259:4;13256:1;13249:15;13142:132;-1:-1:-1;13288:9:19;;13086:217::o;14486:127::-;14547:10;14542:3;14538:20;14535:1;14528:31;14578:4;14575:1;14568:15;14602:4;14599:1;14592:15;15414:135;15453:3;-1:-1:-1;;15474:17:19;;15471:43;;;15494:18;;:::i;:::-;-1:-1:-1;15541:1:19;15530:13;;15414:135::o;15554:729::-;-1:-1:-1;;;;;15802:32:19;;15784:51;;15772:2;15854;15872:18;;;15865:30;;;15944:13;;15757:18;;;15966:22;;;15724:4;;16045:15;;;;15854:2;16019;16004:18;;;15724:4;16088:169;16102:6;16099:1;16096:13;16088:169;;;16163:13;;16151:26;;16232:15;;;;16197:12;;;;16124:1;16117:9;16088:169;;;-1:-1:-1;16274:3:19;;15554:729;-1:-1:-1;;;;;;;15554:729:19:o;16288:251::-;16358:6;16411:2;16399:9;16390:7;16386:23;16382:32;16379:52;;;16427:1;16424;16417:12;16379:52;16459:9;16453:16;16478:31;16503:5;16478:31;:::i;20176:125::-;20216:4;20244:1;20241;20238:8;20235:34;;;20249:18;;:::i;:::-;-1:-1:-1;20286:9:19;;20176:125::o;20306:128::-;20346:3;20377:1;20373:6;20370:1;20367:13;20364:39;;;20383:18;;:::i;:::-;-1:-1:-1;20419:9:19;;20306:128::o;20850:640::-;21029:2;21081:21;;;21151:13;;21054:18;;;21173:22;;;21000:4;;21029:2;21252:15;;;;21226:2;21211:18;;;21000:4;21295:169;21309:6;21306:1;21303:13;21295:169;;;21370:13;;21358:26;;21439:15;;;;21404:12;;;;21331:1;21324:9;21295:169;;;-1:-1:-1;21481:3:19;;20850:640;-1:-1:-1;;;;;;20850:640:19:o;21495:245::-;21562:6;21615:2;21603:9;21594:7;21590:23;21586:32;21583:52;;;21631:1;21628;21621:12;21583:52;21663:9;21657:16;21682:28;21704:5;21682:28;:::i;22524:414::-;22726:2;22708:21;;;22765:2;22745:18;;;22738:30;22804:34;22799:2;22784:18;;22777:62;-1:-1:-1;;;22870:2:19;22855:18;;22848:48;22928:3;22913:19;;22524:414::o;22943:136::-;22982:3;23010:5;23000:39;;23019:18;;:::i;:::-;-1:-1:-1;;;23055:18:19;;22943:136::o;23084:489::-;-1:-1:-1;;;;;23353:15:19;;;23335:34;;23405:15;;23400:2;23385:18;;23378:43;23452:2;23437:18;;23430:34;;;23500:3;23495:2;23480:18;;23473:31;;;23278:4;;23521:46;;23547:19;;23539:6;23521:46;:::i;:::-;23513:54;23084:489;-1:-1:-1;;;;;;23084:489:19:o;23578:249::-;23647:6;23700:2;23688:9;23679:7;23675:23;23671:32;23668:52;;;23716:1;23713;23706:12;23668:52;23748:9;23742:16;23767:30;23791:5;23767:30;:::i

Swarm Source

ipfs://392c61325e34c86b1061063f7d19cedefa2b57c1ac7f6fbae89a288e616485f7
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.