ETH Price: $2,614.51 (+0.90%)
Gas: 0.95 Gwei

Shibabitcoin NFT (SHIBTCNFT)
 

Overview

TokenID

7811383096108122116319909711568270493774...

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
TokenID: 7811383096108122116319909711568270493774...
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
ERC721NFT

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 200 runs

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

pragma solidity 0.7.6;
pragma abicoder v2;

import "./ERC721Base.sol";

contract ERC721NFT is ERC721Base {

    event CreateERC721NFT(address owner, string name, string symbol);

    function __ERC721NFT_init(string memory _name, string memory _symbol, string memory baseURI, string memory contractURI) external initializer {
        _setBaseURI(baseURI);
        __ERC721Lazy_init_unchained();
        __RoyaltiesV2Upgradeable_init_unchained();
        __Context_init_unchained();
        __ERC165_init_unchained();
        __Ownable_init_unchained();
        __ERC721Burnable_init_unchained();
        __Mint721Validator_init_unchained();
        __HasContractURI_init_unchained(contractURI);
        __ERC721_init_unchained(_name, _symbol);
        emit CreateERC721NFT(_msgSender(), _name, _symbol);
    }
    uint256[50] private __gap;
}

File 2 of 32 : ERC721Base.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.7.6;
pragma abicoder v2;

import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "./ERC721BurnableUpgradeable.sol";
import "./ERC721DefaultApproval.sol";
import "./ERC721Lazy.sol";
import "../HasContractURI.sol";

abstract contract ERC721Base is OwnableUpgradeable, ERC721DefaultApproval, ERC721BurnableUpgradeable, ERC721Lazy, HasContractURI {

    function setDefaultApproval(address operator, bool hasApproval) external onlyOwner {
        _setDefaultApproval(operator, hasApproval);
    }

    function _isApprovedOrOwner(address spender, uint256 tokenId) internal virtual override(ERC721Upgradeable, ERC721DefaultApproval) view returns (bool) {
        return ERC721DefaultApproval._isApprovedOrOwner(spender, tokenId);
    }

    function isApprovedForAll(address owner, address operator) public view virtual override(ERC721DefaultApproval, ERC721Upgradeable, IERC721Upgradeable) returns (bool) {
        return ERC721DefaultApproval.isApprovedForAll(owner, operator);
    }

    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165Upgradeable, ERC721Lazy) returns (bool) {
        return super.supportsInterface(interfaceId);
    }

    function tokenURI(uint256 tokenId) public view virtual override(ERC721Upgradeable, ERC721Lazy) returns (string memory) {
        return ERC721Lazy.tokenURI(tokenId);
    }

    function _clearMetadata(uint256 tokenId) internal override(ERC721Upgradeable, ERC721Lazy) virtual {
        return ERC721Lazy._clearMetadata(tokenId);
    }

    function _emitMintEvent(address to, uint tokenId) internal override(ERC721Upgradeable, ERC721Lazy) virtual {
        return ERC721Lazy._emitMintEvent(to, tokenId);
    }

    uint256[50] private __gap;
}

File 3 of 32 : OwnableUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "../utils/ContextUpgradeable.sol";
import "../proxy/Initializable.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 OwnableUpgradeable is Initializable, ContextUpgradeable {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function __Ownable_init() internal initializer {
        __Context_init_unchained();
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal initializer {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
    uint256[49] private __gap;
}

File 4 of 32 : ERC721BurnableUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "@openzeppelin/contracts-upgradeable/proxy/Initializable.sol";
import "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol";
import "./ERC721Upgradeable.sol";

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721BurnableUpgradeable is Initializable, ContextUpgradeable, ERC721Upgradeable {
    function __ERC721Burnable_init() internal initializer {
        __Context_init_unchained();
        __ERC165_init_unchained();
        __ERC721Burnable_init_unchained();
    }

    function __ERC721Burnable_init_unchained() internal initializer {
    }
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
    uint256[50] private __gap;
}

File 5 of 32 : ERC721DefaultApproval.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.7.6;

import "./ERC721Upgradeable.sol";

abstract contract ERC721DefaultApproval is ERC721Upgradeable {
    mapping(address => bool) private defaultApprovals;

    event DefaultApproval(address indexed operator, bool hasApproval);

    function _setDefaultApproval(address operator, bool hasApproval) internal {
        defaultApprovals[operator] = hasApproval;
        emit DefaultApproval(operator, hasApproval);
    }

    function _isApprovedOrOwner(address spender, uint256 tokenId) internal virtual override view returns (bool) {
        return defaultApprovals[spender] || super._isApprovedOrOwner(spender, tokenId);
    }

    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return defaultApprovals[operator] || super.isApprovedForAll(owner, operator);
    }
    uint256[50] private __gap;
}

File 6 of 32 : ERC721Lazy.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.7.6;
pragma abicoder v2;

import "./ERC721Upgradeable.sol";
import "../../royalties/impl/RoyaltiesV2Impl.sol";
import "../../royalties-upgradeable/RoyaltiesV2Upgradeable.sol";
import "../../lazy-mint/erc-721/IERC721LazyMint.sol";
import "../Mint721Validator.sol";
import "@openzeppelin/contracts-upgradeable/math/SafeMathUpgradeable.sol";
import "./ERC721URI.sol";

abstract contract ERC721Lazy is IERC721LazyMint, ERC721Upgradeable, Mint721Validator, RoyaltiesV2Upgradeable, RoyaltiesV2Impl, ERC721URI {
    using SafeMathUpgradeable for uint;

    bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;
    bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;
    bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;
    bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;

    // tokenId => creators
    mapping(uint256 => LibPart.Part[]) private creators;

    function __ERC721Lazy_init_unchained() internal initializer {

    }

    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165Upgradeable, ERC165Upgradeable) returns (bool) {
        return interfaceId == LibERC721LazyMint._INTERFACE_ID_MINT_AND_TRANSFER
        || interfaceId == LibRoyaltiesV2._INTERFACE_ID_ROYALTIES
        || interfaceId == _INTERFACE_ID_ERC165
        || interfaceId == _INTERFACE_ID_ERC721
        || interfaceId == _INTERFACE_ID_ERC721_METADATA
        || interfaceId == _INTERFACE_ID_ERC721_ENUMERABLE;
    }

    function transferFromOrMint(
        LibERC721LazyMint.Mint721Data memory data,
        address from,
        address to
    ) override external {
        if (_exists(data.tokenId)) {
            safeTransferFrom(from, to, data.tokenId);
        } else {
            mintAndTransfer(data, to);
        }
    }

    function mintAndTransfer(LibERC721LazyMint.Mint721Data memory data, address to) public override virtual {
        address minter = address(data.tokenId >> 96);
        address sender = _msgSender();

        require(minter == data.creators[0].account, "tokenId incorrect");
        require(data.creators.length == data.signatures.length);
        require(minter == sender || isApprovedForAll(minter, sender), "ERC721: transfer caller is not owner nor approved");

        bytes32 hash = LibERC721LazyMint.hash(data);
        for (uint i = 0; i < data.creators.length; i++) {
            address creator = data.creators[i].account;
            if (creator != sender) {
                validate(creator, hash, data.signatures[i]);
            }
        }

        _safeMint(to, data.tokenId);
        _saveRoyalties(data.tokenId, data.royalties);
        _saveCreators(data.tokenId, data.creators);
        _setTokenURI(data.tokenId, data.tokenURI);
    }

    function _emitMintEvent(address to, uint tokenId) internal override virtual {
        address minter = address(tokenId >> 96);
        if (minter != to) {
            emit Transfer(address(0), minter, tokenId);
            emit Transfer(minter, to, tokenId);
        } else {
            emit Transfer(address(0), to, tokenId);
        }
    }

    function _saveCreators(uint tokenId, LibPart.Part[] memory _creators) internal {
        LibPart.Part[] storage creatorsOfToken = creators[tokenId];
        uint total = 0;
        for (uint i = 0; i < _creators.length; i++) {
            require(_creators[i].account != address(0x0), "Account should be present");
            require(_creators[i].value != 0, "Creator share should be positive");
            creatorsOfToken.push(_creators[i]);
            total = total.add(_creators[i].value);
        }
        require(total == 10000, "total amount of creators share should be 10000");
        emit Creators(tokenId, _creators);
    }

    function updateAccount(uint256 _id, address _from, address _to) external {
        require(_msgSender() == _from, "not allowed");
        super._updateAccount(_id, _from, _to);
    }

    function getCreators(uint256 _id) external view returns (LibPart.Part[] memory) {
        return creators[_id];
    }

    function tokenURI(uint256 tokenId) public view virtual override(ERC721Upgradeable, ERC721URI) returns (string memory) {
        return ERC721URI.tokenURI(tokenId);
    }

    function _clearMetadata(uint256 tokenId) internal override(ERC721Upgradeable, ERC721URI) virtual {
        return ERC721URI._clearMetadata(tokenId);
    }

    uint256[50] private __gap;
}

File 7 of 32 : HasContractURI.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.7.6;

import "@openzeppelin/contracts-upgradeable/introspection/ERC165Upgradeable.sol";

abstract contract HasContractURI is ERC165Upgradeable {

    string public contractURI;

    /*
     * bytes4(keccak256('contractURI()')) == 0xe8a3d485
     */
    bytes4 private constant _INTERFACE_ID_CONTRACT_URI = 0xe8a3d485;

    function __HasContractURI_init_unchained(string memory _contractURI) internal initializer {
        contractURI = _contractURI;
        _registerInterface(_INTERFACE_ID_CONTRACT_URI);
    }

    /**
     * @dev Internal function to set the contract URI
     * @param _contractURI string URI prefix to assign
     */
    function _setContractURI(string memory _contractURI) internal {
        contractURI = _contractURI;
    }

    uint256[49] private __gap;
}

File 8 of 32 : ContextUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;
import "../proxy/Initializable.sol";

/*
 * @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 GSN 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 ContextUpgradeable is Initializable {
    function __Context_init() internal initializer {
        __Context_init_unchained();
    }

    function __Context_init_unchained() internal initializer {
    }
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
    uint256[50] private __gap;
}

File 9 of 32 : Initializable.sol
// SPDX-License-Identifier: MIT

// solhint-disable-next-line compiler-version
pragma solidity >=0.4.24 <0.8.0;

import "../utils/AddressUpgradeable.sol";

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {UpgradeableProxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 */
abstract contract Initializable {

    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        require(_initializing || _isConstructor() || !_initialized, "Initializable: contract is already initialized");

        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }

    /// @dev Returns true if and only if the function is running in the constructor
    function _isConstructor() private view returns (bool) {
        return !AddressUpgradeable.isContract(address(this));
    }
}

File 10 of 32 : AddressUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library AddressUpgradeable {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 11 of 32 : ERC721Upgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.7.6;

import "@openzeppelin/contracts-upgradeable/token/ERC721/IERC721Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC721/IERC721ReceiverUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC721/IERC721MetadataUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/introspection/ERC165Upgradeable.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 ERC721Upgradeable is Initializable, ContextUpgradeable, ERC165Upgradeable, IERC721Upgradeable, IERC721MetadataUpgradeable {
    using AddressUpgradeable for address;
    using StringsUpgradeable 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;

    /*
     *     bytes4(keccak256('balanceOf(address)')) == 0x70a08231
     *     bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e
     *     bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3
     *     bytes4(keccak256('getApproved(uint256)')) == 0x081812fc
     *     bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465
     *     bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5
     *     bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde
     *
     *     => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^
     *        0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd
     */
    bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;

    /*
     *     bytes4(keccak256('name()')) == 0x06fdde03
     *     bytes4(keccak256('symbol()')) == 0x95d89b41
     *     bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd
     *
     *     => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f
     */
    bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    function __ERC721_init(string memory name_, string memory symbol_) internal initializer {
        __Context_init_unchained();
        __ERC165_init_unchained();
        __ERC721_init_unchained(name_, symbol_);
    }

    function __ERC721_init_unchained(string memory name_, string memory symbol_) internal initializer {
        _name = name_;
        _symbol = symbol_;

        // register the supported interfaces to conform to ERC721 via ERC165
        _registerInterface(_INTERFACE_ID_ERC721);
        _registerInterface(_INTERFACE_ID_ERC721_METADATA);
    }

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721Upgradeable.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 {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_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 = ERC721Upgradeable.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

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

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

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

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

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

        _emitMintEvent(to, tokenId);
    }

    function _emitMintEvent(address to, uint tokenId) internal virtual {
        emit Transfer(address(0), to, tokenId);
    }

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

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

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

        _clearMetadata(tokenId);

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

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

    function _clearMetadata(uint256 tokenId) internal virtual {
    }

    /**
     * @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(ERC721Upgradeable.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @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 IERC721ReceiverUpgradeable(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721ReceiverUpgradeable.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 {}
    uint256[44] private __gap;
}

File 12 of 32 : IERC721Upgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

import "../../introspection/IERC165Upgradeable.sol";

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

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

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

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

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

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

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

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

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

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

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

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

File 13 of 32 : IERC721ReceiverUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

File 14 of 32 : IERC721MetadataUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

import "./IERC721Upgradeable.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721MetadataUpgradeable is IERC721Upgradeable {

    /**
     * @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 15 of 32 : StringsUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev String operations.
 */
library StringsUpgradeable {
    /**
     * @dev Converts a `uint256` to its ASCII `string` 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);
        uint256 index = digits - 1;
        temp = value;
        while (temp != 0) {
            buffer[index--] = bytes1(uint8(48 + temp % 10));
            temp /= 10;
        }
        return string(buffer);
    }
}

File 16 of 32 : ERC165Upgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "./IERC165Upgradeable.sol";
import "../proxy/Initializable.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts may inherit from this and call {_registerInterface} to declare
 * their support of an interface.
 */
abstract contract ERC165Upgradeable is Initializable, IERC165Upgradeable {
    /*
     * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7
     */
    bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;

    /**
     * @dev Mapping of interface ids to whether or not it's supported.
     */
    mapping(bytes4 => bool) private _supportedInterfaces;

    function __ERC165_init() internal initializer {
        __ERC165_init_unchained();
    }

    function __ERC165_init_unchained() internal initializer {
        // Derived contracts need only register support for their own interfaces,
        // we register support for ERC165 itself here
        _registerInterface(_INTERFACE_ID_ERC165);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     *
     * Time complexity O(1), guaranteed to always use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return _supportedInterfaces[interfaceId];
    }

    /**
     * @dev Registers the contract as an implementer of the interface defined by
     * `interfaceId`. Support of the actual ERC165 interface is automatic and
     * registering its interface id is not required.
     *
     * See {IERC165-supportsInterface}.
     *
     * Requirements:
     *
     * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).
     */
    function _registerInterface(bytes4 interfaceId) internal virtual {
        require(interfaceId != 0xffffffff, "ERC165: invalid interface id");
        _supportedInterfaces[interfaceId] = true;
    }
    uint256[49] private __gap;
}

File 17 of 32 : IERC165Upgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 IERC165Upgradeable {
    /**
     * @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 18 of 32 : RoyaltiesV2Impl.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;
pragma abicoder v2;

import "./AbstractRoyalties.sol";
import "../RoyaltiesV2.sol";

contract RoyaltiesV2Impl is AbstractRoyalties, RoyaltiesV2 {

    function getNFTV2Royalties(uint256 id) override external view returns (LibPart.Part[] memory) {
        return royalties[id];
    }

    function _onRoyaltiesSet(uint256 id, LibPart.Part[] memory _royalties) override internal {
        emit RoyaltiesSet(id, _royalties);
    }
}

File 19 of 32 : RoyaltiesV2Upgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;
pragma abicoder v2;

import "@openzeppelin/contracts-upgradeable/introspection/ERC165Upgradeable.sol";
import "../royalties/LibRoyaltiesV2.sol";
import "../royalties/RoyaltiesV2.sol";

abstract contract RoyaltiesV2Upgradeable is ERC165Upgradeable, RoyaltiesV2 {
    function __RoyaltiesV2Upgradeable_init_unchained() internal initializer {
        _registerInterface(LibRoyaltiesV2._INTERFACE_ID_ROYALTIES);
    }
}

File 20 of 32 : IERC721LazyMint.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;
pragma abicoder v2;

import "@openzeppelin/contracts-upgradeable/token/ERC721/IERC721Upgradeable.sol";
import "./LibERC721LazyMint.sol";
import "../../royalties/LibPart.sol";

interface IERC721LazyMint is IERC721Upgradeable {

    event Creators(
        uint256 tokenId,
        LibPart.Part[] creators
    );

    function mintAndTransfer(
        LibERC721LazyMint.Mint721Data memory data,
        address to
    ) external;

    function transferFromOrMint(
        LibERC721LazyMint.Mint721Data memory data,
        address from,
        address to
    ) external;
}

File 21 of 32 : Mint721Validator.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.7.6;

import "./erc-1271/ERC1271Validator.sol";
import "../lazy-mint/erc-721/LibERC721LazyMint.sol";

contract Mint721Validator is ERC1271Validator {
    function __Mint721Validator_init_unchained() internal initializer {
        __EIP712_init_unchained("Mint721", "1");
    }

    function validate(address account, bytes32 hash, bytes memory signature) internal view {
        validate1271(account, hash, signature);
    }
    uint256[50] private __gap;
}

File 22 of 32 : SafeMathUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMathUpgradeable {
    /**
     * @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) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        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) {
        // 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) {
        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) {
        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) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

    /**
     * @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) {
        require(b <= a, "SafeMath: subtraction overflow");
        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) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

    /**
     * @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. 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) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        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) {
        require(b > 0, "SafeMath: modulo by zero");
        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) {
        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.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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) {
        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) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

File 23 of 32 : ERC721URI.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "@openzeppelin/contracts-upgradeable/proxy/Initializable.sol";
import "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol";
import "./ERC721Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol";

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721URI is ContextUpgradeable, ERC721Upgradeable {
    using StringsUpgradeable for uint256;

    // Optional mapping for token URIs
    mapping (uint256 => string) private _tokenURIs;

    // Base URI
    string private _baseURI;

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721Metadata: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

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

    /**
    * @dev Returns the base URI set via {_setBaseURI}. This will be
    * automatically added as a prefix in {tokenURI} to each token's URI, or
    * to the token ID if no specific URI is set for that token ID.
    */
    function baseURI() public view virtual returns (string memory) {
        return _baseURI;
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _clearMetadata(uint256 tokenId) internal override virtual {
        // Clear metadata (if any)
        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }

    /**
     * @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 _tokenURI = _tokenURIs[tokenId];
        string memory base = baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }
        // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.
        return string(abi.encodePacked(base, tokenId.toString()));
    }



    uint256[50] private __gap;
}

File 24 of 32 : AbstractRoyalties.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

import "../LibPart.sol";

abstract contract AbstractRoyalties {
    mapping (uint256 => LibPart.Part[]) internal royalties;

    function _saveRoyalties(uint256 id, LibPart.Part[] memory _royalties) internal {
        uint256 totalValue;
        for (uint i = 0; i < _royalties.length; i++) {
            require(_royalties[i].account != address(0x0), "Recipient should be present");
            require(_royalties[i].value != 0, "Royalty value should be positive");
            totalValue += _royalties[i].value;
            royalties[id].push(_royalties[i]);
        }
        require(totalValue < 10000, "Royalty total value should be < 10000");
        _onRoyaltiesSet(id, _royalties);
    }

    function _updateAccount(uint256 _id, address _from, address _to) internal {
        uint length = royalties[_id].length;
        for(uint i = 0; i < length; i++) {
            if (royalties[_id][i].account == _from) {
                royalties[_id][i].account = address(uint160(_to));
            }
        }
    }

    function _onRoyaltiesSet(uint256 id, LibPart.Part[] memory _royalties) virtual internal;
}

File 25 of 32 : RoyaltiesV2.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;
pragma abicoder v2;

import "./LibPart.sol";

interface RoyaltiesV2 {
    event RoyaltiesSet(uint256 tokenId, LibPart.Part[] royalties);

    function getNFTV2Royalties(uint256 id) external view returns (LibPart.Part[] memory);
}

File 26 of 32 : LibPart.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

library LibPart {
    bytes32 public constant TYPE_HASH = keccak256("Part(address account,uint96 value)");

    struct Part {
        address payable account;
        uint96 value;
    }

    function hash(Part memory part) internal pure returns (bytes32) {
        return keccak256(abi.encode(TYPE_HASH, part.account, part.value));
    }
}

File 27 of 32 : LibRoyaltiesV2.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

library LibRoyaltiesV2 {
    /*
     * bytes4(keccak256('getNFTV2Royalties(uint256)')) == 0x720464a7
     */
    bytes4 constant _INTERFACE_ID_ROYALTIES = 0x720464a7;
}

File 28 of 32 : LibERC721LazyMint.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

import "../../royalties/LibPart.sol";

library LibERC721LazyMint {
    bytes4 constant public ERC721_LAZY_ASSET_CLASS = bytes4(keccak256("ERC721_LAZY"));
    bytes4 constant _INTERFACE_ID_MINT_AND_TRANSFER = 0x8486f69f;

    struct Mint721Data {
        uint tokenId;
        string tokenURI;
        LibPart.Part[] creators;
        LibPart.Part[] royalties;
        bytes[] signatures;
    }

    bytes32 public constant MINT_AND_TRANSFER_TYPEHASH = keccak256("Mint721(uint256 tokenId,string tokenURI,Part[] creators,Part[] royalties)Part(address account,uint96 value)");

    function hash(Mint721Data memory data) internal pure returns (bytes32) {
        bytes32[] memory royaltiesBytes = new bytes32[](data.royalties.length);
        for (uint i = 0; i < data.royalties.length; i++) {
            royaltiesBytes[i] = LibPart.hash(data.royalties[i]);
        }
        bytes32[] memory creatorsBytes = new bytes32[](data.creators.length);
        for (uint i = 0; i < data.creators.length; i++) {
            creatorsBytes[i] = LibPart.hash(data.creators[i]);
        }
        return keccak256(abi.encode(
                MINT_AND_TRANSFER_TYPEHASH,
                data.tokenId,
                keccak256(bytes(data.tokenURI)),
                keccak256(abi.encodePacked(creatorsBytes)),
                keccak256(abi.encodePacked(royaltiesBytes))
            ));
    }

}

File 29 of 32 : ERC1271Validator.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.7.6;

import "./ERC1271.sol";
import "@openzeppelin/contracts-upgradeable/drafts/EIP712Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/cryptography/ECDSAUpgradeable.sol";

abstract contract ERC1271Validator is EIP712Upgradeable {
    using AddressUpgradeable for address;
    using ECDSAUpgradeable for bytes32;

    string constant SIGNATURE_ERROR = "signature verification error";
    bytes4 constant internal MAGICVALUE = 0x1626ba7e;

    function validate1271(address signer, bytes32 structHash, bytes memory signature) internal view {
        bytes32 hash = _hashTypedDataV4(structHash);
        if (signer.isContract()) {
            require(
                ERC1271(signer).isValidSignature(hash, signature) == MAGICVALUE,
                SIGNATURE_ERROR
            );
        } else {
            require(
                hash.recover(signature) == signer,
                SIGNATURE_ERROR
            );
        }
    }
    uint256[50] private __gap;
}

File 30 of 32 : ERC1271.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.7.6;

abstract contract ERC1271 {
    bytes4 constant public ERC1271_INTERFACE_ID = 0xfb855dc9; // this.isValidSignature.selector

    bytes4 constant public ERC1271_RETURN_VALID_SIGNATURE =   0x1626ba7e;
    bytes4 constant public ERC1271_RETURN_INVALID_SIGNATURE = 0x00000000;

    /**
    * @dev Function must be implemented by deriving contract
    * @param _hash Arbitrary length data signed on the behalf of address(this)
    * @param _signature Signature byte array associated with _data
    * @return A bytes4 magic value 0x1626ba7e if the signature check passes, 0x00000000 if not
    *
    * MUST NOT modify state (using STATICCALL for solc < 0.5, view modifier for solc > 0.5)
    * MUST allow external calls
    */
    function isValidSignature(bytes32 _hash, bytes memory _signature) public virtual view returns (bytes4);

    function returnIsValidSignatureMagicNumber(bool isValid) internal pure returns (bytes4) {
        return isValid ? ERC1271_RETURN_VALID_SIGNATURE : ERC1271_RETURN_INVALID_SIGNATURE;
    }
}

File 31 of 32 : EIP712Upgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;
import "../proxy/Initializable.sol";

/**
 * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
 *
 * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
 * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding
 * they need in their contracts using a combination of `abi.encode` and `keccak256`.
 *
 * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
 * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
 * ({_hashTypedDataV4}).
 *
 * The implementation of the domain separator was designed to be as efficient as possible while still properly updating
 * the chain id to protect against replay attacks on an eventual fork of the chain.
 *
 * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
 * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
 *
 * _Available since v3.4._
 */
abstract contract EIP712Upgradeable is Initializable {
    /* solhint-disable var-name-mixedcase */
    bytes32 private _HASHED_NAME;
    bytes32 private _HASHED_VERSION;
    bytes32 private constant _TYPE_HASH = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)");
    /* solhint-enable var-name-mixedcase */

    /**
     * @dev Initializes the domain separator and parameter caches.
     *
     * The meaning of `name` and `version` is specified in
     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
     *
     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
     * - `version`: the current major version of the signing domain.
     *
     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
     * contract upgrade].
     */
    function __EIP712_init(string memory name, string memory version) internal initializer {
        __EIP712_init_unchained(name, version);
    }

    function __EIP712_init_unchained(string memory name, string memory version) internal initializer {
        bytes32 hashedName = keccak256(bytes(name));
        bytes32 hashedVersion = keccak256(bytes(version));
        _HASHED_NAME = hashedName;
        _HASHED_VERSION = hashedVersion;
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() internal view returns (bytes32) {
        return _buildDomainSeparator(_TYPE_HASH, _EIP712NameHash(), _EIP712VersionHash());
    }

    function _buildDomainSeparator(bytes32 typeHash, bytes32 name, bytes32 version) private view returns (bytes32) {
        return keccak256(
            abi.encode(
                typeHash,
                name,
                version,
                _getChainId(),
                address(this)
            )
        );
    }

    /**
     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
     * function returns the hash of the fully encoded EIP712 message for this domain.
     *
     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
     *
     * ```solidity
     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
     *     keccak256("Mail(address to,string contents)"),
     *     mailTo,
     *     keccak256(bytes(mailContents))
     * )));
     * address signer = ECDSA.recover(digest, signature);
     * ```
     */
    function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", _domainSeparatorV4(), structHash));
    }

    function _getChainId() private view returns (uint256 chainId) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        // solhint-disable-next-line no-inline-assembly
        assembly {
            chainId := chainid()
        }
    }

    /**
     * @dev The hash of the name parameter for the EIP712 domain.
     *
     * NOTE: This function reads from storage by default, but can be redefined to return a constant value if gas costs
     * are a concern.
     */
    function _EIP712NameHash() internal virtual view returns (bytes32) {
        return _HASHED_NAME;
    }

    /**
     * @dev The hash of the version parameter for the EIP712 domain.
     *
     * NOTE: This function reads from storage by default, but can be redefined to return a constant value if gas costs
     * are a concern.
     */
    function _EIP712VersionHash() internal virtual view returns (bytes32) {
        return _HASHED_VERSION;
    }
    uint256[50] private __gap;
}

File 32 of 32 : ECDSAUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSAUpgradeable {
    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        // Check the signature length
        if (signature.length != 65) {
            revert("ECDSA: invalid signature length");
        }

        // Divide the signature in r, s and v variables
        bytes32 r;
        bytes32 s;
        uint8 v;

        // ecrecover takes the signature parameters, and the only way to get them
        // currently is to use assembly.
        // solhint-disable-next-line no-inline-assembly
        assembly {
            r := mload(add(signature, 0x20))
            s := mload(add(signature, 0x40))
            v := byte(0, mload(add(signature, 0x60)))
        }

        return recover(hash, v, r, s);
    }

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

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        require(signer != address(0), "ECDSA: invalid signature");

        return signer;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * replicates the behavior of the
     * https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_sign[`eth_sign`]
     * JSON-RPC method.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }
}

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

Contract Security Audit

Contract ABI

[{"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":"owner","type":"address"},{"indexed":false,"internalType":"string","name":"name","type":"string"},{"indexed":false,"internalType":"string","name":"symbol","type":"string"}],"name":"CreateERC721NFT","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"components":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"indexed":false,"internalType":"struct LibPart.Part[]","name":"creators","type":"tuple[]"}],"name":"Creators","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"hasApproval","type":"bool"}],"name":"DefaultApproval","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":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"components":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"indexed":false,"internalType":"struct LibPart.Part[]","name":"royalties","type":"tuple[]"}],"name":"RoyaltiesSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"string","name":"contractURI","type":"string"}],"name":"__ERC721NFT_init","outputs":[],"stateMutability":"nonpayable","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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"uint256","name":"_id","type":"uint256"}],"name":"getCreators","outputs":[{"components":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"internalType":"struct LibPart.Part[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getNFTV2Royalties","outputs":[{"components":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"internalType":"struct LibPart.Part[]","name":"","type":"tuple[]"}],"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":[{"components":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"tokenURI","type":"string"},{"components":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"internalType":"struct LibPart.Part[]","name":"creators","type":"tuple[]"},{"components":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"internalType":"struct LibPart.Part[]","name":"royalties","type":"tuple[]"},{"internalType":"bytes[]","name":"signatures","type":"bytes[]"}],"internalType":"struct LibERC721LazyMint.Mint721Data","name":"data","type":"tuple"},{"internalType":"address","name":"to","type":"address"}],"name":"mintAndTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"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":"operator","type":"address"},{"internalType":"bool","name":"hasApproval","type":"bool"}],"name":"setDefaultApproval","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":[{"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":[{"components":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"tokenURI","type":"string"},{"components":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"internalType":"struct LibPart.Part[]","name":"creators","type":"tuple[]"},{"components":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"internalType":"struct LibPart.Part[]","name":"royalties","type":"tuple[]"},{"internalType":"bytes[]","name":"signatures","type":"bytes[]"}],"internalType":"struct LibERC721LazyMint.Mint721Data","name":"data","type":"tuple"},{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"transferFromOrMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"updateAccount","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50613d29806100206000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c8063832fbb29116100de578063b88d4fde11610097578063e8a3d48511610071578063e8a3d4851461034a578063e985e9c514610352578063ed7df11614610365578063f2fde38b146103785761018e565b8063b88d4fde14610311578063c87b56dd14610324578063e07f2319146103375761018e565b8063832fbb29146102a8578063891be974146102bb5780638da5cb5b146102db57806395d89b41146102e35780639815345d146102eb578063a22cb465146102fe5761018e565b806323b872dd1161014b5780636352211e116101255780636352211e146102655780636c0360eb1461027857806370a0823114610280578063715018a6146102a05761018e565b806323b872dd1461022c57806342842e0e1461023f57806342966c68146102525761018e565b806301ffc9a71461019357806306fdde03146101bc578063081812fc146101d1578063095ea7b3146101f157806318054c371461020657806322a775b614610219575b600080fd5b6101a66101a1366004613566565b61038b565b6040516101b3919061380e565b60405180910390f35b6101c461039e565b6040516101b39190613819565b6101e46101df3660046136d1565b610434565b6040516101b391906137b1565b6102046101ff36600461353b565b610497565b005b61020461021436600461350a565b61056d565b61020461022736600461362a565b6105ef565b61020461023a366004613460565b61077a565b61020461024d366004613460565b6107d1565b6102046102603660046136d1565b6107ec565b6101e46102733660046136d1565b61083e565b6101c4610892565b61029361028e36600461340c565b6108f4565b6040516101b39190613987565b610204610958565b6102046102b636600461366f565b610a16565b6102ce6102c93660046136d1565b610a44565b6040516101b391906137fb565b6101e4610ad4565b6101c4610ae3565b6102046102f936600461358e565b610b44565b61020461030c36600461350a565b610c7f565b61020461031f3660046134a0565b610d85565b6101c46103323660046136d1565b610de3565b6102046103453660046136e9565b610dee565b6101c4610e31565b6101a6610360366004613428565b610ec0565b6102ce6103733660046136d1565b610ed3565b61020461038636600461340c565b610f4e565b600061039682611063565b90505b919050565b60fd8054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561042a5780601f106103ff5761010080835404028352916020019161042a565b820191906000526020600020905b81548152906001019060200180831161040d57829003601f168201915b5050505050905090565b600061043f82611102565b61047a5760405162461bcd60e51b815260040180806020018281038252602c815260200180613ba6602c913960400191505060405180910390fd5b50600090815261010160205260409020546001600160a01b031690565b60006104a28261083e565b9050806001600160a01b0316836001600160a01b031614156104f55760405162461bcd60e51b8152600401808060200182810382526021815260200180613c766021913960400191505060405180910390fd5b806001600160a01b031661050761111f565b6001600160a01b0316148061052357506105238161036061111f565b61055e5760405162461bcd60e51b8152600401808060200182810382526038815260200180613acb6038913960400191505060405180910390fd5b6105688383611123565b505050565b61057561111f565b6001600160a01b0316610586610ad4565b6001600160a01b0316146105e1576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6105eb8282611192565b5050565b815160601c60006105fe61111f565b9050836040015160008151811061061157fe5b6020026020010151600001516001600160a01b0316826001600160a01b0316146106565760405162461bcd60e51b815260040161064d90613861565b60405180910390fd5b8360800151518460400151511461066c57600080fd5b806001600160a01b0316826001600160a01b0316148061069157506106918282610ec0565b6106ad5760405162461bcd60e51b815260040161064d906138e8565b60006106b8856111f3565b905060005b85604001515181101561072e576000866040015182815181106106dc57fe5b6020026020010151600001519050836001600160a01b0316816001600160a01b0316146107255761072581848960800151858151811061071857fe5b602002602001015161143c565b506001016106bd565b5061073d848660000151611447565b61074f85600001518660600151611461565b61076185600001518660400151611650565b610773856000015186602001516117ff565b5050505050565b61078b61078561111f565b82611863565b6107c65760405162461bcd60e51b8152600401808060200182810382526031815260200180613c976031913960400191505060405180910390fd5b61056883838361186f565b61056883838360405180602001604052806000815250610d85565b6107f761078561111f565b6108325760405162461bcd60e51b8152600401808060200182810382526030815260200180613ced6030913960400191505060405180910390fd5b61083b8161198e565b50565b600081815260ff60205260408120546001600160a01b0316806103965760405162461bcd60e51b8152600401808060200182810382526029815260200180613b2d6029913960400191505060405180910390fd5b6101c88054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561042a5780601f106103ff5761010080835404028352916020019161042a565b60006001600160a01b03821661093b5760405162461bcd60e51b815260040180806020018281038252602a815260200180613b03602a913960400191505060405180910390fd5b506001600160a01b03166000908152610100602052604090205490565b61096061111f565b6001600160a01b0316610971610ad4565b6001600160a01b0316146109cc576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6033546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3603380546001600160a01b0319169055565b8251610a2190611102565b15610a3a57610a35828285600001516107d1565b610568565b61056883826105ef565b60606101fb6000838152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015610ac957600084815260209081902060408051808201909152908401546001600160a01b0381168252600160a01b90046001600160601b031681830152825260019092019101610a7a565b505050509050919050565b6033546001600160a01b031690565b60fe8054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561042a5780601f106103ff5761010080835404028352916020019161042a565b600054610100900460ff1680610b5d5750610b5d611a13565b80610b6b575060005460ff16155b610ba65760405162461bcd60e51b815260040180806020018281038252602e815260200180613b56602e913960400191505060405180910390fd5b600054610100900460ff16158015610bd1576000805460ff1961ff0019909116610100171660011790555b610bda83611a24565b610be2611a38565b610bea611ad9565b610bf2611a38565b610bfa611b76565b610c02611c13565b610c0a611a38565b610c12611d0c565b610c1b82611ddb565b610c258585611ea2565b7fb8085ab30e426335dba0714975b7f405c38935c6272e5af220522ff80852f668610c4e61111f565b8686604051610c5f939291906137c5565b60405180910390a18015610773576000805461ff00191690555050505050565b610c8761111f565b6001600160a01b0316826001600160a01b03161415610ced576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b806101026000610cfb61111f565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610d3f61111f565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b610d96610d9061111f565b83611863565b610dd15760405162461bcd60e51b8152600401808060200182810382526031815260200180613c976031913960400191505060405180910390fd5b610ddd84848484611f8d565b50505050565b606061039682611fdf565b816001600160a01b0316610e0061111f565b6001600160a01b031614610e265760405162461bcd60e51b815260040161064d9061388c565b610568838383611fea565b61022e805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610eb85780601f10610e8d57610100808354040283529160200191610eb8565b820191906000526020600020905b815481529060010190602001808311610e9b57829003601f168201915b505050505081565b6000610ecc8383612096565b9392505050565b60008181526101c660209081526040808320805482518185028101850190935280835260609492939192909184018215610ac957600084815260209081902060408051808201909152908401546001600160a01b0381168252600160a01b90046001600160601b031681830152825260019092019101610a7a565b610f5661111f565b6001600160a01b0316610f67610ad4565b6001600160a01b031614610fc2576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166110075760405162461bcd60e51b8152600401808060200182810382526026815260200180613a336026913960400191505060405180910390fd5b6033546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3603380546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160e01b03198216638486f69f60e01b148061109457506001600160e01b0319821663720464a760e01b145b806110af57506001600160e01b031982166301ffc9a760e01b145b806110ca57506001600160e01b031982166380ac58cd60e01b145b806110e557506001600160e01b03198216635b5e139f60e01b145b806103965750506001600160e01b03191663780e9d6360e01b1490565b600090815260ff60205260409020546001600160a01b0316151590565b3390565b60008181526101016020526040902080546001600160a01b0319166001600160a01b03841690811790915581906111598261083e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600160a01b038216600081815261012f6020908152604091829020805460ff1916851515908117909155825190815291517f270dbb8ba4292910ae92862466486be25c355c837270a3d8824b36a8bc7c653b9281900390910190a25050565b60008082606001515167ffffffffffffffff8111801561121257600080fd5b5060405190808252806020026020018201604052801561123c578160200160208202803683370190505b50905060005b83606001515181101561128e5761126f8460600151828151811061126257fe5b60200260200101516120c3565b82828151811061127b57fe5b6020908102919091010152600101611242565b50600083604001515167ffffffffffffffff811180156112ad57600080fd5b506040519080825280602002602001820160405280156112d7578160200160208202803683370190505b50905060005b84604001515181101561131c576112fd8560400151828151811061126257fe5b82828151811061130957fe5b60209081029190910101526001016112dd565b507ff64326045af5fd7e15297ba939f85b550474d3899daa47d2bc1ffbdb9ced344e84600001518560200151805190602001208360405160200180828051906020019060200280838360005b83811015611380578181015183820152602001611368565b50505050905001915050604051602081830303815290604052805190602001208560405160200180828051906020019060200280838360005b838110156113d15781810151838201526020016113b9565b505050509050019150506040516020818303038152906040528051906020012060405160200180868152602001858152602001848152602001838152602001828152602001955050505050506040516020818303038152906040528051906020012092505050919050565b610568838383612130565b6105eb8282604051806020016040528060008152506123a5565b6000805b82518110156116055760006001600160a01b031683828151811061148557fe5b6020026020010151600001516001600160a01b031614156114ed576040805162461bcd60e51b815260206004820152601b60248201527f526563697069656e742073686f756c642062652070726573656e740000000000604482015290519081900360640190fd5b8281815181106114f957fe5b6020026020010151602001516001600160601b031660001415611563576040805162461bcd60e51b815260206004820181905260248201527f526f79616c74792076616c75652073686f756c6420626520706f736974697665604482015290519081900360640190fd5b82818151811061156f57fe5b6020026020010151602001516001600160601b0316820191506101c660008581526020019081526020016000208382815181106115a857fe5b60209081029190910181015182546001818101855560009485529383902082519101805492909301516001600160601b0316600160a01b026001600160a01b039182166001600160a01b0319909316929092171617905501611465565b5061271081106116465760405162461bcd60e51b8152600401808060200182810382526025815260200180613cc86025913960400191505060405180910390fd5b61056883836123f7565b60008281526101fb6020526040812090805b835181101561179e5760006001600160a01b031684828151811061168257fe5b6020026020010151600001516001600160a01b031614156116b55760405162461bcd60e51b815260040161064d906138b1565b8381815181106116c157fe5b6020026020010151602001516001600160601b0316600014156116f65760405162461bcd60e51b815260040161064d9061382c565b8284828151811061170357fe5b602090810291909101810151825460018101845560009384529282902081519301805491909201516001600160601b0316600160a01b026001600160a01b039384166001600160a01b03199092169190911790921691909117905583516117949085908390811061177057fe5b6020026020010151602001516001600160601b03168361243490919063ffffffff16565b9150600101611662565b5080612710146117c05760405162461bcd60e51b815260040161064d90613939565b7f841ffb90d4cabdd1f16034f3fa831d79060febbb8167bdd54a49269365bdf78f84846040516117f1929190613990565b60405180910390a150505050565b61180882611102565b6118435760405162461bcd60e51b815260040180806020018281038252602c815260200180613bd2602c913960400191505060405180910390fd5b60008281526101c7602090815260409091208251610568928401906130df565b6000610ecc838361248e565b826001600160a01b03166118828261083e565b6001600160a01b0316146118c75760405162461bcd60e51b8152600401808060200182810382526029815260200180613bfe6029913960400191505060405180910390fd5b6001600160a01b03821661190c5760405162461bcd60e51b8152600401808060200182810382526024815260200180613a596024913960400191505060405180910390fd5b611917838383610568565b611922600082611123565b6001600160a01b0380841660008181526101006020908152604080832080546000190190559386168083528483208054600101905585835260ff90915283822080546001600160a01b03191682179055925184939291600080516020613c5683398151915291a4505050565b60006119998261083e565b90506119a781600084610568565b6119b2600083611123565b6119bb826124bb565b6001600160a01b038116600081815261010060209081526040808320805460001901905585835260ff90915280822080546001600160a01b031916905551849290600080516020613c56833981519152908390a45050565b6000611a1e306124c4565b15905090565b80516105eb906101c89060208401906130df565b600054610100900460ff1680611a515750611a51611a13565b80611a5f575060005460ff16155b611a9a5760405162461bcd60e51b815260040180806020018281038252602e815260200180613b56602e913960400191505060405180910390fd5b600054610100900460ff16158015611ac5576000805460ff1961ff0019909116610100171660011790555b801561083b576000805461ff001916905550565b600054610100900460ff1680611af25750611af2611a13565b80611b00575060005460ff16155b611b3b5760405162461bcd60e51b815260040180806020018281038252602e815260200180613b56602e913960400191505060405180910390fd5b600054610100900460ff16158015611b66576000805460ff1961ff0019909116610100171660011790555b611ac563720464a760e01b6124ca565b600054610100900460ff1680611b8f5750611b8f611a13565b80611b9d575060005460ff16155b611bd85760405162461bcd60e51b815260040180806020018281038252602e815260200180613b56602e913960400191505060405180910390fd5b600054610100900460ff16158015611c03576000805460ff1961ff0019909116610100171660011790555b611ac56301ffc9a760e01b6124ca565b600054610100900460ff1680611c2c5750611c2c611a13565b80611c3a575060005460ff16155b611c755760405162461bcd60e51b815260040180806020018281038252602e815260200180613b56602e913960400191505060405180910390fd5b600054610100900460ff16158015611ca0576000805460ff1961ff0019909116610100171660011790555b6000611caa61111f565b603380546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350801561083b576000805461ff001916905550565b600054610100900460ff1680611d255750611d25611a13565b80611d33575060005460ff16155b611d6e5760405162461bcd60e51b815260040180806020018281038252602e815260200180613b56602e913960400191505060405180910390fd5b600054610100900460ff16158015611d99576000805460ff1961ff0019909116610100171660011790555b611ac5604051806040016040528060078152602001664d696e7437323160c81b815250604051806040016040528060018152602001603160f81b81525061254e565b600054610100900460ff1680611df45750611df4611a13565b80611e02575060005460ff16155b611e3d5760405162461bcd60e51b815260040180806020018281038252602e815260200180613b56602e913960400191505060405180910390fd5b600054610100900460ff16158015611e68576000805460ff1961ff0019909116610100171660011790555b8151611e7c9061022e9060208501906130df565b50611e8d63e8a3d48560e01b6124ca565b80156105eb576000805461ff00191690555050565b600054610100900460ff1680611ebb5750611ebb611a13565b80611ec9575060005460ff16155b611f045760405162461bcd60e51b815260040180806020018281038252602e815260200180613b56602e913960400191505060405180910390fd5b600054610100900460ff16158015611f2f576000805460ff1961ff0019909116610100171660011790555b8251611f429060fd9060208601906130df565b508151611f569060fe9060208501906130df565b50611f676380ac58cd60e01b6124ca565b611f77635b5e139f60e01b6124ca565b8015610568576000805461ff0019169055505050565b611f9884848461186f565b611fa48484848461260e565b610ddd5760405162461bcd60e51b8152600401808060200182810382526032815260200180613a016032913960400191505060405180910390fd5b6060610396826127c4565b60008381526101c66020526040812054905b818110156107735760008581526101c66020526040902080546001600160a01b03861691908390811061202b57fe5b6000918252602090912001546001600160a01b0316141561208e5760008581526101c66020526040902080548491908390811061206457fe5b600091825260209091200180546001600160a01b0319166001600160a01b03929092169190911790555b600101611ffc565b6001600160a01b038116600090815261012f602052604081205460ff1680610ecc5750610ecc8383612a46565b8051602091820151604080517f397e04204c1e1a60ee8724b71f8244e10ab5f2e9009854d80f602bda21b59ebb818601526001600160a01b03909316838201526001600160601b039091166060808401919091528151808403909101815260809092019052805191012090565b600061213b83612a75565b905061214f846001600160a01b03166124c4565b156123055760408051630b135d3f60e11b808252600482018481526024830193845285516044840152855191936001600160a01b03891693631626ba7e938793899390929091606490910190602085019080838360005b838110156121be5781810151838201526020016121a6565b50505050905090810190601f1680156121eb5780820380516001836020036101000a031916815260200191505b50935050505060206040518083038186803b15801561220957600080fd5b505afa15801561221d573d6000803e3d6000fd5b505050506040513d602081101561223357600080fd5b505160408051808201909152601c81527f7369676e617475726520766572696669636174696f6e206572726f72000000006020820152916001600160e01b0319909116146122ff5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156122c45781810151838201526020016122ac565b50505050905090810190601f1680156122f15780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50610ddd565b6001600160a01b0384166123198284612ac1565b6001600160a01b0316146040518060400160405280601c81526020017f7369676e617475726520766572696669636174696f6e206572726f7200000000815250906107735760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156122c45781810151838201526020016122ac565b6123af8383612b41565b6123bc600084848461260e565b6105685760405162461bcd60e51b8152600401808060200182810382526032815260200180613a016032913960400191505060405180910390fd5b7f3fa96d7b6bcbfe71ef171666d84db3cf52fa2d1c8afdb1cc8e486177f208b7df8282604051612428929190613990565b60405180910390a15050565b600082820183811015610ecc576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b038216600090815261012f602052604081205460ff1680610ecc5750610ecc8383612c4b565b61083b81612ce7565b3b151590565b6001600160e01b03198082161415612529576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152606560205260409020805460ff19166001179055565b600054610100900460ff16806125675750612567611a13565b80612575575060005460ff16155b6125b05760405162461bcd60e51b815260040180806020018281038252602e815260200180613b56602e913960400191505060405180910390fd5b600054610100900460ff161580156125db576000805460ff1961ff0019909116610100171660011790555b82516020808501919091208351918401919091206097919091556098558015610568576000805461ff0019169055505050565b6000612622846001600160a01b03166124c4565b156127b857836001600160a01b031663150b7a0261263e61111f565b8786866040518563ffffffff1660e01b815260040180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156126b1578181015183820152602001612699565b50505050905090810190601f1680156126de5780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b15801561270057600080fd5b505af192505050801561272557506040513d602081101561272057600080fd5b505160015b61279e573d808015612753576040519150601f19603f3d011682016040523d82523d6000602084013e612758565b606091505b5080516127965760405162461bcd60e51b8152600401808060200182810382526032815260200180613a016032913960400191505060405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506127bc565b5060015b949350505050565b60606127cf82611102565b61280a5760405162461bcd60e51b815260040180806020018281038252602f815260200180613c27602f913960400191505060405180910390fd5b60008281526101c7602090815260408083208054825160026001831615610100026000190190921691909104601f81018590048502820185019093528281529290919083018282801561289e5780601f106128735761010080835404028352916020019161289e565b820191906000526020600020905b81548152906001019060200180831161288157829003601f168201915b5050505050905060006128af610892565b90508051600014156128c357509050610399565b8151156129845780826040516020018083805190602001908083835b602083106128fe5780518252601f1990920191602091820191016128df565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b602083106129465780518252601f199092019160209182019101612927565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050610399565b8061298e85612cf0565b6040516020018083805190602001908083835b602083106129c05780518252601f1990920191602091820191016129a1565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b60208310612a085780518252601f1990920191602091820191016129e9565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050919050565b6001600160a01b0391821660009081526101026020908152604080832093909416825291909152205460ff1690565b6000612a7f612dcb565b82604051602001808061190160f01b81525060020183815260200182815260200192505050604051602081830303815290604052805190602001209050919050565b60008151604114612b19576040805162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015290519081900360640190fd5b60208201516040830151606084015160001a612b3786828585612e0b565b9695505050505050565b6001600160a01b038216612b9c576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b612ba581611102565b15612bf7576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b612c0360008383610568565b6001600160a01b0382166000818152610100602090815260408083208054600101905584835260ff909152902080546001600160a01b03191690911790556105eb8282612f89565b6000612c5682611102565b612c915760405162461bcd60e51b815260040180806020018281038252602c815260200180613a9f602c913960400191505060405180910390fd5b6000612c9c8361083e565b9050806001600160a01b0316846001600160a01b03161480612cd75750836001600160a01b0316612ccc84610434565b6001600160a01b0316145b806127bc57506127bc8185610ec0565b61083b81612f93565b606081612d1557506040805180820190915260018152600360fc1b6020820152610399565b8160005b8115612d2d57600101600a82049150612d19565b60008167ffffffffffffffff81118015612d4657600080fd5b506040519080825280601f01601f191660200182016040528015612d71576020820181803683370190505b50859350905060001982015b8315612dc257600a840660300160f81b82828060019003935081518110612da057fe5b60200101906001600160f81b031916908160001a905350600a84049350612d7d565b50949350505050565b6000612e067f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f612df9612fd3565b612e01612fd9565b612fdf565b905090565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115612e6c5760405162461bcd60e51b8152600401808060200182810382526022815260200180613a7d6022913960400191505060405180910390fd5b8360ff16601b1480612e8157508360ff16601c145b612ebc5760405162461bcd60e51b8152600401808060200182810382526022815260200180613b846022913960400191505060405180910390fd5b600060018686868660405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015612f18573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612f80576040805162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015290519081900360640190fd5b95945050505050565b6105eb8282613041565b60008181526101c76020526040902054600260001961010060018416150201909116041561083b5760008181526101c76020526040812061083b9161316b565b60975490565b60985490565b6000838383612fec6130db565b3060405160200180868152602001858152602001848152602001838152602001826001600160a01b03168152602001955050505050506040516020818303038152906040528051906020012090509392505050565b606081901c6001600160a01b03831681146130b05760405182906001600160a01b03831690600090600080516020613c56833981519152908290a481836001600160a01b0316826001600160a01b0316600080516020613c5683398151915260405160405180910390a4610568565b60405182906001600160a01b03851690600090600080516020613c56833981519152908290a4505050565b4690565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282613115576000855561315b565b82601f1061312e57805160ff191683800117855561315b565b8280016001018555821561315b579182015b8281111561315b578251825591602001919060010190613140565b506131679291506131ab565b5090565b50805460018160011615610100020316600290046000825580601f10613191575061083b565b601f01602090049060005260206000209081019061083b91905b5b8082111561316757600081556001016131ac565b600082601f8301126131d0578081fd5b813560206131e56131e0836139cd565b6139a9565b82815281810190858301855b8581101561321a57613208898684358b01016132e3565b845292840192908401906001016131f1565b5090979650505050505050565b600082601f830112613237578081fd5b813560206132476131e0836139cd565b82815281810190858301604080860288018501891015613265578687fd5b865b868110156132d55781838b03121561327d578788fd5b815182810181811067ffffffffffffffff8211171561329857fe5b835283356132a5816139eb565b8152838701356001600160601b03811681146132bf57898afd5b8188015285529385019391810191600101613267565b509198975050505050505050565b600082601f8301126132f3578081fd5b813567ffffffffffffffff81111561330757fe5b61331a601f8201601f19166020016139a9565b81815284602083860101111561332e578283fd5b816020850160208301379081016020019190915292915050565b600060a08284031215613359578081fd5b61336360a06139a9565b905081358152602082013567ffffffffffffffff8082111561338457600080fd5b613390858386016132e3565b602084015260408401359150808211156133a957600080fd5b6133b585838601613227565b604084015260608401359150808211156133ce57600080fd5b6133da85838601613227565b606084015260808401359150808211156133f357600080fd5b50613400848285016131c0565b60808301525092915050565b60006020828403121561341d578081fd5b8135610ecc816139eb565b6000806040838503121561343a578081fd5b8235613445816139eb565b91506020830135613455816139eb565b809150509250929050565b600080600060608486031215613474578081fd5b833561347f816139eb565b9250602084013561348f816139eb565b929592945050506040919091013590565b600080600080608085870312156134b5578081fd5b84356134c0816139eb565b935060208501356134d0816139eb565b925060408501359150606085013567ffffffffffffffff8111156134f2578182fd5b6134fe878288016132e3565b91505092959194509250565b6000806040838503121561351c578182fd5b8235613527816139eb565b915060208301358015158114613455578182fd5b6000806040838503121561354d578182fd5b8235613558816139eb565b946020939093013593505050565b600060208284031215613577578081fd5b81356001600160e01b031981168114610ecc578182fd5b600080600080608085870312156135a3578182fd5b843567ffffffffffffffff808211156135ba578384fd5b6135c6888389016132e3565b955060208701359150808211156135db578384fd5b6135e7888389016132e3565b945060408701359150808211156135fc578384fd5b613608888389016132e3565b9350606087013591508082111561361d578283fd5b506134fe878288016132e3565b6000806040838503121561363c578182fd5b823567ffffffffffffffff811115613652578283fd5b61365e85828601613348565b9250506020830135613455816139eb565b600080600060608486031215613683578081fd5b833567ffffffffffffffff811115613699578182fd5b6136a586828701613348565b93505060208401356136b6816139eb565b915060408401356136c6816139eb565b809150509250925092565b6000602082840312156136e2578081fd5b5035919050565b6000806000606084860312156136fd578081fd5b8335925060208401356136b6816139eb565b6000815180845260208085019450808401835b8381101561375b57815180516001600160a01b031688528301516001600160601b03168388015260409096019590820190600101613722565b509495945050505050565b60008151808452815b8181101561378b5760208185018101518683018201520161376f565b8181111561379c5782602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b0391909116815260200190565b6001600160a01b03841681526060602082018190526000906137e990830185613766565b8281036040840152612b378185613766565b600060208252610ecc602083018461370f565b901515815260200190565b600060208252610ecc6020830184613766565b6020808252818101527f43726561746f722073686172652073686f756c6420626520706f736974697665604082015260600190565b6020808252601190820152701d1bdad95b9259081a5b98dbdc9c9958dd607a1b604082015260600190565b6020808252600b908201526a1b9bdd08185b1b1bddd95960aa1b604082015260600190565b60208082526019908201527f4163636f756e742073686f756c642062652070726573656e7400000000000000604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602e908201527f746f74616c20616d6f756e74206f662063726561746f7273207368617265207360408201526d0686f756c642062652031303030360941b606082015260800190565b90815260200190565b6000838252604060208301526127bc604083018461370f565b60405181810167ffffffffffffffff811182821017156139c557fe5b604052919050565b600067ffffffffffffffff8211156139e157fe5b5060209081020190565b6001600160a01b038116811461083b57600080fdfe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f206164647265737345434453413a20696e76616c6964207369676e6174757265202773272076616c75654552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a656445434453413a20696e76616c6964207369676e6174757265202776272076616c75654552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656eddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564526f79616c747920746f74616c2076616c75652073686f756c64206265203c2031303030304552433732314275726e61626c653a2063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a164736f6c6343000706000a

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061018e5760003560e01c8063832fbb29116100de578063b88d4fde11610097578063e8a3d48511610071578063e8a3d4851461034a578063e985e9c514610352578063ed7df11614610365578063f2fde38b146103785761018e565b8063b88d4fde14610311578063c87b56dd14610324578063e07f2319146103375761018e565b8063832fbb29146102a8578063891be974146102bb5780638da5cb5b146102db57806395d89b41146102e35780639815345d146102eb578063a22cb465146102fe5761018e565b806323b872dd1161014b5780636352211e116101255780636352211e146102655780636c0360eb1461027857806370a0823114610280578063715018a6146102a05761018e565b806323b872dd1461022c57806342842e0e1461023f57806342966c68146102525761018e565b806301ffc9a71461019357806306fdde03146101bc578063081812fc146101d1578063095ea7b3146101f157806318054c371461020657806322a775b614610219575b600080fd5b6101a66101a1366004613566565b61038b565b6040516101b3919061380e565b60405180910390f35b6101c461039e565b6040516101b39190613819565b6101e46101df3660046136d1565b610434565b6040516101b391906137b1565b6102046101ff36600461353b565b610497565b005b61020461021436600461350a565b61056d565b61020461022736600461362a565b6105ef565b61020461023a366004613460565b61077a565b61020461024d366004613460565b6107d1565b6102046102603660046136d1565b6107ec565b6101e46102733660046136d1565b61083e565b6101c4610892565b61029361028e36600461340c565b6108f4565b6040516101b39190613987565b610204610958565b6102046102b636600461366f565b610a16565b6102ce6102c93660046136d1565b610a44565b6040516101b391906137fb565b6101e4610ad4565b6101c4610ae3565b6102046102f936600461358e565b610b44565b61020461030c36600461350a565b610c7f565b61020461031f3660046134a0565b610d85565b6101c46103323660046136d1565b610de3565b6102046103453660046136e9565b610dee565b6101c4610e31565b6101a6610360366004613428565b610ec0565b6102ce6103733660046136d1565b610ed3565b61020461038636600461340c565b610f4e565b600061039682611063565b90505b919050565b60fd8054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561042a5780601f106103ff5761010080835404028352916020019161042a565b820191906000526020600020905b81548152906001019060200180831161040d57829003601f168201915b5050505050905090565b600061043f82611102565b61047a5760405162461bcd60e51b815260040180806020018281038252602c815260200180613ba6602c913960400191505060405180910390fd5b50600090815261010160205260409020546001600160a01b031690565b60006104a28261083e565b9050806001600160a01b0316836001600160a01b031614156104f55760405162461bcd60e51b8152600401808060200182810382526021815260200180613c766021913960400191505060405180910390fd5b806001600160a01b031661050761111f565b6001600160a01b0316148061052357506105238161036061111f565b61055e5760405162461bcd60e51b8152600401808060200182810382526038815260200180613acb6038913960400191505060405180910390fd5b6105688383611123565b505050565b61057561111f565b6001600160a01b0316610586610ad4565b6001600160a01b0316146105e1576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6105eb8282611192565b5050565b815160601c60006105fe61111f565b9050836040015160008151811061061157fe5b6020026020010151600001516001600160a01b0316826001600160a01b0316146106565760405162461bcd60e51b815260040161064d90613861565b60405180910390fd5b8360800151518460400151511461066c57600080fd5b806001600160a01b0316826001600160a01b0316148061069157506106918282610ec0565b6106ad5760405162461bcd60e51b815260040161064d906138e8565b60006106b8856111f3565b905060005b85604001515181101561072e576000866040015182815181106106dc57fe5b6020026020010151600001519050836001600160a01b0316816001600160a01b0316146107255761072581848960800151858151811061071857fe5b602002602001015161143c565b506001016106bd565b5061073d848660000151611447565b61074f85600001518660600151611461565b61076185600001518660400151611650565b610773856000015186602001516117ff565b5050505050565b61078b61078561111f565b82611863565b6107c65760405162461bcd60e51b8152600401808060200182810382526031815260200180613c976031913960400191505060405180910390fd5b61056883838361186f565b61056883838360405180602001604052806000815250610d85565b6107f761078561111f565b6108325760405162461bcd60e51b8152600401808060200182810382526030815260200180613ced6030913960400191505060405180910390fd5b61083b8161198e565b50565b600081815260ff60205260408120546001600160a01b0316806103965760405162461bcd60e51b8152600401808060200182810382526029815260200180613b2d6029913960400191505060405180910390fd5b6101c88054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561042a5780601f106103ff5761010080835404028352916020019161042a565b60006001600160a01b03821661093b5760405162461bcd60e51b815260040180806020018281038252602a815260200180613b03602a913960400191505060405180910390fd5b506001600160a01b03166000908152610100602052604090205490565b61096061111f565b6001600160a01b0316610971610ad4565b6001600160a01b0316146109cc576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6033546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3603380546001600160a01b0319169055565b8251610a2190611102565b15610a3a57610a35828285600001516107d1565b610568565b61056883826105ef565b60606101fb6000838152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015610ac957600084815260209081902060408051808201909152908401546001600160a01b0381168252600160a01b90046001600160601b031681830152825260019092019101610a7a565b505050509050919050565b6033546001600160a01b031690565b60fe8054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561042a5780601f106103ff5761010080835404028352916020019161042a565b600054610100900460ff1680610b5d5750610b5d611a13565b80610b6b575060005460ff16155b610ba65760405162461bcd60e51b815260040180806020018281038252602e815260200180613b56602e913960400191505060405180910390fd5b600054610100900460ff16158015610bd1576000805460ff1961ff0019909116610100171660011790555b610bda83611a24565b610be2611a38565b610bea611ad9565b610bf2611a38565b610bfa611b76565b610c02611c13565b610c0a611a38565b610c12611d0c565b610c1b82611ddb565b610c258585611ea2565b7fb8085ab30e426335dba0714975b7f405c38935c6272e5af220522ff80852f668610c4e61111f565b8686604051610c5f939291906137c5565b60405180910390a18015610773576000805461ff00191690555050505050565b610c8761111f565b6001600160a01b0316826001600160a01b03161415610ced576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b806101026000610cfb61111f565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610d3f61111f565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b610d96610d9061111f565b83611863565b610dd15760405162461bcd60e51b8152600401808060200182810382526031815260200180613c976031913960400191505060405180910390fd5b610ddd84848484611f8d565b50505050565b606061039682611fdf565b816001600160a01b0316610e0061111f565b6001600160a01b031614610e265760405162461bcd60e51b815260040161064d9061388c565b610568838383611fea565b61022e805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610eb85780601f10610e8d57610100808354040283529160200191610eb8565b820191906000526020600020905b815481529060010190602001808311610e9b57829003601f168201915b505050505081565b6000610ecc8383612096565b9392505050565b60008181526101c660209081526040808320805482518185028101850190935280835260609492939192909184018215610ac957600084815260209081902060408051808201909152908401546001600160a01b0381168252600160a01b90046001600160601b031681830152825260019092019101610a7a565b610f5661111f565b6001600160a01b0316610f67610ad4565b6001600160a01b031614610fc2576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166110075760405162461bcd60e51b8152600401808060200182810382526026815260200180613a336026913960400191505060405180910390fd5b6033546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3603380546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160e01b03198216638486f69f60e01b148061109457506001600160e01b0319821663720464a760e01b145b806110af57506001600160e01b031982166301ffc9a760e01b145b806110ca57506001600160e01b031982166380ac58cd60e01b145b806110e557506001600160e01b03198216635b5e139f60e01b145b806103965750506001600160e01b03191663780e9d6360e01b1490565b600090815260ff60205260409020546001600160a01b0316151590565b3390565b60008181526101016020526040902080546001600160a01b0319166001600160a01b03841690811790915581906111598261083e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600160a01b038216600081815261012f6020908152604091829020805460ff1916851515908117909155825190815291517f270dbb8ba4292910ae92862466486be25c355c837270a3d8824b36a8bc7c653b9281900390910190a25050565b60008082606001515167ffffffffffffffff8111801561121257600080fd5b5060405190808252806020026020018201604052801561123c578160200160208202803683370190505b50905060005b83606001515181101561128e5761126f8460600151828151811061126257fe5b60200260200101516120c3565b82828151811061127b57fe5b6020908102919091010152600101611242565b50600083604001515167ffffffffffffffff811180156112ad57600080fd5b506040519080825280602002602001820160405280156112d7578160200160208202803683370190505b50905060005b84604001515181101561131c576112fd8560400151828151811061126257fe5b82828151811061130957fe5b60209081029190910101526001016112dd565b507ff64326045af5fd7e15297ba939f85b550474d3899daa47d2bc1ffbdb9ced344e84600001518560200151805190602001208360405160200180828051906020019060200280838360005b83811015611380578181015183820152602001611368565b50505050905001915050604051602081830303815290604052805190602001208560405160200180828051906020019060200280838360005b838110156113d15781810151838201526020016113b9565b505050509050019150506040516020818303038152906040528051906020012060405160200180868152602001858152602001848152602001838152602001828152602001955050505050506040516020818303038152906040528051906020012092505050919050565b610568838383612130565b6105eb8282604051806020016040528060008152506123a5565b6000805b82518110156116055760006001600160a01b031683828151811061148557fe5b6020026020010151600001516001600160a01b031614156114ed576040805162461bcd60e51b815260206004820152601b60248201527f526563697069656e742073686f756c642062652070726573656e740000000000604482015290519081900360640190fd5b8281815181106114f957fe5b6020026020010151602001516001600160601b031660001415611563576040805162461bcd60e51b815260206004820181905260248201527f526f79616c74792076616c75652073686f756c6420626520706f736974697665604482015290519081900360640190fd5b82818151811061156f57fe5b6020026020010151602001516001600160601b0316820191506101c660008581526020019081526020016000208382815181106115a857fe5b60209081029190910181015182546001818101855560009485529383902082519101805492909301516001600160601b0316600160a01b026001600160a01b039182166001600160a01b0319909316929092171617905501611465565b5061271081106116465760405162461bcd60e51b8152600401808060200182810382526025815260200180613cc86025913960400191505060405180910390fd5b61056883836123f7565b60008281526101fb6020526040812090805b835181101561179e5760006001600160a01b031684828151811061168257fe5b6020026020010151600001516001600160a01b031614156116b55760405162461bcd60e51b815260040161064d906138b1565b8381815181106116c157fe5b6020026020010151602001516001600160601b0316600014156116f65760405162461bcd60e51b815260040161064d9061382c565b8284828151811061170357fe5b602090810291909101810151825460018101845560009384529282902081519301805491909201516001600160601b0316600160a01b026001600160a01b039384166001600160a01b03199092169190911790921691909117905583516117949085908390811061177057fe5b6020026020010151602001516001600160601b03168361243490919063ffffffff16565b9150600101611662565b5080612710146117c05760405162461bcd60e51b815260040161064d90613939565b7f841ffb90d4cabdd1f16034f3fa831d79060febbb8167bdd54a49269365bdf78f84846040516117f1929190613990565b60405180910390a150505050565b61180882611102565b6118435760405162461bcd60e51b815260040180806020018281038252602c815260200180613bd2602c913960400191505060405180910390fd5b60008281526101c7602090815260409091208251610568928401906130df565b6000610ecc838361248e565b826001600160a01b03166118828261083e565b6001600160a01b0316146118c75760405162461bcd60e51b8152600401808060200182810382526029815260200180613bfe6029913960400191505060405180910390fd5b6001600160a01b03821661190c5760405162461bcd60e51b8152600401808060200182810382526024815260200180613a596024913960400191505060405180910390fd5b611917838383610568565b611922600082611123565b6001600160a01b0380841660008181526101006020908152604080832080546000190190559386168083528483208054600101905585835260ff90915283822080546001600160a01b03191682179055925184939291600080516020613c5683398151915291a4505050565b60006119998261083e565b90506119a781600084610568565b6119b2600083611123565b6119bb826124bb565b6001600160a01b038116600081815261010060209081526040808320805460001901905585835260ff90915280822080546001600160a01b031916905551849290600080516020613c56833981519152908390a45050565b6000611a1e306124c4565b15905090565b80516105eb906101c89060208401906130df565b600054610100900460ff1680611a515750611a51611a13565b80611a5f575060005460ff16155b611a9a5760405162461bcd60e51b815260040180806020018281038252602e815260200180613b56602e913960400191505060405180910390fd5b600054610100900460ff16158015611ac5576000805460ff1961ff0019909116610100171660011790555b801561083b576000805461ff001916905550565b600054610100900460ff1680611af25750611af2611a13565b80611b00575060005460ff16155b611b3b5760405162461bcd60e51b815260040180806020018281038252602e815260200180613b56602e913960400191505060405180910390fd5b600054610100900460ff16158015611b66576000805460ff1961ff0019909116610100171660011790555b611ac563720464a760e01b6124ca565b600054610100900460ff1680611b8f5750611b8f611a13565b80611b9d575060005460ff16155b611bd85760405162461bcd60e51b815260040180806020018281038252602e815260200180613b56602e913960400191505060405180910390fd5b600054610100900460ff16158015611c03576000805460ff1961ff0019909116610100171660011790555b611ac56301ffc9a760e01b6124ca565b600054610100900460ff1680611c2c5750611c2c611a13565b80611c3a575060005460ff16155b611c755760405162461bcd60e51b815260040180806020018281038252602e815260200180613b56602e913960400191505060405180910390fd5b600054610100900460ff16158015611ca0576000805460ff1961ff0019909116610100171660011790555b6000611caa61111f565b603380546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350801561083b576000805461ff001916905550565b600054610100900460ff1680611d255750611d25611a13565b80611d33575060005460ff16155b611d6e5760405162461bcd60e51b815260040180806020018281038252602e815260200180613b56602e913960400191505060405180910390fd5b600054610100900460ff16158015611d99576000805460ff1961ff0019909116610100171660011790555b611ac5604051806040016040528060078152602001664d696e7437323160c81b815250604051806040016040528060018152602001603160f81b81525061254e565b600054610100900460ff1680611df45750611df4611a13565b80611e02575060005460ff16155b611e3d5760405162461bcd60e51b815260040180806020018281038252602e815260200180613b56602e913960400191505060405180910390fd5b600054610100900460ff16158015611e68576000805460ff1961ff0019909116610100171660011790555b8151611e7c9061022e9060208501906130df565b50611e8d63e8a3d48560e01b6124ca565b80156105eb576000805461ff00191690555050565b600054610100900460ff1680611ebb5750611ebb611a13565b80611ec9575060005460ff16155b611f045760405162461bcd60e51b815260040180806020018281038252602e815260200180613b56602e913960400191505060405180910390fd5b600054610100900460ff16158015611f2f576000805460ff1961ff0019909116610100171660011790555b8251611f429060fd9060208601906130df565b508151611f569060fe9060208501906130df565b50611f676380ac58cd60e01b6124ca565b611f77635b5e139f60e01b6124ca565b8015610568576000805461ff0019169055505050565b611f9884848461186f565b611fa48484848461260e565b610ddd5760405162461bcd60e51b8152600401808060200182810382526032815260200180613a016032913960400191505060405180910390fd5b6060610396826127c4565b60008381526101c66020526040812054905b818110156107735760008581526101c66020526040902080546001600160a01b03861691908390811061202b57fe5b6000918252602090912001546001600160a01b0316141561208e5760008581526101c66020526040902080548491908390811061206457fe5b600091825260209091200180546001600160a01b0319166001600160a01b03929092169190911790555b600101611ffc565b6001600160a01b038116600090815261012f602052604081205460ff1680610ecc5750610ecc8383612a46565b8051602091820151604080517f397e04204c1e1a60ee8724b71f8244e10ab5f2e9009854d80f602bda21b59ebb818601526001600160a01b03909316838201526001600160601b039091166060808401919091528151808403909101815260809092019052805191012090565b600061213b83612a75565b905061214f846001600160a01b03166124c4565b156123055760408051630b135d3f60e11b808252600482018481526024830193845285516044840152855191936001600160a01b03891693631626ba7e938793899390929091606490910190602085019080838360005b838110156121be5781810151838201526020016121a6565b50505050905090810190601f1680156121eb5780820380516001836020036101000a031916815260200191505b50935050505060206040518083038186803b15801561220957600080fd5b505afa15801561221d573d6000803e3d6000fd5b505050506040513d602081101561223357600080fd5b505160408051808201909152601c81527f7369676e617475726520766572696669636174696f6e206572726f72000000006020820152916001600160e01b0319909116146122ff5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156122c45781810151838201526020016122ac565b50505050905090810190601f1680156122f15780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50610ddd565b6001600160a01b0384166123198284612ac1565b6001600160a01b0316146040518060400160405280601c81526020017f7369676e617475726520766572696669636174696f6e206572726f7200000000815250906107735760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156122c45781810151838201526020016122ac565b6123af8383612b41565b6123bc600084848461260e565b6105685760405162461bcd60e51b8152600401808060200182810382526032815260200180613a016032913960400191505060405180910390fd5b7f3fa96d7b6bcbfe71ef171666d84db3cf52fa2d1c8afdb1cc8e486177f208b7df8282604051612428929190613990565b60405180910390a15050565b600082820183811015610ecc576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b038216600090815261012f602052604081205460ff1680610ecc5750610ecc8383612c4b565b61083b81612ce7565b3b151590565b6001600160e01b03198082161415612529576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152606560205260409020805460ff19166001179055565b600054610100900460ff16806125675750612567611a13565b80612575575060005460ff16155b6125b05760405162461bcd60e51b815260040180806020018281038252602e815260200180613b56602e913960400191505060405180910390fd5b600054610100900460ff161580156125db576000805460ff1961ff0019909116610100171660011790555b82516020808501919091208351918401919091206097919091556098558015610568576000805461ff0019169055505050565b6000612622846001600160a01b03166124c4565b156127b857836001600160a01b031663150b7a0261263e61111f565b8786866040518563ffffffff1660e01b815260040180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156126b1578181015183820152602001612699565b50505050905090810190601f1680156126de5780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b15801561270057600080fd5b505af192505050801561272557506040513d602081101561272057600080fd5b505160015b61279e573d808015612753576040519150601f19603f3d011682016040523d82523d6000602084013e612758565b606091505b5080516127965760405162461bcd60e51b8152600401808060200182810382526032815260200180613a016032913960400191505060405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506127bc565b5060015b949350505050565b60606127cf82611102565b61280a5760405162461bcd60e51b815260040180806020018281038252602f815260200180613c27602f913960400191505060405180910390fd5b60008281526101c7602090815260408083208054825160026001831615610100026000190190921691909104601f81018590048502820185019093528281529290919083018282801561289e5780601f106128735761010080835404028352916020019161289e565b820191906000526020600020905b81548152906001019060200180831161288157829003601f168201915b5050505050905060006128af610892565b90508051600014156128c357509050610399565b8151156129845780826040516020018083805190602001908083835b602083106128fe5780518252601f1990920191602091820191016128df565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b602083106129465780518252601f199092019160209182019101612927565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050610399565b8061298e85612cf0565b6040516020018083805190602001908083835b602083106129c05780518252601f1990920191602091820191016129a1565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b60208310612a085780518252601f1990920191602091820191016129e9565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050919050565b6001600160a01b0391821660009081526101026020908152604080832093909416825291909152205460ff1690565b6000612a7f612dcb565b82604051602001808061190160f01b81525060020183815260200182815260200192505050604051602081830303815290604052805190602001209050919050565b60008151604114612b19576040805162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015290519081900360640190fd5b60208201516040830151606084015160001a612b3786828585612e0b565b9695505050505050565b6001600160a01b038216612b9c576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b612ba581611102565b15612bf7576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b612c0360008383610568565b6001600160a01b0382166000818152610100602090815260408083208054600101905584835260ff909152902080546001600160a01b03191690911790556105eb8282612f89565b6000612c5682611102565b612c915760405162461bcd60e51b815260040180806020018281038252602c815260200180613a9f602c913960400191505060405180910390fd5b6000612c9c8361083e565b9050806001600160a01b0316846001600160a01b03161480612cd75750836001600160a01b0316612ccc84610434565b6001600160a01b0316145b806127bc57506127bc8185610ec0565b61083b81612f93565b606081612d1557506040805180820190915260018152600360fc1b6020820152610399565b8160005b8115612d2d57600101600a82049150612d19565b60008167ffffffffffffffff81118015612d4657600080fd5b506040519080825280601f01601f191660200182016040528015612d71576020820181803683370190505b50859350905060001982015b8315612dc257600a840660300160f81b82828060019003935081518110612da057fe5b60200101906001600160f81b031916908160001a905350600a84049350612d7d565b50949350505050565b6000612e067f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f612df9612fd3565b612e01612fd9565b612fdf565b905090565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115612e6c5760405162461bcd60e51b8152600401808060200182810382526022815260200180613a7d6022913960400191505060405180910390fd5b8360ff16601b1480612e8157508360ff16601c145b612ebc5760405162461bcd60e51b8152600401808060200182810382526022815260200180613b846022913960400191505060405180910390fd5b600060018686868660405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015612f18573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612f80576040805162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015290519081900360640190fd5b95945050505050565b6105eb8282613041565b60008181526101c76020526040902054600260001961010060018416150201909116041561083b5760008181526101c76020526040812061083b9161316b565b60975490565b60985490565b6000838383612fec6130db565b3060405160200180868152602001858152602001848152602001838152602001826001600160a01b03168152602001955050505050506040516020818303038152906040528051906020012090509392505050565b606081901c6001600160a01b03831681146130b05760405182906001600160a01b03831690600090600080516020613c56833981519152908290a481836001600160a01b0316826001600160a01b0316600080516020613c5683398151915260405160405180910390a4610568565b60405182906001600160a01b03851690600090600080516020613c56833981519152908290a4505050565b4690565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282613115576000855561315b565b82601f1061312e57805160ff191683800117855561315b565b8280016001018555821561315b579182015b8281111561315b578251825591602001919060010190613140565b506131679291506131ab565b5090565b50805460018160011615610100020316600290046000825580601f10613191575061083b565b601f01602090049060005260206000209081019061083b91905b5b8082111561316757600081556001016131ac565b600082601f8301126131d0578081fd5b813560206131e56131e0836139cd565b6139a9565b82815281810190858301855b8581101561321a57613208898684358b01016132e3565b845292840192908401906001016131f1565b5090979650505050505050565b600082601f830112613237578081fd5b813560206132476131e0836139cd565b82815281810190858301604080860288018501891015613265578687fd5b865b868110156132d55781838b03121561327d578788fd5b815182810181811067ffffffffffffffff8211171561329857fe5b835283356132a5816139eb565b8152838701356001600160601b03811681146132bf57898afd5b8188015285529385019391810191600101613267565b509198975050505050505050565b600082601f8301126132f3578081fd5b813567ffffffffffffffff81111561330757fe5b61331a601f8201601f19166020016139a9565b81815284602083860101111561332e578283fd5b816020850160208301379081016020019190915292915050565b600060a08284031215613359578081fd5b61336360a06139a9565b905081358152602082013567ffffffffffffffff8082111561338457600080fd5b613390858386016132e3565b602084015260408401359150808211156133a957600080fd5b6133b585838601613227565b604084015260608401359150808211156133ce57600080fd5b6133da85838601613227565b606084015260808401359150808211156133f357600080fd5b50613400848285016131c0565b60808301525092915050565b60006020828403121561341d578081fd5b8135610ecc816139eb565b6000806040838503121561343a578081fd5b8235613445816139eb565b91506020830135613455816139eb565b809150509250929050565b600080600060608486031215613474578081fd5b833561347f816139eb565b9250602084013561348f816139eb565b929592945050506040919091013590565b600080600080608085870312156134b5578081fd5b84356134c0816139eb565b935060208501356134d0816139eb565b925060408501359150606085013567ffffffffffffffff8111156134f2578182fd5b6134fe878288016132e3565b91505092959194509250565b6000806040838503121561351c578182fd5b8235613527816139eb565b915060208301358015158114613455578182fd5b6000806040838503121561354d578182fd5b8235613558816139eb565b946020939093013593505050565b600060208284031215613577578081fd5b81356001600160e01b031981168114610ecc578182fd5b600080600080608085870312156135a3578182fd5b843567ffffffffffffffff808211156135ba578384fd5b6135c6888389016132e3565b955060208701359150808211156135db578384fd5b6135e7888389016132e3565b945060408701359150808211156135fc578384fd5b613608888389016132e3565b9350606087013591508082111561361d578283fd5b506134fe878288016132e3565b6000806040838503121561363c578182fd5b823567ffffffffffffffff811115613652578283fd5b61365e85828601613348565b9250506020830135613455816139eb565b600080600060608486031215613683578081fd5b833567ffffffffffffffff811115613699578182fd5b6136a586828701613348565b93505060208401356136b6816139eb565b915060408401356136c6816139eb565b809150509250925092565b6000602082840312156136e2578081fd5b5035919050565b6000806000606084860312156136fd578081fd5b8335925060208401356136b6816139eb565b6000815180845260208085019450808401835b8381101561375b57815180516001600160a01b031688528301516001600160601b03168388015260409096019590820190600101613722565b509495945050505050565b60008151808452815b8181101561378b5760208185018101518683018201520161376f565b8181111561379c5782602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b0391909116815260200190565b6001600160a01b03841681526060602082018190526000906137e990830185613766565b8281036040840152612b378185613766565b600060208252610ecc602083018461370f565b901515815260200190565b600060208252610ecc6020830184613766565b6020808252818101527f43726561746f722073686172652073686f756c6420626520706f736974697665604082015260600190565b6020808252601190820152701d1bdad95b9259081a5b98dbdc9c9958dd607a1b604082015260600190565b6020808252600b908201526a1b9bdd08185b1b1bddd95960aa1b604082015260600190565b60208082526019908201527f4163636f756e742073686f756c642062652070726573656e7400000000000000604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602e908201527f746f74616c20616d6f756e74206f662063726561746f7273207368617265207360408201526d0686f756c642062652031303030360941b606082015260800190565b90815260200190565b6000838252604060208301526127bc604083018461370f565b60405181810167ffffffffffffffff811182821017156139c557fe5b604052919050565b600067ffffffffffffffff8211156139e157fe5b5060209081020190565b6001600160a01b038116811461083b57600080fdfe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f206164647265737345434453413a20696e76616c6964207369676e6174757265202773272076616c75654552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a656445434453413a20696e76616c6964207369676e6174757265202776272076616c75654552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656eddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564526f79616c747920746f74616c2076616c75652073686f756c64206265203c2031303030304552433732314275726e61626c653a2063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a164736f6c6343000706000a

Loading...
Loading
Loading...
Loading
[ 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.