ETH Price: $3,321.50 (-0.58%)

Token

The Waldos Legend (TWL)
 

Overview

Max Total Supply

304 TWL

Holders

169

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
0 TWL
0xb714e3e299a5354aabf4a7a0ca5fbd09f3e6f368
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:
Waldos

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-08-07
*/

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


// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

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

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

// File: @openzeppelin/contracts/utils/structs/EnumerableSet.sol


// OpenZeppelin Contracts (last updated v4.7.0) (utils/structs/EnumerableSet.sol)

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 *
 * [WARNING]
 * ====
 *  Trying to delete such a structure from storage will likely result in data corruption, rendering the structure unusable.
 *  See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
 *
 *  In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an array of EnumerableSet.
 * ====
 */
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;

            if (lastIndex != toDeleteIndex) {
                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) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

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

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        return _values(set._inner);
    }

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

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

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

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }
}

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


// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

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


// OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.sol)

pragma solidity ^0.8.0;


/**
 * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.
 */
interface IAccessControlEnumerable is IAccessControl {
    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) external view returns (address);

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) external view returns (uint256);
}

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


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

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

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

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


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

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


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// File: @openzeppelin/contracts/security/Pausable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;


/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

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


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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");

        (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");

        (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");

        (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");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal 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
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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


// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;


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

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


// OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;





/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleGranted} event.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleRevoked} event.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     *
     * May emit a {RoleRevoked} event.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * May emit a {RoleGranted} event.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleGranted} event.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

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


// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControlEnumerable.sol)

pragma solidity ^0.8.0;




/**
 * @dev Extension of {AccessControl} that allows enumerating the members of each role.
 */
abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {
    using EnumerableSet for EnumerableSet.AddressSet;

    mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers;

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

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view virtual override returns (address) {
        return _roleMembers[role].at(index);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view virtual override returns (uint256) {
        return _roleMembers[role].length();
    }

    /**
     * @dev Overload {_grantRole} to track enumerable memberships
     */
    function _grantRole(bytes32 role, address account) internal virtual override {
        super._grantRole(role, account);
        _roleMembers[role].add(account);
    }

    /**
     * @dev Overload {_revokeRole} to track enumerable memberships
     */
    function _revokeRole(bytes32 role, address account) internal virtual override {
        super._revokeRole(role, account);
        _roleMembers[role].remove(account);
    }
}

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


// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;


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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * 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;

    /**
     * @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 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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

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


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;


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

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

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

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


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

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

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

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


// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;








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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);

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

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

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

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_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: caller is not token 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: caller is not token owner nor approved");
        _safeTransfer(from, to, tokenId, data);
    }

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

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

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

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

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

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

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

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

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

        _afterTokenTransfer(address(0), to, tokenId);
    }

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

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

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

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

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

        _afterTokenTransfer(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 from incorrect 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);

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * 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 {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

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


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Pausable.sol)

pragma solidity ^0.8.0;



/**
 * @dev ERC721 token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 */
abstract contract ERC721Pausable is ERC721, Pausable {
    /**
     * @dev See {ERC721-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        require(!paused(), "ERC721Pausable: token transfer while paused");
    }
}

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


// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/extensions/ERC721Burnable.sol)

pragma solidity ^0.8.0;



/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");
        _burn(tokenId);
    }
}

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


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;



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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/presets/ERC721PresetMinterPauserAutoId.sol)

pragma solidity ^0.8.0;








/**
 * @dev {ERC721} token, including:
 *
 *  - ability for holders to burn (destroy) their tokens
 *  - a minter role that allows for token minting (creation)
 *  - a pauser role that allows to stop all token transfers
 *  - token ID and URI autogeneration
 *
 * This contract uses {AccessControl} to lock permissioned functions using the
 * different roles - head to its documentation for details.
 *
 * The account that deploys the contract will be granted the minter and pauser
 * roles, as well as the default admin role, which will let it grant both minter
 * and pauser roles to other accounts.
 *
 * _Deprecated in favor of https://wizard.openzeppelin.com/[Contracts Wizard]._
 */
contract ERC721PresetMinterPauserAutoId is
    Context,
    AccessControlEnumerable,
    ERC721Enumerable,
    ERC721Burnable,
    ERC721Pausable
{
    using Counters for Counters.Counter;

    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE");

    Counters.Counter private _tokenIdTracker;

    string private _baseTokenURI;

    /**
     * @dev Grants `DEFAULT_ADMIN_ROLE`, `MINTER_ROLE` and `PAUSER_ROLE` to the
     * account that deploys the contract.
     *
     * Token URIs will be autogenerated based on `baseURI` and their token IDs.
     * See {ERC721-tokenURI}.
     */
    constructor(
        string memory name,
        string memory symbol,
        string memory baseTokenURI
    ) ERC721(name, symbol) {
        _baseTokenURI = baseTokenURI;

        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());

        _setupRole(MINTER_ROLE, _msgSender());
        _setupRole(PAUSER_ROLE, _msgSender());
    }

    function _baseURI() internal view virtual override returns (string memory) {
        return _baseTokenURI;
    }

    /**
     * @dev Creates a new token for `to`. Its token ID will be automatically
     * assigned (and available on the emitted {IERC721-Transfer} event), and the token
     * URI autogenerated based on the base URI passed at construction.
     *
     * See {ERC721-_mint}.
     *
     * Requirements:
     *
     * - the caller must have the `MINTER_ROLE`.
     */
    function mint(address to) public virtual {
        require(hasRole(MINTER_ROLE, _msgSender()), "ERC721PresetMinterPauserAutoId: must have minter role to mint");

        // We cannot just use balanceOf to create the new tokenId because tokens
        // can be burned (destroyed), so we need a separate counter.
        _mint(to, _tokenIdTracker.current());
        _tokenIdTracker.increment();
    }

    /**
     * @dev Pauses all token transfers.
     *
     * See {ERC721Pausable} and {Pausable-_pause}.
     *
     * Requirements:
     *
     * - the caller must have the `PAUSER_ROLE`.
     */
    function pause() public virtual {
        require(hasRole(PAUSER_ROLE, _msgSender()), "ERC721PresetMinterPauserAutoId: must have pauser role to pause");
        _pause();
    }

    /**
     * @dev Unpauses all token transfers.
     *
     * See {ERC721Pausable} and {Pausable-_unpause}.
     *
     * Requirements:
     *
     * - the caller must have the `PAUSER_ROLE`.
     */
    function unpause() public virtual {
        require(hasRole(PAUSER_ROLE, _msgSender()), "ERC721PresetMinterPauserAutoId: must have pauser role to unpause");
        _unpause();
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override(ERC721, ERC721Enumerable, ERC721Pausable) {
        super._beforeTokenTransfer(from, to, tokenId);
    }

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

// File: contracts/Waldos.sol

pragma solidity 0.8.7;




 contract Waldos is  ERC721PresetMinterPauserAutoId, Ownable  {
    using SafeMath for uint256;
    string public baseURI;
    string public baseURIHidden;
    uint256 public MaxSupply = 4200;
    uint256 public MaxSupplyPresale = 1200;
    uint256 public MaxPurchase = 1;
    uint256 public mintPrice = 0.18 ether;
    bool public SaleisActive = false;
    bytes32 public constant ADMIN_ROLE = keccak256("ADMIN_ROLE");
    bool public revealed = false;
    bool public presale = false;

    event LogWithdrawal(address sender, uint amount);

    constructor() ERC721PresetMinterPauserAutoId("The Waldos Legend", "TWL","ipfs"){
        _setupRole(ADMIN_ROLE, msg.sender);
    }
    function WaldosMint(uint256 _count, address to) payable public {
       require(totalSupply().add(_count) <= MaxSupply, "NT");
       require(SaleisActive, "SNA");
       require(_count <= MaxPurchase, "1 tx");
       require(mintPrice * _count <= msg.value, "EV");
       if(presale){
            require(totalSupply().add(_count) <= MaxSupplyPresale, "Presale ended");
       }
        _setupRole(MINTER_ROLE, msg.sender);
        for (uint i = 1; i <= _count; i++) {
            super.mint(to);
        }
        _revokeRole(MINTER_ROLE, msg.sender);
    }
    function _baseURI() internal view virtual override returns (string memory) {
        return baseURI;
    }
    function withdraw(address payable receiver) payable external  returns(bool success) {
        require(hasRole(ADMIN_ROLE, _msgSender()), "WT");
        receiver.transfer(address(this).balance);
        return true;
    }
    function adminMinting(address to) public {
        require(hasRole(ADMIN_ROLE, _msgSender()), "MT1");
        require(totalSupply().add(1) <= MaxSupply, "NT");
        super.mint(to);
    }
    function setNewbaseURI(string memory newBaseURI) public  returns (string memory) {
        require(hasRole(ADMIN_ROLE, _msgSender()), "NB1");
        baseURI = newBaseURI;
        return baseURI;
    }
      function setNewbaseHiddenURI(string memory newBaseURI) public  returns (string memory) {
        require(hasRole(ADMIN_ROLE, _msgSender()), "NBH");
        baseURIHidden = newBaseURI;
        return baseURIHidden;
    }
    function setNewMintPrice(uint256 newPrice) public {
        require(hasRole(ADMIN_ROLE, _msgSender()), "NMP");
        mintPrice = newPrice;
    }
       function setNewMaxPurchase(uint256 newMaxPurchase) public {
        require(hasRole(ADMIN_ROLE, _msgSender()), "NMP");
        MaxPurchase = newMaxPurchase;
    }
       function setMaxSupplyPresale(uint256 newMaxSupplyPresale) public {
        require(hasRole(ADMIN_ROLE, _msgSender()), "MSP");
        MaxSupplyPresale = newMaxSupplyPresale;
    }

    function flipSaleStatus() external {
        require(hasRole(ADMIN_ROLE, _msgSender()), "FS");
        SaleisActive = !SaleisActive;
    }
      function flipReveal() external {
        require(hasRole(ADMIN_ROLE, _msgSender()), "FR");
        revealed = !revealed;
    }
     function flipPresale() external {
        require(hasRole(ADMIN_ROLE, _msgSender()), "FR");
        presale = !presale;
    }
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory)
        {
            require(_exists(tokenId),"NET");
            if (!revealed) {return baseURIHidden;}
            return super.tokenURI(tokenId);
        }
}

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":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"LogWithdrawal","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MaxPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MaxSupplyPresale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SaleisActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"WaldosMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"adminMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURIHidden","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleStatus","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":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxSupplyPresale","type":"uint256"}],"name":"setMaxSupplyPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxPurchase","type":"uint256"}],"name":"setNewMaxPurchase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setNewMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setNewbaseHiddenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setNewbaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"receiver","type":"address"}],"name":"withdraw","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"payable","type":"function"}]

60806040526110686012556104b0601355600160145567027f7d0bdb9200006015556016805462ffffff191690553480156200003a57600080fd5b5060405180604001604052806011815260200170151a194815d85b191bdcc8131959d95b99607a1b815250604051806040016040528060038152602001621515d360ea1b815250604051806040016040528060048152602001636970667360e01b81525082828160029080519060200190620000b892919062000360565b508051620000ce90600390602084019062000360565b5050600c805460ff19169055508051620000f090600e90602084019062000360565b50620000fe600033620001a9565b6200012a7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633620001a9565b620001567f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33620001a9565b505050620001736200016d620001a560201b60201c565b620001b9565b6200019f7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177533620001a9565b62000443565b3390565b620001b582826200020b565b5050565b600f80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200022282826200024e60201b620019b81760201c565b60008281526001602090815260409091206200024991839062001a3c620002ee821b17901c565b505050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16620001b5576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620002aa3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600062000305836001600160a01b0384166200030e565b90505b92915050565b6000818152600183016020526040812054620003575750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000308565b50600062000308565b8280546200036e9062000406565b90600052602060002090601f016020900481019282620003925760008555620003dd565b82601f10620003ad57805160ff1916838001178555620003dd565b82800160010185558215620003dd579182015b82811115620003dd578251825591602001919060010190620003c0565b50620003eb929150620003ef565b5090565b5b80821115620003eb5760008155600101620003f0565b600181811c908216806200041b57607f821691505b602082108114156200043d57634e487b7160e01b600052602260045260246000fd5b50919050565b6133af80620004536000396000f3fe60806040526004361061034f5760003560e01c806370a08231116101c6578063ba2e27b3116100f7578063d547741f11610095578063e985e9c51161006f578063e985e9c51461094f578063ec7fb1c014610998578063f2fde38b146109b8578063fdea8e0b146109d857600080fd5b8063d547741f146108db578063e343a006146108fb578063e63ab1e91461091b57600080fd5b8063c87b56dd116100d1578063c87b56dd14610864578063ca15c87314610884578063ce03ec93146108a4578063d5391393146108b957600080fd5b8063ba2e27b314610815578063bfa0e6de1461082a578063c8753f9c1461084a57600080fd5b806391d1485411610164578063a217fddf1161013e578063a217fddf146107aa578063a22cb465146107bf578063b36c1284146107df578063b88d4fde146107f557600080fd5b806391d148541461075f578063957f3dc31461077f57806395d89b411461079557600080fd5b80638456cb59116101a05780638456cb59146106ec5780638da5cb5b146107015780638f10d94d1461071f5780639010d07c1461073f57600080fd5b806370a0823114610695578063715018a6146106b557806375b238fc146106ca57600080fd5b80633b84d9c6116102a057806358818a1f1161023e5780636352211e116102185780636352211e1461062a5780636817c76c1461064a5780636a627842146106605780636c0360eb1461068057600080fd5b806358818a1f146105d25780635c975abb146105f2578063634bda7e1461060a57600080fd5b806342966c681161027a57806342966c68146105605780634f6ccce71461058057806351830227146105a057806351cff8d9146105bf57600080fd5b80633b84d9c6146105165780633f4ba83a1461052b57806342842e0e1461054057600080fd5b806318160ddd1161030d5780632c20e887116102e75780632c20e887146104a35780632f2ff15d146104b65780632f745c59146104d657806336568abe146104f657600080fd5b806318160ddd1461043e57806323b872dd14610453578063248a9ca31461047357600080fd5b8062acf3481461035457806301ffc9a71461036b57806306fdde03146103a0578063081812fc146103c2578063095ea7b3146103fa57806316f78d5d1461041a575b600080fd5b34801561036057600080fd5b506103696109f8565b005b34801561037757600080fd5b5061038b610386366004612f4e565b610a65565b60405190151581526020015b60405180910390f35b3480156103ac57600080fd5b506103b5610a76565b60405161039791906130de565b3480156103ce57600080fd5b506103e26103dd366004612eee565b610b08565b6040516001600160a01b039091168152602001610397565b34801561040657600080fd5b50610369610415366004612ec2565b610b2f565b34801561042657600080fd5b5061043060135481565b604051908152602001610397565b34801561044a57600080fd5b50600a54610430565b34801561045f57600080fd5b5061036961046e366004612dce565b610c45565b34801561047f57600080fd5b5061043061048e366004612eee565b60009081526020819052604090206001015490565b6103696104b1366004612f07565b610c77565b3480156104c257600080fd5b506103696104d1366004612f07565b610e2e565b3480156104e257600080fd5b506104306104f1366004612ec2565b610e53565b34801561050257600080fd5b50610369610511366004612f07565b610ee9565b34801561052257600080fd5b50610369610f63565b34801561053757600080fd5b50610369610fc9565b34801561054c57600080fd5b5061036961055b366004612dce565b611071565b34801561056c57600080fd5b5061036961057b366004612eee565b61108c565b34801561058c57600080fd5b5061043061059b366004612eee565b6110bd565b3480156105ac57600080fd5b5060165461038b90610100900460ff1681565b61038b6105cd366004612d78565b611150565b3480156105de57600080fd5b506103696105ed366004612eee565b6111d9565b3480156105fe57600080fd5b50600c5460ff1661038b565b34801561061657600080fd5b50610369610625366004612d78565b611228565b34801561063657600080fd5b506103e2610645366004612eee565b6112bf565b34801561065657600080fd5b5061043060155481565b34801561066c57600080fd5b5061036961067b366004612d78565b61131f565b34801561068c57600080fd5b506103b56113c9565b3480156106a157600080fd5b506104306106b0366004612d78565b611457565b3480156106c157600080fd5b506103696114dd565b3480156106d657600080fd5b5061043060008051602061335a83398151915281565b3480156106f857600080fd5b506103696114ef565b34801561070d57600080fd5b50600f546001600160a01b03166103e2565b34801561072b57600080fd5b5061036961073a366004612eee565b611593565b34801561074b57600080fd5b506103e261075a366004612f2c565b6115e2565b34801561076b57600080fd5b5061038b61077a366004612f07565b611601565b34801561078b57600080fd5b5061043060145481565b3480156107a157600080fd5b506103b561162a565b3480156107b657600080fd5b50610430600081565b3480156107cb57600080fd5b506103696107da366004612e8f565b611639565b3480156107eb57600080fd5b5061043060125481565b34801561080157600080fd5b50610369610810366004612e0f565b611644565b34801561082157600080fd5b506103b561167c565b34801561083657600080fd5b50610369610845366004612eee565b611689565b34801561085657600080fd5b5060165461038b9060ff1681565b34801561087057600080fd5b506103b561087f366004612eee565b6116d8565b34801561089057600080fd5b5061043061089f366004612eee565b6117cf565b3480156108b057600080fd5b506103696117e6565b3480156108c557600080fd5b5061043060008051602061333a83398151915281565b3480156108e757600080fd5b506103696108f6366004612f07565b611843565b34801561090757600080fd5b506103b5610916366004612f88565b611868565b34801561092757600080fd5b506104307f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b34801561095b57600080fd5b5061038b61096a366004612d95565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156109a457600080fd5b506103b56109b3366004612f88565b6118d5565b3480156109c457600080fd5b506103696109d3366004612d78565b611942565b3480156109e457600080fd5b5060165461038b9062010000900460ff1681565b610a1060008051602061335a83398151915233611601565b610a465760405162461bcd60e51b8152602060048201526002602482015261232960f11b60448201526064015b60405180910390fd5b6016805462ff0000198116620100009182900460ff1615909102179055565b6000610a7082611a51565b92915050565b606060028054610a8590613236565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab190613236565b8015610afe5780601f10610ad357610100808354040283529160200191610afe565b820191906000526020600020905b815481529060010190602001808311610ae157829003601f168201915b5050505050905090565b6000610b1382611a76565b506000908152600660205260409020546001600160a01b031690565b6000610b3a826112bf565b9050806001600160a01b0316836001600160a01b03161415610ba85760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610a3d565b336001600160a01b0382161480610bc45750610bc4813361096a565b610c365760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610a3d565b610c408383611ad5565b505050565b610c50335b82611b43565b610c6c5760405162461bcd60e51b8152600401610a3d90613143565b610c40838383611bc2565b601254610c8d83610c87600a5490565b90611d69565b1115610cc05760405162461bcd60e51b8152602060048201526002602482015261139560f21b6044820152606401610a3d565b60165460ff16610cf85760405162461bcd60e51b8152602060048201526003602482015262534e4160e81b6044820152606401610a3d565b601454821115610d335760405162461bcd60e51b8152600401610a3d9060208082526004908201526306240e8f60e31b604082015260600190565b3482601554610d4291906131bd565b1115610d755760405162461bcd60e51b815260206004820152600260248201526122ab60f11b6044820152606401610a3d565b60165462010000900460ff1615610dd457601354610d9683610c87600a5490565b1115610dd45760405162461bcd60e51b815260206004820152600d60248201526c141c995cd85b1948195b991959609a1b6044820152606401610a3d565b610dec60008051602061333a83398151915233611d75565b60015b828111610e1157610dff8261131f565b80610e0981613271565b915050610def565b50610e2a60008051602061333a83398151915233611d7f565b5050565b600082815260208190526040902060010154610e4981611da1565b610c408383611dab565b6000610e5e83611457565b8210610ec05760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610a3d565b506001600160a01b03919091166000908152600860209081526040808320938352929052205490565b6001600160a01b0381163314610f595760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610a3d565b610e2a8282611d7f565b610f7b60008051602061335a83398151915233611601565b610fac5760405162461bcd60e51b8152602060048201526002602482015261232960f11b6044820152606401610a3d565b6016805461ff001981166101009182900460ff1615909102179055565b610ff37f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33611601565b611067576040805162461bcd60e51b81526020600482015260248101919091527f4552433732315072657365744d696e7465725061757365724175746f49643a2060448201527f6d75737420686176652070617573657220726f6c6520746f20756e70617573656064820152608401610a3d565b61106f611dcd565b565b610c4083838360405180602001604052806000815250611644565b61109533610c4a565b6110b15760405162461bcd60e51b8152600401610a3d90613143565b6110ba81611e1f565b50565b60006110c8600a5490565b821061112b5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610a3d565b600a828154811061113e5761113e6132e2565b90600052602060002001549050919050565b600061116a60008051602061335a83398151915233611601565b61119b5760405162461bcd60e51b815260206004820152600260248201526115d560f21b6044820152606401610a3d565b6040516001600160a01b038316904780156108fc02916000818181858888f193505050501580156111d0573d6000803e3d6000fd5b50600192915050565b6111f160008051602061335a83398151915233611601565b6112235760405162461bcd60e51b815260206004820152600360248201526204e4d560ec1b6044820152606401610a3d565b601455565b61124060008051602061335a83398151915233611601565b6112725760405162461bcd60e51b81526020600482015260036024820152624d543160e81b6044820152606401610a3d565b6012546112836001610c87600a5490565b11156112b65760405162461bcd60e51b8152602060048201526002602482015261139560f21b6044820152606401610a3d565b6110ba8161131f565b6000818152600460205260408120546001600160a01b031680610a705760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610a3d565b61133760008051602061333a83398151915233611601565b6113a95760405162461bcd60e51b815260206004820152603d60248201527f4552433732315072657365744d696e7465725061757365724175746f49643a2060448201527f6d7573742068617665206d696e74657220726f6c6520746f206d696e740000006064820152608401610a3d565b6113bb816113b6600d5490565b611ec6565b6110ba600d80546001019055565b601080546113d690613236565b80601f016020809104026020016040519081016040528092919081815260200182805461140290613236565b801561144f5780601f106114245761010080835404028352916020019161144f565b820191906000526020600020905b81548152906001019060200180831161143257829003601f168201915b505050505081565b60006001600160a01b0382166114c15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610a3d565b506001600160a01b031660009081526005602052604090205490565b6114e5612014565b61106f600061206e565b6115197f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33611601565b61158b5760405162461bcd60e51b815260206004820152603e60248201527f4552433732315072657365744d696e7465725061757365724175746f49643a2060448201527f6d75737420686176652070617573657220726f6c6520746f20706175736500006064820152608401610a3d565b61106f6120c0565b6115ab60008051602061335a83398151915233611601565b6115dd5760405162461bcd60e51b815260206004820152600360248201526204d53560ec1b6044820152606401610a3d565b601355565b60008281526001602052604081206115fa90836120fd565b9392505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b606060038054610a8590613236565b610e2a338383612109565b61164e3383611b43565b61166a5760405162461bcd60e51b8152600401610a3d90613143565b611676848484846121d8565b50505050565b601180546113d690613236565b6116a160008051602061335a83398151915233611601565b6116d35760405162461bcd60e51b815260206004820152600360248201526204e4d560ec1b6044820152606401610a3d565b601555565b6000818152600460205260409020546060906001600160a01b03166117255760405162461bcd60e51b815260206004820152600360248201526213915560ea1b6044820152606401610a3d565b601654610100900460ff166117c6576011805461174190613236565b80601f016020809104026020016040519081016040528092919081815260200182805461176d90613236565b80156117ba5780601f1061178f576101008083540402835291602001916117ba565b820191906000526020600020905b81548152906001019060200180831161179d57829003601f168201915b50505050509050919050565b610a708261220b565b6000818152600160205260408120610a7090612271565b6117fe60008051602061335a83398151915233611601565b61182f5760405162461bcd60e51b8152602060048201526002602482015261465360f01b6044820152606401610a3d565b6016805460ff19811660ff90911615179055565b60008281526020819052604090206001015461185e81611da1565b610c408383611d7f565b606061188260008051602061335a83398151915233611601565b6118b45760405162461bcd60e51b81526020600482015260036024820152624e423160e81b6044820152606401610a3d565b81516118c7906010906020850190612c69565b506010805461174190613236565b60606118ef60008051602061335a83398151915233611601565b6119215760405162461bcd60e51b815260206004820152600360248201526209c84960eb1b6044820152606401610a3d565b8151611934906011906020850190612c69565b506011805461174190613236565b61194a612014565b6001600160a01b0381166119af5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a3d565b6110ba8161206e565b6119c28282611601565b610e2a576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556119f83390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60006115fa836001600160a01b03841661227b565b60006001600160e01b0319821663780e9d6360e01b1480610a705750610a70826122ca565b6000818152600460205260409020546001600160a01b03166110ba5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610a3d565b600081815260066020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611b0a826112bf565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611b4f836112bf565b9050806001600160a01b0316846001600160a01b03161480611b9657506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff165b80611bba5750836001600160a01b0316611baf84610b08565b6001600160a01b0316145b949350505050565b826001600160a01b0316611bd5826112bf565b6001600160a01b031614611c395760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610a3d565b6001600160a01b038216611c9b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a3d565b611ca683838361230a565b611cb1600082611ad5565b6001600160a01b0383166000908152600560205260408120805460019290611cda9084906131dc565b90915550506001600160a01b0382166000908152600560205260408120805460019290611d08908490613191565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006115fa8284613191565b610e2a8282611dab565b611d898282612315565b6000828152600160205260409020610c40908261237a565b6110ba813361238f565b611db582826119b8565b6000828152600160205260409020610c409082611a3c565b611dd56123f3565b600c805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6000611e2a826112bf565b9050611e388160008461230a565b611e43600083611ad5565b6001600160a01b0381166000908152600560205260408120805460019290611e6c9084906131dc565b909155505060008281526004602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b038216611f1c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a3d565b6000818152600460205260409020546001600160a01b031615611f815760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a3d565b611f8d6000838361230a565b6001600160a01b0382166000908152600560205260408120805460019290611fb6908490613191565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600f546001600160a01b0316331461106f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a3d565b600f80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6120c861243c565b600c805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611e023390565b60006115fa8383612482565b816001600160a01b0316836001600160a01b0316141561216b5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a3d565b6001600160a01b03838116600081815260076020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6121e3848484611bc2565b6121ef848484846124ac565b6116765760405162461bcd60e51b8152600401610a3d906130f1565b606061221682611a76565b60006122206125b9565b9050600081511161224057604051806020016040528060008152506115fa565b8061224a846125c8565b60405160200161225b929190612ffd565b6040516020818303038152906040529392505050565b6000610a70825490565b60008181526001830160205260408120546122c257508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610a70565b506000610a70565b60006001600160e01b031982166380ac58cd60e01b14806122fb57506001600160e01b03198216635b5e139f60e01b145b80610a705750610a70826126c6565b610c408383836126eb565b61231f8282611601565b15610e2a576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60006115fa836001600160a01b03841661275d565b6123998282611601565b610e2a576123b1816001600160a01b03166014612850565b6123bc836020612850565b6040516020016123cd92919061302c565b60408051601f198184030181529082905262461bcd60e51b8252610a3d916004016130de565b600c5460ff1661106f5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610a3d565b600c5460ff161561106f5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610a3d565b6000826000018281548110612499576124996132e2565b9060005260206000200154905092915050565b60006001600160a01b0384163b156125ae57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906124f09033908990889088906004016130a1565b602060405180830381600087803b15801561250a57600080fd5b505af192505050801561253a575060408051601f3d908101601f1916820190925261253791810190612f6b565b60015b612594573d808015612568576040519150601f19603f3d011682016040523d82523d6000602084013e61256d565b606091505b50805161258c5760405162461bcd60e51b8152600401610a3d906130f1565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611bba565b506001949350505050565b606060108054610a8590613236565b6060816125ec5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612616578061260081613271565b915061260f9050600a836131a9565b91506125f0565b60008167ffffffffffffffff811115612631576126316132f8565b6040519080825280601f01601f19166020018201604052801561265b576020820181803683370190505b5090505b8415611bba576126706001836131dc565b915061267d600a8661328c565b612688906030613191565b60f81b81838151811061269d5761269d6132e2565b60200101906001600160f81b031916908160001a9053506126bf600a866131a9565b945061265f565b60006001600160e01b03198216635a05180f60e01b1480610a705750610a70826129ec565b6126f6838383612a21565b600c5460ff1615610c405760405162461bcd60e51b815260206004820152602b60248201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760448201526a1a1a5b19481c185d5cd95960aa1b6064820152608401610a3d565b600081815260018301602052604081205480156128465760006127816001836131dc565b8554909150600090612795906001906131dc565b90508181146127fa5760008660000182815481106127b5576127b56132e2565b90600052602060002001549050808760000184815481106127d8576127d86132e2565b6000918252602080832090910192909255918252600188019052604090208390555b855486908061280b5761280b6132cc565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610a70565b6000915050610a70565b6060600061285f8360026131bd565b61286a906002613191565b67ffffffffffffffff811115612882576128826132f8565b6040519080825280601f01601f1916602001820160405280156128ac576020820181803683370190505b509050600360fc1b816000815181106128c7576128c76132e2565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106128f6576128f66132e2565b60200101906001600160f81b031916908160001a905350600061291a8460026131bd565b612925906001613191565b90505b600181111561299d576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612959576129596132e2565b1a60f81b82828151811061296f5761296f6132e2565b60200101906001600160f81b031916908160001a90535060049490941c936129968161321f565b9050612928565b5083156115fa5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610a3d565b60006001600160e01b03198216637965db0b60e01b1480610a7057506301ffc9a760e01b6001600160e01b0319831614610a70565b6001600160a01b038316612a7c57612a7781600a80546000838152600b60205260408120829055600182018355919091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80155565b612a9f565b816001600160a01b0316836001600160a01b031614612a9f57612a9f8382612ad9565b6001600160a01b038216612ab657610c4081612b76565b826001600160a01b0316826001600160a01b031614610c4057610c408282612c25565b60006001612ae684611457565b612af091906131dc565b600083815260096020526040902054909150808214612b43576001600160a01b03841660009081526008602090815260408083208584528252808320548484528184208190558352600990915290208190555b5060009182526009602090815260408084208490556001600160a01b039094168352600881528383209183525290812055565b600a54600090612b88906001906131dc565b6000838152600b6020526040812054600a8054939450909284908110612bb057612bb06132e2565b9060005260206000200154905080600a8381548110612bd157612bd16132e2565b6000918252602080832090910192909255828152600b9091526040808220849055858252812055600a805480612c0957612c096132cc565b6001900381819060005260206000200160009055905550505050565b6000612c3083611457565b6001600160a01b039093166000908152600860209081526040808320868452825280832085905593825260099052919091209190915550565b828054612c7590613236565b90600052602060002090601f016020900481019282612c975760008555612cdd565b82601f10612cb057805160ff1916838001178555612cdd565b82800160010185558215612cdd579182015b82811115612cdd578251825591602001919060010190612cc2565b50612ce9929150612ced565b5090565b5b80821115612ce95760008155600101612cee565b600067ffffffffffffffff80841115612d1d57612d1d6132f8565b604051601f8501601f19908116603f01168101908282118183101715612d4557612d456132f8565b81604052809350858152868686011115612d5e57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612d8a57600080fd5b81356115fa8161330e565b60008060408385031215612da857600080fd5b8235612db38161330e565b91506020830135612dc38161330e565b809150509250929050565b600080600060608486031215612de357600080fd5b8335612dee8161330e565b92506020840135612dfe8161330e565b929592945050506040919091013590565b60008060008060808587031215612e2557600080fd5b8435612e308161330e565b93506020850135612e408161330e565b925060408501359150606085013567ffffffffffffffff811115612e6357600080fd5b8501601f81018713612e7457600080fd5b612e8387823560208401612d02565b91505092959194509250565b60008060408385031215612ea257600080fd5b8235612ead8161330e565b915060208301358015158114612dc357600080fd5b60008060408385031215612ed557600080fd5b8235612ee08161330e565b946020939093013593505050565b600060208284031215612f0057600080fd5b5035919050565b60008060408385031215612f1a57600080fd5b823591506020830135612dc38161330e565b60008060408385031215612f3f57600080fd5b50508035926020909101359150565b600060208284031215612f6057600080fd5b81356115fa81613323565b600060208284031215612f7d57600080fd5b81516115fa81613323565b600060208284031215612f9a57600080fd5b813567ffffffffffffffff811115612fb157600080fd5b8201601f81018413612fc257600080fd5b611bba84823560208401612d02565b60008151808452612fe98160208601602086016131f3565b601f01601f19169290920160200192915050565b6000835161300f8184602088016131f3565b8351908301906130238183602088016131f3565b01949350505050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516130648160178501602088016131f3565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516130958160288401602088016131f3565b01602801949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906130d490830184612fd1565b9695505050505050565b6020815260006115fa6020830184612fd1565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b600082198211156131a4576131a46132a0565b500190565b6000826131b8576131b86132b6565b500490565b60008160001904831182151516156131d7576131d76132a0565b500290565b6000828210156131ee576131ee6132a0565b500390565b60005b8381101561320e5781810151838201526020016131f6565b838111156116765750506000910152565b60008161322e5761322e6132a0565b506000190190565b600181811c9082168061324a57607f821691505b6020821081141561326b57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613285576132856132a0565b5060010190565b60008261329b5761329b6132b6565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146110ba57600080fd5b6001600160e01b0319811681146110ba57600080fdfe9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6a49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775a26469706673582212208256be846b7fcf1a1edf31888815f58b235de04d3829824cc94dcf985093e68264736f6c63430008070033

Deployed Bytecode

0x60806040526004361061034f5760003560e01c806370a08231116101c6578063ba2e27b3116100f7578063d547741f11610095578063e985e9c51161006f578063e985e9c51461094f578063ec7fb1c014610998578063f2fde38b146109b8578063fdea8e0b146109d857600080fd5b8063d547741f146108db578063e343a006146108fb578063e63ab1e91461091b57600080fd5b8063c87b56dd116100d1578063c87b56dd14610864578063ca15c87314610884578063ce03ec93146108a4578063d5391393146108b957600080fd5b8063ba2e27b314610815578063bfa0e6de1461082a578063c8753f9c1461084a57600080fd5b806391d1485411610164578063a217fddf1161013e578063a217fddf146107aa578063a22cb465146107bf578063b36c1284146107df578063b88d4fde146107f557600080fd5b806391d148541461075f578063957f3dc31461077f57806395d89b411461079557600080fd5b80638456cb59116101a05780638456cb59146106ec5780638da5cb5b146107015780638f10d94d1461071f5780639010d07c1461073f57600080fd5b806370a0823114610695578063715018a6146106b557806375b238fc146106ca57600080fd5b80633b84d9c6116102a057806358818a1f1161023e5780636352211e116102185780636352211e1461062a5780636817c76c1461064a5780636a627842146106605780636c0360eb1461068057600080fd5b806358818a1f146105d25780635c975abb146105f2578063634bda7e1461060a57600080fd5b806342966c681161027a57806342966c68146105605780634f6ccce71461058057806351830227146105a057806351cff8d9146105bf57600080fd5b80633b84d9c6146105165780633f4ba83a1461052b57806342842e0e1461054057600080fd5b806318160ddd1161030d5780632c20e887116102e75780632c20e887146104a35780632f2ff15d146104b65780632f745c59146104d657806336568abe146104f657600080fd5b806318160ddd1461043e57806323b872dd14610453578063248a9ca31461047357600080fd5b8062acf3481461035457806301ffc9a71461036b57806306fdde03146103a0578063081812fc146103c2578063095ea7b3146103fa57806316f78d5d1461041a575b600080fd5b34801561036057600080fd5b506103696109f8565b005b34801561037757600080fd5b5061038b610386366004612f4e565b610a65565b60405190151581526020015b60405180910390f35b3480156103ac57600080fd5b506103b5610a76565b60405161039791906130de565b3480156103ce57600080fd5b506103e26103dd366004612eee565b610b08565b6040516001600160a01b039091168152602001610397565b34801561040657600080fd5b50610369610415366004612ec2565b610b2f565b34801561042657600080fd5b5061043060135481565b604051908152602001610397565b34801561044a57600080fd5b50600a54610430565b34801561045f57600080fd5b5061036961046e366004612dce565b610c45565b34801561047f57600080fd5b5061043061048e366004612eee565b60009081526020819052604090206001015490565b6103696104b1366004612f07565b610c77565b3480156104c257600080fd5b506103696104d1366004612f07565b610e2e565b3480156104e257600080fd5b506104306104f1366004612ec2565b610e53565b34801561050257600080fd5b50610369610511366004612f07565b610ee9565b34801561052257600080fd5b50610369610f63565b34801561053757600080fd5b50610369610fc9565b34801561054c57600080fd5b5061036961055b366004612dce565b611071565b34801561056c57600080fd5b5061036961057b366004612eee565b61108c565b34801561058c57600080fd5b5061043061059b366004612eee565b6110bd565b3480156105ac57600080fd5b5060165461038b90610100900460ff1681565b61038b6105cd366004612d78565b611150565b3480156105de57600080fd5b506103696105ed366004612eee565b6111d9565b3480156105fe57600080fd5b50600c5460ff1661038b565b34801561061657600080fd5b50610369610625366004612d78565b611228565b34801561063657600080fd5b506103e2610645366004612eee565b6112bf565b34801561065657600080fd5b5061043060155481565b34801561066c57600080fd5b5061036961067b366004612d78565b61131f565b34801561068c57600080fd5b506103b56113c9565b3480156106a157600080fd5b506104306106b0366004612d78565b611457565b3480156106c157600080fd5b506103696114dd565b3480156106d657600080fd5b5061043060008051602061335a83398151915281565b3480156106f857600080fd5b506103696114ef565b34801561070d57600080fd5b50600f546001600160a01b03166103e2565b34801561072b57600080fd5b5061036961073a366004612eee565b611593565b34801561074b57600080fd5b506103e261075a366004612f2c565b6115e2565b34801561076b57600080fd5b5061038b61077a366004612f07565b611601565b34801561078b57600080fd5b5061043060145481565b3480156107a157600080fd5b506103b561162a565b3480156107b657600080fd5b50610430600081565b3480156107cb57600080fd5b506103696107da366004612e8f565b611639565b3480156107eb57600080fd5b5061043060125481565b34801561080157600080fd5b50610369610810366004612e0f565b611644565b34801561082157600080fd5b506103b561167c565b34801561083657600080fd5b50610369610845366004612eee565b611689565b34801561085657600080fd5b5060165461038b9060ff1681565b34801561087057600080fd5b506103b561087f366004612eee565b6116d8565b34801561089057600080fd5b5061043061089f366004612eee565b6117cf565b3480156108b057600080fd5b506103696117e6565b3480156108c557600080fd5b5061043060008051602061333a83398151915281565b3480156108e757600080fd5b506103696108f6366004612f07565b611843565b34801561090757600080fd5b506103b5610916366004612f88565b611868565b34801561092757600080fd5b506104307f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b34801561095b57600080fd5b5061038b61096a366004612d95565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156109a457600080fd5b506103b56109b3366004612f88565b6118d5565b3480156109c457600080fd5b506103696109d3366004612d78565b611942565b3480156109e457600080fd5b5060165461038b9062010000900460ff1681565b610a1060008051602061335a83398151915233611601565b610a465760405162461bcd60e51b8152602060048201526002602482015261232960f11b60448201526064015b60405180910390fd5b6016805462ff0000198116620100009182900460ff1615909102179055565b6000610a7082611a51565b92915050565b606060028054610a8590613236565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab190613236565b8015610afe5780601f10610ad357610100808354040283529160200191610afe565b820191906000526020600020905b815481529060010190602001808311610ae157829003601f168201915b5050505050905090565b6000610b1382611a76565b506000908152600660205260409020546001600160a01b031690565b6000610b3a826112bf565b9050806001600160a01b0316836001600160a01b03161415610ba85760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610a3d565b336001600160a01b0382161480610bc45750610bc4813361096a565b610c365760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610a3d565b610c408383611ad5565b505050565b610c50335b82611b43565b610c6c5760405162461bcd60e51b8152600401610a3d90613143565b610c40838383611bc2565b601254610c8d83610c87600a5490565b90611d69565b1115610cc05760405162461bcd60e51b8152602060048201526002602482015261139560f21b6044820152606401610a3d565b60165460ff16610cf85760405162461bcd60e51b8152602060048201526003602482015262534e4160e81b6044820152606401610a3d565b601454821115610d335760405162461bcd60e51b8152600401610a3d9060208082526004908201526306240e8f60e31b604082015260600190565b3482601554610d4291906131bd565b1115610d755760405162461bcd60e51b815260206004820152600260248201526122ab60f11b6044820152606401610a3d565b60165462010000900460ff1615610dd457601354610d9683610c87600a5490565b1115610dd45760405162461bcd60e51b815260206004820152600d60248201526c141c995cd85b1948195b991959609a1b6044820152606401610a3d565b610dec60008051602061333a83398151915233611d75565b60015b828111610e1157610dff8261131f565b80610e0981613271565b915050610def565b50610e2a60008051602061333a83398151915233611d7f565b5050565b600082815260208190526040902060010154610e4981611da1565b610c408383611dab565b6000610e5e83611457565b8210610ec05760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610a3d565b506001600160a01b03919091166000908152600860209081526040808320938352929052205490565b6001600160a01b0381163314610f595760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610a3d565b610e2a8282611d7f565b610f7b60008051602061335a83398151915233611601565b610fac5760405162461bcd60e51b8152602060048201526002602482015261232960f11b6044820152606401610a3d565b6016805461ff001981166101009182900460ff1615909102179055565b610ff37f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33611601565b611067576040805162461bcd60e51b81526020600482015260248101919091527f4552433732315072657365744d696e7465725061757365724175746f49643a2060448201527f6d75737420686176652070617573657220726f6c6520746f20756e70617573656064820152608401610a3d565b61106f611dcd565b565b610c4083838360405180602001604052806000815250611644565b61109533610c4a565b6110b15760405162461bcd60e51b8152600401610a3d90613143565b6110ba81611e1f565b50565b60006110c8600a5490565b821061112b5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610a3d565b600a828154811061113e5761113e6132e2565b90600052602060002001549050919050565b600061116a60008051602061335a83398151915233611601565b61119b5760405162461bcd60e51b815260206004820152600260248201526115d560f21b6044820152606401610a3d565b6040516001600160a01b038316904780156108fc02916000818181858888f193505050501580156111d0573d6000803e3d6000fd5b50600192915050565b6111f160008051602061335a83398151915233611601565b6112235760405162461bcd60e51b815260206004820152600360248201526204e4d560ec1b6044820152606401610a3d565b601455565b61124060008051602061335a83398151915233611601565b6112725760405162461bcd60e51b81526020600482015260036024820152624d543160e81b6044820152606401610a3d565b6012546112836001610c87600a5490565b11156112b65760405162461bcd60e51b8152602060048201526002602482015261139560f21b6044820152606401610a3d565b6110ba8161131f565b6000818152600460205260408120546001600160a01b031680610a705760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610a3d565b61133760008051602061333a83398151915233611601565b6113a95760405162461bcd60e51b815260206004820152603d60248201527f4552433732315072657365744d696e7465725061757365724175746f49643a2060448201527f6d7573742068617665206d696e74657220726f6c6520746f206d696e740000006064820152608401610a3d565b6113bb816113b6600d5490565b611ec6565b6110ba600d80546001019055565b601080546113d690613236565b80601f016020809104026020016040519081016040528092919081815260200182805461140290613236565b801561144f5780601f106114245761010080835404028352916020019161144f565b820191906000526020600020905b81548152906001019060200180831161143257829003601f168201915b505050505081565b60006001600160a01b0382166114c15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610a3d565b506001600160a01b031660009081526005602052604090205490565b6114e5612014565b61106f600061206e565b6115197f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33611601565b61158b5760405162461bcd60e51b815260206004820152603e60248201527f4552433732315072657365744d696e7465725061757365724175746f49643a2060448201527f6d75737420686176652070617573657220726f6c6520746f20706175736500006064820152608401610a3d565b61106f6120c0565b6115ab60008051602061335a83398151915233611601565b6115dd5760405162461bcd60e51b815260206004820152600360248201526204d53560ec1b6044820152606401610a3d565b601355565b60008281526001602052604081206115fa90836120fd565b9392505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b606060038054610a8590613236565b610e2a338383612109565b61164e3383611b43565b61166a5760405162461bcd60e51b8152600401610a3d90613143565b611676848484846121d8565b50505050565b601180546113d690613236565b6116a160008051602061335a83398151915233611601565b6116d35760405162461bcd60e51b815260206004820152600360248201526204e4d560ec1b6044820152606401610a3d565b601555565b6000818152600460205260409020546060906001600160a01b03166117255760405162461bcd60e51b815260206004820152600360248201526213915560ea1b6044820152606401610a3d565b601654610100900460ff166117c6576011805461174190613236565b80601f016020809104026020016040519081016040528092919081815260200182805461176d90613236565b80156117ba5780601f1061178f576101008083540402835291602001916117ba565b820191906000526020600020905b81548152906001019060200180831161179d57829003601f168201915b50505050509050919050565b610a708261220b565b6000818152600160205260408120610a7090612271565b6117fe60008051602061335a83398151915233611601565b61182f5760405162461bcd60e51b8152602060048201526002602482015261465360f01b6044820152606401610a3d565b6016805460ff19811660ff90911615179055565b60008281526020819052604090206001015461185e81611da1565b610c408383611d7f565b606061188260008051602061335a83398151915233611601565b6118b45760405162461bcd60e51b81526020600482015260036024820152624e423160e81b6044820152606401610a3d565b81516118c7906010906020850190612c69565b506010805461174190613236565b60606118ef60008051602061335a83398151915233611601565b6119215760405162461bcd60e51b815260206004820152600360248201526209c84960eb1b6044820152606401610a3d565b8151611934906011906020850190612c69565b506011805461174190613236565b61194a612014565b6001600160a01b0381166119af5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a3d565b6110ba8161206e565b6119c28282611601565b610e2a576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556119f83390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60006115fa836001600160a01b03841661227b565b60006001600160e01b0319821663780e9d6360e01b1480610a705750610a70826122ca565b6000818152600460205260409020546001600160a01b03166110ba5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610a3d565b600081815260066020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611b0a826112bf565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611b4f836112bf565b9050806001600160a01b0316846001600160a01b03161480611b9657506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff165b80611bba5750836001600160a01b0316611baf84610b08565b6001600160a01b0316145b949350505050565b826001600160a01b0316611bd5826112bf565b6001600160a01b031614611c395760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610a3d565b6001600160a01b038216611c9b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a3d565b611ca683838361230a565b611cb1600082611ad5565b6001600160a01b0383166000908152600560205260408120805460019290611cda9084906131dc565b90915550506001600160a01b0382166000908152600560205260408120805460019290611d08908490613191565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006115fa8284613191565b610e2a8282611dab565b611d898282612315565b6000828152600160205260409020610c40908261237a565b6110ba813361238f565b611db582826119b8565b6000828152600160205260409020610c409082611a3c565b611dd56123f3565b600c805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6000611e2a826112bf565b9050611e388160008461230a565b611e43600083611ad5565b6001600160a01b0381166000908152600560205260408120805460019290611e6c9084906131dc565b909155505060008281526004602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b038216611f1c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a3d565b6000818152600460205260409020546001600160a01b031615611f815760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a3d565b611f8d6000838361230a565b6001600160a01b0382166000908152600560205260408120805460019290611fb6908490613191565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600f546001600160a01b0316331461106f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a3d565b600f80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6120c861243c565b600c805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611e023390565b60006115fa8383612482565b816001600160a01b0316836001600160a01b0316141561216b5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a3d565b6001600160a01b03838116600081815260076020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6121e3848484611bc2565b6121ef848484846124ac565b6116765760405162461bcd60e51b8152600401610a3d906130f1565b606061221682611a76565b60006122206125b9565b9050600081511161224057604051806020016040528060008152506115fa565b8061224a846125c8565b60405160200161225b929190612ffd565b6040516020818303038152906040529392505050565b6000610a70825490565b60008181526001830160205260408120546122c257508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610a70565b506000610a70565b60006001600160e01b031982166380ac58cd60e01b14806122fb57506001600160e01b03198216635b5e139f60e01b145b80610a705750610a70826126c6565b610c408383836126eb565b61231f8282611601565b15610e2a576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60006115fa836001600160a01b03841661275d565b6123998282611601565b610e2a576123b1816001600160a01b03166014612850565b6123bc836020612850565b6040516020016123cd92919061302c565b60408051601f198184030181529082905262461bcd60e51b8252610a3d916004016130de565b600c5460ff1661106f5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610a3d565b600c5460ff161561106f5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610a3d565b6000826000018281548110612499576124996132e2565b9060005260206000200154905092915050565b60006001600160a01b0384163b156125ae57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906124f09033908990889088906004016130a1565b602060405180830381600087803b15801561250a57600080fd5b505af192505050801561253a575060408051601f3d908101601f1916820190925261253791810190612f6b565b60015b612594573d808015612568576040519150601f19603f3d011682016040523d82523d6000602084013e61256d565b606091505b50805161258c5760405162461bcd60e51b8152600401610a3d906130f1565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611bba565b506001949350505050565b606060108054610a8590613236565b6060816125ec5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612616578061260081613271565b915061260f9050600a836131a9565b91506125f0565b60008167ffffffffffffffff811115612631576126316132f8565b6040519080825280601f01601f19166020018201604052801561265b576020820181803683370190505b5090505b8415611bba576126706001836131dc565b915061267d600a8661328c565b612688906030613191565b60f81b81838151811061269d5761269d6132e2565b60200101906001600160f81b031916908160001a9053506126bf600a866131a9565b945061265f565b60006001600160e01b03198216635a05180f60e01b1480610a705750610a70826129ec565b6126f6838383612a21565b600c5460ff1615610c405760405162461bcd60e51b815260206004820152602b60248201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760448201526a1a1a5b19481c185d5cd95960aa1b6064820152608401610a3d565b600081815260018301602052604081205480156128465760006127816001836131dc565b8554909150600090612795906001906131dc565b90508181146127fa5760008660000182815481106127b5576127b56132e2565b90600052602060002001549050808760000184815481106127d8576127d86132e2565b6000918252602080832090910192909255918252600188019052604090208390555b855486908061280b5761280b6132cc565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610a70565b6000915050610a70565b6060600061285f8360026131bd565b61286a906002613191565b67ffffffffffffffff811115612882576128826132f8565b6040519080825280601f01601f1916602001820160405280156128ac576020820181803683370190505b509050600360fc1b816000815181106128c7576128c76132e2565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106128f6576128f66132e2565b60200101906001600160f81b031916908160001a905350600061291a8460026131bd565b612925906001613191565b90505b600181111561299d576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612959576129596132e2565b1a60f81b82828151811061296f5761296f6132e2565b60200101906001600160f81b031916908160001a90535060049490941c936129968161321f565b9050612928565b5083156115fa5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610a3d565b60006001600160e01b03198216637965db0b60e01b1480610a7057506301ffc9a760e01b6001600160e01b0319831614610a70565b6001600160a01b038316612a7c57612a7781600a80546000838152600b60205260408120829055600182018355919091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80155565b612a9f565b816001600160a01b0316836001600160a01b031614612a9f57612a9f8382612ad9565b6001600160a01b038216612ab657610c4081612b76565b826001600160a01b0316826001600160a01b031614610c4057610c408282612c25565b60006001612ae684611457565b612af091906131dc565b600083815260096020526040902054909150808214612b43576001600160a01b03841660009081526008602090815260408083208584528252808320548484528184208190558352600990915290208190555b5060009182526009602090815260408084208490556001600160a01b039094168352600881528383209183525290812055565b600a54600090612b88906001906131dc565b6000838152600b6020526040812054600a8054939450909284908110612bb057612bb06132e2565b9060005260206000200154905080600a8381548110612bd157612bd16132e2565b6000918252602080832090910192909255828152600b9091526040808220849055858252812055600a805480612c0957612c096132cc565b6001900381819060005260206000200160009055905550505050565b6000612c3083611457565b6001600160a01b039093166000908152600860209081526040808320868452825280832085905593825260099052919091209190915550565b828054612c7590613236565b90600052602060002090601f016020900481019282612c975760008555612cdd565b82601f10612cb057805160ff1916838001178555612cdd565b82800160010185558215612cdd579182015b82811115612cdd578251825591602001919060010190612cc2565b50612ce9929150612ced565b5090565b5b80821115612ce95760008155600101612cee565b600067ffffffffffffffff80841115612d1d57612d1d6132f8565b604051601f8501601f19908116603f01168101908282118183101715612d4557612d456132f8565b81604052809350858152868686011115612d5e57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612d8a57600080fd5b81356115fa8161330e565b60008060408385031215612da857600080fd5b8235612db38161330e565b91506020830135612dc38161330e565b809150509250929050565b600080600060608486031215612de357600080fd5b8335612dee8161330e565b92506020840135612dfe8161330e565b929592945050506040919091013590565b60008060008060808587031215612e2557600080fd5b8435612e308161330e565b93506020850135612e408161330e565b925060408501359150606085013567ffffffffffffffff811115612e6357600080fd5b8501601f81018713612e7457600080fd5b612e8387823560208401612d02565b91505092959194509250565b60008060408385031215612ea257600080fd5b8235612ead8161330e565b915060208301358015158114612dc357600080fd5b60008060408385031215612ed557600080fd5b8235612ee08161330e565b946020939093013593505050565b600060208284031215612f0057600080fd5b5035919050565b60008060408385031215612f1a57600080fd5b823591506020830135612dc38161330e565b60008060408385031215612f3f57600080fd5b50508035926020909101359150565b600060208284031215612f6057600080fd5b81356115fa81613323565b600060208284031215612f7d57600080fd5b81516115fa81613323565b600060208284031215612f9a57600080fd5b813567ffffffffffffffff811115612fb157600080fd5b8201601f81018413612fc257600080fd5b611bba84823560208401612d02565b60008151808452612fe98160208601602086016131f3565b601f01601f19169290920160200192915050565b6000835161300f8184602088016131f3565b8351908301906130238183602088016131f3565b01949350505050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516130648160178501602088016131f3565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516130958160288401602088016131f3565b01602801949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906130d490830184612fd1565b9695505050505050565b6020815260006115fa6020830184612fd1565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b600082198211156131a4576131a46132a0565b500190565b6000826131b8576131b86132b6565b500490565b60008160001904831182151516156131d7576131d76132a0565b500290565b6000828210156131ee576131ee6132a0565b500390565b60005b8381101561320e5781810151838201526020016131f6565b838111156116765750506000910152565b60008161322e5761322e6132a0565b506000190190565b600181811c9082168061324a57607f821691505b6020821081141561326b57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613285576132856132a0565b5060010190565b60008261329b5761329b6132b6565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146110ba57600080fd5b6001600160e01b0319811681146110ba57600080fdfe9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6a49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775a26469706673582212208256be846b7fcf1a1edf31888815f58b235de04d3829824cc94dcf985093e68264736f6c63430008070033

Deployed Bytecode Sourcemap

91465:3458:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;94534:128;;;;;;;;;;;;;:::i;:::-;;91138:254;;;;;;;;;;-1:-1:-1;91138:254:0;;;;;:::i;:::-;;:::i;:::-;;;8172:14:1;;8165:22;8147:41;;8135:2;8120:18;91138:254:0;;;;;;;;65962:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;67475:171::-;;;;;;;;;;-1:-1:-1;67475:171:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7470:32:1;;;7452:51;;7440:2;7425:18;67475:171:0;7306:203:1;66992:417:0;;;;;;;;;;-1:-1:-1;66992:417:0;;;;;:::i;:::-;;:::i;91666:38::-;;;;;;;;;;;;;;;;;;;8345:25:1;;;8333:2;8318:18;91666:38:0;8199:177:1;81616:113:0;;;;;;;;;;-1:-1:-1;81704:10:0;:17;81616:113;;68175:336;;;;;;;;;;-1:-1:-1;68175:336:0;;;;;:::i;:::-;;:::i;50617:131::-;;;;;;;;;;-1:-1:-1;50617:131:0;;;;;:::i;:::-;50691:7;50718:12;;;;;;;;;;:22;;;;50617:131;92164:572;;;;;;:::i;:::-;;:::i;51058:147::-;;;;;;;;;;-1:-1:-1;51058:147:0;;;;;:::i;:::-;;:::i;81284:256::-;;;;;;;;;;-1:-1:-1;81284:256:0;;;;;:::i;:::-;;:::i;52202:218::-;;;;;;;;;;-1:-1:-1;52202:218:0;;;;;:::i;:::-;;:::i;94398:129::-;;;;;;;;;;;;;:::i;90634:185::-;;;;;;;;;;;;;:::i;68582:::-;;;;;;;;;;-1:-1:-1;68582:185:0;;;;;:::i;:::-;;:::i;79715:243::-;;;;;;;;;;-1:-1:-1;79715:243:0;;;;;:::i;:::-;;:::i;81806:233::-;;;;;;;;;;-1:-1:-1;81806:233:0;;;;;:::i;:::-;;:::i;91898:28::-;;;;;;;;;;-1:-1:-1;91898:28:0;;;;;;;;;;;92856:224;;;;;;:::i;:::-;;:::i;93885:165::-;;;;;;;;;;-1:-1:-1;93885:165:0;;;;;:::i;:::-;;:::i;33669:86::-;;;;;;;;;;-1:-1:-1;33740:7:0;;;;33669:86;;93086:193;;;;;;;;;;-1:-1:-1;93086:193:0;;;;;:::i;:::-;;:::i;65673:222::-;;;;;;;;;;-1:-1:-1;65673:222:0;;;;;:::i;:::-;;:::i;91748:37::-;;;;;;;;;;;;;;;;89614:407;;;;;;;;;;-1:-1:-1;89614:407:0;;;;;:::i;:::-;;:::i;91566:21::-;;;;;;;;;;;;;:::i;65404:207::-;;;;;;;;;;-1:-1:-1;65404:207:0;;;;;:::i;:::-;;:::i;31179:103::-;;;;;;;;;;;;;:::i;91831:60::-;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;91831:60:0;;90236:179;;;;;;;;;;;;;:::i;30531:87::-;;;;;;;;;;-1:-1:-1;30604:6:0;;-1:-1:-1;;;;;30604:6:0;30531:87;;94059:182;;;;;;;;;;-1:-1:-1;94059:182:0;;;;;:::i;:::-;;:::i;55855:153::-;;;;;;;;;;-1:-1:-1;55855:153:0;;;;;:::i;:::-;;:::i;49077:147::-;;;;;;;;;;-1:-1:-1;49077:147:0;;;;;:::i;:::-;;:::i;91711:30::-;;;;;;;;;;;;;;;;66131:104;;;;;;;;;;;;;:::i;48182:49::-;;;;;;;;;;-1:-1:-1;48182:49:0;48227:4;48182:49;;67718:155;;;;;;;;;;-1:-1:-1;67718:155:0;;;;;:::i;:::-;;:::i;91628:31::-;;;;;;;;;;;;;;;;68838:323;;;;;;;;;;-1:-1:-1;68838:323:0;;;;;:::i;:::-;;:::i;91594:27::-;;;;;;;;;;;;;:::i;93727:149::-;;;;;;;;;;-1:-1:-1;93727:149:0;;;;;:::i;:::-;;:::i;91792:32::-;;;;;;;;;;-1:-1:-1;91792:32:0;;;;;;;;94668:252;;;;;;;;;;-1:-1:-1;94668:252:0;;;;;:::i;:::-;;:::i;56182:142::-;;;;;;;;;;-1:-1:-1;56182:142:0;;;;;:::i;:::-;;:::i;94249:141::-;;;;;;;;;;;;;:::i;88277:62::-;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;88277:62:0;;51498:149;;;;;;;;;;-1:-1:-1;51498:149:0;;;;;:::i;:::-;;:::i;93285:205::-;;;;;;;;;;-1:-1:-1;93285:205:0;;;;;:::i;:::-;;:::i;88346:62::-;;;;;;;;;;;;88384:24;88346:62;;67944:164;;;;;;;;;;-1:-1:-1;67944:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;68065:25:0;;;68041:4;68065:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;67944:164;93498:223;;;;;;;;;;-1:-1:-1;93498:223:0;;;;;:::i;:::-;;:::i;31437:201::-;;;;;;;;;;-1:-1:-1;31437:201:0;;;;;:::i;:::-;;:::i;91933:27::-;;;;;;;;;;-1:-1:-1;91933:27:0;;;;;;;;;;;94534:128;94585:33;-1:-1:-1;;;;;;;;;;;29162:10:0;49077:147;:::i;94585:33::-;94577:48;;;;-1:-1:-1;;;94577:48:0;;18018:2:1;94577:48:0;;;18000:21:1;18057:1;18037:18;;;18030:29;-1:-1:-1;;;18075:18:1;;;18068:32;18117:18;;94577:48:0;;;;;;;;;94647:7;;;-1:-1:-1;;94636:18:0;;94647:7;;;;;;;94646:8;94636:18;;;;;;94534:128::o;91138:254::-;91319:4;91348:36;91372:11;91348:23;:36::i;:::-;91341:43;91138:254;-1:-1:-1;;91138:254:0:o;65962:100::-;66016:13;66049:5;66042:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65962:100;:::o;67475:171::-;67551:7;67571:23;67586:7;67571:14;:23::i;:::-;-1:-1:-1;67614:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;67614:24:0;;67475:171::o;66992:417::-;67073:13;67089:23;67104:7;67089:14;:23::i;:::-;67073:39;;67137:5;-1:-1:-1;;;;;67131:11:0;:2;-1:-1:-1;;;;;67131:11:0;;;67123:57;;;;-1:-1:-1;;;67123:57:0;;18701:2:1;67123:57:0;;;18683:21:1;18740:2;18720:18;;;18713:30;18779:34;18759:18;;;18752:62;-1:-1:-1;;;18830:18:1;;;18823:31;18871:19;;67123:57:0;18499:397:1;67123:57:0;29162:10;-1:-1:-1;;;;;67215:21:0;;;;:62;;-1:-1:-1;67240:37:0;67257:5;29162:10;67944:164;:::i;67240:37::-;67193:174;;;;-1:-1:-1;;;67193:174:0;;16192:2:1;67193:174:0;;;16174:21:1;16231:2;16211:18;;;16204:30;16270:34;16250:18;;;16243:62;16341:32;16321:18;;;16314:60;16391:19;;67193:174:0;15990:426:1;67193:174:0;67380:21;67389:2;67393:7;67380:8;:21::i;:::-;67062:347;66992:417;;:::o;68175:336::-;68370:41;29162:10;68389:12;68403:7;68370:18;:41::i;:::-;68362:100;;;;-1:-1:-1;;;68362:100:0;;;;;;;:::i;:::-;68475:28;68485:4;68491:2;68495:7;68475:9;:28::i;92164:572::-;92274:9;;92245:25;92263:6;92245:13;81704:10;:17;;81616:113;92245:13;:17;;:25::i;:::-;:38;;92237:53;;;;-1:-1:-1;;;92237:53:0;;20177:2:1;92237:53:0;;;20159:21:1;20216:1;20196:18;;;20189:29;-1:-1:-1;;;20234:18:1;;;20227:32;20276:18;;92237:53:0;19975:325:1;92237:53:0;92308:12;;;;92300:28;;;;-1:-1:-1;;;92300:28:0;;19103:2:1;92300:28:0;;;19085:21:1;19142:1;19122:18;;;19115:29;-1:-1:-1;;;19160:18:1;;;19153:33;19203:18;;92300:28:0;18901:326:1;92300:28:0;92356:11;;92346:6;:21;;92338:38;;;;-1:-1:-1;;;92338:38:0;;;;;;9929:2:1;9911:21;;;9968:1;9948:18;;;9941:29;-1:-1:-1;;;10001:2:1;9986:18;;9979:34;10045:2;10030:18;;9727:327;92338:38:0;92416:9;92406:6;92394:9;;:18;;;;:::i;:::-;:31;;92386:46;;;;-1:-1:-1;;;92386:46:0;;14445:2:1;92386:46:0;;;14427:21:1;14484:1;14464:18;;;14457:29;-1:-1:-1;;;14502:18:1;;;14495:32;14544:18;;92386:46:0;14243:325:1;92386:46:0;92445:7;;;;;;;92442:108;;;92505:16;;92476:25;92494:6;92476:13;81704:10;:17;;81616:113;92476:25;:45;;92468:71;;;;-1:-1:-1;;;92468:71:0;;17676:2:1;92468:71:0;;;17658:21:1;17715:2;17695:18;;;17688:30;-1:-1:-1;;;17734:18:1;;;17727:43;17787:18;;92468:71:0;17474:337:1;92468:71:0;92560:35;-1:-1:-1;;;;;;;;;;;92584:10:0;92560;:35::i;:::-;92620:1;92606:76;92628:6;92623:1;:11;92606:76;;92656:14;92667:2;92656:10;:14::i;:::-;92636:3;;;;:::i;:::-;;;;92606:76;;;;92692:36;-1:-1:-1;;;;;;;;;;;92717:10:0;92692:11;:36::i;:::-;92164:572;;:::o;51058:147::-;50691:7;50718:12;;;;;;;;;;:22;;;48673:16;48684:4;48673:10;:16::i;:::-;51172:25:::1;51183:4;51189:7;51172:10;:25::i;81284:256::-:0;81381:7;81417:23;81434:5;81417:16;:23::i;:::-;81409:5;:31;81401:87;;;;-1:-1:-1;;;81401:87:0;;10923:2:1;81401:87:0;;;10905:21:1;10962:2;10942:18;;;10935:30;11001:34;10981:18;;;10974:62;-1:-1:-1;;;11052:18:1;;;11045:41;11103:19;;81401:87:0;10721:407:1;81401:87:0;-1:-1:-1;;;;;;81506:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;81284:256::o;52202:218::-;-1:-1:-1;;;;;52298:23:0;;29162:10;52298:23;52290:83;;;;-1:-1:-1;;;52290:83:0;;22115:2:1;52290:83:0;;;22097:21:1;22154:2;22134:18;;;22127:30;22193:34;22173:18;;;22166:62;-1:-1:-1;;;22244:18:1;;;22237:45;22299:19;;52290:83:0;21913:411:1;52290:83:0;52386:26;52398:4;52404:7;52386:11;:26::i;94398:129::-;94448:33;-1:-1:-1;;;;;;;;;;;29162:10:0;49077:147;:::i;94448:33::-;94440:48;;;;-1:-1:-1;;;94440:48:0;;18018:2:1;94440:48:0;;;18000:21:1;18057:1;18037:18;;;18030:29;-1:-1:-1;;;18075:18:1;;;18068:32;18117:18;;94440:48:0;17816:325:1;94440:48:0;94511:8;;;-1:-1:-1;;94499:20:0;;94511:8;;;;;;;94510:9;94499:20;;;;;;94398:129::o;90634:185::-;90687:34;88384:24;29162:10;49077:147;:::i;90687:34::-;90679:111;;;;;-1:-1:-1;;;90679:111:0;;21682:2:1;90679:111:0;;;21664:21:1;21701:18;;;21694:30;;;;21760:34;21740:18;;;21733:62;21831:34;21811:18;;;21804:62;21883:19;;90679:111:0;21480:428:1;90679:111:0;90801:10;:8;:10::i;:::-;90634:185::o;68582:::-;68720:39;68737:4;68743:2;68747:7;68720:39;;;;;;;;;;;;:16;:39::i;79715:243::-;79833:41;29162:10;79852:12;29082:98;79833:41;79825:100;;;;-1:-1:-1;;;79825:100:0;;;;;;;:::i;:::-;79936:14;79942:7;79936:5;:14::i;:::-;79715:243;:::o;81806:233::-;81881:7;81917:30;81704:10;:17;;81616:113;81917:30;81909:5;:38;81901:95;;;;-1:-1:-1;;;81901:95:0;;19764:2:1;81901:95:0;;;19746:21:1;19803:2;19783:18;;;19776:30;19842:34;19822:18;;;19815:62;-1:-1:-1;;;19893:18:1;;;19886:42;19945:19;;81901:95:0;19562:408:1;81901:95:0;82014:10;82025:5;82014:17;;;;;;;;:::i;:::-;;;;;;;;;82007:24;;81806:233;;;:::o;92856:224::-;92926:12;92959:33;-1:-1:-1;;;;;;;;;;;29162:10:0;49077:147;:::i;92959:33::-;92951:48;;;;-1:-1:-1;;;92951:48:0;;19434:2:1;92951:48:0;;;19416:21:1;19473:1;19453:18;;;19446:29;-1:-1:-1;;;19491:18:1;;;19484:32;19533:18;;92951:48:0;19232:325:1;92951:48:0;93010:40;;-1:-1:-1;;;;;93010:17:0;;;93028:21;93010:40;;;;;;;;;93028:21;93010:17;:40;;;;;;;;;;;;;;;;;;;;-1:-1:-1;93068:4:0;;92856:224;-1:-1:-1;;92856:224:0:o;93885:165::-;93962:33;-1:-1:-1;;;;;;;;;;;29162:10:0;49077:147;:::i;93962:33::-;93954:49;;;;-1:-1:-1;;;93954:49:0;;10261:2:1;93954:49:0;;;10243:21:1;10300:1;10280:18;;;10273:29;-1:-1:-1;;;10318:18:1;;;10311:33;10361:18;;93954:49:0;10059:326:1;93954:49:0;94014:11;:28;93885:165::o;93086:193::-;93146:33;-1:-1:-1;;;;;;;;;;;29162:10:0;49077:147;:::i;93146:33::-;93138:49;;;;-1:-1:-1;;;93138:49:0;;13355:2:1;93138:49:0;;;13337:21:1;13394:1;13374:18;;;13367:29;-1:-1:-1;;;13412:18:1;;;13405:33;13455:18;;93138:49:0;13153:326:1;93138:49:0;93230:9;;93206:20;93224:1;93206:13;81704:10;:17;;81616:113;93206:20;:33;;93198:48;;;;-1:-1:-1;;;93198:48:0;;20177:2:1;93198:48:0;;;20159:21:1;20216:1;20196:18;;;20189:29;-1:-1:-1;;;20234:18:1;;;20227:32;20276:18;;93198:48:0;19975:325:1;93198:48:0;93257:14;93268:2;93257:10;:14::i;65673:222::-;65745:7;65781:16;;;:7;:16;;;;;;-1:-1:-1;;;;;65781:16:0;65816:19;65808:56;;;;-1:-1:-1;;;65808:56:0;;18348:2:1;65808:56:0;;;18330:21:1;18387:2;18367:18;;;18360:30;-1:-1:-1;;;18406:18:1;;;18399:54;18470:18;;65808:56:0;18146:348:1;89614:407:0;89674:34;-1:-1:-1;;;;;;;;;;;29162:10:0;49077:147;:::i;89674:34::-;89666:108;;;;-1:-1:-1;;;89666:108:0;;20837:2:1;89666:108:0;;;20819:21:1;20876:2;20856:18;;;20849:30;20915:34;20895:18;;;20888:62;20986:31;20966:18;;;20959:59;21035:19;;89666:108:0;20635:425:1;89666:108:0;89939:36;89945:2;89949:25;:15;8005:14;;7913:114;89949:25;89939:5;:36::i;:::-;89986:27;:15;8124:19;;8142:1;8124:19;;;8035:127;91566:21;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;65404:207::-;65476:7;-1:-1:-1;;;;;65504:19:0;;65496:73;;;;-1:-1:-1;;;65496:73:0;;15451:2:1;65496:73:0;;;15433:21:1;15490:2;15470:18;;;15463:30;15529:34;15509:18;;;15502:62;-1:-1:-1;;;15580:18:1;;;15573:39;15629:19;;65496:73:0;15249:405:1;65496:73:0;-1:-1:-1;;;;;;65587:16:0;;;;;:9;:16;;;;;;;65404:207::o;31179:103::-;30417:13;:11;:13::i;:::-;31244:30:::1;31271:1;31244:18;:30::i;90236:179::-:0;90287:34;88384:24;29162:10;49077:147;:::i;90287:34::-;90279:109;;;;-1:-1:-1;;;90279:109:0;;12924:2:1;90279:109:0;;;12906:21:1;12963:2;12943:18;;;12936:30;13002:34;12982:18;;;12975:62;13073:32;13053:18;;;13046:60;13123:19;;90279:109:0;12722:426:1;90279:109:0;90399:8;:6;:8::i;94059:182::-;94143:33;-1:-1:-1;;;;;;;;;;;29162:10:0;49077:147;:::i;94143:33::-;94135:49;;;;-1:-1:-1;;;94135:49:0;;16984:2:1;94135:49:0;;;16966:21:1;17023:1;17003:18;;;16996:29;-1:-1:-1;;;17041:18:1;;;17034:33;17084:18;;94135:49:0;16782:326:1;94135:49:0;94195:16;:38;94059:182::o;55855:153::-;55945:7;55972:18;;;:12;:18;;;;;:28;;55994:5;55972:21;:28::i;:::-;55965:35;55855:153;-1:-1:-1;;;55855:153:0:o;49077:147::-;49163:4;49187:12;;;;;;;;;;;-1:-1:-1;;;;;49187:29:0;;;;;;;;;;;;;;;49077:147::o;66131:104::-;66187:13;66220:7;66213:14;;;;;:::i;67718:155::-;67813:52;29162:10;67846:8;67856;67813:18;:52::i;68838:323::-;69012:41;29162:10;69045:7;69012:18;:41::i;:::-;69004:100;;;;-1:-1:-1;;;69004:100:0;;;;;;;:::i;:::-;69115:38;69129:4;69135:2;69139:7;69148:4;69115:13;:38::i;:::-;68838:323;;;;:::o;91594:27::-;;;;;;;:::i;93727:149::-;93796:33;-1:-1:-1;;;;;;;;;;;29162:10:0;49077:147;:::i;93796:33::-;93788:49;;;;-1:-1:-1;;;93788:49:0;;10261:2:1;93788:49:0;;;10243:21:1;10300:1;10280:18;;;10273:29;-1:-1:-1;;;10318:18:1;;;10311:33;10361:18;;93788:49:0;10059:326:1;93788:49:0;93848:9;:20;93727:149::o;94668:252::-;70733:4;70757:16;;;:7;:16;;;;;;94741:13;;-1:-1:-1;;;;;70757:16:0;94780:31;;;;-1:-1:-1;;;94780:31:0;;14775:2:1;94780:31:0;;;14757:21:1;14814:1;14794:18;;;14787:29;-1:-1:-1;;;14832:18:1;;;14825:33;14875:18;;94780:31:0;14573:326:1;94780:31:0;94831:8;;;;;;;94826:38;;94849:13;94842:20;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;94668:252;;;:::o;94826:38::-;94885:23;94900:7;94885:14;:23::i;56182:142::-;56262:7;56289:18;;;:12;:18;;;;;:27;;:25;:27::i;94249:141::-;94303:33;-1:-1:-1;;;;;;;;;;;29162:10:0;49077:147;:::i;94303:33::-;94295:48;;;;-1:-1:-1;;;94295:48:0;;20507:2:1;94295:48:0;;;20489:21:1;20546:1;20526:18;;;20519:29;-1:-1:-1;;;20564:18:1;;;20557:32;20606:18;;94295:48:0;20305:325:1;94295:48:0;94370:12;;;-1:-1:-1;;94354:28:0;;94370:12;;;;94369:13;94354:28;;;94249:141::o;51498:149::-;50691:7;50718:12;;;;;;;;;;:22;;;48673:16;48684:4;48673:10;:16::i;:::-;51613:26:::1;51625:4;51631:7;51613:11;:26::i;93285:205::-:0;93351:13;93385:33;-1:-1:-1;;;;;;;;;;;29162:10:0;49077:147;:::i;93385:33::-;93377:49;;;;-1:-1:-1;;;93377:49:0;;10592:2:1;93377:49:0;;;10574:21:1;10631:1;10611:18;;;10604:29;-1:-1:-1;;;10649:18:1;;;10642:33;10692:18;;93377:49:0;10390:326:1;93377:49:0;93437:20;;;;:7;;:20;;;;;:::i;:::-;;93475:7;93468:14;;;;;:::i;93498:223::-;93570:13;93604:33;-1:-1:-1;;;;;;;;;;;29162:10:0;49077:147;:::i;93604:33::-;93596:49;;;;-1:-1:-1;;;93596:49:0;;15861:2:1;93596:49:0;;;15843:21:1;15900:1;15880:18;;;15873:29;-1:-1:-1;;;15918:18:1;;;15911:33;15961:18;;93596:49:0;15659:326:1;93596:49:0;93656:26;;;;:13;;:26;;;;;:::i;:::-;;93700:13;93693:20;;;;;:::i;31437:201::-;30417:13;:11;:13::i;:::-;-1:-1:-1;;;;;31526:22:0;::::1;31518:73;;;::::0;-1:-1:-1;;;31518:73:0;;11754:2:1;31518:73:0::1;::::0;::::1;11736:21:1::0;11793:2;11773:18;;;11766:30;11832:34;11812:18;;;11805:62;-1:-1:-1;;;11883:18:1;;;11876:36;11929:19;;31518:73:0::1;11552:402:1::0;31518:73:0::1;31602:28;31621:8;31602:18;:28::i;53799:238::-:0;53883:22;53891:4;53897:7;53883;:22::i;:::-;53878:152;;53922:6;:12;;;;;;;;;;;-1:-1:-1;;;;;53922:29:0;;;;;;;;;:36;;-1:-1:-1;;53922:36:0;53954:4;53922:36;;;54005:12;29162:10;;29082:98;54005:12;-1:-1:-1;;;;;53978:40:0;53996:7;-1:-1:-1;;;;;53978:40:0;53990:4;53978:40;;;;;;;;;;53799:238;;:::o;16802:152::-;16872:4;16896:50;16901:3;-1:-1:-1;;;;;16921:23:0;;16896:4;:50::i;80976:224::-;81078:4;-1:-1:-1;;;;;;81102:50:0;;-1:-1:-1;;;81102:50:0;;:90;;;81156:36;81180:11;81156:23;:36::i;75450:135::-;70733:4;70757:16;;;:7;:16;;;;;;-1:-1:-1;;;;;70757:16:0;75524:53;;;;-1:-1:-1;;;75524:53:0;;18348:2:1;75524:53:0;;;18330:21:1;18387:2;18367:18;;;18360:30;-1:-1:-1;;;18406:18:1;;;18399:54;18470:18;;75524:53:0;18146:348:1;74729:174:0;74804:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;74804:29:0;-1:-1:-1;;;;;74804:29:0;;;;;;;;:24;;74858:23;74804:24;74858:14;:23::i;:::-;-1:-1:-1;;;;;74849:46:0;;;;;;;;;;;74729:174;;:::o;70962:264::-;71055:4;71072:13;71088:23;71103:7;71088:14;:23::i;:::-;71072:39;;71141:5;-1:-1:-1;;;;;71130:16:0;:7;-1:-1:-1;;;;;71130:16:0;;:52;;;-1:-1:-1;;;;;;68065:25:0;;;68041:4;68065:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;71150:32;71130:87;;;;71210:7;-1:-1:-1;;;;;71186:31:0;:20;71198:7;71186:11;:20::i;:::-;-1:-1:-1;;;;;71186:31:0;;71130:87;71122:96;70962:264;-1:-1:-1;;;;70962:264:0:o;73985:625::-;74144:4;-1:-1:-1;;;;;74117:31:0;:23;74132:7;74117:14;:23::i;:::-;-1:-1:-1;;;;;74117:31:0;;74109:81;;;;-1:-1:-1;;;74109:81:0;;12161:2:1;74109:81:0;;;12143:21:1;12200:2;12180:18;;;12173:30;12239:34;12219:18;;;12212:62;-1:-1:-1;;;12290:18:1;;;12283:35;12335:19;;74109:81:0;11959:401:1;74109:81:0;-1:-1:-1;;;;;74209:16:0;;74201:65;;;;-1:-1:-1;;;74201:65:0;;13686:2:1;74201:65:0;;;13668:21:1;13725:2;13705:18;;;13698:30;13764:34;13744:18;;;13737:62;-1:-1:-1;;;13815:18:1;;;13808:34;13859:19;;74201:65:0;13484:400:1;74201:65:0;74279:39;74300:4;74306:2;74310:7;74279:20;:39::i;:::-;74383:29;74400:1;74404:7;74383:8;:29::i;:::-;-1:-1:-1;;;;;74425:15:0;;;;;;:9;:15;;;;;:20;;74444:1;;74425:15;:20;;74444:1;;74425:20;:::i;:::-;;;;-1:-1:-1;;;;;;;74456:13:0;;;;;;:9;:13;;;;;:18;;74473:1;;74456:13;:18;;74473:1;;74456:18;:::i;:::-;;;;-1:-1:-1;;74485:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;74485:21:0;-1:-1:-1;;;;;74485:21:0;;;;;;;;;74524:27;;74485:16;;74524:27;;;;;;;67062:347;66992:417;;:::o;2876:98::-;2934:7;2961:5;2965:1;2961;:5;:::i;53127:112::-;53206:25;53217:4;53223:7;53206:10;:25::i;56680:174::-;56769:32;56787:4;56793:7;56769:17;:32::i;:::-;56812:18;;;;:12;:18;;;;;:34;;56838:7;56812:25;:34::i;49528:105::-;49595:30;49606:4;29162:10;49595;:30::i;56417:169::-;56505:31;56522:4;56528:7;56505:16;:31::i;:::-;56547:18;;;;:12;:18;;;;;:31;;56570:7;56547:22;:31::i;34524:120::-;33533:16;:14;:16::i;:::-;34583:7:::1;:15:::0;;-1:-1:-1;;34583:15:0::1;::::0;;34614:22:::1;29162:10:::0;34623:12:::1;34614:22;::::0;-1:-1:-1;;;;;7470:32:1;;;7452:51;;7440:2;7425:18;34614:22:0::1;;;;;;;34524:120::o:0;73228:420::-;73288:13;73304:23;73319:7;73304:14;:23::i;:::-;73288:39;;73340:48;73361:5;73376:1;73380:7;73340:20;:48::i;:::-;73429:29;73446:1;73450:7;73429:8;:29::i;:::-;-1:-1:-1;;;;;73471:16:0;;;;;;:9;:16;;;;;:21;;73491:1;;73471:16;:21;;73491:1;;73471:21;:::i;:::-;;;;-1:-1:-1;;73510:16:0;;;;:7;:16;;;;;;73503:23;;-1:-1:-1;;;;;;73503:23:0;;;73544:36;73518:7;;73510:16;-1:-1:-1;;;;;73544:36:0;;;;;73510:16;;73544:36;92164:572;;:::o;72560:439::-;-1:-1:-1;;;;;72640:16:0;;72632:61;;;;-1:-1:-1;;;72632:61:0;;16623:2:1;72632:61:0;;;16605:21:1;;;16642:18;;;16635:30;16701:34;16681:18;;;16674:62;16753:18;;72632:61:0;16421:356:1;72632:61:0;70733:4;70757:16;;;:7;:16;;;;;;-1:-1:-1;;;;;70757:16:0;:30;72704:58;;;;-1:-1:-1;;;72704:58:0;;12567:2:1;72704:58:0;;;12549:21:1;12606:2;12586:18;;;12579:30;12645;12625:18;;;12618:58;12693:18;;72704:58:0;12365:352:1;72704:58:0;72775:45;72804:1;72808:2;72812:7;72775:20;:45::i;:::-;-1:-1:-1;;;;;72833:13:0;;;;;;:9;:13;;;;;:18;;72850:1;;72833:13;:18;;72850:1;;72833:18;:::i;:::-;;;;-1:-1:-1;;72862:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;72862:21:0;-1:-1:-1;;;;;72862:21:0;;;;;;;;72901:33;;72862:16;;;72901:33;;72862:16;;72901:33;92164:572;;:::o;30696:132::-;30604:6;;-1:-1:-1;;;;;30604:6:0;29162:10;30760:23;30752:68;;;;-1:-1:-1;;;30752:68:0;;17315:2:1;30752:68:0;;;17297:21:1;;;17334:18;;;17327:30;17393:34;17373:18;;;17366:62;17445:18;;30752:68:0;17113:356:1;31798:191:0;31891:6;;;-1:-1:-1;;;;;31908:17:0;;;-1:-1:-1;;;;;;31908:17:0;;;;;;;31941:40;;31891:6;;;31908:17;31891:6;;31941:40;;31872:16;;31941:40;31861:128;31798:191;:::o;34265:118::-;33274:19;:17;:19::i;:::-;34325:7:::1;:14:::0;;-1:-1:-1;;34325:14:0::1;34335:4;34325:14;::::0;;34355:20:::1;34362:12;29162:10:::0;;29082:98;18098:158;18172:7;18223:22;18227:3;18239:5;18223:3;:22::i;75046:315::-;75201:8;-1:-1:-1;;;;;75192:17:0;:5;-1:-1:-1;;;;;75192:17:0;;;75184:55;;;;-1:-1:-1;;;75184:55:0;;14091:2:1;75184:55:0;;;14073:21:1;14130:2;14110:18;;;14103:30;14169:27;14149:18;;;14142:55;14214:18;;75184:55:0;13889:349:1;75184:55:0;-1:-1:-1;;;;;75250:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;75250:46:0;;;;;;;;;;75312:41;;8147::1;;;75312::0;;8120:18:1;75312:41:0;;;;;;;75046:315;;;:::o;70042:313::-;70198:28;70208:4;70214:2;70218:7;70198:9;:28::i;:::-;70245:47;70268:4;70274:2;70278:7;70287:4;70245:22;:47::i;:::-;70237:110;;;;-1:-1:-1;;;70237:110:0;;;;;;;:::i;66306:281::-;66379:13;66405:23;66420:7;66405:14;:23::i;:::-;66441:21;66465:10;:8;:10::i;:::-;66441:34;;66517:1;66499:7;66493:21;:25;:86;;;;;;;;;;;;;;;;;66545:7;66554:18;:7;:16;:18::i;:::-;66528:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;66486:93;66306:281;-1:-1:-1;;;66306:281:0:o;17627:117::-;17690:7;17717:19;17725:3;13111:18;;13028:109;10717:414;10780:4;12910:19;;;:12;;;:19;;;;;;10797:327;;-1:-1:-1;10840:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;11023:18;;11001:19;;;:12;;;:19;;;;;;:40;;;;11056:11;;10797:327;-1:-1:-1;11107:5:0;11100:12;;65035:305;65137:4;-1:-1:-1;;;;;;65174:40:0;;-1:-1:-1;;;65174:40:0;;:105;;-1:-1:-1;;;;;;;65231:48:0;;-1:-1:-1;;;65231:48:0;65174:105;:158;;;;65296:36;65320:11;65296:23;:36::i;90827:239::-;91013:45;91040:4;91046:2;91050:7;91013:26;:45::i;54217:239::-;54301:22;54309:4;54315:7;54301;:22::i;:::-;54297:152;;;54372:5;54340:12;;;;;;;;;;;-1:-1:-1;;;;;54340:29:0;;;;;;;;;;:37;;-1:-1:-1;;54340:37:0;;;54397:40;29162:10;;54340:12;;54397:40;;54372:5;54397:40;54217:239;;:::o;17130:158::-;17203:4;17227:53;17235:3;-1:-1:-1;;;;;17255:23:0;;17227:7;:53::i;49923:505::-;50012:22;50020:4;50026:7;50012;:22::i;:::-;50007:414;;50200:41;50228:7;-1:-1:-1;;;;;50200:41:0;50238:2;50200:19;:41::i;:::-;50314:38;50342:4;50349:2;50314:19;:38::i;:::-;50105:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;50105:270:0;;;;;;;;;;-1:-1:-1;;;50051:358:0;;;;;;;:::i;34013:108::-;33740:7;;;;34072:41;;;;-1:-1:-1;;;34072:41:0;;9580:2:1;34072:41:0;;;9562:21:1;9619:2;9599:18;;;9592:30;-1:-1:-1;;;9638:18:1;;;9631:50;9698:18;;34072:41:0;9378:344:1;33828:108:0;33740:7;;;;33898:9;33890:38;;;;-1:-1:-1;;;33890:38:0;;15106:2:1;33890:38:0;;;15088:21:1;15145:2;15125:18;;;15118:30;-1:-1:-1;;;15164:18:1;;;15157:46;15220:18;;33890:38:0;14904:340:1;13491:120:0;13558:7;13585:3;:11;;13597:5;13585:18;;;;;;;;:::i;:::-;;;;;;;;;13578:25;;13491:120;;;;:::o;76149:853::-;76303:4;-1:-1:-1;;;;;76324:13:0;;36179:19;:23;76320:675;;76360:71;;-1:-1:-1;;;76360:71:0;;-1:-1:-1;;;;;76360:36:0;;;;;:71;;29162:10;;76411:4;;76417:7;;76426:4;;76360:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;76360:71:0;;;;;;;;-1:-1:-1;;76360:71:0;;;;;;;;;;;;:::i;:::-;;;76356:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;76601:13:0;;76597:328;;76644:60;;-1:-1:-1;;;76644:60:0;;;;;;;:::i;76597:328::-;76875:6;76869:13;76860:6;76856:2;76852:15;76845:38;76356:584;-1:-1:-1;;;;;;76482:51:0;-1:-1:-1;;;76482:51:0;;-1:-1:-1;76475:58:0;;76320:675;-1:-1:-1;76979:4:0;76149:853;;;;;;:::o;92742:108::-;92802:13;92835:7;92828:14;;;;;:::i;26336:723::-;26392:13;26613:10;26609:53;;-1:-1:-1;;26640:10:0;;;;;;;;;;;;-1:-1:-1;;;26640:10:0;;;;;26336:723::o;26609:53::-;26687:5;26672:12;26728:78;26735:9;;26728:78;;26761:8;;;;:::i;:::-;;-1:-1:-1;26784:10:0;;-1:-1:-1;26792:2:0;26784:10;;:::i;:::-;;;26728:78;;;26816:19;26848:6;26838:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26838:17:0;;26816:39;;26866:154;26873:10;;26866:154;;26900:11;26910:1;26900:11;;:::i;:::-;;-1:-1:-1;26969:10:0;26977:2;26969:5;:10;:::i;:::-;26956:24;;:2;:24;:::i;:::-;26943:39;;26926:6;26933;26926:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;26926:56:0;;;;;;;;-1:-1:-1;26997:11:0;27006:2;26997:11;;:::i;:::-;;;26866:154;;55042:214;55127:4;-1:-1:-1;;;;;;55151:57:0;;-1:-1:-1;;;55151:57:0;;:97;;;55212:36;55236:11;55212:23;:36::i;78895:275::-;79039:45;79066:4;79072:2;79076:7;79039:26;:45::i;:::-;33740:7;;;;79105:9;79097:65;;;;-1:-1:-1;;;79097:65:0;;9168:2:1;79097:65:0;;;9150:21:1;9207:2;9187:18;;;9180:30;9246:34;9226:18;;;9219:62;-1:-1:-1;;;9297:18:1;;;9290:41;9348:19;;79097:65:0;8966:407:1;11307:1420:0;11373:4;11512:19;;;:12;;;:19;;;;;;11548:15;;11544:1176;;11923:21;11947:14;11960:1;11947:10;:14;:::i;:::-;11996:18;;11923:38;;-1:-1:-1;11976:17:0;;11996:22;;12017:1;;11996:22;:::i;:::-;11976:42;;12052:13;12039:9;:26;12035:405;;12086:17;12106:3;:11;;12118:9;12106:22;;;;;;;;:::i;:::-;;;;;;;;;12086:42;;12260:9;12231:3;:11;;12243:13;12231:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;12345:23;;;:12;;;:23;;;;;:36;;;12035:405;12521:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;12616:3;:12;;:19;12629:5;12616:19;;;;;;;;;;;12609:26;;;12659:4;12652:11;;;;;;;11544:1176;12703:5;12696:12;;;;;27637:451;27712:13;27738:19;27770:10;27774:6;27770:1;:10;:::i;:::-;:14;;27783:1;27770:14;:::i;:::-;27760:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27760:25:0;;27738:47;;-1:-1:-1;;;27796:6:0;27803:1;27796:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;27796:15:0;;;;;;;;;-1:-1:-1;;;27822:6:0;27829:1;27822:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;27822:15:0;;;;;;;;-1:-1:-1;27853:9:0;27865:10;27869:6;27865:1;:10;:::i;:::-;:14;;27878:1;27865:14;:::i;:::-;27853:26;;27848:135;27885:1;27881;:5;27848:135;;;-1:-1:-1;;;27933:5:0;27941:3;27933:11;27920:25;;;;;;;:::i;:::-;;;;27908:6;27915:1;27908:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;27908:37:0;;;;;;;;-1:-1:-1;27970:1:0;27960:11;;;;;27888:3;;;:::i;:::-;;;27848:135;;;-1:-1:-1;28001:10:0;;27993:55;;;;-1:-1:-1;;;27993:55:0;;8807:2:1;27993:55:0;;;8789:21:1;;;8826:18;;;8819:30;8885:34;8865:18;;;8858:62;8937:18;;27993:55:0;8605:356:1;48781:204:0;48866:4;-1:-1:-1;;;;;;48890:47:0;;-1:-1:-1;;;48890:47:0;;:87;;-1:-1:-1;;;;;;;;;;46149:40:0;;;48941:36;46040:157;82652:589;-1:-1:-1;;;;;82858:18:0;;82854:187;;82893:40;82925:7;84068:10;:17;;84041:24;;;;:15;:24;;;;;:44;;;84096:24;;;;;;;;;;;;83964:164;82893:40;82854:187;;;82963:2;-1:-1:-1;;;;;82955:10:0;:4;-1:-1:-1;;;;;82955:10:0;;82951:90;;82982:47;83015:4;83021:7;82982:32;:47::i;:::-;-1:-1:-1;;;;;83055:16:0;;83051:183;;83088:45;83125:7;83088:36;:45::i;83051:183::-;83161:4;-1:-1:-1;;;;;83155:10:0;:2;-1:-1:-1;;;;;83155:10:0;;83151:83;;83182:40;83210:2;83214:7;83182:27;:40::i;84755:988::-;85021:22;85071:1;85046:22;85063:4;85046:16;:22::i;:::-;:26;;;;:::i;:::-;85083:18;85104:26;;;:17;:26;;;;;;85021:51;;-1:-1:-1;85237:28:0;;;85233:328;;-1:-1:-1;;;;;85304:18:0;;85282:19;85304:18;;;:12;:18;;;;;;;;:34;;;;;;;;;85355:30;;;;;;:44;;;85472:30;;:17;:30;;;;;:43;;;85233:328;-1:-1:-1;85657:26:0;;;;:17;:26;;;;;;;;85650:33;;;-1:-1:-1;;;;;85701:18:0;;;;;:12;:18;;;;;:34;;;;;;;85694:41;84755:988::o;86038:1079::-;86316:10;:17;86291:22;;86316:21;;86336:1;;86316:21;:::i;:::-;86348:18;86369:24;;;:15;:24;;;;;;86742:10;:26;;86291:46;;-1:-1:-1;86369:24:0;;86291:46;;86742:26;;;;;;:::i;:::-;;;;;;;;;86720:48;;86806:11;86781:10;86792;86781:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;86886:28;;;:15;:28;;;;;;;:41;;;87058:24;;;;;87051:31;87093:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;86109:1008;;;86038:1079;:::o;83542:221::-;83627:14;83644:20;83661:2;83644:16;:20::i;:::-;-1:-1:-1;;;;;83675:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;83720:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;83542:221:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:247::-;709:6;762:2;750:9;741:7;737:23;733:32;730:52;;;778:1;775;768:12;730:52;817:9;804:23;836:31;861:5;836:31;:::i;1162:388::-;1230:6;1238;1291:2;1279:9;1270:7;1266:23;1262:32;1259:52;;;1307:1;1304;1297:12;1259:52;1346:9;1333:23;1365:31;1390:5;1365:31;:::i;:::-;1415:5;-1:-1:-1;1472:2:1;1457:18;;1444:32;1485:33;1444:32;1485:33;:::i;:::-;1537:7;1527:17;;;1162:388;;;;;:::o;1555:456::-;1632:6;1640;1648;1701:2;1689:9;1680:7;1676:23;1672:32;1669:52;;;1717:1;1714;1707:12;1669:52;1756:9;1743:23;1775:31;1800:5;1775:31;:::i;:::-;1825:5;-1:-1:-1;1882:2:1;1867:18;;1854:32;1895:33;1854:32;1895:33;:::i;:::-;1555:456;;1947:7;;-1:-1:-1;;;2001:2:1;1986:18;;;;1973:32;;1555:456::o;2016:794::-;2111:6;2119;2127;2135;2188:3;2176:9;2167:7;2163:23;2159:33;2156:53;;;2205:1;2202;2195:12;2156:53;2244:9;2231:23;2263:31;2288:5;2263:31;:::i;:::-;2313:5;-1:-1:-1;2370:2:1;2355:18;;2342:32;2383:33;2342:32;2383:33;:::i;:::-;2435:7;-1:-1:-1;2489:2:1;2474:18;;2461:32;;-1:-1:-1;2544:2:1;2529:18;;2516:32;2571:18;2560:30;;2557:50;;;2603:1;2600;2593:12;2557:50;2626:22;;2679:4;2671:13;;2667:27;-1:-1:-1;2657:55:1;;2708:1;2705;2698:12;2657:55;2731:73;2796:7;2791:2;2778:16;2773:2;2769;2765:11;2731:73;:::i;:::-;2721:83;;;2016:794;;;;;;;:::o;2815:416::-;2880:6;2888;2941:2;2929:9;2920:7;2916:23;2912:32;2909:52;;;2957:1;2954;2947:12;2909:52;2996:9;2983:23;3015:31;3040:5;3015:31;:::i;:::-;3065:5;-1:-1:-1;3122:2:1;3107:18;;3094:32;3164:15;;3157:23;3145:36;;3135:64;;3195:1;3192;3185:12;3236:315;3304:6;3312;3365:2;3353:9;3344:7;3340:23;3336:32;3333:52;;;3381:1;3378;3371:12;3333:52;3420:9;3407:23;3439:31;3464:5;3439:31;:::i;:::-;3489:5;3541:2;3526:18;;;;3513:32;;-1:-1:-1;;;3236:315:1:o;3556:180::-;3615:6;3668:2;3656:9;3647:7;3643:23;3639:32;3636:52;;;3684:1;3681;3674:12;3636:52;-1:-1:-1;3707:23:1;;3556:180;-1:-1:-1;3556:180:1:o;3741:315::-;3809:6;3817;3870:2;3858:9;3849:7;3845:23;3841:32;3838:52;;;3886:1;3883;3876:12;3838:52;3922:9;3909:23;3899:33;;3982:2;3971:9;3967:18;3954:32;3995:31;4020:5;3995:31;:::i;4061:248::-;4129:6;4137;4190:2;4178:9;4169:7;4165:23;4161:32;4158:52;;;4206:1;4203;4196:12;4158:52;-1:-1:-1;;4229:23:1;;;4299:2;4284:18;;;4271:32;;-1:-1:-1;4061:248:1:o;4314:245::-;4372:6;4425:2;4413:9;4404:7;4400:23;4396:32;4393:52;;;4441:1;4438;4431:12;4393:52;4480:9;4467:23;4499:30;4523:5;4499:30;:::i;4564:249::-;4633:6;4686:2;4674:9;4665:7;4661:23;4657:32;4654:52;;;4702:1;4699;4692:12;4654:52;4734:9;4728:16;4753:30;4777:5;4753:30;:::i;4818:450::-;4887:6;4940:2;4928:9;4919:7;4915:23;4911:32;4908:52;;;4956:1;4953;4946:12;4908:52;4996:9;4983:23;5029:18;5021:6;5018:30;5015:50;;;5061:1;5058;5051:12;5015:50;5084:22;;5137:4;5129:13;;5125:27;-1:-1:-1;5115:55:1;;5166:1;5163;5156:12;5115:55;5189:73;5254:7;5249:2;5236:16;5231:2;5227;5223:11;5189:73;:::i;5778:257::-;5819:3;5857:5;5851:12;5884:6;5879:3;5872:19;5900:63;5956:6;5949:4;5944:3;5940:14;5933:4;5926:5;5922:16;5900:63;:::i;:::-;6017:2;5996:15;-1:-1:-1;;5992:29:1;5983:39;;;;6024:4;5979:50;;5778:257;-1:-1:-1;;5778:257:1:o;6040:470::-;6219:3;6257:6;6251:13;6273:53;6319:6;6314:3;6307:4;6299:6;6295:17;6273:53;:::i;:::-;6389:13;;6348:16;;;;6411:57;6389:13;6348:16;6445:4;6433:17;;6411:57;:::i;:::-;6484:20;;6040:470;-1:-1:-1;;;;6040:470:1:o;6515:786::-;6926:25;6921:3;6914:38;6896:3;6981:6;6975:13;6997:62;7052:6;7047:2;7042:3;7038:12;7031:4;7023:6;7019:17;6997:62;:::i;:::-;-1:-1:-1;;;7118:2:1;7078:16;;;7110:11;;;7103:40;7168:13;;7190:63;7168:13;7239:2;7231:11;;7224:4;7212:17;;7190:63;:::i;:::-;7273:17;7292:2;7269:26;;6515:786;-1:-1:-1;;;;6515:786:1:o;7514:488::-;-1:-1:-1;;;;;7783:15:1;;;7765:34;;7835:15;;7830:2;7815:18;;7808:43;7882:2;7867:18;;7860:34;;;7930:3;7925:2;7910:18;;7903:31;;;7708:4;;7951:45;;7976:19;;7968:6;7951:45;:::i;:::-;7943:53;7514:488;-1:-1:-1;;;;;;7514:488:1:o;8381:219::-;8530:2;8519:9;8512:21;8493:4;8550:44;8590:2;8579:9;8575:18;8567:6;8550:44;:::i;11133:414::-;11335:2;11317:21;;;11374:2;11354:18;;;11347:30;11413:34;11408:2;11393:18;;11386:62;-1:-1:-1;;;11479:2:1;11464:18;;11457:48;11537:3;11522:19;;11133:414::o;21065:410::-;21267:2;21249:21;;;21306:2;21286:18;;;21279:30;21345:34;21340:2;21325:18;;21318:62;-1:-1:-1;;;21411:2:1;21396:18;;21389:44;21465:3;21450:19;;21065:410::o;22511:128::-;22551:3;22582:1;22578:6;22575:1;22572:13;22569:39;;;22588:18;;:::i;:::-;-1:-1:-1;22624:9:1;;22511:128::o;22644:120::-;22684:1;22710;22700:35;;22715:18;;:::i;:::-;-1:-1:-1;22749:9:1;;22644:120::o;22769:168::-;22809:7;22875:1;22871;22867:6;22863:14;22860:1;22857:21;22852:1;22845:9;22838:17;22834:45;22831:71;;;22882:18;;:::i;:::-;-1:-1:-1;22922:9:1;;22769:168::o;22942:125::-;22982:4;23010:1;23007;23004:8;23001:34;;;23015:18;;:::i;:::-;-1:-1:-1;23052:9:1;;22942:125::o;23072:258::-;23144:1;23154:113;23168:6;23165:1;23162:13;23154:113;;;23244:11;;;23238:18;23225:11;;;23218:39;23190:2;23183:10;23154:113;;;23285:6;23282:1;23279:13;23276:48;;;-1:-1:-1;;23320:1:1;23302:16;;23295:27;23072:258::o;23335:136::-;23374:3;23402:5;23392:39;;23411:18;;:::i;:::-;-1:-1:-1;;;23447:18:1;;23335:136::o;23476:380::-;23555:1;23551:12;;;;23598;;;23619:61;;23673:4;23665:6;23661:17;23651:27;;23619:61;23726:2;23718:6;23715:14;23695:18;23692:38;23689:161;;;23772:10;23767:3;23763:20;23760:1;23753:31;23807:4;23804:1;23797:15;23835:4;23832:1;23825:15;23689:161;;23476:380;;;:::o;23861:135::-;23900:3;-1:-1:-1;;23921:17:1;;23918:43;;;23941:18;;:::i;:::-;-1:-1:-1;23988:1:1;23977:13;;23861:135::o;24001:112::-;24033:1;24059;24049:35;;24064:18;;:::i;:::-;-1:-1:-1;24098:9:1;;24001:112::o;24118:127::-;24179:10;24174:3;24170:20;24167:1;24160:31;24210:4;24207:1;24200:15;24234:4;24231:1;24224:15;24250:127;24311:10;24306:3;24302:20;24299:1;24292:31;24342:4;24339:1;24332:15;24366:4;24363:1;24356:15;24382:127;24443:10;24438:3;24434:20;24431:1;24424:31;24474:4;24471:1;24464:15;24498:4;24495:1;24488:15;24514:127;24575:10;24570:3;24566:20;24563:1;24556:31;24606:4;24603:1;24596:15;24630:4;24627:1;24620:15;24646:127;24707:10;24702:3;24698:20;24695:1;24688:31;24738:4;24735:1;24728:15;24762:4;24759:1;24752:15;24778:131;-1:-1:-1;;;;;24853:31:1;;24843:42;;24833:70;;24899:1;24896;24889:12;24914:131;-1:-1:-1;;;;;;24988:32:1;;24978:43;;24968:71;;25035:1;25032;25025:12

Swarm Source

ipfs://8256be846b7fcf1a1edf31888815f58b235de04d3829824cc94dcf985093e682
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.