ETH Price: $3,484.31 (-0.19%)
Gas: 3.72 Gwei

Token

ALF (ALF)
 

Overview

Max Total Supply

69,000,000,000,000 ALF

Holders

204

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
inverseme.eth
Balance
0 ALF

Value
$0.00
0x3ca3e349bf7154834c308b4cefcd49886960846b
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
AlfToken

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2024-12-16
*/

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

// SPDX-License-Identifier: MIT AND UNLICENSED
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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

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

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


// OpenZeppelin Contracts (last updated v4.9.4) (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

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


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

pragma solidity ^0.8.0;



/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * 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}.
     *
     * 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 default value returned by this function, unless
     * it's overridden.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {}
}

// File: @openzeppelin\contracts\security\Pausable.sol


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

pragma solidity ^0.8.0;

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

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

    bool private _paused;

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

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

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

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

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

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

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

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

// File: @openzeppelin\contracts\access\IAccessControl.sol


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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

// File: @openzeppelin\contracts\utils\math\Math.sol


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

pragma solidity ^0.8.0;

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

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

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

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

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

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

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1, "Math: mulDiv overflow");

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin\contracts\utils\math\SignedMath.sol


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

pragma solidity ^0.8.0;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

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

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

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


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

pragma solidity ^0.8.0;


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

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

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toString(int256 value) internal pure returns (string memory) {
        return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value))));
    }

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

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

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

// File: @openzeppelin\contracts\utils\introspection\IERC165.sol


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

pragma solidity ^0.8.0;

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

// File: @openzeppelin\contracts\utils\introspection\ERC165.sol


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

pragma solidity ^0.8.0;

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

// File: @openzeppelin\contracts\access\AccessControl.sol


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

pragma solidity ^0.8.0;




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

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

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

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

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

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

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

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

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

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

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

        _revokeRole(role, account);
    }

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

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

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

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

// File: contracts\RoleManager.sol


pragma solidity ^0.8.19;
contract RoleManager is AccessControl {

    constructor() {
        //_setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
    }

    function addRole(
        address account,
        bytes32 role
    ) external onlyRole(DEFAULT_ADMIN_ROLE) {
        grantRole(role, account);
    }

    /**
     * @dev Revokes the specified role from an account.
     * @param role The role to revoke.
     * @param account The account to revoke the role from.
     */
    function removeRole(
        address account,
        bytes32 role
    ) external onlyRole(DEFAULT_ADMIN_ROLE) {
        revokeRole(role, account);
    }
}

// File: contracts\TaxManager.sol


// TaxManager.sol
pragma solidity ^0.8.19;
contract TaxManager is RoleManager {
    address public taxAccount; // Tax account address

    constructor(address _taxAccount) {
        require(_taxAccount != address(0), "Tax account cannot be the zero address");
        taxAccount = _taxAccount; // Tax account address is deployer address by default
    }
    function setTaxAccount(address _taxAccount) public onlyRole(DEFAULT_ADMIN_ROLE) {
        require(_taxAccount != address(0), "Tax account cannot be the zero address");
        taxAccount = _taxAccount;
    }

    function calculateTax(uint256 amount) public pure returns (uint256) {
        return amount / 100;
    }
}

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

// OpenZeppelin Contracts (last updated v4.9.4) (token/ERC20/extensions/IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 *
 * ==== Security Considerations
 *
 * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature
 * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be
 * considered as an intention to spend the allowance in any specific way. The second is that because permits have
 * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should
 * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be
 * generally recommended is:
 *
 * ```solidity
 * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {
 *     try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}
 *     doThing(..., value);
 * }
 *
 * function doThing(..., uint256 value) public {
 *     token.safeTransferFrom(msg.sender, address(this), value);
 *     ...
 * }
 * ```
 *
 * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of
 * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also
 * {SafeERC20-safeTransferFrom}).
 *
 * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so
 * contracts should have entry points that don't rely on permit.
 */
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].
     *
     * CAUTION: See Security Considerations above.
     */
    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\ECDSA.sol


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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

        return (signer, RecoverError.NoError);
    }

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

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

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

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32 data) {
        /// @solidity memory-safe-assembly
        assembly {
            let ptr := mload(0x40)
            mstore(ptr, "\x19\x01")
            mstore(add(ptr, 0x02), domainSeparator)
            mstore(add(ptr, 0x22), structHash)
            data := keccak256(ptr, 0x42)
        }
    }

    /**
     * @dev Returns an Ethereum Signed Data with intended validator, created from a
     * `validator` and `data` according to the version 0 of EIP-191.
     *
     * See {recover}.
     */
    function toDataWithIntendedValidatorHash(address validator, bytes memory data) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x00", validator, data));
    }
}

// File: @openzeppelin\contracts\utils\StorageSlot.sol


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

pragma solidity ^0.8.0;

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

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

    struct StringSlot {
        string value;
    }

    struct BytesSlot {
        bytes value;
    }

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

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

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

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

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

    /**
     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.
     */
    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := store.slot
        }
    }

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

    /**
     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.
     */
    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := store.slot
        }
    }
}

// File: @openzeppelin\contracts\utils\ShortStrings.sol


// OpenZeppelin Contracts (last updated v4.9.0) (utils/ShortStrings.sol)

pragma solidity ^0.8.8;

// | string  | 0xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA   |
// | length  | 0x                                                              BB |
type ShortString is bytes32;

/**
 * @dev This library provides functions to convert short memory strings
 * into a `ShortString` type that can be used as an immutable variable.
 *
 * Strings of arbitrary length can be optimized using this library if
 * they are short enough (up to 31 bytes) by packing them with their
 * length (1 byte) in a single EVM word (32 bytes). Additionally, a
 * fallback mechanism can be used for every other case.
 *
 * Usage example:
 *
 * ```solidity
 * contract Named {
 *     using ShortStrings for *;
 *
 *     ShortString private immutable _name;
 *     string private _nameFallback;
 *
 *     constructor(string memory contractName) {
 *         _name = contractName.toShortStringWithFallback(_nameFallback);
 *     }
 *
 *     function name() external view returns (string memory) {
 *         return _name.toStringWithFallback(_nameFallback);
 *     }
 * }
 * ```
 */
library ShortStrings {
    // Used as an identifier for strings longer than 31 bytes.
    bytes32 private constant _FALLBACK_SENTINEL = 0x00000000000000000000000000000000000000000000000000000000000000FF;

    error StringTooLong(string str);
    error InvalidShortString();

    /**
     * @dev Encode a string of at most 31 chars into a `ShortString`.
     *
     * This will trigger a `StringTooLong` error is the input string is too long.
     */
    function toShortString(string memory str) internal pure returns (ShortString) {
        bytes memory bstr = bytes(str);
        if (bstr.length > 31) {
            revert StringTooLong(str);
        }
        return ShortString.wrap(bytes32(uint256(bytes32(bstr)) | bstr.length));
    }

    /**
     * @dev Decode a `ShortString` back to a "normal" string.
     */
    function toString(ShortString sstr) internal pure returns (string memory) {
        uint256 len = byteLength(sstr);
        // using `new string(len)` would work locally but is not memory safe.
        string memory str = new string(32);
        /// @solidity memory-safe-assembly
        assembly {
            mstore(str, len)
            mstore(add(str, 0x20), sstr)
        }
        return str;
    }

    /**
     * @dev Return the length of a `ShortString`.
     */
    function byteLength(ShortString sstr) internal pure returns (uint256) {
        uint256 result = uint256(ShortString.unwrap(sstr)) & 0xFF;
        if (result > 31) {
            revert InvalidShortString();
        }
        return result;
    }

    /**
     * @dev Encode a string into a `ShortString`, or write it to storage if it is too long.
     */
    function toShortStringWithFallback(string memory value, string storage store) internal returns (ShortString) {
        if (bytes(value).length < 32) {
            return toShortString(value);
        } else {
            StorageSlot.getStringSlot(store).value = value;
            return ShortString.wrap(_FALLBACK_SENTINEL);
        }
    }

    /**
     * @dev Decode a string that was encoded to `ShortString` or written to storage using {setWithFallback}.
     */
    function toStringWithFallback(ShortString value, string storage store) internal pure returns (string memory) {
        if (ShortString.unwrap(value) != _FALLBACK_SENTINEL) {
            return toString(value);
        } else {
            return store;
        }
    }

    /**
     * @dev Return the length of a string that was encoded to `ShortString` or written to storage using {setWithFallback}.
     *
     * WARNING: This will return the "byte length" of the string. This may not reflect the actual length in terms of
     * actual characters as the UTF-8 encoding of a single character can span over multiple bytes.
     */
    function byteLengthWithFallback(ShortString value, string storage store) internal view returns (uint256) {
        if (ShortString.unwrap(value) != _FALLBACK_SENTINEL) {
            return byteLength(value);
        } else {
            return bytes(store).length;
        }
    }
}

// File: @openzeppelin\contracts\interfaces\IERC5267.sol


// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC5267.sol)

pragma solidity ^0.8.0;

interface IERC5267 {
    /**
     * @dev MAY be emitted to signal that the domain could have changed.
     */
    event EIP712DomainChanged();

    /**
     * @dev returns the fields and values that describe the domain separator used by this contract for EIP-712
     * signature.
     */
    function eip712Domain()
        external
        view
        returns (
            bytes1 fields,
            string memory name,
            string memory version,
            uint256 chainId,
            address verifyingContract,
            bytes32 salt,
            uint256[] memory extensions
        );
}

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


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

pragma solidity ^0.8.8;



/**
 * @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].
 *
 * NOTE: In the upgradeable version of this contract, the cached values will correspond to the address, and the domain
 * separator of the implementation contract. This will cause the `_domainSeparatorV4` function to always rebuild the
 * separator from the immutable values, which is cheaper than accessing a cached version in cold storage.
 *
 * _Available since v3.4._
 *
 * @custom:oz-upgrades-unsafe-allow state-variable-immutable state-variable-assignment
 */
abstract contract EIP712 is IERC5267 {
    using ShortStrings for *;

    bytes32 private constant _TYPE_HASH =
        keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)");

    // 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 _cachedDomainSeparator;
    uint256 private immutable _cachedChainId;
    address private immutable _cachedThis;

    bytes32 private immutable _hashedName;
    bytes32 private immutable _hashedVersion;

    ShortString private immutable _name;
    ShortString private immutable _version;
    string private _nameFallback;
    string private _versionFallback;

    /**
     * @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) {
        _name = name.toShortStringWithFallback(_nameFallback);
        _version = version.toShortStringWithFallback(_versionFallback);
        _hashedName = keccak256(bytes(name));
        _hashedVersion = keccak256(bytes(version));

        _cachedChainId = block.chainid;
        _cachedDomainSeparator = _buildDomainSeparator();
        _cachedThis = address(this);
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() internal view returns (bytes32) {
        if (address(this) == _cachedThis && block.chainid == _cachedChainId) {
            return _cachedDomainSeparator;
        } else {
            return _buildDomainSeparator();
        }
    }

    function _buildDomainSeparator() private view returns (bytes32) {
        return keccak256(abi.encode(_TYPE_HASH, _hashedName, _hashedVersion, 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);
    }

    /**
     * @dev See {EIP-5267}.
     *
     * _Available since v4.9._
     */
    function eip712Domain()
        public
        view
        virtual
        override
        returns (
            bytes1 fields,
            string memory name,
            string memory version,
            uint256 chainId,
            address verifyingContract,
            bytes32 salt,
            uint256[] memory extensions
        )
    {
        return (
            hex"0f", // 01111
            _name.toStringWithFallback(_nameFallback),
            _version.toStringWithFallback(_versionFallback),
            block.chainid,
            address(this),
            bytes32(0),
            new uint256[](0)
        );
    }
}

// File: @openzeppelin\contracts\utils\Counters.sol


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

pragma solidity ^0.8.0;

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

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

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

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

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

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


// OpenZeppelin Contracts (last updated v4.9.4) (token/ERC20/extensions/ERC20Permit.sol)

pragma solidity ^0.8.0;





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

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

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

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

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

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

    /**
     * @inheritdoc IERC20Permit
     */
    // 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\governance\utils\IVotes.sol


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

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

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

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

    /**
     * @dev Returns the amount of votes that `account` had at a specific moment in the past. If the `clock()` is
     * configured to use block numbers, this will return the value at the end of the corresponding block.
     */
    function getPastVotes(address account, uint256 timepoint) external view returns (uint256);

    /**
     * @dev Returns the total supply of votes available at a specific moment in the past. If the `clock()` is
     * configured to use block numbers, this will return the value at the end of the corresponding block.
     *
     * NOTE: This value is the sum of all available votes, which is not necessarily the sum of all delegated votes.
     * Votes that have not been delegated are still part of total supply, even though they would not participate in a
     * vote.
     */
    function getPastTotalSupply(uint256 timepoint) external view returns (uint256);

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

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

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

// File: @openzeppelin\contracts\interfaces\IERC6372.sol


// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC6372.sol)

pragma solidity ^0.8.0;

interface IERC6372 {
    /**
     * @dev Clock used for flagging checkpoints. Can be overridden to implement timestamp based checkpoints (and voting).
     */
    function clock() external view returns (uint48);

    /**
     * @dev Description of the clock
     */
    // solhint-disable-next-line func-name-mixedcase
    function CLOCK_MODE() external view returns (string memory);
}

// File: @openzeppelin\contracts\interfaces\IERC5805.sol


// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC5805.sol)

pragma solidity ^0.8.0;


interface IERC5805 is IERC6372, IVotes {}

// File: @openzeppelin\contracts\utils\math\SafeCast.sol


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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;





/**
 * @dev Extension of ERC20 to support Compound-like voting and delegation. This version is more generic than Compound's,
 * and supports token supply up to 2^224^ - 1, while COMP is limited to 2^96^ - 1.
 *
 * NOTE: If exact COMP compatibility is required, use the {ERC20VotesComp} variant of this module.
 *
 * This extension keeps a history (checkpoints) of each account's vote power. Vote power can be delegated either
 * by calling the {delegate} function directly, or by providing a signature to be used with {delegateBySig}. Voting
 * power can be queried through the public accessors {getVotes} and {getPastVotes}.
 *
 * By default, token balance does not account for voting power. This makes transfers cheaper. The downside is that it
 * requires users to delegate to themselves in order to activate checkpoints and have their voting power tracked.
 *
 * _Available since v4.2._
 */
abstract contract ERC20Votes is ERC20Permit, IERC5805 {
    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 Clock used for flagging checkpoints. Can be overridden to implement timestamp based checkpoints (and voting).
     */
    function clock() public view virtual override returns (uint48) {
        return SafeCast.toUint48(block.number);
    }

    /**
     * @dev Description of the clock
     */
    // solhint-disable-next-line func-name-mixedcase
    function CLOCK_MODE() public view virtual override returns (string memory) {
        // Check that the clock was not modified
        require(clock() == block.number, "ERC20Votes: broken clock mode");
        return "mode=blocknumber&from=default";
    }

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

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

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

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

    /**
     * @dev Retrieve the number of votes for `account` at the end of `timepoint`.
     *
     * Requirements:
     *
     * - `timepoint` must be in the past
     */
    function getPastVotes(address account, uint256 timepoint) public view virtual override returns (uint256) {
        require(timepoint < clock(), "ERC20Votes: future lookup");
        return _checkpointsLookup(_checkpoints[account], timepoint);
    }

    /**
     * @dev Retrieve the `totalSupply` at the end of `timepoint`. Note, this value is the sum of all balances.
     * It is NOT the sum of all the delegated votes!
     *
     * Requirements:
     *
     * - `timepoint` must be in the past
     */
    function getPastTotalSupply(uint256 timepoint) public view virtual override returns (uint256) {
        require(timepoint < clock(), "ERC20Votes: future lookup");
        return _checkpointsLookup(_totalSupplyCheckpoints, timepoint);
    }

    /**
     * @dev Lookup a value in a list of (sorted) checkpoints.
     */
    function _checkpointsLookup(Checkpoint[] storage ckpts, uint256 timepoint) private view returns (uint256) {
        // We run a binary search to look for the last (most recent) checkpoint taken before (or at) `timepoint`.
        //
        // Initially we check if the block is recent to narrow the search range.
        // During the loop, the index of the wanted checkpoint remains in the range [low-1, high).
        // With each iteration, either `low` or `high` is moved towards the middle of the range to maintain the invariant.
        // - If the middle checkpoint is after `timepoint`, we look in [low, mid)
        // - If the middle checkpoint is before or equal to `timepoint`, 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 `timepoint`, we end up with an index that is
        // past the end of the array, so we technically don't find a checkpoint after `timepoint`, but it works out
        // the same.
        uint256 length = ckpts.length;

        uint256 low = 0;
        uint256 high = length;

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

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

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

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

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

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

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

        _writeCheckpoint(_totalSupplyCheckpoints, _add, amount);
    }

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

        _writeCheckpoint(_totalSupplyCheckpoints, _subtract, amount);
    }

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

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

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

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveVotingPower(currentDelegate, delegatee, delegatorBalance);
    }

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

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

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

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

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

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

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

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

    /**
     * @dev Access an element of the array without performing bounds check. The position is assumed to be within bounds.
     */
    function _unsafeAccess(Checkpoint[] storage ckpts, uint256 pos) private pure returns (Checkpoint storage result) {
        assembly {
            mstore(0, ckpts.slot)
            result.slot := add(keccak256(0, 0x20), pos)
        }
    }
}

// File: @openzeppelin\contracts\security\ReentrancyGuard.sol


// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

// File: contracts\AlfToken.sol


// AlfToken.sol
pragma solidity ^0.8.19;
contract AlfToken is
    ERC20("ALF", "ALF"),
    Pausable,
    RoleManager,
    TaxManager(msg.sender),
    ERC20Permit("ALF"),
    ERC20Votes,
    ReentrancyGuard
{
    uint256 public maxTransferLimit;
    bool public applyTransferLimit;
    bool public appyControlTransferLimit;
    mapping(address => bool) private controlList;
    address[] public controlListAddresses;
    mapping(address => bool) private pairList;
    event Log(string message);

    constructor(address admin, address multisigWallet, uint256 _initialSupply) {
        require(_initialSupply > 0, "Initial supply must be greater than zero");
        emit Log("Initial supply is valid");

        applyTransferLimit = false; // Default: limit is not applied
        appyControlTransferLimit = false; // Default: limit is  applied

        _mint(multisigWallet, _initialSupply);
        emit Log("Minting initial supply to multisig wallet");
        _setupRole(DEFAULT_ADMIN_ROLE, admin);
    }

    /**
     * @dev Burns a specific amount of tokens.
     * @param _value The amount of token to be burned.
     */
    function burn(uint256 _value) public onlyRole(DEFAULT_ADMIN_ROLE) {
        _burn(msg.sender, _value);
    }

    /**
     * @param recipient The address to transfer to.
     * @param amount The amount to be transferred.
     * @return A boolean that indicates if the operation was successful.
     */
    function transfer(
        address recipient,
        uint256 amount
    ) public override returns (bool) {
        return super.transfer(recipient, amount);
    }

   /**
     * @param recipient The address to transfer to.
     * @param amount The amount to be transferred.
     * @return A boolean that indicates if the operation was successful.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    )
        public
        override
        returns (bool)
    {
        return super.transferFrom(sender, recipient, amount);
    }
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override whenNotPaused nonReentrant {
        bool iscontrolList = controlList[from] || controlList[to];
        bool ispair = false;
        uint256 taxAmount = 0;
        uint256 netAmount = amount;

        //IsControlTransferLimit Applied? If yes, check if sender or receiver is ControlListed
        if (appyControlTransferLimit) {
            require(
                iscontrolList,
                "Transfer not allowed: sender or receiver must be controllisted"
            );
        }

        //Check if from or to is in pair
        if (isInPair(from) || isInPair(to)) {
            ispair = true;
        }

        //Check transfer limit if transfer limit is applied and ispair is true and iscontrolList is false
        if (ispair && !iscontrolList && applyTransferLimit) {
            require(
                amount <= maxTransferLimit,
                "Transfer amount exceeds the maximum transfer limit"
            );
        }

        if (ispair && !iscontrolList) {
            taxAmount = calculateTax(amount);
            netAmount = amount - taxAmount;
        }
        if (taxAmount > 0) {
            super._transfer(from, taxAccount, taxAmount);
        }
        super._transfer(from, to, netAmount);
    }
    /**
     * @dev Pauses all token transfers.
     * Can only be called by an admin.
     */
    function pause() public onlyRole(DEFAULT_ADMIN_ROLE) {
        _pause();
    }

    /**
     * @dev Unpauses all token transfers.
     * Can only be called by an admin.
     */
    function unpause() public onlyRole(DEFAULT_ADMIN_ROLE) {
        _unpause();
    }

    /**
     * @dev Adds an address to the controlList.
     * Can only be called by an admin.
     * @param account The address to be added to the controlList.
     */
    function addToControlList(address account) public onlyRole(DEFAULT_ADMIN_ROLE) {
        if (!controlList[account]) {
            controlList[account] = true;
            controlListAddresses.push(account);
        }
    }

    /**
     * @dev Removes an address from the controlList.
     * Can only be called by an admin.
     * @param account The address to be removed from the controlList.
     */
    function removeFromControlList(
        address account
    ) public onlyRole(DEFAULT_ADMIN_ROLE) {
        if (controlList[account]) {
            controlList[account] = false;
            for (uint256 i = 0; i < controlListAddresses.length; i++) {
                if (controlListAddresses[i] == account) {
                    controlListAddresses[i] = controlListAddresses[
                        controlListAddresses.length - 1
                    ];
                    controlListAddresses.pop();
                    break;
                }
            }
        }
    }
    function getcontrolListAddresses() public view returns (address[] memory) {
        return controlListAddresses;
    }

    /**
     * @dev Sets whether only controlListed addresses can transfer tokens.
     * Can only be called by an admin.
     * @param _appyControlTransferLimit Boolean indicating whether only controlListed addresses can transfer tokens.
     */
    function setApplyControlTransferLimit(
        bool _appyControlTransferLimit
    ) public onlyRole(DEFAULT_ADMIN_ROLE) {
        appyControlTransferLimit = _appyControlTransferLimit;
    }

    /**
     * @dev Sets the maximum transfer limit.
     * Can only be called by an admin.
     * @param _maxTransferLimit The maximum transfer limit to be set.
     */
    function setMaxTransferLimit(
        uint256 _maxTransferLimit
    ) public onlyRole(DEFAULT_ADMIN_ROLE) {
        maxTransferLimit = _maxTransferLimit;
    }

    /**
     * @dev Sets whether the transfer limit should be applied.
     * Can only be called by an admin.
     * @param _applyTransferLimit Boolean indicating whether the transfer limit should be applied.
     */
    function setApplyTransferLimit(
        bool _applyTransferLimit
    ) public onlyRole(DEFAULT_ADMIN_ROLE) {
        applyTransferLimit = _applyTransferLimit;
    }

    //Add Pair into the list.
    function addPair(address pair) external onlyRole(DEFAULT_ADMIN_ROLE) {
        require(pair != address(0), "Invalid address");
        pairList[pair] = true;
    }

    //Remove Pair from the list.
    function removePair(address pair) external onlyRole(DEFAULT_ADMIN_ROLE) {
        require(pair != address(0), "Invalid address");
        pairList[pair] = false;
    }

    // Check if the pair is in the list.
    function isInPair(address pair) public view returns (bool) {
        return pairList[pair];
    }

    // Override required by Solidity for ERC20Votes
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal override(ERC20, ERC20Votes) {
        super._afterTokenTransfer(from, to, amount);
    }

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"admin","type":"address"},{"internalType":"address","name":"multisigWallet","type":"address"},{"internalType":"uint256","name":"_initialSupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"InvalidShortString","type":"error"},{"inputs":[{"internalType":"string","name":"str","type":"string"}],"name":"StringTooLong","type":"error"},{"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":[],"name":"EIP712DomainChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"message","type":"string"}],"name":"Log","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"CLOCK_MODE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"}],"name":"addPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"addRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addToControlList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"applyTransferLimit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"appyControlTransferLimit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"calculateTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","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":"clock","outputs":[{"internalType":"uint48","name":"","type":"uint48"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"controlListAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"eip712Domain","outputs":[{"internalType":"bytes1","name":"fields","type":"bytes1"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"version","type":"string"},{"internalType":"uint256","name":"chainId","type":"uint256"},{"internalType":"address","name":"verifyingContract","type":"address"},{"internalType":"bytes32","name":"salt","type":"bytes32"},{"internalType":"uint256[]","name":"extensions","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"timepoint","type":"uint256"}],"name":"getPastTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"timepoint","type":"uint256"}],"name":"getPastVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getcontrolListAddresses","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"}],"name":"isInPair","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransferLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeFromControlList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"}],"name":"removePair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"removeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_appyControlTransferLimit","type":"bool"}],"name":"setApplyControlTransferLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_applyTransferLimit","type":"bool"}],"name":"setApplyTransferLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTransferLimit","type":"uint256"}],"name":"setMaxTransferLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_taxAccount","type":"address"}],"name":"setTaxAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxAccount","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101606040523480156200001257600080fd5b506040516200403638038062004036833981016040819052620000359162000ab6565b6040518060400160405280600381526020016220a62360e91b81525080604051806040016040528060018152602001603160f81b815250336040518060400160405280600381526020016220a62360e91b8152506040518060400160405280600381526020016220a62360e91b8152508160039081620000b6919062000b9b565b506004620000c5828262000b9b565b50506005805460ff19169055506001600160a01b0381166200013d5760405162461bcd60e51b815260206004820152602660248201527f546178206163636f756e742063616e6e6f7420626520746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b600780546001600160a01b0319166001600160a01b03929092169190911790556200016a82600862000365565b610120526200017b81600962000365565b61014052815160208084019190912060e052815190820120610100524660a0526200020960e05161010051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60805250503060c052506001600f5580620002785760405162461bcd60e51b815260206004820152602860248201527f496e697469616c20737570706c79206d7573742062652067726561746572207460448201526768616e207a65726f60c01b606482015260840162000134565b60008051602062003ff6833981519152604051620002c79060208082526017908201527f496e697469616c20737570706c792069732076616c6964000000000000000000604082015260600190565b60405180910390a16011805461ffff19169055620002e682826200039e565b60008051602062003ff6833981519152604051620003479060208082526029908201527f4d696e74696e6720696e697469616c20737570706c7920746f206d756c7469736040820152681a59c81dd85b1b195d60ba1b606082015260800190565b60405180910390a16200035c600084620003ae565b50505062000d1e565b600060208351101562000385576200037d83620003ba565b905062000398565b8162000392848262000b9b565b5060ff90505b92915050565b620003aa8282620003fd565b5050565b620003aa8282620004a5565b600080829050601f81511115620003e8578260405163305a27a960e01b815260040162000134919062000c67565b8051620003f58262000cb7565b179392505050565b62000409828262000549565b6001600160e01b036200041d620006168216565b1115620004865760405162461bcd60e51b815260206004820152603060248201527f4552433230566f7465733a20746f74616c20737570706c79207269736b73206f60448201526f766572666c6f77696e6720766f74657360801b606482015260840162000134565b6200049f600e620015736200061c60201b178362000631565b50505050565b60008281526006602090815260408083206001600160a01b038516845290915290205460ff16620003aa5760008281526006602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620005053390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6001600160a01b038216620005a15760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000134565b8060026000828254620005b5919062000cf2565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3620003aa60008383620007be565b60025490565b60006200062a828462000cf2565b9392505050565b82546000908190818115620006805760008781526020902082016000190160408051808201909152905463ffffffff8116825264010000000090046001600160e01b0316602082015262000695565b60408051808201909152600080825260208201525b905080602001516001600160e01b03169350620006b384868860201c565b9250600082118015620006e05750620006cb620007cb565b65ffffffffffff16816000015163ffffffff16145b156200072957620006f183620007dd565b60008881526020902083016000190180546001600160e01b03929092166401000000000263ffffffff909216919091179055620007af565b8660405180604001604052806200075762000749620007cb60201b60201c565b65ffffffffffff166200084c565b63ffffffff1681526020016200076d86620007dd565b6001600160e01b0390811690915282546001810184556000938452602093849020835194909301519091166401000000000263ffffffff909316929092179101555b5050935093915050565b505050565b620007b9838383620008b3565b6000620007d843620008e7565b905090565b60006001600160e01b03821115620008485760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b606482015260840162000134565b5090565b600063ffffffff821115620008485760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b606482015260840162000134565b6001600160a01b038381166000908152600c6020526040808220548584168352912054620007b99291821691168362000950565b600065ffffffffffff821115620008485760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203460448201526538206269747360d01b606482015260840162000134565b816001600160a01b0316836001600160a01b031614158015620009735750600081115b15620007b9576001600160a01b0383161562000a00576001600160a01b0383166000908152600d6020908152604082208291620009bd919062000a8b901b6200157f178562000631565b91509150846001600160a01b0316600080516020620040168339815191528383604051620009f5929190918252602082015260400190565b60405180910390a250505b6001600160a01b03821615620007b9576001600160a01b0382166000908152600d602090815260408220829162000a4491906200061c901b62001573178562000631565b91509150836001600160a01b031660008051602062004016833981519152838360405162000a7c929190918252602082015260400190565b60405180910390a25050505050565b60006200062a828462000d08565b80516001600160a01b038116811462000ab157600080fd5b919050565b60008060006060848603121562000acc57600080fd5b62000ad78462000a99565b925062000ae76020850162000a99565b9150604084015190509250925092565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168062000b2257607f821691505b60208210810362000b4357634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620007b957600081815260208120601f850160051c8101602086101562000b725750805b601f850160051c820191505b8181101562000b935782815560010162000b7e565b505050505050565b81516001600160401b0381111562000bb75762000bb762000af7565b62000bcf8162000bc8845462000b0d565b8462000b49565b602080601f83116001811462000c07576000841562000bee5750858301515b600019600386901b1c1916600185901b17855562000b93565b600085815260208120601f198616915b8281101562000c385788860151825594840194600190910190840162000c17565b508582101562000c575787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208083528351808285015260005b8181101562000c965785810183015185820160400152820162000c78565b506000604082860101526040601f19601f8301168501019250505092915050565b8051602080830151919081101562000b435760001960209190910360031b1b16919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111562000398576200039862000cdc565b8181038181111562000398576200039862000cdc565b60805160a05160c05160e05161010051610120516101405161327d62000d796000396000610d5f01526000610d34015260006118320152600061180a015260006117650152600061178f015260006117b9015261327d6000f3fe608060405234801561001057600080fd5b50600436106103425760003560e01c80637ecebe00116101b8578063a9059cbb11610104578063d0385b5e116100a2578063dd62ed3e1161007c578063dd62ed3e14610738578063e614ffb31461074b578063e820496614610777578063f1127ed81461078a57600080fd5b8063d0385b5e146106ff578063d505accf14610712578063d547741f1461072557600080fd5b8063bd85e93b116100de578063bd85e93b146106bd578063c2b7bbb6146106c6578063c31a3d40146106d9578063c3cda520146106ec57600080fd5b8063a9059cbb14610684578063af6c9c1d14610697578063b5ee27d7146106aa57600080fd5b806391d14854116101715780639ab24eb01161014b5780639ab24eb014610643578063a217fddf14610656578063a457c2d71461065e578063a73f7f8a1461067157600080fd5b806391d148541461060957806391ddadf41461061c57806395d89b411461063b57600080fd5b80637ecebe00146105a05780638456cb59146105b357806384b0196e146105bb5780638e539e8c146105d65780638f7e7611146105e9578063911a21cf146105fc57600080fd5b80633a46b1a8116102925780635c19a95c116102305780636853920e1161020a5780636853920e146105275780636d0871e31461053a5780636fcfff451461054f57806370a082311461057757600080fd5b80635c19a95c146104f65780635c975abb146105095780636184c1641461051457600080fd5b806347b52d3b1161026c57806347b52d3b14610484578063483a9310146104975780634bf5d7e9146104aa578063587cde1e146104b257600080fd5b80633a46b1a8146104565780633f4ba83a1461046957806342966c681461047157600080fd5b806323b872dd116102ff578063313ce567116102d9578063313ce567146104195780633644e5151461042857806336568abe14610430578063395093511461044357600080fd5b806323b872dd146103d0578063248a9ca3146103e35780632f2ff15d1461040657600080fd5b806301ffc9a71461034757806306fdde031461036f57806307e035cf14610384578063095ea7b31461039657806318160ddd146103a95780631978c0b3146103bb575b600080fd5b61035a610355366004612cda565b6107c7565b60405190151581526020015b60405180910390f35b6103776107fe565b6040516103669190612d54565b60115461035a90610100900460ff1681565b61035a6103a4366004612d83565b610890565b6002545b604051908152602001610366565b6103ce6103c9366004612dad565b6108a8565b005b61035a6103de366004612dc6565b6108b9565b6103ad6103f1366004612dad565b60009081526006602052604090206001015490565b6103ce610414366004612e02565b6108ce565b60405160128152602001610366565b6103ad6108f8565b6103ce61043e366004612e02565b610907565b61035a610451366004612d83565b61098a565b6103ad610464366004612d83565b6109ac565b6103ce610a31565b6103ce61047f366004612dad565b610a47565b6103ce610492366004612e2e565b610a5c565b6103ad6104a5366004612dad565b610bae565b610377610bbb565b6104de6104c0366004612e2e565b6001600160a01b039081166000908152600c60205260409020541690565b6040516001600160a01b039091168152602001610366565b6103ce610504366004612e2e565b610c53565b60055460ff1661035a565b6007546104de906001600160a01b031681565b6103ce610535366004612d83565b610c5d565b610542610c72565b6040516103669190612e49565b61056261055d366004612e2e565b610cd3565b60405163ffffffff9091168152602001610366565b6103ad610585366004612e2e565b6001600160a01b031660009081526020819052604090205490565b6103ad6105ae366004612e2e565b610cf5565b6103ce610d13565b6105c3610d26565b6040516103669796959493929190612e96565b6103ad6105e4366004612dad565b610daf565b6103ce6105f7366004612f2c565b610e16565b60115461035a9060ff1681565b61035a610617366004612e02565b610e3c565b610624610e67565b60405165ffffffffffff9091168152602001610366565b610377610e72565b6103ad610651366004612e2e565b610e81565b6103ad600081565b61035a61066c366004612d83565b610f03565b6103ce61067f366004612d83565b610f89565b61035a610692366004612d83565b610f9e565b6103ce6106a5366004612e2e565b610faa565b6103ce6106b8366004612f2c565b61101f565b6103ad60105481565b6103ce6106d4366004612e2e565b61103e565b6104de6106e7366004612dad565b6110b6565b6103ce6106fa366004612f5f565b6110e0565b6103ce61070d366004612e2e565b611216565b6103ce610720366004612fb7565b6112a9565b6103ce610733366004612e02565b61140d565b6103ad610746366004613021565b611432565b61035a610759366004612e2e565b6001600160a01b031660009081526014602052604090205460ff1690565b6103ce610785366004612e2e565b61145d565b61079d61079836600461304b565b6114ef565b60408051825163ffffffff1681526020928301516001600160e01b03169281019290925201610366565b60006001600160e01b03198216637965db0b60e01b14806107f857506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461080d9061308b565b80601f01602080910402602001604051908101604052809291908181526020018280546108399061308b565b80156108865780601f1061085b57610100808354040283529160200191610886565b820191906000526020600020905b81548152906001019060200180831161086957829003601f168201915b5050505050905090565b60003361089e81858561158b565b5060019392505050565b60006108b3816116af565b50601055565b60006108c68484846116b9565b949350505050565b6000828152600660205260409020600101546108e9816116af565b6108f383836116d2565b505050565b6000610902611758565b905090565b6001600160a01b038116331461097c5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6109868282611883565b5050565b60003361089e81858561099d8383611432565b6109a791906130d5565b61158b565b60006109b6610e67565b65ffffffffffff168210610a085760405162461bcd60e51b815260206004820152601960248201527804552433230566f7465733a20667574757265206c6f6f6b757603c1b6044820152606401610973565b6001600160a01b0383166000908152600d60205260409020610a2a90836118ea565b9392505050565b6000610a3c816116af565b610a446119d3565b50565b6000610a52816116af565b6109863383611a25565b6000610a67816116af565b6001600160a01b03821660009081526012602052604090205460ff1615610986576001600160a01b0382166000908152601260205260408120805460ff191690555b6013548110156108f357826001600160a01b031660138281548110610ad057610ad06130e8565b6000918252602090912001546001600160a01b031603610b9c5760138054610afa906001906130fe565b81548110610b0a57610b0a6130e8565b600091825260209091200154601380546001600160a01b039092169183908110610b3657610b366130e8565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055506013805480610b7557610b75613111565b600082815260209020810160001990810180546001600160a01b0319169055019055505050565b80610ba681613127565b915050610aa9565b60006107f8606483613156565b606043610bc6610e67565b65ffffffffffff1614610c1b5760405162461bcd60e51b815260206004820152601d60248201527f4552433230566f7465733a2062726f6b656e20636c6f636b206d6f64650000006044820152606401610973565b5060408051808201909152601d81527f6d6f64653d626c6f636b6e756d6265722666726f6d3d64656661756c74000000602082015290565b610a443382611a2f565b6000610c68816116af565b6108f3828461140d565b6060601380548060200260200160405190810160405280929190818152602001828054801561088657602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610cac575050505050905090565b6001600160a01b0381166000908152600d60205260408120546107f890611aae565b6001600160a01b0381166000908152600a60205260408120546107f8565b6000610d1e816116af565b610a44611b17565b600060608082808083610d5a7f00000000000000000000000000000000000000000000000000000000000000006008611b54565b610d857f00000000000000000000000000000000000000000000000000000000000000006009611b54565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b6000610db9610e67565b65ffffffffffff168210610e0b5760405162461bcd60e51b815260206004820152601960248201527804552433230566f7465733a20667574757265206c6f6f6b757603c1b6044820152606401610973565b6107f8600e836118ea565b6000610e21816116af565b50601180549115156101000261ff0019909216919091179055565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600061090243611bff565b60606004805461080d9061308b565b6001600160a01b0381166000908152600d60205260408120548015610ef0576001600160a01b0383166000908152600d6020526040902080546000198301908110610ece57610ece6130e8565b60009182526020909120015464010000000090046001600160e01b0316610ef3565b60005b6001600160e01b03169392505050565b60003381610f118286611432565b905083811015610f715760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610973565b610f7e828686840361158b565b506001949350505050565b6000610f94816116af565b6108f382846108ce565b6000610a2a8383611c66565b6000610fb5816116af565b6001600160a01b038216610ffd5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610973565b506001600160a01b03166000908152601460205260409020805460ff19169055565b600061102a816116af565b506011805460ff1916911515919091179055565b6000611049816116af565b6001600160a01b0382166110915760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610973565b506001600160a01b03166000908152601460205260409020805460ff19166001179055565b601381815481106110c657600080fd5b6000918252602090912001546001600160a01b0316905081565b834211156111305760405162461bcd60e51b815260206004820152601d60248201527f4552433230566f7465733a207369676e617475726520657870697265640000006044820152606401610973565b604080517fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60208201526001600160a01b0388169181019190915260608101869052608081018590526000906111aa906111a29060a00160405160208183030381529060405280519060200120611c74565b858585611ca1565b90506111b581611cc9565b86146112035760405162461bcd60e51b815260206004820152601960248201527f4552433230566f7465733a20696e76616c6964206e6f6e6365000000000000006044820152606401610973565b61120d8188611a2f565b50505050505050565b6000611221816116af565b6001600160a01b0382166112865760405162461bcd60e51b815260206004820152602660248201527f546178206163636f756e742063616e6e6f7420626520746865207a65726f206160448201526564647265737360d01b6064820152608401610973565b50600780546001600160a01b0319166001600160a01b0392909216919091179055565b834211156112f95760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610973565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886113288c611cc9565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e001604051602081830303815290604052805190602001209050600061138382611c74565b9050600061139382878787611ca1565b9050896001600160a01b0316816001600160a01b0316146113f65760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610973565b6114018a8a8a61158b565b50505050505050505050565b600082815260066020526040902060010154611428816116af565b6108f38383611883565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6000611468816116af565b6001600160a01b03821660009081526012602052604090205460ff1661098657506001600160a01b03166000818152601260205260408120805460ff191660019081179091556013805491820181559091527f66de8ffda797e3de9c05e8fc57b3bf0ec28a930d40b0d285d93c06501cf6a0900180546001600160a01b0319169091179055565b60408051808201909152600080825260208201526001600160a01b0383166000908152600d60205260409020805463ffffffff8416908110611533576115336130e8565b60009182526020918290206040805180820190915291015463ffffffff8116825264010000000090046001600160e01b0316918101919091529392505050565b6000610a2a82846130d5565b6000610a2a82846130fe565b6001600160a01b0383166115ed5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610973565b6001600160a01b03821661164e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610973565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b610a448133611cf1565b6000336116c7858285611d4a565b610f7e858585611dbe565b6116dc8282610e3c565b6109865760008281526006602090815260408083206001600160a01b03851684529091529020805460ff191660011790556117143390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480156117b157507f000000000000000000000000000000000000000000000000000000000000000046145b156117db57507f000000000000000000000000000000000000000000000000000000000000000090565b610902604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b61188d8282610e3c565b156109865760008281526006602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b81546000908181600581111561194457600061190584611fcd565b61190f90856130fe565b600088815260209020909150869082015463ffffffff16111561193457809150611942565b61193f8160016130d5565b92505b505b8082101561199157600061195883836120b5565b600088815260209020909150869082015463ffffffff16111561197d5780915061198b565b6119888160016130d5565b92505b50611944565b80156119bd576000868152602090208101600019015464010000000090046001600160e01b03166119c0565b60005b6001600160e01b03169695505050505050565b6119db6120d0565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b610986828261211b565b6001600160a01b038281166000818152600c60208181526040808420805485845282862054949093528787166001600160a01b03198416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4611aa8828483612133565b50505050565b600063ffffffff821115611b135760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b6064820152608401610973565b5090565b611b1f612270565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611a083390565b606060ff8314611b6e57611b67836122b6565b90506107f8565b818054611b7a9061308b565b80601f0160208091040260200160405190810160405280929190818152602001828054611ba69061308b565b8015611bf35780601f10611bc857610100808354040283529160200191611bf3565b820191906000526020600020905b815481529060010190602001808311611bd657829003601f168201915b505050505090506107f8565b600065ffffffffffff821115611b135760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203460448201526538206269747360d01b6064820152608401610973565b60003361089e818585611dbe565b60006107f8611c81611758565b8360405161190160f01b8152600281019290925260228201526042902090565b6000806000611cb2878787876122f5565b91509150611cbf816123b9565b5095945050505050565b6001600160a01b0381166000908152600a602052604090208054600181018255905b50919050565b611cfb8282610e3c565b61098657611d0881612503565b611d13836020612515565b604051602001611d2492919061318e565b60408051601f198184030181529082905262461bcd60e51b825261097391600401612d54565b6000611d568484611432565b90506000198114611aa85781811015611db15760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610973565b611aa8848484840361158b565b611dc6612270565b611dce6126b1565b6001600160a01b03831660009081526012602052604081205460ff1680611e0d57506001600160a01b03831660009081526012602052604090205460ff165b60115490915060009081908490610100900460ff1615611e9a5783611e9a5760405162461bcd60e51b815260206004820152603e60248201527f5472616e73666572206e6f7420616c6c6f7765643a2073656e646572206f722060448201527f7265636569766572206d75737420626520636f6e74726f6c6c697374656400006064820152608401610973565b6001600160a01b03871660009081526014602052604090205460ff1680611ed957506001600160a01b03861660009081526014602052604090205460ff165b15611ee357600192505b828015611eee575083155b8015611efc575060115460ff165b15611f6e57601054851115611f6e5760405162461bcd60e51b815260206004820152603260248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178696044820152711b5d5b481d1c985b9cd9995c881b1a5b5a5d60721b6064820152608401610973565b828015611f79575083155b15611f9657611f8785610bae565b9150611f9382866130fe565b90505b8115611fb457600754611fb49088906001600160a01b03168461270a565b611fbf87878361270a565b505050506108f36001600f55565b600081600003611fdf57506000919050565b60006001611fec846128b4565b901c6001901b9050600181848161200557612005613140565b048201901c9050600181848161201d5761201d613140565b048201901c9050600181848161203557612035613140565b048201901c9050600181848161204d5761204d613140565b048201901c9050600181848161206557612065613140565b048201901c9050600181848161207d5761207d613140565b048201901c9050600181848161209557612095613140565b048201901c9050610a2a818285816120af576120af613140565b04612948565b60006120c46002848418613156565b610a2a908484166130d5565b60055460ff166121195760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610973565b565b612125828261295e565b611aa8600e61157f83612a97565b816001600160a01b0316836001600160a01b0316141580156121555750600081115b156108f3576001600160a01b038316156121e3576001600160a01b0383166000908152600d6020526040812081906121909061157f85612a97565b91509150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a72483836040516121d8929190918252602082015260400190565b60405180910390a250505b6001600160a01b038216156108f3576001600160a01b0382166000908152600d6020526040812081906122199061157385612a97565b91509150836001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051612261929190918252602082015260400190565b60405180910390a25050505050565b60055460ff16156121195760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610973565b606060006122c383612c0c565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561232c57506000905060036123b0565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612380573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166123a9576000600192509250506123b0565b9150600090505b94509492505050565b60008160048111156123cd576123cd613203565b036123d55750565b60018160048111156123e9576123e9613203565b036124365760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610973565b600281600481111561244a5761244a613203565b036124975760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610973565b60038160048111156124ab576124ab613203565b03610a445760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610973565b60606107f86001600160a01b03831660145b60606000612524836002613219565b61252f9060026130d5565b67ffffffffffffffff81111561254757612547613178565b6040519080825280601f01601f191660200182016040528015612571576020820181803683370190505b509050600360fc1b8160008151811061258c5761258c6130e8565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106125bb576125bb6130e8565b60200101906001600160f81b031916908160001a90535060006125df846002613219565b6125ea9060016130d5565b90505b6001811115612662576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061261e5761261e6130e8565b1a60f81b828281518110612634576126346130e8565b60200101906001600160f81b031916908160001a90535060049490941c9361265b81613230565b90506125ed565b508315610a2a5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610973565b6002600f54036127035760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610973565b6002600f55565b6001600160a01b03831661276e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610973565b6001600160a01b0382166127d05760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610973565b6001600160a01b038316600090815260208190526040902054818110156128485760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610973565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611aa8848484612c34565b600080608083901c156128c957608092831c92015b604083901c156128db57604092831c92015b602083901c156128ed57602092831c92015b601083901c156128ff57601092831c92015b600883901c1561291157600892831c92015b600483901c1561292357600492831c92015b600283901c1561293557600292831c92015b600183901c156107f85760010192915050565b60008183106129575781610a2a565b5090919050565b6001600160a01b0382166129be5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610973565b6001600160a01b03821660009081526020819052604090205481811015612a325760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610973565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36108f383600084612c34565b82546000908190818115612ae45760008781526020902082016000190160408051808201909152905463ffffffff8116825264010000000090046001600160e01b03166020820152612af9565b60408051808201909152600080825260208201525b905080602001516001600160e01b03169350612b1984868863ffffffff16565b9250600082118015612b435750612b2e610e67565b65ffffffffffff16816000015163ffffffff16145b15612b8857612b5183612c3f565b60008881526020902083016000190180546001600160e01b03929092166401000000000263ffffffff909216919091179055612c02565b866040518060400160405280612bac612b9f610e67565b65ffffffffffff16611aae565b63ffffffff168152602001612bc086612c3f565b6001600160e01b0390811690915282546001810184556000938452602093849020835194909301519091166401000000000263ffffffff909316929092179101555b5050935093915050565b600060ff8216601f8111156107f857604051632cd44ac360e21b815260040160405180910390fd5b6108f3838383612ca8565b60006001600160e01b03821115611b135760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b6064820152608401610973565b6001600160a01b038381166000908152600c60205260408082205485841683529120546108f392918216911683612133565b600060208284031215612cec57600080fd5b81356001600160e01b031981168114610a2a57600080fd5b60005b83811015612d1f578181015183820152602001612d07565b50506000910152565b60008151808452612d40816020860160208601612d04565b601f01601f19169290920160200192915050565b602081526000610a2a6020830184612d28565b80356001600160a01b0381168114612d7e57600080fd5b919050565b60008060408385031215612d9657600080fd5b612d9f83612d67565b946020939093013593505050565b600060208284031215612dbf57600080fd5b5035919050565b600080600060608486031215612ddb57600080fd5b612de484612d67565b9250612df260208501612d67565b9150604084013590509250925092565b60008060408385031215612e1557600080fd5b82359150612e2560208401612d67565b90509250929050565b600060208284031215612e4057600080fd5b610a2a82612d67565b6020808252825182820181905260009190848201906040850190845b81811015612e8a5783516001600160a01b031683529284019291840191600101612e65565b50909695505050505050565b60ff60f81b881681526000602060e081840152612eb660e084018a612d28565b8381036040850152612ec8818a612d28565b606085018990526001600160a01b038816608086015260a0850187905284810360c0860152855180825283870192509083019060005b81811015612f1a57835183529284019291840191600101612efe565b50909c9b505050505050505050505050565b600060208284031215612f3e57600080fd5b81358015158114610a2a57600080fd5b803560ff81168114612d7e57600080fd5b60008060008060008060c08789031215612f7857600080fd5b612f8187612d67565b95506020870135945060408701359350612f9d60608801612f4e565b92506080870135915060a087013590509295509295509295565b600080600080600080600060e0888a031215612fd257600080fd5b612fdb88612d67565b9650612fe960208901612d67565b9550604088013594506060880135935061300560808901612f4e565b925060a0880135915060c0880135905092959891949750929550565b6000806040838503121561303457600080fd5b61303d83612d67565b9150612e2560208401612d67565b6000806040838503121561305e57600080fd5b61306783612d67565b9150602083013563ffffffff8116811461308057600080fd5b809150509250929050565b600181811c9082168061309f57607f821691505b602082108103611ceb57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156107f8576107f86130bf565b634e487b7160e01b600052603260045260246000fd5b818103818111156107f8576107f86130bf565b634e487b7160e01b600052603160045260246000fd5b600060018201613139576131396130bf565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261317357634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052604160045260246000fd5b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516131c6816017850160208801612d04565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516131f7816028840160208801612d04565b01602801949350505050565b634e487b7160e01b600052602160045260246000fd5b80820281158282048414176107f8576107f86130bf565b60008161323f5761323f6130bf565b50600019019056fea2646970667358221220508df87282ac00d1c1c5ba93b28bae93da2f465e4448ae3efd7e934ff8aaa7a164736f6c63430008130033cf34ef537ac33ee1ac626ca1587a0a7e8e51561e5514f8cb36afa1c5102b3babdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7240000000000000000000000002adf730c686d1097f1fe7137210f2d2458858ff9000000000000000000000000d8b7a12f6ec0d4c9fc8a02895b479bc13bc66c160000000000000000000000000000000000000366e7064422fd84202340000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106103425760003560e01c80637ecebe00116101b8578063a9059cbb11610104578063d0385b5e116100a2578063dd62ed3e1161007c578063dd62ed3e14610738578063e614ffb31461074b578063e820496614610777578063f1127ed81461078a57600080fd5b8063d0385b5e146106ff578063d505accf14610712578063d547741f1461072557600080fd5b8063bd85e93b116100de578063bd85e93b146106bd578063c2b7bbb6146106c6578063c31a3d40146106d9578063c3cda520146106ec57600080fd5b8063a9059cbb14610684578063af6c9c1d14610697578063b5ee27d7146106aa57600080fd5b806391d14854116101715780639ab24eb01161014b5780639ab24eb014610643578063a217fddf14610656578063a457c2d71461065e578063a73f7f8a1461067157600080fd5b806391d148541461060957806391ddadf41461061c57806395d89b411461063b57600080fd5b80637ecebe00146105a05780638456cb59146105b357806384b0196e146105bb5780638e539e8c146105d65780638f7e7611146105e9578063911a21cf146105fc57600080fd5b80633a46b1a8116102925780635c19a95c116102305780636853920e1161020a5780636853920e146105275780636d0871e31461053a5780636fcfff451461054f57806370a082311461057757600080fd5b80635c19a95c146104f65780635c975abb146105095780636184c1641461051457600080fd5b806347b52d3b1161026c57806347b52d3b14610484578063483a9310146104975780634bf5d7e9146104aa578063587cde1e146104b257600080fd5b80633a46b1a8146104565780633f4ba83a1461046957806342966c681461047157600080fd5b806323b872dd116102ff578063313ce567116102d9578063313ce567146104195780633644e5151461042857806336568abe14610430578063395093511461044357600080fd5b806323b872dd146103d0578063248a9ca3146103e35780632f2ff15d1461040657600080fd5b806301ffc9a71461034757806306fdde031461036f57806307e035cf14610384578063095ea7b31461039657806318160ddd146103a95780631978c0b3146103bb575b600080fd5b61035a610355366004612cda565b6107c7565b60405190151581526020015b60405180910390f35b6103776107fe565b6040516103669190612d54565b60115461035a90610100900460ff1681565b61035a6103a4366004612d83565b610890565b6002545b604051908152602001610366565b6103ce6103c9366004612dad565b6108a8565b005b61035a6103de366004612dc6565b6108b9565b6103ad6103f1366004612dad565b60009081526006602052604090206001015490565b6103ce610414366004612e02565b6108ce565b60405160128152602001610366565b6103ad6108f8565b6103ce61043e366004612e02565b610907565b61035a610451366004612d83565b61098a565b6103ad610464366004612d83565b6109ac565b6103ce610a31565b6103ce61047f366004612dad565b610a47565b6103ce610492366004612e2e565b610a5c565b6103ad6104a5366004612dad565b610bae565b610377610bbb565b6104de6104c0366004612e2e565b6001600160a01b039081166000908152600c60205260409020541690565b6040516001600160a01b039091168152602001610366565b6103ce610504366004612e2e565b610c53565b60055460ff1661035a565b6007546104de906001600160a01b031681565b6103ce610535366004612d83565b610c5d565b610542610c72565b6040516103669190612e49565b61056261055d366004612e2e565b610cd3565b60405163ffffffff9091168152602001610366565b6103ad610585366004612e2e565b6001600160a01b031660009081526020819052604090205490565b6103ad6105ae366004612e2e565b610cf5565b6103ce610d13565b6105c3610d26565b6040516103669796959493929190612e96565b6103ad6105e4366004612dad565b610daf565b6103ce6105f7366004612f2c565b610e16565b60115461035a9060ff1681565b61035a610617366004612e02565b610e3c565b610624610e67565b60405165ffffffffffff9091168152602001610366565b610377610e72565b6103ad610651366004612e2e565b610e81565b6103ad600081565b61035a61066c366004612d83565b610f03565b6103ce61067f366004612d83565b610f89565b61035a610692366004612d83565b610f9e565b6103ce6106a5366004612e2e565b610faa565b6103ce6106b8366004612f2c565b61101f565b6103ad60105481565b6103ce6106d4366004612e2e565b61103e565b6104de6106e7366004612dad565b6110b6565b6103ce6106fa366004612f5f565b6110e0565b6103ce61070d366004612e2e565b611216565b6103ce610720366004612fb7565b6112a9565b6103ce610733366004612e02565b61140d565b6103ad610746366004613021565b611432565b61035a610759366004612e2e565b6001600160a01b031660009081526014602052604090205460ff1690565b6103ce610785366004612e2e565b61145d565b61079d61079836600461304b565b6114ef565b60408051825163ffffffff1681526020928301516001600160e01b03169281019290925201610366565b60006001600160e01b03198216637965db0b60e01b14806107f857506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461080d9061308b565b80601f01602080910402602001604051908101604052809291908181526020018280546108399061308b565b80156108865780601f1061085b57610100808354040283529160200191610886565b820191906000526020600020905b81548152906001019060200180831161086957829003601f168201915b5050505050905090565b60003361089e81858561158b565b5060019392505050565b60006108b3816116af565b50601055565b60006108c68484846116b9565b949350505050565b6000828152600660205260409020600101546108e9816116af565b6108f383836116d2565b505050565b6000610902611758565b905090565b6001600160a01b038116331461097c5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6109868282611883565b5050565b60003361089e81858561099d8383611432565b6109a791906130d5565b61158b565b60006109b6610e67565b65ffffffffffff168210610a085760405162461bcd60e51b815260206004820152601960248201527804552433230566f7465733a20667574757265206c6f6f6b757603c1b6044820152606401610973565b6001600160a01b0383166000908152600d60205260409020610a2a90836118ea565b9392505050565b6000610a3c816116af565b610a446119d3565b50565b6000610a52816116af565b6109863383611a25565b6000610a67816116af565b6001600160a01b03821660009081526012602052604090205460ff1615610986576001600160a01b0382166000908152601260205260408120805460ff191690555b6013548110156108f357826001600160a01b031660138281548110610ad057610ad06130e8565b6000918252602090912001546001600160a01b031603610b9c5760138054610afa906001906130fe565b81548110610b0a57610b0a6130e8565b600091825260209091200154601380546001600160a01b039092169183908110610b3657610b366130e8565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055506013805480610b7557610b75613111565b600082815260209020810160001990810180546001600160a01b0319169055019055505050565b80610ba681613127565b915050610aa9565b60006107f8606483613156565b606043610bc6610e67565b65ffffffffffff1614610c1b5760405162461bcd60e51b815260206004820152601d60248201527f4552433230566f7465733a2062726f6b656e20636c6f636b206d6f64650000006044820152606401610973565b5060408051808201909152601d81527f6d6f64653d626c6f636b6e756d6265722666726f6d3d64656661756c74000000602082015290565b610a443382611a2f565b6000610c68816116af565b6108f3828461140d565b6060601380548060200260200160405190810160405280929190818152602001828054801561088657602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610cac575050505050905090565b6001600160a01b0381166000908152600d60205260408120546107f890611aae565b6001600160a01b0381166000908152600a60205260408120546107f8565b6000610d1e816116af565b610a44611b17565b600060608082808083610d5a7f414c4600000000000000000000000000000000000000000000000000000000036008611b54565b610d857f31000000000000000000000000000000000000000000000000000000000000016009611b54565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b6000610db9610e67565b65ffffffffffff168210610e0b5760405162461bcd60e51b815260206004820152601960248201527804552433230566f7465733a20667574757265206c6f6f6b757603c1b6044820152606401610973565b6107f8600e836118ea565b6000610e21816116af565b50601180549115156101000261ff0019909216919091179055565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600061090243611bff565b60606004805461080d9061308b565b6001600160a01b0381166000908152600d60205260408120548015610ef0576001600160a01b0383166000908152600d6020526040902080546000198301908110610ece57610ece6130e8565b60009182526020909120015464010000000090046001600160e01b0316610ef3565b60005b6001600160e01b03169392505050565b60003381610f118286611432565b905083811015610f715760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610973565b610f7e828686840361158b565b506001949350505050565b6000610f94816116af565b6108f382846108ce565b6000610a2a8383611c66565b6000610fb5816116af565b6001600160a01b038216610ffd5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610973565b506001600160a01b03166000908152601460205260409020805460ff19169055565b600061102a816116af565b506011805460ff1916911515919091179055565b6000611049816116af565b6001600160a01b0382166110915760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610973565b506001600160a01b03166000908152601460205260409020805460ff19166001179055565b601381815481106110c657600080fd5b6000918252602090912001546001600160a01b0316905081565b834211156111305760405162461bcd60e51b815260206004820152601d60248201527f4552433230566f7465733a207369676e617475726520657870697265640000006044820152606401610973565b604080517fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60208201526001600160a01b0388169181019190915260608101869052608081018590526000906111aa906111a29060a00160405160208183030381529060405280519060200120611c74565b858585611ca1565b90506111b581611cc9565b86146112035760405162461bcd60e51b815260206004820152601960248201527f4552433230566f7465733a20696e76616c6964206e6f6e6365000000000000006044820152606401610973565b61120d8188611a2f565b50505050505050565b6000611221816116af565b6001600160a01b0382166112865760405162461bcd60e51b815260206004820152602660248201527f546178206163636f756e742063616e6e6f7420626520746865207a65726f206160448201526564647265737360d01b6064820152608401610973565b50600780546001600160a01b0319166001600160a01b0392909216919091179055565b834211156112f95760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610973565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886113288c611cc9565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e001604051602081830303815290604052805190602001209050600061138382611c74565b9050600061139382878787611ca1565b9050896001600160a01b0316816001600160a01b0316146113f65760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610973565b6114018a8a8a61158b565b50505050505050505050565b600082815260066020526040902060010154611428816116af565b6108f38383611883565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6000611468816116af565b6001600160a01b03821660009081526012602052604090205460ff1661098657506001600160a01b03166000818152601260205260408120805460ff191660019081179091556013805491820181559091527f66de8ffda797e3de9c05e8fc57b3bf0ec28a930d40b0d285d93c06501cf6a0900180546001600160a01b0319169091179055565b60408051808201909152600080825260208201526001600160a01b0383166000908152600d60205260409020805463ffffffff8416908110611533576115336130e8565b60009182526020918290206040805180820190915291015463ffffffff8116825264010000000090046001600160e01b0316918101919091529392505050565b6000610a2a82846130d5565b6000610a2a82846130fe565b6001600160a01b0383166115ed5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610973565b6001600160a01b03821661164e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610973565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b610a448133611cf1565b6000336116c7858285611d4a565b610f7e858585611dbe565b6116dc8282610e3c565b6109865760008281526006602090815260408083206001600160a01b03851684529091529020805460ff191660011790556117143390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000306001600160a01b037f0000000000000000000000000885f91c72a8de62a5349d4c89ca31b4ef650929161480156117b157507f000000000000000000000000000000000000000000000000000000000000000146145b156117db57507fc2aff6aad385e32cff87293828bf13274b7f6dc4ae1432b82eab44ae5d8225e090565b610902604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f3170eb109f9babd0995205a0c68aaf65e3c6fdb251809a4caf849c5a612435e8918101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b61188d8282610e3c565b156109865760008281526006602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b81546000908181600581111561194457600061190584611fcd565b61190f90856130fe565b600088815260209020909150869082015463ffffffff16111561193457809150611942565b61193f8160016130d5565b92505b505b8082101561199157600061195883836120b5565b600088815260209020909150869082015463ffffffff16111561197d5780915061198b565b6119888160016130d5565b92505b50611944565b80156119bd576000868152602090208101600019015464010000000090046001600160e01b03166119c0565b60005b6001600160e01b03169695505050505050565b6119db6120d0565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b610986828261211b565b6001600160a01b038281166000818152600c60208181526040808420805485845282862054949093528787166001600160a01b03198416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4611aa8828483612133565b50505050565b600063ffffffff821115611b135760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b6064820152608401610973565b5090565b611b1f612270565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611a083390565b606060ff8314611b6e57611b67836122b6565b90506107f8565b818054611b7a9061308b565b80601f0160208091040260200160405190810160405280929190818152602001828054611ba69061308b565b8015611bf35780601f10611bc857610100808354040283529160200191611bf3565b820191906000526020600020905b815481529060010190602001808311611bd657829003601f168201915b505050505090506107f8565b600065ffffffffffff821115611b135760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203460448201526538206269747360d01b6064820152608401610973565b60003361089e818585611dbe565b60006107f8611c81611758565b8360405161190160f01b8152600281019290925260228201526042902090565b6000806000611cb2878787876122f5565b91509150611cbf816123b9565b5095945050505050565b6001600160a01b0381166000908152600a602052604090208054600181018255905b50919050565b611cfb8282610e3c565b61098657611d0881612503565b611d13836020612515565b604051602001611d2492919061318e565b60408051601f198184030181529082905262461bcd60e51b825261097391600401612d54565b6000611d568484611432565b90506000198114611aa85781811015611db15760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610973565b611aa8848484840361158b565b611dc6612270565b611dce6126b1565b6001600160a01b03831660009081526012602052604081205460ff1680611e0d57506001600160a01b03831660009081526012602052604090205460ff165b60115490915060009081908490610100900460ff1615611e9a5783611e9a5760405162461bcd60e51b815260206004820152603e60248201527f5472616e73666572206e6f7420616c6c6f7765643a2073656e646572206f722060448201527f7265636569766572206d75737420626520636f6e74726f6c6c697374656400006064820152608401610973565b6001600160a01b03871660009081526014602052604090205460ff1680611ed957506001600160a01b03861660009081526014602052604090205460ff165b15611ee357600192505b828015611eee575083155b8015611efc575060115460ff165b15611f6e57601054851115611f6e5760405162461bcd60e51b815260206004820152603260248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178696044820152711b5d5b481d1c985b9cd9995c881b1a5b5a5d60721b6064820152608401610973565b828015611f79575083155b15611f9657611f8785610bae565b9150611f9382866130fe565b90505b8115611fb457600754611fb49088906001600160a01b03168461270a565b611fbf87878361270a565b505050506108f36001600f55565b600081600003611fdf57506000919050565b60006001611fec846128b4565b901c6001901b9050600181848161200557612005613140565b048201901c9050600181848161201d5761201d613140565b048201901c9050600181848161203557612035613140565b048201901c9050600181848161204d5761204d613140565b048201901c9050600181848161206557612065613140565b048201901c9050600181848161207d5761207d613140565b048201901c9050600181848161209557612095613140565b048201901c9050610a2a818285816120af576120af613140565b04612948565b60006120c46002848418613156565b610a2a908484166130d5565b60055460ff166121195760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610973565b565b612125828261295e565b611aa8600e61157f83612a97565b816001600160a01b0316836001600160a01b0316141580156121555750600081115b156108f3576001600160a01b038316156121e3576001600160a01b0383166000908152600d6020526040812081906121909061157f85612a97565b91509150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a72483836040516121d8929190918252602082015260400190565b60405180910390a250505b6001600160a01b038216156108f3576001600160a01b0382166000908152600d6020526040812081906122199061157385612a97565b91509150836001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051612261929190918252602082015260400190565b60405180910390a25050505050565b60055460ff16156121195760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610973565b606060006122c383612c0c565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561232c57506000905060036123b0565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612380573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166123a9576000600192509250506123b0565b9150600090505b94509492505050565b60008160048111156123cd576123cd613203565b036123d55750565b60018160048111156123e9576123e9613203565b036124365760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610973565b600281600481111561244a5761244a613203565b036124975760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610973565b60038160048111156124ab576124ab613203565b03610a445760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610973565b60606107f86001600160a01b03831660145b60606000612524836002613219565b61252f9060026130d5565b67ffffffffffffffff81111561254757612547613178565b6040519080825280601f01601f191660200182016040528015612571576020820181803683370190505b509050600360fc1b8160008151811061258c5761258c6130e8565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106125bb576125bb6130e8565b60200101906001600160f81b031916908160001a90535060006125df846002613219565b6125ea9060016130d5565b90505b6001811115612662576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061261e5761261e6130e8565b1a60f81b828281518110612634576126346130e8565b60200101906001600160f81b031916908160001a90535060049490941c9361265b81613230565b90506125ed565b508315610a2a5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610973565b6002600f54036127035760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610973565b6002600f55565b6001600160a01b03831661276e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610973565b6001600160a01b0382166127d05760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610973565b6001600160a01b038316600090815260208190526040902054818110156128485760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610973565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611aa8848484612c34565b600080608083901c156128c957608092831c92015b604083901c156128db57604092831c92015b602083901c156128ed57602092831c92015b601083901c156128ff57601092831c92015b600883901c1561291157600892831c92015b600483901c1561292357600492831c92015b600283901c1561293557600292831c92015b600183901c156107f85760010192915050565b60008183106129575781610a2a565b5090919050565b6001600160a01b0382166129be5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610973565b6001600160a01b03821660009081526020819052604090205481811015612a325760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610973565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36108f383600084612c34565b82546000908190818115612ae45760008781526020902082016000190160408051808201909152905463ffffffff8116825264010000000090046001600160e01b03166020820152612af9565b60408051808201909152600080825260208201525b905080602001516001600160e01b03169350612b1984868863ffffffff16565b9250600082118015612b435750612b2e610e67565b65ffffffffffff16816000015163ffffffff16145b15612b8857612b5183612c3f565b60008881526020902083016000190180546001600160e01b03929092166401000000000263ffffffff909216919091179055612c02565b866040518060400160405280612bac612b9f610e67565b65ffffffffffff16611aae565b63ffffffff168152602001612bc086612c3f565b6001600160e01b0390811690915282546001810184556000938452602093849020835194909301519091166401000000000263ffffffff909316929092179101555b5050935093915050565b600060ff8216601f8111156107f857604051632cd44ac360e21b815260040160405180910390fd5b6108f3838383612ca8565b60006001600160e01b03821115611b135760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b6064820152608401610973565b6001600160a01b038381166000908152600c60205260408082205485841683529120546108f392918216911683612133565b600060208284031215612cec57600080fd5b81356001600160e01b031981168114610a2a57600080fd5b60005b83811015612d1f578181015183820152602001612d07565b50506000910152565b60008151808452612d40816020860160208601612d04565b601f01601f19169290920160200192915050565b602081526000610a2a6020830184612d28565b80356001600160a01b0381168114612d7e57600080fd5b919050565b60008060408385031215612d9657600080fd5b612d9f83612d67565b946020939093013593505050565b600060208284031215612dbf57600080fd5b5035919050565b600080600060608486031215612ddb57600080fd5b612de484612d67565b9250612df260208501612d67565b9150604084013590509250925092565b60008060408385031215612e1557600080fd5b82359150612e2560208401612d67565b90509250929050565b600060208284031215612e4057600080fd5b610a2a82612d67565b6020808252825182820181905260009190848201906040850190845b81811015612e8a5783516001600160a01b031683529284019291840191600101612e65565b50909695505050505050565b60ff60f81b881681526000602060e081840152612eb660e084018a612d28565b8381036040850152612ec8818a612d28565b606085018990526001600160a01b038816608086015260a0850187905284810360c0860152855180825283870192509083019060005b81811015612f1a57835183529284019291840191600101612efe565b50909c9b505050505050505050505050565b600060208284031215612f3e57600080fd5b81358015158114610a2a57600080fd5b803560ff81168114612d7e57600080fd5b60008060008060008060c08789031215612f7857600080fd5b612f8187612d67565b95506020870135945060408701359350612f9d60608801612f4e565b92506080870135915060a087013590509295509295509295565b600080600080600080600060e0888a031215612fd257600080fd5b612fdb88612d67565b9650612fe960208901612d67565b9550604088013594506060880135935061300560808901612f4e565b925060a0880135915060c0880135905092959891949750929550565b6000806040838503121561303457600080fd5b61303d83612d67565b9150612e2560208401612d67565b6000806040838503121561305e57600080fd5b61306783612d67565b9150602083013563ffffffff8116811461308057600080fd5b809150509250929050565b600181811c9082168061309f57607f821691505b602082108103611ceb57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156107f8576107f86130bf565b634e487b7160e01b600052603260045260246000fd5b818103818111156107f8576107f86130bf565b634e487b7160e01b600052603160045260246000fd5b600060018201613139576131396130bf565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261317357634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052604160045260246000fd5b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516131c6816017850160208801612d04565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516131f7816028840160208801612d04565b01602801949350505050565b634e487b7160e01b600052602160045260246000fd5b80820281158282048414176107f8576107f86130bf565b60008161323f5761323f6130bf565b50600019019056fea2646970667358221220508df87282ac00d1c1c5ba93b28bae93da2f465e4448ae3efd7e934ff8aaa7a164736f6c63430008130033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000002adf730c686d1097f1fe7137210f2d2458858ff9000000000000000000000000d8b7a12f6ec0d4c9fc8a02895b479bc13bc66c160000000000000000000000000000000000000366e7064422fd84202340000000

-----Decoded View---------------
Arg [0] : admin (address): 0x2aDF730C686d1097F1fE7137210f2d2458858FF9
Arg [1] : multisigWallet (address): 0xd8b7a12F6ec0D4c9fc8A02895B479bC13Bc66C16
Arg [2] : _initialSupply (uint256): 69000000000000000000000000000000

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000002adf730c686d1097f1fe7137210f2d2458858ff9
Arg [1] : 000000000000000000000000d8b7a12f6ec0d4c9fc8a02895b479bc13bc66c16
Arg [2] : 0000000000000000000000000000000000000366e7064422fd84202340000000


Deployed Bytecode Sourcemap

139356:7480:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45438:204;;;;;;:::i;:::-;;:::i;:::-;;;470:14:1;;463:22;445:41;;433:2;418:18;45438:204:0;;;;;;;;6785:100;;;:::i;:::-;;;;;;;:::i;139611:36::-;;;;;;;;;;;;9145:201;;;;;;:::i;:::-;;:::i;7914:108::-;8002:12;;7914:108;;;1836:25:1;;;1824:2;1809:18;7914:108:0;1690:177:1;145121:163:0;;;;;;:::i;:::-;;:::i;:::-;;141166:241;;;;;;:::i;:::-;;:::i;47261:131::-;;;;;;:::i;:::-;47335:7;47362:12;;;:6;:12;;;;;:22;;;;47261:131;47702:147;;;;;;:::i;:::-;;:::i;7756:93::-;;;7839:2;3158:36:1;;3146:2;3131:18;7756:93:0;3016:184:1;85296:115:0;;;:::i;48846:218::-;;;;;;:::i;:::-;;:::i;10596:238::-;;;;;;:::i;:::-;;:::i;128522:251::-;;;;;;:::i;:::-;;:::i;143083:84::-;;;:::i;140479:110::-;;;;;;:::i;:::-;;:::i;143767:592::-;;;;;;:::i;:::-;;:::i;52431:106::-;;;;;;:::i;:::-;;:::i;127059:258::-;;;:::i;127873:128::-;;;;;;:::i;:::-;-1:-1:-1;;;;;127974:19:0;;;127947:7;127974:19;;;:10;:19;;;;;;;;127873:128;;;;-1:-1:-1;;;;;3560:32:1;;;3542:51;;3530:2;3515:18;127873:128:0;3396:203:1;131396:114:0;;;;;;:::i;:::-;;:::i;19449:86::-;19520:7;;;;19449:86;;51933:25;;;;;-1:-1:-1;;;;;51933:25:0;;;51642:158;;;;;;:::i;:::-;;:::i;144365:120::-;;;:::i;:::-;;;;;;;:::i;127629:151::-;;;;;;:::i;:::-;;:::i;:::-;;;4700:10:1;4688:23;;;4670:42;;4658:2;4643:18;127629:151:0;4526:192:1;8085:127:0;;;;;;:::i;:::-;-1:-1:-1;;;;;8186:18:0;8159:7;8186:18;;;;;;;;;;;;8085:127;85055:128;;;;;;:::i;:::-;;:::i;142894:80::-;;;:::i;80393:657::-;;;:::i;:::-;;;;;;;;;;;;;:::i;129045:242::-;;;;;;:::i;:::-;;:::i;144745:193::-;;;;;;:::i;:::-;;:::i;139574:30::-;;;;;;;;;45734:147;;;;;;:::i;:::-;;:::i;126821:120::-;;;:::i;:::-;;;6439:14:1;6427:27;;;6409:46;;6397:2;6382:18;126821:120:0;6265:196:1;7004:104:0;;;:::i;128085:248::-;;;;;;:::i;:::-;;:::i;44839:49::-;;44884:4;44839:49;;11337:436;;;;;;:::i;:::-;;:::i;51305:154::-;;;;;;:::i;:::-;;:::i;140794:168::-;;;;;;:::i;:::-;;:::i;145929:170::-;;;;;;:::i;:::-;;:::i;145514:168::-;;;;;;:::i;:::-;;:::i;139536:31::-;;;;;;145721:166;;;;;;:::i;:::-;;:::i;139705:37::-;;;;;;:::i;:::-;;:::i;131592:591::-;;;;;;:::i;:::-;;:::i;52213:210::-;;;;;;:::i;:::-;;:::i;84351:645::-;;;;;;:::i;:::-;;:::i;48142:149::-;;;;;;:::i;:::-;;:::i;8674:151::-;;;;;;:::i;:::-;;:::i;146149:99::-;;;;;;:::i;:::-;-1:-1:-1;;;;;146226:14:0;146202:4;146226:14;;;:8;:14;;;;;;;;;146149:99;143349:227;;;;;;:::i;:::-;;:::i;127399:150::-;;;;;;:::i;:::-;;:::i;:::-;;;;8618:13:1;;8633:10;8614:30;8596:49;;8705:4;8693:17;;;8687:24;-1:-1:-1;;;;;8683:50:1;8661:20;;;8654:80;;;;8569:18;127399:150:0;8394:346:1;45438:204:0;45523:4;-1:-1:-1;;;;;;45547:47:0;;-1:-1:-1;;;45547:47:0;;:87;;-1:-1:-1;;;;;;;;;;42681:40:0;;;45598:36;45540:94;45438:204;-1:-1:-1;;45438:204:0:o;6785:100::-;6839:13;6872:5;6865:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6785:100;:::o;9145:201::-;9228:4;4398:10;9284:32;4398:10;9300:7;9309:6;9284:8;:32::i;:::-;-1:-1:-1;9334:4:0;;9145:201;-1:-1:-1;;;9145:201:0:o;145121:163::-;44884:4;45330:16;44884:4;45330:10;:16::i;:::-;-1:-1:-1;145240:16:0::1;:36:::0;145121:163::o;141166:241::-;141325:4;141354:45;141373:6;141381:9;141392:6;141354:18;:45::i;:::-;141347:52;141166:241;-1:-1:-1;;;;141166:241:0:o;47702:147::-;47335:7;47362:12;;;:6;:12;;;;;:22;;;45330:16;45341:4;45330:10;:16::i;:::-;47816:25:::1;47827:4;47833:7;47816:10;:25::i;:::-;47702:147:::0;;;:::o;85296:115::-;85356:7;85383:20;:18;:20::i;:::-;85376:27;;85296:115;:::o;48846:218::-;-1:-1:-1;;;;;48942:23:0;;4398:10;48942:23;48934:83;;;;-1:-1:-1;;;48934:83:0;;9332:2:1;48934:83:0;;;9314:21:1;9371:2;9351:18;;;9344:30;9410:34;9390:18;;;9383:62;-1:-1:-1;;;9461:18:1;;;9454:45;9516:19;;48934:83:0;;;;;;;;;49030:26;49042:4;49048:7;49030:11;:26::i;:::-;48846:218;;:::o;10596:238::-;10684:4;4398:10;10740:64;4398:10;10756:7;10793:10;10765:25;4398:10;10756:7;10765:9;:25::i;:::-;:38;;;;:::i;:::-;10740:8;:64::i;128522:251::-;128618:7;128658;:5;:7::i;:::-;128646:19;;:9;:19;128638:57;;;;-1:-1:-1;;;128638:57:0;;10010:2:1;128638:57:0;;;9992:21:1;10049:2;10029:18;;;10022:30;-1:-1:-1;;;10068:18:1;;;10061:55;10133:18;;128638:57:0;9808:349:1;128638:57:0;-1:-1:-1;;;;;128732:21:0;;;;;;:12;:21;;;;;128713:52;;128755:9;128713:18;:52::i;:::-;128706:59;128522:251;-1:-1:-1;;;128522:251:0:o;143083:84::-;44884:4;45330:16;44884:4;45330:10;:16::i;:::-;143149:10:::1;:8;:10::i;:::-;143083:84:::0;:::o;140479:110::-;44884:4;45330:16;44884:4;45330:10;:16::i;:::-;140556:25:::1;140562:10;140574:6;140556:5;:25::i;143767:592::-:0;44884:4;45330:16;44884:4;45330:10;:16::i;:::-;-1:-1:-1;;;;;143882:20:0;::::1;;::::0;;;:11:::1;:20;::::0;;;;;::::1;;143878:474;;;-1:-1:-1::0;;;;;143919:20:0;::::1;143942:5;143919:20:::0;;;:11:::1;:20;::::0;;;;:28;;-1:-1:-1;;143919:28:0::1;::::0;;143962:379:::1;143986:20;:27:::0;143982:31;::::1;143962:379;;;144070:7;-1:-1:-1::0;;;;;144043:34:0::1;:20;144064:1;144043:23;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;-1:-1:-1;;;;;144043:23:0::1;:34:::0;144039:287:::1;;144128:20;144175:27:::0;;:31:::1;::::0;144205:1:::1;::::0;144175:31:::1;:::i;:::-;144128:101;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;144102:20:::1;:23:::0;;-1:-1:-1;;;;;144128:101:0;;::::1;::::0;144123:1;;144102:23;::::1;;;;;:::i;:::-;;;;;;;;;:127;;;;;-1:-1:-1::0;;;;;144102:127:0::1;;;;;-1:-1:-1::0;;;;;144102:127:0::1;;;;;;144252:20;:26;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;-1:-1:-1;;144252:26:0;;;;;-1:-1:-1;;;;;;144252:26:0::1;::::0;;;;;47702:147;;;:::o;144039:287::-:1;144015:3:::0;::::1;::::0;::::1;:::i;:::-;;;;143962:379;;52431:106:::0;52490:7;52517:12;52526:3;52517:6;:12;:::i;127059:258::-;127119:13;127214:12;127203:7;:5;:7::i;:::-;:23;;;127195:65;;;;-1:-1:-1;;;127195:65:0;;11255:2:1;127195:65:0;;;11237:21:1;11294:2;11274:18;;;11267:30;11333:31;11313:18;;;11306:59;11382:18;;127195:65:0;11053:353:1;127195:65:0;-1:-1:-1;127271:38:0;;;;;;;;;;;;;;;;;;127059:258::o;131396:114::-;131468:34;4398:10;131492:9;131468;:34::i;51642:158::-;44884:4;45330:16;44884:4;45330:10;:16::i;:::-;51767:25:::1;51778:4;51784:7;51767:10;:25::i;144365:120::-:0;144421:16;144457:20;144450:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;144450:27:0;;;;;;;;;;;;;;;;;;;;;;144365:120;:::o;127629:151::-;-1:-1:-1;;;;;127743:21:0;;127699:6;127743:21;;;:12;:21;;;;;:28;127725:47;;:17;:47::i;85055:128::-;-1:-1:-1;;;;;85151:14:0;;85124:7;85151:14;;;:7;:14;;;;;82021;85151:24;81929:114;142894:80;44884:4;45330:16;44884:4;45330:10;:16::i;:::-;142958:8:::1;:6;:8::i;80393:657::-:0;80514:13;80542:18;;80514:13;;;80542:18;80816:41;:5;80843:13;80816:26;:41::i;:::-;80872:47;:8;80902:16;80872:29;:47::i;:::-;81015:16;;;80998:1;81015:16;;;;;;;;;-1:-1:-1;;;80763:279:0;;;-1:-1:-1;80763:279:0;;-1:-1:-1;80934:13:0;;-1:-1:-1;80970:4:0;;-1:-1:-1;80998:1:0;-1:-1:-1;81015:16:0;-1:-1:-1;80763:279:0;-1:-1:-1;80393:657:0:o;129045:242::-;129130:7;129170;:5;:7::i;:::-;129158:19;;:9;:19;129150:57;;;;-1:-1:-1;;;129150:57:0;;10010:2:1;129150:57:0;;;9992:21:1;10049:2;10029:18;;;10022:30;-1:-1:-1;;;10068:18:1;;;10061:55;10133:18;;129150:57:0;9808:349:1;129150:57:0;129225:54;129244:23;129269:9;129225:18;:54::i;144745:193::-;44884:4;45330:16;44884:4;45330:10;:16::i;:::-;-1:-1:-1;144878:24:0::1;:52:::0;;;::::1;;;;-1:-1:-1::0;;144878:52:0;;::::1;::::0;;;::::1;::::0;;144745:193::o;45734:147::-;45820:4;45844:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;45844:29:0;;;;;;;;;;;;;;;45734:147::o;126821:120::-;126876:6;126902:31;126920:12;126902:17;:31::i;7004:104::-;7060:13;7093:7;7086:14;;;;;:::i;128085:248::-;-1:-1:-1;;;;;128192:21:0;;128158:7;128192:21;;;:12;:21;;;;;:28;128263:8;;:51;;-1:-1:-1;;;;;128278:21:0;;;;;;:12;:21;;;;;:30;;-1:-1:-1;;128300:7:0;;;128278:30;;;;;;:::i;:::-;;;;;;;;;;:36;;;;-1:-1:-1;;;;;128278:36:0;128263:51;;;128274:1;128263:51;-1:-1:-1;;;;;128256:58:0;;128085:248;-1:-1:-1;;;128085:248:0:o;11337:436::-;11430:4;4398:10;11430:4;11513:25;4398:10;11530:7;11513:9;:25::i;:::-;11486:52;;11577:15;11557:16;:35;;11549:85;;;;-1:-1:-1;;;11549:85:0;;11745:2:1;11549:85:0;;;11727:21:1;11784:2;11764:18;;;11757:30;11823:34;11803:18;;;11796:62;-1:-1:-1;;;11874:18:1;;;11867:35;11919:19;;11549:85:0;11543:401:1;11549:85:0;11670:60;11679:5;11686:7;11714:15;11695:16;:34;11670:8;:60::i;:::-;-1:-1:-1;11761:4:0;;11337:436;-1:-1:-1;;;;11337:436:0:o;51305:154::-;44884:4;45330:16;44884:4;45330:10;:16::i;:::-;51427:24:::1;51437:4;51443:7;51427:9;:24::i;140794:168::-:0;140897:4;140921:33;140936:9;140947:6;140921:14;:33::i;145929:170::-;44884:4;45330:16;44884:4;45330:10;:16::i;:::-;-1:-1:-1;;;;;146020:18:0;::::1;146012:46;;;::::0;-1:-1:-1;;;146012:46:0;;12151:2:1;146012:46:0::1;::::0;::::1;12133:21:1::0;12190:2;12170:18;;;12163:30;-1:-1:-1;;;12209:18:1;;;12202:45;12264:18;;146012:46:0::1;11949:339:1::0;146012:46:0::1;-1:-1:-1::0;;;;;;146069:14:0::1;146086:5;146069:14:::0;;;:8:::1;:14;::::0;;;;:22;;-1:-1:-1;;146069:22:0::1;::::0;;145929:170::o;145514:168::-;44884:4;45330:16;44884:4;45330:10;:16::i;:::-;-1:-1:-1;145634:18:0::1;:40:::0;;-1:-1:-1;;145634:40:0::1;::::0;::::1;;::::0;;;::::1;::::0;;145514:168::o;145721:166::-;44884:4;45330:16;44884:4;45330:10;:16::i;:::-;-1:-1:-1;;;;;145809:18:0;::::1;145801:46;;;::::0;-1:-1:-1;;;145801:46:0;;12151:2:1;145801:46:0::1;::::0;::::1;12133:21:1::0;12190:2;12170:18;;;12163:30;-1:-1:-1;;;12209:18:1;;;12202:45;12264:18;;145801:46:0::1;11949:339:1::0;145801:46:0::1;-1:-1:-1::0;;;;;;145858:14:0::1;;::::0;;;:8:::1;:14;::::0;;;;:21;;-1:-1:-1;;145858:21:0::1;145875:4;145858:21;::::0;;145721:166::o;139705:37::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;139705:37:0;;-1:-1:-1;139705:37:0;:::o;131592:591::-;131819:6;131800:15;:25;;131792:67;;;;-1:-1:-1;;;131792:67:0;;12495:2:1;131792:67:0;;;12477:21:1;12534:2;12514:18;;;12507:30;12573:31;12553:18;;;12546:59;12622:18;;131792:67:0;12293:353:1;131792:67:0;131942:58;;;126434:71;131942:58;;;12882:25:1;-1:-1:-1;;;;;12943:32:1;;12923:18;;;12916:60;;;;12992:18;;;12985:34;;;13035:18;;;13028:34;;;131870:14:0;;131887:174;;131915:87;;12854:19:1;;131942:58:0;;;;;;;;;;;;131932:69;;;;;;131915:16;:87::i;:::-;132017:1;132033;132049;131887:13;:174::i;:::-;131870:191;;132089:17;132099:6;132089:9;:17::i;:::-;132080:5;:26;132072:64;;;;-1:-1:-1;;;132072:64:0;;13275:2:1;132072:64:0;;;13257:21:1;13314:2;13294:18;;;13287:30;13353:27;13333:18;;;13326:55;13398:18;;132072:64:0;13073:349:1;132072:64:0;132147:28;132157:6;132165:9;132147;:28::i;:::-;131781:402;131592:591;;;;;;:::o;52213:210::-;44884:4;45330:16;44884:4;45330:10;:16::i;:::-;-1:-1:-1;;;;;52312:25:0;::::1;52304:76;;;::::0;-1:-1:-1;;;52304:76:0;;13629:2:1;52304:76:0::1;::::0;::::1;13611:21:1::0;13668:2;13648:18;;;13641:30;13707:34;13687:18;;;13680:62;-1:-1:-1;;;13758:18:1;;;13751:36;13804:19;;52304:76:0::1;13427:402:1::0;52304:76:0::1;-1:-1:-1::0;52391:10:0::1;:24:::0;;-1:-1:-1;;;;;;52391:24:0::1;-1:-1:-1::0;;;;;52391:24:0;;;::::1;::::0;;;::::1;::::0;;52213:210::o;84351:645::-;84595:8;84576:15;:27;;84568:69;;;;-1:-1:-1;;;84568:69:0;;14036:2:1;84568:69:0;;;14018:21:1;14075:2;14055:18;;;14048:30;14114:31;14094:18;;;14087:59;14163:18;;84568:69:0;13834:353:1;84568:69:0;84650:18;83533:95;84710:5;84717:7;84726:5;84733:16;84743:5;84733:9;:16::i;:::-;84681:79;;;;;;14479:25:1;;;;-1:-1:-1;;;;;14578:15:1;;;14558:18;;;14551:43;14630:15;;;;14610:18;;;14603:43;14662:18;;;14655:34;14705:19;;;14698:35;14749:19;;;14742:35;;;14451:19;;84681:79:0;;;;;;;;;;;;84671:90;;;;;;84650:111;;84774:12;84789:28;84806:10;84789:16;:28::i;:::-;84774:43;;84830:14;84847:28;84861:4;84867:1;84870;84873;84847:13;:28::i;:::-;84830:45;;84904:5;-1:-1:-1;;;;;84894:15:0;:6;-1:-1:-1;;;;;84894:15:0;;84886:58;;;;-1:-1:-1;;;84886:58:0;;14990:2:1;84886:58:0;;;14972:21:1;15029:2;15009:18;;;15002:30;15068:32;15048:18;;;15041:60;15118:18;;84886:58:0;14788:354:1;84886:58:0;84957:31;84966:5;84973:7;84982:5;84957:8;:31::i;:::-;84557:439;;;84351:645;;;;;;;:::o;48142:149::-;47335:7;47362:12;;;:6;:12;;;;;:22;;;45330:16;45341:4;45330:10;:16::i;:::-;48257:26:::1;48269:4;48275:7;48257:11;:26::i;8674:151::-:0;-1:-1:-1;;;;;8790:18:0;;;8763:7;8790:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;8674:151::o;143349:227::-;44884:4;45330:16;44884:4;45330:10;:16::i;:::-;-1:-1:-1;;;;;143444:20:0;::::1;;::::0;;;:11:::1;:20;::::0;;;;;::::1;;143439:130;;-1:-1:-1::0;;;;;;143481:20:0::1;;::::0;;;:11:::1;:20;::::0;;;;:27;;-1:-1:-1;;143481:27:0::1;143504:4;143481:27:::0;;::::1;::::0;;;143523:20:::1;:34:::0;;;;::::1;::::0;;;;;;::::1;::::0;;-1:-1:-1;;;;;;143523:34:0::1;::::0;;::::1;::::0;;143349:227::o;127399:150::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;127515:21:0;;;;;;:12;:21;;;;;:26;;;;;;;;;;;;:::i;:::-;;;;;;;;;;127508:33;;;;;;;;;127515:26;;127508:33;;;;;;;;;-1:-1:-1;;;;;127508:33:0;;;;;;;;;127399:150;-1:-1:-1;;;127399:150:0:o;135428:98::-;135486:7;135513:5;135517:1;135513;:5;:::i;135534:103::-;135597:7;135624:5;135628:1;135624;:5;:::i;15330:346::-;-1:-1:-1;;;;;15432:19:0;;15424:68;;;;-1:-1:-1;;;15424:68:0;;15349:2:1;15424:68:0;;;15331:21:1;15388:2;15368:18;;;15361:30;15427:34;15407:18;;;15400:62;-1:-1:-1;;;15478:18:1;;;15471:34;15522:19;;15424:68:0;15147:400:1;15424:68:0;-1:-1:-1;;;;;15511:21:0;;15503:68;;;;-1:-1:-1;;;15503:68:0;;15754:2:1;15503:68:0;;;15736:21:1;15793:2;15773:18;;;15766:30;15832:34;15812:18;;;15805:62;-1:-1:-1;;;15883:18:1;;;15876:32;15925:19;;15503:68:0;15552:398:1;15503:68:0;-1:-1:-1;;;;;15584:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;15636:32;;1836:25:1;;;15636:32:0;;1809:18:1;15636:32:0;;;;;;;15330:346;;;:::o;46185:105::-;46252:30;46263:4;4398:10;46252;:30::i;9926:261::-;10023:4;4398:10;10081:38;10097:4;4398:10;10112:6;10081:15;:38::i;:::-;10130:27;10140:4;10146:2;10150:6;10130:9;:27::i;50443:238::-;50527:22;50535:4;50541:7;50527;:22::i;:::-;50522:152;;50566:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;50566:29:0;;;;;;;;;:36;;-1:-1:-1;;50566:36:0;50598:4;50566:36;;;50649:12;4398:10;;4318:98;50649:12;-1:-1:-1;;;;;50622:40:0;50640:7;-1:-1:-1;;;;;50622:40:0;50634:4;50622:40;;;;;;;;;;50443:238;;:::o;79031:268::-;79084:7;79116:4;-1:-1:-1;;;;;79125:11:0;79108:28;;:63;;;;;79157:14;79140:13;:31;79108:63;79104:188;;;-1:-1:-1;79195:22:0;;79031:268::o;79104:188::-;79257:23;79399:81;;;77223:95;79399:81;;;19053:25:1;79422:11:0;19094:18:1;;;19087:34;;;;79435:14:0;19137:18:1;;;19130:34;79451:13:0;19180:18:1;;;19173:34;79474:4:0;19223:19:1;;;19216:61;79362:7:0;;19025:19:1;;79399:81:0;;;;;;;;;;;;79389:92;;;;;;79382:99;;79307:182;;50861:239;50945:22;50953:4;50959:7;50945;:22::i;:::-;50941:152;;;51016:5;50984:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;50984:29:0;;;;;;;;;;:37;;-1:-1:-1;;50984:37:0;;;51041:40;4398:10;;50984:12;;51041:40;;51016:5;51041:40;50861:239;;:::o;129376:1934::-;130600:12;;129473:7;;;130600:12;130698:1;130689:10;;130685:249;;;130716:11;130739:17;130749:6;130739:9;:17::i;:::-;130730:26;;:6;:26;:::i;:::-;135871:25;135933:21;;;136000:4;135987:18;;130716:40;;-1:-1:-1;130813:9:0;;135983:28;;130775:35;;;:47;130771:152;;;130850:3;130843:10;;130771:152;;;130900:7;:3;130906:1;130900:7;:::i;:::-;130894:13;;130771:152;130701:233;130685:249;130959:4;130953:3;:10;130946:249;;;130980:11;130994:23;131007:3;131012:4;130994:12;:23::i;:::-;135871:25;135933:21;;;136000:4;135987:18;;130980:37;;-1:-1:-1;131074:9:0;;135983:28;;131036:35;;;:47;131032:152;;;131111:3;131104:10;;131032:152;;;131161:7;:3;131167:1;131161:7;:::i;:::-;131155:13;;131032:152;130965:230;130946:249;;;131239:9;;:52;;135871:25;135933:21;;;136000:4;135987:18;;135983:28;;-1:-1:-1;;135983:28:0;131255:36;;;;-1:-1:-1;;;;;131255:36:0;131239:52;;;131251:1;131239:52;-1:-1:-1;;;;;131232:59:0;;129376:1934;-1:-1:-1;;;;;;129376:1934:0:o;20304:120::-;19313:16;:14;:16::i;:::-;20363:7:::1;:15:::0;;-1:-1:-1;;20363:15:0::1;::::0;;20394:22:::1;4398:10:::0;20403:12:::1;20394:22;::::0;-1:-1:-1;;;;;3560:32:1;;;3542:51;;3530:2;3515:18;20394:22:0::1;;;;;;;20304:120::o:0;146676:157::-;146797:28;146809:7;146818:6;146797:11;:28::i;133620:388::-;-1:-1:-1;;;;;127974:19:0;;;133705:23;127974:19;;;:10;:19;;;;;;;;;;8186:18;;;;;;;133820:21;;;;:33;;;-1:-1:-1;;;;;;133820:33:0;;;;;;;133871:54;;127974:19;;;;;8186:18;;133820:33;;127974:19;;;133871:54;;133705:23;133871:54;133938:62;133955:15;133972:9;133983:16;133938;:62::i;:::-;133694:314;;133620:388;;:::o;104657:190::-;104713:6;104749:16;104740:25;;;104732:76;;;;-1:-1:-1;;;104732:76:0;;16157:2:1;104732:76:0;;;16139:21:1;16196:2;16176:18;;;16169:30;16235:34;16215:18;;;16208:62;-1:-1:-1;;;16286:18:1;;;16279:36;16332:19;;104732:76:0;15955:402:1;104732:76:0;-1:-1:-1;104833:5:0;104657:190::o;20045:118::-;19054:19;:17;:19::i;:::-;20105:7:::1;:14:::0;;-1:-1:-1;;20105:14:0::1;20115:4;20105:14;::::0;;20135:20:::1;20142:12;4398:10:::0;;4318:98;73574:274;73668:13;71519:66;73698:47;;73694:147;;73769:15;73778:5;73769:8;:15::i;:::-;73762:22;;;;73694:147;73824:5;73817:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;103599:190;103655:6;103691:16;103682:25;;;103674:76;;;;-1:-1:-1;;;103674:76:0;;16564:2:1;103674:76:0;;;16546:21:1;16603:2;16583:18;;;16576:30;16642:34;16622:18;;;16615:62;-1:-1:-1;;;16693:18:1;;;16686:36;16739:19;;103674:76:0;16362:402:1;8418:193:0;8497:4;4398:10;8553:28;4398:10;8570:2;8574:6;8553:9;:28::i;80131:167::-;80208:7;80235:55;80257:20;:18;:20::i;:::-;80279:10;65222:4;65216:11;-1:-1:-1;;;65241:23:0;;65294:4;65285:14;;65278:39;;;;65347:4;65338:14;;65331:34;65402:4;65387:20;;;65019:406;63235:236;63320:7;63341:17;63360:18;63382:25;63393:4;63399:1;63402;63405;63382:10;:25::i;:::-;63340:67;;;;63418:18;63430:5;63418:11;:18::i;:::-;-1:-1:-1;63454:9:0;63235:236;-1:-1:-1;;;;;63235:236:0:o;85549:207::-;-1:-1:-1;;;;;85670:14:0;;85609:15;85670:14;;;:7;:14;;;;;82021;;82158:1;82140:19;;;;82021:14;85731:17;85626:130;85549:207;;;:::o;46580:492::-;46669:22;46677:4;46683:7;46669;:22::i;:::-;46664:401;;46857:28;46877:7;46857:19;:28::i;:::-;46958:38;46986:4;46993:2;46958:19;:38::i;:::-;46762:257;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;46762:257:0;;;;;;;;;;-1:-1:-1;;;46708:345:0;;;;;;;:::i;15967:419::-;16068:24;16095:25;16105:5;16112:7;16095:9;:25::i;:::-;16068:52;;-1:-1:-1;;16135:16:0;:37;16131:248;;16217:6;16197:16;:26;;16189:68;;;;-1:-1:-1;;;16189:68:0;;17788:2:1;16189:68:0;;;17770:21:1;17827:2;17807:18;;;17800:30;17866:31;17846:18;;;17839:59;17915:18;;16189:68:0;17586:353:1;16189:68:0;16301:51;16310:5;16317:7;16345:6;16326:16;:25;16301:8;:51::i;141413:1376::-;19054:19;:17;:19::i;:::-;138381:21:::1;:19;:21::i;:::-;-1:-1:-1::0;;;;;141585:17:0;::::2;141564:18;141585:17:::0;;;:11:::2;:17;::::0;;;;;::::2;;::::0;:36:::2;;-1:-1:-1::0;;;;;;141606:15:0;::::2;;::::0;;;:11:::2;:15;::::0;;;;;::::2;;141585:36;141833:24;::::0;141564:57;;-1:-1:-1;141632:11:0::2;::::0;;;141714:6;;141833:24:::2;::::0;::::2;;;141829:194;;;141900:13;141874:137;;;::::0;-1:-1:-1;;;141874:137:0;;18146:2:1;141874:137:0::2;::::0;::::2;18128:21:1::0;18185:2;18165:18;;;18158:30;18224:34;18204:18;;;18197:62;18295:32;18275:18;;;18268:60;18345:19;;141874:137:0::2;17944:426:1::0;141874:137:0::2;-1:-1:-1::0;;;;;146226:14:0;;146202:4;146226:14;;;:8;:14;;;;;;;;142081:30:::2;;;-1:-1:-1::0;;;;;;146226:14:0;;146202:4;146226:14;;;:8;:14;;;;;;;;142099:12:::2;142077:76;;;142137:4;142128:13;;142077:76;142276:6;:24;;;;;142287:13;142286:14;142276:24;:46;;;;-1:-1:-1::0;142304:18:0::2;::::0;::::2;;142276:46;142272:217;;;142375:16;;142365:6;:26;;142339:138;;;::::0;-1:-1:-1;;;142339:138:0;;18577:2:1;142339:138:0::2;::::0;::::2;18559:21:1::0;18616:2;18596:18;;;18589:30;18655:34;18635:18;;;18628:62;-1:-1:-1;;;18706:18:1;;;18699:48;18764:19;;142339:138:0::2;18375:414:1::0;142339:138:0::2;142505:6;:24;;;;;142516:13;142515:14;142505:24;142501:134;;;142558:20;142571:6;142558:12;:20::i;:::-;142546:32:::0;-1:-1:-1;142605:18:0::2;142546:32:::0;142605:6;:18:::2;:::i;:::-;142593:30;;142501:134;142649:13:::0;;142645:90:::2;;142701:10;::::0;142679:44:::2;::::0;142695:4;;-1:-1:-1;;;;;142701:10:0::2;142713:9:::0;142679:15:::2;:44::i;:::-;142745:36;142761:4;142767:2;142771:9;142745:15;:36::i;:::-;141553:1236;;;;138425:20:::1;137819:1:::0;138945:7;:22;138762:213;30178:1673;30226:7;30250:1;30255;30250:6;30246:47;;-1:-1:-1;30280:1:0;;30178:1673;-1:-1:-1;30178:1673:0:o;30246:47::-;30984:14;31018:1;31007:7;31012:1;31007:4;:7::i;:::-;:12;;31001:1;:19;;30984:36;;31486:1;31475:6;31471:1;:10;;;;;:::i;:::-;;31462:6;:19;31461:26;;31452:35;;31536:1;31525:6;31521:1;:10;;;;;:::i;:::-;;31512:6;:19;31511:26;;31502:35;;31586:1;31575:6;31571:1;:10;;;;;:::i;:::-;;31562:6;:19;31561:26;;31552:35;;31636:1;31625:6;31621:1;:10;;;;;:::i;:::-;;31612:6;:19;31611:26;;31602:35;;31686:1;31675:6;31671:1;:10;;;;;:::i;:::-;;31662:6;:19;31661:26;;31652:35;;31736:1;31725:6;31721:1;:10;;;;;:::i;:::-;;31712:6;:19;31711:26;;31702:35;;31786:1;31775:6;31771:1;:10;;;;;:::i;:::-;;31762:6;:19;31761:26;;31752:35;;31809:23;31813:6;31825;31821:1;:10;;;;;:::i;:::-;;31809:3;:23::i;24335:156::-;24397:7;24472:11;24482:1;24473:5;;;24472:11;:::i;:::-;24462:21;;24463:5;;;24462:21;:::i;19793:108::-;19520:7;;;;19852:41;;;;-1:-1:-1;;;19852:41:0;;19490:2:1;19852:41:0;;;19472:21:1;19529:2;19509:18;;;19502:30;-1:-1:-1;;;19548:18:1;;;19541:50;19608:18;;19852:41:0;19288:344:1;19852:41:0;19793:108::o;132873:194::-;132958:28;132970:7;132979:6;132958:11;:28::i;:::-;132999:60;133016:23;133041:9;133052:6;132999:16;:60::i;134016:609::-;134114:3;-1:-1:-1;;;;;134107:10:0;:3;-1:-1:-1;;;;;134107:10:0;;;:24;;;;;134130:1;134121:6;:10;134107:24;134103:515;;;-1:-1:-1;;;;;134152:17:0;;;134148:224;;-1:-1:-1;;;;;134248:17:0;;134191;134248;;;:12;:17;;;;;134191;;134231:54;;134267:9;134278:6;134231:16;:54::i;:::-;134190:95;;;;134330:3;-1:-1:-1;;;;;134309:47:0;;134335:9;134346;134309:47;;;;;;19811:25:1;;;19867:2;19852:18;;19845:34;19799:2;19784:18;;19637:248;134309:47:0;;;;;;;;134171:201;;134148:224;-1:-1:-1;;;;;134392:17:0;;;134388:219;;-1:-1:-1;;;;;134488:17:0;;134431;134488;;;:12;:17;;;;;134431;;134471:49;;134507:4;134513:6;134471:16;:49::i;:::-;134430:90;;;;134565:3;-1:-1:-1;;;;;134544:47:0;;134570:9;134581;134544:47;;;;;;19811:25:1;;;19867:2;19852:18;;19845:34;19799:2;19784:18;;19637:248;134544:47:0;;;;;;;;134411:196;;134016:609;;;:::o;19608:108::-;19520:7;;;;19678:9;19670:38;;;;-1:-1:-1;;;19670:38:0;;20092:2:1;19670:38:0;;;20074:21:1;20131:2;20111:18;;;20104:30;-1:-1:-1;;;20150:18:1;;;20143:46;20206:18;;19670:38:0;19890:340:1;72228:415:0;72287:13;72313:11;72327:16;72338:4;72327:10;:16::i;:::-;72453:14;;;72464:2;72453:14;;;;;;;;;72313:30;;-1:-1:-1;72433:17:0;;72453:14;;;;;;;;;-1:-1:-1;;;72546:16:0;;;-1:-1:-1;72592:4:0;72583:14;;72576:28;;;;-1:-1:-1;72546:16:0;72228:415::o;61619:1477::-;61707:7;;62641:66;62628:79;;62624:163;;;-1:-1:-1;62740:1:0;;-1:-1:-1;62744:30:0;62724:51;;62624:163;62901:24;;;62884:14;62901:24;;;;;;;;;20462:25:1;;;20535:4;20523:17;;20503:18;;;20496:45;;;;20557:18;;;20550:34;;;20600:18;;;20593:34;;;62901:24:0;;20434:19:1;;62901:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;62901:24:0;;-1:-1:-1;;62901:24:0;;;-1:-1:-1;;;;;;;62940:20:0;;62936:103;;62993:1;62997:29;62977:50;;;;;;;62936:103;63059:6;-1:-1:-1;63067:20:0;;-1:-1:-1;61619:1477:0;;;;;;;;:::o;57079:521::-;57157:20;57148:5;:29;;;;;;;;:::i;:::-;;57144:449;;57079:521;:::o;57144:449::-;57255:29;57246:5;:38;;;;;;;;:::i;:::-;;57242:351;;57301:34;;-1:-1:-1;;;57301:34:0;;20972:2:1;57301:34:0;;;20954:21:1;21011:2;20991:18;;;20984:30;21050:26;21030:18;;;21023:54;21094:18;;57301:34:0;20770:348:1;57242:351:0;57366:35;57357:5;:44;;;;;;;;:::i;:::-;;57353:240;;57418:41;;-1:-1:-1;;;57418:41:0;;21325:2:1;57418:41:0;;;21307:21:1;21364:2;21344:18;;;21337:30;21403:33;21383:18;;;21376:61;21454:18;;57418:41:0;21123:355:1;57353:240:0;57490:30;57481:5;:39;;;;;;;;:::i;:::-;;57477:116;;57537:44;;-1:-1:-1;;;57537:44:0;;21685:2:1;57537:44:0;;;21667:21:1;21724:2;21704:18;;;21697:30;21763:34;21743:18;;;21736:62;-1:-1:-1;;;21814:18:1;;;21807:32;21856:19;;57537:44:0;21483:398:1;40406:151:0;40464:13;40497:52;-1:-1:-1;;;;;40509:22:0;;38281:2;39802:447;39877:13;39903:19;39935:10;39939:6;39935:1;:10;:::i;:::-;:14;;39948:1;39935:14;:::i;:::-;39925:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39925:25:0;;39903:47;;-1:-1:-1;;;39961:6:0;39968:1;39961:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;39961:15:0;;;;;;;;;-1:-1:-1;;;39987:6:0;39994:1;39987:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;39987:15:0;;;;;;;;-1:-1:-1;40018:9:0;40030:10;40034:6;40030:1;:10;:::i;:::-;:14;;40043:1;40030:14;:::i;:::-;40018:26;;40013:131;40050:1;40046;:5;40013:131;;;-1:-1:-1;;;40094:5:0;40102:3;40094:11;40085:21;;;;;;;:::i;:::-;;;;40073:6;40080:1;40073:9;;;;;;;;:::i;:::-;;;;:33;-1:-1:-1;;;;;40073:33:0;;;;;;;;-1:-1:-1;40131:1:0;40121:11;;;;;40053:3;;;:::i;:::-;;;40013:131;;;-1:-1:-1;40162:10:0;;40154:55;;;;-1:-1:-1;;;40154:55:0;;22402:2:1;40154:55:0;;;22384:21:1;;;22421:18;;;22414:30;22480:34;22460:18;;;22453:62;22532:18;;40154:55:0;22200:356:1;138461:293:0;137863:1;138595:7;;:19;138587:63;;;;-1:-1:-1;;;138587:63:0;;22763:2:1;138587:63:0;;;22745:21:1;22802:2;22782:18;;;22775:30;22841:33;22821:18;;;22814:61;22892:18;;138587:63:0;22561:355:1;138587:63:0;137863:1;138728:7;:18;138461:293::o;12243:806::-;-1:-1:-1;;;;;12340:18:0;;12332:68;;;;-1:-1:-1;;;12332:68:0;;23123:2:1;12332:68:0;;;23105:21:1;23162:2;23142:18;;;23135:30;23201:34;23181:18;;;23174:62;-1:-1:-1;;;23252:18:1;;;23245:35;23297:19;;12332:68:0;22921:401:1;12332:68:0;-1:-1:-1;;;;;12419:16:0;;12411:64;;;;-1:-1:-1;;;12411:64:0;;23529:2:1;12411:64:0;;;23511:21:1;23568:2;23548:18;;;23541:30;23607:34;23587:18;;;23580:62;-1:-1:-1;;;23658:18:1;;;23651:33;23701:19;;12411:64:0;23327:399:1;12411:64:0;-1:-1:-1;;;;;12561:15:0;;12539:19;12561:15;;;;;;;;;;;12595:21;;;;12587:72;;;;-1:-1:-1;;;12587:72:0;;23933:2:1;12587:72:0;;;23915:21:1;23972:2;23952:18;;;23945:30;24011:34;23991:18;;;23984:62;-1:-1:-1;;;24062:18:1;;;24055:36;24108:19;;12587:72:0;23731:402:1;12587:72:0;-1:-1:-1;;;;;12695:15:0;;;:9;:15;;;;;;;;;;;12713:20;;;12695:38;;12913:13;;;;;;;;;;:23;;;;;;12965:26;;1836:25:1;;;12913:13:0;;12965:26;;1809:18:1;12965:26:0;;;;;;;13004:37;13024:4;13030:2;13034:6;13004:19;:37::i;32328:1019::-;32380:7;;32467:3;32458:12;;;:16;32454:102;;32505:3;32495:13;;;;32527;32454:102;32583:2;32574:11;;;:15;32570:99;;32620:2;32610:12;;;;32641;32570:99;32696:2;32687:11;;;:15;32683:99;;32733:2;32723:12;;;;32754;32683:99;32809:2;32800:11;;;:15;32796:99;;32846:2;32836:12;;;;32867;32796:99;32922:1;32913:10;;;:14;32909:96;;32958:1;32948:11;;;;32978;32909:96;33032:1;33023:10;;;:14;33019:96;;33068:1;33058:11;;;;33088;33019:96;33142:1;33133:10;;;:14;33129:96;;33178:1;33168:11;;;;33198;33129:96;33252:1;33243:10;;;:14;33239:66;;33288:1;33278:11;33333:6;32328:1019;-1:-1:-1;;32328:1019:0:o;24110:106::-;24168:7;24199:1;24195;:5;:13;;24207:1;24195:13;;;-1:-1:-1;24203:1:0;;24110:106;-1:-1:-1;24110:106:0:o;14217:675::-;-1:-1:-1;;;;;14301:21:0;;14293:67;;;;-1:-1:-1;;;14293:67:0;;24340:2:1;14293:67:0;;;24322:21:1;24379:2;24359:18;;;24352:30;24418:34;24398:18;;;24391:62;-1:-1:-1;;;24469:18:1;;;24462:31;24510:19;;14293:67:0;24138:397:1;14293:67:0;-1:-1:-1;;;;;14460:18:0;;14435:22;14460:18;;;;;;;;;;;14497:24;;;;14489:71;;;;-1:-1:-1;;;14489:71:0;;24742:2:1;14489:71:0;;;24724:21:1;24781:2;24761:18;;;24754:30;24820:34;24800:18;;;24793:62;-1:-1:-1;;;24871:18:1;;;24864:32;24913:19;;14489:71:0;24540:398:1;14489:71:0;-1:-1:-1;;;;;14596:18:0;;:9;:18;;;;;;;;;;;14617:23;;;14596:44;;14735:12;:22;;;;;;;14786:37;1836:25:1;;;14596:9:0;;:18;14786:37;;1809:18:1;14786:37:0;;;;;;;14836:48;14856:7;14873:1;14877:6;14836:19;:48::i;134633:787::-;134870:12;;134807:17;;;;;134948:8;;:59;;135871:25;135933:21;;;136000:4;135987:18;;135983:28;;-1:-1:-1;;135983:28:0;134948:59;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;134948:59:0;;;;;;;;134959:16;;;;;;;;;-1:-1:-1;134959:16:0;;;;;;;134948:59;134920:87;;135036:7;:13;;;-1:-1:-1;;;;;135024:25:0;;;135076:20;135079:9;135090:5;135076:2;:20;;:::i;:::-;135064:32;;135123:1;135117:3;:7;:39;;;;;135149:7;:5;:7::i;:::-;135128:28;;:7;:17;;;:28;;;135117:39;135113:289;;;135215:29;135234:9;135215:18;:29::i;:::-;135871:25;135933:21;;;136000:4;135987:18;;135983:28;;-1:-1:-1;;135983:28:0;135177:67;;-1:-1:-1;;;;;135177:67:0;;;;;;;;;;;;;;;;135113:289;;;135285:5;135296:89;;;;;;;;135319:26;135337:7;:5;:7::i;:::-;135319:26;;:17;:26::i;:::-;135296:89;;;;;;135354:29;135373:9;135354:18;:29::i;:::-;-1:-1:-1;;;;;135296:89:0;;;;;;135285:101;;;;;;;-1:-1:-1;135285:101:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;135113:289;134895:518;134845:575;134633:787;;;;;;:::o;72720:251::-;72781:7;72854:4;72818:40;;72882:2;72873:11;;72869:71;;;72908:20;;-1:-1:-1;;;72908:20:0;;;;;;;;;;;146309:204;146462:43;146488:4;146494:2;146498:6;146462:25;:43::i;91821:195::-;91878:7;-1:-1:-1;;;;;91906:26:0;;;91898:78;;;;-1:-1:-1;;;91898:78:0;;25145:2:1;91898:78:0;;;25127:21:1;25184:2;25164:18;;;25157:30;25223:34;25203:18;;;25196:62;-1:-1:-1;;;25274:18:1;;;25267:37;25321:19;;91898:78:0;24943:403:1;133214:228:0;-1:-1:-1;;;;;127974:19:0;;;127947:7;127974:19;;;:10;:19;;;;;;;;;;;;;;;133378:56;;127974:19;;;;;133427:6;133378:16;:56::i;14:286:1:-;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:1;;209:43;;199:71;;266:1;263;256:12;497:250;582:1;592:113;606:6;603:1;600:13;592:113;;;682:11;;;676:18;663:11;;;656:39;628:2;621:10;592:113;;;-1:-1:-1;;739:1:1;721:16;;714:27;497:250::o;752:271::-;794:3;832:5;826:12;859:6;854:3;847:19;875:76;944:6;937:4;932:3;928:14;921:4;914:5;910:16;875:76;:::i;:::-;1005:2;984:15;-1:-1:-1;;980:29:1;971:39;;;;1012:4;967:50;;752:271;-1:-1:-1;;752:271:1:o;1028:220::-;1177:2;1166:9;1159:21;1140:4;1197:45;1238:2;1227:9;1223:18;1215:6;1197:45;:::i;1253:173::-;1321:20;;-1:-1:-1;;;;;1370:31:1;;1360:42;;1350:70;;1416:1;1413;1406:12;1350:70;1253:173;;;:::o;1431:254::-;1499:6;1507;1560:2;1548:9;1539:7;1535:23;1531:32;1528:52;;;1576:1;1573;1566:12;1528:52;1599:29;1618:9;1599:29;:::i;:::-;1589:39;1675:2;1660:18;;;;1647:32;;-1:-1:-1;;;1431:254:1:o;1872:180::-;1931:6;1984:2;1972:9;1963:7;1959:23;1955:32;1952:52;;;2000:1;1997;1990:12;1952:52;-1:-1:-1;2023:23:1;;1872:180;-1:-1:-1;1872:180:1:o;2057:328::-;2134:6;2142;2150;2203:2;2191:9;2182:7;2178:23;2174:32;2171:52;;;2219:1;2216;2209:12;2171:52;2242:29;2261:9;2242:29;:::i;:::-;2232:39;;2290:38;2324:2;2313:9;2309:18;2290:38;:::i;:::-;2280:48;;2375:2;2364:9;2360:18;2347:32;2337:42;;2057:328;;;;;:::o;2757:254::-;2825:6;2833;2886:2;2874:9;2865:7;2861:23;2857:32;2854:52;;;2902:1;2899;2892:12;2854:52;2938:9;2925:23;2915:33;;2967:38;3001:2;2990:9;2986:18;2967:38;:::i;:::-;2957:48;;2757:254;;;;;:::o;3205:186::-;3264:6;3317:2;3305:9;3296:7;3292:23;3288:32;3285:52;;;3333:1;3330;3323:12;3285:52;3356:29;3375:9;3356:29;:::i;3863:658::-;4034:2;4086:21;;;4156:13;;4059:18;;;4178:22;;;4005:4;;4034:2;4257:15;;;;4231:2;4216:18;;;4005:4;4300:195;4314:6;4311:1;4308:13;4300:195;;;4379:13;;-1:-1:-1;;;;;4375:39:1;4363:52;;4470:15;;;;4435:12;;;;4411:1;4329:9;4300:195;;;-1:-1:-1;4512:3:1;;3863:658;-1:-1:-1;;;;;;3863:658:1:o;4723:1259::-;5129:3;5124;5120:13;5112:6;5108:26;5097:9;5090:45;5071:4;5154:2;5192:3;5187:2;5176:9;5172:18;5165:31;5219:46;5260:3;5249:9;5245:19;5237:6;5219:46;:::i;:::-;5313:9;5305:6;5301:22;5296:2;5285:9;5281:18;5274:50;5347:33;5373:6;5365;5347:33;:::i;:::-;5411:2;5396:18;;5389:34;;;-1:-1:-1;;;;;5460:32:1;;5454:3;5439:19;;5432:61;5480:3;5509:19;;5502:35;;;5574:22;;;5568:3;5553:19;;5546:51;5646:13;;5668:22;;;5744:15;;;;-1:-1:-1;5706:15:1;;;;-1:-1:-1;5787:169:1;5801:6;5798:1;5795:13;5787:169;;;5862:13;;5850:26;;5931:15;;;;5896:12;;;;5823:1;5816:9;5787:169;;;-1:-1:-1;5973:3:1;;4723:1259;-1:-1:-1;;;;;;;;;;;;4723:1259:1:o;5987:273::-;6043:6;6096:2;6084:9;6075:7;6071:23;6067:32;6064:52;;;6112:1;6109;6102:12;6064:52;6151:9;6138:23;6204:5;6197:13;6190:21;6183:5;6180:32;6170:60;;6226:1;6223;6216:12;6466:156;6532:20;;6592:4;6581:16;;6571:27;;6561:55;;6612:1;6609;6602:12;6627:531;6729:6;6737;6745;6753;6761;6769;6822:3;6810:9;6801:7;6797:23;6793:33;6790:53;;;6839:1;6836;6829:12;6790:53;6862:29;6881:9;6862:29;:::i;:::-;6852:39;;6938:2;6927:9;6923:18;6910:32;6900:42;;6989:2;6978:9;6974:18;6961:32;6951:42;;7012:36;7044:2;7033:9;7029:18;7012:36;:::i;:::-;7002:46;;7095:3;7084:9;7080:19;7067:33;7057:43;;7147:3;7136:9;7132:19;7119:33;7109:43;;6627:531;;;;;;;;:::o;7163:606::-;7274:6;7282;7290;7298;7306;7314;7322;7375:3;7363:9;7354:7;7350:23;7346:33;7343:53;;;7392:1;7389;7382:12;7343:53;7415:29;7434:9;7415:29;:::i;:::-;7405:39;;7463:38;7497:2;7486:9;7482:18;7463:38;:::i;:::-;7453:48;;7548:2;7537:9;7533:18;7520:32;7510:42;;7599:2;7588:9;7584:18;7571:32;7561:42;;7622:37;7654:3;7643:9;7639:19;7622:37;:::i;:::-;7612:47;;7706:3;7695:9;7691:19;7678:33;7668:43;;7758:3;7747:9;7743:19;7730:33;7720:43;;7163:606;;;;;;;;;;:::o;7774:260::-;7842:6;7850;7903:2;7891:9;7882:7;7878:23;7874:32;7871:52;;;7919:1;7916;7909:12;7871:52;7942:29;7961:9;7942:29;:::i;:::-;7932:39;;7990:38;8024:2;8013:9;8009:18;7990:38;:::i;8039:350::-;8106:6;8114;8167:2;8155:9;8146:7;8142:23;8138:32;8135:52;;;8183:1;8180;8173:12;8135:52;8206:29;8225:9;8206:29;:::i;:::-;8196:39;;8285:2;8274:9;8270:18;8257:32;8329:10;8322:5;8318:22;8311:5;8308:33;8298:61;;8355:1;8352;8345:12;8298:61;8378:5;8368:15;;;8039:350;;;;;:::o;8745:380::-;8824:1;8820:12;;;;8867;;;8888:61;;8942:4;8934:6;8930:17;8920:27;;8888:61;8995:2;8987:6;8984:14;8964:18;8961:38;8958:161;;9041:10;9036:3;9032:20;9029:1;9022:31;9076:4;9073:1;9066:15;9104:4;9101:1;9094:15;9546:127;9607:10;9602:3;9598:20;9595:1;9588:31;9638:4;9635:1;9628:15;9662:4;9659:1;9652:15;9678:125;9743:9;;;9764:10;;;9761:36;;;9777:18;;:::i;10162:127::-;10223:10;10218:3;10214:20;10211:1;10204:31;10254:4;10251:1;10244:15;10278:4;10275:1;10268:15;10294:128;10361:9;;;10382:11;;;10379:37;;;10396:18;;:::i;10427:127::-;10488:10;10483:3;10479:20;10476:1;10469:31;10519:4;10516:1;10509:15;10543:4;10540:1;10533:15;10559:135;10598:3;10619:17;;;10616:43;;10639:18;;:::i;:::-;-1:-1:-1;10686:1:1;10675:13;;10559:135::o;10699:127::-;10760:10;10755:3;10751:20;10748:1;10741:31;10791:4;10788:1;10781:15;10815:4;10812:1;10805:15;10831:217;10871:1;10897;10887:132;;10941:10;10936:3;10932:20;10929:1;10922:31;10976:4;10973:1;10966:15;11004:4;11001:1;10994:15;10887:132;-1:-1:-1;11033:9:1;;10831:217::o;11411:127::-;11472:10;11467:3;11463:20;11460:1;11453:31;11503:4;11500:1;11493:15;11527:4;11524:1;11517:15;16769:812;17180:25;17175:3;17168:38;17150:3;17235:6;17229:13;17251:75;17319:6;17314:2;17309:3;17305:12;17298:4;17290:6;17286:17;17251:75;:::i;:::-;-1:-1:-1;;;17385:2:1;17345:16;;;17377:11;;;17370:40;17435:13;;17457:76;17435:13;17519:2;17511:11;;17504:4;17492:17;;17457:76;:::i;:::-;17553:17;17572:2;17549:26;;16769:812;-1:-1:-1;;;;16769:812:1:o;20638:127::-;20699:10;20694:3;20690:20;20687:1;20680:31;20730:4;20727:1;20720:15;20754:4;20751:1;20744:15;21886:168;21959:9;;;21990;;22007:15;;;22001:22;;21987:37;21977:71;;22028:18;;:::i;22059:136::-;22098:3;22126:5;22116:39;;22135:18;;:::i;:::-;-1:-1:-1;;;22171:18:1;;22059:136::o

Swarm Source

ipfs://508df87282ac00d1c1c5ba93b28bae93da2f465e4448ae3efd7e934ff8aaa7a1
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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