Token Wistaverse

 

Overview ERC-20

Price
$0.00 @ 0.000000 MATIC
Fully Diluted Market Cap
Total Supply:
42,000,000 WISTA

Holders:
4,900 addresses

Transfers:
-

 
Loading
[ Download CSV Export  ] 
Loading
[ Download CSV Export  ] 
Loading

OVERVIEW

Wistaverse is a decentralized platform enabling virtual protests in the metaverse. Politically neutral, accessible, and safe, it empowers individuals to voice opinions and engage in immersive events with their communities.

Market

Volume (24H):$0.00
Market Capitalization:$0.00
Circulating Supply:0.00 WISTA
Market Data Source: Coinmarketcap


Update? Click here to update the token ICO / general information
# Exchange Pair Price  24H Volume % Volume
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Wistaverse

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at PolygonScan.com on 2022-12-07
*/

// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/utils/math/SafeCast.sol


// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SafeCast.sol)
// This file was procedurally generated from scripts/generate/templates/SafeCast.js.

pragma solidity ^0.8.0;

/**
 * @dev Wrappers over Solidity's uintXX/intXX casting operators with added overflow
 * checks.
 *
 * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can
 * easily result in undesired exploitation or bugs, since developers usually
 * assume that overflows raise errors. `SafeCast` restores this intuition by
 * reverting the transaction when such an operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 *
 * Can be combined with {SafeMath} and {SignedSafeMath} to extend it to smaller types, by performing
 * all math on `uint256` and `int256` and then downcasting.
 */
library SafeCast {
    /**
     * @dev Returns the downcasted uint248 from uint256, reverting on
     * overflow (when the input is greater than largest uint248).
     *
     * Counterpart to Solidity's `uint248` operator.
     *
     * Requirements:
     *
     * - input must fit into 248 bits
     *
     * _Available since v4.7._
     */
    function toUint248(uint256 value) internal pure returns (uint248) {
        require(value <= type(uint248).max, "SafeCast: value doesn't fit in 248 bits");
        return uint248(value);
    }

    /**
     * @dev Returns the downcasted uint240 from uint256, reverting on
     * overflow (when the input is greater than largest uint240).
     *
     * Counterpart to Solidity's `uint240` operator.
     *
     * Requirements:
     *
     * - input must fit into 240 bits
     *
     * _Available since v4.7._
     */
    function toUint240(uint256 value) internal pure returns (uint240) {
        require(value <= type(uint240).max, "SafeCast: value doesn't fit in 240 bits");
        return uint240(value);
    }

    /**
     * @dev Returns the downcasted uint232 from uint256, reverting on
     * overflow (when the input is greater than largest uint232).
     *
     * Counterpart to Solidity's `uint232` operator.
     *
     * Requirements:
     *
     * - input must fit into 232 bits
     *
     * _Available since v4.7._
     */
    function toUint232(uint256 value) internal pure returns (uint232) {
        require(value <= type(uint232).max, "SafeCast: value doesn't fit in 232 bits");
        return uint232(value);
    }

    /**
     * @dev Returns the downcasted uint224 from uint256, reverting on
     * overflow (when the input is greater than largest uint224).
     *
     * Counterpart to Solidity's `uint224` operator.
     *
     * Requirements:
     *
     * - input must fit into 224 bits
     *
     * _Available since v4.2._
     */
    function toUint224(uint256 value) internal pure returns (uint224) {
        require(value <= type(uint224).max, "SafeCast: value doesn't fit in 224 bits");
        return uint224(value);
    }

    /**
     * @dev Returns the downcasted uint216 from uint256, reverting on
     * overflow (when the input is greater than largest uint216).
     *
     * Counterpart to Solidity's `uint216` operator.
     *
     * Requirements:
     *
     * - input must fit into 216 bits
     *
     * _Available since v4.7._
     */
    function toUint216(uint256 value) internal pure returns (uint216) {
        require(value <= type(uint216).max, "SafeCast: value doesn't fit in 216 bits");
        return uint216(value);
    }

    /**
     * @dev Returns the downcasted uint208 from uint256, reverting on
     * overflow (when the input is greater than largest uint208).
     *
     * Counterpart to Solidity's `uint208` operator.
     *
     * Requirements:
     *
     * - input must fit into 208 bits
     *
     * _Available since v4.7._
     */
    function toUint208(uint256 value) internal pure returns (uint208) {
        require(value <= type(uint208).max, "SafeCast: value doesn't fit in 208 bits");
        return uint208(value);
    }

    /**
     * @dev Returns the downcasted uint200 from uint256, reverting on
     * overflow (when the input is greater than largest uint200).
     *
     * Counterpart to Solidity's `uint200` operator.
     *
     * Requirements:
     *
     * - input must fit into 200 bits
     *
     * _Available since v4.7._
     */
    function toUint200(uint256 value) internal pure returns (uint200) {
        require(value <= type(uint200).max, "SafeCast: value doesn't fit in 200 bits");
        return uint200(value);
    }

    /**
     * @dev Returns the downcasted uint192 from uint256, reverting on
     * overflow (when the input is greater than largest uint192).
     *
     * Counterpart to Solidity's `uint192` operator.
     *
     * Requirements:
     *
     * - input must fit into 192 bits
     *
     * _Available since v4.7._
     */
    function toUint192(uint256 value) internal pure returns (uint192) {
        require(value <= type(uint192).max, "SafeCast: value doesn't fit in 192 bits");
        return uint192(value);
    }

    /**
     * @dev Returns the downcasted uint184 from uint256, reverting on
     * overflow (when the input is greater than largest uint184).
     *
     * Counterpart to Solidity's `uint184` operator.
     *
     * Requirements:
     *
     * - input must fit into 184 bits
     *
     * _Available since v4.7._
     */
    function toUint184(uint256 value) internal pure returns (uint184) {
        require(value <= type(uint184).max, "SafeCast: value doesn't fit in 184 bits");
        return uint184(value);
    }

    /**
     * @dev Returns the downcasted uint176 from uint256, reverting on
     * overflow (when the input is greater than largest uint176).
     *
     * Counterpart to Solidity's `uint176` operator.
     *
     * Requirements:
     *
     * - input must fit into 176 bits
     *
     * _Available since v4.7._
     */
    function toUint176(uint256 value) internal pure returns (uint176) {
        require(value <= type(uint176).max, "SafeCast: value doesn't fit in 176 bits");
        return uint176(value);
    }

    /**
     * @dev Returns the downcasted uint168 from uint256, reverting on
     * overflow (when the input is greater than largest uint168).
     *
     * Counterpart to Solidity's `uint168` operator.
     *
     * Requirements:
     *
     * - input must fit into 168 bits
     *
     * _Available since v4.7._
     */
    function toUint168(uint256 value) internal pure returns (uint168) {
        require(value <= type(uint168).max, "SafeCast: value doesn't fit in 168 bits");
        return uint168(value);
    }

    /**
     * @dev Returns the downcasted uint160 from uint256, reverting on
     * overflow (when the input is greater than largest uint160).
     *
     * Counterpart to Solidity's `uint160` operator.
     *
     * Requirements:
     *
     * - input must fit into 160 bits
     *
     * _Available since v4.7._
     */
    function toUint160(uint256 value) internal pure returns (uint160) {
        require(value <= type(uint160).max, "SafeCast: value doesn't fit in 160 bits");
        return uint160(value);
    }

    /**
     * @dev Returns the downcasted uint152 from uint256, reverting on
     * overflow (when the input is greater than largest uint152).
     *
     * Counterpart to Solidity's `uint152` operator.
     *
     * Requirements:
     *
     * - input must fit into 152 bits
     *
     * _Available since v4.7._
     */
    function toUint152(uint256 value) internal pure returns (uint152) {
        require(value <= type(uint152).max, "SafeCast: value doesn't fit in 152 bits");
        return uint152(value);
    }

    /**
     * @dev Returns the downcasted uint144 from uint256, reverting on
     * overflow (when the input is greater than largest uint144).
     *
     * Counterpart to Solidity's `uint144` operator.
     *
     * Requirements:
     *
     * - input must fit into 144 bits
     *
     * _Available since v4.7._
     */
    function toUint144(uint256 value) internal pure returns (uint144) {
        require(value <= type(uint144).max, "SafeCast: value doesn't fit in 144 bits");
        return uint144(value);
    }

    /**
     * @dev Returns the downcasted uint136 from uint256, reverting on
     * overflow (when the input is greater than largest uint136).
     *
     * Counterpart to Solidity's `uint136` operator.
     *
     * Requirements:
     *
     * - input must fit into 136 bits
     *
     * _Available since v4.7._
     */
    function toUint136(uint256 value) internal pure returns (uint136) {
        require(value <= type(uint136).max, "SafeCast: value doesn't fit in 136 bits");
        return uint136(value);
    }

    /**
     * @dev Returns the downcasted uint128 from uint256, reverting on
     * overflow (when the input is greater than largest uint128).
     *
     * Counterpart to Solidity's `uint128` operator.
     *
     * Requirements:
     *
     * - input must fit into 128 bits
     *
     * _Available since v2.5._
     */
    function toUint128(uint256 value) internal pure returns (uint128) {
        require(value <= type(uint128).max, "SafeCast: value doesn't fit in 128 bits");
        return uint128(value);
    }

    /**
     * @dev Returns the downcasted uint120 from uint256, reverting on
     * overflow (when the input is greater than largest uint120).
     *
     * Counterpart to Solidity's `uint120` operator.
     *
     * Requirements:
     *
     * - input must fit into 120 bits
     *
     * _Available since v4.7._
     */
    function toUint120(uint256 value) internal pure returns (uint120) {
        require(value <= type(uint120).max, "SafeCast: value doesn't fit in 120 bits");
        return uint120(value);
    }

    /**
     * @dev Returns the downcasted uint112 from uint256, reverting on
     * overflow (when the input is greater than largest uint112).
     *
     * Counterpart to Solidity's `uint112` operator.
     *
     * Requirements:
     *
     * - input must fit into 112 bits
     *
     * _Available since v4.7._
     */
    function toUint112(uint256 value) internal pure returns (uint112) {
        require(value <= type(uint112).max, "SafeCast: value doesn't fit in 112 bits");
        return uint112(value);
    }

    /**
     * @dev Returns the downcasted uint104 from uint256, reverting on
     * overflow (when the input is greater than largest uint104).
     *
     * Counterpart to Solidity's `uint104` operator.
     *
     * Requirements:
     *
     * - input must fit into 104 bits
     *
     * _Available since v4.7._
     */
    function toUint104(uint256 value) internal pure returns (uint104) {
        require(value <= type(uint104).max, "SafeCast: value doesn't fit in 104 bits");
        return uint104(value);
    }

    /**
     * @dev Returns the downcasted uint96 from uint256, reverting on
     * overflow (when the input is greater than largest uint96).
     *
     * Counterpart to Solidity's `uint96` operator.
     *
     * Requirements:
     *
     * - input must fit into 96 bits
     *
     * _Available since v4.2._
     */
    function toUint96(uint256 value) internal pure returns (uint96) {
        require(value <= type(uint96).max, "SafeCast: value doesn't fit in 96 bits");
        return uint96(value);
    }

    /**
     * @dev Returns the downcasted uint88 from uint256, reverting on
     * overflow (when the input is greater than largest uint88).
     *
     * Counterpart to Solidity's `uint88` operator.
     *
     * Requirements:
     *
     * - input must fit into 88 bits
     *
     * _Available since v4.7._
     */
    function toUint88(uint256 value) internal pure returns (uint88) {
        require(value <= type(uint88).max, "SafeCast: value doesn't fit in 88 bits");
        return uint88(value);
    }

    /**
     * @dev Returns the downcasted uint80 from uint256, reverting on
     * overflow (when the input is greater than largest uint80).
     *
     * Counterpart to Solidity's `uint80` operator.
     *
     * Requirements:
     *
     * - input must fit into 80 bits
     *
     * _Available since v4.7._
     */
    function toUint80(uint256 value) internal pure returns (uint80) {
        require(value <= type(uint80).max, "SafeCast: value doesn't fit in 80 bits");
        return uint80(value);
    }

    /**
     * @dev Returns the downcasted uint72 from uint256, reverting on
     * overflow (when the input is greater than largest uint72).
     *
     * Counterpart to Solidity's `uint72` operator.
     *
     * Requirements:
     *
     * - input must fit into 72 bits
     *
     * _Available since v4.7._
     */
    function toUint72(uint256 value) internal pure returns (uint72) {
        require(value <= type(uint72).max, "SafeCast: value doesn't fit in 72 bits");
        return uint72(value);
    }

    /**
     * @dev Returns the downcasted uint64 from uint256, reverting on
     * overflow (when the input is greater than largest uint64).
     *
     * Counterpart to Solidity's `uint64` operator.
     *
     * Requirements:
     *
     * - input must fit into 64 bits
     *
     * _Available since v2.5._
     */
    function toUint64(uint256 value) internal pure returns (uint64) {
        require(value <= type(uint64).max, "SafeCast: value doesn't fit in 64 bits");
        return uint64(value);
    }

    /**
     * @dev Returns the downcasted uint56 from uint256, reverting on
     * overflow (when the input is greater than largest uint56).
     *
     * Counterpart to Solidity's `uint56` operator.
     *
     * Requirements:
     *
     * - input must fit into 56 bits
     *
     * _Available since v4.7._
     */
    function toUint56(uint256 value) internal pure returns (uint56) {
        require(value <= type(uint56).max, "SafeCast: value doesn't fit in 56 bits");
        return uint56(value);
    }

    /**
     * @dev Returns the downcasted uint48 from uint256, reverting on
     * overflow (when the input is greater than largest uint48).
     *
     * Counterpart to Solidity's `uint48` operator.
     *
     * Requirements:
     *
     * - input must fit into 48 bits
     *
     * _Available since v4.7._
     */
    function toUint48(uint256 value) internal pure returns (uint48) {
        require(value <= type(uint48).max, "SafeCast: value doesn't fit in 48 bits");
        return uint48(value);
    }

    /**
     * @dev Returns the downcasted uint40 from uint256, reverting on
     * overflow (when the input is greater than largest uint40).
     *
     * Counterpart to Solidity's `uint40` operator.
     *
     * Requirements:
     *
     * - input must fit into 40 bits
     *
     * _Available since v4.7._
     */
    function toUint40(uint256 value) internal pure returns (uint40) {
        require(value <= type(uint40).max, "SafeCast: value doesn't fit in 40 bits");
        return uint40(value);
    }

    /**
     * @dev Returns the downcasted uint32 from uint256, reverting on
     * overflow (when the input is greater than largest uint32).
     *
     * Counterpart to Solidity's `uint32` operator.
     *
     * Requirements:
     *
     * - input must fit into 32 bits
     *
     * _Available since v2.5._
     */
    function toUint32(uint256 value) internal pure returns (uint32) {
        require(value <= type(uint32).max, "SafeCast: value doesn't fit in 32 bits");
        return uint32(value);
    }

    /**
     * @dev Returns the downcasted uint24 from uint256, reverting on
     * overflow (when the input is greater than largest uint24).
     *
     * Counterpart to Solidity's `uint24` operator.
     *
     * Requirements:
     *
     * - input must fit into 24 bits
     *
     * _Available since v4.7._
     */
    function toUint24(uint256 value) internal pure returns (uint24) {
        require(value <= type(uint24).max, "SafeCast: value doesn't fit in 24 bits");
        return uint24(value);
    }

    /**
     * @dev Returns the downcasted uint16 from uint256, reverting on
     * overflow (when the input is greater than largest uint16).
     *
     * Counterpart to Solidity's `uint16` operator.
     *
     * Requirements:
     *
     * - input must fit into 16 bits
     *
     * _Available since v2.5._
     */
    function toUint16(uint256 value) internal pure returns (uint16) {
        require(value <= type(uint16).max, "SafeCast: value doesn't fit in 16 bits");
        return uint16(value);
    }

    /**
     * @dev Returns the downcasted uint8 from uint256, reverting on
     * overflow (when the input is greater than largest uint8).
     *
     * Counterpart to Solidity's `uint8` operator.
     *
     * Requirements:
     *
     * - input must fit into 8 bits
     *
     * _Available since v2.5._
     */
    function toUint8(uint256 value) internal pure returns (uint8) {
        require(value <= type(uint8).max, "SafeCast: value doesn't fit in 8 bits");
        return uint8(value);
    }

    /**
     * @dev Converts a signed int256 into an unsigned uint256.
     *
     * Requirements:
     *
     * - input must be greater than or equal to 0.
     *
     * _Available since v3.0._
     */
    function toUint256(int256 value) internal pure returns (uint256) {
        require(value >= 0, "SafeCast: value must be positive");
        return uint256(value);
    }

    /**
     * @dev Returns the downcasted int248 from int256, reverting on
     * overflow (when the input is less than smallest int248 or
     * greater than largest int248).
     *
     * Counterpart to Solidity's `int248` operator.
     *
     * Requirements:
     *
     * - input must fit into 248 bits
     *
     * _Available since v4.7._
     */
    function toInt248(int256 value) internal pure returns (int248 downcasted) {
        downcasted = int248(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 248 bits");
    }

    /**
     * @dev Returns the downcasted int240 from int256, reverting on
     * overflow (when the input is less than smallest int240 or
     * greater than largest int240).
     *
     * Counterpart to Solidity's `int240` operator.
     *
     * Requirements:
     *
     * - input must fit into 240 bits
     *
     * _Available since v4.7._
     */
    function toInt240(int256 value) internal pure returns (int240 downcasted) {
        downcasted = int240(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 240 bits");
    }

    /**
     * @dev Returns the downcasted int232 from int256, reverting on
     * overflow (when the input is less than smallest int232 or
     * greater than largest int232).
     *
     * Counterpart to Solidity's `int232` operator.
     *
     * Requirements:
     *
     * - input must fit into 232 bits
     *
     * _Available since v4.7._
     */
    function toInt232(int256 value) internal pure returns (int232 downcasted) {
        downcasted = int232(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 232 bits");
    }

    /**
     * @dev Returns the downcasted int224 from int256, reverting on
     * overflow (when the input is less than smallest int224 or
     * greater than largest int224).
     *
     * Counterpart to Solidity's `int224` operator.
     *
     * Requirements:
     *
     * - input must fit into 224 bits
     *
     * _Available since v4.7._
     */
    function toInt224(int256 value) internal pure returns (int224 downcasted) {
        downcasted = int224(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 224 bits");
    }

    /**
     * @dev Returns the downcasted int216 from int256, reverting on
     * overflow (when the input is less than smallest int216 or
     * greater than largest int216).
     *
     * Counterpart to Solidity's `int216` operator.
     *
     * Requirements:
     *
     * - input must fit into 216 bits
     *
     * _Available since v4.7._
     */
    function toInt216(int256 value) internal pure returns (int216 downcasted) {
        downcasted = int216(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 216 bits");
    }

    /**
     * @dev Returns the downcasted int208 from int256, reverting on
     * overflow (when the input is less than smallest int208 or
     * greater than largest int208).
     *
     * Counterpart to Solidity's `int208` operator.
     *
     * Requirements:
     *
     * - input must fit into 208 bits
     *
     * _Available since v4.7._
     */
    function toInt208(int256 value) internal pure returns (int208 downcasted) {
        downcasted = int208(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 208 bits");
    }

    /**
     * @dev Returns the downcasted int200 from int256, reverting on
     * overflow (when the input is less than smallest int200 or
     * greater than largest int200).
     *
     * Counterpart to Solidity's `int200` operator.
     *
     * Requirements:
     *
     * - input must fit into 200 bits
     *
     * _Available since v4.7._
     */
    function toInt200(int256 value) internal pure returns (int200 downcasted) {
        downcasted = int200(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 200 bits");
    }

    /**
     * @dev Returns the downcasted int192 from int256, reverting on
     * overflow (when the input is less than smallest int192 or
     * greater than largest int192).
     *
     * Counterpart to Solidity's `int192` operator.
     *
     * Requirements:
     *
     * - input must fit into 192 bits
     *
     * _Available since v4.7._
     */
    function toInt192(int256 value) internal pure returns (int192 downcasted) {
        downcasted = int192(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 192 bits");
    }

    /**
     * @dev Returns the downcasted int184 from int256, reverting on
     * overflow (when the input is less than smallest int184 or
     * greater than largest int184).
     *
     * Counterpart to Solidity's `int184` operator.
     *
     * Requirements:
     *
     * - input must fit into 184 bits
     *
     * _Available since v4.7._
     */
    function toInt184(int256 value) internal pure returns (int184 downcasted) {
        downcasted = int184(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 184 bits");
    }

    /**
     * @dev Returns the downcasted int176 from int256, reverting on
     * overflow (when the input is less than smallest int176 or
     * greater than largest int176).
     *
     * Counterpart to Solidity's `int176` operator.
     *
     * Requirements:
     *
     * - input must fit into 176 bits
     *
     * _Available since v4.7._
     */
    function toInt176(int256 value) internal pure returns (int176 downcasted) {
        downcasted = int176(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 176 bits");
    }

    /**
     * @dev Returns the downcasted int168 from int256, reverting on
     * overflow (when the input is less than smallest int168 or
     * greater than largest int168).
     *
     * Counterpart to Solidity's `int168` operator.
     *
     * Requirements:
     *
     * - input must fit into 168 bits
     *
     * _Available since v4.7._
     */
    function toInt168(int256 value) internal pure returns (int168 downcasted) {
        downcasted = int168(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 168 bits");
    }

    /**
     * @dev Returns the downcasted int160 from int256, reverting on
     * overflow (when the input is less than smallest int160 or
     * greater than largest int160).
     *
     * Counterpart to Solidity's `int160` operator.
     *
     * Requirements:
     *
     * - input must fit into 160 bits
     *
     * _Available since v4.7._
     */
    function toInt160(int256 value) internal pure returns (int160 downcasted) {
        downcasted = int160(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 160 bits");
    }

    /**
     * @dev Returns the downcasted int152 from int256, reverting on
     * overflow (when the input is less than smallest int152 or
     * greater than largest int152).
     *
     * Counterpart to Solidity's `int152` operator.
     *
     * Requirements:
     *
     * - input must fit into 152 bits
     *
     * _Available since v4.7._
     */
    function toInt152(int256 value) internal pure returns (int152 downcasted) {
        downcasted = int152(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 152 bits");
    }

    /**
     * @dev Returns the downcasted int144 from int256, reverting on
     * overflow (when the input is less than smallest int144 or
     * greater than largest int144).
     *
     * Counterpart to Solidity's `int144` operator.
     *
     * Requirements:
     *
     * - input must fit into 144 bits
     *
     * _Available since v4.7._
     */
    function toInt144(int256 value) internal pure returns (int144 downcasted) {
        downcasted = int144(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 144 bits");
    }

    /**
     * @dev Returns the downcasted int136 from int256, reverting on
     * overflow (when the input is less than smallest int136 or
     * greater than largest int136).
     *
     * Counterpart to Solidity's `int136` operator.
     *
     * Requirements:
     *
     * - input must fit into 136 bits
     *
     * _Available since v4.7._
     */
    function toInt136(int256 value) internal pure returns (int136 downcasted) {
        downcasted = int136(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 136 bits");
    }

    /**
     * @dev Returns the downcasted int128 from int256, reverting on
     * overflow (when the input is less than smallest int128 or
     * greater than largest int128).
     *
     * Counterpart to Solidity's `int128` operator.
     *
     * Requirements:
     *
     * - input must fit into 128 bits
     *
     * _Available since v3.1._
     */
    function toInt128(int256 value) internal pure returns (int128 downcasted) {
        downcasted = int128(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 128 bits");
    }

    /**
     * @dev Returns the downcasted int120 from int256, reverting on
     * overflow (when the input is less than smallest int120 or
     * greater than largest int120).
     *
     * Counterpart to Solidity's `int120` operator.
     *
     * Requirements:
     *
     * - input must fit into 120 bits
     *
     * _Available since v4.7._
     */
    function toInt120(int256 value) internal pure returns (int120 downcasted) {
        downcasted = int120(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 120 bits");
    }

    /**
     * @dev Returns the downcasted int112 from int256, reverting on
     * overflow (when the input is less than smallest int112 or
     * greater than largest int112).
     *
     * Counterpart to Solidity's `int112` operator.
     *
     * Requirements:
     *
     * - input must fit into 112 bits
     *
     * _Available since v4.7._
     */
    function toInt112(int256 value) internal pure returns (int112 downcasted) {
        downcasted = int112(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 112 bits");
    }

    /**
     * @dev Returns the downcasted int104 from int256, reverting on
     * overflow (when the input is less than smallest int104 or
     * greater than largest int104).
     *
     * Counterpart to Solidity's `int104` operator.
     *
     * Requirements:
     *
     * - input must fit into 104 bits
     *
     * _Available since v4.7._
     */
    function toInt104(int256 value) internal pure returns (int104 downcasted) {
        downcasted = int104(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 104 bits");
    }

    /**
     * @dev Returns the downcasted int96 from int256, reverting on
     * overflow (when the input is less than smallest int96 or
     * greater than largest int96).
     *
     * Counterpart to Solidity's `int96` operator.
     *
     * Requirements:
     *
     * - input must fit into 96 bits
     *
     * _Available since v4.7._
     */
    function toInt96(int256 value) internal pure returns (int96 downcasted) {
        downcasted = int96(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 96 bits");
    }

    /**
     * @dev Returns the downcasted int88 from int256, reverting on
     * overflow (when the input is less than smallest int88 or
     * greater than largest int88).
     *
     * Counterpart to Solidity's `int88` operator.
     *
     * Requirements:
     *
     * - input must fit into 88 bits
     *
     * _Available since v4.7._
     */
    function toInt88(int256 value) internal pure returns (int88 downcasted) {
        downcasted = int88(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 88 bits");
    }

    /**
     * @dev Returns the downcasted int80 from int256, reverting on
     * overflow (when the input is less than smallest int80 or
     * greater than largest int80).
     *
     * Counterpart to Solidity's `int80` operator.
     *
     * Requirements:
     *
     * - input must fit into 80 bits
     *
     * _Available since v4.7._
     */
    function toInt80(int256 value) internal pure returns (int80 downcasted) {
        downcasted = int80(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 80 bits");
    }

    /**
     * @dev Returns the downcasted int72 from int256, reverting on
     * overflow (when the input is less than smallest int72 or
     * greater than largest int72).
     *
     * Counterpart to Solidity's `int72` operator.
     *
     * Requirements:
     *
     * - input must fit into 72 bits
     *
     * _Available since v4.7._
     */
    function toInt72(int256 value) internal pure returns (int72 downcasted) {
        downcasted = int72(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 72 bits");
    }

    /**
     * @dev Returns the downcasted int64 from int256, reverting on
     * overflow (when the input is less than smallest int64 or
     * greater than largest int64).
     *
     * Counterpart to Solidity's `int64` operator.
     *
     * Requirements:
     *
     * - input must fit into 64 bits
     *
     * _Available since v3.1._
     */
    function toInt64(int256 value) internal pure returns (int64 downcasted) {
        downcasted = int64(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 64 bits");
    }

    /**
     * @dev Returns the downcasted int56 from int256, reverting on
     * overflow (when the input is less than smallest int56 or
     * greater than largest int56).
     *
     * Counterpart to Solidity's `int56` operator.
     *
     * Requirements:
     *
     * - input must fit into 56 bits
     *
     * _Available since v4.7._
     */
    function toInt56(int256 value) internal pure returns (int56 downcasted) {
        downcasted = int56(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 56 bits");
    }

    /**
     * @dev Returns the downcasted int48 from int256, reverting on
     * overflow (when the input is less than smallest int48 or
     * greater than largest int48).
     *
     * Counterpart to Solidity's `int48` operator.
     *
     * Requirements:
     *
     * - input must fit into 48 bits
     *
     * _Available since v4.7._
     */
    function toInt48(int256 value) internal pure returns (int48 downcasted) {
        downcasted = int48(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 48 bits");
    }

    /**
     * @dev Returns the downcasted int40 from int256, reverting on
     * overflow (when the input is less than smallest int40 or
     * greater than largest int40).
     *
     * Counterpart to Solidity's `int40` operator.
     *
     * Requirements:
     *
     * - input must fit into 40 bits
     *
     * _Available since v4.7._
     */
    function toInt40(int256 value) internal pure returns (int40 downcasted) {
        downcasted = int40(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 40 bits");
    }

    /**
     * @dev Returns the downcasted int32 from int256, reverting on
     * overflow (when the input is less than smallest int32 or
     * greater than largest int32).
     *
     * Counterpart to Solidity's `int32` operator.
     *
     * Requirements:
     *
     * - input must fit into 32 bits
     *
     * _Available since v3.1._
     */
    function toInt32(int256 value) internal pure returns (int32 downcasted) {
        downcasted = int32(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 32 bits");
    }

    /**
     * @dev Returns the downcasted int24 from int256, reverting on
     * overflow (when the input is less than smallest int24 or
     * greater than largest int24).
     *
     * Counterpart to Solidity's `int24` operator.
     *
     * Requirements:
     *
     * - input must fit into 24 bits
     *
     * _Available since v4.7._
     */
    function toInt24(int256 value) internal pure returns (int24 downcasted) {
        downcasted = int24(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 24 bits");
    }

    /**
     * @dev Returns the downcasted int16 from int256, reverting on
     * overflow (when the input is less than smallest int16 or
     * greater than largest int16).
     *
     * Counterpart to Solidity's `int16` operator.
     *
     * Requirements:
     *
     * - input must fit into 16 bits
     *
     * _Available since v3.1._
     */
    function toInt16(int256 value) internal pure returns (int16 downcasted) {
        downcasted = int16(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 16 bits");
    }

    /**
     * @dev Returns the downcasted int8 from int256, reverting on
     * overflow (when the input is less than smallest int8 or
     * greater than largest int8).
     *
     * Counterpart to Solidity's `int8` operator.
     *
     * Requirements:
     *
     * - input must fit into 8 bits
     *
     * _Available since v3.1._
     */
    function toInt8(int256 value) internal pure returns (int8 downcasted) {
        downcasted = int8(value);
        require(downcasted == value, "SafeCast: value doesn't fit in 8 bits");
    }

    /**
     * @dev Converts an unsigned uint256 into a signed int256.
     *
     * Requirements:
     *
     * - input must be less than or equal to maxInt256.
     *
     * _Available since v3.0._
     */
    function toInt256(uint256 value) internal pure returns (int256) {
        // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive
        require(value <= uint256(type(int256).max), "SafeCast: value doesn't fit in an int256");
        return int256(value);
    }
}

// File: @openzeppelin/contracts/governance/utils/IVotes.sol


// OpenZeppelin Contracts (last updated v4.5.0) (governance/utils/IVotes.sol)
pragma solidity ^0.8.0;

/**
 * @dev Common interface for {ERC20Votes}, {ERC721Votes}, and other {Votes}-enabled contracts.
 *
 * _Available since v4.5._
 */
interface IVotes {
    /**
     * @dev Emitted when an account changes their delegate.
     */
    event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);

    /**
     * @dev Emitted when a token transfer or delegate change results in changes to a delegate's number of votes.
     */
    event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance);

    /**
     * @dev Returns the current amount of votes that `account` has.
     */
    function getVotes(address account) external view returns (uint256);

    /**
     * @dev Returns the amount of votes that `account` had at the end of a past block (`blockNumber`).
     */
    function getPastVotes(address account, uint256 blockNumber) external view returns (uint256);

    /**
     * @dev Returns the total supply of votes available at the end of a past block (`blockNumber`).
     *
     * NOTE: This value is the sum of all available votes, which is not necessarily the sum of all delegated votes.
     * Votes that have not been delegated are still part of total supply, even though they would not participate in a
     * vote.
     */
    function getPastTotalSupply(uint256 blockNumber) external view returns (uint256);

    /**
     * @dev Returns the delegate that `account` has chosen.
     */
    function delegates(address account) external view returns (address);

    /**
     * @dev Delegates votes from the sender to `delegatee`.
     */
    function delegate(address delegatee) external;

    /**
     * @dev Delegates votes from signer to `delegatee`.
     */
    function delegateBySig(
        address delegatee,
        uint256 nonce,
        uint256 expiry,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;
}

// 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/math/Math.sol


// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

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


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

pragma solidity ^0.8.0;


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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @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] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

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

// File: @openzeppelin/contracts/utils/cryptography/ECDSA.sol


// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;


/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV // Deprecated in v4.8
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

// File: @openzeppelin/contracts/utils/cryptography/EIP712.sol


// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/EIP712.sol)

pragma solidity ^0.8.0;


/**
 * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
 *
 * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
 * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding
 * they need in their contracts using a combination of `abi.encode` and `keccak256`.
 *
 * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
 * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
 * ({_hashTypedDataV4}).
 *
 * The implementation of the domain separator was designed to be as efficient as possible while still properly updating
 * the chain id to protect against replay attacks on an eventual fork of the chain.
 *
 * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
 * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
 *
 * _Available since v3.4._
 */
abstract contract EIP712 {
    /* solhint-disable var-name-mixedcase */
    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
    // invalidate the cached domain separator if the chain id changes.
    bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
    uint256 private immutable _CACHED_CHAIN_ID;
    address private immutable _CACHED_THIS;

    bytes32 private immutable _HASHED_NAME;
    bytes32 private immutable _HASHED_VERSION;
    bytes32 private immutable _TYPE_HASH;

    /* solhint-enable var-name-mixedcase */

    /**
     * @dev Initializes the domain separator and parameter caches.
     *
     * The meaning of `name` and `version` is specified in
     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
     *
     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
     * - `version`: the current major version of the signing domain.
     *
     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
     * contract upgrade].
     */
    constructor(string memory name, string memory version) {
        bytes32 hashedName = keccak256(bytes(name));
        bytes32 hashedVersion = keccak256(bytes(version));
        bytes32 typeHash = keccak256(
            "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"
        );
        _HASHED_NAME = hashedName;
        _HASHED_VERSION = hashedVersion;
        _CACHED_CHAIN_ID = block.chainid;
        _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);
        _CACHED_THIS = address(this);
        _TYPE_HASH = typeHash;
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() internal view returns (bytes32) {
        if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) {
            return _CACHED_DOMAIN_SEPARATOR;
        } else {
            return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION);
        }
    }

    function _buildDomainSeparator(
        bytes32 typeHash,
        bytes32 nameHash,
        bytes32 versionHash
    ) private view returns (bytes32) {
        return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this)));
    }

    /**
     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
     * function returns the hash of the fully encoded EIP712 message for this domain.
     *
     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
     *
     * ```solidity
     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
     *     keccak256("Mail(address to,string contents)"),
     *     mailTo,
     *     keccak256(bytes(mailContents))
     * )));
     * address signer = ECDSA.recover(digest, signature);
     * ```
     */
    function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
        return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);
    }
}

// File: @openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

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


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

pragma solidity ^0.8.0;

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

// File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;


/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

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


// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;




/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens 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 amount
    ) 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, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

// File: @openzeppelin/contracts/token/ERC20/extensions/draft-ERC20Permit.sol


// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/extensions/draft-ERC20Permit.sol)

pragma solidity ^0.8.0;






/**
 * @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 *
 * _Available since v3.4._
 */
abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 {
    using Counters for Counters.Counter;

    mapping(address => Counters.Counter) private _nonces;

    // solhint-disable-next-line var-name-mixedcase
    bytes32 private constant _PERMIT_TYPEHASH =
        keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
    /**
     * @dev In previous versions `_PERMIT_TYPEHASH` was declared as `immutable`.
     * However, to ensure consistency with the upgradeable transpiler, we will continue
     * to reserve a slot.
     * @custom:oz-renamed-from _PERMIT_TYPEHASH
     */
    // solhint-disable-next-line var-name-mixedcase
    bytes32 private _PERMIT_TYPEHASH_DEPRECATED_SLOT;

    /**
     * @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `"1"`.
     *
     * It's a good idea to use the same `name` that is defined as the ERC20 token name.
     */
    constructor(string memory name) EIP712(name, "1") {}

    /**
     * @dev See {IERC20Permit-permit}.
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) public virtual override {
        require(block.timestamp <= deadline, "ERC20Permit: expired deadline");

        bytes32 structHash = keccak256(abi.encode(_PERMIT_TYPEHASH, owner, spender, value, _useNonce(owner), deadline));

        bytes32 hash = _hashTypedDataV4(structHash);

        address signer = ECDSA.recover(hash, v, r, s);
        require(signer == owner, "ERC20Permit: invalid signature");

        _approve(owner, spender, value);
    }

    /**
     * @dev See {IERC20Permit-nonces}.
     */
    function nonces(address owner) public view virtual override returns (uint256) {
        return _nonces[owner].current();
    }

    /**
     * @dev See {IERC20Permit-DOMAIN_SEPARATOR}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view override returns (bytes32) {
        return _domainSeparatorV4();
    }

    /**
     * @dev "Consume a nonce": return the current value and increment.
     *
     * _Available since v4.1._
     */
    function _useNonce(address owner) internal virtual returns (uint256 current) {
        Counters.Counter storage nonce = _nonces[owner];
        current = nonce.current();
        nonce.increment();
    }
}

// File: @openzeppelin/contracts/token/ERC20/extensions/ERC20Votes.sol


// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/extensions/ERC20Votes.sol)

pragma solidity ^0.8.0;






/**
 * @dev Extension of ERC20 to support Compound-like voting and delegation. This version is more generic than Compound's,
 * and supports token supply up to 2^224^ - 1, while COMP is limited to 2^96^ - 1.
 *
 * NOTE: If exact COMP compatibility is required, use the {ERC20VotesComp} variant of this module.
 *
 * This extension keeps a history (checkpoints) of each account's vote power. Vote power can be delegated either
 * by calling the {delegate} function directly, or by providing a signature to be used with {delegateBySig}. Voting
 * power can be queried through the public accessors {getVotes} and {getPastVotes}.
 *
 * By default, token balance does not account for voting power. This makes transfers cheaper. The downside is that it
 * requires users to delegate to themselves in order to activate checkpoints and have their voting power tracked.
 *
 * _Available since v4.2._
 */
abstract contract ERC20Votes is IVotes, ERC20Permit {
    struct Checkpoint {
        uint32 fromBlock;
        uint224 votes;
    }

    bytes32 private constant _DELEGATION_TYPEHASH =
        keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");

    mapping(address => address) private _delegates;
    mapping(address => Checkpoint[]) private _checkpoints;
    Checkpoint[] private _totalSupplyCheckpoints;

    /**
     * @dev Get the `pos`-th checkpoint for `account`.
     */
    function checkpoints(address account, uint32 pos) public view virtual returns (Checkpoint memory) {
        return _checkpoints[account][pos];
    }

    /**
     * @dev Get number of checkpoints for `account`.
     */
    function numCheckpoints(address account) public view virtual returns (uint32) {
        return SafeCast.toUint32(_checkpoints[account].length);
    }

    /**
     * @dev Get the address `account` is currently delegating to.
     */
    function delegates(address account) public view virtual override returns (address) {
        return _delegates[account];
    }

    /**
     * @dev Gets the current votes balance for `account`
     */
    function getVotes(address account) public view virtual override returns (uint256) {
        uint256 pos = _checkpoints[account].length;
        return pos == 0 ? 0 : _checkpoints[account][pos - 1].votes;
    }

    /**
     * @dev Retrieve the number of votes for `account` at the end of `blockNumber`.
     *
     * Requirements:
     *
     * - `blockNumber` must have been already mined
     */
    function getPastVotes(address account, uint256 blockNumber) public view virtual override returns (uint256) {
        require(blockNumber < block.number, "ERC20Votes: block not yet mined");
        return _checkpointsLookup(_checkpoints[account], blockNumber);
    }

    /**
     * @dev Retrieve the `totalSupply` at the end of `blockNumber`. Note, this value is the sum of all balances.
     * It is but NOT the sum of all the delegated votes!
     *
     * Requirements:
     *
     * - `blockNumber` must have been already mined
     */
    function getPastTotalSupply(uint256 blockNumber) public view virtual override returns (uint256) {
        require(blockNumber < block.number, "ERC20Votes: block not yet mined");
        return _checkpointsLookup(_totalSupplyCheckpoints, blockNumber);
    }

    /**
     * @dev Lookup a value in a list of (sorted) checkpoints.
     */
    function _checkpointsLookup(Checkpoint[] storage ckpts, uint256 blockNumber) private view returns (uint256) {
        // We run a binary search to look for the earliest checkpoint taken after `blockNumber`.
        //
        // Initially we check if the block is recent to narrow the search range.
        // During the loop, the index of the wanted checkpoint remains in the range [low-1, high).
        // With each iteration, either `low` or `high` is moved towards the middle of the range to maintain the invariant.
        // - If the middle checkpoint is after `blockNumber`, we look in [low, mid)
        // - If the middle checkpoint is before or equal to `blockNumber`, we look in [mid+1, high)
        // Once we reach a single value (when low == high), we've found the right checkpoint at the index high-1, if not
        // out of bounds (in which case we're looking too far in the past and the result is 0).
        // Note that if the latest checkpoint available is exactly for `blockNumber`, we end up with an index that is
        // past the end of the array, so we technically don't find a checkpoint after `blockNumber`, but it works out
        // the same.
        uint256 length = ckpts.length;

        uint256 low = 0;
        uint256 high = length;

        if (length > 5) {
            uint256 mid = length - Math.sqrt(length);
            if (_unsafeAccess(ckpts, mid).fromBlock > blockNumber) {
                high = mid;
            } else {
                low = mid + 1;
            }
        }

        while (low < high) {
            uint256 mid = Math.average(low, high);
            if (_unsafeAccess(ckpts, mid).fromBlock > blockNumber) {
                high = mid;
            } else {
                low = mid + 1;
            }
        }

        return high == 0 ? 0 : _unsafeAccess(ckpts, high - 1).votes;
    }

    /**
     * @dev Delegate votes from the sender to `delegatee`.
     */
    function delegate(address delegatee) public virtual override {
        _delegate(_msgSender(), delegatee);
    }

    /**
     * @dev Delegates votes from signer to `delegatee`
     */
    function delegateBySig(
        address delegatee,
        uint256 nonce,
        uint256 expiry,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) public virtual override {
        require(block.timestamp <= expiry, "ERC20Votes: signature expired");
        address signer = ECDSA.recover(
            _hashTypedDataV4(keccak256(abi.encode(_DELEGATION_TYPEHASH, delegatee, nonce, expiry))),
            v,
            r,
            s
        );
        require(nonce == _useNonce(signer), "ERC20Votes: invalid nonce");
        _delegate(signer, delegatee);
    }

    /**
     * @dev Maximum token supply. Defaults to `type(uint224).max` (2^224^ - 1).
     */
    function _maxSupply() internal view virtual returns (uint224) {
        return type(uint224).max;
    }

    /**
     * @dev Snapshots the totalSupply after it has been increased.
     */
    function _mint(address account, uint256 amount) internal virtual override {
        super._mint(account, amount);
        require(totalSupply() <= _maxSupply(), "ERC20Votes: total supply risks overflowing votes");

        _writeCheckpoint(_totalSupplyCheckpoints, _add, amount);
    }

    /**
     * @dev Snapshots the totalSupply after it has been decreased.
     */
    function _burn(address account, uint256 amount) internal virtual override {
        super._burn(account, amount);

        _writeCheckpoint(_totalSupplyCheckpoints, _subtract, amount);
    }

    /**
     * @dev Move voting power when tokens are transferred.
     *
     * Emits a {IVotes-DelegateVotesChanged} event.
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual override {
        super._afterTokenTransfer(from, to, amount);

        _moveVotingPower(delegates(from), delegates(to), amount);
    }

    /**
     * @dev Change delegation for `delegator` to `delegatee`.
     *
     * Emits events {IVotes-DelegateChanged} and {IVotes-DelegateVotesChanged}.
     */
    function _delegate(address delegator, address delegatee) internal virtual {
        address currentDelegate = delegates(delegator);
        uint256 delegatorBalance = balanceOf(delegator);
        _delegates[delegator] = delegatee;

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveVotingPower(currentDelegate, delegatee, delegatorBalance);
    }

    function _moveVotingPower(
        address src,
        address dst,
        uint256 amount
    ) private {
        if (src != dst && amount > 0) {
            if (src != address(0)) {
                (uint256 oldWeight, uint256 newWeight) = _writeCheckpoint(_checkpoints[src], _subtract, amount);
                emit DelegateVotesChanged(src, oldWeight, newWeight);
            }

            if (dst != address(0)) {
                (uint256 oldWeight, uint256 newWeight) = _writeCheckpoint(_checkpoints[dst], _add, amount);
                emit DelegateVotesChanged(dst, oldWeight, newWeight);
            }
        }
    }

    function _writeCheckpoint(
        Checkpoint[] storage ckpts,
        function(uint256, uint256) view returns (uint256) op,
        uint256 delta
    ) private returns (uint256 oldWeight, uint256 newWeight) {
        uint256 pos = ckpts.length;

        Checkpoint memory oldCkpt = pos == 0 ? Checkpoint(0, 0) : _unsafeAccess(ckpts, pos - 1);

        oldWeight = oldCkpt.votes;
        newWeight = op(oldWeight, delta);

        if (pos > 0 && oldCkpt.fromBlock == block.number) {
            _unsafeAccess(ckpts, pos - 1).votes = SafeCast.toUint224(newWeight);
        } else {
            ckpts.push(Checkpoint({fromBlock: SafeCast.toUint32(block.number), votes: SafeCast.toUint224(newWeight)}));
        }
    }

    function _add(uint256 a, uint256 b) private pure returns (uint256) {
        return a + b;
    }

    function _subtract(uint256 a, uint256 b) private pure returns (uint256) {
        return a - b;
    }

    function _unsafeAccess(Checkpoint[] storage ckpts, uint256 pos) private pure returns (Checkpoint storage result) {
        assembly {
            mstore(0, ckpts.slot)
            result.slot := add(keccak256(0, 0x20), pos)
        }
    }
}

// File: Wistaverse.sol


pragma solidity 0.8.17;




contract Wistaverse is ERC20, ERC20Votes, Ownable {
    mapping(address => bool) public isExemptedFromFee;

    uint256 public feePercentage = 0; // 1% = 100
    uint256 private immutable feeDecimal = 10000;

    address public feeRecipient;

    event FeePercentageChanged(uint256 feePercentage);

    /// @notice The constructor for the Wistaverse Token.
    constructor() ERC20("Wistaverse", "WISTA") ERC20Permit("Wistaverse") {
        // Initialize fee recipient
        feeRecipient = 0x61A9206B23d453c865c13Cd6B26dB132F180Ad6F; // treasury
        // Initialize fee exemptions
        isExemptedFromFee[0x136f63CB8817D397493a617f3FA5BE81917e2C9c] = true; // main wallet
        isExemptedFromFee[0x61A9206B23d453c865c13Cd6B26dB132F180Ad6F] = true; // treasury & cex
        isExemptedFromFee[0x80DeDfE37c110F9e071501C9F633602302024f7b] = true; // contributors
        isExemptedFromFee[0x3d957A430A70B5DF793B1D2412C226055CfdE756] = true; // advisors & partners
        isExemptedFromFee[0x65ce5B436e4073ca18DD62bAAE6024eecB69B315] = true; // team
        isExemptedFromFee[0xfF81B1B1E3bB1081c6585256C988f2eAca5d6113] = true; // marketing
        isExemptedFromFee[0x79E1D2a1D38dB40aB47ce177373C43bdc3a84A83] = true; // rewards & community incentives
        isExemptedFromFee[0xdd2a6615e28Ab9084f063015364FE21B1FAE6C8e] = true; // airdrops

        _mint(msg.sender, 42 * (10**24));
    }

    function transfer(address to, uint256 amount)
        public
        override
        returns (bool)
    {
        return _transferFrom(msg.sender, to, amount);
    }

    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public override returns (bool) {
        _spendAllowance(from, msg.sender, amount);
        return _transferFrom(from, to, amount);
    }

    function _transferFrom(
        address from,
        address to,
        uint256 amount
    ) internal returns (bool) {
        if (_shouldPayFee(from) && _shouldPayFee(to)) {
            uint256 fee = (amount * feePercentage) / feeDecimal;

            if (fee > 0) {
                _transfer(from, feeRecipient, fee);
                unchecked {
                    amount = amount - fee;
                }
            }

            _transfer(from, to, amount);
        } else {
            _transfer(from, to, amount);
        }
        return true;
    }

    // ============ FEES ============

    function setFeePercentage(uint256 _fee) external onlyOwner {
        require(_fee <= 50, "Fee cannot exceed 0.5%");
        feePercentage = _fee;
        emit FeePercentageChanged(_fee);
    }

    function setFeeRecipient(address _feeRecipient) external onlyOwner {
        require(_feeRecipient != address(0), "Can't change to zero address");
        feeRecipient = _feeRecipient;
    }

    function setFeeExemption(address _address, bool _isExempted)
        external
        onlyOwner
    {
        isExemptedFromFee[_address] = _isExempted;
    }

    function _shouldPayFee(address _address) internal view returns (bool) {
        return !isExemptedFromFee[_address];
    }

    /// @dev Necessary overrides for votes
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal override(ERC20, ERC20Votes) {
        super._afterTokenTransfer(from, to, amount);
    }

    function _mint(address to, uint256 amount)
        internal
        override(ERC20, ERC20Votes)
    {
        super._mint(to, amount);
    }

    function _burn(address account, uint256 amount)
        internal
        override(ERC20, ERC20Votes)
    {
        super._burn(account, amount);
    }
}

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":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"feePercentage","type":"uint256"}],"name":"FeePercentageChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint32","name":"pos","type":"uint32"}],"name":"checkpoints","outputs":[{"components":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint224","name":"votes","type":"uint224"}],"internalType":"struct ERC20Votes.Checkpoint","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feePercentage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPastTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPastVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExemptedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_isExempted","type":"bool"}],"name":"setFeeExemption","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setFeePercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeRecipient","type":"address"}],"name":"setFeeRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","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":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101606040526000600c55612710610140523480156200001e57600080fd5b506040518060400160405280600a8152602001695769737461766572736560b01b81525080604051806040016040528060018152602001603160f81b8152506040518060400160405280600a8152602001695769737461766572736560b01b81525060405180604001604052806005815260200164574953544160d81b8152508160039081620000af9190620009c3565b506004620000be8282620009c3565b5050825160209384012082519284019290922060e08390526101008190524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818901819052818301979097526060810194909452608080850193909352308483018190528151808603909301835260c09485019091528151919096012090529290925261012052506200015d9050336200030f565b600d80546001600160a01b0319167361a9206b23d453c865c13cd6b26db132f180ad6f179055600b6020527fda6f2c2f1910fdc6eef0c51b5181214f52ccec66c7a40679fd8b3fe98092937d805460ff1990811660019081179092557f334a48daf6fcc8db3817ba07ac4b0dc31ad74068ee21bdd0e4f0524affa62b1a80548216831790557f690c4eb17633a03d5360a0d336adb8a62d839dc2269dad8d3087370c289ea16d80548216831790557f3793dc88b64f3b0327151b9a3a031472739c9c37ffdd868c205ab0f4fe651b8980548216831790557fb53a7186c1a1f05b5765632a11bb89d5463f0f0d61dc9f44b02c0dacbe58b6a580548216831790557f6f5bf9373546e47b8ff3f6f128b34bcfba90141babce6bc0439ff0b2320b458480548216831790557f42554d76de8b479aa674490cb0336d00ef894a62eb6679610fda8047f68edcd1805482168317905573dd2a6615e28ab9084f063015364fe21b1fae6c8e6000527f83581f8ec945484ff81a336e4bdc16e08327701f26a0194c2b25a7a8c60921148054909116909117905562000309336a22bdd88fed9efc6a00000062000361565b62000ad1565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200037882826200037c60201b62000d191760201c565b5050565b6200039382826200043360201b62000da91760201c565b6001600160e01b03620003a7620005008216565b1115620004145760405162461bcd60e51b815260206004820152603060248201527f4552433230566f7465733a20746f74616c20737570706c79207269736b73206f60448201526f766572666c6f77696e6720766f74657360801b60648201526084015b60405180910390fd5b6200042d600962000e746200050660201b17836200051d565b50505050565b6001600160a01b0382166200048b5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016200040b565b80600260008282546200049f919062000aa5565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36200037860008383620006b4565b60025490565b600062000514828462000aa5565b90505b92915050565b825460009081908181156200057d576200054c876200053e60018562000abb565b600091825260209091200190565b60408051808201909152905463ffffffff8116825264010000000090046001600160e01b0316602082015262000592565b60408051808201909152600080825260208201525b905080602001516001600160e01b03169350620005b084868860201c565b9250600082118015620005c95750805163ffffffff1643145b156200062057620005e583620006cc60201b62000e801760201c565b620005f7886200053e60018662000abb565b80546001600160e01b03929092166401000000000263ffffffff909216919091179055620006a5565b86604051806040016040528062000642436200073b60201b62000eed1760201c565b63ffffffff1681526020016200066386620006cc60201b62000e801760201c565b6001600160e01b0390811690915282546001810184556000938452602093849020835194909301519091166401000000000263ffffffff909316929092179101555b5050935093915050565b505050565b620006af838383620007a260201b62000f521760201c565b60006001600160e01b03821115620007375760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b60648201526084016200040b565b5090565b600063ffffffff821115620007375760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b60648201526084016200040b565b620007ba838383620006af60201b62000f841760201c565b6001600160a01b03838116600090815260076020526040808220548584168352912054620006af92918216911683818314801590620007f95750600081115b15620006af576001600160a01b0383161562000886576001600160a01b03831660009081526008602090815260408220829162000843919062000911901b62000f8917856200051d565b91509150846001600160a01b031660008051602062002ca583398151915283836040516200087b929190918252602082015260400190565b60405180910390a250505b6001600160a01b03821615620006af576001600160a01b038216600090815260086020908152604082208291620008ca919062000506901b62000e7417856200051d565b91509150836001600160a01b031660008051602062002ca5833981519152838360405162000902929190918252602082015260400190565b60405180910390a25050505050565b600062000514828462000abb565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200094a57607f821691505b6020821081036200096b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620006af57600081815260208120601f850160051c810160208610156200099a5750805b601f850160051c820191505b81811015620009bb57828155600101620009a6565b505050505050565b81516001600160401b03811115620009df57620009df6200091f565b620009f781620009f0845462000935565b8462000971565b602080601f83116001811462000a2f576000841562000a165750858301515b600019600386901b1c1916600185901b178555620009bb565b600085815260208120601f198616915b8281101562000a605788860151825594840194600190910190840162000a3f565b508582101562000a7f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b8082018082111562000517576200051762000a8f565b8181038181111562000517576200051762000a8f565b60805160a05160c05160e05161010051610120516101405161217962000b2c600039600061117801526000611285015260006112d4015260006112af01526000611208015260006112320152600061125c01526121796000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c80637ecebe001161010f578063ae06c1b7116100a2578063dd62ed3e11610071578063dd62ed3e14610442578063e74b981b14610455578063f1127ed814610468578063f2fde38b146104a557600080fd5b8063ae06c1b7146103e6578063c3cda520146103f9578063d505accf1461040c578063d8b83a8a1461041f57600080fd5b80639ab24eb0116100de5780639ab24eb0146103a4578063a001ecdd146103b7578063a457c2d7146103c0578063a9059cbb146103d357600080fd5b80637ecebe00146103655780638da5cb5b146103785780638e539e8c1461038957806395d89b411461039c57600080fd5b80633a46b1a8116101875780636fcfff45116101565780636fcfff45146102f957806370a0823114610321578063715018a61461034a578063751fd1791461035257600080fd5b80633a46b1a81461027a578063469048401461028d578063587cde1e146102b85780635c19a95c146102e457600080fd5b806323b872dd116101c357806323b872dd1461023d578063313ce567146102505780633644e5151461025f578063395093511461026757600080fd5b806306fdde03146101ea578063095ea7b31461020857806318160ddd1461022b575b600080fd5b6101f26104b8565b6040516101ff9190611ddd565b60405180910390f35b61021b610216366004611e47565b61054a565b60405190151581526020016101ff565b6002545b6040519081526020016101ff565b61021b61024b366004611e71565b610564565b604051601281526020016101ff565b61022f610584565b61021b610275366004611e47565b610593565b61022f610288366004611e47565b6105b5565b600d546102a0906001600160a01b031681565b6040516001600160a01b0390911681526020016101ff565b6102a06102c6366004611ead565b6001600160a01b039081166000908152600760205260409020541690565b6102f76102f2366004611ead565b610634565b005b61030c610307366004611ead565b610641565b60405163ffffffff90911681526020016101ff565b61022f61032f366004611ead565b6001600160a01b031660009081526020819052604090205490565b6102f7610663565b6102f7610360366004611ec8565b610677565b61022f610373366004611ead565b6106aa565b600a546001600160a01b03166102a0565b61022f610397366004611f04565b6106c8565b6101f2610724565b61022f6103b2366004611ead565b610733565b61022f600c5481565b61021b6103ce366004611e47565b6107ba565b61021b6103e1366004611e47565b610840565b6102f76103f4366004611f04565b61084d565b6102f7610407366004611f2e565b6108da565b6102f761041a366004611f86565b610a10565b61021b61042d366004611ead565b600b6020526000908152604090205460ff1681565b61022f610450366004611ff0565b610b74565b6102f7610463366004611ead565b610b9f565b61047b610476366004612023565b610c1f565b60408051825163ffffffff1681526020928301516001600160e01b031692810192909252016101ff565b6102f76104b3366004611ead565b610ca3565b6060600380546104c790612058565b80601f01602080910402602001604051908101604052809291908181526020018280546104f390612058565b80156105405780601f1061051557610100808354040283529160200191610540565b820191906000526020600020905b81548152906001019060200180831161052357829003601f168201915b5050505050905090565b600033610558818585610f95565b60019150505b92915050565b60006105718433846110b9565b61057c84848461112d565b949350505050565b600061058e6111fb565b905090565b6000336105588185856105a68383610b74565b6105b091906120a2565b610f95565b600043821061060b5760405162461bcd60e51b815260206004820152601f60248201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e65640060448201526064015b60405180910390fd5b6001600160a01b038316600090815260086020526040902061062d9083611322565b9392505050565b61063e3382611419565b50565b6001600160a01b03811660009081526008602052604081205461055e90610eed565b61066b611492565b61067560006114ec565b565b61067f611492565b6001600160a01b03919091166000908152600b60205260409020805460ff1916911515919091179055565b6001600160a01b03811660009081526005602052604081205461055e565b60004382106107195760405162461bcd60e51b815260206004820152601f60248201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e6564006044820152606401610602565b61055e600983611322565b6060600480546104c790612058565b6001600160a01b03811660009081526008602052604081205480156107a7576001600160a01b03831660009081526008602052604090206107756001836120b5565b81548110610785576107856120c8565b60009182526020909120015464010000000090046001600160e01b03166107aa565b60005b6001600160e01b03169392505050565b600033816107c88286610b74565b9050838110156108285760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610602565b6108358286868403610f95565b506001949350505050565b600061062d33848461112d565b610855611492565b603281111561089f5760405162461bcd60e51b81526020600482015260166024820152754665652063616e6e6f742065786365656420302e352560501b6044820152606401610602565b600c8190556040518181527f97e97c577f03bda90e2c9739011ec065ed5fbfb36ae217d20bb0d9be95e160cd9060200160405180910390a150565b8342111561092a5760405162461bcd60e51b815260206004820152601d60248201527f4552433230566f7465733a207369676e617475726520657870697265640000006044820152606401610602565b604080517fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60208201526001600160a01b0388169181019190915260608101869052608081018590526000906109a49061099c9060a0016040516020818303038152906040528051906020012061153e565b85858561158c565b90506109af816115b4565b86146109fd5760405162461bcd60e51b815260206004820152601960248201527f4552433230566f7465733a20696e76616c6964206e6f6e6365000000000000006044820152606401610602565b610a078188611419565b50505050505050565b83421115610a605760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610602565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888610a8f8c6115b4565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610aea8261153e565b90506000610afa8287878761158c565b9050896001600160a01b0316816001600160a01b031614610b5d5760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610602565b610b688a8a8a610f95565b50505050505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610ba7611492565b6001600160a01b038116610bfd5760405162461bcd60e51b815260206004820152601c60248201527f43616e2774206368616e676520746f207a65726f2061646472657373000000006044820152606401610602565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b60408051808201909152600080825260208201526001600160a01b0383166000908152600860205260409020805463ffffffff8416908110610c6357610c636120c8565b60009182526020918290206040805180820190915291015463ffffffff8116825264010000000090046001600160e01b0316918101919091529392505050565b610cab611492565b6001600160a01b038116610d105760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610602565b61063e816114ec565b610d238282610da9565b6002546001600160e01b031015610d955760405162461bcd60e51b815260206004820152603060248201527f4552433230566f7465733a20746f74616c20737570706c79207269736b73206f60448201526f766572666c6f77696e6720766f74657360801b6064820152608401610602565b610da36009610e74836115dc565b50505050565b6001600160a01b038216610dff5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610602565b8060026000828254610e1191906120a2565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610e7060008383611730565b5050565b600061062d82846120a2565b60006001600160e01b03821115610ee95760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b6064820152608401610602565b5090565b600063ffffffff821115610ee95760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b6064820152608401610602565b6001600160a01b03838116600090815260076020526040808220548584168352912054610f849291821691168361173b565b505050565b600061062d82846120b5565b6001600160a01b038316610ff75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610602565b6001600160a01b0382166110585760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610602565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006110c58484610b74565b90506000198114610da357818110156111205760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610602565b610da38484848403610f95565b6001600160a01b0383166000908152600b602052604081205460ff1615801561116f57506001600160a01b0383166000908152600b602052604090205460ff16155b156111e65760007f0000000000000000000000000000000000000000000000000000000000000000600c54846111a591906120de565b6111af919061210b565b905080156111d557600d546111cf9086906001600160a01b031683611878565b80830392505b6111e0858585611878565b506111f1565b6111f1848484611878565b5060019392505050565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561125457507f000000000000000000000000000000000000000000000000000000000000000046145b1561127e57507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b81546000908181600581111561137c57600061133d84611a22565b61134790856120b5565b600088815260209020909150869082015463ffffffff16111561136c5780915061137a565b6113778160016120a2565b92505b505b808210156113c95760006113908383611b0a565b600088815260209020909150869082015463ffffffff1611156113b5578091506113c3565b6113c08160016120a2565b92505b5061137c565b8015611403576113ec866113de6001846120b5565b600091825260209091200190565b5464010000000090046001600160e01b0316611406565b60005b6001600160e01b03169695505050505050565b6001600160a01b038281166000818152600760208181526040808420805485845282862054949093528787166001600160a01b03198416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4610da382848361173b565b600a546001600160a01b031633146106755760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610602565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061055e61154b6111fb565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061159d87878787611b25565b915091506115aa81611be9565b5095945050505050565b6001600160a01b03811660009081526005602052604090208054600181018255905b50919050565b82546000908190818115611629576115f9876113de6001856120b5565b60408051808201909152905463ffffffff8116825264010000000090046001600160e01b0316602082015261163e565b60408051808201909152600080825260208201525b905080602001516001600160e01b0316935061165e84868863ffffffff16565b92506000821180156116765750805163ffffffff1643145b156116bb5761168483610e80565b611693886113de6001866120b5565b80546001600160e01b03929092166401000000000263ffffffff909216919091179055611726565b8660405180604001604052806116d043610eed565b63ffffffff1681526020016116e486610e80565b6001600160e01b0390811690915282546001810184556000938452602093849020835194909301519091166401000000000263ffffffff909316929092179101555b5050935093915050565b610f84838383610f52565b816001600160a01b0316836001600160a01b03161415801561175d5750600081115b15610f84576001600160a01b038316156117eb576001600160a01b0383166000908152600860205260408120819061179890610f89856115dc565b91509150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a72483836040516117e0929190918252602082015260400190565b60405180910390a250505b6001600160a01b03821615610f84576001600160a01b0382166000908152600860205260408120819061182190610e74856115dc565b91509150836001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051611869929190918252602082015260400190565b60405180910390a25050505050565b6001600160a01b0383166118dc5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610602565b6001600160a01b03821661193e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610602565b6001600160a01b038316600090815260208190526040902054818110156119b65760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610602565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610da3848484611730565b600081600003611a3457506000919050565b60006001611a4184611d33565b901c6001901b90506001818481611a5a57611a5a6120f5565b048201901c90506001818481611a7257611a726120f5565b048201901c90506001818481611a8a57611a8a6120f5565b048201901c90506001818481611aa257611aa26120f5565b048201901c90506001818481611aba57611aba6120f5565b048201901c90506001818481611ad257611ad26120f5565b048201901c90506001818481611aea57611aea6120f5565b048201901c905061062d81828581611b0457611b046120f5565b04611dc7565b6000611b19600284841861210b565b61062d908484166120a2565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611b5c5750600090506003611be0565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611bb0573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611bd957600060019250925050611be0565b9150600090505b94509492505050565b6000816004811115611bfd57611bfd61212d565b03611c055750565b6001816004811115611c1957611c1961212d565b03611c665760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610602565b6002816004811115611c7a57611c7a61212d565b03611cc75760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610602565b6003816004811115611cdb57611cdb61212d565b0361063e5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610602565b600080608083901c15611d4857608092831c92015b604083901c15611d5a57604092831c92015b602083901c15611d6c57602092831c92015b601083901c15611d7e57601092831c92015b600883901c15611d9057600892831c92015b600483901c15611da257600492831c92015b600283901c15611db457600292831c92015b600183901c1561055e5760010192915050565b6000818310611dd6578161062d565b5090919050565b600060208083528351808285015260005b81811015611e0a57858101830151858201604001528201611dee565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114611e4257600080fd5b919050565b60008060408385031215611e5a57600080fd5b611e6383611e2b565b946020939093013593505050565b600080600060608486031215611e8657600080fd5b611e8f84611e2b565b9250611e9d60208501611e2b565b9150604084013590509250925092565b600060208284031215611ebf57600080fd5b61062d82611e2b565b60008060408385031215611edb57600080fd5b611ee483611e2b565b915060208301358015158114611ef957600080fd5b809150509250929050565b600060208284031215611f1657600080fd5b5035919050565b803560ff81168114611e4257600080fd5b60008060008060008060c08789031215611f4757600080fd5b611f5087611e2b565b95506020870135945060408701359350611f6c60608801611f1d565b92506080870135915060a087013590509295509295509295565b600080600080600080600060e0888a031215611fa157600080fd5b611faa88611e2b565b9650611fb860208901611e2b565b95506040880135945060608801359350611fd460808901611f1d565b925060a0880135915060c0880135905092959891949750929550565b6000806040838503121561200357600080fd5b61200c83611e2b565b915061201a60208401611e2b565b90509250929050565b6000806040838503121561203657600080fd5b61203f83611e2b565b9150602083013563ffffffff81168114611ef957600080fd5b600181811c9082168061206c57607f821691505b6020821081036115d657634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8082018082111561055e5761055e61208c565b8181038181111561055e5761055e61208c565b634e487b7160e01b600052603260045260246000fd5b808202811582820484141761055e5761055e61208c565b634e487b7160e01b600052601260045260246000fd5b60008261212857634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052602160045260246000fdfea2646970667358221220fdd6c15f2b121f7141a184f65ccef3459f26993b616bc73a5af80844cb1fb99264736f6c63430008110033dec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724

Deployed ByteCode Sourcemap

104887:3759:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;80216:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;82567:201;;;;;;:::i;:::-;;:::i;:::-;;;1169:14:1;;1162:22;1144:41;;1132:2;1117:18;82567:201:0;1004:187:1;81336:108:0;81424:12;;81336:108;;;1342:25:1;;;1330:2;1315:18;81336:108:0;1196:177:1;106495:238:0;;;;;;:::i;:::-;;:::i;81178:93::-;;;81261:2;1853:36:1;;1841:2;1826:18;81178:93:0;1711:184:1;94223:115:0;;;:::i;84052:238::-;;;;;;:::i;:::-;;:::i;97425:268::-;;;;;;:::i;:::-;;:::i;105106:27::-;;;;;-1:-1:-1;;;;;105106:27:0;;;;;;-1:-1:-1;;;;;2246:32:1;;;2228:51;;2216:2;2201:18;105106:27:0;2082:203:1;96799:128:0;;;;;;:::i;:::-;-1:-1:-1;;;;;96900:19:0;;;96873:7;96900:19;;;:10;:19;;;;;;;;96799:128;100311:114;;;;;;:::i;:::-;;:::i;:::-;;96555:151;;;;;;:::i;:::-;;:::i;:::-;;;2655:10:1;2643:23;;;2625:42;;2613:2;2598:18;96555:151:0;2481:192:1;81507:127:0;;;;;;:::i;:::-;-1:-1:-1;;;;;81608:18:0;81581:7;81608:18;;;;;;;;;;;;81507:127;73641:103;;;:::i;107776:163::-;;;;;;:::i;:::-;;:::i;93965:128::-;;;;;;:::i;:::-;;:::i;72993:87::-;73066:6;;-1:-1:-1;;;;;73066:6:0;72993:87;;97982:259;;;;;;:::i;:::-;;:::i;80435:104::-;;;:::i;97011:212::-;;;;;;:::i;:::-;;:::i;105002:32::-;;;;;;84793:436;;;;;;:::i;:::-;;:::i;106315:172::-;;;;;;:::i;:::-;;:::i;107371:196::-;;;;;;:::i;:::-;;:::i;100507:591::-;;;;;;:::i;:::-;;:::i;93254:645::-;;;;;;:::i;:::-;;:::i;104944:49::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;82096:151;;;;;;:::i;:::-;;:::i;107575:193::-;;;;;;:::i;:::-;;:::i;96325:150::-;;;;;;:::i;:::-;;:::i;:::-;;;;5367:13:1;;5382:10;5363:30;5345:49;;5454:4;5442:17;;;5436:24;-1:-1:-1;;;;;5432:50:1;5410:20;;;5403:80;;;;5318:18;96325:150:0;5143:346:1;73899:201:0;;;;;;:::i;:::-;;:::i;80216:100::-;80270:13;80303:5;80296:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;80216:100;:::o;82567:201::-;82650:4;71624:10;82706:32;71624:10;82722:7;82731:6;82706:8;:32::i;:::-;82756:4;82749:11;;;82567:201;;;;;:::o;106495:238::-;106618:4;106635:41;106651:4;106657:10;106669:6;106635:15;:41::i;:::-;106694:31;106708:4;106714:2;106718:6;106694:13;:31::i;:::-;106687:38;106495:238;-1:-1:-1;;;;106495:238:0:o;94223:115::-;94283:7;94310:20;:18;:20::i;:::-;94303:27;;94223:115;:::o;84052:238::-;84140:4;71624:10;84196:64;71624:10;84212:7;84249:10;84221:25;71624:10;84212:7;84221:9;:25::i;:::-;:38;;;;:::i;:::-;84196:8;:64::i;97425:268::-;97523:7;97565:12;97551:11;:26;97543:70;;;;-1:-1:-1;;;97543:70:0;;6343:2:1;97543:70:0;;;6325:21:1;6382:2;6362:18;;;6355:30;6421:33;6401:18;;;6394:61;6472:18;;97543:70:0;;;;;;;;;-1:-1:-1;;;;;97650:21:0;;;;;;:12;:21;;;;;97631:54;;97673:11;97631:18;:54::i;:::-;97624:61;97425:268;-1:-1:-1;;;97425:268:0:o;100311:114::-;100383:34;71624:10;100407:9;100383;:34::i;:::-;100311:114;:::o;96555:151::-;-1:-1:-1;;;;;96669:21:0;;96625:6;96669:21;;;:12;:21;;;;;:28;96651:47;;:17;:47::i;73641:103::-;72879:13;:11;:13::i;:::-;73706:30:::1;73733:1;73706:18;:30::i;:::-;73641:103::o:0;107776:163::-;72879:13;:11;:13::i;:::-;-1:-1:-1;;;;;107890:27:0;;;::::1;;::::0;;;:17:::1;:27;::::0;;;;:41;;-1:-1:-1;;107890:41:0::1;::::0;::::1;;::::0;;;::::1;::::0;;107776:163::o;93965:128::-;-1:-1:-1;;;;;94061:14:0;;94034:7;94061:14;;;:7;:14;;;;;39405;94061:24;39313:114;97982:259;98069:7;98111:12;98097:11;:26;98089:70;;;;-1:-1:-1;;;98089:70:0;;6343:2:1;98089:70:0;;;6325:21:1;6382:2;6362:18;;;6355:30;6421:33;6401:18;;;6394:61;6472:18;;98089:70:0;6141:355:1;98089:70:0;98177:56;98196:23;98221:11;98177:18;:56::i;80435:104::-;80491:13;80524:7;80517:14;;;;;:::i;97011:212::-;-1:-1:-1;;;;;97118:21:0;;97084:7;97118:21;;;:12;:21;;;;;:28;97164:8;;:51;;-1:-1:-1;;;;;97179:21:0;;;;;;:12;:21;;;;;97201:7;97207:1;97201:3;:7;:::i;:::-;97179:30;;;;;;;;:::i;:::-;;;;;;;;;;:36;;;;-1:-1:-1;;;;;97179:36:0;97164:51;;;97175:1;97164:51;-1:-1:-1;;;;;97157:58:0;;97011:212;-1:-1:-1;;;97011:212:0:o;84793:436::-;84886:4;71624:10;84886:4;84969:25;71624:10;84986:7;84969:9;:25::i;:::-;84942:52;;85033:15;85013:16;:35;;85005:85;;;;-1:-1:-1;;;85005:85:0;;6968:2:1;85005:85:0;;;6950:21:1;7007:2;6987:18;;;6980:30;7046:34;7026:18;;;7019:62;-1:-1:-1;;;7097:18:1;;;7090:35;7142:19;;85005:85:0;6766:401:1;85005:85:0;85126:60;85135:5;85142:7;85170:15;85151:16;:34;85126:8;:60::i;:::-;-1:-1:-1;85217:4:0;;84793:436;-1:-1:-1;;;;84793:436:0:o;106315:172::-;106413:4;106442:37;106456:10;106468:2;106472:6;106442:13;:37::i;107371:196::-;72879:13;:11;:13::i;:::-;107457:2:::1;107449:4;:10;;107441:45;;;::::0;-1:-1:-1;;;107441:45:0;;7374:2:1;107441:45:0::1;::::0;::::1;7356:21:1::0;7413:2;7393:18;;;7386:30;-1:-1:-1;;;7432:18:1;;;7425:52;7494:18;;107441:45:0::1;7172:346:1::0;107441:45:0::1;107497:13;:20:::0;;;107533:26:::1;::::0;1342:25:1;;;107533:26:0::1;::::0;1330:2:1;1315:18;107533:26:0::1;;;;;;;107371:196:::0;:::o;100507:591::-;100734:6;100715:15;:25;;100707:67;;;;-1:-1:-1;;;100707:67:0;;7725:2:1;100707:67:0;;;7707:21:1;7764:2;7744:18;;;7737:30;7803:31;7783:18;;;7776:59;7852:18;;100707:67:0;7523:353:1;100707:67:0;100857:58;;;96005:71;100857:58;;;8112:25:1;-1:-1:-1;;;;;8173:32:1;;8153:18;;;8146:60;;;;8222:18;;;8215:34;;;8265:18;;;8258:34;;;100785:14:0;;100802:174;;100830:87;;8084:19:1;;100857:58:0;;;;;;;;;;;;100847:69;;;;;;100830:16;:87::i;:::-;100932:1;100948;100964;100802:13;:174::i;:::-;100785:191;;101004:17;101014:6;101004:9;:17::i;:::-;100995:5;:26;100987:64;;;;-1:-1:-1;;;100987:64:0;;8505:2:1;100987:64:0;;;8487:21:1;8544:2;8524:18;;;8517:30;8583:27;8563:18;;;8556:55;8628:18;;100987:64:0;8303:349:1;100987:64:0;101062:28;101072:6;101080:9;101062;:28::i;:::-;100696:402;100507:591;;;;;;:::o;93254:645::-;93498:8;93479:15;:27;;93471:69;;;;-1:-1:-1;;;93471:69:0;;8859:2:1;93471:69:0;;;8841:21:1;8898:2;8878:18;;;8871:30;8937:31;8917:18;;;8910:59;8986:18;;93471:69:0;8657:353:1;93471:69:0;93553:18;92429:95;93613:5;93620:7;93629:5;93636:16;93646:5;93636:9;:16::i;:::-;93584:79;;;;;;9302:25:1;;;;-1:-1:-1;;;;;9401:15:1;;;9381:18;;;9374:43;9453:15;;;;9433:18;;;9426:43;9485:18;;;9478:34;9528:19;;;9521:35;9572:19;;;9565:35;;;9274:19;;93584:79:0;;;;;;;;;;;;93574:90;;;;;;93553:111;;93677:12;93692:28;93709:10;93692:16;:28::i;:::-;93677:43;;93733:14;93750:28;93764:4;93770:1;93773;93776;93750:13;:28::i;:::-;93733:45;;93807:5;-1:-1:-1;;;;;93797:15:0;:6;-1:-1:-1;;;;;93797:15:0;;93789:58;;;;-1:-1:-1;;;93789:58:0;;9813:2:1;93789:58:0;;;9795:21:1;9852:2;9832:18;;;9825:30;9891:32;9871:18;;;9864:60;9941:18;;93789:58:0;9611:354:1;93789:58:0;93860:31;93869:5;93876:7;93885:5;93860:8;:31::i;:::-;93460:439;;;93254:645;;;;;;;:::o;82096:151::-;-1:-1:-1;;;;;82212:18:0;;;82185:7;82212:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;82096:151::o;107575:193::-;72879:13;:11;:13::i;:::-;-1:-1:-1;;;;;107661:27:0;::::1;107653:68;;;::::0;-1:-1:-1;;;107653:68:0;;10172:2:1;107653:68:0::1;::::0;::::1;10154:21:1::0;10211:2;10191:18;;;10184:30;10250;10230:18;;;10223:58;10298:18;;107653:68:0::1;9970:352:1::0;107653:68:0::1;107732:12;:28:::0;;-1:-1:-1;;;;;;107732:28:0::1;-1:-1:-1::0;;;;;107732:28:0;;;::::1;::::0;;;::::1;::::0;;107575:193::o;96325:150::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;96441:21:0;;;;;;:12;:21;;;;;:26;;;;;;;;;;;;:::i;:::-;;;;;;;;;;96434:33;;;;;;;;;96441:26;;96434:33;;;;;;;;;-1:-1:-1;;;;;96434:33:0;;;;;;;;;96325:150;-1:-1:-1;;;96325:150:0:o;73899:201::-;72879:13;:11;:13::i;:::-;-1:-1:-1;;;;;73988:22:0;::::1;73980:73;;;::::0;-1:-1:-1;;;73980:73:0;;10529:2:1;73980:73:0::1;::::0;::::1;10511:21:1::0;10568:2;10548:18;;;10541:30;10607:34;10587:18;;;10580:62;-1:-1:-1;;;10658:18:1;;;10651:36;10704:19;;73980:73:0::1;10327:402:1::0;73980:73:0::1;74064:28;74083:8;74064:18;:28::i;101404:290::-:0;101489:28;101501:7;101510:6;101489:11;:28::i;:::-;81424:12;;-1:-1:-1;;;;;;101536:29:0;101528:90;;;;-1:-1:-1;;;101528:90:0;;10936:2:1;101528:90:0;;;10918:21:1;10975:2;10955:18;;;10948:30;11014:34;10994:18;;;10987:62;-1:-1:-1;;;11065:18:1;;;11058:46;11121:19;;101528:90:0;10734:412:1;101528:90:0;101631:55;101648:23;101673:4;101679:6;101631:16;:55::i;:::-;;;101404:290;;:::o;86826:548::-;-1:-1:-1;;;;;86910:21:0;;86902:65;;;;-1:-1:-1;;;86902:65:0;;11353:2:1;86902:65:0;;;11335:21:1;11392:2;11372:18;;;11365:30;11431:33;11411:18;;;11404:61;11482:18;;86902:65:0;11151:355:1;86902:65:0;87058:6;87042:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;87213:18:0;;:9;:18;;;;;;;;;;;:28;;;;;;87268:37;1342:25:1;;;87268:37:0;;1315:18:1;87268:37:0;;;;;;;87318:48;87346:1;87350:7;87359:6;87318:19;:48::i;:::-;86826:548;;:::o;104357:98::-;104415:7;104442:5;104446:1;104442;:5;:::i;2983:195::-;3040:7;-1:-1:-1;;;;;3068:26:0;;;3060:78;;;;-1:-1:-1;;;3060:78:0;;11713:2:1;3060:78:0;;;11695:21:1;11752:2;11732:18;;;11725:30;11791:34;11771:18;;;11764:62;-1:-1:-1;;;11842:18:1;;;11835:37;11889:19;;3060:78:0;11511:403:1;3060:78:0;-1:-1:-1;3164:5:0;2983:195::o;15819:190::-;15875:6;15911:16;15902:25;;;15894:76;;;;-1:-1:-1;;;15894:76:0;;12121:2:1;15894:76:0;;;12103:21:1;12160:2;12140:18;;;12133:30;12199:34;12179:18;;;12172:62;-1:-1:-1;;;12250:18:1;;;12243:36;12296:19;;15894:76:0;11919:402:1;102129:262:0;-1:-1:-1;;;;;96900:19:0;;;96873:7;96900:19;;;:10;:19;;;;;;;;;;;;;;;102327:56;;96900:19;;;;;102376:6;102327:16;:56::i;:::-;102129:262;;;:::o;104463:103::-;104526:7;104553:5;104557:1;104553;:5;:::i;88820:380::-;-1:-1:-1;;;;;88956:19:0;;88948:68;;;;-1:-1:-1;;;88948:68:0;;12528:2:1;88948:68:0;;;12510:21:1;12567:2;12547:18;;;12540:30;12606:34;12586:18;;;12579:62;-1:-1:-1;;;12657:18:1;;;12650:34;12701:19;;88948:68:0;12326:400:1;88948:68:0;-1:-1:-1;;;;;89035:21:0;;89027:68;;;;-1:-1:-1;;;89027:68:0;;12933:2:1;89027:68:0;;;12915:21:1;12972:2;12952:18;;;12945:30;13011:34;12991:18;;;12984:62;-1:-1:-1;;;13062:18:1;;;13055:32;13104:19;;89027:68:0;12731:398:1;89027:68:0;-1:-1:-1;;;;;89108:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;89160:32;;1342:25:1;;;89160:32:0;;1315:18:1;89160:32:0;;;;;;;88820:380;;;:::o;89491:453::-;89626:24;89653:25;89663:5;89670:7;89653:9;:25::i;:::-;89626:52;;-1:-1:-1;;89693:16:0;:37;89689:248;;89775:6;89755:16;:26;;89747:68;;;;-1:-1:-1;;;89747:68:0;;13336:2:1;89747:68:0;;;13318:21:1;13375:2;13355:18;;;13348:30;13414:31;13394:18;;;13387:59;13463:18;;89747:68:0;13134:353:1;89747:68:0;89859:51;89868:5;89875:7;89903:6;89884:16;:25;89859:8;:51::i;106741:581::-;-1:-1:-1;;;;;108036:27:0;;106858:4;108036:27;;;:17;:27;;;;;;;;108035:28;106879:40;;;;-1:-1:-1;;;;;;108036:27:0;;108011:4;108036:27;;;:17;:27;;;;;;;;108035:28;106902:17;106875:418;;;106936:11;106977:10;106960:13;;106951:6;:22;;;;:::i;:::-;106950:37;;;;:::i;:::-;106936:51;-1:-1:-1;107008:7:0;;107004:174;;107052:12;;107036:34;;107046:4;;-1:-1:-1;;;;;107052:12:0;107066:3;107036:9;:34::i;:::-;107140:3;107131:6;:12;107122:21;;107004:174;107194:27;107204:4;107210:2;107214:6;107194:9;:27::i;:::-;106921:312;106875:418;;;107254:27;107264:4;107270:2;107274:6;107254:9;:27::i;:::-;-1:-1:-1;107310:4:0;106741:581;;;;;:::o;67099:314::-;67152:7;67184:4;-1:-1:-1;;;;;67193:12:0;67176:29;;:66;;;;;67226:16;67209:13;:33;67176:66;67172:234;;;-1:-1:-1;67266:24:0;;67099:314::o;67172:234::-;-1:-1:-1;67602:73:0;;;67352:10;67602:73;;;;16109:25:1;;;;67364:12:0;16150:18:1;;;16143:34;67378:15:0;16193:18:1;;;16186:34;67646:13:0;16236:18:1;;;16229:34;67669:4:0;16279:19:1;;;;16272:61;;;;67602:73:0;;;;;;;;;;16081:19:1;;;;67602:73:0;;;67592:84;;;;;;94223:115::o;98330:1895::-;99547:12;;98429:7;;;99547:12;99645:1;99636:10;;99632:251;;;99663:11;99686:17;99696:6;99686:9;:17::i;:::-;99677:26;;:6;:26;:::i;:::-;104660:25;104722:21;;;104789:4;104776:18;;99663:40;;-1:-1:-1;99760:11:0;;104772:28;;99722:35;;;:49;99718:154;;;99799:3;99792:10;;99718:154;;;99849:7;:3;99855:1;99849:7;:::i;:::-;99843:13;;99718:154;99648:235;99632:251;99908:4;99902:3;:10;99895:251;;;99929:11;99943:23;99956:3;99961:4;99943:12;:23::i;:::-;104660:25;104722:21;;;104789:4;104776:18;;99929:37;;-1:-1:-1;100023:11:0;;104772:28;;99985:35;;;:49;99981:154;;;100062:3;100055:10;;99981:154;;;100112:7;:3;100118:1;100112:7;:::i;:::-;100106:13;;99981:154;99914:232;99895:251;;;100165:9;;:52;;100181:30;100195:5;100202:8;100209:1;100202:4;:8;:::i;:::-;104660:25;104722:21;;;104789:4;104776:18;;;104772:28;;104574:244;100181:30;:36;;;;-1:-1:-1;;;;;100181:36:0;100165:52;;;100177:1;100165:52;-1:-1:-1;;;;;100158:59:0;;98330:1895;-1:-1:-1;;;;;;98330:1895:0:o;102569:388::-;-1:-1:-1;;;;;96900:19:0;;;102654:23;96900:19;;;:10;:19;;;;;;;;;;81608:18;;;;;;;102769:21;;;;:33;;;-1:-1:-1;;;;;;102769:33:0;;;;;;;102820:54;;96900:19;;;;;81608:18;;102769:33;;96900:19;;;102820:54;;102654:23;102820:54;102887:62;102904:15;102921:9;102932:16;102887;:62::i;73158:132::-;73066:6;;-1:-1:-1;;;;;73066:6:0;71624:10;73222:23;73214:68;;;;-1:-1:-1;;;73214:68:0;;14221:2:1;73214:68:0;;;14203:21:1;;;14240:18;;;14233:30;14299:34;14279:18;;;14272:62;14351:18;;73214:68:0;14019:356:1;74260:191:0;74353:6;;;-1:-1:-1;;;;;74370:17:0;;;-1:-1:-1;;;;;;74370:17:0;;;;;;;74403:40;;74353:6;;;74370:17;74353:6;;74403:40;;74334:16;;74403:40;74323:128;74260:191;:::o;68326:167::-;68403:7;68430:55;68452:20;:18;:20::i;:::-;68474:10;63793:57;;-1:-1:-1;;;63793:57:0;;;16602:27:1;16645:11;;;16638:27;;;16681:12;;;16674:28;;;63756:7:0;;16718:12:1;;63793:57:0;;;;;;;;;;;;63783:68;;;;;;63776:75;;63663:196;;;;;61972:279;62100:7;62121:17;62140:18;62162:25;62173:4;62179:1;62182;62185;62162:10;:25::i;:::-;62120:67;;;;62198:18;62210:5;62198:11;:18::i;:::-;-1:-1:-1;62234:9:0;61972:279;-1:-1:-1;;;;;61972:279:0:o;94476:207::-;-1:-1:-1;;;;;94597:14:0;;94536:15;94597:14;;;:7;:14;;;;;39405;;39542:1;39524:19;;;;39405:14;94658:17;94553:130;94476:207;;;:::o;103616:733::-;103853:12;;103790:17;;;;;103906:8;;:59;;103936:29;103950:5;103957:7;103963:1;103957:3;:7;:::i;103936:29::-;103906:59;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;103906:59:0;;;;;;;;103917:16;;;;;;;;;-1:-1:-1;103917:16:0;;;;;;;103906:59;103878:87;;103990:7;:13;;;-1:-1:-1;;;;;103978:25:0;;;104026:20;104029:9;104040:5;104026:2;:20;;:::i;:::-;104014:32;;104069:1;104063:3;:7;:44;;;;-1:-1:-1;104074:17:0;;:33;;104095:12;104074:33;104063:44;104059:283;;;104162:29;104181:9;104162:18;:29::i;:::-;104124;104138:5;104145:7;104151:1;104145:3;:7;:::i;104124:29::-;:67;;-1:-1:-1;;;;;104124:67:0;;;;;;;;;;;;;;;;104059:283;;;104224:5;104235:94;;;;;;;;104258:31;104276:12;104258:17;:31::i;:::-;104235:94;;;;;;104298:29;104317:9;104298:18;:29::i;:::-;-1:-1:-1;;;;;104235:94:0;;;;;;104224:106;;;;;;;-1:-1:-1;104224:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;104059:283;103828:521;;103616:733;;;;;;:::o;108123:204::-;108276:43;108302:4;108308:2;108312:6;108276:25;:43::i;102965:643::-;103097:3;-1:-1:-1;;;;;103090:10:0;:3;-1:-1:-1;;;;;103090:10:0;;;:24;;;;;103113:1;103104:6;:10;103090:24;103086:515;;;-1:-1:-1;;;;;103135:17:0;;;103131:224;;-1:-1:-1;;;;;103231:17:0;;103174;103231;;;:12;:17;;;;;103174;;103214:54;;103250:9;103261:6;103214:16;:54::i;:::-;103173:95;;;;103313:3;-1:-1:-1;;;;;103292:47:0;;103318:9;103329;103292:47;;;;;;14554:25:1;;;14610:2;14595:18;;14588:34;14542:2;14527:18;;14380:248;103292:47:0;;;;;;;;103154:201;;103131:224;-1:-1:-1;;;;;103375:17:0;;;103371:219;;-1:-1:-1;;;;;103471:17:0;;103414;103471;;;:12;:17;;;;;103414;;103454:49;;103490:4;103496:6;103454:16;:49::i;:::-;103413:90;;;;103548:3;-1:-1:-1;;;;;103527:47:0;;103553:9;103564;103527:47;;;;;;14554:25:1;;;14610:2;14595:18;;14588:34;14542:2;14527:18;;14380:248;103527:47:0;;;;;;;;103394:196;;102965:643;;;:::o;85699:840::-;-1:-1:-1;;;;;85830:18:0;;85822:68;;;;-1:-1:-1;;;85822:68:0;;14835:2:1;85822:68:0;;;14817:21:1;14874:2;14854:18;;;14847:30;14913:34;14893:18;;;14886:62;-1:-1:-1;;;14964:18:1;;;14957:35;15009:19;;85822:68:0;14633:401:1;85822:68:0;-1:-1:-1;;;;;85909:16:0;;85901:64;;;;-1:-1:-1;;;85901:64:0;;15241:2:1;85901:64:0;;;15223:21:1;15280:2;15260:18;;;15253:30;15319:34;15299:18;;;15292:62;-1:-1:-1;;;15370:18:1;;;15363:33;15413:19;;85901:64:0;15039:399:1;85901:64:0;-1:-1:-1;;;;;86051:15:0;;86029:19;86051:15;;;;;;;;;;;86085:21;;;;86077:72;;;;-1:-1:-1;;;86077:72:0;;15645:2:1;86077:72:0;;;15627:21:1;15684:2;15664:18;;;15657:30;15723:34;15703:18;;;15696:62;-1:-1:-1;;;15774:18:1;;;15767:36;15820:19;;86077:72:0;15443:402:1;86077:72:0;-1:-1:-1;;;;;86185:15:0;;;:9;:15;;;;;;;;;;;86203:20;;;86185:38;;86403:13;;;;;;;;;;:23;;;;;;86455:26;;1342:25:1;;;86403:13:0;;86455:26;;1315:18:1;86455:26:0;;;;;;;86494:37;86514:4;86520:2;86524:6;86494:19;:37::i;46368:1673::-;46416:7;46440:1;46445;46440:6;46436:47;;-1:-1:-1;46470:1:0;;46368:1673;-1:-1:-1;46368:1673:0:o;46436:47::-;47174:14;47208:1;47197:7;47202:1;47197:4;:7::i;:::-;:12;;47191:1;:19;;47174:36;;47676:1;47665:6;47661:1;:10;;;;;:::i;:::-;;47652:6;:19;47651:26;;47642:35;;47726:1;47715:6;47711:1;:10;;;;;:::i;:::-;;47702:6;:19;47701:26;;47692:35;;47776:1;47765:6;47761:1;:10;;;;;:::i;:::-;;47752:6;:19;47751:26;;47742:35;;47826:1;47815:6;47811:1;:10;;;;;:::i;:::-;;47802:6;:19;47801:26;;47792:35;;47876:1;47865:6;47861:1;:10;;;;;:::i;:::-;;47852:6;:19;47851:26;;47842:35;;47926:1;47915:6;47911:1;:10;;;;;:::i;:::-;;47902:6;:19;47901:26;;47892:35;;47976:1;47965:6;47961:1;:10;;;;;:::i;:::-;;47952:6;:19;47951:26;;47942:35;;47999:23;48003:6;48015;48011:1;:10;;;;;:::i;:::-;;47999:3;:23::i;40769:156::-;40831:7;40906:11;40916:1;40907:5;;;40906:11;:::i;:::-;40896:21;;40897:5;;;40896:21;:::i;60313:1520::-;60444:7;;61378:66;61365:79;;61361:163;;;-1:-1:-1;61477:1:0;;-1:-1:-1;61481:30:0;61461:51;;61361:163;61638:24;;;61621:14;61638:24;;;;;;;;;16968:25:1;;;17041:4;17029:17;;17009:18;;;17002:45;;;;17063:18;;;17056:34;;;17106:18;;;17099:34;;;61638:24:0;;16940:19:1;;61638:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;61638:24:0;;-1:-1:-1;;61638:24:0;;;-1:-1:-1;;;;;;;61677:20:0;;61673:103;;61730:1;61734:29;61714:50;;;;;;;61673:103;61796:6;-1:-1:-1;61804:20:0;;-1:-1:-1;60313:1520:0;;;;;;;;:::o;55705:521::-;55783:20;55774:5;:29;;;;;;;;:::i;:::-;;55770:449;;55705:521;:::o;55770:449::-;55881:29;55872:5;:38;;;;;;;;:::i;:::-;;55868:351;;55927:34;;-1:-1:-1;;;55927:34:0;;17478:2:1;55927:34:0;;;17460:21:1;17517:2;17497:18;;;17490:30;17556:26;17536:18;;;17529:54;17600:18;;55927:34:0;17276:348:1;55868:351:0;55992:35;55983:5;:44;;;;;;;;:::i;:::-;;55979:240;;56044:41;;-1:-1:-1;;;56044:41:0;;17831:2:1;56044:41:0;;;17813:21:1;17870:2;17850:18;;;17843:30;17909:33;17889:18;;;17882:61;17960:18;;56044:41:0;17629:355:1;55979:240:0;56116:30;56107:5;:39;;;;;;;;:::i;:::-;;56103:116;;56163:44;;-1:-1:-1;;;56163:44:0;;18191:2:1;56163:44:0;;;18173:21:1;18230:2;18210:18;;;18203:30;18269:34;18249:18;;;18242:62;-1:-1:-1;;;18320:18:1;;;18313:32;18362:19;;56163:44:0;17989:398:1;48518:1019:0;48570:7;;48657:3;48648:12;;;:16;48644:102;;48695:3;48685:13;;;;48717;48644:102;48773:2;48764:11;;;:15;48760:99;;48810:2;48800:12;;;;48831;48760:99;48886:2;48877:11;;;:15;48873:99;;48923:2;48913:12;;;;48944;48873:99;48999:2;48990:11;;;:15;48986:99;;49036:2;49026:12;;;;49057;48986:99;49112:1;49103:10;;;:14;49099:96;;49148:1;49138:11;;;;49168;49099:96;49222:1;49213:10;;;:14;49209:96;;49258:1;49248:11;;;;49278;49209:96;49332:1;49323:10;;;:14;49319:96;;49368:1;49358:11;;;;49388;49319:96;49442:1;49433:10;;;:14;49429:66;;49478:1;49468:11;49523:6;48518:1019;-1:-1:-1;;48518:1019:0:o;40544:106::-;40602:7;40633:1;40629;:5;:13;;40641:1;40629:13;;;-1:-1:-1;40637:1:0;;40544:106;-1:-1:-1;40544:106:0:o;14:548:1:-;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;298:3;483:1;478:2;469:6;458:9;454:22;450:31;443:42;553:2;546;542:7;537:2;529:6;525:15;521:29;510:9;506:45;502:54;494:62;;;;14:548;;;;:::o;567:173::-;635:20;;-1:-1:-1;;;;;684:31:1;;674:42;;664:70;;730:1;727;720:12;664:70;567:173;;;:::o;745:254::-;813:6;821;874:2;862:9;853:7;849:23;845:32;842:52;;;890:1;887;880:12;842:52;913:29;932:9;913:29;:::i;:::-;903:39;989:2;974:18;;;;961:32;;-1:-1:-1;;;745:254:1:o;1378:328::-;1455:6;1463;1471;1524:2;1512:9;1503:7;1499:23;1495:32;1492:52;;;1540:1;1537;1530:12;1492:52;1563:29;1582:9;1563:29;:::i;:::-;1553:39;;1611:38;1645:2;1634:9;1630:18;1611:38;:::i;:::-;1601:48;;1696:2;1685:9;1681:18;1668:32;1658:42;;1378:328;;;;;:::o;2290:186::-;2349:6;2402:2;2390:9;2381:7;2377:23;2373:32;2370:52;;;2418:1;2415;2408:12;2370:52;2441:29;2460:9;2441:29;:::i;2678:347::-;2743:6;2751;2804:2;2792:9;2783:7;2779:23;2775:32;2772:52;;;2820:1;2817;2810:12;2772:52;2843:29;2862:9;2843:29;:::i;:::-;2833:39;;2922:2;2911:9;2907:18;2894:32;2969:5;2962:13;2955:21;2948:5;2945:32;2935:60;;2991:1;2988;2981:12;2935:60;3014:5;3004:15;;;2678:347;;;;;:::o;3030:180::-;3089:6;3142:2;3130:9;3121:7;3117:23;3113:32;3110:52;;;3158:1;3155;3148:12;3110:52;-1:-1:-1;3181:23:1;;3030:180;-1:-1:-1;3030:180:1:o;3215:156::-;3281:20;;3341:4;3330:16;;3320:27;;3310:55;;3361:1;3358;3351:12;3376:531;3478:6;3486;3494;3502;3510;3518;3571:3;3559:9;3550:7;3546:23;3542:33;3539:53;;;3588:1;3585;3578:12;3539:53;3611:29;3630:9;3611:29;:::i;:::-;3601:39;;3687:2;3676:9;3672:18;3659:32;3649:42;;3738:2;3727:9;3723:18;3710:32;3700:42;;3761:36;3793:2;3782:9;3778:18;3761:36;:::i;:::-;3751:46;;3844:3;3833:9;3829:19;3816:33;3806:43;;3896:3;3885:9;3881:19;3868:33;3858:43;;3376:531;;;;;;;;:::o;3912:606::-;4023:6;4031;4039;4047;4055;4063;4071;4124:3;4112:9;4103:7;4099:23;4095:33;4092:53;;;4141:1;4138;4131:12;4092:53;4164:29;4183:9;4164:29;:::i;:::-;4154:39;;4212:38;4246:2;4235:9;4231:18;4212:38;:::i;:::-;4202:48;;4297:2;4286:9;4282:18;4269:32;4259:42;;4348:2;4337:9;4333:18;4320:32;4310:42;;4371:37;4403:3;4392:9;4388:19;4371:37;:::i;:::-;4361:47;;4455:3;4444:9;4440:19;4427:33;4417:43;;4507:3;4496:9;4492:19;4479:33;4469:43;;3912:606;;;;;;;;;;:::o;4523:260::-;4591:6;4599;4652:2;4640:9;4631:7;4627:23;4623:32;4620:52;;;4668:1;4665;4658:12;4620:52;4691:29;4710:9;4691:29;:::i;:::-;4681:39;;4739:38;4773:2;4762:9;4758:18;4739:38;:::i;:::-;4729:48;;4523:260;;;;;:::o;4788:350::-;4855:6;4863;4916:2;4904:9;4895:7;4891:23;4887:32;4884:52;;;4932:1;4929;4922:12;4884:52;4955:29;4974:9;4955:29;:::i;:::-;4945:39;;5034:2;5023:9;5019:18;5006:32;5078:10;5071:5;5067:22;5060:5;5057:33;5047:61;;5104:1;5101;5094:12;5494:380;5573:1;5569:12;;;;5616;;;5637:61;;5691:4;5683:6;5679:17;5669:27;;5637:61;5744:2;5736:6;5733:14;5713:18;5710:38;5707:161;;5790:10;5785:3;5781:20;5778:1;5771:31;5825:4;5822:1;5815:15;5853:4;5850:1;5843:15;5879:127;5940:10;5935:3;5931:20;5928:1;5921:31;5971:4;5968:1;5961:15;5995:4;5992:1;5985:15;6011:125;6076:9;;;6097:10;;;6094:36;;;6110:18;;:::i;6501:128::-;6568:9;;;6589:11;;;6586:37;;;6603:18;;:::i;6634:127::-;6695:10;6690:3;6686:20;6683:1;6676:31;6726:4;6723:1;6716:15;6750:4;6747:1;6740:15;13492:168;13565:9;;;13596;;13613:15;;;13607:22;;13593:37;13583:71;;13634:18;;:::i;13665:127::-;13726:10;13721:3;13717:20;13714:1;13707:31;13757:4;13754:1;13747:15;13781:4;13778:1;13771:15;13797:217;13837:1;13863;13853:132;;13907:10;13902:3;13898:20;13895:1;13888:31;13942:4;13939:1;13932:15;13970:4;13967:1;13960:15;13853:132;-1:-1:-1;13999:9:1;;13797:217::o;17144:127::-;17205:10;17200:3;17196:20;17193:1;17186:31;17236:4;17233:1;17226:15;17260:4;17257:1;17250:15

Swarm Source

ipfs://fdd6c15f2b121f7141a184f65ccef3459f26993b616bc73a5af80844cb1fb992
Loading