ETH Price: $2,524.37 (+0.29%)

Token

FLEX NFT (FLEX)
 

Overview

Max Total Supply

478 FLEX

Holders

341

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 FLEX
0xc4B3F723305699D4347A986566584Bb3f279865C
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
FLEX

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-01-31
*/

// SPDX-License-Identifier: MIT

// File @openzeppelin/contracts/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 IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}


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


// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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


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


// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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


// File @openzeppelin/contracts/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 IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}


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


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

pragma solidity ^0.8.0;

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

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/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 Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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


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


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

pragma solidity ^0.8.0;

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

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

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

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

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


// File @openzeppelin/contracts/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 ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}


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


// OpenZeppelin Contracts v4.4.1 (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 ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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


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


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

pragma solidity ^0.8.0;

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

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

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


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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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


// OpenZeppelin Contracts v4.4.1 (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 Ownable is Context {
    address private _owner;

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

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

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

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

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

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

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


pragma solidity ^0.8.4;

contract FLEX is ERC721Enumerable, Ownable {
    using Strings for uint256;

    uint256 public tokenPrice = 0.2 ether;

    string public tokenBaseURI = "https://storage.googleapis.com/flexnft/json/";

    uint256 public tokensToBuyAmount = 1000;

    bool public hasSaleStarted = false;

    constructor() ERC721("FLEX NFT", "FLEX") {
        
    }

    function setSaleStarted(bool val) external onlyOwner {
        hasSaleStarted = val;
    }

    function setTokenPrice(uint256 val) external onlyOwner {
      tokenPrice = val;
    }

    function mint(uint256 amount) external payable {
        require(msg.value >= tokenPrice * amount, "Incorrect ETH");
        require(hasSaleStarted, "Cannot mint before sale");
        require(amount <= tokensToBuyAmount, "No tokens left for minting");

        uint256 supply = totalSupply();
        for(uint256 i = 0; i < amount; i++) {
            _safeMint(msg.sender, 1 + supply + i);
        }

        tokensToBuyAmount -= amount;
    }

    function _baseURI() internal view override(ERC721) returns (string memory) {
        return tokenBaseURI;
    }
   
    function setBaseURI(string calldata URI) external onlyOwner {
        tokenBaseURI = URI;
    }

    function withdraw() external onlyOwner {
        require(payable(msg.sender).send(address(this).balance));
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hasSaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"string","name":"URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"setSaleStarted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setTokenPrice","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":[],"name":"tokenBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensToBuyAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6702c68af0bb140000600b5560e0604052602c6080818152906200225d60a03980516200003591600c916020909101906200012f565b506103e8600d55600e805460ff191690553480156200005357600080fd5b506040805180820182526008815267119311560813919560c21b60208083019182528351808501909452600484526308c988ab60e31b908401528151919291620000a0916000916200012f565b508051620000b69060019060208401906200012f565b505050620000d3620000cd620000d960201b60201c565b620000dd565b62000212565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200013d90620001d5565b90600052602060002090601f016020900481019282620001615760008555620001ac565b82601f106200017c57805160ff1916838001178555620001ac565b82800160010185558215620001ac579182015b82811115620001ac5782518255916020019190600101906200018f565b50620001ba929150620001be565b5090565b5b80821115620001ba5760008155600101620001bf565b600181811c90821680620001ea57607f821691505b602082108114156200020c57634e487b7160e01b600052602260045260246000fd5b50919050565b61203b80620002226000396000f3fe6080604052600436106101b75760003560e01c80636a61e5fc116100ec578063a22cb4651161008a578063c87b56dd11610064578063c87b56dd146104a1578063e985e9c5146104c1578063f2fde38b1461050a578063ff45cb951461052a57600080fd5b8063a22cb46514610441578063a854ffba14610461578063b88d4fde1461048157600080fd5b80637ff9b596116100c65780637ff9b596146103e55780638da5cb5b146103fb57806395d89b4114610419578063a0712d681461042e57600080fd5b80636a61e5fc1461039057806370a08231146103b0578063715018a6146103d057600080fd5b80632f745c59116101595780634e99b800116101335780634e99b8001461031b5780634f6ccce71461033057806355f804b3146103505780636352211e1461037057600080fd5b80632f745c59146102c65780633ccfd60b146102e657806342842e0e146102fb57600080fd5b8063095ea7b311610195578063095ea7b31461024b57806318160ddd1461026d5780631c8b232d1461028c57806323b872dd146102a657600080fd5b806301ffc9a7146101bc57806306fdde03146101f1578063081812fc14610213575b600080fd5b3480156101c857600080fd5b506101dc6101d7366004611c41565b610540565b60405190151581526020015b60405180910390f35b3480156101fd57600080fd5b5061020661056b565b6040516101e89190611d9e565b34801561021f57600080fd5b5061023361022e366004611ced565b6105fd565b6040516001600160a01b0390911681526020016101e8565b34801561025757600080fd5b5061026b610266366004611bfc565b610697565b005b34801561027957600080fd5b506008545b6040519081526020016101e8565b34801561029857600080fd5b50600e546101dc9060ff1681565b3480156102b257600080fd5b5061026b6102c1366004611aba565b6107ad565b3480156102d257600080fd5b5061027e6102e1366004611bfc565b6107de565b3480156102f257600080fd5b5061026b610874565b34801561030757600080fd5b5061026b610316366004611aba565b6108c4565b34801561032757600080fd5b506102066108df565b34801561033c57600080fd5b5061027e61034b366004611ced565b61096d565b34801561035c57600080fd5b5061026b61036b366004611c7b565b610a00565b34801561037c57600080fd5b5061023361038b366004611ced565b610a36565b34801561039c57600080fd5b5061026b6103ab366004611ced565b610aad565b3480156103bc57600080fd5b5061027e6103cb366004611a6c565b610adc565b3480156103dc57600080fd5b5061026b610b63565b3480156103f157600080fd5b5061027e600b5481565b34801561040757600080fd5b50600a546001600160a01b0316610233565b34801561042557600080fd5b50610206610b97565b61026b61043c366004611ced565b610ba6565b34801561044d57600080fd5b5061026b61045c366004611bd2565b610cfc565b34801561046d57600080fd5b5061026b61047c366004611c26565b610d0b565b34801561048d57600080fd5b5061026b61049c366004611af6565b610d48565b3480156104ad57600080fd5b506102066104bc366004611ced565b610d80565b3480156104cd57600080fd5b506101dc6104dc366004611a87565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561051657600080fd5b5061026b610525366004611a6c565b610e5b565b34801561053657600080fd5b5061027e600d5481565b60006001600160e01b0319821663780e9d6360e01b1480610565575061056582610ef6565b92915050565b60606000805461057a90611f17565b80601f01602080910402602001604051908101604052809291908181526020018280546105a690611f17565b80156105f35780601f106105c8576101008083540402835291602001916105f3565b820191906000526020600020905b8154815290600101906020018083116105d657829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661067b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006106a282610a36565b9050806001600160a01b0316836001600160a01b031614156107105760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610672565b336001600160a01b038216148061072c575061072c81336104dc565b61079e5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610672565b6107a88383610f46565b505050565b6107b73382610fb4565b6107d35760405162461bcd60e51b815260040161067290611e38565b6107a88383836110ab565b60006107e983610adc565b821061084b5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610672565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b0316331461089e5760405162461bcd60e51b815260040161067290611e03565b60405133904780156108fc02916000818181858888f193505050506108c257600080fd5b565b6107a883838360405180602001604052806000815250610d48565b600c80546108ec90611f17565b80601f016020809104026020016040519081016040528092919081815260200182805461091890611f17565b80156109655780601f1061093a57610100808354040283529160200191610965565b820191906000526020600020905b81548152906001019060200180831161094857829003601f168201915b505050505081565b600061097860085490565b82106109db5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610672565b600882815481106109ee576109ee611fc3565b90600052602060002001549050919050565b600a546001600160a01b03163314610a2a5760405162461bcd60e51b815260040161067290611e03565b6107a8600c83836119a7565b6000818152600260205260408120546001600160a01b0316806105655760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610672565b600a546001600160a01b03163314610ad75760405162461bcd60e51b815260040161067290611e03565b600b55565b60006001600160a01b038216610b475760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610672565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610b8d5760405162461bcd60e51b815260040161067290611e03565b6108c26000611256565b60606001805461057a90611f17565b80600b54610bb49190611eb5565b341015610bf35760405162461bcd60e51b815260206004820152600d60248201526c092dcc6dee4e4cac6e8408aa89609b1b6044820152606401610672565b600e5460ff16610c455760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74206d696e74206265666f72652073616c650000000000000000006044820152606401610672565b600d54811115610c975760405162461bcd60e51b815260206004820152601a60248201527f4e6f20746f6b656e73206c65667420666f72206d696e74696e670000000000006044820152606401610672565b6000610ca260085490565b905060005b82811015610ce057610cce3382610cbf856001611e89565b610cc99190611e89565b6112a8565b80610cd881611f52565b915050610ca7565b5081600d6000828254610cf39190611ed4565b90915550505050565b610d073383836112c2565b5050565b600a546001600160a01b03163314610d355760405162461bcd60e51b815260040161067290611e03565b600e805460ff1916911515919091179055565b610d523383610fb4565b610d6e5760405162461bcd60e51b815260040161067290611e38565b610d7a84848484611391565b50505050565b6000818152600260205260409020546060906001600160a01b0316610dff5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610672565b6000610e096113c4565b90506000815111610e295760405180602001604052806000815250610e54565b80610e33846113d3565b604051602001610e44929190611d32565b6040516020818303038152906040525b9392505050565b600a546001600160a01b03163314610e855760405162461bcd60e51b815260040161067290611e03565b6001600160a01b038116610eea5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610672565b610ef381611256565b50565b60006001600160e01b031982166380ac58cd60e01b1480610f2757506001600160e01b03198216635b5e139f60e01b145b8061056557506301ffc9a760e01b6001600160e01b0319831614610565565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610f7b82610a36565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661102d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610672565b600061103883610a36565b9050806001600160a01b0316846001600160a01b031614806110735750836001600160a01b0316611068846105fd565b6001600160a01b0316145b806110a357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166110be82610a36565b6001600160a01b0316146111265760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610672565b6001600160a01b0382166111885760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610672565b6111938383836114d1565b61119e600082610f46565b6001600160a01b03831660009081526003602052604081208054600192906111c7908490611ed4565b90915550506001600160a01b03821660009081526003602052604081208054600192906111f5908490611e89565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610d07828260405180602001604052806000815250611589565b816001600160a01b0316836001600160a01b031614156113245760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610672565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61139c8484846110ab565b6113a8848484846115bc565b610d7a5760405162461bcd60e51b815260040161067290611db1565b6060600c805461057a90611f17565b6060816113f75750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611421578061140b81611f52565b915061141a9050600a83611ea1565b91506113fb565b60008167ffffffffffffffff81111561143c5761143c611fd9565b6040519080825280601f01601f191660200182016040528015611466576020820181803683370190505b5090505b84156110a35761147b600183611ed4565b9150611488600a86611f6d565b611493906030611e89565b60f81b8183815181106114a8576114a8611fc3565b60200101906001600160f81b031916908160001a9053506114ca600a86611ea1565b945061146a565b6001600160a01b03831661152c5761152781600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61154f565b816001600160a01b0316836001600160a01b03161461154f5761154f83826116c9565b6001600160a01b038216611566576107a881611766565b826001600160a01b0316826001600160a01b0316146107a8576107a88282611815565b6115938383611859565b6115a060008484846115bc565b6107a85760405162461bcd60e51b815260040161067290611db1565b60006001600160a01b0384163b156116be57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611600903390899088908890600401611d61565b602060405180830381600087803b15801561161a57600080fd5b505af192505050801561164a575060408051601f3d908101601f1916820190925261164791810190611c5e565b60015b6116a4573d808015611678576040519150601f19603f3d011682016040523d82523d6000602084013e61167d565b606091505b50805161169c5760405162461bcd60e51b815260040161067290611db1565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506110a3565b506001949350505050565b600060016116d684610adc565b6116e09190611ed4565b600083815260076020526040902054909150808214611733576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061177890600190611ed4565b600083815260096020526040812054600880549394509092849081106117a0576117a0611fc3565b9060005260206000200154905080600883815481106117c1576117c1611fc3565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806117f9576117f9611fad565b6001900381819060005260206000200160009055905550505050565b600061182083610adc565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166118af5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610672565b6000818152600260205260409020546001600160a01b0316156119145760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610672565b611920600083836114d1565b6001600160a01b0382166000908152600360205260408120805460019290611949908490611e89565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546119b390611f17565b90600052602060002090601f0160209004810192826119d55760008555611a1b565b82601f106119ee5782800160ff19823516178555611a1b565b82800160010185558215611a1b579182015b82811115611a1b578235825591602001919060010190611a00565b50611a27929150611a2b565b5090565b5b80821115611a275760008155600101611a2c565b80356001600160a01b0381168114611a5757600080fd5b919050565b80358015158114611a5757600080fd5b600060208284031215611a7e57600080fd5b610e5482611a40565b60008060408385031215611a9a57600080fd5b611aa383611a40565b9150611ab160208401611a40565b90509250929050565b600080600060608486031215611acf57600080fd5b611ad884611a40565b9250611ae660208501611a40565b9150604084013590509250925092565b60008060008060808587031215611b0c57600080fd5b611b1585611a40565b9350611b2360208601611a40565b925060408501359150606085013567ffffffffffffffff80821115611b4757600080fd5b818701915087601f830112611b5b57600080fd5b813581811115611b6d57611b6d611fd9565b604051601f8201601f19908116603f01168101908382118183101715611b9557611b95611fd9565b816040528281528a6020848701011115611bae57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611be557600080fd5b611bee83611a40565b9150611ab160208401611a5c565b60008060408385031215611c0f57600080fd5b611c1883611a40565b946020939093013593505050565b600060208284031215611c3857600080fd5b610e5482611a5c565b600060208284031215611c5357600080fd5b8135610e5481611fef565b600060208284031215611c7057600080fd5b8151610e5481611fef565b60008060208385031215611c8e57600080fd5b823567ffffffffffffffff80821115611ca657600080fd5b818501915085601f830112611cba57600080fd5b813581811115611cc957600080fd5b866020828501011115611cdb57600080fd5b60209290920196919550909350505050565b600060208284031215611cff57600080fd5b5035919050565b60008151808452611d1e816020860160208601611eeb565b601f01601f19169290920160200192915050565b60008351611d44818460208801611eeb565b835190830190611d58818360208801611eeb565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611d9490830184611d06565b9695505050505050565b602081526000610e546020830184611d06565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115611e9c57611e9c611f81565b500190565b600082611eb057611eb0611f97565b500490565b6000816000190483118215151615611ecf57611ecf611f81565b500290565b600082821015611ee657611ee6611f81565b500390565b60005b83811015611f06578181015183820152602001611eee565b83811115610d7a5750506000910152565b600181811c90821680611f2b57607f821691505b60208210811415611f4c57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611f6657611f66611f81565b5060010190565b600082611f7c57611f7c611f97565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610ef357600080fdfea2646970667358221220de8e6eef88eb8da11dc7902cc81b24267f5d91a2b8c98f596418214d9c45db4464736f6c6343000807003368747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f666c65786e66742f6a736f6e2f

Deployed Bytecode

0x6080604052600436106101b75760003560e01c80636a61e5fc116100ec578063a22cb4651161008a578063c87b56dd11610064578063c87b56dd146104a1578063e985e9c5146104c1578063f2fde38b1461050a578063ff45cb951461052a57600080fd5b8063a22cb46514610441578063a854ffba14610461578063b88d4fde1461048157600080fd5b80637ff9b596116100c65780637ff9b596146103e55780638da5cb5b146103fb57806395d89b4114610419578063a0712d681461042e57600080fd5b80636a61e5fc1461039057806370a08231146103b0578063715018a6146103d057600080fd5b80632f745c59116101595780634e99b800116101335780634e99b8001461031b5780634f6ccce71461033057806355f804b3146103505780636352211e1461037057600080fd5b80632f745c59146102c65780633ccfd60b146102e657806342842e0e146102fb57600080fd5b8063095ea7b311610195578063095ea7b31461024b57806318160ddd1461026d5780631c8b232d1461028c57806323b872dd146102a657600080fd5b806301ffc9a7146101bc57806306fdde03146101f1578063081812fc14610213575b600080fd5b3480156101c857600080fd5b506101dc6101d7366004611c41565b610540565b60405190151581526020015b60405180910390f35b3480156101fd57600080fd5b5061020661056b565b6040516101e89190611d9e565b34801561021f57600080fd5b5061023361022e366004611ced565b6105fd565b6040516001600160a01b0390911681526020016101e8565b34801561025757600080fd5b5061026b610266366004611bfc565b610697565b005b34801561027957600080fd5b506008545b6040519081526020016101e8565b34801561029857600080fd5b50600e546101dc9060ff1681565b3480156102b257600080fd5b5061026b6102c1366004611aba565b6107ad565b3480156102d257600080fd5b5061027e6102e1366004611bfc565b6107de565b3480156102f257600080fd5b5061026b610874565b34801561030757600080fd5b5061026b610316366004611aba565b6108c4565b34801561032757600080fd5b506102066108df565b34801561033c57600080fd5b5061027e61034b366004611ced565b61096d565b34801561035c57600080fd5b5061026b61036b366004611c7b565b610a00565b34801561037c57600080fd5b5061023361038b366004611ced565b610a36565b34801561039c57600080fd5b5061026b6103ab366004611ced565b610aad565b3480156103bc57600080fd5b5061027e6103cb366004611a6c565b610adc565b3480156103dc57600080fd5b5061026b610b63565b3480156103f157600080fd5b5061027e600b5481565b34801561040757600080fd5b50600a546001600160a01b0316610233565b34801561042557600080fd5b50610206610b97565b61026b61043c366004611ced565b610ba6565b34801561044d57600080fd5b5061026b61045c366004611bd2565b610cfc565b34801561046d57600080fd5b5061026b61047c366004611c26565b610d0b565b34801561048d57600080fd5b5061026b61049c366004611af6565b610d48565b3480156104ad57600080fd5b506102066104bc366004611ced565b610d80565b3480156104cd57600080fd5b506101dc6104dc366004611a87565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561051657600080fd5b5061026b610525366004611a6c565b610e5b565b34801561053657600080fd5b5061027e600d5481565b60006001600160e01b0319821663780e9d6360e01b1480610565575061056582610ef6565b92915050565b60606000805461057a90611f17565b80601f01602080910402602001604051908101604052809291908181526020018280546105a690611f17565b80156105f35780601f106105c8576101008083540402835291602001916105f3565b820191906000526020600020905b8154815290600101906020018083116105d657829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661067b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006106a282610a36565b9050806001600160a01b0316836001600160a01b031614156107105760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610672565b336001600160a01b038216148061072c575061072c81336104dc565b61079e5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610672565b6107a88383610f46565b505050565b6107b73382610fb4565b6107d35760405162461bcd60e51b815260040161067290611e38565b6107a88383836110ab565b60006107e983610adc565b821061084b5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610672565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b0316331461089e5760405162461bcd60e51b815260040161067290611e03565b60405133904780156108fc02916000818181858888f193505050506108c257600080fd5b565b6107a883838360405180602001604052806000815250610d48565b600c80546108ec90611f17565b80601f016020809104026020016040519081016040528092919081815260200182805461091890611f17565b80156109655780601f1061093a57610100808354040283529160200191610965565b820191906000526020600020905b81548152906001019060200180831161094857829003601f168201915b505050505081565b600061097860085490565b82106109db5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610672565b600882815481106109ee576109ee611fc3565b90600052602060002001549050919050565b600a546001600160a01b03163314610a2a5760405162461bcd60e51b815260040161067290611e03565b6107a8600c83836119a7565b6000818152600260205260408120546001600160a01b0316806105655760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610672565b600a546001600160a01b03163314610ad75760405162461bcd60e51b815260040161067290611e03565b600b55565b60006001600160a01b038216610b475760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610672565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610b8d5760405162461bcd60e51b815260040161067290611e03565b6108c26000611256565b60606001805461057a90611f17565b80600b54610bb49190611eb5565b341015610bf35760405162461bcd60e51b815260206004820152600d60248201526c092dcc6dee4e4cac6e8408aa89609b1b6044820152606401610672565b600e5460ff16610c455760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74206d696e74206265666f72652073616c650000000000000000006044820152606401610672565b600d54811115610c975760405162461bcd60e51b815260206004820152601a60248201527f4e6f20746f6b656e73206c65667420666f72206d696e74696e670000000000006044820152606401610672565b6000610ca260085490565b905060005b82811015610ce057610cce3382610cbf856001611e89565b610cc99190611e89565b6112a8565b80610cd881611f52565b915050610ca7565b5081600d6000828254610cf39190611ed4565b90915550505050565b610d073383836112c2565b5050565b600a546001600160a01b03163314610d355760405162461bcd60e51b815260040161067290611e03565b600e805460ff1916911515919091179055565b610d523383610fb4565b610d6e5760405162461bcd60e51b815260040161067290611e38565b610d7a84848484611391565b50505050565b6000818152600260205260409020546060906001600160a01b0316610dff5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610672565b6000610e096113c4565b90506000815111610e295760405180602001604052806000815250610e54565b80610e33846113d3565b604051602001610e44929190611d32565b6040516020818303038152906040525b9392505050565b600a546001600160a01b03163314610e855760405162461bcd60e51b815260040161067290611e03565b6001600160a01b038116610eea5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610672565b610ef381611256565b50565b60006001600160e01b031982166380ac58cd60e01b1480610f2757506001600160e01b03198216635b5e139f60e01b145b8061056557506301ffc9a760e01b6001600160e01b0319831614610565565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610f7b82610a36565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661102d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610672565b600061103883610a36565b9050806001600160a01b0316846001600160a01b031614806110735750836001600160a01b0316611068846105fd565b6001600160a01b0316145b806110a357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166110be82610a36565b6001600160a01b0316146111265760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610672565b6001600160a01b0382166111885760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610672565b6111938383836114d1565b61119e600082610f46565b6001600160a01b03831660009081526003602052604081208054600192906111c7908490611ed4565b90915550506001600160a01b03821660009081526003602052604081208054600192906111f5908490611e89565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610d07828260405180602001604052806000815250611589565b816001600160a01b0316836001600160a01b031614156113245760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610672565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61139c8484846110ab565b6113a8848484846115bc565b610d7a5760405162461bcd60e51b815260040161067290611db1565b6060600c805461057a90611f17565b6060816113f75750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611421578061140b81611f52565b915061141a9050600a83611ea1565b91506113fb565b60008167ffffffffffffffff81111561143c5761143c611fd9565b6040519080825280601f01601f191660200182016040528015611466576020820181803683370190505b5090505b84156110a35761147b600183611ed4565b9150611488600a86611f6d565b611493906030611e89565b60f81b8183815181106114a8576114a8611fc3565b60200101906001600160f81b031916908160001a9053506114ca600a86611ea1565b945061146a565b6001600160a01b03831661152c5761152781600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61154f565b816001600160a01b0316836001600160a01b03161461154f5761154f83826116c9565b6001600160a01b038216611566576107a881611766565b826001600160a01b0316826001600160a01b0316146107a8576107a88282611815565b6115938383611859565b6115a060008484846115bc565b6107a85760405162461bcd60e51b815260040161067290611db1565b60006001600160a01b0384163b156116be57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611600903390899088908890600401611d61565b602060405180830381600087803b15801561161a57600080fd5b505af192505050801561164a575060408051601f3d908101601f1916820190925261164791810190611c5e565b60015b6116a4573d808015611678576040519150601f19603f3d011682016040523d82523d6000602084013e61167d565b606091505b50805161169c5760405162461bcd60e51b815260040161067290611db1565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506110a3565b506001949350505050565b600060016116d684610adc565b6116e09190611ed4565b600083815260076020526040902054909150808214611733576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061177890600190611ed4565b600083815260096020526040812054600880549394509092849081106117a0576117a0611fc3565b9060005260206000200154905080600883815481106117c1576117c1611fc3565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806117f9576117f9611fad565b6001900381819060005260206000200160009055905550505050565b600061182083610adc565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166118af5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610672565b6000818152600260205260409020546001600160a01b0316156119145760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610672565b611920600083836114d1565b6001600160a01b0382166000908152600360205260408120805460019290611949908490611e89565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546119b390611f17565b90600052602060002090601f0160209004810192826119d55760008555611a1b565b82601f106119ee5782800160ff19823516178555611a1b565b82800160010185558215611a1b579182015b82811115611a1b578235825591602001919060010190611a00565b50611a27929150611a2b565b5090565b5b80821115611a275760008155600101611a2c565b80356001600160a01b0381168114611a5757600080fd5b919050565b80358015158114611a5757600080fd5b600060208284031215611a7e57600080fd5b610e5482611a40565b60008060408385031215611a9a57600080fd5b611aa383611a40565b9150611ab160208401611a40565b90509250929050565b600080600060608486031215611acf57600080fd5b611ad884611a40565b9250611ae660208501611a40565b9150604084013590509250925092565b60008060008060808587031215611b0c57600080fd5b611b1585611a40565b9350611b2360208601611a40565b925060408501359150606085013567ffffffffffffffff80821115611b4757600080fd5b818701915087601f830112611b5b57600080fd5b813581811115611b6d57611b6d611fd9565b604051601f8201601f19908116603f01168101908382118183101715611b9557611b95611fd9565b816040528281528a6020848701011115611bae57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611be557600080fd5b611bee83611a40565b9150611ab160208401611a5c565b60008060408385031215611c0f57600080fd5b611c1883611a40565b946020939093013593505050565b600060208284031215611c3857600080fd5b610e5482611a5c565b600060208284031215611c5357600080fd5b8135610e5481611fef565b600060208284031215611c7057600080fd5b8151610e5481611fef565b60008060208385031215611c8e57600080fd5b823567ffffffffffffffff80821115611ca657600080fd5b818501915085601f830112611cba57600080fd5b813581811115611cc957600080fd5b866020828501011115611cdb57600080fd5b60209290920196919550909350505050565b600060208284031215611cff57600080fd5b5035919050565b60008151808452611d1e816020860160208601611eeb565b601f01601f19169290920160200192915050565b60008351611d44818460208801611eeb565b835190830190611d58818360208801611eeb565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611d9490830184611d06565b9695505050505050565b602081526000610e546020830184611d06565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115611e9c57611e9c611f81565b500190565b600082611eb057611eb0611f97565b500490565b6000816000190483118215151615611ecf57611ecf611f81565b500290565b600082821015611ee657611ee6611f81565b500390565b60005b83811015611f06578181015183820152602001611eee565b83811115610d7a5750506000910152565b600181811c90821680611f2b57607f821691505b60208210811415611f4c57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611f6657611f66611f81565b5060010190565b600082611f7c57611f7c611f97565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610ef357600080fdfea2646970667358221220de8e6eef88eb8da11dc7902cc81b24267f5d91a2b8c98f596418214d9c45db4464736f6c63430008070033

Deployed Bytecode Sourcemap

44558:1377:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35845:224;;;;;;;;;;-1:-1:-1;35845:224:0;;;;;:::i;:::-;;:::i;:::-;;;5881:14:1;;5874:22;5856:41;;5844:2;5829:18;35845:224:0;;;;;;;;22254:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;23813:221::-;;;;;;;;;;-1:-1:-1;23813:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5179:32:1;;;5161:51;;5149:2;5134:18;23813:221:0;5015:203:1;23336:411:0;;;;;;;;;;-1:-1:-1;23336:411:0;;;;;:::i;:::-;;:::i;:::-;;36485:113;;;;;;;;;;-1:-1:-1;36573:10:0;:17;36485:113;;;14534:25:1;;;14522:2;14507:18;36485:113:0;14388:177:1;44820:34:0;;;;;;;;;;-1:-1:-1;44820:34:0;;;;;;;;24563:339;;;;;;;;;;-1:-1:-1;24563:339:0;;;;;:::i;:::-;;:::i;36153:256::-;;;;;;;;;;-1:-1:-1;36153:256:0;;;;;:::i;:::-;;:::i;45818:114::-;;;;;;;;;;;;;:::i;24973:185::-;;;;;;;;;;-1:-1:-1;24973:185:0;;;;;:::i;:::-;;:::i;44688:75::-;;;;;;;;;;;;;:::i;36675:233::-;;;;;;;;;;-1:-1:-1;36675:233:0;;;;;:::i;:::-;;:::i;45713:97::-;;;;;;;;;;-1:-1:-1;45713:97:0;;;;;:::i;:::-;;:::i;21948:239::-;;;;;;;;;;-1:-1:-1;21948:239:0;;;;;:::i;:::-;;:::i;45030:88::-;;;;;;;;;;-1:-1:-1;45030:88:0;;;;;:::i;:::-;;:::i;21678:208::-;;;;;;;;;;-1:-1:-1;21678:208:0;;;;;:::i;:::-;;:::i;43712:103::-;;;;;;;;;;;;;:::i;44642:37::-;;;;;;;;;;;;;;;;43061:87;;;;;;;;;;-1:-1:-1;43134:6:0;;-1:-1:-1;;;;;43134:6:0;43061:87;;22423:104;;;;;;;;;;;;;:::i;45126:455::-;;;;;;:::i;:::-;;:::i;24106:155::-;;;;;;;;;;-1:-1:-1;24106:155:0;;;;;:::i;:::-;;:::i;44930:92::-;;;;;;;;;;-1:-1:-1;44930:92:0;;;;;:::i;:::-;;:::i;25229:328::-;;;;;;;;;;-1:-1:-1;25229:328:0;;;;;:::i;:::-;;:::i;22598:334::-;;;;;;;;;;-1:-1:-1;22598:334:0;;;;;:::i;:::-;;:::i;24332:164::-;;;;;;;;;;-1:-1:-1;24332:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;24453:25:0;;;24429:4;24453:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;24332:164;43970:201;;;;;;;;;;-1:-1:-1;43970:201:0;;;;;:::i;:::-;;:::i;44772:39::-;;;;;;;;;;;;;;;;35845:224;35947:4;-1:-1:-1;;;;;;35971:50:0;;-1:-1:-1;;;35971:50:0;;:90;;;36025:36;36049:11;36025:23;:36::i;:::-;35964:97;35845:224;-1:-1:-1;;35845:224:0:o;22254:100::-;22308:13;22341:5;22334:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22254:100;:::o;23813:221::-;23889:7;27156:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27156:16:0;23909:73;;;;-1:-1:-1;;;23909:73:0;;11050:2:1;23909:73:0;;;11032:21:1;11089:2;11069:18;;;11062:30;11128:34;11108:18;;;11101:62;-1:-1:-1;;;11179:18:1;;;11172:42;11231:19;;23909:73:0;;;;;;;;;-1:-1:-1;24002:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;24002:24:0;;23813:221::o;23336:411::-;23417:13;23433:23;23448:7;23433:14;:23::i;:::-;23417:39;;23481:5;-1:-1:-1;;;;;23475:11:0;:2;-1:-1:-1;;;;;23475:11:0;;;23467:57;;;;-1:-1:-1;;;23467:57:0;;12650:2:1;23467:57:0;;;12632:21:1;12689:2;12669:18;;;12662:30;12728:34;12708:18;;;12701:62;-1:-1:-1;;;12779:18:1;;;12772:31;12820:19;;23467:57:0;12448:397:1;23467:57:0;16610:10;-1:-1:-1;;;;;23559:21:0;;;;:62;;-1:-1:-1;23584:37:0;23601:5;16610:10;24332:164;:::i;23584:37::-;23537:168;;;;-1:-1:-1;;;23537:168:0;;9443:2:1;23537:168:0;;;9425:21:1;9482:2;9462:18;;;9455:30;9521:34;9501:18;;;9494:62;9592:26;9572:18;;;9565:54;9636:19;;23537:168:0;9241:420:1;23537:168:0;23718:21;23727:2;23731:7;23718:8;:21::i;:::-;23406:341;23336:411;;:::o;24563:339::-;24758:41;16610:10;24791:7;24758:18;:41::i;:::-;24750:103;;;;-1:-1:-1;;;24750:103:0;;;;;;;:::i;:::-;24866:28;24876:4;24882:2;24886:7;24866:9;:28::i;36153:256::-;36250:7;36286:23;36303:5;36286:16;:23::i;:::-;36278:5;:31;36270:87;;;;-1:-1:-1;;;36270:87:0;;6334:2:1;36270:87:0;;;6316:21:1;6373:2;6353:18;;;6346:30;6412:34;6392:18;;;6385:62;-1:-1:-1;;;6463:18:1;;;6456:41;6514:19;;36270:87:0;6132:407:1;36270:87:0;-1:-1:-1;;;;;;36375:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;36153:256::o;45818:114::-;43134:6;;-1:-1:-1;;;;;43134:6:0;16610:10;43281:23;43273:68;;;;-1:-1:-1;;;43273:68:0;;;;;;;:::i;:::-;45876:47:::1;::::0;45884:10:::1;::::0;45901:21:::1;45876:47:::0;::::1;;;::::0;::::1;::::0;;;45901:21;45884:10;45876:47;::::1;;;;;;45868:56;;;::::0;::::1;;45818:114::o:0;24973:185::-;25111:39;25128:4;25134:2;25138:7;25111:39;;;;;;;;;;;;:16;:39::i;44688:75::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;36675:233::-;36750:7;36786:30;36573:10;:17;;36485:113;36786:30;36778:5;:38;36770:95;;;;-1:-1:-1;;;36770:95:0;;13470:2:1;36770:95:0;;;13452:21:1;13509:2;13489:18;;;13482:30;13548:34;13528:18;;;13521:62;-1:-1:-1;;;13599:18:1;;;13592:42;13651:19;;36770:95:0;13268:408:1;36770:95:0;36883:10;36894:5;36883:17;;;;;;;;:::i;:::-;;;;;;;;;36876:24;;36675:233;;;:::o;45713:97::-;43134:6;;-1:-1:-1;;;;;43134:6:0;16610:10;43281:23;43273:68;;;;-1:-1:-1;;;43273:68:0;;;;;;;:::i;:::-;45784:18:::1;:12;45799:3:::0;;45784:18:::1;:::i;21948:239::-:0;22020:7;22056:16;;;:7;:16;;;;;;-1:-1:-1;;;;;22056:16:0;22091:19;22083:73;;;;-1:-1:-1;;;22083:73:0;;10279:2:1;22083:73:0;;;10261:21:1;10318:2;10298:18;;;10291:30;10357:34;10337:18;;;10330:62;-1:-1:-1;;;10408:18:1;;;10401:39;10457:19;;22083:73:0;10077:405:1;45030:88:0;43134:6;;-1:-1:-1;;;;;43134:6:0;16610:10;43281:23;43273:68;;;;-1:-1:-1;;;43273:68:0;;;;;;;:::i;:::-;45094:10:::1;:16:::0;45030:88::o;21678:208::-;21750:7;-1:-1:-1;;;;;21778:19:0;;21770:74;;;;-1:-1:-1;;;21770:74:0;;9868:2:1;21770:74:0;;;9850:21:1;9907:2;9887:18;;;9880:30;9946:34;9926:18;;;9919:62;-1:-1:-1;;;9997:18:1;;;9990:40;10047:19;;21770:74:0;9666:406:1;21770:74:0;-1:-1:-1;;;;;;21862:16:0;;;;;:9;:16;;;;;;;21678:208::o;43712:103::-;43134:6;;-1:-1:-1;;;;;43134:6:0;16610:10;43281:23;43273:68;;;;-1:-1:-1;;;43273:68:0;;;;;;;:::i;:::-;43777:30:::1;43804:1;43777:18;:30::i;22423:104::-:0;22479:13;22512:7;22505:14;;;;;:::i;45126:455::-;45218:6;45205:10;;:19;;;;:::i;:::-;45192:9;:32;;45184:58;;;;-1:-1:-1;;;45184:58:0;;7929:2:1;45184:58:0;;;7911:21:1;7968:2;7948:18;;;7941:30;-1:-1:-1;;;7987:18:1;;;7980:43;8040:18;;45184:58:0;7727:337:1;45184:58:0;45261:14;;;;45253:50;;;;-1:-1:-1;;;45253:50:0;;13883:2:1;45253:50:0;;;13865:21:1;13922:2;13902:18;;;13895:30;13961:25;13941:18;;;13934:53;14004:18;;45253:50:0;13681:347:1;45253:50:0;45332:17;;45322:6;:27;;45314:66;;;;-1:-1:-1;;;45314:66:0;;14235:2:1;45314:66:0;;;14217:21:1;14274:2;14254:18;;;14247:30;14313:28;14293:18;;;14286:56;14359:18;;45314:66:0;14033:350:1;45314:66:0;45393:14;45410:13;36573:10;:17;;36485:113;45410:13;45393:30;;45438:9;45434:100;45457:6;45453:1;:10;45434:100;;;45485:37;45495:10;45520:1;45507:10;45511:6;45507:1;:10;:::i;:::-;:14;;;;:::i;:::-;45485:9;:37::i;:::-;45465:3;;;;:::i;:::-;;;;45434:100;;;;45567:6;45546:17;;:27;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;45126:455:0:o;24106:155::-;24201:52;16610:10;24234:8;24244;24201:18;:52::i;:::-;24106:155;;:::o;44930:92::-;43134:6;;-1:-1:-1;;;;;43134:6:0;16610:10;43281:23;43273:68;;;;-1:-1:-1;;;43273:68:0;;;;;;;:::i;:::-;44994:14:::1;:20:::0;;-1:-1:-1;;44994:20:0::1;::::0;::::1;;::::0;;;::::1;::::0;;44930:92::o;25229:328::-;25404:41;16610:10;25437:7;25404:18;:41::i;:::-;25396:103;;;;-1:-1:-1;;;25396:103:0;;;;;;;:::i;:::-;25510:39;25524:4;25530:2;25534:7;25543:5;25510:13;:39::i;:::-;25229:328;;;;:::o;22598:334::-;27132:4;27156:16;;;:7;:16;;;;;;22671:13;;-1:-1:-1;;;;;27156:16:0;22697:76;;;;-1:-1:-1;;;22697:76:0;;12234:2:1;22697:76:0;;;12216:21:1;12273:2;12253:18;;;12246:30;12312:34;12292:18;;;12285:62;-1:-1:-1;;;12363:18:1;;;12356:45;12418:19;;22697:76:0;12032:411:1;22697:76:0;22786:21;22810:10;:8;:10::i;:::-;22786:34;;22862:1;22844:7;22838:21;:25;:86;;;;;;;;;;;;;;;;;22890:7;22899:18;:7;:16;:18::i;:::-;22873:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;22838:86;22831:93;22598:334;-1:-1:-1;;;22598:334:0:o;43970:201::-;43134:6;;-1:-1:-1;;;;;43134:6:0;16610:10;43281:23;43273:68;;;;-1:-1:-1;;;43273:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;44059:22:0;::::1;44051:73;;;::::0;-1:-1:-1;;;44051:73:0;;7165:2:1;44051:73:0::1;::::0;::::1;7147:21:1::0;7204:2;7184:18;;;7177:30;7243:34;7223:18;;;7216:62;-1:-1:-1;;;7294:18:1;;;7287:36;7340:19;;44051:73:0::1;6963:402:1::0;44051:73:0::1;44135:28;44154:8;44135:18;:28::i;:::-;43970:201:::0;:::o;21309:305::-;21411:4;-1:-1:-1;;;;;;21448:40:0;;-1:-1:-1;;;21448:40:0;;:105;;-1:-1:-1;;;;;;;21505:48:0;;-1:-1:-1;;;21505:48:0;21448:105;:158;;;-1:-1:-1;;;;;;;;;;19856:40:0;;;21570:36;19747:157;31049:174;31124:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;31124:29:0;-1:-1:-1;;;;;31124:29:0;;;;;;;;:24;;31178:23;31124:24;31178:14;:23::i;:::-;-1:-1:-1;;;;;31169:46:0;;;;;;;;;;;31049:174;;:::o;27361:348::-;27454:4;27156:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27156:16:0;27471:73;;;;-1:-1:-1;;;27471:73:0;;9030:2:1;27471:73:0;;;9012:21:1;9069:2;9049:18;;;9042:30;9108:34;9088:18;;;9081:62;-1:-1:-1;;;9159:18:1;;;9152:42;9211:19;;27471:73:0;8828:408:1;27471:73:0;27555:13;27571:23;27586:7;27571:14;:23::i;:::-;27555:39;;27624:5;-1:-1:-1;;;;;27613:16:0;:7;-1:-1:-1;;;;;27613:16:0;;:51;;;;27657:7;-1:-1:-1;;;;;27633:31:0;:20;27645:7;27633:11;:20::i;:::-;-1:-1:-1;;;;;27633:31:0;;27613:51;:87;;;-1:-1:-1;;;;;;24453:25:0;;;24429:4;24453:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;27668:32;27605:96;27361:348;-1:-1:-1;;;;27361:348:0:o;30353:578::-;30512:4;-1:-1:-1;;;;;30485:31:0;:23;30500:7;30485:14;:23::i;:::-;-1:-1:-1;;;;;30485:31:0;;30477:85;;;;-1:-1:-1;;;30477:85:0;;11824:2:1;30477:85:0;;;11806:21:1;11863:2;11843:18;;;11836:30;11902:34;11882:18;;;11875:62;-1:-1:-1;;;11953:18:1;;;11946:39;12002:19;;30477:85:0;11622:405:1;30477:85:0;-1:-1:-1;;;;;30581:16:0;;30573:65;;;;-1:-1:-1;;;30573:65:0;;8271:2:1;30573:65:0;;;8253:21:1;8310:2;8290:18;;;8283:30;8349:34;8329:18;;;8322:62;-1:-1:-1;;;8400:18:1;;;8393:34;8444:19;;30573:65:0;8069:400:1;30573:65:0;30651:39;30672:4;30678:2;30682:7;30651:20;:39::i;:::-;30755:29;30772:1;30776:7;30755:8;:29::i;:::-;-1:-1:-1;;;;;30797:15:0;;;;;;:9;:15;;;;;:20;;30816:1;;30797:15;:20;;30816:1;;30797:20;:::i;:::-;;;;-1:-1:-1;;;;;;;30828:13:0;;;;;;:9;:13;;;;;:18;;30845:1;;30828:13;:18;;30845:1;;30828:18;:::i;:::-;;;;-1:-1:-1;;30857:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;30857:21:0;-1:-1:-1;;;;;30857:21:0;;;;;;;;;30896:27;;30857:16;;30896:27;;;;;;;30353:578;;;:::o;44331:191::-;44424:6;;;-1:-1:-1;;;;;44441:17:0;;;-1:-1:-1;;;;;;44441:17:0;;;;;;;44474:40;;44424:6;;;44441:17;44424:6;;44474:40;;44405:16;;44474:40;44394:128;44331:191;:::o;28051:110::-;28127:26;28137:2;28141:7;28127:26;;;;;;;;;;;;:9;:26::i;31365:315::-;31520:8;-1:-1:-1;;;;;31511:17:0;:5;-1:-1:-1;;;;;31511:17:0;;;31503:55;;;;-1:-1:-1;;;31503:55:0;;8676:2:1;31503:55:0;;;8658:21:1;8715:2;8695:18;;;8688:30;8754:27;8734:18;;;8727:55;8799:18;;31503:55:0;8474:349:1;31503:55:0;-1:-1:-1;;;;;31569:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;31569:46:0;;;;;;;;;;31631:41;;5856::1;;;31631::0;;5829:18:1;31631:41:0;;;;;;;31365:315;;;:::o;26439:::-;26596:28;26606:4;26612:2;26616:7;26596:9;:28::i;:::-;26643:48;26666:4;26672:2;26676:7;26685:5;26643:22;:48::i;:::-;26635:111;;;;-1:-1:-1;;;26635:111:0;;;;;;;:::i;45589:113::-;45649:13;45682:12;45675:19;;;;;:::i;17117:723::-;17173:13;17394:10;17390:53;;-1:-1:-1;;17421:10:0;;;;;;;;;;;;-1:-1:-1;;;17421:10:0;;;;;17117:723::o;17390:53::-;17468:5;17453:12;17509:78;17516:9;;17509:78;;17542:8;;;;:::i;:::-;;-1:-1:-1;17565:10:0;;-1:-1:-1;17573:2:0;17565:10;;:::i;:::-;;;17509:78;;;17597:19;17629:6;17619:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17619:17:0;;17597:39;;17647:154;17654:10;;17647:154;;17681:11;17691:1;17681:11;;:::i;:::-;;-1:-1:-1;17750:10:0;17758:2;17750:5;:10;:::i;:::-;17737:24;;:2;:24;:::i;:::-;17724:39;;17707:6;17714;17707:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;17707:56:0;;;;;;;;-1:-1:-1;17778:11:0;17787:2;17778:11;;:::i;:::-;;;17647:154;;37521:589;-1:-1:-1;;;;;37727:18:0;;37723:187;;37762:40;37794:7;38937:10;:17;;38910:24;;;;:15;:24;;;;;:44;;;38965:24;;;;;;;;;;;;38833:164;37762:40;37723:187;;;37832:2;-1:-1:-1;;;;;37824:10:0;:4;-1:-1:-1;;;;;37824:10:0;;37820:90;;37851:47;37884:4;37890:7;37851:32;:47::i;:::-;-1:-1:-1;;;;;37924:16:0;;37920:183;;37957:45;37994:7;37957:36;:45::i;37920:183::-;38030:4;-1:-1:-1;;;;;38024:10:0;:2;-1:-1:-1;;;;;38024:10:0;;38020:83;;38051:40;38079:2;38083:7;38051:27;:40::i;28388:321::-;28518:18;28524:2;28528:7;28518:5;:18::i;:::-;28569:54;28600:1;28604:2;28608:7;28617:5;28569:22;:54::i;:::-;28547:154;;;;-1:-1:-1;;;28547:154:0;;;;;;;:::i;32245:799::-;32400:4;-1:-1:-1;;;;;32421:13:0;;8835:20;8883:8;32417:620;;32457:72;;-1:-1:-1;;;32457:72:0;;-1:-1:-1;;;;;32457:36:0;;;;;:72;;16610:10;;32508:4;;32514:7;;32523:5;;32457:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32457:72:0;;;;;;;;-1:-1:-1;;32457:72:0;;;;;;;;;;;;:::i;:::-;;;32453:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32699:13:0;;32695:272;;32742:60;;-1:-1:-1;;;32742:60:0;;;;;;;:::i;32695:272::-;32917:6;32911:13;32902:6;32898:2;32894:15;32887:38;32453:529;-1:-1:-1;;;;;;32580:51:0;-1:-1:-1;;;32580:51:0;;-1:-1:-1;32573:58:0;;32417:620;-1:-1:-1;33021:4:0;32245:799;;;;;;:::o;39624:988::-;39890:22;39940:1;39915:22;39932:4;39915:16;:22::i;:::-;:26;;;;:::i;:::-;39952:18;39973:26;;;:17;:26;;;;;;39890:51;;-1:-1:-1;40106:28:0;;;40102:328;;-1:-1:-1;;;;;40173:18:0;;40151:19;40173:18;;;:12;:18;;;;;;;;:34;;;;;;;;;40224:30;;;;;;:44;;;40341:30;;:17;:30;;;;;:43;;;40102:328;-1:-1:-1;40526:26:0;;;;:17;:26;;;;;;;;40519:33;;;-1:-1:-1;;;;;40570:18:0;;;;;:12;:18;;;;;:34;;;;;;;40563:41;39624:988::o;40907:1079::-;41185:10;:17;41160:22;;41185:21;;41205:1;;41185:21;:::i;:::-;41217:18;41238:24;;;:15;:24;;;;;;41611:10;:26;;41160:46;;-1:-1:-1;41238:24:0;;41160:46;;41611:26;;;;;;:::i;:::-;;;;;;;;;41589:48;;41675:11;41650:10;41661;41650:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;41755:28;;;:15;:28;;;;;;;:41;;;41927:24;;;;;41920:31;41962:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;40978:1008;;;40907:1079;:::o;38411:221::-;38496:14;38513:20;38530:2;38513:16;:20::i;:::-;-1:-1:-1;;;;;38544:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;38589:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;38411:221:0:o;29045:382::-;-1:-1:-1;;;;;29125:16:0;;29117:61;;;;-1:-1:-1;;;29117:61:0;;10689:2:1;29117:61:0;;;10671:21:1;;;10708:18;;;10701:30;10767:34;10747:18;;;10740:62;10819:18;;29117:61:0;10487:356:1;29117:61:0;27132:4;27156:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27156:16:0;:30;29189:58;;;;-1:-1:-1;;;29189:58:0;;7572:2:1;29189:58:0;;;7554:21:1;7611:2;7591:18;;;7584:30;7650;7630:18;;;7623:58;7698:18;;29189:58:0;7370:352:1;29189:58:0;29260:45;29289:1;29293:2;29297:7;29260:20;:45::i;:::-;-1:-1:-1;;;;;29318:13:0;;;;;;:9;:13;;;;;:18;;29335:1;;29318:13;:18;;29335:1;;29318:18;:::i;:::-;;;;-1:-1:-1;;29347:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;29347:21:0;-1:-1:-1;;;;;29347:21:0;;;;;;;;29386:33;;29347:16;;;29386:33;;29347:16;;29386:33;29045:382;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:173:1;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:160::-;257:20;;313:13;;306:21;296:32;;286:60;;342:1;339;332:12;357:186;416:6;469:2;457:9;448:7;444:23;440:32;437:52;;;485:1;482;475:12;437:52;508:29;527:9;508:29;:::i;548:260::-;616:6;624;677:2;665:9;656:7;652:23;648:32;645:52;;;693:1;690;683:12;645:52;716:29;735:9;716:29;:::i;:::-;706:39;;764:38;798:2;787:9;783:18;764:38;:::i;:::-;754:48;;548:260;;;;;:::o;813:328::-;890:6;898;906;959:2;947:9;938:7;934:23;930:32;927:52;;;975:1;972;965:12;927:52;998:29;1017:9;998:29;:::i;:::-;988:39;;1046:38;1080:2;1069:9;1065:18;1046:38;:::i;:::-;1036:48;;1131:2;1120:9;1116:18;1103:32;1093:42;;813:328;;;;;:::o;1146:1138::-;1241:6;1249;1257;1265;1318:3;1306:9;1297:7;1293:23;1289:33;1286:53;;;1335:1;1332;1325:12;1286:53;1358:29;1377:9;1358:29;:::i;:::-;1348:39;;1406:38;1440:2;1429:9;1425:18;1406:38;:::i;:::-;1396:48;;1491:2;1480:9;1476:18;1463:32;1453:42;;1546:2;1535:9;1531:18;1518:32;1569:18;1610:2;1602:6;1599:14;1596:34;;;1626:1;1623;1616:12;1596:34;1664:6;1653:9;1649:22;1639:32;;1709:7;1702:4;1698:2;1694:13;1690:27;1680:55;;1731:1;1728;1721:12;1680:55;1767:2;1754:16;1789:2;1785;1782:10;1779:36;;;1795:18;;:::i;:::-;1870:2;1864:9;1838:2;1924:13;;-1:-1:-1;;1920:22:1;;;1944:2;1916:31;1912:40;1900:53;;;1968:18;;;1988:22;;;1965:46;1962:72;;;2014:18;;:::i;:::-;2054:10;2050:2;2043:22;2089:2;2081:6;2074:18;2129:7;2124:2;2119;2115;2111:11;2107:20;2104:33;2101:53;;;2150:1;2147;2140:12;2101:53;2206:2;2201;2197;2193:11;2188:2;2180:6;2176:15;2163:46;2251:1;2246:2;2241;2233:6;2229:15;2225:24;2218:35;2272:6;2262:16;;;;;;;1146:1138;;;;;;;:::o;2289:254::-;2354:6;2362;2415:2;2403:9;2394:7;2390:23;2386:32;2383:52;;;2431:1;2428;2421:12;2383:52;2454:29;2473:9;2454:29;:::i;:::-;2444:39;;2502:35;2533:2;2522:9;2518:18;2502:35;:::i;2548:254::-;2616:6;2624;2677:2;2665:9;2656:7;2652:23;2648:32;2645:52;;;2693:1;2690;2683:12;2645:52;2716:29;2735:9;2716:29;:::i;:::-;2706:39;2792:2;2777:18;;;;2764:32;;-1:-1:-1;;;2548:254:1:o;2807:180::-;2863:6;2916:2;2904:9;2895:7;2891:23;2887:32;2884:52;;;2932:1;2929;2922:12;2884:52;2955:26;2971:9;2955:26;:::i;2992:245::-;3050:6;3103:2;3091:9;3082:7;3078:23;3074:32;3071:52;;;3119:1;3116;3109:12;3071:52;3158:9;3145:23;3177:30;3201:5;3177:30;:::i;3242:249::-;3311:6;3364:2;3352:9;3343:7;3339:23;3335:32;3332:52;;;3380:1;3377;3370:12;3332:52;3412:9;3406:16;3431:30;3455:5;3431:30;:::i;3496:592::-;3567:6;3575;3628:2;3616:9;3607:7;3603:23;3599:32;3596:52;;;3644:1;3641;3634:12;3596:52;3684:9;3671:23;3713:18;3754:2;3746:6;3743:14;3740:34;;;3770:1;3767;3760:12;3740:34;3808:6;3797:9;3793:22;3783:32;;3853:7;3846:4;3842:2;3838:13;3834:27;3824:55;;3875:1;3872;3865:12;3824:55;3915:2;3902:16;3941:2;3933:6;3930:14;3927:34;;;3957:1;3954;3947:12;3927:34;4002:7;3997:2;3988:6;3984:2;3980:15;3976:24;3973:37;3970:57;;;4023:1;4020;4013:12;3970:57;4054:2;4046:11;;;;;4076:6;;-1:-1:-1;3496:592:1;;-1:-1:-1;;;;3496:592:1:o;4093:180::-;4152:6;4205:2;4193:9;4184:7;4180:23;4176:32;4173:52;;;4221:1;4218;4211:12;4173:52;-1:-1:-1;4244:23:1;;4093:180;-1:-1:-1;4093:180:1:o;4278:257::-;4319:3;4357:5;4351:12;4384:6;4379:3;4372:19;4400:63;4456:6;4449:4;4444:3;4440:14;4433:4;4426:5;4422:16;4400:63;:::i;:::-;4517:2;4496:15;-1:-1:-1;;4492:29:1;4483:39;;;;4524:4;4479:50;;4278:257;-1:-1:-1;;4278:257:1:o;4540:470::-;4719:3;4757:6;4751:13;4773:53;4819:6;4814:3;4807:4;4799:6;4795:17;4773:53;:::i;:::-;4889:13;;4848:16;;;;4911:57;4889:13;4848:16;4945:4;4933:17;;4911:57;:::i;:::-;4984:20;;4540:470;-1:-1:-1;;;;4540:470:1:o;5223:488::-;-1:-1:-1;;;;;5492:15:1;;;5474:34;;5544:15;;5539:2;5524:18;;5517:43;5591:2;5576:18;;5569:34;;;5639:3;5634:2;5619:18;;5612:31;;;5417:4;;5660:45;;5685:19;;5677:6;5660:45;:::i;:::-;5652:53;5223:488;-1:-1:-1;;;;;;5223:488:1:o;5908:219::-;6057:2;6046:9;6039:21;6020:4;6077:44;6117:2;6106:9;6102:18;6094:6;6077:44;:::i;6544:414::-;6746:2;6728:21;;;6785:2;6765:18;;;6758:30;6824:34;6819:2;6804:18;;6797:62;-1:-1:-1;;;6890:2:1;6875:18;;6868:48;6948:3;6933:19;;6544:414::o;11261:356::-;11463:2;11445:21;;;11482:18;;;11475:30;11541:34;11536:2;11521:18;;11514:62;11608:2;11593:18;;11261:356::o;12850:413::-;13052:2;13034:21;;;13091:2;13071:18;;;13064:30;13130:34;13125:2;13110:18;;13103:62;-1:-1:-1;;;13196:2:1;13181:18;;13174:47;13253:3;13238:19;;12850:413::o;14570:128::-;14610:3;14641:1;14637:6;14634:1;14631:13;14628:39;;;14647:18;;:::i;:::-;-1:-1:-1;14683:9:1;;14570:128::o;14703:120::-;14743:1;14769;14759:35;;14774:18;;:::i;:::-;-1:-1:-1;14808:9:1;;14703:120::o;14828:168::-;14868:7;14934:1;14930;14926:6;14922:14;14919:1;14916:21;14911:1;14904:9;14897:17;14893:45;14890:71;;;14941:18;;:::i;:::-;-1:-1:-1;14981:9:1;;14828:168::o;15001:125::-;15041:4;15069:1;15066;15063:8;15060:34;;;15074:18;;:::i;:::-;-1:-1:-1;15111:9:1;;15001:125::o;15131:258::-;15203:1;15213:113;15227:6;15224:1;15221:13;15213:113;;;15303:11;;;15297:18;15284:11;;;15277:39;15249:2;15242:10;15213:113;;;15344:6;15341:1;15338:13;15335:48;;;-1:-1:-1;;15379:1:1;15361:16;;15354:27;15131:258::o;15394:380::-;15473:1;15469:12;;;;15516;;;15537:61;;15591:4;15583:6;15579:17;15569:27;;15537:61;15644:2;15636:6;15633:14;15613:18;15610:38;15607:161;;;15690:10;15685:3;15681:20;15678:1;15671:31;15725:4;15722:1;15715:15;15753:4;15750:1;15743:15;15607:161;;15394:380;;;:::o;15779:135::-;15818:3;-1:-1:-1;;15839:17:1;;15836:43;;;15859:18;;:::i;:::-;-1:-1:-1;15906:1:1;15895:13;;15779:135::o;15919:112::-;15951:1;15977;15967:35;;15982:18;;:::i;:::-;-1:-1:-1;16016:9:1;;15919:112::o;16036:127::-;16097:10;16092:3;16088:20;16085:1;16078:31;16128:4;16125:1;16118:15;16152:4;16149:1;16142:15;16168:127;16229:10;16224:3;16220:20;16217:1;16210:31;16260:4;16257:1;16250:15;16284:4;16281:1;16274:15;16300:127;16361:10;16356:3;16352:20;16349:1;16342:31;16392:4;16389:1;16382:15;16416:4;16413:1;16406:15;16432:127;16493:10;16488:3;16484:20;16481:1;16474:31;16524:4;16521:1;16514:15;16548:4;16545:1;16538:15;16564:127;16625:10;16620:3;16616:20;16613:1;16606:31;16656:4;16653:1;16646:15;16680:4;16677:1;16670:15;16696:131;-1:-1:-1;;;;;;16770:32:1;;16760:43;;16750:71;;16817:1;16814;16807:12

Swarm Source

ipfs://de8e6eef88eb8da11dc7902cc81b24267f5d91a2b8c98f596418214d9c45db44
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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