ETH Price: $3,861.16 (-1.65%)

Token

Hell of a Party (HOAP)
 

Overview

Max Total Supply

3,690 HOAP

Holders

1,788

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
instagramreel.eth
Balance
1 HOAP
0x07fb29DBf4beE9e6aB46B81224d0BAE8dbcd4E0c
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
HOAP

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

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

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

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

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

abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    string private _name;
    string private _symbol;

    // Mapping from token ID to owner address
    address[] internal _owners;

    mapping(uint256 => address) private _tokenApprovals;
    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");

        uint256 count;
        for (uint256 i; i < _owners.length; ++i) {
            if (owner == _owners[i]) ++count;
        }
        return count;
    }

    /**
     * @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 {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 {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

        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);
        _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 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 {}
}

contract VRFRequestIDBase {
    /**
     * @notice returns the seed which is actually input to the VRF coordinator
     *
     * @dev To prevent repetition of VRF output due to repetition of the
     * @dev user-supplied seed, that seed is combined in a hash with the
     * @dev user-specific nonce, and the address of the consuming contract. The
     * @dev risk of repetition is mostly mitigated by inclusion of a blockhash in
     * @dev the final seed, but the nonce does protect against repetition in
     * @dev requests which are included in a single block.
     *
     * @param _userSeed VRF seed input provided by user
     * @param _requester Address of the requesting contract
     * @param _nonce User-specific nonce at the time of the request
     */
    function makeVRFInputSeed(
        bytes32 _keyHash,
        uint256 _userSeed,
        address _requester,
        uint256 _nonce
    ) internal pure returns (uint256) {
        return uint256(keccak256(abi.encode(_keyHash, _userSeed, _requester, _nonce)));
    }

    /**
     * @notice Returns the id for this request
     * @param _keyHash The serviceAgreement ID to be used for this request
     * @param _vRFInputSeed The seed to be passed directly to the VRF
     * @return The id for this request
     *
     * @dev Note that _vRFInputSeed is not the seed passed by the consuming
     * @dev contract, but the one generated by makeVRFInputSeed
     */
    function makeRequestId(bytes32 _keyHash, uint256 _vRFInputSeed) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked(_keyHash, _vRFInputSeed));
    }
}

interface LinkTokenInterface {
    function allowance(address owner, address spender) external view returns (uint256 remaining);

    function approve(address spender, uint256 value) external returns (bool success);

    function balanceOf(address owner) external view returns (uint256 balance);

    function decimals() external view returns (uint8 decimalPlaces);

    function decreaseApproval(address spender, uint256 addedValue) external returns (bool success);

    function increaseApproval(address spender, uint256 subtractedValue) external;

    function name() external view returns (string memory tokenName);

    function symbol() external view returns (string memory tokenSymbol);

    function totalSupply() external view returns (uint256 totalTokensIssued);

    function transfer(address to, uint256 value) external returns (bool success);

    function transferAndCall(
        address to,
        uint256 value,
        bytes calldata data
    ) external returns (bool success);

    function transferFrom(
        address from,
        address to,
        uint256 value
    ) external returns (bool success);
}

/**
 * @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 but rips out the core of the gas-wasting processing that comes from OpenZeppelin.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    /**
     * @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-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _owners.length;
    }

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

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

        uint256 count;
        for (uint256 i; i < _owners.length; i++) {
            if (owner == _owners[i]) {
                if (count == index) return i;
                else count++;
            }
        }

        revert("ERC721Enumerable: owner index out of bounds");
    }
}

/** ****************************************************************************
 * @notice Interface for contracts using VRF randomness
 * *****************************************************************************
 * @dev PURPOSE
 *
 * @dev Reggie the Random Oracle (not his real job) wants to provide randomness
 * @dev to Vera the verifier in such a way that Vera can be sure he's not
 * @dev making his output up to suit himself. Reggie provides Vera a public key
 * @dev to which he knows the secret key. Each time Vera provides a seed to
 * @dev Reggie, he gives back a value which is computed completely
 * @dev deterministically from the seed and the secret key.
 *
 * @dev Reggie provides a proof by which Vera can verify that the output was
 * @dev correctly computed once Reggie tells it to her, but without that proof,
 * @dev the output is indistinguishable to her from a uniform random sample
 * @dev from the output space.
 *
 * @dev The purpose of this contract is to make it easy for unrelated contracts
 * @dev to talk to Vera the verifier about the work Reggie is doing, to provide
 * @dev simple access to a verifiable source of randomness.
 * *****************************************************************************
 * @dev USAGE
 *
 * @dev Calling contracts must inherit from VRFConsumerBase, and can
 * @dev initialize VRFConsumerBase's attributes in their constructor as
 * @dev shown:
 *
 * @dev   contract VRFConsumer {
 * @dev     constuctor(<other arguments>, address _vrfCoordinator, address _link)
 * @dev       VRFConsumerBase(_vrfCoordinator, _link) public {
 * @dev         <initialization with other arguments goes here>
 * @dev       }
 * @dev   }
 *
 * @dev The oracle will have given you an ID for the VRF keypair they have
 * @dev committed to (let's call it keyHash), and have told you the minimum LINK
 * @dev price for VRF service. Make sure your contract has sufficient LINK, and
 * @dev call requestRandomness(keyHash, fee, seed), where seed is the input you
 * @dev want to generate randomness from.
 *
 * @dev Once the VRFCoordinator has received and validated the oracle's response
 * @dev to your request, it will call your contract's fulfillRandomness method.
 *
 * @dev The randomness argument to fulfillRandomness is the actual random value
 * @dev generated from your seed.
 *
 * @dev The requestId argument is generated from the keyHash and the seed by
 * @dev makeRequestId(keyHash, seed). If your contract could have concurrent
 * @dev requests open, you can use the requestId to track which seed is
 * @dev associated with which randomness. See VRFRequestIDBase.sol for more
 * @dev details. (See "SECURITY CONSIDERATIONS" for principles to keep in mind,
 * @dev if your contract could have multiple requests in flight simultaneously.)
 *
 * @dev Colliding `requestId`s are cryptographically impossible as long as seeds
 * @dev differ. (Which is critical to making unpredictable randomness! See the
 * @dev next section.)
 *
 * *****************************************************************************
 * @dev SECURITY CONSIDERATIONS
 *
 * @dev A method with the ability to call your fulfillRandomness method directly
 * @dev could spoof a VRF response with any random value, so it's critical that
 * @dev it cannot be directly called by anything other than this base contract
 * @dev (specifically, by the VRFConsumerBase.rawFulfillRandomness method).
 *
 * @dev For your users to trust that your contract's random behavior is free
 * @dev from malicious interference, it's best if you can write it so that all
 * @dev behaviors implied by a VRF response are executed *during* your
 * @dev fulfillRandomness method. If your contract must store the response (or
 * @dev anything derived from it) and use it later, you must ensure that any
 * @dev user-significant behavior which depends on that stored value cannot be
 * @dev manipulated by a subsequent VRF request.
 *
 * @dev Similarly, both miners and the VRF oracle itself have some influence
 * @dev over the order in which VRF responses appear on the blockchain, so if
 * @dev your contract could have multiple VRF requests in flight simultaneously,
 * @dev you must ensure that the order in which the VRF responses arrive cannot
 * @dev be used to manipulate your contract's user-significant behavior.
 *
 * @dev Since the ultimate input to the VRF is mixed with the block hash of the
 * @dev block in which the request is made, user-provided seeds have no impact
 * @dev on its economic security properties. They are only included for API
 * @dev compatability with previous versions of this contract.
 *
 * @dev Since the block hash of the block which contains the requestRandomness
 * @dev call is mixed into the input to the VRF *last*, a sufficiently powerful
 * @dev miner could, in principle, fork the blockchain to evict the block
 * @dev containing the request, forcing the request to be included in a
 * @dev different block with a different hash, and therefore a different input
 * @dev to the VRF. However, such an attack would incur a substantial economic
 * @dev cost. This cost scales with the number of blocks the VRF oracle waits
 * @dev until it calls responds to a request.
 */
abstract contract VRFConsumerBase is VRFRequestIDBase {
    /**
     * @notice fulfillRandomness handles the VRF response. Your contract must
     * @notice implement it. See "SECURITY CONSIDERATIONS" above for ////important
     * @notice principles to keep in mind when implementing your fulfillRandomness
     * @notice method.
     *
     * @dev VRFConsumerBase expects its subcontracts to have a method with this
     * @dev signature, and will call it once it has verified the proof
     * @dev associated with the randomness. (It is triggered via a call to
     * @dev rawFulfillRandomness, below.)
     *
     * @param requestId The Id initially returned by requestRandomness
     * @param randomness the VRF output
     */
    function fulfillRandomness(bytes32 requestId, uint256 randomness) internal virtual;

    /**
     * @dev In order to keep backwards compatibility we have kept the user
     * seed field around. We remove the use of it because given that the blockhash
     * enters later, it overrides whatever randomness the used seed provides.
     * Given that it adds no security, and can easily lead to misunderstandings,
     * we have removed it from usage and can now provide a simpler API.
     */
    uint256 private constant USER_SEED_PLACEHOLDER = 0;

    /**
     * @notice requestRandomness initiates a request for VRF output given _seed
     *
     * @dev The fulfillRandomness method receives the output, once it's provided
     * @dev by the Oracle, and verified by the vrfCoordinator.
     *
     * @dev The _keyHash must already be registered with the VRFCoordinator, and
     * @dev the _fee must exceed the fee specified during registration of the
     * @dev _keyHash.
     *
     * @dev The _seed parameter is vestigial, and is kept only for API
     * @dev compatibility with older versions. It can't *hurt* to mix in some of
     * @dev your own randomness, here, but it's not necessary because the VRF
     * @dev oracle will mix the hash of the block containing your request into the
     * @dev VRF seed it ultimately uses.
     *
     * @param _keyHash ID of public key against which randomness is generated
     * @param _fee The amount of LINK to send with the request
     *
     * @return requestId unique ID for this request
     *
     * @dev The returned requestId can be used to distinguish responses to
     * @dev concurrent requests. It is passed as the first argument to
     * @dev fulfillRandomness.
     */
    function requestRandomness(bytes32 _keyHash, uint256 _fee) internal returns (bytes32 requestId) {
        LINK.transferAndCall(vrfCoordinator, _fee, abi.encode(_keyHash, USER_SEED_PLACEHOLDER));
        // This is the seed passed to VRFCoordinator. The oracle will mix this with
        // the hash of the block containing this request to obtain the seed/input
        // which is finally passed to the VRF cryptographic machinery.
        uint256 vRFSeed = makeVRFInputSeed(_keyHash, USER_SEED_PLACEHOLDER, address(this), nonces[_keyHash]);
        // nonces[_keyHash] must stay in sync with
        // VRFCoordinator.nonces[_keyHash][this], which was incremented by the above
        // successful LINK.transferAndCall (in VRFCoordinator.randomnessRequest).
        // This provides protection against the user repeating their input seed,
        // which would result in a predictable/duplicate output, if multiple such
        // requests appeared in the same block.
        nonces[_keyHash] = nonces[_keyHash] + 1;
        return makeRequestId(_keyHash, vRFSeed);
    }

    LinkTokenInterface internal immutable LINK;
    address private immutable vrfCoordinator;

    // Nonces for each VRF key from which randomness has been requested.
    //
    // Must stay in sync with VRFCoordinator[_keyHash][this]
    mapping(bytes32 => uint256) /* keyHash */ /* nonce */
        private nonces;

    /**
     * @param _vrfCoordinator address of VRFCoordinator contract
     * @param _link address of LINK token contract
     *
     * @dev https://docs.chain.link/docs/link-token-contracts
     */
    constructor(address _vrfCoordinator, address _link) {
        vrfCoordinator = _vrfCoordinator;
        LINK = LinkTokenInterface(_link);
    }

    // rawFulfillRandomness is called by VRFCoordinator when it receives a valid VRF
    // proof. rawFulfillRandomness then calls fulfillRandomness, after validating
    // the origin of the call
    function rawFulfillRandomness(bytes32 requestId, uint256 randomness) external {
        require(msg.sender == vrfCoordinator, "Only VRFCoordinator can fulfill");
        fulfillRandomness(requestId, randomness);
    }
}

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * ////IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

/**
 * @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 HOAP is ERC721Enumerable, Ownable, VRFConsumerBase {

    /**************************
     *
     *  State Variables
     *
     **************************/
    // ***** constants and assignments *****
    uint256 public maxMint = 2; // max mint per minter address
    uint256 public teamAllocation = 10; // team allocation of collection in increments
    uint256 public collectionSize = 3691; // collect supply (indexed)
    address public teamWallet = 0x8814bd515E206C4606E807595329Da30008a8e7B; // address of the team wallet

    // ***** merkle minting *****
    bool public mintingState; // enable/disable minting
    bytes32 public merkleRoot; // Merkle Root

    // ***** Chainlink VRF & tokenID *****
    IERC20 public link; // address of Chainlink token contract
    uint256 public VRF_fee; // Chainlink VRF fee
    uint256 public oneOfoneRandomNum; //number returned from VRF call
    bytes32 public VRF_keyHash; // Chainlink VRF random number keyhash
    string public baseURI; // URI to HOAP metadata
    bool public verifyVRF; // can only be set once, used to validate the Chainlink config prior to mint

    // ***** OpenSea *****
    address public proxyRegistryAddress; // proxyRegistry address

    /**************************
     *
     *  Mappings
     *
     **************************/
    mapping(address => bool) private admins; // mapping of address to an administrative status
    mapping(address => bool) public projectProxy; // mapping of address to projectProxy status
    mapping(address => bool) public addressToMinted; // mapping of address to minted status


    /**********************************************************
     *
     *  Events
     *
     **********************************************************/

    event RequestedRandomNumber(bytes32 indexed requestId); // emitted when the ChainLink VRF is requested
    event RecievedRandomNumber(bytes32 indexed requestId, uint256 randomNumber); // emitted when a random number is recieved by the Chainlink VRF callback()

    /**********************************************************
     *
     *  Constructor
     *
     **********************************************************/

    /**
     * @dev Initializes the contract by:
     *  - setting a `name` and a `symbol` in the ERC721 constructor
     *  - setting collection dependant assignments
     */

    constructor(
        bytes32 _VRF_keyHash,
        uint256 _VRF_Fee,
        address _vrfCoordinator,
        address _linkToken
    ) ERC721("Hell of a Party", "HOAP") VRFConsumerBase(_vrfCoordinator, _linkToken) {
        VRF_keyHash = _VRF_keyHash;
        VRF_fee = _VRF_Fee;
        link = IERC20(address(_linkToken));
        admins[_msgSender()] = true;
        proxyRegistryAddress = 0xa5409ec958C83C3f309868babACA7c86DCB077c1;
    }

    /**********************************************************
     *
     *  Modifiers
     *
     **********************************************************/

    /**
     * @dev Ensures only contract admins can execute privileged functions
     */
    modifier onlyAdmin() {
        require(isAdmin(_msgSender()), "admins only");
        _;
    }

    /**********************************************************
     *
     *  Contract Management
     *
     **********************************************************/

    /**
     * @dev Check is an address is an admin
     */
    function isAdmin(address _addr) public view returns (bool) {
        return owner() == _addr || admins[_addr];
    }

    /**
     * @dev Grant administrative control to an address
     */
    function addAdmin(address _addr) external onlyAdmin {
        admins[_addr] = true;
    }

    /**
     * @dev Revoke administrative control for an address
     */
    function removeAdmin(address _addr) external onlyAdmin {
        admins[_addr] = false;
    }

    /**********************************************************
     *
     *  Admin and Contract setters
     *
     **********************************************************/

    /**
     *  @dev running this after the constructor adds the deployed address
     *  of this contract to the admins
     */
    function init() external onlyAdmin {
        admins[address(this)] = true;
    }

    /**
     * @dev enables//disables minting state
     */
    function setMintingState(bool _state) external onlyAdmin {
        mintingState = _state;
    }

    /**
     * @dev set the baseURI.
     */
    function setBaseURI(string memory _baseURI) public onlyAdmin {
        baseURI = _baseURI;
    }

    /**
     * @dev Set the maxMint
     */
    function setMaxMint(uint256 _maxMint) external onlyAdmin {
        maxMint = _maxMint;
    }

    /**********************************************************
     *
     *  The hoap list
     *
     **********************************************************/

    /**
     * @dev set the merkleTree root
     */
    function setMerkleRoot(bytes32 _merkleRoot) public onlyAdmin {
        merkleRoot = _merkleRoot;
    }

    /**
     * @dev calculates the leaf hash
     */
    function leaf(string memory payload) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked(payload));
    }

    /**
     * @dev verifies the inclusion of the leaf hash in the merkleTree
     */
    function verify(bytes32 leaf, bytes32[] memory proof) internal view returns (bool) {
        return MerkleProof.verify(proof, merkleRoot, leaf);
    }

    /**********************************************************
     *
     *  Token management
     *
     **********************************************************/

    /**
     *  @dev mint leverages merkleTree for the mint, there is no public sale.
     *
     *  The first token in the collection is 0 and the last token is 3689, which
     *  equates to a collection size of 3690. Gas optimization uses an index based
     *  model that returns an array size of 3690. As another gas optimization, we
     *  refrained from <= or >= and as a result we must +1, hence collectionSize = 3691.
     */
    function mint(bytes32[] calldata proof) public payable {
        string memory payload = string(abi.encodePacked(_msgSender()));
        uint256 totalSupply = _owners.length;

        require(mintingState, "mint not active");
        require(verify(leaf(payload), proof), "Invalid Merkle Tree proof supplied");
        require(addressToMinted[_msgSender()] == false, "can not mint twice");
        require(totalSupply + maxMint < collectionSize, "mint amount exceeds supply");

        addressToMinted[_msgSender()] = true;

        for (uint256 i; i < maxMint; i++) {
            _mint(_msgSender(), totalSupply + i);
        }
    }

    function teamMint() external onlyAdmin {

        uint256 totalSupply = _owners.length;
        
        for (uint256 i = 0; i < teamAllocation; i++) {
            _mint(teamWallet, totalSupply + i);
        }
    } 

    /**
     * @dev mints 'tId' to 'address'
     */
    function _mint(address to, uint256 tId) internal virtual override {
        _owners.push(to);
        emit Transfer(address(0), to, tId);
    }

    /**********************************************************
     *
     *  TOKEN
     *
     **********************************************************/

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for the `tokenId` token.
     */
    function tokenURI(uint256 _tId) public view override returns (string memory) {
        require(_exists(_tId), "Token does not exist.");
        return string(abi.encodePacked(baseURI, Strings.toString(_tId)));
    }

    /**
     * @dev transfer an array of tokens from '_from' address to '_to' address
     */
    function batchTransferFrom(
        address _from,
        address _to,
        uint256[] memory _tIds
    ) public {
        for (uint256 i = 0; i < _tIds.length; i++) {
            transferFrom(_from, _to, _tIds[i]);
        }
    }

    /**
     * @dev safe transfer an array of tokens from '_from' address to '_to' address
     */
    function batchSafeTransferFrom(
        address _from,
        address _to,
        uint256[] memory _tIds,
        bytes memory data_
    ) public {
        for (uint256 i = 0; i < _tIds.length; i++) {
            safeTransferFrom(_from, _to, _tIds[i], data_);
        }
    }

    /**
     * @dev returns a confirmation that 'tIds' are owned by 'account'
     */
    function isOwnerOf(address account, uint256[] calldata _tIds) external view returns (bool) {
        for (uint256 i; i < _tIds.length; ++i) {
            if (_owners[_tIds[i]] != account) return false;
        }

        return true;
    }

    /**
     * @dev Retunrs the tokenIds of 'owner'
     */
    function walletOfOwner(address _owner) public view returns (uint256[] memory) {
        uint256 tokenCount = balanceOf(_owner);
        if (tokenCount == 0) return new uint256[](0);

        uint256[] memory tokensId = new uint256[](tokenCount);
        for (uint256 i; i < tokenCount; i++) {
            tokensId[i] = tokenOfOwnerByIndex(_owner, i);
        }

        return tokensId;
    }

    /**********************************************************
     *
     *  GENEROSITY + ETH FUNDING
     *
     **********************************************************/

    /**
     * @dev Just in case someone sends ETH to the contract
     */
    function withdraw() public {
        (bool success, ) = teamWallet.call{value: address(this).balance}("");
        require(success, "Failed to send.");
    }

    receive() external payable {}

        /**********************************************************
     *
     *  CHAINLINK VRF & TOKEN DNA
     *
     **********************************************************/

    /**
     * @dev Requests a random number from the Chainlink VRF
     */
    function requestRandomNumber() external onlyAdmin returns (bytes32 requestId) {
        require(LINK.balanceOf(address(this)) >= VRF_fee, "Not enough LINK");
        requestId = requestRandomness(VRF_keyHash, VRF_fee);

        emit RequestedRandomNumber(requestId);
    }

    /**
     * @dev Receives the random number from the Chainlink VRF callback
     */
    function fulfillRandomness(bytes32 _requestId, uint256 _randomNumber) internal override {
        oneOfoneRandomNum = _randomNumber;

        emit RecievedRandomNumber(_requestId, _randomNumber);
    }

        /**
     * @dev this allows you to test the VRF call to ensure it works as expected prior to mint
     * It resets the collectionDNA and period counter to defaults prior to minting.
     */
    function setVerifyVRF() external onlyAdmin {
        require(!verifyVRF, "this is a one time function it can not be called once");
        oneOfoneRandomNum = 0;
        verifyVRF = true;
    }

    /**
     * @dev Set/change the Chainlink VRF keyHash
     */
    function setVRFKeyHash(bytes32 _keyHash) external onlyAdmin {
        VRF_keyHash = _keyHash;
    }

    /**
     * @dev Set/change the Chainlink VRF fee
     */
    function setVRFFee(uint256 _fee) external onlyAdmin {
        VRF_fee = _fee;
    }

    function get1of1() external view returns (uint256[] memory) {
        require(oneOfoneRandomNum > 0, "VRF not yet called");
        uint256[] memory oneOfOnes = new uint256[](26);
        uint256 counter;
        uint256 addCounter;
        bool matchStatus;

        while (addCounter < 26) {
            uint256 result = (uint256(keccak256(abi.encode(oneOfoneRandomNum, counter))) % 3689);

            for (uint256 i = 0; i < oneOfOnes.length; i++) {
                if (result == oneOfOnes[i]) {
                    matchStatus = true;
                    break;
                }
            }

            if (!matchStatus) {
                oneOfOnes[addCounter] = result;
                addCounter++;
            } else {
                matchStatus = false;
            }
            counter++;
        }
        return oneOfOnes;
    }


    /**********************************************************
     *
     *  OPENSEA
     *
     **********************************************************/

    function setProxyRegistryAddress(address _proxyRegistryAddress) external onlyAdmin {
        proxyRegistryAddress = _proxyRegistryAddress;
    }

    function flipProxyState(address proxyAddress) public onlyOwner {
        projectProxy[proxyAddress] = !projectProxy[proxyAddress];
    }

    function isApprovedForAll(address _owner, address operator) public view override returns (bool) {
        OpenSeaProxyRegistry proxyRegistry = OpenSeaProxyRegistry(proxyRegistryAddress);
        if (address(proxyRegistry.proxies(_owner)) == operator || projectProxy[operator]) return true;
        return super.isApprovedForAll(_owner, operator);
    }
}

contract OwnableDelegateProxy {}

contract OpenSeaProxyRegistry {
    mapping(address => OwnableDelegateProxy) public proxies;
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"bytes32","name":"_VRF_keyHash","type":"bytes32"},{"internalType":"uint256","name":"_VRF_Fee","type":"uint256"},{"internalType":"address","name":"_vrfCoordinator","type":"address"},{"internalType":"address","name":"_linkToken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"bytes32","name":"requestId","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"randomNumber","type":"uint256"}],"name":"RecievedRandomNumber","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"requestId","type":"bytes32"}],"name":"RequestedRandomNumber","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":"VRF_fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VRF_keyHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"addAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressToMinted","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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_tIds","type":"uint256[]"},{"internalType":"bytes","name":"data_","type":"bytes"}],"name":"batchSafeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_tIds","type":"uint256[]"}],"name":"batchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"collectionSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"proxyAddress","type":"address"}],"name":"flipProxyState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"get1of1","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"init","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"isAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"_tIds","type":"uint256[]"}],"name":"isOwnerOf","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"link","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintingState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oneOfoneRandomNum","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":[{"internalType":"address","name":"","type":"address"}],"name":"projectProxy","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"requestId","type":"bytes32"},{"internalType":"uint256","name":"randomness","type":"uint256"}],"name":"rawFulfillRandomness","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"removeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"requestRandomNumber","outputs":[{"internalType":"bytes32","name":"requestId","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMint","type":"uint256"}],"name":"setMaxMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setMintingState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"name":"setProxyRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setVRFFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_keyHash","type":"bytes32"}],"name":"setVRFKeyHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setVerifyVRF","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamAllocation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"teamWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tId","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":[],"name":"verifyVRF","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c06040526002600755600a6008819055610e6b60095580546001600160a01b031916738814bd515e206c4606e807595329da30008a8e7b1790553480156200004757600080fd5b50604051620035f6380380620035f68339810160408190526200006a91620002b5565b604080518082018252600f81526e48656c6c206f66206120506172747960881b6020808301918252835180850190945260048452630484f41560e41b90840152815185938593929091620000c191600091620001f2565b508051620000d7906001906020840190620001f2565b505050620000f4620000ee6200019c60201b60201c565b620001a0565b606091821b6001600160601b031990811660a052911b16608052600f849055600d839055600c80546001600160a01b0319166001600160a01b038316179055600160126000620001413390565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055505060118054610100600160a81b03191674a5409ec958c83c3f309868babaca7c86dcb077c100179055506200033d9050565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620002009062000300565b90600052602060002090601f0160209004810192826200022457600085556200026f565b82601f106200023f57805160ff19168380011785556200026f565b828001600101855582156200026f579182015b828111156200026f57825182559160200191906001019062000252565b506200027d92915062000281565b5090565b5b808211156200027d576000815560010162000282565b80516001600160a01b0381168114620002b057600080fd5b919050565b60008060008060808587031215620002cc57600080fd5b8451935060208501519250620002e56040860162000298565b9150620002f56060860162000298565b905092959194509250565b600181811c908216806200031557607f821691505b602082108114156200033757634e487b7160e01b600052602260045260246000fd5b50919050565b60805160601c60a05160601c61327f62000377600039600081816115dd015261227f0152600081816114d10152612250015261327f6000f3fe60806040526004361061037a5760003560e01c806370480275116101d15780639ec00c9511610102578063d26ea6c0116100a0578063efbaceb71161006f578063efbaceb7146109d6578063f2fde38b146109eb578063f3993d1114610a0b578063f73c814b14610a2b57600080fd5b8063d26ea6c014610961578063e054921114610981578063e1c7392a146109a1578063e985e9c5146109b657600080fd5b8063b88d4fde116100dc578063b88d4fde146108e7578063ba7a86b814610907578063c87b56dd1461091c578063cd7c03261461093c57600080fd5b80639ec00c9514610884578063a22cb465146108b4578063b77a147b146108d457600080fd5b806383e3deb61161016f5780638da5cb5b116101495780638da5cb5b1461081157806394985ddd1461082f57806395d89b411461084f5780639bbf83251461086457600080fd5b806383e3deb6146107d05780638678a7b2146107e65780638a7d2776146107fb57600080fd5b8063715018a6116101ab578063715018a61461076f5780637501f741146107845780637cb647591461079a5780637f77e6c3146107ba57600080fd5b8063704802751461071a57806370a082311461073a57806370d82dee1461075a57600080fd5b80633ccfd60b116102ab57806355f804b3116102495780635bab26e2116102235780635bab26e21461069f5780636352211e146106cf5780636816521a146106ef5780636c0360eb1461070557600080fd5b806355f804b31461063f578063599270441461065f5780635a4fee301461067f57600080fd5b806345c0f5331161028557806345c0f533146105c95780634d44660c146105df5780634f6ccce7146105ff578063547520fe1461061f57600080fd5b80633ccfd60b1461056757806342842e0e1461057c578063438b63001461059c57600080fd5b80631c4695f4116103185780632dc66b01116102f25780632dc66b01146104f75780632eb4a7ab146105115780632f745c591461052757806330da44cb1461054757600080fd5b80631c4695f41461049757806323b872dd146104b757806324d7806c146104d757600080fd5b8063095ea7b311610354578063095ea7b3146104155780630e6d3a89146104375780631785f53c1461045857806318160ddd1461047857600080fd5b806301ffc9a71461038657806306fdde03146103bb578063081812fc146103dd57600080fd5b3661038157005b600080fd5b34801561039257600080fd5b506103a66103a1366004612ce7565b610a4b565b60405190151581526020015b60405180910390f35b3480156103c757600080fd5b506103d0610a76565b6040516103b29190612f53565b3480156103e957600080fd5b506103fd6103f8366004612cac565b610b08565b6040516001600160a01b0390911681526020016103b2565b34801561042157600080fd5b50610435610430366004612c04565b610b95565b005b34801561044357600080fd5b50600a546103a690600160a01b900460ff1681565b34801561046457600080fd5b5061043561047336600461299f565b610cab565b34801561048457600080fd5b506002545b6040519081526020016103b2565b3480156104a357600080fd5b50600c546103fd906001600160a01b031681565b3480156104c357600080fd5b506104356104d2366004612ae0565b610cf1565b3480156104e357600080fd5b506103a66104f236600461299f565b610d22565b34801561050357600080fd5b506011546103a69060ff1681565b34801561051d57600080fd5b50610489600b5481565b34801561053357600080fd5b50610489610542366004612c04565b610d6f565b34801561055357600080fd5b50610435610562366004612cac565b610e22565b34801561057357600080fd5b50610435610e4c565b34801561058857600080fd5b50610435610597366004612ae0565b610ee4565b3480156105a857600080fd5b506105bc6105b736600461299f565b610eff565b6040516103b29190612f0f565b3480156105d557600080fd5b5061048960095481565b3480156105eb57600080fd5b506103a66105fa366004612b81565b610fb8565b34801561060b57600080fd5b5061048961061a366004612cac565b61103a565b34801561062b57600080fd5b5061043561063a366004612cac565b6110a7565b34801561064b57600080fd5b5061043561065a366004612d3e565b6110d1565b34801561066b57600080fd5b50600a546103fd906001600160a01b031681565b34801561068b57600080fd5b5061043561069a366004612a57565b61110d565b3480156106ab57600080fd5b506103a66106ba36600461299f565b60136020526000908152604090205460ff1681565b3480156106db57600080fd5b506103fd6106ea366004612cac565b611157565b3480156106fb57600080fd5b5061048960085481565b34801561071157600080fd5b506103d06111e3565b34801561072657600080fd5b5061043561073536600461299f565b611271565b34801561074657600080fd5b5061048961075536600461299f565b6112ba565b34801561076657600080fd5b50610435611388565b34801561077b57600080fd5b50610435611432565b34801561079057600080fd5b5061048960075481565b3480156107a657600080fd5b506104356107b5366004612cac565b611468565b3480156107c657600080fd5b50610489600f5481565b3480156107dc57600080fd5b50610489600d5481565b3480156107f257600080fd5b50610489611492565b34801561080757600080fd5b50610489600e5481565b34801561081d57600080fd5b506005546001600160a01b03166103fd565b34801561083b57600080fd5b5061043561084a366004612cc5565b6115d2565b34801561085b57600080fd5b506103d0611654565b34801561087057600080fd5b5061043561087f366004612c72565b611663565b34801561089057600080fd5b506103a661089f36600461299f565b60146020526000908152604090205460ff1681565b3480156108c057600080fd5b506104356108cf366004612bd6565b6116a6565b6104356108e2366004612c30565b61176b565b3480156108f357600080fd5b50610435610902366004612b21565b61197f565b34801561091357600080fd5b506104356119b7565b34801561092857600080fd5b506103d0610937366004612cac565b611a18565b34801561094857600080fd5b506011546103fd9061010090046001600160a01b031681565b34801561096d57600080fd5b5061043561097c36600461299f565b611a99565b34801561098d57600080fd5b5061043561099c366004612cac565b611ae6565b3480156109ad57600080fd5b50610435611b10565b3480156109c257600080fd5b506103a66109d13660046129bc565b611b51565b3480156109e257600080fd5b506105bc611c49565b3480156109f757600080fd5b50610435610a0636600461299f565b611dad565b348015610a1757600080fd5b50610435610a263660046129f5565b611e45565b348015610a3757600080fd5b50610435610a4636600461299f565b611e87565b60006001600160e01b0319821663780e9d6360e01b1480610a705750610a7082611eda565b92915050565b606060008054610a859061314e565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab19061314e565b8015610afe5780601f10610ad357610100808354040283529160200191610afe565b820191906000526020600020905b815481529060010190602001808311610ae157829003601f168201915b5050505050905090565b6000610b1382611f2a565b610b795760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b6000610ba082611157565b9050806001600160a01b0316836001600160a01b03161415610c0e5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610b70565b336001600160a01b0382161480610c2a5750610c2a8133611b51565b610c9c5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610b70565b610ca68383611f74565b505050565b610cb433610d22565b610cd05760405162461bcd60e51b8152600401610b7090613003565b6001600160a01b03166000908152601260205260409020805460ff19169055565b610cfb3382611fe2565b610d175760405162461bcd60e51b8152600401610b709061305d565b610ca68383836120a4565b6000816001600160a01b0316610d406005546001600160a01b031690565b6001600160a01b03161480610a705750506001600160a01b031660009081526012602052604090205460ff1690565b6000610d7a836112ba565b8210610d985760405162461bcd60e51b8152600401610b7090612f66565b6000805b600254811015610e095760028181548110610db957610db96131e4565b6000918252602090912001546001600160a01b0386811691161415610df75783821415610de9579150610a709050565b81610df381613189565b9250505b80610e0181613189565b915050610d9c565b5060405162461bcd60e51b8152600401610b7090612f66565b610e2b33610d22565b610e475760405162461bcd60e51b8152600401610b7090613003565b600d55565b600a546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610e99576040519150601f19603f3d011682016040523d82523d6000602084013e610e9e565b606091505b5050905080610ee15760405162461bcd60e51b815260206004820152600f60248201526e2330b4b632b2103a379039b2b7321760891b6044820152606401610b70565b50565b610ca68383836040518060200160405280600081525061197f565b60606000610f0c836112ba565b905080610f2d5760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff811115610f4857610f486131fa565b604051908082528060200260200182016040528015610f71578160200160208202803683370190505b50905060005b82811015610f2557610f898582610d6f565b828281518110610f9b57610f9b6131e4565b602090810291909101015280610fb081613189565b915050610f77565b6000805b8281101561102d57846001600160a01b03166002858584818110610fe257610fe26131e4565b9050602002013581548110610ff957610ff96131e4565b6000918252602090912001546001600160a01b03161461101d576000915050611033565b61102681613189565b9050610fbc565b50600190505b9392505050565b60025460009082106110a35760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610b70565b5090565b6110b033610d22565b6110cc5760405162461bcd60e51b8152600401610b7090613003565b600755565b6110da33610d22565b6110f65760405162461bcd60e51b8152600401610b7090613003565b80516111099060109060208401906127c5565b5050565b60005b82518110156111505761113e8585858481518110611130576111306131e4565b60200260200101518561197f565b8061114881613189565b915050611110565b5050505050565b6000806002838154811061116d5761116d6131e4565b6000918252602090912001546001600160a01b0316905080610a705760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610b70565b601080546111f09061314e565b80601f016020809104026020016040519081016040528092919081815260200182805461121c9061314e565b80156112695780601f1061123e57610100808354040283529160200191611269565b820191906000526020600020905b81548152906001019060200180831161124c57829003601f168201915b505050505081565b61127a33610d22565b6112965760405162461bcd60e51b8152600401610b7090613003565b6001600160a01b03166000908152601260205260409020805460ff19166001179055565b60006001600160a01b0382166113255760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610b70565b6000805b6002548110156113815760028181548110611346576113466131e4565b6000918252602090912001546001600160a01b03858116911614156113715761136e82613189565b91505b61137a81613189565b9050611329565b5092915050565b61139133610d22565b6113ad5760405162461bcd60e51b8152600401610b7090613003565b60115460ff161561141e5760405162461bcd60e51b815260206004820152603560248201527f746869732069732061206f6e652074696d652066756e6374696f6e2069742063604482015274616e206e6f742062652063616c6c6564206f6e636560581b6064820152608401610b70565b6000600e556011805460ff19166001179055565b6005546001600160a01b0316331461145c5760405162461bcd60e51b8152600401610b7090613028565b61146660006121fa565b565b61147133610d22565b61148d5760405162461bcd60e51b8152600401610b7090613003565b600b55565b600061149d33610d22565b6114b95760405162461bcd60e51b8152600401610b7090613003565b600d546040516370a0823160e01b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b15801561151b57600080fd5b505afa15801561152f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115539190612d87565b10156115935760405162461bcd60e51b815260206004820152600f60248201526e4e6f7420656e6f756768204c494e4b60881b6044820152606401610b70565b6115a1600f54600d5461224c565b60405190915081907fc620a79baed7e5f06637aa5ab699c2b03ee40b2ae3ba4a91ed1eb0bd00b8ea3b90600090a290565b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461164a5760405162461bcd60e51b815260206004820152601f60248201527f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c006044820152606401610b70565b61110982826123d7565b606060018054610a859061314e565b61166c33610d22565b6116885760405162461bcd60e51b8152600401610b7090613003565b600a8054911515600160a01b0260ff60a01b19909216919091179055565b6001600160a01b0382163314156116ff5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610b70565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b604080516bffffffffffffffffffffffff193360601b166020820152815180820360140181526034909101909152600254600a54600160a01b900460ff166117e75760405162461bcd60e51b815260206004820152600f60248201526e6d696e74206e6f742061637469766560881b6044820152606401610b70565b61182c6117f383612415565b85858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061244592505050565b6118835760405162461bcd60e51b815260206004820152602260248201527f496e76616c6964204d65726b6c6520547265652070726f6f6620737570706c69604482015261195960f21b6064820152608401610b70565b3360009081526014602052604090205460ff16156118d85760405162461bcd60e51b815260206004820152601260248201527163616e206e6f74206d696e7420747769636560701b6044820152606401610b70565b6009546007546118e890836130df565b106119355760405162461bcd60e51b815260206004820152601a60248201527f6d696e7420616d6f756e74206578636565647320737570706c790000000000006044820152606401610b70565b336000908152601460205260408120805460ff191660011790555b6007548110156111505761196d3361196883856130df565b612454565b8061197781613189565b915050611950565b6119893383611fe2565b6119a55760405162461bcd60e51b8152600401610b709061305d565b6119b1848484846124d0565b50505050565b6119c033610d22565b6119dc5760405162461bcd60e51b8152600401610b7090613003565b60025460005b60085481101561110957600a54611a06906001600160a01b031661196883856130df565b80611a1081613189565b9150506119e2565b6060611a2382611f2a565b611a675760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b6044820152606401610b70565b6010611a7283612503565b604051602001611a83929190612e04565b6040516020818303038152906040529050919050565b611aa233610d22565b611abe5760405162461bcd60e51b8152600401610b7090613003565b601180546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b611aef33610d22565b611b0b5760405162461bcd60e51b8152600401610b7090613003565b600f55565b611b1933610d22565b611b355760405162461bcd60e51b8152600401610b7090613003565b306000908152601260205260409020805460ff19166001179055565b60115460405163c455279160e01b81526001600160a01b038481166004830152600092610100900481169190841690829063c45527919060240160206040518083038186803b158015611ba357600080fd5b505afa158015611bb7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bdb9190612d21565b6001600160a01b03161480611c0857506001600160a01b03831660009081526013602052604090205460ff165b15611c17576001915050610a70565b6001600160a01b0380851660009081526004602090815260408083209387168352929052205460ff165b949350505050565b60606000600e5411611c925760405162461bcd60e51b8152602060048201526012602482015271159491881b9bdd081e595d0818d85b1b195960721b6044820152606401610b70565b60408051601a8082526103608201909252600091602082016103408036833701905050905060008060005b601a821015611da4576000610e69600e5485604051602001611ce9929190918252602082015260400190565b6040516020818303038152906040528051906020012060001c611d0c91906131a4565b905060005b8551811015611d5657858181518110611d2c57611d2c6131e4565b6020026020010151821415611d445760019250611d56565b80611d4e81613189565b915050611d11565b5081611d8c5780858481518110611d6f57611d6f6131e4565b602090810291909101015282611d8481613189565b935050611d91565b600091505b83611d9b81613189565b94505050611cbd565b50919392505050565b6005546001600160a01b03163314611dd75760405162461bcd60e51b8152600401610b7090613028565b6001600160a01b038116611e3c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b70565b610ee1816121fa565b60005b81518110156119b157611e758484848481518110611e6857611e686131e4565b6020026020010151610cf1565b80611e7f81613189565b915050611e48565b6005546001600160a01b03163314611eb15760405162461bcd60e51b8152600401610b7090613028565b6001600160a01b03166000908152601360205260409020805460ff19811660ff90911615179055565b60006001600160e01b031982166380ac58cd60e01b1480611f0b57506001600160e01b03198216635b5e139f60e01b145b80610a7057506301ffc9a760e01b6001600160e01b0319831614610a70565b60025460009082108015610a70575060006001600160a01b031660028381548110611f5757611f576131e4565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611fa982611157565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611fed82611f2a565b61204e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b70565b600061205983611157565b9050806001600160a01b0316846001600160a01b031614806120945750836001600160a01b031661208984610b08565b6001600160a01b0316145b80611c415750611c418185611b51565b826001600160a01b03166120b782611157565b6001600160a01b03161461211f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610b70565b6001600160a01b0382166121815760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610b70565b61218c600082611f74565b81600282815481106121a0576121a06131e4565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316634000aea07f0000000000000000000000000000000000000000000000000000000000000000848660006040516020016122bc929190918252602082015260400190565b6040516020818303038152906040526040518463ffffffff1660e01b81526004016122e993929190612ee8565b602060405180830381600087803b15801561230357600080fd5b505af1158015612317573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061233b9190612c8f565b50600083815260066020818152604080842054815180840189905280830186905230606082015260808082018390528351808303909101815260a0909101909252815191830191909120938790529190526123979060016130df565b600085815260066020526040902055611c418482604080516020808201949094528082019290925280518083038201815260609092019052805191012090565b600e81905560405181815282907fdbbf83d50dc3d3288192bf0eddc0d61c11fe6eda0a03d3fac45ef3e64bdec1829060200160405180910390a25050565b6000816040516020016124289190612de8565b604051602081830303815290604052805190602001209050919050565b600061103382600b5485612601565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6124db8484846120a4565b6124e784848484612617565b6119b15760405162461bcd60e51b8152600401610b7090612fb1565b6060816125275750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612551578061253b81613189565b915061254a9050600a836130f7565b915061252b565b60008167ffffffffffffffff81111561256c5761256c6131fa565b6040519080825280601f01601f191660200182016040528015612596576020820181803683370190505b5090505b8415611c41576125ab60018361310b565b91506125b8600a866131a4565b6125c39060306130df565b60f81b8183815181106125d8576125d86131e4565b60200101906001600160f81b031916908160001a9053506125fa600a866130f7565b945061259a565b60008261260e8584612721565b14949350505050565b60006001600160a01b0384163b1561271957604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061265b903390899088908890600401612eab565b602060405180830381600087803b15801561267557600080fd5b505af19250505080156126a5575060408051601f3d908101601f191682019092526126a291810190612d04565b60015b6126ff573d8080156126d3576040519150601f19603f3d011682016040523d82523d6000602084013e6126d8565b606091505b5080516126f75760405162461bcd60e51b8152600401610b7090612fb1565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611c41565b506001611c41565b600081815b8451811015610f25576000858281518110612743576127436131e4565b602002602001015190508083116127855760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506127b2565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806127bd81613189565b915050612726565b8280546127d19061314e565b90600052602060002090601f0160209004810192826127f35760008555612839565b82601f1061280c57805160ff1916838001178555612839565b82800160010185558215612839579182015b8281111561283957825182559160200191906001019061281e565b506110a39291505b808211156110a35760008155600101612841565b600067ffffffffffffffff83111561286f5761286f6131fa565b612882601f8401601f19166020016130ae565b905082815283838301111561289657600080fd5b828260208301376000602084830101529392505050565b60008083601f8401126128bf57600080fd5b50813567ffffffffffffffff8111156128d757600080fd5b6020830191508360208260051b85010111156128f257600080fd5b9250929050565b600082601f83011261290a57600080fd5b8135602067ffffffffffffffff821115612926576129266131fa565b8160051b6129358282016130ae565b83815282810190868401838801850189101561295057600080fd5b600093505b85841015612973578035835260019390930192918401918401612955565b50979650505050505050565b600082601f83011261299057600080fd5b61103383833560208501612855565b6000602082840312156129b157600080fd5b813561103381613210565b600080604083850312156129cf57600080fd5b82356129da81613210565b915060208301356129ea81613210565b809150509250929050565b600080600060608486031215612a0a57600080fd5b8335612a1581613210565b92506020840135612a2581613210565b9150604084013567ffffffffffffffff811115612a4157600080fd5b612a4d868287016128f9565b9150509250925092565b60008060008060808587031215612a6d57600080fd5b8435612a7881613210565b93506020850135612a8881613210565b9250604085013567ffffffffffffffff80821115612aa557600080fd5b612ab1888389016128f9565b93506060870135915080821115612ac757600080fd5b50612ad48782880161297f565b91505092959194509250565b600080600060608486031215612af557600080fd5b8335612b0081613210565b92506020840135612b1081613210565b929592945050506040919091013590565b60008060008060808587031215612b3757600080fd5b8435612b4281613210565b93506020850135612b5281613210565b925060408501359150606085013567ffffffffffffffff811115612b7557600080fd5b612ad48782880161297f565b600080600060408486031215612b9657600080fd5b8335612ba181613210565b9250602084013567ffffffffffffffff811115612bbd57600080fd5b612bc9868287016128ad565b9497909650939450505050565b60008060408385031215612be957600080fd5b8235612bf481613210565b915060208301356129ea81613225565b60008060408385031215612c1757600080fd5b8235612c2281613210565b946020939093013593505050565b60008060208385031215612c4357600080fd5b823567ffffffffffffffff811115612c5a57600080fd5b612c66858286016128ad565b90969095509350505050565b600060208284031215612c8457600080fd5b813561103381613225565b600060208284031215612ca157600080fd5b815161103381613225565b600060208284031215612cbe57600080fd5b5035919050565b60008060408385031215612cd857600080fd5b50508035926020909101359150565b600060208284031215612cf957600080fd5b813561103381613233565b600060208284031215612d1657600080fd5b815161103381613233565b600060208284031215612d3357600080fd5b815161103381613210565b600060208284031215612d5057600080fd5b813567ffffffffffffffff811115612d6757600080fd5b8201601f81018413612d7857600080fd5b611c4184823560208401612855565b600060208284031215612d9957600080fd5b5051919050565b60008151808452612db8816020860160208601613122565b601f01601f19169290920160200192915050565b60008151612dde818560208601613122565b9290920192915050565b60008251612dfa818460208701613122565b9190910192915050565b600080845481600182811c915080831680612e2057607f831692505b6020808410821415612e4057634e487b7160e01b86526022600452602486fd5b818015612e545760018114612e6557612e92565b60ff19861689528489019650612e92565b60008b81526020902060005b86811015612e8a5781548b820152908501908301612e71565b505084890196505b505050505050612ea28185612dcc565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612ede90830184612da0565b9695505050505050565b60018060a01b0384168152826020820152606060408201526000612ea26060830184612da0565b6020808252825182820181905260009190848201906040850190845b81811015612f4757835183529284019291840191600101612f2b565b50909695505050505050565b6020815260006110336020830184612da0565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252600b908201526a61646d696e73206f6e6c7960a81b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff811182821017156130d7576130d76131fa565b604052919050565b600082198211156130f2576130f26131b8565b500190565b600082613106576131066131ce565b500490565b60008282101561311d5761311d6131b8565b500390565b60005b8381101561313d578181015183820152602001613125565b838111156119b15750506000910152565b600181811c9082168061316257607f821691505b6020821081141561318357634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561319d5761319d6131b8565b5060010190565b6000826131b3576131b36131ce565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610ee157600080fd5b8015158114610ee157600080fd5b6001600160e01b031981168114610ee157600080fdfea264697066735822122047f3ffd9e18cc964a3ff07a648e20e532d1f309e16fea4fd2b3091aa1a439a3e64736f6c63430008070033aa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af4450000000000000000000000000000000000000000000000001bc16d674ec80000000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca

Deployed Bytecode

0x60806040526004361061037a5760003560e01c806370480275116101d15780639ec00c9511610102578063d26ea6c0116100a0578063efbaceb71161006f578063efbaceb7146109d6578063f2fde38b146109eb578063f3993d1114610a0b578063f73c814b14610a2b57600080fd5b8063d26ea6c014610961578063e054921114610981578063e1c7392a146109a1578063e985e9c5146109b657600080fd5b8063b88d4fde116100dc578063b88d4fde146108e7578063ba7a86b814610907578063c87b56dd1461091c578063cd7c03261461093c57600080fd5b80639ec00c9514610884578063a22cb465146108b4578063b77a147b146108d457600080fd5b806383e3deb61161016f5780638da5cb5b116101495780638da5cb5b1461081157806394985ddd1461082f57806395d89b411461084f5780639bbf83251461086457600080fd5b806383e3deb6146107d05780638678a7b2146107e65780638a7d2776146107fb57600080fd5b8063715018a6116101ab578063715018a61461076f5780637501f741146107845780637cb647591461079a5780637f77e6c3146107ba57600080fd5b8063704802751461071a57806370a082311461073a57806370d82dee1461075a57600080fd5b80633ccfd60b116102ab57806355f804b3116102495780635bab26e2116102235780635bab26e21461069f5780636352211e146106cf5780636816521a146106ef5780636c0360eb1461070557600080fd5b806355f804b31461063f578063599270441461065f5780635a4fee301461067f57600080fd5b806345c0f5331161028557806345c0f533146105c95780634d44660c146105df5780634f6ccce7146105ff578063547520fe1461061f57600080fd5b80633ccfd60b1461056757806342842e0e1461057c578063438b63001461059c57600080fd5b80631c4695f4116103185780632dc66b01116102f25780632dc66b01146104f75780632eb4a7ab146105115780632f745c591461052757806330da44cb1461054757600080fd5b80631c4695f41461049757806323b872dd146104b757806324d7806c146104d757600080fd5b8063095ea7b311610354578063095ea7b3146104155780630e6d3a89146104375780631785f53c1461045857806318160ddd1461047857600080fd5b806301ffc9a71461038657806306fdde03146103bb578063081812fc146103dd57600080fd5b3661038157005b600080fd5b34801561039257600080fd5b506103a66103a1366004612ce7565b610a4b565b60405190151581526020015b60405180910390f35b3480156103c757600080fd5b506103d0610a76565b6040516103b29190612f53565b3480156103e957600080fd5b506103fd6103f8366004612cac565b610b08565b6040516001600160a01b0390911681526020016103b2565b34801561042157600080fd5b50610435610430366004612c04565b610b95565b005b34801561044357600080fd5b50600a546103a690600160a01b900460ff1681565b34801561046457600080fd5b5061043561047336600461299f565b610cab565b34801561048457600080fd5b506002545b6040519081526020016103b2565b3480156104a357600080fd5b50600c546103fd906001600160a01b031681565b3480156104c357600080fd5b506104356104d2366004612ae0565b610cf1565b3480156104e357600080fd5b506103a66104f236600461299f565b610d22565b34801561050357600080fd5b506011546103a69060ff1681565b34801561051d57600080fd5b50610489600b5481565b34801561053357600080fd5b50610489610542366004612c04565b610d6f565b34801561055357600080fd5b50610435610562366004612cac565b610e22565b34801561057357600080fd5b50610435610e4c565b34801561058857600080fd5b50610435610597366004612ae0565b610ee4565b3480156105a857600080fd5b506105bc6105b736600461299f565b610eff565b6040516103b29190612f0f565b3480156105d557600080fd5b5061048960095481565b3480156105eb57600080fd5b506103a66105fa366004612b81565b610fb8565b34801561060b57600080fd5b5061048961061a366004612cac565b61103a565b34801561062b57600080fd5b5061043561063a366004612cac565b6110a7565b34801561064b57600080fd5b5061043561065a366004612d3e565b6110d1565b34801561066b57600080fd5b50600a546103fd906001600160a01b031681565b34801561068b57600080fd5b5061043561069a366004612a57565b61110d565b3480156106ab57600080fd5b506103a66106ba36600461299f565b60136020526000908152604090205460ff1681565b3480156106db57600080fd5b506103fd6106ea366004612cac565b611157565b3480156106fb57600080fd5b5061048960085481565b34801561071157600080fd5b506103d06111e3565b34801561072657600080fd5b5061043561073536600461299f565b611271565b34801561074657600080fd5b5061048961075536600461299f565b6112ba565b34801561076657600080fd5b50610435611388565b34801561077b57600080fd5b50610435611432565b34801561079057600080fd5b5061048960075481565b3480156107a657600080fd5b506104356107b5366004612cac565b611468565b3480156107c657600080fd5b50610489600f5481565b3480156107dc57600080fd5b50610489600d5481565b3480156107f257600080fd5b50610489611492565b34801561080757600080fd5b50610489600e5481565b34801561081d57600080fd5b506005546001600160a01b03166103fd565b34801561083b57600080fd5b5061043561084a366004612cc5565b6115d2565b34801561085b57600080fd5b506103d0611654565b34801561087057600080fd5b5061043561087f366004612c72565b611663565b34801561089057600080fd5b506103a661089f36600461299f565b60146020526000908152604090205460ff1681565b3480156108c057600080fd5b506104356108cf366004612bd6565b6116a6565b6104356108e2366004612c30565b61176b565b3480156108f357600080fd5b50610435610902366004612b21565b61197f565b34801561091357600080fd5b506104356119b7565b34801561092857600080fd5b506103d0610937366004612cac565b611a18565b34801561094857600080fd5b506011546103fd9061010090046001600160a01b031681565b34801561096d57600080fd5b5061043561097c36600461299f565b611a99565b34801561098d57600080fd5b5061043561099c366004612cac565b611ae6565b3480156109ad57600080fd5b50610435611b10565b3480156109c257600080fd5b506103a66109d13660046129bc565b611b51565b3480156109e257600080fd5b506105bc611c49565b3480156109f757600080fd5b50610435610a0636600461299f565b611dad565b348015610a1757600080fd5b50610435610a263660046129f5565b611e45565b348015610a3757600080fd5b50610435610a4636600461299f565b611e87565b60006001600160e01b0319821663780e9d6360e01b1480610a705750610a7082611eda565b92915050565b606060008054610a859061314e565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab19061314e565b8015610afe5780601f10610ad357610100808354040283529160200191610afe565b820191906000526020600020905b815481529060010190602001808311610ae157829003601f168201915b5050505050905090565b6000610b1382611f2a565b610b795760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b6000610ba082611157565b9050806001600160a01b0316836001600160a01b03161415610c0e5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610b70565b336001600160a01b0382161480610c2a5750610c2a8133611b51565b610c9c5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610b70565b610ca68383611f74565b505050565b610cb433610d22565b610cd05760405162461bcd60e51b8152600401610b7090613003565b6001600160a01b03166000908152601260205260409020805460ff19169055565b610cfb3382611fe2565b610d175760405162461bcd60e51b8152600401610b709061305d565b610ca68383836120a4565b6000816001600160a01b0316610d406005546001600160a01b031690565b6001600160a01b03161480610a705750506001600160a01b031660009081526012602052604090205460ff1690565b6000610d7a836112ba565b8210610d985760405162461bcd60e51b8152600401610b7090612f66565b6000805b600254811015610e095760028181548110610db957610db96131e4565b6000918252602090912001546001600160a01b0386811691161415610df75783821415610de9579150610a709050565b81610df381613189565b9250505b80610e0181613189565b915050610d9c565b5060405162461bcd60e51b8152600401610b7090612f66565b610e2b33610d22565b610e475760405162461bcd60e51b8152600401610b7090613003565b600d55565b600a546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610e99576040519150601f19603f3d011682016040523d82523d6000602084013e610e9e565b606091505b5050905080610ee15760405162461bcd60e51b815260206004820152600f60248201526e2330b4b632b2103a379039b2b7321760891b6044820152606401610b70565b50565b610ca68383836040518060200160405280600081525061197f565b60606000610f0c836112ba565b905080610f2d5760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff811115610f4857610f486131fa565b604051908082528060200260200182016040528015610f71578160200160208202803683370190505b50905060005b82811015610f2557610f898582610d6f565b828281518110610f9b57610f9b6131e4565b602090810291909101015280610fb081613189565b915050610f77565b6000805b8281101561102d57846001600160a01b03166002858584818110610fe257610fe26131e4565b9050602002013581548110610ff957610ff96131e4565b6000918252602090912001546001600160a01b03161461101d576000915050611033565b61102681613189565b9050610fbc565b50600190505b9392505050565b60025460009082106110a35760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610b70565b5090565b6110b033610d22565b6110cc5760405162461bcd60e51b8152600401610b7090613003565b600755565b6110da33610d22565b6110f65760405162461bcd60e51b8152600401610b7090613003565b80516111099060109060208401906127c5565b5050565b60005b82518110156111505761113e8585858481518110611130576111306131e4565b60200260200101518561197f565b8061114881613189565b915050611110565b5050505050565b6000806002838154811061116d5761116d6131e4565b6000918252602090912001546001600160a01b0316905080610a705760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610b70565b601080546111f09061314e565b80601f016020809104026020016040519081016040528092919081815260200182805461121c9061314e565b80156112695780601f1061123e57610100808354040283529160200191611269565b820191906000526020600020905b81548152906001019060200180831161124c57829003601f168201915b505050505081565b61127a33610d22565b6112965760405162461bcd60e51b8152600401610b7090613003565b6001600160a01b03166000908152601260205260409020805460ff19166001179055565b60006001600160a01b0382166113255760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610b70565b6000805b6002548110156113815760028181548110611346576113466131e4565b6000918252602090912001546001600160a01b03858116911614156113715761136e82613189565b91505b61137a81613189565b9050611329565b5092915050565b61139133610d22565b6113ad5760405162461bcd60e51b8152600401610b7090613003565b60115460ff161561141e5760405162461bcd60e51b815260206004820152603560248201527f746869732069732061206f6e652074696d652066756e6374696f6e2069742063604482015274616e206e6f742062652063616c6c6564206f6e636560581b6064820152608401610b70565b6000600e556011805460ff19166001179055565b6005546001600160a01b0316331461145c5760405162461bcd60e51b8152600401610b7090613028565b61146660006121fa565b565b61147133610d22565b61148d5760405162461bcd60e51b8152600401610b7090613003565b600b55565b600061149d33610d22565b6114b95760405162461bcd60e51b8152600401610b7090613003565b600d546040516370a0823160e01b81523060048201527f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca6001600160a01b0316906370a082319060240160206040518083038186803b15801561151b57600080fd5b505afa15801561152f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115539190612d87565b10156115935760405162461bcd60e51b815260206004820152600f60248201526e4e6f7420656e6f756768204c494e4b60881b6044820152606401610b70565b6115a1600f54600d5461224c565b60405190915081907fc620a79baed7e5f06637aa5ab699c2b03ee40b2ae3ba4a91ed1eb0bd00b8ea3b90600090a290565b336001600160a01b037f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952161461164a5760405162461bcd60e51b815260206004820152601f60248201527f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c006044820152606401610b70565b61110982826123d7565b606060018054610a859061314e565b61166c33610d22565b6116885760405162461bcd60e51b8152600401610b7090613003565b600a8054911515600160a01b0260ff60a01b19909216919091179055565b6001600160a01b0382163314156116ff5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610b70565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b604080516bffffffffffffffffffffffff193360601b166020820152815180820360140181526034909101909152600254600a54600160a01b900460ff166117e75760405162461bcd60e51b815260206004820152600f60248201526e6d696e74206e6f742061637469766560881b6044820152606401610b70565b61182c6117f383612415565b85858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061244592505050565b6118835760405162461bcd60e51b815260206004820152602260248201527f496e76616c6964204d65726b6c6520547265652070726f6f6620737570706c69604482015261195960f21b6064820152608401610b70565b3360009081526014602052604090205460ff16156118d85760405162461bcd60e51b815260206004820152601260248201527163616e206e6f74206d696e7420747769636560701b6044820152606401610b70565b6009546007546118e890836130df565b106119355760405162461bcd60e51b815260206004820152601a60248201527f6d696e7420616d6f756e74206578636565647320737570706c790000000000006044820152606401610b70565b336000908152601460205260408120805460ff191660011790555b6007548110156111505761196d3361196883856130df565b612454565b8061197781613189565b915050611950565b6119893383611fe2565b6119a55760405162461bcd60e51b8152600401610b709061305d565b6119b1848484846124d0565b50505050565b6119c033610d22565b6119dc5760405162461bcd60e51b8152600401610b7090613003565b60025460005b60085481101561110957600a54611a06906001600160a01b031661196883856130df565b80611a1081613189565b9150506119e2565b6060611a2382611f2a565b611a675760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b6044820152606401610b70565b6010611a7283612503565b604051602001611a83929190612e04565b6040516020818303038152906040529050919050565b611aa233610d22565b611abe5760405162461bcd60e51b8152600401610b7090613003565b601180546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b611aef33610d22565b611b0b5760405162461bcd60e51b8152600401610b7090613003565b600f55565b611b1933610d22565b611b355760405162461bcd60e51b8152600401610b7090613003565b306000908152601260205260409020805460ff19166001179055565b60115460405163c455279160e01b81526001600160a01b038481166004830152600092610100900481169190841690829063c45527919060240160206040518083038186803b158015611ba357600080fd5b505afa158015611bb7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bdb9190612d21565b6001600160a01b03161480611c0857506001600160a01b03831660009081526013602052604090205460ff165b15611c17576001915050610a70565b6001600160a01b0380851660009081526004602090815260408083209387168352929052205460ff165b949350505050565b60606000600e5411611c925760405162461bcd60e51b8152602060048201526012602482015271159491881b9bdd081e595d0818d85b1b195960721b6044820152606401610b70565b60408051601a8082526103608201909252600091602082016103408036833701905050905060008060005b601a821015611da4576000610e69600e5485604051602001611ce9929190918252602082015260400190565b6040516020818303038152906040528051906020012060001c611d0c91906131a4565b905060005b8551811015611d5657858181518110611d2c57611d2c6131e4565b6020026020010151821415611d445760019250611d56565b80611d4e81613189565b915050611d11565b5081611d8c5780858481518110611d6f57611d6f6131e4565b602090810291909101015282611d8481613189565b935050611d91565b600091505b83611d9b81613189565b94505050611cbd565b50919392505050565b6005546001600160a01b03163314611dd75760405162461bcd60e51b8152600401610b7090613028565b6001600160a01b038116611e3c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b70565b610ee1816121fa565b60005b81518110156119b157611e758484848481518110611e6857611e686131e4565b6020026020010151610cf1565b80611e7f81613189565b915050611e48565b6005546001600160a01b03163314611eb15760405162461bcd60e51b8152600401610b7090613028565b6001600160a01b03166000908152601360205260409020805460ff19811660ff90911615179055565b60006001600160e01b031982166380ac58cd60e01b1480611f0b57506001600160e01b03198216635b5e139f60e01b145b80610a7057506301ffc9a760e01b6001600160e01b0319831614610a70565b60025460009082108015610a70575060006001600160a01b031660028381548110611f5757611f576131e4565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611fa982611157565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611fed82611f2a565b61204e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b70565b600061205983611157565b9050806001600160a01b0316846001600160a01b031614806120945750836001600160a01b031661208984610b08565b6001600160a01b0316145b80611c415750611c418185611b51565b826001600160a01b03166120b782611157565b6001600160a01b03161461211f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610b70565b6001600160a01b0382166121815760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610b70565b61218c600082611f74565b81600282815481106121a0576121a06131e4565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60007f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca6001600160a01b0316634000aea07f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952848660006040516020016122bc929190918252602082015260400190565b6040516020818303038152906040526040518463ffffffff1660e01b81526004016122e993929190612ee8565b602060405180830381600087803b15801561230357600080fd5b505af1158015612317573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061233b9190612c8f565b50600083815260066020818152604080842054815180840189905280830186905230606082015260808082018390528351808303909101815260a0909101909252815191830191909120938790529190526123979060016130df565b600085815260066020526040902055611c418482604080516020808201949094528082019290925280518083038201815260609092019052805191012090565b600e81905560405181815282907fdbbf83d50dc3d3288192bf0eddc0d61c11fe6eda0a03d3fac45ef3e64bdec1829060200160405180910390a25050565b6000816040516020016124289190612de8565b604051602081830303815290604052805190602001209050919050565b600061103382600b5485612601565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6124db8484846120a4565b6124e784848484612617565b6119b15760405162461bcd60e51b8152600401610b7090612fb1565b6060816125275750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612551578061253b81613189565b915061254a9050600a836130f7565b915061252b565b60008167ffffffffffffffff81111561256c5761256c6131fa565b6040519080825280601f01601f191660200182016040528015612596576020820181803683370190505b5090505b8415611c41576125ab60018361310b565b91506125b8600a866131a4565b6125c39060306130df565b60f81b8183815181106125d8576125d86131e4565b60200101906001600160f81b031916908160001a9053506125fa600a866130f7565b945061259a565b60008261260e8584612721565b14949350505050565b60006001600160a01b0384163b1561271957604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061265b903390899088908890600401612eab565b602060405180830381600087803b15801561267557600080fd5b505af19250505080156126a5575060408051601f3d908101601f191682019092526126a291810190612d04565b60015b6126ff573d8080156126d3576040519150601f19603f3d011682016040523d82523d6000602084013e6126d8565b606091505b5080516126f75760405162461bcd60e51b8152600401610b7090612fb1565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611c41565b506001611c41565b600081815b8451811015610f25576000858281518110612743576127436131e4565b602002602001015190508083116127855760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506127b2565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806127bd81613189565b915050612726565b8280546127d19061314e565b90600052602060002090601f0160209004810192826127f35760008555612839565b82601f1061280c57805160ff1916838001178555612839565b82800160010185558215612839579182015b8281111561283957825182559160200191906001019061281e565b506110a39291505b808211156110a35760008155600101612841565b600067ffffffffffffffff83111561286f5761286f6131fa565b612882601f8401601f19166020016130ae565b905082815283838301111561289657600080fd5b828260208301376000602084830101529392505050565b60008083601f8401126128bf57600080fd5b50813567ffffffffffffffff8111156128d757600080fd5b6020830191508360208260051b85010111156128f257600080fd5b9250929050565b600082601f83011261290a57600080fd5b8135602067ffffffffffffffff821115612926576129266131fa565b8160051b6129358282016130ae565b83815282810190868401838801850189101561295057600080fd5b600093505b85841015612973578035835260019390930192918401918401612955565b50979650505050505050565b600082601f83011261299057600080fd5b61103383833560208501612855565b6000602082840312156129b157600080fd5b813561103381613210565b600080604083850312156129cf57600080fd5b82356129da81613210565b915060208301356129ea81613210565b809150509250929050565b600080600060608486031215612a0a57600080fd5b8335612a1581613210565b92506020840135612a2581613210565b9150604084013567ffffffffffffffff811115612a4157600080fd5b612a4d868287016128f9565b9150509250925092565b60008060008060808587031215612a6d57600080fd5b8435612a7881613210565b93506020850135612a8881613210565b9250604085013567ffffffffffffffff80821115612aa557600080fd5b612ab1888389016128f9565b93506060870135915080821115612ac757600080fd5b50612ad48782880161297f565b91505092959194509250565b600080600060608486031215612af557600080fd5b8335612b0081613210565b92506020840135612b1081613210565b929592945050506040919091013590565b60008060008060808587031215612b3757600080fd5b8435612b4281613210565b93506020850135612b5281613210565b925060408501359150606085013567ffffffffffffffff811115612b7557600080fd5b612ad48782880161297f565b600080600060408486031215612b9657600080fd5b8335612ba181613210565b9250602084013567ffffffffffffffff811115612bbd57600080fd5b612bc9868287016128ad565b9497909650939450505050565b60008060408385031215612be957600080fd5b8235612bf481613210565b915060208301356129ea81613225565b60008060408385031215612c1757600080fd5b8235612c2281613210565b946020939093013593505050565b60008060208385031215612c4357600080fd5b823567ffffffffffffffff811115612c5a57600080fd5b612c66858286016128ad565b90969095509350505050565b600060208284031215612c8457600080fd5b813561103381613225565b600060208284031215612ca157600080fd5b815161103381613225565b600060208284031215612cbe57600080fd5b5035919050565b60008060408385031215612cd857600080fd5b50508035926020909101359150565b600060208284031215612cf957600080fd5b813561103381613233565b600060208284031215612d1657600080fd5b815161103381613233565b600060208284031215612d3357600080fd5b815161103381613210565b600060208284031215612d5057600080fd5b813567ffffffffffffffff811115612d6757600080fd5b8201601f81018413612d7857600080fd5b611c4184823560208401612855565b600060208284031215612d9957600080fd5b5051919050565b60008151808452612db8816020860160208601613122565b601f01601f19169290920160200192915050565b60008151612dde818560208601613122565b9290920192915050565b60008251612dfa818460208701613122565b9190910192915050565b600080845481600182811c915080831680612e2057607f831692505b6020808410821415612e4057634e487b7160e01b86526022600452602486fd5b818015612e545760018114612e6557612e92565b60ff19861689528489019650612e92565b60008b81526020902060005b86811015612e8a5781548b820152908501908301612e71565b505084890196505b505050505050612ea28185612dcc565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612ede90830184612da0565b9695505050505050565b60018060a01b0384168152826020820152606060408201526000612ea26060830184612da0565b6020808252825182820181905260009190848201906040850190845b81811015612f4757835183529284019291840191600101612f2b565b50909695505050505050565b6020815260006110336020830184612da0565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252600b908201526a61646d696e73206f6e6c7960a81b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff811182821017156130d7576130d76131fa565b604052919050565b600082198211156130f2576130f26131b8565b500190565b600082613106576131066131ce565b500490565b60008282101561311d5761311d6131b8565b500390565b60005b8381101561313d578181015183820152602001613125565b838111156119b15750506000910152565b600181811c9082168061316257607f821691505b6020821081141561318357634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561319d5761319d6131b8565b5060010190565b6000826131b3576131b36131ce565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610ee157600080fd5b8015158114610ee157600080fd5b6001600160e01b031981168114610ee157600080fdfea264697066735822122047f3ffd9e18cc964a3ff07a648e20e532d1f309e16fea4fd2b3091aa1a439a3e64736f6c63430008070033

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

aa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af4450000000000000000000000000000000000000000000000001bc16d674ec80000000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca

-----Decoded View---------------
Arg [0] : _VRF_keyHash (bytes32): 0xaa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af445
Arg [1] : _VRF_Fee (uint256): 2000000000000000000
Arg [2] : _vrfCoordinator (address): 0xf0d54349aDdcf704F77AE15b96510dEA15cb7952
Arg [3] : _linkToken (address): 0x514910771AF9Ca656af840dff83E8264EcF986CA

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : aa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af445
Arg [1] : 0000000000000000000000000000000000000000000000001bc16d674ec80000
Arg [2] : 000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952
Arg [3] : 000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca


Deployed Bytecode Sourcemap

53214:13171:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34744:224;;;;;;;;;;-1:-1:-1;34744:224:0;;;;;:::i;:::-;;:::i;:::-;;;14035:14:1;;14028:22;14010:41;;13998:2;13983:18;34744:224:0;;;;;;;;21252:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;22027:221::-;;;;;;;;;;-1:-1:-1;22027:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;12306:32:1;;;12288:51;;12276:2;12261:18;22027:221:0;12142:203:1;21587:374:0;;;;;;;;;;-1:-1:-1;21587:374:0;;;;;:::i;:::-;;:::i;:::-;;53804:24;;;;;;;;;;-1:-1:-1;53804:24:0;;;;-1:-1:-1;;;53804:24:0;;;;;;57085:95;;;;;;;;;;-1:-1:-1;57085:95:0;;;;;:::i;:::-;;:::i;35044:110::-;;;;;;;;;;-1:-1:-1;35132:7:0;:14;35044:110;;;14208:25:1;;;14196:2;14181:18;35044:110:0;14062:177:1;53954:18:0;;;;;;;;;;-1:-1:-1;53954:18:0;;;;-1:-1:-1;;;;;53954:18:0;;;22917:339;;;;;;;;;;-1:-1:-1;22917:339:0;;;;;:::i;:::-;;:::i;56710:118::-;;;;;;;;;;-1:-1:-1;56710:118:0;;;;;:::i;:::-;;:::i;54263:21::-;;;;;;;;;;-1:-1:-1;54263:21:0;;;;;;;;53861:25;;;;;;;;;;;;;;;;35520:501;;;;;;;;;;-1:-1:-1;35520:501:0;;;;;:::i;:::-;;:::i;64585:85::-;;;;;;;;;;-1:-1:-1;64585:85:0;;;;;:::i;:::-;;:::i;62877:160::-;;;;;;;;;;;;;:::i;23327:185::-;;;;;;;;;;-1:-1:-1;23327:185:0;;;;;:::i;:::-;;:::i;62206:402::-;;;;;;;;;;-1:-1:-1;62206:402:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;53589:36::-;;;;;;;;;;;;;;;;61890:245;;;;;;;;;;-1:-1:-1;61890:245:0;;;;;:::i;:::-;;:::i;35231:205::-;;;;;;;;;;-1:-1:-1;35231:205:0;;;;;:::i;:::-;;:::i;57965:94::-;;;;;;;;;;-1:-1:-1;57965:94:0;;;;;:::i;:::-;;:::i;57812:98::-;;;;;;;;;;-1:-1:-1;57812:98:0;;;;;:::i;:::-;;:::i;53660:70::-;;;;;;;;;;-1:-1:-1;53660:70:0;;;;-1:-1:-1;;;;;53660:70:0;;;61507:286;;;;;;;;;;-1:-1:-1;61507:286:0;;;;;:::i;:::-;;:::i;54664:44::-;;;;;;;;;;-1:-1:-1;54664:44:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;20946:239;;;;;;;;;;-1:-1:-1;20946:239:0;;;;;:::i;:::-;;:::i;53501:34::-;;;;;;;;;;;;;;;;54211:21;;;;;;;;;;;;;:::i;56910:91::-;;;;;;;;;;-1:-1:-1;56910:91:0;;;;;:::i;:::-;;:::i;20551:333::-;;;;;;;;;;-1:-1:-1;20551:333:0;;;;;:::i;:::-;;:::i;64139:197::-;;;;;;;;;;;;;:::i;50400:103::-;;;;;;;;;;;;;:::i;53437:26::-;;;;;;;;;;;;;;;;58294:104;;;;;;;;;;-1:-1:-1;58294:104:0;;;;;:::i;:::-;;:::i;54139:26::-;;;;;;;;;;;;;;;;54018:22;;;;;;;;;;;;;;;;63349:277;;;;;;;;;;;;;:::i;54068:32::-;;;;;;;;;;;;;;;;49749:87;;;;;;;;;;-1:-1:-1;49822:6:0;;-1:-1:-1;;;;;49822:6:0;49749:87;;45852:220;;;;;;;;;;-1:-1:-1;45852:220:0;;;;;:::i;:::-;;:::i;21421:104::-;;;;;;;;;;;;;:::i;57659:97::-;;;;;;;;;;-1:-1:-1;57659:97:0;;;;;:::i;:::-;;:::i;54760:47::-;;;;;;;;;;-1:-1:-1;54760:47:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;22320:295;;;;;;;;;;-1:-1:-1;22320:295:0;;;;;:::i;:::-;;:::i;59469:648::-;;;;;;:::i;:::-;;:::i;23583:328::-;;;;;;;;;;-1:-1:-1;23583:328:0;;;;;:::i;:::-;;:::i;60125:222::-;;;;;;;;;;;;;:::i;60832:218::-;;;;;;;;;;-1:-1:-1;60832:218:0;;;;;:::i;:::-;;:::i;54398:35::-;;;;;;;;;;-1:-1:-1;54398:35:0;;;;;;;-1:-1:-1;;;;;54398:35:0;;;65726:146;;;;;;;;;;-1:-1:-1;65726:146:0;;;;;:::i;:::-;;:::i;64412:101::-;;;;;;;;;;-1:-1:-1;64412:101:0;;;;;:::i;:::-;;:::i;57506:82::-;;;;;;;;;;;;;:::i;66026:356::-;;;;;;;;;;-1:-1:-1;66026:356:0;;;;;:::i;:::-;;:::i;64678:872::-;;;;;;;;;;;;;:::i;50658:201::-;;;;;;;;;;-1:-1:-1;50658:201:0;;;;;:::i;:::-;;:::i;61155:242::-;;;;;;;;;;-1:-1:-1;61155:242:0;;;;;:::i;:::-;;:::i;65880:138::-;;;;;;;;;;-1:-1:-1;65880:138:0;;;;;:::i;:::-;;:::i;34744:224::-;34846:4;-1:-1:-1;;;;;;34870:50:0;;-1:-1:-1;;;34870:50:0;;:90;;;34924:36;34948:11;34924:23;:36::i;:::-;34863:97;34744:224;-1:-1:-1;;34744:224:0:o;21252:100::-;21306:13;21339:5;21332:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21252:100;:::o;22027:221::-;22103:7;22131:16;22139:7;22131;:16::i;:::-;22123:73;;;;-1:-1:-1;;;22123:73:0;;22476:2:1;22123:73:0;;;22458:21:1;22515:2;22495:18;;;22488:30;22554:34;22534:18;;;22527:62;-1:-1:-1;;;22605:18:1;;;22598:42;22657:19;;22123:73:0;;;;;;;;;-1:-1:-1;22216:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;22216:24:0;;22027:221::o;21587:374::-;21668:13;21684:23;21699:7;21684:14;:23::i;:::-;21668:39;;21732:5;-1:-1:-1;;;;;21726:11:0;:2;-1:-1:-1;;;;;21726:11:0;;;21718:57;;;;-1:-1:-1;;;21718:57:0;;24020:2:1;21718:57:0;;;24002:21:1;24059:2;24039:18;;;24032:30;24098:34;24078:18;;;24071:62;-1:-1:-1;;;24149:18:1;;;24142:31;24190:19;;21718:57:0;23818:397:1;21718:57:0;8984:10;-1:-1:-1;;;;;21796:21:0;;;;:62;;-1:-1:-1;21821:37:0;21838:5;8984:10;66026:356;:::i;21821:37::-;21788:131;;;;-1:-1:-1;;;21788:131:0;;20130:2:1;21788:131:0;;;20112:21:1;20169:2;20149:18;;;20142:30;20208:34;20188:18;;;20181:62;20279:26;20259:18;;;20252:54;20323:19;;21788:131:0;19928:420:1;21788:131:0;21932:21;21941:2;21945:7;21932:8;:21::i;:::-;21657:304;21587:374;;:::o;57085:95::-;56404:21;8984:10;56710:118;:::i;56404:21::-;56396:45;;;;-1:-1:-1;;;56396:45:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;57151:13:0::1;57167:5;57151:13:::0;;;:6:::1;:13;::::0;;;;:21;;-1:-1:-1;;57151:21:0::1;::::0;;57085:95::o;22917:339::-;23112:41;8984:10;23145:7;23112:18;:41::i;:::-;23104:103;;;;-1:-1:-1;;;23104:103:0;;;;;;;:::i;:::-;23220:28;23230:4;23236:2;23240:7;23220:9;:28::i;56710:118::-;56763:4;56798:5;-1:-1:-1;;;;;56787:16:0;:7;49822:6;;-1:-1:-1;;;;;49822:6:0;;49749:87;56787:7;-1:-1:-1;;;;;56787:16:0;;:33;;;-1:-1:-1;;;;;;;56807:13:0;;;;;:6;:13;;;;;;;;;56710:118::o;35520:501::-;35617:15;35661:16;35671:5;35661:9;:16::i;:::-;35653:5;:24;35645:80;;;;-1:-1:-1;;;35645:80:0;;;;;;;:::i;:::-;35738:13;35767:9;35762:186;35782:7;:14;35778:18;;35762:186;;;35831:7;35839:1;35831:10;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;35822:19:0;;;35831:10;;35822:19;35818:119;;;35875:5;35866;:14;35862:59;;;35889:1;-1:-1:-1;35882:8:0;;-1:-1:-1;35882:8:0;35862:59;35914:7;;;;:::i;:::-;;;;35862:59;35798:3;;;;:::i;:::-;;;;35762:186;;;;35960:53;;-1:-1:-1;;;35960:53:0;;;;;;;:::i;64585:85::-;56404:21;8984:10;56710:118;:::i;56404:21::-;56396:45;;;;-1:-1:-1;;;56396:45:0;;;;;;;:::i;:::-;64648:7:::1;:14:::0;64585:85::o;62877:160::-;62934:10;;:49;;62916:12;;-1:-1:-1;;;;;62934:10:0;;62957:21;;62916:12;62934:49;62916:12;62934:49;62957:21;62934:10;:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62915:68;;;63002:7;62994:35;;;;-1:-1:-1;;;62994:35:0;;17228:2:1;62994:35:0;;;17210:21:1;17267:2;17247:18;;;17240:30;-1:-1:-1;;;17286:18:1;;;17279:45;17341:18;;62994:35:0;17026:339:1;62994:35:0;62904:133;62877:160::o;23327:185::-;23465:39;23482:4;23488:2;23492:7;23465:39;;;;;;;;;;;;:16;:39::i;62206:402::-;62266:16;62295:18;62316:17;62326:6;62316:9;:17::i;:::-;62295:38;-1:-1:-1;62348:15:0;62344:44;;62372:16;;;62386:1;62372:16;;;;;;;;;;;-1:-1:-1;62365:23:0;62206:402;-1:-1:-1;;;62206:402:0:o;62344:44::-;62401:25;62443:10;62429:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;62429:25:0;;62401:53;;62470:9;62465:108;62485:10;62481:1;:14;62465:108;;;62531:30;62551:6;62559:1;62531:19;:30::i;:::-;62517:8;62526:1;62517:11;;;;;;;;:::i;:::-;;;;;;;;;;:44;62497:3;;;;:::i;:::-;;;;62465:108;;61890:245;61975:4;61997:9;61992:112;62008:16;;;61992:112;;;62071:7;-1:-1:-1;;;;;62050:28:0;:7;62058:5;;62064:1;62058:8;;;;;;;:::i;:::-;;;;;;;62050:17;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;62050:17:0;:28;62046:46;;62087:5;62080:12;;;;;62046:46;62026:3;;;:::i;:::-;;;61992:112;;;;62123:4;62116:11;;61890:245;;;;;;:::o;35231:205::-;35342:7;:14;35306:7;;35334:22;;35326:79;;;;-1:-1:-1;;;35326:79:0;;25184:2:1;35326:79:0;;;25166:21:1;25223:2;25203:18;;;25196:30;25262:34;25242:18;;;25235:62;-1:-1:-1;;;25313:18:1;;;25306:42;25365:19;;35326:79:0;24982:408:1;35326:79:0;-1:-1:-1;35423:5:0;35231:205::o;57965:94::-;56404:21;8984:10;56710:118;:::i;56404:21::-;56396:45;;;;-1:-1:-1;;;56396:45:0;;;;;;;:::i;:::-;58033:7:::1;:18:::0;57965:94::o;57812:98::-;56404:21;8984:10;56710:118;:::i;56404:21::-;56396:45;;;;-1:-1:-1;;;56396:45:0;;;;;;;:::i;:::-;57884:18;;::::1;::::0;:7:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;:::-;;57812:98:::0;:::o;61507:286::-;61676:9;61671:115;61695:5;:12;61691:1;:16;61671:115;;;61729:45;61746:5;61753:3;61758:5;61764:1;61758:8;;;;;;;;:::i;:::-;;;;;;;61768:5;61729:16;:45::i;:::-;61709:3;;;;:::i;:::-;;;;61671:115;;;;61507:286;;;;:::o;20946:239::-;21018:7;21038:13;21054:7;21062;21054:16;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;21054:16:0;;-1:-1:-1;21089:19:0;21081:73;;;;-1:-1:-1;;;21081:73:0;;20966:2:1;21081:73:0;;;20948:21:1;21005:2;20985:18;;;20978:30;21044:34;21024:18;;;21017:62;-1:-1:-1;;;21095:18:1;;;21088:39;21144:19;;21081:73:0;20764:405:1;54211:21:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;56910:91::-;56404:21;8984:10;56710:118;:::i;56404:21::-;56396:45;;;;-1:-1:-1;;;56396:45:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;56973:13:0::1;;::::0;;;:6:::1;:13;::::0;;;;:20;;-1:-1:-1;;56973:20:0::1;56989:4;56973:20;::::0;;56910:91::o;20551:333::-;20623:7;-1:-1:-1;;;;;20651:19:0;;20643:74;;;;-1:-1:-1;;;20643:74:0;;20555:2:1;20643:74:0;;;20537:21:1;20594:2;20574:18;;;20567:30;20633:34;20613:18;;;20606:62;-1:-1:-1;;;20684:18:1;;;20677:40;20734:19;;20643:74:0;20353:406:1;20643:74:0;20730:13;20759:9;20754:100;20774:7;:14;20770:18;;20754:100;;;20823:7;20831:1;20823:10;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;20814:19:0;;;20823:10;;20814:19;20810:32;;;20835:7;;;:::i;:::-;;;20810:32;20790:3;;;:::i;:::-;;;20754:100;;;-1:-1:-1;20871:5:0;20551:333;-1:-1:-1;;20551:333:0:o;64139:197::-;56404:21;8984:10;56710:118;:::i;56404:21::-;56396:45;;;;-1:-1:-1;;;56396:45:0;;;;;;;:::i;:::-;64202:9:::1;::::0;::::1;;64201:10;64193:76;;;::::0;-1:-1:-1;;;64193:76:0;;15568:2:1;64193:76:0::1;::::0;::::1;15550:21:1::0;15607:2;15587:18;;;15580:30;15646:34;15626:18;;;15619:62;-1:-1:-1;;;15697:18:1;;;15690:51;15758:19;;64193:76:0::1;15366:417:1::0;64193:76:0::1;64300:1;64280:17;:21:::0;64312:9:::1;:16:::0;;-1:-1:-1;;64312:16:0::1;64324:4;64312:16;::::0;;64139:197::o;50400:103::-;49822:6;;-1:-1:-1;;;;;49822:6:0;8984:10;49969:23;49961:68;;;;-1:-1:-1;;;49961:68:0;;;;;;;:::i;:::-;50465:30:::1;50492:1;50465:18;:30::i;:::-;50400:103::o:0;58294:104::-;56404:21;8984:10;56710:118;:::i;56404:21::-;56396:45;;;;-1:-1:-1;;;56396:45:0;;;;;;;:::i;:::-;58366:10:::1;:24:::0;58294:104::o;63349:277::-;63408:17;56404:21;8984:10;56710:118;:::i;56404:21::-;56396:45;;;;-1:-1:-1;;;56396:45:0;;;;;;;:::i;:::-;63479:7:::1;::::0;63446:29:::1;::::0;-1:-1:-1;;;63446:29:0;;63469:4:::1;63446:29;::::0;::::1;12288:51:1::0;63446:4:0::1;-1:-1:-1::0;;;;;63446:14:0::1;::::0;::::1;::::0;12261:18:1;;63446:29:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:40;;63438:68;;;::::0;-1:-1:-1;;;63438:68:0;;19786:2:1;63438:68:0::1;::::0;::::1;19768:21:1::0;19825:2;19805:18;;;19798:30;-1:-1:-1;;;19844:18:1;;;19837:45;19899:18;;63438:68:0::1;19584:339:1::0;63438:68:0::1;63529:39;63547:11;;63560:7;;63529:17;:39::i;:::-;63586:32;::::0;63517:51;;-1:-1:-1;63517:51:0;;63586:32:::1;::::0;;;::::1;63349:277:::0;:::o;45852:220::-;45949:10;-1:-1:-1;;;;;45963:14:0;45949:28;;45941:72;;;;-1:-1:-1;;;45941:72:0;;23660:2:1;45941:72:0;;;23642:21:1;23699:2;23679:18;;;23672:30;23738:33;23718:18;;;23711:61;23789:18;;45941:72:0;23458:355:1;45941:72:0;46024:40;46042:9;46053:10;46024:17;:40::i;21421:104::-;21477:13;21510:7;21503:14;;;;;:::i;57659:97::-;56404:21;8984:10;56710:118;:::i;56404:21::-;56396:45;;;;-1:-1:-1;;;56396:45:0;;;;;;;:::i;:::-;57727:12:::1;:21:::0;;;::::1;;-1:-1:-1::0;;;57727:21:0::1;-1:-1:-1::0;;;;57727:21:0;;::::1;::::0;;;::::1;::::0;;57659:97::o;22320:295::-;-1:-1:-1;;;;;22423:24:0;;8984:10;22423:24;;22415:62;;;;-1:-1:-1;;;22415:62:0;;18664:2:1;22415:62:0;;;18646:21:1;18703:2;18683:18;;;18676:30;18742:27;18722:18;;;18715:55;18787:18;;22415:62:0;18462:349:1;22415:62:0;8984:10;22490:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;22490:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;22490:53:0;;;;;;;;;;22559:48;;14010:41:1;;;22490:42:0;;8984:10;22559:48;;13983:18:1;22559:48:0;;;;;;;22320:295;;:::o;59469:648::-;59566:30;;;-1:-1:-1;;8984:10:0;9883:2:1;9879:15;9875:53;59566:30:0;;;9863:66:1;59566:30:0;;;;;;;;;9945:12:1;;;;59566:30:0;;;59630:7;:14;59665:12;;-1:-1:-1;;;59665:12:0;;;;59657:40;;;;-1:-1:-1;;;59657:40:0;;24422:2:1;59657:40:0;;;24404:21:1;24461:2;24441:18;;;24434:30;-1:-1:-1;;;24480:18:1;;;24473:45;24535:18;;59657:40:0;24220:339:1;59657:40:0;59716:28;59723:13;59728:7;59723:4;:13::i;:::-;59738:5;;59716:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59716:6:0;;-1:-1:-1;;;59716:28:0:i;:::-;59708:75;;;;-1:-1:-1;;;59708:75:0;;21376:2:1;59708:75:0;;;21358:21:1;21415:2;21395:18;;;21388:30;21454:34;21434:18;;;21427:62;-1:-1:-1;;;21505:18:1;;;21498:32;21547:19;;59708:75:0;21174:398:1;59708:75:0;8984:10;59802:29;;;;:15;:29;;;;;;;;:38;59794:69;;;;-1:-1:-1;;;59794:69:0;;21779:2:1;59794:69:0;;;21761:21:1;21818:2;21798:18;;;21791:30;-1:-1:-1;;;21837:18:1;;;21830:48;21895:18;;59794:69:0;21577:342:1;59794:69:0;59906:14;;59896:7;;59882:21;;:11;:21;:::i;:::-;:38;59874:77;;;;-1:-1:-1;;;59874:77:0;;19431:2:1;59874:77:0;;;19413:21:1;19470:2;19450:18;;;19443:30;19509:28;19489:18;;;19482:56;19555:18;;59874:77:0;19229:350:1;59874:77:0;8984:10;59964:29;;;;:15;:29;;;;;:36;;-1:-1:-1;;59964:36:0;59996:4;59964:36;;;60013:97;60033:7;;60029:1;:11;60013:97;;;60062:36;8984:10;60082:15;60096:1;60082:11;:15;:::i;:::-;60062:5;:36::i;:::-;60042:3;;;;:::i;:::-;;;;60013:97;;23583:328;23758:41;8984:10;23791:7;23758:18;:41::i;:::-;23750:103;;;;-1:-1:-1;;;23750:103:0;;;;;;;:::i;:::-;23864:39;23878:4;23884:2;23888:7;23897:5;23864:13;:39::i;:::-;23583:328;;;;:::o;60125:222::-;56404:21;8984:10;56710:118;:::i;56404:21::-;56396:45;;;;-1:-1:-1;;;56396:45:0;;;;;;;:::i;:::-;60199:7:::1;:14:::0;60177:19:::1;60234:106;60258:14;;60254:1;:18;60234:106;;;60300:10;::::0;60294:34:::1;::::0;-1:-1:-1;;;;;60300:10:0::1;60312:15;60326:1:::0;60312:11;:15:::1;:::i;60294:34::-;60274:3:::0;::::1;::::0;::::1;:::i;:::-;;;;60234:106;;60832:218:::0;60894:13;60928;60936:4;60928:7;:13::i;:::-;60920:47;;;;-1:-1:-1;;;60920:47:0;;22126:2:1;60920:47:0;;;22108:21:1;22165:2;22145:18;;;22138:30;-1:-1:-1;;;22184:18:1;;;22177:51;22245:18;;60920:47:0;21924:345:1;60920:47:0;61009:7;61018:22;61035:4;61018:16;:22::i;:::-;60992:49;;;;;;;;;:::i;:::-;;;;;;;;;;;;;60978:64;;60832:218;;;:::o;65726:146::-;56404:21;8984:10;56710:118;:::i;56404:21::-;56396:45;;;;-1:-1:-1;;;56396:45:0;;;;;;;:::i;:::-;65820:20:::1;:44:::0;;-1:-1:-1;;;;;65820:44:0;;::::1;;;-1:-1:-1::0;;;;;;65820:44:0;;::::1;::::0;;;::::1;::::0;;65726:146::o;64412:101::-;56404:21;8984:10;56710:118;:::i;56404:21::-;56396:45;;;;-1:-1:-1;;;56396:45:0;;;;;;;:::i;:::-;64483:11:::1;:22:::0;64412:101::o;57506:82::-;56404:21;8984:10;56710:118;:::i;56404:21::-;56396:45;;;;-1:-1:-1;;;56396:45:0;;;;;;;:::i;:::-;57567:4:::1;57552:21;::::0;;;:6:::1;:21;::::0;;;;:28;;-1:-1:-1;;57552:28:0::1;57576:4;57552:28;::::0;;57506:82::o;66026:356::-;66191:20;;66235:29;;-1:-1:-1;;;66235:29:0;;-1:-1:-1;;;;;12306:32:1;;;66235:29:0;;;12288:51:1;66116:4:0;;66191:20;;;;;;66227:50;;;;66191:20;;66235:21;;12261:18:1;;66235:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;66227:50:0;;:76;;;-1:-1:-1;;;;;;66281:22:0;;;;;;:12;:22;;;;;;;;66227:76;66223:93;;;66312:4;66305:11;;;;;66223:93;-1:-1:-1;;;;;22807:25:0;;;22783:4;22807:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;66334:40;66327:47;66026:356;-1:-1:-1;;;;66026:356:0:o;64678:872::-;64720:16;64777:1;64757:17;;:21;64749:52;;;;-1:-1:-1;;;64749:52:0;;17572:2:1;64749:52:0;;;17554:21:1;17611:2;17591:18;;;17584:30;-1:-1:-1;;;17630:18:1;;;17623:48;17688:18;;64749:52:0;17370:342:1;64749:52:0;64841:17;;;64855:2;64841:17;;;;;;;;;64812:26;;64841:17;;;;;;;;;;-1:-1:-1;64841:17:0;64812:46;;64869:15;64895:18;64924:16;64953:563;64973:2;64960:10;:15;64953:563;;;64992:14;65071:4;65039:17;;65058:7;65028:38;;;;;;;;14418:25:1;;;14474:2;14459:18;;14452:34;14406:2;14391:18;;14244:248;65028:38:0;;;;;;;;;;;;;65018:49;;;;;;65010:58;;:65;;;;:::i;:::-;64992:84;;65098:9;65093:198;65117:9;:16;65113:1;:20;65093:198;;;65173:9;65183:1;65173:12;;;;;;;;:::i;:::-;;;;;;;65163:6;:22;65159:117;;;65224:4;65210:18;;65251:5;;65159:117;65135:3;;;;:::i;:::-;;;;65093:198;;;;65312:11;65307:174;;65368:6;65344:9;65354:10;65344:21;;;;;;;;:::i;:::-;;;;;;;;;;:30;65393:12;;;;:::i;:::-;;;;65307:174;;;65460:5;65446:19;;65307:174;65495:9;;;;:::i;:::-;;;;64977:539;64953:563;;;-1:-1:-1;65533:9:0;;64678:872;-1:-1:-1;;;64678:872:0:o;50658:201::-;49822:6;;-1:-1:-1;;;;;49822:6:0;8984:10;49969:23;49961:68;;;;-1:-1:-1;;;49961:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;50747:22:0;::::1;50739:73;;;::::0;-1:-1:-1;;;50739:73:0;;16821:2:1;50739:73:0::1;::::0;::::1;16803:21:1::0;16860:2;16840:18;;;16833:30;16899:34;16879:18;;;16872:62;-1:-1:-1;;;16950:18:1;;;16943:36;16996:19;;50739:73:0::1;16619:402:1::0;50739:73:0::1;50823:28;50842:8;50823:18;:28::i;61155:242::-:0;61291:9;61286:104;61310:5;:12;61306:1;:16;61286:104;;;61344:34;61357:5;61364:3;61369:5;61375:1;61369:8;;;;;;;;:::i;:::-;;;;;;;61344:12;:34::i;:::-;61324:3;;;;:::i;:::-;;;;61286:104;;65880:138;49822:6;;-1:-1:-1;;;;;49822:6:0;8984:10;49969:23;49961:68;;;;-1:-1:-1;;;49961:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;65984:26:0::1;;::::0;;;:12:::1;:26;::::0;;;;;;-1:-1:-1;;65954:56:0;::::1;65984:26;::::0;;::::1;65983:27;65954:56;::::0;;65880:138::o;20221:266::-;20323:4;-1:-1:-1;;;;;;20347:40:0;;-1:-1:-1;;;20347:40:0;;:92;;-1:-1:-1;;;;;;;20391:48:0;;-1:-1:-1;;;20391:48:0;20347:92;:132;;;-1:-1:-1;;;;;;;;;;6324:40:0;;;20443:36;6215:157;25421:155;25520:7;:14;25486:4;;25510:24;;:58;;;;;25566:1;-1:-1:-1;;;;;25538:30:0;:7;25546;25538:16;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;25538:16:0;:30;;25503:65;25421:155;-1:-1:-1;;25421:155:0:o;29268:174::-;29343:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;29343:29:0;-1:-1:-1;;;;;29343:29:0;;;;;;;;:24;;29397:23;29343:24;29397:14;:23::i;:::-;-1:-1:-1;;;;;29388:46:0;;;;;;;;;;;29268:174;;:::o;25743:348::-;25836:4;25861:16;25869:7;25861;:16::i;:::-;25853:73;;;;-1:-1:-1;;;25853:73:0;;19018:2:1;25853:73:0;;;19000:21:1;19057:2;19037:18;;;19030:30;19096:34;19076:18;;;19069:62;-1:-1:-1;;;19147:18:1;;;19140:42;19199:19;;25853:73:0;18816:408:1;25853:73:0;25937:13;25953:23;25968:7;25953:14;:23::i;:::-;25937:39;;26006:5;-1:-1:-1;;;;;25995:16:0;:7;-1:-1:-1;;;;;25995:16:0;;:51;;;;26039:7;-1:-1:-1;;;;;26015:31:0;:20;26027:7;26015:11;:20::i;:::-;-1:-1:-1;;;;;26015:31:0;;25995:51;:87;;;;26050:32;26067:5;26074:7;26050:16;:32::i;28634:516::-;28793:4;-1:-1:-1;;;;;28766:31:0;:23;28781:7;28766:14;:23::i;:::-;-1:-1:-1;;;;;28766:31:0;;28758:85;;;;-1:-1:-1;;;28758:85:0;;23250:2:1;28758:85:0;;;23232:21:1;23289:2;23269:18;;;23262:30;23328:34;23308:18;;;23301:62;-1:-1:-1;;;23379:18:1;;;23372:39;23428:19;;28758:85:0;23048:405:1;28758:85:0;-1:-1:-1;;;;;28862:16:0;;28854:65;;;;-1:-1:-1;;;28854:65:0;;18259:2:1;28854:65:0;;;18241:21:1;18298:2;18278:18;;;18271:30;18337:34;18317:18;;;18310:62;-1:-1:-1;;;18388:18:1;;;18381:34;18432:19;;28854:65:0;18057:400:1;28854:65:0;29036:29;29053:1;29057:7;29036:8;:29::i;:::-;29095:2;29076:7;29084;29076:16;;;;;;;;:::i;:::-;;;;;;;;;:21;;-1:-1:-1;;;;;;29076:21:0;-1:-1:-1;;;;;29076:21:0;;;;;;29115:27;;29134:7;;29115:27;;;;;;;;;;29076:16;29115:27;28634:516;;;:::o;51019:191::-;51112:6;;;-1:-1:-1;;;;;51129:17:0;;;-1:-1:-1;;;;;;51129:17:0;;;;;;;51162:40;;51112:6;;;51129:17;51112:6;;51162:40;;51093:16;;51162:40;51082:128;51019:191;:::o;43867:1088::-;43944:17;43974:4;-1:-1:-1;;;;;43974:20:0;;43995:14;44011:4;44028:8;42645:1;44017:43;;;;;;;;14418:25:1;;;14474:2;14459:18;;14452:34;14406:2;14391:18;;14244:248;44017:43:0;;;;;;;;;;;;;43974:87;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;44312:15:0;44395:16;;;:6;:16;;;;;;;;;32505:51;;;;;14728:25:1;;;14769:18;;;14762:34;;;44388:4:0;14812:18:1;;;14805:60;14881:18;;;;14874:34;;;32505:51:0;;;;;;;;;;14700:19:1;;;;32505:51:0;;;32495:62;;;;;;;;;44877:16;;;;;;;:20;;44896:1;44877:20;:::i;:::-;44858:16;;;;:6;:16;;;;;:39;44915:32;44865:8;44939:7;33101:41;;;;;;;10125:19:1;;;;10160:12;;;10153:28;;;;33101:41:0;;;;;;;;;10197:12:1;;;;33101:41:0;;33091:52;;;;;;32977:174;63724:205;63823:17;:33;;;63874:47;;14208:25:1;;;63895:10:0;;63874:47;;14196:2:1;14181:18;63874:47:0;;;;;;;63724:205;;:::o;58462:131::-;58522:7;58576;58559:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;58549:36;;;;;;58542:43;;58462:131;;;:::o;58690:152::-;58767:4;58791:43;58810:5;58817:10;;58829:4;58791:18;:43::i;60412:146::-;60489:7;:16;;;;;;;-1:-1:-1;60489:16:0;;;;;;;-1:-1:-1;;;;;;60489:16:0;-1:-1:-1;;;;;60489:16:0;;;;;;;;60521:29;;60546:3;;-1:-1:-1;60521:29:0;;-1:-1:-1;;60521:29:0;60412:146;;:::o;24793:315::-;24950:28;24960:4;24966:2;24970:7;24950:9;:28::i;:::-;24997:48;25020:4;25026:2;25030:7;25039:5;24997:22;:48::i;:::-;24989:111;;;;-1:-1:-1;;;24989:111:0;;;;;;;:::i;6605:723::-;6661:13;6882:10;6878:53;;-1:-1:-1;;6909:10:0;;;;;;;;;;;;-1:-1:-1;;;6909:10:0;;;;;6605:723::o;6878:53::-;6956:5;6941:12;6997:78;7004:9;;6997:78;;7030:8;;;;:::i;:::-;;-1:-1:-1;7053:10:0;;-1:-1:-1;7061:2:0;7053:10;;:::i;:::-;;;6997:78;;;7085:19;7117:6;7107:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7107:17:0;;7085:39;;7135:154;7142:10;;7135:154;;7169:11;7179:1;7169:11;;:::i;:::-;;-1:-1:-1;7238:10:0;7246:2;7238:5;:10;:::i;:::-;7225:24;;:2;:24;:::i;:::-;7212:39;;7195:6;7202;7195:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;7195:56:0;;;;;;;;-1:-1:-1;7266:11:0;7275:2;7266:11;;:::i;:::-;;;7135:154;;51952:190;52077:4;52130;52101:25;52114:5;52121:4;52101:12;:25::i;:::-;:33;;51952:190;-1:-1:-1;;;;51952:190:0:o;30007:799::-;30162:4;-1:-1:-1;;;;;30183:13:0;;10126:20;10174:8;30179:620;;30219:72;;-1:-1:-1;;;30219:72:0;;-1:-1:-1;;;;;30219:36:0;;;;;:72;;8984:10;;30270:4;;30276:7;;30285:5;;30219:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30219:72:0;;;;;;;;-1:-1:-1;;30219:72:0;;;;;;;;;;;;:::i;:::-;;;30215:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30461:13:0;;30457:272;;30504:60;;-1:-1:-1;;;30504:60:0;;;;;;;:::i;30457:272::-;30679:6;30673:13;30664:6;30660:2;30656:15;30649:38;30215:529;-1:-1:-1;;;;;;30342:51:0;-1:-1:-1;;;30342:51:0;;-1:-1:-1;30335:58:0;;30179:620;-1:-1:-1;30783:4:0;30776:11;;52504:701;52587:7;52630:4;52587:7;52645:523;52669:5;:12;52665:1;:16;52645:523;;;52703:20;52726:5;52732:1;52726:8;;;;;;;;:::i;:::-;;;;;;;52703:31;;52769:12;52753;:28;52749:408;;52906:44;;;;;;10125:19:1;;;10160:12;;;10153:28;;;10197:12;;52906:44:0;;;;;;;;;;;;52896:55;;;;;;52881:70;;52749:408;;;53096:44;;;;;;10125:19:1;;;10160:12;;;10153:28;;;10197:12;;53096:44:0;;;;;;;;;;;;53086:55;;;;;;53071:70;;52749:408;-1:-1:-1;52683:3:0;;;;:::i;:::-;;;;52645:523;;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:406:1;78:5;112:18;104:6;101:30;98:56;;;134:18;;:::i;:::-;172:57;217:2;196:15;;-1:-1:-1;;192:29:1;223:4;188:40;172:57;:::i;:::-;163:66;;252:6;245:5;238:21;292:3;283:6;278:3;274:16;271:25;268:45;;;309:1;306;299:12;268:45;358:6;353:3;346:4;339:5;335:16;322:43;412:1;405:4;396:6;389:5;385:18;381:29;374:40;14:406;;;;;:::o;425:367::-;488:8;498:6;552:3;545:4;537:6;533:17;529:27;519:55;;570:1;567;560:12;519:55;-1:-1:-1;593:20:1;;636:18;625:30;;622:50;;;668:1;665;658:12;622:50;705:4;697:6;693:17;681:29;;765:3;758:4;748:6;745:1;741:14;733:6;729:27;725:38;722:47;719:67;;;782:1;779;772:12;719:67;425:367;;;;;:::o;797:723::-;851:5;904:3;897:4;889:6;885:17;881:27;871:55;;922:1;919;912:12;871:55;958:6;945:20;984:4;1007:18;1003:2;1000:26;997:52;;;1029:18;;:::i;:::-;1075:2;1072:1;1068:10;1098:28;1122:2;1118;1114:11;1098:28;:::i;:::-;1160:15;;;1191:12;;;;1223:15;;;1257;;;1253:24;;1250:33;-1:-1:-1;1247:53:1;;;1296:1;1293;1286:12;1247:53;1318:1;1309:10;;1328:163;1342:2;1339:1;1336:9;1328:163;;;1399:17;;1387:30;;1360:1;1353:9;;;;;1437:12;;;;1469;;1328:163;;;-1:-1:-1;1509:5:1;797:723;-1:-1:-1;;;;;;;797:723:1:o;1525:220::-;1567:5;1620:3;1613:4;1605:6;1601:17;1597:27;1587:55;;1638:1;1635;1628:12;1587:55;1660:79;1735:3;1726:6;1713:20;1706:4;1698:6;1694:17;1660:79;:::i;1750:247::-;1809:6;1862:2;1850:9;1841:7;1837:23;1833:32;1830:52;;;1878:1;1875;1868:12;1830:52;1917:9;1904:23;1936:31;1961:5;1936:31;:::i;2002:388::-;2070:6;2078;2131:2;2119:9;2110:7;2106:23;2102:32;2099:52;;;2147:1;2144;2137:12;2099:52;2186:9;2173:23;2205:31;2230:5;2205:31;:::i;:::-;2255:5;-1:-1:-1;2312:2:1;2297:18;;2284:32;2325:33;2284:32;2325:33;:::i;:::-;2377:7;2367:17;;;2002:388;;;;;:::o;2395:624::-;2497:6;2505;2513;2566:2;2554:9;2545:7;2541:23;2537:32;2534:52;;;2582:1;2579;2572:12;2534:52;2621:9;2608:23;2640:31;2665:5;2640:31;:::i;:::-;2690:5;-1:-1:-1;2747:2:1;2732:18;;2719:32;2760:33;2719:32;2760:33;:::i;:::-;2812:7;-1:-1:-1;2870:2:1;2855:18;;2842:32;2897:18;2886:30;;2883:50;;;2929:1;2926;2919:12;2883:50;2952:61;3005:7;2996:6;2985:9;2981:22;2952:61;:::i;:::-;2942:71;;;2395:624;;;;;:::o;3024:844::-;3144:6;3152;3160;3168;3221:3;3209:9;3200:7;3196:23;3192:33;3189:53;;;3238:1;3235;3228:12;3189:53;3277:9;3264:23;3296:31;3321:5;3296:31;:::i;:::-;3346:5;-1:-1:-1;3403:2:1;3388:18;;3375:32;3416:33;3375:32;3416:33;:::i;:::-;3468:7;-1:-1:-1;3526:2:1;3511:18;;3498:32;3549:18;3579:14;;;3576:34;;;3606:1;3603;3596:12;3576:34;3629:61;3682:7;3673:6;3662:9;3658:22;3629:61;:::i;:::-;3619:71;;3743:2;3732:9;3728:18;3715:32;3699:48;;3772:2;3762:8;3759:16;3756:36;;;3788:1;3785;3778:12;3756:36;;3811:51;3854:7;3843:8;3832:9;3828:24;3811:51;:::i;:::-;3801:61;;;3024:844;;;;;;;:::o;3873:456::-;3950:6;3958;3966;4019:2;4007:9;3998:7;3994:23;3990:32;3987:52;;;4035:1;4032;4025:12;3987:52;4074:9;4061:23;4093:31;4118:5;4093:31;:::i;:::-;4143:5;-1:-1:-1;4200:2:1;4185:18;;4172:32;4213:33;4172:32;4213:33;:::i;:::-;3873:456;;4265:7;;-1:-1:-1;;;4319:2:1;4304:18;;;;4291:32;;3873:456::o;4334:665::-;4429:6;4437;4445;4453;4506:3;4494:9;4485:7;4481:23;4477:33;4474:53;;;4523:1;4520;4513:12;4474:53;4562:9;4549:23;4581:31;4606:5;4581:31;:::i;:::-;4631:5;-1:-1:-1;4688:2:1;4673:18;;4660:32;4701:33;4660:32;4701:33;:::i;:::-;4753:7;-1:-1:-1;4807:2:1;4792:18;;4779:32;;-1:-1:-1;4862:2:1;4847:18;;4834:32;4889:18;4878:30;;4875:50;;;4921:1;4918;4911:12;4875:50;4944:49;4985:7;4976:6;4965:9;4961:22;4944:49;:::i;5004:572::-;5099:6;5107;5115;5168:2;5156:9;5147:7;5143:23;5139:32;5136:52;;;5184:1;5181;5174:12;5136:52;5223:9;5210:23;5242:31;5267:5;5242:31;:::i;:::-;5292:5;-1:-1:-1;5348:2:1;5333:18;;5320:32;5375:18;5364:30;;5361:50;;;5407:1;5404;5397:12;5361:50;5446:70;5508:7;5499:6;5488:9;5484:22;5446:70;:::i;:::-;5004:572;;5535:8;;-1:-1:-1;5420:96:1;;-1:-1:-1;;;;5004:572:1:o;5581:382::-;5646:6;5654;5707:2;5695:9;5686:7;5682:23;5678:32;5675:52;;;5723:1;5720;5713:12;5675:52;5762:9;5749:23;5781:31;5806:5;5781:31;:::i;:::-;5831:5;-1:-1:-1;5888:2:1;5873:18;;5860:32;5901:30;5860:32;5901:30;:::i;5968:315::-;6036:6;6044;6097:2;6085:9;6076:7;6072:23;6068:32;6065:52;;;6113:1;6110;6103:12;6065:52;6152:9;6139:23;6171:31;6196:5;6171:31;:::i;:::-;6221:5;6273:2;6258:18;;;;6245:32;;-1:-1:-1;;;5968:315:1:o;6288:437::-;6374:6;6382;6435:2;6423:9;6414:7;6410:23;6406:32;6403:52;;;6451:1;6448;6441:12;6403:52;6491:9;6478:23;6524:18;6516:6;6513:30;6510:50;;;6556:1;6553;6546:12;6510:50;6595:70;6657:7;6648:6;6637:9;6633:22;6595:70;:::i;:::-;6684:8;;6569:96;;-1:-1:-1;6288:437:1;-1:-1:-1;;;;6288:437:1:o;6730:241::-;6786:6;6839:2;6827:9;6818:7;6814:23;6810:32;6807:52;;;6855:1;6852;6845:12;6807:52;6894:9;6881:23;6913:28;6935:5;6913:28;:::i;6976:245::-;7043:6;7096:2;7084:9;7075:7;7071:23;7067:32;7064:52;;;7112:1;7109;7102:12;7064:52;7144:9;7138:16;7163:28;7185:5;7163:28;:::i;7226:180::-;7285:6;7338:2;7326:9;7317:7;7313:23;7309:32;7306:52;;;7354:1;7351;7344:12;7306:52;-1:-1:-1;7377:23:1;;7226:180;-1:-1:-1;7226:180:1:o;7411:248::-;7479:6;7487;7540:2;7528:9;7519:7;7515:23;7511:32;7508:52;;;7556:1;7553;7546:12;7508:52;-1:-1:-1;;7579:23:1;;;7649:2;7634:18;;;7621:32;;-1:-1:-1;7411:248:1:o;7664:245::-;7722:6;7775:2;7763:9;7754:7;7750:23;7746:32;7743:52;;;7791:1;7788;7781:12;7743:52;7830:9;7817:23;7849:30;7873:5;7849:30;:::i;7914:249::-;7983:6;8036:2;8024:9;8015:7;8011:23;8007:32;8004:52;;;8052:1;8049;8042:12;8004:52;8084:9;8078:16;8103:30;8127:5;8103:30;:::i;8168:280::-;8267:6;8320:2;8308:9;8299:7;8295:23;8291:32;8288:52;;;8336:1;8333;8326:12;8288:52;8368:9;8362:16;8387:31;8412:5;8387:31;:::i;8453:450::-;8522:6;8575:2;8563:9;8554:7;8550:23;8546:32;8543:52;;;8591:1;8588;8581:12;8543:52;8631:9;8618:23;8664:18;8656:6;8653:30;8650:50;;;8696:1;8693;8686:12;8650:50;8719:22;;8772:4;8764:13;;8760:27;-1:-1:-1;8750:55:1;;8801:1;8798;8791:12;8750:55;8824:73;8889:7;8884:2;8871:16;8866:2;8862;8858:11;8824:73;:::i;9093:184::-;9163:6;9216:2;9204:9;9195:7;9191:23;9187:32;9184:52;;;9232:1;9229;9222:12;9184:52;-1:-1:-1;9255:16:1;;9093:184;-1:-1:-1;9093:184:1:o;9282:257::-;9323:3;9361:5;9355:12;9388:6;9383:3;9376:19;9404:63;9460:6;9453:4;9448:3;9444:14;9437:4;9430:5;9426:16;9404:63;:::i;:::-;9521:2;9500:15;-1:-1:-1;;9496:29:1;9487:39;;;;9528:4;9483:50;;9282:257;-1:-1:-1;;9282:257:1:o;9544:185::-;9586:3;9624:5;9618:12;9639:52;9684:6;9679:3;9672:4;9665:5;9661:16;9639:52;:::i;:::-;9707:16;;;;;9544:185;-1:-1:-1;;9544:185:1:o;10472:276::-;10603:3;10641:6;10635:13;10657:53;10703:6;10698:3;10691:4;10683:6;10679:17;10657:53;:::i;:::-;10726:16;;;;;10472:276;-1:-1:-1;;10472:276:1:o;10753:1174::-;10929:3;10958:1;10991:6;10985:13;11021:3;11043:1;11071:9;11067:2;11063:18;11053:28;;11131:2;11120:9;11116:18;11153;11143:61;;11197:4;11189:6;11185:17;11175:27;;11143:61;11223:2;11271;11263:6;11260:14;11240:18;11237:38;11234:165;;;-1:-1:-1;;;11298:33:1;;11354:4;11351:1;11344:15;11384:4;11305:3;11372:17;11234:165;11415:18;11442:104;;;;11560:1;11555:320;;;;11408:467;;11442:104;-1:-1:-1;;11475:24:1;;11463:37;;11520:16;;;;-1:-1:-1;11442:104:1;;11555:320;26183:1;26176:14;;;26220:4;26207:18;;11650:1;11664:165;11678:6;11675:1;11672:13;11664:165;;;11756:14;;11743:11;;;11736:35;11799:16;;;;11693:10;;11664:165;;;11668:3;;11858:6;11853:3;11849:16;11842:23;;11408:467;;;;;;;11891:30;11917:3;11909:6;11891:30;:::i;:::-;11884:37;10753:1174;-1:-1:-1;;;;;10753:1174:1:o;12350:488::-;-1:-1:-1;;;;;12619:15:1;;;12601:34;;12671:15;;12666:2;12651:18;;12644:43;12718:2;12703:18;;12696:34;;;12766:3;12761:2;12746:18;;12739:31;;;12544:4;;12787:45;;12812:19;;12804:6;12787:45;:::i;:::-;12779:53;12350:488;-1:-1:-1;;;;;;12350:488:1:o;12843:385::-;13075:1;13071;13066:3;13062:11;13058:19;13050:6;13046:32;13035:9;13028:51;13115:6;13110:2;13099:9;13095:18;13088:34;13158:2;13153;13142:9;13138:18;13131:30;13009:4;13178:44;13218:2;13207:9;13203:18;13195:6;13178:44;:::i;13233:632::-;13404:2;13456:21;;;13526:13;;13429:18;;;13548:22;;;13375:4;;13404:2;13627:15;;;;13601:2;13586:18;;;13375:4;13670:169;13684:6;13681:1;13678:13;13670:169;;;13745:13;;13733:26;;13814:15;;;;13779:12;;;;13706:1;13699:9;13670:169;;;-1:-1:-1;13856:3:1;;13233:632;-1:-1:-1;;;;;;13233:632:1:o;15142:219::-;15291:2;15280:9;15273:21;15254:4;15311:44;15351:2;15340:9;15336:18;15328:6;15311:44;:::i;15788:407::-;15990:2;15972:21;;;16029:2;16009:18;;;16002:30;16068:34;16063:2;16048:18;;16041:62;-1:-1:-1;;;16134:2:1;16119:18;;16112:41;16185:3;16170:19;;15788:407::o;16200:414::-;16402:2;16384:21;;;16441:2;16421:18;;;16414:30;16480:34;16475:2;16460:18;;16453:62;-1:-1:-1;;;16546:2:1;16531:18;;16524:48;16604:3;16589:19;;16200:414::o;17717:335::-;17919:2;17901:21;;;17958:2;17938:18;;;17931:30;-1:-1:-1;;;17992:2:1;17977:18;;17970:41;18043:2;18028:18;;17717:335::o;22687:356::-;22889:2;22871:21;;;22908:18;;;22901:30;22967:34;22962:2;22947:18;;22940:62;23034:2;23019:18;;22687:356::o;24564:413::-;24766:2;24748:21;;;24805:2;24785:18;;;24778:30;24844:34;24839:2;24824:18;;24817:62;-1:-1:-1;;;24910:2:1;24895:18;;24888:47;24967:3;24952:19;;24564:413::o;25830:275::-;25901:2;25895:9;25966:2;25947:13;;-1:-1:-1;;25943:27:1;25931:40;;26001:18;25986:34;;26022:22;;;25983:62;25980:88;;;26048:18;;:::i;:::-;26084:2;26077:22;25830:275;;-1:-1:-1;25830:275:1:o;26236:128::-;26276:3;26307:1;26303:6;26300:1;26297:13;26294:39;;;26313:18;;:::i;:::-;-1:-1:-1;26349:9:1;;26236:128::o;26369:120::-;26409:1;26435;26425:35;;26440:18;;:::i;:::-;-1:-1:-1;26474:9:1;;26369:120::o;26494:125::-;26534:4;26562:1;26559;26556:8;26553:34;;;26567:18;;:::i;:::-;-1:-1:-1;26604:9:1;;26494:125::o;26624:258::-;26696:1;26706:113;26720:6;26717:1;26714:13;26706:113;;;26796:11;;;26790:18;26777:11;;;26770:39;26742:2;26735:10;26706:113;;;26837:6;26834:1;26831:13;26828:48;;;-1:-1:-1;;26872:1:1;26854:16;;26847:27;26624:258::o;26887:380::-;26966:1;26962:12;;;;27009;;;27030:61;;27084:4;27076:6;27072:17;27062:27;;27030:61;27137:2;27129:6;27126:14;27106:18;27103:38;27100:161;;;27183:10;27178:3;27174:20;27171:1;27164:31;27218:4;27215:1;27208:15;27246:4;27243:1;27236:15;27100:161;;26887:380;;;:::o;27272:135::-;27311:3;-1:-1:-1;;27332:17:1;;27329:43;;;27352:18;;:::i;:::-;-1:-1:-1;27399:1:1;27388:13;;27272:135::o;27412:112::-;27444:1;27470;27460:35;;27475:18;;:::i;:::-;-1:-1:-1;27509:9:1;;27412:112::o;27529:127::-;27590:10;27585:3;27581:20;27578:1;27571:31;27621:4;27618:1;27611:15;27645:4;27642:1;27635:15;27661:127;27722:10;27717:3;27713:20;27710:1;27703:31;27753:4;27750:1;27743:15;27777:4;27774:1;27767:15;27793:127;27854:10;27849:3;27845:20;27842:1;27835:31;27885:4;27882:1;27875:15;27909:4;27906:1;27899:15;27925:127;27986:10;27981:3;27977:20;27974:1;27967:31;28017:4;28014:1;28007:15;28041:4;28038:1;28031:15;28057:131;-1:-1:-1;;;;;28132:31:1;;28122:42;;28112:70;;28178:1;28175;28168:12;28193:118;28279:5;28272:13;28265:21;28258:5;28255:32;28245:60;;28301:1;28298;28291:12;28316:131;-1:-1:-1;;;;;;28390:32:1;;28380:43;;28370:71;;28437:1;28434;28427:12

Swarm Source

ipfs://47f3ffd9e18cc964a3ff07a648e20e532d1f309e16fea4fd2b3091aa1a439a3e
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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