ETH Price: $3,410.07 (+2.84%)

Contract

0x256c6F9823c9107900a0f35D041247882Cb88efD
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LockNFT

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-08-25
*/

// SPDX-License-Identifier: MIT
// Sources flattened with hardhat v2.10.1 https://hardhat.org

// File @openzeppelin/contracts-upgradeable/utils/introspection/[email protected]


// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface 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 @openzeppelin/contracts-upgradeable/token/ERC721/[email protected]


// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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


// File @openzeppelin/contracts-upgradeable/token/ERC721/[email protected]


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface 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 `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}


// File @openzeppelin/contracts-upgradeable/token/ERC721/extensions/[email protected]


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

/**
 * @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 @openzeppelin/contracts-upgradeable/utils/[email protected]


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library 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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts-upgradeable/proxy/utils/[email protected]


// OpenZeppelin Contracts (last updated v4.7.0) (proxy/utils/Initializable.sol)

pragma solidity ^0.8.2;

/**
 * @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 proxied contracts do not make use of 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.
 *
 * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be
 * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in
 * case an upgrade adds a module that needs to be initialized.
 *
 * For example:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * contract MyToken is ERC20Upgradeable {
 *     function initialize() initializer public {
 *         __ERC20_init("MyToken", "MTK");
 *     }
 * }
 * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {
 *     function initializeV2() reinitializer(2) public {
 *         __ERC20Permit_init("MyToken");
 *     }
 * }
 * ```
 *
 * 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 {ERC1967Proxy-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.
 *
 * [CAUTION]
 * ====
 * Avoid leaving a contract uninitialized.
 *
 * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
 * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke
 * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * /// @custom:oz-upgrades-unsafe-allow constructor
 * constructor() {
 *     _disableInitializers();
 * }
 * ```
 * ====
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     * @custom:oz-retyped-from bool
     */
    uint8 private _initialized;

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

    /**
     * @dev Triggered when the contract has been initialized or reinitialized.
     */
    event Initialized(uint8 version);

    /**
     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,
     * `onlyInitializing` functions can be used to initialize parent contracts. Equivalent to `reinitializer(1)`.
     */
    modifier initializer() {
        bool isTopLevelCall = !_initializing;
        require(
            (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1),
            "Initializable: contract is already initialized"
        );
        _initialized = 1;
        if (isTopLevelCall) {
            _initializing = true;
        }
        _;
        if (isTopLevelCall) {
            _initializing = false;
            emit Initialized(1);
        }
    }

    /**
     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the
     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be
     * used to initialize parent contracts.
     *
     * `initializer` is equivalent to `reinitializer(1)`, so a reinitializer may be used after the original
     * initialization step. This is essential to configure modules that are added through upgrades and that require
     * initialization.
     *
     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in
     * a contract, executing them in the right order is up to the developer or operator.
     */
    modifier reinitializer(uint8 version) {
        require(!_initializing && _initialized < version, "Initializable: contract is already initialized");
        _initialized = version;
        _initializing = true;
        _;
        _initializing = false;
        emit Initialized(version);
    }

    /**
     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
     * {initializer} and {reinitializer} modifiers, directly or indirectly.
     */
    modifier onlyInitializing() {
        require(_initializing, "Initializable: contract is not initializing");
        _;
    }

    /**
     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.
     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized
     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called
     * through proxies.
     */
    function _disableInitializers() internal virtual {
        require(!_initializing, "Initializable: contract is initializing");
        if (_initialized < type(uint8).max) {
            _initialized = type(uint8).max;
            emit Initialized(type(uint8).max);
        }
    }
}


// File @openzeppelin/contracts-upgradeable/utils/[email protected]


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

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

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}


// File @openzeppelin/contracts-upgradeable/utils/[email protected]


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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


// File @openzeppelin/contracts-upgradeable/utils/introspection/[email protected]


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;


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

    function __ERC165_init_unchained() internal onlyInitializing {
    }
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165Upgradeable).interfaceId;
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}


// File @openzeppelin/contracts-upgradeable/token/ERC721/[email protected]


// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;








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

    /**
     * @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 onlyInitializing {
        __ERC721_init_unchained(name_, symbol_);
    }

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) private returns (bool) {
        if (to.isContract()) {
            try 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 {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

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

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[44] private __gap;
}


// File @openzeppelin/contracts-upgradeable/access/[email protected]


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


/**
 * @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 onlyInitializing {
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal onlyInitializing {
        _transferOwnership(_msgSender());
    }

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

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

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

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

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

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

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[49] private __gap;
}


// File contracts/ILockToken.sol

pragma solidity 0.8.9;

interface ILockToken {
    function transferLocks(uint256 _id, address _receiverAddress) external;
    function getDepositDetails(uint256 _id) external view
    returns (
        address _tokenAddress, 
        address _withdrawalAddress, 
        uint256 _tokenAmount, 
        uint256 _unlockTime, 
        bool _withdrawn, 
        uint256 _tokenId,
        bool _isNFT,
        uint256 _migratedLockDepositId,
        bool _isNFTMinted) ;
}


// File contracts/INFTDescriptor.sol

pragma solidity 0.8.9;

interface INFTDescriptor {
    struct SVGParams {
        uint256 lockId;
        address tokenAddress;
        uint256 tokenAmount;
        string tokenType;
        uint256 unlockDate;
    }

    function tokenURI(ILockToken lockToken, uint256 tokenId) external pure returns (string calldata svg);
}


// File contracts/LockNFT.sol

pragma solidity 0.8.9;





//Team Finance Liquidity Lock Token
contract LockNFT is Initializable, OwnableUpgradeable, ERC721Upgradeable{
    using AddressUpgradeable for address;
    ILockToken public lockToken;
    INFTDescriptor public descriptor;

    modifier onlyContract(address account)
    {
        require(account.isContract(), "The address does not contain a contract");
        _;
    }

    function initialize(string calldata _name, string calldata _symbol, address _lockTokenAddress, address _descriptorAddress)
        external
        onlyContract(_lockTokenAddress)
        onlyContract(_descriptorAddress)
    {
        __LockNFT_init(_name, _symbol, _lockTokenAddress, _descriptorAddress);
    }

    function __LockNFT_init(string memory _name, string memory _symbol, address _lockTokenAddress, address _descriptorAddress)
        internal
        initializer
    {
        __Ownable_init_unchained();
        __ERC721_init_unchained(_name, _symbol);
        lockToken = ILockToken(_lockTokenAddress);
        descriptor = INFTDescriptor(_descriptorAddress);
    }

    function mintLiquidityLockNFT(
        address _to, 
        uint256 _tokenId
        ) external onlyOwner 
    {
        _safeMint(_to, _tokenId);
    }

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

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

    function setLockTokenAddress(address _newLockTokenAddress) 
        external
        onlyOwner
        onlyContract(_newLockTokenAddress)
    {
        lockToken = ILockToken(_newLockTokenAddress);
    }

    function setNFTDescriptorAddress (address _newDescriptorAddress) 
        external
        onlyOwner
        onlyContract(_newDescriptorAddress)
    {
        descriptor = INFTDescriptor(_newDescriptorAddress);
    }

    function burn(uint256 tokenId) external onlyOwner {
        _burn(tokenId);
    }

    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        _requireMinted(tokenId);
        return descriptor.tokenURI(lockToken, tokenId);
    }
}

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":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"descriptor","outputs":[{"internalType":"contract INFTDescriptor","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_lockTokenAddress","type":"address"},{"internalType":"address","name":"_descriptorAddress","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockToken","outputs":[{"internalType":"contract ILockToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"mintLiquidityLockNFT","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":"_newLockTokenAddress","type":"address"}],"name":"setLockTokenAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newDescriptorAddress","type":"address"}],"name":"setNFTDescriptorAddress","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":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50611b4c806100206000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c8063715018a6116100c3578063b88d4fde1161007c578063b88d4fde146102bc578063bca7a9e2146102cf578063c87b56dd146102e2578063e985e9c5146102f5578063f2fde38b14610331578063ff5b13401461034457600080fd5b8063715018a6146102625780638da5cb5b1461026a5780638f15b4141461027b57806392b18a471461028e57806395d89b41146102a1578063a22cb465146102a957600080fd5b806323b872dd1161011557806323b872dd146101e2578063303e74df146101f557806342842e0e1461020857806342966c681461021b5780636352211e1461022e57806370a082311461024157600080fd5b806301ffc9a71461015257806306fdde031461017a578063081812fc1461018f578063095ea7b3146101ba57806309e0dafc146101cf575b600080fd5b6101656101603660046114ec565b610357565b60405190151581526020015b60405180910390f35b6101826103a9565b6040516101719190611568565b6101a261019d36600461157b565b61043b565b6040516001600160a01b039091168152602001610171565b6101cd6101c83660046115b0565b610462565b005b6101cd6101dd3660046115b0565b61057d565b6101cd6101f03660046115da565b610593565b60ca546101a2906001600160a01b031681565b6101cd6102163660046115da565b610604565b6101cd61022936600461157b565b610675565b6101a261023c36600461157b565b610689565b61025461024f366004611616565b6106e9565b604051908152602001610171565b6101cd61076f565b6033546001600160a01b03166101a2565b6101cd61028936600461167a565b610783565b6101cd61029c366004611616565b610854565b6101826108a7565b6101cd6102b736600461170a565b6108b6565b6101cd6102ca3660046117b5565b6108c1565b60c9546101a2906001600160a01b031681565b6101826102f036600461157b565b6108f9565b610165610303366004611860565b6001600160a01b039182166000908152609c6020908152604080832093909416825291909152205460ff1690565b6101cd61033f366004611616565b61098e565b6101cd610352366004611616565b610a04565b60006001600160e01b031982166380ac58cd60e01b148061038857506001600160e01b03198216635b5e139f60e01b145b806103a357506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060609780546103b890611893565b80601f01602080910402602001604051908101604052809291908181526020018280546103e490611893565b80156104315780601f1061040657610100808354040283529160200191610431565b820191906000526020600020905b81548152906001019060200180831161041457829003601f168201915b5050505050905090565b600061044682610a57565b506000908152609b60205260409020546001600160a01b031690565b600061046d82610689565b9050806001600160a01b0316836001600160a01b031614156104e05760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806104fc57506104fc8133610303565b61056e5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c000060648201526084016104d7565b6105788383610ab6565b505050565b610585610b24565b61058f8282610b7e565b5050565b60c954604051631317dfd560e21b8152600481018390526001600160a01b03848116602483015290911690634c5f7f5490604401600060405180830381600087803b1580156105e157600080fd5b505af11580156105f5573d6000803e3d6000fd5b50505050610578838383610b98565b60c954604051631317dfd560e21b8152600481018390526001600160a01b03848116602483015290911690634c5f7f5490604401600060405180830381600087803b15801561065257600080fd5b505af1158015610666573d6000803e3d6000fd5b50505050610578838383610bc9565b61067d610b24565b61068681610be4565b50565b6000818152609960205260408120546001600160a01b0316806103a35760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016104d7565b60006001600160a01b0382166107535760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016104d7565b506001600160a01b03166000908152609a602052604090205490565b610777610b24565b6107816000610c7f565b565b816001600160a01b0381163b6107ab5760405162461bcd60e51b81526004016104d7906118ce565b816001600160a01b0381163b6107d35760405162461bcd60e51b81526004016104d7906118ce565b61084a88888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8c018190048102820181019092528a815292508a9150899081908401838280828437600092019190915250899250889150610cd19050565b5050505050505050565b61085c610b24565b806001600160a01b0381163b6108845760405162461bcd60e51b81526004016104d7906118ce565b5060ca80546001600160a01b0319166001600160a01b0392909216919091179055565b6060609880546103b890611893565b61058f338383610e20565b6108cb3383610eef565b6108e75760405162461bcd60e51b81526004016104d790611915565b6108f384848484610f6e565b50505050565b606061090482610a57565b60ca5460c95460405163e9dc637560e01b81526001600160a01b0391821660048201526024810185905291169063e9dc63759060440160006040518083038186803b15801561095257600080fd5b505afa158015610966573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103a39190810190611963565b610996610b24565b6001600160a01b0381166109fb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104d7565b61068681610c7f565b610a0c610b24565b806001600160a01b0381163b610a345760405162461bcd60e51b81526004016104d7906118ce565b5060c980546001600160a01b0319166001600160a01b0392909216919091179055565b6000818152609960205260409020546001600160a01b03166106865760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016104d7565b6000818152609b6020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610aeb82610689565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6033546001600160a01b031633146107815760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104d7565b61058f828260405180602001604052806000815250610fa1565b610ba23382610eef565b610bbe5760405162461bcd60e51b81526004016104d790611915565b610578838383610fd4565b610578838383604051806020016040528060008152506108c1565b6000610bef82610689565b9050610bfc600083610ab6565b6001600160a01b0381166000908152609a60205260408120805460019290610c259084906119f0565b909155505060008281526099602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff1615808015610cf15750600054600160ff909116105b80610d0b5750303b158015610d0b575060005460ff166001145b610d6e5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016104d7565b6000805460ff191660011790558015610d91576000805461ff0019166101001790555b610d99611170565b610da385856111a0565b60c980546001600160a01b038086166001600160a01b03199283161790925560ca8054928516929091169190911790558015610e19576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050565b816001600160a01b0316836001600160a01b03161415610e825760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016104d7565b6001600160a01b038381166000818152609c6020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b600080610efb83610689565b9050806001600160a01b0316846001600160a01b03161480610f4257506001600160a01b038082166000908152609c602090815260408083209388168352929052205460ff165b80610f665750836001600160a01b0316610f5b8461043b565b6001600160a01b0316145b949350505050565b610f79848484610fd4565b610f85848484846111ee565b6108f35760405162461bcd60e51b81526004016104d790611a07565b610fab83836112fb565b610fb860008484846111ee565b6105785760405162461bcd60e51b81526004016104d790611a07565b826001600160a01b0316610fe782610689565b6001600160a01b03161461104b5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016104d7565b6001600160a01b0382166110ad5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016104d7565b6110b8600082610ab6565b6001600160a01b0383166000908152609a602052604081208054600192906110e19084906119f0565b90915550506001600160a01b0382166000908152609a6020526040812080546001929061110f908490611a59565b909155505060008181526099602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600054610100900460ff166111975760405162461bcd60e51b81526004016104d790611a71565b61078133610c7f565b600054610100900460ff166111c75760405162461bcd60e51b81526004016104d790611a71565b81516111da90609790602085019061143d565b50805161057890609890602084019061143d565b60006001600160a01b0384163b156112f057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611232903390899088908890600401611abc565b602060405180830381600087803b15801561124c57600080fd5b505af192505050801561127c575060408051601f3d908101601f1916820190925261127991810190611af9565b60015b6112d6573d8080156112aa576040519150601f19603f3d011682016040523d82523d6000602084013e6112af565b606091505b5080516112ce5760405162461bcd60e51b81526004016104d790611a07565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610f66565b506001949350505050565b6001600160a01b0382166113515760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016104d7565b6000818152609960205260409020546001600160a01b0316156113b65760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104d7565b6001600160a01b0382166000908152609a602052604081208054600192906113df908490611a59565b909155505060008181526099602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461144990611893565b90600052602060002090601f01602090048101928261146b57600085556114b1565b82601f1061148457805160ff19168380011785556114b1565b828001600101855582156114b1579182015b828111156114b1578251825591602001919060010190611496565b506114bd9291506114c1565b5090565b5b808211156114bd57600081556001016114c2565b6001600160e01b03198116811461068657600080fd5b6000602082840312156114fe57600080fd5b8135611509816114d6565b9392505050565b60005b8381101561152b578181015183820152602001611513565b838111156108f35750506000910152565b60008151808452611554816020860160208601611510565b601f01601f19169290920160200192915050565b602081526000611509602083018461153c565b60006020828403121561158d57600080fd5b5035919050565b80356001600160a01b03811681146115ab57600080fd5b919050565b600080604083850312156115c357600080fd5b6115cc83611594565b946020939093013593505050565b6000806000606084860312156115ef57600080fd5b6115f884611594565b925061160660208501611594565b9150604084013590509250925092565b60006020828403121561162857600080fd5b61150982611594565b60008083601f84011261164357600080fd5b50813567ffffffffffffffff81111561165b57600080fd5b60208301915083602082850101111561167357600080fd5b9250929050565b6000806000806000806080878903121561169357600080fd5b863567ffffffffffffffff808211156116ab57600080fd5b6116b78a838b01611631565b909850965060208901359150808211156116d057600080fd5b506116dd89828a01611631565b90955093506116f0905060408801611594565b91506116fe60608801611594565b90509295509295509295565b6000806040838503121561171d57600080fd5b61172683611594565b91506020830135801515811461173b57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561178557611785611746565b604052919050565b600067ffffffffffffffff8211156117a7576117a7611746565b50601f01601f191660200190565b600080600080608085870312156117cb57600080fd5b6117d485611594565b93506117e260208601611594565b925060408501359150606085013567ffffffffffffffff81111561180557600080fd5b8501601f8101871361181657600080fd5b80356118296118248261178d565b61175c565b81815288602083850101111561183e57600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b6000806040838503121561187357600080fd5b61187c83611594565b915061188a60208401611594565b90509250929050565b600181811c908216806118a757607f821691505b602082108114156118c857634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526027908201527f546865206164647265737320646f6573206e6f7420636f6e7461696e206120636040820152661bdb9d1c9858dd60ca1b606082015260800190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b60006020828403121561197557600080fd5b815167ffffffffffffffff81111561198c57600080fd5b8201601f8101841361199d57600080fd5b80516119ab6118248261178d565b8181528560208385010111156119c057600080fd5b6119d1826020830160208601611510565b95945050505050565b634e487b7160e01b600052601160045260246000fd5b600082821015611a0257611a026119da565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008219821115611a6c57611a6c6119da565b500190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611aef9083018461153c565b9695505050505050565b600060208284031215611b0b57600080fd5b8151611509816114d656fea264697066735822122088f8755df4165c5a6eb9c38687de2b92ee2bcc70a39ed952188b6499223ba3d164736f6c63430008090033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061014d5760003560e01c8063715018a6116100c3578063b88d4fde1161007c578063b88d4fde146102bc578063bca7a9e2146102cf578063c87b56dd146102e2578063e985e9c5146102f5578063f2fde38b14610331578063ff5b13401461034457600080fd5b8063715018a6146102625780638da5cb5b1461026a5780638f15b4141461027b57806392b18a471461028e57806395d89b41146102a1578063a22cb465146102a957600080fd5b806323b872dd1161011557806323b872dd146101e2578063303e74df146101f557806342842e0e1461020857806342966c681461021b5780636352211e1461022e57806370a082311461024157600080fd5b806301ffc9a71461015257806306fdde031461017a578063081812fc1461018f578063095ea7b3146101ba57806309e0dafc146101cf575b600080fd5b6101656101603660046114ec565b610357565b60405190151581526020015b60405180910390f35b6101826103a9565b6040516101719190611568565b6101a261019d36600461157b565b61043b565b6040516001600160a01b039091168152602001610171565b6101cd6101c83660046115b0565b610462565b005b6101cd6101dd3660046115b0565b61057d565b6101cd6101f03660046115da565b610593565b60ca546101a2906001600160a01b031681565b6101cd6102163660046115da565b610604565b6101cd61022936600461157b565b610675565b6101a261023c36600461157b565b610689565b61025461024f366004611616565b6106e9565b604051908152602001610171565b6101cd61076f565b6033546001600160a01b03166101a2565b6101cd61028936600461167a565b610783565b6101cd61029c366004611616565b610854565b6101826108a7565b6101cd6102b736600461170a565b6108b6565b6101cd6102ca3660046117b5565b6108c1565b60c9546101a2906001600160a01b031681565b6101826102f036600461157b565b6108f9565b610165610303366004611860565b6001600160a01b039182166000908152609c6020908152604080832093909416825291909152205460ff1690565b6101cd61033f366004611616565b61098e565b6101cd610352366004611616565b610a04565b60006001600160e01b031982166380ac58cd60e01b148061038857506001600160e01b03198216635b5e139f60e01b145b806103a357506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060609780546103b890611893565b80601f01602080910402602001604051908101604052809291908181526020018280546103e490611893565b80156104315780601f1061040657610100808354040283529160200191610431565b820191906000526020600020905b81548152906001019060200180831161041457829003601f168201915b5050505050905090565b600061044682610a57565b506000908152609b60205260409020546001600160a01b031690565b600061046d82610689565b9050806001600160a01b0316836001600160a01b031614156104e05760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806104fc57506104fc8133610303565b61056e5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c000060648201526084016104d7565b6105788383610ab6565b505050565b610585610b24565b61058f8282610b7e565b5050565b60c954604051631317dfd560e21b8152600481018390526001600160a01b03848116602483015290911690634c5f7f5490604401600060405180830381600087803b1580156105e157600080fd5b505af11580156105f5573d6000803e3d6000fd5b50505050610578838383610b98565b60c954604051631317dfd560e21b8152600481018390526001600160a01b03848116602483015290911690634c5f7f5490604401600060405180830381600087803b15801561065257600080fd5b505af1158015610666573d6000803e3d6000fd5b50505050610578838383610bc9565b61067d610b24565b61068681610be4565b50565b6000818152609960205260408120546001600160a01b0316806103a35760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016104d7565b60006001600160a01b0382166107535760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016104d7565b506001600160a01b03166000908152609a602052604090205490565b610777610b24565b6107816000610c7f565b565b816001600160a01b0381163b6107ab5760405162461bcd60e51b81526004016104d7906118ce565b816001600160a01b0381163b6107d35760405162461bcd60e51b81526004016104d7906118ce565b61084a88888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8c018190048102820181019092528a815292508a9150899081908401838280828437600092019190915250899250889150610cd19050565b5050505050505050565b61085c610b24565b806001600160a01b0381163b6108845760405162461bcd60e51b81526004016104d7906118ce565b5060ca80546001600160a01b0319166001600160a01b0392909216919091179055565b6060609880546103b890611893565b61058f338383610e20565b6108cb3383610eef565b6108e75760405162461bcd60e51b81526004016104d790611915565b6108f384848484610f6e565b50505050565b606061090482610a57565b60ca5460c95460405163e9dc637560e01b81526001600160a01b0391821660048201526024810185905291169063e9dc63759060440160006040518083038186803b15801561095257600080fd5b505afa158015610966573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103a39190810190611963565b610996610b24565b6001600160a01b0381166109fb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104d7565b61068681610c7f565b610a0c610b24565b806001600160a01b0381163b610a345760405162461bcd60e51b81526004016104d7906118ce565b5060c980546001600160a01b0319166001600160a01b0392909216919091179055565b6000818152609960205260409020546001600160a01b03166106865760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016104d7565b6000818152609b6020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610aeb82610689565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6033546001600160a01b031633146107815760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104d7565b61058f828260405180602001604052806000815250610fa1565b610ba23382610eef565b610bbe5760405162461bcd60e51b81526004016104d790611915565b610578838383610fd4565b610578838383604051806020016040528060008152506108c1565b6000610bef82610689565b9050610bfc600083610ab6565b6001600160a01b0381166000908152609a60205260408120805460019290610c259084906119f0565b909155505060008281526099602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff1615808015610cf15750600054600160ff909116105b80610d0b5750303b158015610d0b575060005460ff166001145b610d6e5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016104d7565b6000805460ff191660011790558015610d91576000805461ff0019166101001790555b610d99611170565b610da385856111a0565b60c980546001600160a01b038086166001600160a01b03199283161790925560ca8054928516929091169190911790558015610e19576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050565b816001600160a01b0316836001600160a01b03161415610e825760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016104d7565b6001600160a01b038381166000818152609c6020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b600080610efb83610689565b9050806001600160a01b0316846001600160a01b03161480610f4257506001600160a01b038082166000908152609c602090815260408083209388168352929052205460ff165b80610f665750836001600160a01b0316610f5b8461043b565b6001600160a01b0316145b949350505050565b610f79848484610fd4565b610f85848484846111ee565b6108f35760405162461bcd60e51b81526004016104d790611a07565b610fab83836112fb565b610fb860008484846111ee565b6105785760405162461bcd60e51b81526004016104d790611a07565b826001600160a01b0316610fe782610689565b6001600160a01b03161461104b5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016104d7565b6001600160a01b0382166110ad5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016104d7565b6110b8600082610ab6565b6001600160a01b0383166000908152609a602052604081208054600192906110e19084906119f0565b90915550506001600160a01b0382166000908152609a6020526040812080546001929061110f908490611a59565b909155505060008181526099602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600054610100900460ff166111975760405162461bcd60e51b81526004016104d790611a71565b61078133610c7f565b600054610100900460ff166111c75760405162461bcd60e51b81526004016104d790611a71565b81516111da90609790602085019061143d565b50805161057890609890602084019061143d565b60006001600160a01b0384163b156112f057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611232903390899088908890600401611abc565b602060405180830381600087803b15801561124c57600080fd5b505af192505050801561127c575060408051601f3d908101601f1916820190925261127991810190611af9565b60015b6112d6573d8080156112aa576040519150601f19603f3d011682016040523d82523d6000602084013e6112af565b606091505b5080516112ce5760405162461bcd60e51b81526004016104d790611a07565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610f66565b506001949350505050565b6001600160a01b0382166113515760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016104d7565b6000818152609960205260409020546001600160a01b0316156113b65760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104d7565b6001600160a01b0382166000908152609a602052604081208054600192906113df908490611a59565b909155505060008181526099602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461144990611893565b90600052602060002090601f01602090048101928261146b57600085556114b1565b82601f1061148457805160ff19168380011785556114b1565b828001600101855582156114b1579182015b828111156114b1578251825591602001919060010190611496565b506114bd9291506114c1565b5090565b5b808211156114bd57600081556001016114c2565b6001600160e01b03198116811461068657600080fd5b6000602082840312156114fe57600080fd5b8135611509816114d6565b9392505050565b60005b8381101561152b578181015183820152602001611513565b838111156108f35750506000910152565b60008151808452611554816020860160208601611510565b601f01601f19169290920160200192915050565b602081526000611509602083018461153c565b60006020828403121561158d57600080fd5b5035919050565b80356001600160a01b03811681146115ab57600080fd5b919050565b600080604083850312156115c357600080fd5b6115cc83611594565b946020939093013593505050565b6000806000606084860312156115ef57600080fd5b6115f884611594565b925061160660208501611594565b9150604084013590509250925092565b60006020828403121561162857600080fd5b61150982611594565b60008083601f84011261164357600080fd5b50813567ffffffffffffffff81111561165b57600080fd5b60208301915083602082850101111561167357600080fd5b9250929050565b6000806000806000806080878903121561169357600080fd5b863567ffffffffffffffff808211156116ab57600080fd5b6116b78a838b01611631565b909850965060208901359150808211156116d057600080fd5b506116dd89828a01611631565b90955093506116f0905060408801611594565b91506116fe60608801611594565b90509295509295509295565b6000806040838503121561171d57600080fd5b61172683611594565b91506020830135801515811461173b57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561178557611785611746565b604052919050565b600067ffffffffffffffff8211156117a7576117a7611746565b50601f01601f191660200190565b600080600080608085870312156117cb57600080fd5b6117d485611594565b93506117e260208601611594565b925060408501359150606085013567ffffffffffffffff81111561180557600080fd5b8501601f8101871361181657600080fd5b80356118296118248261178d565b61175c565b81815288602083850101111561183e57600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b6000806040838503121561187357600080fd5b61187c83611594565b915061188a60208401611594565b90509250929050565b600181811c908216806118a757607f821691505b602082108114156118c857634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526027908201527f546865206164647265737320646f6573206e6f7420636f6e7461696e206120636040820152661bdb9d1c9858dd60ca1b606082015260800190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b60006020828403121561197557600080fd5b815167ffffffffffffffff81111561198c57600080fd5b8201601f8101841361199d57600080fd5b80516119ab6118248261178d565b8181528560208385010111156119c057600080fd5b6119d1826020830160208601611510565b95945050505050565b634e487b7160e01b600052601160045260246000fd5b600082821015611a0257611a026119da565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008219821115611a6c57611a6c6119da565b500190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611aef9083018461153c565b9695505050505050565b600060208284031215611b0b57600080fd5b8151611509816114d656fea264697066735822122088f8755df4165c5a6eb9c38687de2b92ee2bcc70a39ed952188b6499223ba3d164736f6c63430008090033

Deployed Bytecode Sourcemap

46426:2336:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28592:349;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;28592:349:0;;;;;;;;29563:100;;;:::i;:::-;;;;;;;:::i;31087:171::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;31087:171:0;1528:203:1;30593:428:0;;;;;;:::i;:::-;;:::i;:::-;;47483:159;;;;;;:::i;:::-;;:::i;47850:184::-;;;;;;:::i;:::-;;:::i;46582:32::-;;;;;-1:-1:-1;;;;;46582:32:0;;;47650:192;;;;;;:::i;:::-;;:::i;48489:83::-;;;;;;:::i;:::-;;:::i;29274:222::-;;;;;;:::i;:::-;;:::i;29005:207::-;;;;;;:::i;:::-;;:::i;:::-;;;3074:25:1;;;3062:2;3047:18;29005:207:0;2928:177:1;44297:103:0;;;:::i;43649:87::-;43722:6;;-1:-1:-1;;;;;43722:6:0;43649:87;;46778:317;;;;;;:::i;:::-;;:::i;48259:222::-;;;;;;:::i;:::-;;:::i;29732:104::-;;;:::i;31330:155::-;;;;;;:::i;:::-;;:::i;32450:323::-;;;;;;:::i;:::-;;:::i;46548:27::-;;;;;-1:-1:-1;;;;;46548:27:0;;;48580:179;;;;;;:::i;:::-;;:::i;31556:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;31677:25:0;;;31653:4;31677:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;31556:164;44555:201;;;;;;:::i;:::-;;:::i;48042:209::-;;;;;;:::i;:::-;;:::i;28592:349::-;28716:4;-1:-1:-1;;;;;;28753:51:0;;-1:-1:-1;;;28753:51:0;;:127;;-1:-1:-1;;;;;;;28821:59:0;;-1:-1:-1;;;28821:59:0;28753:127;:180;;;-1:-1:-1;;;;;;;;;;26492:51:0;;;28897:36;28733:200;28592:349;-1:-1:-1;;28592:349:0:o;29563:100::-;29617:13;29650:5;29643:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29563:100;:::o;31087:171::-;31163:7;31183:23;31198:7;31183:14;:23::i;:::-;-1:-1:-1;31226:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;31226:24:0;;31087:171::o;30593:428::-;30674:13;30690:34;30716:7;30690:25;:34::i;:::-;30674:50;;30749:5;-1:-1:-1;;;;;30743:11:0;:2;-1:-1:-1;;;;;30743:11:0;;;30735:57;;;;-1:-1:-1;;;30735:57:0;;7265:2:1;30735:57:0;;;7247:21:1;7304:2;7284:18;;;7277:30;7343:34;7323:18;;;7316:62;-1:-1:-1;;;7394:18:1;;;7387:31;7435:19;;30735:57:0;;;;;;;;;22337:10;-1:-1:-1;;;;;30827:21:0;;;;:62;;-1:-1:-1;30852:37:0;30869:5;22337:10;31556:164;:::i;30852:37::-;30805:174;;;;-1:-1:-1;;;30805:174:0;;7667:2:1;30805:174:0;;;7649:21:1;7706:2;7686:18;;;7679:30;7745:34;7725:18;;;7718:62;7816:32;7796:18;;;7789:60;7866:19;;30805:174:0;7465:426:1;30805:174:0;30992:21;31001:2;31005:7;30992:8;:21::i;:::-;30663:358;30593:428;;:::o;47483:159::-;43535:13;:11;:13::i;:::-;47610:24:::1;47620:3;47625:8;47610:9;:24::i;:::-;47483:159:::0;;:::o;47850:184::-;47942:9;;:36;;-1:-1:-1;;;47942:36:0;;;;;8070:25:1;;;-1:-1:-1;;;;;8131:32:1;;;8111:18;;;8104:60;47942:9:0;;;;:23;;8043:18:1;;47942:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47989:37;48008:4;48014:2;48018:7;47989:18;:37::i;47650:192::-;47746:9;;:36;;-1:-1:-1;;;47746:36:0;;;;;8070:25:1;;;-1:-1:-1;;;;;8131:32:1;;;8111:18;;;8104:60;47746:9:0;;;;:23;;8043:18:1;;47746:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47793:41;47816:4;47822:2;47826:7;47793:22;:41::i;48489:83::-;43535:13;:11;:13::i;:::-;48550:14:::1;48556:7;48550:5;:14::i;:::-;48489:83:::0;:::o;29274:222::-;29346:7;29382:16;;;:7;:16;;;;;;-1:-1:-1;;;;;29382:16:0;29417:19;29409:56;;;;-1:-1:-1;;;29409:56:0;;8377:2:1;29409:56:0;;;8359:21:1;8416:2;8396:18;;;8389:30;-1:-1:-1;;;8435:18:1;;;8428:54;8499:18;;29409:56:0;8175:348:1;29005:207:0;29077:7;-1:-1:-1;;;;;29105:19:0;;29097:73;;;;-1:-1:-1;;;29097:73:0;;8730:2:1;29097:73:0;;;8712:21:1;8769:2;8749:18;;;8742:30;8808:34;8788:18;;;8781:62;-1:-1:-1;;;8859:18:1;;;8852:39;8908:19;;29097:73:0;8528:405:1;29097:73:0;-1:-1:-1;;;;;;29188:16:0;;;;;:9;:16;;;;;;;29005:207::o;44297:103::-;43535:13;:11;:13::i;:::-;44362:30:::1;44389:1;44362:18;:30::i;:::-;44297:103::o:0;46778:317::-;46941:17;-1:-1:-1;;;;;46686:18:0;;9510:19;46678:72;;;;-1:-1:-1;;;46678:72:0;;;;;;;:::i;:::-;46982:18;-1:-1:-1;;;;;46686:18:0;::::1;9510:19:::0;46678:72:::1;;;;-1:-1:-1::0;;;46678:72:0::1;;;;;;;:::i;:::-;47018:69:::2;47033:5;;47018:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;::::0;;;;-1:-1:-1;;47018:69:0::2;::::0;;::::2;;::::0;::::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;;;;-1:-1:-1;47040:7:0;;-1:-1:-1;47040:7:0;;;;47018:69;::::2;47040:7:::0;;;;47018:69;::::2;;::::0;::::2;::::0;;;;-1:-1:-1;47049:17:0;;-1:-1:-1;47068:18:0;;-1:-1:-1;47018:14:0::2;::::0;-1:-1:-1;47018:69:0:i:2;:::-;46761:1:::1;46778:317:::0;;;;;;;:::o;48259:222::-;43535:13;:11;:13::i;:::-;48384:21;-1:-1:-1;;;;;46686:18:0;::::1;9510:19:::0;46678:72:::1;;;;-1:-1:-1::0;;;46678:72:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;48423:10:0::2;:50:::0;;-1:-1:-1;;;;;;48423:50:0::2;-1:-1:-1::0;;;;;48423:50:0;;;::::2;::::0;;;::::2;::::0;;48259:222::o;29732:104::-;29788:13;29821:7;29814:14;;;;;:::i;31330:155::-;31425:52;22337:10;31458:8;31468;31425:18;:52::i;32450:323::-;32624:41;22337:10;32657:7;32624:18;:41::i;:::-;32616:100;;;;-1:-1:-1;;;32616:100:0;;;;;;;:::i;:::-;32727:38;32741:4;32747:2;32751:7;32760:4;32727:13;:38::i;:::-;32450:323;;;;:::o;48580:179::-;48645:13;48671:23;48686:7;48671:14;:23::i;:::-;48712:10;;48732:9;;48712:39;;-1:-1:-1;;;48712:39:0;;-1:-1:-1;;;;;48732:9:0;;;48712:39;;;9954:51:1;10021:18;;;10014:34;;;48712:10:0;;;:19;;9927:18:1;;48712:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;48712:39:0;;;;;;;;;;;;:::i;44555:201::-;43535:13;:11;:13::i;:::-;-1:-1:-1;;;;;44644:22:0;::::1;44636:73;;;::::0;-1:-1:-1;;;44636:73:0;;10901:2:1;44636:73:0::1;::::0;::::1;10883:21:1::0;10940:2;10920:18;;;10913:30;10979:34;10959:18;;;10952:62;-1:-1:-1;;;11030:18:1;;;11023:36;11076:19;;44636:73:0::1;10699:402:1::0;44636:73:0::1;44720:28;44739:8;44720:18;:28::i;48042:209::-:0;43535:13;:11;:13::i;:::-;48161:20;-1:-1:-1;;;;;46686:18:0;::::1;9510:19:::0;46678:72:::1;;;;-1:-1:-1::0;;;46678:72:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;48199:9:0::2;:44:::0;;-1:-1:-1;;;;;;48199:44:0::2;-1:-1:-1::0;;;;;48199:44:0;;;::::2;::::0;;;::::2;::::0;;48042:209::o;39106:135::-;34345:4;34369:16;;;:7;:16;;;;;;-1:-1:-1;;;;;34369:16:0;39180:53;;;;-1:-1:-1;;;39180:53:0;;8377:2:1;39180:53:0;;;8359:21:1;8416:2;8396:18;;;8389:30;-1:-1:-1;;;8435:18:1;;;8428:54;8499:18;;39180:53:0;8175:348:1;38374:185:0;38449:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;38449:29:0;-1:-1:-1;;;;;38449:29:0;;;;;;;;:24;;38503:34;38449:24;38503:25;:34::i;:::-;-1:-1:-1;;;;;38494:57:0;;;;;;;;;;;38374:185;;:::o;43814:132::-;43722:6;;-1:-1:-1;;;;;43722:6:0;22337:10;43878:23;43870:68;;;;-1:-1:-1;;;43870:68:0;;11308:2:1;43870:68:0;;;11290:21:1;;;11327:18;;;11320:30;11386:34;11366:18;;;11359:62;11438:18;;43870:68:0;11106:356:1;35191:110:0;35267:26;35277:2;35281:7;35267:26;;;;;;;;;;;;:9;:26::i;31787:336::-;31982:41;22337:10;32015:7;31982:18;:41::i;:::-;31974:100;;;;-1:-1:-1;;;31974:100:0;;;;;;;:::i;:::-;32087:28;32097:4;32103:2;32107:7;32087:9;:28::i;32194:185::-;32332:39;32349:4;32355:2;32359:7;32332:39;;;;;;;;;;;;:16;:39::i;36851:431::-;36911:13;36927:34;36953:7;36927:25;:34::i;:::-;36911:50;;37063:29;37080:1;37084:7;37063:8;:29::i;:::-;-1:-1:-1;;;;;37105:16:0;;;;;;:9;:16;;;;;:21;;37125:1;;37105:16;:21;;37125:1;;37105:21;:::i;:::-;;;;-1:-1:-1;;37144:16:0;;;;:7;:16;;;;;;37137:23;;-1:-1:-1;;;;;;37137:23:0;;;37178:36;37152:7;;37144:16;-1:-1:-1;;;;;37178:36:0;;;;;37144:16;;37178:36;47483:159;;:::o;44916:191::-;45009:6;;;-1:-1:-1;;;;;45026:17:0;;;-1:-1:-1;;;;;;45026:17:0;;;;;;;45059:40;;45009:6;;;45026:17;45009:6;;45059:40;;44990:16;;45059:40;44979:128;44916:191;:::o;47103:372::-;18754:19;18777:13;;;;;;18776:14;;18824:34;;;;-1:-1:-1;18842:12:0;;18857:1;18842:12;;;;:16;18824:34;18823:108;;;-1:-1:-1;18903:4:0;9510:19;:23;;;18864:66;;-1:-1:-1;18913:12:0;;;;;:17;18864:66;18801:204;;;;-1:-1:-1;;;18801:204:0;;11931:2:1;18801:204:0;;;11913:21:1;11970:2;11950:18;;;11943:30;12009:34;11989:18;;;11982:62;-1:-1:-1;;;12060:18:1;;;12053:44;12114:19;;18801:204:0;11729:410:1;18801:204:0;19016:12;:16;;-1:-1:-1;;19016:16:0;19031:1;19016:16;;;19043:67;;;;19078:13;:20;;-1:-1:-1;;19078:20:0;;;;;19043:67;47281:26:::1;:24;:26::i;:::-;47318:39;47342:5;47349:7;47318:23;:39::i;:::-;47368:9;:41:::0;;-1:-1:-1;;;;;47368:41:0;;::::1;-1:-1:-1::0;;;;;;47368:41:0;;::::1;;::::0;;;47420:10:::1;:47:::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;19132:102;;;;19183:5;19167:21;;-1:-1:-1;;19167:21:0;;;19208:14;;-1:-1:-1;12296:36:1;;19208:14:0;;12284:2:1;12269:18;19208:14:0;;;;;;;19132:102;18743:498;47103:372;;;;:::o;38702:315::-;38857:8;-1:-1:-1;;;;;38848:17:0;:5;-1:-1:-1;;;;;38848:17:0;;;38840:55;;;;-1:-1:-1;;;38840:55:0;;12545:2:1;38840:55:0;;;12527:21:1;12584:2;12564:18;;;12557:30;12623:27;12603:18;;;12596:55;12668:18;;38840:55:0;12343:349:1;38840:55:0;-1:-1:-1;;;;;38906:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;38906:46:0;;;;;;;;;;38968:41;;540::1;;;38968::0;;513:18:1;38968:41:0;;;;;;;38702:315;;;:::o;34574:275::-;34667:4;34684:13;34700:34;34726:7;34700:25;:34::i;:::-;34684:50;;34764:5;-1:-1:-1;;;;;34753:16:0;:7;-1:-1:-1;;;;;34753:16:0;;:52;;;-1:-1:-1;;;;;;31677:25:0;;;31653:4;31677:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;34773:32;34753:87;;;;34833:7;-1:-1:-1;;;;;34809:31:0;:20;34821:7;34809:11;:20::i;:::-;-1:-1:-1;;;;;34809:31:0;;34753:87;34745:96;34574:275;-1:-1:-1;;;;34574:275:0:o;33654:313::-;33810:28;33820:4;33826:2;33830:7;33810:9;:28::i;:::-;33857:47;33880:4;33886:2;33890:7;33899:4;33857:22;:47::i;:::-;33849:110;;;;-1:-1:-1;;;33849:110:0;;;;;;;:::i;35528:319::-;35657:18;35663:2;35667:7;35657:5;:18::i;:::-;35708:53;35739:1;35743:2;35747:7;35756:4;35708:22;:53::i;:::-;35686:153;;;;-1:-1:-1;;;35686:153:0;;;;;;;:::i;37619:636::-;37789:4;-1:-1:-1;;;;;37751:42:0;:34;37777:7;37751:25;:34::i;:::-;-1:-1:-1;;;;;37751:42:0;;37743:92;;;;-1:-1:-1;;;37743:92:0;;13318:2:1;37743:92:0;;;13300:21:1;13357:2;13337:18;;;13330:30;13396:34;13376:18;;;13369:62;-1:-1:-1;;;13447:18:1;;;13440:35;13492:19;;37743:92:0;13116:401:1;37743:92:0;-1:-1:-1;;;;;37854:16:0;;37846:65;;;;-1:-1:-1;;;37846:65:0;;13724:2:1;37846:65:0;;;13706:21:1;13763:2;13743:18;;;13736:30;13802:34;13782:18;;;13775:62;-1:-1:-1;;;13853:18:1;;;13846:34;13897:19;;37846:65:0;13522:400:1;37846:65:0;38028:29;38045:1;38049:7;38028:8;:29::i;:::-;-1:-1:-1;;;;;38070:15:0;;;;;;:9;:15;;;;;:20;;38089:1;;38070:15;:20;;38089:1;;38070:20;:::i;:::-;;;;-1:-1:-1;;;;;;;38101:13:0;;;;;;:9;:13;;;;;:18;;38118:1;;38101:13;:18;;38118:1;;38101:18;:::i;:::-;;;;-1:-1:-1;;38130:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;38130:21:0;-1:-1:-1;;;;;38130:21:0;;;;;;;;;38169:27;;38130:16;;38169:27;;;;;;;30663:358;30593:428;;:::o;43297:113::-;20595:13;;;;;;;20587:69;;;;-1:-1:-1;;;20587:69:0;;;;;;;:::i;:::-;43370:32:::1;22337:10:::0;43370:18:::1;:32::i;28357:163::-:0;20595:13;;;;;;;20587:69;;;;-1:-1:-1;;;20587:69:0;;;;;;;:::i;:::-;28471:13;;::::1;::::0;:5:::1;::::0;:13:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;28495:17:0;;::::1;::::0;:7:::1;::::0;:17:::1;::::0;::::1;::::0;::::1;:::i;39805:875::-:0;39959:4;-1:-1:-1;;;;;39980:13:0;;9510:19;:23;39976:697;;40016:82;;-1:-1:-1;;;40016:82:0;;-1:-1:-1;;;;;40016:47:0;;;;;:82;;22337:10;;40078:4;;40084:7;;40093:4;;40016:82;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40016:82:0;;;;;;;;-1:-1:-1;;40016:82:0;;;;;;;;;;;;:::i;:::-;;;40012:606;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40279:13:0;;40275:328;;40322:60;;-1:-1:-1;;;40322:60:0;;;;;;;:::i;40275:328::-;40553:6;40547:13;40538:6;40534:2;40530:15;40523:38;40012:606;-1:-1:-1;;;;;;40149:62:0;-1:-1:-1;;;40149:62:0;;-1:-1:-1;40142:69:0;;39976:697;-1:-1:-1;40657:4:0;39805:875;;;;;;:::o;36183:439::-;-1:-1:-1;;;;;36263:16:0;;36255:61;;;;-1:-1:-1;;;36255:61:0;;15422:2:1;36255:61:0;;;15404:21:1;;;15441:18;;;15434:30;15500:34;15480:18;;;15473:62;15552:18;;36255:61:0;15220:356:1;36255:61:0;34345:4;34369:16;;;:7;:16;;;;;;-1:-1:-1;;;;;34369:16:0;:30;36327:58;;;;-1:-1:-1;;;36327:58:0;;15783:2:1;36327:58:0;;;15765:21:1;15822:2;15802:18;;;15795:30;15861;15841:18;;;15834:58;15909:18;;36327:58:0;15581:352:1;36327:58:0;-1:-1:-1;;;;;36456:13:0;;;;;;:9;:13;;;;;:18;;36473:1;;36456:13;:18;;36473:1;;36456:18;:::i;:::-;;;;-1:-1:-1;;36485:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;36485:21:0;-1:-1:-1;;;;;36485:21:0;;;;;;;;36524:33;;36485:16;;;36524:33;;36485:16;;36524:33;47483:159;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;:::-;384:5;150:245;-1:-1:-1;;;150:245:1:o;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2173:328::-;2250:6;2258;2266;2319:2;2307:9;2298:7;2294:23;2290:32;2287:52;;;2335:1;2332;2325:12;2287:52;2358:29;2377:9;2358:29;:::i;:::-;2348:39;;2406:38;2440:2;2429:9;2425:18;2406:38;:::i;:::-;2396:48;;2491:2;2480:9;2476:18;2463:32;2453:42;;2173:328;;;;;:::o;2737:186::-;2796:6;2849:2;2837:9;2828:7;2824:23;2820:32;2817:52;;;2865:1;2862;2855:12;2817:52;2888:29;2907:9;2888:29;:::i;3110:348::-;3162:8;3172:6;3226:3;3219:4;3211:6;3207:17;3203:27;3193:55;;3244:1;3241;3234:12;3193:55;-1:-1:-1;3267:20:1;;3310:18;3299:30;;3296:50;;;3342:1;3339;3332:12;3296:50;3379:4;3371:6;3367:17;3355:29;;3431:3;3424:4;3415:6;3407;3403:19;3399:30;3396:39;3393:59;;;3448:1;3445;3438:12;3393:59;3110:348;;;;;:::o;3463:870::-;3573:6;3581;3589;3597;3605;3613;3666:3;3654:9;3645:7;3641:23;3637:33;3634:53;;;3683:1;3680;3673:12;3634:53;3723:9;3710:23;3752:18;3793:2;3785:6;3782:14;3779:34;;;3809:1;3806;3799:12;3779:34;3848:59;3899:7;3890:6;3879:9;3875:22;3848:59;:::i;:::-;3926:8;;-1:-1:-1;3822:85:1;-1:-1:-1;4014:2:1;3999:18;;3986:32;;-1:-1:-1;4030:16:1;;;4027:36;;;4059:1;4056;4049:12;4027:36;;4098:61;4151:7;4140:8;4129:9;4125:24;4098:61;:::i;:::-;4178:8;;-1:-1:-1;4072:87:1;-1:-1:-1;4232:38:1;;-1:-1:-1;4266:2:1;4251:18;;4232:38;:::i;:::-;4222:48;;4289:38;4323:2;4312:9;4308:18;4289:38;:::i;:::-;4279:48;;3463:870;;;;;;;;:::o;4338:347::-;4403:6;4411;4464:2;4452:9;4443:7;4439:23;4435:32;4432:52;;;4480:1;4477;4470:12;4432:52;4503:29;4522:9;4503:29;:::i;:::-;4493:39;;4582:2;4571:9;4567:18;4554:32;4629:5;4622:13;4615:21;4608:5;4605:32;4595:60;;4651:1;4648;4641:12;4595:60;4674:5;4664:15;;;4338:347;;;;;:::o;4690:127::-;4751:10;4746:3;4742:20;4739:1;4732:31;4782:4;4779:1;4772:15;4806:4;4803:1;4796:15;4822:275;4893:2;4887:9;4958:2;4939:13;;-1:-1:-1;;4935:27:1;4923:40;;4993:18;4978:34;;5014:22;;;4975:62;4972:88;;;5040:18;;:::i;:::-;5076:2;5069:22;4822:275;;-1:-1:-1;4822:275:1:o;5102:186::-;5150:4;5183:18;5175:6;5172:30;5169:56;;;5205:18;;:::i;:::-;-1:-1:-1;5271:2:1;5250:15;-1:-1:-1;;5246:29:1;5277:4;5242:40;;5102:186::o;5293:888::-;5388:6;5396;5404;5412;5465:3;5453:9;5444:7;5440:23;5436:33;5433:53;;;5482:1;5479;5472:12;5433:53;5505:29;5524:9;5505:29;:::i;:::-;5495:39;;5553:38;5587:2;5576:9;5572:18;5553:38;:::i;:::-;5543:48;;5638:2;5627:9;5623:18;5610:32;5600:42;;5693:2;5682:9;5678:18;5665:32;5720:18;5712:6;5709:30;5706:50;;;5752:1;5749;5742:12;5706:50;5775:22;;5828:4;5820:13;;5816:27;-1:-1:-1;5806:55:1;;5857:1;5854;5847:12;5806:55;5893:2;5880:16;5918:48;5934:31;5962:2;5934:31;:::i;:::-;5918:48;:::i;:::-;5989:2;5982:5;5975:17;6029:7;6024:2;6019;6015;6011:11;6007:20;6004:33;6001:53;;;6050:1;6047;6040:12;6001:53;6105:2;6100;6096;6092:11;6087:2;6080:5;6076:14;6063:45;6149:1;6144:2;6139;6132:5;6128:14;6124:23;6117:34;6170:5;6160:15;;;;;5293:888;;;;;;;:::o;6413:260::-;6481:6;6489;6542:2;6530:9;6521:7;6517:23;6513:32;6510:52;;;6558:1;6555;6548:12;6510:52;6581:29;6600:9;6581:29;:::i;:::-;6571:39;;6629:38;6663:2;6652:9;6648:18;6629:38;:::i;:::-;6619:48;;6413:260;;;;;:::o;6678:380::-;6757:1;6753:12;;;;6800;;;6821:61;;6875:4;6867:6;6863:17;6853:27;;6821:61;6928:2;6920:6;6917:14;6897:18;6894:38;6891:161;;;6974:10;6969:3;6965:20;6962:1;6955:31;7009:4;7006:1;6999:15;7037:4;7034:1;7027:15;6891:161;;6678:380;;;:::o;8938:403::-;9140:2;9122:21;;;9179:2;9159:18;;;9152:30;9218:34;9213:2;9198:18;;9191:62;-1:-1:-1;;;9284:2:1;9269:18;;9262:37;9331:3;9316:19;;8938:403::o;9346:410::-;9548:2;9530:21;;;9587:2;9567:18;;;9560:30;9626:34;9621:2;9606:18;;9599:62;-1:-1:-1;;;9692:2:1;9677:18;;9670:44;9746:3;9731:19;;9346:410::o;10059:635::-;10139:6;10192:2;10180:9;10171:7;10167:23;10163:32;10160:52;;;10208:1;10205;10198:12;10160:52;10241:9;10235:16;10274:18;10266:6;10263:30;10260:50;;;10306:1;10303;10296:12;10260:50;10329:22;;10382:4;10374:13;;10370:27;-1:-1:-1;10360:55:1;;10411:1;10408;10401:12;10360:55;10440:2;10434:9;10465:48;10481:31;10509:2;10481:31;:::i;10465:48::-;10536:2;10529:5;10522:17;10576:7;10571:2;10566;10562;10558:11;10554:20;10551:33;10548:53;;;10597:1;10594;10587:12;10548:53;10610:54;10661:2;10656;10649:5;10645:14;10640:2;10636;10632:11;10610:54;:::i;:::-;10683:5;10059:635;-1:-1:-1;;;;;10059:635:1:o;11467:127::-;11528:10;11523:3;11519:20;11516:1;11509:31;11559:4;11556:1;11549:15;11583:4;11580:1;11573:15;11599:125;11639:4;11667:1;11664;11661:8;11658:34;;;11672:18;;:::i;:::-;-1:-1:-1;11709:9:1;;11599:125::o;12697:414::-;12899:2;12881:21;;;12938:2;12918:18;;;12911:30;12977:34;12972:2;12957:18;;12950:62;-1:-1:-1;;;13043:2:1;13028:18;;13021:48;13101:3;13086:19;;12697:414::o;13927:128::-;13967:3;13998:1;13994:6;13991:1;13988:13;13985:39;;;14004:18;;:::i;:::-;-1:-1:-1;14040:9:1;;13927:128::o;14060:407::-;14262:2;14244:21;;;14301:2;14281:18;;;14274:30;14340:34;14335:2;14320:18;;14313:62;-1:-1:-1;;;14406:2:1;14391:18;;14384:41;14457:3;14442:19;;14060:407::o;14472:489::-;-1:-1:-1;;;;;14741:15:1;;;14723:34;;14793:15;;14788:2;14773:18;;14766:43;14840:2;14825:18;;14818:34;;;14888:3;14883:2;14868:18;;14861:31;;;14666:4;;14909:46;;14935:19;;14927:6;14909:46;:::i;:::-;14901:54;14472:489;-1:-1:-1;;;;;;14472:489:1:o;14966:249::-;15035:6;15088:2;15076:9;15067:7;15063:23;15059:32;15056:52;;;15104:1;15101;15094:12;15056:52;15136:9;15130:16;15155:30;15179:5;15155:30;:::i

Swarm Source

ipfs://88f8755df4165c5a6eb9c38687de2b92ee2bcc70a39ed952188b6499223ba3d1

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

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