Token NASDEX Token

 

Overview ERC-20

Price
$0.00 @ 0.000000 MATIC
Fully Diluted Market Cap
Total Supply:
65,663,746.765391 NSDX

Holders:
1,417 addresses
Contract:
0xe8d17b127ba8b9899a160d9a07b69bca8e08bfc60xE8d17b127BA8b9899a160D9a07b69bCa8E08bfc6

Decimals:
18

Social Profiles:
Not Available, Update ?

 
Balance
1,764,964.214589428194341683 NSDX

Value
$0.00
0x56b8936a96cd5ee5c5837f385a19b4c2999fd74a
Loading
[ Download CSV Export  ] 
Loading
[ Download CSV Export  ] 
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
NSDXToken

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-09-18
*/

// Sources flattened with hardhat v2.6.2 https://hardhat.org

// File @openzeppelin/contracts/token/ERC20/[email protected]

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);
}


// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]


pragma solidity ^0.8.0;

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

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

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


// File @openzeppelin/contracts/utils/[email protected]


pragma solidity ^0.8.0;

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

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


// File @openzeppelin/contracts/token/ERC20/[email protected]


pragma solidity ^0.8.0;



/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.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 ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `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 {}
}


// File @openzeppelin/contracts/access/[email protected]


pragma solidity ^0.8.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _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);
    }
}


// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]


pragma solidity ^0.8.0;

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

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

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


// File @openzeppelin/contracts/utils/cryptography/[email protected]


pragma solidity ^0.8.0;

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

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


// File @openzeppelin/contracts/utils/cryptography/[email protected]


pragma solidity ^0.8.0;

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

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

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

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

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

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

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


// File @openzeppelin/contracts/utils/[email protected]


pragma solidity ^0.8.0;

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

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

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

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

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


// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]


pragma solidity ^0.8.0;





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

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

    // solhint-disable-next-line var-name-mixedcase
    bytes32 private immutable _PERMIT_TYPEHASH =
        keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");

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

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

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

        bytes32 hash = _hashTypedDataV4(structHash);

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

        _approve(owner, spender, value);
    }

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

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

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


// File @openzeppelin/contracts/utils/math/[email protected]


pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @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);
    }
}


// File @openzeppelin/contracts/utils/math/[email protected]


pragma solidity ^0.8.0;

/**
 * @dev Wrappers over Solidity's uintXX/intXX casting operators with added overflow
 * checks.
 *
 * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can
 * easily result in undesired exploitation or bugs, since developers usually
 * assume that overflows raise errors. `SafeCast` restores this intuition by
 * reverting the transaction when such an operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 *
 * Can be combined with {SafeMath} and {SignedSafeMath} to extend it to smaller types, by performing
 * all math on `uint256` and `int256` and then downcasting.
 */
library SafeCast {
    /**
     * @dev Returns the downcasted 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);
    }
}


// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]


pragma solidity ^0.8.0;




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

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

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

    /**
     * @dev 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 SafeCast.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 = Math.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 = ECDSA.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 = SafeCast.toUint224(newWeight);
        } else {
            ckpts.push(Checkpoint({fromBlock: SafeCast.toUint32(block.number), votes: SafeCast.toUint224(newWeight)}));
        }
    }

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

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


// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]


pragma solidity ^0.8.0;

/**
 * @dev Extension of ERC20 to support Compound's voting and delegation. This version exactly matches Compound's
 * interface, with the drawback of only supporting supply up to (2^96^ - 1).
 *
 * NOTE: You should use this contract if you need exact compatibility with COMP (for example in order to use your token
 * with Governor Alpha or Bravo) and if you are sure the supply cap of 2^96^ is enough for you. Otherwise, use the
 * {ERC20Votes} 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 {getCurrentVotes} and {getPriorVotes}.
 *
 * 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 ERC20VotesComp is ERC20Votes {
    /**
     * @dev Comp version of the {getVotes} accessor, with `uint96` return type.
     */
    function getCurrentVotes(address account) external view returns (uint96) {
        return SafeCast.toUint96(getVotes(account));
    }

    /**
     * @dev Comp version of the {getPastVotes} accessor, with `uint96` return type.
     */
    function getPriorVotes(address account, uint256 blockNumber) external view returns (uint96) {
        return SafeCast.toUint96(getPastVotes(account, blockNumber));
    }

    /**
     * @dev Maximum token supply. Reduced to `type(uint96).max` (2^96^ - 1) to fit COMP interface.
     */
    function _maxSupply() internal view virtual override returns (uint224) {
        return type(uint96).max;
    }
}


// File contracts/NSDXToken.sol


pragma solidity ^0.8.0;
// NSDXToken with Governance
contract NSDXToken is Ownable, ERC20, ERC20Permit, ERC20VotesComp {
    constructor() ERC20("NASDEX Token", "NSDX") ERC20Permit("NASDEX Token") {}

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

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

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


    // @notice Creates `_amount` token to `_to`. Must only be called by the owner.
    function mint(address _to, uint256 _amount) public onlyOwner {
        _mint(_to, _amount);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint32","name":"pos","type":"uint32"}],"name":"checkpoints","outputs":[{"components":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint224","name":"votes","type":"uint224"}],"internalType":"struct ERC20Votes.Checkpoint","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"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"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"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":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"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"}]

6101406040527f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9610120523480156200003757600080fd5b506040518060400160405280600c81526020016b2720a9a222ac102a37b5b2b760a11b81525080604051806040016040528060018152602001603160f81b8152506040518060400160405280600c81526020016b2720a9a222ac102a37b5b2b760a11b8152506040518060400160405280600481526020016309ca688b60e31b815250620000d4620000ce6200016760201b60201c565b6200016b565b8151620000e9906004906020850190620001f7565b508051620000ff906005906020840190620001f7565b5050825160208085019190912083519184019190912060c082905260e08190524660a0529091507f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f62000154818484620001bb565b6080526101005250620003069350505050565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008383834630604051602001620001d89594939291906200029d565b6040516020818303038152906040528051906020012090509392505050565b8280546200020590620002c9565b90600052602060002090601f01602090048101928262000229576000855562000274565b82601f106200024457805160ff191683800117855562000274565b8280016001018555821562000274579182015b828111156200027457825182559160200191906001019062000257565b506200028292915062000286565b5090565b5b8082111562000282576000815560010162000287565b9485526020850193909352604084019190915260608301526001600160a01b0316608082015260a00190565b600281046001821680620002de57607f821691505b602082108114156200030057634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e05161010051610120516121e06200035660003960006109a501526000610dba01526000610dfc01526000610ddb01526000610d6801526000610d9101526121e06000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c8063782d6fe1116100f9578063a9059cbb11610097578063d505accf11610071578063d505accf146103aa578063dd62ed3e146103bd578063f1127ed8146103d0578063f2fde38b146103f0576101c4565b8063a9059cbb14610371578063b4b5ea5714610384578063c3cda52014610397576101c4565b80638e539e8c116100d35780638e539e8c1461033057806395d89b41146103435780639ab24eb01461034b578063a457c2d71461035e576101c4565b8063782d6fe1146102f55780637ecebe00146103155780638da5cb5b14610328576101c4565b80633a46b1a8116101665780635c19a95c116101405780635c19a95c146102a75780636fcfff45146102ba57806370a08231146102da578063715018a6146102ed576101c4565b80633a46b1a81461025f57806340c10f1914610272578063587cde1e14610287576101c4565b806323b872dd116101a257806323b872dd1461021c578063313ce5671461022f5780633644e51514610244578063395093511461024c576101c4565b806306fdde03146101c9578063095ea7b3146101e757806318160ddd14610207575b600080fd5b6101d1610403565b6040516101de9190611a9b565b60405180910390f35b6101fa6101f53660046118e0565b610496565b6040516101de91906119e5565b61020f6104b3565b6040516101de91906119f0565b6101fa61022a36600461183c565b6104b9565b610237610552565b6040516101de91906120ee565b61020f610557565b6101fa61025a3660046118e0565b610566565b61020f61026d3660046118e0565b6105ba565b6102856102803660046118e0565b610604565b005b61029a6102953660046117f0565b610651565b6040516101de91906119d1565b6102856102b53660046117f0565b610672565b6102cd6102c83660046117f0565b610686565b6040516101de91906120dd565b61020f6102e83660046117f0565b6106ae565b6102856106c9565b6103086103033660046118e0565b610714565b6040516101de91906120fc565b61020f6103233660046117f0565b610728565b61029a610749565b61020f61033e36600461199e565b610758565b6101d1610784565b61020f6103593660046117f0565b610793565b6101fa61036c3660046118e0565b610828565b6101fa61037f3660046118e0565b6108a1565b6103086103923660046117f0565b6108b5565b6102856103a5366004611909565b6108c3565b6102856103b8366004611877565b610981565b61020f6103cb36600461180a565b610a63565b6103e36103de366004611960565b610a8e565b6040516101de91906120a9565b6102856103fe3660046117f0565b610b14565b6060600480546104129061215f565b80601f016020809104026020016040519081016040528092919081815260200182805461043e9061215f565b801561048b5780601f106104605761010080835404028352916020019161048b565b820191906000526020600020905b81548152906001019060200180831161046e57829003601f168201915b505050505090505b90565b60006104aa6104a3610b82565b8484610b86565b50600192915050565b60035490565b60006104c6848484610c3a565b6001600160a01b0384166000908152600260205260408120816104e7610b82565b6001600160a01b03166001600160a01b03168152602001908152602001600020549050828110156105335760405162461bcd60e51b815260040161052a90611e4a565b60405180910390fd5b6105478561053f610b82565b858403610b86565b506001949350505050565b601290565b6000610561610d64565b905090565b60006104aa610573610b82565b848460026000610581610b82565b6001600160a01b03908116825260208083019390935260409182016000908120918b16815292529020546105b59190612110565b610b86565b60004382106105db5760405162461bcd60e51b815260040161052a90611bae565b6001600160a01b03831660009081526008602052604090206105fd9083610e27565b9392505050565b61060c610b82565b6001600160a01b031661061d610749565b6001600160a01b0316146106435760405162461bcd60e51b815260040161052a90611ee2565b61064d8282610f00565b5050565b6001600160a01b03808216600090815260076020526040902054165b919050565b61068361067d610b82565b82610f0a565b50565b6001600160a01b0381166000908152600860205260408120546106a890610f8a565b92915050565b6001600160a01b031660009081526001602052604090205490565b6106d1610b82565b6001600160a01b03166106e2610749565b6001600160a01b0316146107085760405162461bcd60e51b815260040161052a90611ee2565b6107126000610fb4565b565b60006105fd61072384846105ba565b611004565b6001600160a01b03811660009081526006602052604081206106a89061102d565b6000546001600160a01b031690565b60004382106107795760405162461bcd60e51b815260040161052a90611bae565b6106a8600983610e27565b6060600580546104129061215f565b6001600160a01b0381166000908152600860205260408120548015610815576001600160a01b03831660009081526008602052604090206107d5600183612148565b815481106107f357634e487b7160e01b600052603260045260246000fd5b60009182526020909120015464010000000090046001600160e01b0316610818565b60005b6001600160e01b03169392505050565b60008060026000610837610b82565b6001600160a01b03908116825260208083019390935260409182016000908120918816815292529020549050828110156108835760405162461bcd60e51b815260040161052a9061202d565b61089761088e610b82565b85858403610b86565b5060019392505050565b60006104aa6108ae610b82565b8484610c3a565b60006106a861072383610793565b834211156108e35760405162461bcd60e51b815260040161052a90611be5565b600061094561093d7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf8989896040516020016109229493929190611a2d565b60405160208183030381529060405280519060200120611031565b858585611044565b90506109508161106c565b861461096e5760405162461bcd60e51b815260040161052a90611c53565b6109788188610f0a565b50505050505050565b834211156109a15760405162461bcd60e51b815260040161052a90611d12565b60007f00000000000000000000000000000000000000000000000000000000000000008888886109d08c61106c565b896040516020016109e6969594939291906119f9565b6040516020818303038152906040528051906020012090506000610a0982611031565b90506000610a1982878787611044565b9050896001600160a01b0316816001600160a01b031614610a4c5760405162461bcd60e51b815260040161052a90611e13565b610a578a8a8a610b86565b50505050505050505050565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b610a966117b1565b6001600160a01b0383166000908152600860205260409020805463ffffffff8416908110610ad457634e487b7160e01b600052603260045260246000fd5b60009182526020918290206040805180820190915291015463ffffffff8116825264010000000090046001600160e01b0316918101919091529392505050565b610b1c610b82565b6001600160a01b0316610b2d610749565b6001600160a01b031614610b535760405162461bcd60e51b815260040161052a90611ee2565b6001600160a01b038116610b795760405162461bcd60e51b815260040161052a90611c8a565b61068381610fb4565b3390565b6001600160a01b038316610bac5760405162461bcd60e51b815260040161052a90611fe9565b6001600160a01b038216610bd25760405162461bcd60e51b815260040161052a90611cd0565b6001600160a01b0380841660008181526002602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610c2d9085906119f0565b60405180910390a3505050565b6001600160a01b038316610c605760405162461bcd60e51b815260040161052a90611f5e565b6001600160a01b038216610c865760405162461bcd60e51b815260040161052a90611b25565b610c9183838361109e565b6001600160a01b03831660009081526001602052604090205481811015610cca5760405162461bcd60e51b815260040161052a90611d49565b6001600160a01b03808516600090815260016020526040808220858503905591851681529081208054849290610d01908490612110565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610d4b91906119f0565b60405180910390a3610d5e8484846110a3565b50505050565b60007f0000000000000000000000000000000000000000000000000000000000000000461415610db557507f0000000000000000000000000000000000000000000000000000000000000000610493565b610e207f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006110ae565b9050610493565b8154600090815b81811015610e99576000610e4282846110e8565b905084868281548110610e6557634e487b7160e01b600052603260045260246000fd5b60009182526020909120015463ffffffff161115610e8557809250610e93565b610e90816001612110565b91505b50610e2e565b8115610eeb5784610eab600184612148565b81548110610ec957634e487b7160e01b600052603260045260246000fd5b60009182526020909120015464010000000090046001600160e01b0316610eee565b60005b6001600160e01b031695945050505050565b61064d8282611103565b6000610f1583610651565b90506000610f22846106ae565b6001600160a01b0385811660008181526007602052604080822080546001600160a01b031916898616908117909155905194955093928616927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4610d5e828483611152565b600063ffffffff821115610fb05760405162461bcd60e51b815260040161052a90611fa3565b5090565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006001600160601b03821115610fb05760405162461bcd60e51b815260040161052a90611b68565b5490565b60006106a861103e610d64565b8361127d565b6000806000611055878787876112b0565b9150915061106281611390565b5095945050505050565b6001600160a01b038116600090815260066020526040812061108d8161102d565b9150611098816114bd565b50919050565b505050565b61109e8383836114c6565b600083838346306040516020016110c9959493929190611a51565b6040516020818303038152906040528051906020012090509392505050565b60006110f76002848418612128565b6105fd90848416612110565b61110d82826114ec565b6111156115b4565b6001600160e01b03166111266104b3565b11156111445760405162461bcd60e51b815260040161052a90611e92565b610d5e60096115bf836115cb565b816001600160a01b0316836001600160a01b0316141580156111745750600081115b1561109e576001600160a01b038316156111f9576001600160a01b038316600090815260086020526040812081906111af9061177c856115cb565b91509150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a72483836040516111ee9291906120cf565b60405180910390a250505b6001600160a01b0382161561109e576001600160a01b0382166000908152600860205260408120819061122f906115bf856115cb565b91509150836001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724838360405161126e9291906120cf565b60405180910390a25050505050565b600082826040516020016112929291906119b6565b60405160208183030381529060405280519060200120905092915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156112e75750600090506003611387565b8460ff16601b141580156112ff57508460ff16601c14155b156113105750600090506004611387565b6000600187878787604051600081526020016040526040516113359493929190611a7d565b6020604051602081039080840390855afa158015611357573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661138057600060019250925050611387565b9150600090505b94509492505050565b60008160048111156113b257634e487b7160e01b600052602160045260246000fd5b14156113bd57610683565b60018160048111156113df57634e487b7160e01b600052602160045260246000fd5b14156113fd5760405162461bcd60e51b815260040161052a90611aee565b600281600481111561141f57634e487b7160e01b600052602160045260246000fd5b141561143d5760405162461bcd60e51b815260040161052a90611c1c565b600381600481111561145f57634e487b7160e01b600052602160045260246000fd5b141561147d5760405162461bcd60e51b815260040161052a90611d8f565b600481600481111561149f57634e487b7160e01b600052602160045260246000fd5b14156106835760405162461bcd60e51b815260040161052a90611dd1565b80546001019055565b6114d183838361109e565b61109e6114dd84610651565b6114e684610651565b83611152565b6001600160a01b0382166115125760405162461bcd60e51b815260040161052a90612072565b61151e6000838361109e565b80600360008282546115309190612110565b90915550506001600160a01b0382166000908152600160205260408120805483929061155d908490612110565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906115a09085906119f0565b60405180910390a361064d600083836110a3565b6001600160601b0390565b60006105fd8284612110565b82546000908190801561162457856115e4600183612148565b8154811061160257634e487b7160e01b600052603260045260246000fd5b60009182526020909120015464010000000090046001600160e01b0316611627565b60005b6001600160e01b0316925061164083858763ffffffff16565b915060008111801561168c5750438661165a600184612148565b8154811061167857634e487b7160e01b600052603260045260246000fd5b60009182526020909120015463ffffffff16145b156116fa5761169a82611788565b866116a6600184612148565b815481106116c457634e487b7160e01b600052603260045260246000fd5b9060005260206000200160000160046101000a8154816001600160e01b0302191690836001600160e01b03160217905550611773565b85604051806040016040528061170f43610f8a565b63ffffffff16815260200161172385611788565b6001600160e01b039081169091528254600181018455600093845260209384902083519101805493909401519091166401000000000263ffffffff91821663ffffffff1990931692909217161790555b50935093915050565b60006105fd8284612148565b60006001600160e01b03821115610fb05760405162461bcd60e51b815260040161052a90611f17565b604080518082019091526000808252602082015290565b80356001600160a01b038116811461066d57600080fd5b803560ff8116811461066d57600080fd5b600060208284031215611801578081fd5b6105fd826117c8565b6000806040838503121561181c578081fd5b611825836117c8565b9150611833602084016117c8565b90509250929050565b600080600060608486031215611850578081fd5b611859846117c8565b9250611867602085016117c8565b9150604084013590509250925092565b600080600080600080600060e0888a031215611891578283fd5b61189a886117c8565b96506118a8602089016117c8565b955060408801359450606088013593506118c4608089016117df565b925060a0880135915060c0880135905092959891949750929550565b600080604083850312156118f2578182fd5b6118fb836117c8565b946020939093013593505050565b60008060008060008060c08789031215611921578182fd5b61192a876117c8565b95506020870135945060408701359350611946606088016117df565b92506080870135915060a087013590509295509295509295565b60008060408385031215611972578182fd5b61197b836117c8565b9150602083013563ffffffff81168114611993578182fd5b809150509250929050565b6000602082840312156119af578081fd5b5035919050565b61190160f01b81526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b901515815260200190565b90815260200190565b9586526001600160a01b0394851660208701529290931660408501526060840152608083019190915260a082015260c00190565b9384526001600160a01b039290921660208401526040830152606082015260800190565b9485526020850193909352604084019190915260608301526001600160a01b0316608082015260a00190565b93845260ff9290921660208401526040830152606082015260800190565b6000602080835283518082850152825b81811015611ac757858101830151858201604001528201611aab565b81811115611ad85783604083870101525b50601f01601f1916929092016040019392505050565b60208082526018908201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604082015260600190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526026908201527f53616665436173743a2076616c756520646f65736e27742066697420696e203960408201526536206269747360d01b606082015260800190565b6020808252601f908201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e656400604082015260600190565b6020808252601d908201527f4552433230566f7465733a207369676e61747572652065787069726564000000604082015260600190565b6020808252601f908201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604082015260600190565b60208082526019908201527f4552433230566f7465733a20696e76616c6964206e6f6e636500000000000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252601d908201527f45524332305065726d69743a206578706972656420646561646c696e65000000604082015260600190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b60208082526022908201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604082015261756560f01b606082015260800190565b60208082526022908201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604082015261756560f01b606082015260800190565b6020808252601e908201527f45524332305065726d69743a20696e76616c6964207369676e61747572650000604082015260600190565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616040820152676c6c6f77616e636560c01b606082015260800190565b60208082526030908201527f4552433230566f7465733a20746f74616c20737570706c79207269736b73206f60408201526f766572666c6f77696e6720766f74657360801b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526027908201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326040820152663234206269747360c81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526026908201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360408201526532206269747360d01b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b815163ffffffff1681526020918201516001600160e01b03169181019190915260400190565b918252602082015260400190565b63ffffffff91909116815260200190565b60ff91909116815260200190565b6001600160601b0391909116815260200190565b6000821982111561212357612123612194565b500190565b60008261214357634e487b7160e01b81526012600452602481fd5b500490565b60008282101561215a5761215a612194565b500390565b60028104600182168061217357607f821691505b6020821081141561109857634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fdfea26469706673582212207baf42adb4c78748008aa7dfa6e605f0e2fa4b26bdbdf35053ada0ef76eab1a164736f6c63430008000033

Deployed ByteCode Sourcemap

60120:836:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6521:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;8688:169;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;7641:108::-;;;:::i;:::-;;;;;;;:::i;9339:492::-;;;;;;:::i;:::-;;:::i;7483:93::-;;;:::i;:::-;;;;;;;:::i;38282:115::-;;;:::i;10240:215::-;;;;;;:::i;:::-;;:::i;51243:251::-;;;;;;:::i;:::-;;:::i;60854:99::-;;;;;;:::i;:::-;;:::i;:::-;;50643:119;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;53682:112::-;;;;;;:::i;:::-;;:::i;50399:151::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;7812:127::-;;;;;;:::i;:::-;;:::i;18135:94::-;;;:::i;59609:171::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;38024:128::-;;;;;;:::i;:::-;;:::i;17484:87::-;;;:::i;51783:242::-;;;;;;:::i;:::-;;:::i;6740:104::-;;;:::i;50846:195::-;;;;;;:::i;:::-;;:::i;10958:413::-;;;;;;:::i;:::-;;:::i;8152:175::-;;;;;;:::i;:::-;;:::i;59363:135::-;;;;;;:::i;:::-;;:::i;53876:589::-;;;;;;:::i;:::-;;:::i;37313:645::-;;;;;;:::i;:::-;;:::i;8390:151::-;;;;;;:::i;:::-;;:::i;50169:150::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;18384:192::-;;;;;;:::i;:::-;;:::i;6521:100::-;6575:13;6608:5;6601:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6521:100;;:::o;8688:169::-;8771:4;8788:39;8797:12;:10;:12::i;:::-;8811:7;8820:6;8788:8;:39::i;:::-;-1:-1:-1;8845:4:0;8688:169;;;;:::o;7641:108::-;7729:12;;7641:108;:::o;9339:492::-;9479:4;9496:36;9506:6;9514:9;9525:6;9496:9;:36::i;:::-;-1:-1:-1;;;;;9572:19:0;;9545:24;9572:19;;;:11;:19;;;;;9545:24;9592:12;:10;:12::i;:::-;-1:-1:-1;;;;;9572:33:0;-1:-1:-1;;;;;9572:33:0;;;;;;;;;;;;;9545:60;;9644:6;9624:16;:26;;9616:79;;;;-1:-1:-1;;;9616:79:0;;;;;;;:::i;:::-;;;;;;;;;9731:57;9740:6;9748:12;:10;:12::i;:::-;9781:6;9762:16;:25;9731:8;:57::i;:::-;-1:-1:-1;9819:4:0;;9339:492;-1:-1:-1;;;;9339:492:0:o;7483:93::-;7566:2;7483:93;:::o;38282:115::-;38342:7;38369:20;:18;:20::i;:::-;38362:27;;38282:115;:::o;10240:215::-;10328:4;10345:80;10354:12;:10;:12::i;:::-;10368:7;10414:10;10377:11;:25;10389:12;:10;:12::i;:::-;-1:-1:-1;;;;;10377:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;10377:25:0;;;:34;;;;;;;;;;:47;;;;:::i;:::-;10345:8;:80::i;51243:251::-;51324:7;51366:12;51352:11;:26;51344:70;;;;-1:-1:-1;;;51344:70:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;51451:21:0;;;;;;:12;:21;;;;;51432:54;;51474:11;51432:18;:54::i;:::-;51425:61;51243:251;-1:-1:-1;;;51243:251:0:o;60854:99::-;17715:12;:10;:12::i;:::-;-1:-1:-1;;;;;17704:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;17704:23:0;;17696:68;;;;-1:-1:-1;;;17696:68:0;;;;;;;:::i;:::-;60926:19:::1;60932:3;60937:7;60926:5;:19::i;:::-;60854:99:::0;;:::o;50643:119::-;-1:-1:-1;;;;;50735:19:0;;;50708:7;50735:19;;;:10;:19;;;;;;;50643:119;;;;:::o;53682:112::-;53752:34;53762:12;:10;:12::i;:::-;53776:9;53752;:34::i;:::-;53682:112;:::o;50399:151::-;-1:-1:-1;;;;;50513:21:0;;50469:6;50513:21;;;:12;:21;;;;;:28;50495:47;;:17;:47::i;:::-;50488:54;50399:151;-1:-1:-1;;50399:151:0:o;7812:127::-;-1:-1:-1;;;;;7913:18:0;7886:7;7913:18;;;:9;:18;;;;;;;7812:127::o;18135:94::-;17715:12;:10;:12::i;:::-;-1:-1:-1;;;;;17704:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;17704:23:0;;17696:68;;;;-1:-1:-1;;;17696:68:0;;;;;;;:::i;:::-;18200:21:::1;18218:1;18200:9;:21::i;:::-;18135:94::o:0;59609:171::-;59693:6;59719:53;59737:34;59750:7;59759:11;59737:12;:34::i;:::-;59719:17;:53::i;38024:128::-;-1:-1:-1;;;;;38120:14:0;;38093:7;38120:14;;;:7;:14;;;;;:24;;:22;:24::i;17484:87::-;17530:7;17557:6;-1:-1:-1;;;;;17557:6:0;17484:87;:::o;51783:242::-;51853:7;51895:12;51881:11;:26;51873:70;;;;-1:-1:-1;;;51873:70:0;;;;;;;:::i;:::-;51961:56;51980:23;52005:11;51961:18;:56::i;6740:104::-;6796:13;6829:7;6822:14;;;;;:::i;50846:195::-;-1:-1:-1;;;;;50936:21:0;;50902:7;50936:21;;;:12;:21;;;;;:28;50982:8;;:51;;-1:-1:-1;;;;;50997:21:0;;;;;;:12;:21;;;;;51019:7;51025:1;51019:3;:7;:::i;:::-;50997:30;;;;;;-1:-1:-1;;;50997:30:0;;;;;;;;;;;;;;;;;;:36;;;;-1:-1:-1;;;;;50997:36:0;50982:51;;;50993:1;50982:51;-1:-1:-1;;;;;50975:58:0;;50846:195;-1:-1:-1;;;50846:195:0:o;10958:413::-;11051:4;11068:24;11095:11;:25;11107:12;:10;:12::i;:::-;-1:-1:-1;;;;;11095:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;11095:25:0;;;:34;;;;;;;;;;;-1:-1:-1;11148:35:0;;;;11140:85;;;;-1:-1:-1;;;11140:85:0;;;;;;;:::i;:::-;11261:67;11270:12;:10;:12::i;:::-;11284:7;11312:15;11293:16;:34;11261:8;:67::i;:::-;-1:-1:-1;11359:4:0;;10958:413;-1:-1:-1;;;10958:413:0:o;8152:175::-;8238:4;8255:42;8265:12;:10;:12::i;:::-;8279:9;8290:6;8255:9;:42::i;59363:135::-;59428:6;59454:36;59472:17;59481:7;59472:8;:17::i;53876:589::-;54094:6;54075:15;:25;;54067:67;;;;-1:-1:-1;;;54067:67:0;;;;;;;:::i;:::-;54145:14;54162:174;54190:87;49420:71;54250:9;54261:5;54268:6;54217:58;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;54207:69;;;;;;54190:16;:87::i;:::-;54292:1;54308;54324;54162:13;:174::i;:::-;54145:191;;54364:17;54374:6;54364:9;:17::i;:::-;54355:5;:26;54347:64;;;;-1:-1:-1;;;54347:64:0;;;;;;;:::i;:::-;54429:28;54439:6;54447:9;54429;:28::i;:::-;54422:35;53876:589;;;;;;:::o;37313:645::-;37557:8;37538:15;:27;;37530:69;;;;-1:-1:-1;;;37530:69:0;;;;;;;:::i;:::-;37612:18;37654:16;37672:5;37679:7;37688:5;37695:16;37705:5;37695:9;:16::i;:::-;37713:8;37643:79;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;37633:90;;;;;;37612:111;;37736:12;37751:28;37768:10;37751:16;:28::i;:::-;37736:43;;37792:14;37809:28;37823:4;37829:1;37832;37835;37809:13;:28::i;:::-;37792:45;;37866:5;-1:-1:-1;;;;;37856:15:0;:6;-1:-1:-1;;;;;37856:15:0;;37848:58;;;;-1:-1:-1;;;37848:58:0;;;;;;;:::i;:::-;37919:31;37928:5;37935:7;37944:5;37919:8;:31::i;:::-;37313:645;;;;;;;;;;:::o;8390:151::-;-1:-1:-1;;;;;8506:18:0;;;8479:7;8506:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;8390:151::o;50169:150::-;50248:17;;:::i;:::-;-1:-1:-1;;;;;50285:21:0;;;;;;:12;:21;;;;;:26;;;;;;;;;;-1:-1:-1;;;50285:26:0;;;;;;;;;;;;;;;;;;50278:33;;;;;;;;;50285:26;;50278:33;;;;;;;;;-1:-1:-1;;;;;50278:33:0;;;;;;;;;50169:150;-1:-1:-1;;;50169:150:0:o;18384:192::-;17715:12;:10;:12::i;:::-;-1:-1:-1;;;;;17704:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;17704:23:0;;17696:68;;;;-1:-1:-1;;;17696:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;18473:22:0;::::1;18465:73;;;;-1:-1:-1::0;;;18465:73:0::1;;;;;;;:::i;:::-;18549:19;18559:8;18549:9;:19::i;4230:98::-:0;4310:10;4230:98;:::o;14642:380::-;-1:-1:-1;;;;;14778:19:0;;14770:68;;;;-1:-1:-1;;;14770:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;14857:21:0;;14849:68;;;;-1:-1:-1;;;14849:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;14930:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;;:36;;;14982:32;;;;;14960:6;;14982:32;:::i;:::-;;;;;;;;14642:380;;;:::o;11861:733::-;-1:-1:-1;;;;;12001:20:0;;11993:70;;;;-1:-1:-1;;;11993:70:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;12082:23:0;;12074:71;;;;-1:-1:-1;;;12074:71:0;;;;;;;:::i;:::-;12158:47;12179:6;12187:9;12198:6;12158:20;:47::i;:::-;-1:-1:-1;;;;;12242:17:0;;12218:21;12242:17;;;:9;:17;;;;;;12278:23;;;;12270:74;;;;-1:-1:-1;;;12270:74:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;12380:17:0;;;;;;;:9;:17;;;;;;12400:22;;;12380:42;;12444:20;;;;;;;;:30;;12416:6;;12380:17;12444:30;;12416:6;;12444:30;:::i;:::-;;;;;;;;12509:9;-1:-1:-1;;;;;12492:35:0;12501:6;-1:-1:-1;;;;;12492:35:0;;12520:6;12492:35;;;;;;:::i;:::-;;;;;;;;12540:46;12560:6;12568:9;12579:6;12540:19;:46::i;:::-;11861:733;;;;:::o;33143:281::-;33196:7;33237:16;33220:13;:33;33216:201;;;-1:-1:-1;33277:24:0;33270:31;;33216:201;33341:64;33363:10;33375:12;33389:15;33341:21;:64::i;:::-;33334:71;;;;52114:1482;53247:12;;52213:7;;;53296:236;53309:4;53303:3;:10;53296:236;;;53330:11;53344:23;53357:3;53362:4;53344:12;:23::i;:::-;53330:37;;53409:11;53386:5;53392:3;53386:10;;;;;;-1:-1:-1;;;53386:10:0;;;;;;;;;;;;;;;;;;:20;;;:34;53382:139;;;53448:3;53441:10;;53382:139;;;53498:7;:3;53504:1;53498:7;:::i;:::-;53492:13;;53382:139;53296:236;;;;53551:9;;:37;;53567:5;53573:8;53580:1;53573:4;:8;:::i;:::-;53567:15;;;;;;-1:-1:-1;;;53567:15:0;;;;;;;;;;;;;;;;;;:21;;;;-1:-1:-1;;;;;53567:21:0;53551:37;;;53563:1;53551:37;-1:-1:-1;;;;;53544:44:0;;52114:1482;-1:-1:-1;;;;;52114:1482:0:o;60468:137::-;60574:23;60586:2;60590:6;60574:11;:23::i;55915:388::-;56000:23;56026:20;56036:9;56026;:20::i;:::-;56000:46;;56057:24;56084:20;56094:9;56084;:20::i;:::-;-1:-1:-1;;;;;56115:21:0;;;;;;;:10;:21;;;;;;:33;;-1:-1:-1;;;;;;56115:33:0;;;;;;;;;;56166:54;;56057:47;;-1:-1:-1;56115:33:0;56166:54;;;;;;56115:21;56166:54;56233:62;56250:15;56267:9;56278:16;56233;:62::i;43092:190::-;43148:6;43184:16;43175:25;;;43167:76;;;;-1:-1:-1;;;43167:76:0;;;;;;;:::i;:::-;-1:-1:-1;43268:5:0;43092:190::o;18584:173::-;18640:16;18659:6;;-1:-1:-1;;;;;18676:17:0;;;-1:-1:-1;;;;;;18676:17:0;;;;;;18709:40;;18659:6;;;;;;;18709:40;;18640:16;18709:40;18584:173;;:::o;42114:190::-;42170:6;-1:-1:-1;;;;;42197:25:0;;;42189:76;;;;-1:-1:-1;;;42189:76:0;;;;;;;:::i;35334:114::-;35426:14;;35334:114::o;34337:167::-;34414:7;34441:55;34463:20;:18;:20::i;:::-;34485:10;34441:21;:55::i;28664:279::-;28792:7;28813:17;28832:18;28854:25;28865:4;28871:1;28874;28877;28854:10;:25::i;:::-;28812:67;;;;28890:18;28902:5;28890:11;:18::i;:::-;-1:-1:-1;28926:9:0;28664:279;-1:-1:-1;;;;;28664:279:0:o;38535:207::-;-1:-1:-1;;;;;38656:14:0;;38595:15;38656:14;;;:7;:14;;;;;38691:15;38656:14;38691:13;:15::i;:::-;38681:25;;38717:17;:5;:15;:17::i;:::-;38535:207;;;;:::o;15622:125::-;;;;:::o;60275:185::-;60409:43;60435:4;60441:2;60445:6;60409:25;:43::i;33432:263::-;33576:7;33624:8;33634;33644:11;33657:13;33680:4;33613:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;33603:84;;;;;;33596:91;;33432:263;;;;;:::o;39414:156::-;39476:7;39551:11;39561:1;39552:5;;;39551:11;:::i;:::-;39541:21;;39542:5;;;39541:21;:::i;54771:290::-;54856:28;54868:7;54877:6;54856:11;:28::i;:::-;54920:12;:10;:12::i;:::-;-1:-1:-1;;;;;54903:29:0;:13;:11;:13::i;:::-;:29;;54895:90;;;;-1:-1:-1;;;54895:90:0;;;;;;;:::i;:::-;54998:55;55015:23;55040:4;55046:6;54998:16;:55::i;56311:643::-;56443:3;-1:-1:-1;;;;;56436:10:0;:3;-1:-1:-1;;;;;56436:10:0;;;:24;;;;;56459:1;56450:6;:10;56436:24;56432:515;;;-1:-1:-1;;;;;56481:17:0;;;56477:224;;-1:-1:-1;;;;;56577:17:0;;56520;56577;;;:12;:17;;;;;56520;;56560:54;;56596:9;56607:6;56560:16;:54::i;:::-;56519:95;;;;56659:3;-1:-1:-1;;;;;56638:47:0;;56664:9;56675;56638:47;;;;;;;:::i;:::-;;;;;;;;56477:224;;;-1:-1:-1;;;;;56721:17:0;;;56717:219;;-1:-1:-1;;;;;56817:17:0;;56760;56817;;;:12;:17;;;;;56760;;56800:49;;56836:4;56842:6;56800:16;:49::i;:::-;56759:90;;;;56894:3;-1:-1:-1;;;;;56873:47:0;;56899:9;56910;56873:47;;;;;;;:::i;:::-;;;;;;;;56717:219;;56311:643;;;:::o;29862:196::-;29955:7;30021:15;30038:10;29992:57;;;;;;;;;:::i;:::-;;;;;;;;;;;;;29982:68;;;;;;29975:75;;29862:196;;;;:::o;26893:1632::-;27024:7;;27958:66;27945:79;;27941:163;;;-1:-1:-1;28057:1:0;;-1:-1:-1;28061:30:0;28041:51;;27941:163;28118:1;:7;;28123:2;28118:7;;:18;;;;;28129:1;:7;;28134:2;28129:7;;28118:18;28114:102;;;-1:-1:-1;28169:1:0;;-1:-1:-1;28173:30:0;28153:51;;28114:102;28313:14;28330:24;28340:4;28346:1;28349;28352;28330:24;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;28330:24:0;;-1:-1:-1;;28330:24:0;;;-1:-1:-1;;;;;;;28369:20:0;;28365:103;;28422:1;28426:29;28406:50;;;;;;;28365:103;28488:6;-1:-1:-1;28496:20:0;;-1:-1:-1;26893:1632:0;;;;;;;;:::o;21555:643::-;21633:20;21624:5;:29;;;;;;-1:-1:-1;;;21624:29:0;;;;;;;;;;21620:571;;;21670:7;;21620:571;21731:29;21722:5;:38;;;;;;-1:-1:-1;;;21722:38:0;;;;;;;;;;21718:473;;;21777:34;;-1:-1:-1;;;21777:34:0;;;;;;;:::i;21718:473::-;21842:35;21833:5;:44;;;;;;-1:-1:-1;;;21833:44:0;;;;;;;;;;21829:362;;;21894:41;;-1:-1:-1;;;21894:41:0;;;;;;;:::i;21829:362::-;21966:30;21957:5;:39;;;;;;-1:-1:-1;;;21957:39:0;;;;;;;;;;21953:238;;;22013:44;;-1:-1:-1;;;22013:44:0;;;;;;;:::i;21953:238::-;22088:30;22079:5;:39;;;;;;-1:-1:-1;;;22079:39:0;;;;;;;;;;22075:116;;;22135:44;;-1:-1:-1;;;22135:44:0;;;;;;;:::i;35456:127::-;35545:19;;35563:1;35545:19;;;35456:127::o;55489:262::-;55631:43;55657:4;55663:2;55667:6;55631:25;:43::i;:::-;55687:56;55704:15;55714:4;55704:9;:15::i;:::-;55721:13;55731:2;55721:9;:13::i;:::-;55736:6;55687:16;:56::i;12881:399::-;-1:-1:-1;;;;;12965:21:0;;12957:65;;;;-1:-1:-1;;;12957:65:0;;;;;;;:::i;:::-;13035:49;13064:1;13068:7;13077:6;13035:20;:49::i;:::-;13113:6;13097:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;13130:18:0;;;;;;:9;:18;;;;;:28;;13152:6;;13130:18;:28;;13152:6;;13130:28;:::i;:::-;;;;-1:-1:-1;;13174:37:0;;-1:-1:-1;;;;;13174:37:0;;;13191:1;;13174:37;;;;13204:6;;13174:37;:::i;:::-;;;;;;;;13224:48;13252:1;13256:7;13265:6;13224:19;:48::i;59906:113::-;-1:-1:-1;;;;;59906:113:0;:::o;57615:98::-;57673:7;57700:5;57704:1;57700;:5;:::i;56962:645::-;57199:12;;57136:17;;;;57234:8;;:35;;57249:5;57255:7;57261:1;57255:3;:7;:::i;:::-;57249:14;;;;;;-1:-1:-1;;;57249:14:0;;;;;;;;;;;;;;;;;;:20;;;;-1:-1:-1;;;;;57249:20:0;57234:35;;;57245:1;57234:35;-1:-1:-1;;;;;57222:47:0;;;57292:20;57295:9;57306:5;57292:2;:20;;:::i;:::-;57280:32;;57335:1;57329:3;:7;:51;;;;-1:-1:-1;57368:12:0;57340:5;57346:7;57352:1;57346:3;:7;:::i;:::-;57340:14;;;;;;-1:-1:-1;;;57340:14:0;;;;;;;;;;;;;;;;;;:24;;;:40;57329:51;57325:275;;;57420:29;57439:9;57420:18;:29::i;:::-;57397:5;57403:7;57409:1;57403:3;:7;:::i;:::-;57397:14;;;;;;-1:-1:-1;;;57397:14:0;;;;;;;;;;;;;;;;:20;;;:52;;;;;-1:-1:-1;;;;;57397:52:0;;;;;-1:-1:-1;;;;;57397:52:0;;;;;;57325:275;;;57482:5;57493:94;;;;;;;;57516:31;57534:12;57516:17;:31::i;:::-;57493:94;;;;;;57556:29;57575:9;57556:18;:29::i;:::-;-1:-1:-1;;;;;57493:94:0;;;;;;57482:106;;;;;;;-1:-1:-1;57482:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;57482:106:0;;;;;;;;;;;57325:275;56962:645;;;;;;;:::o;57721:103::-;57784:7;57811:5;57815:1;57811;:5;:::i;41122:195::-;41179:7;-1:-1:-1;;;;;41207:26:0;;;41199:78;;;;-1:-1:-1;;;41199:78:0;;;;;;;:::i;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;:::o;14:175:1:-;84:20;;-1:-1:-1;;;;;133:31:1;;123:42;;113:2;;179:1;176;169:12;194:158;262:20;;322:4;311:16;;301:27;;291:2;;342:1;339;332:12;357:198;;469:2;457:9;448:7;444:23;440:32;437:2;;;490:6;482;475:22;437:2;518:31;539:9;518:31;:::i;560:274::-;;;689:2;677:9;668:7;664:23;660:32;657:2;;;710:6;702;695:22;657:2;738:31;759:9;738:31;:::i;:::-;728:41;;788:40;824:2;813:9;809:18;788:40;:::i;:::-;778:50;;647:187;;;;;:::o;839:342::-;;;;985:2;973:9;964:7;960:23;956:32;953:2;;;1006:6;998;991:22;953:2;1034:31;1055:9;1034:31;:::i;:::-;1024:41;;1084:40;1120:2;1109:9;1105:18;1084:40;:::i;:::-;1074:50;;1171:2;1160:9;1156:18;1143:32;1133:42;;943:238;;;;;:::o;1186:622::-;;;;;;;;1398:3;1386:9;1377:7;1373:23;1369:33;1366:2;;;1420:6;1412;1405:22;1366:2;1448:31;1469:9;1448:31;:::i;:::-;1438:41;;1498:40;1534:2;1523:9;1519:18;1498:40;:::i;:::-;1488:50;;1585:2;1574:9;1570:18;1557:32;1547:42;;1636:2;1625:9;1621:18;1608:32;1598:42;;1659:39;1693:3;1682:9;1678:19;1659:39;:::i;:::-;1649:49;;1745:3;1734:9;1730:19;1717:33;1707:43;;1797:3;1786:9;1782:19;1769:33;1759:43;;1356:452;;;;;;;;;;:::o;1813:266::-;;;1942:2;1930:9;1921:7;1917:23;1913:32;1910:2;;;1963:6;1955;1948:22;1910:2;1991:31;2012:9;1991:31;:::i;:::-;1981:41;2069:2;2054:18;;;;2041:32;;-1:-1:-1;;;1900:179:1:o;2084:545::-;;;;;;;2279:3;2267:9;2258:7;2254:23;2250:33;2247:2;;;2301:6;2293;2286:22;2247:2;2329:31;2350:9;2329:31;:::i;:::-;2319:41;;2407:2;2396:9;2392:18;2379:32;2369:42;;2458:2;2447:9;2443:18;2430:32;2420:42;;2481:38;2515:2;2504:9;2500:18;2481:38;:::i;:::-;2471:48;;2566:3;2555:9;2551:19;2538:33;2528:43;;2618:3;2607:9;2603:19;2590:33;2580:43;;2237:392;;;;;;;;:::o;2634:372::-;;;2762:2;2750:9;2741:7;2737:23;2733:32;2730:2;;;2783:6;2775;2768:22;2730:2;2811:31;2832:9;2811:31;:::i;:::-;2801:41;;2892:2;2881:9;2877:18;2864:32;2936:10;2929:5;2925:22;2918:5;2915:33;2905:2;;2967:6;2959;2952:22;2905:2;2995:5;2985:15;;;2720:286;;;;;:::o;3011:190::-;;3123:2;3111:9;3102:7;3098:23;3094:32;3091:2;;;3144:6;3136;3129:22;3091:2;-1:-1:-1;3172:23:1;;3081:120;-1:-1:-1;3081:120:1:o;3206:392::-;-1:-1:-1;;;3464:27:1;;3516:1;3507:11;;3500:27;;;;3552:2;3543:12;;3536:28;3589:2;3580:12;;3454:144::o;3603:203::-;-1:-1:-1;;;;;3767:32:1;;;;3749:51;;3737:2;3722:18;;3704:102::o;3811:187::-;3976:14;;3969:22;3951:41;;3939:2;3924:18;;3906:92::o;4003:177::-;4149:25;;;4137:2;4122:18;;4104:76::o;4185:591::-;4472:25;;;-1:-1:-1;;;;;4571:15:1;;;4566:2;4551:18;;4544:43;4623:15;;;;4618:2;4603:18;;4596:43;4670:2;4655:18;;4648:34;4713:3;4698:19;;4691:35;;;;4524:3;4742:19;;4735:35;4459:3;4444:19;;4426:350::o;4781:417::-;5012:25;;;-1:-1:-1;;;;;5073:32:1;;;;5068:2;5053:18;;5046:60;5137:2;5122:18;;5115:34;5180:2;5165:18;;5158:34;4999:3;4984:19;;4966:232::o;5203:489::-;5462:25;;;5518:2;5503:18;;5496:34;;;;5561:2;5546:18;;5539:34;;;;5604:2;5589:18;;5582:34;-1:-1:-1;;;;;5653:32:1;5647:3;5632:19;;5625:61;5449:3;5434:19;;5416:276::o;5697:398::-;5924:25;;;5997:4;5985:17;;;;5980:2;5965:18;;5958:45;6034:2;6019:18;;6012:34;6077:2;6062:18;;6055:34;5911:3;5896:19;;5878:217::o;6100:603::-;;6241:2;6270;6259:9;6252:21;6302:6;6296:13;6345:6;6340:2;6329:9;6325:18;6318:34;6370:4;6383:140;6397:6;6394:1;6391:13;6383:140;;;6492:14;;;6488:23;;6482:30;6458:17;;;6477:2;6454:26;6447:66;6412:10;;6383:140;;;6541:6;6538:1;6535:13;6532:2;;;6611:4;6606:2;6597:6;6586:9;6582:22;6578:31;6571:45;6532:2;-1:-1:-1;6687:2:1;6666:15;-1:-1:-1;;6662:29:1;6647:45;;;;6694:2;6643:54;;6221:482;-1:-1:-1;;;6221:482:1:o;6708:348::-;6910:2;6892:21;;;6949:2;6929:18;;;6922:30;6988:26;6983:2;6968:18;;6961:54;7047:2;7032:18;;6882:174::o;7061:399::-;7263:2;7245:21;;;7302:2;7282:18;;;7275:30;7341:34;7336:2;7321:18;;7314:62;-1:-1:-1;;;7407:2:1;7392:18;;7385:33;7450:3;7435:19;;7235:225::o;7465:402::-;7667:2;7649:21;;;7706:2;7686:18;;;7679:30;7745:34;7740:2;7725:18;;7718:62;-1:-1:-1;;;7811:2:1;7796:18;;7789:36;7857:3;7842:19;;7639:228::o;7872:355::-;8074:2;8056:21;;;8113:2;8093:18;;;8086:30;8152:33;8147:2;8132:18;;8125:61;8218:2;8203:18;;8046:181::o;8232:353::-;8434:2;8416:21;;;8473:2;8453:18;;;8446:30;8512:31;8507:2;8492:18;;8485:59;8576:2;8561:18;;8406:179::o;8590:355::-;8792:2;8774:21;;;8831:2;8811:18;;;8804:30;8870:33;8865:2;8850:18;;8843:61;8936:2;8921:18;;8764:181::o;8950:349::-;9152:2;9134:21;;;9191:2;9171:18;;;9164:30;9230:27;9225:2;9210:18;;9203:55;9290:2;9275:18;;9124:175::o;9304:402::-;9506:2;9488:21;;;9545:2;9525:18;;;9518:30;9584:34;9579:2;9564:18;;9557:62;-1:-1:-1;;;9650:2:1;9635:18;;9628:36;9696:3;9681:19;;9478:228::o;9711:398::-;9913:2;9895:21;;;9952:2;9932:18;;;9925:30;9991:34;9986:2;9971:18;;9964:62;-1:-1:-1;;;10057:2:1;10042:18;;10035:32;10099:3;10084:19;;9885:224::o;10114:353::-;10316:2;10298:21;;;10355:2;10335:18;;;10328:30;10394:31;10389:2;10374:18;;10367:59;10458:2;10443:18;;10288:179::o;10472:402::-;10674:2;10656:21;;;10713:2;10693:18;;;10686:30;10752:34;10747:2;10732:18;;10725:62;-1:-1:-1;;;10818:2:1;10803:18;;10796:36;10864:3;10849:19;;10646:228::o;10879:398::-;11081:2;11063:21;;;11120:2;11100:18;;;11093:30;11159:34;11154:2;11139:18;;11132:62;-1:-1:-1;;;11225:2:1;11210:18;;11203:32;11267:3;11252:19;;11053:224::o;11282:398::-;11484:2;11466:21;;;11523:2;11503:18;;;11496:30;11562:34;11557:2;11542:18;;11535:62;-1:-1:-1;;;11628:2:1;11613:18;;11606:32;11670:3;11655:19;;11456:224::o;11685:354::-;11887:2;11869:21;;;11926:2;11906:18;;;11899:30;11965:32;11960:2;11945:18;;11938:60;12030:2;12015:18;;11859:180::o;12044:404::-;12246:2;12228:21;;;12285:2;12265:18;;;12258:30;12324:34;12319:2;12304:18;;12297:62;-1:-1:-1;;;12390:2:1;12375:18;;12368:38;12438:3;12423:19;;12218:230::o;12453:412::-;12655:2;12637:21;;;12694:2;12674:18;;;12667:30;12733:34;12728:2;12713:18;;12706:62;-1:-1:-1;;;12799:2:1;12784:18;;12777:46;12855:3;12840:19;;12627:238::o;12870:356::-;13072:2;13054:21;;;13091:18;;;13084:30;13150:34;13145:2;13130:18;;13123:62;13217:2;13202:18;;13044:182::o;13231:403::-;13433:2;13415:21;;;13472:2;13452:18;;;13445:30;13511:34;13506:2;13491:18;;13484:62;-1:-1:-1;;;13577:2:1;13562:18;;13555:37;13624:3;13609:19;;13405:229::o;13639:401::-;13841:2;13823:21;;;13880:2;13860:18;;;13853:30;13919:34;13914:2;13899:18;;13892:62;-1:-1:-1;;;13985:2:1;13970:18;;13963:35;14030:3;14015:19;;13813:227::o;14045:402::-;14247:2;14229:21;;;14286:2;14266:18;;;14259:30;14325:34;14320:2;14305:18;;14298:62;-1:-1:-1;;;14391:2:1;14376:18;;14369:36;14437:3;14422:19;;14219:228::o;14452:400::-;14654:2;14636:21;;;14693:2;14673:18;;;14666:30;14732:34;14727:2;14712:18;;14705:62;-1:-1:-1;;;14798:2:1;14783:18;;14776:34;14842:3;14827:19;;14626:226::o;14857:401::-;15059:2;15041:21;;;15098:2;15078:18;;;15071:30;15137:34;15132:2;15117:18;;15110:62;-1:-1:-1;;;15203:2:1;15188:18;;15181:35;15248:3;15233:19;;15031:227::o;15263:355::-;15465:2;15447:21;;;15504:2;15484:18;;;15477:30;15543:33;15538:2;15523:18;;15516:61;15609:2;15594:18;;15437:181::o;15623:346::-;15847:13;;15862:10;15843:30;15825:49;;15934:4;15922:17;;;15916:24;-1:-1:-1;;;;;15912:50:1;15890:20;;;15883:80;;;;15813:2;15798:18;;15780:189::o;16156:248::-;16330:25;;;16386:2;16371:18;;16364:34;16318:2;16303:18;;16285:119::o;16409:192::-;16583:10;16571:23;;;;16553:42;;16541:2;16526:18;;16508:93::o;16606:184::-;16778:4;16766:17;;;;16748:36;;16736:2;16721:18;;16703:87::o;16795:208::-;-1:-1:-1;;;;;16957:39:1;;;;16939:58;;16927:2;16912:18;;16894:109::o;17008:128::-;;17079:1;17075:6;17072:1;17069:13;17066:2;;;17085:18;;:::i;:::-;-1:-1:-1;17121:9:1;;17056:80::o;17141:217::-;;17207:1;17197:2;;-1:-1:-1;;;17232:31:1;;17286:4;17283:1;17276:15;17314:4;17239:1;17304:15;17197:2;-1:-1:-1;17343:9:1;;17187:171::o;17363:125::-;;17431:1;17428;17425:8;17422:2;;;17436:18;;:::i;:::-;-1:-1:-1;17473:9:1;;17412:76::o;17493:380::-;17578:1;17568:12;;17625:1;17615:12;;;17636:2;;17690:4;17682:6;17678:17;17668:27;;17636:2;17743;17735:6;17732:14;17712:18;17709:38;17706:2;;;17789:10;17784:3;17780:20;17777:1;17770:31;17824:4;17821:1;17814:15;17852:4;17849:1;17842:15;17878:127;17939:10;17934:3;17930:20;17927:1;17920:31;17970:4;17967:1;17960:15;17994:4;17991:1;17984:15

Swarm Source

ipfs://7baf42adb4c78748008aa7dfa6e605f0e2fa4b26bdbdf35053ada0ef76eab1a1
Loading