ETH Price: $2,878.44 (-5.66%)
Gas: 2 Gwei

Token

Crypto Squatches (CSQUATCH)
 

Overview

Max Total Supply

2,139 CSQUATCH

Holders

556

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
4 CSQUATCH
0x1bd2a9971A6BAc44454DB25e1e201dF1ecc2a96C
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:
CryptoSquatches

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-08-23
*/

/**
 *Submitted for verification at Etherscan.io on 2021-08-23
 *By @Thrasher66099
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;


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

/*
 * @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/introspection/IERC165.sol

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

/**
 * @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/IERC721Metadata.sol

/**
 * @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/IERC721Enumerable.sol

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

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

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


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

/**
 * @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/introspection/ERC165.sol

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts may inherit from this and call {_registerInterface} to declare
 * their support of an interface.
 */
abstract contract ERC165 is IERC165 {
    /*
     * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7
     */
    bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;

    /**
     * @dev Mapping of interface ids to whether or not it's supported.
     */
    mapping(bytes4 => bool) private _supportedInterfaces;

    constructor () {
        // Derived contracts need only register support for their own interfaces,
        // we register support for ERC165 itself here
        _registerInterface(_INTERFACE_ID_ERC165);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     *
     * Time complexity O(1), guaranteed to always use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return _supportedInterfaces[interfaceId];
    }

    /**
     * @dev Registers the contract as an implementer of the interface defined by
     * `interfaceId`. Support of the actual ERC165 interface is automatic and
     * registering its interface id is not required.
     *
     * See {IERC165-supportsInterface}.
     *
     * Requirements:
     *
     * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).
     */
    function _registerInterface(bytes4 interfaceId) internal virtual {
        require(interfaceId != 0xffffffff, "ERC165: invalid interface id");
        _supportedInterfaces[interfaceId] = true;
    }
}


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

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
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) {
        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) {
        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) {
        // 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) {
        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) {
        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) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

    /**
     * @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) {
        require(b <= a, "SafeMath: subtraction overflow");
        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) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

    /**
     * @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. 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) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        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) {
        require(b > 0, "SafeMath: modulo by zero");
        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) {
        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.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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) {
        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) {
        require(b > 0, errorMessage);
        return a % b;
    }
}


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

/**
 * @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/utils/EnumerableSet.sol

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}


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

/**
 * @dev Library for managing an enumerable variant of Solidity's
 * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]
 * type.
 *
 * Maps have the following properties:
 *
 * - Entries are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Entries are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableMap for EnumerableMap.UintToAddressMap;
 *
 *     // Declare a set state variable
 *     EnumerableMap.UintToAddressMap private myMap;
 * }
 * ```
 *
 * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are
 * supported.
 */
library EnumerableMap {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Map type with
    // bytes32 keys and values.
    // The Map implementation uses private functions, and user-facing
    // implementations (such as Uint256ToAddressMap) are just wrappers around
    // the underlying Map.
    // This means that we can only create new EnumerableMaps for types that fit
    // in bytes32.

    struct MapEntry {
        bytes32 _key;
        bytes32 _value;
    }

    struct Map {
        // Storage of map keys and values
        MapEntry[] _entries;

        // Position of the entry defined by a key in the `entries` array, plus 1
        // because index 0 means a key is not in the map.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Adds a key-value pair to a map, or updates the value for an existing
     * key. O(1).
     *
     * Returns true if the key was added to the map, that is if it was not
     * already present.
     */
    function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {
        // We read and store the key's index to prevent multiple reads from the same storage slot
        uint256 keyIndex = map._indexes[key];

        if (keyIndex == 0) { // Equivalent to !contains(map, key)
            map._entries.push(MapEntry({ _key: key, _value: value }));
            // The entry is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            map._indexes[key] = map._entries.length;
            return true;
        } else {
            map._entries[keyIndex - 1]._value = value;
            return false;
        }
    }

    /**
     * @dev Removes a key-value pair from a map. O(1).
     *
     * Returns true if the key was removed from the map, that is if it was present.
     */
    function _remove(Map storage map, bytes32 key) private returns (bool) {
        // We read and store the key's index to prevent multiple reads from the same storage slot
        uint256 keyIndex = map._indexes[key];

        if (keyIndex != 0) { // Equivalent to contains(map, key)
            // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one
            // in the array, and then remove the last entry (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = keyIndex - 1;
            uint256 lastIndex = map._entries.length - 1;

            // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            MapEntry storage lastEntry = map._entries[lastIndex];

            // Move the last entry to the index where the entry to delete is
            map._entries[toDeleteIndex] = lastEntry;
            // Update the index for the moved entry
            map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved entry was stored
            map._entries.pop();

            // Delete the index for the deleted slot
            delete map._indexes[key];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the key is in the map. O(1).
     */
    function _contains(Map storage map, bytes32 key) private view returns (bool) {
        return map._indexes[key] != 0;
    }

    /**
     * @dev Returns the number of key-value pairs in the map. O(1).
     */
    function _length(Map storage map) private view returns (uint256) {
        return map._entries.length;
    }

   /**
    * @dev Returns the key-value pair stored at position `index` in the map. O(1).
    *
    * Note that there are no guarantees on the ordering of entries inside the
    * array, and it may change when more entries are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {
        require(map._entries.length > index, "EnumerableMap: index out of bounds");

        MapEntry storage entry = map._entries[index];
        return (entry._key, entry._value);
    }

    /**
     * @dev Tries to returns the value associated with `key`.  O(1).
     * Does not revert if `key` is not in the map.
     */
    function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {
        uint256 keyIndex = map._indexes[key];
        if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key)
        return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based
    }

    /**
     * @dev Returns the value associated with `key`.  O(1).
     *
     * Requirements:
     *
     * - `key` must be in the map.
     */
    function _get(Map storage map, bytes32 key) private view returns (bytes32) {
        uint256 keyIndex = map._indexes[key];
        require(keyIndex != 0, "EnumerableMap: nonexistent key"); // Equivalent to contains(map, key)
        return map._entries[keyIndex - 1]._value; // All indexes are 1-based
    }

    /**
     * @dev Same as {_get}, with a custom error message when `key` is not in the map.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {_tryGet}.
     */
    function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {
        uint256 keyIndex = map._indexes[key];
        require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)
        return map._entries[keyIndex - 1]._value; // All indexes are 1-based
    }

    // UintToAddressMap

    struct UintToAddressMap {
        Map _inner;
    }

    /**
     * @dev Adds a key-value pair to a map, or updates the value for an existing
     * key. O(1).
     *
     * Returns true if the key was added to the map, that is if it was not
     * already present.
     */
    function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {
        return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the key was removed from the map, that is if it was present.
     */
    function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {
        return _remove(map._inner, bytes32(key));
    }

    /**
     * @dev Returns true if the key is in the map. O(1).
     */
    function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {
        return _contains(map._inner, bytes32(key));
    }

    /**
     * @dev Returns the number of elements in the map. O(1).
     */
    function length(UintToAddressMap storage map) internal view returns (uint256) {
        return _length(map._inner);
    }

   /**
    * @dev Returns the element stored at position `index` in the set. O(1).
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {
        (bytes32 key, bytes32 value) = _at(map._inner, index);
        return (uint256(key), address(uint160(uint256(value))));
    }

    /**
     * @dev Tries to returns the value associated with `key`.  O(1).
     * Does not revert if `key` is not in the map.
     *
     * _Available since v3.4._
     */
    function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) {
        (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key));
        return (success, address(uint160(uint256(value))));
    }

    /**
     * @dev Returns the value associated with `key`.  O(1).
     *
     * Requirements:
     *
     * - `key` must be in the map.
     */
    function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {
        return address(uint160(uint256(_get(map._inner, bytes32(key)))));
    }

    /**
     * @dev Same as {get}, with a custom error message when `key` is not in the map.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryGet}.
     */
    function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {
        return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage))));
    }
}


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

/**
 * @dev String operations.
 */
library Strings {
    /**
     * @dev Converts a `uint256` to its ASCII `string` 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);
        uint256 index = digits - 1;
        temp = value;
        while (temp != 0) {
            buffer[index--] = bytes1(uint8(48 + temp % 10));
            temp /= 10;
        }
        return string(buffer);
    }

    
}


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

/**
 * @title ERC721 Non-Fungible Token Standard basic implementation
 * @dev see https://eips.ethereum.org/EIPS/eip-721
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    using SafeMath for uint256;
    using Address for address;
    using EnumerableSet for EnumerableSet.UintSet;
    using EnumerableMap for EnumerableMap.UintToAddressMap;
    using Strings for uint256;

    // Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`
    // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`
    bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;

    // Mapping from holder address to their (enumerable) set of owned tokens
    mapping (address => EnumerableSet.UintSet) private _holderTokens;

    // Enumerable mapping from token ids to their owners
    EnumerableMap.UintToAddressMap private _tokenOwners;

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Optional mapping for token URIs
    mapping (uint256 => string) private _tokenURIs;

    // Base URI
    string private _baseURI;

    /*
     *     bytes4(keccak256('balanceOf(address)')) == 0x70a08231
     *     bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e
     *     bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3
     *     bytes4(keccak256('getApproved(uint256)')) == 0x081812fc
     *     bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465
     *     bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5
     *     bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde
     *
     *     => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^
     *        0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd
     */
    bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;

    /*
     *     bytes4(keccak256('name()')) == 0x06fdde03
     *     bytes4(keccak256('symbol()')) == 0x95d89b41
     *     bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd
     *
     *     => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f
     */
    bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;

    /*
     *     bytes4(keccak256('totalSupply()')) == 0x18160ddd
     *     bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59
     *     bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7
     *
     *     => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63
     */
    bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;

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

        // register the supported interfaces to conform to ERC721 via ERC165
        _registerInterface(_INTERFACE_ID_ERC721);
        _registerInterface(_INTERFACE_ID_ERC721_METADATA);
        _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);
    }

    /**
     * @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 _holderTokens[owner].length();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token");
    }

    /**
     * @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 _tokenURI = _tokenURIs[tokenId];
        string memory base = baseURI();

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

    /**
    * @dev Returns the base URI set via {_setBaseURI}. This will be
    * automatically added as a prefix in {tokenURI} to each token's URI, or
    * to the token ID if no specific URI is set for that token ID.
    */
    function baseURI() public view virtual returns (string memory) {
        return _baseURI;
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        return _holderTokens[owner].at(index);
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds
        return _tokenOwners.length();
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        (uint256 tokenId, ) = _tokenOwners.at(index);
        return tokenId;
    }

    /**
     * @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 _tokenOwners.contains(tokenId);
    }

    /**
     * @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:
     d*
     * - `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);

        _holderTokens[to].add(tokenId);

        _tokenOwners.set(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); // internal owner

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

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

        // Clear metadata (if any)
        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }

        _holderTokens[owner].remove(tokenId);

        _tokenOwners.remove(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"); // internal owner
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

        _holderTokens[from].remove(tokenId);
        _holderTokens[to].add(tokenId);

        _tokenOwners.set(tokenId, to);

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721Metadata: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @dev Internal function to set the base URI for all token IDs. It is
     * automatically added as a prefix to the value returned in {tokenURI},
     * or to the token ID if {tokenURI} is empty.
     */
    function _setBaseURI(string memory baseURI_) internal virtual {
        _baseURI = baseURI_;
    }

    /**
     * @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()) {
            return true;
        }
        bytes memory returndata = to.functionCall(abi.encodeWithSelector(
            IERC721Receiver(to).onERC721Received.selector,
            _msgSender(),
            from,
            tokenId,
            _data
        ), "ERC721: transfer to non ERC721Receiver implementer");
        bytes4 retval = abi.decode(returndata, (bytes4));
        return (retval == _ERC721_RECEIVED);
    }

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

    /**
     * @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/access/Ownable.sol

/**
 * @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: contracts/CryptoSquatches.sol

/**
 * @title CryptoSquatches contract
 * @dev Extends ERC721 Non-Fungible Token Standard basic implementation
 */
contract CryptoSquatches is ERC721, Ownable {
    using SafeMath for uint256;

    uint256 public startingIndexBlock;
    uint256 public startingIndex;
    uint256 public mintPrice;
    uint256 public maxToMint;
    uint256 public MAX_CRYPTO_SQUATCH_SUPPLY;
    uint256 public REVEAL_TIMESTAMP;
    string public prerevealURI;

    string public PROVENANCE_HASH = "";
    bool public saleIsActive;

    address wallet1;
    address wallet2;

    constructor() ERC721("Crypto Squatches", "CSQUATCH") {
        MAX_CRYPTO_SQUATCH_SUPPLY = 10000;
        REVEAL_TIMESTAMP = block.timestamp + (86400 * 2);
        mintPrice = 50000000000000000; // 0.05 ETH
        maxToMint = 10;
        saleIsActive = false;
        wallet1 = 0x5179cc5B74b9a77d0a04aa50Dfc557E62f82e449;
        wallet2 = 0x3DFd8477b5fD8b3615B47740d74DB4C028A0Da58;
    }

    /**
     * Get the array of token for owner.
     */
    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);
            for (uint256 index; index < tokenCount; index++) {
                result[index] = tokenOfOwnerByIndex(_owner, index);
            }
            return result;
        }
    }

    /**
    * MUST TURN INTO LIBRARY BEFORE LIVE DEPLOYMENT!!!!!
     */
    function uint2str(uint256 _i) internal pure returns (string memory _uintAsString) {
        if (_i == 0) {
            return "0";
        }
        uint j = _i;
        uint len;
        while (j != 0) {
            len++;
            j /= 10;
        }
        bytes memory bstr = new bytes(len);
        uint k = len;
        while (_i != 0) {
            k = k-1;
            uint8 temp = (48 + uint8(_i - _i / 10 * 10));
            bytes1 b1 = bytes1(temp);
            bstr[k] = b1;
            _i /= 10;
        }
        return string(bstr);
    }

    /**
     * Check if certain token id is exists.
     */
    function exists(uint256 _tokenId) public view returns (bool) {
        return _exists(_tokenId);
    }

    /**
     * Set price to mint a Crypto Squatch.
     */
    function setMintPrice(uint256 _price) external onlyOwner {
        mintPrice = _price;
    }

    /**
     * Set maximum count to mint per once.
     */
    function setMaxToMint(uint256 _maxValue) external onlyOwner {
        maxToMint = _maxValue;
    }

    /**
     * Mint Crypto Squatches by owner
     */
    function reserveCryptoSquatches(address _to, uint256 _numberOfTokens) external onlyOwner {
        require(_to != address(0), "Invalid address to reserve.");

        uint256 supply = totalSupply();
        uint256 i;

        
        //Mint address, 0 on first mint
        //Supply is 1 so mint tokenId = 1 (which is the 2nd token)
        for (i = 0; i < _numberOfTokens; i++) {
            _safeMint(_to, supply + i);
        }

    }

    /**
     * Set reveal timestamp when finished the sale.
     */
    function setRevealTimestamp(uint256 _revealTimeStamp) external onlyOwner {
        REVEAL_TIMESTAMP = _revealTimeStamp;
    } 

    /*     
    * Set provenance once it's calculated
    */
    function setProvenanceHash(string memory _provenanceHash) external onlyOwner {
        PROVENANCE_HASH = _provenanceHash;
    }

    function setBaseURI(string memory baseURI) external onlyOwner {
        _setBaseURI(baseURI);
    }

     /**
     * External function to set the prereveal URI for all token IDs. 
     * This is the URI that is shown on each token until the REVEAL_TIMESTAMP
     * is surpassed.
     */
    function setPrerevealURI(string memory prerevealURI_) external onlyOwner {
        prerevealURI = prerevealURI_;
    }

    /**
    * Returns the proper tokenURI only after the startingIndex is finalized.
    */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        if(startingIndex != 0 && block.timestamp >= REVEAL_TIMESTAMP)
        {
            string memory base = baseURI();
            string memory tokenURIWithOffset = uint2str(((tokenId + startingIndex) % MAX_CRYPTO_SQUATCH_SUPPLY));
            return string(abi.encodePacked(base, tokenURIWithOffset));
        }
        else
        {
            return prerevealURI;
        }
    }

    /*
    * Pause sale if active, make active if paused
    */
    function setSaleState() external onlyOwner {
        saleIsActive = !saleIsActive;
    }

    /**
    * Mints tokens
    */
    function mintCryptoSquatches(uint256 numberOfTokens) external payable {
        require(saleIsActive, "Sale must be active to mint");
        require(numberOfTokens <= maxToMint, "Invalid amount to mint per once");
        require(totalSupply().add(numberOfTokens) <= MAX_CRYPTO_SQUATCH_SUPPLY, "Purchase would exceed max supply");
        require(mintPrice.mul(numberOfTokens) <= msg.value, "Ether value sent is not correct");
        
        for(uint256 i = 0; i < numberOfTokens; i++) {
            uint256 mintIndex = totalSupply();
            if (totalSupply() < MAX_CRYPTO_SQUATCH_SUPPLY) {
                _safeMint(msg.sender, mintIndex);
            }
        }

        // If we haven't set the starting index and this is either
        // 1) the last saleable token or 2) the first token to be sold after
        // the end of pre-sale, set the starting index block
        if (startingIndexBlock == 0 && (totalSupply() == MAX_CRYPTO_SQUATCH_SUPPLY || block.timestamp >= REVEAL_TIMESTAMP)) {
            startingIndexBlock = block.number;
        } 
    }

    /**
     * Set the starting index for the collection
     */
    function setStartingIndex() external {
        require(startingIndex == 0, "Starting index is already set");
        require(startingIndexBlock != 0, "Starting index block must be set");
        
        startingIndex = uint256(blockhash(startingIndexBlock)) % MAX_CRYPTO_SQUATCH_SUPPLY;
        // Just a sanity case in the worst case if this function is called late (EVM only stores last 256 block hashes)
        if (block.number.sub(startingIndexBlock) > 255) {
            startingIndex = uint256(blockhash(block.number - 1)) % MAX_CRYPTO_SQUATCH_SUPPLY;
        }
        // Prevent default sequence
        if (startingIndex == 0) {
            startingIndex = startingIndex.add(1);
        }
    }

    /**
     * Set the starting index block for the collection, essentially unblocking
     * setting starting index
     */
    function emergencySetStartingIndexBlock() external onlyOwner {
        require(startingIndex == 0, "Starting index is already set");
        
        startingIndexBlock = block.number;
    }

    function withdraw() external onlyOwner {
        uint256 balance = address(this).balance;
        uint256 walletBalance = balance.mul(50).div(100);
        payable(wallet1).transfer(walletBalance);
        payable(wallet2).transfer(balance.sub(walletBalance));
    }
}

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_CRYPTO_SQUATCH_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PROVENANCE_HASH","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REVEAL_TIMESTAMP","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":[],"name":"emergencySetStartingIndexBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"maxToMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintCryptoSquatches","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"prerevealURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_numberOfTokens","type":"uint256"}],"name":"reserveCryptoSquatches","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxValue","type":"uint256"}],"name":"setMaxToMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"prerevealURI_","type":"string"}],"name":"setPrerevealURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_revealTimeStamp","type":"uint256"}],"name":"setRevealTimestamp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStartingIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startingIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingIndexBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040819052600060808190526200001b916012916200022b565b503480156200002957600080fd5b50604080518082018252601081526f43727970746f2053717561746368657360801b60208083019190915282518084019093526008835267086a6a2aa82a886960c31b9083015290620000836301ffc9a760e01b620001a7565b8151620000989060069060208501906200022b565b508051620000ae9060079060208401906200022b565b50620000c16380ac58cd60e01b620001a7565b620000d3635b5e139f60e01b620001a7565b620000e563780e9d6360e01b620001a7565b5050600a80546001600160a01b0319163390811790915560405181906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350612710600f556200013f426202a300620002d1565b60105566b1a2bc2ec50000600d55600a600e5560138054745179cc5b74b9a77d0a04aa50dfc557e62f82e449006001600160a81b0319909116179055601480546001600160a01b031916733dfd8477b5fd8b3615b47740d74db4c028a0da5817905562000335565b6001600160e01b03198082161415620002065760405162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015260640160405180910390fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b8280546200023990620002f8565b90600052602060002090601f0160209004810192826200025d5760008555620002a8565b82601f106200027857805160ff1916838001178555620002a8565b82800160010185558215620002a8579182015b82811115620002a85782518255916020019190600101906200028b565b50620002b6929150620002ba565b5090565b5b80821115620002b65760008155600101620002bb565b60008219821115620002f357634e487b7160e01b600052601160045260246000fd5b500190565b600181811c908216806200030d57607f821691505b602082108114156200032f57634e487b7160e01b600052602260045260246000fd5b50919050565b612b3380620003456000396000f3fe60806040526004361061025c5760003560e01c80636817c76c11610144578063b88d4fde116100b6578063e985e9c51161007a578063e985e9c5146106c4578063e98665501461070d578063eb8d244414610722578063f2fde38b1461073c578063f4a0a5281461075c578063ff1b65561461077c57600080fd5b8063b88d4fde14610643578063c87b56dd14610663578063cb774d4714610683578063d62280b214610699578063e36d6498146106ae57600080fd5b80637d17fcbe116101085780637d17fcbe146105985780638462151c146105ad5780638da5cb5b146105da57806395d89b41146105f85780639af66b531461060d578063a22cb4651461062357600080fd5b80636817c76c146105185780636c0360eb1461052e5780637084b2b71461054357806370a0823114610563578063715018a61461058357600080fd5b806318e20a38116101dd5780633ccfd60b116101a15780633ccfd60b1461046357806342842e0e146104785780634f558e79146104985780634f6ccce7146104b857806355f804b3146104d85780636352211e146104f857600080fd5b806318e20a38146103d85780631ed40559146103ee57806323b872dd14610403578063245ce6eb146104235780632f745c591461044357600080fd5b8063095ea7b311610224578063095ea7b31461034c5780630b1d1b711461036c5780630ba133c51461037f57806310969523146103a357806318160ddd146103c357600080fd5b8063018a2c371461026157806301ffc9a71461028357806306fdde03146102d2578063078eef28146102f4578063081812fc14610314575b600080fd5b34801561026d57600080fd5b5061028161027c36600461270b565b610791565b005b34801561028f57600080fd5b506102bd61029e366004612688565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b3480156102de57600080fd5b506102e76107c9565b6040516102c9919061281c565b34801561030057600080fd5b5061028161030f3660046126c2565b61085b565b34801561032057600080fd5b5061033461032f36600461270b565b61089c565b6040516001600160a01b0390911681526020016102c9565b34801561035857600080fd5b5061028161036736600461265e565b610924565b61028161037a36600461270b565b610a3a565b34801561038b57600080fd5b50610395600e5481565b6040519081526020016102c9565b3480156103af57600080fd5b506102816103be3660046126c2565b610c15565b3480156103cf57600080fd5b50610395610c52565b3480156103e457600080fd5b5061039560105481565b3480156103fa57600080fd5b50610281610c63565b34801561040f57600080fd5b5061028161041e36600461256a565b610ca1565b34801561042f57600080fd5b5061028161043e36600461265e565b610cd2565b34801561044f57600080fd5b5061039561045e36600461265e565b610d94565b34801561046f57600080fd5b50610281610dbf565b34801561048457600080fd5b5061028161049336600461256a565b610e84565b3480156104a457600080fd5b506102bd6104b336600461270b565b610e9f565b3480156104c457600080fd5b506103956104d336600461270b565b610eaa565b3480156104e457600080fd5b506102816104f33660046126c2565b610ec0565b34801561050457600080fd5b5061033461051336600461270b565b610ef3565b34801561052457600080fd5b50610395600d5481565b34801561053a57600080fd5b506102e7610f1b565b34801561054f57600080fd5b5061028161055e36600461270b565b610f2a565b34801561056f57600080fd5b5061039561057e36600461251c565b610f59565b34801561058f57600080fd5b50610281610fe5565b3480156105a457600080fd5b50610281611059565b3480156105b957600080fd5b506105cd6105c836600461251c565b6110d9565b6040516102c991906127d8565b3480156105e657600080fd5b50600a546001600160a01b0316610334565b34801561060457600080fd5b506102e7611194565b34801561061957600080fd5b50610395600f5481565b34801561062f57600080fd5b5061028161063e366004612622565b6111a3565b34801561064f57600080fd5b5061028161065e3660046125a6565b611268565b34801561066f57600080fd5b506102e761067e36600461270b565b61129a565b34801561068f57600080fd5b50610395600c5481565b3480156106a557600080fd5b506102e7611416565b3480156106ba57600080fd5b50610395600b5481565b3480156106d057600080fd5b506102bd6106df366004612537565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561071957600080fd5b506102816114a4565b34801561072e57600080fd5b506013546102bd9060ff1681565b34801561074857600080fd5b5061028161075736600461251c565b6115a6565b34801561076857600080fd5b5061028161077736600461270b565b611691565b34801561078857600080fd5b506102e76116c0565b600a546001600160a01b031633146107c45760405162461bcd60e51b81526004016107bb90612881565b60405180910390fd5b601055565b6060600680546107d8906129ba565b80601f0160208091040260200160405190810160405280929190818152602001828054610804906129ba565b80156108515780601f1061082657610100808354040283529160200191610851565b820191906000526020600020905b81548152906001019060200180831161083457829003601f168201915b5050505050905090565b600a546001600160a01b031633146108855760405162461bcd60e51b81526004016107bb90612881565b80516108989060119060208401906123f6565b5050565b60006108a7826116cd565b6109085760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107bb565b506000908152600460205260409020546001600160a01b031690565b600061092f82610ef3565b9050806001600160a01b0316836001600160a01b0316141561099d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107bb565b336001600160a01b03821614806109b957506109b981336106df565b610a2b5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107bb565b610a3583836116da565b505050565b60135460ff16610a8c5760405162461bcd60e51b815260206004820152601b60248201527f53616c65206d7573742062652061637469766520746f206d696e74000000000060448201526064016107bb565b600e54811115610ade5760405162461bcd60e51b815260206004820152601f60248201527f496e76616c696420616d6f756e7420746f206d696e7420706572206f6e63650060448201526064016107bb565b600f54610af382610aed610c52565b90611748565b1115610b415760405162461bcd60e51b815260206004820181905260248201527f507572636861736520776f756c6420657863656564206d617820737570706c7960448201526064016107bb565b600d543490610b5090836117a7565b1115610b9e5760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f72726563740060448201526064016107bb565b60005b81811015610be3576000610bb3610c52565b9050600f54610bc0610c52565b1015610bd057610bd03382611826565b5080610bdb816129ef565b915050610ba1565b50600b54158015610c085750600f54610bfa610c52565b1480610c0857506010544210155b15610c125743600b555b50565b600a546001600160a01b03163314610c3f5760405162461bcd60e51b81526004016107bb90612881565b80516108989060129060208401906123f6565b6000610c5e6002611840565b905090565b600a546001600160a01b03163314610c8d5760405162461bcd60e51b81526004016107bb90612881565b6013805460ff19811660ff90911615179055565b610cab338261184a565b610cc75760405162461bcd60e51b81526004016107bb906128b6565b610a35838383611934565b600a546001600160a01b03163314610cfc5760405162461bcd60e51b81526004016107bb90612881565b6001600160a01b038216610d525760405162461bcd60e51b815260206004820152601b60248201527f496e76616c6964206164647265737320746f20726573657276652e000000000060448201526064016107bb565b6000610d5c610c52565b905060005b82811015610d8e57610d7c84610d778385612907565b611826565b80610d86816129ef565b915050610d61565b50505050565b6001600160a01b0382166000908152600160205260408120610db69083611ab5565b90505b92915050565b600a546001600160a01b03163314610de95760405162461bcd60e51b81526004016107bb90612881565b476000610e026064610dfc8460326117a7565b90611ac1565b60135460405191925061010090046001600160a01b0316906108fc8315029083906000818181858888f19350505050158015610e42573d6000803e3d6000fd5b506014546001600160a01b03166108fc610e5c8484611b1c565b6040518115909202916000818181858888f19350505050158015610a35573d6000803e3d6000fd5b610a3583838360405180602001604052806000815250611268565b6000610db9826116cd565b600080610eb8600284611b78565b509392505050565b600a546001600160a01b03163314610eea5760405162461bcd60e51b81526004016107bb90612881565b610c1281611b94565b6000610db982604051806060016040528060298152602001612ad56029913960029190611ba7565b6060600980546107d8906129ba565b600a546001600160a01b03163314610f545760405162461bcd60e51b81526004016107bb90612881565b600e55565b60006001600160a01b038216610fc45760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107bb565b6001600160a01b0382166000908152600160205260409020610db990611840565b600a546001600160a01b0316331461100f5760405162461bcd60e51b81526004016107bb90612881565b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b600a546001600160a01b031633146110835760405162461bcd60e51b81526004016107bb90612881565b600c54156110d35760405162461bcd60e51b815260206004820152601d60248201527f5374617274696e6720696e64657820697320616c72656164792073657400000060448201526064016107bb565b43600b55565b606060006110e683610f59565b905080611103576040805160008082526020820190925290610eb8565b60008167ffffffffffffffff81111561111e5761111e612a76565b604051908082528060200260200182016040528015611147578160200160208202803683370190505b50905060005b82811015610eb85761115f8582610d94565b82828151811061117157611171612a60565b602090810291909101015280611186816129ef565b91505061114d565b50919050565b6060600780546107d8906129ba565b6001600160a01b0382163314156111fc5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107bb565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611272338361184a565b61128e5760405162461bcd60e51b81526004016107bb906128b6565b610d8e84848484611bbe565b60606112a5826116cd565b6113095760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107bb565b600c541580159061131c57506010544210155b1561137f57600061132b610f1b565b90506000611352600f54600c54866113439190612907565b61134d9190612a0a565b611bf1565b9050818160405160200161136792919061276c565b60405160208183030381529060405292505050919050565b6011805461138c906129ba565b80601f01602080910402602001604051908101604052809291908181526020018280546113b8906129ba565b80156114055780601f106113da57610100808354040283529160200191611405565b820191906000526020600020905b8154815290600101906020018083116113e857829003601f168201915b50505050509050919050565b919050565b60118054611423906129ba565b80601f016020809104026020016040519081016040528092919081815260200182805461144f906129ba565b801561149c5780601f106114715761010080835404028352916020019161149c565b820191906000526020600020905b81548152906001019060200180831161147f57829003601f168201915b505050505081565b600c54156114f45760405162461bcd60e51b815260206004820152601d60248201527f5374617274696e6720696e64657820697320616c72656164792073657400000060448201526064016107bb565b600b546115435760405162461bcd60e51b815260206004820181905260248201527f5374617274696e6720696e64657820626c6f636b206d7573742062652073657460448201526064016107bb565b600f54600b54611554919040612a0a565b600c55600b5460ff90611568904390611b1c565b111561158b57600f5461157c600143612977565b611587919040612a0a565b600c555b600c546115a457600c546115a0906001611748565b600c555b565b600a546001600160a01b031633146115d05760405162461bcd60e51b81526004016107bb90612881565b6001600160a01b0381166116355760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107bb565b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b600a546001600160a01b031633146116bb5760405162461bcd60e51b81526004016107bb90612881565b600d55565b60128054611423906129ba565b6000610db9600283611d1a565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061170f82610ef3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806117558385612907565b905083811015610db65760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016107bb565b6000826117b657506000610db9565b60006117c28385612958565b9050826117cf8583612944565b14610db65760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016107bb565b610898828260405180602001604052806000815250611d32565b6000610db9825490565b6000611855826116cd565b6118b65760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107bb565b60006118c183610ef3565b9050806001600160a01b0316846001600160a01b031614806118fc5750836001600160a01b03166118f18461089c565b6001600160a01b0316145b8061192c57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661194782610ef3565b6001600160a01b0316146119af5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016107bb565b6001600160a01b038216611a115760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107bb565b611a1c6000826116da565b6001600160a01b0383166000908152600160205260409020611a3e9082611d65565b506001600160a01b0382166000908152600160205260409020611a619082611d71565b50611a6e60028284611d7d565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610db68383611d93565b6000808211611b125760405162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f00000000000060448201526064016107bb565b610db68284612944565b600082821115611b6e5760405162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f77000060448201526064016107bb565b610db68284612977565b6000808080611b878686611e19565b9097909650945050505050565b80516108989060099060208401906123f6565b6000611bb4848484611eb6565b90505b9392505050565b611bc9848484611934565b611bd584848484611f1f565b610d8e5760405162461bcd60e51b81526004016107bb9061282f565b606081611c155750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611c3f5780611c29816129ef565b9150611c389050600a83612944565b9150611c19565b60008167ffffffffffffffff811115611c5a57611c5a612a76565b6040519080825280601f01601f191660200182016040528015611c84576020820181803683370190505b509050815b8515611d1157611c9a600182612977565b90506000611ca9600a88612944565b611cb490600a612958565b611cbe9088612977565b611cc990603061291f565b905060008160f81b905080848481518110611ce657611ce6612a60565b60200101906001600160f81b031916908160001a905350611d08600a89612944565b97505050611c89565b50949350505050565b60008181526001830160205260408120541515610db6565b611d3c8383611ff0565b611d496000848484611f1f565b610a355760405162461bcd60e51b81526004016107bb9061282f565b6000610db68383612108565b6000610db683836121fb565b6000611bb484846001600160a01b03851661224a565b81546000908210611df15760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016107bb565b826000018281548110611e0657611e06612a60565b9060005260206000200154905092915050565b815460009081908310611e795760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016107bb565b6000846000018481548110611e9057611e90612a60565b906000526020600020906002020190508060000154816001015492509250509250929050565b60008281526001840160205260408120548281611ee65760405162461bcd60e51b81526004016107bb919061281c565b5084611ef3600183612977565b81548110611f0357611f03612a60565b9060005260206000209060020201600101549150509392505050565b60006001600160a01b0384163b611f385750600161192c565b6000611fb9630a85bd0160e11b33888787604051602401611f5c949392919061279b565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001612aa3603291396001600160a01b03881691906122eb565b9050600081806020019051810190611fd191906126a5565b6001600160e01b031916630a85bd0160e11b1492505050949350505050565b6001600160a01b0382166120465760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107bb565b61204f816116cd565b1561209c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107bb565b6001600160a01b03821660009081526001602052604090206120be9082611d71565b506120cb60028284611d7d565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600081815260018301602052604081205480156121f157600061212c600183612977565b855490915060009061214090600190612977565b9050600086600001828154811061215957612159612a60565b906000526020600020015490508087600001848154811061217c5761217c612a60565b600091825260209091200155612193836001612907565b600082815260018901602052604090205586548790806121b5576121b5612a4a565b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610db9565b6000915050610db9565b600081815260018301602052604081205461224257508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610db9565b506000610db9565b6000828152600184016020526040812054806122af575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055611bb7565b82856122bc600184612977565b815481106122cc576122cc612a60565b9060005260206000209060020201600101819055506000915050611bb7565b6060611bb4848460008585843b6123445760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016107bb565b600080866001600160a01b031685876040516123609190612750565b60006040518083038185875af1925050503d806000811461239d576040519150601f19603f3d011682016040523d82523d6000602084013e6123a2565b606091505b50915091506123b28282866123bd565b979650505050505050565b606083156123cc575081611bb7565b8251156123dc5782518084602001fd5b8160405162461bcd60e51b81526004016107bb919061281c565b828054612402906129ba565b90600052602060002090601f016020900481019282612424576000855561246a565b82601f1061243d57805160ff191683800117855561246a565b8280016001018555821561246a579182015b8281111561246a57825182559160200191906001019061244f565b5061247692915061247a565b5090565b5b80821115612476576000815560010161247b565b600067ffffffffffffffff808411156124aa576124aa612a76565b604051601f8501601f19908116603f011681019082821181831017156124d2576124d2612a76565b816040528093508581528686860111156124eb57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461141157600080fd5b60006020828403121561252e57600080fd5b610db682612505565b6000806040838503121561254a57600080fd5b61255383612505565b915061256160208401612505565b90509250929050565b60008060006060848603121561257f57600080fd5b61258884612505565b925061259660208501612505565b9150604084013590509250925092565b600080600080608085870312156125bc57600080fd5b6125c585612505565b93506125d360208601612505565b925060408501359150606085013567ffffffffffffffff8111156125f657600080fd5b8501601f8101871361260757600080fd5b6126168782356020840161248f565b91505092959194509250565b6000806040838503121561263557600080fd5b61263e83612505565b91506020830135801515811461265357600080fd5b809150509250929050565b6000806040838503121561267157600080fd5b61267a83612505565b946020939093013593505050565b60006020828403121561269a57600080fd5b8135610db681612a8c565b6000602082840312156126b757600080fd5b8151610db681612a8c565b6000602082840312156126d457600080fd5b813567ffffffffffffffff8111156126eb57600080fd5b8201601f810184136126fc57600080fd5b61192c8482356020840161248f565b60006020828403121561271d57600080fd5b5035919050565b6000815180845261273c81602086016020860161298e565b601f01601f19169290920160200192915050565b6000825161276281846020870161298e565b9190910192915050565b6000835161277e81846020880161298e565b83519083019061279281836020880161298e565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906127ce90830184612724565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612810578351835292840192918401916001016127f4565b50909695505050505050565b602081526000610db66020830184612724565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000821982111561291a5761291a612a1e565b500190565b600060ff821660ff84168060ff0382111561293c5761293c612a1e565b019392505050565b60008261295357612953612a34565b500490565b600081600019048311821515161561297257612972612a1e565b500290565b60008282101561298957612989612a1e565b500390565b60005b838110156129a9578181015183820152602001612991565b83811115610d8e5750506000910152565b600181811c908216806129ce57607f821691505b6020821081141561118e57634e487b7160e01b600052602260045260246000fd5b6000600019821415612a0357612a03612a1e565b5060010190565b600082612a1957612a19612a34565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610c1257600080fdfe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea2646970667358221220618c0ea0ecf000dc27713ab22e07882487fede39a8b3e3a0d2db5ecb88ac62ed64736f6c63430008060033

Deployed Bytecode

0x60806040526004361061025c5760003560e01c80636817c76c11610144578063b88d4fde116100b6578063e985e9c51161007a578063e985e9c5146106c4578063e98665501461070d578063eb8d244414610722578063f2fde38b1461073c578063f4a0a5281461075c578063ff1b65561461077c57600080fd5b8063b88d4fde14610643578063c87b56dd14610663578063cb774d4714610683578063d62280b214610699578063e36d6498146106ae57600080fd5b80637d17fcbe116101085780637d17fcbe146105985780638462151c146105ad5780638da5cb5b146105da57806395d89b41146105f85780639af66b531461060d578063a22cb4651461062357600080fd5b80636817c76c146105185780636c0360eb1461052e5780637084b2b71461054357806370a0823114610563578063715018a61461058357600080fd5b806318e20a38116101dd5780633ccfd60b116101a15780633ccfd60b1461046357806342842e0e146104785780634f558e79146104985780634f6ccce7146104b857806355f804b3146104d85780636352211e146104f857600080fd5b806318e20a38146103d85780631ed40559146103ee57806323b872dd14610403578063245ce6eb146104235780632f745c591461044357600080fd5b8063095ea7b311610224578063095ea7b31461034c5780630b1d1b711461036c5780630ba133c51461037f57806310969523146103a357806318160ddd146103c357600080fd5b8063018a2c371461026157806301ffc9a71461028357806306fdde03146102d2578063078eef28146102f4578063081812fc14610314575b600080fd5b34801561026d57600080fd5b5061028161027c36600461270b565b610791565b005b34801561028f57600080fd5b506102bd61029e366004612688565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b3480156102de57600080fd5b506102e76107c9565b6040516102c9919061281c565b34801561030057600080fd5b5061028161030f3660046126c2565b61085b565b34801561032057600080fd5b5061033461032f36600461270b565b61089c565b6040516001600160a01b0390911681526020016102c9565b34801561035857600080fd5b5061028161036736600461265e565b610924565b61028161037a36600461270b565b610a3a565b34801561038b57600080fd5b50610395600e5481565b6040519081526020016102c9565b3480156103af57600080fd5b506102816103be3660046126c2565b610c15565b3480156103cf57600080fd5b50610395610c52565b3480156103e457600080fd5b5061039560105481565b3480156103fa57600080fd5b50610281610c63565b34801561040f57600080fd5b5061028161041e36600461256a565b610ca1565b34801561042f57600080fd5b5061028161043e36600461265e565b610cd2565b34801561044f57600080fd5b5061039561045e36600461265e565b610d94565b34801561046f57600080fd5b50610281610dbf565b34801561048457600080fd5b5061028161049336600461256a565b610e84565b3480156104a457600080fd5b506102bd6104b336600461270b565b610e9f565b3480156104c457600080fd5b506103956104d336600461270b565b610eaa565b3480156104e457600080fd5b506102816104f33660046126c2565b610ec0565b34801561050457600080fd5b5061033461051336600461270b565b610ef3565b34801561052457600080fd5b50610395600d5481565b34801561053a57600080fd5b506102e7610f1b565b34801561054f57600080fd5b5061028161055e36600461270b565b610f2a565b34801561056f57600080fd5b5061039561057e36600461251c565b610f59565b34801561058f57600080fd5b50610281610fe5565b3480156105a457600080fd5b50610281611059565b3480156105b957600080fd5b506105cd6105c836600461251c565b6110d9565b6040516102c991906127d8565b3480156105e657600080fd5b50600a546001600160a01b0316610334565b34801561060457600080fd5b506102e7611194565b34801561061957600080fd5b50610395600f5481565b34801561062f57600080fd5b5061028161063e366004612622565b6111a3565b34801561064f57600080fd5b5061028161065e3660046125a6565b611268565b34801561066f57600080fd5b506102e761067e36600461270b565b61129a565b34801561068f57600080fd5b50610395600c5481565b3480156106a557600080fd5b506102e7611416565b3480156106ba57600080fd5b50610395600b5481565b3480156106d057600080fd5b506102bd6106df366004612537565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561071957600080fd5b506102816114a4565b34801561072e57600080fd5b506013546102bd9060ff1681565b34801561074857600080fd5b5061028161075736600461251c565b6115a6565b34801561076857600080fd5b5061028161077736600461270b565b611691565b34801561078857600080fd5b506102e76116c0565b600a546001600160a01b031633146107c45760405162461bcd60e51b81526004016107bb90612881565b60405180910390fd5b601055565b6060600680546107d8906129ba565b80601f0160208091040260200160405190810160405280929190818152602001828054610804906129ba565b80156108515780601f1061082657610100808354040283529160200191610851565b820191906000526020600020905b81548152906001019060200180831161083457829003601f168201915b5050505050905090565b600a546001600160a01b031633146108855760405162461bcd60e51b81526004016107bb90612881565b80516108989060119060208401906123f6565b5050565b60006108a7826116cd565b6109085760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107bb565b506000908152600460205260409020546001600160a01b031690565b600061092f82610ef3565b9050806001600160a01b0316836001600160a01b0316141561099d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107bb565b336001600160a01b03821614806109b957506109b981336106df565b610a2b5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107bb565b610a3583836116da565b505050565b60135460ff16610a8c5760405162461bcd60e51b815260206004820152601b60248201527f53616c65206d7573742062652061637469766520746f206d696e74000000000060448201526064016107bb565b600e54811115610ade5760405162461bcd60e51b815260206004820152601f60248201527f496e76616c696420616d6f756e7420746f206d696e7420706572206f6e63650060448201526064016107bb565b600f54610af382610aed610c52565b90611748565b1115610b415760405162461bcd60e51b815260206004820181905260248201527f507572636861736520776f756c6420657863656564206d617820737570706c7960448201526064016107bb565b600d543490610b5090836117a7565b1115610b9e5760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f72726563740060448201526064016107bb565b60005b81811015610be3576000610bb3610c52565b9050600f54610bc0610c52565b1015610bd057610bd03382611826565b5080610bdb816129ef565b915050610ba1565b50600b54158015610c085750600f54610bfa610c52565b1480610c0857506010544210155b15610c125743600b555b50565b600a546001600160a01b03163314610c3f5760405162461bcd60e51b81526004016107bb90612881565b80516108989060129060208401906123f6565b6000610c5e6002611840565b905090565b600a546001600160a01b03163314610c8d5760405162461bcd60e51b81526004016107bb90612881565b6013805460ff19811660ff90911615179055565b610cab338261184a565b610cc75760405162461bcd60e51b81526004016107bb906128b6565b610a35838383611934565b600a546001600160a01b03163314610cfc5760405162461bcd60e51b81526004016107bb90612881565b6001600160a01b038216610d525760405162461bcd60e51b815260206004820152601b60248201527f496e76616c6964206164647265737320746f20726573657276652e000000000060448201526064016107bb565b6000610d5c610c52565b905060005b82811015610d8e57610d7c84610d778385612907565b611826565b80610d86816129ef565b915050610d61565b50505050565b6001600160a01b0382166000908152600160205260408120610db69083611ab5565b90505b92915050565b600a546001600160a01b03163314610de95760405162461bcd60e51b81526004016107bb90612881565b476000610e026064610dfc8460326117a7565b90611ac1565b60135460405191925061010090046001600160a01b0316906108fc8315029083906000818181858888f19350505050158015610e42573d6000803e3d6000fd5b506014546001600160a01b03166108fc610e5c8484611b1c565b6040518115909202916000818181858888f19350505050158015610a35573d6000803e3d6000fd5b610a3583838360405180602001604052806000815250611268565b6000610db9826116cd565b600080610eb8600284611b78565b509392505050565b600a546001600160a01b03163314610eea5760405162461bcd60e51b81526004016107bb90612881565b610c1281611b94565b6000610db982604051806060016040528060298152602001612ad56029913960029190611ba7565b6060600980546107d8906129ba565b600a546001600160a01b03163314610f545760405162461bcd60e51b81526004016107bb90612881565b600e55565b60006001600160a01b038216610fc45760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107bb565b6001600160a01b0382166000908152600160205260409020610db990611840565b600a546001600160a01b0316331461100f5760405162461bcd60e51b81526004016107bb90612881565b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b600a546001600160a01b031633146110835760405162461bcd60e51b81526004016107bb90612881565b600c54156110d35760405162461bcd60e51b815260206004820152601d60248201527f5374617274696e6720696e64657820697320616c72656164792073657400000060448201526064016107bb565b43600b55565b606060006110e683610f59565b905080611103576040805160008082526020820190925290610eb8565b60008167ffffffffffffffff81111561111e5761111e612a76565b604051908082528060200260200182016040528015611147578160200160208202803683370190505b50905060005b82811015610eb85761115f8582610d94565b82828151811061117157611171612a60565b602090810291909101015280611186816129ef565b91505061114d565b50919050565b6060600780546107d8906129ba565b6001600160a01b0382163314156111fc5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107bb565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611272338361184a565b61128e5760405162461bcd60e51b81526004016107bb906128b6565b610d8e84848484611bbe565b60606112a5826116cd565b6113095760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107bb565b600c541580159061131c57506010544210155b1561137f57600061132b610f1b565b90506000611352600f54600c54866113439190612907565b61134d9190612a0a565b611bf1565b9050818160405160200161136792919061276c565b60405160208183030381529060405292505050919050565b6011805461138c906129ba565b80601f01602080910402602001604051908101604052809291908181526020018280546113b8906129ba565b80156114055780601f106113da57610100808354040283529160200191611405565b820191906000526020600020905b8154815290600101906020018083116113e857829003601f168201915b50505050509050919050565b919050565b60118054611423906129ba565b80601f016020809104026020016040519081016040528092919081815260200182805461144f906129ba565b801561149c5780601f106114715761010080835404028352916020019161149c565b820191906000526020600020905b81548152906001019060200180831161147f57829003601f168201915b505050505081565b600c54156114f45760405162461bcd60e51b815260206004820152601d60248201527f5374617274696e6720696e64657820697320616c72656164792073657400000060448201526064016107bb565b600b546115435760405162461bcd60e51b815260206004820181905260248201527f5374617274696e6720696e64657820626c6f636b206d7573742062652073657460448201526064016107bb565b600f54600b54611554919040612a0a565b600c55600b5460ff90611568904390611b1c565b111561158b57600f5461157c600143612977565b611587919040612a0a565b600c555b600c546115a457600c546115a0906001611748565b600c555b565b600a546001600160a01b031633146115d05760405162461bcd60e51b81526004016107bb90612881565b6001600160a01b0381166116355760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107bb565b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b600a546001600160a01b031633146116bb5760405162461bcd60e51b81526004016107bb90612881565b600d55565b60128054611423906129ba565b6000610db9600283611d1a565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061170f82610ef3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806117558385612907565b905083811015610db65760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016107bb565b6000826117b657506000610db9565b60006117c28385612958565b9050826117cf8583612944565b14610db65760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016107bb565b610898828260405180602001604052806000815250611d32565b6000610db9825490565b6000611855826116cd565b6118b65760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107bb565b60006118c183610ef3565b9050806001600160a01b0316846001600160a01b031614806118fc5750836001600160a01b03166118f18461089c565b6001600160a01b0316145b8061192c57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661194782610ef3565b6001600160a01b0316146119af5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016107bb565b6001600160a01b038216611a115760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107bb565b611a1c6000826116da565b6001600160a01b0383166000908152600160205260409020611a3e9082611d65565b506001600160a01b0382166000908152600160205260409020611a619082611d71565b50611a6e60028284611d7d565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610db68383611d93565b6000808211611b125760405162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f00000000000060448201526064016107bb565b610db68284612944565b600082821115611b6e5760405162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f77000060448201526064016107bb565b610db68284612977565b6000808080611b878686611e19565b9097909650945050505050565b80516108989060099060208401906123f6565b6000611bb4848484611eb6565b90505b9392505050565b611bc9848484611934565b611bd584848484611f1f565b610d8e5760405162461bcd60e51b81526004016107bb9061282f565b606081611c155750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611c3f5780611c29816129ef565b9150611c389050600a83612944565b9150611c19565b60008167ffffffffffffffff811115611c5a57611c5a612a76565b6040519080825280601f01601f191660200182016040528015611c84576020820181803683370190505b509050815b8515611d1157611c9a600182612977565b90506000611ca9600a88612944565b611cb490600a612958565b611cbe9088612977565b611cc990603061291f565b905060008160f81b905080848481518110611ce657611ce6612a60565b60200101906001600160f81b031916908160001a905350611d08600a89612944565b97505050611c89565b50949350505050565b60008181526001830160205260408120541515610db6565b611d3c8383611ff0565b611d496000848484611f1f565b610a355760405162461bcd60e51b81526004016107bb9061282f565b6000610db68383612108565b6000610db683836121fb565b6000611bb484846001600160a01b03851661224a565b81546000908210611df15760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016107bb565b826000018281548110611e0657611e06612a60565b9060005260206000200154905092915050565b815460009081908310611e795760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016107bb565b6000846000018481548110611e9057611e90612a60565b906000526020600020906002020190508060000154816001015492509250509250929050565b60008281526001840160205260408120548281611ee65760405162461bcd60e51b81526004016107bb919061281c565b5084611ef3600183612977565b81548110611f0357611f03612a60565b9060005260206000209060020201600101549150509392505050565b60006001600160a01b0384163b611f385750600161192c565b6000611fb9630a85bd0160e11b33888787604051602401611f5c949392919061279b565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001612aa3603291396001600160a01b03881691906122eb565b9050600081806020019051810190611fd191906126a5565b6001600160e01b031916630a85bd0160e11b1492505050949350505050565b6001600160a01b0382166120465760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107bb565b61204f816116cd565b1561209c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107bb565b6001600160a01b03821660009081526001602052604090206120be9082611d71565b506120cb60028284611d7d565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600081815260018301602052604081205480156121f157600061212c600183612977565b855490915060009061214090600190612977565b9050600086600001828154811061215957612159612a60565b906000526020600020015490508087600001848154811061217c5761217c612a60565b600091825260209091200155612193836001612907565b600082815260018901602052604090205586548790806121b5576121b5612a4a565b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610db9565b6000915050610db9565b600081815260018301602052604081205461224257508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610db9565b506000610db9565b6000828152600184016020526040812054806122af575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055611bb7565b82856122bc600184612977565b815481106122cc576122cc612a60565b9060005260206000209060020201600101819055506000915050611bb7565b6060611bb4848460008585843b6123445760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016107bb565b600080866001600160a01b031685876040516123609190612750565b60006040518083038185875af1925050503d806000811461239d576040519150601f19603f3d011682016040523d82523d6000602084013e6123a2565b606091505b50915091506123b28282866123bd565b979650505050505050565b606083156123cc575081611bb7565b8251156123dc5782518084602001fd5b8160405162461bcd60e51b81526004016107bb919061281c565b828054612402906129ba565b90600052602060002090601f016020900481019282612424576000855561246a565b82601f1061243d57805160ff191683800117855561246a565b8280016001018555821561246a579182015b8281111561246a57825182559160200191906001019061244f565b5061247692915061247a565b5090565b5b80821115612476576000815560010161247b565b600067ffffffffffffffff808411156124aa576124aa612a76565b604051601f8501601f19908116603f011681019082821181831017156124d2576124d2612a76565b816040528093508581528686860111156124eb57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461141157600080fd5b60006020828403121561252e57600080fd5b610db682612505565b6000806040838503121561254a57600080fd5b61255383612505565b915061256160208401612505565b90509250929050565b60008060006060848603121561257f57600080fd5b61258884612505565b925061259660208501612505565b9150604084013590509250925092565b600080600080608085870312156125bc57600080fd5b6125c585612505565b93506125d360208601612505565b925060408501359150606085013567ffffffffffffffff8111156125f657600080fd5b8501601f8101871361260757600080fd5b6126168782356020840161248f565b91505092959194509250565b6000806040838503121561263557600080fd5b61263e83612505565b91506020830135801515811461265357600080fd5b809150509250929050565b6000806040838503121561267157600080fd5b61267a83612505565b946020939093013593505050565b60006020828403121561269a57600080fd5b8135610db681612a8c565b6000602082840312156126b757600080fd5b8151610db681612a8c565b6000602082840312156126d457600080fd5b813567ffffffffffffffff8111156126eb57600080fd5b8201601f810184136126fc57600080fd5b61192c8482356020840161248f565b60006020828403121561271d57600080fd5b5035919050565b6000815180845261273c81602086016020860161298e565b601f01601f19169290920160200192915050565b6000825161276281846020870161298e565b9190910192915050565b6000835161277e81846020880161298e565b83519083019061279281836020880161298e565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906127ce90830184612724565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612810578351835292840192918401916001016127f4565b50909695505050505050565b602081526000610db66020830184612724565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000821982111561291a5761291a612a1e565b500190565b600060ff821660ff84168060ff0382111561293c5761293c612a1e565b019392505050565b60008261295357612953612a34565b500490565b600081600019048311821515161561297257612972612a1e565b500290565b60008282101561298957612989612a1e565b500390565b60005b838110156129a9578181015183820152602001612991565b83811115610d8e5750506000910152565b600181811c908216806129ce57607f821691505b6020821081141561118e57634e487b7160e01b600052602260045260246000fd5b6000600019821415612a0357612a03612a1e565b5060010190565b600082612a1957612a19612a34565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610c1257600080fdfe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea2646970667358221220618c0ea0ecf000dc27713ab22e07882487fede39a8b3e3a0d2db5ecb88ac62ed64736f6c63430008060033

Deployed Bytecode Sourcemap

66509:7315:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69680:127;;;;;;;;;;-1:-1:-1;69680:127:0;;;;;:::i;:::-;;:::i;:::-;;10068:150;;;;;;;;;;-1:-1:-1;10068:150:0;;;;;:::i;:::-;-1:-1:-1;;;;;;10177:33:0;10153:4;10177:33;;;;;;;;;;;;;;10068:150;;;;6562:14:1;;6555:22;6537:41;;6525:2;6510:18;10068:150:0;;;;;;;;51127:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;70317:120::-;;;;;;;;;;-1:-1:-1;70317:120:0;;;;;:::i;:::-;;:::i;53913:221::-;;;;;;;;;;-1:-1:-1;53913:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5223:32:1;;;5205:51;;5193:2;5178:18;53913:221:0;5160:102:1;53443:404:0;;;;;;;;;;-1:-1:-1;53443:404:0;;;;;:::i;:::-;;:::i;71330:1087::-;;;;;;:::i;:::-;;:::i;66701:24::-;;;;;;;;;;;;;;;;;;;18486:25:1;;;18474:2;18459:18;66701:24:0;18441:76:1;69880:129:0;;;;;;;;;;-1:-1:-1;69880:129:0;;;;;:::i;:::-;;:::i;52921:211::-;;;;;;;;;;;;;:::i;66779:31::-;;;;;;;;;;;;;;;;71195:90;;;;;;;;;;;;;:::i;54803:305::-;;;;;;;;;;-1:-1:-1;54803:305:0;;;;;:::i;:::-;;:::i;69149:452::-;;;;;;;;;;-1:-1:-1;69149:452:0;;;;;:::i;:::-;;:::i;52683:162::-;;;;;;;;;;-1:-1:-1;52683:162:0;;;;;:::i;:::-;;:::i;73550:271::-;;;;;;;;;;;;;:::i;55179:151::-;;;;;;;;;;-1:-1:-1;55179:151:0;;;;;:::i;:::-;;:::i;68646:104::-;;;;;;;;;;-1:-1:-1;68646:104:0;;;;;:::i;:::-;;:::i;53209:172::-;;;;;;;;;;-1:-1:-1;53209:172:0;;;;;:::i;:::-;;:::i;70017:101::-;;;;;;;;;;-1:-1:-1;70017:101:0;;;;;:::i;:::-;;:::i;50883:177::-;;;;;;;;;;-1:-1:-1;50883:177:0;;;;;:::i;:::-;;:::i;66670:24::-;;;;;;;;;;;;;;;;52502:97;;;;;;;;;;;;;:::i;68984:100::-;;;;;;;;;;-1:-1:-1;68984:100:0;;;;;:::i;:::-;;:::i;50600:221::-;;;;;;;;;;-1:-1:-1;50600:221:0;;;;;:::i;:::-;;:::i;65792:148::-;;;;;;;;;;;;;:::i;73348:194::-;;;;;;;;;;;;;:::i;67438:477::-;;;;;;;;;;-1:-1:-1;67438:477:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;65141:87::-;;;;;;;;;;-1:-1:-1;65214:6:0;;-1:-1:-1;;;;;65214:6:0;65141:87;;51296:104;;;;;;;;;;;;;:::i;66732:40::-;;;;;;;;;;;;;;;;54206:295;;;;;;;;;;-1:-1:-1;54206:295:0;;;;;:::i;:::-;;:::i;55401:285::-;;;;;;;;;;-1:-1:-1;55401:285:0;;;;;:::i;:::-;;:::i;70540:580::-;;;;;;;;;;-1:-1:-1;70540:580:0;;;;;:::i;:::-;;:::i;66635:28::-;;;;;;;;;;;;;;;;66817:26;;;;;;;;;;;;;:::i;66595:33::-;;;;;;;;;;;;;;;;54572:164;;;;;;;;;;-1:-1:-1;54572:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;54693:25:0;;;54669:4;54693:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;54572:164;72493:718;;;;;;;;;;;;;:::i;66893:24::-;;;;;;;;;;-1:-1:-1;66893:24:0;;;;;;;;66095:244;;;;;;;;;;-1:-1:-1;66095:244:0;;;;;:::i;:::-;;:::i;68820:94::-;;;;;;;;;;-1:-1:-1;68820:94:0;;;;;:::i;:::-;;:::i;66852:34::-;;;;;;;;;;;;;:::i;69680:127::-;65214:6;;-1:-1:-1;;;;;65214:6:0;829:10;65361:23;65353:68;;;;-1:-1:-1;;;65353:68:0;;;;;;;:::i;:::-;;;;;;;;;69764:16:::1;:35:::0;69680:127::o;51127:100::-;51181:13;51214:5;51207:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51127:100;:::o;70317:120::-;65214:6;;-1:-1:-1;;;;;65214:6:0;829:10;65361:23;65353:68;;;;-1:-1:-1;;;65353:68:0;;;;;;;:::i;:::-;70401:28;;::::1;::::0;:12:::1;::::0;:28:::1;::::0;::::1;::::0;::::1;:::i;:::-;;70317:120:::0;:::o;53913:221::-;53989:7;54017:16;54025:7;54017;:16::i;:::-;54009:73;;;;-1:-1:-1;;;54009:73:0;;15047:2:1;54009:73:0;;;15029:21:1;15086:2;15066:18;;;15059:30;15125:34;15105:18;;;15098:62;-1:-1:-1;;;15176:18:1;;;15169:42;15228:19;;54009:73:0;15019:234:1;54009:73:0;-1:-1:-1;54102:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;54102:24:0;;53913:221::o;53443:404::-;53524:13;53540:23;53555:7;53540:14;:23::i;:::-;53524:39;;53588:5;-1:-1:-1;;;;;53582:11:0;:2;-1:-1:-1;;;;;53582:11:0;;;53574:57;;;;-1:-1:-1;;;53574:57:0;;16647:2:1;53574:57:0;;;16629:21:1;16686:2;16666:18;;;16659:30;16725:34;16705:18;;;16698:62;-1:-1:-1;;;16776:18:1;;;16769:31;16817:19;;53574:57:0;16619:223:1;53574:57:0;829:10;-1:-1:-1;;;;;53652:21:0;;;;:69;;-1:-1:-1;53677:44:0;53701:5;829:10;54572:164;:::i;53677:44::-;53644:161;;;;-1:-1:-1;;;53644:161:0;;12684:2:1;53644:161:0;;;12666:21:1;12723:2;12703:18;;;12696:30;12762:34;12742:18;;;12735:62;12833:26;12813:18;;;12806:54;12877:19;;53644:161:0;12656:246:1;53644:161:0;53818:21;53827:2;53831:7;53818:8;:21::i;:::-;53513:334;53443:404;;:::o;71330:1087::-;71419:12;;;;71411:52;;;;-1:-1:-1;;;71411:52:0;;10795:2:1;71411:52:0;;;10777:21:1;10834:2;10814:18;;;10807:30;10873:29;10853:18;;;10846:57;10920:18;;71411:52:0;10767:177:1;71411:52:0;71500:9;;71482:14;:27;;71474:71;;;;-1:-1:-1;;;71474:71:0;;7418:2:1;71474:71:0;;;7400:21:1;7457:2;7437:18;;;7430:30;7496:33;7476:18;;;7469:61;7547:18;;71474:71:0;7390:181:1;71474:71:0;71601:25;;71564:33;71582:14;71564:13;:11;:13::i;:::-;:17;;:33::i;:::-;:62;;71556:107;;;;-1:-1:-1;;;71556:107:0;;13520:2:1;71556:107:0;;;13502:21:1;;;13539:18;;;13532:30;13598:34;13578:18;;;13571:62;13650:18;;71556:107:0;13492:182:1;71556:107:0;71682:9;;71715;;71682:29;;71696:14;71682:13;:29::i;:::-;:42;;71674:86;;;;-1:-1:-1;;;71674:86:0;;10076:2:1;71674:86:0;;;10058:21:1;10115:2;10095:18;;;10088:30;10154:33;10134:18;;;10127:61;10205:18;;71674:86:0;10048:181:1;71674:86:0;71785:9;71781:232;71804:14;71800:1;:18;71781:232;;;71840:17;71860:13;:11;:13::i;:::-;71840:33;;71908:25;;71892:13;:11;:13::i;:::-;:41;71888:114;;;71954:32;71964:10;71976:9;71954;:32::i;:::-;-1:-1:-1;71820:3:0;;;;:::i;:::-;;;;71781:232;;;-1:-1:-1;72237:18:0;;:23;:110;;;;;72282:25;;72265:13;:11;:13::i;:::-;:42;:81;;;;72330:16;;72311:15;:35;;72265:81;72233:176;;;72385:12;72364:18;:33;72233:176;71330:1087;:::o;69880:129::-;65214:6;;-1:-1:-1;;;;;65214:6:0;829:10;65361:23;65353:68;;;;-1:-1:-1;;;65353:68:0;;;;;;;:::i;:::-;69968:33;;::::1;::::0;:15:::1;::::0;:33:::1;::::0;::::1;::::0;::::1;:::i;52921:211::-:0;52982:7;53103:21;:12;:19;:21::i;:::-;53096:28;;52921:211;:::o;71195:90::-;65214:6;;-1:-1:-1;;;;;65214:6:0;829:10;65361:23;65353:68;;;;-1:-1:-1;;;65353:68:0;;;;;;;:::i;:::-;71265:12:::1;::::0;;-1:-1:-1;;71249:28:0;::::1;71265:12;::::0;;::::1;71264:13;71249:28;::::0;;71195:90::o;54803:305::-;54964:41;829:10;54997:7;54964:18;:41::i;:::-;54956:103;;;;-1:-1:-1;;;54956:103:0;;;;;;;:::i;:::-;55072:28;55082:4;55088:2;55092:7;55072:9;:28::i;69149:452::-;65214:6;;-1:-1:-1;;;;;65214:6:0;829:10;65361:23;65353:68;;;;-1:-1:-1;;;65353:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;69257:17:0;::::1;69249:57;;;::::0;-1:-1:-1;;;69249:57:0;;17049:2:1;69249:57:0::1;::::0;::::1;17031:21:1::0;17088:2;17068:18;;;17061:30;17127:29;17107:18;;;17100:57;17174:18;;69249:57:0::1;17021:177:1::0;69249:57:0::1;69319:14;69336:13;:11;:13::i;:::-;69319:30;;69360:9;69501:91;69517:15;69513:1;:19;69501:91;;;69554:26;69564:3:::0;69569:10:::1;69578:1:::0;69569:6;:10:::1;:::i;:::-;69554:9;:26::i;:::-;69534:3:::0;::::1;::::0;::::1;:::i;:::-;;;;69501:91;;;69238:363;;69149:452:::0;;:::o;52683:162::-;-1:-1:-1;;;;;52807:20:0;;52780:7;52807:20;;;:13;:20;;;;;:30;;52831:5;52807:23;:30::i;:::-;52800:37;;52683:162;;;;;:::o;73550:271::-;65214:6;;-1:-1:-1;;;;;65214:6:0;829:10;65361:23;65353:68;;;;-1:-1:-1;;;65353:68:0;;;;;;;:::i;:::-;73618:21:::1;73600:15;73674:24;73694:3;73674:15;73618:21:::0;73686:2:::1;73674:11;:15::i;:::-;:19:::0;::::1;:24::i;:::-;73717:7;::::0;73709:40:::1;::::0;73650:48;;-1:-1:-1;73717:7:0::1;::::0;::::1;-1:-1:-1::0;;;;;73717:7:0::1;::::0;73709:40:::1;::::0;::::1;;::::0;73650:48;;73709:40:::1;::::0;;;73650:48;73717:7;73709:40;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;73768:7:0::1;::::0;-1:-1:-1;;;;;73768:7:0::1;73760:53;73786:26;:7:::0;73798:13;73786:11:::1;:26::i;:::-;73760:53;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;::::1;;;;;;;;;;;;;::::0;::::1;;;;55179:151:::0;55283:39;55300:4;55306:2;55310:7;55283:39;;;;;;;;;;;;:16;:39::i;68646:104::-;68701:4;68725:17;68733:8;68725:7;:17::i;53209:172::-;53284:7;;53326:22;:12;53342:5;53326:15;:22::i;:::-;-1:-1:-1;53304:44:0;53209:172;-1:-1:-1;;;53209:172:0:o;70017:101::-;65214:6;;-1:-1:-1;;;;;65214:6:0;829:10;65361:23;65353:68;;;;-1:-1:-1;;;65353:68:0;;;;;;;:::i;:::-;70090:20:::1;70102:7;70090:11;:20::i;50883:177::-:0;50955:7;50982:70;50999:7;50982:70;;;;;;;;;;;;;;;;;:12;;:70;:16;:70::i;52502:97::-;52550:13;52583:8;52576:15;;;;;:::i;68984:100::-;65214:6;;-1:-1:-1;;;;;65214:6:0;829:10;65361:23;65353:68;;;;-1:-1:-1;;;65353:68:0;;;;;;;:::i;:::-;69055:9:::1;:21:::0;68984:100::o;50600:221::-;50672:7;-1:-1:-1;;;;;50700:19:0;;50692:74;;;;-1:-1:-1;;;50692:74:0;;13109:2:1;50692:74:0;;;13091:21:1;13148:2;13128:18;;;13121:30;13187:34;13167:18;;;13160:62;-1:-1:-1;;;13238:18:1;;;13231:40;13288:19;;50692:74:0;13081:232:1;50692:74:0;-1:-1:-1;;;;;50784:20:0;;;;;;:13;:20;;;;;:29;;:27;:29::i;65792:148::-;65214:6;;-1:-1:-1;;;;;65214:6:0;829:10;65361:23;65353:68;;;;-1:-1:-1;;;65353:68:0;;;;;;;:::i;:::-;65883:6:::1;::::0;65862:40:::1;::::0;65899:1:::1;::::0;-1:-1:-1;;;;;65883:6:0::1;::::0;65862:40:::1;::::0;65899:1;;65862:40:::1;65913:6;:19:::0;;-1:-1:-1;;;;;;65913:19:0::1;::::0;;65792:148::o;73348:194::-;65214:6;;-1:-1:-1;;;;;65214:6:0;829:10;65361:23;65353:68;;;;-1:-1:-1;;;65353:68:0;;;;;;;:::i;:::-;73428:13:::1;::::0;:18;73420:60:::1;;;::::0;-1:-1:-1;;;73420:60:0;;12326:2:1;73420:60:0::1;::::0;::::1;12308:21:1::0;12365:2;12345:18;;;12338:30;12404:31;12384:18;;;12377:59;12453:18;;73420:60:0::1;12298:179:1::0;73420:60:0::1;73522:12;73501:18;:33:::0;73348:194::o;67438:477::-;67499:16;67528:18;67549:17;67559:6;67549:9;:17::i;:::-;67528:38;-1:-1:-1;67581:15:0;67577:331;;67620:16;;;67634:1;67620:16;;;;;;;;;;;;67577:331;67669:23;67709:10;67695:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67695:25:0;;67669:51;;67740:13;67735:134;67763:10;67755:5;:18;67735:134;;;67819:34;67839:6;67847:5;67819:19;:34::i;:::-;67803:6;67810:5;67803:13;;;;;;;;:::i;:::-;;;;;;;;;;:50;67775:7;;;;:::i;:::-;;;;67735:134;;67577:331;67517:398;67438:477;;;:::o;51296:104::-;51352:13;51385:7;51378:14;;;;;:::i;54206:295::-;-1:-1:-1;;;;;54309:24:0;;829:10;54309:24;;54301:62;;;;-1:-1:-1;;;54301:62:0;;9722:2:1;54301:62:0;;;9704:21:1;9761:2;9741:18;;;9734:30;9800:27;9780:18;;;9773:55;9845:18;;54301:62:0;9694:175:1;54301:62:0;829:10;54376:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;54376:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;54376:53:0;;;;;;;;;;54445:48;;6537:41:1;;;54376:42:0;;829:10;54445:48;;6510:18:1;54445:48:0;;;;;;;54206:295;;:::o;55401:285::-;55533:41;829:10;55566:7;55533:18;:41::i;:::-;55525:103;;;;-1:-1:-1;;;55525:103:0;;;;;;;:::i;:::-;55639:39;55653:4;55659:2;55663:7;55672:5;55639:13;:39::i;70540:580::-;70613:13;70647:16;70655:7;70647;:16::i;:::-;70639:76;;;;-1:-1:-1;;;70639:76:0;;16231:2:1;70639:76:0;;;16213:21:1;16270:2;16250:18;;;16243:30;16309:34;16289:18;;;16282:62;-1:-1:-1;;;16360:18:1;;;16353:45;16415:19;;70639:76:0;16203:237:1;70639:76:0;70731:13;;:18;;;;:57;;;70772:16;;70753:15;:35;;70731:57;70728:385;;;70814:18;70835:9;:7;:9::i;:::-;70814:30;;70859:32;70894:65;70932:25;;70915:13;;70905:7;:23;;;;:::i;:::-;70904:53;;;;:::i;:::-;70894:8;:65::i;:::-;70859:100;;71005:4;71011:18;70988:42;;;;;;;;;:::i;:::-;;;;;;;;;;;;;70974:57;;;;70540:580;;;:::o;70728:385::-;71089:12;71082:19;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70540:580;;;:::o;70728:385::-;70540:580;;;:::o;66817:26::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;72493:718::-;72549:13;;:18;72541:60;;;;-1:-1:-1;;;72541:60:0;;12326:2:1;72541:60:0;;;12308:21:1;12365:2;12345:18;;;12338:30;12404:31;12384:18;;;12377:59;12453:18;;72541:60:0;12298:179:1;72541:60:0;72620:18;;72612:68;;;;-1:-1:-1;;;72612:68:0;;17405:2:1;72612:68:0;;;17387:21:1;;;17424:18;;;17417:30;17483:34;17463:18;;;17456:62;17535:18;;72612:68:0;17377:182:1;72612:68:0;72758:25;;72735:18;;72717:66;;72758:25;72725:29;72717:66;:::i;:::-;72701:13;:82;72936:18;;72958:3;;72919:36;;:12;;:16;:36::i;:::-;:42;72915:155;;;73033:25;;73012:16;73027:1;73012:12;:16;:::i;:::-;72994:64;;;73002:27;72994:64;:::i;:::-;72978:13;:80;72915:155;73121:13;;73117:87;;73172:13;;:20;;73190:1;73172:17;:20::i;:::-;73156:13;:36;73117:87;72493:718::o;66095:244::-;65214:6;;-1:-1:-1;;;;;65214:6:0;829:10;65361:23;65353:68;;;;-1:-1:-1;;;65353:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;66184:22:0;::::1;66176:73;;;::::0;-1:-1:-1;;;66176:73:0;;8197:2:1;66176:73:0::1;::::0;::::1;8179:21:1::0;8236:2;8216:18;;;8209:30;8275:34;8255:18;;;8248:62;-1:-1:-1;;;8326:18:1;;;8319:36;8372:19;;66176:73:0::1;8169:228:1::0;66176:73:0::1;66286:6;::::0;66265:38:::1;::::0;-1:-1:-1;;;;;66265:38:0;;::::1;::::0;66286:6:::1;::::0;66265:38:::1;::::0;66286:6:::1;::::0;66265:38:::1;66314:6;:17:::0;;-1:-1:-1;;;;;;66314:17:0::1;-1:-1:-1::0;;;;;66314:17:0;;;::::1;::::0;;;::::1;::::0;;66095:244::o;68820:94::-;65214:6;;-1:-1:-1;;;;;65214:6:0;829:10;65361:23;65353:68;;;;-1:-1:-1;;;65353:68:0;;;;;;;:::i;:::-;68888:9:::1;:18:::0;68820:94::o;66852:34::-;;;;;;;:::i;57153:127::-;57218:4;57242:30;:12;57264:7;57242:21;:30::i;63171:192::-;63246:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;63246:29:0;-1:-1:-1;;;;;63246:29:0;;;;;;;;:24;;63300:23;63246:24;63300:14;:23::i;:::-;-1:-1:-1;;;;;63291:46:0;;;;;;;;;;;63171:192;;:::o;13593:179::-;13651:7;;13683:5;13687:1;13683;:5;:::i;:::-;13671:17;;13712:1;13707;:6;;13699:46;;;;-1:-1:-1;;;13699:46:0;;8961:2:1;13699:46:0;;;8943:21:1;9000:2;8980:18;;;8973:30;9039:29;9019:18;;;9012:57;9086:18;;13699:46:0;8933:177:1;14472:220:0;14530:7;14554:6;14550:20;;-1:-1:-1;14569:1:0;14562:8;;14550:20;14581:9;14593:5;14597:1;14593;:5;:::i;:::-;14581:17;-1:-1:-1;14626:1:0;14617:5;14621:1;14581:17;14617:5;:::i;:::-;:10;14609:56;;;;-1:-1:-1;;;14609:56:0;;14645:2:1;14609:56:0;;;14627:21:1;14684:2;14664:18;;;14657:30;14723:34;14703:18;;;14696:62;-1:-1:-1;;;14774:18:1;;;14767:31;14815:19;;14609:56:0;14617:223:1;58145:110:0;58221:26;58231:2;58235:7;58221:26;;;;;;;;;;;;:9;:26::i;43961:123::-;44030:7;44057:19;44065:3;40623:19;;40540:110;57447:355;57540:4;57565:16;57573:7;57565;:16::i;:::-;57557:73;;;;-1:-1:-1;;;57557:73:0;;11558:2:1;57557:73:0;;;11540:21:1;11597:2;11577:18;;;11570:30;11636:34;11616:18;;;11609:62;-1:-1:-1;;;11687:18:1;;;11680:42;11739:19;;57557:73:0;11530:234:1;57557:73:0;57641:13;57657:23;57672:7;57657:14;:23::i;:::-;57641:39;;57710:5;-1:-1:-1;;;;;57699:16:0;:7;-1:-1:-1;;;;;57699:16:0;;:51;;;;57743:7;-1:-1:-1;;;;;57719:31:0;:20;57731:7;57719:11;:20::i;:::-;-1:-1:-1;;;;;57719:31:0;;57699:51;:94;;;-1:-1:-1;;;;;;54693:25:0;;;54669:4;54693:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;57754:39;57691:103;57447:355;-1:-1:-1;;;;57447:355:0:o;60583:599::-;60708:4;-1:-1:-1;;;;;60681:31:0;:23;60696:7;60681:14;:23::i;:::-;-1:-1:-1;;;;;60681:31:0;;60673:85;;;;-1:-1:-1;;;60673:85:0;;15821:2:1;60673:85:0;;;15803:21:1;15860:2;15840:18;;;15833:30;15899:34;15879:18;;;15872:62;-1:-1:-1;;;15950:18:1;;;15943:39;15999:19;;60673:85:0;15793:231:1;60673:85:0;-1:-1:-1;;;;;60795:16:0;;60787:65;;;;-1:-1:-1;;;60787:65:0;;9317:2:1;60787:65:0;;;9299:21:1;9356:2;9336:18;;;9329:30;9395:34;9375:18;;;9368:62;-1:-1:-1;;;9446:18:1;;;9439:34;9490:19;;60787:65:0;9289:226:1;60787:65:0;60969:29;60986:1;60990:7;60969:8;:29::i;:::-;-1:-1:-1;;;;;61011:19:0;;;;;;:13;:19;;;;;:35;;61038:7;61011:26;:35::i;:::-;-1:-1:-1;;;;;;61057:17:0;;;;;;:13;:17;;;;;:30;;61079:7;61057:21;:30::i;:::-;-1:-1:-1;61100:29:0;:12;61117:7;61126:2;61100:16;:29::i;:::-;;61166:7;61162:2;-1:-1:-1;;;;;61147:27:0;61156:4;-1:-1:-1;;;;;61147:27:0;;;;;;;;;;;60583:599;;;:::o;35789:137::-;35860:7;35895:22;35899:3;35911:5;35895:3;:22::i;15170:153::-;15228:7;15260:1;15256;:5;15248:44;;;;-1:-1:-1;;;15248:44:0;;11971:2:1;15248:44:0;;;11953:21:1;12010:2;11990:18;;;11983:30;12049:28;12029:18;;;12022:56;12095:18;;15248:44:0;11943:176:1;15248:44:0;15310:5;15314:1;15310;:5;:::i;14055:158::-;14113:7;14146:1;14141;:6;;14133:49;;;;-1:-1:-1;;;14133:49:0;;10436:2:1;14133:49:0;;;10418:21:1;10475:2;10455:18;;;10448:30;10514:32;10494:18;;;10487:60;10564:18;;14133:49:0;10408:180:1;14133:49:0;14200:5;14204:1;14200;:5;:::i;44423:236::-;44503:7;;;;44563:22;44567:3;44579:5;44563:3;:22::i;:::-;44532:53;;;;-1:-1:-1;44423:236:0;-1:-1:-1;;;;;44423:236:0:o;61783:100::-;61856:19;;;;:8;;:19;;;;;:::i;45709:213::-;45816:7;45867:44;45872:3;45892;45898:12;45867:4;:44::i;:::-;45859:53;-1:-1:-1;45709:213:0;;;;;;:::o;56568:272::-;56682:28;56692:4;56698:2;56702:7;56682:9;:28::i;:::-;56729:48;56752:4;56758:2;56762:7;56771:5;56729:22;:48::i;:::-;56721:111;;;;-1:-1:-1;;;56721:111:0;;;;;;;:::i;67999:576::-;68052:27;68096:7;68092:50;;-1:-1:-1;;68120:10:0;;;;;;;;;;;;-1:-1:-1;;;68120:10:0;;;;;67999:576::o;68092:50::-;68161:2;68152:6;68193:69;68200:6;;68193:69;;68223:5;;;;:::i;:::-;;-1:-1:-1;68243:7:0;;-1:-1:-1;68248:2:0;68243:7;;:::i;:::-;;;68193:69;;;68272:17;68302:3;68292:14;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68292:14:0;-1:-1:-1;68272:34:0;-1:-1:-1;68326:3:0;68340:198;68347:7;;68340:198;;68375:3;68377:1;68375;:3;:::i;:::-;68371:7;-1:-1:-1;68393:10:0;68423:7;68428:2;68423;:7;:::i;:::-;:12;;68433:2;68423:12;:::i;:::-;68418:17;;:2;:17;:::i;:::-;68407:29;;:2;:29;:::i;:::-;68393:44;;68452:9;68471:4;68464:12;;68452:24;;68501:2;68491:4;68496:1;68491:7;;;;;;;;:::i;:::-;;;;:12;-1:-1:-1;;;;;68491:12:0;;;;;;;;-1:-1:-1;68518:8:0;68524:2;68518:8;;:::i;:::-;;;68356:182;;68340:198;;;-1:-1:-1;68562:4:0;67999:576;-1:-1:-1;;;;67999:576:0:o;43722:151::-;43806:4;40415:17;;;:12;;;:17;;;;;;:22;;43830:35;40320:125;58482:250;58578:18;58584:2;58588:7;58578:5;:18::i;:::-;58615:54;58646:1;58650:2;58654:7;58663:5;58615:22;:54::i;:::-;58607:117;;;;-1:-1:-1;;;58607:117:0;;;;;;;:::i;34876:137::-;34946:4;34970:35;34978:3;34998:5;34970:7;:35::i;34569:131::-;34636:4;34660:32;34665:3;34685:5;34660:4;:32::i;43145:185::-;43234:4;43258:64;43263:3;43283;-1:-1:-1;;;;;43297:23:0;;43258:4;:64::i;30829:204::-;30924:18;;30896:7;;30924:26;-1:-1:-1;30916:73:0;;;;-1:-1:-1;;;30916:73:0;;7015:2:1;30916:73:0;;;6997:21:1;7054:2;7034:18;;;7027:30;7093:34;7073:18;;;7066:62;-1:-1:-1;;;7144:18:1;;;7137:32;7186:19;;30916:73:0;6987:224:1;30916:73:0;31007:3;:11;;31019:5;31007:18;;;;;;;;:::i;:::-;;;;;;;;;31000:25;;30829:204;;;;:::o;41005:279::-;41109:19;;41072:7;;;;41109:27;-1:-1:-1;41101:74:0;;;;-1:-1:-1;;;41101:74:0;;13881:2:1;41101:74:0;;;13863:21:1;13920:2;13900:18;;;13893:30;13959:34;13939:18;;;13932:62;-1:-1:-1;;;14010:18:1;;;14003:32;14052:19;;41101:74:0;13853:224:1;41101:74:0;41188:22;41213:3;:12;;41226:5;41213:19;;;;;;;;:::i;:::-;;;;;;;;;;;41188:44;;41251:5;:10;;;41263:5;:12;;;41243:33;;;;;41005:279;;;;;:::o;42502:319::-;42596:7;42635:17;;;:12;;;:17;;;;;;42686:12;42671:13;42663:36;;;;-1:-1:-1;;;42663:36:0;;;;;;;;:::i;:::-;-1:-1:-1;42753:3:0;42766:12;42777:1;42766:8;:12;:::i;:::-;42753:26;;;;;;;;:::i;:::-;;;;;;;;;;;:33;;;42746:40;;;42502:319;;;;;:::o;62448:604::-;62569:4;-1:-1:-1;;;;;62596:13:0;;19364:20;62591:60;;-1:-1:-1;62635:4:0;62628:11;;62591:60;62661:23;62687:252;-1:-1:-1;;;829:10:0;62827:4;62846:7;62868:5;62703:181;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;-1:-1:-1;;;;;62703:181:0;;;;;;;-1:-1:-1;;;;;62703:181:0;;;;;;;;;;;62687:252;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;62687:15:0;;;:252;:15;:252::i;:::-;62661:278;;62950:13;62977:10;62966:32;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;63017:26:0;-1:-1:-1;;;63017:26:0;;-1:-1:-1;;;62448:604:0;;;;;;:::o;59068:404::-;-1:-1:-1;;;;;59148:16:0;;59140:61;;;;-1:-1:-1;;;59140:61:0;;14284:2:1;59140:61:0;;;14266:21:1;;;14303:18;;;14296:30;14362:34;14342:18;;;14335:62;14414:18;;59140:61:0;14256:182:1;59140:61:0;59221:16;59229:7;59221;:16::i;:::-;59220:17;59212:58;;;;-1:-1:-1;;;59212:58:0;;8604:2:1;59212:58:0;;;8586:21:1;8643:2;8623:18;;;8616:30;8682;8662:18;;;8655:58;8730:18;;59212:58:0;8576:178:1;59212:58:0;-1:-1:-1;;;;;59341:17:0;;;;;;:13;:17;;;;;:30;;59363:7;59341:21;:30::i;:::-;-1:-1:-1;59384:29:0;:12;59401:7;59410:2;59384:16;:29::i;:::-;-1:-1:-1;59431:33:0;;59456:7;;-1:-1:-1;;;;;59431:33:0;;;59448:1;;59431:33;;59448:1;;59431:33;59068:404;;:::o;28531:1544::-;28597:4;28736:19;;;:12;;;:19;;;;;;28772:15;;28768:1300;;29134:21;29158:14;29171:1;29158:10;:14;:::i;:::-;29207:18;;29134:38;;-1:-1:-1;29187:17:0;;29207:22;;29228:1;;29207:22;:::i;:::-;29187:42;;29474:17;29494:3;:11;;29506:9;29494:22;;;;;;;;:::i;:::-;;;;;;;;;29474:42;;29640:9;29611:3;:11;;29623:13;29611:26;;;;;;;;:::i;:::-;;;;;;;;;;:38;29743:17;:13;29759:1;29743:17;:::i;:::-;29717:23;;;;:12;;;:23;;;;;:43;29869:17;;29717:3;;29869:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;29964:3;:12;;:19;29977:5;29964:19;;;;;;;;;;;29957:26;;;30007:4;30000:11;;;;;;;;28768:1300;30051:5;30044:12;;;;;27941:414;28004:4;40415:17;;;:12;;;:17;;;;;;28021:327;;-1:-1:-1;28064:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;28247:18;;28225:19;;;:12;;;:19;;;;;;:40;;;;28280:11;;28021:327;-1:-1:-1;28331:5:0;28324:12;;37820:692;37896:4;38031:17;;;:12;;;:17;;;;;;38065:13;38061:444;;-1:-1:-1;;38150:38:0;;;;;;;;;;;;;;;;;;38132:57;;;;;;;;:12;:57;;;;;;;;;;;;;;;;;;;;;;;;38347:19;;38327:17;;;:12;;;:17;;;;;;;:39;38381:11;;38061:444;38461:5;38425:3;38438:12;38449:1;38438:8;:12;:::i;:::-;38425:26;;;;;;;;:::i;:::-;;;;;;;;;;;:33;;:41;;;;38488:5;38481:12;;;;;21915:195;22018:12;22050:52;22072:6;22080:4;22086:1;22089:12;22018;19364:20;;23211:60;;;;-1:-1:-1;;;23211:60:0;;18184:2:1;23211:60:0;;;18166:21:1;18223:2;18203:18;;;18196:30;18262:31;18242:18;;;18235:59;18311:18;;23211:60:0;18156:179:1;23211:60:0;23345:12;23359:23;23386:6;-1:-1:-1;;;;;23386:11:0;23406:5;23414:4;23386:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23344:75;;;;23437:52;23455:7;23464:10;23476:12;23437:17;:52::i;:::-;23430:59;22967:530;-1:-1:-1;;;;;;;22967:530:0:o;25507:742::-;25622:12;25651:7;25647:595;;;-1:-1:-1;25682:10:0;25675:17;;25647:595;25796:17;;:21;25792:439;;26059:10;26053:17;26120:15;26107:10;26103:2;26099:19;26092:44;25792:439;26202:12;26195:20;;-1:-1:-1;;;26195:20:0;;;;;;;;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:2;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:2;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:2;;;532:1;529;522:12;491:2;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;88:557;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:2;;813:1;810;803:12;828:186;887:6;940:2;928:9;919:7;915:23;911:32;908:2;;;956:1;953;946:12;908:2;979:29;998:9;979:29;:::i;1019:260::-;1087:6;1095;1148:2;1136:9;1127:7;1123:23;1119:32;1116:2;;;1164:1;1161;1154:12;1116:2;1187:29;1206:9;1187:29;:::i;:::-;1177:39;;1235:38;1269:2;1258:9;1254:18;1235:38;:::i;:::-;1225:48;;1106:173;;;;;:::o;1284:328::-;1361:6;1369;1377;1430:2;1418:9;1409:7;1405:23;1401:32;1398:2;;;1446:1;1443;1436:12;1398:2;1469:29;1488:9;1469:29;:::i;:::-;1459:39;;1517:38;1551:2;1540:9;1536:18;1517:38;:::i;:::-;1507:48;;1602:2;1591:9;1587:18;1574:32;1564:42;;1388:224;;;;;:::o;1617:666::-;1712:6;1720;1728;1736;1789:3;1777:9;1768:7;1764:23;1760:33;1757:2;;;1806:1;1803;1796:12;1757:2;1829:29;1848:9;1829:29;:::i;:::-;1819:39;;1877:38;1911:2;1900:9;1896:18;1877:38;:::i;:::-;1867:48;;1962:2;1951:9;1947:18;1934:32;1924:42;;2017:2;2006:9;2002:18;1989:32;2044:18;2036:6;2033:30;2030:2;;;2076:1;2073;2066:12;2030:2;2099:22;;2152:4;2144:13;;2140:27;-1:-1:-1;2130:2:1;;2181:1;2178;2171:12;2130:2;2204:73;2269:7;2264:2;2251:16;2246:2;2242;2238:11;2204:73;:::i;:::-;2194:83;;;1747:536;;;;;;;:::o;2288:347::-;2353:6;2361;2414:2;2402:9;2393:7;2389:23;2385:32;2382:2;;;2430:1;2427;2420:12;2382:2;2453:29;2472:9;2453:29;:::i;:::-;2443:39;;2532:2;2521:9;2517:18;2504:32;2579:5;2572:13;2565:21;2558:5;2555:32;2545:2;;2601:1;2598;2591:12;2545:2;2624:5;2614:15;;;2372:263;;;;;:::o;2640:254::-;2708:6;2716;2769:2;2757:9;2748:7;2744:23;2740:32;2737:2;;;2785:1;2782;2775:12;2737:2;2808:29;2827:9;2808:29;:::i;:::-;2798:39;2884:2;2869:18;;;;2856:32;;-1:-1:-1;;;2727:167:1:o;2899:245::-;2957:6;3010:2;2998:9;2989:7;2985:23;2981:32;2978:2;;;3026:1;3023;3016:12;2978:2;3065:9;3052:23;3084:30;3108:5;3084:30;:::i;3149:249::-;3218:6;3271:2;3259:9;3250:7;3246:23;3242:32;3239:2;;;3287:1;3284;3277:12;3239:2;3319:9;3313:16;3338:30;3362:5;3338:30;:::i;3403:450::-;3472:6;3525:2;3513:9;3504:7;3500:23;3496:32;3493:2;;;3541:1;3538;3531:12;3493:2;3581:9;3568:23;3614:18;3606:6;3603:30;3600:2;;;3646:1;3643;3636:12;3600:2;3669:22;;3722:4;3714:13;;3710:27;-1:-1:-1;3700:2:1;;3751:1;3748;3741:12;3700:2;3774:73;3839:7;3834:2;3821:16;3816:2;3812;3808:11;3774:73;:::i;3858:180::-;3917:6;3970:2;3958:9;3949:7;3945:23;3941:32;3938:2;;;3986:1;3983;3976:12;3938:2;-1:-1:-1;4009:23:1;;3928:110;-1:-1:-1;3928:110:1:o;4043:257::-;4084:3;4122:5;4116:12;4149:6;4144:3;4137:19;4165:63;4221:6;4214:4;4209:3;4205:14;4198:4;4191:5;4187:16;4165:63;:::i;:::-;4282:2;4261:15;-1:-1:-1;;4257:29:1;4248:39;;;;4289:4;4244:50;;4092:208;-1:-1:-1;;4092:208:1:o;4305:274::-;4434:3;4472:6;4466:13;4488:53;4534:6;4529:3;4522:4;4514:6;4510:17;4488:53;:::i;:::-;4557:16;;;;;4442:137;-1:-1:-1;;4442:137:1:o;4584:470::-;4763:3;4801:6;4795:13;4817:53;4863:6;4858:3;4851:4;4843:6;4839:17;4817:53;:::i;:::-;4933:13;;4892:16;;;;4955:57;4933:13;4892:16;4989:4;4977:17;;4955:57;:::i;:::-;5028:20;;4771:283;-1:-1:-1;;;;4771:283:1:o;5267:488::-;-1:-1:-1;;;;;5536:15:1;;;5518:34;;5588:15;;5583:2;5568:18;;5561:43;5635:2;5620:18;;5613:34;;;5683:3;5678:2;5663:18;;5656:31;;;5461:4;;5704:45;;5729:19;;5721:6;5704:45;:::i;:::-;5696:53;5470:285;-1:-1:-1;;;;;;5470:285:1:o;5760:632::-;5931:2;5983:21;;;6053:13;;5956:18;;;6075:22;;;5902:4;;5931:2;6154:15;;;;6128:2;6113:18;;;5902:4;6197:169;6211:6;6208:1;6205:13;6197:169;;;6272:13;;6260:26;;6341:15;;;;6306:12;;;;6233:1;6226:9;6197:169;;;-1:-1:-1;6383:3:1;;5911:481;-1:-1:-1;;;;;;5911:481:1:o;6589:219::-;6738:2;6727:9;6720:21;6701:4;6758:44;6798:2;6787:9;6783:18;6775:6;6758:44;:::i;7576:414::-;7778:2;7760:21;;;7817:2;7797:18;;;7790:30;7856:34;7851:2;7836:18;;7829:62;-1:-1:-1;;;7922:2:1;7907:18;;7900:48;7980:3;7965:19;;7750:240::o;15258:356::-;15460:2;15442:21;;;15479:18;;;15472:30;15538:34;15533:2;15518:18;;15511:62;15605:2;15590:18;;15432:182::o;17564:413::-;17766:2;17748:21;;;17805:2;17785:18;;;17778:30;17844:34;17839:2;17824:18;;17817:62;-1:-1:-1;;;17910:2:1;17895:18;;17888:47;17967:3;17952:19;;17738:239::o;18522:128::-;18562:3;18593:1;18589:6;18586:1;18583:13;18580:2;;;18599:18;;:::i;:::-;-1:-1:-1;18635:9:1;;18570:80::o;18655:204::-;18693:3;18729:4;18726:1;18722:12;18761:4;18758:1;18754:12;18796:3;18790:4;18786:14;18781:3;18778:23;18775:2;;;18804:18;;:::i;:::-;18840:13;;18701:158;-1:-1:-1;;;18701:158:1:o;18864:120::-;18904:1;18930;18920:2;;18935:18;;:::i;:::-;-1:-1:-1;18969:9:1;;18910:74::o;18989:168::-;19029:7;19095:1;19091;19087:6;19083:14;19080:1;19077:21;19072:1;19065:9;19058:17;19054:45;19051:2;;;19102:18;;:::i;:::-;-1:-1:-1;19142:9:1;;19041:116::o;19162:125::-;19202:4;19230:1;19227;19224:8;19221:2;;;19235:18;;:::i;:::-;-1:-1:-1;19272:9:1;;19211:76::o;19292:258::-;19364:1;19374:113;19388:6;19385:1;19382:13;19374:113;;;19464:11;;;19458:18;19445:11;;;19438:39;19410:2;19403:10;19374:113;;;19505:6;19502:1;19499:13;19496:2;;;-1:-1:-1;;19540:1:1;19522:16;;19515:27;19345:205::o;19555:380::-;19634:1;19630:12;;;;19677;;;19698:2;;19752:4;19744:6;19740:17;19730:27;;19698:2;19805;19797:6;19794:14;19774:18;19771:38;19768:2;;;19851:10;19846:3;19842:20;19839:1;19832:31;19886:4;19883:1;19876:15;19914:4;19911:1;19904:15;19940:135;19979:3;-1:-1:-1;;20000:17:1;;19997:2;;;20020:18;;:::i;:::-;-1:-1:-1;20067:1:1;20056:13;;19987:88::o;20080:112::-;20112:1;20138;20128:2;;20143:18;;:::i;:::-;-1:-1:-1;20177:9:1;;20118:74::o;20197:127::-;20258:10;20253:3;20249:20;20246:1;20239:31;20289:4;20286:1;20279:15;20313:4;20310:1;20303:15;20329:127;20390:10;20385:3;20381:20;20378:1;20371:31;20421:4;20418:1;20411:15;20445:4;20442:1;20435:15;20461:127;20522:10;20517:3;20513:20;20510:1;20503:31;20553:4;20550:1;20543:15;20577:4;20574:1;20567:15;20593:127;20654:10;20649:3;20645:20;20642:1;20635:31;20685:4;20682:1;20675:15;20709:4;20706:1;20699:15;20725:127;20786:10;20781:3;20777:20;20774:1;20767:31;20817:4;20814:1;20807:15;20841:4;20838:1;20831:15;20857:131;-1:-1:-1;;;;;;20931:32:1;;20921:43;;20911:2;;20978:1;20975;20968:12

Swarm Source

ipfs://618c0ea0ecf000dc27713ab22e07882487fede39a8b3e3a0d2db5ecb88ac62ed
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.