ETH Price: $3,289.14 (-0.83%)

Token

Shiitakes (SHII)
 

Overview

Max Total Supply

2,000 SHII

Holders

1,081

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 SHII
0x4ECF5BC9A031bF984D2a00D3f9eEf0BA6c7f692c
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:
Shiitake

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 5000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-10-12
*/

pragma solidity ^0.8.0;

abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

abstract contract Ownable is Context {
    address private _owner;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }
}

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] = valueIndex; // Replace lastvalue's index to valueIndex

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

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

            return true;
        } else {
            return false;
        }
    }

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

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

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

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

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

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

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

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

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

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

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

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

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

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

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


    // UintSet

    struct UintSet {
        Set _inner;
    }

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

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

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

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

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

library EnumerableMap {
    using EnumerableSet for EnumerableSet.Bytes32Set;

    // 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 Map {
        // Storage of keys
        EnumerableSet.Bytes32Set _keys;

        mapping (bytes32 => bytes32) _values;
    }

    /**
     * @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) {
        map._values[key] = value;
        return map._keys.add(key);
    }

    /**
     * @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) {
        delete map._values[key];
        return map._keys.remove(key);
    }

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

    /**
     * @dev Returns the number of key-value pairs in the map. O(1).
     */
    function _length(Map storage map) private view returns (uint256) {
        return map._keys.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) {
        bytes32 key = map._keys.at(index);
        return (key, map._values[key]);
    }

    /**
     * @dev Tries to returns the value associated with `key`.  O(1).
     * Does not revert if `key` is not in the map.
     */
    function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {
        bytes32 value = map._values[key];
        if (value == bytes32(0)) {
            return (_contains(map, key), bytes32(0));
        } else {
            return (true, 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) {
        bytes32 value = map._values[key];
        require(value != 0 || _contains(map, key), "EnumerableMap: nonexistent key");
        return value;
    }

    /**
     * @dev Same as {_get}, with a custom error message when `key` is not in the map.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {_tryGet}.
     */
    function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {
        bytes32 value = map._values[key];
        require(value != 0 || _contains(map, key), errorMessage);
        return value;
    }

    // UintToAddressMap

    struct UintToAddressMap {
        Map _inner;
    }

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

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

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

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

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

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

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

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

library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

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

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

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

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

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

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

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

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

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

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

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

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

abstract contract ERC165 is IERC165 {
    /*
     * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7
     */
    bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;

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

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

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

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

contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    using SafeMath for uint256;
    using Address for address;
    using EnumerableSet for EnumerableSet.UintSet;
    using EnumerableMap for EnumerableMap.UintToAddressMap;
    using Strings for uint256;

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

    // Base URI
    string private _baseURI;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

        _holderTokens[to].add(tokenId);

        _tokenOwners.set(tokenId, to);

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

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

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

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

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

        _holderTokens[owner].remove(tokenId);

        _tokenOwners.remove(tokenId);

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        _tokenOwners.set(tokenId, to);

        emit Transfer(from, to, tokenId);
    }

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

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)
        private returns (bool)
    {
        if (!to.isContract()) {
            return true;
        }
        bytes memory returndata = to.functionCall(abi.encodeWithSelector(
            IERC721Receiver(to).onERC721Received.selector,
            _msgSender(),
            from,
            tokenId,
            _data
        ), "ERC721: transfer to non ERC721Receiver implementer");
        bytes4 retval = abi.decode(returndata, (bytes4));
        return (retval == _ERC721_RECEIVED);
    }

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

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


contract Shiitake is ERC721, Ownable {
    address passwordSigner = 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266;
    
    uint256 public maxSupply = 2000;
    
    uint16 public reserved = 60;

    bool public whitelistSale = false;
    bool public sale = false;
    bool public revealed = false;
    
    string unrevealedUri = "ipfs://bafybeihdr2tmpjnnwe6cqksiudiztb7lyj3ofjbkgr5d4vwkqodvpmszue";

    mapping (address => bool) public alreadyMinted;
    
    constructor() ERC721("Shiitakes", "SHII") {
        _setBaseURI("ipfs://QmSfv7hJ1rs2faSd9pzSrHS67XbXm7aUKtm14HabY59WGf/");
    }
    
    function mint(uint256 tokenAmt, bytes memory signature) external {
        require(whitelistSale ? isWhitelisted(msg.sender, signature) : sale, "You were not added to the whitelist. Please contact a mod if you think this was a mistake.");
        
        require(!alreadyMinted[msg.sender], "You have already minted Shiitakes.");
        
        require(tokenAmt <= 2, "Max per transaction is 2");
        
        require(totalSupply() + tokenAmt <= maxSupply - reserved, "Would exceed max supply");
        
        for(uint256 i = 0; i < tokenAmt; i++) {
            uint256 mintIndex = totalSupply () + 1;
            _safeMint(msg.sender, mintIndex);
        }
        
        alreadyMinted[msg.sender] = true;
    }
    
    function claimToAdmin(uint16 tokenAmt) public onlyOwner {
        require(totalSupply() + tokenAmt <= maxSupply, "This would exceed max supply");
        require(reserved > 0, "This would exceed reserved supply");
        
        for(uint256 i = 0; i < tokenAmt; i++) {
            uint256 mintIndex = totalSupply () + 1;
            _safeMint(msg.sender, mintIndex);
            reserved--;
        }
    }

    function tokenURI(uint tokenId) public view override returns(string memory) {
        return revealed ? super.tokenURI(tokenId) : unrevealedUri;
    }
      
    function setBaseURI(string calldata baseURI_) external onlyOwner {
        _setBaseURI(baseURI_);
    }

    function setSale() external onlyOwner {
        sale = !sale;
    }

    function setWhitelistSale() external onlyOwner {
        whitelistSale = !whitelistSale;
    }
    
    function setRevealed() external onlyOwner {
        revealed = !revealed;
    }

    function setTokenURI(uint256 tokenId, string calldata _tokenURI) external onlyOwner {
        _setTokenURI(tokenId, _tokenURI);
    }
    
    function getEthSignedMessageHash(bytes32 _messageHash) private pure returns (bytes32) {
        /*
        Signature is produced by signing a keccak256 hash with the following format:
        "\x19Ethereum Signed Message\n" + len(msg) + msg
        */
        return
        keccak256(
            abi.encodePacked("\x19Ethereum Signed Message:\n32", _messageHash)
        );
    }
    
    function isWhitelisted(address user, bytes memory signature) public view returns (bool) {
        bytes32 messageHash = keccak256(abi.encodePacked(user));
        bytes32 ethSignedMessageHash = getEthSignedMessageHash(messageHash);
    
        return recoverSigner(ethSignedMessageHash, signature) == passwordSigner;
    }
    
    function recoverSigner(bytes32 _ethSignedMessageHash, bytes memory _signature) private pure returns (address) {
        (bytes32 r, bytes32 s, uint8 v) = splitSignature(_signature);
        return ecrecover(_ethSignedMessageHash, v, r, s);
    }
    
    function splitSignature(bytes memory sig)
    private
    pure
    returns (
        bytes32 r,
        bytes32 s,
        uint8 v
    )
    {
        require(sig.length == 65, "invalid signature length");
    
        assembly {
        /*
        First 32 bytes stores the length of the signature
        add(sig, 32) = pointer of sig + 32
        effectively, skips first 32 bytes of signature
        mload(p) loads next 32 bytes starting at the memory address p into memory
        */
    
        // first 32 bytes, after the length prefix
            r := mload(add(sig, 32))
        // second 32 bytes
            s := mload(add(sig, 64))
        // final byte (first byte of the next 32 bytes)
            v := byte(0, mload(add(sig, 96)))
        }
    
        // implicitly return (r, s, v)
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"alreadyMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"tokenAmt","type":"uint16"}],"name":"claimToAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenAmt","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserved","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setWhitelistSale","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":"whitelistSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

600c80546001600160a01b03191673f39fd6e51aad88f6f4ce6ab8827279cfffb922661790556107d0600d55600e805464ffffffffff1916603c17905561010060405260426080818152906200302060a03980516200006791600f9160209091019062000232565b503480156200007557600080fd5b5060408051808201825260098152685368696974616b657360b81b602080830191909152825180840190935260048352635348494960e01b9083015290620000c46301ffc9a760e01b62000195565b8151620000d990600790602085019062000232565b508051620000ef90600890602084019062000232565b50620001026380ac58cd60e01b62000195565b62000114635b5e139f60e01b62000195565b6200012663780e9d6360e01b62000195565b5050600b80546001600160a01b0319163390811790915560405181906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506200018f60405180606001604052806036815260200162002fea6036913962000219565b62000315565b6001600160e01b03198082161415620001f45760405162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015260640160405180910390fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b80516200022e90600a90602084019062000232565b5050565b8280546200024090620002d8565b90600052602060002090601f016020900481019282620002645760008555620002af565b82601f106200027f57805160ff1916838001178555620002af565b82800160010185558215620002af579182015b82811115620002af57825182559160200191906001019062000292565b50620002bd929150620002c1565b5090565b5b80821115620002bd5760008155600101620002c2565b600181811c90821680620002ed57607f821691505b602082108114156200030f57634e487b7160e01b600052602260045260246000fd5b50919050565b612cc580620003256000396000f3fe608060405234801561001057600080fd5b50600436106102265760003560e01c80636352211e1161012a578063a22cb465116100bd578063d5abeb011161008c578063e985e9c511610071578063e985e9c5146104a3578063f2fde38b146104df578063fe60d12c146104f257600080fd5b8063d5abeb0114610487578063db7fd4081461049057600080fd5b8063a22cb46514610446578063b88d4fde14610459578063c87b56dd1461046c578063cef216e21461047f57600080fd5b806370a08231116100f957806370a0823114610412578063715018a6146104255780638da5cb5b1461042d57806395d89b411461043e57600080fd5b80636352211e146103d057806365ce2e98146103e35780636ad1fe02146103f65780636c0360eb1461040a57600080fd5b80631f0a8fa7116101bd5780633bd649681161018c5780634f6ccce7116101715780634f6ccce71461039557806351830227146103a857806355f804b3146103bd57600080fd5b80633bd649681461037a57806342842e0e1461038257600080fd5b80631f0a8fa71461032e57806323b872dd146103415780632f745c591461035457806331ffd6f11461036757600080fd5b80630a398b88116101f95780630a398b88146102da578063162094c4146102fd57806318160ddd146103105780631d9cfd6d1461032657600080fd5b806301ffc9a71461022b57806306fdde0314610285578063081812fc1461029a578063095ea7b3146102c5575b600080fd5b610270610239366004612570565b7fffffffff000000000000000000000000000000000000000000000000000000001660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61028d610513565b60405161027c91906125e5565b6102ad6102a83660046125f8565b6105a5565b6040516001600160a01b03909116815260200161027c565b6102d86102d336600461262d565b610643565b005b6102706102e8366004612657565b60106020526000908152604090205460ff1681565b6102d861030b3660046126b4565b610775565b61031861080f565b60405190815260200161027c565b6102d8610820565b61027061033c3660046127bc565b6108b6565b6102d861034f36600461280a565b610975565b61031861036236600461262d565b6109fc565b600e546102709062010000900460ff1681565b6102d8610a25565b6102d861039036600461280a565b610abc565b6103186103a33660046125f8565b610ad7565b600e5461027090640100000000900460ff1681565b6102d86103cb366004612846565b610aed565b6102ad6103de3660046125f8565b610b8a565b6102d86103f1366004612888565b610bb2565b600e54610270906301000000900460ff1681565b61028d610d60565b610318610420366004612657565b610d6f565b6102d8610e0e565b600b546001600160a01b03166102ad565b61028d610eca565b6102d86104543660046128ac565b610ed9565b6102d86104673660046128e8565b610fbc565b61028d61047a3660046125f8565b61104a565b6102d86110f8565b610318600d5481565b6102d861049e366004612950565b61118d565b6102706104b1366004612981565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6102d86104ed366004612657565b611419565b600e546105009061ffff1681565b60405161ffff909116815260200161027c565b606060078054610522906129b4565b80601f016020809104026020016040519081016040528092919081815260200182805461054e906129b4565b801561059b5780601f106105705761010080835404028352916020019161059b565b820191906000526020600020905b81548152906001019060200180831161057e57829003601f168201915b5050505050905090565b60006105b082611563565b6106275760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061064e82610b8a565b9050806001600160a01b0316836001600160a01b031614156106d85760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f7200000000000000000000000000000000000000000000000000000000000000606482015260840161061e565b336001600160a01b03821614806106f457506106f481336104b1565b6107665760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161061e565b6107708383611570565b505050565b600b546001600160a01b031633146107cf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161061e565b6107708383838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506115f692505050565b600061081b6002611690565b905090565b600b546001600160a01b0316331461087a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161061e565b600e80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffff811663010000009182900460ff1615909102179055565b604080517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606085901b16602080830191909152825180830360140181526034830184528051908201207f19457468657265756d205369676e6564204d6573736167653a0a333200000000605484015260708084018290528451808503909101815260909093019093528151910120600c5460009291906001600160a01b0316610960828661169b565b6001600160a01b031614925050505b92915050565b61097f338261171a565b6109f15760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161061e565b610770838383611815565b6001600160a01b0382166000908152600160205260408120610a1e90836119c3565b9392505050565b600b546001600160a01b03163314610a7f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161061e565b600e80547fffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffffff81166401000000009182900460ff1615909102179055565b61077083838360405180602001604052806000815250610fbc565b600080610ae56002846119cf565b509392505050565b600b546001600160a01b03163314610b475760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161061e565b610b8682828080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506119ed92505050565b5050565b600061096f82604051806060016040528060298152602001612c676029913960029190611a00565b600b546001600160a01b03163314610c0c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161061e565b600d548161ffff16610c1c61080f565b610c269190612a37565b1115610c745760405162461bcd60e51b815260206004820152601c60248201527f5468697320776f756c6420657863656564206d617820737570706c7900000000604482015260640161061e565b600e5461ffff16610ced5760405162461bcd60e51b815260206004820152602160248201527f5468697320776f756c642065786365656420726573657276656420737570706c60448201527f7900000000000000000000000000000000000000000000000000000000000000606482015260840161061e565b60005b8161ffff16811015610b86576000610d0661080f565b610d11906001612a37565b9050610d1d3382611a0d565b600e805461ffff16906000610d3183612a4f565b91906101000a81548161ffff021916908361ffff16021790555050508080610d5890612a8b565b915050610cf0565b6060600a8054610522906129b4565b60006001600160a01b038216610ded5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f206164647265737300000000000000000000000000000000000000000000606482015260840161061e565b6001600160a01b038216600090815260016020526040902061096f90611a27565b600b546001600160a01b03163314610e685760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161061e565b600b546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600b80547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b606060088054610522906129b4565b6001600160a01b038216331415610f325760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161061e565b3360008181526006602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610fc6338361171a565b6110385760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161061e565b61104484848484611a31565b50505050565b600e54606090640100000000900460ff166110ef57600f805461106c906129b4565b80601f0160208091040260200160405190810160405280929190818152602001828054611098906129b4565b80156110e55780601f106110ba576101008083540402835291602001916110e5565b820191906000526020600020905b8154815290600101906020018083116110c857829003601f168201915b505050505061096f565b61096f82611aba565b600b546001600160a01b031633146111525760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161061e565b600e80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff8116620100009182900460ff1615909102179055565b600e5462010000900460ff166111af57600e546301000000900460ff166111b9565b6111b933826108b6565b6112515760405162461bcd60e51b815260206004820152605a60248201527f596f752077657265206e6f7420616464656420746f207468652077686974656c60448201527f6973742e20506c6561736520636f6e746163742061206d6f6420696620796f7560648201527f207468696e6b2074686973207761732061206d697374616b652e000000000000608482015260a40161061e565b3360009081526010602052604090205460ff16156112d75760405162461bcd60e51b815260206004820152602260248201527f596f75206861766520616c7265616479206d696e746564205368696974616b6560448201527f732e000000000000000000000000000000000000000000000000000000000000606482015260840161061e565b60028211156113285760405162461bcd60e51b815260206004820152601860248201527f4d617820706572207472616e73616374696f6e20697320320000000000000000604482015260640161061e565b600e54600d5461133c9161ffff1690612ac4565b8261134561080f565b61134f9190612a37565b111561139d5760405162461bcd60e51b815260206004820152601760248201527f576f756c6420657863656564206d617820737570706c79000000000000000000604482015260640161061e565b60005b828110156113dc5760006113b261080f565b6113bd906001612a37565b90506113c93382611a0d565b50806113d481612a8b565b9150506113a0565b505033600090815260106020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905550565b600b546001600160a01b031633146114735760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161061e565b6001600160a01b0381166114ef5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161061e565b600b546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600b80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b600061096f600283611c3a565b600081815260056020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03841690811790915581906115bd82610b8a565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6115ff82611563565b6116715760405162461bcd60e51b815260206004820152602c60248201527f4552433732314d657461646174613a2055524920736574206f66206e6f6e657860448201527f697374656e7420746f6b656e0000000000000000000000000000000000000000606482015260840161061e565b60008281526009602090815260409091208251610770928401906124a6565b600061096f82611c46565b6000806000806116aa85611c51565b6040805160008152602081018083528b905260ff8316918101919091526060810184905260808101839052929550909350915060019060a0016020604051602081039080840390855afa158015611705573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b600061172582611563565b6117975760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e0000000000000000000000000000000000000000606482015260840161061e565b60006117a283610b8a565b9050806001600160a01b0316846001600160a01b031614806117dd5750836001600160a01b03166117d2846105a5565b6001600160a01b0316145b8061180d57506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661182882610b8a565b6001600160a01b0316146118a45760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e0000000000000000000000000000000000000000000000606482015260840161061e565b6001600160a01b03821661191f5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161061e565b61192a600082611570565b6001600160a01b038316600090815260016020526040902061194c9082611cc5565b506001600160a01b038216600090815260016020526040902061196f9082611cd1565b5061197c60028284611cdd565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610a1e8383611cf3565b60008080806119de8686611d94565b909450925050505b9250929050565b8051610b8690600a9060208401906124a6565b600061180d848484611dbf565b610b86828260405180602001604052806000815250611e0b565b600061096f825490565b611a3c848484611815565b611a4884848484611e94565b6110445760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161061e565b6060611ac582611563565b611b375760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606482015260840161061e565b60008281526009602052604081208054611b50906129b4565b80601f0160208091040260200160405190810160405280929190818152602001828054611b7c906129b4565b8015611bc95780601f10611b9e57610100808354040283529160200191611bc9565b820191906000526020600020905b815481529060010190602001808311611bac57829003601f168201915b505050505090506000611bda610d60565b9050805160001415611bed575092915050565b815115611c1f578082604051602001611c07929190612adb565b60405160208183030381529060405292505050919050565b80611c2985611fd9565b604051602001611c07929190612adb565b6000610a1e838361210b565b600061096f82611a27565b60008060008351604114611ca75760405162461bcd60e51b815260206004820152601860248201527f696e76616c6964207369676e6174757265206c656e6774680000000000000000604482015260640161061e565b50505060208101516040820151606090920151909260009190911a90565b6000610a1e838361212a565b6000610a1e8383612217565b600061180d84846001600160a01b038516612266565b81546000908210611d6c5760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e60448201527f6473000000000000000000000000000000000000000000000000000000000000606482015260840161061e565b826000018281548110611d8157611d81612b0a565b9060005260206000200154905092915050565b60008080611da285856119c3565b600081815260029690960160205260409095205494959350505050565b600082815260028401602052604081205480151580611de35750611de3858561210b565b8390611e025760405162461bcd60e51b815260040161061e91906125e5565b50949350505050565b611e158383612283565b611e226000848484611e94565b6107705760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161061e565b60006001600160a01b0384163b611ead5750600161180d565b6000611f717f150b7a020000000000000000000000000000000000000000000000000000000033888787604051602401611eea9493929190612b39565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051806060016040528060328152602001612c35603291396001600160a01b038816919061239b565b9050600081806020019051810190611f899190612b75565b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001492505050949350505050565b60608161201957505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612043578061202d81612a8b565b915061203c9050600a83612bc1565b915061201d565b60008167ffffffffffffffff81111561205e5761205e612700565b6040519080825280601f01601f191660200182016040528015612088576020820181803683370190505b5090505b841561180d5761209d600183612ac4565b91506120aa600a86612bd5565b6120b5906030612a37565b60f81b8183815181106120ca576120ca612b0a565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612104600a86612bc1565b945061208c565b6000610a1e838360008181526001830160205260408120541515610a1e565b6000818152600183016020526040812054801561220d57600061214e600183612ac4565b855490915060009061216290600190612ac4565b9050600086600001828154811061217b5761217b612b0a565b906000526020600020015490508087600001848154811061219e5761219e612b0a565b6000918252602080832090910192909255828152600189019091526040902084905586548790806121d1576121d1612be9565b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061096f565b600091505061096f565b600081815260018301602052604081205461225e5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561096f565b50600061096f565b6000828152600284016020526040812082905561180d8484611cd1565b6001600160a01b0382166122d95760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161061e565b6122e281611563565b1561232f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161061e565b6001600160a01b03821660009081526001602052604090206123519082611cd1565b5061235e60028284611cdd565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b606061180d848460008585843b6123f45760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161061e565b600080866001600160a01b031685876040516124109190612c18565b60006040518083038185875af1925050503d806000811461244d576040519150601f19603f3d011682016040523d82523d6000602084013e612452565b606091505b509150915061246282828661246d565b979650505050505050565b6060831561247c575081610a1e565b82511561248c5782518084602001fd5b8160405162461bcd60e51b815260040161061e91906125e5565b8280546124b2906129b4565b90600052602060002090601f0160209004810192826124d4576000855561251a565b82601f106124ed57805160ff191683800117855561251a565b8280016001018555821561251a579182015b8281111561251a5782518255916020019190600101906124ff565b5061252692915061252a565b5090565b5b80821115612526576000815560010161252b565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461256d57600080fd5b50565b60006020828403121561258257600080fd5b8135610a1e8161253f565b60005b838110156125a8578181015183820152602001612590565b838111156110445750506000910152565b600081518084526125d181602086016020860161258d565b601f01601f19169290920160200192915050565b602081526000610a1e60208301846125b9565b60006020828403121561260a57600080fd5b5035919050565b80356001600160a01b038116811461262857600080fd5b919050565b6000806040838503121561264057600080fd5b61264983612611565b946020939093013593505050565b60006020828403121561266957600080fd5b610a1e82612611565b60008083601f84011261268457600080fd5b50813567ffffffffffffffff81111561269c57600080fd5b6020830191508360208285010111156119e657600080fd5b6000806000604084860312156126c957600080fd5b83359250602084013567ffffffffffffffff8111156126e757600080fd5b6126f386828701612672565b9497909650939450505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f83011261274057600080fd5b813567ffffffffffffffff8082111561275b5761275b612700565b604051601f8301601f19908116603f0116810190828211818310171561278357612783612700565b8160405283815286602085880101111561279c57600080fd5b836020870160208301376000602085830101528094505050505092915050565b600080604083850312156127cf57600080fd5b6127d883612611565b9150602083013567ffffffffffffffff8111156127f457600080fd5b6128008582860161272f565b9150509250929050565b60008060006060848603121561281f57600080fd5b61282884612611565b925061283660208501612611565b9150604084013590509250925092565b6000806020838503121561285957600080fd5b823567ffffffffffffffff81111561287057600080fd5b61287c85828601612672565b90969095509350505050565b60006020828403121561289a57600080fd5b813561ffff81168114610a1e57600080fd5b600080604083850312156128bf57600080fd5b6128c883612611565b9150602083013580151581146128dd57600080fd5b809150509250929050565b600080600080608085870312156128fe57600080fd5b61290785612611565b935061291560208601612611565b925060408501359150606085013567ffffffffffffffff81111561293857600080fd5b6129448782880161272f565b91505092959194509250565b6000806040838503121561296357600080fd5b82359150602083013567ffffffffffffffff8111156127f457600080fd5b6000806040838503121561299457600080fd5b61299d83612611565b91506129ab60208401612611565b90509250929050565b600181811c908216806129c857607f821691505b60208210811415612a02577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115612a4a57612a4a612a08565b500190565b600061ffff821680612a6357612a63612a08565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0192915050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612abd57612abd612a08565b5060010190565b600082821015612ad657612ad6612a08565b500390565b60008351612aed81846020880161258d565b835190830190612b0181836020880161258d565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006001600160a01b03808716835280861660208401525083604083015260806060830152612b6b60808301846125b9565b9695505050505050565b600060208284031215612b8757600080fd5b8151610a1e8161253f565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082612bd057612bd0612b92565b500490565b600082612be457612be4612b92565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b60008251612c2a81846020870161258d565b919091019291505056fe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea264697066735822122048dcb563468c016d0ec4eb3f8a355c477d0787200c5c1312e6bc8562d6e7fe4e64736f6c63430008090033697066733a2f2f516d53667637684a317273326661536439707a5372485336375862586d3761554b746d31344861625935395747662f697066733a2f2f6261667962656968647232746d706a6e6e77653663716b73697564697a7462376c796a336f666a626b677235643476776b716f6476706d737a7565

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102265760003560e01c80636352211e1161012a578063a22cb465116100bd578063d5abeb011161008c578063e985e9c511610071578063e985e9c5146104a3578063f2fde38b146104df578063fe60d12c146104f257600080fd5b8063d5abeb0114610487578063db7fd4081461049057600080fd5b8063a22cb46514610446578063b88d4fde14610459578063c87b56dd1461046c578063cef216e21461047f57600080fd5b806370a08231116100f957806370a0823114610412578063715018a6146104255780638da5cb5b1461042d57806395d89b411461043e57600080fd5b80636352211e146103d057806365ce2e98146103e35780636ad1fe02146103f65780636c0360eb1461040a57600080fd5b80631f0a8fa7116101bd5780633bd649681161018c5780634f6ccce7116101715780634f6ccce71461039557806351830227146103a857806355f804b3146103bd57600080fd5b80633bd649681461037a57806342842e0e1461038257600080fd5b80631f0a8fa71461032e57806323b872dd146103415780632f745c591461035457806331ffd6f11461036757600080fd5b80630a398b88116101f95780630a398b88146102da578063162094c4146102fd57806318160ddd146103105780631d9cfd6d1461032657600080fd5b806301ffc9a71461022b57806306fdde0314610285578063081812fc1461029a578063095ea7b3146102c5575b600080fd5b610270610239366004612570565b7fffffffff000000000000000000000000000000000000000000000000000000001660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61028d610513565b60405161027c91906125e5565b6102ad6102a83660046125f8565b6105a5565b6040516001600160a01b03909116815260200161027c565b6102d86102d336600461262d565b610643565b005b6102706102e8366004612657565b60106020526000908152604090205460ff1681565b6102d861030b3660046126b4565b610775565b61031861080f565b60405190815260200161027c565b6102d8610820565b61027061033c3660046127bc565b6108b6565b6102d861034f36600461280a565b610975565b61031861036236600461262d565b6109fc565b600e546102709062010000900460ff1681565b6102d8610a25565b6102d861039036600461280a565b610abc565b6103186103a33660046125f8565b610ad7565b600e5461027090640100000000900460ff1681565b6102d86103cb366004612846565b610aed565b6102ad6103de3660046125f8565b610b8a565b6102d86103f1366004612888565b610bb2565b600e54610270906301000000900460ff1681565b61028d610d60565b610318610420366004612657565b610d6f565b6102d8610e0e565b600b546001600160a01b03166102ad565b61028d610eca565b6102d86104543660046128ac565b610ed9565b6102d86104673660046128e8565b610fbc565b61028d61047a3660046125f8565b61104a565b6102d86110f8565b610318600d5481565b6102d861049e366004612950565b61118d565b6102706104b1366004612981565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6102d86104ed366004612657565b611419565b600e546105009061ffff1681565b60405161ffff909116815260200161027c565b606060078054610522906129b4565b80601f016020809104026020016040519081016040528092919081815260200182805461054e906129b4565b801561059b5780601f106105705761010080835404028352916020019161059b565b820191906000526020600020905b81548152906001019060200180831161057e57829003601f168201915b5050505050905090565b60006105b082611563565b6106275760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061064e82610b8a565b9050806001600160a01b0316836001600160a01b031614156106d85760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f7200000000000000000000000000000000000000000000000000000000000000606482015260840161061e565b336001600160a01b03821614806106f457506106f481336104b1565b6107665760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161061e565b6107708383611570565b505050565b600b546001600160a01b031633146107cf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161061e565b6107708383838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506115f692505050565b600061081b6002611690565b905090565b600b546001600160a01b0316331461087a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161061e565b600e80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffff811663010000009182900460ff1615909102179055565b604080517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606085901b16602080830191909152825180830360140181526034830184528051908201207f19457468657265756d205369676e6564204d6573736167653a0a333200000000605484015260708084018290528451808503909101815260909093019093528151910120600c5460009291906001600160a01b0316610960828661169b565b6001600160a01b031614925050505b92915050565b61097f338261171a565b6109f15760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161061e565b610770838383611815565b6001600160a01b0382166000908152600160205260408120610a1e90836119c3565b9392505050565b600b546001600160a01b03163314610a7f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161061e565b600e80547fffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffffff81166401000000009182900460ff1615909102179055565b61077083838360405180602001604052806000815250610fbc565b600080610ae56002846119cf565b509392505050565b600b546001600160a01b03163314610b475760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161061e565b610b8682828080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506119ed92505050565b5050565b600061096f82604051806060016040528060298152602001612c676029913960029190611a00565b600b546001600160a01b03163314610c0c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161061e565b600d548161ffff16610c1c61080f565b610c269190612a37565b1115610c745760405162461bcd60e51b815260206004820152601c60248201527f5468697320776f756c6420657863656564206d617820737570706c7900000000604482015260640161061e565b600e5461ffff16610ced5760405162461bcd60e51b815260206004820152602160248201527f5468697320776f756c642065786365656420726573657276656420737570706c60448201527f7900000000000000000000000000000000000000000000000000000000000000606482015260840161061e565b60005b8161ffff16811015610b86576000610d0661080f565b610d11906001612a37565b9050610d1d3382611a0d565b600e805461ffff16906000610d3183612a4f565b91906101000a81548161ffff021916908361ffff16021790555050508080610d5890612a8b565b915050610cf0565b6060600a8054610522906129b4565b60006001600160a01b038216610ded5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f206164647265737300000000000000000000000000000000000000000000606482015260840161061e565b6001600160a01b038216600090815260016020526040902061096f90611a27565b600b546001600160a01b03163314610e685760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161061e565b600b546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600b80547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b606060088054610522906129b4565b6001600160a01b038216331415610f325760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161061e565b3360008181526006602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610fc6338361171a565b6110385760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161061e565b61104484848484611a31565b50505050565b600e54606090640100000000900460ff166110ef57600f805461106c906129b4565b80601f0160208091040260200160405190810160405280929190818152602001828054611098906129b4565b80156110e55780601f106110ba576101008083540402835291602001916110e5565b820191906000526020600020905b8154815290600101906020018083116110c857829003601f168201915b505050505061096f565b61096f82611aba565b600b546001600160a01b031633146111525760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161061e565b600e80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff8116620100009182900460ff1615909102179055565b600e5462010000900460ff166111af57600e546301000000900460ff166111b9565b6111b933826108b6565b6112515760405162461bcd60e51b815260206004820152605a60248201527f596f752077657265206e6f7420616464656420746f207468652077686974656c60448201527f6973742e20506c6561736520636f6e746163742061206d6f6420696620796f7560648201527f207468696e6b2074686973207761732061206d697374616b652e000000000000608482015260a40161061e565b3360009081526010602052604090205460ff16156112d75760405162461bcd60e51b815260206004820152602260248201527f596f75206861766520616c7265616479206d696e746564205368696974616b6560448201527f732e000000000000000000000000000000000000000000000000000000000000606482015260840161061e565b60028211156113285760405162461bcd60e51b815260206004820152601860248201527f4d617820706572207472616e73616374696f6e20697320320000000000000000604482015260640161061e565b600e54600d5461133c9161ffff1690612ac4565b8261134561080f565b61134f9190612a37565b111561139d5760405162461bcd60e51b815260206004820152601760248201527f576f756c6420657863656564206d617820737570706c79000000000000000000604482015260640161061e565b60005b828110156113dc5760006113b261080f565b6113bd906001612a37565b90506113c93382611a0d565b50806113d481612a8b565b9150506113a0565b505033600090815260106020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905550565b600b546001600160a01b031633146114735760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161061e565b6001600160a01b0381166114ef5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161061e565b600b546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600b80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b600061096f600283611c3a565b600081815260056020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03841690811790915581906115bd82610b8a565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6115ff82611563565b6116715760405162461bcd60e51b815260206004820152602c60248201527f4552433732314d657461646174613a2055524920736574206f66206e6f6e657860448201527f697374656e7420746f6b656e0000000000000000000000000000000000000000606482015260840161061e565b60008281526009602090815260409091208251610770928401906124a6565b600061096f82611c46565b6000806000806116aa85611c51565b6040805160008152602081018083528b905260ff8316918101919091526060810184905260808101839052929550909350915060019060a0016020604051602081039080840390855afa158015611705573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b600061172582611563565b6117975760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e0000000000000000000000000000000000000000606482015260840161061e565b60006117a283610b8a565b9050806001600160a01b0316846001600160a01b031614806117dd5750836001600160a01b03166117d2846105a5565b6001600160a01b0316145b8061180d57506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661182882610b8a565b6001600160a01b0316146118a45760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e0000000000000000000000000000000000000000000000606482015260840161061e565b6001600160a01b03821661191f5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161061e565b61192a600082611570565b6001600160a01b038316600090815260016020526040902061194c9082611cc5565b506001600160a01b038216600090815260016020526040902061196f9082611cd1565b5061197c60028284611cdd565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610a1e8383611cf3565b60008080806119de8686611d94565b909450925050505b9250929050565b8051610b8690600a9060208401906124a6565b600061180d848484611dbf565b610b86828260405180602001604052806000815250611e0b565b600061096f825490565b611a3c848484611815565b611a4884848484611e94565b6110445760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161061e565b6060611ac582611563565b611b375760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606482015260840161061e565b60008281526009602052604081208054611b50906129b4565b80601f0160208091040260200160405190810160405280929190818152602001828054611b7c906129b4565b8015611bc95780601f10611b9e57610100808354040283529160200191611bc9565b820191906000526020600020905b815481529060010190602001808311611bac57829003601f168201915b505050505090506000611bda610d60565b9050805160001415611bed575092915050565b815115611c1f578082604051602001611c07929190612adb565b60405160208183030381529060405292505050919050565b80611c2985611fd9565b604051602001611c07929190612adb565b6000610a1e838361210b565b600061096f82611a27565b60008060008351604114611ca75760405162461bcd60e51b815260206004820152601860248201527f696e76616c6964207369676e6174757265206c656e6774680000000000000000604482015260640161061e565b50505060208101516040820151606090920151909260009190911a90565b6000610a1e838361212a565b6000610a1e8383612217565b600061180d84846001600160a01b038516612266565b81546000908210611d6c5760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e60448201527f6473000000000000000000000000000000000000000000000000000000000000606482015260840161061e565b826000018281548110611d8157611d81612b0a565b9060005260206000200154905092915050565b60008080611da285856119c3565b600081815260029690960160205260409095205494959350505050565b600082815260028401602052604081205480151580611de35750611de3858561210b565b8390611e025760405162461bcd60e51b815260040161061e91906125e5565b50949350505050565b611e158383612283565b611e226000848484611e94565b6107705760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161061e565b60006001600160a01b0384163b611ead5750600161180d565b6000611f717f150b7a020000000000000000000000000000000000000000000000000000000033888787604051602401611eea9493929190612b39565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051806060016040528060328152602001612c35603291396001600160a01b038816919061239b565b9050600081806020019051810190611f899190612b75565b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001492505050949350505050565b60608161201957505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612043578061202d81612a8b565b915061203c9050600a83612bc1565b915061201d565b60008167ffffffffffffffff81111561205e5761205e612700565b6040519080825280601f01601f191660200182016040528015612088576020820181803683370190505b5090505b841561180d5761209d600183612ac4565b91506120aa600a86612bd5565b6120b5906030612a37565b60f81b8183815181106120ca576120ca612b0a565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612104600a86612bc1565b945061208c565b6000610a1e838360008181526001830160205260408120541515610a1e565b6000818152600183016020526040812054801561220d57600061214e600183612ac4565b855490915060009061216290600190612ac4565b9050600086600001828154811061217b5761217b612b0a565b906000526020600020015490508087600001848154811061219e5761219e612b0a565b6000918252602080832090910192909255828152600189019091526040902084905586548790806121d1576121d1612be9565b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061096f565b600091505061096f565b600081815260018301602052604081205461225e5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561096f565b50600061096f565b6000828152600284016020526040812082905561180d8484611cd1565b6001600160a01b0382166122d95760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161061e565b6122e281611563565b1561232f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161061e565b6001600160a01b03821660009081526001602052604090206123519082611cd1565b5061235e60028284611cdd565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b606061180d848460008585843b6123f45760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161061e565b600080866001600160a01b031685876040516124109190612c18565b60006040518083038185875af1925050503d806000811461244d576040519150601f19603f3d011682016040523d82523d6000602084013e612452565b606091505b509150915061246282828661246d565b979650505050505050565b6060831561247c575081610a1e565b82511561248c5782518084602001fd5b8160405162461bcd60e51b815260040161061e91906125e5565b8280546124b2906129b4565b90600052602060002090601f0160209004810192826124d4576000855561251a565b82601f106124ed57805160ff191683800117855561251a565b8280016001018555821561251a579182015b8281111561251a5782518255916020019190600101906124ff565b5061252692915061252a565b5090565b5b80821115612526576000815560010161252b565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461256d57600080fd5b50565b60006020828403121561258257600080fd5b8135610a1e8161253f565b60005b838110156125a8578181015183820152602001612590565b838111156110445750506000910152565b600081518084526125d181602086016020860161258d565b601f01601f19169290920160200192915050565b602081526000610a1e60208301846125b9565b60006020828403121561260a57600080fd5b5035919050565b80356001600160a01b038116811461262857600080fd5b919050565b6000806040838503121561264057600080fd5b61264983612611565b946020939093013593505050565b60006020828403121561266957600080fd5b610a1e82612611565b60008083601f84011261268457600080fd5b50813567ffffffffffffffff81111561269c57600080fd5b6020830191508360208285010111156119e657600080fd5b6000806000604084860312156126c957600080fd5b83359250602084013567ffffffffffffffff8111156126e757600080fd5b6126f386828701612672565b9497909650939450505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f83011261274057600080fd5b813567ffffffffffffffff8082111561275b5761275b612700565b604051601f8301601f19908116603f0116810190828211818310171561278357612783612700565b8160405283815286602085880101111561279c57600080fd5b836020870160208301376000602085830101528094505050505092915050565b600080604083850312156127cf57600080fd5b6127d883612611565b9150602083013567ffffffffffffffff8111156127f457600080fd5b6128008582860161272f565b9150509250929050565b60008060006060848603121561281f57600080fd5b61282884612611565b925061283660208501612611565b9150604084013590509250925092565b6000806020838503121561285957600080fd5b823567ffffffffffffffff81111561287057600080fd5b61287c85828601612672565b90969095509350505050565b60006020828403121561289a57600080fd5b813561ffff81168114610a1e57600080fd5b600080604083850312156128bf57600080fd5b6128c883612611565b9150602083013580151581146128dd57600080fd5b809150509250929050565b600080600080608085870312156128fe57600080fd5b61290785612611565b935061291560208601612611565b925060408501359150606085013567ffffffffffffffff81111561293857600080fd5b6129448782880161272f565b91505092959194509250565b6000806040838503121561296357600080fd5b82359150602083013567ffffffffffffffff8111156127f457600080fd5b6000806040838503121561299457600080fd5b61299d83612611565b91506129ab60208401612611565b90509250929050565b600181811c908216806129c857607f821691505b60208210811415612a02577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115612a4a57612a4a612a08565b500190565b600061ffff821680612a6357612a63612a08565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0192915050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612abd57612abd612a08565b5060010190565b600082821015612ad657612ad6612a08565b500390565b60008351612aed81846020880161258d565b835190830190612b0181836020880161258d565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006001600160a01b03808716835280861660208401525083604083015260806060830152612b6b60808301846125b9565b9695505050505050565b600060208284031215612b8757600080fd5b8151610a1e8161253f565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082612bd057612bd0612b92565b500490565b600082612be457612be4612b92565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b60008251612c2a81846020870161258d565b919091019291505056fe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea264697066735822122048dcb563468c016d0ec4eb3f8a355c477d0787200c5c1312e6bc8562d6e7fe4e64736f6c63430008090033

Deployed Bytecode Sourcemap

58796:4334:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41042:150;;;;;;:::i;:::-;41151:33;;41127:4;41151:33;;;;;;;;;;;;;;41042:150;;;;611:14:1;;604:22;586:41;;574:2;559:18;41042:150:0;;;;;;;;45846:100;;;:::i;:::-;;;;;;;:::i;48632:221::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1797:55:1;;;1779:74;;1767:2;1752:18;48632:221:0;1633:226:1;48162:404:0;;;;;;:::i;:::-;;:::i;:::-;;59212:46;;;;;;:::i;:::-;;;;;;;;;;;;;;;;61142:135;;;;;;:::i;:::-;;:::i;47640:211::-;;;:::i;:::-;;;3498:25:1;;;3486:2;3471:18;47640:211:0;3352:177:1;60868:69:0;;;:::i;61691:328::-;;;;;;:::i;:::-;;:::i;49522:305::-;;;;;;:::i;:::-;;:::i;47402:162::-;;;;;;:::i;:::-;;:::i;59000:33::-;;;;;;;;;;;;61053:81;;;:::i;49898:151::-;;;;;;:::i;:::-;;:::i;47928:172::-;;;;;;:::i;:::-;;:::i;59071:28::-;;;;;;;;;;;;60755:105;;;;;;:::i;:::-;;:::i;45602:177::-;;;;;;:::i;:::-;;:::i;60164:417::-;;;;;;:::i;:::-;;:::i;59040:24::-;;;;;;;;;;;;47221:97;;;:::i;45319:221::-;;;;;;:::i;:::-;;:::i;1560:148::-;;;:::i;909:87::-;982:6;;-1:-1:-1;;;;;982:6:0;909:87;;46015:104;;;:::i;48925:295::-;;;;;;:::i;:::-;;:::i;50120:285::-;;;;;;:::i;:::-;;:::i;60589:152::-;;;;;;:::i;:::-;;:::i;60945:96::-;;;:::i;58920:31::-;;;;;;59413:739;;;;;;:::i;:::-;;:::i;49291:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;49412:25:0;;;49388:4;49412:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;49291:164;1863:244;;;;;;:::i;:::-;;:::i;58964:27::-;;;;;;;;;;;;7656:6:1;7644:19;;;7626:38;;7614:2;7599:18;58964:27:0;7482:188:1;45846:100:0;45900:13;45933:5;45926:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45846:100;:::o;48632:221::-;48708:7;48736:16;48744:7;48736;:16::i;:::-;48728:73;;;;-1:-1:-1;;;48728:73:0;;8319:2:1;48728:73:0;;;8301:21:1;8358:2;8338:18;;;8331:30;8397:34;8377:18;;;8370:62;8468:14;8448:18;;;8441:42;8500:19;;48728:73:0;;;;;;;;;-1:-1:-1;48821:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;48821:24:0;;48632:221::o;48162:404::-;48243:13;48259:23;48274:7;48259:14;:23::i;:::-;48243:39;;48307:5;-1:-1:-1;;;;;48301:11:0;:2;-1:-1:-1;;;;;48301:11:0;;;48293:57;;;;-1:-1:-1;;;48293:57:0;;8732:2:1;48293:57:0;;;8714:21:1;8771:2;8751:18;;;8744:30;8810:34;8790:18;;;8783:62;8881:3;8861:18;;;8854:31;8902:19;;48293:57:0;8530:397:1;48293:57:0;140:10;-1:-1:-1;;;;;48371:21:0;;;;:69;;-1:-1:-1;48396:44:0;48420:5;140:10;49291:164;:::i;48396:44::-;48363:161;;;;-1:-1:-1;;;48363:161:0;;9134:2:1;48363:161:0;;;9116:21:1;9173:2;9153:18;;;9146:30;9212:34;9192:18;;;9185:62;9283:26;9263:18;;;9256:54;9327:19;;48363:161:0;8932:420:1;48363:161:0;48537:21;48546:2;48550:7;48537:8;:21::i;:::-;48232:334;48162:404;;:::o;61142:135::-;982:6;;-1:-1:-1;;;;;982:6:0;140:10;1129:23;1121:68;;;;-1:-1:-1;;;1121:68:0;;9559:2:1;1121:68:0;;;9541:21:1;;;9578:18;;;9571:30;9637:34;9617:18;;;9610:62;9689:18;;1121:68:0;9357:356:1;1121:68:0;61237:32:::1;61250:7;61259:9;;61237:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;61237:12:0::1;::::0;-1:-1:-1;;;61237:32:0:i:1;47640:211::-:0;47701:7;47822:21;:12;:19;:21::i;:::-;47815:28;;47640:211;:::o;60868:69::-;982:6;;-1:-1:-1;;;;;982:6:0;140:10;1129:23;1121:68;;;;-1:-1:-1;;;1121:68:0;;9559:2:1;1121:68:0;;;9541:21:1;;;9578:18;;;9571:30;9637:34;9617:18;;;9610:62;9689:18;;1121:68:0;9357:356:1;1121:68:0;60925:4:::1;::::0;;60917:12;;::::1;60925:4:::0;;;;::::1;;;60924:5;60917:12:::0;;::::1;;::::0;;60868:69::o;61691:328::-;61822:22;;;9880:66:1;9867:2;9863:15;;;9859:88;61822:22:0;;;;9847:101:1;;;;61822:22:0;;;;;;;;;9964:12:1;;;61822:22:0;;61812:33;;;;;;15496:66:1;61594::0;;;15484:79:1;15579:12;;;;15572:28;;;61594:66:0;;;;;;;;;;15616:12:1;;;;61594:66:0;;;61570:101;;;;;61997:14;;-1:-1:-1;;61812:33:0;61570:101;-1:-1:-1;;;;;61997:14:0;61947:46;61570:101;61983:9;61947:13;:46::i;:::-;-1:-1:-1;;;;;61947:64:0;;61940:71;;;;61691:328;;;;;:::o;49522:305::-;49683:41;140:10;49716:7;49683:18;:41::i;:::-;49675:103;;;;-1:-1:-1;;;49675:103:0;;10189:2:1;49675:103:0;;;10171:21:1;10228:2;10208:18;;;10201:30;10267:34;10247:18;;;10240:62;10338:19;10318:18;;;10311:47;10375:19;;49675:103:0;9987:413:1;49675:103:0;49791:28;49801:4;49807:2;49811:7;49791:9;:28::i;47402:162::-;-1:-1:-1;;;;;47526:20:0;;47499:7;47526:20;;;:13;:20;;;;;:30;;47550:5;47526:23;:30::i;:::-;47519:37;47402:162;-1:-1:-1;;;47402:162:0:o;61053:81::-;982:6;;-1:-1:-1;;;;;982:6:0;140:10;1129:23;1121:68;;;;-1:-1:-1;;;1121:68:0;;9559:2:1;1121:68:0;;;9541:21:1;;;9578:18;;;9571:30;9637:34;9617:18;;;9610:62;9689:18;;1121:68:0;9357:356:1;1121:68:0;61118:8:::1;::::0;;61106:20;;::::1;61118:8:::0;;;;::::1;;;61117:9;61106:20:::0;;::::1;;::::0;;61053:81::o;49898:151::-;50002:39;50019:4;50025:2;50029:7;50002:39;;;;;;;;;;;;:16;:39::i;47928:172::-;48003:7;;48045:22;:12;48061:5;48045:15;:22::i;:::-;-1:-1:-1;48023:44:0;47928:172;-1:-1:-1;;;47928:172:0:o;60755:105::-;982:6;;-1:-1:-1;;;;;982:6:0;140:10;1129:23;1121:68;;;;-1:-1:-1;;;1121:68:0;;9559:2:1;1121:68:0;;;9541:21:1;;;9578:18;;;9571:30;9637:34;9617:18;;;9610:62;9689:18;;1121:68:0;9357:356:1;1121:68:0;60831:21:::1;60843:8;;60831:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;60831:11:0::1;::::0;-1:-1:-1;;;60831:21:0:i:1;:::-;60755:105:::0;;:::o;45602:177::-;45674:7;45701:70;45718:7;45701:70;;;;;;;;;;;;;;;;;:12;;:70;:16;:70::i;60164:417::-;982:6;;-1:-1:-1;;;;;982:6:0;140:10;1129:23;1121:68;;;;-1:-1:-1;;;1121:68:0;;9559:2:1;1121:68:0;;;9541:21:1;;;9578:18;;;9571:30;9637:34;9617:18;;;9610:62;9689:18;;1121:68:0;9357:356:1;1121:68:0;60267:9:::1;;60255:8;60239:24;;:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:37;;60231:78;;;::::0;-1:-1:-1;;;60231:78:0;;10929:2:1;60231:78:0::1;::::0;::::1;10911:21:1::0;10968:2;10948:18;;;10941:30;11007;10987:18;;;10980:58;11055:18;;60231:78:0::1;10727:352:1::0;60231:78:0::1;60328:8;::::0;::::1;;60320:58;;;::::0;-1:-1:-1;;;60320:58:0;;11286:2:1;60320:58:0::1;::::0;::::1;11268:21:1::0;11325:2;11305:18;;;11298:30;11364:34;11344:18;;;11337:62;11435:3;11415:18;;;11408:31;11456:19;;60320:58:0::1;11084:397:1::0;60320:58:0::1;60403:9;60399:175;60422:8;60418:12;;:1;:12;60399:175;;;60452:17;60472:14;:11;:14::i;:::-;:18;::::0;60489:1:::1;60472:18;:::i;:::-;60452:38;;60505:32;60515:10;60527:9;60505;:32::i;:::-;60552:8;:10:::0;;::::1;;::::0;:8:::1;:10;::::0;::::1;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;60437:137;60432:3;;;;;:::i;:::-;;;;60399:175;;47221:97:::0;47269:13;47302:8;47295:15;;;;;:::i;45319:221::-;45391:7;-1:-1:-1;;;;;45419:19:0;;45411:74;;;;-1:-1:-1;;;45411:74:0;;12134:2:1;45411:74:0;;;12116:21:1;12173:2;12153:18;;;12146:30;12212:34;12192:18;;;12185:62;12283:12;12263:18;;;12256:40;12313:19;;45411:74:0;11932:406:1;45411:74:0;-1:-1:-1;;;;;45503:20:0;;;;;;:13;:20;;;;;:29;;:27;:29::i;1560:148::-;982:6;;-1:-1:-1;;;;;982:6:0;140:10;1129:23;1121:68;;;;-1:-1:-1;;;1121:68:0;;9559:2:1;1121:68:0;;;9541:21:1;;;9578:18;;;9571:30;9637:34;9617:18;;;9610:62;9689:18;;1121:68:0;9357:356:1;1121:68:0;1651:6:::1;::::0;1630:40:::1;::::0;1667:1:::1;::::0;-1:-1:-1;;;;;1651:6:0::1;::::0;1630:40:::1;::::0;1667:1;;1630:40:::1;1681:6;:19:::0;;;::::1;::::0;;1560:148::o;46015:104::-;46071:13;46104:7;46097:14;;;;;:::i;48925:295::-;-1:-1:-1;;;;;49028:24:0;;140:10;49028:24;;49020:62;;;;-1:-1:-1;;;49020:62:0;;12545:2:1;49020:62:0;;;12527:21:1;12584:2;12564:18;;;12557:30;12623:27;12603:18;;;12596:55;12668:18;;49020:62:0;12343:349:1;49020:62:0;140:10;49095:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;49095:42:0;;;;;;;;;;;;:53;;;;;;;;;;;;;49164:48;;586:41:1;;;49095:42:0;;140:10;49164:48;;559:18:1;49164:48:0;;;;;;;48925:295;;:::o;50120:285::-;50252:41;140:10;50285:7;50252:18;:41::i;:::-;50244:103;;;;-1:-1:-1;;;50244:103:0;;10189:2:1;50244:103:0;;;10171:21:1;10228:2;10208:18;;;10201:30;10267:34;10247:18;;;10240:62;10338:19;10318:18;;;10311:47;10375:19;;50244:103:0;9987:413:1;50244:103:0;50358:39;50372:4;50378:2;50382:7;50391:5;50358:13;:39::i;:::-;50120:285;;;;:::o;60589:152::-;60683:8;;60650:13;;60683:8;;;;;:50;;60720:13;60683:50;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60694:23;60709:7;60694:14;:23::i;60945:96::-;982:6;;-1:-1:-1;;;;;982:6:0;140:10;1129:23;1121:68;;;;-1:-1:-1;;;1121:68:0;;9559:2:1;1121:68:0;;;9541:21:1;;;9578:18;;;9571:30;9637:34;9617:18;;;9610:62;9689:18;;1121:68:0;9357:356:1;1121:68:0;61020:13:::1;::::0;;61003:30;;::::1;61020:13:::0;;;;::::1;;;61019:14;61003:30:::0;;::::1;;::::0;;60945:96::o;59413:739::-;59497:13;;;;;;;:59;;59552:4;;;;;;;59497:59;;;59513:36;59527:10;59539:9;59513:13;:36::i;:::-;59489:162;;;;-1:-1:-1;;;59489:162:0;;12899:2:1;59489:162:0;;;12881:21:1;12938:2;12918:18;;;12911:30;12977:34;12957:18;;;12950:62;13048:34;13028:18;;;13021:62;13120:28;13099:19;;;13092:57;13166:19;;59489:162:0;12697:494:1;59489:162:0;59695:10;59681:25;;;;:13;:25;;;;;;;;59680:26;59672:73;;;;-1:-1:-1;;;59672:73:0;;13398:2:1;59672:73:0;;;13380:21:1;13437:2;13417:18;;;13410:30;13476:34;13456:18;;;13449:62;13547:4;13527:18;;;13520:32;13569:19;;59672:73:0;13196:398:1;59672:73:0;59786:1;59774:8;:13;;59766:50;;;;-1:-1:-1;;;59766:50:0;;13801:2:1;59766:50:0;;;13783:21:1;13840:2;13820:18;;;13813:30;13879:26;13859:18;;;13852:54;13923:18;;59766:50:0;13599:348:1;59766:50:0;59885:8;;59873:9;;:20;;59885:8;;;59873:20;:::i;:::-;59861:8;59845:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:48;;59837:84;;;;-1:-1:-1;;;59837:84:0;;14284:2:1;59837:84:0;;;14266:21:1;14323:2;14303:18;;;14296:30;14362:25;14342:18;;;14335:53;14405:18;;59837:84:0;14082:347:1;59837:84:0;59946:9;59942:150;59965:8;59961:1;:12;59942:150;;;59995:17;60015:14;:11;:14::i;:::-;:18;;60032:1;60015:18;:::i;:::-;59995:38;;60048:32;60058:10;60070:9;60048;:32::i;:::-;-1:-1:-1;59975:3:0;;;;:::i;:::-;;;;59942:150;;;-1:-1:-1;;60126:10:0;60112:25;;;;:13;:25;;;;;:32;;;;60140:4;60112:32;;;-1:-1:-1;59413:739:0:o;1863:244::-;982:6;;-1:-1:-1;;;;;982:6:0;140:10;1129:23;1121:68;;;;-1:-1:-1;;;1121:68:0;;9559:2:1;1121:68:0;;;9541:21:1;;;9578:18;;;9571:30;9637:34;9617:18;;;9610:62;9689:18;;1121:68:0;9357:356:1;1121:68:0;-1:-1:-1;;;;;1952:22:0;::::1;1944:73;;;::::0;-1:-1:-1;;;1944:73:0;;14636:2:1;1944:73:0::1;::::0;::::1;14618:21:1::0;14675:2;14655:18;;;14648:30;14714:34;14694:18;;;14687:62;14785:8;14765:18;;;14758:36;14811:19;;1944:73:0::1;14434:402:1::0;1944:73:0::1;2054:6;::::0;2033:38:::1;::::0;-1:-1:-1;;;;;2033:38:0;;::::1;::::0;2054:6:::1;::::0;2033:38:::1;::::0;2054:6:::1;::::0;2033:38:::1;2082:6;:17:::0;;;::::1;-1:-1:-1::0;;;;;2082:17:0;;;::::1;::::0;;;::::1;::::0;;1863:244::o;51872:127::-;51937:4;51961:30;:12;51983:7;51961:21;:30::i;57889:192::-;57964:24;;;;:15;:24;;;;;:29;;;;-1:-1:-1;;;;;57964:29:0;;;;;;;;:24;;58018:23;57964:24;58018:14;:23::i;:::-;-1:-1:-1;;;;;58009:46:0;;;;;;;;;;;57889:192;;:::o;56056:215::-;56156:16;56164:7;56156;:16::i;:::-;56148:73;;;;-1:-1:-1;;;56148:73:0;;15043:2:1;56148:73:0;;;15025:21:1;15082:2;15062:18;;;15055:30;15121:34;15101:18;;;15094:62;15192:14;15172:18;;;15165:42;15224:19;;56148:73:0;14841:408:1;56148:73:0;56232:19;;;;:10;:19;;;;;;;;:31;;;;;;;;:::i;31565:123::-;31634:7;31661:19;31669:3;31661:7;:19::i;62031:248::-;62132:7;62153:9;62164;62175:7;62186:26;62201:10;62186:14;:26::i;:::-;62230:41;;;;;;;;;;;;15866:25:1;;;15939:4;15927:17;;15907:18;;;15900:45;;;;15961:18;;;15954:34;;;16004:18;;;15997:34;;;62152:60:0;;-1:-1:-1;62152:60:0;;-1:-1:-1;62152:60:0;-1:-1:-1;62230:41:0;;15838:19:1;;62230:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;62230:41:0;;-1:-1:-1;;62230:41:0;;;62031:248;-1:-1:-1;;;;;;;62031:248:0:o;52166:355::-;52259:4;52284:16;52292:7;52284;:16::i;:::-;52276:73;;;;-1:-1:-1;;;52276:73:0;;16244:2:1;52276:73:0;;;16226:21:1;16283:2;16263:18;;;16256:30;16322:34;16302:18;;;16295:62;16393:14;16373:18;;;16366:42;16425:19;;52276:73:0;16042:408:1;52276:73:0;52360:13;52376:23;52391:7;52376:14;:23::i;:::-;52360:39;;52429:5;-1:-1:-1;;;;;52418:16:0;:7;-1:-1:-1;;;;;52418:16:0;;:51;;;;52462:7;-1:-1:-1;;;;;52438:31:0;:20;52450:7;52438:11;:20::i;:::-;-1:-1:-1;;;;;52438:31:0;;52418:51;:94;;;-1:-1:-1;;;;;;49412:25:0;;;49388:4;49412:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;52473:39;52410:103;52166:355;-1:-1:-1;;;;52166:355:0:o;55301:599::-;55426:4;-1:-1:-1;;;;;55399:31:0;:23;55414:7;55399:14;:23::i;:::-;-1:-1:-1;;;;;55399:31:0;;55391:85;;;;-1:-1:-1;;;55391:85:0;;16657:2:1;55391:85:0;;;16639:21:1;16696:2;16676:18;;;16669:30;16735:34;16715:18;;;16708:62;16806:11;16786:18;;;16779:39;16835:19;;55391:85:0;16455:405:1;55391:85:0;-1:-1:-1;;;;;55513:16:0;;55505:65;;;;-1:-1:-1;;;55505:65:0;;17067:2:1;55505:65:0;;;17049:21:1;17106:2;17086:18;;;17079:30;17145:34;17125:18;;;17118:62;17216:6;17196:18;;;17189:34;17240:19;;55505:65:0;16865:400:1;55505:65:0;55687:29;55704:1;55708:7;55687:8;:29::i;:::-;-1:-1:-1;;;;;55729:19:0;;;;;;:13;:19;;;;;:35;;55756:7;55729:26;:35::i;:::-;-1:-1:-1;;;;;;55775:17:0;;;;;;:13;:17;;;;;:30;;55797:7;55775:21;:30::i;:::-;-1:-1:-1;55818:29:0;:12;55835:7;55844:2;55818:16;:29::i;:::-;;55884:7;55880:2;-1:-1:-1;;;;;55865:27:0;55874:4;-1:-1:-1;;;;;55865:27:0;;;;;;;;;;;55301:599;;;:::o;26552:137::-;26623:7;26658:22;26662:3;26674:5;26658:3;:22::i;32027:236::-;32107:7;;;;32167:22;32171:3;32183:5;32167:3;:22::i;:::-;32136:53;;-1:-1:-1;32136:53:0;-1:-1:-1;;;32027:236:0;;;;;;:::o;56501:100::-;56574:19;;;;:8;;:19;;;;;:::i;33313:213::-;33420:7;33471:44;33476:3;33496;33502:12;33471:4;:44::i;52863:110::-;52939:26;52949:2;52953:7;52939:26;;;;;;;;;;;;:9;:26::i;26094:114::-;26154:7;26181:19;26189:3;21220:18;;21137:109;51287:272;51401:28;51411:4;51417:2;51421:7;51401:9;:28::i;:::-;51448:48;51471:4;51477:2;51481:7;51490:5;51448:22;:48::i;:::-;51440:111;;;;-1:-1:-1;;;51440:111:0;;17472:2:1;51440:111:0;;;17454:21:1;17511:2;17491:18;;;17484:30;17550:34;17530:18;;;17523:62;17621:20;17601:18;;;17594:48;17659:19;;51440:111:0;17270:414:1;46190:792:0;46263:13;46297:16;46305:7;46297;:16::i;:::-;46289:76;;;;-1:-1:-1;;;46289:76:0;;17891:2:1;46289:76:0;;;17873:21:1;17930:2;17910:18;;;17903:30;17969:34;17949:18;;;17942:62;18040:17;18020:18;;;18013:45;18075:19;;46289:76:0;17689:411:1;46289:76:0;46378:23;46404:19;;;:10;:19;;;;;46378:45;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46434:18;46455:9;:7;:9::i;:::-;46434:30;;46546:4;46540:18;46562:1;46540:23;46536:72;;;-1:-1:-1;46587:9:0;46190:792;-1:-1:-1;;46190:792:0:o;46536:72::-;46712:23;;:27;46708:108;;46787:4;46793:9;46770:33;;;;;;;;;:::i;:::-;;;;;;;;;;;;;46756:48;;;;46190:792;;;:::o;46708:108::-;46948:4;46954:18;:7;:16;:18::i;:::-;46931:42;;;;;;;;;:::i;31326:151::-;31410:4;31434:35;31444:3;31464;31434:9;:35::i;28414:109::-;28470:7;28497:18;:3;:16;:18::i;62291:836::-;62380:9;62400;62420:7;62459:3;:10;62473:2;62459:16;62451:53;;;;-1:-1:-1;;;62451:53:0;;18782:2:1;62451:53:0;;;18764:21:1;18821:2;18801:18;;;18794:30;18860:26;18840:18;;;18833:54;18904:18;;62451:53:0;18580:348:1;62451:53:0;-1:-1:-1;;;62889:2:0;62880:12;;62874:19;62955:2;62946:12;;62940:19;63058:2;63049:12;;;63043:19;62874;;63040:1;63035:28;;;;;62291:836::o;25639:137::-;25709:4;25733:35;25741:3;25761:5;25733:7;:35::i;25332:131::-;25399:4;25423:32;25428:3;25448:5;25423:4;:32::i;30749:185::-;30838:4;30862:64;30867:3;30887;-1:-1:-1;;;;;30901:23:0;;30862:4;:64::i;21590:204::-;21685:18;;21657:7;;21685:26;-1:-1:-1;21677:73:0;;;;-1:-1:-1;;;21677:73:0;;19135:2:1;21677:73:0;;;19117:21:1;19174:2;19154:18;;;19147:30;19213:34;19193:18;;;19186:62;19284:4;19264:18;;;19257:32;19306:19;;21677:73:0;18933:398:1;21677:73:0;21768:3;:11;;21780:5;21768:18;;;;;;;;:::i;:::-;;;;;;;;;21761:25;;21590:204;;;;:::o;28878:178::-;28945:7;;;28988:19;:3;29001:5;28988:12;:19::i;:::-;29031:16;;;;:11;;;;;:16;;;;;;;;;28878:178;-1:-1:-1;;;;28878:178:0:o;30181:244::-;30275:7;30311:16;;;:11;;;:16;;;;;;30346:10;;;;:33;;;30360:19;30370:3;30375;30360:9;:19::i;:::-;30381:12;30338:56;;;;;-1:-1:-1;;;30338:56:0;;;;;;;;:::i;:::-;-1:-1:-1;30412:5:0;30181:244;-1:-1:-1;;;;30181:244:0:o;53200:250::-;53296:18;53302:2;53306:7;53296:5;:18::i;:::-;53333:54;53364:1;53368:2;53372:7;53381:5;53333:22;:54::i;:::-;53325:117;;;;-1:-1:-1;;;53325:117:0;;17472:2:1;53325:117:0;;;17454:21:1;17511:2;17491:18;;;17484:30;17550:34;17530:18;;;17523:62;17621:20;17601:18;;;17594:48;17659:19;;53325:117:0;17270:414:1;57166:604:0;57287:4;-1:-1:-1;;;;;57314:13:0;;9971:20;57309:60;;-1:-1:-1;57353:4:0;57346:11;;57309:60;57379:23;57405:252;57458:45;140:10;57545:4;57564:7;57586:5;57421:181;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57405:252;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;57405:15:0;;;:252;:15;:252::i;:::-;57379:278;;57668:13;57695:10;57684:32;;;;;;;;;;;;:::i;:::-;57735:26;;57745:16;57735:26;;-1:-1:-1;;;57166:604:0;;;;;;:::o;17051:723::-;17107:13;17328:10;17324:53;;-1:-1:-1;;17355:10:0;;;;;;;;;;;;;;;;;;17051:723::o;17324:53::-;17402:5;17387:12;17443:78;17450:9;;17443:78;;17476:8;;;;:::i;:::-;;-1:-1:-1;17499:10:0;;-1:-1:-1;17507:2:0;17499:10;;:::i;:::-;;;17443:78;;;17531:19;17563:6;17553:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17553:17:0;;17531:39;;17581:154;17588:10;;17581:154;;17615:11;17625:1;17615:11;;:::i;:::-;;-1:-1:-1;17684:10:0;17692:2;17684:5;:10;:::i;:::-;17671:24;;:2;:24;:::i;:::-;17658:39;;17641:6;17648;17641:14;;;;;;;;:::i;:::-;;;;:56;;;;;;;;;;-1:-1:-1;17712:11:0;17721:2;17712:11;;:::i;:::-;;;17581:154;;28193:126;28264:4;28288:23;:3;28307;22646:4;21019:19;;;:12;;;:19;;;;;;:24;;22670:28;20922:129;19283:1553;19349:4;19488:19;;;:12;;;:19;;;;;;19524:15;;19520:1309;;19886:21;19910:14;19923:1;19910:10;:14;:::i;:::-;19959:18;;19886:38;;-1:-1:-1;19939:17:0;;19959:22;;19980:1;;19959:22;:::i;:::-;19939:42;;20226:17;20246:3;:11;;20258:9;20246:22;;;;;;;;:::i;:::-;;;;;;;;;20226:42;;20392:9;20363:3;:11;;20375:13;20363:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;20469:23;;;:12;;;:23;;;;;;:36;;;20630:17;;20469:3;;20630:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;20725:3;:12;;:19;20738:5;20725:19;;;;;;;;;;;20718:26;;;20768:4;20761:11;;;;;;;;19520:1309;20812:5;20805:12;;;;;18693:414;18756:4;21019:19;;;:12;;;:19;;;;;;18773:327;;-1:-1:-1;18816:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;18999:18;;18977:19;;;:12;;;:19;;;;;;:40;;;;19032:11;;18773:327;-1:-1:-1;19083:5:0;19076:12;;27622:161;27698:4;27715:16;;;:11;;;:16;;;;;:24;;;27757:18;27715:3;27727;27757:13;:18::i;53786:404::-;-1:-1:-1;;;;;53866:16:0;;53858:61;;;;-1:-1:-1;;;53858:61:0;;21118:2:1;53858:61:0;;;21100:21:1;;;21137:18;;;21130:30;21196:34;21176:18;;;21169:62;21248:18;;53858:61:0;20916:356:1;53858:61:0;53939:16;53947:7;53939;:16::i;:::-;53938:17;53930:58;;;;-1:-1:-1;;;53930:58:0;;21479:2:1;53930:58:0;;;21461:21:1;21518:2;21498:18;;;21491:30;21557;21537:18;;;21530:58;21605:18;;53930:58:0;21277:352:1;53930:58:0;-1:-1:-1;;;;;54059:17:0;;;;;;:13;:17;;;;;:30;;54081:7;54059:21;:30::i;:::-;-1:-1:-1;54102:29:0;:12;54119:7;54128:2;54102:16;:29::i;:::-;-1:-1:-1;54149:33:0;;54174:7;;-1:-1:-1;;;;;54149:33:0;;;54166:1;;54149:33;;54166:1;;54149:33;53786:404;;:::o;12522:195::-;12625:12;12657:52;12679:6;12687:4;12693:1;12696:12;12625;9971:20;;13818:60;;;;-1:-1:-1;;;13818:60:0;;22243:2:1;13818:60:0;;;22225:21:1;22282:2;22262:18;;;22255:30;22321:31;22301:18;;;22294:59;22370:18;;13818:60:0;22041:353:1;13818:60:0;13952:12;13966:23;13993:6;-1:-1:-1;;;;;13993:11:0;14013:5;14021:4;13993:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13951:75;;;;14044:52;14062:7;14071:10;14083:12;14044:17;:52::i;:::-;14037:59;13574:530;-1:-1:-1;;;;;;;13574:530:0:o;16114:742::-;16229:12;16258:7;16254:595;;;-1:-1:-1;16289:10:0;16282:17;;16254:595;16403:17;;:21;16399:439;;16666:10;16660:17;16727:15;16714:10;16710:2;16706:19;16699:44;16399:439;16809:12;16802:20;;-1:-1:-1;;;16802:20:0;;;;;;;;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:177:1;99:66;92:5;88:78;81:5;78:89;68:117;;181:1;178;171:12;68:117;14:177;:::o;196:245::-;254:6;307:2;295:9;286:7;282:23;278:32;275:52;;;323:1;320;313:12;275:52;362:9;349:23;381:30;405:5;381:30;:::i;638:258::-;710:1;720:113;734:6;731:1;728:13;720:113;;;810:11;;;804:18;791:11;;;784:39;756:2;749:10;720:113;;;851:6;848:1;845:13;842:48;;;-1:-1:-1;;886:1:1;868:16;;861:27;638:258::o;901:317::-;943:3;981:5;975:12;1008:6;1003:3;996:19;1024:63;1080:6;1073:4;1068:3;1064:14;1057:4;1050:5;1046:16;1024:63;:::i;:::-;1132:2;1120:15;-1:-1:-1;;1116:88:1;1107:98;;;;1207:4;1103:109;;901:317;-1:-1:-1;;901:317:1:o;1223:220::-;1372:2;1361:9;1354:21;1335:4;1392:45;1433:2;1422:9;1418:18;1410:6;1392:45;:::i;1448:180::-;1507:6;1560:2;1548:9;1539:7;1535:23;1531:32;1528:52;;;1576:1;1573;1566:12;1528:52;-1:-1:-1;1599:23:1;;1448:180;-1:-1:-1;1448:180:1:o;1864:196::-;1932:20;;-1:-1:-1;;;;;1981:54:1;;1971:65;;1961:93;;2050:1;2047;2040:12;1961:93;1864:196;;;:::o;2065:254::-;2133:6;2141;2194:2;2182:9;2173:7;2169:23;2165:32;2162:52;;;2210:1;2207;2200:12;2162:52;2233:29;2252:9;2233:29;:::i;:::-;2223:39;2309:2;2294:18;;;;2281:32;;-1:-1:-1;;;2065:254:1:o;2324:186::-;2383:6;2436:2;2424:9;2415:7;2411:23;2407:32;2404:52;;;2452:1;2449;2442:12;2404:52;2475:29;2494:9;2475:29;:::i;2515:348::-;2567:8;2577:6;2631:3;2624:4;2616:6;2612:17;2608:27;2598:55;;2649:1;2646;2639:12;2598:55;-1:-1:-1;2672:20:1;;2715:18;2704:30;;2701:50;;;2747:1;2744;2737:12;2701:50;2784:4;2776:6;2772:17;2760:29;;2836:3;2829:4;2820:6;2812;2808:19;2804:30;2801:39;2798:59;;;2853:1;2850;2843:12;2868:479;2948:6;2956;2964;3017:2;3005:9;2996:7;2992:23;2988:32;2985:52;;;3033:1;3030;3023:12;2985:52;3069:9;3056:23;3046:33;;3130:2;3119:9;3115:18;3102:32;3157:18;3149:6;3146:30;3143:50;;;3189:1;3186;3179:12;3143:50;3228:59;3279:7;3270:6;3259:9;3255:22;3228:59;:::i;:::-;2868:479;;3306:8;;-1:-1:-1;3202:85:1;;-1:-1:-1;;;;2868:479:1:o;3534:184::-;3586:77;3583:1;3576:88;3683:4;3680:1;3673:15;3707:4;3704:1;3697:15;3723:777;3765:5;3818:3;3811:4;3803:6;3799:17;3795:27;3785:55;;3836:1;3833;3826:12;3785:55;3872:6;3859:20;3898:18;3935:2;3931;3928:10;3925:36;;;3941:18;;:::i;:::-;4075:2;4069:9;4137:4;4129:13;;-1:-1:-1;;4125:22:1;;;4149:2;4121:31;4117:40;4105:53;;;4173:18;;;4193:22;;;4170:46;4167:72;;;4219:18;;:::i;:::-;4259:10;4255:2;4248:22;4294:2;4286:6;4279:18;4340:3;4333:4;4328:2;4320:6;4316:15;4312:26;4309:35;4306:55;;;4357:1;4354;4347:12;4306:55;4421:2;4414:4;4406:6;4402:17;4395:4;4387:6;4383:17;4370:54;4468:1;4461:4;4456:2;4448:6;4444:15;4440:26;4433:37;4488:6;4479:15;;;;;;3723:777;;;;:::o;4505:394::-;4582:6;4590;4643:2;4631:9;4622:7;4618:23;4614:32;4611:52;;;4659:1;4656;4649:12;4611:52;4682:29;4701:9;4682:29;:::i;:::-;4672:39;;4762:2;4751:9;4747:18;4734:32;4789:18;4781:6;4778:30;4775:50;;;4821:1;4818;4811:12;4775:50;4844:49;4885:7;4876:6;4865:9;4861:22;4844:49;:::i;:::-;4834:59;;;4505:394;;;;;:::o;4904:328::-;4981:6;4989;4997;5050:2;5038:9;5029:7;5025:23;5021:32;5018:52;;;5066:1;5063;5056:12;5018:52;5089:29;5108:9;5089:29;:::i;:::-;5079:39;;5137:38;5171:2;5160:9;5156:18;5137:38;:::i;:::-;5127:48;;5222:2;5211:9;5207:18;5194:32;5184:42;;4904:328;;;;;:::o;5237:411::-;5308:6;5316;5369:2;5357:9;5348:7;5344:23;5340:32;5337:52;;;5385:1;5382;5375:12;5337:52;5425:9;5412:23;5458:18;5450:6;5447:30;5444:50;;;5490:1;5487;5480:12;5444:50;5529:59;5580:7;5571:6;5560:9;5556:22;5529:59;:::i;:::-;5607:8;;5503:85;;-1:-1:-1;5237:411:1;-1:-1:-1;;;;5237:411:1:o;5653:272::-;5711:6;5764:2;5752:9;5743:7;5739:23;5735:32;5732:52;;;5780:1;5777;5770:12;5732:52;5819:9;5806:23;5869:6;5862:5;5858:18;5851:5;5848:29;5838:57;;5891:1;5888;5881:12;5930:347;5995:6;6003;6056:2;6044:9;6035:7;6031:23;6027:32;6024:52;;;6072:1;6069;6062:12;6024:52;6095:29;6114:9;6095:29;:::i;:::-;6085:39;;6174:2;6163:9;6159:18;6146:32;6221:5;6214:13;6207:21;6200:5;6197:32;6187:60;;6243:1;6240;6233:12;6187:60;6266:5;6256:15;;;5930:347;;;;;:::o;6282:537::-;6377:6;6385;6393;6401;6454:3;6442:9;6433:7;6429:23;6425:33;6422:53;;;6471:1;6468;6461:12;6422:53;6494:29;6513:9;6494:29;:::i;:::-;6484:39;;6542:38;6576:2;6565:9;6561:18;6542:38;:::i;:::-;6532:48;;6627:2;6616:9;6612:18;6599:32;6589:42;;6682:2;6671:9;6667:18;6654:32;6709:18;6701:6;6698:30;6695:50;;;6741:1;6738;6731:12;6695:50;6764:49;6805:7;6796:6;6785:9;6781:22;6764:49;:::i;:::-;6754:59;;;6282:537;;;;;;;:::o;6824:388::-;6901:6;6909;6962:2;6950:9;6941:7;6937:23;6933:32;6930:52;;;6978:1;6975;6968:12;6930:52;7014:9;7001:23;6991:33;;7075:2;7064:9;7060:18;7047:32;7102:18;7094:6;7091:30;7088:50;;;7134:1;7131;7124:12;7217:260;7285:6;7293;7346:2;7334:9;7325:7;7321:23;7317:32;7314:52;;;7362:1;7359;7352:12;7314:52;7385:29;7404:9;7385:29;:::i;:::-;7375:39;;7433:38;7467:2;7456:9;7452:18;7433:38;:::i;:::-;7423:48;;7217:260;;;;;:::o;7675:437::-;7754:1;7750:12;;;;7797;;;7818:61;;7872:4;7864:6;7860:17;7850:27;;7818:61;7925:2;7917:6;7914:14;7894:18;7891:38;7888:218;;;7962:77;7959:1;7952:88;8063:4;8060:1;8053:15;8091:4;8088:1;8081:15;7888:218;;7675:437;;;:::o;10405:184::-;10457:77;10454:1;10447:88;10554:4;10551:1;10544:15;10578:4;10575:1;10568:15;10594:128;10634:3;10665:1;10661:6;10658:1;10655:13;10652:39;;;10671:18;;:::i;:::-;-1:-1:-1;10707:9:1;;10594:128::o;11486:241::-;11524:3;11568:6;11561:5;11557:18;11594:7;11584:41;;11605:18;;:::i;:::-;11654:66;11641:80;;11486:241;-1:-1:-1;;11486:241:1:o;11732:195::-;11771:3;11802:66;11795:5;11792:77;11789:103;;;11872:18;;:::i;:::-;-1:-1:-1;11919:1:1;11908:13;;11732:195::o;13952:125::-;13992:4;14020:1;14017;14014:8;14011:34;;;14025:18;;:::i;:::-;-1:-1:-1;14062:9:1;;13952:125::o;18105:470::-;18284:3;18322:6;18316:13;18338:53;18384:6;18379:3;18372:4;18364:6;18360:17;18338:53;:::i;:::-;18454:13;;18413:16;;;;18476:57;18454:13;18413:16;18510:4;18498:17;;18476:57;:::i;:::-;18549:20;;18105:470;-1:-1:-1;;;;18105:470:1:o;19336:184::-;19388:77;19385:1;19378:88;19485:4;19482:1;19475:15;19509:4;19506:1;19499:15;19525:512;19719:4;-1:-1:-1;;;;;19829:2:1;19821:6;19817:15;19806:9;19799:34;19881:2;19873:6;19869:15;19864:2;19853:9;19849:18;19842:43;;19921:6;19916:2;19905:9;19901:18;19894:34;19964:3;19959:2;19948:9;19944:18;19937:31;19985:46;20026:3;20015:9;20011:19;20003:6;19985:46;:::i;:::-;19977:54;19525:512;-1:-1:-1;;;;;;19525:512:1:o;20042:249::-;20111:6;20164:2;20152:9;20143:7;20139:23;20135:32;20132:52;;;20180:1;20177;20170:12;20132:52;20212:9;20206:16;20231:30;20255:5;20231:30;:::i;20296:184::-;20348:77;20345:1;20338:88;20445:4;20442:1;20435:15;20469:4;20466:1;20459:15;20485:120;20525:1;20551;20541:35;;20556:18;;:::i;:::-;-1:-1:-1;20590:9:1;;20485:120::o;20610:112::-;20642:1;20668;20658:35;;20673:18;;:::i;:::-;-1:-1:-1;20707:9:1;;20610:112::o;20727:184::-;20779:77;20776:1;20769:88;20876:4;20873:1;20866:15;20900:4;20897:1;20890:15;22399:274;22528:3;22566:6;22560:13;22582:53;22628:6;22623:3;22616:4;22608:6;22604:17;22582:53;:::i;:::-;22651:16;;;;;22399:274;-1:-1:-1;;22399:274:1:o

Swarm Source

ipfs://48dcb563468c016d0ec4eb3f8a355c477d0787200c5c1312e6bc8562d6e7fe4e
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.