ETH Price: $3,011.53 (+4.53%)
Gas: 1 Gwei

Token

BitANT (BitANT)
 

Overview

Max Total Supply

10,000,000,000 BitANT

Holders

1,494 (0.00%)

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
MEV Bot: 0x74d...631
Balance
0 BitANT

Value
$0.00
0x74de5d4fcbf63e00296fd95d33236b9794016631
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Bitbtc Protocol project aims to solve the problems of high price and slow transfer speed of bitcoin, it propose a solution to split BTC into BitBTC on the Ethereum through smart contracts, that is 1 BTC = 1 million BitBTC.

# Exchange Pair Price  24H Volume % Volume
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
BitANT

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
istanbul EvmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-10-05
*/

pragma solidity ^0.8.0;

// SPDX-License-Identifier: MIT







/**
 * @dev This is the interface that {BeaconProxy} expects of its beacon.
 */
interface IBeaconUpgradeable {
    /**
     * @dev Must return an address that can be used as a delegate call target.
     *
     * {BeaconProxy} will check that this address is a contract.
     */
    function implementation() external view returns (address);
}



/**
 * @dev Collection of functions related to the address type
 */
library AddressUpgradeable {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

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

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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



/**
 * @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 StorageSlotUpgradeable {
    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) {
        assembly {
            r.slot := slot
        }
    }

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

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

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



/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        require(_initializing || !_initialized, "Initializable: contract is already initialized");

        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }
}

/**
 * @dev This abstract contract provides getters and event emitting update functions for
 * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.
 *
 * _Available since v4.1._
 *
 * @custom:oz-upgrades-unsafe-allow delegatecall
 */
abstract contract ERC1967UpgradeUpgradeable is Initializable {
    function __ERC1967Upgrade_init() internal initializer {
        __ERC1967Upgrade_init_unchained();
    }

    function __ERC1967Upgrade_init_unchained() internal initializer {
    }
    // This is the keccak-256 hash of "eip1967.proxy.rollback" subtracted by 1
    bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143;

    /**
     * @dev Storage slot with the address of the current implementation.
     * This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;

    /**
     * @dev Emitted when the implementation is upgraded.
     */
    event Upgraded(address indexed implementation);

    /**
     * @dev Returns the current implementation address.
     */
    function _getImplementation() internal view returns (address) {
        return StorageSlotUpgradeable.getAddressSlot(_IMPLEMENTATION_SLOT).value;
    }

    /**
     * @dev Stores a new address in the EIP1967 implementation slot.
     */
    function _setImplementation(address newImplementation) private {
        require(AddressUpgradeable.isContract(newImplementation), "ERC1967: new implementation is not a contract");
        StorageSlotUpgradeable.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
    }

    /**
     * @dev Perform implementation upgrade
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeTo(address newImplementation) internal {
        _setImplementation(newImplementation);
        emit Upgraded(newImplementation);
    }

    /**
     * @dev Perform implementation upgrade with additional setup call.
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeToAndCall(
        address newImplementation,
        bytes memory data,
        bool forceCall
    ) internal {
        _upgradeTo(newImplementation);
        if (data.length > 0 || forceCall) {
            _functionDelegateCall(newImplementation, data);
        }
    }

    /**
     * @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call.
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeToAndCallSecure(
        address newImplementation,
        bytes memory data,
        bool forceCall
    ) internal {
        address oldImplementation = _getImplementation();

        // Initial upgrade and setup call
        _setImplementation(newImplementation);
        if (data.length > 0 || forceCall) {
            _functionDelegateCall(newImplementation, data);
        }

        // Perform rollback test if not already in progress
        StorageSlotUpgradeable.BooleanSlot storage rollbackTesting = StorageSlotUpgradeable.getBooleanSlot(_ROLLBACK_SLOT);
        if (!rollbackTesting.value) {
            // Trigger rollback using upgradeTo from the new implementation
            rollbackTesting.value = true;
            _functionDelegateCall(
                newImplementation,
                abi.encodeWithSignature("upgradeTo(address)", oldImplementation)
            );
            rollbackTesting.value = false;
            // Check rollback was effective
            require(oldImplementation == _getImplementation(), "ERC1967Upgrade: upgrade breaks further upgrades");
            // Finally reset to the new implementation and log the upgrade
            _upgradeTo(newImplementation);
        }
    }

    /**
     * @dev Storage slot with the admin of the contract.
     * This is the keccak-256 hash of "eip1967.proxy.admin" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;

    /**
     * @dev Emitted when the admin account has changed.
     */
    event AdminChanged(address previousAdmin, address newAdmin);

    /**
     * @dev Returns the current admin.
     */
    function _getAdmin() internal view returns (address) {
        return StorageSlotUpgradeable.getAddressSlot(_ADMIN_SLOT).value;
    }

    /**
     * @dev Stores a new address in the EIP1967 admin slot.
     */
    function _setAdmin(address newAdmin) private {
        require(newAdmin != address(0), "ERC1967: new admin is the zero address");
        StorageSlotUpgradeable.getAddressSlot(_ADMIN_SLOT).value = newAdmin;
    }

    /**
     * @dev Changes the admin of the proxy.
     *
     * Emits an {AdminChanged} event.
     */
    function _changeAdmin(address newAdmin) internal {
        emit AdminChanged(_getAdmin(), newAdmin);
        _setAdmin(newAdmin);
    }

    /**
     * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.
     * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor.
     */
    bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;

    /**
     * @dev Emitted when the beacon is upgraded.
     */
    event BeaconUpgraded(address indexed beacon);

    /**
     * @dev Returns the current beacon.
     */
    function _getBeacon() internal view returns (address) {
        return StorageSlotUpgradeable.getAddressSlot(_BEACON_SLOT).value;
    }

    /**
     * @dev Stores a new beacon in the EIP1967 beacon slot.
     */
    function _setBeacon(address newBeacon) private {
        require(AddressUpgradeable.isContract(newBeacon), "ERC1967: new beacon is not a contract");
        require(
            AddressUpgradeable.isContract(IBeaconUpgradeable(newBeacon).implementation()),
            "ERC1967: beacon implementation is not a contract"
        );
        StorageSlotUpgradeable.getAddressSlot(_BEACON_SLOT).value = newBeacon;
    }

    /**
     * @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does
     * not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that).
     *
     * Emits a {BeaconUpgraded} event.
     */
    function _upgradeBeaconToAndCall(
        address newBeacon,
        bytes memory data,
        bool forceCall
    ) internal {
        _setBeacon(newBeacon);
        emit BeaconUpgraded(newBeacon);
        if (data.length > 0 || forceCall) {
            _functionDelegateCall(IBeaconUpgradeable(newBeacon).implementation(), data);
        }
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function _functionDelegateCall(address target, bytes memory data) private returns (bytes memory) {
        require(AddressUpgradeable.isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return AddressUpgradeable.verifyCallResult(success, returndata, "Address: low-level delegate call failed");
    }
    uint256[50] private __gap;
}

/**
 * @dev An upgradeability mechanism designed for UUPS proxies. The functions included here can perform an upgrade of an
 * {ERC1967Proxy}, when this contract is set as the implementation behind such a proxy.
 *
 * A security mechanism ensures that an upgrade does not turn off upgradeability accidentally, although this risk is
 * reinstated if the upgrade retains upgradeability but removes the security mechanism, e.g. by replacing
 * `UUPSUpgradeable` with a custom implementation of upgrades.
 *
 * The {_authorizeUpgrade} function must be overridden to include access restriction to the upgrade mechanism.
 *
 * _Available since v4.1._
 */
abstract contract UUPSUpgradeable is Initializable, ERC1967UpgradeUpgradeable {
    function __UUPSUpgradeable_init() internal initializer {
        __ERC1967Upgrade_init_unchained();
        __UUPSUpgradeable_init_unchained();
    }

    function __UUPSUpgradeable_init_unchained() internal initializer {
    }
    /// @custom:oz-upgrades-unsafe-allow state-variable-immutable state-variable-assignment
    address private immutable __self = address(this);

    /**
     * @dev Check that the execution is being performed through a delegatecall call and that the execution context is
     * a proxy contract with an implementation (as defined in ERC1967) pointing to self. This should only be the case
     * for UUPS and transparent proxies that are using the current contract as their implementation. Execution of a
     * function through ERC1167 minimal proxies (clones) would not normally pass this test, but is not guaranteed to
     * fail.
     */
    modifier onlyProxy() {
        require(address(this) != __self, "Function must be called through delegatecall");
        require(_getImplementation() == __self, "Function must be called through active proxy");
        _;
    }

    /**
     * @dev Upgrade the implementation of the proxy to `newImplementation`.
     *
     * Calls {_authorizeUpgrade}.
     *
     * Emits an {Upgraded} event.
     */
    function upgradeTo(address newImplementation) external virtual onlyProxy {
        _authorizeUpgrade(newImplementation);
        _upgradeToAndCallSecure(newImplementation, new bytes(0), false);
    }

    /**
     * @dev Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call
     * encoded in `data`.
     *
     * Calls {_authorizeUpgrade}.
     *
     * Emits an {Upgraded} event.
     */
    function upgradeToAndCall(address newImplementation, bytes memory data) external payable virtual onlyProxy {
        _authorizeUpgrade(newImplementation);
        _upgradeToAndCallSecure(newImplementation, data, true);
    }

    /**
     * @dev Function that should revert when `msg.sender` is not authorized to upgrade the contract. Called by
     * {upgradeTo} and {upgradeToAndCall}.
     *
     * Normally, this function will use an xref:access.adoc[access control] modifier such as {Ownable-onlyOwner}.
     *
     * ```solidity
     * function _authorizeUpgrade(address) internal override onlyOwner {}
     * ```
     */
    function _authorizeUpgrade(address newImplementation) internal virtual;
    uint256[50] private __gap;
}





/**
 * @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 ContextUpgradeable is Initializable {
    function __Context_init() internal initializer {
        __Context_init_unchained();
    }

    function __Context_init_unchained() internal initializer {
    }
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
    uint256[50] private __gap;
}

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function __Ownable_init() internal initializer {
        __Context_init_unchained();
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal initializer {
        _setOwner(_msgSender());
    }

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

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

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

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

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
    uint256[49] private __gap;
}





/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20Upgradeable {
    /**
     * @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 `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, 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 `sender` to `recipient` 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 sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @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 Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20MetadataUpgradeable is IERC20Upgradeable {
    /**
     * @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);
}

/**
 * @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.zeppelin.solutions/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 ERC20Upgradeable is Initializable, ContextUpgradeable, IERC20Upgradeable, IERC20MetadataUpgradeable {
    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.
     */
    function __ERC20_init(string memory name_, string memory symbol_) internal initializer {
        __Context_init_unchained();
        __ERC20_init_unchained(name_, symbol_);
    }

    function __ERC20_init_unchained(string memory name_, string memory symbol_) internal initializer {
        _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:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, 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}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), 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}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - 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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][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) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * 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:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, 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;
        _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;
        }
        _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 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 {}
    uint256[45] private __gap;
}



/**
 * @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 ERC20BurnableUpgradeable is Initializable, ContextUpgradeable, ERC20Upgradeable {
    function __ERC20Burnable_init() internal initializer {
        __Context_init_unchained();
        __ERC20Burnable_init_unchained();
    }

    function __ERC20Burnable_init_unchained() internal initializer {
    }
    /**
     * @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 {
        uint256 currentAllowance = allowance(account, _msgSender());
        require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance");
        unchecked {
            _approve(account, _msgSender(), currentAllowance - amount);
        }
        _burn(account, amount);
    }
    uint256[50] private __gap;
}





/**
 * @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 PausableUpgradeable is Initializable, ContextUpgradeable {
    /**
     * @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.
     */
    function __Pausable_init() internal initializer {
        __Context_init_unchained();
        __Pausable_init_unchained();
    }

    function __Pausable_init_unchained() internal initializer {
        _paused = false;
    }

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

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

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

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

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

/**
 * @dev ERC20 token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 */
abstract contract ERC20PausableUpgradeable is Initializable, ERC20Upgradeable, PausableUpgradeable {
    function __ERC20Pausable_init() internal initializer {
        __Context_init_unchained();
        __Pausable_init_unchained();
        __ERC20Pausable_init_unchained();
    }

    function __ERC20Pausable_init_unchained() internal initializer {
    }
    /**
     * @dev See {ERC20-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, amount);

        require(!paused(), "ERC20Pausable: token transfer while paused");
    }
    uint256[50] private __gap;
}





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





/**
 * @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 ECDSAUpgradeable {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    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");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' 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) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        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.
            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 if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } 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;
        uint8 v;
        assembly {
            s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
            v := add(shr(255, vs), 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 (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

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

/**
 * @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 EIP712Upgradeable is Initializable {
    /* solhint-disable var-name-mixedcase */
    bytes32 private _HASHED_NAME;
    bytes32 private _HASHED_VERSION;
    bytes32 private constant _TYPE_HASH = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)");

    /* 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].
     */
    function __EIP712_init(string memory name, string memory version) internal initializer {
        __EIP712_init_unchained(name, version);
    }

    function __EIP712_init_unchained(string memory name, string memory version) internal initializer {
        bytes32 hashedName = keccak256(bytes(name));
        bytes32 hashedVersion = keccak256(bytes(version));
        _HASHED_NAME = hashedName;
        _HASHED_VERSION = hashedVersion;
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() internal view returns (bytes32) {
        return _buildDomainSeparator(_TYPE_HASH, _EIP712NameHash(), _EIP712VersionHash());
    }

    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 ECDSAUpgradeable.toTypedDataHash(_domainSeparatorV4(), structHash);
    }

    /**
     * @dev The hash of the name parameter for the EIP712 domain.
     *
     * NOTE: This function reads from storage by default, but can be redefined to return a constant value if gas costs
     * are a concern.
     */
    function _EIP712NameHash() internal virtual view returns (bytes32) {
        return _HASHED_NAME;
    }

    /**
     * @dev The hash of the version parameter for the EIP712 domain.
     *
     * NOTE: This function reads from storage by default, but can be redefined to return a constant value if gas costs
     * are a concern.
     */
    function _EIP712VersionHash() internal virtual view returns (bytes32) {
        return _HASHED_VERSION;
    }
    uint256[50] private __gap;
}



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

/**
 * @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 ERC20PermitUpgradeable is Initializable, ERC20Upgradeable, IERC20PermitUpgradeable, EIP712Upgradeable {
    using CountersUpgradeable for CountersUpgradeable.Counter;

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

    // solhint-disable-next-line var-name-mixedcase
    bytes32 private _PERMIT_TYPEHASH;

    /**
     * @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.
     */
    function __ERC20Permit_init(string memory name) internal initializer {
        __Context_init_unchained();
        __EIP712_init_unchained(name, "1");
        __ERC20Permit_init_unchained(name);
    }

    function __ERC20Permit_init_unchained(string memory name) internal initializer {
        _PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");}

    /**
     * @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 = ECDSAUpgradeable.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) {
        CountersUpgradeable.Counter storage nonce = _nonces[owner];
        current = nonce.current();
        nonce.increment();
    }
    uint256[49] private __gap;
}





/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library MathUpgradeable {
    /**
     * @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 / b + (a % b == 0 ? 0 : 1);
    }
}



/**
 * @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 SafeCastUpgradeable {
    /**
     * @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
     */
    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 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
     */
    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 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
     */
    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 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
     */
    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 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
     */
    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 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
     */
    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.
     */
    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.
     */
    function toUint256(int256 value) internal pure returns (uint256) {
        require(value >= 0, "SafeCast: value must be positive");
        return uint256(value);
    }

    /**
     * @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) {
        require(value >= type(int128).min && value <= type(int128).max, "SafeCast: value doesn't fit in 128 bits");
        return int128(value);
    }

    /**
     * @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) {
        require(value >= type(int64).min && value <= type(int64).max, "SafeCast: value doesn't fit in 64 bits");
        return int64(value);
    }

    /**
     * @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) {
        require(value >= type(int32).min && value <= type(int32).max, "SafeCast: value doesn't fit in 32 bits");
        return int32(value);
    }

    /**
     * @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) {
        require(value >= type(int16).min && value <= type(int16).max, "SafeCast: value doesn't fit in 16 bits");
        return int16(value);
    }

    /**
     * @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) {
        require(value >= type(int8).min && value <= type(int8).max, "SafeCast: value doesn't fit in 8 bits");
        return int8(value);
    }

    /**
     * @dev Converts an unsigned uint256 into a signed int256.
     *
     * Requirements:
     *
     * - input must be less than or equal to maxInt256.
     */
    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);
    }
}

/**
 * @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.
 * Enabling self-delegation can easily be done by overriding the {delegates} function. Keep in mind however that this
 * will significantly increase the base gas cost of transfers.
 *
 * _Available since v4.2._
 */
abstract contract ERC20VotesUpgradeable is Initializable, ERC20PermitUpgradeable {
    function __ERC20Votes_init_unchained() internal initializer {
    }
    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 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 an account's voting power.
     */
    event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance);

    /**
     * @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 SafeCastUpgradeable.toUint32(_checkpoints[account].length);
    }

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

    /**
     * @dev Gets the current votes balance for `account`
     */
    function getVotes(address account) public view 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 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 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`.
        //
        // 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 high = ckpts.length;
        uint256 low = 0;
        while (low < high) {
            uint256 mid = MathUpgradeable.average(low, high);
            if (ckpts[mid].fromBlock > blockNumber) {
                high = mid;
            } else {
                low = mid + 1;
            }
        }

        return high == 0 ? 0 : ckpts[high - 1].votes;
    }

    /**
     * @dev Delegate votes from the sender to `delegatee`.
     */
    function delegate(address delegatee) public virtual {
        return _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 {
        require(block.timestamp <= expiry, "ERC20Votes: signature expired");
        address signer = ECDSAUpgradeable.recover(
            _hashTypedDataV4(keccak256(abi.encode(_DELEGATION_TYPEHASH, delegatee, nonce, expiry))),
            v,
            r,
            s
        );
        require(nonce == _useNonce(signer), "ERC20Votes: invalid nonce");
        return _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 {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 {DelegateChanged} and {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;
        oldWeight = pos == 0 ? 0 : ckpts[pos - 1].votes;
        newWeight = op(oldWeight, delta);

        if (pos > 0 && ckpts[pos - 1].fromBlock == block.number) {
            ckpts[pos - 1].votes = SafeCastUpgradeable.toUint224(newWeight);
        } else {
            ckpts.push(Checkpoint({fromBlock: SafeCastUpgradeable.toUint32(block.number), votes: SafeCastUpgradeable.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;
    }
    uint256[47] private __gap;
}



interface IBridgeableToken {
  function gateway() external view returns (address);
  function bridgeMint(address account, uint256 amount) external;
  function bridgeBurn(address account, uint256 amount) external;
}

contract BitANT is UUPSUpgradeable, OwnableUpgradeable, ERC20Upgradeable, ERC20BurnableUpgradeable, ERC20PausableUpgradeable, ERC20VotesUpgradeable, IBridgeableToken {
  address private _gateway;

  bool private _feeOn;
  uint256 private _fee;
  address private _feeCollector;
  uint256 private constant FEE_RATIO = 1e4;

  mapping (address => bool) private _inWhiteList;
  mapping (address => bool) private _outWhiteList;

  modifier onlyBridge() virtual {
    require(_msgSender() == _gateway, "ONLY_BRIDGE");
    _;
  }

  function initialize() public virtual payable initializer {
    __UUPSUpgradeable_init();
    __Ownable_init();
    __ERC20_init("BitANT", "BitANT");
    __ERC20Burnable_init();
    __ERC20Pausable_init();
    __ERC20Permit_init("BitANT");

    _feeOn = true;
    _fee = 500;

    address sender = _msgSender();
    _inWhiteList[sender] = true;
    _outWhiteList[sender] = true;

    _mint(_msgSender(), 1e28);
  }

  function init(address gateway_) external virtual onlyOwner {
    _gateway = gateway_;
  }

  function pause() external virtual onlyOwner whenNotPaused {
    _pause();
  }

  function unpause() external virtual onlyOwner whenPaused {
    _unpause();
  }

  function setFee(uint256 fee_) external onlyOwner {
    _fee = fee_;
  }

  function setFeeOn(bool feeOn_) external onlyOwner {
    _feeOn = feeOn_;
  }

  function setFeeCollector(address feeCollector_) external onlyOwner {
    _feeCollector = feeCollector_;
  }

  function addInWhiteList(address account) external onlyOwner {
    _inWhiteList[account] = true;
  }

  function addOutWhiteList(address account) external onlyOwner {
    _outWhiteList[account] = true;
  }

  function removeInWhiteList(address account) external onlyOwner {
    _inWhiteList[account] = false;
  }

  function removeOutWhiteList(address account) external onlyOwner {
    _outWhiteList[account] = false;
  }

  function bridgeMint(address account, uint256 amount) external override onlyBridge {
    _mint(account, amount);
  }

  function bridgeBurn(address account, uint256 amount) external override onlyBridge {
    _burn(account, amount);
  }

  function gateway() external override view returns (address) {
    return _gateway;
  }

  function fee() external view returns (uint256) {
    return _fee;
  }

  function feeOn() external view returns (bool) {
    return _feeOn;
  }

  function feeCollector() external view returns (address) {
    return _feeCollector;
  }

  function isInWhiteList(address account) external view returns (bool) {
    return _inWhiteList[account];
  }

  function isOutWhiteList(address account) external view returns (bool) {
    return _outWhiteList[account];
  }

  function _transfer(address sender, address recipient, uint256 amount) internal virtual override {
    if(!_feeOn || _feeCollector == address(0) || _inWhiteList[sender] || _outWhiteList[recipient]) {
      super._transfer(sender, recipient, amount);
    } else {
      super._transfer(sender, _feeCollector, amount * _fee / FEE_RATIO);
      super._transfer(sender, recipient, amount * (FEE_RATIO - _fee) / FEE_RATIO);
    }
  }

  function _burn(address account, uint256 amount) internal virtual override(ERC20Upgradeable, ERC20VotesUpgradeable) {
    super._burn(account, amount);
  }

  function _mint(address account, uint256 amount) internal virtual override(ERC20Upgradeable, ERC20VotesUpgradeable) {
    super._mint(account, amount);
  }

  function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual override(ERC20Upgradeable, ERC20PausableUpgradeable) {
    super._beforeTokenTransfer(from, to, amount);
  }

  function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual override(ERC20Upgradeable, ERC20VotesUpgradeable) {
    super._afterTokenTransfer(from, to, amount);
  }

  function _authorizeUpgrade(address) internal virtual override onlyOwner {}
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"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":"beacon","type":"address"}],"name":"BeaconUpgraded","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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addInWhiteList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addOutWhiteList","outputs":[],"stateMutability":"nonpayable","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":"amount","type":"uint256"}],"name":"bridgeBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"bridgeMint","outputs":[],"stateMutability":"nonpayable","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 ERC20VotesUpgradeable.Checkpoint","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeCollector","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gateway","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPastTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPastVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"gateway_","type":"address"}],"name":"init","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialize","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isInWhiteList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isOutWhiteList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":"address","name":"account","type":"address"}],"name":"removeInWhiteList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeOutWhiteList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"fee_","type":"uint256"}],"name":"setFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"feeCollector_","type":"address"}],"name":"setFeeCollector","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"feeOn_","type":"bool"}],"name":"setFeeOn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"}]

60a06040523060601b60805234801561001757600080fd5b5060805160601c613a3361004b60003960008181610bb601528181610bf601528181610e030152610e430152613a336000f3fe6080604052600436106102ae5760003560e01c8063715018a6116101755780639ab24eb0116100dc578063c415b95c11610095578063ddca3f431161006f578063ddca3f43146108b7578063f1127ed8146108cd578063f2fde38b14610917578063fc4064b31461093757600080fd5b8063c415b95c14610832578063d505accf14610851578063dd62ed3e1461087157600080fd5b80639ab24eb014610758578063a42dce8014610778578063a457c2d714610798578063a9059cbb146107b8578063c1bc0591146107d8578063c3cda5201461081257600080fd5b80638456cb591161012e5780638456cb59146106965780638c2a993e146106ab5780638da5cb5b146106cb5780638e539e8c146106e957806395d89b411461070957806396bfc2291461071e57600080fd5b8063715018a6146105f957806374f4f5471461060e57806379cc67901461062e5780637bac351a1461064e5780637ecebe001461066e5780638129fc1c1461068e57600080fd5b80633a46b1a811610219578063587cde1e116101d2578063587cde1e146104fb5780635c19a95c146105355780635c975abb1461055557806369fe0e2d1461056e5780636fcfff451461058e57806370a08231146105c357600080fd5b80633a46b1a8146104535780633f4ba83a146104735780633f9e9df21461048857806342966c68146104a85780634f1ef286146104c85780634f335d0a146104db57600080fd5b80632e0cc6551161026b5780632e0cc655146103a2578063313ce567146103c25780633447a7ef146103de5780633644e515146103fe5780633659cfe614610413578063395093511461043357600080fd5b806306fdde03146102b3578063095ea7b3146102de578063116191b61461030e57806318160ddd1461034157806319ab453c1461036057806323b872dd14610382575b600080fd5b3480156102bf57600080fd5b506102c8610957565b6040516102d5919061378d565b60405180910390f35b3480156102ea57600080fd5b506102fe6102f936600461367b565b6109e9565b60405190151581526020016102d5565b34801561031a57600080fd5b5061022a546001600160a01b03165b6040516001600160a01b0390911681526020016102d5565b34801561034d57600080fd5b5060cb545b6040519081526020016102d5565b34801561036c57600080fd5b5061038061037b3660046134ce565b6109ff565b005b34801561038e57600080fd5b506102fe61039d36600461351a565b610a55565b3480156103ae57600080fd5b506103806103bd3660046134ce565b610b01565b3480156103ce57600080fd5b50604051601281526020016102d5565b3480156103ea57600080fd5b506103806103f93660046134ce565b610b4d565b34801561040a57600080fd5b50610352610b9c565b34801561041f57600080fd5b5061038061042e3660046134ce565b610bab565b34801561043f57600080fd5b506102fe61044e36600461367b565b610c74565b34801561045f57600080fd5b5061035261046e36600461367b565b610cb0565b34801561047f57600080fd5b50610380610d24565b34801561049457600080fd5b506103806104a33660046134ce565b610da2565b3480156104b457600080fd5b506103806104c3366004613759565b610dee565b6103806104d63660046135be565b610df8565b3480156104e757600080fd5b5061022a54600160a01b900460ff166102fe565b34801561050757600080fd5b506103296105163660046134ce565b6001600160a01b0390811660009081526101f860205260409020541690565b34801561054157600080fd5b506103806105503660046134ce565b610eb2565b34801561056157600080fd5b5061012d5460ff166102fe565b34801561057a57600080fd5b50610380610589366004613759565b610ebc565b34801561059a57600080fd5b506105ae6105a93660046134ce565b610eec565b60405163ffffffff90911681526020016102d5565b3480156105cf57600080fd5b506103526105de3660046134ce565b6001600160a01b0316600090815260c9602052604090205490565b34801561060557600080fd5b50610380610f15565b34801561061a57600080fd5b5061038061062936600461367b565b610f49565b34801561063a57600080fd5b5061038061064936600461367b565b610fa5565b34801561065a57600080fd5b506103806106693660046134ce565b61102b565b34801561067a57600080fd5b506103526106893660046134ce565b61107a565b610380611099565b3480156106a257600080fd5b5061038061120b565b3480156106b757600080fd5b506103806106c636600461367b565b611284565b3480156106d757600080fd5b506097546001600160a01b0316610329565b3480156106f557600080fd5b50610352610704366004613759565b6112e0565b34801561071557600080fd5b506102c861133d565b34801561072a57600080fd5b506102fe6107393660046134ce565b6001600160a01b0316600090815261022d602052604090205460ff1690565b34801561076457600080fd5b506103526107733660046134ce565b61134c565b34801561078457600080fd5b506103806107933660046134ce565b6113e3565b3480156107a457600080fd5b506102fe6107b336600461367b565b611430565b3480156107c457600080fd5b506102fe6107d336600461367b565b6114c9565b3480156107e457600080fd5b506102fe6107f33660046134ce565b6001600160a01b0316600090815261022e602052604090205460ff1690565b34801561081e57600080fd5b5061038061082d3660046136a4565b6114d6565b34801561083e57600080fd5b5061022c546001600160a01b0316610329565b34801561085d57600080fd5b5061038061086c366004613555565b61160c565b34801561087d57600080fd5b5061035261088c3660046134e8565b6001600160a01b03918216600090815260ca6020908152604080832093909416825291909152205490565b3480156108c357600080fd5b5061022b54610352565b3480156108d957600080fd5b506108ed6108e83660046136fb565b611753565b60408051825163ffffffff1681526020928301516001600160e01b031692810192909252016102d5565b34801561092357600080fd5b506103806109323660046134ce565b6117e6565b34801561094357600080fd5b50610380610952366004613739565b61187e565b606060cc805461096690613975565b80601f016020809104026020016040519081016040528092919081815260200182805461099290613975565b80156109df5780601f106109b4576101008083540402835291602001916109df565b820191906000526020600020905b8154815290600101906020018083116109c257829003601f168201915b5050505050905090565b60006109f63384846118c7565b50600192915050565b6097546001600160a01b03163314610a325760405162461bcd60e51b8152600401610a29906138a6565b60405180910390fd5b61022a80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610a628484846119eb565b6001600160a01b038416600090815260ca6020908152604080832033845290915290205482811015610ae75760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610a29565b610af485338584036118c7565b60019150505b9392505050565b6097546001600160a01b03163314610b2b5760405162461bcd60e51b8152600401610a29906138a6565b6001600160a01b0316600090815261022e60205260409020805460ff19169055565b6097546001600160a01b03163314610b775760405162461bcd60e51b8152600401610a29906138a6565b6001600160a01b0316600090815261022d60205260409020805460ff19166001179055565b6000610ba6611ac1565b905090565b306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161415610bf45760405162461bcd60e51b8152600401610a29906137c0565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610c26611b3e565b6001600160a01b031614610c4c5760405162461bcd60e51b8152600401610a299061380c565b610c5581611b6c565b60408051600080825260208201909252610c7191839190611b96565b50565b33600081815260ca602090815260408083206001600160a01b038716845290915281205490916109f6918590610cab9086906138db565b6118c7565b6000438210610d015760405162461bcd60e51b815260206004820152601f60248201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e6564006044820152606401610a29565b6001600160a01b03831660009081526101f960205260409020610afa9083611ce1565b6097546001600160a01b03163314610d4e5760405162461bcd60e51b8152600401610a29906138a6565b61012d5460ff16610d985760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610a29565b610da0611dba565b565b6097546001600160a01b03163314610dcc5760405162461bcd60e51b8152600401610a29906138a6565b6001600160a01b0316600090815261022d60205260409020805460ff19169055565b610c713382611e4f565b306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161415610e415760405162461bcd60e51b8152600401610a29906137c0565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610e73611b3e565b6001600160a01b031614610e995760405162461bcd60e51b8152600401610a299061380c565b610ea282611b6c565b610eae82826001611b96565b5050565b610c713382611e59565b6097546001600160a01b03163314610ee65760405162461bcd60e51b8152600401610a29906138a6565b61022b55565b6001600160a01b03811660009081526101f96020526040812054610f0f90611eda565b92915050565b6097546001600160a01b03163314610f3f5760405162461bcd60e51b8152600401610a29906138a6565b610da06000611f43565b61022a546001600160a01b0316336001600160a01b031614610f9b5760405162461bcd60e51b815260206004820152600b60248201526a4f4e4c595f42524944474560a81b6044820152606401610a29565b610eae8282611e4f565b6000610fb1833361088c565b90508181101561100f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b6064820152608401610a29565b61101c83338484036118c7565b6110268383611e4f565b505050565b6097546001600160a01b031633146110555760405162461bcd60e51b8152600401610a29906138a6565b6001600160a01b0316600090815261022e60205260409020805460ff19166001179055565b6001600160a01b03811660009081526101c56020526040812054610f0f565b600054610100900460ff16806110b2575060005460ff16155b6110ce5760405162461bcd60e51b8152600401610a2990613858565b600054610100900460ff161580156110f0576000805461ffff19166101011790555b6110f8611f95565b611100612010565b61114660405180604001604052806006815260200165109a5d10539560d21b81525060405180604001604052806006815260200165109a5d10539560d21b815250612077565b61114e611f95565b6111566120f6565b61117d60405180604001604052806006815260200165109a5d10539560d21b81525061215d565b61022a805460ff60a01b1916600160a01b1790556101f461022b5560006111a13390565b6001600160a01b038116600090815261022d602090815260408083208054600160ff19918216811790925561022e90935292208054909116909117905590506111f6336b204fce5e3e250261100000006121fd565b508015610c71576000805461ff001916905550565b6097546001600160a01b031633146112355760405162461bcd60e51b8152600401610a29906138a6565b61012d5460ff161561127c5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610a29565b610da0612207565b61022a546001600160a01b0316336001600160a01b0316146112d65760405162461bcd60e51b815260206004820152600b60248201526a4f4e4c595f42524944474560a81b6044820152606401610a29565b610eae82826121fd565b60004382106113315760405162461bcd60e51b815260206004820152601f60248201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e6564006044820152606401610a29565b610f0f6101fa83611ce1565b606060cd805461096690613975565b6001600160a01b03811660009081526101f9602052604081205480156113d0576001600160a01b03831660009081526101f960205260409020611390600183613932565b815481106113ae57634e487b7160e01b600052603260045260246000fd5b60009182526020909120015464010000000090046001600160e01b03166113d3565b60005b6001600160e01b03169392505050565b6097546001600160a01b0316331461140d5760405162461bcd60e51b8152600401610a29906138a6565b61022c80546001600160a01b0319166001600160a01b0392909216919091179055565b33600090815260ca602090815260408083206001600160a01b0386168452909152812054828110156114b25760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a29565b6114bf33858584036118c7565b5060019392505050565b60006109f63384846119eb565b834211156115265760405162461bcd60e51b815260206004820152601d60248201527f4552433230566f7465733a207369676e617475726520657870697265640000006044820152606401610a29565b604080517fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60208201526001600160a01b0388169181019190915260608101869052608081018590526000906115a0906115989060a00160405160208183030381529060405280519060200120612284565b8585856122d2565b90506115ab816122fa565b86146115f95760405162461bcd60e51b815260206004820152601960248201527f4552433230566f7465733a20696e76616c6964206e6f6e6365000000000000006044820152606401610a29565b6116038188611e59565b50505050505050565b8342111561165c5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610a29565b60006101c65488888861166e8c6122fa565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006116c982612284565b905060006116d9828787876122d2565b9050896001600160a01b0316816001600160a01b03161461173c5760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610a29565b6117478a8a8a6118c7565b50505050505050505050565b60408051808201909152600080825260208201526001600160a01b03831660009081526101f960205260409020805463ffffffff84169081106117a657634e487b7160e01b600052603260045260246000fd5b60009182526020918290206040805180820190915291015463ffffffff8116825264010000000090046001600160e01b0316918101919091529392505050565b6097546001600160a01b031633146118105760405162461bcd60e51b8152600401610a29906138a6565b6001600160a01b0381166118755760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a29565b610c7181611f43565b6097546001600160a01b031633146118a85760405162461bcd60e51b8152600401610a29906138a6565b61022a8054911515600160a01b0260ff60a01b19909216919091179055565b6001600160a01b0383166119295760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a29565b6001600160a01b03821661198a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a29565b6001600160a01b03838116600081815260ca602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b61022a54600160a01b900460ff161580611a0f575061022c546001600160a01b0316155b80611a3357506001600160a01b038316600090815261022d602052604090205460ff165b80611a5757506001600160a01b038216600090815261022e602052604090205460ff165b15611a6757611026838383612323565b61022c5461022b54611a9e9185916001600160a01b039091169061271090611a8f9086613913565b611a9991906138f3565b612323565b611026838361271061022b54612710611ab79190613932565b611a8f9086613913565b6000610ba67f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f611af16101915490565b610192546040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090509392505050565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b6097546001600160a01b03163314610c715760405162461bcd60e51b8152600401610a29906138a6565b6000611ba0611b3e565b9050611bab84612502565b600083511180611bb85750815b15611bc957611bc784846125a7565b505b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143805460ff16611cda57805460ff191660011781556040516001600160a01b0383166024820152611c4890869060440160408051601f198184030181529190526020810180516001600160e01b0316631b2ce7f360e11b1790526125a7565b50805460ff19168155611c59611b3e565b6001600160a01b0316826001600160a01b031614611cd15760405162461bcd60e51b815260206004820152602f60248201527f45524331393637557067726164653a207570677261646520627265616b73206660448201526e75727468657220757067726164657360881b6064820152608401610a29565b611cda85612692565b5050505050565b8154600090815b81811015611d53576000611cfc82846126d2565b905084868281548110611d1f57634e487b7160e01b600052603260045260246000fd5b60009182526020909120015463ffffffff161115611d3f57809250611d4d565b611d4a8160016138db565b91505b50611ce8565b8115611da55784611d65600184613932565b81548110611d8357634e487b7160e01b600052603260045260246000fd5b60009182526020909120015464010000000090046001600160e01b0316611da8565b60005b6001600160e01b031695945050505050565b61012d5460ff16611e045760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610a29565b61012d805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b610eae82826126ed565b6001600160a01b0382811660008181526101f860208181526040808420805460c9845282862054949093528787166001600160a01b03198416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4611ed4828483612706565b50505050565b600063ffffffff821115611f3f5760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b6064820152608401610a29565b5090565b609780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff1680611fae575060005460ff16155b611fca5760405162461bcd60e51b8152600401610a2990613858565b600054610100900460ff16158015611fec576000805461ffff19166101011790555b611ff4612845565b611ffc612845565b8015610c71576000805461ff001916905550565b600054610100900460ff1680612029575060005460ff16155b6120455760405162461bcd60e51b8152600401610a2990613858565b600054610100900460ff16158015612067576000805461ffff19166101011790555b61206f612845565b611ffc6128af565b600054610100900460ff1680612090575060005460ff16155b6120ac5760405162461bcd60e51b8152600401610a2990613858565b600054610100900460ff161580156120ce576000805461ffff19166101011790555b6120d6612845565b6120e0838361290f565b8015611026576000805461ff0019169055505050565b600054610100900460ff168061210f575060005460ff16155b61212b5760405162461bcd60e51b8152600401610a2990613858565b600054610100900460ff1615801561214d576000805461ffff19166101011790555b612155612845565b611ff46129a4565b600054610100900460ff1680612176575060005460ff16155b6121925760405162461bcd60e51b8152600401610a2990613858565b600054610100900460ff161580156121b4576000805461ffff19166101011790555b6121bc612845565b6121df82604051806040016040528060018152602001603160f81b815250612a1a565b6121e882612aa6565b8015610eae576000805461ff00191690555050565b610eae8282612b37565b61012d5460ff161561224e5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610a29565b61012d805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611e323390565b6000610f0f612291611ac1565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b60008060006122e387878787612bc2565b915091506122f081612caf565b5095945050505050565b6001600160a01b03811660009081526101c5602052604090208054600181018255905b50919050565b6001600160a01b0383166123875760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610a29565b6001600160a01b0382166123e95760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610a29565b6123f4838383612eb0565b6001600160a01b038316600090815260c960205260409020548181101561246c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a29565b6001600160a01b03808516600090815260c960205260408082208585039055918516815290812080548492906124a39084906138db565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516124ef91815260200190565b60405180910390a3611ed4848484612ebb565b803b6125665760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610a29565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060823b6126065760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610a29565b600080846001600160a01b0316846040516126219190613771565b600060405180830381855af49150503d806000811461265c576040519150601f19603f3d011682016040523d82523d6000602084013e612661565b606091505b509150915061268982826040518060600160405280602781526020016139d760279139612ec6565b95945050505050565b61269b81612502565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60006126e160028484186138f3565b610afa908484166138db565b6126f78282612eff565b611ed46101fa6130608361306c565b816001600160a01b0316836001600160a01b0316141580156127285750600081115b15611026576001600160a01b038316156127b7576001600160a01b03831660009081526101f9602052604081208190612764906130608561306c565b91509150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a72483836040516127ac929190918252602082015260400190565b60405180910390a250505b6001600160a01b03821615611026576001600160a01b03821660009081526101f96020526040812081906127ee9061320f8561306c565b91509150836001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051612836929190918252602082015260400190565b60405180910390a25050505050565b600054610100900460ff168061285e575060005460ff16155b61287a5760405162461bcd60e51b8152600401610a2990613858565b600054610100900460ff16158015611ffc576000805461ffff19166101011790558015610c71576000805461ff001916905550565b600054610100900460ff16806128c8575060005460ff16155b6128e45760405162461bcd60e51b8152600401610a2990613858565b600054610100900460ff16158015612906576000805461ffff19166101011790555b611ffc33611f43565b600054610100900460ff1680612928575060005460ff16155b6129445760405162461bcd60e51b8152600401610a2990613858565b600054610100900460ff16158015612966576000805461ffff19166101011790555b82516129799060cc906020860190613411565b50815161298d9060cd906020850190613411565b508015611026576000805461ff0019169055505050565b600054610100900460ff16806129bd575060005460ff16155b6129d95760405162461bcd60e51b8152600401610a2990613858565b600054610100900460ff161580156129fb576000805461ffff19166101011790555b61012d805460ff191690558015610c71576000805461ff001916905550565b600054610100900460ff1680612a33575060005460ff16155b612a4f5760405162461bcd60e51b8152600401610a2990613858565b600054610100900460ff16158015612a71576000805461ffff19166101011790555b825160208085019190912083519184019190912061019191909155610192558015611026576000805461ff0019169055505050565b600054610100900460ff1680612abf575060005460ff16155b612adb5760405162461bcd60e51b8152600401610a2990613858565b600054610100900460ff16158015612afd576000805461ffff19166101011790555b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c96101c6558015610eae576000805461ff00191690555050565b612b41828261321b565b60cb546001600160e01b031015612bb35760405162461bcd60e51b815260206004820152603060248201527f4552433230566f7465733a20746f74616c20737570706c79207269736b73206f60448201526f766572666c6f77696e6720766f74657360801b6064820152608401610a29565b611ed46101fa61320f8361306c565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612bf95750600090506003612ca6565b8460ff16601b14158015612c1157508460ff16601c14155b15612c225750600090506004612ca6565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612c76573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612c9f57600060019250925050612ca6565b9150600090505b94509492505050565b6000816004811115612cd157634e487b7160e01b600052602160045260246000fd5b1415612cda5750565b6001816004811115612cfc57634e487b7160e01b600052602160045260246000fd5b1415612d4a5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610a29565b6002816004811115612d6c57634e487b7160e01b600052602160045260246000fd5b1415612dba5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610a29565b6003816004811115612ddc57634e487b7160e01b600052602160045260246000fd5b1415612e355760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610a29565b6004816004811115612e5757634e487b7160e01b600052602160045260246000fd5b1415610c715760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610a29565b61102683838361330e565b611026838383613375565b60608315612ed5575081610afa565b825115612ee55782518084602001fd5b8160405162461bcd60e51b8152600401610a29919061378d565b6001600160a01b038216612f5f5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610a29565b612f6b82600083612eb0565b6001600160a01b038216600090815260c9602052604090205481811015612fdf5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610a29565b6001600160a01b038316600090815260c960205260408120838303905560cb805484929061300e908490613932565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a361102683600084612ebb565b6000610afa8284613932565b8254600090819080156130c55785613085600183613932565b815481106130a357634e487b7160e01b600052603260045260246000fd5b60009182526020909120015464010000000090046001600160e01b03166130c8565b60005b6001600160e01b031692506130e183858763ffffffff16565b915060008111801561312d575043866130fb600184613932565b8154811061311957634e487b7160e01b600052603260045260246000fd5b60009182526020909120015463ffffffff16145b1561319b5761313b826133a8565b86613147600184613932565b8154811061316557634e487b7160e01b600052603260045260246000fd5b9060005260206000200160000160046101000a8154816001600160e01b0302191690836001600160e01b03160217905550613206565b8560405180604001604052806131b043611eda565b63ffffffff1681526020016131c4856133a8565b6001600160e01b0390811690915282546001810184556000938452602093849020835194909301519091166401000000000263ffffffff909316929092179101555b50935093915050565b6000610afa82846138db565b6001600160a01b0382166132715760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610a29565b61327d60008383612eb0565b8060cb600082825461328f91906138db565b90915550506001600160a01b038216600090815260c96020526040812080548392906132bc9084906138db565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3610eae60008383612ebb565b61012d5460ff16156110265760405162461bcd60e51b815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686044820152691a5b19481c185d5cd95960b21b6064820152608401610a29565b6001600160a01b0383811660009081526101f8602052604080822054858416835291205461102692918216911683612706565b60006001600160e01b03821115611f3f5760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b6064820152608401610a29565b82805461341d90613975565b90600052602060002090601f01602090048101928261343f5760008555613485565b82601f1061345857805160ff1916838001178555613485565b82800160010185558215613485579182015b8281111561348557825182559160200191906001019061346a565b50611f3f9291505b80821115611f3f576000815560010161348d565b80356001600160a01b03811681146134b857600080fd5b919050565b803560ff811681146134b857600080fd5b6000602082840312156134df578081fd5b610afa826134a1565b600080604083850312156134fa578081fd5b613503836134a1565b9150613511602084016134a1565b90509250929050565b60008060006060848603121561352e578081fd5b613537846134a1565b9250613545602085016134a1565b9150604084013590509250925092565b600080600080600080600060e0888a03121561356f578283fd5b613578886134a1565b9650613586602089016134a1565b955060408801359450606088013593506135a2608089016134bd565b925060a0880135915060c0880135905092959891949750929550565b600080604083850312156135d0578182fd5b6135d9836134a1565b9150602083013567ffffffffffffffff808211156135f5578283fd5b818501915085601f830112613608578283fd5b81358181111561361a5761361a6139c0565b604051601f8201601f19908116603f01168101908382118183101715613642576136426139c0565b8160405282815288602084870101111561365a578586fd5b82602086016020830137856020848301015280955050505050509250929050565b6000806040838503121561368d578182fd5b613696836134a1565b946020939093013593505050565b60008060008060008060c087890312156136bc578182fd5b6136c5876134a1565b955060208701359450604087013593506136e1606088016134bd565b92506080870135915060a087013590509295509295509295565b6000806040838503121561370d578182fd5b613716836134a1565b9150602083013563ffffffff8116811461372e578182fd5b809150509250929050565b60006020828403121561374a578081fd5b81358015158114610afa578182fd5b60006020828403121561376a578081fd5b5035919050565b60008251613783818460208701613949565b9190910192915050565b60208152600082518060208401526137ac816040850160208701613949565b601f01601f19169190910160400192915050565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156138ee576138ee6139aa565b500190565b60008261390e57634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561392d5761392d6139aa565b500290565b600082821015613944576139446139aa565b500390565b60005b8381101561396457818101518382015260200161394c565b83811115611ed45750506000910152565b600181811c9082168061398957607f821691505b6020821081141561231d57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212208742335ee55f115b904f6f65bc56aefb2221808ff375d4b0d3a632fce6dd477464736f6c63430008040033

Deployed Bytecode

0x6080604052600436106102ae5760003560e01c8063715018a6116101755780639ab24eb0116100dc578063c415b95c11610095578063ddca3f431161006f578063ddca3f43146108b7578063f1127ed8146108cd578063f2fde38b14610917578063fc4064b31461093757600080fd5b8063c415b95c14610832578063d505accf14610851578063dd62ed3e1461087157600080fd5b80639ab24eb014610758578063a42dce8014610778578063a457c2d714610798578063a9059cbb146107b8578063c1bc0591146107d8578063c3cda5201461081257600080fd5b80638456cb591161012e5780638456cb59146106965780638c2a993e146106ab5780638da5cb5b146106cb5780638e539e8c146106e957806395d89b411461070957806396bfc2291461071e57600080fd5b8063715018a6146105f957806374f4f5471461060e57806379cc67901461062e5780637bac351a1461064e5780637ecebe001461066e5780638129fc1c1461068e57600080fd5b80633a46b1a811610219578063587cde1e116101d2578063587cde1e146104fb5780635c19a95c146105355780635c975abb1461055557806369fe0e2d1461056e5780636fcfff451461058e57806370a08231146105c357600080fd5b80633a46b1a8146104535780633f4ba83a146104735780633f9e9df21461048857806342966c68146104a85780634f1ef286146104c85780634f335d0a146104db57600080fd5b80632e0cc6551161026b5780632e0cc655146103a2578063313ce567146103c25780633447a7ef146103de5780633644e515146103fe5780633659cfe614610413578063395093511461043357600080fd5b806306fdde03146102b3578063095ea7b3146102de578063116191b61461030e57806318160ddd1461034157806319ab453c1461036057806323b872dd14610382575b600080fd5b3480156102bf57600080fd5b506102c8610957565b6040516102d5919061378d565b60405180910390f35b3480156102ea57600080fd5b506102fe6102f936600461367b565b6109e9565b60405190151581526020016102d5565b34801561031a57600080fd5b5061022a546001600160a01b03165b6040516001600160a01b0390911681526020016102d5565b34801561034d57600080fd5b5060cb545b6040519081526020016102d5565b34801561036c57600080fd5b5061038061037b3660046134ce565b6109ff565b005b34801561038e57600080fd5b506102fe61039d36600461351a565b610a55565b3480156103ae57600080fd5b506103806103bd3660046134ce565b610b01565b3480156103ce57600080fd5b50604051601281526020016102d5565b3480156103ea57600080fd5b506103806103f93660046134ce565b610b4d565b34801561040a57600080fd5b50610352610b9c565b34801561041f57600080fd5b5061038061042e3660046134ce565b610bab565b34801561043f57600080fd5b506102fe61044e36600461367b565b610c74565b34801561045f57600080fd5b5061035261046e36600461367b565b610cb0565b34801561047f57600080fd5b50610380610d24565b34801561049457600080fd5b506103806104a33660046134ce565b610da2565b3480156104b457600080fd5b506103806104c3366004613759565b610dee565b6103806104d63660046135be565b610df8565b3480156104e757600080fd5b5061022a54600160a01b900460ff166102fe565b34801561050757600080fd5b506103296105163660046134ce565b6001600160a01b0390811660009081526101f860205260409020541690565b34801561054157600080fd5b506103806105503660046134ce565b610eb2565b34801561056157600080fd5b5061012d5460ff166102fe565b34801561057a57600080fd5b50610380610589366004613759565b610ebc565b34801561059a57600080fd5b506105ae6105a93660046134ce565b610eec565b60405163ffffffff90911681526020016102d5565b3480156105cf57600080fd5b506103526105de3660046134ce565b6001600160a01b0316600090815260c9602052604090205490565b34801561060557600080fd5b50610380610f15565b34801561061a57600080fd5b5061038061062936600461367b565b610f49565b34801561063a57600080fd5b5061038061064936600461367b565b610fa5565b34801561065a57600080fd5b506103806106693660046134ce565b61102b565b34801561067a57600080fd5b506103526106893660046134ce565b61107a565b610380611099565b3480156106a257600080fd5b5061038061120b565b3480156106b757600080fd5b506103806106c636600461367b565b611284565b3480156106d757600080fd5b506097546001600160a01b0316610329565b3480156106f557600080fd5b50610352610704366004613759565b6112e0565b34801561071557600080fd5b506102c861133d565b34801561072a57600080fd5b506102fe6107393660046134ce565b6001600160a01b0316600090815261022d602052604090205460ff1690565b34801561076457600080fd5b506103526107733660046134ce565b61134c565b34801561078457600080fd5b506103806107933660046134ce565b6113e3565b3480156107a457600080fd5b506102fe6107b336600461367b565b611430565b3480156107c457600080fd5b506102fe6107d336600461367b565b6114c9565b3480156107e457600080fd5b506102fe6107f33660046134ce565b6001600160a01b0316600090815261022e602052604090205460ff1690565b34801561081e57600080fd5b5061038061082d3660046136a4565b6114d6565b34801561083e57600080fd5b5061022c546001600160a01b0316610329565b34801561085d57600080fd5b5061038061086c366004613555565b61160c565b34801561087d57600080fd5b5061035261088c3660046134e8565b6001600160a01b03918216600090815260ca6020908152604080832093909416825291909152205490565b3480156108c357600080fd5b5061022b54610352565b3480156108d957600080fd5b506108ed6108e83660046136fb565b611753565b60408051825163ffffffff1681526020928301516001600160e01b031692810192909252016102d5565b34801561092357600080fd5b506103806109323660046134ce565b6117e6565b34801561094357600080fd5b50610380610952366004613739565b61187e565b606060cc805461096690613975565b80601f016020809104026020016040519081016040528092919081815260200182805461099290613975565b80156109df5780601f106109b4576101008083540402835291602001916109df565b820191906000526020600020905b8154815290600101906020018083116109c257829003601f168201915b5050505050905090565b60006109f63384846118c7565b50600192915050565b6097546001600160a01b03163314610a325760405162461bcd60e51b8152600401610a29906138a6565b60405180910390fd5b61022a80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610a628484846119eb565b6001600160a01b038416600090815260ca6020908152604080832033845290915290205482811015610ae75760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610a29565b610af485338584036118c7565b60019150505b9392505050565b6097546001600160a01b03163314610b2b5760405162461bcd60e51b8152600401610a29906138a6565b6001600160a01b0316600090815261022e60205260409020805460ff19169055565b6097546001600160a01b03163314610b775760405162461bcd60e51b8152600401610a29906138a6565b6001600160a01b0316600090815261022d60205260409020805460ff19166001179055565b6000610ba6611ac1565b905090565b306001600160a01b037f00000000000000000000000015ee120fd69bec86c1d38502299af7366a41d1a6161415610bf45760405162461bcd60e51b8152600401610a29906137c0565b7f00000000000000000000000015ee120fd69bec86c1d38502299af7366a41d1a66001600160a01b0316610c26611b3e565b6001600160a01b031614610c4c5760405162461bcd60e51b8152600401610a299061380c565b610c5581611b6c565b60408051600080825260208201909252610c7191839190611b96565b50565b33600081815260ca602090815260408083206001600160a01b038716845290915281205490916109f6918590610cab9086906138db565b6118c7565b6000438210610d015760405162461bcd60e51b815260206004820152601f60248201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e6564006044820152606401610a29565b6001600160a01b03831660009081526101f960205260409020610afa9083611ce1565b6097546001600160a01b03163314610d4e5760405162461bcd60e51b8152600401610a29906138a6565b61012d5460ff16610d985760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610a29565b610da0611dba565b565b6097546001600160a01b03163314610dcc5760405162461bcd60e51b8152600401610a29906138a6565b6001600160a01b0316600090815261022d60205260409020805460ff19169055565b610c713382611e4f565b306001600160a01b037f00000000000000000000000015ee120fd69bec86c1d38502299af7366a41d1a6161415610e415760405162461bcd60e51b8152600401610a29906137c0565b7f00000000000000000000000015ee120fd69bec86c1d38502299af7366a41d1a66001600160a01b0316610e73611b3e565b6001600160a01b031614610e995760405162461bcd60e51b8152600401610a299061380c565b610ea282611b6c565b610eae82826001611b96565b5050565b610c713382611e59565b6097546001600160a01b03163314610ee65760405162461bcd60e51b8152600401610a29906138a6565b61022b55565b6001600160a01b03811660009081526101f96020526040812054610f0f90611eda565b92915050565b6097546001600160a01b03163314610f3f5760405162461bcd60e51b8152600401610a29906138a6565b610da06000611f43565b61022a546001600160a01b0316336001600160a01b031614610f9b5760405162461bcd60e51b815260206004820152600b60248201526a4f4e4c595f42524944474560a81b6044820152606401610a29565b610eae8282611e4f565b6000610fb1833361088c565b90508181101561100f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b6064820152608401610a29565b61101c83338484036118c7565b6110268383611e4f565b505050565b6097546001600160a01b031633146110555760405162461bcd60e51b8152600401610a29906138a6565b6001600160a01b0316600090815261022e60205260409020805460ff19166001179055565b6001600160a01b03811660009081526101c56020526040812054610f0f565b600054610100900460ff16806110b2575060005460ff16155b6110ce5760405162461bcd60e51b8152600401610a2990613858565b600054610100900460ff161580156110f0576000805461ffff19166101011790555b6110f8611f95565b611100612010565b61114660405180604001604052806006815260200165109a5d10539560d21b81525060405180604001604052806006815260200165109a5d10539560d21b815250612077565b61114e611f95565b6111566120f6565b61117d60405180604001604052806006815260200165109a5d10539560d21b81525061215d565b61022a805460ff60a01b1916600160a01b1790556101f461022b5560006111a13390565b6001600160a01b038116600090815261022d602090815260408083208054600160ff19918216811790925561022e90935292208054909116909117905590506111f6336b204fce5e3e250261100000006121fd565b508015610c71576000805461ff001916905550565b6097546001600160a01b031633146112355760405162461bcd60e51b8152600401610a29906138a6565b61012d5460ff161561127c5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610a29565b610da0612207565b61022a546001600160a01b0316336001600160a01b0316146112d65760405162461bcd60e51b815260206004820152600b60248201526a4f4e4c595f42524944474560a81b6044820152606401610a29565b610eae82826121fd565b60004382106113315760405162461bcd60e51b815260206004820152601f60248201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e6564006044820152606401610a29565b610f0f6101fa83611ce1565b606060cd805461096690613975565b6001600160a01b03811660009081526101f9602052604081205480156113d0576001600160a01b03831660009081526101f960205260409020611390600183613932565b815481106113ae57634e487b7160e01b600052603260045260246000fd5b60009182526020909120015464010000000090046001600160e01b03166113d3565b60005b6001600160e01b03169392505050565b6097546001600160a01b0316331461140d5760405162461bcd60e51b8152600401610a29906138a6565b61022c80546001600160a01b0319166001600160a01b0392909216919091179055565b33600090815260ca602090815260408083206001600160a01b0386168452909152812054828110156114b25760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a29565b6114bf33858584036118c7565b5060019392505050565b60006109f63384846119eb565b834211156115265760405162461bcd60e51b815260206004820152601d60248201527f4552433230566f7465733a207369676e617475726520657870697265640000006044820152606401610a29565b604080517fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60208201526001600160a01b0388169181019190915260608101869052608081018590526000906115a0906115989060a00160405160208183030381529060405280519060200120612284565b8585856122d2565b90506115ab816122fa565b86146115f95760405162461bcd60e51b815260206004820152601960248201527f4552433230566f7465733a20696e76616c6964206e6f6e6365000000000000006044820152606401610a29565b6116038188611e59565b50505050505050565b8342111561165c5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610a29565b60006101c65488888861166e8c6122fa565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006116c982612284565b905060006116d9828787876122d2565b9050896001600160a01b0316816001600160a01b03161461173c5760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610a29565b6117478a8a8a6118c7565b50505050505050505050565b60408051808201909152600080825260208201526001600160a01b03831660009081526101f960205260409020805463ffffffff84169081106117a657634e487b7160e01b600052603260045260246000fd5b60009182526020918290206040805180820190915291015463ffffffff8116825264010000000090046001600160e01b0316918101919091529392505050565b6097546001600160a01b031633146118105760405162461bcd60e51b8152600401610a29906138a6565b6001600160a01b0381166118755760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a29565b610c7181611f43565b6097546001600160a01b031633146118a85760405162461bcd60e51b8152600401610a29906138a6565b61022a8054911515600160a01b0260ff60a01b19909216919091179055565b6001600160a01b0383166119295760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a29565b6001600160a01b03821661198a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a29565b6001600160a01b03838116600081815260ca602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b61022a54600160a01b900460ff161580611a0f575061022c546001600160a01b0316155b80611a3357506001600160a01b038316600090815261022d602052604090205460ff165b80611a5757506001600160a01b038216600090815261022e602052604090205460ff165b15611a6757611026838383612323565b61022c5461022b54611a9e9185916001600160a01b039091169061271090611a8f9086613913565b611a9991906138f3565b612323565b611026838361271061022b54612710611ab79190613932565b611a8f9086613913565b6000610ba67f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f611af16101915490565b610192546040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090509392505050565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b6097546001600160a01b03163314610c715760405162461bcd60e51b8152600401610a29906138a6565b6000611ba0611b3e565b9050611bab84612502565b600083511180611bb85750815b15611bc957611bc784846125a7565b505b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143805460ff16611cda57805460ff191660011781556040516001600160a01b0383166024820152611c4890869060440160408051601f198184030181529190526020810180516001600160e01b0316631b2ce7f360e11b1790526125a7565b50805460ff19168155611c59611b3e565b6001600160a01b0316826001600160a01b031614611cd15760405162461bcd60e51b815260206004820152602f60248201527f45524331393637557067726164653a207570677261646520627265616b73206660448201526e75727468657220757067726164657360881b6064820152608401610a29565b611cda85612692565b5050505050565b8154600090815b81811015611d53576000611cfc82846126d2565b905084868281548110611d1f57634e487b7160e01b600052603260045260246000fd5b60009182526020909120015463ffffffff161115611d3f57809250611d4d565b611d4a8160016138db565b91505b50611ce8565b8115611da55784611d65600184613932565b81548110611d8357634e487b7160e01b600052603260045260246000fd5b60009182526020909120015464010000000090046001600160e01b0316611da8565b60005b6001600160e01b031695945050505050565b61012d5460ff16611e045760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610a29565b61012d805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b610eae82826126ed565b6001600160a01b0382811660008181526101f860208181526040808420805460c9845282862054949093528787166001600160a01b03198416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4611ed4828483612706565b50505050565b600063ffffffff821115611f3f5760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b6064820152608401610a29565b5090565b609780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff1680611fae575060005460ff16155b611fca5760405162461bcd60e51b8152600401610a2990613858565b600054610100900460ff16158015611fec576000805461ffff19166101011790555b611ff4612845565b611ffc612845565b8015610c71576000805461ff001916905550565b600054610100900460ff1680612029575060005460ff16155b6120455760405162461bcd60e51b8152600401610a2990613858565b600054610100900460ff16158015612067576000805461ffff19166101011790555b61206f612845565b611ffc6128af565b600054610100900460ff1680612090575060005460ff16155b6120ac5760405162461bcd60e51b8152600401610a2990613858565b600054610100900460ff161580156120ce576000805461ffff19166101011790555b6120d6612845565b6120e0838361290f565b8015611026576000805461ff0019169055505050565b600054610100900460ff168061210f575060005460ff16155b61212b5760405162461bcd60e51b8152600401610a2990613858565b600054610100900460ff1615801561214d576000805461ffff19166101011790555b612155612845565b611ff46129a4565b600054610100900460ff1680612176575060005460ff16155b6121925760405162461bcd60e51b8152600401610a2990613858565b600054610100900460ff161580156121b4576000805461ffff19166101011790555b6121bc612845565b6121df82604051806040016040528060018152602001603160f81b815250612a1a565b6121e882612aa6565b8015610eae576000805461ff00191690555050565b610eae8282612b37565b61012d5460ff161561224e5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610a29565b61012d805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611e323390565b6000610f0f612291611ac1565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b60008060006122e387878787612bc2565b915091506122f081612caf565b5095945050505050565b6001600160a01b03811660009081526101c5602052604090208054600181018255905b50919050565b6001600160a01b0383166123875760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610a29565b6001600160a01b0382166123e95760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610a29565b6123f4838383612eb0565b6001600160a01b038316600090815260c960205260409020548181101561246c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a29565b6001600160a01b03808516600090815260c960205260408082208585039055918516815290812080548492906124a39084906138db565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516124ef91815260200190565b60405180910390a3611ed4848484612ebb565b803b6125665760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610a29565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060823b6126065760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610a29565b600080846001600160a01b0316846040516126219190613771565b600060405180830381855af49150503d806000811461265c576040519150601f19603f3d011682016040523d82523d6000602084013e612661565b606091505b509150915061268982826040518060600160405280602781526020016139d760279139612ec6565b95945050505050565b61269b81612502565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60006126e160028484186138f3565b610afa908484166138db565b6126f78282612eff565b611ed46101fa6130608361306c565b816001600160a01b0316836001600160a01b0316141580156127285750600081115b15611026576001600160a01b038316156127b7576001600160a01b03831660009081526101f9602052604081208190612764906130608561306c565b91509150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a72483836040516127ac929190918252602082015260400190565b60405180910390a250505b6001600160a01b03821615611026576001600160a01b03821660009081526101f96020526040812081906127ee9061320f8561306c565b91509150836001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051612836929190918252602082015260400190565b60405180910390a25050505050565b600054610100900460ff168061285e575060005460ff16155b61287a5760405162461bcd60e51b8152600401610a2990613858565b600054610100900460ff16158015611ffc576000805461ffff19166101011790558015610c71576000805461ff001916905550565b600054610100900460ff16806128c8575060005460ff16155b6128e45760405162461bcd60e51b8152600401610a2990613858565b600054610100900460ff16158015612906576000805461ffff19166101011790555b611ffc33611f43565b600054610100900460ff1680612928575060005460ff16155b6129445760405162461bcd60e51b8152600401610a2990613858565b600054610100900460ff16158015612966576000805461ffff19166101011790555b82516129799060cc906020860190613411565b50815161298d9060cd906020850190613411565b508015611026576000805461ff0019169055505050565b600054610100900460ff16806129bd575060005460ff16155b6129d95760405162461bcd60e51b8152600401610a2990613858565b600054610100900460ff161580156129fb576000805461ffff19166101011790555b61012d805460ff191690558015610c71576000805461ff001916905550565b600054610100900460ff1680612a33575060005460ff16155b612a4f5760405162461bcd60e51b8152600401610a2990613858565b600054610100900460ff16158015612a71576000805461ffff19166101011790555b825160208085019190912083519184019190912061019191909155610192558015611026576000805461ff0019169055505050565b600054610100900460ff1680612abf575060005460ff16155b612adb5760405162461bcd60e51b8152600401610a2990613858565b600054610100900460ff16158015612afd576000805461ffff19166101011790555b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c96101c6558015610eae576000805461ff00191690555050565b612b41828261321b565b60cb546001600160e01b031015612bb35760405162461bcd60e51b815260206004820152603060248201527f4552433230566f7465733a20746f74616c20737570706c79207269736b73206f60448201526f766572666c6f77696e6720766f74657360801b6064820152608401610a29565b611ed46101fa61320f8361306c565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612bf95750600090506003612ca6565b8460ff16601b14158015612c1157508460ff16601c14155b15612c225750600090506004612ca6565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612c76573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612c9f57600060019250925050612ca6565b9150600090505b94509492505050565b6000816004811115612cd157634e487b7160e01b600052602160045260246000fd5b1415612cda5750565b6001816004811115612cfc57634e487b7160e01b600052602160045260246000fd5b1415612d4a5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610a29565b6002816004811115612d6c57634e487b7160e01b600052602160045260246000fd5b1415612dba5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610a29565b6003816004811115612ddc57634e487b7160e01b600052602160045260246000fd5b1415612e355760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610a29565b6004816004811115612e5757634e487b7160e01b600052602160045260246000fd5b1415610c715760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610a29565b61102683838361330e565b611026838383613375565b60608315612ed5575081610afa565b825115612ee55782518084602001fd5b8160405162461bcd60e51b8152600401610a29919061378d565b6001600160a01b038216612f5f5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610a29565b612f6b82600083612eb0565b6001600160a01b038216600090815260c9602052604090205481811015612fdf5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610a29565b6001600160a01b038316600090815260c960205260408120838303905560cb805484929061300e908490613932565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a361102683600084612ebb565b6000610afa8284613932565b8254600090819080156130c55785613085600183613932565b815481106130a357634e487b7160e01b600052603260045260246000fd5b60009182526020909120015464010000000090046001600160e01b03166130c8565b60005b6001600160e01b031692506130e183858763ffffffff16565b915060008111801561312d575043866130fb600184613932565b8154811061311957634e487b7160e01b600052603260045260246000fd5b60009182526020909120015463ffffffff16145b1561319b5761313b826133a8565b86613147600184613932565b8154811061316557634e487b7160e01b600052603260045260246000fd5b9060005260206000200160000160046101000a8154816001600160e01b0302191690836001600160e01b03160217905550613206565b8560405180604001604052806131b043611eda565b63ffffffff1681526020016131c4856133a8565b6001600160e01b0390811690915282546001810184556000938452602093849020835194909301519091166401000000000263ffffffff909316929092179101555b50935093915050565b6000610afa82846138db565b6001600160a01b0382166132715760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610a29565b61327d60008383612eb0565b8060cb600082825461328f91906138db565b90915550506001600160a01b038216600090815260c96020526040812080548392906132bc9084906138db565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3610eae60008383612ebb565b61012d5460ff16156110265760405162461bcd60e51b815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686044820152691a5b19481c185d5cd95960b21b6064820152608401610a29565b6001600160a01b0383811660009081526101f8602052604080822054858416835291205461102692918216911683612706565b60006001600160e01b03821115611f3f5760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b6064820152608401610a29565b82805461341d90613975565b90600052602060002090601f01602090048101928261343f5760008555613485565b82601f1061345857805160ff1916838001178555613485565b82800160010185558215613485579182015b8281111561348557825182559160200191906001019061346a565b50611f3f9291505b80821115611f3f576000815560010161348d565b80356001600160a01b03811681146134b857600080fd5b919050565b803560ff811681146134b857600080fd5b6000602082840312156134df578081fd5b610afa826134a1565b600080604083850312156134fa578081fd5b613503836134a1565b9150613511602084016134a1565b90509250929050565b60008060006060848603121561352e578081fd5b613537846134a1565b9250613545602085016134a1565b9150604084013590509250925092565b600080600080600080600060e0888a03121561356f578283fd5b613578886134a1565b9650613586602089016134a1565b955060408801359450606088013593506135a2608089016134bd565b925060a0880135915060c0880135905092959891949750929550565b600080604083850312156135d0578182fd5b6135d9836134a1565b9150602083013567ffffffffffffffff808211156135f5578283fd5b818501915085601f830112613608578283fd5b81358181111561361a5761361a6139c0565b604051601f8201601f19908116603f01168101908382118183101715613642576136426139c0565b8160405282815288602084870101111561365a578586fd5b82602086016020830137856020848301015280955050505050509250929050565b6000806040838503121561368d578182fd5b613696836134a1565b946020939093013593505050565b60008060008060008060c087890312156136bc578182fd5b6136c5876134a1565b955060208701359450604087013593506136e1606088016134bd565b92506080870135915060a087013590509295509295509295565b6000806040838503121561370d578182fd5b613716836134a1565b9150602083013563ffffffff8116811461372e578182fd5b809150509250929050565b60006020828403121561374a578081fd5b81358015158114610afa578182fd5b60006020828403121561376a578081fd5b5035919050565b60008251613783818460208701613949565b9190910192915050565b60208152600082518060208401526137ac816040850160208701613949565b601f01601f19169190910160400192915050565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156138ee576138ee6139aa565b500190565b60008261390e57634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561392d5761392d6139aa565b500290565b600082821015613944576139446139aa565b500390565b60005b8381101561396457818101518382015260200161394c565b83811115611ed45750506000910152565b600181811c9082168061398957607f821691505b6020821081141561231d57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212208742335ee55f115b904f6f65bc56aefb2221808ff375d4b0d3a632fce6dd477464736f6c63430008040033

Deployed Bytecode Sourcemap

86139:4033:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31702:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;33869:169;;;;;;;;;;-1:-1:-1;33869:169:0;;;;;:::i;:::-;;:::i;:::-;;;5570:14:1;;5563:22;5545:41;;5533:2;5518:18;33869:169:0;5500:92:1;88348:88:0;;;;;;;;;;-1:-1:-1;88422:8:0;;-1:-1:-1;;;;;88422:8:0;88348:88;;;-1:-1:-1;;;;;5361:32:1;;;5343:51;;5331:2;5316:18;88348:88:0;5298:102:1;32822:108:0;;;;;;;;;;-1:-1:-1;32910:12:0;;32822:108;;;5743:25:1;;;5731:2;5716:18;32822:108:0;5698:76:1;87116:91:0;;;;;;;;;;-1:-1:-1;87116:91:0;;;;;:::i;:::-;;:::i;:::-;;34520:492;;;;;;;;;;-1:-1:-1;34520:492:0;;;;;:::i;:::-;;:::i;87989:107::-;;;;;;;;;;-1:-1:-1;87989:107:0;;;;;:::i;:::-;;:::i;32664:93::-;;;;;;;;;;-1:-1:-1;32664:93:0;;32747:2;22848:36:1;;22836:2;22821:18;32664:93:0;22803:87:1;87662:101:0;;;;;;;;;;-1:-1:-1;87662:101:0;;;;;:::i;:::-;;:::i;66385:115::-;;;;;;;;;;;;;:::i;21447:202::-;;;;;;;;;;-1:-1:-1;21447:202:0;;;;;:::i;:::-;;:::i;35421:215::-;;;;;;;;;;-1:-1:-1;35421:215:0;;;;;:::i;:::-;;:::i;79238:251::-;;;;;;;;;;-1:-1:-1;79238:251:0;;;;;:::i;:::-;;:::i;87298:80::-;;;;;;;;;;;;;:::i;87878:105::-;;;;;;;;;;-1:-1:-1;87878:105:0;;;;;:::i;:::-;;:::i;42352:91::-;;;;;;;;;;-1:-1:-1;42352:91:0;;;;;:::i;:::-;;:::i;21908:227::-;;;;;;:::i;:::-;;:::i;88519:72::-;;;;;;;;;;-1:-1:-1;88579:6:0;;-1:-1:-1;;;88579:6:0;;;;88519:72;;78638:119;;;;;;;;;;-1:-1:-1;78638:119:0;;;;;:::i;:::-;-1:-1:-1;;;;;78730:19:0;;;78703:7;78730:19;;;:10;:19;;;;;;;;78638:119;81688:112;;;;;;;;;;-1:-1:-1;81688:112:0;;;;;:::i;:::-;;:::i;44380:86::-;;;;;;;;;;-1:-1:-1;44451:7:0;;;;44380:86;;87384:73;;;;;;;;;;-1:-1:-1;87384:73:0;;;;;:::i;:::-;;:::i;78383:162::-;;;;;;;;;;-1:-1:-1;78383:162:0;;;;;:::i;:::-;;:::i;:::-;;;22683:10:1;22671:23;;;22653:42;;22641:2;22626:18;78383:162:0;22608:93:1;32993:127:0;;;;;;;;;;-1:-1:-1;32993:127:0;;;;;:::i;:::-;-1:-1:-1;;;;;33094:18:0;33067:7;33094:18;;;:9;:18;;;;;;;32993:127;25436:94;;;;;;;;;;;;;:::i;88225:117::-;;;;;;;;;;-1:-1:-1;88225:117:0;;;;;:::i;:::-;;:::i;42762:368::-;;;;;;;;;;-1:-1:-1;42762:368:0;;;;;:::i;:::-;;:::i;87769:103::-;;;;;;;;;;-1:-1:-1;87769:103:0;;;;;:::i;:::-;;:::i;66127:128::-;;;;;;;;;;-1:-1:-1;66127:128:0;;;;;:::i;:::-;;:::i;86681:429::-;;;:::i;87213:79::-;;;;;;;;;;;;;:::i;88102:117::-;;;;;;;;;;-1:-1:-1;88102:117:0;;;;;:::i;:::-;;:::i;24785:87::-;;;;;;;;;;-1:-1:-1;24858:6:0;;-1:-1:-1;;;;;24858:6:0;24785:87;;79778:242;;;;;;;;;;-1:-1:-1;79778:242:0;;;;;:::i;:::-;;:::i;31921:104::-;;;;;;;;;;;;;:::i;88692:110::-;;;;;;;;;;-1:-1:-1;88692:110:0;;;;;:::i;:::-;-1:-1:-1;;;;;88775:21:0;88755:4;88775:21;;;:12;:21;;;;;;;;;88692:110;78841:195;;;;;;;;;;-1:-1:-1;78841:195:0;;;;;:::i;:::-;;:::i;87547:109::-;;;;;;;;;;-1:-1:-1;87547:109:0;;;;;:::i;:::-;;:::i;36139:413::-;;;;;;;;;;-1:-1:-1;36139:413:0;;;;;:::i;:::-;;:::i;33333:175::-;;;;;;;;;;-1:-1:-1;33333:175:0;;;;;:::i;:::-;;:::i;88808:112::-;;;;;;;;;;-1:-1:-1;88808:112:0;;;;;:::i;:::-;-1:-1:-1;;;;;88892:22:0;88872:4;88892:22;;;:13;:22;;;;;;;;;88808:112;81882:600;;;;;;;;;;-1:-1:-1;81882:600:0;;;;;:::i;:::-;;:::i;88597:89::-;;;;;;;;;;-1:-1:-1;88667:13:0;;-1:-1:-1;;;;;88667:13:0;88597:89;;65405:656;;;;;;;;;;-1:-1:-1;65405:656:0;;;;;:::i;:::-;;:::i;33571:151::-;;;;;;;;;;-1:-1:-1;33571:151:0;;;;;:::i;:::-;-1:-1:-1;;;;;33687:18:0;;;33660:7;33687:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;33571:151;88442:71;;;;;;;;;;-1:-1:-1;88503:4:0;;88442:71;;78153:150;;;;;;;;;;-1:-1:-1;78153:150:0;;;;;:::i;:::-;;:::i;:::-;;;;21947:13:1;;21962:10;21943:30;21925:49;;22034:4;22022:17;;;22016:24;-1:-1:-1;;;;;22012:50:1;21990:20;;;21983:80;;;;21898:18;78153:150:0;21880:189:1;25685:192:0;;;;;;;;;;-1:-1:-1;25685:192:0;;;;;:::i;:::-;;:::i;87463:78::-;;;;;;;;;;-1:-1:-1;87463:78:0;;;;;:::i;:::-;;:::i;31702:100::-;31756:13;31789:5;31782:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31702:100;:::o;33869:169::-;33952:4;33969:39;23492:10;33992:7;34001:6;33969:8;:39::i;:::-;-1:-1:-1;34026:4:0;33869:169;;;;:::o;87116:91::-;24858:6;;-1:-1:-1;;;;;24858:6:0;23492:10;25005:23;24997:68;;;;-1:-1:-1;;;24997:68:0;;;;;;;:::i;:::-;;;;;;;;;87182:8:::1;:19:::0;;-1:-1:-1;;;;;;87182:19:0::1;-1:-1:-1::0;;;;;87182:19:0;;;::::1;::::0;;;::::1;::::0;;87116:91::o;34520:492::-;34660:4;34677:36;34687:6;34695:9;34706:6;34677:9;:36::i;:::-;-1:-1:-1;;;;;34753:19:0;;34726:24;34753:19;;;:11;:19;;;;;;;;23492:10;34753:33;;;;;;;;34805:26;;;;34797:79;;;;-1:-1:-1;;;34797:79:0;;16721:2:1;34797:79:0;;;16703:21:1;16760:2;16740:18;;;16733:30;16799:34;16779:18;;;16772:62;-1:-1:-1;;;16850:18:1;;;16843:38;16898:19;;34797:79:0;16693:230:1;34797:79:0;34912:57;34921:6;23492:10;34962:6;34943:16;:25;34912:8;:57::i;:::-;35000:4;34993:11;;;34520:492;;;;;;:::o;87989:107::-;24858:6;;-1:-1:-1;;;;;24858:6:0;23492:10;25005:23;24997:68;;;;-1:-1:-1;;;24997:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;88060:22:0::1;88085:5;88060:22:::0;;;:13:::1;:22;::::0;;;;:30;;-1:-1:-1;;88060:30:0::1;::::0;;87989:107::o;87662:101::-;24858:6;;-1:-1:-1;;;;;24858:6:0;23492:10;25005:23;24997:68;;;;-1:-1:-1;;;24997:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;87729:21:0::1;;::::0;;;:12:::1;:21;::::0;;;;:28;;-1:-1:-1;;87729:28:0::1;87753:4;87729:28;::::0;;87662:101::o;66385:115::-;66445:7;66472:20;:18;:20::i;:::-;66465:27;;66385:115;:::o;21447:202::-;21076:4;-1:-1:-1;;;;;21085:6:0;21068:23;;;21060:80;;;;-1:-1:-1;;;21060:80:0;;;;;;;:::i;:::-;21183:6;-1:-1:-1;;;;;21159:30:0;:20;:18;:20::i;:::-;-1:-1:-1;;;;;21159:30:0;;21151:87;;;;-1:-1:-1;;;21151:87:0;;;;;;;:::i;:::-;21531:36:::1;21549:17;21531;:36::i;:::-;21621:12;::::0;;21631:1:::1;21621:12:::0;;;::::1;::::0;::::1;::::0;;;21578:63:::1;::::0;21602:17;;21621:12;21578:23:::1;:63::i;:::-;21447:202:::0;:::o;35421:215::-;23492:10;35509:4;35558:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;35558:34:0;;;;;;;;;;35509:4;;35526:80;;35549:7;;35558:47;;35595:10;;35558:47;:::i;:::-;35526:8;:80::i;79238:251::-;79319:7;79361:12;79347:11;:26;79339:70;;;;-1:-1:-1;;;79339:70:0;;9041:2:1;79339:70:0;;;9023:21:1;9080:2;9060:18;;;9053:30;9119:33;9099:18;;;9092:61;9170:18;;79339:70:0;9013:181:1;79339:70:0;-1:-1:-1;;;;;79446:21:0;;;;;;:12;:21;;;;;79427:54;;79469:11;79427:18;:54::i;87298:80::-;24858:6;;-1:-1:-1;;;;;24858:6:0;23492:10;25005:23;24997:68;;;;-1:-1:-1;;;24997:68:0;;;;;;;:::i;:::-;44451:7;;;;44975:41:::1;;;::::0;-1:-1:-1;;;44975:41:0;;9401:2:1;44975:41:0::1;::::0;::::1;9383:21:1::0;9440:2;9420:18;;;9413:30;-1:-1:-1;;;9459:18:1;;;9452:50;9519:18;;44975:41:0::1;9373:170:1::0;44975:41:0::1;87362:10:::2;:8;:10::i;:::-;87298:80::o:0;87878:105::-;24858:6;;-1:-1:-1;;;;;24858:6:0;23492:10;25005:23;24997:68;;;;-1:-1:-1;;;24997:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;87948:21:0::1;87972:5;87948:21:::0;;;:12:::1;:21;::::0;;;;:29;;-1:-1:-1;;87948:29:0::1;::::0;;87878:105::o;42352:91::-;42408:27;23492:10;42428:6;42408:5;:27::i;21908:227::-;21076:4;-1:-1:-1;;;;;21085:6:0;21068:23;;;21060:80;;;;-1:-1:-1;;;21060:80:0;;;;;;;:::i;:::-;21183:6;-1:-1:-1;;;;;21159:30:0;:20;:18;:20::i;:::-;-1:-1:-1;;;;;21159:30:0;;21151:87;;;;-1:-1:-1;;;21151:87:0;;;;;;;:::i;:::-;22026:36:::1;22044:17;22026;:36::i;:::-;22073:54;22097:17;22116:4;22122;22073:23;:54::i;:::-;21908:227:::0;;:::o;81688:112::-;81758:34;23492:10;81782:9;81758;:34::i;87384:73::-;24858:6;;-1:-1:-1;;;;;24858:6:0;23492:10;25005:23;24997:68;;;;-1:-1:-1;;;24997:68:0;;;;;;;:::i;:::-;87440:4:::1;:11:::0;87384:73::o;78383:162::-;-1:-1:-1;;;;;78508:21:0;;78453:6;78508:21;;;:12;:21;;;;;:28;78479:58;;:28;:58::i;:::-;78472:65;78383:162;-1:-1:-1;;78383:162:0:o;25436:94::-;24858:6;;-1:-1:-1;;;;;24858:6:0;23492:10;25005:23;24997:68;;;;-1:-1:-1;;;24997:68:0;;;;;;;:::i;:::-;25501:21:::1;25519:1;25501:9;:21::i;88225:117::-:0;86637:8;;-1:-1:-1;;;;;86637:8:0;23492:10;-1:-1:-1;;;;;86621:24:0;;86613:48;;;;-1:-1:-1;;;86613:48:0;;15205:2:1;86613:48:0;;;15187:21:1;15244:2;15224:18;;;15217:30;-1:-1:-1;;;15263:18:1;;;15256:41;15314:18;;86613:48:0;15177:161:1;86613:48:0;88314:22:::1;88320:7;88329:6;88314:5;:22::i;42762:368::-:0;42839:24;42866:32;42876:7;23492:10;33571:151;:::i;42866:32::-;42839:59;;42937:6;42917:16;:26;;42909:75;;;;-1:-1:-1;;;42909:75:0;;18316:2:1;42909:75:0;;;18298:21:1;18355:2;18335:18;;;18328:30;18394:34;18374:18;;;18367:62;-1:-1:-1;;;18445:18:1;;;18438:34;18489:19;;42909:75:0;18288:226:1;42909:75:0;43020:58;43029:7;23492:10;43071:6;43052:16;:25;43020:8;:58::i;:::-;43100:22;43106:7;43115:6;43100:5;:22::i;:::-;42762:368;;;:::o;87769:103::-;24858:6;;-1:-1:-1;;;;;24858:6:0;23492:10;25005:23;24997:68;;;;-1:-1:-1;;;24997:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;87837:22:0::1;;::::0;;;:13:::1;:22;::::0;;;;:29;;-1:-1:-1;;87837:29:0::1;87862:4;87837:29;::::0;;87769:103::o;66127:128::-;-1:-1:-1;;;;;66223:14:0;;66196:7;66223:14;;;:7;:14;;;;;63303;66223:24;63211:114;86681:429;11327:13;;;;;;;;:30;;-1:-1:-1;11345:12:0;;;;11344:13;11327:30;11319:89;;;;-1:-1:-1;;;11319:89:0;;;;;;;:::i;:::-;11421:19;11444:13;;;;;;11443:14;11468:101;;;;11503:13;:20;;-1:-1:-1;;11538:19:0;;;;;11468:101;86745:24:::1;:22;:24::i;:::-;86776:16;:14;:16::i;:::-;86799:32;;;;;;;;;;;;;;-1:-1:-1::0;;;86799:32:0::1;;::::0;::::1;;;;;;;;;;;;;-1:-1:-1::0;;;86799:32:0::1;;::::0;:12:::1;:32::i;:::-;86838:22;:20;:22::i;:::-;86867;:20;:22::i;:::-;86896:28;;;;;;;;;;;;;;-1:-1:-1::0;;;86896:28:0::1;;::::0;:18:::1;:28::i;:::-;86933:6;:13:::0;;-1:-1:-1;;;;86933:13:0::1;-1:-1:-1::0;;;86933:13:0::1;::::0;;86960:3:::1;86953:4;:10:::0;86933:13;86989:12:::1;23492:10:::0;;23412:98;86989:12:::1;-1:-1:-1::0;;;;;87008:20:0;::::1;;::::0;;;:12:::1;:20;::::0;;;;;;;:27;;87031:4:::1;-1:-1:-1::0;;87008:27:0;;::::1;::::0;::::1;::::0;;;87042:13:::1;:21:::0;;;;;:28;;;;::::1;::::0;;::::1;::::0;;87008:20;-1:-1:-1;87079:25:0::1;23492:10:::0;87099:4:::1;87079:5;:25::i;:::-;11581:1;11599:14:::0;11595:68;;;11646:5;11630:21;;-1:-1:-1;;11630:21:0;;;86681:429;:::o;87213:79::-;24858:6;;-1:-1:-1;;;;;24858:6:0;23492:10;25005:23;24997:68;;;;-1:-1:-1;;;24997:68:0;;;;;;;:::i;:::-;44451:7;;;;44705:9:::1;44697:38;;;::::0;-1:-1:-1;;;44697:38:0;;14445:2:1;44697:38:0::1;::::0;::::1;14427:21:1::0;14484:2;14464:18;;;14457:30;-1:-1:-1;;;14503:18:1;;;14496:46;14559:18;;44697:38:0::1;14417:166:1::0;44697:38:0::1;87278:8:::2;:6;:8::i;88102:117::-:0;86637:8;;-1:-1:-1;;;;;86637:8:0;23492:10;-1:-1:-1;;;;;86621:24:0;;86613:48;;;;-1:-1:-1;;;86613:48:0;;15205:2:1;86613:48:0;;;15187:21:1;15244:2;15224:18;;;15217:30;-1:-1:-1;;;15263:18:1;;;15256:41;15314:18;;86613:48:0;15177:161:1;86613:48:0;88191:22:::1;88197:7;88206:6;88191:5;:22::i;79778:242::-:0;79848:7;79890:12;79876:11;:26;79868:70;;;;-1:-1:-1;;;79868:70:0;;9041:2:1;79868:70:0;;;9023:21:1;9080:2;9060:18;;;9053:30;9119:33;9099:18;;;9092:61;9170:18;;79868:70:0;9013:181:1;79868:70:0;79956:56;79975:23;80000:11;79956:18;:56::i;31921:104::-;31977:13;32010:7;32003:14;;;;;:::i;78841:195::-;-1:-1:-1;;;;;78931:21:0;;78897:7;78931:21;;;:12;:21;;;;;:28;78977:8;;:51;;-1:-1:-1;;;;;78992:21:0;;;;;;:12;:21;;;;;79014:7;79020:1;79014:3;:7;:::i;:::-;78992:30;;;;;;-1:-1:-1;;;78992:30:0;;;;;;;;;;;;;;;;;;:36;;;;-1:-1:-1;;;;;78992:36:0;78977:51;;;78988:1;78977:51;-1:-1:-1;;;;;78970:58:0;;78841:195;-1:-1:-1;;;78841:195:0:o;87547:109::-;24858:6;;-1:-1:-1;;;;;24858:6:0;23492:10;25005:23;24997:68;;;;-1:-1:-1;;;24997:68:0;;;;;;;:::i;:::-;87621:13:::1;:29:::0;;-1:-1:-1;;;;;;87621:29:0::1;-1:-1:-1::0;;;;;87621:29:0;;;::::1;::::0;;;::::1;::::0;;87547:109::o;36139:413::-;23492:10;36232:4;36276:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;36276:34:0;;;;;;;;;;36329:35;;;;36321:85;;;;-1:-1:-1;;;36321:85:0;;20748:2:1;36321:85:0;;;20730:21:1;20787:2;20767:18;;;20760:30;20826:34;20806:18;;;20799:62;-1:-1:-1;;;20877:18:1;;;20870:35;20922:19;;36321:85:0;20720:227:1;36321:85:0;36442:67;23492:10;36465:7;36493:15;36474:16;:34;36442:8;:67::i;:::-;-1:-1:-1;36540:4:0;;36139:413;-1:-1:-1;;;36139:413:0:o;33333:175::-;33419:4;33436:42;23492:10;33460:9;33471:6;33436:9;:42::i;81882:600::-;82100:6;82081:15;:25;;82073:67;;;;-1:-1:-1;;;82073:67:0;;9750:2:1;82073:67:0;;;9732:21:1;9789:2;9769:18;;;9762:30;9828:31;9808:18;;;9801:59;9877:18;;82073:67:0;9722:179:1;82073:67:0;82234:58;;;77404:71;82234:58;;;6606:25:1;-1:-1:-1;;;;;6667:32:1;;6647:18;;;6640:60;;;;6716:18;;;6709:34;;;6759:18;;;6752:34;;;82151:14:0;;82168:185;;82207:87;;6578:19:1;;82234:58:0;;;;;;;;;;;;82224:69;;;;;;82207:16;:87::i;:::-;82309:1;82325;82341;82168:24;:185::i;:::-;82151:202;;82381:17;82391:6;82381:9;:17::i;:::-;82372:5;:26;82364:64;;;;-1:-1:-1;;;82364:64:0;;10871:2:1;82364:64:0;;;10853:21:1;10910:2;10890:18;;;10883:30;10949:27;10929:18;;;10922:55;10994:18;;82364:64:0;10843:175:1;82364:64:0;82446:28;82456:6;82464:9;82446;:28::i;:::-;82439:35;81882:600;;;;;;:::o;65405:656::-;65649:8;65630:15;:27;;65622:69;;;;-1:-1:-1;;;65622:69:0;;12864:2:1;65622:69:0;;;12846:21:1;12903:2;12883:18;;;12876:30;12942:31;12922:18;;;12915:59;12991:18;;65622:69:0;12836:179:1;65622:69:0;65704:18;65746:16;;65764:5;65771:7;65780:5;65787:16;65797:5;65787:9;:16::i;:::-;65735:79;;;;;;6066:25:1;;;;-1:-1:-1;;;;;6165:15:1;;;6145:18;;;6138:43;6217:15;;;;6197:18;;;6190:43;6249:18;;;6242:34;6292:19;;;6285:35;6336:19;;;6329:35;;;6038:19;;65735:79:0;;;;;;;;;;;;65725:90;;;;;;65704:111;;65828:12;65843:28;65860:10;65843:16;:28::i;:::-;65828:43;;65884:14;65901:39;65926:4;65932:1;65935;65938;65901:24;:39::i;:::-;65884:56;;65969:5;-1:-1:-1;;;;;65959:15:0;:6;-1:-1:-1;;;;;65959:15:0;;65951:58;;;;-1:-1:-1;;;65951:58:0;;15948:2:1;65951:58:0;;;15930:21:1;15987:2;15967:18;;;15960:30;16026:32;16006:18;;;15999:60;16076:18;;65951:58:0;15920:180:1;65951:58:0;66022:31;66031:5;66038:7;66047:5;66022:8;:31::i;:::-;65405:656;;;;;;;;;;:::o;78153:150::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;78269:21:0;;;;;;:12;:21;;;;;:26;;;;;;;;;;-1:-1:-1;;;78269:26:0;;;;;;;;;;;;;;;;;;78262:33;;;;;;;;;78269:26;;78262:33;;;;;;;;;-1:-1:-1;;;;;78262:33:0;;;;;;;;;78153:150;-1:-1:-1;;;78153:150:0:o;25685:192::-;24858:6;;-1:-1:-1;;;;;24858:6:0;23492:10;25005:23;24997:68;;;;-1:-1:-1;;;24997:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;25774:22:0;::::1;25766:73;;;::::0;-1:-1:-1;;;25766:73:0;;11641:2:1;25766:73:0::1;::::0;::::1;11623:21:1::0;11680:2;11660:18;;;11653:30;11719:34;11699:18;;;11692:62;-1:-1:-1;;;11770:18:1;;;11763:36;11816:19;;25766:73:0::1;11613:228:1::0;25766:73:0::1;25850:19;25860:8;25850:9;:19::i;87463:78::-:0;24858:6;;-1:-1:-1;;;;;24858:6:0;23492:10;25005:23;24997:68;;;;-1:-1:-1;;;24997:68:0;;;;;;;:::i;:::-;87520:6:::1;:15:::0;;;::::1;;-1:-1:-1::0;;;87520:15:0::1;-1:-1:-1::0;;;;87520:15:0;;::::1;::::0;;;::::1;::::0;;87463:78::o;39823:380::-;-1:-1:-1;;;;;39959:19:0;;39951:68;;;;-1:-1:-1;;;39951:68:0;;20343:2:1;39951:68:0;;;20325:21:1;20382:2;20362:18;;;20355:30;20421:34;20401:18;;;20394:62;-1:-1:-1;;;20472:18:1;;;20465:34;20516:19;;39951:68:0;20315:226:1;39951:68:0;-1:-1:-1;;;;;40038:21:0;;40030:68;;;;-1:-1:-1;;;40030:68:0;;12048:2:1;40030:68:0;;;12030:21:1;12087:2;12067:18;;;12060:30;12126:34;12106:18;;;12099:62;-1:-1:-1;;;12177:18:1;;;12170:32;12219:19;;40030:68:0;12020:224:1;40030:68:0;-1:-1:-1;;;;;40111:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;40163:32;;5743:25:1;;;40163:32:0;;5716:18:1;40163:32:0;;;;;;;39823:380;;;:::o;88926:434::-;89033:6;;-1:-1:-1;;;89033:6:0;;;;89032:7;;:38;;-1:-1:-1;89043:13:0;;-1:-1:-1;;;;;89043:13:0;:27;89032:38;:62;;;-1:-1:-1;;;;;;89074:20:0;;;;;;:12;:20;;;;;;;;89032:62;:90;;;-1:-1:-1;;;;;;89098:24:0;;;;;;:13;:24;;;;;;;;89032:90;89029:326;;;89133:42;89149:6;89157:9;89168:6;89133:15;:42::i;89029:326::-;89222:13;;89246:4;;89198:65;;89214:6;;-1:-1:-1;;;;;89222:13:0;;;;86461:3;;89237:13;;:6;:13;:::i;:::-;:25;;;;:::i;:::-;89198:15;:65::i;:::-;89272:75;89288:6;89296:9;86461:3;89329:4;;86461:3;89317:16;;;;:::i;:::-;89307:27;;:6;:27;:::i;60466:162::-;60519:7;60546:74;59199:95;60580:17;62048:12;;;61963:105;60580:17;62403:15;;60817:73;;;;;;7056:25:1;;;7097:18;;;7090:34;;;7140:18;;;7133:34;;;60861:13:0;7183:18:1;;;7176:34;60884:4:0;7226:19:1;;;7219:61;60780:7:0;;7028:19:1;;60817:73:0;;;;;;;;;;;;60807:84;;;;;;60800:91;;60636:263;;;;;;12933:153;12652:66;13013:65;-1:-1:-1;;;;;13013:65:0;;12933:153::o;90095:74::-;24858:6;;-1:-1:-1;;;;;24858:6:0;23492:10;25005:23;24997:68;;;;-1:-1:-1;;;24997:68:0;;;;;;;:::i;14351:1268::-;14500:25;14528:20;:18;:20::i;:::-;14500:48;;14604:37;14623:17;14604:18;:37::i;:::-;14670:1;14656:4;:11;:15;:28;;;;14675:9;14656:28;14652:107;;;14701:46;14723:17;14742:4;14701:21;:46::i;:::-;;14652:107;12304:66;14962:21;;;;14957:655;;15077:28;;-1:-1:-1;;15077:28:0;15101:4;15077:28;;;15196:64;;-1:-1:-1;;;;;5361:32:1;;15196:64:0;;;5343:51:1;15120:155:0;;15160:17;;5316:18:1;;15196:64:0;;;-1:-1:-1;;15196:64:0;;;;;;;;;;;;;;-1:-1:-1;;;;;15196:64:0;-1:-1:-1;;;15196:64:0;;;15120:21;:155::i;:::-;-1:-1:-1;15290:29:0;;-1:-1:-1;;15290:29:0;;;15408:20;:18;:20::i;:::-;-1:-1:-1;;;;;15387:41:0;:17;-1:-1:-1;;;;;15387:41:0;;15379:101;;;;-1:-1:-1;;;15379:101:0;;11225:2:1;15379:101:0;;;11207:21:1;11264:2;11244:18;;;11237:30;11303:34;11283:18;;;11276:62;-1:-1:-1;;;11354:18:1;;;11347:45;11409:19;;15379:101:0;11197:237:1;15379:101:0;15571:29;15582:17;15571:10;:29::i;:::-;14351:1268;;;;;:::o;80109:1493::-;81242:12;;80208:7;;;81291:247;81304:4;81298:3;:10;81291:247;;;81325:11;81339:34;81363:3;81368:4;81339:23;:34::i;:::-;81325:48;;81415:11;81392:5;81398:3;81392:10;;;;;;-1:-1:-1;;;81392:10:0;;;;;;;;;;;;;;;;;;:20;;;:34;81388:139;;;81454:3;81447:10;;81388:139;;;81504:7;:3;81510:1;81504:7;:::i;:::-;81498:13;;81388:139;81291:247;;;;81557:9;;:37;;81573:5;81579:8;81586:1;81579:4;:8;:::i;:::-;81573:15;;;;;;-1:-1:-1;;;81573:15:0;;;;;;;;;;;;;;;;;;:21;;;;-1:-1:-1;;;;;81573:21:0;81557:37;;;81569:1;81557:37;-1:-1:-1;;;;;81550:44:0;;80109:1493;-1:-1:-1;;;;;80109:1493:0:o;45439:120::-;44451:7;;;;44975:41;;;;-1:-1:-1;;;44975:41:0;;9401:2:1;44975:41:0;;;9383:21:1;9440:2;9420:18;;;9413:30;-1:-1:-1;;;9459:18:1;;;9452:50;9519:18;;44975:41:0;9373:170:1;44975:41:0;45498:7:::1;:15:::0;;-1:-1:-1;;45498:15:0::1;::::0;;45529:22:::1;23492:10:::0;45538:12:::1;45529:22;::::0;-1:-1:-1;;;;;5361:32:1;;;5343:51;;5331:2;5316:18;45529:22:0::1;;;;;;;45439:120::o:0;89366:156::-;89488:28;89500:7;89509:6;89488:11;:28::i;83932:388::-;-1:-1:-1;;;;;78730:19:0;;;84017:23;78730:19;;;:10;:19;;;;;;;;;;33094:9;:18;;;;;;84132:21;;;;:33;;;-1:-1:-1;;;;;;84132:33:0;;;;;;;84183:54;;78730:19;;;;;33094:18;;84132:33;;78730:19;;;84183:54;;84017:23;84183:54;84250:62;84267:15;84284:9;84295:16;84250;:62::i;:::-;83932:388;;;;:::o;71082:190::-;71138:6;71174:16;71165:25;;;71157:76;;;;-1:-1:-1;;;71157:76:0;;19936:2:1;71157:76:0;;;19918:21:1;19975:2;19955:18;;;19948:30;20014:34;19994:18;;;19987:62;-1:-1:-1;;;20065:18:1;;;20058:36;20111:19;;71157:76:0;19908:228:1;71157:76:0;-1:-1:-1;71258:5:0;71082:190::o;25885:173::-;25960:6;;;-1:-1:-1;;;;;25977:17:0;;;-1:-1:-1;;;;;;25977:17:0;;;;;;;26010:40;;25960:6;;;25977:17;25960:6;;26010:40;;25941:16;;26010:40;25885:173;;:::o;20134:152::-;11327:13;;;;;;;;:30;;-1:-1:-1;11345:12:0;;;;11344:13;11327:30;11319:89;;;;-1:-1:-1;;;11319:89:0;;;;;;;:::i;:::-;11421:19;11444:13;;;;;;11443:14;11468:101;;;;11503:13;:20;;-1:-1:-1;;11538:19:0;;;;;11468:101;20200:33:::1;:31;:33::i;:::-;20244:34;:32;:34::i;:::-;11599:14:::0;11595:68;;;11646:5;11630:21;;-1:-1:-1;;11630:21:0;;;20134:152;:::o;24468:129::-;11327:13;;;;;;;;:30;;-1:-1:-1;11345:12:0;;;;11344:13;11327:30;11319:89;;;;-1:-1:-1;;;11319:89:0;;;;;;;:::i;:::-;11421:19;11444:13;;;;;;11443:14;11468:101;;;;11503:13;:20;;-1:-1:-1;;11538:19:0;;;;;11468:101;24526:26:::1;:24;:26::i;:::-;24563;:24;:26::i;31286:181::-:0;11327:13;;;;;;;;:30;;-1:-1:-1;11345:12:0;;;;11344:13;11327:30;11319:89;;;;-1:-1:-1;;;11319:89:0;;;;;;;:::i;:::-;11421:19;11444:13;;;;;;11443:14;11468:101;;;;11503:13;:20;;-1:-1:-1;;11538:19:0;;;;;11468:101;31384:26:::1;:24;:26::i;:::-;31421:38;31444:5;31451:7;31421:22;:38::i;:::-;11599:14:::0;11595:68;;;11646:5;11630:21;;-1:-1:-1;;11630:21:0;;;31286:181;;;:::o;45981:179::-;11327:13;;;;;;;;:30;;-1:-1:-1;11345:12:0;;;;11344:13;11327:30;11319:89;;;;-1:-1:-1;;;11319:89:0;;;;;;;:::i;:::-;11421:19;11444:13;;;;;;11443:14;11468:101;;;;11503:13;:20;;-1:-1:-1;;11538:19:0;;;;;11468:101;46045:26:::1;:24;:26::i;:::-;46082:27;:25;:27::i;64921:204::-:0;11327:13;;;;;;;;:30;;-1:-1:-1;11345:12:0;;;;11344:13;11327:30;11319:89;;;;-1:-1:-1;;;11319:89:0;;;;;;;:::i;:::-;11421:19;11444:13;;;;;;11443:14;11468:101;;;;11503:13;:20;;-1:-1:-1;;11538:19:0;;;;;11468:101;65001:26:::1;:24;:26::i;:::-;65038:34;65062:4;65038:34;;;;;;;;;;;;;-1:-1:-1::0;;;65038:34:0::1;;::::0;:23:::1;:34::i;:::-;65083;65112:4;65083:28;:34::i;:::-;11599:14:::0;11595:68;;;11646:5;11630:21;;-1:-1:-1;;11630:21:0;;;64921:204;;:::o;89528:156::-;89650:28;89662:7;89671:6;89650:11;:28::i;45180:118::-;44451:7;;;;44705:9;44697:38;;;;-1:-1:-1;;;44697:38:0;;14445:2:1;44697:38:0;;;14427:21:1;14484:2;14464:18;;;14457:30;-1:-1:-1;;;14503:18:1;;;14496:46;14559:18;;44697:38:0;14417:166:1;44697:38:0;45240:7:::1;:14:::0;;-1:-1:-1;;45240:14:0::1;45250:4;45240:14;::::0;;45270:20:::1;45277:12;23492:10:::0;;23412:98;61541:178;61618:7;61645:66;61678:20;:18;:20::i;:::-;61700:10;57747:57;;-1:-1:-1;;;57747:57:0;;;5058:27:1;5101:11;;;5094:27;;;5137:12;;;5130:28;;;57710:7:0;;5174:12:1;;57747:57:0;;;;;;;;;;;;57737:68;;;;;;57730:75;;57617:196;;;;;56419:279;56547:7;56568:17;56587:18;56609:25;56620:4;56626:1;56629;56632;56609:10;:25::i;:::-;56567:67;;;;56645:18;56657:5;56645:11;:18::i;:::-;-1:-1:-1;56681:9:0;56419:279;-1:-1:-1;;;;;56419:279:0:o;66638:218::-;-1:-1:-1;;;;;66770:14:0;;66698:15;66770:14;;;:7;:14;;;;;63303;;63440:1;63422:19;;;;63303:14;66831:17;66638:218;;;;:::o;37042:733::-;-1:-1:-1;;;;;37182:20:0;;37174:70;;;;-1:-1:-1;;;37174:70:0;;19530:2:1;37174:70:0;;;19512:21:1;19569:2;19549:18;;;19542:30;19608:34;19588:18;;;19581:62;-1:-1:-1;;;19659:18:1;;;19652:35;19704:19;;37174:70:0;19502:227:1;37174:70:0;-1:-1:-1;;;;;37263:23:0;;37255:71;;;;-1:-1:-1;;;37255:71:0;;8637:2:1;37255:71:0;;;8619:21:1;8676:2;8656:18;;;8649:30;8715:34;8695:18;;;8688:62;-1:-1:-1;;;8766:18:1;;;8759:33;8809:19;;37255:71:0;8609:225:1;37255:71:0;37339:47;37360:6;37368:9;37379:6;37339:20;:47::i;:::-;-1:-1:-1;;;;;37423:17:0;;37399:21;37423:17;;;:9;:17;;;;;;37459:23;;;;37451:74;;;;-1:-1:-1;;;37451:74:0;;13222:2:1;37451:74:0;;;13204:21:1;13261:2;13241:18;;;13234:30;13300:34;13280:18;;;13273:62;-1:-1:-1;;;13351:18:1;;;13344:36;13397:19;;37451:74:0;13194:228:1;37451:74:0;-1:-1:-1;;;;;37561:17:0;;;;;;;:9;:17;;;;;;37581:22;;;37561:42;;37625:20;;;;;;;;:30;;37597:6;;37561:17;37625:30;;37597:6;;37625:30;:::i;:::-;;;;;;;;37690:9;-1:-1:-1;;;;;37673:35:0;37682:6;-1:-1:-1;;;;;37673:35:0;;37701:6;37673:35;;;;5743:25:1;;5731:2;5716:18;;5698:76;37673:35:0;;;;;;;;37721:46;37741:6;37749:9;37760:6;37721:19;:46::i;13182:284::-;1449:20;;13256:106;;;;-1:-1:-1;;;13256:106:0;;16307:2:1;13256:106:0;;;16289:21:1;16346:2;16326:18;;;16319:30;16385:34;16365:18;;;16358:62;-1:-1:-1;;;16436:18:1;;;16429:43;16489:19;;13256:106:0;16279:235:1;13256:106:0;12652:66;13373:85;;-1:-1:-1;;;;;;13373:85:0;-1:-1:-1;;;;;13373:85:0;;;;;;;;;;13182:284::o;18888:461::-;18971:12;1449:20;;18996:88;;;;-1:-1:-1;;;18996:88:0;;19123:2:1;18996:88:0;;;19105:21:1;19162:2;19142:18;;;19135:30;19201:34;19181:18;;;19174:62;-1:-1:-1;;;19252:18:1;;;19245:36;19298:19;;18996:88:0;19095:228:1;18996:88:0;19158:12;19172:23;19199:6;-1:-1:-1;;;;;19199:19:0;19219:4;19199:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19157:67;;;;19242:99;19278:7;19287:10;19242:99;;;;;;;;;;;;;;;;;:35;:99::i;:::-;19235:106;18888:461;-1:-1:-1;;;;;18888:461:0:o;13579:155::-;13646:37;13665:17;13646:18;:37::i;:::-;13699:27;;-1:-1:-1;;;;;13699:27:0;;;;;;;;13579:155;:::o;67486:156::-;67548:7;67623:11;67633:1;67624:5;;;67623:11;:::i;:::-;67613:21;;67614:5;;;67613:21;:::i;83172:194::-;83257:28;83269:7;83278:6;83257:11;:28::i;:::-;83298:60;83315:23;83340:9;83351:6;83298:16;:60::i;84328:643::-;84460:3;-1:-1:-1;;;;;84453:10:0;:3;-1:-1:-1;;;;;84453:10:0;;;:24;;;;;84476:1;84467:6;:10;84453:24;84449:515;;;-1:-1:-1;;;;;84498:17:0;;;84494:224;;-1:-1:-1;;;;;84594:17:0;;84537;84594;;;:12;:17;;;;;84537;;84577:54;;84613:9;84624:6;84577:16;:54::i;:::-;84536:95;;;;84676:3;-1:-1:-1;;;;;84655:47:0;;84681:9;84692;84655:47;;;;;;22430:25:1;;;22486:2;22471:18;;22464:34;22418:2;22403:18;;22385:119;84655:47:0;;;;;;;;84494:224;;;-1:-1:-1;;;;;84738:17:0;;;84734:219;;-1:-1:-1;;;;;84834:17:0;;84777;84834;;;:12;:17;;;;;84777;;84817:49;;84853:4;84859:6;84817:16;:49::i;:::-;84776:90;;;;84911:3;-1:-1:-1;;;;;84890:47:0;;84916:9;84927;84890:47;;;;;;22430:25:1;;;22486:2;22471:18;;22464:34;22418:2;22403:18;;22385:119;84890:47:0;;;;;;;;84734:219;;84328:643;;;:::o;12104:72::-;11327:13;;;;;;;;:30;;-1:-1:-1;11345:12:0;;;;11344:13;11327:30;11319:89;;;;-1:-1:-1;;;11319:89:0;;;;;;;:::i;:::-;11421:19;11444:13;;;;;;11443:14;11468:101;;;;11503:13;:20;;-1:-1:-1;;11538:19:0;;;;;11595:68;;;;11646:5;11630:21;;-1:-1:-1;;11630:21:0;;;12104:72;:::o;24605:99::-;11327:13;;;;;;;;:30;;-1:-1:-1;11345:12:0;;;;11344:13;11327:30;11319:89;;;;-1:-1:-1;;;11319:89:0;;;;;;;:::i;:::-;11421:19;11444:13;;;;;;11443:14;11468:101;;;;11503:13;:20;;-1:-1:-1;;11538:19:0;;;;;11468:101;24673:23:::1;23492:10:::0;24673:9:::1;:23::i;31475:157::-:0;11327:13;;;;;;;;:30;;-1:-1:-1;11345:12:0;;;;11344:13;11327:30;11319:89;;;;-1:-1:-1;;;11319:89:0;;;;;;;:::i;:::-;11421:19;11444:13;;;;;;11443:14;11468:101;;;;11503:13;:20;;-1:-1:-1;;11538:19:0;;;;;11468:101;31583:13;;::::1;::::0;:5:::1;::::0;:13:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;31607:17:0;;::::1;::::0;:7:::1;::::0;:17:::1;::::0;::::1;::::0;::::1;:::i;:::-;;11599:14:::0;11595:68;;;11646:5;11630:21;;-1:-1:-1;;11630:21:0;;;31475:157;;;:::o;44188:92::-;11327:13;;;;;;;;:30;;-1:-1:-1;11345:12:0;;;;11344:13;11327:30;11319:89;;;;-1:-1:-1;;;11319:89:0;;;;;;;:::i;:::-;11421:19;11444:13;;;;;;11443:14;11468:101;;;;11503:13;:20;;-1:-1:-1;;11538:19:0;;;;;11468:101;44257:7:::1;:15:::0;;-1:-1:-1;;44257:15:0::1;::::0;;11595:68;;;;11646:5;11630:21;;-1:-1:-1;;11630:21:0;;;44188:92;:::o;60078:297::-;11327:13;;;;;;;;:30;;-1:-1:-1;11345:12:0;;;;11344:13;11327:30;11319:89;;;;-1:-1:-1;;;11319:89:0;;;;;;;:::i;:::-;11421:19;11444:13;;;;;;11443:14;11468:101;;;;11503:13;:20;;-1:-1:-1;;11538:19:0;;;;;11468:101;60207:22;;::::1;::::0;;::::1;::::0;;;;60264:25;;;;::::1;::::0;;;;60300:12:::1;:25:::0;;;;60336:15:::1;:31:::0;11595:68;;;;11646:5;11630:21;;-1:-1:-1;;11630:21:0;;;60078:297;;;:::o;65133:206::-;11327:13;;;;;;;;:30;;-1:-1:-1;11345:12:0;;;;11344:13;11327:30;11319:89;;;;-1:-1:-1;;;11319:89:0;;;;;;;:::i;:::-;11421:19;11444:13;;;;;;11443:14;11468:101;;;;11503:13;:20;;-1:-1:-1;;11538:19:0;;;;;11468:101;65242:95:::1;65223:16;:114:::0;11595:68;;;;11646:5;11630:21;;-1:-1:-1;;11630:21:0;;;65133:206;;:::o;82788:290::-;82873:28;82885:7;82894:6;82873:11;:28::i;:::-;32910:12;;-1:-1:-1;;;;;;82920:29:0;82912:90;;;;-1:-1:-1;;;82912:90:0;;17130:2:1;82912:90:0;;;17112:21:1;17169:2;17149:18;;;17142:30;17208:34;17188:18;;;17181:62;-1:-1:-1;;;17259:18:1;;;17252:46;17315:19;;82912:90:0;17102:238:1;82912:90:0;83015:55;83032:23;83057:4;83063:6;83015:16;:55::i;54648:1632::-;54779:7;;55713:66;55700:79;;55696:163;;;-1:-1:-1;55812:1:0;;-1:-1:-1;55816:30:0;55796:51;;55696:163;55873:1;:7;;55878:2;55873:7;;:18;;;;;55884:1;:7;;55889:2;55884:7;;55873:18;55869:102;;;-1:-1:-1;55924:1:0;;-1:-1:-1;55928:30:0;55908:51;;55869:102;56085:24;;;56068:14;56085:24;;;;;;;;;7518:25:1;;;7591:4;7579:17;;7559:18;;;7552:45;;;;7613:18;;;7606:34;;;7656:18;;;7649:34;;;56085:24:0;;7490:19:1;;56085:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;56085:24:0;;-1:-1:-1;;56085:24:0;;;-1:-1:-1;;;;;;;56124:20:0;;56120:103;;56177:1;56181:29;56161:50;;;;;;;56120:103;56243:6;-1:-1:-1;56251:20:0;;-1:-1:-1;54648:1632:0;;;;;;;;:::o;49310:643::-;49388:20;49379:5;:29;;;;;;-1:-1:-1;;;49379:29:0;;;;;;;;;;49375:571;;;49310:643;:::o;49375:571::-;49486:29;49477:5;:38;;;;;;-1:-1:-1;;;49477:38:0;;;;;;;;;;49473:473;;;49532:34;;-1:-1:-1;;;49532:34:0;;8284:2:1;49532:34:0;;;8266:21:1;8323:2;8303:18;;;8296:30;8362:26;8342:18;;;8335:54;8406:18;;49532:34:0;8256:174:1;49473:473:0;49597:35;49588:5;:44;;;;;;-1:-1:-1;;;49588:44:0;;;;;;;;;;49584:362;;;49649:41;;-1:-1:-1;;;49649:41:0;;10511:2:1;49649:41:0;;;10493:21:1;10550:2;10530:18;;;10523:30;10589:33;10569:18;;;10562:61;10640:18;;49649:41:0;10483:181:1;49584:362:0;49721:30;49712:5;:39;;;;;;-1:-1:-1;;;49712:39:0;;;;;;;;;;49708:238;;;49768:44;;-1:-1:-1;;;49768:44:0;;13629:2:1;49768:44:0;;;13611:21:1;13668:2;13648:18;;;13641:30;13707:34;13687:18;;;13680:62;-1:-1:-1;;;13758:18:1;;;13751:32;13800:19;;49768:44:0;13601:224:1;49708:238:0;49843:30;49834:5;:39;;;;;;-1:-1:-1;;;49834:39:0;;;;;;;;;;49830:116;;;49890:44;;-1:-1:-1;;;49890:44:0;;15545:2:1;49890:44:0;;;15527:21:1;15584:2;15564:18;;;15557:30;15623:34;15603:18;;;15596:62;-1:-1:-1;;;15674:18:1;;;15667:32;15716:19;;49890:44:0;15517:224:1;89690:199:0;89839:44;89866:4;89872:2;89876:6;89839:26;:44::i;89895:194::-;90040:43;90066:4;90072:2;90076:6;90040:25;:43::i;6761:712::-;6911:12;6940:7;6936:530;;;-1:-1:-1;6971:10:0;6964:17;;6936:530;7085:17;;:21;7081:374;;7283:10;7277:17;7344:15;7331:10;7327:2;7323:19;7316:44;7231:148;7426:12;7419:20;;-1:-1:-1;;;7419:20:0;;;;;;;;:::i;38794:591::-;-1:-1:-1;;;;;38878:21:0;;38870:67;;;;-1:-1:-1;;;38870:67:0;;18721:2:1;38870:67:0;;;18703:21:1;18760:2;18740:18;;;18733:30;18799:34;18779:18;;;18772:62;-1:-1:-1;;;18850:18:1;;;18843:31;18891:19;;38870:67:0;18693:223:1;38870:67:0;38950:49;38971:7;38988:1;38992:6;38950:20;:49::i;:::-;-1:-1:-1;;;;;39037:18:0;;39012:22;39037:18;;;:9;:18;;;;;;39074:24;;;;39066:71;;;;-1:-1:-1;;;39066:71:0;;10108:2:1;39066:71:0;;;10090:21:1;10147:2;10127:18;;;10120:30;10186:34;10166:18;;;10159:62;-1:-1:-1;;;10237:18:1;;;10230:32;10279:19;;39066:71:0;10080:224:1;39066:71:0;-1:-1:-1;;;;;39173:18:0;;;;;;:9;:18;;;;;39194:23;;;39173:44;;39239:12;:22;;39211:6;;39173:18;39239:22;;39211:6;;39239:22;:::i;:::-;;;;-1:-1:-1;;39279:37:0;;5743:25:1;;;39305:1:0;;-1:-1:-1;;;;;39279:37:0;;;;;5731:2:1;5716:18;39279:37:0;;;;;;;39329:48;39349:7;39366:1;39370:6;39329:19;:48::i;85771:103::-;85834:7;85861:5;85865:1;85861;:5;:::i;84979:678::-;85216:12;;85153:17;;;;85251:8;;:35;;85266:5;85272:7;85278:1;85272:3;:7;:::i;:::-;85266:14;;;;;;-1:-1:-1;;;85266:14:0;;;;;;;;;;;;;;;;;;:20;;;;-1:-1:-1;;;;;85266:20:0;85251:35;;;85262:1;85251:35;-1:-1:-1;;;;;85239:47:0;;;85309:20;85312:9;85323:5;85309:2;:20;;:::i;:::-;85297:32;;85352:1;85346:3;:7;:51;;;;-1:-1:-1;85385:12:0;85357:5;85363:7;85369:1;85363:3;:7;:::i;:::-;85357:14;;;;;;-1:-1:-1;;;85357:14:0;;;;;;;;;;;;;;;;;;:24;;;:40;85346:51;85342:308;;;85437:40;85467:9;85437:29;:40::i;:::-;85414:5;85420:7;85426:1;85420:3;:7;:::i;:::-;85414:14;;;;;;-1:-1:-1;;;85414:14:0;;;;;;;;;;;;;;;;:20;;;:63;;;;;-1:-1:-1;;;;;85414:63:0;;;;;-1:-1:-1;;;;;85414:63:0;;;;;;85342:308;;;85510:5;85521:116;;;;;;;;85544:42;85573:12;85544:28;:42::i;:::-;85521:116;;;;;;85595:40;85625:9;85595:29;:40::i;:::-;-1:-1:-1;;;;;85521:116:0;;;;;;85510:128;;;;;;;-1:-1:-1;85510:128:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;85342:308;84979:678;;;;;;;:::o;85665:98::-;85723:7;85750:5;85754:1;85750;:5;:::i;38062:399::-;-1:-1:-1;;;;;38146:21:0;;38138:65;;;;-1:-1:-1;;;38138:65:0;;21154:2:1;38138:65:0;;;21136:21:1;21193:2;21173:18;;;21166:30;21232:33;21212:18;;;21205:61;21283:18;;38138:65:0;21126:181:1;38138:65:0;38216:49;38245:1;38249:7;38258:6;38216:20;:49::i;:::-;38294:6;38278:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;38311:18:0;;;;;;:9;:18;;;;;:28;;38333:6;;38311:18;:28;;38333:6;;38311:28;:::i;:::-;;;;-1:-1:-1;;38355:37:0;;5743:25:1;;;-1:-1:-1;;;;;38355:37:0;;;38372:1;;38355:37;;5731:2:1;5716:18;38355:37:0;;;;;;;38405:48;38433:1;38437:7;38446:6;38405:19;:48::i;46391:272::-;44451:7;;;;46599:9;46591:64;;;;-1:-1:-1;;;46591:64:0;;21514:2:1;46591:64:0;;;21496:21:1;21553:2;21533:18;;;21526:30;21592:34;21572:18;;;21565:62;-1:-1:-1;;;21643:18:1;;;21636:40;21693:19;;46591:64:0;21486:232:1;83506:262:0;-1:-1:-1;;;;;78730:19:0;;;78703:7;78730:19;;;:10;:19;;;;;;;;;;;;;;;83704:56;;78730:19;;;;;83753:6;83704:16;:56::i;69112:195::-;69169:7;-1:-1:-1;;;;;69197:26:0;;;69189:78;;;;-1:-1:-1;;;69189:78:0;;17908:2:1;69189:78:0;;;17890:21:1;17947:2;17927:18;;;17920:30;17986:34;17966:18;;;17959:62;-1:-1:-1;;;18037:18:1;;;18030:37;18084:19;;69189:78:0;17880:229:1;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:173:1;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;111:2;63:124;;;:::o;192:156::-;258:20;;318:4;307:16;;297:27;;287:2;;338:1;335;328:12;353:196;412:6;465:2;453:9;444:7;440:23;436:32;433:2;;;486:6;478;471:22;433:2;514:29;533:9;514:29;:::i;554:270::-;622:6;630;683:2;671:9;662:7;658:23;654:32;651:2;;;704:6;696;689:22;651:2;732:29;751:9;732:29;:::i;:::-;722:39;;780:38;814:2;803:9;799:18;780:38;:::i;:::-;770:48;;641:183;;;;;:::o;829:338::-;906:6;914;922;975:2;963:9;954:7;950:23;946:32;943:2;;;996:6;988;981:22;943:2;1024:29;1043:9;1024:29;:::i;:::-;1014:39;;1072:38;1106:2;1095:9;1091:18;1072:38;:::i;:::-;1062:48;;1157:2;1146:9;1142:18;1129:32;1119:42;;933:234;;;;;:::o;1172:616::-;1283:6;1291;1299;1307;1315;1323;1331;1384:3;1372:9;1363:7;1359:23;1355:33;1352:2;;;1406:6;1398;1391:22;1352:2;1434:29;1453:9;1434:29;:::i;:::-;1424:39;;1482:38;1516:2;1505:9;1501:18;1482:38;:::i;:::-;1472:48;;1567:2;1556:9;1552:18;1539:32;1529:42;;1618:2;1607:9;1603:18;1590:32;1580:42;;1641:37;1673:3;1662:9;1658:19;1641:37;:::i;:::-;1631:47;;1725:3;1714:9;1710:19;1697:33;1687:43;;1777:3;1766:9;1762:19;1749:33;1739:43;;1342:446;;;;;;;;;;:::o;1793:1040::-;1870:6;1878;1931:2;1919:9;1910:7;1906:23;1902:32;1899:2;;;1952:6;1944;1937:22;1899:2;1980:29;1999:9;1980:29;:::i;:::-;1970:39;;2060:2;2049:9;2045:18;2032:32;2083:18;2124:2;2116:6;2113:14;2110:2;;;2145:6;2137;2130:22;2110:2;2188:6;2177:9;2173:22;2163:32;;2233:7;2226:4;2222:2;2218:13;2214:27;2204:2;;2260:6;2252;2245:22;2204:2;2301;2288:16;2323:2;2319;2316:10;2313:2;;;2329:18;;:::i;:::-;2404:2;2398:9;2372:2;2458:13;;-1:-1:-1;;2454:22:1;;;2478:2;2450:31;2446:40;2434:53;;;2502:18;;;2522:22;;;2499:46;2496:2;;;2548:18;;:::i;:::-;2588:10;2584:2;2577:22;2623:2;2615:6;2608:18;2663:7;2658:2;2653;2649;2645:11;2641:20;2638:33;2635:2;;;2689:6;2681;2674:22;2635:2;2750;2745;2741;2737:11;2732:2;2724:6;2720:15;2707:46;2795:6;2790:2;2785;2777:6;2773:15;2769:24;2762:40;2821:6;2811:16;;;;;;;1889:944;;;;;:::o;2838:264::-;2906:6;2914;2967:2;2955:9;2946:7;2942:23;2938:32;2935:2;;;2988:6;2980;2973:22;2935:2;3016:29;3035:9;3016:29;:::i;:::-;3006:39;3092:2;3077:18;;;;3064:32;;-1:-1:-1;;;2925:177:1:o;3107:541::-;3209:6;3217;3225;3233;3241;3249;3302:3;3290:9;3281:7;3277:23;3273:33;3270:2;;;3324:6;3316;3309:22;3270:2;3352:29;3371:9;3352:29;:::i;:::-;3342:39;;3428:2;3417:9;3413:18;3400:32;3390:42;;3479:2;3468:9;3464:18;3451:32;3441:42;;3502:36;3534:2;3523:9;3519:18;3502:36;:::i;:::-;3492:46;;3585:3;3574:9;3570:19;3557:33;3547:43;;3637:3;3626:9;3622:19;3609:33;3599:43;;3260:388;;;;;;;;:::o;3653:370::-;3720:6;3728;3781:2;3769:9;3760:7;3756:23;3752:32;3749:2;;;3802:6;3794;3787:22;3749:2;3830:29;3849:9;3830:29;:::i;:::-;3820:39;;3909:2;3898:9;3894:18;3881:32;3953:10;3946:5;3942:22;3935:5;3932:33;3922:2;;3984:6;3976;3969:22;3922:2;4012:5;4002:15;;;3739:284;;;;;:::o;4028:293::-;4084:6;4137:2;4125:9;4116:7;4112:23;4108:32;4105:2;;;4158:6;4150;4143:22;4105:2;4202:9;4189:23;4255:5;4248:13;4241:21;4234:5;4231:32;4221:2;;4282:6;4274;4267:22;4326:190;4385:6;4438:2;4426:9;4417:7;4413:23;4409:32;4406:2;;;4459:6;4451;4444:22;4406:2;-1:-1:-1;4487:23:1;;4396:120;-1:-1:-1;4396:120:1:o;4521:274::-;4650:3;4688:6;4682:13;4704:53;4750:6;4745:3;4738:4;4730:6;4726:17;4704:53;:::i;:::-;4773:16;;;;;4658:137;-1:-1:-1;;4658:137:1:o;7694:383::-;7843:2;7832:9;7825:21;7806:4;7875:6;7869:13;7918:6;7913:2;7902:9;7898:18;7891:34;7934:66;7993:6;7988:2;7977:9;7973:18;7968:2;7960:6;7956:15;7934:66;:::i;:::-;8061:2;8040:15;-1:-1:-1;;8036:29:1;8021:45;;;;8068:2;8017:54;;7815:262;-1:-1:-1;;7815:262:1:o;12249:408::-;12451:2;12433:21;;;12490:2;12470:18;;;12463:30;12529:34;12524:2;12509:18;;12502:62;-1:-1:-1;;;12595:2:1;12580:18;;12573:42;12647:3;12632:19;;12423:234::o;13830:408::-;14032:2;14014:21;;;14071:2;14051:18;;;14044:30;14110:34;14105:2;14090:18;;14083:62;-1:-1:-1;;;14176:2:1;14161:18;;14154:42;14228:3;14213:19;;14004:234::o;14588:410::-;14790:2;14772:21;;;14829:2;14809:18;;;14802:30;14868:34;14863:2;14848:18;;14841:62;-1:-1:-1;;;14934:2:1;14919:18;;14912:44;14988:3;14973:19;;14762:236::o;17345:356::-;17547:2;17529:21;;;17566:18;;;17559:30;17625:34;17620:2;17605:18;;17598:62;17692:2;17677:18;;17519:182::o;22895:128::-;22935:3;22966:1;22962:6;22959:1;22956:13;22953:2;;;22972:18;;:::i;:::-;-1:-1:-1;23008:9:1;;22943:80::o;23028:217::-;23068:1;23094;23084:2;;-1:-1:-1;;;23119:31:1;;23173:4;23170:1;23163:15;23201:4;23126:1;23191:15;23084:2;-1:-1:-1;23230:9:1;;23074:171::o;23250:168::-;23290:7;23356:1;23352;23348:6;23344:14;23341:1;23338:21;23333:1;23326:9;23319:17;23315:45;23312:2;;;23363:18;;:::i;:::-;-1:-1:-1;23403:9:1;;23302:116::o;23423:125::-;23463:4;23491:1;23488;23485:8;23482:2;;;23496:18;;:::i;:::-;-1:-1:-1;23533:9:1;;23472:76::o;23553:258::-;23625:1;23635:113;23649:6;23646:1;23643:13;23635:113;;;23725:11;;;23719:18;23706:11;;;23699:39;23671:2;23664:10;23635:113;;;23766:6;23763:1;23760:13;23757:2;;;-1:-1:-1;;23801:1:1;23783:16;;23776:27;23606:205::o;23816:380::-;23895:1;23891:12;;;;23938;;;23959:2;;24013:4;24005:6;24001:17;23991:27;;23959:2;24066;24058:6;24055:14;24035:18;24032:38;24029:2;;;24112:10;24107:3;24103:20;24100:1;24093:31;24147:4;24144:1;24137:15;24175:4;24172:1;24165:15;24201:127;24262:10;24257:3;24253:20;24250:1;24243:31;24293:4;24290:1;24283:15;24317:4;24314:1;24307:15;24333:127;24394:10;24389:3;24385:20;24382:1;24375:31;24425:4;24422:1;24415:15;24449:4;24446:1;24439:15

Swarm Source

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