ETH Price: $3,423.02 (+2.27%)

Token

HashScapes (HASHSCAPES)
 

Overview

Max Total Supply

1,206 HASHSCAPES

Holders

288

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
someguyinla.eth
Balance
1 HASHSCAPES
0x0c3BAb9Fa59E41dA6725E94C2D774258FD392fa9
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:
HashScapes

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-07-04
*/

// File: @openzeppelin/contracts/utils/math/SafeMath.sol

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

// File: @openzeppelin/contracts/utils/Context.sol

//

pragma solidity ^0.8.0;

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

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

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol

//

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
// File: @openzeppelin/contracts/token/ERC721/IERC721.sol

//

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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

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

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

//

pragma solidity ^0.8.0;


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

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

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

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


// File: @openzeppelin/contracts/access/Ownable.sol

//

pragma solidity ^0.8.0;

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

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

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

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol

//

pragma solidity ^0.8.0;


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

// File: @openzeppelin/contracts/utils/Strings.sol

//

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "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] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

}

// File: @openzeppelin/contracts/utils/Address.sol

//

pragma solidity ^0.8.0;

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

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

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

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

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

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

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

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

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

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol

//

pragma solidity ^0.8.0;


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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol

//

pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/token/ERC721/ERC721.sol

//

pragma solidity ^0.8.0;









/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Base URI for computing {tokenURI}. Empty by default, can be overriden
     * in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev 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(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    // solhint-disable-next-line no-inline-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

// File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol

//

pragma solidity ^0.8.0;



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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: contracts/HashScapes.sol

pragma solidity ^0.8.0;

contract HashScapes is ERC721Enumerable, Ownable {
    using SafeMath for uint256;
    struct CoinBalance {
        uint256 balance;
        uint256 dividend;
        uint256 lastTimestamp;
    }

    uint public constant MAX_HASHSCAPES = 7777;
    uint public constant NUMBER_RESERVED = 25;
    uint public constant PRICE = 20000000000000000; // 0.02 ETH each
    string public METADATA_PROVENANCE_HASH = "";

    string public baseURI = "";
    uint private curIndex = NUMBER_RESERVED.add(1);
    bool public hasSaleStarted = false;
    mapping(uint => CoinBalance) private bankerBalances; // mapping of HashScapes IDs to their "Coin Balance"

    constructor() ERC721("HashScapes","HASHSCAPES")  {
    }
    
    /** HASHSCAPES BALANCE */
    
    /** Each HashScape is initialized with a balance of 0
     * and dividend rate of 10. This means the HashScape's
     * balance increases at a base rate of 10/day. */
    function initializeCoinBalance(uint id) private {
        bankerBalances[id] = CoinBalance(0, 10, block.timestamp);
    }
    
    function getCoinBalance(uint id) public view returns (uint256) {
        /* Note on `bankerBalances[id].dividend >= 10`: The
        * `dividend` is initialized at 10, and it can never
        * be decreased. Therefore, `dividend < 10` means
        * the HashScape has not been minted yet. */
        require(bankerBalances[id].dividend >= 10, "That HashScape has not been minted yet.");
        CoinBalance storage coinBalance = bankerBalances[id];
        /* `lastTimestamp` is a variable that serves to cache
        * the HashScape's value. This is to save on gas--this
        * function will return to correct balance without
        * having to update the `balance` until necessary. */
        return coinBalance.balance.add(coinBalance.dividend.mul(block.timestamp.sub(coinBalance.lastTimestamp)).div(86400)); // 86400 seconds is 1 day.
    }
    
    /** Each HashScape's dividend is initialized at 10/day.
     * However, one can spend 0.003 ETH to upgrade it.
     * This way, certain HashScapes can accumulate balance
     * quicker. */
    function upgradeCoinDividend(uint id, uint256 amount) public payable {
        require(bankerBalances[id].dividend >= 10, "That HashScape has not been minted yet.");
        require(msg.value >= amount.mul(3000000000000000)); // 0.003 ETH
        CoinBalance storage coinBalance = bankerBalances[id];
        /* `getCoinBalance` must be used to retrieve the
        * live balance. Then, this must be updated to
        * ensure it will work the next time it is called.
        * As mentioned earlier, `lastTimestamp` serves
        * as a cached value to minimize gas usage. Thus,
        * it must also be updated. */
        coinBalance.balance = getCoinBalance(id);
        coinBalance.lastTimestamp = block.timestamp;
        coinBalance.dividend = coinBalance.dividend.add(amount);
    }
    
    /** This function takes in an array of HashScape IDs
     * and an array of balances to spend from them. Thus,
     * there must be no duplicate IDs and the arrays should
     * be of equal length. It is important to note that
     * the owner's ability to select WHICH HashScapes to
     * spend balance from is crucial to maintain their
     * value. btw DM frosty on Discord for a special role :) */
    function spendCoinBalance(uint[] memory hashscapeIds, uint256[] memory amountToSpend) public returns (uint256) {
        require(hashscapeIds.length == amountToSpend.length, "You must provide a 1-to-1 relationship of balance amounts to spend from your HashScapes.");
        require(!checkDuplicates(hashscapeIds), "You may not buy from the same coin per transaction.");
        require(hashscapeIds.length <= 10, "You can only spend from 10 HashScapes at a time.");
        uint256 totalSpent = 0;
        // Loop through first to make sure the owner actually owns all their HashScapes and has enough balance in them.
        for (uint i = 0; i < hashscapeIds.length; i++) {
            uint id = hashscapeIds[i];
            uint256 amount = amountToSpend[i];
            require(msg.sender == ownerOf(id), "You do not own the HashScapes you specified.");
            require(getCoinBalance(id) >= amount, "Insufficient HashScapes balance.");
        }
        // See `upgradeCoinDividend` comments for explanation on why the HashScapes' balances and `lastTimestamp` are updated.
        for (uint i = 0; i < hashscapeIds.length; i++) {
            uint id = hashscapeIds[i];
            uint amount = amountToSpend[i];
            CoinBalance storage coinBalance = bankerBalances[id];
            coinBalance.balance = getCoinBalance(id).sub(amount);
            coinBalance.lastTimestamp = block.timestamp;
            totalSpent = totalSpent.add(amount);
        }
        // The total balance that was spent is returned, so it can be used with future apps and integrations.
        return totalSpent;
    }
    
    /** O(n^2) algorithm to check for duplicate integers
     * in an array. For small input (in this case, <= 10),
     * the algorithm is good. Thus, gas is not wasted. */
    function checkDuplicates(uint[] memory arr) private pure returns (bool) {
        for (uint i = 0; i < arr.length; i++) {
            for (uint j = i + 1; j < arr.length; j++) {
                if (arr[i] == arr[j]) {
                    return true;
                }
            }
        }
        return false;
    }
    
    /** NFT */
    
    function tokensOfOwner(address _owner) external view returns (uint256[] memory) {
        uint256 tokenCount = balanceOf(_owner);
        if (tokenCount == 0) {
            return new uint256[](0);
        } else {
            uint256[] memory result = new uint256[](tokenCount);
            uint256 index;
            for (index = 0; index < tokenCount; index++) {
                result[index] = tokenOfOwnerByIndex(_owner, index);
            }
            return result;
        }
    }

    function buyHashScape(uint256 numHashScapes) public payable {
        require(hasSaleStarted, "Sale is not active.");
        require(totalSupply() < MAX_HASHSCAPES, "Sale has ended.");
        require(numHashScapes > 0 && numHashScapes <= 40, "You can buy a maximum of 40 HashScapes at a time.");
        require(totalSupply().add(numHashScapes) <= MAX_HASHSCAPES, "All HashScapes have been sold!");
        require(msg.value >= numHashScapes.mul(PRICE), "Insufficient ETH funds.");
        for (uint i = 0; i < numHashScapes; i++) {
            _safeMint(msg.sender, curIndex);
            initializeCoinBalance(curIndex);
            adjustIndex();
        }
    }

    // Skip % 1111 == 0 since they are reserved
    function adjustIndex() private {
        curIndex++;
        if (curIndex % 1111 == 0) {
            curIndex++;
        }
    }

    function getCurrentIndex() public view returns (uint) {
        return curIndex;
    }

    function setProvenanceHash(string memory _hash) public onlyOwner {
        METADATA_PROVENANCE_HASH = _hash;
    }

    function setBaseURI(string memory newBaseURI) public onlyOwner {
        baseURI = newBaseURI;
    }

    function _baseURI() internal view virtual override returns (string memory) {
        return getBaseURI();
    }
    
    function getBaseURI() public view returns (string memory) {
        return baseURI;
    }

    function flipSaleState() public onlyOwner {
        hasSaleStarted = !hasSaleStarted;
    }

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

    function reserve() public onlyOwner {
        // Reserve first `NUMBER_RESERVED` HashScapes and all those `INDEX % 1111 == 0` for charity event.
        for (uint i = 1; i <= NUMBER_RESERVED; i++) {
            initializeCoinBalance(i);
            _safeMint(owner(), i);
        }
        for (uint i = 1111; i <= MAX_HASHSCAPES; i += 1111) {
            initializeCoinBalance(i);
            _safeMint(owner(), i);
        }
    }

    function reserveCur() public onlyOwner {
        require(totalSupply() < MAX_HASHSCAPES, "Sale has already ended");
        initializeCoinBalance(curIndex);
        _safeMint(owner(), curIndex);
        adjustIndex();
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_HASHSCAPES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"METADATA_PROVENANCE_HASH","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NUMBER_RESERVED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint256","name":"numHashScapes","type":"uint256"}],"name":"buyHashScape","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getCoinBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hasSaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveCur","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"hashscapeIds","type":"uint256[]"},{"internalType":"uint256[]","name":"amountToSpend","type":"uint256[]"}],"name":"spendCoinBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"upgradeCoinDividend","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"payable","type":"function"}]

60a06040819052600060808190526200001b91600b916200016a565b506040805160208101918290526000908190526200003c91600c916200016a565b5062000059600160196200015160201b6200194d1790919060201c565b600d55600e805460ff191690553480156200007357600080fd5b506040518060400160405280600a8152602001694861736853636170657360b01b8152506040518060400160405280600a8152602001694841534853434150455360b01b8152508160009080519060200190620000d29291906200016a565b508051620000e89060019060208401906200016a565b5050506000620000fd6200016660201b60201c565b600a80546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35062000272565b60006200015f828462000210565b9392505050565b3390565b828054620001789062000235565b90600052602060002090601f0160209004810192826200019c5760008555620001e7565b82601f10620001b757805160ff1916838001178555620001e7565b82800160010185558215620001e7579182015b82811115620001e7578251825591602001919060010190620001ca565b50620001f5929150620001f9565b5090565b5b80821115620001f55760008155600101620001fa565b600082198211156200023057634e487b7160e01b81526011600452602481fd5b500190565b600181811c908216806200024a57607f821691505b602082108114156200026c57634e487b7160e01b600052602260045260246000fd5b50919050565b612c5080620002826000396000f3fe6080604052600436106102255760003560e01c8063715018a611610123578063a22cb465116100ab578063cd3293de1161006f578063cd3293de146105f3578063dc0da11f14610608578063e985e9c51461061b578063f0c9dc6014610664578063f2fde38b1461067957600080fd5b8063a22cb46514610560578063b599412114610580578063b88d4fde146105a0578063c673c563146105c0578063c87b56dd146105d357600080fd5b80638d859f3e116100f25780638d859f3e146104dd5780638da5cb5b146104f85780638fca68741461051657806395d89b4114610536578063a200b8441461054b57600080fd5b8063715018a61461047e5780637dc2b43a146104935780638462151c146104a8578063853828b6146104d557600080fd5b80632f745c59116101b15780636352211e116101755780636352211e146103fe5780636c0360eb1461041e5780636d22ee241461043357806370a0823114610449578063714c53981461046957600080fd5b80632f745c591461036957806334918dfd1461038957806342842e0e1461039e5780634f6ccce7146103be57806355f804b3146103de57600080fd5b80630d9005ae116101f85780630d9005ae146102db57806310969523146102fa57806318160ddd1461031a5780631c8b232d1461032f57806323b872dd1461034957600080fd5b806301ffc9a71461022a57806306fdde031461025f578063081812fc14610281578063095ea7b3146102b9575b600080fd5b34801561023657600080fd5b5061024a6102453660046127da565b610699565b60405190151581526020015b60405180910390f35b34801561026b57600080fd5b506102746106c4565b604051610256919061296d565b34801561028d57600080fd5b506102a161029c366004612858565b610756565b6040516001600160a01b039091168152602001610256565b3480156102c557600080fd5b506102d96102d4366004612750565b6107f0565b005b3480156102e757600080fd5b50600d545b604051908152602001610256565b34801561030657600080fd5b506102d9610315366004612812565b610906565b34801561032657600080fd5b506008546102ec565b34801561033b57600080fd5b50600e5461024a9060ff1681565b34801561035557600080fd5b506102d9610364366004612662565b610947565b34801561037557600080fd5b506102ec610384366004612750565b610978565b34801561039557600080fd5b506102d9610a0e565b3480156103aa57600080fd5b506102d96103b9366004612662565b610a4c565b3480156103ca57600080fd5b506102ec6103d9366004612858565b610a67565b3480156103ea57600080fd5b506102d96103f9366004612812565b610b08565b34801561040a57600080fd5b506102a1610419366004612858565b610b45565b34801561042a57600080fd5b50610274610bbc565b34801561043f57600080fd5b506102ec611e6181565b34801561045557600080fd5b506102ec610464366004612616565b610c4a565b34801561047557600080fd5b50610274610cd1565b34801561048a57600080fd5b506102d9610ce0565b34801561049f57600080fd5b506102ec601981565b3480156104b457600080fd5b506104c86104c3366004612616565b610d54565b6040516102569190612929565b6102d9610e2f565b3480156104e957600080fd5b506102ec66470de4df82000081565b34801561050457600080fd5b50600a546001600160a01b03166102a1565b34801561052257600080fd5b506102ec610531366004612858565b610e7f565b34801561054257600080fd5b50610274610f00565b34801561055757600080fd5b506102d9610f0f565b34801561056c57600080fd5b506102d961057b366004612716565b610fbb565b34801561058c57600080fd5b506102ec61059b366004612779565b611080565b3480156105ac57600080fd5b506102d96105bb36600461269d565b611405565b6102d96105ce366004612858565b61143d565b3480156105df57600080fd5b506102746105ee366004612858565b611647565b3480156105ff57600080fd5b506102d9611721565b6102d9610616366004612870565b6117ce565b34801561062757600080fd5b5061024a610636366004612630565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561067057600080fd5b50610274611855565b34801561068557600080fd5b506102d9610694366004612616565b611862565b60006001600160e01b0319821663780e9d6360e01b14806106be57506106be82611959565b92915050565b6060600080546106d390612b5e565b80601f01602080910402602001604051908101604052809291908181526020018280546106ff90612b5e565b801561074c5780601f106107215761010080835404028352916020019161074c565b820191906000526020600020905b81548152906001019060200180831161072f57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107d45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006107fb82610b45565b9050806001600160a01b0316836001600160a01b031614156108695760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107cb565b336001600160a01b038216148061088557506108858133610636565b6108f75760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107cb565b61090183836119a9565b505050565b600a546001600160a01b031633146109305760405162461bcd60e51b81526004016107cb90612a19565b805161094390600b906020840190612486565b5050565b6109513382611a17565b61096d5760405162461bcd60e51b81526004016107cb90612a4e565b610901838383611b0e565b600061098383610c4a565b82106109e55760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016107cb565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610a385760405162461bcd60e51b81526004016107cb90612a19565b600e805460ff19811660ff90911615179055565b61090183838360405180602001604052806000815250611405565b6000610a7260085490565b8210610ad55760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016107cb565b60088281548110610af657634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600a546001600160a01b03163314610b325760405162461bcd60e51b81526004016107cb90612a19565b805161094390600c906020840190612486565b6000818152600260205260408120546001600160a01b0316806106be5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016107cb565b600c8054610bc990612b5e565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf590612b5e565b8015610c425780601f10610c1757610100808354040283529160200191610c42565b820191906000526020600020905b815481529060010190602001808311610c2557829003601f168201915b505050505081565b60006001600160a01b038216610cb55760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107cb565b506001600160a01b031660009081526003602052604090205490565b6060600c80546106d390612b5e565b600a546001600160a01b03163314610d0a5760405162461bcd60e51b81526004016107cb90612a19565b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b60606000610d6183610c4a565b905080610d825760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff811115610dab57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610dd4578160200160208202803683370190505b50905060005b82811015610d7a57610dec8582610978565b828281518110610e0c57634e487b7160e01b600052603260045260246000fd5b602090810291909101015280610e2181612b93565b915050610dda565b50919050565b600a546001600160a01b03163314610e595760405162461bcd60e51b81526004016107cb90612a19565b60405133904780156108fc02916000818181858888f19350505050610e7d57600080fd5b565b6000818152600f6020526040812060010154600a1115610eb15760405162461bcd60e51b81526004016107cb906129d2565b6000828152600f602052604090206002810154610ef990610ef1906201518090610eeb90610ee0904290611cb9565b600186015490611cc5565b90611cd1565b82549061194d565b9392505050565b6060600180546106d390612b5e565b600a546001600160a01b03163314610f395760405162461bcd60e51b81526004016107cb90612a19565b611e61610f4560085490565b10610f8b5760405162461bcd60e51b815260206004820152601660248201527514d85b19481a185cc8185b1c9958591e48195b99195960521b60448201526064016107cb565b610f96600d54611cdd565b610fb3610fab600a546001600160a01b031690565b600d54611d1c565b610e7d611d36565b6001600160a01b0382163314156110145760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107cb565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000815183511461111f5760405162461bcd60e51b815260206004820152605860248201527f596f75206d7573742070726f76696465206120312d746f2d312072656c61746960448201527f6f6e73686970206f662062616c616e636520616d6f756e747320746f2073706560648201527f6e642066726f6d20796f757220486173685363617065732e0000000000000000608482015260a4016107cb565b61112883611d76565b156111915760405162461bcd60e51b815260206004820152603360248201527f596f75206d6179206e6f74206275792066726f6d207468652073616d6520636f60448201527234b7103832b9103a3930b739b0b1ba34b7b71760691b60648201526084016107cb565b600a835111156111fc5760405162461bcd60e51b815260206004820152603060248201527f596f752063616e206f6e6c79207370656e642066726f6d20313020486173685360448201526f31b0b832b99030ba1030903a34b6b29760811b60648201526084016107cb565b6000805b845181101561134c57600085828151811061122b57634e487b7160e01b600052603260045260246000fd5b60200260200101519050600085838151811061125757634e487b7160e01b600052603260045260246000fd5b6020026020010151905061126a82610b45565b6001600160a01b0316336001600160a01b0316146112df5760405162461bcd60e51b815260206004820152602c60248201527f596f7520646f206e6f74206f776e20746865204861736853636170657320796f60448201526b3a9039b832b1b4b334b2b21760a11b60648201526084016107cb565b806112e983610e7f565b10156113375760405162461bcd60e51b815260206004820181905260248201527f496e73756666696369656e7420486173685363617065732062616c616e63652e60448201526064016107cb565b5050808061134490612b93565b915050611200565b5060005b8451811015610d7a57600085828151811061137b57634e487b7160e01b600052603260045260246000fd5b6020026020010151905060008583815181106113a757634e487b7160e01b600052603260045260246000fd5b602002602001015190506000600f600084815260200190815260200160002090506113db826113d585610e7f565b90611cb9565b81554260028201556113ed858361194d565b945050505080806113fd90612b93565b915050611350565b61140f3383611a17565b61142b5760405162461bcd60e51b81526004016107cb90612a4e565b61143784848484611e2a565b50505050565b600e5460ff166114855760405162461bcd60e51b815260206004820152601360248201527229b0b6329034b9903737ba1030b1ba34bb329760691b60448201526064016107cb565b611e6161149160085490565b106114d05760405162461bcd60e51b815260206004820152600f60248201526e29b0b632903430b99032b73232b21760891b60448201526064016107cb565b6000811180156114e1575060288111155b6115475760405162461bcd60e51b815260206004820152603160248201527f596f752063616e206275792061206d6178696d756d206f66203430204861736860448201527029b1b0b832b99030ba1030903a34b6b29760791b60648201526084016107cb565b611e6161155d8261155760085490565b9061194d565b11156115ab5760405162461bcd60e51b815260206004820152601e60248201527f416c6c20486173685363617065732068617665206265656e20736f6c6421000060448201526064016107cb565b6115bc8166470de4df820000611cc5565b34101561160b5760405162461bcd60e51b815260206004820152601760248201527f496e73756666696369656e74204554482066756e64732e00000000000000000060448201526064016107cb565b60005b818110156109435761162233600d54611d1c565b61162d600d54611cdd565b611635611d36565b8061163f81612b93565b91505061160e565b6000818152600260205260409020546060906001600160a01b03166116c65760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107cb565b60006116d0611e5d565b905060008151116116f05760405180602001604052806000815250610ef9565b806116fa84611e6c565b60405160200161170b9291906128bd565b6040516020818303038152906040529392505050565b600a546001600160a01b0316331461174b5760405162461bcd60e51b81526004016107cb90612a19565b60015b6019811161178c5761175f81611cdd565b61177a611774600a546001600160a01b031690565b82611d1c565b8061178481612b93565b91505061174e565b506104575b611e6181116117cb576117a381611cdd565b6117b8611774600a546001600160a01b031690565b6117c461045782612ad0565b9050611791565b50565b6000828152600f6020526040902060010154600a11156118005760405162461bcd60e51b81526004016107cb906129d2565b61181181660aa87bee538000611cc5565b34101561181d57600080fd5b6000828152600f6020526040902061183483610e7f565b8155426002820155600181015461184b908361194d565b6001909101555050565b600b8054610bc990612b5e565b600a546001600160a01b0316331461188c5760405162461bcd60e51b81526004016107cb90612a19565b6001600160a01b0381166118f15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107cb565b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610ef98284612ad0565b60006001600160e01b031982166380ac58cd60e01b148061198a57506001600160e01b03198216635b5e139f60e01b145b806106be57506301ffc9a760e01b6001600160e01b03198316146106be565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906119de82610b45565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611a905760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107cb565b6000611a9b83610b45565b9050806001600160a01b0316846001600160a01b03161480611ad65750836001600160a01b0316611acb84610756565b6001600160a01b0316145b80611b0657506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611b2182610b45565b6001600160a01b031614611b895760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016107cb565b6001600160a01b038216611beb5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107cb565b611bf6838383611f86565b611c016000826119a9565b6001600160a01b0383166000908152600360205260408120805460019290611c2a908490612b1b565b90915550506001600160a01b0382166000908152600360205260408120805460019290611c58908490612ad0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000610ef98284612b1b565b6000610ef98284612afc565b6000610ef98284612ae8565b604080516060810182526000808252600a602080840191825242848601908152958352600f905292902090518155905160018201559051600290910155565b61094382826040518060200160405280600081525061203e565b600d8054906000611d4683612b93565b9190505550610457600d54611d5b9190612bae565b610e7d57600d8054906000611d6f83612b93565b9190505550565b6000805b8251811015611e21576000611d90826001612ad0565b90505b8351811015611e0e57838181518110611dbc57634e487b7160e01b600052603260045260246000fd5b6020026020010151848381518110611de457634e487b7160e01b600052603260045260246000fd5b60200260200101511415611dfc575060019392505050565b80611e0681612b93565b915050611d93565b5080611e1981612b93565b915050611d7a565b50600092915050565b611e35848484611b0e565b611e4184848484612071565b6114375760405162461bcd60e51b81526004016107cb90612980565b6060611e67610cd1565b905090565b606081611e905750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611eba5780611ea481612b93565b9150611eb39050600a83612ae8565b9150611e94565b60008167ffffffffffffffff811115611ee357634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611f0d576020820181803683370190505b5090505b8415611b0657611f22600183612b1b565b9150611f2f600a86612bae565b611f3a906030612ad0565b60f81b818381518110611f5d57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611f7f600a86612ae8565b9450611f11565b6001600160a01b038316611fe157611fdc81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612004565b816001600160a01b0316836001600160a01b03161461200457612004838261217e565b6001600160a01b03821661201b576109018161221b565b826001600160a01b0316826001600160a01b0316146109015761090182826122f4565b6120488383612338565b6120556000848484612071565b6109015760405162461bcd60e51b81526004016107cb90612980565b60006001600160a01b0384163b1561217357604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906120b59033908990889088906004016128ec565b602060405180830381600087803b1580156120cf57600080fd5b505af19250505080156120ff575060408051601f3d908101601f191682019092526120fc918101906127f6565b60015b612159573d80801561212d576040519150601f19603f3d011682016040523d82523d6000602084013e612132565b606091505b5080516121515760405162461bcd60e51b81526004016107cb90612980565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611b06565b506001949350505050565b6000600161218b84610c4a565b6121959190612b1b565b6000838152600760205260409020549091508082146121e8576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061222d90600190612b1b565b6000838152600960205260408120546008805493945090928490811061226357634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061229257634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806122d857634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006122ff83610c4a565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b03821661238e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107cb565b6000818152600260205260409020546001600160a01b0316156123f35760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107cb565b6123ff60008383611f86565b6001600160a01b0382166000908152600360205260408120805460019290612428908490612ad0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461249290612b5e565b90600052602060002090601f0160209004810192826124b457600085556124fa565b82601f106124cd57805160ff19168380011785556124fa565b828001600101855582156124fa579182015b828111156124fa5782518255916020019190600101906124df565b5061250692915061250a565b5090565b5b80821115612506576000815560010161250b565b600067ffffffffffffffff83111561253957612539612bee565b61254c601f8401601f1916602001612a9f565b905082815283838301111561256057600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461258e57600080fd5b919050565b600082601f8301126125a3578081fd5b8135602067ffffffffffffffff8211156125bf576125bf612bee565b8160051b6125ce828201612a9f565b8381528281019086840183880185018910156125e8578687fd5b8693505b8584101561260a5780358352600193909301929184019184016125ec565b50979650505050505050565b600060208284031215612627578081fd5b610ef982612577565b60008060408385031215612642578081fd5b61264b83612577565b915061265960208401612577565b90509250929050565b600080600060608486031215612676578081fd5b61267f84612577565b925061268d60208501612577565b9150604084013590509250925092565b600080600080608085870312156126b2578081fd5b6126bb85612577565b93506126c960208601612577565b925060408501359150606085013567ffffffffffffffff8111156126eb578182fd5b8501601f810187136126fb578182fd5b61270a8782356020840161251f565b91505092959194509250565b60008060408385031215612728578182fd5b61273183612577565b915060208301358015158114612745578182fd5b809150509250929050565b60008060408385031215612762578182fd5b61276b83612577565b946020939093013593505050565b6000806040838503121561278b578182fd5b823567ffffffffffffffff808211156127a2578384fd5b6127ae86838701612593565b935060208501359150808211156127c3578283fd5b506127d085828601612593565b9150509250929050565b6000602082840312156127eb578081fd5b8135610ef981612c04565b600060208284031215612807578081fd5b8151610ef981612c04565b600060208284031215612823578081fd5b813567ffffffffffffffff811115612839578182fd5b8201601f81018413612849578182fd5b611b068482356020840161251f565b600060208284031215612869578081fd5b5035919050565b60008060408385031215612882578182fd5b50508035926020909101359150565b600081518084526128a9816020860160208601612b32565b601f01601f19169290920160200192915050565b600083516128cf818460208801612b32565b8351908301906128e3818360208801612b32565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061291f90830184612891565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561296157835183529284019291840191600101612945565b50909695505050505050565b602081526000610ef96020830184612891565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526027908201527f546861742048617368536361706520686173206e6f74206265656e206d696e7460408201526632b2103cb2ba1760c91b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715612ac857612ac8612bee565b604052919050565b60008219821115612ae357612ae3612bc2565b500190565b600082612af757612af7612bd8565b500490565b6000816000190483118215151615612b1657612b16612bc2565b500290565b600082821015612b2d57612b2d612bc2565b500390565b60005b83811015612b4d578181015183820152602001612b35565b838111156114375750506000910152565b600181811c90821680612b7257607f821691505b60208210811415610e2957634e487b7160e01b600052602260045260246000fd5b6000600019821415612ba757612ba7612bc2565b5060010190565b600082612bbd57612bbd612bd8565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146117cb57600080fdfea26469706673582212204632fd920156831b263ff46a76ad6889270f18ef49f201d1926cd09c0b4354b864736f6c63430008040033

Deployed Bytecode

0x6080604052600436106102255760003560e01c8063715018a611610123578063a22cb465116100ab578063cd3293de1161006f578063cd3293de146105f3578063dc0da11f14610608578063e985e9c51461061b578063f0c9dc6014610664578063f2fde38b1461067957600080fd5b8063a22cb46514610560578063b599412114610580578063b88d4fde146105a0578063c673c563146105c0578063c87b56dd146105d357600080fd5b80638d859f3e116100f25780638d859f3e146104dd5780638da5cb5b146104f85780638fca68741461051657806395d89b4114610536578063a200b8441461054b57600080fd5b8063715018a61461047e5780637dc2b43a146104935780638462151c146104a8578063853828b6146104d557600080fd5b80632f745c59116101b15780636352211e116101755780636352211e146103fe5780636c0360eb1461041e5780636d22ee241461043357806370a0823114610449578063714c53981461046957600080fd5b80632f745c591461036957806334918dfd1461038957806342842e0e1461039e5780634f6ccce7146103be57806355f804b3146103de57600080fd5b80630d9005ae116101f85780630d9005ae146102db57806310969523146102fa57806318160ddd1461031a5780631c8b232d1461032f57806323b872dd1461034957600080fd5b806301ffc9a71461022a57806306fdde031461025f578063081812fc14610281578063095ea7b3146102b9575b600080fd5b34801561023657600080fd5b5061024a6102453660046127da565b610699565b60405190151581526020015b60405180910390f35b34801561026b57600080fd5b506102746106c4565b604051610256919061296d565b34801561028d57600080fd5b506102a161029c366004612858565b610756565b6040516001600160a01b039091168152602001610256565b3480156102c557600080fd5b506102d96102d4366004612750565b6107f0565b005b3480156102e757600080fd5b50600d545b604051908152602001610256565b34801561030657600080fd5b506102d9610315366004612812565b610906565b34801561032657600080fd5b506008546102ec565b34801561033b57600080fd5b50600e5461024a9060ff1681565b34801561035557600080fd5b506102d9610364366004612662565b610947565b34801561037557600080fd5b506102ec610384366004612750565b610978565b34801561039557600080fd5b506102d9610a0e565b3480156103aa57600080fd5b506102d96103b9366004612662565b610a4c565b3480156103ca57600080fd5b506102ec6103d9366004612858565b610a67565b3480156103ea57600080fd5b506102d96103f9366004612812565b610b08565b34801561040a57600080fd5b506102a1610419366004612858565b610b45565b34801561042a57600080fd5b50610274610bbc565b34801561043f57600080fd5b506102ec611e6181565b34801561045557600080fd5b506102ec610464366004612616565b610c4a565b34801561047557600080fd5b50610274610cd1565b34801561048a57600080fd5b506102d9610ce0565b34801561049f57600080fd5b506102ec601981565b3480156104b457600080fd5b506104c86104c3366004612616565b610d54565b6040516102569190612929565b6102d9610e2f565b3480156104e957600080fd5b506102ec66470de4df82000081565b34801561050457600080fd5b50600a546001600160a01b03166102a1565b34801561052257600080fd5b506102ec610531366004612858565b610e7f565b34801561054257600080fd5b50610274610f00565b34801561055757600080fd5b506102d9610f0f565b34801561056c57600080fd5b506102d961057b366004612716565b610fbb565b34801561058c57600080fd5b506102ec61059b366004612779565b611080565b3480156105ac57600080fd5b506102d96105bb36600461269d565b611405565b6102d96105ce366004612858565b61143d565b3480156105df57600080fd5b506102746105ee366004612858565b611647565b3480156105ff57600080fd5b506102d9611721565b6102d9610616366004612870565b6117ce565b34801561062757600080fd5b5061024a610636366004612630565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561067057600080fd5b50610274611855565b34801561068557600080fd5b506102d9610694366004612616565b611862565b60006001600160e01b0319821663780e9d6360e01b14806106be57506106be82611959565b92915050565b6060600080546106d390612b5e565b80601f01602080910402602001604051908101604052809291908181526020018280546106ff90612b5e565b801561074c5780601f106107215761010080835404028352916020019161074c565b820191906000526020600020905b81548152906001019060200180831161072f57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107d45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006107fb82610b45565b9050806001600160a01b0316836001600160a01b031614156108695760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107cb565b336001600160a01b038216148061088557506108858133610636565b6108f75760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107cb565b61090183836119a9565b505050565b600a546001600160a01b031633146109305760405162461bcd60e51b81526004016107cb90612a19565b805161094390600b906020840190612486565b5050565b6109513382611a17565b61096d5760405162461bcd60e51b81526004016107cb90612a4e565b610901838383611b0e565b600061098383610c4a565b82106109e55760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016107cb565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610a385760405162461bcd60e51b81526004016107cb90612a19565b600e805460ff19811660ff90911615179055565b61090183838360405180602001604052806000815250611405565b6000610a7260085490565b8210610ad55760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016107cb565b60088281548110610af657634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600a546001600160a01b03163314610b325760405162461bcd60e51b81526004016107cb90612a19565b805161094390600c906020840190612486565b6000818152600260205260408120546001600160a01b0316806106be5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016107cb565b600c8054610bc990612b5e565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf590612b5e565b8015610c425780601f10610c1757610100808354040283529160200191610c42565b820191906000526020600020905b815481529060010190602001808311610c2557829003601f168201915b505050505081565b60006001600160a01b038216610cb55760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107cb565b506001600160a01b031660009081526003602052604090205490565b6060600c80546106d390612b5e565b600a546001600160a01b03163314610d0a5760405162461bcd60e51b81526004016107cb90612a19565b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b60606000610d6183610c4a565b905080610d825760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff811115610dab57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610dd4578160200160208202803683370190505b50905060005b82811015610d7a57610dec8582610978565b828281518110610e0c57634e487b7160e01b600052603260045260246000fd5b602090810291909101015280610e2181612b93565b915050610dda565b50919050565b600a546001600160a01b03163314610e595760405162461bcd60e51b81526004016107cb90612a19565b60405133904780156108fc02916000818181858888f19350505050610e7d57600080fd5b565b6000818152600f6020526040812060010154600a1115610eb15760405162461bcd60e51b81526004016107cb906129d2565b6000828152600f602052604090206002810154610ef990610ef1906201518090610eeb90610ee0904290611cb9565b600186015490611cc5565b90611cd1565b82549061194d565b9392505050565b6060600180546106d390612b5e565b600a546001600160a01b03163314610f395760405162461bcd60e51b81526004016107cb90612a19565b611e61610f4560085490565b10610f8b5760405162461bcd60e51b815260206004820152601660248201527514d85b19481a185cc8185b1c9958591e48195b99195960521b60448201526064016107cb565b610f96600d54611cdd565b610fb3610fab600a546001600160a01b031690565b600d54611d1c565b610e7d611d36565b6001600160a01b0382163314156110145760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107cb565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000815183511461111f5760405162461bcd60e51b815260206004820152605860248201527f596f75206d7573742070726f76696465206120312d746f2d312072656c61746960448201527f6f6e73686970206f662062616c616e636520616d6f756e747320746f2073706560648201527f6e642066726f6d20796f757220486173685363617065732e0000000000000000608482015260a4016107cb565b61112883611d76565b156111915760405162461bcd60e51b815260206004820152603360248201527f596f75206d6179206e6f74206275792066726f6d207468652073616d6520636f60448201527234b7103832b9103a3930b739b0b1ba34b7b71760691b60648201526084016107cb565b600a835111156111fc5760405162461bcd60e51b815260206004820152603060248201527f596f752063616e206f6e6c79207370656e642066726f6d20313020486173685360448201526f31b0b832b99030ba1030903a34b6b29760811b60648201526084016107cb565b6000805b845181101561134c57600085828151811061122b57634e487b7160e01b600052603260045260246000fd5b60200260200101519050600085838151811061125757634e487b7160e01b600052603260045260246000fd5b6020026020010151905061126a82610b45565b6001600160a01b0316336001600160a01b0316146112df5760405162461bcd60e51b815260206004820152602c60248201527f596f7520646f206e6f74206f776e20746865204861736853636170657320796f60448201526b3a9039b832b1b4b334b2b21760a11b60648201526084016107cb565b806112e983610e7f565b10156113375760405162461bcd60e51b815260206004820181905260248201527f496e73756666696369656e7420486173685363617065732062616c616e63652e60448201526064016107cb565b5050808061134490612b93565b915050611200565b5060005b8451811015610d7a57600085828151811061137b57634e487b7160e01b600052603260045260246000fd5b6020026020010151905060008583815181106113a757634e487b7160e01b600052603260045260246000fd5b602002602001015190506000600f600084815260200190815260200160002090506113db826113d585610e7f565b90611cb9565b81554260028201556113ed858361194d565b945050505080806113fd90612b93565b915050611350565b61140f3383611a17565b61142b5760405162461bcd60e51b81526004016107cb90612a4e565b61143784848484611e2a565b50505050565b600e5460ff166114855760405162461bcd60e51b815260206004820152601360248201527229b0b6329034b9903737ba1030b1ba34bb329760691b60448201526064016107cb565b611e6161149160085490565b106114d05760405162461bcd60e51b815260206004820152600f60248201526e29b0b632903430b99032b73232b21760891b60448201526064016107cb565b6000811180156114e1575060288111155b6115475760405162461bcd60e51b815260206004820152603160248201527f596f752063616e206275792061206d6178696d756d206f66203430204861736860448201527029b1b0b832b99030ba1030903a34b6b29760791b60648201526084016107cb565b611e6161155d8261155760085490565b9061194d565b11156115ab5760405162461bcd60e51b815260206004820152601e60248201527f416c6c20486173685363617065732068617665206265656e20736f6c6421000060448201526064016107cb565b6115bc8166470de4df820000611cc5565b34101561160b5760405162461bcd60e51b815260206004820152601760248201527f496e73756666696369656e74204554482066756e64732e00000000000000000060448201526064016107cb565b60005b818110156109435761162233600d54611d1c565b61162d600d54611cdd565b611635611d36565b8061163f81612b93565b91505061160e565b6000818152600260205260409020546060906001600160a01b03166116c65760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107cb565b60006116d0611e5d565b905060008151116116f05760405180602001604052806000815250610ef9565b806116fa84611e6c565b60405160200161170b9291906128bd565b6040516020818303038152906040529392505050565b600a546001600160a01b0316331461174b5760405162461bcd60e51b81526004016107cb90612a19565b60015b6019811161178c5761175f81611cdd565b61177a611774600a546001600160a01b031690565b82611d1c565b8061178481612b93565b91505061174e565b506104575b611e6181116117cb576117a381611cdd565b6117b8611774600a546001600160a01b031690565b6117c461045782612ad0565b9050611791565b50565b6000828152600f6020526040902060010154600a11156118005760405162461bcd60e51b81526004016107cb906129d2565b61181181660aa87bee538000611cc5565b34101561181d57600080fd5b6000828152600f6020526040902061183483610e7f565b8155426002820155600181015461184b908361194d565b6001909101555050565b600b8054610bc990612b5e565b600a546001600160a01b0316331461188c5760405162461bcd60e51b81526004016107cb90612a19565b6001600160a01b0381166118f15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107cb565b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610ef98284612ad0565b60006001600160e01b031982166380ac58cd60e01b148061198a57506001600160e01b03198216635b5e139f60e01b145b806106be57506301ffc9a760e01b6001600160e01b03198316146106be565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906119de82610b45565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611a905760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107cb565b6000611a9b83610b45565b9050806001600160a01b0316846001600160a01b03161480611ad65750836001600160a01b0316611acb84610756565b6001600160a01b0316145b80611b0657506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611b2182610b45565b6001600160a01b031614611b895760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016107cb565b6001600160a01b038216611beb5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107cb565b611bf6838383611f86565b611c016000826119a9565b6001600160a01b0383166000908152600360205260408120805460019290611c2a908490612b1b565b90915550506001600160a01b0382166000908152600360205260408120805460019290611c58908490612ad0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000610ef98284612b1b565b6000610ef98284612afc565b6000610ef98284612ae8565b604080516060810182526000808252600a602080840191825242848601908152958352600f905292902090518155905160018201559051600290910155565b61094382826040518060200160405280600081525061203e565b600d8054906000611d4683612b93565b9190505550610457600d54611d5b9190612bae565b610e7d57600d8054906000611d6f83612b93565b9190505550565b6000805b8251811015611e21576000611d90826001612ad0565b90505b8351811015611e0e57838181518110611dbc57634e487b7160e01b600052603260045260246000fd5b6020026020010151848381518110611de457634e487b7160e01b600052603260045260246000fd5b60200260200101511415611dfc575060019392505050565b80611e0681612b93565b915050611d93565b5080611e1981612b93565b915050611d7a565b50600092915050565b611e35848484611b0e565b611e4184848484612071565b6114375760405162461bcd60e51b81526004016107cb90612980565b6060611e67610cd1565b905090565b606081611e905750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611eba5780611ea481612b93565b9150611eb39050600a83612ae8565b9150611e94565b60008167ffffffffffffffff811115611ee357634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611f0d576020820181803683370190505b5090505b8415611b0657611f22600183612b1b565b9150611f2f600a86612bae565b611f3a906030612ad0565b60f81b818381518110611f5d57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611f7f600a86612ae8565b9450611f11565b6001600160a01b038316611fe157611fdc81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612004565b816001600160a01b0316836001600160a01b03161461200457612004838261217e565b6001600160a01b03821661201b576109018161221b565b826001600160a01b0316826001600160a01b0316146109015761090182826122f4565b6120488383612338565b6120556000848484612071565b6109015760405162461bcd60e51b81526004016107cb90612980565b60006001600160a01b0384163b1561217357604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906120b59033908990889088906004016128ec565b602060405180830381600087803b1580156120cf57600080fd5b505af19250505080156120ff575060408051601f3d908101601f191682019092526120fc918101906127f6565b60015b612159573d80801561212d576040519150601f19603f3d011682016040523d82523d6000602084013e612132565b606091505b5080516121515760405162461bcd60e51b81526004016107cb90612980565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611b06565b506001949350505050565b6000600161218b84610c4a565b6121959190612b1b565b6000838152600760205260409020549091508082146121e8576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061222d90600190612b1b565b6000838152600960205260408120546008805493945090928490811061226357634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061229257634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806122d857634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006122ff83610c4a565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b03821661238e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107cb565b6000818152600260205260409020546001600160a01b0316156123f35760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107cb565b6123ff60008383611f86565b6001600160a01b0382166000908152600360205260408120805460019290612428908490612ad0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461249290612b5e565b90600052602060002090601f0160209004810192826124b457600085556124fa565b82601f106124cd57805160ff19168380011785556124fa565b828001600101855582156124fa579182015b828111156124fa5782518255916020019190600101906124df565b5061250692915061250a565b5090565b5b80821115612506576000815560010161250b565b600067ffffffffffffffff83111561253957612539612bee565b61254c601f8401601f1916602001612a9f565b905082815283838301111561256057600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461258e57600080fd5b919050565b600082601f8301126125a3578081fd5b8135602067ffffffffffffffff8211156125bf576125bf612bee565b8160051b6125ce828201612a9f565b8381528281019086840183880185018910156125e8578687fd5b8693505b8584101561260a5780358352600193909301929184019184016125ec565b50979650505050505050565b600060208284031215612627578081fd5b610ef982612577565b60008060408385031215612642578081fd5b61264b83612577565b915061265960208401612577565b90509250929050565b600080600060608486031215612676578081fd5b61267f84612577565b925061268d60208501612577565b9150604084013590509250925092565b600080600080608085870312156126b2578081fd5b6126bb85612577565b93506126c960208601612577565b925060408501359150606085013567ffffffffffffffff8111156126eb578182fd5b8501601f810187136126fb578182fd5b61270a8782356020840161251f565b91505092959194509250565b60008060408385031215612728578182fd5b61273183612577565b915060208301358015158114612745578182fd5b809150509250929050565b60008060408385031215612762578182fd5b61276b83612577565b946020939093013593505050565b6000806040838503121561278b578182fd5b823567ffffffffffffffff808211156127a2578384fd5b6127ae86838701612593565b935060208501359150808211156127c3578283fd5b506127d085828601612593565b9150509250929050565b6000602082840312156127eb578081fd5b8135610ef981612c04565b600060208284031215612807578081fd5b8151610ef981612c04565b600060208284031215612823578081fd5b813567ffffffffffffffff811115612839578182fd5b8201601f81018413612849578182fd5b611b068482356020840161251f565b600060208284031215612869578081fd5b5035919050565b60008060408385031215612882578182fd5b50508035926020909101359150565b600081518084526128a9816020860160208601612b32565b601f01601f19169290920160200192915050565b600083516128cf818460208801612b32565b8351908301906128e3818360208801612b32565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061291f90830184612891565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561296157835183529284019291840191600101612945565b50909695505050505050565b602081526000610ef96020830184612891565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526027908201527f546861742048617368536361706520686173206e6f74206265656e206d696e7460408201526632b2103cb2ba1760c91b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715612ac857612ac8612bee565b604052919050565b60008219821115612ae357612ae3612bc2565b500190565b600082612af757612af7612bd8565b500490565b6000816000190483118215151615612b1657612b16612bc2565b500290565b600082821015612b2d57612b2d612bc2565b500390565b60005b83811015612b4d578181015183820152602001612b35565b838111156114375750506000910152565b600181811c90821680612b7257607f821691505b60208210811415610e2957634e487b7160e01b600052602260045260246000fd5b6000600019821415612ba757612ba7612bc2565b5060010190565b600082612bbd57612bbd612bd8565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146117cb57600080fdfea26469706673582212204632fd920156831b263ff46a76ad6889270f18ef49f201d1926cd09c0b4354b864736f6c63430008040033

Deployed Bytecode Sourcemap

49899:8427:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43708:237;;;;;;;;;;-1:-1:-1;43708:237:0;;;;;:::i;:::-;;:::i;:::-;;;7852:14:1;;7845:22;7827:41;;7815:2;7800:18;43708:237:0;;;;;;;;31890:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;33357:221::-;;;;;;;;;;-1:-1:-1;33357:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6510:32:1;;;6492:51;;6480:2;6465:18;33357:221:0;6447:102:1;32887:404:0;;;;;;;;;;-1:-1:-1;32887:404:0;;;;;:::i;:::-;;:::i;:::-;;56859:88;;;;;;;;;;-1:-1:-1;56931:8:0;;56859:88;;;20144:25:1;;;20132:2;20117:18;56859:88:0;20099:76:1;56955:116:0;;;;;;;;;;-1:-1:-1;56955:116:0;;;;;:::i;:::-;;:::i;44361:113::-;;;;;;;;;;-1:-1:-1;44449:10:0;:17;44361:113;;50413:34;;;;;;;;;;-1:-1:-1;50413:34:0;;;;;;;;34247:305;;;;;;;;;;-1:-1:-1;34247:305:0;;;;;:::i;:::-;;:::i;44029:256::-;;;;;;;;;;-1:-1:-1;44029:256:0;;;;;:::i;:::-;;:::i;57413:93::-;;;;;;;;;;;;;:::i;34623:151::-;;;;;;;;;;-1:-1:-1;34623:151:0;;;;;:::i;:::-;;:::i;44551:233::-;;;;;;;;;;-1:-1:-1;44551:233:0;;;;;:::i;:::-;;:::i;57079:102::-;;;;;;;;;;-1:-1:-1;57079:102:0;;;;;:::i;:::-;;:::i;31584:239::-;;;;;;;;;;-1:-1:-1;31584:239:0;;;;;:::i;:::-;;:::i;50327:26::-;;;;;;;;;;;;;:::i;50108:42::-;;;;;;;;;;;;50146:4;50108:42;;31314:208;;;;;;;;;;-1:-1:-1;31314:208:0;;;;;:::i;:::-;;:::i;57314:91::-;;;;;;;;;;;;;:::i;16347:148::-;;;;;;;;;;;;;:::i;50157:41::-;;;;;;;;;;;;50196:2;50157:41;;55473:502;;;;;;;;;;-1:-1:-1;55473:502:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;57514:123::-;;;:::i;50205:46::-;;;;;;;;;;;;50234:17;50205:46;;15696:87;;;;;;;;;;-1:-1:-1;15769:6:0;;-1:-1:-1;;;;;15769:6:0;15696:87;;50982:863;;;;;;;;;;-1:-1:-1;50982:863:0;;;;;:::i;:::-;;:::i;32059:104::-;;;;;;;;;;;;;:::i;58095:228::-;;;;;;;;;;;;;:::i;33650:295::-;;;;;;;;;;-1:-1:-1;33650:295:0;;;;;:::i;:::-;;:::i;53286:1635::-;;;;;;;;;;-1:-1:-1;53286:1635:0;;;;;:::i;:::-;;:::i;34845:285::-;;;;;;;;;;-1:-1:-1;34845:285:0;;;;;:::i;:::-;;:::i;55983:678::-;;;;;;:::i;:::-;;:::i;32234:360::-;;;;;;;;;;-1:-1:-1;32234:360:0;;;;;:::i;:::-;;:::i;57645:442::-;;;;;;;;;;;;;:::i;52054:806::-;;;;;;:::i;:::-;;:::i;34016:164::-;;;;;;;;;;-1:-1:-1;34016:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;34137:25:0;;;34113:4;34137:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;34016:164;50275:43;;;;;;;;;;;;;:::i;16650:244::-;;;;;;;;;;-1:-1:-1;16650:244:0;;;;;:::i;:::-;;:::i;43708:237::-;43810:4;-1:-1:-1;;;;;;43834:50:0;;-1:-1:-1;;;43834:50:0;;:103;;;43901:36;43925:11;43901:23;:36::i;:::-;43827:110;43708:237;-1:-1:-1;;43708:237:0:o;31890:100::-;31944:13;31977:5;31970:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31890:100;:::o;33357:221::-;33433:7;36686:16;;;:7;:16;;;;;;-1:-1:-1;;;;;36686:16:0;33453:73;;;;-1:-1:-1;;;33453:73:0;;14984:2:1;33453:73:0;;;14966:21:1;15023:2;15003:18;;;14996:30;15062:34;15042:18;;;15035:62;-1:-1:-1;;;15113:18:1;;;15106:42;15165:19;;33453:73:0;;;;;;;;;-1:-1:-1;33546:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;33546:24:0;;33357:221::o;32887:404::-;32968:13;32984:23;32999:7;32984:14;:23::i;:::-;32968:39;;33032:5;-1:-1:-1;;;;;33026:11:0;:2;-1:-1:-1;;;;;33026:11:0;;;33018:57;;;;-1:-1:-1;;;33018:57:0;;17284:2:1;33018:57:0;;;17266:21:1;17323:2;17303:18;;;17296:30;17362:34;17342:18;;;17335:62;-1:-1:-1;;;17413:18:1;;;17406:31;17454:19;;33018:57:0;17256:223:1;33018:57:0;7784:10;-1:-1:-1;;;;;33096:21:0;;;;:69;;-1:-1:-1;33121:44:0;33145:5;7784:10;34016:164;:::i;33121:44::-;33088:161;;;;-1:-1:-1;;;33088:161:0;;13377:2:1;33088:161:0;;;13359:21:1;13416:2;13396:18;;;13389:30;13455:34;13435:18;;;13428:62;13526:26;13506:18;;;13499:54;13570:19;;33088:161:0;13349:246:1;33088:161:0;33262:21;33271:2;33275:7;33262:8;:21::i;:::-;32887:404;;;:::o;56955:116::-;15769:6;;-1:-1:-1;;;;;15769:6:0;7784:10;15916:23;15908:68;;;;-1:-1:-1;;;15908:68:0;;;;;;;:::i;:::-;57031:32;;::::1;::::0;:24:::1;::::0;:32:::1;::::0;::::1;::::0;::::1;:::i;:::-;;56955:116:::0;:::o;34247:305::-;34408:41;7784:10;34441:7;34408:18;:41::i;:::-;34400:103;;;;-1:-1:-1;;;34400:103:0;;;;;;;:::i;:::-;34516:28;34526:4;34532:2;34536:7;34516:9;:28::i;44029:256::-;44126:7;44162:23;44179:5;44162:16;:23::i;:::-;44154:5;:31;44146:87;;;;-1:-1:-1;;;44146:87:0;;8305:2:1;44146:87:0;;;8287:21:1;8344:2;8324:18;;;8317:30;8383:34;8363:18;;;8356:62;-1:-1:-1;;;8434:18:1;;;8427:41;8485:19;;44146:87:0;8277:233:1;44146:87:0;-1:-1:-1;;;;;;44251:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;44029:256::o;57413:93::-;15769:6;;-1:-1:-1;;;;;15769:6:0;7784:10;15916:23;15908:68;;;;-1:-1:-1;;;15908:68:0;;;;;;;:::i;:::-;57484:14:::1;::::0;;-1:-1:-1;;57466:32:0;::::1;57484:14;::::0;;::::1;57483:15;57466:32;::::0;;57413:93::o;34623:151::-;34727:39;34744:4;34750:2;34754:7;34727:39;;;;;;;;;;;;:16;:39::i;44551:233::-;44626:7;44662:30;44449:10;:17;;44361:113;44662:30;44654:5;:38;44646:95;;;;-1:-1:-1;;;44646:95:0;;18455:2:1;44646:95:0;;;18437:21:1;18494:2;18474:18;;;18467:30;18533:34;18513:18;;;18506:62;-1:-1:-1;;;18584:18:1;;;18577:42;18636:19;;44646:95:0;18427:234:1;44646:95:0;44759:10;44770:5;44759:17;;;;;;-1:-1:-1;;;44759:17:0;;;;;;;;;;;;;;;;;44752:24;;44551:233;;;:::o;57079:102::-;15769:6;;-1:-1:-1;;;;;15769:6:0;7784:10;15916:23;15908:68;;;;-1:-1:-1;;;15908:68:0;;;;;;;:::i;:::-;57153:20;;::::1;::::0;:7:::1;::::0;:20:::1;::::0;::::1;::::0;::::1;:::i;31584:239::-:0;31656:7;31692:16;;;:7;:16;;;;;;-1:-1:-1;;;;;31692:16:0;31727:19;31719:73;;;;-1:-1:-1;;;31719:73:0;;14213:2:1;31719:73:0;;;14195:21:1;14252:2;14232:18;;;14225:30;14291:34;14271:18;;;14264:62;-1:-1:-1;;;14342:18:1;;;14335:39;14391:19;;31719:73:0;14185:231:1;50327:26:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;31314:208::-;31386:7;-1:-1:-1;;;;;31414:19:0;;31406:74;;;;-1:-1:-1;;;31406:74:0;;13802:2:1;31406:74:0;;;13784:21:1;13841:2;13821:18;;;13814:30;13880:34;13860:18;;;13853:62;-1:-1:-1;;;13931:18:1;;;13924:40;13981:19;;31406:74:0;13774:232:1;31406:74:0;-1:-1:-1;;;;;;31498:16:0;;;;;:9;:16;;;;;;;31314:208::o;57314:91::-;57357:13;57390:7;57383:14;;;;;:::i;16347:148::-;15769:6;;-1:-1:-1;;;;;15769:6:0;7784:10;15916:23;15908:68;;;;-1:-1:-1;;;15908:68:0;;;;;;;:::i;:::-;16438:6:::1;::::0;16417:40:::1;::::0;16454:1:::1;::::0;-1:-1:-1;;;;;16438:6:0::1;::::0;16417:40:::1;::::0;16454:1;;16417:40:::1;16468:6;:19:::0;;-1:-1:-1;;;;;;16468:19:0::1;::::0;;16347:148::o;55473:502::-;55535:16;55564:18;55585:17;55595:6;55585:9;:17::i;:::-;55564:38;-1:-1:-1;55617:15:0;55613:355;;55656:16;;;55670:1;55656:16;;;;;;;;;;;-1:-1:-1;55649:23:0;55473:502;-1:-1:-1;;;55473:502:0:o;55613:355::-;55705:23;55745:10;55731:25;;;;;;-1:-1:-1;;;55731:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55731:25:0;;55705:51;;55771:13;55799:130;55823:10;55815:5;:18;55799:130;;;55879:34;55899:6;55907:5;55879:19;:34::i;:::-;55863:6;55870:5;55863:13;;;;;;-1:-1:-1;;;55863:13:0;;;;;;;;;;;;;;;;;;:50;55835:7;;;;:::i;:::-;;;;55799:130;;55613:355;55473:502;;;;:::o;57514:123::-;15769:6;;-1:-1:-1;;;;;15769:6:0;7784:10;15916:23;15908:68;;;;-1:-1:-1;;;15908:68:0;;;;;;;:::i;:::-;57581:47:::1;::::0;57589:10:::1;::::0;57606:21:::1;57581:47:::0;::::1;;;::::0;::::1;::::0;;;57606:21;57589:10;57581:47;::::1;;;;;;57573:56;;;::::0;::::1;;57514:123::o:0;50982:863::-;51036:7;51297:18;;;:14;:18;;;;;:27;;;51328:2;-1:-1:-1;51297:33:0;51289:85;;;;-1:-1:-1;;;51289:85:0;;;;;;;:::i;:::-;51385:31;51419:18;;;:14;:18;;;;;51771:25;;;;51702:108;;51726:83;;51803:5;;51726:72;;51751:46;;:15;;:19;:46::i;:::-;51726:20;;;;;:24;:72::i;:::-;:76;;:83::i;:::-;51702:19;;;:23;:108::i;:::-;51695:115;50982:863;-1:-1:-1;;;50982:863:0:o;32059:104::-;32115:13;32148:7;32141:14;;;;;:::i;58095:228::-;15769:6;;-1:-1:-1;;;;;15769:6:0;7784:10;15916:23;15908:68;;;;-1:-1:-1;;;15908:68:0;;;;;;;:::i;:::-;50146:4:::1;58153:13;44449:10:::0;:17;;44361:113;58153:13:::1;:30;58145:65;;;::::0;-1:-1:-1;;;58145:65:0;;17686:2:1;58145:65:0::1;::::0;::::1;17668:21:1::0;17725:2;17705:18;;;17698:30;-1:-1:-1;;;17744:18:1;;;17737:52;17806:18;;58145:65:0::1;17658:172:1::0;58145:65:0::1;58221:31;58243:8;;58221:21;:31::i;:::-;58263:28;58273:7;15769:6:::0;;-1:-1:-1;;;;;15769:6:0;;15696:87;58273:7:::1;58282:8;;58263:9;:28::i;:::-;58302:13;:11;:13::i;33650:295::-:0;-1:-1:-1;;;;;33753:24:0;;7784:10;33753:24;;33745:62;;;;-1:-1:-1;;;33745:62:0;;11057:2:1;33745:62:0;;;11039:21:1;11096:2;11076:18;;;11069:30;11135:27;11115:18;;;11108:55;11180:18;;33745:62:0;11029:175:1;33745:62:0;7784:10;33820:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;33820:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;33820:53:0;;;;;;;;;;33889:48;;7827:41:1;;;33820:42:0;;7784:10;33889:48;;7800:18:1;33889:48:0;;;;;;;33650:295;;:::o;53286:1635::-;53388:7;53439:13;:20;53416:12;:19;:43;53408:144;;;;-1:-1:-1;;;53408:144:0;;19285:2:1;53408:144:0;;;19267:21:1;19324:2;19304:18;;;19297:30;19363:34;19343:18;;;19336:62;19434:34;19414:18;;;19407:62;19506:26;19485:19;;;19478:55;19550:19;;53408:144:0;19257:318:1;53408:144:0;53572:29;53588:12;53572:15;:29::i;:::-;53571:30;53563:94;;;;-1:-1:-1;;;53563:94:0;;12598:2:1;53563:94:0;;;12580:21:1;12637:2;12617:18;;;12610:30;12676:34;12656:18;;;12649:62;-1:-1:-1;;;12727:18:1;;;12720:49;12786:19;;53563:94:0;12570:241:1;53563:94:0;53699:2;53676:12;:19;:25;;53668:86;;;;-1:-1:-1;;;53668:86:0;;18868:2:1;53668:86:0;;;18850:21:1;18907:2;18887:18;;;18880:30;18946:34;18926:18;;;18919:62;-1:-1:-1;;;18997:18:1;;;18990:46;19053:19;;53668:86:0;18840:238:1;53668:86:0;53765:18;53924:6;53919:332;53940:12;:19;53936:1;:23;53919:332;;;53981:7;53991:12;54004:1;53991:15;;;;;;-1:-1:-1;;;53991:15:0;;;;;;;;;;;;;;;53981:25;;54021:14;54038:13;54052:1;54038:16;;;;;;-1:-1:-1;;;54038:16:0;;;;;;;;;;;;;;;54021:33;;54091:11;54099:2;54091:7;:11::i;:::-;-1:-1:-1;;;;;54077:25:0;:10;-1:-1:-1;;;;;54077:25:0;;54069:82;;;;-1:-1:-1;;;54069:82:0;;11411:2:1;54069:82:0;;;11393:21:1;11450:2;11430:18;;;11423:30;11489:34;11469:18;;;11462:62;-1:-1:-1;;;11540:18:1;;;11533:42;11592:19;;54069:82:0;11383:234:1;54069:82:0;54196:6;54174:18;54189:2;54174:14;:18::i;:::-;:28;;54166:73;;;;-1:-1:-1;;;54166:73:0;;12237:2:1;54166:73:0;;;12219:21:1;;;12256:18;;;12249:30;12315:34;12295:18;;;12288:62;12367:18;;54166:73:0;12209:182:1;54166:73:0;53919:332;;53961:3;;;;;:::i;:::-;;;;53919:332;;;;54394:6;54389:386;54410:12;:19;54406:1;:23;54389:386;;;54451:7;54461:12;54474:1;54461:15;;;;;;-1:-1:-1;;;54461:15:0;;;;;;;;;;;;;;;54451:25;;54491:11;54505:13;54519:1;54505:16;;;;;;-1:-1:-1;;;54505:16:0;;;;;;;;;;;;;;;54491:30;;54536:31;54570:14;:18;54585:2;54570:18;;;;;;;;;;;54536:52;;54625:30;54648:6;54625:18;54640:2;54625:14;:18::i;:::-;:22;;:30::i;:::-;54603:52;;54698:15;54670:25;;;:43;54741:22;:10;54756:6;54741:14;:22::i;:::-;54728:35;;54389:386;;;54431:3;;;;;:::i;:::-;;;;54389:386;;34845:285;34977:41;7784:10;35010:7;34977:18;:41::i;:::-;34969:103;;;;-1:-1:-1;;;34969:103:0;;;;;;;:::i;:::-;35083:39;35097:4;35103:2;35107:7;35116:5;35083:13;:39::i;:::-;34845:285;;;;:::o;55983:678::-;56062:14;;;;56054:46;;;;-1:-1:-1;;;56054:46:0;;16584:2:1;56054:46:0;;;16566:21:1;16623:2;16603:18;;;16596:30;-1:-1:-1;;;16642:18:1;;;16635:49;16701:18;;56054:46:0;16556:169:1;56054:46:0;50146:4;56119:13;44449:10;:17;;44361:113;56119:13;:30;56111:58;;;;-1:-1:-1;;;56111:58:0;;10308:2:1;56111:58:0;;;10290:21:1;10347:2;10327:18;;;10320:30;-1:-1:-1;;;10366:18:1;;;10359:45;10421:18;;56111:58:0;10280:165:1;56111:58:0;56204:1;56188:13;:17;:40;;;;;56226:2;56209:13;:19;;56188:40;56180:102;;;;-1:-1:-1;;;56180:102:0;;19782:2:1;56180:102:0;;;19764:21:1;19821:2;19801:18;;;19794:30;19860:34;19840:18;;;19833:62;-1:-1:-1;;;19911:18:1;;;19904:47;19968:19;;56180:102:0;19754:239:1;56180:102:0;50146:4;56301:32;56319:13;56301;44449:10;:17;;44361:113;56301:13;:17;;:32::i;:::-;:50;;56293:93;;;;-1:-1:-1;;;56293:93:0;;13018:2:1;56293:93:0;;;13000:21:1;13057:2;13037:18;;;13030:30;13096:32;13076:18;;;13069:60;13146:18;;56293:93:0;12990:180:1;56293:93:0;56418:24;:13;50234:17;56418;:24::i;:::-;56405:9;:37;;56397:73;;;;-1:-1:-1;;;56397:73:0;;16932:2:1;56397:73:0;;;16914:21:1;16971:2;16951:18;;;16944:30;17010:25;16990:18;;;16983:53;17053:18;;56397:73:0;16904:173:1;56397:73:0;56486:6;56481:173;56502:13;56498:1;:17;56481:173;;;56537:31;56547:10;56559:8;;56537:9;:31::i;:::-;56583;56605:8;;56583:21;:31::i;:::-;56629:13;:11;:13::i;:::-;56517:3;;;;:::i;:::-;;;;56481:173;;32234:360;36662:4;36686:16;;;:7;:16;;;;;;32307:13;;-1:-1:-1;;;;;36686:16:0;32333:76;;;;-1:-1:-1;;;32333:76:0;;16168:2:1;32333:76:0;;;16150:21:1;16207:2;16187:18;;;16180:30;16246:34;16226:18;;;16219:62;-1:-1:-1;;;16297:18:1;;;16290:45;16352:19;;32333:76:0;16140:237:1;32333:76:0;32422:21;32446:10;:8;:10::i;:::-;32422:34;;32498:1;32480:7;32474:21;:25;:112;;;;;;;;;;;;;;;;;32539:7;32548:18;:7;:16;:18::i;:::-;32522:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;32467:119;32234:360;-1:-1:-1;;;32234:360:0:o;57645:442::-;15769:6;;-1:-1:-1;;;;;15769:6:0;7784:10;15916:23;15908:68;;;;-1:-1:-1;;;15908:68:0;;;;;;;:::i;:::-;57814:1:::1;57800:131;50196:2;57817:1;:20;57800:131;;57859:24;57881:1;57859:21;:24::i;:::-;57898:21;57908:7;15769:6:::0;;-1:-1:-1;;;;;15769:6:0;;15696:87;57908:7:::1;57917:1;57898:9;:21::i;:::-;57839:3:::0;::::1;::::0;::::1;:::i;:::-;;;;57800:131;;;-1:-1:-1::0;57955:4:0::1;57941:139;50146:4;57961:1;:19;57941:139;;58008:24;58030:1;58008:21;:24::i;:::-;58047:21;58057:7;15769:6:::0;;-1:-1:-1;;;;;15769:6:0;;15696:87;58047:21:::1;57982:9;57987:4;57982:9:::0;::::1;:::i;:::-;;;57941:139;;;;57645:442::o:0;52054:806::-;52142:18;;;;:14;:18;;;;;:27;;;52173:2;-1:-1:-1;52142:33:0;52134:85;;;;-1:-1:-1;;;52134:85:0;;;;;;;:::i;:::-;52251:28;:6;52262:16;52251:10;:28::i;:::-;52238:9;:41;;52230:50;;;;;;52304:31;52338:18;;;:14;:18;;;;;52714;52353:2;52714:14;:18::i;:::-;52692:40;;52771:15;52743:25;;;:43;52820:20;;;;:32;;52845:6;52820:24;:32::i;:::-;52797:20;;;;:55;-1:-1:-1;;52054:806:0:o;50275:43::-;;;;;;;:::i;16650:244::-;15769:6;;-1:-1:-1;;;;;15769:6:0;7784:10;15916:23;15908:68;;;;-1:-1:-1;;;15908:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;16739:22:0;::::1;16731:73;;;::::0;-1:-1:-1;;;16731:73:0;;9136:2:1;16731:73:0::1;::::0;::::1;9118:21:1::0;9175:2;9155:18;;;9148:30;9214:34;9194:18;;;9187:62;-1:-1:-1;;;9265:18:1;;;9258:36;9311:19;;16731:73:0::1;9108:228:1::0;16731:73:0::1;16841:6;::::0;16820:38:::1;::::0;-1:-1:-1;;;;;16820:38:0;;::::1;::::0;16841:6:::1;::::0;16820:38:::1;::::0;16841:6:::1;::::0;16820:38:::1;16869:6;:17:::0;;-1:-1:-1;;;;;;16869:17:0::1;-1:-1:-1::0;;;;;16869:17:0;;;::::1;::::0;;;::::1;::::0;;16650:244::o;2788:98::-;2846:7;2873:5;2877:1;2873;:5;:::i;30958:292::-;31060:4;-1:-1:-1;;;;;;31084:40:0;;-1:-1:-1;;;31084:40:0;;:105;;-1:-1:-1;;;;;;;31141:48:0;;-1:-1:-1;;;31141:48:0;31084:105;:158;;;-1:-1:-1;;;;;;;;;;17810:40:0;;;31206:36;17701:157;40481:174;40556:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;40556:29:0;-1:-1:-1;;;;;40556:29:0;;;;;;;;:24;;40610:23;40556:24;40610:14;:23::i;:::-;-1:-1:-1;;;;;40601:46:0;;;;;;;;;;;40481:174;;:::o;36891:355::-;36984:4;36686:16;;;:7;:16;;;;;;-1:-1:-1;;;;;36686:16:0;37001:73;;;;-1:-1:-1;;;37001:73:0;;11824:2:1;37001:73:0;;;11806:21:1;11863:2;11843:18;;;11836:30;11902:34;11882:18;;;11875:62;-1:-1:-1;;;11953:18:1;;;11946:42;12005:19;;37001:73:0;11796:234:1;37001:73:0;37085:13;37101:23;37116:7;37101:14;:23::i;:::-;37085:39;;37154:5;-1:-1:-1;;;;;37143:16:0;:7;-1:-1:-1;;;;;37143:16:0;;:51;;;;37187:7;-1:-1:-1;;;;;37163:31:0;:20;37175:7;37163:11;:20::i;:::-;-1:-1:-1;;;;;37163:31:0;;37143:51;:94;;;-1:-1:-1;;;;;;34137:25:0;;;34113:4;34137:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;37198:39;37135:103;36891:355;-1:-1:-1;;;;36891:355:0:o;39819:544::-;39944:4;-1:-1:-1;;;;;39917:31:0;:23;39932:7;39917:14;:23::i;:::-;-1:-1:-1;;;;;39917:31:0;;39909:85;;;;-1:-1:-1;;;39909:85:0;;15758:2:1;39909:85:0;;;15740:21:1;15797:2;15777:18;;;15770:30;15836:34;15816:18;;;15809:62;-1:-1:-1;;;15887:18:1;;;15880:39;15936:19;;39909:85:0;15730:231:1;39909:85:0;-1:-1:-1;;;;;40013:16:0;;40005:65;;;;-1:-1:-1;;;40005:65:0;;10652:2:1;40005:65:0;;;10634:21:1;10691:2;10671:18;;;10664:30;10730:34;10710:18;;;10703:62;-1:-1:-1;;;10781:18:1;;;10774:34;10825:19;;40005:65:0;10624:226:1;40005:65:0;40083:39;40104:4;40110:2;40114:7;40083:20;:39::i;:::-;40187:29;40204:1;40208:7;40187:8;:29::i;:::-;-1:-1:-1;;;;;40229:15:0;;;;;;:9;:15;;;;;:20;;40248:1;;40229:15;:20;;40248:1;;40229:20;:::i;:::-;;;;-1:-1:-1;;;;;;;40260:13:0;;;;;;:9;:13;;;;;:18;;40277:1;;40260:13;:18;;40277:1;;40260:18;:::i;:::-;;;;-1:-1:-1;;40289:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;40289:21:0;-1:-1:-1;;;;;40289:21:0;;;;;;;;;40328:27;;40289:16;;40328:27;;;;;;;39819:544;;;:::o;3169:98::-;3227:7;3254:5;3258:1;3254;:5;:::i;3526:98::-;3584:7;3611:5;3615:1;3611;:5;:::i;3925:98::-;3983:7;4010:5;4014:1;4010;:5;:::i;50847:123::-;50927:35;;;;;;;;-1:-1:-1;50927:35:0;;;50942:2;50927:35;;;;;;;50946:15;50927:35;;;;;;50906:18;;;:14;:18;;;;;:56;;;;;;;;;;;;;;;;;50847:123::o;37588:110::-;37664:26;37674:2;37678:7;37664:26;;;;;;;;;;;;:9;:26::i;56718:133::-;56760:8;:10;;;:8;:10;;;:::i;:::-;;;;;;56796:4;56785:8;;:15;;;;:::i;:::-;56781:63;;56822:8;:10;;;:8;:10;;;:::i;:::-;;;;;;56718:133::o;55110:329::-;55176:4;;55193:216;55214:3;:10;55210:1;:14;55193:216;;;55251:6;55260:5;:1;55264;55260:5;:::i;:::-;55251:14;;55246:152;55271:3;:10;55267:1;:14;55246:152;;;55321:3;55325:1;55321:6;;;;;;-1:-1:-1;;;55321:6:0;;;;;;;;;;;;;;;55311:3;55315:1;55311:6;;;;;;-1:-1:-1;;;55311:6:0;;;;;;;;;;;;;;;:16;55307:76;;;-1:-1:-1;55359:4:0;;55110:329;-1:-1:-1;;;55110:329:0:o;55307:76::-;55283:3;;;;:::i;:::-;;;;55246:152;;;-1:-1:-1;55226:3:0;;;;:::i;:::-;;;;55193:216;;;-1:-1:-1;55426:5:0;;55110:329;-1:-1:-1;;55110:329:0:o;36012:272::-;36126:28;36136:4;36142:2;36146:7;36126:9;:28::i;:::-;36173:48;36196:4;36202:2;36206:7;36215:5;36173:22;:48::i;:::-;36165:111;;;;-1:-1:-1;;;36165:111:0;;;;;;;:::i;57189:113::-;57249:13;57282:12;:10;:12::i;:::-;57275:19;;57189:113;:::o;18174:723::-;18230:13;18451:10;18447:53;;-1:-1:-1;;18478:10:0;;;;;;;;;;;;-1:-1:-1;;;18478:10:0;;;;;18174:723::o;18447:53::-;18525:5;18510:12;18566:78;18573:9;;18566:78;;18599:8;;;;:::i;:::-;;-1:-1:-1;18622:10:0;;-1:-1:-1;18630:2:0;18622:10;;:::i;:::-;;;18566:78;;;18654:19;18686:6;18676:17;;;;;;-1:-1:-1;;;18676:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18676:17:0;;18654:39;;18704:154;18711:10;;18704:154;;18738:11;18748:1;18738:11;;:::i;:::-;;-1:-1:-1;18807:10:0;18815:2;18807:5;:10;:::i;:::-;18794:24;;:2;:24;:::i;:::-;18781:39;;18764:6;18771;18764:14;;;;;;-1:-1:-1;;;18764:14:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;18764:56:0;;;;;;;;-1:-1:-1;18835:11:0;18844:2;18835:11;;:::i;:::-;;;18704:154;;45397:555;-1:-1:-1;;;;;45569:18:0;;45565:187;;45604:40;45636:7;46779:10;:17;;46752:24;;;;:15;:24;;;;;:44;;;46807:24;;;;;;;;;;;;46675:164;45604:40;45565:187;;;45674:2;-1:-1:-1;;;;;45666:10:0;:4;-1:-1:-1;;;;;45666:10:0;;45662:90;;45693:47;45726:4;45732:7;45693:32;:47::i;:::-;-1:-1:-1;;;;;45766:16:0;;45762:183;;45799:45;45836:7;45799:36;:45::i;45762:183::-;45872:4;-1:-1:-1;;;;;45866:10:0;:2;-1:-1:-1;;;;;45866:10:0;;45862:83;;45893:40;45921:2;45925:7;45893:27;:40::i;37925:250::-;38021:18;38027:2;38031:7;38021:5;:18::i;:::-;38058:54;38089:1;38093:2;38097:7;38106:5;38058:22;:54::i;:::-;38050:117;;;;-1:-1:-1;;;38050:117:0;;;;;;;:::i;41220:843::-;41341:4;-1:-1:-1;;;;;41367:13:0;;21066:20;21105:8;41363:693;;41403:72;;-1:-1:-1;;;41403:72:0;;-1:-1:-1;;;;;41403:36:0;;;;;:72;;7784:10;;41454:4;;41460:7;;41469:5;;41403:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41403:72:0;;;;;;;;-1:-1:-1;;41403:72:0;;;;;;;;;;;;:::i;:::-;;;41399:602;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41649:13:0;;41645:341;;41692:60;;-1:-1:-1;;;41692:60:0;;;;;;;:::i;41645:341::-;41936:6;41930:13;41921:6;41917:2;41913:15;41906:38;41399:602;-1:-1:-1;;;;;;41526:55:0;-1:-1:-1;;;41526:55:0;;-1:-1:-1;41519:62:0;;41363:693;-1:-1:-1;42040:4:0;41220:843;;;;;;:::o;47466:988::-;47732:22;47782:1;47757:22;47774:4;47757:16;:22::i;:::-;:26;;;;:::i;:::-;47794:18;47815:26;;;:17;:26;;;;;;47732:51;;-1:-1:-1;47948:28:0;;;47944:328;;-1:-1:-1;;;;;48015:18:0;;47993:19;48015:18;;;:12;:18;;;;;;;;:34;;;;;;;;;48066:30;;;;;;:44;;;48183:30;;:17;:30;;;;;:43;;;47944:328;-1:-1:-1;48368:26:0;;;;:17;:26;;;;;;;;48361:33;;;-1:-1:-1;;;;;48412:18:0;;;;;:12;:18;;;;;:34;;;;;;;48405:41;47466:988::o;48749:1079::-;49027:10;:17;49002:22;;49027:21;;49047:1;;49027:21;:::i;:::-;49059:18;49080:24;;;:15;:24;;;;;;49453:10;:26;;49002:46;;-1:-1:-1;49080:24:0;;49002:46;;49453:26;;;;-1:-1:-1;;;49453:26:0;;;;;;;;;;;;;;;;;49431:48;;49517:11;49492:10;49503;49492:22;;;;;;-1:-1:-1;;;49492:22:0;;;;;;;;;;;;;;;;;;;;:36;;;;49597:28;;;:15;:28;;;;;;;:41;;;49769:24;;;;;49762:31;49804:10;:16;;;;;-1:-1:-1;;;49804:16:0;;;;;;;;;;;;;;;;;;;;;;;;;;48749:1079;;;;:::o;46253:221::-;46338:14;46355:20;46372:2;46355:16;:20::i;:::-;-1:-1:-1;;;;;46386:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;46431:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;46253:221:0:o;38511:382::-;-1:-1:-1;;;;;38591:16:0;;38583:61;;;;-1:-1:-1;;;38583:61:0;;14623:2:1;38583:61:0;;;14605:21:1;;;14642:18;;;14635:30;14701:34;14681:18;;;14674:62;14753:18;;38583:61:0;14595:182:1;38583:61:0;36662:4;36686:16;;;:7;:16;;;;;;-1:-1:-1;;;;;36686:16:0;:30;38655:58;;;;-1:-1:-1;;;38655:58:0;;9543:2:1;38655:58:0;;;9525:21:1;9582:2;9562:18;;;9555:30;9621;9601:18;;;9594:58;9669:18;;38655:58:0;9515:178:1;38655:58:0;38726:45;38755:1;38759:2;38763:7;38726:20;:45::i;:::-;-1:-1:-1;;;;;38784:13:0;;;;;;:9;:13;;;;;:18;;38801:1;;38784:13;:18;;38801:1;;38784:18;:::i;:::-;;;;-1:-1:-1;;38813:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;38813:21:0;-1:-1:-1;;;;;38813:21:0;;;;;;;;38852:33;;38813:16;;;38852:33;;38813:16;;38852:33;38511:382;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:406:1;78:5;112:18;104:6;101:30;98:2;;;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:2;;;309:1;306;299:12;268:2;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;88:332;;;;;:::o;425:173::-;493:20;;-1:-1:-1;;;;;542:31:1;;532:42;;522:2;;588:1;585;578:12;522:2;474:124;;;:::o;603:743::-;657:5;710:3;703:4;695:6;691:17;687:27;677:2;;732:5;725;718:20;677:2;772:6;759:20;798:4;821:18;817:2;814:26;811:2;;;843:18;;:::i;:::-;889:2;886:1;882:10;912:28;936:2;932;928:11;912:28;:::i;:::-;974:15;;;1005:12;;;;1037:15;;;1071;;;1067:24;;1064:33;-1:-1:-1;1061:2:1;;;1114:5;1107;1100:20;1061:2;1140:5;1131:14;;1154:163;1168:2;1165:1;1162:9;1154:163;;;1225:17;;1213:30;;1186:1;1179:9;;;;;1263:12;;;;1295;;1154:163;;;-1:-1:-1;1335:5:1;667:679;-1:-1:-1;;;;;;;667:679:1:o;1351:196::-;1410:6;1463:2;1451:9;1442:7;1438:23;1434:32;1431:2;;;1484:6;1476;1469:22;1431:2;1512:29;1531:9;1512:29;:::i;1552:270::-;1620:6;1628;1681:2;1669:9;1660:7;1656:23;1652:32;1649:2;;;1702:6;1694;1687:22;1649:2;1730:29;1749:9;1730:29;:::i;:::-;1720:39;;1778:38;1812:2;1801:9;1797:18;1778:38;:::i;:::-;1768:48;;1639:183;;;;;:::o;1827:338::-;1904:6;1912;1920;1973:2;1961:9;1952:7;1948:23;1944:32;1941:2;;;1994:6;1986;1979:22;1941:2;2022:29;2041:9;2022:29;:::i;:::-;2012:39;;2070:38;2104:2;2093:9;2089:18;2070:38;:::i;:::-;2060:48;;2155:2;2144:9;2140:18;2127:32;2117:42;;1931:234;;;;;:::o;2170:696::-;2265:6;2273;2281;2289;2342:3;2330:9;2321:7;2317:23;2313:33;2310:2;;;2364:6;2356;2349:22;2310:2;2392:29;2411:9;2392:29;:::i;:::-;2382:39;;2440:38;2474:2;2463:9;2459:18;2440:38;:::i;:::-;2430:48;;2525:2;2514:9;2510:18;2497:32;2487:42;;2580:2;2569:9;2565:18;2552:32;2607:18;2599:6;2596:30;2593:2;;;2644:6;2636;2629:22;2593:2;2672:22;;2725:4;2717:13;;2713:27;-1:-1:-1;2703:2:1;;2759:6;2751;2744:22;2703:2;2787:73;2852:7;2847:2;2834:16;2829:2;2825;2821:11;2787:73;:::i;:::-;2777:83;;;2300:566;;;;;;;:::o;2871:367::-;2936:6;2944;2997:2;2985:9;2976:7;2972:23;2968:32;2965:2;;;3018:6;3010;3003:22;2965:2;3046:29;3065:9;3046:29;:::i;:::-;3036:39;;3125:2;3114:9;3110:18;3097:32;3172:5;3165:13;3158:21;3151:5;3148:32;3138:2;;3199:6;3191;3184:22;3138:2;3227:5;3217:15;;;2955:283;;;;;:::o;3243:264::-;3311:6;3319;3372:2;3360:9;3351:7;3347:23;3343:32;3340:2;;;3393:6;3385;3378:22;3340:2;3421:29;3440:9;3421:29;:::i;:::-;3411:39;3497:2;3482:18;;;;3469:32;;-1:-1:-1;;;3330:177:1:o;3512:625::-;3630:6;3638;3691:2;3679:9;3670:7;3666:23;3662:32;3659:2;;;3712:6;3704;3697:22;3659:2;3757:9;3744:23;3786:18;3827:2;3819:6;3816:14;3813:2;;;3848:6;3840;3833:22;3813:2;3876:61;3929:7;3920:6;3909:9;3905:22;3876:61;:::i;:::-;3866:71;;3990:2;3979:9;3975:18;3962:32;3946:48;;4019:2;4009:8;4006:16;4003:2;;;4040:6;4032;4025:22;4003:2;;4068:63;4123:7;4112:8;4101:9;4097:24;4068:63;:::i;:::-;4058:73;;;3649:488;;;;;:::o;4142:255::-;4200:6;4253:2;4241:9;4232:7;4228:23;4224:32;4221:2;;;4274:6;4266;4259:22;4221:2;4318:9;4305:23;4337:30;4361:5;4337:30;:::i;4402:259::-;4471:6;4524:2;4512:9;4503:7;4499:23;4495:32;4492:2;;;4545:6;4537;4530:22;4492:2;4582:9;4576:16;4601:30;4625:5;4601:30;:::i;4666:480::-;4735:6;4788:2;4776:9;4767:7;4763:23;4759:32;4756:2;;;4809:6;4801;4794:22;4756:2;4854:9;4841:23;4887:18;4879:6;4876:30;4873:2;;;4924:6;4916;4909:22;4873:2;4952:22;;5005:4;4997:13;;4993:27;-1:-1:-1;4983:2:1;;5039:6;5031;5024:22;4983:2;5067:73;5132:7;5127:2;5114:16;5109:2;5105;5101:11;5067:73;:::i;5151:190::-;5210:6;5263:2;5251:9;5242:7;5238:23;5234:32;5231:2;;;5284:6;5276;5269:22;5231:2;-1:-1:-1;5312:23:1;;5221:120;-1:-1:-1;5221:120:1:o;5346:258::-;5414:6;5422;5475:2;5463:9;5454:7;5450:23;5446:32;5443:2;;;5496:6;5488;5481:22;5443:2;-1:-1:-1;;5524:23:1;;;5594:2;5579:18;;;5566:32;;-1:-1:-1;5433:171:1:o;5609:257::-;5650:3;5688:5;5682:12;5715:6;5710:3;5703:19;5731:63;5787:6;5780:4;5775:3;5771:14;5764:4;5757:5;5753:16;5731:63;:::i;:::-;5848:2;5827:15;-1:-1:-1;;5823:29:1;5814:39;;;;5855:4;5810:50;;5658:208;-1:-1:-1;;5658:208:1:o;5871:470::-;6050:3;6088:6;6082:13;6104:53;6150:6;6145:3;6138:4;6130:6;6126:17;6104:53;:::i;:::-;6220:13;;6179:16;;;;6242:57;6220:13;6179:16;6276:4;6264:17;;6242:57;:::i;:::-;6315:20;;6058:283;-1:-1:-1;;;;6058:283:1:o;6554:488::-;-1:-1:-1;;;;;6823:15:1;;;6805:34;;6875:15;;6870:2;6855:18;;6848:43;6922:2;6907:18;;6900:34;;;6970:3;6965:2;6950:18;;6943:31;;;6748:4;;6991:45;;7016:19;;7008:6;6991:45;:::i;:::-;6983:53;6757:285;-1:-1:-1;;;;;;6757:285:1:o;7047:635::-;7218:2;7270:21;;;7340:13;;7243:18;;;7362:22;;;7189:4;;7218:2;7441:15;;;;7415:2;7400:18;;;7189:4;7487:169;7501:6;7498:1;7495:13;7487:169;;;7562:13;;7550:26;;7631:15;;;;7596:12;;;;7523:1;7516:9;7487:169;;;-1:-1:-1;7673:3:1;;7198:484;-1:-1:-1;;;;;;7198:484:1:o;7879:219::-;8028:2;8017:9;8010:21;7991:4;8048:44;8088:2;8077:9;8073:18;8065:6;8048:44;:::i;8515:414::-;8717:2;8699:21;;;8756:2;8736:18;;;8729:30;8795:34;8790:2;8775:18;;8768:62;-1:-1:-1;;;8861:2:1;8846:18;;8839:48;8919:3;8904:19;;8689:240::o;9698:403::-;9900:2;9882:21;;;9939:2;9919:18;;;9912:30;9978:34;9973:2;9958:18;;9951:62;-1:-1:-1;;;10044:2:1;10029:18;;10022:37;10091:3;10076:19;;9872:229::o;15195:356::-;15397:2;15379:21;;;15416:18;;;15409:30;15475:34;15470:2;15455:18;;15448:62;15542:2;15527:18;;15369:182::o;17835:413::-;18037:2;18019:21;;;18076:2;18056:18;;;18049:30;18115:34;18110:2;18095:18;;18088:62;-1:-1:-1;;;18181:2:1;18166:18;;18159:47;18238:3;18223:19;;18009:239::o;20180:275::-;20251:2;20245:9;20316:2;20297:13;;-1:-1:-1;;20293:27:1;20281:40;;20351:18;20336:34;;20372:22;;;20333:62;20330:2;;;20398:18;;:::i;:::-;20434:2;20427:22;20225:230;;-1:-1:-1;20225:230:1:o;20460:128::-;20500:3;20531:1;20527:6;20524:1;20521:13;20518:2;;;20537:18;;:::i;:::-;-1:-1:-1;20573:9:1;;20508:80::o;20593:120::-;20633:1;20659;20649:2;;20664:18;;:::i;:::-;-1:-1:-1;20698:9:1;;20639:74::o;20718:168::-;20758:7;20824:1;20820;20816:6;20812:14;20809:1;20806:21;20801:1;20794:9;20787:17;20783:45;20780:2;;;20831:18;;:::i;:::-;-1:-1:-1;20871:9:1;;20770:116::o;20891:125::-;20931:4;20959:1;20956;20953:8;20950:2;;;20964:18;;:::i;:::-;-1:-1:-1;21001:9:1;;20940:76::o;21021:258::-;21093:1;21103:113;21117:6;21114:1;21111:13;21103:113;;;21193:11;;;21187:18;21174:11;;;21167:39;21139:2;21132:10;21103:113;;;21234:6;21231:1;21228:13;21225:2;;;-1:-1:-1;;21269:1:1;21251:16;;21244:27;21074:205::o;21284:380::-;21363:1;21359:12;;;;21406;;;21427:2;;21481:4;21473:6;21469:17;21459:27;;21427:2;21534;21526:6;21523:14;21503:18;21500:38;21497:2;;;21580:10;21575:3;21571:20;21568:1;21561:31;21615:4;21612:1;21605:15;21643:4;21640:1;21633:15;21669:135;21708:3;-1:-1:-1;;21729:17:1;;21726:2;;;21749:18;;:::i;:::-;-1:-1:-1;21796:1:1;21785:13;;21716:88::o;21809:112::-;21841:1;21867;21857:2;;21872:18;;:::i;:::-;-1:-1:-1;21906:9:1;;21847:74::o;21926:127::-;21987:10;21982:3;21978:20;21975:1;21968:31;22018:4;22015:1;22008:15;22042:4;22039:1;22032:15;22058:127;22119:10;22114:3;22110:20;22107:1;22100:31;22150:4;22147:1;22140:15;22174:4;22171:1;22164:15;22190:127;22251:10;22246:3;22242:20;22239:1;22232:31;22282:4;22279:1;22272:15;22306:4;22303:1;22296:15;22322:131;-1:-1:-1;;;;;;22396:32:1;;22386:43;;22376:2;;22443:1;22440;22433:12

Swarm Source

ipfs://4632fd920156831b263ff46a76ad6889270f18ef49f201d1926cd09c0b4354b8
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.