ETH Price: $2,659.81 (+1.52%)

Token

LC First Shot (LCFS)
 

Overview

Max Total Supply

39 LCFS

Holders

7

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 LCFS
0x72B786Ff9ef6D56A2B2dDDcfFF9bf78f353B145b
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:
LcFirstShot

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-06-01
*/

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


// OpenZeppelin Contracts v4.4.1 (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 substraction 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 v4.4.1 (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.
 */
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;

        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;

        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 v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

// 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 v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _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 v4.4.1 (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 Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

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

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        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.5.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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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


// OpenZeppelin Contracts v4.4.1 (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 `IERC721.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.5.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, _msgSender());
        _;
    }

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/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.5.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: balance query for the zero address");
        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: owner query for nonexistent token");
        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) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        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 overriden 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 owner nor approved for all"
        );

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

        _transfer(from, to, tokenId);
    }

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

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

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

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _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) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

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

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

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

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

        _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 a {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 a {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 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 {
                    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 v4.4.1 (token/ERC721/extensions/ERC721Burnable.sol)

pragma solidity ^0.8.0;



/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly 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), "ERC721Burnable: caller is not 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/lcGenesis.sol


pragma solidity 0.8.7;





contract LcFirstShot is  ERC721PresetMinterPauserAutoId, Ownable  {
    using SafeMath for uint256;
    address public devaddr;
    string public baseURI;
    string public baseURIHidden = "https://legendarycurves.mypinata.cloud/ipfs/QmX6F5FgePB2hgBM4iAzxW8pzBDKnyXe7JvdTpzHo7Nttn/metadata/wait.json";
    uint256 public LC_MaxSupply = 690;
    uint256 public MaxPurchase = 5;
    uint256 public mintPrice = 0.05 ether;

    bool public SaleisActive = false;
    bytes32 public constant ADMIN_ROLE = keccak256("ADMIN_ROLE");
    bool internal revealed = false;


    event LogWithdrawal(address sender, uint amount);
    event LogTransfer(address sender, address receiver, uint amount);

    constructor() ERC721PresetMinterPauserAutoId("LC First Shot", "LCFS", "https://legendarycurves.mypinata.cloud/ipfs/QmUbPMW3ugvMkST1iMHUrw2e5ktHQhoFacLFVgNTqj88Q8/metadata")
    {
        devaddr = msg.sender;
        baseURI = "https://legendarycurves.mypinata.cloud/ipfs/QmUbPMW3ugvMkST1iMHUrw2e5ktHQhoFacLFVgNTqj88Q8/metadata";
    }

    function getBalance() public view returns(uint balance) {
        return address(this).balance;
    }

    function MintLCFirstShot(uint256 _count, address to) payable public {
        require(totalSupply().add(_count) <= LC_MaxSupply, "LCFS Not enough tokens left.");
        require(SaleisActive, "LCFS Public sale is not active.");
        require(_count <= MaxPurchase, "LCFS 10 transactions max");
        require(mintPrice * _count <= msg.value, "LCFS Ether value sent is not correct");
        _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, uint amount) payable external  returns(bool success) {
        require(hasRole(ADMIN_ROLE, _msgSender()), "LCFS must have admin role to withdraw");
        emit LogWithdrawal(msg.sender, amount);
        receiver.transfer(amount);
        return true;
    }
    function dev(address _devaddr) public {
        require(msg.sender == devaddr, "dev: wut?");
        devaddr = _devaddr;
    }
    function adminMinting(uint56 _count, address to) public {
        require(hasRole(ADMIN_ROLE, _msgSender()), "LCFS must have admin role to mint");
        require(totalSupply().add(_count) <= LC_MaxSupply, "LCFS Not enough tokens left.");
        for (uint i = 1; i <= _count; i++) {
            super.mint(to);
        }
    }
    function setNewbaseURI(string memory newBaseURI) public  returns (string memory) {
        require(hasRole(ADMIN_ROLE, _msgSender()), "LCFS must have admin role to update base URI");
        baseURI = newBaseURI;
        return baseURI;
    }
    function setNewMintPrice(uint256 newPrice) public {
        require(hasRole(ADMIN_ROLE, _msgSender()), "LCFS must have admin role to update base URI");
        mintPrice = newPrice;
    }
    function flipSaleStatus() external {
        require(hasRole(ADMIN_ROLE, _msgSender()), "LCFS must have admin role to flip the status");
        SaleisActive = !SaleisActive;
    }
    function flipReveal() external {
        require(hasRole(ADMIN_ROLE, _msgSender()), "FR");
        revealed = !revealed;
    }

    function setNewbaseHiddenURI(string memory newBaseURI) public  returns (string memory) {
        require(hasRole(ADMIN_ROLE, _msgSender()), "NBH");
        baseURIHidden = newBaseURI;
        return baseURIHidden;
    }

    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":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"LogTransfer","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":"LC_MaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"uint256","name":"_count","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"MintLCFirstShot","outputs":[],"stateMutability":"payable","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":"uint56","name":"_count","type":"uint56"},{"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":[{"internalType":"address","name":"_devaddr","type":"address"}],"name":"dev","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devaddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":[],"name":"getBalance","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"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":"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":[{"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":"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"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"payable","type":"function"}]

610120604052606d60808181529062003a3960a03980516200002a916012916020909101906200038e565b506102b2601355600560145566b1a2bc2ec500006015556016805461ffff191690553480156200005957600080fd5b506040518060400160405280600d81526020016c1310c8119a5c9cdd0814da1bdd609a1b815250604051806040016040528060048152602001634c43465360e01b8152506040518060a0016040528060638152602001620039d660639139825183908390620000d09060029060208501906200038e565b508051620000e69060039060208401906200038e565b5050600c805460ff191690555080516200010890600e9060208401906200038e565b5062000116600033620001d7565b620001427f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633620001d7565b6200016e7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33620001d7565b5050506200018b62000185620001d360201b60201c565b620001e7565b601080546001600160a01b031916331790556040805160a081019091526063808252620039d660208301398051620001cc916011916020909101906200038e565b5062000471565b3390565b620001e3828262000239565b5050565b600f80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200025082826200027c60201b62001acc1760201c565b60008281526001602090815260409091206200027791839062001b506200031c821b17901c565b505050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16620001e3576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620002d83390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600062000333836001600160a01b0384166200033c565b90505b92915050565b6000818152600183016020526040812054620003855750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000336565b50600062000336565b8280546200039c9062000434565b90600052602060002090601f016020900481019282620003c057600085556200040b565b82601f10620003db57805160ff19168380011785556200040b565b828001600101855582156200040b579182015b828111156200040b578251825591602001919060010190620003ee565b50620004199291506200041d565b5090565b5b808211156200041957600081556001016200041e565b600181811c908216806200044957607f821691505b602082108114156200046b57634e487b7160e01b600052602260045260246000fd5b50919050565b61355580620004816000396000f3fe6080604052600436106102ff5760003560e01c80638456cb5911610190578063c8753f9c116100dc578063d547741f11610095578063e985e9c51161006f578063e985e9c5146108b1578063ec7fb1c0146108fa578063f2fde38b1461091a578063f3fef3a31461093a57600080fd5b8063d547741f1461083d578063e343a0061461085d578063e63ab1e91461087d57600080fd5b8063c8753f9c1461078c578063c87b56dd146107a6578063ca15c873146107c6578063ce03ec93146107e6578063d49e77cd146107fb578063d53913931461081b57600080fd5b806395d89b4111610149578063b1fe323611610123578063b1fe323614610721578063b88d4fde14610737578063ba2e27b314610757578063bfa0e6de1461076c57600080fd5b806395d89b41146106d7578063a217fddf146106ec578063a22cb4651461070157600080fd5b80638456cb591461062e5780638d88a90e146106435780638da5cb5b146106635780639010d07c1461068157806391d14854146106a1578063957f3dc3146106c157600080fd5b806342842e0e1161024f5780636352211e116102085780636c0360eb116101e25780636c0360eb146105c257806370a08231146105d7578063715018a6146105f757806375b238fc1461060c57600080fd5b80636352211e1461056c5780636817c76c1461058c5780636a627842146105a257600080fd5b806342842e0e146104c157806342966c68146104e15780634c8ee3f4146105015780634f6ccce7146105145780635c975abb1461053457806361699bf11461054c57600080fd5b806323b872dd116102bc5780632f745c59116102965780632f745c591461045757806336568abe146104775780633b84d9c6146104975780633f4ba83a146104ac57600080fd5b806323b872dd146103e7578063248a9ca3146104075780632f2ff15d1461043757600080fd5b806301ffc9a71461030457806306fdde0314610339578063081812fc1461035b578063095ea7b31461039357806312065fe0146103b557806318160ddd146103d2575b600080fd5b34801561031057600080fd5b5061032461031f36600461307b565b61094d565b60405190151581526020015b60405180910390f35b34801561034557600080fd5b5061034e61095e565b6040516103309190613235565b34801561036757600080fd5b5061037b61037636600461301b565b6109f0565b6040516001600160a01b039091168152602001610330565b34801561039f57600080fd5b506103b36103ae366004612ec2565b610a8a565b005b3480156103c157600080fd5b50475b604051908152602001610330565b3480156103de57600080fd5b50600a546103c4565b3480156103f357600080fd5b506103b3610402366004612f27565b610ba0565b34801561041357600080fd5b506103c461042236600461301b565b60009081526020819052604090206001015490565b34801561044357600080fd5b506103b3610452366004613034565b610bd2565b34801561046357600080fd5b506103c4610472366004612ec2565b610bf8565b34801561048357600080fd5b506103b3610492366004613034565b610c8e565b3480156104a357600080fd5b506103b3610d0c565b3480156104b857600080fd5b506103b3610d72565b3480156104cd57600080fd5b506103b36104dc366004612f27565b610e1a565b3480156104ed57600080fd5b506103b36104fc36600461301b565b610e35565b6103b361050f366004613034565b610eaf565b34801561052057600080fd5b506103c461052f36600461301b565b611076565b34801561054057600080fd5b50600c5460ff16610324565b34801561055857600080fd5b506103b36105673660046130fe565b611109565b34801561057857600080fd5b5061037b61058736600461301b565b61120c565b34801561059857600080fd5b506103c460155481565b3480156105ae57600080fd5b506103b36105bd366004612ea5565b611283565b3480156105ce57600080fd5b5061034e61132d565b3480156105e357600080fd5b506103c46105f2366004612ea5565b6113bb565b34801561060357600080fd5b506103b3611442565b34801561061857600080fd5b506103c460008051602061350083398151915281565b34801561063a57600080fd5b506103b36114a6565b34801561064f57600080fd5b506103b361065e366004612ea5565b61154a565b34801561066f57600080fd5b50600f546001600160a01b031661037b565b34801561068d57600080fd5b5061037b61069c366004613059565b6115b2565b3480156106ad57600080fd5b506103246106bc366004613034565b6115d1565b3480156106cd57600080fd5b506103c460145481565b3480156106e357600080fd5b5061034e6115fa565b3480156106f857600080fd5b506103c4600081565b34801561070d57600080fd5b506103b361071c366004612fe8565b611609565b34801561072d57600080fd5b506103c460135481565b34801561074357600080fd5b506103b3610752366004612f68565b611614565b34801561076357600080fd5b5061034e61164c565b34801561077857600080fd5b506103b361078736600461301b565b611659565b34801561079857600080fd5b506016546103249060ff1681565b3480156107b257600080fd5b5061034e6107c136600461301b565b611692565b3480156107d257600080fd5b506103c46107e136600461301b565b611789565b3480156107f257600080fd5b506103b36117a0565b34801561080757600080fd5b5060105461037b906001600160a01b031681565b34801561082757600080fd5b506103c46000805160206134e083398151915281565b34801561084957600080fd5b506103b3610858366004613034565b61182d565b34801561086957600080fd5b5061034e6108783660046130b5565b611853565b34801561088957600080fd5b506103c47f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b3480156108bd57600080fd5b506103246108cc366004612eee565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561090657600080fd5b5061034e6109153660046130b5565b6118aa565b34801561092657600080fd5b506103b3610935366004612ea5565b611917565b610324610948366004612ec2565b6119df565b600061095882611b65565b92915050565b60606002805461096d906133dc565b80601f0160208091040260200160405190810160405280929190818152602001828054610999906133dc565b80156109e65780601f106109bb576101008083540402835291602001916109e6565b820191906000526020600020905b8154815290600101906020018083116109c957829003601f168201915b5050505050905090565b6000818152600460205260408120546001600160a01b0316610a6e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610a958261120c565b9050806001600160a01b0316836001600160a01b03161415610b035760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610a65565b336001600160a01b0382161480610b1f5750610b1f81336108cc565b610b915760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a65565b610b9b8383611b8a565b505050565b610bab335b82611bf8565b610bc75760405162461bcd60e51b8152600401610a659061329a565b610b9b838383611cef565b600082815260208190526040902060010154610bee8133611e96565b610b9b8383611efa565b6000610c03836113bb565b8210610c655760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610a65565b506001600160a01b03919091166000908152600860209081526040808320938352929052205490565b6001600160a01b0381163314610cfe5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610a65565b610d088282611f1c565b5050565b610d24600080516020613500833981519152336115d1565b610d555760405162461bcd60e51b8152602060048201526002602482015261232960f11b6044820152606401610a65565b6016805461ff001981166101009182900460ff1615909102179055565b610d9c7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a336115d1565b610e10576040805162461bcd60e51b81526020600482015260248101919091527f4552433732315072657365744d696e7465725061757365724175746f49643a2060448201527f6d75737420686176652070617573657220726f6c6520746f20756e70617573656064820152608401610a65565b610e18611f3e565b565b610b9b83838360405180602001604052806000815250611614565b610e3e33610ba5565b610ea35760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b6064820152608401610a65565b610eac81611fd1565b50565b601354610ec583610ebf600a5490565b90612078565b1115610f135760405162461bcd60e51b815260206004820152601c60248201527f4c434653204e6f7420656e6f75676820746f6b656e73206c6566742e000000006044820152606401610a65565b60165460ff16610f655760405162461bcd60e51b815260206004820152601f60248201527f4c434653205075626c69632073616c65206973206e6f74206163746976652e006044820152606401610a65565b601454821115610fb75760405162461bcd60e51b815260206004820152601860248201527f4c434653203130207472616e73616374696f6e73206d617800000000000000006044820152606401610a65565b3482601554610fc69190613363565b11156110205760405162461bcd60e51b8152602060048201526024808201527f4c4346532045746865722076616c75652073656e74206973206e6f7420636f726044820152631c9958dd60e21b6064820152608401610a65565b6110386000805160206134e083398151915233612084565b60015b82811161105d5761104b82611283565b8061105581613417565b91505061103b565b50610d086000805160206134e083398151915233611f1c565b6000611081600a5490565b82106110e45760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610a65565b600a82815481106110f7576110f7613488565b90600052602060002001549050919050565b611121600080516020613500833981519152336115d1565b6111775760405162461bcd60e51b815260206004820152602160248201527f4c434653206d75737420686176652061646d696e20726f6c6520746f206d696e6044820152601d60fa1b6064820152608401610a65565b6013546111908366ffffffffffffff16610ebf600a5490565b11156111de5760405162461bcd60e51b815260206004820152601c60248201527f4c434653204e6f7420656e6f75676820746f6b656e73206c6566742e000000006044820152606401610a65565b60015b8266ffffffffffffff168111610b9b576111fa82611283565b8061120481613417565b9150506111e1565b6000818152600460205260408120546001600160a01b0316806109585760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610a65565b61129b6000805160206134e0833981519152336115d1565b61130d5760405162461bcd60e51b815260206004820152603d60248201527f4552433732315072657365744d696e7465725061757365724175746f49643a2060448201527f6d7573742068617665206d696e74657220726f6c6520746f206d696e740000006064820152608401610a65565b61131f8161131a600d5490565b61208e565b610eac600d80546001019055565b6011805461133a906133dc565b80601f0160208091040260200160405190810160405280929190818152602001828054611366906133dc565b80156113b35780601f10611388576101008083540402835291602001916113b3565b820191906000526020600020905b81548152906001019060200180831161139657829003601f168201915b505050505081565b60006001600160a01b0382166114265760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610a65565b506001600160a01b031660009081526005602052604090205490565b600f546001600160a01b0316331461149c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a65565b610e1860006121dc565b6114d07f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a336115d1565b6115425760405162461bcd60e51b815260206004820152603e60248201527f4552433732315072657365744d696e7465725061757365724175746f49643a2060448201527f6d75737420686176652070617573657220726f6c6520746f20706175736500006064820152608401610a65565b610e1861222e565b6010546001600160a01b031633146115905760405162461bcd60e51b81526020600482015260096024820152686465763a207775743f60b81b6044820152606401610a65565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b60008281526001602052604081206115ca90836122a9565b9392505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60606003805461096d906133dc565b610d083383836122b5565b61161e3383611bf8565b61163a5760405162461bcd60e51b8152600401610a659061329a565b61164684848484612384565b50505050565b6012805461133a906133dc565b611671600080516020613500833981519152336115d1565b61168d5760405162461bcd60e51b8152600401610a65906132eb565b601555565b6000818152600460205260409020546060906001600160a01b03166116df5760405162461bcd60e51b815260206004820152600360248201526213915560ea1b6044820152606401610a65565b601654610100900460ff1661178057601280546116fb906133dc565b80601f0160208091040260200160405190810160405280929190818152602001828054611727906133dc565b80156117745780601f1061174957610100808354040283529160200191611774565b820191906000526020600020905b81548152906001019060200180831161175757829003601f168201915b50505050509050919050565b610958826123b7565b600081815260016020526040812061095890612491565b6117b8600080516020613500833981519152336115d1565b6118195760405162461bcd60e51b815260206004820152602c60248201527f4c434653206d75737420686176652061646d696e20726f6c6520746f20666c6960448201526b70207468652073746174757360a01b6064820152608401610a65565b6016805460ff19811660ff90911615179055565b6000828152602081905260409020600101546118498133611e96565b610b9b8383611f1c565b606061186d600080516020613500833981519152336115d1565b6118895760405162461bcd60e51b8152600401610a65906132eb565b815161189c906011906020850190612d96565b50601180546116fb906133dc565b60606118c4600080516020613500833981519152336115d1565b6118f65760405162461bcd60e51b815260206004820152600360248201526209c84960eb1b6044820152606401610a65565b8151611909906012906020850190612d96565b50601280546116fb906133dc565b600f546001600160a01b031633146119715760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a65565b6001600160a01b0381166119d65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a65565b610eac816121dc565b60006119f9600080516020613500833981519152336115d1565b611a535760405162461bcd60e51b815260206004820152602560248201527f4c434653206d75737420686176652061646d696e20726f6c6520746f20776974604482015264686472617760d81b6064820152608401610a65565b60408051338152602081018490527fb4214c8c54fc7442f36d3682f59aebaf09358a4431835b30efb29d52cf9e1e91910160405180910390a16040516001600160a01b0384169083156108fc029084906000818181858888f19350505050158015611ac2573d6000803e3d6000fd5b5060019392505050565b611ad682826115d1565b610d08576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055611b0c3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60006115ca836001600160a01b03841661249b565b60006001600160e01b0319821663780e9d6360e01b14806109585750610958826124ea565b600081815260066020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611bbf8261120c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600460205260408120546001600160a01b0316611c715760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610a65565b6000611c7c8361120c565b9050806001600160a01b0316846001600160a01b03161480611cb75750836001600160a01b0316611cac846109f0565b6001600160a01b0316145b80611ce757506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611d028261120c565b6001600160a01b031614611d665760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610a65565b6001600160a01b038216611dc85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a65565b611dd383838361252a565b611dde600082611b8a565b6001600160a01b0383166000908152600560205260408120805460019290611e07908490613382565b90915550506001600160a01b0382166000908152600560205260408120805460019290611e35908490613337565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611ea082826115d1565b610d0857611eb8816001600160a01b03166014612535565b611ec3836020612535565b604051602001611ed4929190613183565b60408051601f198184030181529082905262461bcd60e51b8252610a6591600401613235565b611f048282611acc565b6000828152600160205260409020610b9b9082611b50565b611f2682826126d1565b6000828152600160205260409020610b9b9082612736565b600c5460ff16611f875760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610a65565b600c805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6000611fdc8261120c565b9050611fea8160008461252a565b611ff5600083611b8a565b6001600160a01b038116600090815260056020526040812080546001929061201e908490613382565b909155505060008281526004602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60006115ca8284613337565b610d088282611efa565b6001600160a01b0382166120e45760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a65565b6000818152600460205260409020546001600160a01b0316156121495760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a65565b6121556000838361252a565b6001600160a01b038216600090815260056020526040812080546001929061217e908490613337565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600f80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600c5460ff16156122745760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610a65565b600c805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611fb43390565b60006115ca838361274b565b816001600160a01b0316836001600160a01b031614156123175760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a65565b6001600160a01b03838116600081815260076020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61238f848484611cef565b61239b84848484612775565b6116465760405162461bcd60e51b8152600401610a6590613248565b6000818152600460205260409020546060906001600160a01b03166124365760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a65565b6000612440612882565b9050600081511161246057604051806020016040528060008152506115ca565b8061246a84612891565b60405160200161247b929190613154565b6040516020818303038152906040529392505050565b6000610958825490565b60008181526001830160205260408120546124e257508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610958565b506000610958565b60006001600160e01b031982166380ac58cd60e01b148061251b57506001600160e01b03198216635b5e139f60e01b145b8061095857506109588261298f565b610b9b8383836129b4565b60606000612544836002613363565b61254f906002613337565b67ffffffffffffffff8111156125675761256761349e565b6040519080825280601f01601f191660200182016040528015612591576020820181803683370190505b509050600360fc1b816000815181106125ac576125ac613488565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106125db576125db613488565b60200101906001600160f81b031916908160001a90535060006125ff846002613363565b61260a906001613337565b90505b6001811115612682576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061263e5761263e613488565b1a60f81b82828151811061265457612654613488565b60200101906001600160f81b031916908160001a90535060049490941c9361267b816133c5565b905061260d565b5083156115ca5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610a65565b6126db82826115d1565b15610d08576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60006115ca836001600160a01b038416612a26565b600082600001828154811061276257612762613488565b9060005260206000200154905092915050565b60006001600160a01b0384163b1561287757604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906127b99033908990889088906004016131f8565b602060405180830381600087803b1580156127d357600080fd5b505af1925050508015612803575060408051601f3d908101601f1916820190925261280091810190613098565b60015b61285d573d808015612831576040519150601f19603f3d011682016040523d82523d6000602084013e612836565b606091505b5080516128555760405162461bcd60e51b8152600401610a6590613248565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611ce7565b506001949350505050565b60606011805461096d906133dc565b6060816128b55750506040805180820190915260018152600360fc1b602082015290565b8160005b81156128df57806128c981613417565b91506128d89050600a8361334f565b91506128b9565b60008167ffffffffffffffff8111156128fa576128fa61349e565b6040519080825280601f01601f191660200182016040528015612924576020820181803683370190505b5090505b8415611ce757612939600183613382565b9150612946600a86613432565b612951906030613337565b60f81b81838151811061296657612966613488565b60200101906001600160f81b031916908160001a905350612988600a8661334f565b9450612928565b60006001600160e01b03198216635a05180f60e01b1480610958575061095882612b19565b6129bf838383612b4e565b600c5460ff1615610b9b5760405162461bcd60e51b815260206004820152602b60248201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760448201526a1a1a5b19481c185d5cd95960aa1b6064820152608401610a65565b60008181526001830160205260408120548015612b0f576000612a4a600183613382565b8554909150600090612a5e90600190613382565b9050818114612ac3576000866000018281548110612a7e57612a7e613488565b9060005260206000200154905080876000018481548110612aa157612aa1613488565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080612ad457612ad4613472565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610958565b6000915050610958565b60006001600160e01b03198216637965db0b60e01b148061095857506301ffc9a760e01b6001600160e01b0319831614610958565b6001600160a01b038316612ba957612ba481600a80546000838152600b60205260408120829055600182018355919091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80155565b612bcc565b816001600160a01b0316836001600160a01b031614612bcc57612bcc8382612c06565b6001600160a01b038216612be357610b9b81612ca3565b826001600160a01b0316826001600160a01b031614610b9b57610b9b8282612d52565b60006001612c13846113bb565b612c1d9190613382565b600083815260096020526040902054909150808214612c70576001600160a01b03841660009081526008602090815260408083208584528252808320548484528184208190558352600990915290208190555b5060009182526009602090815260408084208490556001600160a01b039094168352600881528383209183525290812055565b600a54600090612cb590600190613382565b6000838152600b6020526040812054600a8054939450909284908110612cdd57612cdd613488565b9060005260206000200154905080600a8381548110612cfe57612cfe613488565b6000918252602080832090910192909255828152600b9091526040808220849055858252812055600a805480612d3657612d36613472565b6001900381819060005260206000200160009055905550505050565b6000612d5d836113bb565b6001600160a01b039093166000908152600860209081526040808320868452825280832085905593825260099052919091209190915550565b828054612da2906133dc565b90600052602060002090601f016020900481019282612dc45760008555612e0a565b82601f10612ddd57805160ff1916838001178555612e0a565b82800160010185558215612e0a579182015b82811115612e0a578251825591602001919060010190612def565b50612e16929150612e1a565b5090565b5b80821115612e165760008155600101612e1b565b600067ffffffffffffffff80841115612e4a57612e4a61349e565b604051601f8501601f19908116603f01168101908282118183101715612e7257612e7261349e565b81604052809350858152868686011115612e8b57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612eb757600080fd5b81356115ca816134b4565b60008060408385031215612ed557600080fd5b8235612ee0816134b4565b946020939093013593505050565b60008060408385031215612f0157600080fd5b8235612f0c816134b4565b91506020830135612f1c816134b4565b809150509250929050565b600080600060608486031215612f3c57600080fd5b8335612f47816134b4565b92506020840135612f57816134b4565b929592945050506040919091013590565b60008060008060808587031215612f7e57600080fd5b8435612f89816134b4565b93506020850135612f99816134b4565b925060408501359150606085013567ffffffffffffffff811115612fbc57600080fd5b8501601f81018713612fcd57600080fd5b612fdc87823560208401612e2f565b91505092959194509250565b60008060408385031215612ffb57600080fd5b8235613006816134b4565b915060208301358015158114612f1c57600080fd5b60006020828403121561302d57600080fd5b5035919050565b6000806040838503121561304757600080fd5b823591506020830135612f1c816134b4565b6000806040838503121561306c57600080fd5b50508035926020909101359150565b60006020828403121561308d57600080fd5b81356115ca816134c9565b6000602082840312156130aa57600080fd5b81516115ca816134c9565b6000602082840312156130c757600080fd5b813567ffffffffffffffff8111156130de57600080fd5b8201601f810184136130ef57600080fd5b611ce784823560208401612e2f565b6000806040838503121561311157600080fd5b823566ffffffffffffff81168114612f0c57600080fd5b60008151808452613140816020860160208601613399565b601f01601f19169290920160200192915050565b60008351613166818460208801613399565b83519083019061317a818360208801613399565b01949350505050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516131bb816017850160208801613399565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516131ec816028840160208801613399565b01602801949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061322b90830184613128565b9695505050505050565b6020815260006115ca6020830184613128565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602c908201527f4c434653206d75737420686176652061646d696e20726f6c6520746f2075706460408201526b61746520626173652055524960a01b606082015260800190565b6000821982111561334a5761334a613446565b500190565b60008261335e5761335e61345c565b500490565b600081600019048311821515161561337d5761337d613446565b500290565b60008282101561339457613394613446565b500390565b60005b838110156133b457818101518382015260200161339c565b838111156116465750506000910152565b6000816133d4576133d4613446565b506000190190565b600181811c908216806133f057607f821691505b6020821081141561341157634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561342b5761342b613446565b5060010190565b6000826134415761344161345c565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610eac57600080fd5b6001600160e01b031981168114610eac57600080fdfe9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6a49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775a2646970667358221220a30e0b9eb23af461189234a857ead459d5aa410153869513849cf635059cd0b864736f6c6343000807003368747470733a2f2f6c6567656e646172796375727665732e6d7970696e6174612e636c6f75642f697066732f516d5562504d57337567764d6b535431694d485572773265356b744851686f4661634c4656674e54716a383851382f6d6574616461746168747470733a2f2f6c6567656e646172796375727665732e6d7970696e6174612e636c6f75642f697066732f516d583646354667655042326867424d3469417a785738707a42444b6e795865374a766454707a486f374e74746e2f6d657461646174612f776169742e6a736f6e

Deployed Bytecode

0x6080604052600436106102ff5760003560e01c80638456cb5911610190578063c8753f9c116100dc578063d547741f11610095578063e985e9c51161006f578063e985e9c5146108b1578063ec7fb1c0146108fa578063f2fde38b1461091a578063f3fef3a31461093a57600080fd5b8063d547741f1461083d578063e343a0061461085d578063e63ab1e91461087d57600080fd5b8063c8753f9c1461078c578063c87b56dd146107a6578063ca15c873146107c6578063ce03ec93146107e6578063d49e77cd146107fb578063d53913931461081b57600080fd5b806395d89b4111610149578063b1fe323611610123578063b1fe323614610721578063b88d4fde14610737578063ba2e27b314610757578063bfa0e6de1461076c57600080fd5b806395d89b41146106d7578063a217fddf146106ec578063a22cb4651461070157600080fd5b80638456cb591461062e5780638d88a90e146106435780638da5cb5b146106635780639010d07c1461068157806391d14854146106a1578063957f3dc3146106c157600080fd5b806342842e0e1161024f5780636352211e116102085780636c0360eb116101e25780636c0360eb146105c257806370a08231146105d7578063715018a6146105f757806375b238fc1461060c57600080fd5b80636352211e1461056c5780636817c76c1461058c5780636a627842146105a257600080fd5b806342842e0e146104c157806342966c68146104e15780634c8ee3f4146105015780634f6ccce7146105145780635c975abb1461053457806361699bf11461054c57600080fd5b806323b872dd116102bc5780632f745c59116102965780632f745c591461045757806336568abe146104775780633b84d9c6146104975780633f4ba83a146104ac57600080fd5b806323b872dd146103e7578063248a9ca3146104075780632f2ff15d1461043757600080fd5b806301ffc9a71461030457806306fdde0314610339578063081812fc1461035b578063095ea7b31461039357806312065fe0146103b557806318160ddd146103d2575b600080fd5b34801561031057600080fd5b5061032461031f36600461307b565b61094d565b60405190151581526020015b60405180910390f35b34801561034557600080fd5b5061034e61095e565b6040516103309190613235565b34801561036757600080fd5b5061037b61037636600461301b565b6109f0565b6040516001600160a01b039091168152602001610330565b34801561039f57600080fd5b506103b36103ae366004612ec2565b610a8a565b005b3480156103c157600080fd5b50475b604051908152602001610330565b3480156103de57600080fd5b50600a546103c4565b3480156103f357600080fd5b506103b3610402366004612f27565b610ba0565b34801561041357600080fd5b506103c461042236600461301b565b60009081526020819052604090206001015490565b34801561044357600080fd5b506103b3610452366004613034565b610bd2565b34801561046357600080fd5b506103c4610472366004612ec2565b610bf8565b34801561048357600080fd5b506103b3610492366004613034565b610c8e565b3480156104a357600080fd5b506103b3610d0c565b3480156104b857600080fd5b506103b3610d72565b3480156104cd57600080fd5b506103b36104dc366004612f27565b610e1a565b3480156104ed57600080fd5b506103b36104fc36600461301b565b610e35565b6103b361050f366004613034565b610eaf565b34801561052057600080fd5b506103c461052f36600461301b565b611076565b34801561054057600080fd5b50600c5460ff16610324565b34801561055857600080fd5b506103b36105673660046130fe565b611109565b34801561057857600080fd5b5061037b61058736600461301b565b61120c565b34801561059857600080fd5b506103c460155481565b3480156105ae57600080fd5b506103b36105bd366004612ea5565b611283565b3480156105ce57600080fd5b5061034e61132d565b3480156105e357600080fd5b506103c46105f2366004612ea5565b6113bb565b34801561060357600080fd5b506103b3611442565b34801561061857600080fd5b506103c460008051602061350083398151915281565b34801561063a57600080fd5b506103b36114a6565b34801561064f57600080fd5b506103b361065e366004612ea5565b61154a565b34801561066f57600080fd5b50600f546001600160a01b031661037b565b34801561068d57600080fd5b5061037b61069c366004613059565b6115b2565b3480156106ad57600080fd5b506103246106bc366004613034565b6115d1565b3480156106cd57600080fd5b506103c460145481565b3480156106e357600080fd5b5061034e6115fa565b3480156106f857600080fd5b506103c4600081565b34801561070d57600080fd5b506103b361071c366004612fe8565b611609565b34801561072d57600080fd5b506103c460135481565b34801561074357600080fd5b506103b3610752366004612f68565b611614565b34801561076357600080fd5b5061034e61164c565b34801561077857600080fd5b506103b361078736600461301b565b611659565b34801561079857600080fd5b506016546103249060ff1681565b3480156107b257600080fd5b5061034e6107c136600461301b565b611692565b3480156107d257600080fd5b506103c46107e136600461301b565b611789565b3480156107f257600080fd5b506103b36117a0565b34801561080757600080fd5b5060105461037b906001600160a01b031681565b34801561082757600080fd5b506103c46000805160206134e083398151915281565b34801561084957600080fd5b506103b3610858366004613034565b61182d565b34801561086957600080fd5b5061034e6108783660046130b5565b611853565b34801561088957600080fd5b506103c47f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b3480156108bd57600080fd5b506103246108cc366004612eee565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561090657600080fd5b5061034e6109153660046130b5565b6118aa565b34801561092657600080fd5b506103b3610935366004612ea5565b611917565b610324610948366004612ec2565b6119df565b600061095882611b65565b92915050565b60606002805461096d906133dc565b80601f0160208091040260200160405190810160405280929190818152602001828054610999906133dc565b80156109e65780601f106109bb576101008083540402835291602001916109e6565b820191906000526020600020905b8154815290600101906020018083116109c957829003601f168201915b5050505050905090565b6000818152600460205260408120546001600160a01b0316610a6e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610a958261120c565b9050806001600160a01b0316836001600160a01b03161415610b035760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610a65565b336001600160a01b0382161480610b1f5750610b1f81336108cc565b610b915760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a65565b610b9b8383611b8a565b505050565b610bab335b82611bf8565b610bc75760405162461bcd60e51b8152600401610a659061329a565b610b9b838383611cef565b600082815260208190526040902060010154610bee8133611e96565b610b9b8383611efa565b6000610c03836113bb565b8210610c655760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610a65565b506001600160a01b03919091166000908152600860209081526040808320938352929052205490565b6001600160a01b0381163314610cfe5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610a65565b610d088282611f1c565b5050565b610d24600080516020613500833981519152336115d1565b610d555760405162461bcd60e51b8152602060048201526002602482015261232960f11b6044820152606401610a65565b6016805461ff001981166101009182900460ff1615909102179055565b610d9c7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a336115d1565b610e10576040805162461bcd60e51b81526020600482015260248101919091527f4552433732315072657365744d696e7465725061757365724175746f49643a2060448201527f6d75737420686176652070617573657220726f6c6520746f20756e70617573656064820152608401610a65565b610e18611f3e565b565b610b9b83838360405180602001604052806000815250611614565b610e3e33610ba5565b610ea35760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b6064820152608401610a65565b610eac81611fd1565b50565b601354610ec583610ebf600a5490565b90612078565b1115610f135760405162461bcd60e51b815260206004820152601c60248201527f4c434653204e6f7420656e6f75676820746f6b656e73206c6566742e000000006044820152606401610a65565b60165460ff16610f655760405162461bcd60e51b815260206004820152601f60248201527f4c434653205075626c69632073616c65206973206e6f74206163746976652e006044820152606401610a65565b601454821115610fb75760405162461bcd60e51b815260206004820152601860248201527f4c434653203130207472616e73616374696f6e73206d617800000000000000006044820152606401610a65565b3482601554610fc69190613363565b11156110205760405162461bcd60e51b8152602060048201526024808201527f4c4346532045746865722076616c75652073656e74206973206e6f7420636f726044820152631c9958dd60e21b6064820152608401610a65565b6110386000805160206134e083398151915233612084565b60015b82811161105d5761104b82611283565b8061105581613417565b91505061103b565b50610d086000805160206134e083398151915233611f1c565b6000611081600a5490565b82106110e45760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610a65565b600a82815481106110f7576110f7613488565b90600052602060002001549050919050565b611121600080516020613500833981519152336115d1565b6111775760405162461bcd60e51b815260206004820152602160248201527f4c434653206d75737420686176652061646d696e20726f6c6520746f206d696e6044820152601d60fa1b6064820152608401610a65565b6013546111908366ffffffffffffff16610ebf600a5490565b11156111de5760405162461bcd60e51b815260206004820152601c60248201527f4c434653204e6f7420656e6f75676820746f6b656e73206c6566742e000000006044820152606401610a65565b60015b8266ffffffffffffff168111610b9b576111fa82611283565b8061120481613417565b9150506111e1565b6000818152600460205260408120546001600160a01b0316806109585760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610a65565b61129b6000805160206134e0833981519152336115d1565b61130d5760405162461bcd60e51b815260206004820152603d60248201527f4552433732315072657365744d696e7465725061757365724175746f49643a2060448201527f6d7573742068617665206d696e74657220726f6c6520746f206d696e740000006064820152608401610a65565b61131f8161131a600d5490565b61208e565b610eac600d80546001019055565b6011805461133a906133dc565b80601f0160208091040260200160405190810160405280929190818152602001828054611366906133dc565b80156113b35780601f10611388576101008083540402835291602001916113b3565b820191906000526020600020905b81548152906001019060200180831161139657829003601f168201915b505050505081565b60006001600160a01b0382166114265760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610a65565b506001600160a01b031660009081526005602052604090205490565b600f546001600160a01b0316331461149c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a65565b610e1860006121dc565b6114d07f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a336115d1565b6115425760405162461bcd60e51b815260206004820152603e60248201527f4552433732315072657365744d696e7465725061757365724175746f49643a2060448201527f6d75737420686176652070617573657220726f6c6520746f20706175736500006064820152608401610a65565b610e1861222e565b6010546001600160a01b031633146115905760405162461bcd60e51b81526020600482015260096024820152686465763a207775743f60b81b6044820152606401610a65565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b60008281526001602052604081206115ca90836122a9565b9392505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60606003805461096d906133dc565b610d083383836122b5565b61161e3383611bf8565b61163a5760405162461bcd60e51b8152600401610a659061329a565b61164684848484612384565b50505050565b6012805461133a906133dc565b611671600080516020613500833981519152336115d1565b61168d5760405162461bcd60e51b8152600401610a65906132eb565b601555565b6000818152600460205260409020546060906001600160a01b03166116df5760405162461bcd60e51b815260206004820152600360248201526213915560ea1b6044820152606401610a65565b601654610100900460ff1661178057601280546116fb906133dc565b80601f0160208091040260200160405190810160405280929190818152602001828054611727906133dc565b80156117745780601f1061174957610100808354040283529160200191611774565b820191906000526020600020905b81548152906001019060200180831161175757829003601f168201915b50505050509050919050565b610958826123b7565b600081815260016020526040812061095890612491565b6117b8600080516020613500833981519152336115d1565b6118195760405162461bcd60e51b815260206004820152602c60248201527f4c434653206d75737420686176652061646d696e20726f6c6520746f20666c6960448201526b70207468652073746174757360a01b6064820152608401610a65565b6016805460ff19811660ff90911615179055565b6000828152602081905260409020600101546118498133611e96565b610b9b8383611f1c565b606061186d600080516020613500833981519152336115d1565b6118895760405162461bcd60e51b8152600401610a65906132eb565b815161189c906011906020850190612d96565b50601180546116fb906133dc565b60606118c4600080516020613500833981519152336115d1565b6118f65760405162461bcd60e51b815260206004820152600360248201526209c84960eb1b6044820152606401610a65565b8151611909906012906020850190612d96565b50601280546116fb906133dc565b600f546001600160a01b031633146119715760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a65565b6001600160a01b0381166119d65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a65565b610eac816121dc565b60006119f9600080516020613500833981519152336115d1565b611a535760405162461bcd60e51b815260206004820152602560248201527f4c434653206d75737420686176652061646d696e20726f6c6520746f20776974604482015264686472617760d81b6064820152608401610a65565b60408051338152602081018490527fb4214c8c54fc7442f36d3682f59aebaf09358a4431835b30efb29d52cf9e1e91910160405180910390a16040516001600160a01b0384169083156108fc029084906000818181858888f19350505050158015611ac2573d6000803e3d6000fd5b5060019392505050565b611ad682826115d1565b610d08576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055611b0c3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60006115ca836001600160a01b03841661249b565b60006001600160e01b0319821663780e9d6360e01b14806109585750610958826124ea565b600081815260066020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611bbf8261120c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600460205260408120546001600160a01b0316611c715760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610a65565b6000611c7c8361120c565b9050806001600160a01b0316846001600160a01b03161480611cb75750836001600160a01b0316611cac846109f0565b6001600160a01b0316145b80611ce757506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611d028261120c565b6001600160a01b031614611d665760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610a65565b6001600160a01b038216611dc85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a65565b611dd383838361252a565b611dde600082611b8a565b6001600160a01b0383166000908152600560205260408120805460019290611e07908490613382565b90915550506001600160a01b0382166000908152600560205260408120805460019290611e35908490613337565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611ea082826115d1565b610d0857611eb8816001600160a01b03166014612535565b611ec3836020612535565b604051602001611ed4929190613183565b60408051601f198184030181529082905262461bcd60e51b8252610a6591600401613235565b611f048282611acc565b6000828152600160205260409020610b9b9082611b50565b611f2682826126d1565b6000828152600160205260409020610b9b9082612736565b600c5460ff16611f875760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610a65565b600c805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6000611fdc8261120c565b9050611fea8160008461252a565b611ff5600083611b8a565b6001600160a01b038116600090815260056020526040812080546001929061201e908490613382565b909155505060008281526004602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60006115ca8284613337565b610d088282611efa565b6001600160a01b0382166120e45760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a65565b6000818152600460205260409020546001600160a01b0316156121495760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a65565b6121556000838361252a565b6001600160a01b038216600090815260056020526040812080546001929061217e908490613337565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600f80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600c5460ff16156122745760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610a65565b600c805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611fb43390565b60006115ca838361274b565b816001600160a01b0316836001600160a01b031614156123175760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a65565b6001600160a01b03838116600081815260076020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61238f848484611cef565b61239b84848484612775565b6116465760405162461bcd60e51b8152600401610a6590613248565b6000818152600460205260409020546060906001600160a01b03166124365760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a65565b6000612440612882565b9050600081511161246057604051806020016040528060008152506115ca565b8061246a84612891565b60405160200161247b929190613154565b6040516020818303038152906040529392505050565b6000610958825490565b60008181526001830160205260408120546124e257508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610958565b506000610958565b60006001600160e01b031982166380ac58cd60e01b148061251b57506001600160e01b03198216635b5e139f60e01b145b8061095857506109588261298f565b610b9b8383836129b4565b60606000612544836002613363565b61254f906002613337565b67ffffffffffffffff8111156125675761256761349e565b6040519080825280601f01601f191660200182016040528015612591576020820181803683370190505b509050600360fc1b816000815181106125ac576125ac613488565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106125db576125db613488565b60200101906001600160f81b031916908160001a90535060006125ff846002613363565b61260a906001613337565b90505b6001811115612682576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061263e5761263e613488565b1a60f81b82828151811061265457612654613488565b60200101906001600160f81b031916908160001a90535060049490941c9361267b816133c5565b905061260d565b5083156115ca5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610a65565b6126db82826115d1565b15610d08576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60006115ca836001600160a01b038416612a26565b600082600001828154811061276257612762613488565b9060005260206000200154905092915050565b60006001600160a01b0384163b1561287757604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906127b99033908990889088906004016131f8565b602060405180830381600087803b1580156127d357600080fd5b505af1925050508015612803575060408051601f3d908101601f1916820190925261280091810190613098565b60015b61285d573d808015612831576040519150601f19603f3d011682016040523d82523d6000602084013e612836565b606091505b5080516128555760405162461bcd60e51b8152600401610a6590613248565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611ce7565b506001949350505050565b60606011805461096d906133dc565b6060816128b55750506040805180820190915260018152600360fc1b602082015290565b8160005b81156128df57806128c981613417565b91506128d89050600a8361334f565b91506128b9565b60008167ffffffffffffffff8111156128fa576128fa61349e565b6040519080825280601f01601f191660200182016040528015612924576020820181803683370190505b5090505b8415611ce757612939600183613382565b9150612946600a86613432565b612951906030613337565b60f81b81838151811061296657612966613488565b60200101906001600160f81b031916908160001a905350612988600a8661334f565b9450612928565b60006001600160e01b03198216635a05180f60e01b1480610958575061095882612b19565b6129bf838383612b4e565b600c5460ff1615610b9b5760405162461bcd60e51b815260206004820152602b60248201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760448201526a1a1a5b19481c185d5cd95960aa1b6064820152608401610a65565b60008181526001830160205260408120548015612b0f576000612a4a600183613382565b8554909150600090612a5e90600190613382565b9050818114612ac3576000866000018281548110612a7e57612a7e613488565b9060005260206000200154905080876000018481548110612aa157612aa1613488565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080612ad457612ad4613472565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610958565b6000915050610958565b60006001600160e01b03198216637965db0b60e01b148061095857506301ffc9a760e01b6001600160e01b0319831614610958565b6001600160a01b038316612ba957612ba481600a80546000838152600b60205260408120829055600182018355919091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80155565b612bcc565b816001600160a01b0316836001600160a01b031614612bcc57612bcc8382612c06565b6001600160a01b038216612be357610b9b81612ca3565b826001600160a01b0316826001600160a01b031614610b9b57610b9b8282612d52565b60006001612c13846113bb565b612c1d9190613382565b600083815260096020526040902054909150808214612c70576001600160a01b03841660009081526008602090815260408083208584528252808320548484528184208190558352600990915290208190555b5060009182526009602090815260408084208490556001600160a01b039094168352600881528383209183525290812055565b600a54600090612cb590600190613382565b6000838152600b6020526040812054600a8054939450909284908110612cdd57612cdd613488565b9060005260206000200154905080600a8381548110612cfe57612cfe613488565b6000918252602080832090910192909255828152600b9091526040808220849055858252812055600a805480612d3657612d36613472565b6001900381819060005260206000200160009055905550505050565b6000612d5d836113bb565b6001600160a01b039093166000908152600860209081526040808320868452825280832085905593825260099052919091209190915550565b828054612da2906133dc565b90600052602060002090601f016020900481019282612dc45760008555612e0a565b82601f10612ddd57805160ff1916838001178555612e0a565b82800160010185558215612e0a579182015b82811115612e0a578251825591602001919060010190612def565b50612e16929150612e1a565b5090565b5b80821115612e165760008155600101612e1b565b600067ffffffffffffffff80841115612e4a57612e4a61349e565b604051601f8501601f19908116603f01168101908282118183101715612e7257612e7261349e565b81604052809350858152868686011115612e8b57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612eb757600080fd5b81356115ca816134b4565b60008060408385031215612ed557600080fd5b8235612ee0816134b4565b946020939093013593505050565b60008060408385031215612f0157600080fd5b8235612f0c816134b4565b91506020830135612f1c816134b4565b809150509250929050565b600080600060608486031215612f3c57600080fd5b8335612f47816134b4565b92506020840135612f57816134b4565b929592945050506040919091013590565b60008060008060808587031215612f7e57600080fd5b8435612f89816134b4565b93506020850135612f99816134b4565b925060408501359150606085013567ffffffffffffffff811115612fbc57600080fd5b8501601f81018713612fcd57600080fd5b612fdc87823560208401612e2f565b91505092959194509250565b60008060408385031215612ffb57600080fd5b8235613006816134b4565b915060208301358015158114612f1c57600080fd5b60006020828403121561302d57600080fd5b5035919050565b6000806040838503121561304757600080fd5b823591506020830135612f1c816134b4565b6000806040838503121561306c57600080fd5b50508035926020909101359150565b60006020828403121561308d57600080fd5b81356115ca816134c9565b6000602082840312156130aa57600080fd5b81516115ca816134c9565b6000602082840312156130c757600080fd5b813567ffffffffffffffff8111156130de57600080fd5b8201601f810184136130ef57600080fd5b611ce784823560208401612e2f565b6000806040838503121561311157600080fd5b823566ffffffffffffff81168114612f0c57600080fd5b60008151808452613140816020860160208601613399565b601f01601f19169290920160200192915050565b60008351613166818460208801613399565b83519083019061317a818360208801613399565b01949350505050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516131bb816017850160208801613399565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516131ec816028840160208801613399565b01602801949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061322b90830184613128565b9695505050505050565b6020815260006115ca6020830184613128565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602c908201527f4c434653206d75737420686176652061646d696e20726f6c6520746f2075706460408201526b61746520626173652055524960a01b606082015260800190565b6000821982111561334a5761334a613446565b500190565b60008261335e5761335e61345c565b500490565b600081600019048311821515161561337d5761337d613446565b500290565b60008282101561339457613394613446565b500390565b60005b838110156133b457818101518382015260200161339c565b838111156116465750506000910152565b6000816133d4576133d4613446565b506000190190565b600181811c908216806133f057607f821691505b6020821081141561341157634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561342b5761342b613446565b5060010190565b6000826134415761344161345c565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610eac57600080fd5b6001600160e01b031981168114610eac57600080fdfe9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6a49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775a2646970667358221220a30e0b9eb23af461189234a857ead459d5aa410153869513849cf635059cd0b864736f6c63430008070033

Deployed Bytecode Sourcemap

89229:3888:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;88896:254;;;;;;;;;;-1:-1:-1;88896:254:0;;;;;:::i;:::-;;:::i;:::-;;;8947:14:1;;8940:22;8922:41;;8910:2;8895:18;88896:254:0;;;;;;;;63806:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;65365:221::-;;;;;;;;;;-1:-1:-1;65365:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7966:32:1;;;7948:51;;7936:2;7921:18;65365:221:0;7802:203:1;64888:411:0;;;;;;;;;;-1:-1:-1;64888:411:0;;;;;:::i;:::-;;:::i;:::-;;90285:103;;;;;;;;;;-1:-1:-1;90359:21:0;90285:103;;;9120:25:1;;;9108:2;9093:18;90285:103:0;8974:177:1;79374:113:0;;;;;;;;;;-1:-1:-1;79462:10:0;:17;79374:113;;66115:339;;;;;;;;;;-1:-1:-1;66115:339:0;;;;;:::i;:::-;;:::i;48743:131::-;;;;;;;;;;-1:-1:-1;48743:131:0;;;;;:::i;:::-;48817:7;48844:12;;;;;;;;;;:22;;;;48743:131;49136:147;;;;;;;;;;-1:-1:-1;49136:147:0;;;;;:::i;:::-;;:::i;79042:256::-;;;;;;;;;;-1:-1:-1;79042:256:0;;;;;:::i;:::-;;:::i;50184:218::-;;;;;;;;;;-1:-1:-1;50184:218:0;;;;;:::i;:::-;;:::i;92514:129::-;;;;;;;;;;;;;:::i;88392:185::-;;;;;;;;;;;;;:::i;66525:::-;;;;;;;;;;-1:-1:-1;66525:185:0;;;;;:::i;:::-;;:::i;77471:245::-;;;;;;;;;;-1:-1:-1;77471:245:0;;;;;:::i;:::-;;:::i;90396:575::-;;;;;;:::i;:::-;;:::i;79564:233::-;;;;;;;;;;-1:-1:-1;79564:233:0;;;;;:::i;:::-;;:::i;32059:86::-;;;;;;;;;;-1:-1:-1;32130:7:0;;;;32059:86;;91538:333;;;;;;;;;;-1:-1:-1;91538:333:0;;;;;:::i;:::-;;:::i;63500:239::-;;;;;;;;;;-1:-1:-1;63500:239:0;;;;;:::i;:::-;;:::i;89617:37::-;;;;;;;;;;;;;;;;87372:407;;;;;;;;;;-1:-1:-1;87372:407:0;;;;;:::i;:::-;;:::i;89364:21::-;;;;;;;;;;;;;:::i;63230:208::-;;;;;;;;;;-1:-1:-1;63230:208:0;;;;;:::i;:::-;;:::i;30110:103::-;;;;;;;;;;;;;:::i;89702:60::-;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;89702:60:0;;87994:179;;;;;;;;;;;;;:::i;91403:129::-;;;;;;;;;;-1:-1:-1;91403:129:0;;;;;:::i;:::-;;:::i;29459:87::-;;;;;;;;;;-1:-1:-1;29532:6:0;;-1:-1:-1;;;;;29532:6:0;29459:87;;53693:153;;;;;;;;;;-1:-1:-1;53693:153:0;;;;;:::i;:::-;;:::i;47612:147::-;;;;;;;;;;-1:-1:-1;47612:147:0;;;;;:::i;:::-;;:::i;89580:30::-;;;;;;;;;;;;;;;;63975:104;;;;;;;;;;;;;:::i;46703:49::-;;;;;;;;;;-1:-1:-1;46703:49:0;46748:4;46703:49;;65658:155;;;;;;;;;;-1:-1:-1;65658:155:0;;;;;:::i;:::-;;:::i;89540:33::-;;;;;;;;;;;;;;;;66781:328;;;;;;;;;;-1:-1:-1;66781:328:0;;;;;:::i;:::-;;:::i;89392:141::-;;;;;;;;;;;;;:::i;92129:190::-;;;;;;;;;;-1:-1:-1;92129:190:0;;;;;:::i;:::-;;:::i;89663:32::-;;;;;;;;;;-1:-1:-1;89663:32:0;;;;;;;;92882:232;;;;;;;;;;-1:-1:-1;92882:232:0;;;;;:::i;:::-;;:::i;54020:142::-;;;;;;;;;;-1:-1:-1;54020:142:0;;;;;:::i;:::-;;:::i;92325:183::-;;;;;;;;;;;;;:::i;89335:22::-;;;;;;;;;;-1:-1:-1;89335:22:0;;;;-1:-1:-1;;;;;89335:22:0;;;86035:62;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;86035:62:0;;49528:149;;;;;;;;;;-1:-1:-1;49528:149:0;;;;;:::i;:::-;;:::i;91877:246::-;;;;;;;;;;-1:-1:-1;91877:246:0;;;;;:::i;:::-;;:::i;86104:62::-;;;;;;;;;;;;86142:24;86104:62;;65884:164;;;;;;;;;;-1:-1:-1;65884:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;66005:25:0;;;65981:4;66005:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;65884:164;92651:223;;;;;;;;;;-1:-1:-1;92651:223:0;;;;;:::i;:::-;;:::i;30368:201::-;;;;;;;;;;-1:-1:-1;30368:201:0;;;;;:::i;:::-;;:::i;91091:306::-;;;;;;:::i;:::-;;:::i;88896:254::-;89077:4;89106:36;89130:11;89106:23;:36::i;:::-;89099:43;88896:254;-1:-1:-1;;88896:254:0:o;63806:100::-;63860:13;63893:5;63886:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63806:100;:::o;65365:221::-;65441:7;68708:16;;;:7;:16;;;;;;-1:-1:-1;;;;;68708:16:0;65461:73;;;;-1:-1:-1;;;65461:73:0;;19185:2:1;65461:73:0;;;19167:21:1;19224:2;19204:18;;;19197:30;19263:34;19243:18;;;19236:62;-1:-1:-1;;;19314:18:1;;;19307:42;19366:19;;65461:73:0;;;;;;;;;-1:-1:-1;65554:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;65554:24:0;;65365:221::o;64888:411::-;64969:13;64985:23;65000:7;64985:14;:23::i;:::-;64969:39;;65033:5;-1:-1:-1;;;;;65027:11:0;:2;-1:-1:-1;;;;;65027:11:0;;;65019:57;;;;-1:-1:-1;;;65019:57:0;;21062:2:1;65019:57:0;;;21044:21:1;21101:2;21081:18;;;21074:30;21140:34;21120:18;;;21113:62;-1:-1:-1;;;21191:18:1;;;21184:31;21232:19;;65019:57:0;20860:397:1;65019:57:0;28263:10;-1:-1:-1;;;;;65111:21:0;;;;:62;;-1:-1:-1;65136:37:0;65153:5;28263:10;65884:164;:::i;65136:37::-;65089:168;;;;-1:-1:-1;;;65089:168:0;;16550:2:1;65089:168:0;;;16532:21:1;16589:2;16569:18;;;16562:30;16628:34;16608:18;;;16601:62;16699:26;16679:18;;;16672:54;16743:19;;65089:168:0;16348:420:1;65089:168:0;65270:21;65279:2;65283:7;65270:8;:21::i;:::-;64958:341;64888:411;;:::o;66115:339::-;66310:41;28263:10;66329:12;66343:7;66310:18;:41::i;:::-;66302:103;;;;-1:-1:-1;;;66302:103:0;;;;;;;:::i;:::-;66418:28;66428:4;66434:2;66438:7;66418:9;:28::i;49136:147::-;48817:7;48844:12;;;;;;;;;;:22;;;47194:30;47205:4;28263:10;47194;:30::i;:::-;49250:25:::1;49261:4;49267:7;49250:10;:25::i;79042:256::-:0;79139:7;79175:23;79192:5;79175:16;:23::i;:::-;79167:5;:31;79159:87;;;;-1:-1:-1;;;79159:87:0;;11462:2:1;79159:87:0;;;11444:21:1;11501:2;11481:18;;;11474:30;11540:34;11520:18;;;11513:62;-1:-1:-1;;;11591:18:1;;;11584:41;11642:19;;79159:87:0;11260:407:1;79159:87:0;-1:-1:-1;;;;;;79264:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;79042:256::o;50184:218::-;-1:-1:-1;;;;;50280:23:0;;28263:10;50280:23;50272:83;;;;-1:-1:-1;;;50272:83:0;;24401:2:1;50272:83:0;;;24383:21:1;24440:2;24420:18;;;24413:30;24479:34;24459:18;;;24452:62;-1:-1:-1;;;24530:18:1;;;24523:45;24585:19;;50272:83:0;24199:411:1;50272:83:0;50368:26;50380:4;50386:7;50368:11;:26::i;:::-;50184:218;;:::o;92514:129::-;92564:33;-1:-1:-1;;;;;;;;;;;28263:10:0;47612:147;:::i;92564:33::-;92556:48;;;;-1:-1:-1;;;92556:48:0;;20375:2:1;92556:48:0;;;20357:21:1;20414:1;20394:18;;;20387:29;-1:-1:-1;;;20432:18:1;;;20425:32;20474:18;;92556:48:0;20173:325:1;92556:48:0;92627:8;;;-1:-1:-1;;92615:20:0;;92627:8;;;;;;;92626:9;92615:20;;;;;;92514:129::o;88392:185::-;88445:34;86142:24;28263:10;47612:147;:::i;88445:34::-;88437:111;;;;;-1:-1:-1;;;88437:111:0;;23968:2:1;88437:111:0;;;23950:21:1;23987:18;;;23980:30;;;;24046:34;24026:18;;;24019:62;24117:34;24097:18;;;24090:62;24169:19;;88437:111:0;23766:428:1;88437:111:0;88559:10;:8;:10::i;:::-;88392:185::o;66525:::-;66663:39;66680:4;66686:2;66690:7;66663:39;;;;;;;;;;;;:16;:39::i;77471:245::-;77589:41;28263:10;77608:12;28183:98;77589:41;77581:102;;;;-1:-1:-1;;;77581:102:0;;23551:2:1;77581:102:0;;;23533:21:1;23590:2;23570:18;;;23563:30;23629:34;23609:18;;;23602:62;-1:-1:-1;;;23680:18:1;;;23673:46;23736:19;;77581:102:0;23349:412:1;77581:102:0;77694:14;77700:7;77694:5;:14::i;:::-;77471:245;:::o;90396:575::-;90512:12;;90483:25;90501:6;90483:13;79462:10;:17;;79374:113;90483:13;:17;;:25::i;:::-;:41;;90475:82;;;;-1:-1:-1;;;90475:82:0;;20705:2:1;90475:82:0;;;20687:21:1;20744:2;20724:18;;;20717:30;20783;20763:18;;;20756:58;20831:18;;90475:82:0;20503:352:1;90475:82:0;90576:12;;;;90568:56;;;;-1:-1:-1;;;90568:56:0;;18825:2:1;90568:56:0;;;18807:21:1;18864:2;18844:18;;;18837:30;18903:33;18883:18;;;18876:61;18954:18;;90568:56:0;18623:355:1;90568:56:0;90653:11;;90643:6;:21;;90635:58;;;;-1:-1:-1;;;90635:58:0;;9582:2:1;90635:58:0;;;9564:21:1;9621:2;9601:18;;;9594:30;9660:26;9640:18;;;9633:54;9704:18;;90635:58:0;9380:348:1;90635:58:0;90734:9;90724:6;90712:9;;:18;;;;:::i;:::-;:31;;90704:80;;;;-1:-1:-1;;;90704:80:0;;10296:2:1;90704:80:0;;;10278:21:1;10335:2;10315:18;;;10308:30;10374:34;10354:18;;;10347:62;-1:-1:-1;;;10425:18:1;;;10418:34;10469:19;;90704:80:0;10094:400:1;90704:80:0;90795:35;-1:-1:-1;;;;;;;;;;;90819:10:0;90795;:35::i;:::-;90855:1;90841:76;90863:6;90858:1;:11;90841:76;;90891:14;90902:2;90891:10;:14::i;:::-;90871:3;;;;:::i;:::-;;;;90841:76;;;;90927:36;-1:-1:-1;;;;;;;;;;;90952:10:0;90927:11;:36::i;79564:233::-;79639:7;79675:30;79462:10;:17;;79374:113;79675:30;79667:5;:38;79659:95;;;;-1:-1:-1;;;79659:95:0;;21882:2:1;79659:95:0;;;21864:21:1;21921:2;21901:18;;;21894:30;21960:34;21940:18;;;21933:62;-1:-1:-1;;;22011:18:1;;;22004:42;22063:19;;79659:95:0;21680:408:1;79659:95:0;79772:10;79783:5;79772:17;;;;;;;;:::i;:::-;;;;;;;;;79765:24;;79564:233;;;:::o;91538:333::-;91613:33;-1:-1:-1;;;;;;;;;;;28263:10:0;47612:147;:::i;91613:33::-;91605:79;;;;-1:-1:-1;;;91605:79:0;;12293:2:1;91605:79:0;;;12275:21:1;12332:2;12312:18;;;12305:30;12371:34;12351:18;;;12344:62;-1:-1:-1;;;12422:18:1;;;12415:31;12463:19;;91605:79:0;12091:397:1;91605:79:0;91732:12;;91703:25;91721:6;91703:25;;:13;79462:10;:17;;79374:113;91703:25;:41;;91695:82;;;;-1:-1:-1;;;91695:82:0;;20705:2:1;91695:82:0;;;20687:21:1;20744:2;20724:18;;;20717:30;20783;20763:18;;;20756:58;20831:18;;91695:82:0;20503:352:1;91695:82:0;91802:1;91788:76;91810:6;91805:11;;:1;:11;91788:76;;91838:14;91849:2;91838:10;:14::i;:::-;91818:3;;;;:::i;:::-;;;;91788:76;;63500:239;63572:7;63608:16;;;:7;:16;;;;;;-1:-1:-1;;;;;63608:16:0;63643:19;63635:73;;;;-1:-1:-1;;;63635:73:0;;17386:2:1;63635:73:0;;;17368:21:1;17425:2;17405:18;;;17398:30;17464:34;17444:18;;;17437:62;-1:-1:-1;;;17515:18:1;;;17508:39;17564:19;;63635:73:0;17184:405:1;87372:407:0;87432:34;-1:-1:-1;;;;;;;;;;;28263:10:0;47612:147;:::i;87432:34::-;87424:108;;;;-1:-1:-1;;;87424:108:0;;23121:2:1;87424:108:0;;;23103:21:1;23160:2;23140:18;;;23133:30;23199:34;23179:18;;;23172:62;23270:31;23250:18;;;23243:59;23319:19;;87424:108:0;22919:425:1;87424:108:0;87697:36;87703:2;87707:25;:15;7991:14;;7899:114;87707:25;87697:5;:36::i;:::-;87744:27;:15;8110:19;;8128:1;8110:19;;;8021:127;89364:21;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;63230:208::-;63302:7;-1:-1:-1;;;;;63330:19:0;;63322:74;;;;-1:-1:-1;;;63322:74:0;;16975:2:1;63322:74:0;;;16957:21:1;17014:2;16994:18;;;16987:30;17053:34;17033:18;;;17026:62;-1:-1:-1;;;17104:18:1;;;17097:40;17154:19;;63322:74:0;16773:406:1;63322:74:0;-1:-1:-1;;;;;;63414:16:0;;;;;:9;:16;;;;;;;63230:208::o;30110:103::-;29532:6;;-1:-1:-1;;;;;29532:6:0;28263:10;29679:23;29671:68;;;;-1:-1:-1;;;29671:68:0;;19598:2:1;29671:68:0;;;19580:21:1;;;19617:18;;;19610:30;19676:34;19656:18;;;19649:62;19728:18;;29671:68:0;19396:356:1;29671:68:0;30175:30:::1;30202:1;30175:18;:30::i;87994:179::-:0;88045:34;86142:24;28263:10;47612:147;:::i;88045:34::-;88037:109;;;;-1:-1:-1;;;88037:109:0;;13865:2:1;88037:109:0;;;13847:21:1;13904:2;13884:18;;;13877:30;13943:34;13923:18;;;13916:62;14014:32;13994:18;;;13987:60;14064:19;;88037:109:0;13663:426:1;88037:109:0;88157:8;:6;:8::i;91403:129::-;91474:7;;-1:-1:-1;;;;;91474:7:0;91460:10;:21;91452:43;;;;-1:-1:-1;;;91452:43:0;;18127:2:1;91452:43:0;;;18109:21:1;18166:1;18146:18;;;18139:29;-1:-1:-1;;;18184:18:1;;;18177:39;18233:18;;91452:43:0;17925:332:1;91452:43:0;91506:7;:18;;-1:-1:-1;;;;;;91506:18:0;-1:-1:-1;;;;;91506:18:0;;;;;;;;;;91403:129::o;53693:153::-;53783:7;53810:18;;;:12;:18;;;;;:28;;53832:5;53810:21;:28::i;:::-;53803:35;53693:153;-1:-1:-1;;;53693:153:0:o;47612:147::-;47698:4;47722:12;;;;;;;;;;;-1:-1:-1;;;;;47722:29:0;;;;;;;;;;;;;;;47612:147::o;63975:104::-;64031:13;64064:7;64057:14;;;;;:::i;65658:155::-;65753:52;28263:10;65786:8;65796;65753:18;:52::i;66781:328::-;66956:41;28263:10;66989:7;66956:18;:41::i;:::-;66948:103;;;;-1:-1:-1;;;66948:103:0;;;;;;;:::i;:::-;67062:39;67076:4;67082:2;67086:7;67095:5;67062:13;:39::i;:::-;66781:328;;;;:::o;89392:141::-;;;;;;;:::i;92129:190::-;92198:33;-1:-1:-1;;;;;;;;;;;28263:10:0;47612:147;:::i;92198:33::-;92190:90;;;;-1:-1:-1;;;92190:90:0;;;;;;;:::i;:::-;92291:9;:20;92129:190::o;92882:232::-;68684:4;68708:16;;;:7;:16;;;;;;92955:13;;-1:-1:-1;;;;;68708:16:0;92986:31;;;;-1:-1:-1;;;92986:31:0;;15874:2:1;92986:31:0;;;15856:21:1;15913:1;15893:18;;;15886:29;-1:-1:-1;;;15931:18:1;;;15924:33;15974:18;;92986:31:0;15672:326:1;92986:31:0;93033:8;;;;;;;93028:38;;93051:13;93044:20;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;92882:232;;;:::o;93028:38::-;93083:23;93098:7;93083:14;:23::i;54020:142::-;54100:7;54127:18;;;:12;:18;;;;;:27;;:25;:27::i;92325:183::-;92379:33;-1:-1:-1;;;;;;;;;;;28263:10:0;47612:147;:::i;92379:33::-;92371:90;;;;-1:-1:-1;;;92371:90:0;;22708:2:1;92371:90:0;;;22690:21:1;22747:2;22727:18;;;22720:30;22786:34;22766:18;;;22759:62;-1:-1:-1;;;22837:18:1;;;22830:42;22889:19;;92371:90:0;22506:408:1;92371:90:0;92488:12;;;-1:-1:-1;;92472:28:0;;92488:12;;;;92487:13;92472:28;;;92325:183::o;49528:149::-;48817:7;48844:12;;;;;;;;;;:22;;;47194:30;47205:4;28263:10;47194;:30::i;:::-;49643:26:::1;49655:4;49661:7;49643:11;:26::i;91877:246::-:0;91943:13;91977:33;-1:-1:-1;;;;;;;;;;;28263:10:0;47612:147;:::i;91977:33::-;91969:90;;;;-1:-1:-1;;;91969:90:0;;;;;;;:::i;:::-;92070:20;;;;:7;;:20;;;;;:::i;:::-;;92108:7;92101:14;;;;;:::i;92651:223::-;92723:13;92757:33;-1:-1:-1;;;;;;;;;;;28263:10:0;47612:147;:::i;92757:33::-;92749:49;;;;-1:-1:-1;;;92749:49:0;;17796:2:1;92749:49:0;;;17778:21:1;17835:1;17815:18;;;17808:29;-1:-1:-1;;;17853:18:1;;;17846:33;17896:18;;92749:49:0;17594:326:1;92749:49:0;92809:26;;;;:13;;:26;;;;;:::i;:::-;;92853:13;92846:20;;;;;:::i;30368:201::-;29532:6;;-1:-1:-1;;;;;29532:6:0;28263:10;29679:23;29671:68;;;;-1:-1:-1;;;29671:68:0;;19598:2:1;29671:68:0;;;19580:21:1;;;19617:18;;;19610:30;19676:34;19656:18;;;19649:62;19728:18;;29671:68:0;19396:356:1;29671:68:0;-1:-1:-1;;;;;30457:22:0;::::1;30449:73;;;::::0;-1:-1:-1;;;30449:73:0;;12695:2:1;30449:73:0::1;::::0;::::1;12677:21:1::0;12734:2;12714:18;;;12707:30;12773:34;12753:18;;;12746:62;-1:-1:-1;;;12824:18:1;;;12817:36;12870:19;;30449:73:0::1;12493:402:1::0;30449:73:0::1;30533:28;30552:8;30533:18;:28::i;91091:306::-:0;91174:12;91207:33;-1:-1:-1;;;;;;;;;;;28263:10:0;47612:147;:::i;91207:33::-;91199:83;;;;-1:-1:-1;;;91199:83:0;;15055:2:1;91199:83:0;;;15037:21:1;15094:2;15074:18;;;15067:30;15133:34;15113:18;;;15106:62;-1:-1:-1;;;15184:18:1;;;15177:35;15229:19;;91199:83:0;14853:401:1;91199:83:0;91298:33;;;91312:10;8677:51:1;;8759:2;8744:18;;8737:34;;;91298:33:0;;8650:18:1;91298:33:0;;;;;;;91342:25;;-1:-1:-1;;;;;91342:17:0;;;:25;;;;;91360:6;;91342:25;;;;91360:6;91342:17;:25;;;;;;;;;;;;;;;;;;;;-1:-1:-1;91385:4:0;;91091:306;-1:-1:-1;;;91091:306:0:o;51685:238::-;51769:22;51777:4;51783:7;51769;:22::i;:::-;51764:152;;51808:6;:12;;;;;;;;;;;-1:-1:-1;;;;;51808:29:0;;;;;;;;;:36;;-1:-1:-1;;51808:36:0;51840:4;51808:36;;;51891:12;28263:10;;28183:98;51891:12;-1:-1:-1;;;;;51864:40:0;51882:7;-1:-1:-1;;;;;51864:40:0;51876:4;51864:40;;;;;;;;;;51685:238;;:::o;16364:152::-;16434:4;16458:50;16463:3;-1:-1:-1;;;;;16483:23:0;;16458:4;:50::i;78734:224::-;78836:4;-1:-1:-1;;;;;;78860:50:0;;-1:-1:-1;;;78860:50:0;;:90;;;78914:36;78938:11;78914:23;:36::i;72765:174::-;72840:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;72840:29:0;-1:-1:-1;;;;;72840:29:0;;;;;;;;:24;;72894:23;72840:24;72894:14;:23::i;:::-;-1:-1:-1;;;;;72885:46:0;;;;;;;;;;;72765:174;;:::o;68913:348::-;69006:4;68708:16;;;:7;:16;;;;;;-1:-1:-1;;;;;68708:16:0;69023:73;;;;-1:-1:-1;;;69023:73:0;;15461:2:1;69023:73:0;;;15443:21:1;15500:2;15480:18;;;15473:30;15539:34;15519:18;;;15512:62;-1:-1:-1;;;15590:18:1;;;15583:42;15642:19;;69023:73:0;15259:408:1;69023:73:0;69107:13;69123:23;69138:7;69123:14;:23::i;:::-;69107:39;;69176:5;-1:-1:-1;;;;;69165:16:0;:7;-1:-1:-1;;;;;69165:16:0;;:51;;;;69209:7;-1:-1:-1;;;;;69185:31:0;:20;69197:7;69185:11;:20::i;:::-;-1:-1:-1;;;;;69185:31:0;;69165:51;:87;;;-1:-1:-1;;;;;;66005:25:0;;;65981:4;66005:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;69220:32;69157:96;68913:348;-1:-1:-1;;;;68913:348:0:o;72022:625::-;72181:4;-1:-1:-1;;;;;72154:31:0;:23;72169:7;72154:14;:23::i;:::-;-1:-1:-1;;;;;72154:31:0;;72146:81;;;;-1:-1:-1;;;72146:81:0;;13102:2:1;72146:81:0;;;13084:21:1;13141:2;13121:18;;;13114:30;13180:34;13160:18;;;13153:62;-1:-1:-1;;;13231:18:1;;;13224:35;13276:19;;72146:81:0;12900:401:1;72146:81:0;-1:-1:-1;;;;;72246:16:0;;72238:65;;;;-1:-1:-1;;;72238:65:0;;14296:2:1;72238:65:0;;;14278:21:1;14335:2;14315:18;;;14308:30;14374:34;14354:18;;;14347:62;-1:-1:-1;;;14425:18:1;;;14418:34;14469:19;;72238:65:0;14094:400:1;72238:65:0;72316:39;72337:4;72343:2;72347:7;72316:20;:39::i;:::-;72420:29;72437:1;72441:7;72420:8;:29::i;:::-;-1:-1:-1;;;;;72462:15:0;;;;;;:9;:15;;;;;:20;;72481:1;;72462:15;:20;;72481:1;;72462:20;:::i;:::-;;;;-1:-1:-1;;;;;;;72493:13:0;;;;;;:9;:13;;;;;:18;;72510:1;;72493:13;:18;;72510:1;;72493:18;:::i;:::-;;;;-1:-1:-1;;72522:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;72522:21:0;-1:-1:-1;;;;;72522:21:0;;;;;;;;;72561:27;;72522:16;;72561:27;;;;;;;64958:341;64888:411;;:::o;48049:505::-;48138:22;48146:4;48152:7;48138;:22::i;:::-;48133:414;;48326:41;48354:7;-1:-1:-1;;;;;48326:41:0;48364:2;48326:19;:41::i;:::-;48440:38;48468:4;48475:2;48440:19;:38::i;:::-;48231:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;48231:270:0;;;;;;;;;;-1:-1:-1;;;48177:358:0;;;;;;;:::i;54255:169::-;54343:31;54360:4;54366:7;54343:16;:31::i;:::-;54385:18;;;;:12;:18;;;;;:31;;54408:7;54385:22;:31::i;54518:174::-;54607:32;54625:4;54631:7;54607:17;:32::i;:::-;54650:18;;;;:12;:18;;;;;:34;;54676:7;54650:25;:34::i;33118:120::-;32130:7;;;;32654:41;;;;-1:-1:-1;;;32654:41:0;;11113:2:1;32654:41:0;;;11095:21:1;11152:2;11132:18;;;11125:30;-1:-1:-1;;;11171:18:1;;;11164:50;11231:18;;32654:41:0;10911:344:1;32654:41:0;33177:7:::1;:15:::0;;-1:-1:-1;;33177:15:0::1;::::0;;33208:22:::1;28263:10:::0;33217:12:::1;33208:22;::::0;-1:-1:-1;;;;;7966:32:1;;;7948:51;;7936:2;7921:18;33208:22:0::1;;;;;;;33118:120::o:0;71265:420::-;71325:13;71341:23;71356:7;71341:14;:23::i;:::-;71325:39;;71377:48;71398:5;71413:1;71417:7;71377:20;:48::i;:::-;71466:29;71483:1;71487:7;71466:8;:29::i;:::-;-1:-1:-1;;;;;71508:16:0;;;;;;:9;:16;;;;;:21;;71528:1;;71508:16;:21;;71528:1;;71508:21;:::i;:::-;;;;-1:-1:-1;;71547:16:0;;;;:7;:16;;;;;;71540:23;;-1:-1:-1;;;;;;71540:23:0;;;71581:36;71555:7;;71547:16;-1:-1:-1;;;;;71581:36:0;;;;;71547:16;;71581:36;50184:218;;:::o;2862:98::-;2920:7;2947:5;2951:1;2947;:5;:::i;51061:112::-;51140:25;51151:4;51157:7;51140:10;:25::i;70597:439::-;-1:-1:-1;;;;;70677:16:0;;70669:61;;;;-1:-1:-1;;;70669:61:0;;18464:2:1;70669:61:0;;;18446:21:1;;;18483:18;;;18476:30;18542:34;18522:18;;;18515:62;18594:18;;70669:61:0;18262:356:1;70669:61:0;68684:4;68708:16;;;:7;:16;;;;;;-1:-1:-1;;;;;68708:16:0;:30;70741:58;;;;-1:-1:-1;;;70741:58:0;;13508:2:1;70741:58:0;;;13490:21:1;13547:2;13527:18;;;13520:30;13586;13566:18;;;13559:58;13634:18;;70741:58:0;13306:352:1;70741:58:0;70812:45;70841:1;70845:2;70849:7;70812:20;:45::i;:::-;-1:-1:-1;;;;;70870:13:0;;;;;;:9;:13;;;;;:18;;70887:1;;70870:13;:18;;70887:1;;70870:18;:::i;:::-;;;;-1:-1:-1;;70899:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;70899:21:0;-1:-1:-1;;;;;70899:21:0;;;;;;;;70938:33;;70899:16;;;70938:33;;70899:16;;70938:33;50184:218;;:::o;30729:191::-;30822:6;;;-1:-1:-1;;;;;30839:17:0;;;-1:-1:-1;;;;;;30839:17:0;;;;;;;30872:40;;30822:6;;;30839:17;30822:6;;30872:40;;30803:16;;30872:40;30792:128;30729:191;:::o;32859:118::-;32130:7;;;;32384:9;32376:38;;;;-1:-1:-1;;;32376:38:0;;16205:2:1;32376:38:0;;;16187:21:1;16244:2;16224:18;;;16217:30;-1:-1:-1;;;16263:18:1;;;16256:46;16319:18;;32376:38:0;16003:340:1;32376:38:0;32919:7:::1;:14:::0;;-1:-1:-1;;32919:14:0::1;32929:4;32919:14;::::0;;32949:20:::1;32956:12;28263:10:::0;;28183:98;17660:158;17734:7;17785:22;17789:3;17801:5;17785:3;:22::i;73081:315::-;73236:8;-1:-1:-1;;;;;73227:17:0;:5;-1:-1:-1;;;;;73227:17:0;;;73219:55;;;;-1:-1:-1;;;73219:55:0;;14701:2:1;73219:55:0;;;14683:21:1;14740:2;14720:18;;;14713:30;14779:27;14759:18;;;14752:55;14824:18;;73219:55:0;14499:349:1;73219:55:0;-1:-1:-1;;;;;73285:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;73285:46:0;;;;;;;;;;73347:41;;8922::1;;;73347::0;;8895:18:1;73347:41:0;;;;;;;73081:315;;;:::o;67991:::-;68148:28;68158:4;68164:2;68168:7;68148:9;:28::i;:::-;68195:48;68218:4;68224:2;68228:7;68237:5;68195:22;:48::i;:::-;68187:111;;;;-1:-1:-1;;;68187:111:0;;;;;;;:::i;64150:334::-;68684:4;68708:16;;;:7;:16;;;;;;64223:13;;-1:-1:-1;;;;;68708:16:0;64249:76;;;;-1:-1:-1;;;64249:76:0;;19959:2:1;64249:76:0;;;19941:21:1;19998:2;19978:18;;;19971:30;20037:34;20017:18;;;20010:62;-1:-1:-1;;;20088:18:1;;;20081:45;20143:19;;64249:76:0;19757:411:1;64249:76:0;64338:21;64362:10;:8;:10::i;:::-;64338:34;;64414:1;64396:7;64390:21;:25;:86;;;;;;;;;;;;;;;;;64442:7;64451:18;:7;:16;:18::i;:::-;64425:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;64383:93;64150:334;-1:-1:-1;;;64150:334:0:o;17189:117::-;17252:7;17279:19;17287:3;12673:18;;12590:109;10279:414;10342:4;12472:19;;;:12;;;:19;;;;;;10359:327;;-1:-1:-1;10402:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;10585:18;;10563:19;;;:12;;;:19;;;;;;:40;;;;10618:11;;10359:327;-1:-1:-1;10669:5:0;10662:12;;62861:305;62963:4;-1:-1:-1;;;;;;63000:40:0;;-1:-1:-1;;;63000:40:0;;:105;;-1:-1:-1;;;;;;;63057:48:0;;-1:-1:-1;;;63057:48:0;63000:105;:158;;;;63122:36;63146:11;63122:23;:36::i;88585:239::-;88771:45;88798:4;88804:2;88808:7;88771:26;:45::i;27046:451::-;27121:13;27147:19;27179:10;27183:6;27179:1;:10;:::i;:::-;:14;;27192:1;27179:14;:::i;:::-;27169:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27169:25:0;;27147:47;;-1:-1:-1;;;27205:6:0;27212:1;27205:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;27205:15:0;;;;;;;;;-1:-1:-1;;;27231:6:0;27238:1;27231:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;27231:15:0;;;;;;;;-1:-1:-1;27262:9:0;27274:10;27278:6;27274:1;:10;:::i;:::-;:14;;27287:1;27274:14;:::i;:::-;27262:26;;27257:135;27294:1;27290;:5;27257:135;;;-1:-1:-1;;;27342:5:0;27350:3;27342:11;27329:25;;;;;;;:::i;:::-;;;;27317:6;27324:1;27317:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;27317:37:0;;;;;;;;-1:-1:-1;27379:1:0;27369:11;;;;;27297:3;;;:::i;:::-;;;27257:135;;;-1:-1:-1;27410:10:0;;27402:55;;;;-1:-1:-1;;;27402:55:0;;9935:2:1;27402:55:0;;;9917:21:1;;;9954:18;;;9947:30;10013:34;9993:18;;;9986:62;10065:18;;27402:55:0;9733:356:1;52055:239:0;52139:22;52147:4;52153:7;52139;:22::i;:::-;52135:152;;;52210:5;52178:12;;;;;;;;;;;-1:-1:-1;;;;;52178:29:0;;;;;;;;;;:37;;-1:-1:-1;;52178:37:0;;;52235:40;28263:10;;52178:12;;52235:40;;52210:5;52235:40;52055:239;;:::o;16692:158::-;16765:4;16789:53;16797:3;-1:-1:-1;;;;;16817:23:0;;16789:7;:53::i;13053:120::-;13120:7;13147:3;:11;;13159:5;13147:18;;;;;;;;:::i;:::-;;;;;;;;;13140:25;;13053:120;;;;:::o;73961:799::-;74116:4;-1:-1:-1;;;;;74137:13:0;;34773:19;:23;74133:620;;74173:72;;-1:-1:-1;;;74173:72:0;;-1:-1:-1;;;;;74173:36:0;;;;;:72;;28263:10;;74224:4;;74230:7;;74239:5;;74173:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;74173:72:0;;;;;;;;-1:-1:-1;;74173:72:0;;;;;;;;;;;;:::i;:::-;;;74169:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;74415:13:0;;74411:272;;74458:60;;-1:-1:-1;;;74458:60:0;;;;;;;:::i;74411:272::-;74633:6;74627:13;74618:6;74614:2;74610:15;74603:38;74169:529;-1:-1:-1;;;;;;74296:51:0;-1:-1:-1;;;74296:51:0;;-1:-1:-1;74289:58:0;;74133:620;-1:-1:-1;74737:4:0;73961:799;;;;;;:::o;90977:108::-;91037:13;91070:7;91063:14;;;;;:::i;25745:723::-;25801:13;26022:10;26018:53;;-1:-1:-1;;26049:10:0;;;;;;;;;;;;-1:-1:-1;;;26049:10:0;;;;;25745:723::o;26018:53::-;26096:5;26081:12;26137:78;26144:9;;26137:78;;26170:8;;;;:::i;:::-;;-1:-1:-1;26193:10:0;;-1:-1:-1;26201:2:0;26193:10;;:::i;:::-;;;26137:78;;;26225:19;26257:6;26247:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26247:17:0;;26225:39;;26275:154;26282:10;;26275:154;;26309:11;26319:1;26309:11;;:::i;:::-;;-1:-1:-1;26378:10:0;26386:2;26378:5;:10;:::i;:::-;26365:24;;:2;:24;:::i;:::-;26352:39;;26335:6;26342;26335:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;26335:56:0;;;;;;;;-1:-1:-1;26406:11:0;26415:2;26406:11;;:::i;:::-;;;26275:154;;52880:214;52965:4;-1:-1:-1;;;;;;52989:57:0;;-1:-1:-1;;;52989:57:0;;:97;;;53050:36;53074:11;53050:23;:36::i;76653:275::-;76797:45;76824:4;76830:2;76834:7;76797:26;:45::i;:::-;32130:7;;;;76863:9;76855:65;;;;-1:-1:-1;;;76855:65:0;;10701:2:1;76855:65:0;;;10683:21:1;10740:2;10720:18;;;10713:30;10779:34;10759:18;;;10752:62;-1:-1:-1;;;10830:18:1;;;10823:41;10881:19;;76855:65:0;10499:407:1;10869:1420:0;10935:4;11074:19;;;:12;;;:19;;;;;;11110:15;;11106:1176;;11485:21;11509:14;11522:1;11509:10;:14;:::i;:::-;11558:18;;11485:38;;-1:-1:-1;11538:17:0;;11558:22;;11579:1;;11558:22;:::i;:::-;11538:42;;11614:13;11601:9;:26;11597:405;;11648:17;11668:3;:11;;11680:9;11668:22;;;;;;;;:::i;:::-;;;;;;;;;11648:42;;11822:9;11793:3;:11;;11805:13;11793:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;11907:23;;;:12;;;:23;;;;;:36;;;11597:405;12083:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;12178:3;:12;;:19;12191:5;12178:19;;;;;;;;;;;12171:26;;;12221:4;12214:11;;;;;;;11106:1176;12265:5;12258:12;;;;;47316:204;47401:4;-1:-1:-1;;;;;;47425:47:0;;-1:-1:-1;;;47425:47:0;;:87;;-1:-1:-1;;;;;;;;;;44670:40:0;;;47476:36;44561:157;80410:589;-1:-1:-1;;;;;80616:18:0;;80612:187;;80651:40;80683:7;81826:10;:17;;81799:24;;;;:15;:24;;;;;:44;;;81854:24;;;;;;;;;;;;81722:164;80651:40;80612:187;;;80721:2;-1:-1:-1;;;;;80713:10:0;:4;-1:-1:-1;;;;;80713:10:0;;80709:90;;80740:47;80773:4;80779:7;80740:32;:47::i;:::-;-1:-1:-1;;;;;80813:16:0;;80809:183;;80846:45;80883:7;80846:36;:45::i;80809:183::-;80919:4;-1:-1:-1;;;;;80913:10:0;:2;-1:-1:-1;;;;;80913:10:0;;80909:83;;80940:40;80968:2;80972:7;80940:27;:40::i;82513:988::-;82779:22;82829:1;82804:22;82821:4;82804:16;:22::i;:::-;:26;;;;:::i;:::-;82841:18;82862:26;;;:17;:26;;;;;;82779:51;;-1:-1:-1;82995:28:0;;;82991:328;;-1:-1:-1;;;;;83062:18:0;;83040:19;83062:18;;;:12;:18;;;;;;;;:34;;;;;;;;;83113:30;;;;;;:44;;;83230:30;;:17;:30;;;;;:43;;;82991:328;-1:-1:-1;83415:26:0;;;;:17;:26;;;;;;;;83408:33;;;-1:-1:-1;;;;;83459:18:0;;;;;:12;:18;;;;;:34;;;;;;;83452:41;82513:988::o;83796:1079::-;84074:10;:17;84049:22;;84074:21;;84094:1;;84074:21;:::i;:::-;84106:18;84127:24;;;:15;:24;;;;;;84500:10;:26;;84049:46;;-1:-1:-1;84127:24:0;;84049:46;;84500:26;;;;;;:::i;:::-;;;;;;;;;84478:48;;84564:11;84539:10;84550;84539:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;84644:28;;;:15;:28;;;;;;;:41;;;84816:24;;;;;84809:31;84851:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;83867:1008;;;83796:1079;:::o;81300:221::-;81385:14;81402:20;81419:2;81402:16;:20::i;:::-;-1:-1:-1;;;;;81433:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;81478:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;81300: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;902:323::-;978:6;986;1039:2;1027:9;1018:7;1014:23;1010:32;1007:52;;;1055:1;1052;1045:12;1007:52;1094:9;1081:23;1113:31;1138:5;1113:31;:::i;:::-;1163:5;1215:2;1200:18;;;;1187:32;;-1:-1:-1;;;902:323:1:o;1230:388::-;1298:6;1306;1359:2;1347:9;1338:7;1334:23;1330:32;1327:52;;;1375:1;1372;1365:12;1327:52;1414:9;1401:23;1433:31;1458:5;1433:31;:::i;:::-;1483:5;-1:-1:-1;1540:2:1;1525:18;;1512:32;1553:33;1512:32;1553:33;:::i;:::-;1605:7;1595:17;;;1230:388;;;;;:::o;1623:456::-;1700:6;1708;1716;1769:2;1757:9;1748:7;1744:23;1740:32;1737:52;;;1785:1;1782;1775:12;1737:52;1824:9;1811:23;1843:31;1868:5;1843:31;:::i;:::-;1893:5;-1:-1:-1;1950:2:1;1935:18;;1922:32;1963:33;1922:32;1963:33;:::i;:::-;1623:456;;2015:7;;-1:-1:-1;;;2069:2:1;2054:18;;;;2041:32;;1623:456::o;2084:794::-;2179:6;2187;2195;2203;2256:3;2244:9;2235:7;2231:23;2227:33;2224:53;;;2273:1;2270;2263:12;2224:53;2312:9;2299:23;2331:31;2356:5;2331:31;:::i;:::-;2381:5;-1:-1:-1;2438:2:1;2423:18;;2410:32;2451:33;2410:32;2451:33;:::i;:::-;2503:7;-1:-1:-1;2557:2:1;2542:18;;2529:32;;-1:-1:-1;2612:2:1;2597:18;;2584:32;2639:18;2628:30;;2625:50;;;2671:1;2668;2661:12;2625:50;2694:22;;2747:4;2739:13;;2735:27;-1:-1:-1;2725:55:1;;2776:1;2773;2766:12;2725:55;2799:73;2864:7;2859:2;2846:16;2841:2;2837;2833:11;2799:73;:::i;:::-;2789:83;;;2084:794;;;;;;;:::o;2883:416::-;2948:6;2956;3009:2;2997:9;2988:7;2984:23;2980:32;2977:52;;;3025:1;3022;3015:12;2977:52;3064:9;3051:23;3083:31;3108:5;3083:31;:::i;:::-;3133:5;-1:-1:-1;3190:2:1;3175:18;;3162:32;3232:15;;3225:23;3213:36;;3203:64;;3263:1;3260;3253:12;3624:180;3683:6;3736:2;3724:9;3715:7;3711:23;3707:32;3704:52;;;3752:1;3749;3742:12;3704:52;-1:-1:-1;3775:23:1;;3624:180;-1:-1:-1;3624:180:1:o;3809:315::-;3877:6;3885;3938:2;3926:9;3917:7;3913:23;3909:32;3906:52;;;3954:1;3951;3944:12;3906:52;3990:9;3977:23;3967:33;;4050:2;4039:9;4035:18;4022:32;4063:31;4088:5;4063:31;:::i;4129:248::-;4197:6;4205;4258:2;4246:9;4237:7;4233:23;4229:32;4226:52;;;4274:1;4271;4264:12;4226:52;-1:-1:-1;;4297:23:1;;;4367:2;4352:18;;;4339:32;;-1:-1:-1;4129:248:1:o;4382:245::-;4440:6;4493:2;4481:9;4472:7;4468:23;4464:32;4461:52;;;4509:1;4506;4499:12;4461:52;4548:9;4535:23;4567:30;4591:5;4567:30;:::i;4632:249::-;4701:6;4754:2;4742:9;4733:7;4729:23;4725:32;4722:52;;;4770:1;4767;4760:12;4722:52;4802:9;4796:16;4821:30;4845:5;4821:30;:::i;4886:450::-;4955:6;5008:2;4996:9;4987:7;4983:23;4979:32;4976:52;;;5024:1;5021;5014:12;4976:52;5064:9;5051:23;5097:18;5089:6;5086:30;5083:50;;;5129:1;5126;5119:12;5083:50;5152:22;;5205:4;5197:13;;5193:27;-1:-1:-1;5183:55:1;;5234:1;5231;5224:12;5183:55;5257:73;5322:7;5317:2;5304:16;5299:2;5295;5291:11;5257:73;:::i;5846:423::-;5913:6;5921;5974:2;5962:9;5953:7;5949:23;5945:32;5942:52;;;5990:1;5987;5980:12;5942:52;6029:9;6016:23;6079:16;6072:5;6068:28;6061:5;6058:39;6048:67;;6111:1;6108;6101:12;6274:257;6315:3;6353:5;6347:12;6380:6;6375:3;6368:19;6396:63;6452:6;6445:4;6440:3;6436:14;6429:4;6422:5;6418:16;6396:63;:::i;:::-;6513:2;6492:15;-1:-1:-1;;6488:29:1;6479:39;;;;6520:4;6475:50;;6274:257;-1:-1:-1;;6274:257:1:o;6536:470::-;6715:3;6753:6;6747:13;6769:53;6815:6;6810:3;6803:4;6795:6;6791:17;6769:53;:::i;:::-;6885:13;;6844:16;;;;6907:57;6885:13;6844:16;6941:4;6929:17;;6907:57;:::i;:::-;6980:20;;6536:470;-1:-1:-1;;;;6536:470:1:o;7011:786::-;7422:25;7417:3;7410:38;7392:3;7477:6;7471:13;7493:62;7548:6;7543:2;7538:3;7534:12;7527:4;7519:6;7515:17;7493:62;:::i;:::-;-1:-1:-1;;;7614:2:1;7574:16;;;7606:11;;;7599:40;7664:13;;7686:63;7664:13;7735:2;7727:11;;7720:4;7708:17;;7686:63;:::i;:::-;7769:17;7788:2;7765:26;;7011:786;-1:-1:-1;;;;7011:786:1:o;8010:488::-;-1:-1:-1;;;;;8279:15:1;;;8261:34;;8331:15;;8326:2;8311:18;;8304:43;8378:2;8363:18;;8356:34;;;8426:3;8421:2;8406:18;;8399:31;;;8204:4;;8447:45;;8472:19;;8464:6;8447:45;:::i;:::-;8439:53;8010:488;-1:-1:-1;;;;;;8010:488:1:o;9156:219::-;9305:2;9294:9;9287:21;9268:4;9325:44;9365:2;9354:9;9350:18;9342:6;9325:44;:::i;11672:414::-;11874:2;11856:21;;;11913:2;11893:18;;;11886:30;11952:34;11947:2;11932:18;;11925:62;-1:-1:-1;;;12018:2:1;12003:18;;11996:48;12076:3;12061:19;;11672:414::o;21262:413::-;21464:2;21446:21;;;21503:2;21483:18;;;21476:30;21542:34;21537:2;21522:18;;21515:62;-1:-1:-1;;;21608:2:1;21593:18;;21586:47;21665:3;21650:19;;21262:413::o;22093:408::-;22295:2;22277:21;;;22334:2;22314:18;;;22307:30;22373:34;22368:2;22353:18;;22346:62;-1:-1:-1;;;22439:2:1;22424:18;;22417:42;22491:3;22476:19;;22093:408::o;24797:128::-;24837:3;24868:1;24864:6;24861:1;24858:13;24855:39;;;24874:18;;:::i;:::-;-1:-1:-1;24910:9:1;;24797:128::o;24930:120::-;24970:1;24996;24986:35;;25001:18;;:::i;:::-;-1:-1:-1;25035:9:1;;24930:120::o;25055:168::-;25095:7;25161:1;25157;25153:6;25149:14;25146:1;25143:21;25138:1;25131:9;25124:17;25120:45;25117:71;;;25168:18;;:::i;:::-;-1:-1:-1;25208:9:1;;25055:168::o;25228:125::-;25268:4;25296:1;25293;25290:8;25287:34;;;25301:18;;:::i;:::-;-1:-1:-1;25338:9:1;;25228:125::o;25358:258::-;25430:1;25440:113;25454:6;25451:1;25448:13;25440:113;;;25530:11;;;25524:18;25511:11;;;25504:39;25476:2;25469:10;25440:113;;;25571:6;25568:1;25565:13;25562:48;;;-1:-1:-1;;25606:1:1;25588:16;;25581:27;25358:258::o;25621:136::-;25660:3;25688:5;25678:39;;25697:18;;:::i;:::-;-1:-1:-1;;;25733:18:1;;25621:136::o;25762:380::-;25841:1;25837:12;;;;25884;;;25905:61;;25959:4;25951:6;25947:17;25937:27;;25905:61;26012:2;26004:6;26001:14;25981:18;25978:38;25975:161;;;26058:10;26053:3;26049:20;26046:1;26039:31;26093:4;26090:1;26083:15;26121:4;26118:1;26111:15;25975:161;;25762:380;;;:::o;26147:135::-;26186:3;-1:-1:-1;;26207:17:1;;26204:43;;;26227:18;;:::i;:::-;-1:-1:-1;26274:1:1;26263:13;;26147:135::o;26287:112::-;26319:1;26345;26335:35;;26350:18;;:::i;:::-;-1:-1:-1;26384:9:1;;26287:112::o;26404:127::-;26465:10;26460:3;26456:20;26453:1;26446:31;26496:4;26493:1;26486:15;26520:4;26517:1;26510:15;26536:127;26597:10;26592:3;26588:20;26585:1;26578:31;26628:4;26625:1;26618:15;26652:4;26649:1;26642:15;26668:127;26729:10;26724:3;26720:20;26717:1;26710:31;26760:4;26757:1;26750:15;26784:4;26781:1;26774:15;26800:127;26861:10;26856:3;26852:20;26849:1;26842:31;26892:4;26889:1;26882:15;26916:4;26913:1;26906:15;26932:127;26993:10;26988:3;26984:20;26981:1;26974:31;27024:4;27021:1;27014:15;27048:4;27045:1;27038:15;27064:131;-1:-1:-1;;;;;27139:31:1;;27129:42;;27119:70;;27185:1;27182;27175:12;27200:131;-1:-1:-1;;;;;;27274:32:1;;27264:43;;27254:71;;27321:1;27318;27311:12

Swarm Source

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