ETH Price: $3,321.87 (-1.27%)

Token

Shiitakes (SHII)
 

Overview

Max Total Supply

2 SHII

Holders

2

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
Null: 0x000...000
Balance
0 SHII
0x0000000000000000000000000000000000000000
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-11
*/

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 = 0xeB4f452Cee794Ee407D613aDaf21FE8E8bc07c29;
    
    uint256 public maxSupply = 2000;
    
    uint16 reserved = 60;

    bool public whitelistSale = false;
    bool public sale = false;

    mapping (address => bool) public alreadyMinted;
    
    constructor() ERC721("Shiitakes", "SHII") {
        
    }
    
    function mint(uint256 tokenAmt, bytes memory signature) external payable {
        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");
        
        for(uint256 i = 0; i < tokenAmt; i++) {
            uint256 mintIndex = totalSupply () + 1;
            if (totalSupply() < maxSupply - reserved) {
                _safeMint(msg.sender, mintIndex);
            }
        }
        
        alreadyMinted[msg.sender] = true;
    }
      
    function claimToAdmin(uint16 tokenAmt) public onlyOwner {
        require(totalSupply() + tokenAmt <= maxSupply, "This would exceed max supply");
        
        for(uint256 i = 0; i < tokenAmt; i++) {
            uint256 mintIndex = totalSupply () + 1;
            if (totalSupply() < maxSupply) {
                _safeMint(msg.sender, mintIndex);
            }
        }
    }
      
    function setBaseURI(string calldata baseURI_) external onlyOwner {
        _setBaseURI(baseURI_);
    }

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

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

    function setTokenURI(uint256 tokenId, string calldata _tokenURI) external onlyOwner {
        _setTokenURI(tokenId, _tokenURI);
    }
    
    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 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 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":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"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":"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"}]

6080604052600c80546001600160a01b03191673eb4f452cee794ee407d613adaf21fe8e8bc07c291790556107d0600d55600e805463ffffffff1916603c1790553480156200004d57600080fd5b5060408051808201825260098152685368696974616b657360b81b602080830191909152825180840190935260048352635348494960e01b90830152906200009c6301ffc9a760e01b62000149565b8151620000b1906007906020850190620001cd565b508051620000c7906008906020840190620001cd565b50620000da6380ac58cd60e01b62000149565b620000ec635b5e139f60e01b62000149565b620000fe63780e9d6360e01b62000149565b5050600b80546001600160a01b0319163390811790915560405181906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350620002b0565b6001600160e01b03198082161415620001a85760405162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015260640160405180910390fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b828054620001db9062000273565b90600052602060002090601f016020900481019282620001ff57600085556200024a565b82601f106200021a57805160ff19168380011785556200024a565b828001600101855582156200024a579182015b828111156200024a5782518255916020019190600101906200022d565b50620002589291506200025c565b5090565b5b808211156200025857600081556001016200025d565b600181811c908216806200028857607f821691505b60208210811415620002aa57634e487b7160e01b600052602260045260246000fd5b50919050565b612b5680620002c06000396000f3fe6080604052600436106101d85760003560e01c80636352211e11610102578063a22cb46511610095578063d5abeb0111610064578063d5abeb011461057b578063db7fd40814610591578063e985e9c5146105a4578063f2fde38b146105ed57600080fd5b8063a22cb46514610506578063b88d4fde14610526578063c87b56dd14610546578063cef216e21461056657600080fd5b806370a08231116100d157806370a082311461049e578063715018a6146104be5780638da5cb5b146104d357806395d89b41146104f157600080fd5b80636352211e1461042857806365ce2e98146104485780636ad1fe02146104685780636c0360eb1461048957600080fd5b80631d9cfd6d1161017a57806331ffd6f11161014957806331ffd6f1146103a857806342842e0e146103c85780634f6ccce7146103e857806355f804b31461040857600080fd5b80631d9cfd6d146103335780631f0a8fa71461034857806323b872dd146103685780632f745c591461038857600080fd5b8063095ea7b3116101b6578063095ea7b31461029e5780630a398b88146102c0578063162094c4146102f057806318160ddd1461031057600080fd5b806301ffc9a7146101dd57806306fdde0314610244578063081812fc14610266575b600080fd5b3480156101e957600080fd5b5061022f6101f836600461243d565b7fffffffff000000000000000000000000000000000000000000000000000000001660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b34801561025057600080fd5b5061025961060d565b60405161023b91906124b2565b34801561027257600080fd5b506102866102813660046124c5565b61069f565b6040516001600160a01b03909116815260200161023b565b3480156102aa57600080fd5b506102be6102b93660046124fa565b61073d565b005b3480156102cc57600080fd5b5061022f6102db366004612524565b600f6020526000908152604090205460ff1681565b3480156102fc57600080fd5b506102be61030b366004612581565b61086f565b34801561031c57600080fd5b50610325610909565b60405190815260200161023b565b34801561033f57600080fd5b506102be61091a565b34801561035457600080fd5b5061022f610363366004612689565b6109b0565b34801561037457600080fd5b506102be6103833660046126d7565b610a6f565b34801561039457600080fd5b506103256103a33660046124fa565b610af6565b3480156103b457600080fd5b50600e5461022f9062010000900460ff1681565b3480156103d457600080fd5b506102be6103e33660046126d7565b610b1f565b3480156103f457600080fd5b506103256104033660046124c5565b610b3a565b34801561041457600080fd5b506102be610423366004612713565b610b50565b34801561043457600080fd5b506102866104433660046124c5565b610bed565b34801561045457600080fd5b506102be610463366004612755565b610c15565b34801561047457600080fd5b50600e5461022f906301000000900460ff1681565b34801561049557600080fd5b50610259610d2b565b3480156104aa57600080fd5b506103256104b9366004612524565b610d3a565b3480156104ca57600080fd5b506102be610dd9565b3480156104df57600080fd5b50600b546001600160a01b0316610286565b3480156104fd57600080fd5b50610259610e95565b34801561051257600080fd5b506102be610521366004612779565b610ea4565b34801561053257600080fd5b506102be6105413660046127b5565b610f87565b34801561055257600080fd5b506102596105613660046124c5565b611015565b34801561057257600080fd5b506102be611195565b34801561058757600080fd5b50610325600d5481565b6102be61059f36600461281d565b61122a565b3480156105b057600080fd5b5061022f6105bf36600461284e565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b3480156105f957600080fd5b506102be610608366004612524565b611466565b60606007805461061c90612881565b80601f016020809104026020016040519081016040528092919081815260200182805461064890612881565b80156106955780601f1061066a57610100808354040283529160200191610695565b820191906000526020600020905b81548152906001019060200180831161067857829003601f168201915b5050505050905090565b60006106aa826115b0565b6107215760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061074882610bed565b9050806001600160a01b0316836001600160a01b031614156107d25760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610718565b336001600160a01b03821614806107ee57506107ee81336105bf565b6108605760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610718565b61086a83836115bd565b505050565b600b546001600160a01b031633146108c95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610718565b61086a8383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061164392505050565b600061091560026116dd565b905090565b600b546001600160a01b031633146109745760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610718565b600e80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffff811663010000009182900460ff1615909102179055565b604080517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606085901b16602080830191909152825180830360140181526034830184528051908201207f19457468657265756d205369676e6564204d6573736167653a0a333200000000605484015260708084018290528451808503909101815260909093019093528151910120600c5460009291906001600160a01b0316610a5a82866116e8565b6001600160a01b031614925050505b92915050565b610a793382611767565b610aeb5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610718565b61086a838383611862565b6001600160a01b0382166000908152600160205260408120610b189083611a10565b9392505050565b61086a83838360405180602001604052806000815250610f87565b600080610b48600284611a1c565b509392505050565b600b546001600160a01b03163314610baa5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610718565b610be982828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611a3a92505050565b5050565b6000610a6982604051806060016040528060298152602001612af86029913960029190611a4d565b600b546001600160a01b03163314610c6f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610718565b600d548161ffff16610c7f610909565b610c899190612904565b1115610cd75760405162461bcd60e51b815260206004820152601c60248201527f5468697320776f756c6420657863656564206d617820737570706c79000000006044820152606401610718565b60005b8161ffff16811015610be9576000610cf0610909565b610cfb906001612904565b9050600d54610d08610909565b1015610d1857610d183382611a5a565b5080610d238161291c565b915050610cda565b6060600a805461061c90612881565b60006001600160a01b038216610db85760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610718565b6001600160a01b0382166000908152600160205260409020610a6990611a74565b600b546001600160a01b03163314610e335760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610718565b600b546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600b80547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60606008805461061c90612881565b6001600160a01b038216331415610efd5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610718565b3360008181526006602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f913383611767565b6110035760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610718565b61100f84848484611a7e565b50505050565b6060611020826115b0565b6110925760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610718565b600082815260096020526040812080546110ab90612881565b80601f01602080910402602001604051908101604052809291908181526020018280546110d790612881565b80156111245780601f106110f957610100808354040283529160200191611124565b820191906000526020600020905b81548152906001019060200180831161110757829003601f168201915b505050505090506000611135610d2b565b9050805160001415611148575092915050565b81511561117a578082604051602001611162929190612955565b60405160208183030381529060405292505050919050565b8061118485611b07565b604051602001611162929190612955565b600b546001600160a01b031633146111ef5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610718565b600e80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff8116620100009182900460ff1615909102179055565b600e5462010000900460ff1661124c57600e546301000000900460ff16611256565b61125633826109b0565b6112ee5760405162461bcd60e51b815260206004820152605a60248201527f596f752077657265206e6f7420616464656420746f207468652077686974656c60448201527f6973742e20506c6561736520636f6e746163742061206d6f6420696620796f7560648201527f207468696e6b2074686973207761732061206d697374616b652e000000000000608482015260a401610718565b336000908152600f602052604090205460ff16156113745760405162461bcd60e51b815260206004820152602260248201527f596f75206861766520616c7265616479206d696e746564205368696974616b6560448201527f732e0000000000000000000000000000000000000000000000000000000000006064820152608401610718565b60028211156113c55760405162461bcd60e51b815260206004820152601860248201527f4d617820706572207472616e73616374696f6e206973203200000000000000006044820152606401610718565b60005b828110156114295760006113da610909565b6113e5906001612904565b600e54600d549192506113fe9161ffff90911690612984565b611406610909565b1015611416576114163382611a5a565b50806114218161291c565b9150506113c8565b5050336000908152600f6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905550565b600b546001600160a01b031633146114c05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610718565b6001600160a01b03811661153c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610718565b600b546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600b80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6000610a69600283611c39565b600081815260056020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b038416908117909155819061160a82610bed565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61164c826115b0565b6116be5760405162461bcd60e51b815260206004820152602c60248201527f4552433732314d657461646174613a2055524920736574206f66206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610718565b6000828152600960209081526040909120825161086a92840190612373565b6000610a6982611c45565b6000806000806116f785611c50565b6040805160008152602081018083528b905260ff8316918101919091526060810184905260808101839052929550909350915060019060a0016020604051602081039080840390855afa158015611752573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b6000611772826115b0565b6117e45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610718565b60006117ef83610bed565b9050806001600160a01b0316846001600160a01b0316148061182a5750836001600160a01b031661181f8461069f565b6001600160a01b0316145b8061185a57506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661187582610bed565b6001600160a01b0316146118f15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610718565b6001600160a01b03821661196c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610718565b6119776000826115bd565b6001600160a01b03831660009081526001602052604090206119999082611cc4565b506001600160a01b03821660009081526001602052604090206119bc9082611cd0565b506119c960028284611cdc565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610b188383611cf2565b6000808080611a2b8686611d93565b909450925050505b9250929050565b8051610be990600a906020840190612373565b600061185a848484611dbe565b610be9828260405180602001604052806000815250611e0a565b6000610a69825490565b611a89848484611862565b611a9584848484611e93565b61100f5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610718565b606081611b4757505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611b715780611b5b8161291c565b9150611b6a9050600a836129ca565b9150611b4b565b60008167ffffffffffffffff811115611b8c57611b8c6125cd565b6040519080825280601f01601f191660200182016040528015611bb6576020820181803683370190505b5090505b841561185a57611bcb600183612984565b9150611bd8600a866129de565b611be3906030612904565b60f81b818381518110611bf857611bf86129f2565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611c32600a866129ca565b9450611bba565b6000610b188383611fd8565b6000610a6982611a74565b60008060008351604114611ca65760405162461bcd60e51b815260206004820152601860248201527f696e76616c6964207369676e6174757265206c656e67746800000000000000006044820152606401610718565b50505060208101516040820151606090920151909260009190911a90565b6000610b188383611ff7565b6000610b1883836120e4565b600061185a84846001600160a01b038516612133565b81546000908210611d6b5760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e60448201527f64730000000000000000000000000000000000000000000000000000000000006064820152608401610718565b826000018281548110611d8057611d806129f2565b9060005260206000200154905092915050565b60008080611da18585611a10565b600081815260029690960160205260409095205494959350505050565b600082815260028401602052604081205480151580611de25750611de28585611fd8565b8390611e015760405162461bcd60e51b815260040161071891906124b2565b50949350505050565b611e148383612150565b611e216000848484611e93565b61086a5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610718565b60006001600160a01b0384163b611eac5750600161185a565b6000611f707f150b7a020000000000000000000000000000000000000000000000000000000033888787604051602401611ee99493929190612a21565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051806060016040528060328152602001612ac6603291396001600160a01b0388169190612268565b9050600081806020019051810190611f889190612a5d565b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001492505050949350505050565b6000610b18838360008181526001830160205260408120541515610b18565b600081815260018301602052604081205480156120da57600061201b600183612984565b855490915060009061202f90600190612984565b90506000866000018281548110612048576120486129f2565b906000526020600020015490508087600001848154811061206b5761206b6129f2565b60009182526020808320909101929092558281526001890190915260409020849055865487908061209e5761209e612a7a565b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610a69565b6000915050610a69565b600081815260018301602052604081205461212b57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610a69565b506000610a69565b6000828152600284016020526040812082905561185a8484611cd0565b6001600160a01b0382166121a65760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610718565b6121af816115b0565b156121fc5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610718565b6001600160a01b038216600090815260016020526040902061221e9082611cd0565b5061222b60028284611cdc565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b606061185a848460008585843b6122c15760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610718565b600080866001600160a01b031685876040516122dd9190612aa9565b60006040518083038185875af1925050503d806000811461231a576040519150601f19603f3d011682016040523d82523d6000602084013e61231f565b606091505b509150915061232f82828661233a565b979650505050505050565b60608315612349575081610b18565b8251156123595782518084602001fd5b8160405162461bcd60e51b815260040161071891906124b2565b82805461237f90612881565b90600052602060002090601f0160209004810192826123a157600085556123e7565b82601f106123ba57805160ff19168380011785556123e7565b828001600101855582156123e7579182015b828111156123e75782518255916020019190600101906123cc565b506123f39291506123f7565b5090565b5b808211156123f357600081556001016123f8565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461243a57600080fd5b50565b60006020828403121561244f57600080fd5b8135610b188161240c565b60005b8381101561247557818101518382015260200161245d565b8381111561100f5750506000910152565b6000815180845261249e81602086016020860161245a565b601f01601f19169290920160200192915050565b602081526000610b186020830184612486565b6000602082840312156124d757600080fd5b5035919050565b80356001600160a01b03811681146124f557600080fd5b919050565b6000806040838503121561250d57600080fd5b612516836124de565b946020939093013593505050565b60006020828403121561253657600080fd5b610b18826124de565b60008083601f84011261255157600080fd5b50813567ffffffffffffffff81111561256957600080fd5b602083019150836020828501011115611a3357600080fd5b60008060006040848603121561259657600080fd5b83359250602084013567ffffffffffffffff8111156125b457600080fd5b6125c08682870161253f565b9497909650939450505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f83011261260d57600080fd5b813567ffffffffffffffff80821115612628576126286125cd565b604051601f8301601f19908116603f01168101908282118183101715612650576126506125cd565b8160405283815286602085880101111561266957600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806040838503121561269c57600080fd5b6126a5836124de565b9150602083013567ffffffffffffffff8111156126c157600080fd5b6126cd858286016125fc565b9150509250929050565b6000806000606084860312156126ec57600080fd5b6126f5846124de565b9250612703602085016124de565b9150604084013590509250925092565b6000806020838503121561272657600080fd5b823567ffffffffffffffff81111561273d57600080fd5b6127498582860161253f565b90969095509350505050565b60006020828403121561276757600080fd5b813561ffff81168114610b1857600080fd5b6000806040838503121561278c57600080fd5b612795836124de565b9150602083013580151581146127aa57600080fd5b809150509250929050565b600080600080608085870312156127cb57600080fd5b6127d4856124de565b93506127e2602086016124de565b925060408501359150606085013567ffffffffffffffff81111561280557600080fd5b612811878288016125fc565b91505092959194509250565b6000806040838503121561283057600080fd5b82359150602083013567ffffffffffffffff8111156126c157600080fd5b6000806040838503121561286157600080fd5b61286a836124de565b9150612878602084016124de565b90509250929050565b600181811c9082168061289557607f821691505b602082108114156128cf577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115612917576129176128d5565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561294e5761294e6128d5565b5060010190565b6000835161296781846020880161245a565b83519083019061297b81836020880161245a565b01949350505050565b600082821015612996576129966128d5565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000826129d9576129d961299b565b500490565b6000826129ed576129ed61299b565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006001600160a01b03808716835280861660208401525083604083015260806060830152612a536080830184612486565b9695505050505050565b600060208284031215612a6f57600080fd5b8151610b188161240c565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b60008251612abb81846020870161245a565b919091019291505056fe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea26469706673582212205cfc49c329e9cbf4bdb6da0f13fe4ec2e745bf8028b26b35dbbb416aa30d9cd764736f6c63430008090033

Deployed Bytecode

0x6080604052600436106101d85760003560e01c80636352211e11610102578063a22cb46511610095578063d5abeb0111610064578063d5abeb011461057b578063db7fd40814610591578063e985e9c5146105a4578063f2fde38b146105ed57600080fd5b8063a22cb46514610506578063b88d4fde14610526578063c87b56dd14610546578063cef216e21461056657600080fd5b806370a08231116100d157806370a082311461049e578063715018a6146104be5780638da5cb5b146104d357806395d89b41146104f157600080fd5b80636352211e1461042857806365ce2e98146104485780636ad1fe02146104685780636c0360eb1461048957600080fd5b80631d9cfd6d1161017a57806331ffd6f11161014957806331ffd6f1146103a857806342842e0e146103c85780634f6ccce7146103e857806355f804b31461040857600080fd5b80631d9cfd6d146103335780631f0a8fa71461034857806323b872dd146103685780632f745c591461038857600080fd5b8063095ea7b3116101b6578063095ea7b31461029e5780630a398b88146102c0578063162094c4146102f057806318160ddd1461031057600080fd5b806301ffc9a7146101dd57806306fdde0314610244578063081812fc14610266575b600080fd5b3480156101e957600080fd5b5061022f6101f836600461243d565b7fffffffff000000000000000000000000000000000000000000000000000000001660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b34801561025057600080fd5b5061025961060d565b60405161023b91906124b2565b34801561027257600080fd5b506102866102813660046124c5565b61069f565b6040516001600160a01b03909116815260200161023b565b3480156102aa57600080fd5b506102be6102b93660046124fa565b61073d565b005b3480156102cc57600080fd5b5061022f6102db366004612524565b600f6020526000908152604090205460ff1681565b3480156102fc57600080fd5b506102be61030b366004612581565b61086f565b34801561031c57600080fd5b50610325610909565b60405190815260200161023b565b34801561033f57600080fd5b506102be61091a565b34801561035457600080fd5b5061022f610363366004612689565b6109b0565b34801561037457600080fd5b506102be6103833660046126d7565b610a6f565b34801561039457600080fd5b506103256103a33660046124fa565b610af6565b3480156103b457600080fd5b50600e5461022f9062010000900460ff1681565b3480156103d457600080fd5b506102be6103e33660046126d7565b610b1f565b3480156103f457600080fd5b506103256104033660046124c5565b610b3a565b34801561041457600080fd5b506102be610423366004612713565b610b50565b34801561043457600080fd5b506102866104433660046124c5565b610bed565b34801561045457600080fd5b506102be610463366004612755565b610c15565b34801561047457600080fd5b50600e5461022f906301000000900460ff1681565b34801561049557600080fd5b50610259610d2b565b3480156104aa57600080fd5b506103256104b9366004612524565b610d3a565b3480156104ca57600080fd5b506102be610dd9565b3480156104df57600080fd5b50600b546001600160a01b0316610286565b3480156104fd57600080fd5b50610259610e95565b34801561051257600080fd5b506102be610521366004612779565b610ea4565b34801561053257600080fd5b506102be6105413660046127b5565b610f87565b34801561055257600080fd5b506102596105613660046124c5565b611015565b34801561057257600080fd5b506102be611195565b34801561058757600080fd5b50610325600d5481565b6102be61059f36600461281d565b61122a565b3480156105b057600080fd5b5061022f6105bf36600461284e565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b3480156105f957600080fd5b506102be610608366004612524565b611466565b60606007805461061c90612881565b80601f016020809104026020016040519081016040528092919081815260200182805461064890612881565b80156106955780601f1061066a57610100808354040283529160200191610695565b820191906000526020600020905b81548152906001019060200180831161067857829003601f168201915b5050505050905090565b60006106aa826115b0565b6107215760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061074882610bed565b9050806001600160a01b0316836001600160a01b031614156107d25760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610718565b336001600160a01b03821614806107ee57506107ee81336105bf565b6108605760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610718565b61086a83836115bd565b505050565b600b546001600160a01b031633146108c95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610718565b61086a8383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061164392505050565b600061091560026116dd565b905090565b600b546001600160a01b031633146109745760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610718565b600e80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffffff811663010000009182900460ff1615909102179055565b604080517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606085901b16602080830191909152825180830360140181526034830184528051908201207f19457468657265756d205369676e6564204d6573736167653a0a333200000000605484015260708084018290528451808503909101815260909093019093528151910120600c5460009291906001600160a01b0316610a5a82866116e8565b6001600160a01b031614925050505b92915050565b610a793382611767565b610aeb5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610718565b61086a838383611862565b6001600160a01b0382166000908152600160205260408120610b189083611a10565b9392505050565b61086a83838360405180602001604052806000815250610f87565b600080610b48600284611a1c565b509392505050565b600b546001600160a01b03163314610baa5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610718565b610be982828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611a3a92505050565b5050565b6000610a6982604051806060016040528060298152602001612af86029913960029190611a4d565b600b546001600160a01b03163314610c6f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610718565b600d548161ffff16610c7f610909565b610c899190612904565b1115610cd75760405162461bcd60e51b815260206004820152601c60248201527f5468697320776f756c6420657863656564206d617820737570706c79000000006044820152606401610718565b60005b8161ffff16811015610be9576000610cf0610909565b610cfb906001612904565b9050600d54610d08610909565b1015610d1857610d183382611a5a565b5080610d238161291c565b915050610cda565b6060600a805461061c90612881565b60006001600160a01b038216610db85760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610718565b6001600160a01b0382166000908152600160205260409020610a6990611a74565b600b546001600160a01b03163314610e335760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610718565b600b546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600b80547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60606008805461061c90612881565b6001600160a01b038216331415610efd5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610718565b3360008181526006602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f913383611767565b6110035760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610718565b61100f84848484611a7e565b50505050565b6060611020826115b0565b6110925760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610718565b600082815260096020526040812080546110ab90612881565b80601f01602080910402602001604051908101604052809291908181526020018280546110d790612881565b80156111245780601f106110f957610100808354040283529160200191611124565b820191906000526020600020905b81548152906001019060200180831161110757829003601f168201915b505050505090506000611135610d2b565b9050805160001415611148575092915050565b81511561117a578082604051602001611162929190612955565b60405160208183030381529060405292505050919050565b8061118485611b07565b604051602001611162929190612955565b600b546001600160a01b031633146111ef5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610718565b600e80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff8116620100009182900460ff1615909102179055565b600e5462010000900460ff1661124c57600e546301000000900460ff16611256565b61125633826109b0565b6112ee5760405162461bcd60e51b815260206004820152605a60248201527f596f752077657265206e6f7420616464656420746f207468652077686974656c60448201527f6973742e20506c6561736520636f6e746163742061206d6f6420696620796f7560648201527f207468696e6b2074686973207761732061206d697374616b652e000000000000608482015260a401610718565b336000908152600f602052604090205460ff16156113745760405162461bcd60e51b815260206004820152602260248201527f596f75206861766520616c7265616479206d696e746564205368696974616b6560448201527f732e0000000000000000000000000000000000000000000000000000000000006064820152608401610718565b60028211156113c55760405162461bcd60e51b815260206004820152601860248201527f4d617820706572207472616e73616374696f6e206973203200000000000000006044820152606401610718565b60005b828110156114295760006113da610909565b6113e5906001612904565b600e54600d549192506113fe9161ffff90911690612984565b611406610909565b1015611416576114163382611a5a565b50806114218161291c565b9150506113c8565b5050336000908152600f6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905550565b600b546001600160a01b031633146114c05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610718565b6001600160a01b03811661153c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610718565b600b546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600b80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6000610a69600283611c39565b600081815260056020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b038416908117909155819061160a82610bed565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61164c826115b0565b6116be5760405162461bcd60e51b815260206004820152602c60248201527f4552433732314d657461646174613a2055524920736574206f66206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610718565b6000828152600960209081526040909120825161086a92840190612373565b6000610a6982611c45565b6000806000806116f785611c50565b6040805160008152602081018083528b905260ff8316918101919091526060810184905260808101839052929550909350915060019060a0016020604051602081039080840390855afa158015611752573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b6000611772826115b0565b6117e45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610718565b60006117ef83610bed565b9050806001600160a01b0316846001600160a01b0316148061182a5750836001600160a01b031661181f8461069f565b6001600160a01b0316145b8061185a57506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661187582610bed565b6001600160a01b0316146118f15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610718565b6001600160a01b03821661196c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610718565b6119776000826115bd565b6001600160a01b03831660009081526001602052604090206119999082611cc4565b506001600160a01b03821660009081526001602052604090206119bc9082611cd0565b506119c960028284611cdc565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610b188383611cf2565b6000808080611a2b8686611d93565b909450925050505b9250929050565b8051610be990600a906020840190612373565b600061185a848484611dbe565b610be9828260405180602001604052806000815250611e0a565b6000610a69825490565b611a89848484611862565b611a9584848484611e93565b61100f5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610718565b606081611b4757505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611b715780611b5b8161291c565b9150611b6a9050600a836129ca565b9150611b4b565b60008167ffffffffffffffff811115611b8c57611b8c6125cd565b6040519080825280601f01601f191660200182016040528015611bb6576020820181803683370190505b5090505b841561185a57611bcb600183612984565b9150611bd8600a866129de565b611be3906030612904565b60f81b818381518110611bf857611bf86129f2565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611c32600a866129ca565b9450611bba565b6000610b188383611fd8565b6000610a6982611a74565b60008060008351604114611ca65760405162461bcd60e51b815260206004820152601860248201527f696e76616c6964207369676e6174757265206c656e67746800000000000000006044820152606401610718565b50505060208101516040820151606090920151909260009190911a90565b6000610b188383611ff7565b6000610b1883836120e4565b600061185a84846001600160a01b038516612133565b81546000908210611d6b5760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e60448201527f64730000000000000000000000000000000000000000000000000000000000006064820152608401610718565b826000018281548110611d8057611d806129f2565b9060005260206000200154905092915050565b60008080611da18585611a10565b600081815260029690960160205260409095205494959350505050565b600082815260028401602052604081205480151580611de25750611de28585611fd8565b8390611e015760405162461bcd60e51b815260040161071891906124b2565b50949350505050565b611e148383612150565b611e216000848484611e93565b61086a5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610718565b60006001600160a01b0384163b611eac5750600161185a565b6000611f707f150b7a020000000000000000000000000000000000000000000000000000000033888787604051602401611ee99493929190612a21565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051806060016040528060328152602001612ac6603291396001600160a01b0388169190612268565b9050600081806020019051810190611f889190612a5d565b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001492505050949350505050565b6000610b18838360008181526001830160205260408120541515610b18565b600081815260018301602052604081205480156120da57600061201b600183612984565b855490915060009061202f90600190612984565b90506000866000018281548110612048576120486129f2565b906000526020600020015490508087600001848154811061206b5761206b6129f2565b60009182526020808320909101929092558281526001890190915260409020849055865487908061209e5761209e612a7a565b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610a69565b6000915050610a69565b600081815260018301602052604081205461212b57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610a69565b506000610a69565b6000828152600284016020526040812082905561185a8484611cd0565b6001600160a01b0382166121a65760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610718565b6121af816115b0565b156121fc5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610718565b6001600160a01b038216600090815260016020526040902061221e9082611cd0565b5061222b60028284611cdc565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b606061185a848460008585843b6122c15760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610718565b600080866001600160a01b031685876040516122dd9190612aa9565b60006040518083038185875af1925050503d806000811461231a576040519150601f19603f3d011682016040523d82523d6000602084013e61231f565b606091505b509150915061232f82828661233a565b979650505050505050565b60608315612349575081610b18565b8251156123595782518084602001fd5b8160405162461bcd60e51b815260040161071891906124b2565b82805461237f90612881565b90600052602060002090601f0160209004810192826123a157600085556123e7565b82601f106123ba57805160ff19168380011785556123e7565b828001600101855582156123e7579182015b828111156123e75782518255916020019190600101906123cc565b506123f39291506123f7565b5090565b5b808211156123f357600081556001016123f8565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461243a57600080fd5b50565b60006020828403121561244f57600080fd5b8135610b188161240c565b60005b8381101561247557818101518382015260200161245d565b8381111561100f5750506000910152565b6000815180845261249e81602086016020860161245a565b601f01601f19169290920160200192915050565b602081526000610b186020830184612486565b6000602082840312156124d757600080fd5b5035919050565b80356001600160a01b03811681146124f557600080fd5b919050565b6000806040838503121561250d57600080fd5b612516836124de565b946020939093013593505050565b60006020828403121561253657600080fd5b610b18826124de565b60008083601f84011261255157600080fd5b50813567ffffffffffffffff81111561256957600080fd5b602083019150836020828501011115611a3357600080fd5b60008060006040848603121561259657600080fd5b83359250602084013567ffffffffffffffff8111156125b457600080fd5b6125c08682870161253f565b9497909650939450505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f83011261260d57600080fd5b813567ffffffffffffffff80821115612628576126286125cd565b604051601f8301601f19908116603f01168101908282118183101715612650576126506125cd565b8160405283815286602085880101111561266957600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806040838503121561269c57600080fd5b6126a5836124de565b9150602083013567ffffffffffffffff8111156126c157600080fd5b6126cd858286016125fc565b9150509250929050565b6000806000606084860312156126ec57600080fd5b6126f5846124de565b9250612703602085016124de565b9150604084013590509250925092565b6000806020838503121561272657600080fd5b823567ffffffffffffffff81111561273d57600080fd5b6127498582860161253f565b90969095509350505050565b60006020828403121561276757600080fd5b813561ffff81168114610b1857600080fd5b6000806040838503121561278c57600080fd5b612795836124de565b9150602083013580151581146127aa57600080fd5b809150509250929050565b600080600080608085870312156127cb57600080fd5b6127d4856124de565b93506127e2602086016124de565b925060408501359150606085013567ffffffffffffffff81111561280557600080fd5b612811878288016125fc565b91505092959194509250565b6000806040838503121561283057600080fd5b82359150602083013567ffffffffffffffff8111156126c157600080fd5b6000806040838503121561286157600080fd5b61286a836124de565b9150612878602084016124de565b90509250929050565b600181811c9082168061289557607f821691505b602082108114156128cf577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008219821115612917576129176128d5565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561294e5761294e6128d5565b5060010190565b6000835161296781846020880161245a565b83519083019061297b81836020880161245a565b01949350505050565b600082821015612996576129966128d5565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000826129d9576129d961299b565b500490565b6000826129ed576129ed61299b565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006001600160a01b03808716835280861660208401525083604083015260806060830152612a536080830184612486565b9695505050505050565b600060208284031215612a6f57600080fd5b8151610b188161240c565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b60008251612abb81846020870161245a565b919091019291505056fe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea26469706673582212205cfc49c329e9cbf4bdb6da0f13fe4ec2e745bf8028b26b35dbbb416aa30d9cd764736f6c63430008090033

Deployed Bytecode Sourcemap

58796:3817:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41042:150;;;;;;;;;;-1:-1:-1;41042:150:0;;;;;:::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::-;;;;;;;;;;-1:-1:-1;48632:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1797:55:1;;;1779:74;;1767:2;1752:18;48632:221:0;1633:226:1;48162:404:0;;;;;;;;;;-1:-1:-1;48162:404:0;;;;;:::i;:::-;;:::i;:::-;;59066:46;;;;;;;;;;-1:-1:-1;59066:46:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;60625:135;;;;;;;;;;-1:-1:-1;60625:135:0;;;;;:::i;:::-;;:::i;47640:211::-;;;;;;;;;;;;;:::i;:::-;;;3498:25:1;;;3486:2;3471:18;47640:211:0;3352:177:1;60444:69:0;;;;;;;;;;;;;:::i;60772:328::-;;;;;;;;;;-1:-1:-1;60772:328:0;;;;;:::i;:::-;;:::i;49522:305::-;;;;;;;;;;-1:-1:-1;49522:305:0;;;;;:::i;:::-;;:::i;47402:162::-;;;;;;;;;;-1:-1:-1;47402:162:0;;;;;:::i;:::-;;:::i;58993:33::-;;;;;;;;;;-1:-1:-1;58993:33:0;;;;;;;;;;;49898:151;;;;;;;;;;-1:-1:-1;49898:151:0;;;;;:::i;:::-;;:::i;47928:172::-;;;;;;;;;;-1:-1:-1;47928:172:0;;;;;:::i;:::-;;:::i;60331:105::-;;;;;;;;;;-1:-1:-1;60331:105:0;;;;;:::i;:::-;;:::i;45602:177::-;;;;;;;;;;-1:-1:-1;45602:177:0;;;;;:::i;:::-;;:::i;59929:388::-;;;;;;;;;;-1:-1:-1;59929:388:0;;;;;:::i;:::-;;:::i;59033:24::-;;;;;;;;;;-1:-1:-1;59033:24:0;;;;;;;;;;;47221:97;;;;;;;;;;;;;:::i;45319:221::-;;;;;;;;;;-1:-1:-1;45319:221:0;;;;;:::i;:::-;;:::i;1560:148::-;;;;;;;;;;;;;:::i;909:87::-;;;;;;;;;;-1:-1:-1;982:6:0;;-1:-1:-1;;;;;982:6:0;909:87;;46015:104;;;;;;;;;;;;;:::i;48925:295::-;;;;;;;;;;-1:-1:-1;48925:295:0;;;;;:::i;:::-;;:::i;50120:285::-;;;;;;;;;;-1:-1:-1;50120:285:0;;;;;:::i;:::-;;:::i;46190:792::-;;;;;;;;;;-1:-1:-1;46190:792:0;;;;;:::i;:::-;;:::i;60521:96::-;;;;;;;;;;;;;:::i;58920:31::-;;;;;;;;;;;;;;;;59197:718;;;;;;:::i;:::-;;:::i;49291:164::-;;;;;;;;;;-1:-1:-1;49291:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;49412:25:0;;;49388:4;49412:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;49291:164;1863:244;;;;;;;;;;-1:-1:-1;1863:244:0;;;;;:::i;:::-;;:::i;45846:100::-;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;;8126:2:1;48728:73:0;;;8108:21:1;8165:2;8145:18;;;8138:30;8204:34;8184:18;;;8177:62;8275:14;8255:18;;;8248:42;8307: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;;8539:2:1;48293:57:0;;;8521:21:1;8578:2;8558:18;;;8551:30;8617:34;8597:18;;;8590:62;8688:3;8668:18;;;8661:31;8709:19;;48293:57:0;8337: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;;8941:2:1;48363:161:0;;;8923:21:1;8980:2;8960:18;;;8953:30;9019:34;8999:18;;;8992:62;9090:26;9070:18;;;9063:54;9134:19;;48363:161:0;8739:420:1;48363:161:0;48537:21;48546:2;48550:7;48537:8;:21::i;:::-;48232:334;48162:404;;:::o;60625:135::-;982:6;;-1:-1:-1;;;;;982:6:0;140:10;1129:23;1121:68;;;;-1:-1:-1;;;1121:68:0;;9366:2:1;1121:68:0;;;9348:21:1;;;9385:18;;;9378:30;9444:34;9424:18;;;9417:62;9496:18;;1121:68:0;9164:356:1;1121:68:0;60720:32:::1;60733:7;60742:9;;60720:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;60720:12:0::1;::::0;-1:-1:-1;;;60720:32:0:i:1;47640:211::-:0;47701:7;47822:21;:12;:19;:21::i;:::-;47815:28;;47640:211;:::o;60444:69::-;982:6;;-1:-1:-1;;;;;982:6:0;140:10;1129:23;1121:68;;;;-1:-1:-1;;;1121:68:0;;9366:2:1;1121:68:0;;;9348:21:1;;;9385:18;;;9378:30;9444:34;9424:18;;;9417:62;9496:18;;1121:68:0;9164:356:1;1121:68:0;60501:4:::1;::::0;;60493:12;;::::1;60501:4:::0;;;;::::1;;;60500:5;60493:12:::0;;::::1;;::::0;;60444:69::o;60772:328::-;60903:22;;;9687:66:1;9674:2;9670:15;;;9666:88;60903:22:0;;;;9654:101:1;;;;60903:22:0;;;;;;;;;9771:12:1;;;60903:22:0;;60893:33;;;;;;15194:66:1;61417::0;;;15182:79:1;15277:12;;;;15270:28;;;61417:66:0;;;;;;;;;;15314:12:1;;;;61417:66:0;;;61393:101;;;;;61078:14;;-1:-1:-1;;60893:33:0;61393:101;-1:-1:-1;;;;;61078:14:0;61028:46;61393:101;61064:9;61028:13;:46::i;:::-;-1:-1:-1;;;;;61028:64:0;;61021:71;;;;60772:328;;;;;:::o;49522:305::-;49683:41;140:10;49716:7;49683:18;:41::i;:::-;49675:103;;;;-1:-1:-1;;;49675:103:0;;9996:2:1;49675:103:0;;;9978:21:1;10035:2;10015:18;;;10008:30;10074:34;10054:18;;;10047:62;10145:19;10125:18;;;10118:47;10182:19;;49675:103:0;9794: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;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;60331:105::-;982:6;;-1:-1:-1;;;;;982:6:0;140:10;1129:23;1121:68;;;;-1:-1:-1;;;1121:68:0;;9366:2:1;1121:68:0;;;9348:21:1;;;9385:18;;;9378:30;9444:34;9424:18;;;9417:62;9496:18;;1121:68:0;9164:356:1;1121:68:0;60407:21:::1;60419:8;;60407:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;60407:11:0::1;::::0;-1:-1:-1;;;60407:21:0:i:1;:::-;60331:105:::0;;:::o;45602:177::-;45674:7;45701:70;45718:7;45701:70;;;;;;;;;;;;;;;;;:12;;:70;:16;:70::i;59929:388::-;982:6;;-1:-1:-1;;;;;982:6:0;140:10;1129:23;1121:68;;;;-1:-1:-1;;;1121:68:0;;9366:2:1;1121:68:0;;;9348:21:1;;;9385:18;;;9378:30;9444:34;9424:18;;;9417:62;9496:18;;1121:68:0;9164:356:1;1121:68:0;60032:9:::1;;60020:8;60004:24;;:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:37;;59996:78;;;::::0;-1:-1:-1;;;59996:78:0;;10736:2:1;59996:78:0::1;::::0;::::1;10718:21:1::0;10775:2;10755:18;;;10748:30;10814;10794:18;;;10787:58;10862:18;;59996:78:0::1;10534:352:1::0;59996:78:0::1;60099:9;60095:215;60118:8;60114:12;;:1;:12;60095:215;;;60148:17;60168:14;:11;:14::i;:::-;:18;::::0;60185:1:::1;60168:18;:::i;:::-;60148:38;;60221:9;;60205:13;:11;:13::i;:::-;:25;60201:98;;;60251:32;60261:10;60273:9;60251;:32::i;:::-;-1:-1:-1::0;60128:3:0;::::1;::::0;::::1;:::i;:::-;;;;60095:215;;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;;11293:2:1;45411:74:0;;;11275:21:1;11332:2;11312:18;;;11305:30;11371:34;11351:18;;;11344:62;11442:12;11422:18;;;11415:40;11472:19;;45411:74:0;11091: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;;9366:2:1;1121:68:0;;;9348:21:1;;;9385:18;;;9378:30;9444:34;9424:18;;;9417:62;9496:18;;1121:68:0;9164: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;;11704:2:1;49020:62:0;;;11686:21:1;11743:2;11723:18;;;11716:30;11782:27;11762:18;;;11755:55;11827:18;;49020:62:0;11502: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;;9996:2:1;50244:103:0;;;9978:21:1;10035:2;10015:18;;;10008:30;10074:34;10054:18;;;10047:62;10145:19;10125:18;;;10118:47;10182:19;;50244:103:0;9794:413:1;50244:103:0;50358:39;50372:4;50378:2;50382:7;50391:5;50358:13;:39::i;:::-;50120:285;;;;:::o;46190:792::-;46263:13;46297:16;46305:7;46297;:16::i;:::-;46289:76;;;;-1:-1:-1;;;46289:76:0;;12058:2:1;46289:76:0;;;12040:21:1;12097:2;12077:18;;;12070:30;12136:34;12116:18;;;12109:62;12207:17;12187:18;;;12180:45;12242:19;;46289:76:0;11856: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;60521:96::-;982:6;;-1:-1:-1;;;;;982:6:0;140:10;1129:23;1121:68;;;;-1:-1:-1;;;1121:68:0;;9366:2:1;1121:68:0;;;9348:21:1;;;9385:18;;;9378:30;9444:34;9424:18;;;9417:62;9496:18;;1121:68:0;9164:356:1;1121:68:0;60596:13:::1;::::0;;60579:30;;::::1;60596:13:::0;;;;::::1;;;60595:14;60579:30:::0;;::::1;;::::0;;60521:96::o;59197:718::-;59289:13;;;;;;;:59;;59344:4;;;;;;;59289:59;;;59305:36;59319:10;59331:9;59305:13;:36::i;:::-;59281:162;;;;-1:-1:-1;;;59281:162:0;;12949:2:1;59281:162:0;;;12931:21:1;12988:2;12968:18;;;12961:30;13027:34;13007:18;;;13000:62;13098:34;13078:18;;;13071:62;13170:28;13149:19;;;13142:57;13216:19;;59281:162:0;12747:494:1;59281:162:0;59487:10;59473:25;;;;:13;:25;;;;;;;;59472:26;59464:73;;;;-1:-1:-1;;;59464:73:0;;13448:2:1;59464:73:0;;;13430:21:1;13487:2;13467:18;;;13460:30;13526:34;13506:18;;;13499:62;13597:4;13577:18;;;13570:32;13619:19;;59464:73:0;13246:398:1;59464:73:0;59578:1;59566:8;:13;;59558:50;;;;-1:-1:-1;;;59558:50:0;;13851:2:1;59558:50:0;;;13833:21:1;13890:2;13870:18;;;13863:30;13929:26;13909:18;;;13902:54;13973:18;;59558:50:0;13649:348:1;59558:50:0;59633:9;59629:226;59652:8;59648:1;:12;59629:226;;;59682:17;59702:14;:11;:14::i;:::-;:18;;59719:1;59702:18;:::i;:::-;59767:8;;59755:9;;59682:38;;-1:-1:-1;59755:20:0;;59767:8;;;;;59755:20;:::i;:::-;59739:13;:11;:13::i;:::-;:36;59735:109;;;59796:32;59806:10;59818:9;59796;:32::i;:::-;-1:-1:-1;59662:3:0;;;;:::i;:::-;;;;59629:226;;;-1:-1:-1;;59889:10:0;59875:25;;;;:13;:25;;;;;:32;;;;59903:4;59875:32;;;-1:-1:-1;59197:718:0:o;1863:244::-;982:6;;-1:-1:-1;;;;;982:6:0;140:10;1129:23;1121:68;;;;-1:-1:-1;;;1121:68:0;;9366:2:1;1121:68:0;;;9348:21:1;;;9385:18;;;9378:30;9444:34;9424:18;;;9417:62;9496:18;;1121:68:0;9164:356:1;1121:68:0;-1:-1:-1;;;;;1952:22:0;::::1;1944:73;;;::::0;-1:-1:-1;;;1944:73:0;;14334:2:1;1944:73:0::1;::::0;::::1;14316:21:1::0;14373:2;14353:18;;;14346:30;14412:34;14392:18;;;14385:62;14483:8;14463:18;;;14456:36;14509:19;;1944:73:0::1;14132: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;;14741:2:1;56148:73:0;;;14723:21:1;14780:2;14760:18;;;14753:30;14819:34;14799:18;;;14792:62;14890:14;14870:18;;;14863:42;14922:19;;56148:73:0;14539:408:1;56148:73:0;56232:19;;;;:10;:19;;;;;;;;:31;;;;;;;;:::i;31565:123::-;31634:7;31661:19;31669:3;31661:7;:19::i;61514:248::-;61615:7;61636:9;61647;61658:7;61669:26;61684:10;61669:14;:26::i;:::-;61713:41;;;;;;;;;;;;15564:25:1;;;15637:4;15625:17;;15605:18;;;15598:45;;;;15659:18;;;15652:34;;;15702:18;;;15695:34;;;61635:60:0;;-1:-1:-1;61635:60:0;;-1:-1:-1;61635:60:0;-1:-1:-1;61713:41:0;;15536:19:1;;61713:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;61713:41:0;;-1:-1:-1;;61713:41:0;;;61514:248;-1:-1:-1;;;;;;;61514:248:0:o;52166:355::-;52259:4;52284:16;52292:7;52284;:16::i;:::-;52276:73;;;;-1:-1:-1;;;52276:73:0;;15942:2:1;52276:73:0;;;15924:21:1;15981:2;15961:18;;;15954:30;16020:34;16000:18;;;15993:62;16091:14;16071:18;;;16064:42;16123:19;;52276:73:0;15740: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;;16355:2:1;55391:85:0;;;16337:21:1;16394:2;16374:18;;;16367:30;16433:34;16413:18;;;16406:62;16504:11;16484:18;;;16477:39;16533:19;;55391:85:0;16153:405:1;55391:85:0;-1:-1:-1;;;;;55513:16:0;;55505:65;;;;-1:-1:-1;;;55505:65:0;;16765:2:1;55505:65:0;;;16747:21:1;16804:2;16784:18;;;16777:30;16843:34;16823:18;;;16816:62;16914:6;16894:18;;;16887:34;16938:19;;55505:65:0;16563: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;;17170:2:1;51440:111:0;;;17152:21:1;17209:2;17189:18;;;17182:30;17248:34;17228:18;;;17221:62;17319:20;17299:18;;;17292:48;17357:19;;51440:111:0;16968:414:1;17051:723:0;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;;31326:151;31410:4;31434:35;31444:3;31464;31434:9;:35::i;28414:109::-;28470:7;28497:18;:3;:16;:18::i;61774:836::-;61863:9;61883;61903:7;61942:3;:10;61956:2;61942:16;61934:53;;;;-1:-1:-1;;;61934:53:0;;18209:2:1;61934:53:0;;;18191:21:1;18248:2;18228:18;;;18221:30;18287:26;18267:18;;;18260:54;18331:18;;61934:53:0;18007:348:1;61934:53:0;-1:-1:-1;;;62372:2:0;62363:12;;62357:19;62438:2;62429:12;;62423:19;62541:2;62532:12;;;62526:19;62357;;62523:1;62518:28;;;;;61774: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;;18562:2:1;21677:73:0;;;18544:21:1;18601:2;18581:18;;;18574:30;18640:34;18620:18;;;18613:62;18711:4;18691:18;;;18684:32;18733:19;;21677:73:0;18360: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;;17170:2:1;53325:117:0;;;17152:21:1;17209:2;17189:18;;;17182:30;17248:34;17228:18;;;17221:62;17319:20;17299:18;;;17292:48;17357:19;;53325:117:0;16968: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;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;;19925:2:1;53858:61:0;;;19907:21:1;;;19944:18;;;19937:30;20003:34;19983:18;;;19976:62;20055:18;;53858:61:0;19723:356:1;53858:61:0;53939:16;53947:7;53939;:16::i;:::-;53938:17;53930:58;;;;-1:-1:-1;;;53930:58:0;;20286:2:1;53930:58:0;;;20268:21:1;20325:2;20305:18;;;20298:30;20364;20344:18;;;20337:58;20412:18;;53930:58:0;20084: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;;21050:2:1;13818:60:0;;;21032:21:1;21089:2;21069:18;;;21062:30;21128:31;21108:18;;;21101:59;21177:18;;13818:60:0;20848: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;7482:437::-;7561:1;7557:12;;;;7604;;;7625:61;;7679:4;7671:6;7667:17;7657:27;;7625:61;7732:2;7724:6;7721:14;7701:18;7698:38;7695:218;;;7769:77;7766:1;7759:88;7870:4;7867:1;7860:15;7898:4;7895:1;7888:15;7695:218;;7482:437;;;:::o;10212:184::-;10264:77;10261:1;10254:88;10361:4;10358:1;10351:15;10385:4;10382:1;10375:15;10401:128;10441:3;10472:1;10468:6;10465:1;10462:13;10459:39;;;10478:18;;:::i;:::-;-1:-1:-1;10514:9:1;;10401:128::o;10891:195::-;10930:3;10961:66;10954:5;10951:77;10948:103;;;11031:18;;:::i;:::-;-1:-1:-1;11078:1:1;11067:13;;10891:195::o;12272:470::-;12451:3;12489:6;12483:13;12505:53;12551:6;12546:3;12539:4;12531:6;12527:17;12505:53;:::i;:::-;12621:13;;12580:16;;;;12643:57;12621:13;12580:16;12677:4;12665:17;;12643:57;:::i;:::-;12716:20;;12272:470;-1:-1:-1;;;;12272:470:1:o;14002:125::-;14042:4;14070:1;14067;14064:8;14061:34;;;14075:18;;:::i;:::-;-1:-1:-1;14112:9:1;;14002:125::o;17387:184::-;17439:77;17436:1;17429:88;17536:4;17533:1;17526:15;17560:4;17557:1;17550:15;17576:120;17616:1;17642;17632:35;;17647:18;;:::i;:::-;-1:-1:-1;17681:9:1;;17576:120::o;17701:112::-;17733:1;17759;17749:35;;17764:18;;:::i;:::-;-1:-1:-1;17798:9:1;;17701:112::o;17818:184::-;17870:77;17867:1;17860:88;17967:4;17964:1;17957:15;17991:4;17988:1;17981:15;18763:512;18957:4;-1:-1:-1;;;;;19067:2:1;19059:6;19055:15;19044:9;19037:34;19119:2;19111:6;19107:15;19102:2;19091:9;19087:18;19080:43;;19159:6;19154:2;19143:9;19139:18;19132:34;19202:3;19197:2;19186:9;19182:18;19175:31;19223:46;19264:3;19253:9;19249:19;19241:6;19223:46;:::i;:::-;19215:54;18763:512;-1:-1:-1;;;;;;18763:512:1:o;19280:249::-;19349:6;19402:2;19390:9;19381:7;19377:23;19373:32;19370:52;;;19418:1;19415;19408:12;19370:52;19450:9;19444:16;19469:30;19493:5;19469:30;:::i;19534:184::-;19586:77;19583:1;19576:88;19683:4;19680:1;19673:15;19707:4;19704:1;19697:15;21206:274;21335:3;21373:6;21367:13;21389:53;21435:6;21430:3;21423:4;21415:6;21411:17;21389:53;:::i;:::-;21458:16;;;;;21206:274;-1:-1:-1;;21206:274:1:o

Swarm Source

ipfs://5cfc49c329e9cbf4bdb6da0f13fe4ec2e745bf8028b26b35dbbb416aa30d9cd7
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.