ETH Price: $3,396.46 (+1.71%)

Token

YUBO 2.0 (YUBO)
 

Overview

Max Total Supply

4,200,000,000 YUBO

Holders

40

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
theschiller.eth
Balance
1,000,000 YUBO

Value
$0.00
0x376ffeff9820826a564a1ba05a464b9923862418
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
YUBO20

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-05-20
*/

// File: @openzeppelin/[email protected]/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/[email protected]/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/[email protected]/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/[email protected]/utils/introspection/IERC165.sol


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

pragma solidity ^0.8.0;

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

// File: @openzeppelin/[email protected]/utils/introspection/ERC165.sol


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

pragma solidity ^0.8.0;


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

// File: @openzeppelin/[email protected]/access/IAccessControl.sol


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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

// File: @openzeppelin/[email protected]/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/[email protected]/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/[email protected]/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/[email protected]/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/[email protected]/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/[email protected]/utils/StorageSlot.sol


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

pragma solidity ^0.8.0;

/**
 * @dev Library for reading and writing primitive types to specific storage slots.
 *
 * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
 * This library helps with reading and writing to such slots without the need for inline assembly.
 *
 * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
 *
 * Example usage to set ERC1967 implementation slot:
 * ```
 * contract ERC1967 {
 *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
 *
 *     function _getImplementation() internal view returns (address) {
 *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
 *     }
 *
 *     function _setImplementation(address newImplementation) internal {
 *         require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
 *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
 *     }
 * }
 * ```
 *
 * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._
 */
library StorageSlot {
    struct AddressSlot {
        address value;
    }

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

    /**
     * @dev Returns an `AddressSlot` with member `value` located at `slot`.
     */
    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BooleanSlot` with member `value` located at `slot`.
     */
    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.
     */
    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Uint256Slot` with member `value` located at `slot`.
     */
    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }
}

// File: @openzeppelin/[email protected]/utils/Arrays.sol


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

pragma solidity ^0.8.0;



/**
 * @dev Collection of functions related to array types.
 */
library Arrays {
    using StorageSlot for bytes32;

    /**
     * @dev Searches a sorted `array` and returns the first index that contains
     * a value greater or equal to `element`. If no such index exists (i.e. all
     * values in the array are strictly less than `element`), the array length is
     * returned. Time complexity O(log n).
     *
     * `array` is expected to be sorted in ascending order, and to contain no
     * repeated elements.
     */
    function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) {
        if (array.length == 0) {
            return 0;
        }

        uint256 low = 0;
        uint256 high = array.length;

        while (low < high) {
            uint256 mid = Math.average(low, high);

            // Note that mid will always be strictly less than high (i.e. it will be a valid array index)
            // because Math.average rounds down (it does integer division with truncation).
            if (unsafeAccess(array, mid).value > element) {
                high = mid;
            } else {
                low = mid + 1;
            }
        }

        // At this point `low` is the exclusive upper bound. We will return the inclusive upper bound.
        if (low > 0 && unsafeAccess(array, low - 1).value == element) {
            return low - 1;
        } else {
            return low;
        }
    }

    /**
     * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check.
     *
     * WARNING: Only use if you are certain `pos` is lower than the array length.
     */
    function unsafeAccess(address[] storage arr, uint256 pos) internal pure returns (StorageSlot.AddressSlot storage) {
        bytes32 slot;
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0, arr.slot)
            slot := add(keccak256(0, 0x20), pos)
        }
        return slot.getAddressSlot();
    }

    /**
     * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check.
     *
     * WARNING: Only use if you are certain `pos` is lower than the array length.
     */
    function unsafeAccess(bytes32[] storage arr, uint256 pos) internal pure returns (StorageSlot.Bytes32Slot storage) {
        bytes32 slot;
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0, arr.slot)
            slot := add(keccak256(0, 0x20), pos)
        }
        return slot.getBytes32Slot();
    }

    /**
     * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check.
     *
     * WARNING: Only use if you are certain `pos` is lower than the array length.
     */
    function unsafeAccess(uint256[] storage arr, uint256 pos) internal pure returns (StorageSlot.Uint256Slot storage) {
        bytes32 slot;
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0, arr.slot)
            slot := add(keccak256(0, 0x20), pos)
        }
        return slot.getUint256Slot();
    }
}

// File: @openzeppelin/[email protected]/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/[email protected]/security/Pausable.sol


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

pragma solidity ^0.8.0;


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

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

    bool private _paused;

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

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

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

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

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

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

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

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

// File: @openzeppelin/[email protected]/access/AccessControl.sol


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

pragma solidity ^0.8.0;





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

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

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

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

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

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

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

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

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

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

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

        _revokeRole(role, account);
    }

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

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

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

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

// File: @openzeppelin/[email protected]/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/[email protected]/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/[email protected]/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/[email protected]/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/[email protected]/token/ERC20/extensions/ERC20Votes.sol


// OpenZeppelin Contracts (last updated v4.8.1) (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;
    }

    /**
     * @dev Access an element of the array without performing bounds check. The position is assumed to be within bounds.
     */
    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: @openzeppelin/[email protected]/token/ERC20/extensions/ERC20Snapshot.sol


// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/extensions/ERC20Snapshot.sol)

pragma solidity ^0.8.0;




/**
 * @dev This contract extends an ERC20 token with a snapshot mechanism. When a snapshot is created, the balances and
 * total supply at the time are recorded for later access.
 *
 * This can be used to safely create mechanisms based on token balances such as trustless dividends or weighted voting.
 * In naive implementations it's possible to perform a "double spend" attack by reusing the same balance from different
 * accounts. By using snapshots to calculate dividends or voting power, those attacks no longer apply. It can also be
 * used to create an efficient ERC20 forking mechanism.
 *
 * Snapshots are created by the internal {_snapshot} function, which will emit the {Snapshot} event and return a
 * snapshot id. To get the total supply at the time of a snapshot, call the function {totalSupplyAt} with the snapshot
 * id. To get the balance of an account at the time of a snapshot, call the {balanceOfAt} function with the snapshot id
 * and the account address.
 *
 * NOTE: Snapshot policy can be customized by overriding the {_getCurrentSnapshotId} method. For example, having it
 * return `block.number` will trigger the creation of snapshot at the beginning of each new block. When overriding this
 * function, be careful about the monotonicity of its result. Non-monotonic snapshot ids will break the contract.
 *
 * Implementing snapshots for every block using this method will incur significant gas costs. For a gas-efficient
 * alternative consider {ERC20Votes}.
 *
 * ==== Gas Costs
 *
 * Snapshots are efficient. Snapshot creation is _O(1)_. Retrieval of balances or total supply from a snapshot is _O(log
 * n)_ in the number of snapshots that have been created, although _n_ for a specific account will generally be much
 * smaller since identical balances in subsequent snapshots are stored as a single entry.
 *
 * There is a constant overhead for normal ERC20 transfers due to the additional snapshot bookkeeping. This overhead is
 * only significant for the first transfer that immediately follows a snapshot for a particular account. Subsequent
 * transfers will have normal cost until the next snapshot, and so on.
 */

abstract contract ERC20Snapshot is ERC20 {
    // Inspired by Jordi Baylina's MiniMeToken to record historical balances:
    // https://github.com/Giveth/minime/blob/ea04d950eea153a04c51fa510b068b9dded390cb/contracts/MiniMeToken.sol

    using Arrays for uint256[];
    using Counters for Counters.Counter;

    // Snapshotted values have arrays of ids and the value corresponding to that id. These could be an array of a
    // Snapshot struct, but that would impede usage of functions that work on an array.
    struct Snapshots {
        uint256[] ids;
        uint256[] values;
    }

    mapping(address => Snapshots) private _accountBalanceSnapshots;
    Snapshots private _totalSupplySnapshots;

    // Snapshot ids increase monotonically, with the first value being 1. An id of 0 is invalid.
    Counters.Counter private _currentSnapshotId;

    /**
     * @dev Emitted by {_snapshot} when a snapshot identified by `id` is created.
     */
    event Snapshot(uint256 id);

    /**
     * @dev Creates a new snapshot and returns its snapshot id.
     *
     * Emits a {Snapshot} event that contains the same id.
     *
     * {_snapshot} is `internal` and you have to decide how to expose it externally. Its usage may be restricted to a
     * set of accounts, for example using {AccessControl}, or it may be open to the public.
     *
     * [WARNING]
     * ====
     * While an open way of calling {_snapshot} is required for certain trust minimization mechanisms such as forking,
     * you must consider that it can potentially be used by attackers in two ways.
     *
     * First, it can be used to increase the cost of retrieval of values from snapshots, although it will grow
     * logarithmically thus rendering this attack ineffective in the long term. Second, it can be used to target
     * specific accounts and increase the cost of ERC20 transfers for them, in the ways specified in the Gas Costs
     * section above.
     *
     * We haven't measured the actual numbers; if this is something you're interested in please reach out to us.
     * ====
     */
    function _snapshot() internal virtual returns (uint256) {
        _currentSnapshotId.increment();

        uint256 currentId = _getCurrentSnapshotId();
        emit Snapshot(currentId);
        return currentId;
    }

    /**
     * @dev Get the current snapshotId
     */
    function _getCurrentSnapshotId() internal view virtual returns (uint256) {
        return _currentSnapshotId.current();
    }

    /**
     * @dev Retrieves the balance of `account` at the time `snapshotId` was created.
     */
    function balanceOfAt(address account, uint256 snapshotId) public view virtual returns (uint256) {
        (bool snapshotted, uint256 value) = _valueAt(snapshotId, _accountBalanceSnapshots[account]);

        return snapshotted ? value : balanceOf(account);
    }

    /**
     * @dev Retrieves the total supply at the time `snapshotId` was created.
     */
    function totalSupplyAt(uint256 snapshotId) public view virtual returns (uint256) {
        (bool snapshotted, uint256 value) = _valueAt(snapshotId, _totalSupplySnapshots);

        return snapshotted ? value : totalSupply();
    }

    // Update balance and/or total supply snapshots before the values are modified. This is implemented
    // in the _beforeTokenTransfer hook, which is executed for _mint, _burn, and _transfer operations.
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, amount);

        if (from == address(0)) {
            // mint
            _updateAccountSnapshot(to);
            _updateTotalSupplySnapshot();
        } else if (to == address(0)) {
            // burn
            _updateAccountSnapshot(from);
            _updateTotalSupplySnapshot();
        } else {
            // transfer
            _updateAccountSnapshot(from);
            _updateAccountSnapshot(to);
        }
    }

    function _valueAt(uint256 snapshotId, Snapshots storage snapshots) private view returns (bool, uint256) {
        require(snapshotId > 0, "ERC20Snapshot: id is 0");
        require(snapshotId <= _getCurrentSnapshotId(), "ERC20Snapshot: nonexistent id");

        // When a valid snapshot is queried, there are three possibilities:
        //  a) The queried value was not modified after the snapshot was taken. Therefore, a snapshot entry was never
        //  created for this id, and all stored snapshot ids are smaller than the requested one. The value that corresponds
        //  to this id is the current one.
        //  b) The queried value was modified after the snapshot was taken. Therefore, there will be an entry with the
        //  requested id, and its value is the one to return.
        //  c) More snapshots were created after the requested one, and the queried value was later modified. There will be
        //  no entry for the requested id: the value that corresponds to it is that of the smallest snapshot id that is
        //  larger than the requested one.
        //
        // In summary, we need to find an element in an array, returning the index of the smallest value that is larger if
        // it is not found, unless said value doesn't exist (e.g. when all values are smaller). Arrays.findUpperBound does
        // exactly this.

        uint256 index = snapshots.ids.findUpperBound(snapshotId);

        if (index == snapshots.ids.length) {
            return (false, 0);
        } else {
            return (true, snapshots.values[index]);
        }
    }

    function _updateAccountSnapshot(address account) private {
        _updateSnapshot(_accountBalanceSnapshots[account], balanceOf(account));
    }

    function _updateTotalSupplySnapshot() private {
        _updateSnapshot(_totalSupplySnapshots, totalSupply());
    }

    function _updateSnapshot(Snapshots storage snapshots, uint256 currentValue) private {
        uint256 currentId = _getCurrentSnapshotId();
        if (_lastSnapshotId(snapshots.ids) < currentId) {
            snapshots.ids.push(currentId);
            snapshots.values.push(currentValue);
        }
    }

    function _lastSnapshotId(uint256[] storage ids) private view returns (uint256) {
        if (ids.length == 0) {
            return 0;
        } else {
            return ids[ids.length - 1];
        }
    }
}

// File: @openzeppelin/[email protected]/token/ERC20/extensions/ERC20Burnable.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)

pragma solidity ^0.8.0;



/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        _spendAllowance(account, _msgSender(), amount);
        _burn(account, amount);
    }
}

// File: contract-588224cf48.sol


pragma solidity ^0.8.9;








contract YUBO20 is ERC20, ERC20Burnable, ERC20Snapshot, AccessControl, Pausable, ERC20Permit, ERC20Votes {
    bytes32 public constant SNAPSHOT_ROLE = keccak256("SNAPSHOT_ROLE");
    bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE");

    constructor() ERC20("YUBO 2.0", "YUBO") ERC20Permit("YUBO 2.0") {
        _grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _grantRole(SNAPSHOT_ROLE, msg.sender);
        _grantRole(PAUSER_ROLE, msg.sender);
        _mint(msg.sender, 4200000000 * 10 ** decimals());
    }

    function snapshot() public onlyRole(SNAPSHOT_ROLE) {
        _snapshot();
    }

    function pause() public onlyRole(PAUSER_ROLE) {
        _pause();
    }

    function unpause() public onlyRole(PAUSER_ROLE) {
        _unpause();
    }

    function _beforeTokenTransfer(address from, address to, uint256 amount)
        internal
        whenNotPaused
        override(ERC20, ERC20Snapshot)
    {
        super._beforeTokenTransfer(from, to, amount);
    }

    // The following functions are overrides required by Solidity.

    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":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Snapshot","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SNAPSHOT_ROLE","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":"uint256","name":"snapshotId","type":"uint256"}],"name":"balanceOfAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","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":[{"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":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"snapshot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"snapshotId","type":"uint256"}],"name":"totalSupplyAt","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":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101406040523480156200001257600080fd5b506040518060400160405280600881526020016705955424f20322e360c41b81525080604051806040016040528060018152602001603160f81b8152506040518060400160405280600881526020016705955424f20322e360c41b815250604051806040016040528060048152602001635955424f60e01b81525081600390816200009e919062000af4565b506004620000ad828262000af4565b5050600a805460ff1916905550815160209283012081519183019190912060e08290526101008190524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818801819052818301969096526060810194909452608080850193909352308483018190528151808603909301835260c094850190915281519190950120905291909152610120525062000157600033620001de565b620001837f5fdbd35e8da83ee755d5e62a539e5ed7f47126abede0b8b10f9ea43dc6eed07f33620001de565b620001af7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33620001de565b620001d833620001c26012600a62000cd3565b620001d29063fa56ea0062000ce4565b62000269565b62000d40565b620001ea828262000280565b620002655760008281526009602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620002243390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b620002658282620002ad60201b62000ea61760201c565b60008281526009602090815260408083206001600160a01b038516845290915290205460ff165b92915050565b620002c482826200036460201b62000f361760201c565b6001600160e01b03620002d86200043f8216565b1115620003455760405162461bcd60e51b815260206004820152603060248201527f4552433230566f7465733a20746f74616c20737570706c79207269736b73206f60448201526f766572666c6f77696e6720766f74657360801b60648201526084015b60405180910390fd5b6200035e600f620010096200044560201b17836200045a565b50505050565b6001600160a01b038216620003bc5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016200033c565b620003ca60008383620005ec565b8060026000828254620003de919062000cfe565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3620002656000838362000613565b60025490565b600062000453828462000cfe565b9392505050565b82546000908190818115620004ba5762000489876200047b60018562000d14565b600091825260209091200190565b60408051808201909152905463ffffffff8116825264010000000090046001600160e01b03166020820152620004cf565b60408051808201909152600080825260208201525b905080602001516001600160e01b03169350620004ed84868860201c565b9250600082118015620005065750805163ffffffff1643145b156200055d5762000522836200062b60201b620010151760201c565b62000534886200047b60018662000d14565b80546001600160e01b03929092166401000000000263ffffffff909216919091179055620005e2565b8660405180604001604052806200057f436200069a60201b620010821760201c565b63ffffffff168152602001620005a0866200062b60201b620010151760201c565b6001600160e01b0390811690915282546001810184556000938452602093849020835194909301519091166401000000000263ffffffff909316929092179101555b5050935093915050565b620005f662000701565b6200060e8383836200074b60201b620010e71760201c565b505050565b6200060e838383620007b760201b6200112f1760201c565b60006001600160e01b03821115620006965760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b60648201526084016200033c565b5090565b600063ffffffff821115620006965760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b60648201526084016200033c565b600a5460ff1615620007495760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016200033c565b565b620007638383836200060e60201b620006d91760201c565b6001600160a01b03831662000787576200077d8262000803565b6200060e6200083b565b6001600160a01b038216620007a1576200077d8362000803565b620007ac8362000803565b6200060e8262000803565b620007cf8383836200060e60201b620006d91760201c565b6001600160a01b038381166000908152600d60205260408082205485841683529120546200060e929182169116836200084b565b6001600160a01b0381166000908152600560209081526040808320918390529091205462000838919062000986565b62000986565b50565b6200074960066200083260025490565b816001600160a01b0316836001600160a01b0316141580156200086e5750600081115b156200060e576001600160a01b03831615620008fb576001600160a01b0383166000908152600e6020908152604082208291620008b89190620009d5901b6200116117856200045a565b91509150846001600160a01b03166000805160206200389e8339815191528383604051620008f0929190918252602082015260400190565b60405180910390a250505b6001600160a01b038216156200060e576001600160a01b0382166000908152600e60209081526040822082916200093f919062000445901b6200100917856200045a565b91509150836001600160a01b03166000805160206200389e833981519152838360405162000977929190918252602082015260400190565b60405180910390a25050505050565b600062000992620009e3565b905080620009a08462000a01565b10156200060e578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b600062000453828462000d14565b6000620009fc600862000a4c60201b6200116d1760201c565b905090565b8054600090810362000a1557506000919050565b8154829062000a279060019062000d14565b8154811062000a3a5762000a3a62000d2a565b90600052602060002001549050919050565b5490565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168062000a7b57607f821691505b60208210810362000a9c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200060e57600081815260208120601f850160051c8101602086101562000acb5750805b601f850160051c820191505b8181101562000aec5782815560010162000ad7565b505050505050565b81516001600160401b0381111562000b105762000b1062000a50565b62000b288162000b21845462000a66565b8462000aa2565b602080601f83116001811462000b60576000841562000b475750858301515b600019600386901b1c1916600185901b17855562000aec565b600085815260208120601f198616915b8281101562000b915788860151825594840194600190910190840162000b70565b508582101562000bb05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111562000c1757816000190482111562000bfb5762000bfb62000bc0565b8085161562000c0957918102915b93841c939080029062000bdb565b509250929050565b60008262000c3057506001620002a7565b8162000c3f57506000620002a7565b816001811462000c58576002811462000c635762000c83565b6001915050620002a7565b60ff84111562000c775762000c7762000bc0565b50506001821b620002a7565b5060208310610133831016604e8410600b841016171562000ca8575081810a620002a7565b62000cb4838362000bd6565b806000190482111562000ccb5762000ccb62000bc0565b029392505050565b60006200045360ff84168362000c1f565b8082028115828204841417620002a757620002a762000bc0565b80820180821115620002a757620002a762000bc0565b81810381811115620002a757620002a762000bc0565b634e487b7160e01b600052603260045260246000fd5b60805160a05160c05160e0516101005161012051612b0e62000d9060003960006115d801526000611627015260006116020152600061155b01526000611585015260006115af0152612b0e6000f3fe608060405234801561001057600080fd5b506004361061023d5760003560e01c80637028e2cd1161013b5780639ab24eb0116100b8578063d505accf1161007c578063d505accf14610512578063d547741f14610525578063dd62ed3e14610538578063e63ab1e91461054b578063f1127ed81461057257600080fd5b80639ab24eb0146104be578063a217fddf146104d1578063a457c2d7146104d9578063a9059cbb146104ec578063c3cda520146104ff57600080fd5b80638e539e8c116100ff5780638e539e8c1461047557806391d148541461048857806395d89b411461049b5780639711715a146104a3578063981b24d0146104ab57600080fd5b80637028e2cd146103f757806370a082311461041e57806379cc6790146104475780637ecebe001461045a5780638456cb591461046d57600080fd5b806336568abe116101c95780634ee2cd7e1161018d5780634ee2cd7e1461035a578063587cde1e1461036d5780635c19a95c146103b15780635c975abb146103c45780636fcfff45146103cf57600080fd5b806336568abe1461030657806339509351146103195780633a46b1a81461032c5780633f4ba83a1461033f57806342966c681461034757600080fd5b806323b872dd1161021057806323b872dd146102a4578063248a9ca3146102b75780632f2ff15d146102da578063313ce567146102ef5780633644e515146102fe57600080fd5b806301ffc9a71461024257806306fdde031461026a578063095ea7b31461027f57806318160ddd14610292575b600080fd5b6102556102503660046126b0565b6105af565b60405190151581526020015b60405180910390f35b6102726105e6565b60405161026191906126fe565b61025561028d366004612748565b610678565b6002545b604051908152602001610261565b6102556102b2366004612772565b610690565b6102966102c53660046127ae565b60009081526009602052604090206001015490565b6102ed6102e83660046127c7565b6106b4565b005b60405160128152602001610261565b6102966106de565b6102ed6103143660046127c7565b6106ed565b610255610327366004612748565b610770565b61029661033a366004612748565b610792565b6102ed61080c565b6102ed6103553660046127ae565b610841565b610296610368366004612748565b61084b565b61039961037b3660046127f3565b6001600160a01b039081166000908152600d60205260409020541690565b6040516001600160a01b039091168152602001610261565b6102ed6103bf3660046127f3565b6108a4565b600a5460ff16610255565b6103e26103dd3660046127f3565b6108ae565b60405163ffffffff9091168152602001610261565b6102967f5fdbd35e8da83ee755d5e62a539e5ed7f47126abede0b8b10f9ea43dc6eed07f81565b61029661042c3660046127f3565b6001600160a01b031660009081526020819052604090205490565b6102ed610455366004612748565b6108d0565b6102966104683660046127f3565b6108e5565b6102ed610903565b6102966104833660046127ae565b610935565b6102556104963660046127c7565b610991565b6102726109bc565b6102ed6109cb565b6102966104b93660046127ae565b6109fd565b6102966104cc3660046127f3565b610a28565b610296600081565b6102556104e7366004612748565b610aaf565b6102556104fa366004612748565b610b2a565b6102ed61050d36600461281f565b610b38565b6102ed610520366004612877565b610c6e565b6102ed6105333660046127c7565b610dd2565b6102966105463660046128e1565b610df7565b6102967f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b61058561058036600461290b565b610e22565b60408051825163ffffffff1681526020928301516001600160e01b03169281019290925201610261565b60006001600160e01b03198216637965db0b60e01b14806105e057506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600380546105f59061294b565b80601f01602080910402602001604051908101604052809291908181526020018280546106219061294b565b801561066e5780601f106106435761010080835404028352916020019161066e565b820191906000526020600020905b81548152906001019060200180831161065157829003601f168201915b5050505050905090565b600033610686818585611171565b5060019392505050565b60003361069e858285611295565b6106a9858585611309565b506001949350505050565b6000828152600960205260409020600101546106cf816114be565b6106d983836114c8565b505050565b60006106e861154e565b905090565b6001600160a01b03811633146107625760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b61076c8282611675565b5050565b6000336106868185856107838383610df7565b61078d9190612995565b611171565b60004382106107e35760405162461bcd60e51b815260206004820152601f60248201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e6564006044820152606401610759565b6001600160a01b0383166000908152600e6020526040902061080590836116dc565b9392505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610836816114be565b61083e6117d3565b50565b61083e3382611825565b6001600160a01b03821660009081526005602052604081208190819061087290859061182f565b9150915081610899576001600160a01b03851660009081526020819052604090205461089b565b805b95945050505050565b61083e3382611925565b6001600160a01b0381166000908152600e60205260408120546105e090611082565b6108db823383611295565b61076c8282611825565b6001600160a01b0381166000908152600b60205260408120546105e0565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61092d816114be565b61083e61199e565b60004382106109865760405162461bcd60e51b815260206004820152601f60248201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e6564006044820152606401610759565b6105e0600f836116dc565b60009182526009602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600480546105f59061294b565b7f5fdbd35e8da83ee755d5e62a539e5ed7f47126abede0b8b10f9ea43dc6eed07f6109f5816114be565b61076c6119db565b6000806000610a0d84600661182f565b9150915081610a1e57600254610a20565b805b949350505050565b6001600160a01b0381166000908152600e60205260408120548015610a9c576001600160a01b0383166000908152600e60205260409020610a6a6001836129a8565b81548110610a7a57610a7a6129bb565b60009182526020909120015464010000000090046001600160e01b0316610a9f565b60005b6001600160e01b03169392505050565b60003381610abd8286610df7565b905083811015610b1d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610759565b6106a98286868403611171565b600033610686818585611309565b83421115610b885760405162461bcd60e51b815260206004820152601d60248201527f4552433230566f7465733a207369676e617475726520657870697265640000006044820152606401610759565b604080517fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60208201526001600160a01b038816918101919091526060810186905260808101859052600090610c0290610bfa9060a00160405160208183030381529060405280519060200120611a35565b858585611a83565b9050610c0d81611aab565b8614610c5b5760405162461bcd60e51b815260206004820152601960248201527f4552433230566f7465733a20696e76616c6964206e6f6e6365000000000000006044820152606401610759565b610c658188611925565b50505050505050565b83421115610cbe5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610759565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888610ced8c611aab565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610d4882611a35565b90506000610d5882878787611a83565b9050896001600160a01b0316816001600160a01b031614610dbb5760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610759565b610dc68a8a8a611171565b50505050505050505050565b600082815260096020526040902060010154610ded816114be565b6106d98383611675565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60408051808201909152600080825260208201526001600160a01b0383166000908152600e60205260409020805463ffffffff8416908110610e6657610e666129bb565b60009182526020918290206040805180820190915291015463ffffffff8116825264010000000090046001600160e01b0316918101919091529392505050565b610eb08282610f36565b6002546001600160e01b031015610f225760405162461bcd60e51b815260206004820152603060248201527f4552433230566f7465733a20746f74616c20737570706c79207269736b73206f60448201526f766572666c6f77696e6720766f74657360801b6064820152608401610759565b610f30600f61100983611ad3565b50505050565b6001600160a01b038216610f8c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610759565b610f9860008383611c27565b8060026000828254610faa9190612995565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361076c60008383611c3a565b60006108058284612995565b60006001600160e01b0382111561107e5760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b6064820152608401610759565b5090565b600063ffffffff82111561107e5760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b6064820152608401610759565b6001600160a01b038316611106576110fe82611c45565b6106d9611c77565b6001600160a01b03821661111d576110fe83611c45565b61112683611c45565b6106d982611c45565b6001600160a01b038381166000908152600d60205260408082205485841683529120546106d992918216911683611c87565b600061080582846129a8565b5490565b6001600160a01b0383166111d35760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610759565b6001600160a01b0382166112345760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610759565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006112a18484610df7565b90506000198114610f3057818110156112fc5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610759565b610f308484848403611171565b6001600160a01b03831661136d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610759565b6001600160a01b0382166113cf5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610759565b6113da838383611c27565b6001600160a01b038316600090815260208190526040902054818110156114525760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610759565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610f30848484611c3a565b61083e8133611dc4565b6114d28282610991565b61076c5760008281526009602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561150a3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480156115a757507f000000000000000000000000000000000000000000000000000000000000000046145b156115d157507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b61167f8282610991565b1561076c5760008281526009602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b8154600090818160058111156117365760006116f784611e1d565b61170190856129a8565b600088815260209020909150869082015463ffffffff16111561172657809150611734565b611731816001612995565b92505b505b8082101561178357600061174a8383611f05565b600088815260209020909150869082015463ffffffff16111561176f5780915061177d565b61177a816001612995565b92505b50611736565b80156117bd576117a6866117986001846129a8565b600091825260209091200190565b5464010000000090046001600160e01b03166117c0565b60005b6001600160e01b03169695505050505050565b6117db611f20565b600a805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b61076c8282611f69565b6000806000841161187b5760405162461bcd60e51b815260206004820152601660248201527504552433230536e617073686f743a20696420697320360541b6044820152606401610759565b611883611f81565b8411156118d25760405162461bcd60e51b815260206004820152601d60248201527f4552433230536e617073686f743a206e6f6e6578697374656e742069640000006044820152606401610759565b60006118de8486611f8c565b845490915081036118f657600080925092505061191e565b600184600101828154811061190d5761190d6129bb565b906000526020600020015492509250505b9250929050565b6001600160a01b038281166000818152600d60208181526040808420805485845282862054949093528787166001600160a01b03198416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4610f30828483611c87565b6119a661202b565b600a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586118083390565b60006119eb600880546001019055565b60006119f5611f81565b90507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb6781604051611a2891815260200190565b60405180910390a1919050565b60006105e0611a4261154e565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6000806000611a9487878787612071565b91509150611aa181612135565b5095945050505050565b6001600160a01b0381166000908152600b602052604090208054600181018255905b50919050565b82546000908190818115611b2057611af0876117986001856129a8565b60408051808201909152905463ffffffff8116825264010000000090046001600160e01b03166020820152611b35565b60408051808201909152600080825260208201525b905080602001516001600160e01b03169350611b5584868863ffffffff16565b9250600082118015611b6d5750805163ffffffff1643145b15611bb257611b7b83611015565b611b8a886117986001866129a8565b80546001600160e01b03929092166401000000000263ffffffff909216919091179055611c1d565b866040518060400160405280611bc743611082565b63ffffffff168152602001611bdb86611015565b6001600160e01b0390811690915282546001810184556000938452602093849020835194909301519091166401000000000263ffffffff909316929092179101555b5050935093915050565b611c2f61202b565b6106d98383836110e7565b6106d983838361112f565b6001600160a01b0381166000908152600560209081526040808320918390529091205461083e919061227f565b61227f565b611c856006611c7260025490565b565b816001600160a01b0316836001600160a01b031614158015611ca95750600081115b156106d9576001600160a01b03831615611d37576001600160a01b0383166000908152600e602052604081208190611ce49061116185611ad3565b91509150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051611d2c929190918252602082015260400190565b60405180910390a250505b6001600160a01b038216156106d9576001600160a01b0382166000908152600e602052604081208190611d6d9061100985611ad3565b91509150836001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051611db5929190918252602082015260400190565b60405180910390a25050505050565b611dce8282610991565b61076c57611ddb816122c9565b611de68360206122db565b604051602001611df79291906129d1565b60408051601f198184030181529082905262461bcd60e51b8252610759916004016126fe565b600081600003611e2f57506000919050565b60006001611e3c84612477565b901c6001901b90506001818481611e5557611e55612a46565b048201901c90506001818481611e6d57611e6d612a46565b048201901c90506001818481611e8557611e85612a46565b048201901c90506001818481611e9d57611e9d612a46565b048201901c90506001818481611eb557611eb5612a46565b048201901c90506001818481611ecd57611ecd612a46565b048201901c90506001818481611ee557611ee5612a46565b048201901c905061080581828581611eff57611eff612a46565b0461250b565b6000611f146002848418612a5c565b61080590848416612995565b600a5460ff16611c855760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610759565b611f738282612521565b610f30600f61116183611ad3565b60006106e860085490565b81546000908103611f9f575060006105e0565b82546000905b80821015611fec576000611fb98383611f05565b60008781526020902090915085908201541115611fd857809150611fe6565b611fe3816001612995565b92505b50611fa5565b60008211801561200a575083612007866117986001866129a8565b54145b156120235761201a6001836129a8565b925050506105e0565b5090506105e0565b600a5460ff1615611c855760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610759565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156120a8575060009050600361212c565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156120fc573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166121255760006001925092505061212c565b9150600090505b94509492505050565b600081600481111561214957612149612a7e565b036121515750565b600181600481111561216557612165612a7e565b036121b25760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610759565b60028160048111156121c6576121c6612a7e565b036122135760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610759565b600381600481111561222757612227612a7e565b0361083e5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610759565b6000612289611f81565b90508061229584612666565b10156106d9578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b60606105e06001600160a01b03831660145b606060006122ea836002612a94565b6122f5906002612995565b67ffffffffffffffff81111561230d5761230d612aab565b6040519080825280601f01601f191660200182016040528015612337576020820181803683370190505b509050600360fc1b81600081518110612352576123526129bb565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612381576123816129bb565b60200101906001600160f81b031916908160001a90535060006123a5846002612a94565b6123b0906001612995565b90505b6001811115612428576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106123e4576123e46129bb565b1a60f81b8282815181106123fa576123fa6129bb565b60200101906001600160f81b031916908160001a90535060049490941c9361242181612ac1565b90506123b3565b5083156108055760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610759565b600080608083901c1561248c57608092831c92015b604083901c1561249e57604092831c92015b602083901c156124b057602092831c92015b601083901c156124c257601092831c92015b600883901c156124d457600892831c92015b600483901c156124e657600492831c92015b600283901c156124f857600292831c92015b600183901c156105e05760010192915050565b600081831061251a5781610805565b5090919050565b6001600160a01b0382166125815760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610759565b61258d82600083611c27565b6001600160a01b038216600090815260208190526040902054818110156126015760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610759565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36106d983600084611c3a565b8054600090810361267957506000919050565b81548290612689906001906129a8565b81548110612699576126996129bb565b90600052602060002001549050919050565b919050565b6000602082840312156126c257600080fd5b81356001600160e01b03198116811461080557600080fd5b60005b838110156126f55781810151838201526020016126dd565b50506000910152565b602081526000825180602084015261271d8160408501602087016126da565b601f01601f19169190910160400192915050565b80356001600160a01b03811681146126ab57600080fd5b6000806040838503121561275b57600080fd5b61276483612731565b946020939093013593505050565b60008060006060848603121561278757600080fd5b61279084612731565b925061279e60208501612731565b9150604084013590509250925092565b6000602082840312156127c057600080fd5b5035919050565b600080604083850312156127da57600080fd5b823591506127ea60208401612731565b90509250929050565b60006020828403121561280557600080fd5b61080582612731565b803560ff811681146126ab57600080fd5b60008060008060008060c0878903121561283857600080fd5b61284187612731565b9550602087013594506040870135935061285d6060880161280e565b92506080870135915060a087013590509295509295509295565b600080600080600080600060e0888a03121561289257600080fd5b61289b88612731565b96506128a960208901612731565b955060408801359450606088013593506128c56080890161280e565b925060a0880135915060c0880135905092959891949750929550565b600080604083850312156128f457600080fd5b6128fd83612731565b91506127ea60208401612731565b6000806040838503121561291e57600080fd5b61292783612731565b9150602083013563ffffffff8116811461294057600080fd5b809150509250929050565b600181811c9082168061295f57607f821691505b602082108103611acd57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156105e0576105e061297f565b818103818111156105e0576105e061297f565b634e487b7160e01b600052603260045260246000fd5b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612a098160178501602088016126da565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612a3a8160288401602088016126da565b01602801949350505050565b634e487b7160e01b600052601260045260246000fd5b600082612a7957634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052602160045260246000fd5b80820281158282048414176105e0576105e061297f565b634e487b7160e01b600052604160045260246000fd5b600081612ad057612ad061297f565b50600019019056fea26469706673582212200e1999ae182022fa304e418651b1c0b68bd6f94583355e3634d652f99d05060064736f6c63430008120033dec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061023d5760003560e01c80637028e2cd1161013b5780639ab24eb0116100b8578063d505accf1161007c578063d505accf14610512578063d547741f14610525578063dd62ed3e14610538578063e63ab1e91461054b578063f1127ed81461057257600080fd5b80639ab24eb0146104be578063a217fddf146104d1578063a457c2d7146104d9578063a9059cbb146104ec578063c3cda520146104ff57600080fd5b80638e539e8c116100ff5780638e539e8c1461047557806391d148541461048857806395d89b411461049b5780639711715a146104a3578063981b24d0146104ab57600080fd5b80637028e2cd146103f757806370a082311461041e57806379cc6790146104475780637ecebe001461045a5780638456cb591461046d57600080fd5b806336568abe116101c95780634ee2cd7e1161018d5780634ee2cd7e1461035a578063587cde1e1461036d5780635c19a95c146103b15780635c975abb146103c45780636fcfff45146103cf57600080fd5b806336568abe1461030657806339509351146103195780633a46b1a81461032c5780633f4ba83a1461033f57806342966c681461034757600080fd5b806323b872dd1161021057806323b872dd146102a4578063248a9ca3146102b75780632f2ff15d146102da578063313ce567146102ef5780633644e515146102fe57600080fd5b806301ffc9a71461024257806306fdde031461026a578063095ea7b31461027f57806318160ddd14610292575b600080fd5b6102556102503660046126b0565b6105af565b60405190151581526020015b60405180910390f35b6102726105e6565b60405161026191906126fe565b61025561028d366004612748565b610678565b6002545b604051908152602001610261565b6102556102b2366004612772565b610690565b6102966102c53660046127ae565b60009081526009602052604090206001015490565b6102ed6102e83660046127c7565b6106b4565b005b60405160128152602001610261565b6102966106de565b6102ed6103143660046127c7565b6106ed565b610255610327366004612748565b610770565b61029661033a366004612748565b610792565b6102ed61080c565b6102ed6103553660046127ae565b610841565b610296610368366004612748565b61084b565b61039961037b3660046127f3565b6001600160a01b039081166000908152600d60205260409020541690565b6040516001600160a01b039091168152602001610261565b6102ed6103bf3660046127f3565b6108a4565b600a5460ff16610255565b6103e26103dd3660046127f3565b6108ae565b60405163ffffffff9091168152602001610261565b6102967f5fdbd35e8da83ee755d5e62a539e5ed7f47126abede0b8b10f9ea43dc6eed07f81565b61029661042c3660046127f3565b6001600160a01b031660009081526020819052604090205490565b6102ed610455366004612748565b6108d0565b6102966104683660046127f3565b6108e5565b6102ed610903565b6102966104833660046127ae565b610935565b6102556104963660046127c7565b610991565b6102726109bc565b6102ed6109cb565b6102966104b93660046127ae565b6109fd565b6102966104cc3660046127f3565b610a28565b610296600081565b6102556104e7366004612748565b610aaf565b6102556104fa366004612748565b610b2a565b6102ed61050d36600461281f565b610b38565b6102ed610520366004612877565b610c6e565b6102ed6105333660046127c7565b610dd2565b6102966105463660046128e1565b610df7565b6102967f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b61058561058036600461290b565b610e22565b60408051825163ffffffff1681526020928301516001600160e01b03169281019290925201610261565b60006001600160e01b03198216637965db0b60e01b14806105e057506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600380546105f59061294b565b80601f01602080910402602001604051908101604052809291908181526020018280546106219061294b565b801561066e5780601f106106435761010080835404028352916020019161066e565b820191906000526020600020905b81548152906001019060200180831161065157829003601f168201915b5050505050905090565b600033610686818585611171565b5060019392505050565b60003361069e858285611295565b6106a9858585611309565b506001949350505050565b6000828152600960205260409020600101546106cf816114be565b6106d983836114c8565b505050565b60006106e861154e565b905090565b6001600160a01b03811633146107625760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b61076c8282611675565b5050565b6000336106868185856107838383610df7565b61078d9190612995565b611171565b60004382106107e35760405162461bcd60e51b815260206004820152601f60248201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e6564006044820152606401610759565b6001600160a01b0383166000908152600e6020526040902061080590836116dc565b9392505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610836816114be565b61083e6117d3565b50565b61083e3382611825565b6001600160a01b03821660009081526005602052604081208190819061087290859061182f565b9150915081610899576001600160a01b03851660009081526020819052604090205461089b565b805b95945050505050565b61083e3382611925565b6001600160a01b0381166000908152600e60205260408120546105e090611082565b6108db823383611295565b61076c8282611825565b6001600160a01b0381166000908152600b60205260408120546105e0565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61092d816114be565b61083e61199e565b60004382106109865760405162461bcd60e51b815260206004820152601f60248201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e6564006044820152606401610759565b6105e0600f836116dc565b60009182526009602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600480546105f59061294b565b7f5fdbd35e8da83ee755d5e62a539e5ed7f47126abede0b8b10f9ea43dc6eed07f6109f5816114be565b61076c6119db565b6000806000610a0d84600661182f565b9150915081610a1e57600254610a20565b805b949350505050565b6001600160a01b0381166000908152600e60205260408120548015610a9c576001600160a01b0383166000908152600e60205260409020610a6a6001836129a8565b81548110610a7a57610a7a6129bb565b60009182526020909120015464010000000090046001600160e01b0316610a9f565b60005b6001600160e01b03169392505050565b60003381610abd8286610df7565b905083811015610b1d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610759565b6106a98286868403611171565b600033610686818585611309565b83421115610b885760405162461bcd60e51b815260206004820152601d60248201527f4552433230566f7465733a207369676e617475726520657870697265640000006044820152606401610759565b604080517fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60208201526001600160a01b038816918101919091526060810186905260808101859052600090610c0290610bfa9060a00160405160208183030381529060405280519060200120611a35565b858585611a83565b9050610c0d81611aab565b8614610c5b5760405162461bcd60e51b815260206004820152601960248201527f4552433230566f7465733a20696e76616c6964206e6f6e6365000000000000006044820152606401610759565b610c658188611925565b50505050505050565b83421115610cbe5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610759565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888610ced8c611aab565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610d4882611a35565b90506000610d5882878787611a83565b9050896001600160a01b0316816001600160a01b031614610dbb5760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610759565b610dc68a8a8a611171565b50505050505050505050565b600082815260096020526040902060010154610ded816114be565b6106d98383611675565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60408051808201909152600080825260208201526001600160a01b0383166000908152600e60205260409020805463ffffffff8416908110610e6657610e666129bb565b60009182526020918290206040805180820190915291015463ffffffff8116825264010000000090046001600160e01b0316918101919091529392505050565b610eb08282610f36565b6002546001600160e01b031015610f225760405162461bcd60e51b815260206004820152603060248201527f4552433230566f7465733a20746f74616c20737570706c79207269736b73206f60448201526f766572666c6f77696e6720766f74657360801b6064820152608401610759565b610f30600f61100983611ad3565b50505050565b6001600160a01b038216610f8c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610759565b610f9860008383611c27565b8060026000828254610faa9190612995565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361076c60008383611c3a565b60006108058284612995565b60006001600160e01b0382111561107e5760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b6064820152608401610759565b5090565b600063ffffffff82111561107e5760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b6064820152608401610759565b6001600160a01b038316611106576110fe82611c45565b6106d9611c77565b6001600160a01b03821661111d576110fe83611c45565b61112683611c45565b6106d982611c45565b6001600160a01b038381166000908152600d60205260408082205485841683529120546106d992918216911683611c87565b600061080582846129a8565b5490565b6001600160a01b0383166111d35760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610759565b6001600160a01b0382166112345760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610759565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006112a18484610df7565b90506000198114610f3057818110156112fc5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610759565b610f308484848403611171565b6001600160a01b03831661136d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610759565b6001600160a01b0382166113cf5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610759565b6113da838383611c27565b6001600160a01b038316600090815260208190526040902054818110156114525760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610759565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610f30848484611c3a565b61083e8133611dc4565b6114d28282610991565b61076c5760008281526009602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561150a3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000306001600160a01b037f000000000000000000000000b290ba105ba7679408ea8e74dafb748b99bbb18f161480156115a757507f000000000000000000000000000000000000000000000000000000000000000146145b156115d157507f65599f6900365c5bffef9e8c2b273f69815027021e68dcda768105725a9e5d7090565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527f39379055ff01c7de97c1cf98a67b7cbd863f7f3cc5a4f219e23aa1bccc0e50d9828401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b61167f8282610991565b1561076c5760008281526009602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b8154600090818160058111156117365760006116f784611e1d565b61170190856129a8565b600088815260209020909150869082015463ffffffff16111561172657809150611734565b611731816001612995565b92505b505b8082101561178357600061174a8383611f05565b600088815260209020909150869082015463ffffffff16111561176f5780915061177d565b61177a816001612995565b92505b50611736565b80156117bd576117a6866117986001846129a8565b600091825260209091200190565b5464010000000090046001600160e01b03166117c0565b60005b6001600160e01b03169695505050505050565b6117db611f20565b600a805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b61076c8282611f69565b6000806000841161187b5760405162461bcd60e51b815260206004820152601660248201527504552433230536e617073686f743a20696420697320360541b6044820152606401610759565b611883611f81565b8411156118d25760405162461bcd60e51b815260206004820152601d60248201527f4552433230536e617073686f743a206e6f6e6578697374656e742069640000006044820152606401610759565b60006118de8486611f8c565b845490915081036118f657600080925092505061191e565b600184600101828154811061190d5761190d6129bb565b906000526020600020015492509250505b9250929050565b6001600160a01b038281166000818152600d60208181526040808420805485845282862054949093528787166001600160a01b03198416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4610f30828483611c87565b6119a661202b565b600a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586118083390565b60006119eb600880546001019055565b60006119f5611f81565b90507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb6781604051611a2891815260200190565b60405180910390a1919050565b60006105e0611a4261154e565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6000806000611a9487878787612071565b91509150611aa181612135565b5095945050505050565b6001600160a01b0381166000908152600b602052604090208054600181018255905b50919050565b82546000908190818115611b2057611af0876117986001856129a8565b60408051808201909152905463ffffffff8116825264010000000090046001600160e01b03166020820152611b35565b60408051808201909152600080825260208201525b905080602001516001600160e01b03169350611b5584868863ffffffff16565b9250600082118015611b6d5750805163ffffffff1643145b15611bb257611b7b83611015565b611b8a886117986001866129a8565b80546001600160e01b03929092166401000000000263ffffffff909216919091179055611c1d565b866040518060400160405280611bc743611082565b63ffffffff168152602001611bdb86611015565b6001600160e01b0390811690915282546001810184556000938452602093849020835194909301519091166401000000000263ffffffff909316929092179101555b5050935093915050565b611c2f61202b565b6106d98383836110e7565b6106d983838361112f565b6001600160a01b0381166000908152600560209081526040808320918390529091205461083e919061227f565b61227f565b611c856006611c7260025490565b565b816001600160a01b0316836001600160a01b031614158015611ca95750600081115b156106d9576001600160a01b03831615611d37576001600160a01b0383166000908152600e602052604081208190611ce49061116185611ad3565b91509150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051611d2c929190918252602082015260400190565b60405180910390a250505b6001600160a01b038216156106d9576001600160a01b0382166000908152600e602052604081208190611d6d9061100985611ad3565b91509150836001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051611db5929190918252602082015260400190565b60405180910390a25050505050565b611dce8282610991565b61076c57611ddb816122c9565b611de68360206122db565b604051602001611df79291906129d1565b60408051601f198184030181529082905262461bcd60e51b8252610759916004016126fe565b600081600003611e2f57506000919050565b60006001611e3c84612477565b901c6001901b90506001818481611e5557611e55612a46565b048201901c90506001818481611e6d57611e6d612a46565b048201901c90506001818481611e8557611e85612a46565b048201901c90506001818481611e9d57611e9d612a46565b048201901c90506001818481611eb557611eb5612a46565b048201901c90506001818481611ecd57611ecd612a46565b048201901c90506001818481611ee557611ee5612a46565b048201901c905061080581828581611eff57611eff612a46565b0461250b565b6000611f146002848418612a5c565b61080590848416612995565b600a5460ff16611c855760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610759565b611f738282612521565b610f30600f61116183611ad3565b60006106e860085490565b81546000908103611f9f575060006105e0565b82546000905b80821015611fec576000611fb98383611f05565b60008781526020902090915085908201541115611fd857809150611fe6565b611fe3816001612995565b92505b50611fa5565b60008211801561200a575083612007866117986001866129a8565b54145b156120235761201a6001836129a8565b925050506105e0565b5090506105e0565b600a5460ff1615611c855760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610759565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156120a8575060009050600361212c565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156120fc573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166121255760006001925092505061212c565b9150600090505b94509492505050565b600081600481111561214957612149612a7e565b036121515750565b600181600481111561216557612165612a7e565b036121b25760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610759565b60028160048111156121c6576121c6612a7e565b036122135760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610759565b600381600481111561222757612227612a7e565b0361083e5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610759565b6000612289611f81565b90508061229584612666565b10156106d9578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b60606105e06001600160a01b03831660145b606060006122ea836002612a94565b6122f5906002612995565b67ffffffffffffffff81111561230d5761230d612aab565b6040519080825280601f01601f191660200182016040528015612337576020820181803683370190505b509050600360fc1b81600081518110612352576123526129bb565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612381576123816129bb565b60200101906001600160f81b031916908160001a90535060006123a5846002612a94565b6123b0906001612995565b90505b6001811115612428576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106123e4576123e46129bb565b1a60f81b8282815181106123fa576123fa6129bb565b60200101906001600160f81b031916908160001a90535060049490941c9361242181612ac1565b90506123b3565b5083156108055760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610759565b600080608083901c1561248c57608092831c92015b604083901c1561249e57604092831c92015b602083901c156124b057602092831c92015b601083901c156124c257601092831c92015b600883901c156124d457600892831c92015b600483901c156124e657600492831c92015b600283901c156124f857600292831c92015b600183901c156105e05760010192915050565b600081831061251a5781610805565b5090919050565b6001600160a01b0382166125815760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610759565b61258d82600083611c27565b6001600160a01b038216600090815260208190526040902054818110156126015760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610759565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36106d983600084611c3a565b8054600090810361267957506000919050565b81548290612689906001906129a8565b81548110612699576126996129bb565b90600052602060002001549050919050565b919050565b6000602082840312156126c257600080fd5b81356001600160e01b03198116811461080557600080fd5b60005b838110156126f55781810151838201526020016126dd565b50506000910152565b602081526000825180602084015261271d8160408501602087016126da565b601f01601f19169190910160400192915050565b80356001600160a01b03811681146126ab57600080fd5b6000806040838503121561275b57600080fd5b61276483612731565b946020939093013593505050565b60008060006060848603121561278757600080fd5b61279084612731565b925061279e60208501612731565b9150604084013590509250925092565b6000602082840312156127c057600080fd5b5035919050565b600080604083850312156127da57600080fd5b823591506127ea60208401612731565b90509250929050565b60006020828403121561280557600080fd5b61080582612731565b803560ff811681146126ab57600080fd5b60008060008060008060c0878903121561283857600080fd5b61284187612731565b9550602087013594506040870135935061285d6060880161280e565b92506080870135915060a087013590509295509295509295565b600080600080600080600060e0888a03121561289257600080fd5b61289b88612731565b96506128a960208901612731565b955060408801359450606088013593506128c56080890161280e565b925060a0880135915060c0880135905092959891949750929550565b600080604083850312156128f457600080fd5b6128fd83612731565b91506127ea60208401612731565b6000806040838503121561291e57600080fd5b61292783612731565b9150602083013563ffffffff8116811461294057600080fd5b809150509250929050565b600181811c9082168061295f57607f821691505b602082108103611acd57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156105e0576105e061297f565b818103818111156105e0576105e061297f565b634e487b7160e01b600052603260045260246000fd5b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612a098160178501602088016126da565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612a3a8160288401602088016126da565b01602801949350505050565b634e487b7160e01b600052601260045260246000fd5b600082612a7957634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052602160045260246000fd5b80820281158282048414176105e0576105e061297f565b634e487b7160e01b600052604160045260246000fd5b600081612ad057612ad061297f565b50600019019056fea26469706673582212200e1999ae182022fa304e418651b1c0b68bd6f94583355e3634d652f99d05060064736f6c63430008120033

Deployed Bytecode Sourcemap

134559:1608:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;88150:204;;;;;;:::i;:::-;;:::i;:::-;;;470:14:1;;463:22;445:41;;433:2;418:18;88150:204:0;;;;;;;;99595:100;;;:::i;:::-;;;;;;;:::i;101946:201::-;;;;;;:::i;:::-;;:::i;100715:108::-;100803:12;;100715:108;;;1736:25:1;;;1724:2;1709:18;100715:108:0;1590:177:1;102727:295:0;;;;;;:::i;:::-;;:::i;89973:131::-;;;;;;:::i;:::-;90047:7;90074:12;;;:6;:12;;;;;:22;;;;89973:131;90414:147;;;;;;:::i;:::-;;:::i;:::-;;100557:93;;;100640:2;2873:36:1;;2861:2;2846:18;100557:93:0;2731:184:1;113608:115:0;;;:::i;91558:218::-;;;;;;:::i;:::-;;:::i;103431:238::-;;;;;;:::i;:::-;;:::i;116816:268::-;;;;;;:::i;:::-;;:::i;135271:77::-;;;:::i;133899:91::-;;;;;;:::i;:::-;;:::i;129415:266::-;;;;;;:::i;:::-;;:::i;116190:128::-;;;;;;:::i;:::-;-1:-1:-1;;;;;116291:19:0;;;116264:7;116291:19;;;:10;:19;;;;;;;;116190:128;;;;-1:-1:-1;;;;;3460:32:1;;;3442:51;;3430:2;3415:18;116190:128:0;3296:203:1;119702:114:0;;;;;;:::i;:::-;;:::i;84585:86::-;84656:7;;;;84585:86;;115946:151;;;;;;:::i;:::-;;:::i;:::-;;;3678:10:1;3666:23;;;3648:42;;3636:2;3621:18;115946:151:0;3504:192:1;134671:66:0;;134711:26;134671:66;;100886:127;;;;;;:::i;:::-;-1:-1:-1;;;;;100987:18:0;100960:7;100987:18;;;;;;;;;;;;100886:127;134309:164;;;;;;:::i;:::-;;:::i;113350:128::-;;;;;;:::i;:::-;;:::i;135190:73::-;;;:::i;117373:259::-;;;;;;:::i;:::-;;:::i;88446:147::-;;;;;;:::i;:::-;;:::i;99814:104::-;;;:::i;135101:81::-;;;:::i;129785:234::-;;;;;;:::i;:::-;;:::i;116402:212::-;;;;;;:::i;:::-;;:::i;87551:49::-;;87596:4;87551:49;;104172:436;;;;;;:::i;:::-;;:::i;101219:193::-;;;;;;:::i;:::-;;:::i;119898:591::-;;;;;;:::i;:::-;;:::i;112639:645::-;;;;;;:::i;:::-;;:::i;90854:149::-;;;;;;:::i;:::-;;:::i;101475:151::-;;;;;;:::i;:::-;;:::i;134744:62::-;;134782:24;134744:62;;115716:150;;;;;;:::i;:::-;;:::i;:::-;;;;5853:13:1;;5868:10;5849:30;5831:49;;5940:4;5928:17;;;5922:24;-1:-1:-1;;;;;5918:50:1;5896:20;;;5889:80;;;;5804:18;115716:150:0;5629:346:1;88150:204:0;88235:4;-1:-1:-1;;;;;;88259:47:0;;-1:-1:-1;;;88259:47:0;;:87;;-1:-1:-1;;;;;;;;;;42694:40:0;;;88310:36;88252:94;88150:204;-1:-1:-1;;88150:204:0:o;99595:100::-;99649:13;99682:5;99675:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;99595:100;:::o;101946:201::-;102029:4;82772:10;102085:32;82772:10;102101:7;102110:6;102085:8;:32::i;:::-;-1:-1:-1;102135:4:0;;101946:201;-1:-1:-1;;;101946:201:0:o;102727:295::-;102858:4;82772:10;102916:38;102932:4;82772:10;102947:6;102916:15;:38::i;:::-;102965:27;102975:4;102981:2;102985:6;102965:9;:27::i;:::-;-1:-1:-1;103010:4:0;;102727:295;-1:-1:-1;;;;102727:295:0:o;90414:147::-;90047:7;90074:12;;;:6;:12;;;;;:22;;;88042:16;88053:4;88042:10;:16::i;:::-;90528:25:::1;90539:4;90545:7;90528:10;:25::i;:::-;90414:147:::0;;;:::o;113608:115::-;113668:7;113695:20;:18;:20::i;:::-;113688:27;;113608:115;:::o;91558:218::-;-1:-1:-1;;;;;91654:23:0;;82772:10;91654:23;91646:83;;;;-1:-1:-1;;;91646:83:0;;6567:2:1;91646:83:0;;;6549:21:1;6606:2;6586:18;;;6579:30;6645:34;6625:18;;;6618:62;-1:-1:-1;;;6696:18:1;;;6689:45;6751:19;;91646:83:0;;;;;;;;;91742:26;91754:4;91760:7;91742:11;:26::i;:::-;91558:218;;:::o;103431:238::-;103519:4;82772:10;103575:64;82772:10;103591:7;103628:10;103600:25;82772:10;103591:7;103600:9;:25::i;:::-;:38;;;;:::i;:::-;103575:8;:64::i;116816:268::-;116914:7;116956:12;116942:11;:26;116934:70;;;;-1:-1:-1;;;116934:70:0;;7245:2:1;116934:70:0;;;7227:21:1;7284:2;7264:18;;;7257:30;7323:33;7303:18;;;7296:61;7374:18;;116934:70:0;7043:355:1;116934:70:0;-1:-1:-1;;;;;117041:21:0;;;;;;:12;:21;;;;;117022:54;;117064:11;117022:18;:54::i;:::-;117015:61;116816:268;-1:-1:-1;;;116816:268:0:o;135271:77::-;134782:24;88042:16;88053:4;88042:10;:16::i;:::-;135330:10:::1;:8;:10::i;:::-;135271:77:::0;:::o;133899:91::-;133955:27;82772:10;133975:6;133955:5;:27::i;129415:266::-;-1:-1:-1;;;;;129579:33:0;;129502:7;129579:33;;;:24;:33;;;;;129502:7;;;;129558:55;;129567:10;;129558:8;:55::i;:::-;129522:91;;;;129633:11;:40;;-1:-1:-1;;;;;100987:18:0;;100960:7;100987:18;;;;;;;;;;;129633:40;;;129647:5;129633:40;129626:47;129415:266;-1:-1:-1;;;;;129415:266:0:o;119702:114::-;119774:34;82772:10;119798:9;119774;:34::i;115946:151::-;-1:-1:-1;;;;;116060:21:0;;116016:6;116060:21;;;:12;:21;;;;;:28;116042:47;;:17;:47::i;134309:164::-;134386:46;134402:7;82772:10;134425:6;134386:15;:46::i;:::-;134443:22;134449:7;134458:6;134443:5;:22::i;113350:128::-;-1:-1:-1;;;;;113446:14:0;;113419:7;113446:14;;;:7;:14;;;;;46766;113446:24;46674:114;135190:73;134782:24;88042:16;88053:4;88042:10;:16::i;:::-;135247:8:::1;:6;:8::i;117373:259::-:0;117460:7;117502:12;117488:11;:26;117480:70;;;;-1:-1:-1;;;117480:70:0;;7245:2:1;117480:70:0;;;7227:21:1;7284:2;7264:18;;;7257:30;7323:33;7303:18;;;7296:61;7374:18;;117480:70:0;7043:355:1;117480:70:0;117568:56;117587:23;117612:11;117568:18;:56::i;88446:147::-;88532:4;88556:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;88556:29:0;;;;;;;;;;;;;;;88446:147::o;99814:104::-;99870:13;99903:7;99896:14;;;;;:::i;135101:81::-;134711:26;88042:16;88053:4;88042:10;:16::i;:::-;135163:11:::1;:9;:11::i;129785:234::-:0;129857:7;129878:16;129896:13;129913:43;129922:10;129934:21;129913:8;:43::i;:::-;129877:79;;;;129976:11;:35;;100803:12;;129976:35;;;129990:5;129976:35;129969:42;129785:234;-1:-1:-1;;;;129785:234:0:o;116402:212::-;-1:-1:-1;;;;;116509:21:0;;116475:7;116509:21;;;:12;:21;;;;;:28;116555:8;;:51;;-1:-1:-1;;;;;116570:21:0;;;;;;:12;:21;;;;;116592:7;116598:1;116592:3;:7;:::i;:::-;116570:30;;;;;;;;:::i;:::-;;;;;;;;;;:36;;;;-1:-1:-1;;;;;116570:36:0;116555:51;;;116566:1;116555:51;-1:-1:-1;;;;;116548:58:0;;116402:212;-1:-1:-1;;;116402:212:0:o;104172:436::-;104265:4;82772:10;104265:4;104348:25;82772:10;104365:7;104348:9;:25::i;:::-;104321:52;;104412:15;104392:16;:35;;104384:85;;;;-1:-1:-1;;;104384:85:0;;7870:2:1;104384:85:0;;;7852:21:1;7909:2;7889:18;;;7882:30;7948:34;7928:18;;;7921:62;-1:-1:-1;;;7999:18:1;;;7992:35;8044:19;;104384:85:0;7668:401:1;104384:85:0;104505:60;104514:5;104521:7;104549:15;104530:16;:34;104505:8;:60::i;101219:193::-;101298:4;82772:10;101354:28;82772:10;101371:2;101375:6;101354:9;:28::i;119898:591::-;120125:6;120106:15;:25;;120098:67;;;;-1:-1:-1;;;120098:67:0;;8276:2:1;120098:67:0;;;8258:21:1;8315:2;8295:18;;;8288:30;8354:31;8334:18;;;8327:59;8403:18;;120098:67:0;8074:353:1;120098:67:0;120248:58;;;115396:71;120248:58;;;8663:25:1;-1:-1:-1;;;;;8724:32:1;;8704:18;;;8697:60;;;;8773:18;;;8766:34;;;8816:18;;;8809:34;;;120176:14:0;;120193:174;;120221:87;;8635:19:1;;120248:58:0;;;;;;;;;;;;120238:69;;;;;;120221:16;:87::i;:::-;120323:1;120339;120355;120193:13;:174::i;:::-;120176:191;;120395:17;120405:6;120395:9;:17::i;:::-;120386:5;:26;120378:64;;;;-1:-1:-1;;;120378:64:0;;9056:2:1;120378:64:0;;;9038:21:1;9095:2;9075:18;;;9068:30;9134:27;9114:18;;;9107:55;9179:18;;120378:64:0;8854:349:1;120378:64:0;120453:28;120463:6;120471:9;120453;:28::i;:::-;120087:402;119898:591;;;;;;:::o;112639:645::-;112883:8;112864:15;:27;;112856:69;;;;-1:-1:-1;;;112856:69:0;;9410:2:1;112856:69:0;;;9392:21:1;9449:2;9429:18;;;9422:30;9488:31;9468:18;;;9461:59;9537:18;;112856:69:0;9208:353:1;112856:69:0;112938:18;111814:95;112998:5;113005:7;113014:5;113021:16;113031:5;113021:9;:16::i;:::-;112969:79;;;;;;9853:25:1;;;;-1:-1:-1;;;;;9952:15:1;;;9932:18;;;9925:43;10004:15;;;;9984:18;;;9977:43;10036:18;;;10029:34;10079:19;;;10072:35;10123:19;;;10116:35;;;9825:19;;112969:79:0;;;;;;;;;;;;112959:90;;;;;;112938:111;;113062:12;113077:28;113094:10;113077:16;:28::i;:::-;113062:43;;113118:14;113135:28;113149:4;113155:1;113158;113161;113135:13;:28::i;:::-;113118:45;;113192:5;-1:-1:-1;;;;;113182:15:0;:6;-1:-1:-1;;;;;113182:15:0;;113174:58;;;;-1:-1:-1;;;113174:58:0;;10364:2:1;113174:58:0;;;10346:21:1;10403:2;10383:18;;;10376:30;10442:32;10422:18;;;10415:60;10492:18;;113174:58:0;10162:354:1;113174:58:0;113245:31;113254:5;113261:7;113270:5;113245:8;:31::i;:::-;112845:439;;;112639:645;;;;;;;:::o;90854:149::-;90047:7;90074:12;;;:6;:12;;;;;:22;;;88042:16;88053:4;88042:10;:16::i;:::-;90969:26:::1;90981:4;90987:7;90969:11;:26::i;101475:151::-:0;-1:-1:-1;;;;;101591:18:0;;;101564:7;101591:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;101475:151::o;115716:150::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;115832:21:0;;;;;;:12;:21;;;;;:26;;;;;;;;;;;;:::i;:::-;;;;;;;;;;115825:33;;;;;;;;;115832:26;;115825:33;;;;;;;;;-1:-1:-1;;;;;115825:33:0;;;;;;;;;115716:150;-1:-1:-1;;;115716:150:0:o;120795:290::-;120880:28;120892:7;120901:6;120880:11;:28::i;:::-;100803:12;;-1:-1:-1;;;;;;120927:29:0;120919:90;;;;-1:-1:-1;;;120919:90:0;;10723:2:1;120919:90:0;;;10705:21:1;10762:2;10742:18;;;10735:30;10801:34;10781:18;;;10774:62;-1:-1:-1;;;10852:18:1;;;10845:46;10908:19;;120919:90:0;10521:412:1;120919:90:0;121022:55;121039:23;121064:4;121070:6;121022:16;:55::i;:::-;;;120795:290;;:::o;106205:548::-;-1:-1:-1;;;;;106289:21:0;;106281:65;;;;-1:-1:-1;;;106281:65:0;;11140:2:1;106281:65:0;;;11122:21:1;11179:2;11159:18;;;11152:30;11218:33;11198:18;;;11191:61;11269:18;;106281:65:0;10938:355:1;106281:65:0;106359:49;106388:1;106392:7;106401:6;106359:20;:49::i;:::-;106437:6;106421:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;106592:18:0;;:9;:18;;;;;;;;;;;:28;;;;;;106647:37;1736:25:1;;;106647:37:0;;1709:18:1;106647:37:0;;;;;;;106697:48;106725:1;106729:7;106738:6;106697:19;:48::i;123748:98::-;123806:7;123833:5;123837:1;123833;:5;:::i;2956:195::-;3013:7;-1:-1:-1;;;;;3041:26:0;;;3033:78;;;;-1:-1:-1;;;3033:78:0;;11500:2:1;3033:78:0;;;11482:21:1;11539:2;11519:18;;;11512:30;11578:34;11558:18;;;11551:62;-1:-1:-1;;;11629:18:1;;;11622:37;11676:19;;3033:78:0;11298:403:1;3033:78:0;-1:-1:-1;3137:5:0;2956:195::o;15792:190::-;15848:6;15884:16;15875:25;;;15867:76;;;;-1:-1:-1;;;15867:76:0;;11908:2:1;15867:76:0;;;11890:21:1;11947:2;11927:18;;;11920:30;11986:34;11966:18;;;11959:62;-1:-1:-1;;;12037:18:1;;;12030:36;12083:19;;15867:76:0;11706:402:1;130236:622:0;-1:-1:-1;;;;;130440:18:0;;130436:415;;130496:26;130519:2;130496:22;:26::i;:::-;130537:28;:26;:28::i;130436:415::-;-1:-1:-1;;;;;130587:16:0;;130583:268;;130641:28;130664:4;130641:22;:28::i;130583:268::-;130770:28;130793:4;130770:22;:28::i;:::-;130813:26;130836:2;130813:22;:26::i;121520:262::-;-1:-1:-1;;;;;116291:19:0;;;116264:7;116291:19;;;:10;:19;;;;;;;;;;;;;;;121718:56;;116291:19;;;;;121767:6;121718:16;:56::i;123854:103::-;123917:7;123944:5;123948:1;123944;:5;:::i;46674:114::-;46766:14;;46674:114::o;108199:380::-;-1:-1:-1;;;;;108335:19:0;;108327:68;;;;-1:-1:-1;;;108327:68:0;;12315:2:1;108327:68:0;;;12297:21:1;12354:2;12334:18;;;12327:30;12393:34;12373:18;;;12366:62;-1:-1:-1;;;12444:18:1;;;12437:34;12488:19;;108327:68:0;12113:400:1;108327:68:0;-1:-1:-1;;;;;108414:21:0;;108406:68;;;;-1:-1:-1;;;108406:68:0;;12720:2:1;108406:68:0;;;12702:21:1;12759:2;12739:18;;;12732:30;12798:34;12778:18;;;12771:62;-1:-1:-1;;;12849:18:1;;;12842:32;12891:19;;108406:68:0;12518:398:1;108406:68:0;-1:-1:-1;;;;;108487:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;108539:32;;1736:25:1;;;108539:32:0;;1709:18:1;108539:32:0;;;;;;;108199:380;;;:::o;108870:453::-;109005:24;109032:25;109042:5;109049:7;109032:9;:25::i;:::-;109005:52;;-1:-1:-1;;109072:16:0;:37;109068:248;;109154:6;109134:16;:26;;109126:68;;;;-1:-1:-1;;;109126:68:0;;13123:2:1;109126:68:0;;;13105:21:1;13162:2;13142:18;;;13135:30;13201:31;13181:18;;;13174:59;13250:18;;109126:68:0;12921:353:1;109126:68:0;109238:51;109247:5;109254:7;109282:6;109263:16;:25;109238:8;:51::i;105078:840::-;-1:-1:-1;;;;;105209:18:0;;105201:68;;;;-1:-1:-1;;;105201:68:0;;13481:2:1;105201:68:0;;;13463:21:1;13520:2;13500:18;;;13493:30;13559:34;13539:18;;;13532:62;-1:-1:-1;;;13610:18:1;;;13603:35;13655:19;;105201:68:0;13279:401:1;105201:68:0;-1:-1:-1;;;;;105288:16:0;;105280:64;;;;-1:-1:-1;;;105280:64:0;;13887:2:1;105280:64:0;;;13869:21:1;13926:2;13906:18;;;13899:30;13965:34;13945:18;;;13938:62;-1:-1:-1;;;14016:18:1;;;14009:33;14059:19;;105280:64:0;13685:399:1;105280:64:0;105357:38;105378:4;105384:2;105388:6;105357:20;:38::i;:::-;-1:-1:-1;;;;;105430:15:0;;105408:19;105430:15;;;;;;;;;;;105464:21;;;;105456:72;;;;-1:-1:-1;;;105456:72:0;;14291:2:1;105456:72:0;;;14273:21:1;14330:2;14310:18;;;14303:30;14369:34;14349:18;;;14342:62;-1:-1:-1;;;14420:18:1;;;14413:36;14466:19;;105456:72:0;14089:402:1;105456:72:0;-1:-1:-1;;;;;105564:15:0;;;:9;:15;;;;;;;;;;;105582:20;;;105564:38;;105782:13;;;;;;;;;;:23;;;;;;105834:26;;1736:25:1;;;105782:13:0;;105834:26;;1709:18:1;105834:26:0;;;;;;;105873:37;105893:4;105899:2;105903:6;105873:19;:37::i;88897:105::-;88964:30;88975:4;82772:10;88964;:30::i;93155:238::-;93239:22;93247:4;93253:7;93239;:22::i;:::-;93234:152;;93278:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;93278:29:0;;;;;;;;;:36;;-1:-1:-1;;93278:36:0;93310:4;93278:36;;;93361:12;82772:10;;82692:98;93361:12;-1:-1:-1;;;;;93334:40:0;93352:7;-1:-1:-1;;;;;93334:40:0;93346:4;93334:40;;;;;;;;;;93155:238;;:::o;74484:314::-;74537:7;74569:4;-1:-1:-1;;;;;74578:12:0;74561:29;;:66;;;;;74611:16;74594:13;:33;74561:66;74557:234;;;-1:-1:-1;74651:24:0;;74484:314::o;74557:234::-;-1:-1:-1;74987:73:0;;;74737:10;74987:73;;;;16534:25:1;;;;74749:12:0;16575:18:1;;;16568:34;74763:15:0;16618:18:1;;;16611:34;75031:13:0;16661:18:1;;;16654:34;75054:4:0;16704:19:1;;;;16697:61;;;;74987:73:0;;;;;;;;;;16506:19:1;;;;74987:73:0;;;74977:84;;;;;;113608:115::o;93573:239::-;93657:22;93665:4;93671:7;93657;:22::i;:::-;93653:152;;;93728:5;93696:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;93696:29:0;;;;;;;;;;:37;;-1:-1:-1;;93696:37:0;;;93753:40;82772:10;;93696:12;;93753:40;;93728:5;93753:40;93573:239;;:::o;117721:1895::-;118938:12;;117820:7;;;118938:12;119036:1;119027:10;;119023:251;;;119054:11;119077:17;119087:6;119077:9;:17::i;:::-;119068:26;;:6;:26;:::i;:::-;124191:25;124253:21;;;124320:4;124307:18;;119054:40;;-1:-1:-1;119151:11:0;;124303:28;;119113:35;;;:49;119109:154;;;119190:3;119183:10;;119109:154;;;119240:7;:3;119246:1;119240:7;:::i;:::-;119234:13;;119109:154;119039:235;119023:251;119299:4;119293:3;:10;119286:251;;;119320:11;119334:23;119347:3;119352:4;119334:12;:23::i;:::-;124191:25;124253:21;;;124320:4;124307:18;;119320:37;;-1:-1:-1;119414:11:0;;124303:28;;119376:35;;;:49;119372:154;;;119453:3;119446:10;;119372:154;;;119503:7;:3;119509:1;119503:7;:::i;:::-;119497:13;;119372:154;119305:232;119286:251;;;119556:9;;:52;;119572:30;119586:5;119593:8;119600:1;119593:4;:8;:::i;:::-;124191:25;124253:21;;;124320:4;124307:18;;;124303:28;;124105:244;119572:30;:36;;;;-1:-1:-1;;;;;119572:36:0;119556:52;;;119568:1;119556:52;-1:-1:-1;;;;;119549:59:0;;117721:1895;-1:-1:-1;;;;;;117721:1895:0:o;85440:120::-;84449:16;:14;:16::i;:::-;85499:7:::1;:15:::0;;-1:-1:-1;;85499:15:0::1;::::0;;85530:22:::1;82772:10:::0;85539:12:::1;85530:22;::::0;-1:-1:-1;;;;;3460:32:1;;;3442:51;;3430:2;3415:18;85530:22:0::1;;;;;;;85440:120::o:0;136009:155::-;136128:28;136140:7;136149:6;136128:11;:28::i;130866:1619::-;130955:4;130961:7;131002:1;130989:10;:14;130981:49;;;;-1:-1:-1;;;130981:49:0;;14698:2:1;130981:49:0;;;14680:21:1;14737:2;14717:18;;;14710:30;-1:-1:-1;;;14756:18:1;;;14749:52;14818:18;;130981:49:0;14496:346:1;130981:49:0;131063:23;:21;:23::i;:::-;131049:10;:37;;131041:79;;;;-1:-1:-1;;;131041:79:0;;15049:2:1;131041:79:0;;;15031:21:1;15088:2;15068:18;;;15061:30;15127:31;15107:18;;;15100:59;15176:18;;131041:79:0;14847:353:1;131041:79:0;132259:13;132275:40;:9;132304:10;132275:28;:40::i;:::-;132341:20;;132259:56;;-1:-1:-1;132332:29:0;;132328:150;;132386:5;132393:1;132378:17;;;;;;;132328:150;132436:4;132442:9;:16;;132459:5;132442:23;;;;;;;;:::i;:::-;;;;;;;;;132428:38;;;;;130866:1619;;;;;;:::o;121960:388::-;-1:-1:-1;;;;;116291:19:0;;;122045:23;116291:19;;;:10;:19;;;;;;;;;;100987:18;;;;;;;122160:21;;;;:33;;;-1:-1:-1;;;;;;122160:33:0;;;;;;;122211:54;;116291:19;;;;;100987:18;;122160:33;;116291:19;;;122211:54;;122045:23;122211:54;122278:62;122295:15;122312:9;122323:16;122278;:62::i;85181:118::-;84190:19;:17;:19::i;:::-;85241:7:::1;:14:::0;;-1:-1:-1;;85241:14:0::1;85251:4;85241:14;::::0;;85271:20:::1;85278:12;82772:10:::0;;82692:98;128887:223;128934:7;128954:30;:18;46885:19;;46903:1;46885:19;;;46796:127;128954:30;128997:17;129017:23;:21;:23::i;:::-;128997:43;;129056:19;129065:9;129056:19;;;;1736:25:1;;1724:2;1709:18;;1590:177;129056:19:0;;;;;;;;129093:9;128887:223;-1:-1:-1;128887:223:0:o;75711:167::-;75788:7;75815:55;75837:20;:18;:20::i;:::-;75859:10;71172:57;;-1:-1:-1;;;71172:57:0;;;18075:27:1;18118:11;;;18111:27;;;18154:12;;;18147:28;;;71135:7:0;;18191:12:1;;71172:57:0;;;;;;;;;;;;71162:68;;;;;;71155:75;;71042:196;;;;;69351:279;69479:7;69500:17;69519:18;69541:25;69552:4;69558:1;69561;69564;69541:10;:25::i;:::-;69499:67;;;;69577:18;69589:5;69577:11;:18::i;:::-;-1:-1:-1;69613:9:0;69351:279;-1:-1:-1;;;;;69351:279:0:o;113861:207::-;-1:-1:-1;;;;;113982:14:0;;113921:15;113982:14;;;:7;:14;;;;;46766;;46903:1;46885:19;;;;46766:14;114043:17;113938:130;113861:207;;;:::o;123007:733::-;123244:12;;123181:17;;;;;123297:8;;:59;;123327:29;123341:5;123348:7;123354:1;123348:3;:7;:::i;123327:29::-;123297:59;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;123297:59:0;;;;;;;;123308:16;;;;;;;;;-1:-1:-1;123308:16:0;;;;;;;123297:59;123269:87;;123381:7;:13;;;-1:-1:-1;;;;;123369:25:0;;;123417:20;123420:9;123431:5;123417:2;:20;;:::i;:::-;123405:32;;123460:1;123454:3;:7;:44;;;;-1:-1:-1;123465:17:0;;:33;;123486:12;123465:33;123454:44;123450:283;;;123553:29;123572:9;123553:18;:29::i;:::-;123515;123529:5;123536:7;123542:1;123536:3;:7;:::i;123515:29::-;:67;;-1:-1:-1;;;;;123515:67:0;;;;;;;;;;;;;;;;123450:283;;;123615:5;123626:94;;;;;;;;123649:31;123667:12;123649:17;:31::i;:::-;123626:94;;;;;;123689:29;123708:9;123689:18;:29::i;:::-;-1:-1:-1;;;;;123626:94:0;;;;;;123615:106;;;;;;;-1:-1:-1;123615:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;123450:283;123219:521;;123007:733;;;;;;:::o;135356:221::-;84190:19;:17;:19::i;:::-;135525:44:::1;135552:4;135558:2;135562:6;135525:26;:44::i;135655:193::-:0;135797:43;135823:4;135829:2;135833:6;135797:25;:43::i;132493:146::-;-1:-1:-1;;;;;132577:33:0;;;;;;:24;:33;;;;;;;;100987:18;;;;;;;;132561:70;;132577:33;132561:15;:70::i;132612:18::-;132561:15;:70::i;132647:118::-;132704:53;132720:21;132743:13;100803:12;;;100715:108;132704:53;132647:118::o;122356:643::-;122488:3;-1:-1:-1;;;;;122481:10:0;:3;-1:-1:-1;;;;;122481:10:0;;;:24;;;;;122504:1;122495:6;:10;122481:24;122477:515;;;-1:-1:-1;;;;;122526:17:0;;;122522:224;;-1:-1:-1;;;;;122622:17:0;;122565;122622;;;:12;:17;;;;;122565;;122605:54;;122641:9;122652:6;122605:16;:54::i;:::-;122564:95;;;;122704:3;-1:-1:-1;;;;;122683:47:0;;122709:9;122720;122683:47;;;;;;15379:25:1;;;15435:2;15420:18;;15413:34;15367:2;15352:18;;15205:248;122683:47:0;;;;;;;;122545:201;;122522:224;-1:-1:-1;;;;;122766:17:0;;;122762:219;;-1:-1:-1;;;;;122862:17:0;;122805;122862;;;:12;:17;;;;;122805;;122845:49;;122881:4;122887:6;122845:16;:49::i;:::-;122804:90;;;;122939:3;-1:-1:-1;;;;;122918:47:0;;122944:9;122955;122918:47;;;;;;15379:25:1;;;15435:2;15420:18;;15413:34;15367:2;15352:18;;15205:248;122918:47:0;;;;;;;;122785:196;;122356:643;;;:::o;89292:492::-;89381:22;89389:4;89395:7;89381;:22::i;:::-;89376:401;;89569:28;89589:7;89569:19;:28::i;:::-;89670:38;89698:4;89705:2;89670:19;:38::i;:::-;89474:257;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;89474:257:0;;;;;;;;;;-1:-1:-1;;;89420:345:0;;;;;;;:::i;53735:1673::-;53783:7;53807:1;53812;53807:6;53803:47;;-1:-1:-1;53837:1:0;;53735:1673;-1:-1:-1;53735:1673:0:o;53803:47::-;54541:14;54575:1;54564:7;54569:1;54564:4;:7::i;:::-;:12;;54558:1;:19;;54541:36;;55043:1;55032:6;55028:1;:10;;;;;:::i;:::-;;55019:6;:19;55018:26;;55009:35;;55093:1;55082:6;55078:1;:10;;;;;:::i;:::-;;55069:6;:19;55068:26;;55059:35;;55143:1;55132:6;55128:1;:10;;;;;:::i;:::-;;55119:6;:19;55118:26;;55109:35;;55193:1;55182:6;55178:1;:10;;;;;:::i;:::-;;55169:6;:19;55168:26;;55159:35;;55243:1;55232:6;55228:1;:10;;;;;:::i;:::-;;55219:6;:19;55218:26;;55209:35;;55293:1;55282:6;55278:1;:10;;;;;:::i;:::-;;55269:6;:19;55268:26;;55259:35;;55343:1;55332:6;55328:1;:10;;;;;:::i;:::-;;55319:6;:19;55318:26;;55309:35;;55366:23;55370:6;55382;55378:1;:10;;;;;:::i;:::-;;55366:3;:23::i;48136:156::-;48198:7;48273:11;48283:1;48274:5;;;48273:11;:::i;:::-;48263:21;;48264:5;;;48263:21;:::i;84929:108::-;84656:7;;;;84988:41;;;;-1:-1:-1;;;84988:41:0;;17325:2:1;84988:41:0;;;17307:21:1;17364:2;17344:18;;;17337:30;-1:-1:-1;;;17383:18:1;;;17376:50;17443:18;;84988:41:0;17123:344:1;121179:194:0;121264:28;121276:7;121285:6;121264:11;:28::i;:::-;121305:60;121322:23;121347:9;121358:6;121305:16;:60::i;129176:127::-;129240:7;129267:28;:18;46766:14;;46674:114;79389:958;79502:12;;79478:7;;79502:17;;79498:58;;-1:-1:-1;79543:1:0;79536:8;;79498:58;79609:12;;79568:11;;79634:444;79647:4;79641:3;:10;79634:444;;;79668:11;79682:23;79695:3;79700:4;79682:12;:23::i;:::-;81739:31;81874:19;;;81932:4;81919:18;;79668:37;;-1:-1:-1;79959:7:0;;81915:28;;79926:30;:40;79922:145;;;79994:3;79987:10;;79922:145;;;80044:7;:3;80050:1;80044:7;:::i;:::-;80038:13;;79922:145;79653:425;79634:444;;;80204:1;80198:3;:7;:56;;;;-1:-1:-1;80247:7:0;80209:28;80222:5;80229:7;80235:1;80229:3;:7;:::i;80209:28::-;:34;:45;80198:56;80194:146;;;80278:7;80284:1;80278:3;:7;:::i;:::-;80271:14;;;;;;80194:146;-1:-1:-1;80325:3:0;-1:-1:-1;80318:10:0;;84744:108;84656:7;;;;84814:9;84806:38;;;;-1:-1:-1;;;84806:38:0;;17674:2:1;84806:38:0;;;17656:21:1;17713:2;17693:18;;;17686:30;-1:-1:-1;;;17732:18:1;;;17725:46;17788:18;;84806:38:0;17472:340:1;67692:1520:0;67823:7;;68757:66;68744:79;;68740:163;;;-1:-1:-1;68856:1:0;;-1:-1:-1;68860:30:0;68840:51;;68740:163;69017:24;;;69000:14;69017:24;;;;;;;;;18441:25:1;;;18514:4;18502:17;;18482:18;;;18475:45;;;;18536:18;;;18529:34;;;18579:18;;;18572:34;;;69017:24:0;;18413:19:1;;69017:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;69017:24:0;;-1:-1:-1;;69017:24:0;;;-1:-1:-1;;;;;;;69056:20:0;;69052:103;;69109:1;69113:29;69093:50;;;;;;;69052:103;69175:6;-1:-1:-1;69183:20:0;;-1:-1:-1;67692:1520:0;;;;;;;;:::o;63084:521::-;63162:20;63153:5;:29;;;;;;;;:::i;:::-;;63149:449;;63084:521;:::o;63149:449::-;63260:29;63251:5;:38;;;;;;;;:::i;:::-;;63247:351;;63306:34;;-1:-1:-1;;;63306:34:0;;18951:2:1;63306:34:0;;;18933:21:1;18990:2;18970:18;;;18963:30;19029:26;19009:18;;;19002:54;19073:18;;63306:34:0;18749:348:1;63247:351:0;63371:35;63362:5;:44;;;;;;;;:::i;:::-;;63358:240;;63423:41;;-1:-1:-1;;;63423:41:0;;19304:2:1;63423:41:0;;;19286:21:1;19343:2;19323:18;;;19316:30;19382:33;19362:18;;;19355:61;19433:18;;63423:41:0;19102:355:1;63358:240:0;63495:30;63486:5;:39;;;;;;;;:::i;:::-;;63482:116;;63542:44;;-1:-1:-1;;;63542:44:0;;19664:2:1;63542:44:0;;;19646:21:1;19703:2;19683:18;;;19676:30;19742:34;19722:18;;;19715:62;-1:-1:-1;;;19793:18:1;;;19786:32;19835:19;;63542:44:0;19462:398:1;132773:310:0;132868:17;132888:23;:21;:23::i;:::-;132868:43;-1:-1:-1;132868:43:0;132926:30;132942:9;132926:15;:30::i;:::-;:42;132922:154;;;132985:29;;;;;;;;-1:-1:-1;132985:29:0;;;;;;;;;;;;;;133029:16;;;:35;;;;;;;;;;;;;;;132773:310::o;62320:151::-;62378:13;62411:52;-1:-1:-1;;;;;62423:22:0;;60475:2;61716:447;61791:13;61817:19;61849:10;61853:6;61849:1;:10;:::i;:::-;:14;;61862:1;61849:14;:::i;:::-;61839:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;61839:25:0;;61817:47;;-1:-1:-1;;;61875:6:0;61882:1;61875:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;61875:15:0;;;;;;;;;-1:-1:-1;;;61901:6:0;61908:1;61901:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;61901:15:0;;;;;;;;-1:-1:-1;61932:9:0;61944:10;61948:6;61944:1;:10;:::i;:::-;:14;;61957:1;61944:14;:::i;:::-;61932:26;;61927:131;61964:1;61960;:5;61927:131;;;-1:-1:-1;;;62008:5:0;62016:3;62008:11;61999:21;;;;;;;:::i;:::-;;;;61987:6;61994:1;61987:9;;;;;;;;:::i;:::-;;;;:33;-1:-1:-1;;;;;61987:33:0;;;;;;;;-1:-1:-1;62045:1:0;62035:11;;;;;61967:3;;;:::i;:::-;;;61927:131;;;-1:-1:-1;62076:10:0;;62068:55;;;;-1:-1:-1;;;62068:55:0;;20513:2:1;62068:55:0;;;20495:21:1;;;20532:18;;;20525:30;20591:34;20571:18;;;20564:62;20643:18;;62068:55:0;20311:356:1;55885:1019:0;55937:7;;56024:3;56015:12;;;:16;56011:102;;56062:3;56052:13;;;;56084;56011:102;56140:2;56131:11;;;:15;56127:99;;56177:2;56167:12;;;;56198;56127:99;56253:2;56244:11;;;:15;56240:99;;56290:2;56280:12;;;;56311;56240:99;56366:2;56357:11;;;:15;56353:99;;56403:2;56393:12;;;;56424;56353:99;56479:1;56470:10;;;:14;56466:96;;56515:1;56505:11;;;;56535;56466:96;56589:1;56580:10;;;:14;56576:96;;56625:1;56615:11;;;;56645;56576:96;56699:1;56690:10;;;:14;56686:96;;56735:1;56725:11;;;;56755;56686:96;56809:1;56800:10;;;:14;56796:66;;56845:1;56835:11;56890:6;55885:1019;-1:-1:-1;;55885:1019:0:o;47911:106::-;47969:7;48000:1;47996;:5;:13;;48008:1;47996:13;;;-1:-1:-1;48004:1:0;;47911:106;-1:-1:-1;47911:106:0:o;107086:675::-;-1:-1:-1;;;;;107170:21:0;;107162:67;;;;-1:-1:-1;;;107162:67:0;;20874:2:1;107162:67:0;;;20856:21:1;20913:2;20893:18;;;20886:30;20952:34;20932:18;;;20925:62;-1:-1:-1;;;21003:18:1;;;20996:31;21044:19;;107162:67:0;20672:397:1;107162:67:0;107242:49;107263:7;107280:1;107284:6;107242:20;:49::i;:::-;-1:-1:-1;;;;;107329:18:0;;107304:22;107329:18;;;;;;;;;;;107366:24;;;;107358:71;;;;-1:-1:-1;;;107358:71:0;;21276:2:1;107358:71:0;;;21258:21:1;21315:2;21295:18;;;21288:30;21354:34;21334:18;;;21327:62;-1:-1:-1;;;21405:18:1;;;21398:32;21447:19;;107358:71:0;21074:398:1;107358:71:0;-1:-1:-1;;;;;107465:18:0;;:9;:18;;;;;;;;;;;107486:23;;;107465:44;;107604:12;:22;;;;;;;107655:37;1736:25:1;;;107465:9:0;;:18;107655:37;;1709:18:1;107655:37:0;;;;;;;107705:48;107725:7;107742:1;107746:6;107705:19;:48::i;133091:212::-;133185:10;;133161:7;;133185:15;;133181:115;;-1:-1:-1;133224:1:0;;133091:212;-1:-1:-1;133091:212:0:o;133181:115::-;133269:10;;133265:3;;133269:14;;133282:1;;133269:14;:::i;:::-;133265:19;;;;;;;;:::i;:::-;;;;;;;;;133258:26;;133091:212;;;:::o;133181:115::-;133091:212;;;:::o;14:286:1:-;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:1;;209:43;;199:71;;266:1;263;256:12;497:250;582:1;592:113;606:6;603:1;600:13;592:113;;;682:11;;;676:18;663:11;;;656:39;628:2;621:10;592:113;;;-1:-1:-1;;739:1:1;721:16;;714:27;497:250::o;752:396::-;901:2;890:9;883:21;864:4;933:6;927:13;976:6;971:2;960:9;956:18;949:34;992:79;1064:6;1059:2;1048:9;1044:18;1039:2;1031:6;1027:15;992:79;:::i;:::-;1132:2;1111:15;-1:-1:-1;;1107:29:1;1092:45;;;;1139:2;1088:54;;752:396;-1:-1:-1;;752:396:1:o;1153:173::-;1221:20;;-1:-1:-1;;;;;1270:31:1;;1260:42;;1250:70;;1316:1;1313;1306:12;1331:254;1399:6;1407;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;1499:29;1518:9;1499:29;:::i;:::-;1489:39;1575:2;1560:18;;;;1547:32;;-1:-1:-1;;;1331:254:1:o;1772:328::-;1849:6;1857;1865;1918:2;1906:9;1897:7;1893:23;1889:32;1886:52;;;1934:1;1931;1924:12;1886:52;1957:29;1976:9;1957:29;:::i;:::-;1947:39;;2005:38;2039:2;2028:9;2024:18;2005:38;:::i;:::-;1995:48;;2090:2;2079:9;2075:18;2062:32;2052:42;;1772:328;;;;;:::o;2105:180::-;2164:6;2217:2;2205:9;2196:7;2192:23;2188:32;2185:52;;;2233:1;2230;2223:12;2185:52;-1:-1:-1;2256:23:1;;2105:180;-1:-1:-1;2105:180:1:o;2472:254::-;2540:6;2548;2601:2;2589:9;2580:7;2576:23;2572:32;2569:52;;;2617:1;2614;2607:12;2569:52;2653:9;2640:23;2630:33;;2682:38;2716:2;2705:9;2701:18;2682:38;:::i;:::-;2672:48;;2472:254;;;;;:::o;3105:186::-;3164:6;3217:2;3205:9;3196:7;3192:23;3188:32;3185:52;;;3233:1;3230;3223:12;3185:52;3256:29;3275:9;3256:29;:::i;3701:156::-;3767:20;;3827:4;3816:16;;3806:27;;3796:55;;3847:1;3844;3837:12;3862:531;3964:6;3972;3980;3988;3996;4004;4057:3;4045:9;4036:7;4032:23;4028:33;4025:53;;;4074:1;4071;4064:12;4025:53;4097:29;4116:9;4097:29;:::i;:::-;4087:39;;4173:2;4162:9;4158:18;4145:32;4135:42;;4224:2;4213:9;4209:18;4196:32;4186:42;;4247:36;4279:2;4268:9;4264:18;4247:36;:::i;:::-;4237:46;;4330:3;4319:9;4315:19;4302:33;4292:43;;4382:3;4371:9;4367:19;4354:33;4344:43;;3862:531;;;;;;;;:::o;4398:606::-;4509:6;4517;4525;4533;4541;4549;4557;4610:3;4598:9;4589:7;4585:23;4581:33;4578:53;;;4627:1;4624;4617:12;4578:53;4650:29;4669:9;4650:29;:::i;:::-;4640:39;;4698:38;4732:2;4721:9;4717:18;4698:38;:::i;:::-;4688:48;;4783:2;4772:9;4768:18;4755:32;4745:42;;4834:2;4823:9;4819:18;4806:32;4796:42;;4857:37;4889:3;4878:9;4874:19;4857:37;:::i;:::-;4847:47;;4941:3;4930:9;4926:19;4913:33;4903:43;;4993:3;4982:9;4978:19;4965:33;4955:43;;4398:606;;;;;;;;;;:::o;5009:260::-;5077:6;5085;5138:2;5126:9;5117:7;5113:23;5109:32;5106:52;;;5154:1;5151;5144:12;5106:52;5177:29;5196:9;5177:29;:::i;:::-;5167:39;;5225:38;5259:2;5248:9;5244:18;5225:38;:::i;5274:350::-;5341:6;5349;5402:2;5390:9;5381:7;5377:23;5373:32;5370:52;;;5418:1;5415;5408:12;5370:52;5441:29;5460:9;5441:29;:::i;:::-;5431:39;;5520:2;5509:9;5505:18;5492:32;5564:10;5557:5;5553:22;5546:5;5543:33;5533:61;;5590:1;5587;5580:12;5533:61;5613:5;5603:15;;;5274:350;;;;;:::o;5980:380::-;6059:1;6055:12;;;;6102;;;6123:61;;6177:4;6169:6;6165:17;6155:27;;6123:61;6230:2;6222:6;6219:14;6199:18;6196:38;6193:161;;6276:10;6271:3;6267:20;6264:1;6257:31;6311:4;6308:1;6301:15;6339:4;6336:1;6329:15;6781:127;6842:10;6837:3;6833:20;6830:1;6823:31;6873:4;6870:1;6863:15;6897:4;6894:1;6887:15;6913:125;6978:9;;;6999:10;;;6996:36;;;7012:18;;:::i;7403:128::-;7470:9;;;7491:11;;;7488:37;;;7505:18;;:::i;7536:127::-;7597:10;7592:3;7588:20;7585:1;7578:31;7628:4;7625:1;7618:15;7652:4;7649:1;7642:15;15458:812;15869:25;15864:3;15857:38;15839:3;15924:6;15918:13;15940:75;16008:6;16003:2;15998:3;15994:12;15987:4;15979:6;15975:17;15940:75;:::i;:::-;-1:-1:-1;;;16074:2:1;16034:16;;;16066:11;;;16059:40;16124:13;;16146:76;16124:13;16208:2;16200:11;;16193:4;16181:17;;16146:76;:::i;:::-;16242:17;16261:2;16238:26;;15458:812;-1:-1:-1;;;;15458:812:1:o;16769:127::-;16830:10;16825:3;16821:20;16818:1;16811:31;16861:4;16858:1;16851:15;16885:4;16882:1;16875:15;16901:217;16941:1;16967;16957:132;;17011:10;17006:3;17002:20;16999:1;16992:31;17046:4;17043:1;17036:15;17074:4;17071:1;17064:15;16957:132;-1:-1:-1;17103:9:1;;16901:217::o;18617:127::-;18678:10;18673:3;18669:20;18666:1;18659:31;18709:4;18706:1;18699:15;18733:4;18730:1;18723:15;19865:168;19938:9;;;19969;;19986:15;;;19980:22;;19966:37;19956:71;;20007:18;;:::i;20038:127::-;20099:10;20094:3;20090:20;20087:1;20080:31;20130:4;20127:1;20120:15;20154:4;20151:1;20144:15;20170:136;20209:3;20237:5;20227:39;;20246:18;;:::i;:::-;-1:-1:-1;;;20282:18:1;;20170:136::o

Swarm Source

ipfs://0e1999ae182022fa304e418651b1c0b68bd6f94583355e3634d652f99d050600
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.