ETH Price: $2,641.34 (+1.39%)

Token

EtherDirt (DIRT)
 

Overview

Max Total Supply

95 DIRT

Holders

51

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 DIRT
0x84747165e0100cD7f9BdeB37d771E8d139f49e14
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:
EtherDirt

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

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

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

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        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

pragma solidity >=0.6.0 <0.8.0;

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

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

pragma solidity >=0.6.2 <0.8.0;


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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity >=0.6.2 <0.8.0;


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

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

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

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

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

pragma solidity >=0.6.2 <0.8.0;


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

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

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

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

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

pragma solidity >=0.6.0 <0.8.0;

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

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

pragma solidity >=0.6.0 <0.8.0;


/**
 * @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 () internal {
        // 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 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

pragma solidity >=0.6.0 <0.8.0;

/**
 * @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, 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) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * 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);
        uint256 c = a - b;

        return c;
    }

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

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

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

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

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

pragma solidity >=0.6.2 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

    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

pragma solidity >=0.6.0 <0.8.0;

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

pragma solidity >=0.6.0 <0.8.0;

/**
 * @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 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) {
        return _get(map, key, "EnumerableMap: nonexistent key");
    }

    /**
     * @dev Same as {_get}, with a custom error message when `key` is not in the map.
     */
    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(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(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(uint256(_get(map._inner, bytes32(key))));
    }

    /**
     * @dev Same as {get}, with a custom error message when `key` is not in the map.
     */
    function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {
        return address(uint256(_get(map._inner, bytes32(key), errorMessage)));
    }
}

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

pragma solidity >=0.6.0 <0.8.0;

/**
 * @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--] = byte(uint8(48 + temp % 10));
            temp /= 10;
        }
        return string(buffer);
    }
}

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

pragma solidity >=0.6.0 <0.8.0;












/**
 * @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_) public {
        _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 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 override returns (address) {
        return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token");
    }

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

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

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

        string memory _tokenURI = _tokenURIs[tokenId];

        // If there is no base URI, return the token URI.
        if (bytes(_baseURI).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(_baseURI, _tokenURI));
        }
        // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.
        return string(abi.encodePacked(_baseURI, 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 returns (string memory) {
        return _baseURI;
    }

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

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view 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 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 = ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

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

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view 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 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 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 returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || 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 = ownerOf(tokenId);

        _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(ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

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

    function _approve(address to, uint256 tokenId) private {
        _tokenApprovals[tokenId] = to;
        emit Approval(ownerOf(tokenId), to, tokenId);
    }

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

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

pragma solidity >=0.6.0 <0.8.0;


/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 * Since it is not possible to overflow a 256 bit integer with increments of one, `increment` can skip the {SafeMath}
 * overflow check, thereby saving gas. This does assume however correct usage, in that the underlying `_value` is never
 * directly accessed.
 */
library Counters {
    using SafeMath for uint256;

    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        // The {SafeMath} overflow check can be skipped here, see the comment at the top
        counter._value += 1;
    }

    function decrement(Counter storage counter) internal {
        counter._value = counter._value.sub(1);
    }
}

// File: contracts/EtherDirt.sol
pragma solidity ^0.6.0;




contract EtherDirt is ERC721, Ownable {
    using Counters for Counters.Counter;

    Counters.Counter private _tokenIds;

    struct Dirt {
        address owner;
        bool currentlyForSale;
        uint price;
        uint timesSold;
    }
    
    mapping (uint => Dirt) public dirt;
    
    mapping (address => uint[]) public dirtOwners;

    uint public latestNewDirtForSale;
    
    constructor(string memory baseURI) ERC721("EtherDirt", "DIRT") public {
            _setBaseURI(baseURI);
            dirt[0].price = 25 * 10**13;
            dirt[0].currentlyForSale = true;
    }
    
    function getDirtInfo (uint dirtNumber) public view returns (address, bool, uint, uint) {
        return (dirt[dirtNumber].owner, dirt[dirtNumber].currentlyForSale, dirt[dirtNumber].price, dirt[dirtNumber].timesSold);
    }
    
    function dirtOwningHistory (address _address) public view returns (uint[] memory ) {
        return dirtOwners[_address];
    }
    
    function buyDirt (uint dirtNumber) public payable {
        require(dirt[dirtNumber].currentlyForSale == true);
        require(msg.value == dirt[dirtNumber].price);
        dirt[dirtNumber].currentlyForSale = false;
        dirt[dirtNumber].timesSold++;
        if (dirtNumber != latestNewDirtForSale) {
            payable(dirt[dirtNumber].owner).transfer(dirt[dirtNumber].price);
            transferFrom(dirt[dirtNumber].owner, msg.sender, dirtNumber);
        }
        dirt[dirtNumber].owner = msg.sender;
        dirtOwners[msg.sender].push(dirtNumber);
        if (dirtNumber == latestNewDirtForSale) {
            if (dirtNumber < 99) {
                _mint(msg.sender, _tokenIds.current());
                _tokenIds.increment();
                latestNewDirtForSale++;
                dirt[latestNewDirtForSale].price = 
                    (10**15 + (latestNewDirtForSale**2 * 10**15))/8;
                dirt[latestNewDirtForSale].currentlyForSale = true;
            }
        }
    }
    
    function sellDirt (uint dirtNumber, uint price) public {
        require(msg.sender == dirt[dirtNumber].owner);
        require(price > 0);
        dirt[dirtNumber].price = price;
        dirt[dirtNumber].currentlyForSale = true;
    }
    
    function dontSellDirt (uint dirtNumber) public {
        require(msg.sender == dirt[dirtNumber].owner);
        dirt[dirtNumber].currentlyForSale = false;
    }
    
    function giftDirt (uint dirtNumber, address receiver) public {
        require(msg.sender == dirt[dirtNumber].owner);
        dirt[dirtNumber].owner = receiver;
        dirtOwners[receiver].push(dirtNumber);
        transferFrom(msg.sender, receiver, dirtNumber);
    }
    
    function withdraw() public onlyOwner {
        msg.sender.transfer(address(this).balance);
    }

    // Only supported transfer from contract
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {  
        dirt[tokenId].owner = msg.sender;
        dirtOwners[msg.sender].push(tokenId);      
        super.transferFrom(from, to, tokenId);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"dirtNumber","type":"uint256"}],"name":"buyDirt","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"dirt","outputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"bool","name":"currentlyForSale","type":"bool"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"timesSold","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"dirtOwners","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"dirtOwningHistory","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"dirtNumber","type":"uint256"}],"name":"dontSellDirt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"dirtNumber","type":"uint256"}],"name":"getDirtInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"bool","name":"","type":"bool"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"dirtNumber","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"giftDirt","outputs":[],"stateMutability":"nonpayable","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":"latestNewDirtForSale","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"dirtNumber","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"name":"sellDirt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040516200411338038062004113833981810160405260208110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b838201915060208201858111156200006f57600080fd5b82518660018202830111640100000000821117156200008d57600080fd5b8083526020830192505050908051906020019080838360005b83811015620000c3578082015181840152602081019050620000a6565b50505050905090810190601f168015620000f15780820380516001836020036101000a031916815260200191505b506040525050506040518060400160405280600981526020017f45746865724469727400000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f44495254000000000000000000000000000000000000000000000000000000008152506200017c6301ffc9a760e01b6200031160201b60201c565b8160069080519060200190620001949291906200043e565b508060079080519060200190620001ad9291906200043e565b50620001c66380ac58cd60e01b6200031160201b60201c565b620001de635b5e139f60e01b6200031160201b60201c565b620001f663780e9d6360e01b6200031160201b60201c565b505060006200020a6200041a60201b60201c565b905080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350620002ba816200042260201b60201c565b65e35fa931a000600c6000808152602001908152602001600020600101819055506001600c600080815260200190815260200160002060000160146101000a81548160ff02191690831515021790555050620004e4565b63ffffffff60e01b817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415620003ae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433136353a20696e76616c696420696e746572666163652069640000000081525060200191505060405180910390fd5b6001600080837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600033905090565b80600990805190602001906200043a9291906200043e565b5050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200048157805160ff1916838001178555620004b2565b82800160010185558215620004b2579182015b82811115620004b157825182559160200191906001019062000494565b5b509050620004c19190620004c5565b5090565b5b80821115620004e0576000816000905550600101620004c6565b5090565b613c1f80620004f46000396000f3fe6080604052600436106101cd5760003560e01c80636c0360eb116100f7578063a22cb46511610095578063cdfaa67011610064578063cdfaa67014610c2d578063dc670eab14610cd3578063e985e9c514610d2e578063f2fde38b14610db5576101cd565b8063a22cb465146109cf578063b88d4fde14610a2c578063c1c450fe14610b3e578063c87b56dd14610b79576101cd565b8063778050fd116100d1578063778050fd1461088e5780637b89ae95146108d35780638da5cb5b146108fe57806395d89b411461093f576101cd565b80636c0360eb1461078257806370a0823114610812578063715018a614610877576101cd565b806323b872dd1161016f57806345f8950c1161013e57806345f8950c146106245780634f6ccce7146106a05780636352211e146106ef57806369b8856114610754576101cd565b806323b872dd146104a85780632f745c59146105235780633ccfd60b1461059257806342842e0e146105a9576101cd565b8063081812fc116101ab578063081812fc1461034e578063095ea7b3146103b357806317e5abbc1461040e57806318160ddd1461047d576101cd565b806301ffc9a7146101d257806306cc64231461024257806306fdde03146102be575b600080fd5b3480156101de57600080fd5b5061022a600480360360208110156101f557600080fd5b8101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050610e06565b60405180821515815260200191505060405180910390f35b34801561024e57600080fd5b5061027b6004803603602081101561026557600080fd5b8101908080359060200190929190505050610e6d565b604051808573ffffffffffffffffffffffffffffffffffffffff168152602001841515815260200183815260200182815260200194505050505060405180910390f35b3480156102ca57600080fd5b506102d3610f0b565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156103135780820151818401526020810190506102f8565b50505050905090810190601f1680156103405780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561035a57600080fd5b506103876004803603602081101561037157600080fd5b8101908080359060200190929190505050610fad565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156103bf57600080fd5b5061040c600480360360408110156103d657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611048565b005b34801561041a57600080fd5b506104676004803603604081101561043157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061118c565b6040518082815260200191505060405180910390f35b34801561048957600080fd5b506104926111ba565b6040518082815260200191505060405180910390f35b3480156104b457600080fd5b50610521600480360360608110156104cb57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506111cb565b005b34801561052f57600080fd5b5061057c6004803603604081101561054657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611296565b6040518082815260200191505060405180910390f35b34801561059e57600080fd5b506105a76112f1565b005b3480156105b557600080fd5b50610622600480360360608110156105cc57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611404565b005b34801561063057600080fd5b5061065d6004803603602081101561064757600080fd5b8101908080359060200190929190505050611424565b604051808573ffffffffffffffffffffffffffffffffffffffff168152602001841515815260200183815260200182815260200194505050505060405180910390f35b3480156106ac57600080fd5b506106d9600480360360208110156106c357600080fd5b8101908080359060200190929190505050611481565b6040518082815260200191505060405180910390f35b3480156106fb57600080fd5b506107286004803603602081101561071257600080fd5b81019080803590602001909291905050506114a4565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107806004803603602081101561076a57600080fd5b81019080803590602001909291905050506114db565b005b34801561078e57600080fd5b506107976117d5565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156107d75780820151818401526020810190506107bc565b50505050905090810190601f1680156108045780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561081e57600080fd5b506108616004803603602081101561083557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611877565b6040518082815260200191505060405180910390f35b34801561088357600080fd5b5061088c61194c565b005b34801561089a57600080fd5b506108d1600480360360408110156108b157600080fd5b810190808035906020019092919080359060200190929190505050611ad7565b005b3480156108df57600080fd5b506108e8611ba0565b6040518082815260200191505060405180910390f35b34801561090a57600080fd5b50610913611ba6565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561094b57600080fd5b50610954611bd0565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610994578082015181840152602081019050610979565b50505050905090810190601f1680156109c15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156109db57600080fd5b50610a2a600480360360408110156109f257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050611c72565b005b348015610a3857600080fd5b50610b3c60048036036080811015610a4f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190640100000000811115610ab657600080fd5b820183602082011115610ac857600080fd5b80359060200191846001830284011164010000000083111715610aea57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050611e28565b005b348015610b4a57600080fd5b50610b7760048036036020811015610b6157600080fd5b8101908080359060200190929190505050611ea0565b005b348015610b8557600080fd5b50610bb260048036036020811015610b9c57600080fd5b8101908080359060200190929190505050611f40565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610bf2578082015181840152602081019050610bd7565b50505050905090810190601f168015610c1f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b348015610c3957600080fd5b50610c7c60048036036020811015610c5057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612229565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b83811015610cbf578082015181840152602081019050610ca4565b505050509050019250505060405180910390f35b348015610cdf57600080fd5b50610d2c60048036036040811015610cf657600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506122c0565b005b348015610d3a57600080fd5b50610d9d60048036036040811015610d5157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506123f8565b60405180821515815260200191505060405180910390f35b348015610dc157600080fd5b50610e0460048036036020811015610dd857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061248c565b005b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b600080600080600c600086815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600c600087815260200190815260200160002060000160149054906101000a900460ff16600c600088815260200190815260200160002060010154600c60008981526020019081526020016000206002015493509350935093509193509193565b606060068054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610fa35780601f10610f7857610100808354040283529160200191610fa3565b820191906000526020600020905b815481529060010190602001808311610f8657829003601f168201915b5050505050905090565b6000610fb88261269c565b61100d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180613b14602c913960400191505060405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000611053826114a4565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156110da576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180613b986021913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166110f96126b9565b73ffffffffffffffffffffffffffffffffffffffff1614806111285750611127816111226126b9565b6123f8565b5b61117d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526038815260200180613a676038913960400191505060405180910390fd5b61118783836126c1565b505050565b600d60205281600052604060002081815481106111a557fe5b90600052602060002001600091509150505481565b60006111c6600261277a565b905090565b33600c600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081908060018154018082558091505060019003906000526020600020016000909190919091505561129183838361278f565b505050565b60006112e982600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061280590919063ffffffff16565b905092915050565b6112f96126b9565b73ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146113bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611401573d6000803e3d6000fd5b50565b61141f83838360405180602001604052806000815250611e28565b505050565b600c6020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060000160149054906101000a900460ff16908060010154908060020154905084565b60008061149883600261281f90919063ffffffff16565b50905080915050919050565b60006114d482604051806060016040528060298152602001613ac960299139600261284b9092919063ffffffff16565b9050919050565b60011515600c600083815260200190815260200160002060000160149054906101000a900460ff1615151461150f57600080fd5b600c600082815260200190815260200160002060010154341461153157600080fd5b6000600c600083815260200190815260200160002060000160146101000a81548160ff021916908315150217905550600c600082815260200190815260200160002060020160008154809291906001019190505550600e54811461166457600c600082815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc600c6000848152602001908152602001600020600101549081150290604051600060405180830381858888f19350505050158015611621573d6000803e3d6000fd5b50611663600c600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1633836111cb565b5b33600c600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819080600181540180825580915050600190039060005260206000200160009091909190915055600e548114156117d25760638110156117d15761174533611740600b61286a565b612878565b61174f600b612a6c565b600e60008154809291906001019190505550600866038d7ea4c680006002600e540a0266038d7ea4c68000018161178257fe5b04600c6000600e548152602001908152602001600020600101819055506001600c6000600e54815260200190815260200160002060000160146101000a81548160ff0219169083151502179055505b5b50565b606060098054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561186d5780601f106118425761010080835404028352916020019161186d565b820191906000526020600020905b81548152906001019060200180831161185057829003601f168201915b5050505050905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118fe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180613a9f602a913960400191505060405180910390fd5b611945600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612a82565b9050919050565b6119546126b9565b73ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611a16576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600c600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611b4557600080fd5b60008111611b5257600080fd5b80600c6000848152602001908152602001600020600101819055506001600c600084815260200190815260200160002060000160146101000a81548160ff0219169083151502179055505050565b600e5481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060078054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611c685780601f10611c3d57610100808354040283529160200191611c68565b820191906000526020600020905b815481529060010190602001808311611c4b57829003601f168201915b5050505050905090565b611c7a6126b9565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d1b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f4552433732313a20617070726f766520746f2063616c6c65720000000000000081525060200191505060405180910390fd5b8060056000611d286126b9565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611dd56126b9565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b611e39611e336126b9565b83612a97565b611e8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180613bb96031913960400191505060405180910390fd5b611e9a84848484612b8b565b50505050565b600c600082815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611f0e57600080fd5b6000600c600083815260200190815260200160002060000160146101000a81548160ff02191690831515021790555050565b6060611f4b8261269c565b611fa0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180613b69602f913960400191505060405180910390fd5b6060600860008481526020019081526020016000208054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156120495780601f1061201e57610100808354040283529160200191612049565b820191906000526020600020905b81548152906001019060200180831161202c57829003601f168201915b505050505090506000600980546001816001161561010002031660029004905014156120785780915050612224565b6000815111156121515760098160405160200180838054600181600116156101000203166002900480156120e35780601f106120c15761010080835404028352918201916120e3565b820191906000526020600020905b8154815290600101906020018083116120cf575b505082805190602001908083835b6020831061211457805182526020820191506020810190506020830392506120f1565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050612224565b600961215c84612bfd565b60405160200180838054600181600116156101000203166002900480156121ba5780601f106121985761010080835404028352918201916121ba565b820191906000526020600020905b8154815290600101906020018083116121a6575b505082805190602001908083835b602083106121eb57805182526020820191506020810190506020830392506121c8565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040529150505b919050565b6060600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054806020026020016040519081016040528092919081815260200182805480156122b457602002820191906000526020600020905b8154815260200190600101908083116122a0575b50505050509050919050565b600c600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461232e57600080fd5b80600c600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600d60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208290806001815401808255809150506001900390600052602060002001600090919091909150556123f43382846111cb565b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6124946126b9565b73ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612556576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156125dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806139cb6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006126b2826002612d4490919063ffffffff16565b9050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612734836114a4565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061278882600001612d5e565b9050919050565b6127a061279a6126b9565b82612a97565b6127f5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180613bb96031913960400191505060405180910390fd5b612800838383612d6f565b505050565b60006128148360000183612fb2565b60001c905092915050565b6000806000806128328660000186613035565b915091508160001c8160001c9350935050509250929050565b600061285e846000018460001b846130ce565b60001c90509392505050565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561291b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4552433732313a206d696e7420746f20746865207a65726f206164647265737381525060200191505060405180910390fd5b6129248161269c565b15612997576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000081525060200191505060405180910390fd5b6129a3600083836131c4565b6129f481600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206131c990919063ffffffff16565b50612a0b818360026131e39092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6001816000016000828254019250508190555050565b6000612a9082600001613218565b9050919050565b6000612aa28261269c565b612af7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180613a3b602c913960400191505060405180910390fd5b6000612b02836114a4565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612b7157508373ffffffffffffffffffffffffffffffffffffffff16612b5984610fad565b73ffffffffffffffffffffffffffffffffffffffff16145b80612b825750612b8181856123f8565b5b91505092915050565b612b96848484612d6f565b612ba284848484613229565b612bf7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806139996032913960400191505060405180910390fd5b50505050565b60606000821415612c45576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d3f565b600082905060005b60008214612c6f578080600101915050600a8281612c6757fe5b049150612c4d565b60608167ffffffffffffffff81118015612c8857600080fd5b506040519080825280601f01601f191660200182016040528015612cbb5781602001600182028036833780820191505090505b50905060006001830390508593505b60008414612d3757600a8481612cdc57fe5b0660300160f81b82828060019003935081518110612cf657fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8481612d2f57fe5b049350612cca565b819450505050505b919050565b6000612d56836000018360001b613442565b905092915050565b600081600001805490509050919050565b8273ffffffffffffffffffffffffffffffffffffffff16612d8f826114a4565b73ffffffffffffffffffffffffffffffffffffffff1614612dfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180613b406029913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e81576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806139f16024913960400191505060405180910390fd5b612e8c8383836131c4565b612e976000826126c1565b612ee881600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061346590919063ffffffff16565b50612f3a81600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206131c990919063ffffffff16565b50612f51818360026131e39092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081836000018054905011613013576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806139776022913960400191505060405180910390fd5b82600001828154811061302257fe5b9060005260206000200154905092915050565b60008082846000018054905011613097576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180613af26022913960400191505060405180910390fd5b60008460000184815481106130a857fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008084600101600085815260200190815260200160002054905060008114158390613195576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561315a57808201518184015260208101905061313f565b50505050905090810190601f1680156131875780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b508460000160018203815481106131a857fe5b9060005260206000209060020201600101549150509392505050565b505050565b60006131db836000018360001b61347f565b905092915050565b600061320f846000018460001b8473ffffffffffffffffffffffffffffffffffffffff1660001b6134ef565b90509392505050565b600081600001805490509050919050565b600061324a8473ffffffffffffffffffffffffffffffffffffffff166135cb565b613257576001905061343a565b60606133c163150b7a0260e01b61326c6126b9565b888787604051602401808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156132f05780820151818401526020810190506132d5565b50505050905090810190601f16801561331d5780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051806060016040528060328152602001613999603291398773ffffffffffffffffffffffffffffffffffffffff166135de9092919063ffffffff16565b905060008180602001905160208110156133da57600080fd5b8101908080519060200190929190505050905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614925050505b949350505050565b600080836001016000848152602001908152602001600020541415905092915050565b6000613477836000018360001b6135f6565b905092915050565b600061348b83836136de565b6134e45782600001829080600181540180825580915050600190039060005260206000200160009091909190915055826000018054905083600101600084815260200190815260200160002081905550600190506134e9565b600090505b92915050565b6000808460010160008581526020019081526020016000205490506000811415613596578460000160405180604001604052808681526020018581525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000015560208201518160010155505084600001805490508560010160008681526020019081526020016000208190555060019150506135c4565b828560000160018303815481106135a957fe5b90600052602060002090600202016001018190555060009150505b9392505050565b600080823b905060008111915050919050565b60606135ed8484600085613701565b90509392505050565b600080836001016000848152602001908152602001600020549050600081146136d2576000600182039050600060018660000180549050039050600086600001828154811061364157fe5b906000526020600020015490508087600001848154811061365e57fe5b906000526020600020018190555060018301876001016000838152602001908152602001600020819055508660000180548061369657fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506136d8565b60009150505b92915050565b600080836001016000848152602001908152602001600020541415905092915050565b60608247101561375c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180613a156026913960400191505060405180910390fd5b613765856135cb565b6137d7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106138275780518252602082019150602081019050602083039250613804565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613889576040519150601f19603f3d011682016040523d82523d6000602084013e61388e565b606091505b509150915061389e8282866138aa565b92505050949350505050565b606083156138ba5782905061396f565b6000835111156138cd5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613934578082015181840152602081019050613919565b50505050905090810190601f1680156139615780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a26469706673582212204e4132c775f756c3504e7b22c14f64aa6a4765f898d3a5d63e997f209292ef5964736f6c634300060c00330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005468747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d6566744d723856476a557a464e616b426b485836647051627561313775414451724e62763561427a525076372f69642f000000000000000000000000

Deployed Bytecode

0x6080604052600436106101cd5760003560e01c80636c0360eb116100f7578063a22cb46511610095578063cdfaa67011610064578063cdfaa67014610c2d578063dc670eab14610cd3578063e985e9c514610d2e578063f2fde38b14610db5576101cd565b8063a22cb465146109cf578063b88d4fde14610a2c578063c1c450fe14610b3e578063c87b56dd14610b79576101cd565b8063778050fd116100d1578063778050fd1461088e5780637b89ae95146108d35780638da5cb5b146108fe57806395d89b411461093f576101cd565b80636c0360eb1461078257806370a0823114610812578063715018a614610877576101cd565b806323b872dd1161016f57806345f8950c1161013e57806345f8950c146106245780634f6ccce7146106a05780636352211e146106ef57806369b8856114610754576101cd565b806323b872dd146104a85780632f745c59146105235780633ccfd60b1461059257806342842e0e146105a9576101cd565b8063081812fc116101ab578063081812fc1461034e578063095ea7b3146103b357806317e5abbc1461040e57806318160ddd1461047d576101cd565b806301ffc9a7146101d257806306cc64231461024257806306fdde03146102be575b600080fd5b3480156101de57600080fd5b5061022a600480360360208110156101f557600080fd5b8101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050610e06565b60405180821515815260200191505060405180910390f35b34801561024e57600080fd5b5061027b6004803603602081101561026557600080fd5b8101908080359060200190929190505050610e6d565b604051808573ffffffffffffffffffffffffffffffffffffffff168152602001841515815260200183815260200182815260200194505050505060405180910390f35b3480156102ca57600080fd5b506102d3610f0b565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156103135780820151818401526020810190506102f8565b50505050905090810190601f1680156103405780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561035a57600080fd5b506103876004803603602081101561037157600080fd5b8101908080359060200190929190505050610fad565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156103bf57600080fd5b5061040c600480360360408110156103d657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611048565b005b34801561041a57600080fd5b506104676004803603604081101561043157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061118c565b6040518082815260200191505060405180910390f35b34801561048957600080fd5b506104926111ba565b6040518082815260200191505060405180910390f35b3480156104b457600080fd5b50610521600480360360608110156104cb57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506111cb565b005b34801561052f57600080fd5b5061057c6004803603604081101561054657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611296565b6040518082815260200191505060405180910390f35b34801561059e57600080fd5b506105a76112f1565b005b3480156105b557600080fd5b50610622600480360360608110156105cc57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611404565b005b34801561063057600080fd5b5061065d6004803603602081101561064757600080fd5b8101908080359060200190929190505050611424565b604051808573ffffffffffffffffffffffffffffffffffffffff168152602001841515815260200183815260200182815260200194505050505060405180910390f35b3480156106ac57600080fd5b506106d9600480360360208110156106c357600080fd5b8101908080359060200190929190505050611481565b6040518082815260200191505060405180910390f35b3480156106fb57600080fd5b506107286004803603602081101561071257600080fd5b81019080803590602001909291905050506114a4565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107806004803603602081101561076a57600080fd5b81019080803590602001909291905050506114db565b005b34801561078e57600080fd5b506107976117d5565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156107d75780820151818401526020810190506107bc565b50505050905090810190601f1680156108045780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561081e57600080fd5b506108616004803603602081101561083557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611877565b6040518082815260200191505060405180910390f35b34801561088357600080fd5b5061088c61194c565b005b34801561089a57600080fd5b506108d1600480360360408110156108b157600080fd5b810190808035906020019092919080359060200190929190505050611ad7565b005b3480156108df57600080fd5b506108e8611ba0565b6040518082815260200191505060405180910390f35b34801561090a57600080fd5b50610913611ba6565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561094b57600080fd5b50610954611bd0565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610994578082015181840152602081019050610979565b50505050905090810190601f1680156109c15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156109db57600080fd5b50610a2a600480360360408110156109f257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050611c72565b005b348015610a3857600080fd5b50610b3c60048036036080811015610a4f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190640100000000811115610ab657600080fd5b820183602082011115610ac857600080fd5b80359060200191846001830284011164010000000083111715610aea57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050611e28565b005b348015610b4a57600080fd5b50610b7760048036036020811015610b6157600080fd5b8101908080359060200190929190505050611ea0565b005b348015610b8557600080fd5b50610bb260048036036020811015610b9c57600080fd5b8101908080359060200190929190505050611f40565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610bf2578082015181840152602081019050610bd7565b50505050905090810190601f168015610c1f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b348015610c3957600080fd5b50610c7c60048036036020811015610c5057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612229565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b83811015610cbf578082015181840152602081019050610ca4565b505050509050019250505060405180910390f35b348015610cdf57600080fd5b50610d2c60048036036040811015610cf657600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506122c0565b005b348015610d3a57600080fd5b50610d9d60048036036040811015610d5157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506123f8565b60405180821515815260200191505060405180910390f35b348015610dc157600080fd5b50610e0460048036036020811015610dd857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061248c565b005b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b600080600080600c600086815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600c600087815260200190815260200160002060000160149054906101000a900460ff16600c600088815260200190815260200160002060010154600c60008981526020019081526020016000206002015493509350935093509193509193565b606060068054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610fa35780601f10610f7857610100808354040283529160200191610fa3565b820191906000526020600020905b815481529060010190602001808311610f8657829003601f168201915b5050505050905090565b6000610fb88261269c565b61100d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180613b14602c913960400191505060405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000611053826114a4565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156110da576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180613b986021913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166110f96126b9565b73ffffffffffffffffffffffffffffffffffffffff1614806111285750611127816111226126b9565b6123f8565b5b61117d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526038815260200180613a676038913960400191505060405180910390fd5b61118783836126c1565b505050565b600d60205281600052604060002081815481106111a557fe5b90600052602060002001600091509150505481565b60006111c6600261277a565b905090565b33600c600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081908060018154018082558091505060019003906000526020600020016000909190919091505561129183838361278f565b505050565b60006112e982600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061280590919063ffffffff16565b905092915050565b6112f96126b9565b73ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146113bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611401573d6000803e3d6000fd5b50565b61141f83838360405180602001604052806000815250611e28565b505050565b600c6020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060000160149054906101000a900460ff16908060010154908060020154905084565b60008061149883600261281f90919063ffffffff16565b50905080915050919050565b60006114d482604051806060016040528060298152602001613ac960299139600261284b9092919063ffffffff16565b9050919050565b60011515600c600083815260200190815260200160002060000160149054906101000a900460ff1615151461150f57600080fd5b600c600082815260200190815260200160002060010154341461153157600080fd5b6000600c600083815260200190815260200160002060000160146101000a81548160ff021916908315150217905550600c600082815260200190815260200160002060020160008154809291906001019190505550600e54811461166457600c600082815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc600c6000848152602001908152602001600020600101549081150290604051600060405180830381858888f19350505050158015611621573d6000803e3d6000fd5b50611663600c600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1633836111cb565b5b33600c600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819080600181540180825580915050600190039060005260206000200160009091909190915055600e548114156117d25760638110156117d15761174533611740600b61286a565b612878565b61174f600b612a6c565b600e60008154809291906001019190505550600866038d7ea4c680006002600e540a0266038d7ea4c68000018161178257fe5b04600c6000600e548152602001908152602001600020600101819055506001600c6000600e54815260200190815260200160002060000160146101000a81548160ff0219169083151502179055505b5b50565b606060098054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561186d5780601f106118425761010080835404028352916020019161186d565b820191906000526020600020905b81548152906001019060200180831161185057829003601f168201915b5050505050905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118fe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180613a9f602a913960400191505060405180910390fd5b611945600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612a82565b9050919050565b6119546126b9565b73ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611a16576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600c600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611b4557600080fd5b60008111611b5257600080fd5b80600c6000848152602001908152602001600020600101819055506001600c600084815260200190815260200160002060000160146101000a81548160ff0219169083151502179055505050565b600e5481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060078054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611c685780601f10611c3d57610100808354040283529160200191611c68565b820191906000526020600020905b815481529060010190602001808311611c4b57829003601f168201915b5050505050905090565b611c7a6126b9565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d1b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f4552433732313a20617070726f766520746f2063616c6c65720000000000000081525060200191505060405180910390fd5b8060056000611d286126b9565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611dd56126b9565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b611e39611e336126b9565b83612a97565b611e8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180613bb96031913960400191505060405180910390fd5b611e9a84848484612b8b565b50505050565b600c600082815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611f0e57600080fd5b6000600c600083815260200190815260200160002060000160146101000a81548160ff02191690831515021790555050565b6060611f4b8261269c565b611fa0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180613b69602f913960400191505060405180910390fd5b6060600860008481526020019081526020016000208054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156120495780601f1061201e57610100808354040283529160200191612049565b820191906000526020600020905b81548152906001019060200180831161202c57829003601f168201915b505050505090506000600980546001816001161561010002031660029004905014156120785780915050612224565b6000815111156121515760098160405160200180838054600181600116156101000203166002900480156120e35780601f106120c15761010080835404028352918201916120e3565b820191906000526020600020905b8154815290600101906020018083116120cf575b505082805190602001908083835b6020831061211457805182526020820191506020810190506020830392506120f1565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050612224565b600961215c84612bfd565b60405160200180838054600181600116156101000203166002900480156121ba5780601f106121985761010080835404028352918201916121ba565b820191906000526020600020905b8154815290600101906020018083116121a6575b505082805190602001908083835b602083106121eb57805182526020820191506020810190506020830392506121c8565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040529150505b919050565b6060600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054806020026020016040519081016040528092919081815260200182805480156122b457602002820191906000526020600020905b8154815260200190600101908083116122a0575b50505050509050919050565b600c600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461232e57600080fd5b80600c600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600d60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208290806001815401808255809150506001900390600052602060002001600090919091909150556123f43382846111cb565b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6124946126b9565b73ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612556576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156125dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806139cb6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006126b2826002612d4490919063ffffffff16565b9050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612734836114a4565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061278882600001612d5e565b9050919050565b6127a061279a6126b9565b82612a97565b6127f5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180613bb96031913960400191505060405180910390fd5b612800838383612d6f565b505050565b60006128148360000183612fb2565b60001c905092915050565b6000806000806128328660000186613035565b915091508160001c8160001c9350935050509250929050565b600061285e846000018460001b846130ce565b60001c90509392505050565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561291b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4552433732313a206d696e7420746f20746865207a65726f206164647265737381525060200191505060405180910390fd5b6129248161269c565b15612997576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000081525060200191505060405180910390fd5b6129a3600083836131c4565b6129f481600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206131c990919063ffffffff16565b50612a0b818360026131e39092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6001816000016000828254019250508190555050565b6000612a9082600001613218565b9050919050565b6000612aa28261269c565b612af7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180613a3b602c913960400191505060405180910390fd5b6000612b02836114a4565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612b7157508373ffffffffffffffffffffffffffffffffffffffff16612b5984610fad565b73ffffffffffffffffffffffffffffffffffffffff16145b80612b825750612b8181856123f8565b5b91505092915050565b612b96848484612d6f565b612ba284848484613229565b612bf7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806139996032913960400191505060405180910390fd5b50505050565b60606000821415612c45576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d3f565b600082905060005b60008214612c6f578080600101915050600a8281612c6757fe5b049150612c4d565b60608167ffffffffffffffff81118015612c8857600080fd5b506040519080825280601f01601f191660200182016040528015612cbb5781602001600182028036833780820191505090505b50905060006001830390508593505b60008414612d3757600a8481612cdc57fe5b0660300160f81b82828060019003935081518110612cf657fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8481612d2f57fe5b049350612cca565b819450505050505b919050565b6000612d56836000018360001b613442565b905092915050565b600081600001805490509050919050565b8273ffffffffffffffffffffffffffffffffffffffff16612d8f826114a4565b73ffffffffffffffffffffffffffffffffffffffff1614612dfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180613b406029913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e81576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806139f16024913960400191505060405180910390fd5b612e8c8383836131c4565b612e976000826126c1565b612ee881600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061346590919063ffffffff16565b50612f3a81600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206131c990919063ffffffff16565b50612f51818360026131e39092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081836000018054905011613013576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806139776022913960400191505060405180910390fd5b82600001828154811061302257fe5b9060005260206000200154905092915050565b60008082846000018054905011613097576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180613af26022913960400191505060405180910390fd5b60008460000184815481106130a857fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008084600101600085815260200190815260200160002054905060008114158390613195576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561315a57808201518184015260208101905061313f565b50505050905090810190601f1680156131875780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b508460000160018203815481106131a857fe5b9060005260206000209060020201600101549150509392505050565b505050565b60006131db836000018360001b61347f565b905092915050565b600061320f846000018460001b8473ffffffffffffffffffffffffffffffffffffffff1660001b6134ef565b90509392505050565b600081600001805490509050919050565b600061324a8473ffffffffffffffffffffffffffffffffffffffff166135cb565b613257576001905061343a565b60606133c163150b7a0260e01b61326c6126b9565b888787604051602401808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156132f05780820151818401526020810190506132d5565b50505050905090810190601f16801561331d5780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051806060016040528060328152602001613999603291398773ffffffffffffffffffffffffffffffffffffffff166135de9092919063ffffffff16565b905060008180602001905160208110156133da57600080fd5b8101908080519060200190929190505050905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614925050505b949350505050565b600080836001016000848152602001908152602001600020541415905092915050565b6000613477836000018360001b6135f6565b905092915050565b600061348b83836136de565b6134e45782600001829080600181540180825580915050600190039060005260206000200160009091909190915055826000018054905083600101600084815260200190815260200160002081905550600190506134e9565b600090505b92915050565b6000808460010160008581526020019081526020016000205490506000811415613596578460000160405180604001604052808681526020018581525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000015560208201518160010155505084600001805490508560010160008681526020019081526020016000208190555060019150506135c4565b828560000160018303815481106135a957fe5b90600052602060002090600202016001018190555060009150505b9392505050565b600080823b905060008111915050919050565b60606135ed8484600085613701565b90509392505050565b600080836001016000848152602001908152602001600020549050600081146136d2576000600182039050600060018660000180549050039050600086600001828154811061364157fe5b906000526020600020015490508087600001848154811061365e57fe5b906000526020600020018190555060018301876001016000838152602001908152602001600020819055508660000180548061369657fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506136d8565b60009150505b92915050565b600080836001016000848152602001908152602001600020541415905092915050565b60608247101561375c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180613a156026913960400191505060405180910390fd5b613765856135cb565b6137d7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106138275780518252602082019150602081019050602083039250613804565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613889576040519150601f19603f3d011682016040523d82523d6000602084013e61388e565b606091505b509150915061389e8282866138aa565b92505050949350505050565b606083156138ba5782905061396f565b6000835111156138cd5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613934578082015181840152602081019050613919565b50505050905090810190601f1680156139615780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a26469706673582212204e4132c775f756c3504e7b22c14f64aa6a4765f898d3a5d63e997f209292ef5964736f6c634300060c0033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005468747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d6566744d723856476a557a464e616b426b485836647051627561313775414451724e62763561427a525076372f69642f000000000000000000000000

-----Decoded View---------------
Arg [0] : baseURI (string): https://gateway.pinata.cloud/ipfs/QmeftMr8VGjUzFNakBkHX6dpQbua17uADQrNbv5aBzRPv7/id/

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000054
Arg [2] : 68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066
Arg [3] : 732f516d6566744d723856476a557a464e616b426b4858366470516275613137
Arg [4] : 75414451724e62763561427a525076372f69642f000000000000000000000000


Deployed Bytecode Sourcemap

63443:3179:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10207:142;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;64068:224;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46915:92;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49602:213;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;49146:390;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;63756:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;48640:203;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;66342:277;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;48410:154;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;66190:98;;;;;;;;;;;;;:::i;:::-;;50852:151;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;63709:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48920:164;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;46679:169;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;64445:1020;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;48237:89;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46402:215;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;61273:148;;;;;;;;;;;;;:::i;:::-;;65477:240;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;63810:32;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;60631:79;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;47076:96;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49887:295;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;51074:285;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;65729:163;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;47243:755;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64304:129;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65904:274;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;50253:156;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;61576:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;10207:142;10284:4;10308:20;:33;10329:11;10308:33;;;;;;;;;;;;;;;;;;;;;;;;;;;10301:40;;10207:142;;;:::o;64068:224::-;64128:7;64137:4;64143;64149;64174;:16;64179:10;64174:16;;;;;;;;;;;:22;;;;;;;;;;;;64198:4;:16;64203:10;64198:16;;;;;;;;;;;:33;;;;;;;;;;;;64233:4;:16;64238:10;64233:16;;;;;;;;;;;:22;;;64257:4;:16;64262:10;64257:16;;;;;;;;;;;:26;;;64166:118;;;;;;;;64068:224;;;;;:::o;46915:92::-;46961:13;46994:5;46987:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46915:92;:::o;49602:213::-;49670:7;49698:16;49706:7;49698;:16::i;:::-;49690:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49783:15;:24;49799:7;49783:24;;;;;;;;;;;;;;;;;;;;;49776:31;;49602:213;;;:::o;49146:390::-;49227:13;49243:16;49251:7;49243;:16::i;:::-;49227:32;;49284:5;49278:11;;:2;:11;;;;49270:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49364:5;49348:21;;:12;:10;:12::i;:::-;:21;;;:62;;;;49373:37;49390:5;49397:12;:10;:12::i;:::-;49373:16;:37::i;:::-;49348:62;49340:154;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49507:21;49516:2;49520:7;49507:8;:21::i;:::-;49146:390;;;:::o;63756:45::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;48640:203::-;48693:7;48814:21;:12;:19;:21::i;:::-;48807:28;;48640:203;:::o;66342:277::-;66500:10;66478:4;:13;66483:7;66478:13;;;;;;;;;;;:19;;;:32;;;;;;;;;;;;;;;;;;66521:10;:22;66532:10;66521:22;;;;;;;;;;;;;;;66549:7;66521:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66574:37;66593:4;66599:2;66603:7;66574:18;:37::i;:::-;66342:277;;;:::o;48410:154::-;48499:7;48526:30;48550:5;48526:13;:20;48540:5;48526:20;;;;;;;;;;;;;;;:23;;:30;;;;:::i;:::-;48519:37;;48410:154;;;;:::o;66190:98::-;60853:12;:10;:12::i;:::-;60843:22;;:6;;;;;;;;;;;:22;;;60835:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66238:10:::1;:19;;:42;66258:21;66238:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;66190:98::o:0;50852:151::-;50956:39;50973:4;50979:2;50983:7;50956:39;;;;;;;;;;;;:16;:39::i;:::-;50852:151;;;:::o;63709:34::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;48920:164::-;48987:7;49008:15;49029:22;49045:5;49029:12;:15;;:22;;;;:::i;:::-;49007:44;;;49069:7;49062:14;;;48920:164;;;:::o;46679:169::-;46743:7;46770:70;46787:7;46770:70;;;;;;;;;;;;;;;;;:12;:16;;:70;;;;;:::i;:::-;46763:77;;46679:169;;;:::o;64445:1020::-;64551:4;64514:41;;:4;:16;64519:10;64514:16;;;;;;;;;;;:33;;;;;;;;;;;;:41;;;64506:50;;;;;;64588:4;:16;64593:10;64588:16;;;;;;;;;;;:22;;;64575:9;:35;64567:44;;;;;;64658:5;64622:4;:16;64627:10;64622:16;;;;;;;;;;;:33;;;:41;;;;;;;;;;;;;;;;;;64674:4;:16;64679:10;64674:16;;;;;;;;;;;:26;;;:28;;;;;;;;;;;;;64731:20;;64717:10;:34;64713:206;;64776:4;:16;64781:10;64776:16;;;;;;;;;;;:22;;;;;;;;;;;;64768:40;;:64;64809:4;:16;64814:10;64809:16;;;;;;;;;;;:22;;;64768:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64847:60;64860:4;:16;64865:10;64860:16;;;;;;;;;;;:22;;;;;;;;;;;;64884:10;64896;64847:12;:60::i;:::-;64713:206;64954:10;64929:4;:16;64934:10;64929:16;;;;;;;;;;;:22;;;:35;;;;;;;;;;;;;;;;;;64975:10;:22;64986:10;64975:22;;;;;;;;;;;;;;;65003:10;64975:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65043:20;;65029:10;:34;65025:433;;;65097:2;65084:10;:15;65080:367;;;65120:38;65126:10;65138:19;:9;:17;:19::i;:::-;65120:5;:38::i;:::-;65177:21;:9;:19;:21::i;:::-;65217:20;;:22;;;;;;;;;;;;;65361:1;65352:6;65348:1;65326:20;;:23;:32;65316:6;:43;65315:47;;;;;;65258:4;:26;65263:20;;65258:26;;;;;;;;;;;:32;;:104;;;;65427:4;65381;:26;65386:20;;65381:26;;;;;;;;;;;:43;;;:50;;;;;;;;;;;;;;;;;;65080:367;65025:433;64445:1020;:::o;48237:89::-;48277:13;48310:8;48303:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48237:89;:::o;46402:215::-;46466:7;46511:1;46494:19;;:5;:19;;;;46486:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46580:29;:13;:20;46594:5;46580:20;;;;;;;;;;;;;;;:27;:29::i;:::-;46573:36;;46402:215;;;:::o;61273:148::-;60853:12;:10;:12::i;:::-;60843:22;;:6;;;;;;;;;;;:22;;;60835:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61380:1:::1;61343:40;;61364:6;;;;;;;;;;;61343:40;;;;;;;;;;;;61411:1;61394:6;;:19;;;;;;;;;;;;;;;;;;61273:148::o:0;65477:240::-;65565:4;:16;65570:10;65565:16;;;;;;;;;;;:22;;;;;;;;;;;;65551:36;;:10;:36;;;65543:45;;;;;;65615:1;65607:5;:9;65599:18;;;;;;65653:5;65628:4;:16;65633:10;65628:16;;;;;;;;;;;:22;;:30;;;;65705:4;65669;:16;65674:10;65669:16;;;;;;;;;;;:33;;;:40;;;;;;;;;;;;;;;;;;65477:240;;:::o;63810:32::-;;;;:::o;60631:79::-;60669:7;60696:6;;;;;;;;;;;60689:13;;60631:79;:::o;47076:96::-;47124:13;47157:7;47150:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47076:96;:::o;49887:295::-;50002:12;:10;:12::i;:::-;49990:24;;:8;:24;;;;49982:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50102:8;50057:18;:32;50076:12;:10;:12::i;:::-;50057:32;;;;;;;;;;;;;;;:42;50090:8;50057:42;;;;;;;;;;;;;;;;:53;;;;;;;;;;;;;;;;;;50155:8;50126:48;;50141:12;:10;:12::i;:::-;50126:48;;;50165:8;50126:48;;;;;;;;;;;;;;;;;;;;49887:295;;:::o;51074:285::-;51206:41;51225:12;:10;:12::i;:::-;51239:7;51206:18;:41::i;:::-;51198:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51312:39;51326:4;51332:2;51336:7;51345:5;51312:13;:39::i;:::-;51074:285;;;;:::o;65729:163::-;65809:4;:16;65814:10;65809:16;;;;;;;;;;;:22;;;;;;;;;;;;65795:36;;:10;:36;;;65787:45;;;;;;65879:5;65843:4;:16;65848:10;65843:16;;;;;;;;;;;:33;;;:41;;;;;;;;;;;;;;;;;;65729:163;:::o;47243:755::-;47308:13;47342:16;47350:7;47342;:16::i;:::-;47334:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47423:23;47449:10;:19;47460:7;47449:19;;;;;;;;;;;47423:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47570:1;47550:8;47544:22;;;;;;;;;;;;;;;;:27;47540:76;;;47595:9;47588:16;;;;;47540:76;47746:1;47726:9;47720:23;:27;47716:112;;;47795:8;47805:9;47778:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47764:52;;;;;47716:112;47960:8;47970:18;:7;:16;:18::i;:::-;47943:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47929:61;;;47243:755;;;;:::o;64304:129::-;64371:13;64405:10;:20;64416:8;64405:20;;;;;;;;;;;;;;;64398:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64304:129;;;:::o;65904:274::-;65998:4;:16;66003:10;65998:16;;;;;;;;;;;:22;;;;;;;;;;;;65984:36;;:10;:36;;;65976:45;;;;;;66057:8;66032:4;:16;66037:10;66032:16;;;;;;;;;;;:22;;;:33;;;;;;;;;;;;;;;;;;66076:10;:20;66087:8;66076:20;;;;;;;;;;;;;;;66102:10;66076:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66124:46;66137:10;66149:8;66159:10;66124:12;:46::i;:::-;65904:274;;:::o;50253:156::-;50342:4;50366:18;:25;50385:5;50366:25;;;;;;;;;;;;;;;:35;50392:8;50366:35;;;;;;;;;;;;;;;;;;;;;;;;;50359:42;;50253:156;;;;:::o;61576:244::-;60853:12;:10;:12::i;:::-;60843:22;;:6;;;;;;;;;;;:22;;;60835:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61685:1:::1;61665:22;;:8;:22;;;;61657:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61775:8;61746:38;;61767:6;;;;;;;;;;;61746:38;;;;;;;;;;;;61804:8;61795:6;;:17;;;;;;;;;;;;;;;;;;61576:244:::0;:::o;52826:119::-;52883:4;52907:30;52929:7;52907:12;:21;;:30;;;;:::i;:::-;52900:37;;52826:119;;;:::o;665:106::-;718:15;753:10;746:17;;665:106;:::o;58653:158::-;58746:2;58719:15;:24;58735:7;58719:24;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;58795:7;58791:2;58764:39;;58773:16;58781:7;58773;:16::i;:::-;58764:39;;;;;;;;;;;;58653:158;;:::o;40311:123::-;40380:7;40407:19;40415:3;:10;;40407:7;:19::i;:::-;40400:26;;40311:123;;;:::o;50476:305::-;50637:41;50656:12;:10;:12::i;:::-;50670:7;50637:18;:41::i;:::-;50629:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50745:28;50755:4;50761:2;50765:7;50745:9;:28::i;:::-;50476:305;;;:::o;32910:137::-;32981:7;33016:22;33020:3;:10;;33032:5;33016:3;:22::i;:::-;33008:31;;33001:38;;32910:137;;;;:::o;40773:227::-;40853:7;40862;40883:11;40896:13;40913:22;40917:3;:10;;40929:5;40913:3;:22::i;:::-;40882:53;;;;40962:3;40954:12;;40984:5;40976:14;;40946:46;;;;;;40773:227;;;;;:::o;41435:204::-;41542:7;41585:44;41590:3;:10;;41610:3;41602:12;;41616;41585:4;:44::i;:::-;41577:53;;41562:69;;41435:204;;;;;:::o;62948:114::-;63013:7;63040;:14;;;63033:21;;62948:114;;;:::o;54711:404::-;54805:1;54791:16;;:2;:16;;;;54783:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54864:16;54872:7;54864;:16::i;:::-;54863:17;54855:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54926:45;54955:1;54959:2;54963:7;54926:20;:45::i;:::-;54984:30;55006:7;54984:13;:17;54998:2;54984:17;;;;;;;;;;;;;;;:21;;:30;;;;:::i;:::-;;55027:29;55044:7;55053:2;55027:12;:16;;:29;;;;;:::i;:::-;;55099:7;55095:2;55074:33;;55091:1;55074:33;;;;;;;;;;;;54711:404;;:::o;63070:181::-;63242:1;63224:7;:14;;;:19;;;;;;;;;;;63070:181;:::o;32452:114::-;32512:7;32539:19;32547:3;:10;;32539:7;:19::i;:::-;32532:26;;32452:114;;;:::o;53112:333::-;53197:4;53222:16;53230:7;53222;:16::i;:::-;53214:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53298:13;53314:16;53322:7;53314;:16::i;:::-;53298:32;;53360:5;53349:16;;:7;:16;;;:51;;;;53393:7;53369:31;;:20;53381:7;53369:11;:20::i;:::-;:31;;;53349:51;:87;;;;53404:32;53421:5;53428:7;53404:16;:32::i;:::-;53349:87;53341:96;;;53112:333;;;;:::o;52241:272::-;52355:28;52365:4;52371:2;52375:7;52355:9;:28::i;:::-;52402:48;52425:4;52431:2;52435:7;52444:5;52402:22;:48::i;:::-;52394:111;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52241:272;;;;:::o;41886:744::-;41942:13;42172:1;42163:5;:10;42159:53;;;42190:10;;;;;;;;;;;;;;;;;;;;;42159:53;42222:12;42237:5;42222:20;;42253:14;42278:78;42293:1;42285:4;:9;42278:78;;42311:8;;;;;;;42342:2;42334:10;;;;;;;;;42278:78;;;42366:19;42398:6;42388:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42366:39;;42416:13;42441:1;42432:6;:10;42416:26;;42460:5;42453:12;;42476:115;42491:1;42483:4;:9;42476:115;;42550:2;42543:4;:9;;;;;;42538:2;:14;42527:27;;42509:6;42516:7;;;;;;;42509:15;;;;;;;;;;;:45;;;;;;;;;;;42577:2;42569:10;;;;;;;;;42476:115;;;42615:6;42601:21;;;;;;41886:744;;;;:::o;40072:151::-;40156:4;40180:35;40190:3;:10;;40210:3;40202:12;;40180:9;:35::i;:::-;40173:42;;40072:151;;;;:::o;37694:110::-;37750:7;37777:3;:12;;:19;;;;37770:26;;37694:110;;;:::o;56201:574::-;56319:4;56299:24;;:16;56307:7;56299;:16::i;:::-;:24;;;56291:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56402:1;56388:16;;:2;:16;;;;56380:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56458:39;56479:4;56485:2;56489:7;56458:20;:39::i;:::-;56562:29;56579:1;56583:7;56562:8;:29::i;:::-;56604:35;56631:7;56604:13;:19;56618:4;56604:19;;;;;;;;;;;;;;;:26;;:35;;;;:::i;:::-;;56650:30;56672:7;56650:13;:17;56664:2;56650:17;;;;;;;;;;;;;;;:21;;:30;;;;:::i;:::-;;56693:29;56710:7;56719:2;56693:12;:16;;:29;;;;;:::i;:::-;;56759:7;56755:2;56740:27;;56749:4;56740:27;;;;;;;;;;;;56201:574;;;:::o;27984:204::-;28051:7;28100:5;28079:3;:11;;:18;;;;:26;28071:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28162:3;:11;;28174:5;28162:18;;;;;;;;;;;;;;;;28155:25;;27984:204;;;;:::o;38159:279::-;38226:7;38235;38285:5;38263:3;:12;;:19;;;;:27;38255:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38342:22;38367:3;:12;;38380:5;38367:19;;;;;;;;;;;;;;;;;;38342:44;;38405:5;:10;;;38417:5;:12;;;38397:33;;;;;38159:279;;;;;:::o;38861:319::-;38955:7;38975:16;38994:3;:12;;:17;39007:3;38994:17;;;;;;;;;;;;38975:36;;39042:1;39030:8;:13;;39045:12;39022:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39112:3;:12;;39136:1;39125:8;:12;39112:26;;;;;;;;;;;;;;;;;;:33;;;39105:40;;;38861:319;;;;;:::o;59424:93::-;;;;:::o;31690:131::-;31757:4;31781:32;31786:3;:10;;31806:5;31798:14;;31781:4;:32::i;:::-;31774:39;;31690:131;;;;:::o;39504:176::-;39593:4;39617:55;39622:3;:10;;39642:3;39634:12;;39664:5;39656:14;;39648:23;;39617:4;:55::i;:::-;39610:62;;39504:176;;;;;:::o;27531:109::-;27587:7;27614:3;:11;;:18;;;;27607:25;;27531:109;;;:::o;58041:604::-;58162:4;58189:15;:2;:13;;;:15::i;:::-;58184:60;;58228:4;58221:11;;;;58184:60;58254:23;58280:252;58333:45;;;58393:12;:10;:12::i;:::-;58420:4;58439:7;58461:5;58296:181;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58280:252;;;;;;;;;;;;;;;;;:2;:15;;;;:252;;;;;:::i;:::-;58254:278;;58543:13;58570:10;58559:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58543:48;;43399:10;58620:16;;58610:26;;;:6;:26;;;;58602:35;;;;58041:604;;;;;;;:::o;37474:125::-;37545:4;37590:1;37569:3;:12;;:17;37582:3;37569:17;;;;;;;;;;;;:22;;37562:29;;37474:125;;;;:::o;31997:137::-;32067:4;32091:35;32099:3;:10;;32119:5;32111:14;;32091:7;:35::i;:::-;32084:42;;31997:137;;;;:::o;25096:414::-;25159:4;25181:21;25191:3;25196:5;25181:9;:21::i;:::-;25176:327;;25219:3;:11;;25236:5;25219:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25402:3;:11;;:18;;;;25380:3;:12;;:19;25393:5;25380:19;;;;;;;;;;;:40;;;;25442:4;25435:11;;;;25176:327;25486:5;25479:12;;25096:414;;;;;:::o;34974:692::-;35050:4;35166:16;35185:3;:12;;:17;35198:3;35185:17;;;;;;;;;;;;35166:36;;35231:1;35219:8;:13;35215:444;;;35286:3;:12;;35304:38;;;;;;;;35321:3;35304:38;;;;35334:5;35304:38;;;35286:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35501:3;:12;;:19;;;;35481:3;:12;;:17;35494:3;35481:17;;;;;;;;;;;:39;;;;35542:4;35535:11;;;;;35215:444;35615:5;35579:3;:12;;35603:1;35592:8;:12;35579:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;35642:5;35635:12;;;34974:692;;;;;;:::o;17123:422::-;17183:4;17391:12;17502:7;17490:20;17482:28;;17536:1;17529:4;:8;17522:15;;;17123:422;;;:::o;20041:195::-;20144:12;20176:52;20198:6;20206:4;20212:1;20215:12;20176:21;:52::i;:::-;20169:59;;20041:195;;;;;:::o;25686:1544::-;25752:4;25870:18;25891:3;:12;;:19;25904:5;25891:19;;;;;;;;;;;;25870:40;;25941:1;25927:10;:15;25923:1300;;26289:21;26326:1;26313:10;:14;26289:38;;26342:17;26383:1;26362:3;:11;;:18;;;;:22;26342:42;;26629:17;26649:3;:11;;26661:9;26649:22;;;;;;;;;;;;;;;;26629:42;;26795:9;26766:3;:11;;26778:13;26766:26;;;;;;;;;;;;;;;:38;;;;26914:1;26898:13;:17;26872:3;:12;;:23;26885:9;26872:23;;;;;;;;;;;:43;;;;27024:3;:11;;:17;;;;;;;;;;;;;;;;;;;;;;;;27119:3;:12;;:19;27132:5;27119:19;;;;;;;;;;;27112:26;;;27162:4;27155:11;;;;;;;;25923:1300;27206:5;27199:12;;;25686:1544;;;;;:::o;27316:129::-;27389:4;27436:1;27413:3;:12;;:19;27426:5;27413:19;;;;;;;;;;;;:24;;27406:31;;27316:129;;;;:::o;21093:530::-;21220:12;21278:5;21253:21;:30;;21245:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21345:18;21356:6;21345:10;:18::i;:::-;21337:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21471:12;21485:23;21512:6;:11;;21532:5;21540:4;21512:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21470:75;;;;21563:52;21581:7;21590:10;21602:12;21563:17;:52::i;:::-;21556:59;;;;21093:530;;;;;;:::o;22629:742::-;22744:12;22773:7;22769:595;;;22804:10;22797:17;;;;22769:595;22938:1;22918:10;:17;:21;22914:439;;;23181:10;23175:17;23242:15;23229:10;23225:2;23221:19;23214:44;23129:148;23324:12;23317:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22629:742;;;;;;:::o

Swarm Source

ipfs://4e4132c775f756c3504e7b22c14f64aa6a4765f898d3a5d63e997f209292ef59
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.