ETH Price: $3,345.25 (-1.03%)

Contract

0x40519c7f85859E44500e3cB4F57848AfDeaF5E5a
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer From174946652023-06-16 20:06:47560 days ago1686946007IN
0x40519c7f...fDeaF5E5a
0 ETH0.0018474522.06888732
Set Approval For...165865112023-02-08 20:46:23688 days ago1675889183IN
0x40519c7f...fDeaF5E5a
0 ETH0.0019281441.76829345
Set Approval For...163888382023-01-12 6:09:23715 days ago1673503763IN
0x40519c7f...fDeaF5E5a
0 ETH0.0012728427.57283186
Transfer From159566852022-11-12 21:40:47776 days ago1668289247IN
0x40519c7f...fDeaF5E5a
0 ETH0.000795189.4989624
Set Approval For...153588652022-08-17 13:00:25863 days ago1660741225IN
0x40519c7f...fDeaF5E5a
0 ETH0.0004819310.43982679
Set Approval For...152831452022-08-05 15:27:23875 days ago1659713243IN
0x40519c7f...fDeaF5E5a
0 ETH0.0007237615.67852462
Transfer From151751342022-07-19 20:02:26892 days ago1658260946IN
0x40519c7f...fDeaF5E5a
0 ETH0.0025113930
Transfer From151751062022-07-19 19:57:21892 days ago1658260641IN
0x40519c7f...fDeaF5E5a
0 ETH0.0025113930
Set Approval For...151604682022-07-17 13:36:57894 days ago1658065017IN
0x40519c7f...fDeaF5E5a
0 ETH0.0003974416.34011217
Set Approval For...151487172022-07-15 17:38:25896 days ago1657906705IN
0x40519c7f...fDeaF5E5a
0 ETH0.0018639740.37818988
Transfer From151445512022-07-15 2:22:44897 days ago1657851764IN
0x40519c7f...fDeaF5E5a
0 ETH0.0032341937.40987892
Set Approval For...151445492022-07-15 2:22:17897 days ago1657851737IN
0x40519c7f...fDeaF5E5a
0 ETH0.0014279230.88401467
Transfer From151251522022-07-12 2:26:13900 days ago1657592773IN
0x40519c7f...fDeaF5E5a
0 ETH0.0015703817.59476357
Transfer From151251522022-07-12 2:26:13900 days ago1657592773IN
0x40519c7f...fDeaF5E5a
0 ETH0.001751517.59476357
Transfer From151251522022-07-12 2:26:13900 days ago1657592773IN
0x40519c7f...fDeaF5E5a
0 ETH0.001535317.59476357
Transfer From151251522022-07-12 2:26:13900 days ago1657592773IN
0x40519c7f...fDeaF5E5a
0 ETH0.0017517117.59476357
Transfer From151251522022-07-12 2:26:13900 days ago1657592773IN
0x40519c7f...fDeaF5E5a
0 ETH0.0015350917.59476357
Transfer From151251522022-07-12 2:26:13900 days ago1657592773IN
0x40519c7f...fDeaF5E5a
0 ETH0.0015350917.59476357
Transfer From151251522022-07-12 2:26:13900 days ago1657592773IN
0x40519c7f...fDeaF5E5a
0 ETH0.001535317.59476357
Transfer From151251522022-07-12 2:26:13900 days ago1657592773IN
0x40519c7f...fDeaF5E5a
0 ETH0.001535317.59476357
Transfer From151251522022-07-12 2:26:13900 days ago1657592773IN
0x40519c7f...fDeaF5E5a
0 ETH0.001535317.59476357
Transfer From151251522022-07-12 2:26:13900 days ago1657592773IN
0x40519c7f...fDeaF5E5a
0 ETH0.001535317.59476357
Transfer From151251522022-07-12 2:26:13900 days ago1657592773IN
0x40519c7f...fDeaF5E5a
0 ETH0.0015703817.59476357
Set Approval For...151251492022-07-12 2:25:52900 days ago1657592752IN
0x40519c7f...fDeaF5E5a
0 ETH0.0007474516.16230297
Set Approval For...151185082022-07-11 1:52:00901 days ago1657504320IN
0x40519c7f...fDeaF5E5a
0 ETH0.0005337911.54232424
View all transactions

Latest 3 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
141776572022-02-10 9:55:091051 days ago1644486909
0x40519c7f...fDeaF5E5a
2.16 ETH
141549962022-02-06 21:44:431055 days ago1644183883
0x40519c7f...fDeaF5E5a
13.84 ETH
141375282022-02-04 5:10:241058 days ago1643951424
0x40519c7f...fDeaF5E5a
0.2 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ChordusArena

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// SPDX-License-Identifier: MIT
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);
}

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

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

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

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

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

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a / b + (a % b == 0 ? 0 : 1);
    }
}


/**
 * @dev Collection of functions related to array types.
 */
library Arrays {
    /**
     * @dev Searches a sorted `array` and returns the first index that contains
     * a value greater or equal to `element`. If no such index exists (i.e. all
     * values in the array are strictly less than `element`), the array length is
     * returned. Time complexity O(log n).
     *
     * `array` is expected to be sorted in ascending order, and to contain no
     * repeated elements.
     */
    function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) {
        if (array.length == 0) {
            return 0;
        }

        uint256 low = 0;
        uint256 high = array.length;

        while (low < high) {
            uint256 mid = Math.average(low, high);

            // Note that mid will always be strictly less than high (i.e. it will be a valid array index)
            // because Math.average rounds down (it does integer division with truncation).
            if (array[mid] > element) {
                high = mid;
            } else {
                low = mid + 1;
            }
        }

        // At this point `low` is the exclusive upper bound. We will return the inclusive upper bound.
        if (low > 0 && array[low - 1] == element) {
            return low - 1;
        } else {
            return low;
        }
    }
}

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

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

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

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


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

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }
        return computedHash;
    }
}


contract ChordusArena is ERC721Enumerable, Ownable{
    using Address for address;
    using Strings for uint256;

    uint256 public NFT_PRICE = 0.05 ether;
    uint public constant MAX_NFT_PURCHASE = 20;
    uint public constant MAX_NFT_PURCHASE_PRESALE = 10;
    uint public MAX_SUPPLY = 5000;
    bool public saleIsActive = false;
    bool public presaleIsActive = false;
    bool public isMetadataLocked = false; // Base URL is frozen if true
    uint public nftReserve = 150;
    uint public plusOneDiscountQuantity = 4;

    mapping(address => uint256) _whiteListClaimed;

    string private _baseURIExtended;
    mapping (uint256 => string) _tokenURIs;

    bytes32 public merkleRoot;

    constructor() ERC721("Chordus Arena","CHORDUSARENA"){
    }

    function setPlusOneDiscountQuantity(uint count) public onlyOwner {
        require(0 < count, "plusOneDiscountQuantity Can't be 0");
        plusOneDiscountQuantity = count;
    }
    
    function whiteListClaimedBy(address owner) external view returns (uint256){
        require(owner != address(0), 'Zero address not on Allow List');     
        return _whiteListClaimed[owner];
    }    

    function flipSaleState() public onlyOwner {
        saleIsActive = !saleIsActive;
    }
    
    function lockMetadata() public onlyOwner {
        isMetadataLocked = true;
    }
    
    function flipPresaleState() public onlyOwner {
        presaleIsActive = !presaleIsActive;
    }

    function withdraw() public onlyOwner {
        uint balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }

    function reserveNFTs(address _to, uint256 _reserveAmount) public onlyOwner {
        require(_reserveAmount > 0 && _reserveAmount <= nftReserve,"Not enough reserve left for team");
        uint256 supply = totalSupply();
        for (uint256 i = 0; i < _reserveAmount; i++) {
            _safeMint(_to, supply + i + 1);
        }
        nftReserve = nftReserve - _reserveAmount;
    }

    function mint(uint numberOfTokens) public payable {
        require(saleIsActive, "Sale is not active at the moment");
        require(numberOfTokens > 0, "Number of tokens can not be less than or equal to 0");
        require( (totalSupply() + nftReserve + numberOfTokens) <= (MAX_SUPPLY), "Purchase would exceed max supply of NFTs");
        require(numberOfTokens <= MAX_NFT_PURCHASE,"Can only mint up to 10 per purchase");
        require( (NFT_PRICE * numberOfTokens) <= msg.value, "Sent ether value is incorrect");

        if (numberOfTokens == plusOneDiscountQuantity) {
            numberOfTokens++;
        }
        
        for (uint i = 0; i < numberOfTokens; i++) {
            _safeMint(msg.sender, totalSupply() + 1);
        }
    }
    
    function _mintPresale(uint numberOfTokens) internal {
        require(presaleIsActive, "Presale is not active at the moment");
        require(numberOfTokens > 0, "Number of tokens can not be less than or equal to 0");
        require( (totalSupply() + nftReserve + numberOfTokens) <= (MAX_SUPPLY), "Purchase would exceed max supply of NFTs");
        require(_whiteListClaimed[msg.sender] + numberOfTokens <= MAX_NFT_PURCHASE_PRESALE,"Exceeds supply of presale NFTs you can mint.");
        require( (NFT_PRICE * numberOfTokens) <= msg.value, "Sent ether value is incorrect");

        if (numberOfTokens == plusOneDiscountQuantity) {
            numberOfTokens++;
        }
        
        for (uint i = 0; i < numberOfTokens; i++) {
            _safeMint(msg.sender,  totalSupply() + 1);
        }
        _whiteListClaimed[msg.sender] += numberOfTokens;
    }

    function _verify(bytes32 _leafNode, bytes32[] memory proof) public view returns (bool) {
        return MerkleProof.verify(proof, merkleRoot, _leafNode);
    }

    function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner {
        merkleRoot = _merkleRoot;
    }

   function mintWhitelist(
       uint numberOfTokens,
       bytes32 _leafNode,
       bytes32[] calldata proof
    ) public payable {
        require(_verify(_leafNode, proof), "Invalid proof");
        _mintPresale(numberOfTokens);
    }

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

    function setBaseURI(string memory baseURI_) external onlyOwner {
        require(!isMetadataLocked,"Metadata is locked");
        _baseURIExtended = baseURI_;
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

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

    function setNFTPrice(uint256 newPrice) public onlyOwner {
        NFT_PRICE = newPrice;
    }

    function balanceOf() external view onlyOwner returns (uint256) {
        return 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":[],"name":"MAX_NFT_PURCHASE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_NFT_PURCHASE_PRESALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NFT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_leafNode","type":"bytes32"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"_verify","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipPresaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMetadataLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"bytes32","name":"_leafNode","type":"bytes32"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mintWhitelist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftReserve","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"plusOneDiscountQuantity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_reserveAmount","type":"uint256"}],"name":"reserveNFTs","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":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setNFTPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"setPlusOneDiscountQuantity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"whiteListClaimedBy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405266b1a2bc2ec50000600b55611388600c55600d805462ffffff191690556096600e556004600f553480156200003857600080fd5b50604080518082018252600d81526c43686f72647573204172656e6160981b60208083019182528351808501909452600c84526b43484f524455534152454e4160a01b908401528151919291620000929160009162000121565b508051620000a890600190602084019062000121565b505050620000c5620000bf620000cb60201b60201c565b620000cf565b62000204565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200012f90620001c7565b90600052602060002090601f0160209004810192826200015357600085556200019e565b82601f106200016e57805160ff19168380011785556200019e565b828001600101855582156200019e579182015b828111156200019e57825182559160200191906001019062000181565b50620001ac929150620001b0565b5090565b5b80821115620001ac5760008155600101620001b1565b600181811c90821680620001dc57607f821691505b60208210811415620001fe57634e487b7160e01b600052602260045260246000fd5b50919050565b612b1e80620002146000396000f3fe60806040526004361061025c5760003560e01c80636352211e11610144578063a06a513f116100b6578063c89e9e781161007a578063c89e9e781461068e578063d7e45cd7146106ae578063e985e9c5146106ce578063eb8d244414610717578063f2fde38b14610731578063f81227d41461075157600080fd5b8063a06a513f14610606578063a0712d681461061b578063a22cb4651461062e578063b88d4fde1461064e578063c87b56dd1461066e57600080fd5b8063722713f711610108578063722713f7146105695780637cb647591461057e57806381530b681461059e5780638da5cb5b146105be57806395d89b41146105dc578063989bdbb6146105f157600080fd5b80636352211e146104de578063676dd563146104fe57806370a082311461051457806370a8de8614610534578063715018a61461055457600080fd5b80632f745c59116101dd5780633eae2879116101a15780633eae28791461043557806342842e0e1461044857806346f265fd14610468578063475489d3146104885780634f6ccce71461049e57806355f804b3146104be57600080fd5b80632f745c59146103b657806330f72cd4146103d657806332cb6b0c146103f557806334918dfd1461040b5780633ccfd60b1461042057600080fd5b806318160ddd1161022457806318160ddd146103355780631984b2861461034a57806323b872dd1461036a57806324451e861461038a5780632eb4a7ab146103a057600080fd5b806301ffc9a714610261578063020b39cc1461029657806306fdde03146102b9578063081812fc146102db578063095ea7b314610313575b600080fd5b34801561026d57600080fd5b5061028161027c366004612372565b610766565b60405190151581526020015b60405180910390f35b3480156102a257600080fd5b506102ab601481565b60405190815260200161028d565b3480156102c557600080fd5b506102ce610791565b60405161028d91906123e7565b3480156102e757600080fd5b506102fb6102f63660046123fa565b610823565b6040516001600160a01b03909116815260200161028d565b34801561031f57600080fd5b5061033361032e36600461242f565b6108bd565b005b34801561034157600080fd5b506008546102ab565b34801561035657600080fd5b506102ab610365366004612459565b6109d3565b34801561037657600080fd5b50610333610385366004612474565b610a47565b34801561039657600080fd5b506102ab600f5481565b3480156103ac57600080fd5b506102ab60135481565b3480156103c257600080fd5b506102ab6103d136600461242f565b610a78565b3480156103e257600080fd5b50600d5461028190610100900460ff1681565b34801561040157600080fd5b506102ab600c5481565b34801561041757600080fd5b50610333610b0e565b34801561042c57600080fd5b50610333610b4c565b6103336104433660046124b0565b610ba9565b34801561045457600080fd5b50610333610463366004612474565b610c31565b34801561047457600080fd5b5061028161048336600461257a565b610c4c565b34801561049457600080fd5b506102ab600e5481565b3480156104aa57600080fd5b506102ab6104b93660046123fa565b610c62565b3480156104ca57600080fd5b506103336104d9366004612684565b610cf5565b3480156104ea57600080fd5b506102fb6104f93660046123fa565b610d80565b34801561050a57600080fd5b506102ab600b5481565b34801561052057600080fd5b506102ab61052f366004612459565b610df7565b34801561054057600080fd5b5061033361054f36600461242f565b610e7e565b34801561056057600080fd5b50610333610f65565b34801561057557600080fd5b506102ab610f9b565b34801561058a57600080fd5b506103336105993660046123fa565b610fcd565b3480156105aa57600080fd5b506103336105b93660046123fa565b610ffc565b3480156105ca57600080fd5b50600a546001600160a01b03166102fb565b3480156105e857600080fd5b506102ce61102b565b3480156105fd57600080fd5b5061033361103a565b34801561061257600080fd5b506102ab600a81565b6103336106293660046123fa565b611077565b34801561063a57600080fd5b506103336106493660046126cd565b611227565b34801561065a57600080fd5b50610333610669366004612709565b611232565b34801561067a57600080fd5b506102ce6106893660046123fa565b611264565b34801561069a57600080fd5b506103336106a93660046123fa565b6113e6565b3480156106ba57600080fd5b50600d546102819062010000900460ff1681565b3480156106da57600080fd5b506102816106e9366004612785565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561072357600080fd5b50600d546102819060ff1681565b34801561073d57600080fd5b5061033361074c366004612459565b611470565b34801561075d57600080fd5b5061033361150b565b60006001600160e01b0319821663780e9d6360e01b148061078b575061078b82611552565b92915050565b6060600080546107a0906127b8565b80601f01602080910402602001604051908101604052809291908181526020018280546107cc906127b8565b80156108195780601f106107ee57610100808354040283529160200191610819565b820191906000526020600020905b8154815290600101906020018083116107fc57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166108a15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006108c882610d80565b9050806001600160a01b0316836001600160a01b031614156109365760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610898565b336001600160a01b0382161480610952575061095281336106e9565b6109c45760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610898565b6109ce83836115a2565b505050565b60006001600160a01b038216610a2b5760405162461bcd60e51b815260206004820152601e60248201527f5a65726f2061646472657373206e6f74206f6e20416c6c6f77204c69737400006044820152606401610898565b506001600160a01b031660009081526010602052604090205490565b610a513382611610565b610a6d5760405162461bcd60e51b8152600401610898906127f3565b6109ce838383611707565b6000610a8383610df7565b8210610ae55760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610898565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610b385760405162461bcd60e51b815260040161089890612844565b600d805460ff19811660ff90911615179055565b600a546001600160a01b03163314610b765760405162461bcd60e51b815260040161089890612844565b6040514790339082156108fc029083906000818181858888f19350505050158015610ba5573d6000803e3d6000fd5b5050565b610be683838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250610c4c92505050565b610c225760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b210383937b7b360991b6044820152606401610898565b610c2b846118b2565b50505050565b6109ce83838360405180602001604052806000815250611232565b6000610c5b8260135485611abf565b9392505050565b6000610c6d60085490565b8210610cd05760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610898565b60088281548110610ce357610ce3612879565b90600052602060002001549050919050565b600a546001600160a01b03163314610d1f5760405162461bcd60e51b815260040161089890612844565b600d5462010000900460ff1615610d6d5760405162461bcd60e51b815260206004820152601260248201527113595d1859185d18481a5cc81b1bd8dad95960721b6044820152606401610898565b8051610ba59060119060208401906122c3565b6000818152600260205260408120546001600160a01b03168061078b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610898565b60006001600160a01b038216610e625760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610898565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610ea85760405162461bcd60e51b815260040161089890612844565b600081118015610eba5750600e548111155b610f065760405162461bcd60e51b815260206004820181905260248201527f4e6f7420656e6f7567682072657365727665206c65667420666f72207465616d6044820152606401610898565b6000610f1160085490565b905060005b82811015610f4e57610f3c84610f2c83856128a5565b610f379060016128a5565b611ad5565b80610f46816128bd565b915050610f16565b5081600e54610f5d91906128d8565b600e55505050565b600a546001600160a01b03163314610f8f5760405162461bcd60e51b815260040161089890612844565b610f996000611aef565b565b600a546000906001600160a01b03163314610fc85760405162461bcd60e51b815260040161089890612844565b504790565b600a546001600160a01b03163314610ff75760405162461bcd60e51b815260040161089890612844565b601355565b600a546001600160a01b031633146110265760405162461bcd60e51b815260040161089890612844565b600b55565b6060600180546107a0906127b8565b600a546001600160a01b031633146110645760405162461bcd60e51b815260040161089890612844565b600d805462ff0000191662010000179055565b600d5460ff166110c95760405162461bcd60e51b815260206004820181905260248201527f53616c65206973206e6f742061637469766520617420746865206d6f6d656e746044820152606401610898565b600081116110e95760405162461bcd60e51b8152600401610898906128ef565b600c5481600e546110f960085490565b61110391906128a5565b61110d91906128a5565b111561112b5760405162461bcd60e51b815260040161089890612942565b60148111156111885760405162461bcd60e51b815260206004820152602360248201527f43616e206f6e6c79206d696e7420757020746f2031302070657220707572636860448201526261736560e81b6064820152608401610898565b3481600b54611197919061298a565b11156111e55760405162461bcd60e51b815260206004820152601d60248201527f53656e742065746865722076616c756520697320696e636f72726563740000006044820152606401610898565b600f548114156111fd57806111f9816128bd565b9150505b60005b81811015610ba55761121533610f2c60085490565b8061121f816128bd565b915050611200565b610ba5338383611b41565b61123c3383611610565b6112585760405162461bcd60e51b8152600401610898906127f3565b610c2b84848484611c10565b6000818152600260205260409020546060906001600160a01b03166112e35760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610898565b600082815260126020526040812080546112fc906127b8565b80601f0160208091040260200160405190810160405280929190818152602001828054611328906127b8565b80156113755780601f1061134a57610100808354040283529160200191611375565b820191906000526020600020905b81548152906001019060200180831161135857829003601f168201915b505050505090506000611386611c43565b9050805160001415611399575092915050565b8151156113cb5780826040516020016113b39291906129a9565b60405160208183030381529060405292505050919050565b806113d585611c52565b6040516020016113b39291906129a9565b600a546001600160a01b031633146114105760405162461bcd60e51b815260040161089890612844565b8060001061146b5760405162461bcd60e51b815260206004820152602260248201527f706c75734f6e65446973636f756e745175616e746974792043616e2774206265604482015261020360f41b6064820152608401610898565b600f55565b600a546001600160a01b0316331461149a5760405162461bcd60e51b815260040161089890612844565b6001600160a01b0381166114ff5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610898565b61150881611aef565b50565b600a546001600160a01b031633146115355760405162461bcd60e51b815260040161089890612844565b600d805461ff001981166101009182900460ff1615909102179055565b60006001600160e01b031982166380ac58cd60e01b148061158357506001600160e01b03198216635b5e139f60e01b145b8061078b57506301ffc9a760e01b6001600160e01b031983161461078b565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906115d782610d80565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166116895760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610898565b600061169483610d80565b9050806001600160a01b0316846001600160a01b031614806116cf5750836001600160a01b03166116c484610823565b6001600160a01b0316145b806116ff57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661171a82610d80565b6001600160a01b0316146117825760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610898565b6001600160a01b0382166117e45760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610898565b6117ef838383611d50565b6117fa6000826115a2565b6001600160a01b03831660009081526003602052604081208054600192906118239084906128d8565b90915550506001600160a01b03821660009081526003602052604081208054600192906118519084906128a5565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600d54610100900460ff166119155760405162461bcd60e51b815260206004820152602360248201527f50726573616c65206973206e6f742061637469766520617420746865206d6f6d604482015262195b9d60ea1b6064820152608401610898565b600081116119355760405162461bcd60e51b8152600401610898906128ef565b600c5481600e5461194560085490565b61194f91906128a5565b61195991906128a5565b11156119775760405162461bcd60e51b815260040161089890612942565b33600090815260106020526040902054600a906119959083906128a5565b11156119f85760405162461bcd60e51b815260206004820152602c60248201527f4578636565647320737570706c79206f662070726573616c65204e465473207960448201526b37ba9031b0b71036b4b73a1760a11b6064820152608401610898565b3481600b54611a07919061298a565b1115611a555760405162461bcd60e51b815260206004820152601d60248201527f53656e742065746865722076616c756520697320696e636f72726563740000006044820152606401610898565b600f54811415611a6d5780611a69816128bd565b9150505b60005b81811015611a9757611a8533610f2c60085490565b80611a8f816128bd565b915050611a70565b503360009081526010602052604081208054839290611ab79084906128a5565b909155505050565b600082611acc8584611e08565b14949350505050565b610ba5828260405180602001604052806000815250611eb4565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415611ba35760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610898565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611c1b848484611707565b611c2784848484611ee7565b610c2b5760405162461bcd60e51b8152600401610898906129e8565b6060601180546107a0906127b8565b606081611c765750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611ca05780611c8a816128bd565b9150611c999050600a83612a50565b9150611c7a565b60008167ffffffffffffffff811115611cbb57611cbb612533565b6040519080825280601f01601f191660200182016040528015611ce5576020820181803683370190505b5090505b84156116ff57611cfa6001836128d8565b9150611d07600a86612a64565b611d129060306128a5565b60f81b818381518110611d2757611d27612879565b60200101906001600160f81b031916908160001a905350611d49600a86612a50565b9450611ce9565b6001600160a01b038316611dab57611da681600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611dce565b816001600160a01b0316836001600160a01b031614611dce57611dce8382611fe5565b6001600160a01b038216611de5576109ce81612082565b826001600160a01b0316826001600160a01b0316146109ce576109ce8282612131565b600081815b8451811015611eac576000858281518110611e2a57611e2a612879565b60200260200101519050808311611e6c576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611e99565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080611ea4816128bd565b915050611e0d565b509392505050565b611ebe8383612175565b611ecb6000848484611ee7565b6109ce5760405162461bcd60e51b8152600401610898906129e8565b60006001600160a01b0384163b15611fda57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611f2b903390899088908890600401612a78565b6020604051808303816000875af1925050508015611f66575060408051601f3d908101601f19168201909252611f6391810190612ab5565b60015b611fc0573d808015611f94576040519150601f19603f3d011682016040523d82523d6000602084013e611f99565b606091505b508051611fb85760405162461bcd60e51b8152600401610898906129e8565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506116ff565b506001949350505050565b60006001611ff284610df7565b611ffc91906128d8565b60008381526007602052604090205490915080821461204f576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090612094906001906128d8565b600083815260096020526040812054600880549394509092849081106120bc576120bc612879565b9060005260206000200154905080600883815481106120dd576120dd612879565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061211557612115612ad2565b6001900381819060005260206000200160009055905550505050565b600061213c83610df7565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166121cb5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610898565b6000818152600260205260409020546001600160a01b0316156122305760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610898565b61223c60008383611d50565b6001600160a01b03821660009081526003602052604081208054600192906122659084906128a5565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546122cf906127b8565b90600052602060002090601f0160209004810192826122f15760008555612337565b82601f1061230a57805160ff1916838001178555612337565b82800160010185558215612337579182015b8281111561233757825182559160200191906001019061231c565b50612343929150612347565b5090565b5b808211156123435760008155600101612348565b6001600160e01b03198116811461150857600080fd5b60006020828403121561238457600080fd5b8135610c5b8161235c565b60005b838110156123aa578181015183820152602001612392565b83811115610c2b5750506000910152565b600081518084526123d381602086016020860161238f565b601f01601f19169290920160200192915050565b602081526000610c5b60208301846123bb565b60006020828403121561240c57600080fd5b5035919050565b80356001600160a01b038116811461242a57600080fd5b919050565b6000806040838503121561244257600080fd5b61244b83612413565b946020939093013593505050565b60006020828403121561246b57600080fd5b610c5b82612413565b60008060006060848603121561248957600080fd5b61249284612413565b92506124a060208501612413565b9150604084013590509250925092565b600080600080606085870312156124c657600080fd5b8435935060208501359250604085013567ffffffffffffffff808211156124ec57600080fd5b818701915087601f83011261250057600080fd5b81358181111561250f57600080fd5b8860208260051b850101111561252457600080fd5b95989497505060200194505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561257257612572612533565b604052919050565b6000806040838503121561258d57600080fd5b8235915060208084013567ffffffffffffffff808211156125ad57600080fd5b818601915086601f8301126125c157600080fd5b8135818111156125d3576125d3612533565b8060051b91506125e4848301612549565b81815291830184019184810190898411156125fe57600080fd5b938501935b8385101561261c57843582529385019390850190612603565b8096505050505050509250929050565b600067ffffffffffffffff83111561264657612646612533565b612659601f8401601f1916602001612549565b905082815283838301111561266d57600080fd5b828260208301376000602084830101529392505050565b60006020828403121561269657600080fd5b813567ffffffffffffffff8111156126ad57600080fd5b8201601f810184136126be57600080fd5b6116ff8482356020840161262c565b600080604083850312156126e057600080fd5b6126e983612413565b9150602083013580151581146126fe57600080fd5b809150509250929050565b6000806000806080858703121561271f57600080fd5b61272885612413565b935061273660208601612413565b925060408501359150606085013567ffffffffffffffff81111561275957600080fd5b8501601f8101871361276a57600080fd5b6127798782356020840161262c565b91505092959194509250565b6000806040838503121561279857600080fd5b6127a183612413565b91506127af60208401612413565b90509250929050565b600181811c908216806127cc57607f821691505b602082108114156127ed57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082198211156128b8576128b861288f565b500190565b60006000198214156128d1576128d161288f565b5060010190565b6000828210156128ea576128ea61288f565b500390565b60208082526033908201527f4e756d626572206f6620746f6b656e732063616e206e6f74206265206c6573736040820152720207468616e206f7220657175616c20746f203606c1b606082015260800190565b60208082526028908201527f507572636861736520776f756c6420657863656564206d617820737570706c79604082015267206f66204e46547360c01b606082015260800190565b60008160001904831182151516156129a4576129a461288f565b500290565b600083516129bb81846020880161238f565b8351908301906129cf81836020880161238f565b64173539b7b760d91b9101908152600501949350505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b600082612a5f57612a5f612a3a565b500490565b600082612a7357612a73612a3a565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612aab908301846123bb565b9695505050505050565b600060208284031215612ac757600080fd5b8151610c5b8161235c565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220360be608babea1584b9e50e0249bb7f61e9543c787132ec5fa03319653d9ab6464736f6c634300080a0033

Deployed Bytecode

0x60806040526004361061025c5760003560e01c80636352211e11610144578063a06a513f116100b6578063c89e9e781161007a578063c89e9e781461068e578063d7e45cd7146106ae578063e985e9c5146106ce578063eb8d244414610717578063f2fde38b14610731578063f81227d41461075157600080fd5b8063a06a513f14610606578063a0712d681461061b578063a22cb4651461062e578063b88d4fde1461064e578063c87b56dd1461066e57600080fd5b8063722713f711610108578063722713f7146105695780637cb647591461057e57806381530b681461059e5780638da5cb5b146105be57806395d89b41146105dc578063989bdbb6146105f157600080fd5b80636352211e146104de578063676dd563146104fe57806370a082311461051457806370a8de8614610534578063715018a61461055457600080fd5b80632f745c59116101dd5780633eae2879116101a15780633eae28791461043557806342842e0e1461044857806346f265fd14610468578063475489d3146104885780634f6ccce71461049e57806355f804b3146104be57600080fd5b80632f745c59146103b657806330f72cd4146103d657806332cb6b0c146103f557806334918dfd1461040b5780633ccfd60b1461042057600080fd5b806318160ddd1161022457806318160ddd146103355780631984b2861461034a57806323b872dd1461036a57806324451e861461038a5780632eb4a7ab146103a057600080fd5b806301ffc9a714610261578063020b39cc1461029657806306fdde03146102b9578063081812fc146102db578063095ea7b314610313575b600080fd5b34801561026d57600080fd5b5061028161027c366004612372565b610766565b60405190151581526020015b60405180910390f35b3480156102a257600080fd5b506102ab601481565b60405190815260200161028d565b3480156102c557600080fd5b506102ce610791565b60405161028d91906123e7565b3480156102e757600080fd5b506102fb6102f63660046123fa565b610823565b6040516001600160a01b03909116815260200161028d565b34801561031f57600080fd5b5061033361032e36600461242f565b6108bd565b005b34801561034157600080fd5b506008546102ab565b34801561035657600080fd5b506102ab610365366004612459565b6109d3565b34801561037657600080fd5b50610333610385366004612474565b610a47565b34801561039657600080fd5b506102ab600f5481565b3480156103ac57600080fd5b506102ab60135481565b3480156103c257600080fd5b506102ab6103d136600461242f565b610a78565b3480156103e257600080fd5b50600d5461028190610100900460ff1681565b34801561040157600080fd5b506102ab600c5481565b34801561041757600080fd5b50610333610b0e565b34801561042c57600080fd5b50610333610b4c565b6103336104433660046124b0565b610ba9565b34801561045457600080fd5b50610333610463366004612474565b610c31565b34801561047457600080fd5b5061028161048336600461257a565b610c4c565b34801561049457600080fd5b506102ab600e5481565b3480156104aa57600080fd5b506102ab6104b93660046123fa565b610c62565b3480156104ca57600080fd5b506103336104d9366004612684565b610cf5565b3480156104ea57600080fd5b506102fb6104f93660046123fa565b610d80565b34801561050a57600080fd5b506102ab600b5481565b34801561052057600080fd5b506102ab61052f366004612459565b610df7565b34801561054057600080fd5b5061033361054f36600461242f565b610e7e565b34801561056057600080fd5b50610333610f65565b34801561057557600080fd5b506102ab610f9b565b34801561058a57600080fd5b506103336105993660046123fa565b610fcd565b3480156105aa57600080fd5b506103336105b93660046123fa565b610ffc565b3480156105ca57600080fd5b50600a546001600160a01b03166102fb565b3480156105e857600080fd5b506102ce61102b565b3480156105fd57600080fd5b5061033361103a565b34801561061257600080fd5b506102ab600a81565b6103336106293660046123fa565b611077565b34801561063a57600080fd5b506103336106493660046126cd565b611227565b34801561065a57600080fd5b50610333610669366004612709565b611232565b34801561067a57600080fd5b506102ce6106893660046123fa565b611264565b34801561069a57600080fd5b506103336106a93660046123fa565b6113e6565b3480156106ba57600080fd5b50600d546102819062010000900460ff1681565b3480156106da57600080fd5b506102816106e9366004612785565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561072357600080fd5b50600d546102819060ff1681565b34801561073d57600080fd5b5061033361074c366004612459565b611470565b34801561075d57600080fd5b5061033361150b565b60006001600160e01b0319821663780e9d6360e01b148061078b575061078b82611552565b92915050565b6060600080546107a0906127b8565b80601f01602080910402602001604051908101604052809291908181526020018280546107cc906127b8565b80156108195780601f106107ee57610100808354040283529160200191610819565b820191906000526020600020905b8154815290600101906020018083116107fc57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166108a15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006108c882610d80565b9050806001600160a01b0316836001600160a01b031614156109365760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610898565b336001600160a01b0382161480610952575061095281336106e9565b6109c45760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610898565b6109ce83836115a2565b505050565b60006001600160a01b038216610a2b5760405162461bcd60e51b815260206004820152601e60248201527f5a65726f2061646472657373206e6f74206f6e20416c6c6f77204c69737400006044820152606401610898565b506001600160a01b031660009081526010602052604090205490565b610a513382611610565b610a6d5760405162461bcd60e51b8152600401610898906127f3565b6109ce838383611707565b6000610a8383610df7565b8210610ae55760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610898565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610b385760405162461bcd60e51b815260040161089890612844565b600d805460ff19811660ff90911615179055565b600a546001600160a01b03163314610b765760405162461bcd60e51b815260040161089890612844565b6040514790339082156108fc029083906000818181858888f19350505050158015610ba5573d6000803e3d6000fd5b5050565b610be683838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250610c4c92505050565b610c225760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b210383937b7b360991b6044820152606401610898565b610c2b846118b2565b50505050565b6109ce83838360405180602001604052806000815250611232565b6000610c5b8260135485611abf565b9392505050565b6000610c6d60085490565b8210610cd05760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610898565b60088281548110610ce357610ce3612879565b90600052602060002001549050919050565b600a546001600160a01b03163314610d1f5760405162461bcd60e51b815260040161089890612844565b600d5462010000900460ff1615610d6d5760405162461bcd60e51b815260206004820152601260248201527113595d1859185d18481a5cc81b1bd8dad95960721b6044820152606401610898565b8051610ba59060119060208401906122c3565b6000818152600260205260408120546001600160a01b03168061078b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610898565b60006001600160a01b038216610e625760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610898565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610ea85760405162461bcd60e51b815260040161089890612844565b600081118015610eba5750600e548111155b610f065760405162461bcd60e51b815260206004820181905260248201527f4e6f7420656e6f7567682072657365727665206c65667420666f72207465616d6044820152606401610898565b6000610f1160085490565b905060005b82811015610f4e57610f3c84610f2c83856128a5565b610f379060016128a5565b611ad5565b80610f46816128bd565b915050610f16565b5081600e54610f5d91906128d8565b600e55505050565b600a546001600160a01b03163314610f8f5760405162461bcd60e51b815260040161089890612844565b610f996000611aef565b565b600a546000906001600160a01b03163314610fc85760405162461bcd60e51b815260040161089890612844565b504790565b600a546001600160a01b03163314610ff75760405162461bcd60e51b815260040161089890612844565b601355565b600a546001600160a01b031633146110265760405162461bcd60e51b815260040161089890612844565b600b55565b6060600180546107a0906127b8565b600a546001600160a01b031633146110645760405162461bcd60e51b815260040161089890612844565b600d805462ff0000191662010000179055565b600d5460ff166110c95760405162461bcd60e51b815260206004820181905260248201527f53616c65206973206e6f742061637469766520617420746865206d6f6d656e746044820152606401610898565b600081116110e95760405162461bcd60e51b8152600401610898906128ef565b600c5481600e546110f960085490565b61110391906128a5565b61110d91906128a5565b111561112b5760405162461bcd60e51b815260040161089890612942565b60148111156111885760405162461bcd60e51b815260206004820152602360248201527f43616e206f6e6c79206d696e7420757020746f2031302070657220707572636860448201526261736560e81b6064820152608401610898565b3481600b54611197919061298a565b11156111e55760405162461bcd60e51b815260206004820152601d60248201527f53656e742065746865722076616c756520697320696e636f72726563740000006044820152606401610898565b600f548114156111fd57806111f9816128bd565b9150505b60005b81811015610ba55761121533610f2c60085490565b8061121f816128bd565b915050611200565b610ba5338383611b41565b61123c3383611610565b6112585760405162461bcd60e51b8152600401610898906127f3565b610c2b84848484611c10565b6000818152600260205260409020546060906001600160a01b03166112e35760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610898565b600082815260126020526040812080546112fc906127b8565b80601f0160208091040260200160405190810160405280929190818152602001828054611328906127b8565b80156113755780601f1061134a57610100808354040283529160200191611375565b820191906000526020600020905b81548152906001019060200180831161135857829003601f168201915b505050505090506000611386611c43565b9050805160001415611399575092915050565b8151156113cb5780826040516020016113b39291906129a9565b60405160208183030381529060405292505050919050565b806113d585611c52565b6040516020016113b39291906129a9565b600a546001600160a01b031633146114105760405162461bcd60e51b815260040161089890612844565b8060001061146b5760405162461bcd60e51b815260206004820152602260248201527f706c75734f6e65446973636f756e745175616e746974792043616e2774206265604482015261020360f41b6064820152608401610898565b600f55565b600a546001600160a01b0316331461149a5760405162461bcd60e51b815260040161089890612844565b6001600160a01b0381166114ff5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610898565b61150881611aef565b50565b600a546001600160a01b031633146115355760405162461bcd60e51b815260040161089890612844565b600d805461ff001981166101009182900460ff1615909102179055565b60006001600160e01b031982166380ac58cd60e01b148061158357506001600160e01b03198216635b5e139f60e01b145b8061078b57506301ffc9a760e01b6001600160e01b031983161461078b565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906115d782610d80565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166116895760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610898565b600061169483610d80565b9050806001600160a01b0316846001600160a01b031614806116cf5750836001600160a01b03166116c484610823565b6001600160a01b0316145b806116ff57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661171a82610d80565b6001600160a01b0316146117825760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610898565b6001600160a01b0382166117e45760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610898565b6117ef838383611d50565b6117fa6000826115a2565b6001600160a01b03831660009081526003602052604081208054600192906118239084906128d8565b90915550506001600160a01b03821660009081526003602052604081208054600192906118519084906128a5565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600d54610100900460ff166119155760405162461bcd60e51b815260206004820152602360248201527f50726573616c65206973206e6f742061637469766520617420746865206d6f6d604482015262195b9d60ea1b6064820152608401610898565b600081116119355760405162461bcd60e51b8152600401610898906128ef565b600c5481600e5461194560085490565b61194f91906128a5565b61195991906128a5565b11156119775760405162461bcd60e51b815260040161089890612942565b33600090815260106020526040902054600a906119959083906128a5565b11156119f85760405162461bcd60e51b815260206004820152602c60248201527f4578636565647320737570706c79206f662070726573616c65204e465473207960448201526b37ba9031b0b71036b4b73a1760a11b6064820152608401610898565b3481600b54611a07919061298a565b1115611a555760405162461bcd60e51b815260206004820152601d60248201527f53656e742065746865722076616c756520697320696e636f72726563740000006044820152606401610898565b600f54811415611a6d5780611a69816128bd565b9150505b60005b81811015611a9757611a8533610f2c60085490565b80611a8f816128bd565b915050611a70565b503360009081526010602052604081208054839290611ab79084906128a5565b909155505050565b600082611acc8584611e08565b14949350505050565b610ba5828260405180602001604052806000815250611eb4565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415611ba35760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610898565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611c1b848484611707565b611c2784848484611ee7565b610c2b5760405162461bcd60e51b8152600401610898906129e8565b6060601180546107a0906127b8565b606081611c765750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611ca05780611c8a816128bd565b9150611c999050600a83612a50565b9150611c7a565b60008167ffffffffffffffff811115611cbb57611cbb612533565b6040519080825280601f01601f191660200182016040528015611ce5576020820181803683370190505b5090505b84156116ff57611cfa6001836128d8565b9150611d07600a86612a64565b611d129060306128a5565b60f81b818381518110611d2757611d27612879565b60200101906001600160f81b031916908160001a905350611d49600a86612a50565b9450611ce9565b6001600160a01b038316611dab57611da681600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611dce565b816001600160a01b0316836001600160a01b031614611dce57611dce8382611fe5565b6001600160a01b038216611de5576109ce81612082565b826001600160a01b0316826001600160a01b0316146109ce576109ce8282612131565b600081815b8451811015611eac576000858281518110611e2a57611e2a612879565b60200260200101519050808311611e6c576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611e99565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080611ea4816128bd565b915050611e0d565b509392505050565b611ebe8383612175565b611ecb6000848484611ee7565b6109ce5760405162461bcd60e51b8152600401610898906129e8565b60006001600160a01b0384163b15611fda57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611f2b903390899088908890600401612a78565b6020604051808303816000875af1925050508015611f66575060408051601f3d908101601f19168201909252611f6391810190612ab5565b60015b611fc0573d808015611f94576040519150601f19603f3d011682016040523d82523d6000602084013e611f99565b606091505b508051611fb85760405162461bcd60e51b8152600401610898906129e8565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506116ff565b506001949350505050565b60006001611ff284610df7565b611ffc91906128d8565b60008381526007602052604090205490915080821461204f576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090612094906001906128d8565b600083815260096020526040812054600880549394509092849081106120bc576120bc612879565b9060005260206000200154905080600883815481106120dd576120dd612879565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061211557612115612ad2565b6001900381819060005260206000200160009055905550505050565b600061213c83610df7565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166121cb5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610898565b6000818152600260205260409020546001600160a01b0316156122305760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610898565b61223c60008383611d50565b6001600160a01b03821660009081526003602052604081208054600192906122659084906128a5565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546122cf906127b8565b90600052602060002090601f0160209004810192826122f15760008555612337565b82601f1061230a57805160ff1916838001178555612337565b82800160010185558215612337579182015b8281111561233757825182559160200191906001019061231c565b50612343929150612347565b5090565b5b808211156123435760008155600101612348565b6001600160e01b03198116811461150857600080fd5b60006020828403121561238457600080fd5b8135610c5b8161235c565b60005b838110156123aa578181015183820152602001612392565b83811115610c2b5750506000910152565b600081518084526123d381602086016020860161238f565b601f01601f19169290920160200192915050565b602081526000610c5b60208301846123bb565b60006020828403121561240c57600080fd5b5035919050565b80356001600160a01b038116811461242a57600080fd5b919050565b6000806040838503121561244257600080fd5b61244b83612413565b946020939093013593505050565b60006020828403121561246b57600080fd5b610c5b82612413565b60008060006060848603121561248957600080fd5b61249284612413565b92506124a060208501612413565b9150604084013590509250925092565b600080600080606085870312156124c657600080fd5b8435935060208501359250604085013567ffffffffffffffff808211156124ec57600080fd5b818701915087601f83011261250057600080fd5b81358181111561250f57600080fd5b8860208260051b850101111561252457600080fd5b95989497505060200194505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561257257612572612533565b604052919050565b6000806040838503121561258d57600080fd5b8235915060208084013567ffffffffffffffff808211156125ad57600080fd5b818601915086601f8301126125c157600080fd5b8135818111156125d3576125d3612533565b8060051b91506125e4848301612549565b81815291830184019184810190898411156125fe57600080fd5b938501935b8385101561261c57843582529385019390850190612603565b8096505050505050509250929050565b600067ffffffffffffffff83111561264657612646612533565b612659601f8401601f1916602001612549565b905082815283838301111561266d57600080fd5b828260208301376000602084830101529392505050565b60006020828403121561269657600080fd5b813567ffffffffffffffff8111156126ad57600080fd5b8201601f810184136126be57600080fd5b6116ff8482356020840161262c565b600080604083850312156126e057600080fd5b6126e983612413565b9150602083013580151581146126fe57600080fd5b809150509250929050565b6000806000806080858703121561271f57600080fd5b61272885612413565b935061273660208601612413565b925060408501359150606085013567ffffffffffffffff81111561275957600080fd5b8501601f8101871361276a57600080fd5b6127798782356020840161262c565b91505092959194509250565b6000806040838503121561279857600080fd5b6127a183612413565b91506127af60208401612413565b90509250929050565b600181811c908216806127cc57607f821691505b602082108114156127ed57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082198211156128b8576128b861288f565b500190565b60006000198214156128d1576128d161288f565b5060010190565b6000828210156128ea576128ea61288f565b500390565b60208082526033908201527f4e756d626572206f6620746f6b656e732063616e206e6f74206265206c6573736040820152720207468616e206f7220657175616c20746f203606c1b606082015260800190565b60208082526028908201527f507572636861736520776f756c6420657863656564206d617820737570706c79604082015267206f66204e46547360c01b606082015260800190565b60008160001904831182151516156129a4576129a461288f565b500290565b600083516129bb81846020880161238f565b8351908301906129cf81836020880161238f565b64173539b7b760d91b9101908152600501949350505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b600082612a5f57612a5f612a3a565b500490565b600082612a7357612a73612a3a565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612aab908301846123bb565b9695505050505050565b600060208284031215612ac757600080fd5b8151610c5b8161235c565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220360be608babea1584b9e50e0249bb7f61e9543c787132ec5fa03319653d9ab6464736f6c634300080a0033

Deployed Bytecode Sourcemap

47077:5574:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36543:224;;;;;;;;;;-1:-1:-1;36543:224:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;36543:224:0;;;;;;;;47244:42;;;;;;;;;;;;47284:2;47244:42;;;;;738:25:1;;;726:2;711:18;47244:42:0;592:177:1;23358:100:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;24917:221::-;;;;;;;;;;-1:-1:-1;24917:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1874:32:1;;;1856:51;;1844:2;1829:18;24917:221:0;1710:203:1;24440:411:0;;;;;;;;;;-1:-1:-1;24440:411:0;;;;;:::i;:::-;;:::i;:::-;;37183:113;;;;;;;;;;-1:-1:-1;37271:10:0;:17;37183:113;;48058:202;;;;;;;;;;-1:-1:-1;48058:202:0;;;;;:::i;:::-;;:::i;25667:339::-;;;;;;;;;;-1:-1:-1;25667:339:0;;;;;:::i;:::-;;:::i;47575:39::-;;;;;;;;;;;;;;;;47762:25;;;;;;;;;;;;;;;;36851:256;;;;;;;;;;-1:-1:-1;36851:256:0;;;;;:::i;:::-;;:::i;47425:35::-;;;;;;;;;;-1:-1:-1;47425:35:0;;;;;;;;;;;47350:29;;;;;;;;;;;;;;;;48272:89;;;;;;;;;;;;;:::i;48574:140::-;;;;;;;;;;;;;:::i;51064:244::-;;;;;;:::i;:::-;;:::i;26077:185::-;;;;;;;;;;-1:-1:-1;26077:185:0;;;;;:::i;:::-;;:::i;50784:161::-;;;;;;;;;;-1:-1:-1;50784:161:0;;;;;:::i;:::-;;:::i;47540:28::-;;;;;;;;;;;;;;;;37373:233;;;;;;;;;;-1:-1:-1;37373:233:0;;;;;:::i;:::-;;:::i;51441:167::-;;;;;;;;;;-1:-1:-1;51441:167:0;;;;;:::i;:::-;;:::i;23052:239::-;;;;;;;;;;-1:-1:-1;23052:239:0;;;;;:::i;:::-;;:::i;47200:37::-;;;;;;;;;;;;;;;;22782:208;;;;;;;;;;-1:-1:-1;22782:208:0;;;;;:::i;:::-;;:::i;48722:392::-;;;;;;;;;;-1:-1:-1;48722:392:0;;;;;:::i;:::-;;:::i;44263:103::-;;;;;;;;;;;;;:::i;52538:110::-;;;;;;;;;;;;;:::i;50953:104::-;;;;;;;;;;-1:-1:-1;50953:104:0;;;;;:::i;:::-;;:::i;52435:95::-;;;;;;;;;;-1:-1:-1;52435:95:0;;;;;:::i;:::-;;:::i;43612:87::-;;;;;;;;;;-1:-1:-1;43685:6:0;;-1:-1:-1;;;;;43685:6:0;43612:87;;23527:104;;;;;;;;;;;;;:::i;48373:83::-;;;;;;;;;;;;;:::i;47293:50::-;;;;;;;;;;;;47341:2;47293:50;;49122:763;;;;;;:::i;:::-;;:::i;25210:155::-;;;;;;;;;;-1:-1:-1;25210:155:0;;;;;:::i;:::-;;:::i;26333:328::-;;;;;;;;;;-1:-1:-1;26333:328:0;;;;;:::i;:::-;;:::i;51616:811::-;;;;;;;;;;-1:-1:-1;51616:811:0;;;;;:::i;:::-;;:::i;47864:182::-;;;;;;;;;;-1:-1:-1;47864:182:0;;;;;:::i;:::-;;:::i;47467:36::-;;;;;;;;;;-1:-1:-1;47467:36:0;;;;;;;;;;;25436:164;;;;;;;;;;-1:-1:-1;25436:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;25557:25:0;;;25533:4;25557:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;25436:164;47386:32;;;;;;;;;;-1:-1:-1;47386:32:0;;;;;;;;44521:201;;;;;;;;;;-1:-1:-1;44521:201:0;;;;;:::i;:::-;;:::i;48468:98::-;;;;;;;;;;;;;:::i;36543:224::-;36645:4;-1:-1:-1;;;;;;36669:50:0;;-1:-1:-1;;;36669:50:0;;:90;;;36723:36;36747:11;36723:23;:36::i;:::-;36662:97;36543:224;-1:-1:-1;;36543:224:0:o;23358:100::-;23412:13;23445:5;23438:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23358:100;:::o;24917:221::-;24993:7;28260:16;;;:7;:16;;;;;;-1:-1:-1;;;;;28260:16:0;25013:73;;;;-1:-1:-1;;;25013:73:0;;8177:2:1;25013:73:0;;;8159:21:1;8216:2;8196:18;;;8189:30;8255:34;8235:18;;;8228:62;-1:-1:-1;;;8306:18:1;;;8299:42;8358:19;;25013:73:0;;;;;;;;;-1:-1:-1;25106:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;25106:24:0;;24917:221::o;24440:411::-;24521:13;24537:23;24552:7;24537:14;:23::i;:::-;24521:39;;24585:5;-1:-1:-1;;;;;24579:11:0;:2;-1:-1:-1;;;;;24579:11:0;;;24571:57;;;;-1:-1:-1;;;24571:57:0;;8590:2:1;24571:57:0;;;8572:21:1;8629:2;8609:18;;;8602:30;8668:34;8648:18;;;8641:62;-1:-1:-1;;;8719:18:1;;;8712:31;8760:19;;24571:57:0;8388:397:1;24571:57:0;19069:10;-1:-1:-1;;;;;24663:21:0;;;;:62;;-1:-1:-1;24688:37:0;24705:5;19069:10;25436:164;:::i;24688:37::-;24641:168;;;;-1:-1:-1;;;24641:168:0;;8992:2:1;24641:168:0;;;8974:21:1;9031:2;9011:18;;;9004:30;9070:34;9050:18;;;9043:62;9141:26;9121:18;;;9114:54;9185:19;;24641:168:0;8790:420:1;24641:168:0;24822:21;24831:2;24835:7;24822:8;:21::i;:::-;24510:341;24440:411;;:::o;48058:202::-;48124:7;-1:-1:-1;;;;;48151:19:0;;48143:62;;;;-1:-1:-1;;;48143:62:0;;9417:2:1;48143:62:0;;;9399:21:1;9456:2;9436:18;;;9429:30;9495:32;9475:18;;;9468:60;9545:18;;48143:62:0;9215:354:1;48143:62:0;-1:-1:-1;;;;;;48228:24:0;;;;;:17;:24;;;;;;;48058:202::o;25667:339::-;25862:41;19069:10;25895:7;25862:18;:41::i;:::-;25854:103;;;;-1:-1:-1;;;25854:103:0;;;;;;;:::i;:::-;25970:28;25980:4;25986:2;25990:7;25970:9;:28::i;36851:256::-;36948:7;36984:23;37001:5;36984:16;:23::i;:::-;36976:5;:31;36968:87;;;;-1:-1:-1;;;36968:87:0;;10194:2:1;36968:87:0;;;10176:21:1;10233:2;10213:18;;;10206:30;10272:34;10252:18;;;10245:62;-1:-1:-1;;;10323:18:1;;;10316:41;10374:19;;36968:87:0;9992:407:1;36968:87:0;-1:-1:-1;;;;;;37073:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;36851:256::o;48272:89::-;43685:6;;-1:-1:-1;;;;;43685:6:0;19069:10;43832:23;43824:68;;;;-1:-1:-1;;;43824:68:0;;;;;;;:::i;:::-;48341:12:::1;::::0;;-1:-1:-1;;48325:28:0;::::1;48341:12;::::0;;::::1;48340:13;48325:28;::::0;;48272:89::o;48574:140::-;43685:6;;-1:-1:-1;;;;;43685:6:0;19069:10;43832:23;43824:68;;;;-1:-1:-1;;;43824:68:0;;;;;;;:::i;:::-;48669:37:::1;::::0;48637:21:::1;::::0;48677:10:::1;::::0;48669:37;::::1;;;::::0;48637:21;;48622:12:::1;48669:37:::0;48622:12;48669:37;48637:21;48677:10;48669:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;48611:103;48574:140::o:0;51064:244::-;51218:25;51226:9;51237:5;;51218:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51218:7:0;;-1:-1:-1;;;51218:25:0:i;:::-;51210:51;;;;-1:-1:-1;;;51210:51:0;;10967:2:1;51210:51:0;;;10949:21:1;11006:2;10986:18;;;10979:30;-1:-1:-1;;;11025:18:1;;;11018:43;11078:18;;51210:51:0;10765:337:1;51210:51:0;51272:28;51285:14;51272:12;:28::i;:::-;51064:244;;;;:::o;26077:185::-;26215:39;26232:4;26238:2;26242:7;26215:39;;;;;;;;;;;;:16;:39::i;50784:161::-;50865:4;50889:48;50908:5;50915:10;;50927:9;50889:18;:48::i;:::-;50882:55;50784:161;-1:-1:-1;;;50784:161:0:o;37373:233::-;37448:7;37484:30;37271:10;:17;;37183:113;37484:30;37476:5;:38;37468:95;;;;-1:-1:-1;;;37468:95:0;;11309:2:1;37468:95:0;;;11291:21:1;11348:2;11328:18;;;11321:30;11387:34;11367:18;;;11360:62;-1:-1:-1;;;11438:18:1;;;11431:42;11490:19;;37468:95:0;11107:408:1;37468:95:0;37581:10;37592:5;37581:17;;;;;;;;:::i;:::-;;;;;;;;;37574:24;;37373:233;;;:::o;51441:167::-;43685:6;;-1:-1:-1;;;;;43685:6:0;19069:10;43832:23;43824:68;;;;-1:-1:-1;;;43824:68:0;;;;;;;:::i;:::-;51524:16:::1;::::0;;;::::1;;;51523:17;51515:47;;;::::0;-1:-1:-1;;;51515:47:0;;11854:2:1;51515:47:0::1;::::0;::::1;11836:21:1::0;11893:2;11873:18;;;11866:30;-1:-1:-1;;;11912:18:1;;;11905:48;11970:18;;51515:47:0::1;11652:342:1::0;51515:47:0::1;51573:27:::0;;::::1;::::0;:16:::1;::::0;:27:::1;::::0;::::1;::::0;::::1;:::i;23052:239::-:0;23124:7;23160:16;;;:7;:16;;;;;;-1:-1:-1;;;;;23160:16:0;23195:19;23187:73;;;;-1:-1:-1;;;23187:73:0;;12201:2:1;23187:73:0;;;12183:21:1;12240:2;12220:18;;;12213:30;12279:34;12259:18;;;12252:62;-1:-1:-1;;;12330:18:1;;;12323:39;12379:19;;23187:73:0;11999:405:1;22782:208:0;22854:7;-1:-1:-1;;;;;22882:19:0;;22874:74;;;;-1:-1:-1;;;22874:74:0;;12611:2:1;22874:74:0;;;12593:21:1;12650:2;12630:18;;;12623:30;12689:34;12669:18;;;12662:62;-1:-1:-1;;;12740:18:1;;;12733:40;12790:19;;22874:74:0;12409:406:1;22874:74:0;-1:-1:-1;;;;;;22966:16:0;;;;;:9;:16;;;;;;;22782:208::o;48722:392::-;43685:6;;-1:-1:-1;;;;;43685:6:0;19069:10;43832:23;43824:68;;;;-1:-1:-1;;;43824:68:0;;;;;;;:::i;:::-;48833:1:::1;48816:14;:18;:50;;;;;48856:10;;48838:14;:28;;48816:50;48808:94;;;::::0;-1:-1:-1;;;48808:94:0;;13022:2:1;48808:94:0::1;::::0;::::1;13004:21:1::0;;;13041:18;;;13034:30;13100:34;13080:18;;;13073:62;13152:18;;48808:94:0::1;12820:356:1::0;48808:94:0::1;48913:14;48930:13;37271:10:::0;:17;;37183:113;48930:13:::1;48913:30;;48959:9;48954:102;48978:14;48974:1;:18;48954:102;;;49014:30;49024:3:::0;49029:10:::1;49038:1:::0;49029:6;:10:::1;:::i;:::-;:14;::::0;49042:1:::1;49029:14;:::i;:::-;49014:9;:30::i;:::-;48994:3:::0;::::1;::::0;::::1;:::i;:::-;;;;48954:102;;;;49092:14;49079:10;;:27;;;;:::i;:::-;49066:10;:40:::0;-1:-1:-1;;;48722:392:0:o;44263:103::-;43685:6;;-1:-1:-1;;;;;43685:6:0;19069:10;43832:23;43824:68;;;;-1:-1:-1;;;43824:68:0;;;;;;;:::i;:::-;44328:30:::1;44355:1;44328:18;:30::i;:::-;44263:103::o:0;52538:110::-;43685:6;;52592:7;;-1:-1:-1;;;;;43685:6:0;19069:10;43832:23;43824:68;;;;-1:-1:-1;;;43824:68:0;;;;;;;:::i;:::-;-1:-1:-1;52619:21:0::1;52538:110:::0;:::o;50953:104::-;43685:6;;-1:-1:-1;;;;;43685:6:0;19069:10;43832:23;43824:68;;;;-1:-1:-1;;;43824:68:0;;;;;;;:::i;:::-;51025:10:::1;:24:::0;50953:104::o;52435:95::-;43685:6;;-1:-1:-1;;;;;43685:6:0;19069:10;43832:23;43824:68;;;;-1:-1:-1;;;43824:68:0;;;;;;;:::i;:::-;52502:9:::1;:20:::0;52435:95::o;23527:104::-;23583:13;23616:7;23609:14;;;;;:::i;48373:83::-;43685:6;;-1:-1:-1;;;;;43685:6:0;19069:10;43832:23;43824:68;;;;-1:-1:-1;;;43824:68:0;;;;;;;:::i;:::-;48425:16:::1;:23:::0;;-1:-1:-1;;48425:23:0::1;::::0;::::1;::::0;;48373:83::o;49122:763::-;49191:12;;;;49183:57;;;;-1:-1:-1;;;49183:57:0;;13918:2:1;49183:57:0;;;13900:21:1;;;13937:18;;;13930:30;13996:34;13976:18;;;13969:62;14048:18;;49183:57:0;13716:356:1;49183:57:0;49276:1;49259:14;:18;49251:82;;;;-1:-1:-1;;;49251:82:0;;;;;;;:::i;:::-;49403:10;;49383:14;49370:10;;49354:13;37271:10;:17;;37183:113;49354:13;:26;;;;:::i;:::-;:43;;;;:::i;:::-;49353:61;;49344:115;;;;-1:-1:-1;;;49344:115:0;;;;;;;:::i;:::-;47284:2;49478:14;:34;;49470:81;;;;-1:-1:-1;;;49470:81:0;;15108:2:1;49470:81:0;;;15090:21:1;15147:2;15127:18;;;15120:30;15186:34;15166:18;;;15159:62;-1:-1:-1;;;15237:18:1;;;15230:33;15280:19;;49470:81:0;14906:399:1;49470:81:0;49603:9;49584:14;49572:9;;:26;;;;:::i;:::-;49571:41;;49562:84;;;;-1:-1:-1;;;49562:84:0;;15685:2:1;49562:84:0;;;15667:21:1;15724:2;15704:18;;;15697:30;15763:31;15743:18;;;15736:59;15812:18;;49562:84:0;15483:353:1;49562:84:0;49681:23;;49663:14;:41;49659:90;;;49721:16;;;;:::i;:::-;;;;49659:90;49774:6;49769:109;49790:14;49786:1;:18;49769:109;;;49826:40;49836:10;49848:13;37271:10;:17;;37183:113;49826:40;49806:3;;;;:::i;:::-;;;;49769:109;;25210:155;25305:52;19069:10;25338:8;25348;25305:18;:52::i;26333:328::-;26508:41;19069:10;26541:7;26508:18;:41::i;:::-;26500:103;;;;-1:-1:-1;;;26500:103:0;;;;;;;:::i;:::-;26614:39;26628:4;26634:2;26638:7;26647:5;26614:13;:39::i;51616:811::-;28236:4;28260:16;;;:7;:16;;;;;;51689:13;;-1:-1:-1;;;;;28260:16:0;51715:76;;;;-1:-1:-1;;;51715:76:0;;16043:2:1;51715:76:0;;;16025:21:1;16082:2;16062:18;;;16055:30;16121:34;16101:18;;;16094:62;-1:-1:-1;;;16172:18:1;;;16165:45;16227:19;;51715:76:0;15841:411:1;51715:76:0;51804:23;51830:19;;;:10;:19;;;;;51804:45;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51860:18;51881:10;:8;:10::i;:::-;51860:31;;51973:4;51967:18;51989:1;51967:23;51963:72;;;-1:-1:-1;52014:9:0;51616:811;-1:-1:-1;;51616:811:0:o;51963:72::-;52139:23;;:27;52135:117;;52214:4;52220:9;52197:42;;;;;;;;;:::i;:::-;;;;;;;;;;;;;52183:57;;;;51616:811;;;:::o;52135:117::-;52384:4;52390:18;:7;:16;:18::i;:::-;52367:51;;;;;;;;;:::i;47864:182::-;43685:6;;-1:-1:-1;;;;;43685:6:0;19069:10;43832:23;43824:68;;;;-1:-1:-1;;;43824:68:0;;;;;;;:::i;:::-;47952:5:::1;47948:1;:9;47940:56;;;::::0;-1:-1:-1;;;47940:56:0;;17101:2:1;47940:56:0::1;::::0;::::1;17083:21:1::0;17140:2;17120:18;;;17113:30;17179:34;17159:18;;;17152:62;-1:-1:-1;;;17230:18:1;;;17223:32;17272:19;;47940:56:0::1;16899:398:1::0;47940:56:0::1;48007:23;:31:::0;47864:182::o;44521:201::-;43685:6;;-1:-1:-1;;;;;43685:6:0;19069:10;43832:23;43824:68;;;;-1:-1:-1;;;43824:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;44610:22:0;::::1;44602:73;;;::::0;-1:-1:-1;;;44602:73:0;;17504:2:1;44602:73:0::1;::::0;::::1;17486:21:1::0;17543:2;17523:18;;;17516:30;17582:34;17562:18;;;17555:62;-1:-1:-1;;;17633:18:1;;;17626:36;17679:19;;44602:73:0::1;17302:402:1::0;44602:73:0::1;44686:28;44705:8;44686:18;:28::i;:::-;44521:201:::0;:::o;48468:98::-;43685:6;;-1:-1:-1;;;;;43685:6:0;19069:10;43832:23;43824:68;;;;-1:-1:-1;;;43824:68:0;;;;;;;:::i;:::-;48543:15:::1;::::0;;-1:-1:-1;;48524:34:0;::::1;48543:15;::::0;;;::::1;;;48542:16;48524:34:::0;;::::1;;::::0;;48468:98::o;22413:305::-;22515:4;-1:-1:-1;;;;;;22552:40:0;;-1:-1:-1;;;22552:40:0;;:105;;-1:-1:-1;;;;;;;22609:48:0;;-1:-1:-1;;;22609:48:0;22552:105;:158;;;-1:-1:-1;;;;;;;;;;1617:40:0;;;22674:36;1508:157;32153:174;32228:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;32228:29:0;-1:-1:-1;;;;;32228:29:0;;;;;;;;:24;;32282:23;32228:24;32282:14;:23::i;:::-;-1:-1:-1;;;;;32273:46:0;;;;;;;;;;;32153:174;;:::o;28465:348::-;28558:4;28260:16;;;:7;:16;;;;;;-1:-1:-1;;;;;28260:16:0;28575:73;;;;-1:-1:-1;;;28575:73:0;;17911:2:1;28575:73:0;;;17893:21:1;17950:2;17930:18;;;17923:30;17989:34;17969:18;;;17962:62;-1:-1:-1;;;18040:18:1;;;18033:42;18092:19;;28575:73:0;17709:408:1;28575:73:0;28659:13;28675:23;28690:7;28675:14;:23::i;:::-;28659:39;;28728:5;-1:-1:-1;;;;;28717:16:0;:7;-1:-1:-1;;;;;28717:16:0;;:51;;;;28761:7;-1:-1:-1;;;;;28737:31:0;:20;28749:7;28737:11;:20::i;:::-;-1:-1:-1;;;;;28737:31:0;;28717:51;:87;;;-1:-1:-1;;;;;;25557:25:0;;;25533:4;25557:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;28772:32;28709:96;28465:348;-1:-1:-1;;;;28465:348:0:o;31457:578::-;31616:4;-1:-1:-1;;;;;31589:31:0;:23;31604:7;31589:14;:23::i;:::-;-1:-1:-1;;;;;31589:31:0;;31581:85;;;;-1:-1:-1;;;31581:85:0;;18324:2:1;31581:85:0;;;18306:21:1;18363:2;18343:18;;;18336:30;18402:34;18382:18;;;18375:62;-1:-1:-1;;;18453:18:1;;;18446:39;18502:19;;31581:85:0;18122:405:1;31581:85:0;-1:-1:-1;;;;;31685:16:0;;31677:65;;;;-1:-1:-1;;;31677:65:0;;18734:2:1;31677:65:0;;;18716:21:1;18773:2;18753:18;;;18746:30;18812:34;18792:18;;;18785:62;-1:-1:-1;;;18863:18:1;;;18856:34;18907:19;;31677:65:0;18532:400:1;31677:65:0;31755:39;31776:4;31782:2;31786:7;31755:20;:39::i;:::-;31859:29;31876:1;31880:7;31859:8;:29::i;:::-;-1:-1:-1;;;;;31901:15:0;;;;;;:9;:15;;;;;:20;;31920:1;;31901:15;:20;;31920:1;;31901:20;:::i;:::-;;;;-1:-1:-1;;;;;;;31932:13:0;;;;;;:9;:13;;;;;:18;;31949:1;;31932:13;:18;;31949:1;;31932:18;:::i;:::-;;;;-1:-1:-1;;31961:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;31961:21:0;-1:-1:-1;;;;;31961:21:0;;;;;;;;;32000:27;;31961:16;;32000:27;;;;;;;31457:578;;;:::o;49897:879::-;49968:15;;;;;;;49960:63;;;;-1:-1:-1;;;49960:63:0;;19139:2:1;49960:63:0;;;19121:21:1;19178:2;19158:18;;;19151:30;19217:34;19197:18;;;19190:62;-1:-1:-1;;;19268:18:1;;;19261:33;19311:19;;49960:63:0;18937:399:1;49960:63:0;50059:1;50042:14;:18;50034:82;;;;-1:-1:-1;;;50034:82:0;;;;;;;:::i;:::-;50186:10;;50166:14;50153:10;;50137:13;37271:10;:17;;37183:113;50137:13;:26;;;;:::i;:::-;:43;;;;:::i;:::-;50136:61;;50127:115;;;;-1:-1:-1;;;50127:115:0;;;;;;;:::i;:::-;50279:10;50261:29;;;;:17;:29;;;;;;47341:2;;50261:46;;50293:14;;50261:46;:::i;:::-;:74;;50253:130;;;;-1:-1:-1;;;50253:130:0;;19543:2:1;50253:130:0;;;19525:21:1;19582:2;19562:18;;;19555:30;19621:34;19601:18;;;19594:62;-1:-1:-1;;;19672:18:1;;;19665:42;19724:19;;50253:130:0;19341:408:1;50253:130:0;50435:9;50416:14;50404:9;;:26;;;;:::i;:::-;50403:41;;50394:84;;;;-1:-1:-1;;;50394:84:0;;15685:2:1;50394:84:0;;;15667:21:1;15724:2;15704:18;;;15697:30;15763:31;15743:18;;;15736:59;15812:18;;50394:84:0;15483:353:1;50394:84:0;50513:23;;50495:14;:41;50491:90;;;50553:16;;;;:::i;:::-;;;;50491:90;50606:6;50601:110;50622:14;50618:1;:18;50601:110;;;50658:41;50668:10;50681:13;37271:10;:17;;37183:113;50658:41;50638:3;;;;:::i;:::-;;;;50601:110;;;-1:-1:-1;50739:10:0;50721:29;;;;:17;:29;;;;;:47;;50754:14;;50721:29;:47;;50754:14;;50721:47;:::i;:::-;;;;-1:-1:-1;;;49897:879:0:o;45815:190::-;45940:4;45993;45964:25;45977:5;45984:4;45964:12;:25::i;:::-;:33;;45815:190;-1:-1:-1;;;;45815:190:0:o;29155:110::-;29231:26;29241:2;29245:7;29231:26;;;;;;;;;;;;:9;:26::i;44882:191::-;44975:6;;;-1:-1:-1;;;;;44992:17:0;;;-1:-1:-1;;;;;;44992:17:0;;;;;;;45025:40;;44975:6;;;44992:17;44975:6;;45025:40;;44956:16;;45025:40;44945:128;44882:191;:::o;32469:315::-;32624:8;-1:-1:-1;;;;;32615:17:0;:5;-1:-1:-1;;;;;32615:17:0;;;32607:55;;;;-1:-1:-1;;;32607:55:0;;19956:2:1;32607:55:0;;;19938:21:1;19995:2;19975:18;;;19968:30;20034:27;20014:18;;;20007:55;20079:18;;32607:55:0;19754:349:1;32607:55:0;-1:-1:-1;;;;;32673:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;32673:46:0;;;;;;;;;;32735:41;;540::1;;;32735::0;;513:18:1;32735:41:0;;;;;;;32469:315;;;:::o;27543:::-;27700:28;27710:4;27716:2;27720:7;27700:9;:28::i;:::-;27747:48;27770:4;27776:2;27780:7;27789:5;27747:22;:48::i;:::-;27739:111;;;;-1:-1:-1;;;27739:111:0;;;;;;;:::i;51316:117::-;51376:13;51409:16;51402:23;;;;;:::i;19427:723::-;19483:13;19704:10;19700:53;;-1:-1:-1;;19731:10:0;;;;;;;;;;;;-1:-1:-1;;;19731:10:0;;;;;19427:723::o;19700:53::-;19778:5;19763:12;19819:78;19826:9;;19819:78;;19852:8;;;;:::i;:::-;;-1:-1:-1;19875:10:0;;-1:-1:-1;19883:2:0;19875:10;;:::i;:::-;;;19819:78;;;19907:19;19939:6;19929:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19929:17:0;;19907:39;;19957:154;19964:10;;19957:154;;19991:11;20001:1;19991:11;;:::i;:::-;;-1:-1:-1;20060:10:0;20068:2;20060:5;:10;:::i;:::-;20047:24;;:2;:24;:::i;:::-;20034:39;;20017:6;20024;20017:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;20017:56:0;;;;;;;;-1:-1:-1;20088:11:0;20097:2;20088:11;;:::i;:::-;;;19957:154;;38219:589;-1:-1:-1;;;;;38425:18:0;;38421:187;;38460:40;38492:7;39635:10;:17;;39608:24;;;;:15;:24;;;;;:44;;;39663:24;;;;;;;;;;;;39531:164;38460:40;38421:187;;;38530:2;-1:-1:-1;;;;;38522:10:0;:4;-1:-1:-1;;;;;38522:10:0;;38518:90;;38549:47;38582:4;38588:7;38549:32;:47::i;:::-;-1:-1:-1;;;;;38622:16:0;;38618:183;;38655:45;38692:7;38655:36;:45::i;38618:183::-;38728:4;-1:-1:-1;;;;;38722:10:0;:2;-1:-1:-1;;;;;38722:10:0;;38718:83;;38749:40;38777:2;38781:7;38749:27;:40::i;46367:701::-;46450:7;46493:4;46450:7;46508:523;46532:5;:12;46528:1;:16;46508:523;;;46566:20;46589:5;46595:1;46589:8;;;;;;;;:::i;:::-;;;;;;;46566:31;;46632:12;46616;:28;46612:408;;46769:44;;;;;;21058:19:1;;;21093:12;;;21086:28;;;21130:12;;46769:44:0;;;;;;;;;;;;46759:55;;;;;;46744:70;;46612:408;;;46959:44;;;;;;21058:19:1;;;21093:12;;;21086:28;;;21130:12;;46959:44:0;;;;;;;;;;;;46949:55;;;;;;46934:70;;46612:408;-1:-1:-1;46546:3:0;;;;:::i;:::-;;;;46508:523;;;-1:-1:-1;47048:12:0;46367:701;-1:-1:-1;;;46367:701:0:o;29492:321::-;29622:18;29628:2;29632:7;29622:5;:18::i;:::-;29673:54;29704:1;29708:2;29712:7;29721:5;29673:22;:54::i;:::-;29651:154;;;;-1:-1:-1;;;29651:154:0;;;;;;;:::i;33349:799::-;33504:4;-1:-1:-1;;;;;33525:13:0;;2676:20;2724:8;33521:620;;33561:72;;-1:-1:-1;;;33561:72:0;;-1:-1:-1;;;;;33561:36:0;;;;;:72;;19069:10;;33612:4;;33618:7;;33627:5;;33561:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33561:72:0;;;;;;;;-1:-1:-1;;33561:72:0;;;;;;;;;;;;:::i;:::-;;;33557:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33803:13:0;;33799:272;;33846:60;;-1:-1:-1;;;33846:60:0;;;;;;;:::i;33799:272::-;34021:6;34015:13;34006:6;34002:2;33998:15;33991:38;33557:529;-1:-1:-1;;;;;;33684:51:0;-1:-1:-1;;;33684:51:0;;-1:-1:-1;33677:58:0;;33521:620;-1:-1:-1;34125:4:0;33349:799;;;;;;:::o;40322:988::-;40588:22;40638:1;40613:22;40630:4;40613:16;:22::i;:::-;:26;;;;:::i;:::-;40650:18;40671:26;;;:17;:26;;;;;;40588:51;;-1:-1:-1;40804:28:0;;;40800:328;;-1:-1:-1;;;;;40871:18:0;;40849:19;40871:18;;;:12;:18;;;;;;;;:34;;;;;;;;;40922:30;;;;;;:44;;;41039:30;;:17;:30;;;;;:43;;;40800:328;-1:-1:-1;41224:26:0;;;;:17;:26;;;;;;;;41217:33;;;-1:-1:-1;;;;;41268:18:0;;;;;:12;:18;;;;;:34;;;;;;;41261:41;40322:988::o;41605:1079::-;41883:10;:17;41858:22;;41883:21;;41903:1;;41883:21;:::i;:::-;41915:18;41936:24;;;:15;:24;;;;;;42309:10;:26;;41858:46;;-1:-1:-1;41936:24:0;;41858:46;;42309:26;;;;;;:::i;:::-;;;;;;;;;42287:48;;42373:11;42348:10;42359;42348:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;42453:28;;;:15;:28;;;;;;;:41;;;42625:24;;;;;42618:31;42660:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;41676:1008;;;41605:1079;:::o;39109:221::-;39194:14;39211:20;39228:2;39211:16;:20::i;:::-;-1:-1:-1;;;;;39242:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;39287:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;39109:221:0:o;30149:382::-;-1:-1:-1;;;;;30229:16:0;;30221:61;;;;-1:-1:-1;;;30221:61:0;;22235:2:1;30221:61:0;;;22217:21:1;;;22254:18;;;22247:30;22313:34;22293:18;;;22286:62;22365:18;;30221:61:0;22033:356:1;30221:61:0;28236:4;28260:16;;;:7;:16;;;;;;-1:-1:-1;;;;;28260:16:0;:30;30293:58;;;;-1:-1:-1;;;30293:58:0;;22596:2:1;30293:58:0;;;22578:21:1;22635:2;22615:18;;;22608:30;22674;22654:18;;;22647:58;22722:18;;30293:58:0;22394:352:1;30293:58:0;30364:45;30393:1;30397:2;30401:7;30364:20;:45::i;:::-;-1:-1:-1;;;;;30422:13:0;;;;;;:9;:13;;;;;:18;;30439:1;;30422:13;:18;;30439:1;;30422:18;:::i;:::-;;;;-1:-1:-1;;30451:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;30451:21:0;-1:-1:-1;;;;;30451:21:0;;;;;;;;30490:33;;30451:16;;;30490:33;;30451:16;;30490:33;30149:382;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;774:258::-;846:1;856:113;870:6;867:1;864:13;856:113;;;946:11;;;940:18;927:11;;;920:39;892:2;885:10;856:113;;;987:6;984:1;981:13;978:48;;;-1:-1:-1;;1022:1:1;1004:16;;997:27;774:258::o;1037:::-;1079:3;1117:5;1111:12;1144:6;1139:3;1132:19;1160:63;1216:6;1209:4;1204:3;1200:14;1193:4;1186:5;1182:16;1160:63;:::i;:::-;1277:2;1256:15;-1:-1:-1;;1252:29:1;1243:39;;;;1284:4;1239:50;;1037:258;-1:-1:-1;;1037:258:1:o;1300:220::-;1449:2;1438:9;1431:21;1412:4;1469:45;1510:2;1499:9;1495:18;1487:6;1469:45;:::i;1525:180::-;1584:6;1637:2;1625:9;1616:7;1612:23;1608:32;1605:52;;;1653:1;1650;1643:12;1605:52;-1:-1:-1;1676:23:1;;1525:180;-1:-1:-1;1525:180:1:o;1918:173::-;1986:20;;-1:-1:-1;;;;;2035:31:1;;2025:42;;2015:70;;2081:1;2078;2071:12;2015:70;1918:173;;;:::o;2096:254::-;2164:6;2172;2225:2;2213:9;2204:7;2200:23;2196:32;2193:52;;;2241:1;2238;2231:12;2193:52;2264:29;2283:9;2264:29;:::i;:::-;2254:39;2340:2;2325:18;;;;2312:32;;-1:-1:-1;;;2096:254:1:o;2355:186::-;2414:6;2467:2;2455:9;2446:7;2442:23;2438:32;2435:52;;;2483:1;2480;2473:12;2435:52;2506:29;2525:9;2506:29;:::i;2546:328::-;2623:6;2631;2639;2692:2;2680:9;2671:7;2667:23;2663:32;2660:52;;;2708:1;2705;2698:12;2660:52;2731:29;2750:9;2731:29;:::i;:::-;2721:39;;2779:38;2813:2;2802:9;2798:18;2779:38;:::i;:::-;2769:48;;2864:2;2853:9;2849:18;2836:32;2826:42;;2546:328;;;;;:::o;3061:751::-;3165:6;3173;3181;3189;3242:2;3230:9;3221:7;3217:23;3213:32;3210:52;;;3258:1;3255;3248:12;3210:52;3294:9;3281:23;3271:33;;3351:2;3340:9;3336:18;3323:32;3313:42;;3406:2;3395:9;3391:18;3378:32;3429:18;3470:2;3462:6;3459:14;3456:34;;;3486:1;3483;3476:12;3456:34;3524:6;3513:9;3509:22;3499:32;;3569:7;3562:4;3558:2;3554:13;3550:27;3540:55;;3591:1;3588;3581:12;3540:55;3631:2;3618:16;3657:2;3649:6;3646:14;3643:34;;;3673:1;3670;3663:12;3643:34;3726:7;3721:2;3711:6;3708:1;3704:14;3700:2;3696:23;3692:32;3689:45;3686:65;;;3747:1;3744;3737:12;3686:65;3061:751;;;;-1:-1:-1;;3778:2:1;3770:11;;-1:-1:-1;;;3061:751:1:o;3817:127::-;3878:10;3873:3;3869:20;3866:1;3859:31;3909:4;3906:1;3899:15;3933:4;3930:1;3923:15;3949:275;4020:2;4014:9;4085:2;4066:13;;-1:-1:-1;;4062:27:1;4050:40;;4120:18;4105:34;;4141:22;;;4102:62;4099:88;;;4167:18;;:::i;:::-;4203:2;4196:22;3949:275;;-1:-1:-1;3949:275:1:o;4229:1014::-;4322:6;4330;4383:2;4371:9;4362:7;4358:23;4354:32;4351:52;;;4399:1;4396;4389:12;4351:52;4435:9;4422:23;4412:33;;4464:2;4517;4506:9;4502:18;4489:32;4540:18;4581:2;4573:6;4570:14;4567:34;;;4597:1;4594;4587:12;4567:34;4635:6;4624:9;4620:22;4610:32;;4680:7;4673:4;4669:2;4665:13;4661:27;4651:55;;4702:1;4699;4692:12;4651:55;4738:2;4725:16;4760:2;4756;4753:10;4750:36;;;4766:18;;:::i;:::-;4812:2;4809:1;4805:10;4795:20;;4835:28;4859:2;4855;4851:11;4835:28;:::i;:::-;4897:15;;;4967:11;;;4963:20;;;4928:12;;;;4995:19;;;4992:39;;;5027:1;5024;5017:12;4992:39;5051:11;;;;5071:142;5087:6;5082:3;5079:15;5071:142;;;5153:17;;5141:30;;5104:12;;;;5191;;;;5071:142;;;5232:5;5222:15;;;;;;;;4229:1014;;;;;:::o;5248:407::-;5313:5;5347:18;5339:6;5336:30;5333:56;;;5369:18;;:::i;:::-;5407:57;5452:2;5431:15;;-1:-1:-1;;5427:29:1;5458:4;5423:40;5407:57;:::i;:::-;5398:66;;5487:6;5480:5;5473:21;5527:3;5518:6;5513:3;5509:16;5506:25;5503:45;;;5544:1;5541;5534:12;5503:45;5593:6;5588:3;5581:4;5574:5;5570:16;5557:43;5647:1;5640:4;5631:6;5624:5;5620:18;5616:29;5609:40;5248:407;;;;;:::o;5660:451::-;5729:6;5782:2;5770:9;5761:7;5757:23;5753:32;5750:52;;;5798:1;5795;5788:12;5750:52;5838:9;5825:23;5871:18;5863:6;5860:30;5857:50;;;5903:1;5900;5893:12;5857:50;5926:22;;5979:4;5971:13;;5967:27;-1:-1:-1;5957:55:1;;6008:1;6005;5998:12;5957:55;6031:74;6097:7;6092:2;6079:16;6074:2;6070;6066:11;6031:74;:::i;6301:347::-;6366:6;6374;6427:2;6415:9;6406:7;6402:23;6398:32;6395:52;;;6443:1;6440;6433:12;6395:52;6466:29;6485:9;6466:29;:::i;:::-;6456:39;;6545:2;6534:9;6530:18;6517:32;6592:5;6585:13;6578:21;6571:5;6568:32;6558:60;;6614:1;6611;6604:12;6558:60;6637:5;6627:15;;;6301:347;;;;;:::o;6653:667::-;6748:6;6756;6764;6772;6825:3;6813:9;6804:7;6800:23;6796:33;6793:53;;;6842:1;6839;6832:12;6793:53;6865:29;6884:9;6865:29;:::i;:::-;6855:39;;6913:38;6947:2;6936:9;6932:18;6913:38;:::i;:::-;6903:48;;6998:2;6987:9;6983:18;6970:32;6960:42;;7053:2;7042:9;7038:18;7025:32;7080:18;7072:6;7069:30;7066:50;;;7112:1;7109;7102:12;7066:50;7135:22;;7188:4;7180:13;;7176:27;-1:-1:-1;7166:55:1;;7217:1;7214;7207:12;7166:55;7240:74;7306:7;7301:2;7288:16;7283:2;7279;7275:11;7240:74;:::i;:::-;7230:84;;;6653:667;;;;;;;:::o;7325:260::-;7393:6;7401;7454:2;7442:9;7433:7;7429:23;7425:32;7422:52;;;7470:1;7467;7460:12;7422:52;7493:29;7512:9;7493:29;:::i;:::-;7483:39;;7541:38;7575:2;7564:9;7560:18;7541:38;:::i;:::-;7531:48;;7325:260;;;;;:::o;7590:380::-;7669:1;7665:12;;;;7712;;;7733:61;;7787:4;7779:6;7775:17;7765:27;;7733:61;7840:2;7832:6;7829:14;7809:18;7806:38;7803:161;;;7886:10;7881:3;7877:20;7874:1;7867:31;7921:4;7918:1;7911:15;7949:4;7946:1;7939:15;7803:161;;7590:380;;;:::o;9574:413::-;9776:2;9758:21;;;9815:2;9795:18;;;9788:30;9854:34;9849:2;9834:18;;9827:62;-1:-1:-1;;;9920:2:1;9905:18;;9898:47;9977:3;9962:19;;9574:413::o;10404:356::-;10606:2;10588:21;;;10625:18;;;10618:30;10684:34;10679:2;10664:18;;10657:62;10751:2;10736:18;;10404:356::o;11520:127::-;11581:10;11576:3;11572:20;11569:1;11562:31;11612:4;11609:1;11602:15;11636:4;11633:1;11626:15;13181:127;13242:10;13237:3;13233:20;13230:1;13223:31;13273:4;13270:1;13263:15;13297:4;13294:1;13287:15;13313:128;13353:3;13384:1;13380:6;13377:1;13374:13;13371:39;;;13390:18;;:::i;:::-;-1:-1:-1;13426:9:1;;13313:128::o;13446:135::-;13485:3;-1:-1:-1;;13506:17:1;;13503:43;;;13526:18;;:::i;:::-;-1:-1:-1;13573:1:1;13562:13;;13446:135::o;13586:125::-;13626:4;13654:1;13651;13648:8;13645:34;;;13659:18;;:::i;:::-;-1:-1:-1;13696:9:1;;13586:125::o;14077:415::-;14279:2;14261:21;;;14318:2;14298:18;;;14291:30;14357:34;14352:2;14337:18;;14330:62;-1:-1:-1;;;14423:2:1;14408:18;;14401:49;14482:3;14467:19;;14077:415::o;14497:404::-;14699:2;14681:21;;;14738:2;14718:18;;;14711:30;14777:34;14772:2;14757:18;;14750:62;-1:-1:-1;;;14843:2:1;14828:18;;14821:38;14891:3;14876:19;;14497:404::o;15310:168::-;15350:7;15416:1;15412;15408:6;15404:14;15401:1;15398:21;15393:1;15386:9;15379:17;15375:45;15372:71;;;15423:18;;:::i;:::-;-1:-1:-1;15463:9:1;;15310:168::o;16257:637::-;16537:3;16575:6;16569:13;16591:53;16637:6;16632:3;16625:4;16617:6;16613:17;16591:53;:::i;:::-;16707:13;;16666:16;;;;16729:57;16707:13;16666:16;16763:4;16751:17;;16729:57;:::i;:::-;-1:-1:-1;;;16808:20:1;;16837:22;;;16886:1;16875:13;;16257:637;-1:-1:-1;;;;16257:637:1:o;20108:414::-;20310:2;20292:21;;;20349:2;20329:18;;;20322:30;20388:34;20383:2;20368:18;;20361:62;-1:-1:-1;;;20454:2:1;20439:18;;20432:48;20512:3;20497:19;;20108:414::o;20527:127::-;20588:10;20583:3;20579:20;20576:1;20569:31;20619:4;20616:1;20609:15;20643:4;20640:1;20633:15;20659:120;20699:1;20725;20715:35;;20730:18;;:::i;:::-;-1:-1:-1;20764:9:1;;20659:120::o;20784:112::-;20816:1;20842;20832:35;;20847:18;;:::i;:::-;-1:-1:-1;20881:9:1;;20784:112::o;21153:489::-;-1:-1:-1;;;;;21422:15:1;;;21404:34;;21474:15;;21469:2;21454:18;;21447:43;21521:2;21506:18;;21499:34;;;21569:3;21564:2;21549:18;;21542:31;;;21347:4;;21590:46;;21616:19;;21608:6;21590:46;:::i;:::-;21582:54;21153:489;-1:-1:-1;;;;;;21153:489:1:o;21647:249::-;21716:6;21769:2;21757:9;21748:7;21744:23;21740:32;21737:52;;;21785:1;21782;21775:12;21737:52;21817:9;21811:16;21836:30;21860:5;21836:30;:::i;21901:127::-;21962:10;21957:3;21953:20;21950:1;21943:31;21993:4;21990:1;21983:15;22017:4;22014:1;22007:15

Swarm Source

ipfs://360be608babea1584b9e50e0249bb7f61e9543c787132ec5fa03319653d9ab64

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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